From 681f13b46d207b67981f577d66c082371ca77421 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 20 Apr 2026 23:22:32 +0000 Subject: [PATCH 1/2] chore: plan release automation fix Agent-Logs-Url: https://github.com/paladini/vibe-code-detector/sessions/3942277f-2712-4585-8dca-4ad49739575a Co-authored-by: paladini <3361224+paladini@users.noreply.github.com> --- extension/assets/popup.B77XgkDI.css | 1 + extension/popup.BiFCt1KS.js | 169 ++++++++++++++++++++++++++++ extension/popup.html | 4 +- 3 files changed, 172 insertions(+), 2 deletions(-) create mode 100644 extension/assets/popup.B77XgkDI.css create mode 100644 extension/popup.BiFCt1KS.js diff --git a/extension/assets/popup.B77XgkDI.css b/extension/assets/popup.B77XgkDI.css new file mode 100644 index 0000000..7cdb811 --- /dev/null +++ b/extension/assets/popup.B77XgkDI.css @@ -0,0 +1 @@ +/*! tailwindcss v4.2.2 | MIT License | https://tailwindcss.com */@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-scale-x:1;--tw-scale-y:1;--tw-scale-z:1;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-pan-x:initial;--tw-pan-y:initial;--tw-pinch-zoom:initial;--tw-space-y-reverse:0;--tw-space-x-reverse:0;--tw-divide-x-reverse:0;--tw-border-style:solid;--tw-divide-y-reverse:0;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction: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-ease:initial;--tw-content:"";--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-animation-delay:0s;--tw-animation-direction:normal;--tw-animation-duration:initial;--tw-animation-fill-mode:none;--tw-animation-iteration-count:1;--tw-enter-blur:0;--tw-enter-opacity:1;--tw-enter-rotate:0;--tw-enter-scale:1;--tw-enter-translate-x:0;--tw-enter-translate-y:0;--tw-exit-blur:0;--tw-exit-opacity:1;--tw-exit-rotate:0;--tw-exit-scale:1;--tw-exit-translate-x:0;--tw-exit-translate-y:0}}}@layer theme{:root,:host{--font-sans:"Geist Variable", sans-serif;--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--color-amber-400:oklch(82.8% .189 84.429);--color-amber-500:oklch(76.9% .188 70.08);--color-emerald-400:oklch(76.5% .177 163.223);--color-emerald-500:oklch(69.6% .17 162.48);--color-indigo-200:oklch(87% .065 274.039);--color-indigo-300:oklch(78.5% .115 274.713);--color-indigo-400:oklch(67.3% .182 276.935);--color-indigo-500:oklch(58.5% .233 277.117);--color-indigo-600:oklch(51.1% .262 276.966);--color-purple-400:oklch(71.4% .203 305.504);--color-purple-500:oklch(62.7% .265 303.9);--color-rose-200:oklch(89.2% .058 10.001);--color-rose-400:oklch(71.2% .194 13.428);--color-rose-500:oklch(64.5% .246 16.439);--color-slate-50:oklch(98.4% .003 247.858);--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-white:#fff;--spacing:.25rem;--container-xl:36rem;--container-2xl:42rem;--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: 1.5 ;--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-5xl:3rem;--text-5xl--line-height:1;--text-7xl:4.5rem;--text-7xl--line-height:1;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--font-weight-black:900;--tracking-tighter:-.05em;--tracking-tight:-.025em;--tracking-wider:.05em;--tracking-widest:.1em;--leading-snug:1.375;--leading-normal:1.5;--leading-relaxed:1.625;--radius-md:calc(var(--radius) * .8);--radius-lg:var(--radius);--ease-in:cubic-bezier(.4, 0, 1, 1);--ease-out:cubic-bezier(0, 0, .2, 1);--ease-in-out:cubic-bezier(.4, 0, .2, 1);--animate-spin:spin 1s linear infinite;--animate-pulse:pulse 2s cubic-bezier(.4, 0, .6, 1) infinite;--aspect-video:16 / 9;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:"Geist Variable", sans-serif;--default-mono-font-family:var(--font-mono)}}@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;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;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]){-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}*{border-color:var(--border);outline-color:var(--ring)}@supports (color:color-mix(in lab,red,red)){*{outline-color:color-mix(in oklab,var(--ring) 50%,transparent)}}body{background-color:var(--background);color:var(--foreground)}html{font-family:Geist Variable,sans-serif}}@layer components;@layer utilities{.\@container\/card-header{container:card-header/inline-size}.pointer-events-none{pointer-events:none}.collapse{visibility:collapse}.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}.not-sr-only{clip-path:none;white-space:normal;width:auto;height:auto;margin:0;padding:0;position:static;overflow:visible}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.inset-0{inset:calc(var(--spacing) * 0)}.start{inset-inline-start:var(--spacing)}.end{inset-inline-end:var(--spacing)}.-top-\[20\%\]{top:-20%}.top-4{top:calc(var(--spacing) * 4)}.-right-4{right:calc(var(--spacing) * -4)}.-right-\[10\%\]{right:-10%}.right-4{right:calc(var(--spacing) * 4)}.-bottom-4{bottom:calc(var(--spacing) * -4)}.-bottom-\[20\%\]{bottom:-20%}.-left-\[10\%\]{left:-10%}.isolate{isolation:isolate}.isolation-auto{isolation:auto}.z-10{z-index:10}.z-20{z-index:20}.z-30{z-index:30}.col-start-2{grid-column-start:2}.row-span-2{grid-row:span 2/span 2}.row-start-1{grid-row-start:1}.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}}.mx-auto{margin-inline:auto}.mt-0\.5{margin-top:calc(var(--spacing) * .5)}.mt-2{margin-top:calc(var(--spacing) * 2)}.mb-1{margin-bottom:calc(var(--spacing) * 1)}.mb-2{margin-bottom:calc(var(--spacing) * 2)}.ml-auto{margin-left:auto}.block{display:block}.contents{display:contents}.flex{display:flex}.flow-root{display:flow-root}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.inline-grid{display:inline-grid}.inline-table{display:inline-table}.list-item{display:list-item}.table{display:table}.table-caption{display:table-caption}.table-cell{display:table-cell}.table-column{display:table-column}.table-column-group{display:table-column-group}.table-footer-group{display:table-footer-group}.table-header-group{display:table-header-group}.table-row{display:table-row}.table-row-group{display:table-row-group}.aspect-video{aspect-ratio:var(--aspect-video)}.size-6{width:calc(var(--spacing) * 6);height:calc(var(--spacing) * 6)}.size-7{width:calc(var(--spacing) * 7);height:calc(var(--spacing) * 7)}.size-8{width:calc(var(--spacing) * 8);height:calc(var(--spacing) * 8)}.size-9{width:calc(var(--spacing) * 9);height:calc(var(--spacing) * 9)}.size-full{width:100%;height:100%}.h-1{height:calc(var(--spacing) * 1)}.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-20{height:calc(var(--spacing) * 20)}.h-24{height:calc(var(--spacing) * 24)}.h-32{height:calc(var(--spacing) * 32)}.h-40{height:calc(var(--spacing) * 40)}.h-\[70\%\]{height:70%}.h-\[480px\]{height:480px}.h-\[calc\(100\%-1px\)\]{height:calc(100% - 1px)}.h-full{height:100%}.min-h-\[520px\]{min-height:520px}.min-h-screen{min-height:100vh}.w-1\/3{width:33.3333%}.w-2\.5{width:calc(var(--spacing) * 2.5)}.w-3{width:calc(var(--spacing) * 3)}.w-4{width:calc(var(--spacing) * 4)}.w-5{width:calc(var(--spacing) * 5)}.w-8{width:calc(var(--spacing) * 8)}.w-10{width:calc(var(--spacing) * 10)}.w-24{width:calc(var(--spacing) * 24)}.w-\[70\%\]{width:70%}.w-\[380px\]{width:380px}.w-fit{width:fit-content}.w-full{width:100%}.w-px{width:1px}.max-w-2xl{max-width:var(--container-2xl)}.max-w-\[250px\]{max-width:250px}.max-w-xl{max-width:var(--container-xl)}.flex-1{flex:1}.flex-shrink,.shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.grow{flex-grow:1}.border-collapse{border-collapse:collapse}.translate-none{translate:none}.scale-3d{scale:var(--tw-scale-x) var(--tw-scale-y) var(--tw-scale-z)}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.animate-pulse{animation:var(--animate-pulse)}.animate-spin{animation:var(--animate-spin)}.touch-pinch-zoom{--tw-pinch-zoom:pinch-zoom;touch-action:var(--tw-pan-x,) var(--tw-pan-y,) var(--tw-pinch-zoom,)}.touch-none{touch-action:none}.resize{resize:both}.auto-rows-min{grid-auto-rows:min-content}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-baseline{align-items:baseline}.items-center{align-items:center}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.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-6{gap:calc(var(--spacing) * 6)}.gap-16{gap:calc(var(--spacing) * 16)}: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-3>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 3) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 3) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-4>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 4) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 4) * 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-y-8>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 8) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 8) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-reverse>:not(:last-child)){--tw-space-y-reverse:1}:where(.space-x-reverse>:not(:last-child)){--tw-space-x-reverse:1}:where(.divide-x>:not(:last-child)){--tw-divide-x-reverse:0;border-inline-style:var(--tw-border-style);border-inline-start-width:calc(1px * var(--tw-divide-x-reverse));border-inline-end-width:calc(1px * calc(1 - var(--tw-divide-x-reverse)))}:where(.divide-y>:not(:last-child)){--tw-divide-y-reverse:0;border-bottom-style:var(--tw-border-style);border-top-style:var(--tw-border-style);border-top-width:calc(1px * var(--tw-divide-y-reverse));border-bottom-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)))}:where(.divide-y-reverse>:not(:last-child)){--tw-divide-y-reverse:1}.self-start{align-self:flex-start}.justify-self-end{justify-self:flex-end}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-hidden{overflow:hidden}.overflow-x-hidden{overflow-x:hidden}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:calc(var(--radius) * 1.8)}.rounded-4xl{border-radius:calc(var(--radius) * 2.6)}.rounded-\[inherit\]{border-radius:inherit}.rounded-\[min\(var\(--radius-md\)\,10px\)\]{border-radius:min(var(--radius-md),10px)}.rounded-\[min\(var\(--radius-md\)\,12px\)\]{border-radius:min(var(--radius-md),12px)}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius)}.rounded-md{border-radius:calc(var(--radius) * .8)}.rounded-xl{border-radius:calc(var(--radius) * 1.4)}.rounded-s{border-start-start-radius:.25rem;border-end-start-radius:.25rem}.rounded-ss{border-start-start-radius:.25rem}.rounded-e{border-start-end-radius:.25rem;border-end-end-radius:.25rem}.rounded-se{border-start-end-radius:.25rem}.rounded-ee{border-end-end-radius:.25rem}.rounded-es{border-end-start-radius:.25rem}.rounded-t{border-top-left-radius:.25rem;border-top-right-radius:.25rem}.rounded-t-xl{border-top-left-radius:calc(var(--radius) * 1.4);border-top-right-radius:calc(var(--radius) * 1.4)}.rounded-l{border-top-left-radius:.25rem;border-bottom-left-radius:.25rem}.rounded-tl{border-top-left-radius:.25rem}.rounded-r{border-top-right-radius:.25rem;border-bottom-right-radius:.25rem}.rounded-tr{border-top-right-radius:.25rem}.rounded-b{border-bottom-right-radius:.25rem;border-bottom-left-radius:.25rem}.rounded-b-xl{border-bottom-right-radius:calc(var(--radius) * 1.4);border-bottom-left-radius:calc(var(--radius) * 1.4)}.rounded-br{border-bottom-right-radius:.25rem}.rounded-bl{border-bottom-left-radius:.25rem}.border{border-style:var(--tw-border-style);border-width:1px}.border-2{border-style:var(--tw-border-style);border-width:2px}.border-4{border-style:var(--tw-border-style);border-width:4px}.border-x{border-inline-style:var(--tw-border-style);border-inline-width:1px}.border-y{border-block-style:var(--tw-border-style);border-block-width:1px}.border-s{border-inline-start-style:var(--tw-border-style);border-inline-start-width:1px}.border-e{border-inline-end-style:var(--tw-border-style);border-inline-end-width:1px}.border-bs{border-block-start-style:var(--tw-border-style);border-block-start-width:1px}.border-be{border-block-end-style:var(--tw-border-style);border-block-end-width:1px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-r{border-right-style:var(--tw-border-style);border-right-width:1px}.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-border{border-color:var(--border)}.border-current{border-color:currentColor}.border-indigo-400\/30{border-color:#7d87ff4d}@supports (color:color-mix(in lab,red,red)){.border-indigo-400\/30{border-color:color-mix(in oklab,var(--color-indigo-400) 30%,transparent)}}.border-indigo-500\/20{border-color:#625fff33}@supports (color:color-mix(in lab,red,red)){.border-indigo-500\/20{border-color:color-mix(in oklab,var(--color-indigo-500) 20%,transparent)}}.border-indigo-500\/50{border-color:#625fff80}@supports (color:color-mix(in lab,red,red)){.border-indigo-500\/50{border-color:color-mix(in oklab,var(--color-indigo-500) 50%,transparent)}}.border-input{border-color:var(--input)}.border-rose-500\/40{border-color:#ff235766}@supports (color:color-mix(in lab,red,red)){.border-rose-500\/40{border-color:color-mix(in oklab,var(--color-rose-500) 40%,transparent)}}.border-slate-700{border-color:var(--color-slate-700)}.border-slate-800{border-color:var(--color-slate-800)}.border-slate-800\/50{border-color:#1d293d80}@supports (color:color-mix(in lab,red,red)){.border-slate-800\/50{border-color:color-mix(in oklab,var(--color-slate-800) 50%,transparent)}}.border-transparent{border-color:#0000}.border-t-indigo-500{border-top-color:var(--color-indigo-500)}.bg-amber-500\/50{background-color:#f99c0080}@supports (color:color-mix(in lab,red,red)){.bg-amber-500\/50{background-color:color-mix(in oklab,var(--color-amber-500) 50%,transparent)}}.bg-background{background-color:var(--background)}.bg-border{background-color:var(--border)}.bg-card{background-color:var(--card)}.bg-current\/5{background-color:currentColor}@supports (color:color-mix(in lab,red,red)){.bg-current\/5{background-color:color-mix(in oklab,currentcolor 5%,transparent)}}.bg-destructive\/10{background-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.bg-destructive\/10{background-color:color-mix(in oklab,var(--destructive) 10%,transparent)}}.bg-emerald-500\/50{background-color:#00bb7f80}@supports (color:color-mix(in lab,red,red)){.bg-emerald-500\/50{background-color:color-mix(in oklab,var(--color-emerald-500) 50%,transparent)}}.bg-indigo-500{background-color:var(--color-indigo-500)}.bg-indigo-500\/10{background-color:#625fff1a}@supports (color:color-mix(in lab,red,red)){.bg-indigo-500\/10{background-color:color-mix(in oklab,var(--color-indigo-500) 10%,transparent)}}.bg-indigo-500\/15{background-color:#625fff26}@supports (color:color-mix(in lab,red,red)){.bg-indigo-500\/15{background-color:color-mix(in oklab,var(--color-indigo-500) 15%,transparent)}}.bg-indigo-500\/20{background-color:#625fff33}@supports (color:color-mix(in lab,red,red)){.bg-indigo-500\/20{background-color:color-mix(in oklab,var(--color-indigo-500) 20%,transparent)}}.bg-indigo-600{background-color:var(--color-indigo-600)}.bg-muted,.bg-muted\/50{background-color:var(--muted)}@supports (color:color-mix(in lab,red,red)){.bg-muted\/50{background-color:color-mix(in oklab,var(--muted) 50%,transparent)}}.bg-primary{background-color:var(--primary)}.bg-purple-500\/10{background-color:#ac4bff1a}@supports (color:color-mix(in lab,red,red)){.bg-purple-500\/10{background-color:color-mix(in oklab,var(--color-purple-500) 10%,transparent)}}.bg-purple-500\/20{background-color:#ac4bff33}@supports (color:color-mix(in lab,red,red)){.bg-purple-500\/20{background-color:color-mix(in oklab,var(--color-purple-500) 20%,transparent)}}.bg-rose-500\/10{background-color:#ff23571a}@supports (color:color-mix(in lab,red,red)){.bg-rose-500\/10{background-color:color-mix(in oklab,var(--color-rose-500) 10%,transparent)}}.bg-rose-500\/50{background-color:#ff235780}@supports (color:color-mix(in lab,red,red)){.bg-rose-500\/50{background-color:color-mix(in oklab,var(--color-rose-500) 50%,transparent)}}.bg-secondary{background-color:var(--secondary)}.bg-slate-800{background-color:var(--color-slate-800)}.bg-slate-800\/50{background-color:#1d293d80}@supports (color:color-mix(in lab,red,red)){.bg-slate-800\/50{background-color:color-mix(in oklab,var(--color-slate-800) 50%,transparent)}}.bg-slate-900{background-color:var(--color-slate-900)}.bg-slate-900\/50{background-color:#0f172b80}@supports (color:color-mix(in lab,red,red)){.bg-slate-900\/50{background-color:color-mix(in oklab,var(--color-slate-900) 50%,transparent)}}.bg-slate-950{background-color:var(--color-slate-950)}.bg-transparent{background-color:#0000}.bg-clip-padding{background-clip:padding-box}.bg-repeat{background-repeat:repeat}.mask-no-clip{-webkit-mask-clip:no-clip;mask-clip:no-clip}.mask-repeat{-webkit-mask-repeat:repeat;mask-repeat:repeat}.object-cover{object-fit:cover}.p-3{padding:calc(var(--spacing) * 3)}.p-4{padding:calc(var(--spacing) * 4)}.p-8{padding:calc(var(--spacing) * 8)}.p-\[3px\]{padding:3px}.p-px{padding:1px}.px-1\.5{padding-inline:calc(var(--spacing) * 1.5)}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-2\.5{padding-inline:calc(var(--spacing) * 2.5)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-4{padding-inline:calc(var(--spacing) * 4)}.px-6{padding-inline:calc(var(--spacing) * 6)}.py-0\.5{padding-block:calc(var(--spacing) * .5)}.py-1{padding-block:calc(var(--spacing) * 1)}.py-3{padding-block:calc(var(--spacing) * 3)}.py-4{padding-block:calc(var(--spacing) * 4)}.py-12{padding-block:calc(var(--spacing) * 12)}.pt-2{padding-top:calc(var(--spacing) * 2)}.pt-4{padding-top:calc(var(--spacing) * 4)}.text-center{text-align:center}.font-heading{font-family:var(--font-sans)}.font-mono{font-family:var(--font-mono)}.font-sans{font-family:Geist Variable,sans-serif}.text-5xl{font-size:var(--text-5xl);line-height:var(--tw-leading,var(--text-5xl--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-xl{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--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-\[9px\]{font-size:9px}.text-\[10px\]{font-size:10px}.leading-\[0\.9\]{--tw-leading:.9;line-height:.9}.leading-normal{--tw-leading:var(--leading-normal);line-height:var(--leading-normal)}.leading-relaxed{--tw-leading:var(--leading-relaxed);line-height:var(--leading-relaxed)}.leading-snug{--tw-leading:var(--leading-snug);line-height:var(--leading-snug)}.font-black{--tw-font-weight:var(--font-weight-black);font-weight:var(--font-weight-black)}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-tight{--tw-tracking:var(--tracking-tight);letter-spacing:var(--tracking-tight)}.tracking-tighter{--tw-tracking:var(--tracking-tighter);letter-spacing:var(--tracking-tighter)}.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}.text-clip{text-overflow:clip}.text-ellipsis{text-overflow:ellipsis}.whitespace-nowrap{white-space:nowrap}.text-amber-500{color:var(--color-amber-500)}.text-card-foreground{color:var(--card-foreground)}.text-destructive{color:var(--destructive)}.text-emerald-500{color:var(--color-emerald-500)}.text-foreground,.text-foreground\/60{color:var(--foreground)}@supports (color:color-mix(in lab,red,red)){.text-foreground\/60{color:color-mix(in oklab,var(--foreground) 60%,transparent)}}.text-indigo-200{color:var(--color-indigo-200)}.text-indigo-400{color:var(--color-indigo-400)}.text-indigo-500{color:var(--color-indigo-500)}.text-muted-foreground{color:var(--muted-foreground)}.text-primary{color:var(--primary)}.text-primary-foreground{color:var(--primary-foreground)}.text-purple-400{color:var(--color-purple-400)}.text-rose-200{color:var(--color-rose-200)}.text-rose-500{color:var(--color-rose-500)}.text-secondary-foreground{color:var(--secondary-foreground)}.text-slate-50{color:var(--color-slate-50)}.text-slate-300{color:var(--color-slate-300)}.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-white{color:var(--color-white)}.capitalize{text-transform:capitalize}.lowercase{text-transform:lowercase}.normal-case{text-transform:none}.uppercase{text-transform:uppercase}.italic{font-style:italic}.not-italic{font-style:normal}.diagonal-fractions{--tw-numeric-fraction:diagonal-fractions;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.lining-nums{--tw-numeric-figure:lining-nums;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.oldstyle-nums{--tw-numeric-figure:oldstyle-nums;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.ordinal{--tw-ordinal:ordinal;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.proportional-nums{--tw-numeric-spacing:proportional-nums;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.slashed-zero{--tw-slashed-zero:slashed-zero;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.stacked-fractions{--tw-numeric-fraction:stacked-fractions;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.normal-nums{font-variant-numeric:normal}.line-through{text-decoration-line:line-through}.no-underline{text-decoration-line:none}.overline{text-decoration-line:overline}.underline{text-decoration-line:underline}.underline-offset-4{text-underline-offset:4px}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.subpixel-antialiased{-webkit-font-smoothing:auto;-moz-osx-font-smoothing:auto}.opacity-10{opacity:.1}.opacity-30{opacity:.3}.shadow{--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-2xl{--tw-shadow:0 25px 50px -12px var(--tw-shadow-color,#00000040);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)}.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)}.inset-ring{--tw-inset-ring-shadow:inset 0 0 0 1px var(--tw-inset-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-indigo-500\/20{--tw-shadow-color:#625fff33}@supports (color:color-mix(in lab,red,red)){.shadow-indigo-500\/20{--tw-shadow-color:color-mix(in oklab, color-mix(in oklab, var(--color-indigo-500) 20%, transparent) var(--tw-shadow-alpha), transparent)}}.ring-foreground\/10{--tw-ring-color:var(--foreground)}@supports (color:color-mix(in lab,red,red)){.ring-foreground\/10{--tw-ring-color:color-mix(in oklab, var(--foreground) 10%, transparent)}}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.blur{--tw-blur:blur(8px);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,)}.blur-\[120px\]{--tw-blur:blur(120px);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,)}.drop-shadow{--tw-drop-shadow-size:drop-shadow(0 1px 2px var(--tw-drop-shadow-color,#0000001a)) drop-shadow(0 1px 1px var(--tw-drop-shadow-color,#0000000f));--tw-drop-shadow:drop-shadow(0 1px 2px #0000001a) drop-shadow(0 1px 1px #0000000f);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,)}.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-grayscale{--tw-backdrop-grayscale:grayscale(100%);-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-invert{--tw-backdrop-invert:invert(100%);-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-sepia{--tw-backdrop-sepia:sepia(100%);-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-filter{-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-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))}.ease-in{--tw-ease:var(--ease-in);transition-timing-function:var(--ease-in)}.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)}.outline-none{--tw-outline-style:none;outline-style:none}.select-none{-webkit-user-select:none;user-select:none}:where(.divide-x-reverse>:not(:last-child)){--tw-divide-x-reverse:1}.paused{animation-play-state:paused}.ring-inset{--tw-ring-inset:inset}.running{animation-play-state:running}.zoom-in{--tw-enter-scale:0}.zoom-out{--tw-exit-scale:0}@media(hover:hover){.group-hover\:border-indigo-500:is(:where(.group):hover *){border-color:var(--color-indigo-500)}.group-hover\:text-indigo-400:is(:where(.group):hover *){color:var(--color-indigo-400)}}.group-data-\[size\=sm\]\/card\:p-3:is(:where(.group\/card)[data-size=sm] *){padding:calc(var(--spacing) * 3)}.group-data-\[size\=sm\]\/card\:px-3:is(:where(.group\/card)[data-size=sm] *){padding-inline:calc(var(--spacing) * 3)}.group-data-\[size\=sm\]\/card\:text-sm:is(:where(.group\/card)[data-size=sm] *){font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.group-data-\[variant\=line\]\/tabs-list\:bg-transparent:is(:where(.group\/tabs-list)[data-variant=line] *){background-color:#0000}.group-data-horizontal\/tabs\:h-8:is(:where(.group\/tabs):where([data-orientation=horizontal]) *){height:calc(var(--spacing) * 8)}.group-data-vertical\/tabs\:h-fit:is(:where(.group\/tabs):where([data-orientation=vertical]) *){height:fit-content}.group-data-vertical\/tabs\:w-full:is(:where(.group\/tabs):where([data-orientation=vertical]) *){width:100%}.group-data-vertical\/tabs\:flex-col:is(:where(.group\/tabs):where([data-orientation=vertical]) *){flex-direction:column}.group-data-vertical\/tabs\:justify-start:is(:where(.group\/tabs):where([data-orientation=vertical]) *){justify-content:flex-start}.selection\:bg-indigo-500\/30 ::selection{background-color:#625fff4d}@supports (color:color-mix(in lab,red,red)){.selection\:bg-indigo-500\/30 ::selection{background-color:color-mix(in oklab,var(--color-indigo-500) 30%,transparent)}}.selection\:bg-indigo-500\/30::selection{background-color:#625fff4d}@supports (color:color-mix(in lab,red,red)){.selection\:bg-indigo-500\/30::selection{background-color:color-mix(in oklab,var(--color-indigo-500) 30%,transparent)}}.after\:absolute:after{content:var(--tw-content);position:absolute}.after\:bg-foreground:after{content:var(--tw-content);background-color:var(--foreground)}.after\:opacity-0:after{content:var(--tw-content);opacity:0}.after\:transition-opacity:after{content:var(--tw-content);transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.group-data-horizontal\/tabs\:after\:inset-x-0:is(:where(.group\/tabs):where([data-orientation=horizontal]) *):after{content:var(--tw-content);inset-inline:calc(var(--spacing) * 0)}.group-data-horizontal\/tabs\:after\:bottom-\[-5px\]:is(:where(.group\/tabs):where([data-orientation=horizontal]) *):after{content:var(--tw-content);bottom:-5px}.group-data-horizontal\/tabs\:after\:h-0\.5:is(:where(.group\/tabs):where([data-orientation=horizontal]) *):after{content:var(--tw-content);height:calc(var(--spacing) * .5)}.group-data-vertical\/tabs\:after\:inset-y-0:is(:where(.group\/tabs):where([data-orientation=vertical]) *):after{content:var(--tw-content);inset-block:calc(var(--spacing) * 0)}.group-data-vertical\/tabs\:after\:-right-1:is(:where(.group\/tabs):where([data-orientation=vertical]) *):after{content:var(--tw-content);right:calc(var(--spacing) * -1)}.group-data-vertical\/tabs\:after\:w-0\.5:is(:where(.group\/tabs):where([data-orientation=vertical]) *):after{content:var(--tw-content);width:calc(var(--spacing) * .5)}@media(hover:hover){.hover\:bg-destructive\/20:hover{background-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.hover\:bg-destructive\/20:hover{background-color:color-mix(in oklab,var(--destructive) 20%,transparent)}}.hover\:bg-muted:hover{background-color:var(--muted)}.hover\:bg-secondary\/80:hover{background-color:var(--secondary)}@supports (color:color-mix(in lab,red,red)){.hover\:bg-secondary\/80:hover{background-color:color-mix(in oklab,var(--secondary) 80%,transparent)}}.hover\:bg-slate-800:hover{background-color:var(--color-slate-800)}.hover\:text-foreground:hover{color:var(--foreground)}.hover\:text-muted-foreground:hover{color:var(--muted-foreground)}.hover\:text-white:hover{color:var(--color-white)}.hover\:underline:hover{text-decoration-line:underline}}.focus-visible\:border-destructive\/40:focus-visible{border-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.focus-visible\:border-destructive\/40:focus-visible{border-color:color-mix(in oklab,var(--destructive) 40%,transparent)}}.focus-visible\:border-ring:focus-visible{border-color:var(--ring)}.focus-visible\:ring-3:focus-visible,.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-destructive\/20:focus-visible{--tw-ring-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.focus-visible\:ring-destructive\/20:focus-visible{--tw-ring-color:color-mix(in oklab, var(--destructive) 20%, transparent)}}.focus-visible\:ring-ring\/50:focus-visible{--tw-ring-color:var(--ring)}@supports (color:color-mix(in lab,red,red)){.focus-visible\:ring-ring\/50:focus-visible{--tw-ring-color:color-mix(in oklab, var(--ring) 50%, transparent)}}.focus-visible\:outline-1:focus-visible{outline-style:var(--tw-outline-style);outline-width:1px}.focus-visible\:outline-ring:focus-visible{outline-color:var(--ring)}.active\:not-aria-\[haspopup\]\:translate-y-px:active:not([aria-haspopup]){--tw-translate-y:1px;translate:var(--tw-translate-x) var(--tw-translate-y)}.disabled\:pointer-events-none:disabled{pointer-events:none}.disabled\:opacity-50:disabled{opacity:.5}:where([data-slot=button-group]) .in-data-\[slot\=button-group\]\:rounded-lg{border-radius:var(--radius)}.has-data-\[icon\=inline-end\]\:pr-1:has([data-icon=inline-end]){padding-right:calc(var(--spacing) * 1)}.has-data-\[icon\=inline-end\]\:pr-1\.5:has([data-icon=inline-end]){padding-right:calc(var(--spacing) * 1.5)}.has-data-\[icon\=inline-end\]\:pr-2:has([data-icon=inline-end]){padding-right:calc(var(--spacing) * 2)}.has-data-\[icon\=inline-start\]\:pl-1:has([data-icon=inline-start]){padding-left:calc(var(--spacing) * 1)}.has-data-\[icon\=inline-start\]\:pl-1\.5:has([data-icon=inline-start]){padding-left:calc(var(--spacing) * 1.5)}.has-data-\[icon\=inline-start\]\:pl-2:has([data-icon=inline-start]){padding-left:calc(var(--spacing) * 2)}.has-data-\[slot\=card-action\]\:grid-cols-\[1fr_auto\]:has([data-slot=card-action]){grid-template-columns:1fr auto}.has-data-\[slot\=card-description\]\:grid-rows-\[auto_auto\]:has([data-slot=card-description]){grid-template-rows:auto auto}.has-data-\[slot\=card-footer\]\:pb-0:has([data-slot=card-footer]){padding-bottom:calc(var(--spacing) * 0)}.has-\[\>img\:first-child\]\:pt-0:has(>img:first-child){padding-top:calc(var(--spacing) * 0)}.aria-disabled\:pointer-events-none[aria-disabled=true]{pointer-events:none}.aria-disabled\:opacity-50[aria-disabled=true]{opacity:.5}.aria-expanded\:bg-muted[aria-expanded=true]{background-color:var(--muted)}.aria-expanded\:bg-secondary[aria-expanded=true]{background-color:var(--secondary)}.aria-expanded\:text-foreground[aria-expanded=true]{color:var(--foreground)}.aria-expanded\:text-secondary-foreground[aria-expanded=true]{color:var(--secondary-foreground)}.aria-invalid\:border-destructive[aria-invalid=true]{border-color:var(--destructive)}.aria-invalid\:ring-3[aria-invalid=true]{--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)}.aria-invalid\:ring-destructive\/20[aria-invalid=true]{--tw-ring-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.aria-invalid\:ring-destructive\/20[aria-invalid=true]{--tw-ring-color:color-mix(in oklab, var(--destructive) 20%, transparent)}}.data-\[size\=sm\]\:gap-3[data-size=sm]{gap:calc(var(--spacing) * 3)}.data-\[size\=sm\]\:py-3[data-size=sm]{padding-block:calc(var(--spacing) * 3)}.data-\[size\=sm\]\:has-data-\[slot\=card-footer\]\:pb-0[data-size=sm]:has([data-slot=card-footer]){padding-bottom:calc(var(--spacing) * 0)}.data-\[variant\=line\]\:rounded-none[data-variant=line]{border-radius:0}@media(min-width:40rem){.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(min-width:64rem){.lg\:flex-row{flex-direction:row}.lg\:py-24{padding-block:calc(var(--spacing) * 24)}.lg\:text-7xl{font-size:var(--text-7xl);line-height:var(--tw-leading,var(--text-7xl--line-height))}}.dark\:border-input:is(.dark *){border-color:var(--input)}.dark\:bg-destructive\/20:is(.dark *){background-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.dark\:bg-destructive\/20:is(.dark *){background-color:color-mix(in oklab,var(--destructive) 20%,transparent)}}.dark\:bg-input\/30:is(.dark *){background-color:var(--input)}@supports (color:color-mix(in lab,red,red)){.dark\:bg-input\/30:is(.dark *){background-color:color-mix(in oklab,var(--input) 30%,transparent)}}.dark\:text-muted-foreground:is(.dark *){color:var(--muted-foreground)}@media(hover:hover){.dark\:hover\:bg-destructive\/30:is(.dark *):hover{background-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.dark\:hover\:bg-destructive\/30:is(.dark *):hover{background-color:color-mix(in oklab,var(--destructive) 30%,transparent)}}.dark\:hover\:bg-input\/50:is(.dark *):hover{background-color:var(--input)}@supports (color:color-mix(in lab,red,red)){.dark\:hover\:bg-input\/50:is(.dark *):hover{background-color:color-mix(in oklab,var(--input) 50%,transparent)}}.dark\:hover\:bg-muted\/50:is(.dark *):hover{background-color:var(--muted)}@supports (color:color-mix(in lab,red,red)){.dark\:hover\:bg-muted\/50:is(.dark *):hover{background-color:color-mix(in oklab,var(--muted) 50%,transparent)}}.dark\:hover\:text-foreground:is(.dark *):hover{color:var(--foreground)}}.dark\:focus-visible\:ring-destructive\/40:is(.dark *):focus-visible{--tw-ring-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.dark\:focus-visible\:ring-destructive\/40:is(.dark *):focus-visible{--tw-ring-color:color-mix(in oklab, var(--destructive) 40%, transparent)}}.dark\:aria-invalid\:border-destructive\/50:is(.dark *)[aria-invalid=true]{border-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.dark\:aria-invalid\:border-destructive\/50:is(.dark *)[aria-invalid=true]{border-color:color-mix(in oklab,var(--destructive) 50%,transparent)}}.dark\:aria-invalid\:ring-destructive\/40:is(.dark *)[aria-invalid=true]{--tw-ring-color:var(--destructive)}@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(--destructive) 40%, transparent)}}.data-active\:bg-background:where([data-state=active]),.data-active\:bg-background:where([data-active]:not([data-active=false])){background-color:var(--background)}.data-active\:text-foreground:where([data-state=active]),.data-active\:text-foreground:where([data-active]:not([data-active=false])){color:var(--foreground)}.group-data-\[variant\=default\]\/tabs-list\:data-active\:shadow-sm:is(:where(.group\/tabs-list)[data-variant=default] *):where([data-state=active]),.group-data-\[variant\=default\]\/tabs-list\:data-active\:shadow-sm:is(:where(.group\/tabs-list)[data-variant=default] *):where([data-active]:not([data-active=false])){--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)}.group-data-\[variant\=line\]\/tabs-list\:data-active\:bg-transparent:is(:where(.group\/tabs-list)[data-variant=line] *):where([data-state=active]),.group-data-\[variant\=line\]\/tabs-list\:data-active\:bg-transparent:is(:where(.group\/tabs-list)[data-variant=line] *):where([data-active]:not([data-active=false])){background-color:#0000}.group-data-\[variant\=line\]\/tabs-list\:data-active\:shadow-none:is(:where(.group\/tabs-list)[data-variant=line] *):where([data-state=active]),.group-data-\[variant\=line\]\/tabs-list\:data-active\:shadow-none:is(:where(.group\/tabs-list)[data-variant=line] *):where([data-active]:not([data-active=false])){--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}:is(.group-data-\[variant\=line\]\/tabs-list\:data-active\:after\:opacity-100:is(:where(.group\/tabs-list)[data-variant=line] *):where([data-state=active]),.group-data-\[variant\=line\]\/tabs-list\:data-active\:after\:opacity-100:is(:where(.group\/tabs-list)[data-variant=line] *):where([data-active]:not([data-active=false]))):after{content:var(--tw-content);opacity:1}.dark\:data-active\:border-input:is(.dark *):where([data-state=active]),.dark\:data-active\:border-input:is(.dark *):where([data-active]:not([data-active=false])){border-color:var(--input)}.dark\:data-active\:bg-input\/30:is(.dark *):where([data-state=active]),.dark\:data-active\:bg-input\/30:is(.dark *):where([data-active]:not([data-active=false])){background-color:var(--input)}@supports (color:color-mix(in lab,red,red)){.dark\:data-active\:bg-input\/30:is(.dark *):where([data-state=active]),.dark\:data-active\:bg-input\/30:is(.dark *):where([data-active]:not([data-active=false])){background-color:color-mix(in oklab,var(--input) 30%,transparent)}}.dark\:data-active\:text-foreground:is(.dark *):where([data-state=active]),.dark\:data-active\:text-foreground:is(.dark *):where([data-active]:not([data-active=false])){color:var(--foreground)}.dark\:group-data-\[variant\=line\]\/tabs-list\:data-active\:border-transparent:is(.dark *):is(:where(.group\/tabs-list)[data-variant=line] *):where([data-state=active]),.dark\:group-data-\[variant\=line\]\/tabs-list\:data-active\:border-transparent:is(.dark *):is(:where(.group\/tabs-list)[data-variant=line] *):where([data-active]:not([data-active=false])){border-color:#0000}.dark\:group-data-\[variant\=line\]\/tabs-list\:data-active\:bg-transparent:is(.dark *):is(:where(.group\/tabs-list)[data-variant=line] *):where([data-state=active]),.dark\:group-data-\[variant\=line\]\/tabs-list\:data-active\:bg-transparent:is(.dark *):is(:where(.group\/tabs-list)[data-variant=line] *):where([data-active]:not([data-active=false])){background-color:#0000}.data-horizontal\:h-2\.5:where([data-orientation=horizontal]){height:calc(var(--spacing) * 2.5)}.data-horizontal\:flex-col:where([data-orientation=horizontal]){flex-direction:column}.data-horizontal\:border-t:where([data-orientation=horizontal]){border-top-style:var(--tw-border-style);border-top-width:1px}.data-horizontal\:border-t-transparent:where([data-orientation=horizontal]){border-top-color:#0000}.data-vertical\:h-full:where([data-orientation=vertical]){height:100%}.data-vertical\:w-2\.5:where([data-orientation=vertical]){width:calc(var(--spacing) * 2.5)}.data-vertical\:border-l:where([data-orientation=vertical]){border-left-style:var(--tw-border-style);border-left-width:1px}.data-vertical\:border-l-transparent:where([data-orientation=vertical]){border-left-color:#0000}.\[\&_svg\]\:pointer-events-none svg{pointer-events:none}.\[\&_svg\]\:shrink-0 svg{flex-shrink:0}.\[\&_svg\:not\(\[class\*\=\'size-\'\]\)\]\:size-3 svg:not([class*=size-]){width:calc(var(--spacing) * 3);height:calc(var(--spacing) * 3)}.\[\&_svg\:not\(\[class\*\=\'size-\'\]\)\]\:size-3\.5 svg:not([class*=size-]){width:calc(var(--spacing) * 3.5);height:calc(var(--spacing) * 3.5)}.\[\&_svg\:not\(\[class\*\=\'size-\'\]\)\]\:size-4 svg:not([class*=size-]){width:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4)}.\[\.border-b\]\:pb-4.border-b{padding-bottom:calc(var(--spacing) * 4)}.group-data-\[size\=sm\]\/card\:\[\.border-b\]\:pb-3:is(:where(.group\/card)[data-size=sm] *).border-b{padding-bottom:calc(var(--spacing) * 3)}@media(hover:hover){.\[a\]\:hover\:bg-destructive\/20:is(a):hover{background-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.\[a\]\:hover\:bg-destructive\/20:is(a):hover{background-color:color-mix(in oklab,var(--destructive) 20%,transparent)}}.\[a\]\:hover\:bg-muted:is(a):hover{background-color:var(--muted)}.\[a\]\:hover\:bg-primary\/80:is(a):hover{background-color:var(--primary)}@supports (color:color-mix(in lab,red,red)){.\[a\]\:hover\:bg-primary\/80:is(a):hover{background-color:color-mix(in oklab,var(--primary) 80%,transparent)}}.\[a\]\:hover\:bg-secondary\/80:is(a):hover{background-color:var(--secondary)}@supports (color:color-mix(in lab,red,red)){.\[a\]\:hover\:bg-secondary\/80:is(a):hover{background-color:color-mix(in oklab,var(--secondary) 80%,transparent)}}.\[a\]\:hover\:text-muted-foreground:is(a):hover{color:var(--muted-foreground)}}:is(.\*\:\[img\:first-child\]\:rounded-t-xl>*):is(img:first-child){border-top-left-radius:calc(var(--radius) * 1.4);border-top-right-radius:calc(var(--radius) * 1.4)}:is(.\*\:\[img\:last-child\]\:rounded-b-xl>*):is(img:last-child){border-bottom-right-radius:calc(var(--radius) * 1.4);border-bottom-left-radius:calc(var(--radius) * 1.4)}.\[\&\>svg\]\:pointer-events-none>svg{pointer-events:none}.\[\&\>svg\]\:size-3\!>svg{width:calc(var(--spacing) * 3)!important;height:calc(var(--spacing) * 3)!important}}@property --tw-animation-delay{syntax:"*";inherits:false;initial-value:0s}@property --tw-animation-direction{syntax:"*";inherits:false;initial-value:normal}@property --tw-animation-duration{syntax:"*";inherits:false}@property --tw-animation-fill-mode{syntax:"*";inherits:false;initial-value:none}@property --tw-animation-iteration-count{syntax:"*";inherits:false;initial-value:1}@property --tw-enter-blur{syntax:"*";inherits:false;initial-value:0}@property --tw-enter-opacity{syntax:"*";inherits:false;initial-value:1}@property --tw-enter-rotate{syntax:"*";inherits:false;initial-value:0}@property --tw-enter-scale{syntax:"*";inherits:false;initial-value:1}@property --tw-enter-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-enter-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-exit-blur{syntax:"*";inherits:false;initial-value:0}@property --tw-exit-opacity{syntax:"*";inherits:false;initial-value:1}@property --tw-exit-rotate{syntax:"*";inherits:false;initial-value:0}@property --tw-exit-scale{syntax:"*";inherits:false;initial-value:1}@property --tw-exit-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-exit-translate-y{syntax:"*";inherits:false;initial-value:0}@font-face{font-family:Geist Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(./geist-cyrillic-wght-normal.CHSlOQsW.woff2)format("woff2-variations");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Geist Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(./geist-latin-ext-wght-normal.DMtmJ5ZE.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Geist Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(./geist-latin-wght-normal.Dm3htQBi.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root{--background:oklch(100% 0 0);--foreground:oklch(14.5% 0 0);--card:oklch(100% 0 0);--card-foreground:oklch(14.5% 0 0);--popover:oklch(100% 0 0);--popover-foreground:oklch(14.5% 0 0);--primary:oklch(20.5% 0 0);--primary-foreground:oklch(98.5% 0 0);--secondary:oklch(97% 0 0);--secondary-foreground:oklch(20.5% 0 0);--muted:oklch(97% 0 0);--muted-foreground:oklch(55.6% 0 0);--accent:oklch(97% 0 0);--accent-foreground:oklch(20.5% 0 0);--destructive:oklch(57.7% .245 27.325);--border:oklch(92.2% 0 0);--input:oklch(92.2% 0 0);--ring:oklch(70.8% 0 0);--chart-1:oklch(87% 0 0);--chart-2:oklch(55.6% 0 0);--chart-3:oklch(43.9% 0 0);--chart-4:oklch(37.1% 0 0);--chart-5:oklch(26.9% 0 0);--radius:.625rem;--sidebar:oklch(98.5% 0 0);--sidebar-foreground:oklch(14.5% 0 0);--sidebar-primary:oklch(20.5% 0 0);--sidebar-primary-foreground:oklch(98.5% 0 0);--sidebar-accent:oklch(97% 0 0);--sidebar-accent-foreground:oklch(20.5% 0 0);--sidebar-border:oklch(92.2% 0 0);--sidebar-ring:oklch(70.8% 0 0)}.dark{--background:oklch(14.5% 0 0);--foreground:oklch(98.5% 0 0);--card:oklch(20.5% 0 0);--card-foreground:oklch(98.5% 0 0);--popover:oklch(20.5% 0 0);--popover-foreground:oklch(98.5% 0 0);--primary:oklch(92.2% 0 0);--primary-foreground:oklch(20.5% 0 0);--secondary:oklch(26.9% 0 0);--secondary-foreground:oklch(98.5% 0 0);--muted:oklch(26.9% 0 0);--muted-foreground:oklch(70.8% 0 0);--accent:oklch(26.9% 0 0);--accent-foreground:oklch(98.5% 0 0);--destructive:oklch(70.4% .191 22.216);--border:oklch(100% 0 0/.1);--input:oklch(100% 0 0/.15);--ring:oklch(55.6% 0 0);--chart-1:oklch(87% 0 0);--chart-2:oklch(55.6% 0 0);--chart-3:oklch(43.9% 0 0);--chart-4:oklch(37.1% 0 0);--chart-5:oklch(26.9% 0 0);--sidebar:oklch(20.5% 0 0);--sidebar-foreground:oklch(98.5% 0 0);--sidebar-primary:oklch(48.8% .243 264.376);--sidebar-primary-foreground:oklch(98.5% 0 0);--sidebar-accent:oklch(26.9% 0 0);--sidebar-accent-foreground:oklch(98.5% 0 0);--sidebar-border:oklch(100% 0 0/.1);--sidebar-ring:oklch(55.6% 0 0)}@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-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-pan-x{syntax:"*";inherits:false}@property --tw-pan-y{syntax:"*";inherits:false}@property --tw-pinch-zoom{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-divide-x-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-divide-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-ordinal{syntax:"*";inherits:false}@property --tw-slashed-zero{syntax:"*";inherits:false}@property --tw-numeric-figure{syntax:"*";inherits:false}@property --tw-numeric-spacing{syntax:"*";inherits:false}@property --tw-numeric-fraction{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:"";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:"";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:"";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:"";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-ease{syntax:"*";inherits:false}@property --tw-content{syntax:"*";inherits:false;initial-value:""}@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}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{50%{opacity:.5}} diff --git a/extension/popup.BiFCt1KS.js b/extension/popup.BiFCt1KS.js new file mode 100644 index 0000000..fcf92c0 --- /dev/null +++ b/extension/popup.BiFCt1KS.js @@ -0,0 +1,169 @@ +var DS=Object.defineProperty;var zS=(i,a,s)=>a in i?DS(i,a,{enumerable:!0,configurable:!0,writable:!0,value:s}):i[a]=s;var Vo=(i,a,s)=>zS(i,typeof a!="symbol"?a+"":a,s);function RS(i,a){for(var s=0;so[c]})}}}return Object.freeze(Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}))}(function(){const a=document.createElement("link").relList;if(a&&a.supports&&a.supports("modulepreload"))return;for(const c of document.querySelectorAll('link[rel="modulepreload"]'))o(c);new MutationObserver(c=>{for(const f of c)if(f.type==="childList")for(const d of f.addedNodes)d.tagName==="LINK"&&d.rel==="modulepreload"&&o(d)}).observe(document,{childList:!0,subtree:!0});function s(c){const f={};return c.integrity&&(f.integrity=c.integrity),c.referrerPolicy&&(f.referrerPolicy=c.referrerPolicy),c.crossOrigin==="use-credentials"?f.credentials="include":c.crossOrigin==="anonymous"?f.credentials="omit":f.credentials="same-origin",f}function o(c){if(c.ep)return;c.ep=!0;const f=s(c);fetch(c.href,f)}})();function OS(i){return i&&i.__esModule&&Object.prototype.hasOwnProperty.call(i,"default")?i.default:i}var Rc={exports:{}},Fl={};/** + * @license React + * react-jsx-runtime.production.js + * + * Copyright (c) Meta Platforms, Inc. and affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var lg;function VS(){if(lg)return Fl;lg=1;var i=Symbol.for("react.transitional.element"),a=Symbol.for("react.fragment");function s(o,c,f){var d=null;if(f!==void 0&&(d=""+f),c.key!==void 0&&(d=""+c.key),"key"in c){f={};for(var m in c)m!=="key"&&(f[m]=c[m])}else f=c;return c=f.ref,{$$typeof:i,type:o,key:d,ref:c!==void 0?c:null,props:f}}return Fl.Fragment=a,Fl.jsx=s,Fl.jsxs=s,Fl}var sg;function NS(){return sg||(sg=1,Rc.exports=VS()),Rc.exports}var $=NS(),Oc={exports:{}},gt={};/** + * @license React + * react.production.js + * + * Copyright (c) Meta Platforms, Inc. and affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var og;function _S(){if(og)return gt;og=1;var i=Symbol.for("react.transitional.element"),a=Symbol.for("react.portal"),s=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),c=Symbol.for("react.profiler"),f=Symbol.for("react.consumer"),d=Symbol.for("react.context"),m=Symbol.for("react.forward_ref"),g=Symbol.for("react.suspense"),p=Symbol.for("react.memo"),v=Symbol.for("react.lazy"),b=Symbol.for("react.activity"),S=Symbol.iterator;function A(x){return x===null||typeof x!="object"?null:(x=S&&x[S]||x["@@iterator"],typeof x=="function"?x:null)}var C={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},N=Object.assign,_={};function B(x,V,K){this.props=x,this.context=V,this.refs=_,this.updater=K||C}B.prototype.isReactComponent={},B.prototype.setState=function(x,V){if(typeof x!="object"&&typeof x!="function"&&x!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,x,V,"setState")},B.prototype.forceUpdate=function(x){this.updater.enqueueForceUpdate(this,x,"forceUpdate")};function Z(){}Z.prototype=B.prototype;function X(x,V,K){this.props=x,this.context=V,this.refs=_,this.updater=K||C}var J=X.prototype=new Z;J.constructor=X,N(J,B.prototype),J.isPureReactComponent=!0;var Y=Array.isArray;function ut(){}var F={H:null,A:null,T:null,S:null},k=Object.prototype.hasOwnProperty;function ct(x,V,K){var P=K.ref;return{$$typeof:i,type:x,key:V,ref:P!==void 0?P:null,props:K}}function tt(x,V){return ct(x.type,V,x.props)}function W(x){return typeof x=="object"&&x!==null&&x.$$typeof===i}function dt(x){var V={"=":"=0",":":"=2"};return"$"+x.replace(/[=:]/g,function(K){return V[K]})}var St=/\/+/g;function wt(x,V){return typeof x=="object"&&x!==null&&x.key!=null?dt(""+x.key):V.toString(36)}function lt(x){switch(x.status){case"fulfilled":return x.value;case"rejected":throw x.reason;default:switch(typeof x.status=="string"?x.then(ut,ut):(x.status="pending",x.then(function(V){x.status==="pending"&&(x.status="fulfilled",x.value=V)},function(V){x.status==="pending"&&(x.status="rejected",x.reason=V)})),x.status){case"fulfilled":return x.value;case"rejected":throw x.reason}}throw x}function w(x,V,K,P,I){var rt=typeof x;(rt==="undefined"||rt==="boolean")&&(x=null);var mt=!1;if(x===null)mt=!0;else switch(rt){case"bigint":case"string":case"number":mt=!0;break;case"object":switch(x.$$typeof){case i:case a:mt=!0;break;case v:return mt=x._init,w(mt(x._payload),V,K,P,I)}}if(mt)return I=I(x),mt=P===""?"."+wt(x,0):P,Y(I)?(K="",mt!=null&&(K=mt.replace(St,"$&/")+"/"),w(I,V,K,"",function(se){return se})):I!=null&&(W(I)&&(I=tt(I,K+(I.key==null||x&&x.key===I.key?"":(""+I.key).replace(St,"$&/")+"/")+mt)),V.push(I)),1;mt=0;var Nt=P===""?".":P+":";if(Y(x))for(var pt=0;pt>>1,G=w[ot];if(0>>1;otc(K,Q))Pc(I,K)?(w[ot]=I,w[P]=Q,ot=P):(w[ot]=K,w[V]=Q,ot=V);else if(Pc(I,Q))w[ot]=I,w[P]=Q,ot=P;else break t}}return q}function c(w,q){var Q=w.sortIndex-q.sortIndex;return Q!==0?Q:w.id-q.id}if(i.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var f=performance;i.unstable_now=function(){return f.now()}}else{var d=Date,m=d.now();i.unstable_now=function(){return d.now()-m}}var g=[],p=[],v=1,b=null,S=3,A=!1,C=!1,N=!1,_=!1,B=typeof setTimeout=="function"?setTimeout:null,Z=typeof clearTimeout=="function"?clearTimeout:null,X=typeof setImmediate<"u"?setImmediate:null;function J(w){for(var q=s(p);q!==null;){if(q.callback===null)o(p);else if(q.startTime<=w)o(p),q.sortIndex=q.expirationTime,a(g,q);else break;q=s(p)}}function Y(w){if(N=!1,J(w),!C)if(s(g)!==null)C=!0,ut||(ut=!0,dt());else{var q=s(p);q!==null&<(Y,q.startTime-w)}}var ut=!1,F=-1,k=5,ct=-1;function tt(){return _?!0:!(i.unstable_now()-ctw&&tt());){var ot=b.callback;if(typeof ot=="function"){b.callback=null,S=b.priorityLevel;var G=ot(b.expirationTime<=w);if(w=i.unstable_now(),typeof G=="function"){b.callback=G,J(w),q=!0;break e}b===s(g)&&o(g),J(w)}else o(g);b=s(g)}if(b!==null)q=!0;else{var x=s(p);x!==null&<(Y,x.startTime-w),q=!1}}break t}finally{b=null,S=Q,A=!1}q=void 0}}finally{q?dt():ut=!1}}}var dt;if(typeof X=="function")dt=function(){X(W)};else if(typeof MessageChannel<"u"){var St=new MessageChannel,wt=St.port2;St.port1.onmessage=W,dt=function(){wt.postMessage(null)}}else dt=function(){B(W,0)};function lt(w,q){F=B(function(){w(i.unstable_now())},q)}i.unstable_IdlePriority=5,i.unstable_ImmediatePriority=1,i.unstable_LowPriority=4,i.unstable_NormalPriority=3,i.unstable_Profiling=null,i.unstable_UserBlockingPriority=2,i.unstable_cancelCallback=function(w){w.callback=null},i.unstable_forceFrameRate=function(w){0>w||125ot?(w.sortIndex=Q,a(p,w),s(g)===null&&w===s(p)&&(N?(Z(F),F=-1):N=!0,lt(Y,Q-ot))):(w.sortIndex=G,a(g,w),C||A||(C=!0,ut||(ut=!0,dt()))),w},i.unstable_shouldYield=tt,i.unstable_wrapCallback=function(w){var q=S;return function(){var Q=S;S=q;try{return w.apply(this,arguments)}finally{S=Q}}}})(_c)),_c}var cg;function LS(){return cg||(cg=1,Nc.exports=US()),Nc.exports}var Bc={exports:{}},ve={};/** + * @license React + * react-dom.production.js + * + * Copyright (c) Meta Platforms, Inc. and affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var fg;function jS(){if(fg)return ve;fg=1;var i=Of();function a(g){var p="https://react.dev/errors/"+g;if(1"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(i)}catch(a){console.error(a)}}return i(),Bc.exports=jS(),Bc.exports}/** + * @license React + * react-dom-client.production.js + * + * Copyright (c) Meta Platforms, Inc. and affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var hg;function kS(){if(hg)return Wl;hg=1;var i=LS(),a=Of(),s=HS();function o(t){var e="https://react.dev/errors/"+t;if(1G||(t.current=ot[G],ot[G]=null,G--)}function K(t,e){G++,ot[G]=t.current,t.current=e}var P=x(null),I=x(null),rt=x(null),mt=x(null);function Nt(t,e){switch(K(rt,e),K(I,t),K(P,null),e.nodeType){case 9:case 11:t=(t=e.documentElement)&&(t=t.namespaceURI)?Dp(t):0;break;default:if(t=e.tagName,e=e.namespaceURI)e=Dp(e),t=zp(e,t);else switch(t){case"svg":t=1;break;case"math":t=2;break;default:t=0}}V(P),K(P,t)}function pt(){V(P),V(I),V(rt)}function se(t){t.memoizedState!==null&&K(mt,t);var e=P.current,n=zp(e,t.type);e!==n&&(K(I,t),K(P,n))}function be(t){I.current===t&&(V(P),V(I)),mt.current===t&&(V(mt),Kl._currentValue=Q)}var Se,xe;function oe(t){if(Se===void 0)try{throw Error()}catch(n){var e=n.stack.trim().match(/\n( *(at )?)/);Se=e&&e[1]||"",xe=-1)":-1r||T[l]!==z[r]){var U=` +`+T[l].replace(" at new "," at ");return t.displayName&&U.includes("")&&(U=U.replace("",t.displayName)),U}while(1<=l&&0<=r);break}}}finally{en=!1,Error.prepareStackTrace=n}return(n=t?t.displayName||t.name:"")?oe(n):""}function nn(t,e){switch(t.tag){case 26:case 27:case 5:return oe(t.type);case 16:return oe("Lazy");case 13:return t.child!==e&&e!==null?oe("Suspense Fallback"):oe("Suspense");case 19:return oe("SuspenseList");case 0:case 15:return Te(t.type,!1);case 11:return Te(t.type.render,!1);case 1:return Te(t.type,!0);case 31:return oe("Activity");default:return""}}function sa(t){try{var e="",n=null;do e+=nn(t,n),n=t,t=t.return;while(t);return e}catch(l){return` +Error generating stack: `+l.message+` +`+l.stack}}var Rt=Object.prototype.hasOwnProperty,we=i.unstable_scheduleCallback,an=i.unstable_cancelCallback,Qn=i.unstable_shouldYield,Oi=i.unstable_requestPaint,re=i.unstable_now,Vi=i.unstable_getCurrentPriorityLevel,Mn=i.unstable_ImmediatePriority,Jn=i.unstable_UserBlockingPriority,mn=i.unstable_NormalPriority,wn=i.unstable_LowPriority,pn=i.unstable_IdlePriority,ps=i.log,vr=i.unstable_setDisableYieldValue,Ni=null,ge=null;function ln(t){if(typeof ps=="function"&&vr(t),ge&&typeof ge.setStrictMode=="function")try{ge.setStrictMode(Ni,t)}catch{}}var ye=Math.clz32?Math.clz32:vs,gs=Math.log,ys=Math.LN2;function vs(t){return t>>>=0,t===0?32:31-(gs(t)/ys|0)|0}var oa=256,ra=262144,Pn=4194304;function sn(t){var e=t&42;if(e!==0)return e;switch(t&-t){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:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return t&261888;case 262144:case 524288:case 1048576:case 2097152:return t&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return t&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return t}}function ua(t,e,n){var l=t.pendingLanes;if(l===0)return 0;var r=0,u=t.suspendedLanes,h=t.pingedLanes;t=t.warmLanes;var y=l&134217727;return y!==0?(l=y&~u,l!==0?r=sn(l):(h&=y,h!==0?r=sn(h):n||(n=y&~t,n!==0&&(r=sn(n))))):(y=l&~u,y!==0?r=sn(y):h!==0?r=sn(h):n||(n=l&~t,n!==0&&(r=sn(n)))),r===0?0:e!==0&&e!==r&&(e&u)===0&&(u=r&-r,n=e&-e,u>=n||u===32&&(n&4194048)!==0)?e:r}function on(t,e){return(t.pendingLanes&~(t.suspendedLanes&~t.pingedLanes)&e)===0}function Lt(t,e){switch(t){case 1:case 2:case 4:case 8:case 64:return e+250;case 16:case 32: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 e+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function gn(){var t=Pn;return Pn<<=1,(Pn&62914560)===0&&(Pn=4194304),t}function Fn(t){for(var e=[],n=0;31>n;n++)e.push(t);return e}function Cn(t,e){t.pendingLanes|=e,e!==268435456&&(t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0)}function gb(t,e,n,l,r,u){var h=t.pendingLanes;t.pendingLanes=n,t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0,t.expiredLanes&=n,t.entangledLanes&=n,t.errorRecoveryDisabledLanes&=n,t.shellSuspendCounter=0;var y=t.entanglements,T=t.expirationTimes,z=t.hiddenUpdates;for(n=h&~n;0"u")return null;try{return t.activeElement||t.body}catch{return t.body}}var Tb=/[\n"\\]/g;function Ge(t){return t.replace(Tb,function(e){return"\\"+e.charCodeAt(0).toString(16)+" "})}function Er(t,e,n,l,r,u,h,y){t.name="",h!=null&&typeof h!="function"&&typeof h!="symbol"&&typeof h!="boolean"?t.type=h:t.removeAttribute("type"),e!=null?h==="number"?(e===0&&t.value===""||t.value!=e)&&(t.value=""+Xe(e)):t.value!==""+Xe(e)&&(t.value=""+Xe(e)):h!=="submit"&&h!=="reset"||t.removeAttribute("value"),e!=null?Mr(t,h,Xe(e)):n!=null?Mr(t,h,Xe(n)):l!=null&&t.removeAttribute("value"),r==null&&u!=null&&(t.defaultChecked=!!u),r!=null&&(t.checked=r&&typeof r!="function"&&typeof r!="symbol"),y!=null&&typeof y!="function"&&typeof y!="symbol"&&typeof y!="boolean"?t.name=""+Xe(y):t.removeAttribute("name")}function Td(t,e,n,l,r,u,h,y){if(u!=null&&typeof u!="function"&&typeof u!="symbol"&&typeof u!="boolean"&&(t.type=u),e!=null||n!=null){if(!(u!=="submit"&&u!=="reset"||e!=null)){Ar(t);return}n=n!=null?""+Xe(n):"",e=e!=null?""+Xe(e):n,y||e===t.value||(t.value=e),t.defaultValue=e}l=l??r,l=typeof l!="function"&&typeof l!="symbol"&&!!l,t.checked=y?t.checked:!!l,t.defaultChecked=!!l,h!=null&&typeof h!="function"&&typeof h!="symbol"&&typeof h!="boolean"&&(t.name=h),Ar(t)}function Mr(t,e,n){e==="number"&&xs(t.ownerDocument)===t||t.defaultValue===""+n||(t.defaultValue=""+n)}function pa(t,e,n,l){if(t=t.options,e){e={};for(var r=0;r"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Rr=!1;if(Rn)try{var cl={};Object.defineProperty(cl,"passive",{get:function(){Rr=!0}}),window.addEventListener("test",cl,cl),window.removeEventListener("test",cl,cl)}catch{Rr=!1}var $n=null,Or=null,As=null;function zd(){if(As)return As;var t,e=Or,n=e.length,l,r="value"in $n?$n.value:$n.textContent,u=r.length;for(t=0;t=hl),Bd=" ",Ud=!1;function Ld(t,e){switch(t){case"keyup":return Fb.indexOf(e.keyCode)!==-1;case"keydown":return e.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function jd(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var ba=!1;function $b(t,e){switch(t){case"compositionend":return jd(e);case"keypress":return e.which!==32?null:(Ud=!0,Bd);case"textInput":return t=e.data,t===Bd&&Ud?null:t;default:return null}}function Ib(t,e){if(ba)return t==="compositionend"||!Ur&&Ld(t,e)?(t=zd(),As=Or=$n=null,ba=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(e.ctrlKey||e.altKey||e.metaKey)||e.ctrlKey&&e.altKey){if(e.char&&1=e)return{node:n,offset:e-t};t=l}t:{for(;n;){if(n.nextSibling){n=n.nextSibling;break t}n=n.parentNode}n=void 0}n=Kd(n)}}function Jd(t,e){return t&&e?t===e?!0:t&&t.nodeType===3?!1:e&&e.nodeType===3?Jd(t,e.parentNode):"contains"in t?t.contains(e):t.compareDocumentPosition?!!(t.compareDocumentPosition(e)&16):!1:!1}function Pd(t){t=t!=null&&t.ownerDocument!=null&&t.ownerDocument.defaultView!=null?t.ownerDocument.defaultView:window;for(var e=xs(t.document);e instanceof t.HTMLIFrameElement;){try{var n=typeof e.contentWindow.location.href=="string"}catch{n=!1}if(n)t=e.contentWindow;else break;e=xs(t.document)}return e}function Hr(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e&&(e==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||e==="textarea"||t.contentEditable==="true")}var o1=Rn&&"documentMode"in document&&11>=document.documentMode,Sa=null,kr=null,yl=null,Yr=!1;function Fd(t,e,n){var l=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Yr||Sa==null||Sa!==xs(l)||(l=Sa,"selectionStart"in l&&Hr(l)?l={start:l.selectionStart,end:l.selectionEnd}:(l=(l.ownerDocument&&l.ownerDocument.defaultView||window).getSelection(),l={anchorNode:l.anchorNode,anchorOffset:l.anchorOffset,focusNode:l.focusNode,focusOffset:l.focusOffset}),yl&&gl(yl,l)||(yl=l,l=yo(kr,"onSelect"),0>=h,r-=h,yn=1<<32-ye(e)+r|n<vt?(Et=st,st=null):Et=st.sibling;var Dt=R(M,st,D[vt],j);if(Dt===null){st===null&&(st=Et);break}t&&st&&Dt.alternate===null&&e(M,st),E=u(Dt,E,vt),Ct===null?ft=Dt:Ct.sibling=Dt,Ct=Dt,st=Et}if(vt===D.length)return n(M,st),Mt&&Vn(M,vt),ft;if(st===null){for(;vtvt?(Et=st,st=null):Et=st.sibling;var Si=R(M,st,Dt.value,j);if(Si===null){st===null&&(st=Et);break}t&&st&&Si.alternate===null&&e(M,st),E=u(Si,E,vt),Ct===null?ft=Si:Ct.sibling=Si,Ct=Si,st=Et}if(Dt.done)return n(M,st),Mt&&Vn(M,vt),ft;if(st===null){for(;!Dt.done;vt++,Dt=D.next())Dt=H(M,Dt.value,j),Dt!==null&&(E=u(Dt,E,vt),Ct===null?ft=Dt:Ct.sibling=Dt,Ct=Dt);return Mt&&Vn(M,vt),ft}for(st=l(st);!Dt.done;vt++,Dt=D.next())Dt=O(st,M,vt,Dt.value,j),Dt!==null&&(t&&Dt.alternate!==null&&st.delete(Dt.key===null?vt:Dt.key),E=u(Dt,E,vt),Ct===null?ft=Dt:Ct.sibling=Dt,Ct=Dt);return t&&st.forEach(function(CS){return e(M,CS)}),Mt&&Vn(M,vt),ft}function Ut(M,E,D,j){if(typeof D=="object"&&D!==null&&D.type===N&&D.key===null&&(D=D.props.children),typeof D=="object"&&D!==null){switch(D.$$typeof){case A:t:{for(var ft=D.key;E!==null;){if(E.key===ft){if(ft=D.type,ft===N){if(E.tag===7){n(M,E.sibling),j=r(E,D.props.children),j.return=M,M=j;break t}}else if(E.elementType===ft||typeof ft=="object"&&ft!==null&&ft.$$typeof===k&&qi(ft)===E.type){n(M,E.sibling),j=r(E,D.props),Al(j,D),j.return=M,M=j;break t}n(M,E);break}else e(M,E);E=E.sibling}D.type===N?(j=Hi(D.props.children,M.mode,j,D.key),j.return=M,M=j):(j=Ns(D.type,D.key,D.props,null,M.mode,j),Al(j,D),j.return=M,M=j)}return h(M);case C:t:{for(ft=D.key;E!==null;){if(E.key===ft)if(E.tag===4&&E.stateNode.containerInfo===D.containerInfo&&E.stateNode.implementation===D.implementation){n(M,E.sibling),j=r(E,D.children||[]),j.return=M,M=j;break t}else{n(M,E);break}else e(M,E);E=E.sibling}j=Jr(D,M.mode,j),j.return=M,M=j}return h(M);case k:return D=qi(D),Ut(M,E,D,j)}if(lt(D))return et(M,E,D,j);if(dt(D)){if(ft=dt(D),typeof ft!="function")throw Error(o(150));return D=ft.call(D),ht(M,E,D,j)}if(typeof D.then=="function")return Ut(M,E,ks(D),j);if(D.$$typeof===X)return Ut(M,E,Us(M,D),j);Ys(M,D)}return typeof D=="string"&&D!==""||typeof D=="number"||typeof D=="bigint"?(D=""+D,E!==null&&E.tag===6?(n(M,E.sibling),j=r(E,D),j.return=M,M=j):(n(M,E),j=Qr(D,M.mode,j),j.return=M,M=j),h(M)):n(M,E)}return function(M,E,D,j){try{Tl=0;var ft=Ut(M,E,D,j);return Oa=null,ft}catch(st){if(st===Ra||st===js)throw st;var Ct=Be(29,st,null,M.mode);return Ct.lanes=j,Ct.return=M,Ct}finally{}}}var Ki=bh(!0),Sh=bh(!1),ii=!1;function su(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function ou(t,e){t=t.updateQueue,e.updateQueue===t&&(e.updateQueue={baseState:t.baseState,firstBaseUpdate:t.firstBaseUpdate,lastBaseUpdate:t.lastBaseUpdate,shared:t.shared,callbacks:null})}function ai(t){return{lane:t,tag:0,payload:null,callback:null,next:null}}function li(t,e,n){var l=t.updateQueue;if(l===null)return null;if(l=l.shared,(zt&2)!==0){var r=l.pending;return r===null?e.next=e:(e.next=r.next,r.next=e),l.pending=e,e=Vs(t),ih(t,null,n),e}return Os(t,l,e,n),Vs(t)}function El(t,e,n){if(e=e.updateQueue,e!==null&&(e=e.shared,(n&4194048)!==0)){var l=e.lanes;l&=t.pendingLanes,n|=l,e.lanes=n,fd(t,n)}}function ru(t,e){var n=t.updateQueue,l=t.alternate;if(l!==null&&(l=l.updateQueue,n===l)){var r=null,u=null;if(n=n.firstBaseUpdate,n!==null){do{var h={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};u===null?r=u=h:u=u.next=h,n=n.next}while(n!==null);u===null?r=u=e:u=u.next=e}else r=u=e;n={baseState:l.baseState,firstBaseUpdate:r,lastBaseUpdate:u,shared:l.shared,callbacks:l.callbacks},t.updateQueue=n;return}t=n.lastBaseUpdate,t===null?n.firstBaseUpdate=e:t.next=e,n.lastBaseUpdate=e}var uu=!1;function Ml(){if(uu){var t=za;if(t!==null)throw t}}function wl(t,e,n,l){uu=!1;var r=t.updateQueue;ii=!1;var u=r.firstBaseUpdate,h=r.lastBaseUpdate,y=r.shared.pending;if(y!==null){r.shared.pending=null;var T=y,z=T.next;T.next=null,h===null?u=z:h.next=z,h=T;var U=t.alternate;U!==null&&(U=U.updateQueue,y=U.lastBaseUpdate,y!==h&&(y===null?U.firstBaseUpdate=z:y.next=z,U.lastBaseUpdate=T))}if(u!==null){var H=r.baseState;h=0,U=z=T=null,y=u;do{var R=y.lane&-536870913,O=R!==y.lane;if(O?(At&R)===R:(l&R)===R){R!==0&&R===Da&&(uu=!0),U!==null&&(U=U.next={lane:0,tag:y.tag,payload:y.payload,callback:null,next:null});t:{var et=t,ht=y;R=e;var Ut=n;switch(ht.tag){case 1:if(et=ht.payload,typeof et=="function"){H=et.call(Ut,H,R);break t}H=et;break t;case 3:et.flags=et.flags&-65537|128;case 0:if(et=ht.payload,R=typeof et=="function"?et.call(Ut,H,R):et,R==null)break t;H=b({},H,R);break t;case 2:ii=!0}}R=y.callback,R!==null&&(t.flags|=64,O&&(t.flags|=8192),O=r.callbacks,O===null?r.callbacks=[R]:O.push(R))}else O={lane:R,tag:y.tag,payload:y.payload,callback:y.callback,next:null},U===null?(z=U=O,T=H):U=U.next=O,h|=R;if(y=y.next,y===null){if(y=r.shared.pending,y===null)break;O=y,y=O.next,O.next=null,r.lastBaseUpdate=O,r.shared.pending=null}}while(!0);U===null&&(T=H),r.baseState=T,r.firstBaseUpdate=z,r.lastBaseUpdate=U,u===null&&(r.shared.lanes=0),ci|=h,t.lanes=h,t.memoizedState=H}}function xh(t,e){if(typeof t!="function")throw Error(o(191,t));t.call(e)}function Th(t,e){var n=t.callbacks;if(n!==null)for(t.callbacks=null,t=0;tu?u:8;var h=w.T,y={};w.T=y,Du(t,!1,e,n);try{var T=r(),z=w.S;if(z!==null&&z(y,T),T!==null&&typeof T=="object"&&typeof T.then=="function"){var U=g1(T,l);zl(t,e,U,ke(t))}else zl(t,e,l,ke(t))}catch(H){zl(t,e,{then:function(){},status:"rejected",reason:H},ke())}finally{q.p=u,h!==null&&y.types!==null&&(h.types=y.types),w.T=h}}function T1(){}function wu(t,e,n,l){if(t.tag!==5)throw Error(o(476));var r=tm(t).queue;Ih(t,r,e,Q,n===null?T1:function(){return em(t),n(l)})}function tm(t){var e=t.memoizedState;if(e!==null)return e;e={memoizedState:Q,baseState:Q,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Un,lastRenderedState:Q},next:null};var n={};return e.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Un,lastRenderedState:n},next:null},t.memoizedState=e,t=t.alternate,t!==null&&(t.memoizedState=e),e}function em(t){var e=tm(t);e.next===null&&(e=t.alternate.memoizedState),zl(t,e.next.queue,{},ke())}function Cu(){return fe(Kl)}function nm(){return Jt().memoizedState}function im(){return Jt().memoizedState}function A1(t){for(var e=t.return;e!==null;){switch(e.tag){case 24:case 3:var n=ke();t=ai(n);var l=li(e,t,n);l!==null&&(Ne(l,e,n),El(l,e,n)),e={cache:nu()},t.payload=e;return}e=e.return}}function E1(t,e,n){var l=ke();n={lane:l,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},Ws(t)?lm(e,n):(n=Zr(t,e,n,l),n!==null&&(Ne(n,t,l),sm(n,e,l)))}function am(t,e,n){var l=ke();zl(t,e,n,l)}function zl(t,e,n,l){var r={lane:l,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(Ws(t))lm(e,r);else{var u=t.alternate;if(t.lanes===0&&(u===null||u.lanes===0)&&(u=e.lastRenderedReducer,u!==null))try{var h=e.lastRenderedState,y=u(h,n);if(r.hasEagerState=!0,r.eagerState=y,_e(y,h))return Os(t,e,r,0),jt===null&&Rs(),!1}catch{}finally{}if(n=Zr(t,e,r,l),n!==null)return Ne(n,t,l),sm(n,e,l),!0}return!1}function Du(t,e,n,l){if(l={lane:2,revertLane:sc(),gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null},Ws(t)){if(e)throw Error(o(479))}else e=Zr(t,n,l,2),e!==null&&Ne(e,t,2)}function Ws(t){var e=t.alternate;return t===yt||e!==null&&e===yt}function lm(t,e){Na=qs=!0;var n=t.pending;n===null?e.next=e:(e.next=n.next,n.next=e),t.pending=e}function sm(t,e,n){if((n&4194048)!==0){var l=e.lanes;l&=t.pendingLanes,n|=l,e.lanes=n,fd(t,n)}}var Rl={readContext:fe,use:Qs,useCallback:qt,useContext:qt,useEffect:qt,useImperativeHandle:qt,useLayoutEffect:qt,useInsertionEffect:qt,useMemo:qt,useReducer:qt,useRef:qt,useState:qt,useDebugValue:qt,useDeferredValue:qt,useTransition:qt,useSyncExternalStore:qt,useId:qt,useHostTransitionStatus:qt,useFormState:qt,useActionState:qt,useOptimistic:qt,useMemoCache:qt,useCacheRefresh:qt};Rl.useEffectEvent=qt;var om={readContext:fe,use:Qs,useCallback:function(t,e){return Ae().memoizedState=[t,e===void 0?null:e],t},useContext:fe,useEffect:qh,useImperativeHandle:function(t,e,n){n=n!=null?n.concat([t]):null,Ps(4194308,4,Jh.bind(null,e,t),n)},useLayoutEffect:function(t,e){return Ps(4194308,4,t,e)},useInsertionEffect:function(t,e){Ps(4,2,t,e)},useMemo:function(t,e){var n=Ae();e=e===void 0?null:e;var l=t();if(Qi){ln(!0);try{t()}finally{ln(!1)}}return n.memoizedState=[l,e],l},useReducer:function(t,e,n){var l=Ae();if(n!==void 0){var r=n(e);if(Qi){ln(!0);try{n(e)}finally{ln(!1)}}}else r=e;return l.memoizedState=l.baseState=r,t={pending:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:r},l.queue=t,t=t.dispatch=E1.bind(null,yt,t),[l.memoizedState,t]},useRef:function(t){var e=Ae();return t={current:t},e.memoizedState=t},useState:function(t){t=xu(t);var e=t.queue,n=am.bind(null,yt,e);return e.dispatch=n,[t.memoizedState,n]},useDebugValue:Eu,useDeferredValue:function(t,e){var n=Ae();return Mu(n,t,e)},useTransition:function(){var t=xu(!1);return t=Ih.bind(null,yt,t.queue,!0,!1),Ae().memoizedState=t,[!1,t]},useSyncExternalStore:function(t,e,n){var l=yt,r=Ae();if(Mt){if(n===void 0)throw Error(o(407));n=n()}else{if(n=e(),jt===null)throw Error(o(349));(At&127)!==0||Dh(l,e,n)}r.memoizedState=n;var u={value:n,getSnapshot:e};return r.queue=u,qh(Rh.bind(null,l,u,t),[t]),l.flags|=2048,Ba(9,{destroy:void 0},zh.bind(null,l,u,n,e),null),n},useId:function(){var t=Ae(),e=jt.identifierPrefix;if(Mt){var n=vn,l=yn;n=(l&~(1<<32-ye(l)-1)).toString(32)+n,e="_"+e+"R_"+n,n=Zs++,0<\/script>",u=u.removeChild(u.firstChild);break;case"select":u=typeof l.is=="string"?h.createElement("select",{is:l.is}):h.createElement("select"),l.multiple?u.multiple=!0:l.size&&(u.size=l.size);break;default:u=typeof l.is=="string"?h.createElement(r,{is:l.is}):h.createElement(r)}}u[ue]=e,u[Ce]=l;t:for(h=e.child;h!==null;){if(h.tag===5||h.tag===6)u.appendChild(h.stateNode);else if(h.tag!==4&&h.tag!==27&&h.child!==null){h.child.return=h,h=h.child;continue}if(h===e)break t;for(;h.sibling===null;){if(h.return===null||h.return===e)break t;h=h.return}h.sibling.return=h.return,h=h.sibling}e.stateNode=u;t:switch(he(u,r,l),r){case"button":case"input":case"select":case"textarea":l=!!l.autoFocus;break t;case"img":l=!0;break t;default:l=!1}l&&jn(e)}}return Yt(e),Xu(e,e.type,t===null?null:t.memoizedProps,e.pendingProps,n),null;case 6:if(t&&e.stateNode!=null)t.memoizedProps!==l&&jn(e);else{if(typeof l!="string"&&e.stateNode===null)throw Error(o(166));if(t=rt.current,wa(e)){if(t=e.stateNode,n=e.memoizedProps,l=null,r=ce,r!==null)switch(r.tag){case 27:case 5:l=r.memoizedProps}t[ue]=e,t=!!(t.nodeValue===n||l!==null&&l.suppressHydrationWarning===!0||wp(t.nodeValue,n)),t||ei(e,!0)}else t=vo(t).createTextNode(l),t[ue]=e,e.stateNode=t}return Yt(e),null;case 31:if(n=e.memoizedState,t===null||t.memoizedState!==null){if(l=wa(e),n!==null){if(t===null){if(!l)throw Error(o(318));if(t=e.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(o(557));t[ue]=e}else ki(),(e.flags&128)===0&&(e.memoizedState=null),e.flags|=4;Yt(e),t=!1}else n=$r(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=n),t=!0;if(!t)return e.flags&256?(Le(e),e):(Le(e),null);if((e.flags&128)!==0)throw Error(o(558))}return Yt(e),null;case 13:if(l=e.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(r=wa(e),l!==null&&l.dehydrated!==null){if(t===null){if(!r)throw Error(o(318));if(r=e.memoizedState,r=r!==null?r.dehydrated:null,!r)throw Error(o(317));r[ue]=e}else ki(),(e.flags&128)===0&&(e.memoizedState=null),e.flags|=4;Yt(e),r=!1}else r=$r(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=r),r=!0;if(!r)return e.flags&256?(Le(e),e):(Le(e),null)}return Le(e),(e.flags&128)!==0?(e.lanes=n,e):(n=l!==null,t=t!==null&&t.memoizedState!==null,n&&(l=e.child,r=null,l.alternate!==null&&l.alternate.memoizedState!==null&&l.alternate.memoizedState.cachePool!==null&&(r=l.alternate.memoizedState.cachePool.pool),u=null,l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(u=l.memoizedState.cachePool.pool),u!==r&&(l.flags|=2048)),n!==t&&n&&(e.child.flags|=8192),no(e,e.updateQueue),Yt(e),null);case 4:return pt(),t===null&&cc(e.stateNode.containerInfo),Yt(e),null;case 10:return _n(e.type),Yt(e),null;case 19:if(V(Qt),l=e.memoizedState,l===null)return Yt(e),null;if(r=(e.flags&128)!==0,u=l.rendering,u===null)if(r)Vl(l,!1);else{if(Zt!==0||t!==null&&(t.flags&128)!==0)for(t=e.child;t!==null;){if(u=Gs(t),u!==null){for(e.flags|=128,Vl(l,!1),t=u.updateQueue,e.updateQueue=t,no(e,t),e.subtreeFlags=0,t=n,n=e.child;n!==null;)ah(n,t),n=n.sibling;return K(Qt,Qt.current&1|2),Mt&&Vn(e,l.treeForkCount),e.child}t=t.sibling}l.tail!==null&&re()>oo&&(e.flags|=128,r=!0,Vl(l,!1),e.lanes=4194304)}else{if(!r)if(t=Gs(u),t!==null){if(e.flags|=128,r=!0,t=t.updateQueue,e.updateQueue=t,no(e,t),Vl(l,!0),l.tail===null&&l.tailMode==="hidden"&&!u.alternate&&!Mt)return Yt(e),null}else 2*re()-l.renderingStartTime>oo&&n!==536870912&&(e.flags|=128,r=!0,Vl(l,!1),e.lanes=4194304);l.isBackwards?(u.sibling=e.child,e.child=u):(t=l.last,t!==null?t.sibling=u:e.child=u,l.last=u)}return l.tail!==null?(t=l.tail,l.rendering=t,l.tail=t.sibling,l.renderingStartTime=re(),t.sibling=null,n=Qt.current,K(Qt,r?n&1|2:n&1),Mt&&Vn(e,l.treeForkCount),t):(Yt(e),null);case 22:case 23:return Le(e),fu(),l=e.memoizedState!==null,t!==null?t.memoizedState!==null!==l&&(e.flags|=8192):l&&(e.flags|=8192),l?(n&536870912)!==0&&(e.flags&128)===0&&(Yt(e),e.subtreeFlags&6&&(e.flags|=8192)):Yt(e),n=e.updateQueue,n!==null&&no(e,n.retryQueue),n=null,t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(n=t.memoizedState.cachePool.pool),l=null,e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(l=e.memoizedState.cachePool.pool),l!==n&&(e.flags|=2048),t!==null&&V(Gi),null;case 24:return n=null,t!==null&&(n=t.memoizedState.cache),e.memoizedState.cache!==n&&(e.flags|=2048),_n(Pt),Yt(e),null;case 25:return null;case 30:return null}throw Error(o(156,e.tag))}function z1(t,e){switch(Fr(e),e.tag){case 1:return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 3:return _n(Pt),pt(),t=e.flags,(t&65536)!==0&&(t&128)===0?(e.flags=t&-65537|128,e):null;case 26:case 27:case 5:return be(e),null;case 31:if(e.memoizedState!==null){if(Le(e),e.alternate===null)throw Error(o(340));ki()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 13:if(Le(e),t=e.memoizedState,t!==null&&t.dehydrated!==null){if(e.alternate===null)throw Error(o(340));ki()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 19:return V(Qt),null;case 4:return pt(),null;case 10:return _n(e.type),null;case 22:case 23:return Le(e),fu(),t!==null&&V(Gi),t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 24:return _n(Pt),null;case 25:return null;default:return null}}function Om(t,e){switch(Fr(e),e.tag){case 3:_n(Pt),pt();break;case 26:case 27:case 5:be(e);break;case 4:pt();break;case 31:e.memoizedState!==null&&Le(e);break;case 13:Le(e);break;case 19:V(Qt);break;case 10:_n(e.type);break;case 22:case 23:Le(e),fu(),t!==null&&V(Gi);break;case 24:_n(Pt)}}function Nl(t,e){try{var n=e.updateQueue,l=n!==null?n.lastEffect:null;if(l!==null){var r=l.next;n=r;do{if((n.tag&t)===t){l=void 0;var u=n.create,h=n.inst;l=u(),h.destroy=l}n=n.next}while(n!==r)}}catch(y){Vt(e,e.return,y)}}function ri(t,e,n){try{var l=e.updateQueue,r=l!==null?l.lastEffect:null;if(r!==null){var u=r.next;l=u;do{if((l.tag&t)===t){var h=l.inst,y=h.destroy;if(y!==void 0){h.destroy=void 0,r=e;var T=n,z=y;try{z()}catch(U){Vt(r,T,U)}}}l=l.next}while(l!==u)}}catch(U){Vt(e,e.return,U)}}function Vm(t){var e=t.updateQueue;if(e!==null){var n=t.stateNode;try{Th(e,n)}catch(l){Vt(t,t.return,l)}}}function Nm(t,e,n){n.props=Ji(t.type,t.memoizedProps),n.state=t.memoizedState;try{n.componentWillUnmount()}catch(l){Vt(t,e,l)}}function _l(t,e){try{var n=t.ref;if(n!==null){switch(t.tag){case 26:case 27:case 5:var l=t.stateNode;break;case 30:l=t.stateNode;break;default:l=t.stateNode}typeof n=="function"?t.refCleanup=n(l):n.current=l}}catch(r){Vt(t,e,r)}}function bn(t,e){var n=t.ref,l=t.refCleanup;if(n!==null)if(typeof l=="function")try{l()}catch(r){Vt(t,e,r)}finally{t.refCleanup=null,t=t.alternate,t!=null&&(t.refCleanup=null)}else if(typeof n=="function")try{n(null)}catch(r){Vt(t,e,r)}else n.current=null}function _m(t){var e=t.type,n=t.memoizedProps,l=t.stateNode;try{t:switch(e){case"button":case"input":case"select":case"textarea":n.autoFocus&&l.focus();break t;case"img":n.src?l.src=n.src:n.srcSet&&(l.srcset=n.srcSet)}}catch(r){Vt(t,t.return,r)}}function Gu(t,e,n){try{var l=t.stateNode;W1(l,t.type,n,e),l[Ce]=e}catch(r){Vt(t,t.return,r)}}function Bm(t){return t.tag===5||t.tag===3||t.tag===26||t.tag===27&&pi(t.type)||t.tag===4}function qu(t){t:for(;;){for(;t.sibling===null;){if(t.return===null||Bm(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==5&&t.tag!==6&&t.tag!==18;){if(t.tag===27&&pi(t.type)||t.flags&2||t.child===null||t.tag===4)continue t;t.child.return=t,t=t.child}if(!(t.flags&2))return t.stateNode}}function Zu(t,e,n){var l=t.tag;if(l===5||l===6)t=t.stateNode,e?(n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n).insertBefore(t,e):(e=n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n,e.appendChild(t),n=n._reactRootContainer,n!=null||e.onclick!==null||(e.onclick=zn));else if(l!==4&&(l===27&&pi(t.type)&&(n=t.stateNode,e=null),t=t.child,t!==null))for(Zu(t,e,n),t=t.sibling;t!==null;)Zu(t,e,n),t=t.sibling}function io(t,e,n){var l=t.tag;if(l===5||l===6)t=t.stateNode,e?n.insertBefore(t,e):n.appendChild(t);else if(l!==4&&(l===27&&pi(t.type)&&(n=t.stateNode),t=t.child,t!==null))for(io(t,e,n),t=t.sibling;t!==null;)io(t,e,n),t=t.sibling}function Um(t){var e=t.stateNode,n=t.memoizedProps;try{for(var l=t.type,r=e.attributes;r.length;)e.removeAttributeNode(r[0]);he(e,l,n),e[ue]=t,e[Ce]=n}catch(u){Vt(t,t.return,u)}}var Hn=!1,$t=!1,Ku=!1,Lm=typeof WeakSet=="function"?WeakSet:Set,le=null;function R1(t,e){if(t=t.containerInfo,hc=Mo,t=Pd(t),Hr(t)){if("selectionStart"in t)var n={start:t.selectionStart,end:t.selectionEnd};else t:{n=(n=t.ownerDocument)&&n.defaultView||window;var l=n.getSelection&&n.getSelection();if(l&&l.rangeCount!==0){n=l.anchorNode;var r=l.anchorOffset,u=l.focusNode;l=l.focusOffset;try{n.nodeType,u.nodeType}catch{n=null;break t}var h=0,y=-1,T=-1,z=0,U=0,H=t,R=null;e:for(;;){for(var O;H!==n||r!==0&&H.nodeType!==3||(y=h+r),H!==u||l!==0&&H.nodeType!==3||(T=h+l),H.nodeType===3&&(h+=H.nodeValue.length),(O=H.firstChild)!==null;)R=H,H=O;for(;;){if(H===t)break e;if(R===n&&++z===r&&(y=h),R===u&&++U===l&&(T=h),(O=H.nextSibling)!==null)break;H=R,R=H.parentNode}H=O}n=y===-1||T===-1?null:{start:y,end:T}}else n=null}n=n||{start:0,end:0}}else n=null;for(mc={focusedElem:t,selectionRange:n},Mo=!1,le=e;le!==null;)if(e=le,t=e.child,(e.subtreeFlags&1028)!==0&&t!==null)t.return=e,le=t;else for(;le!==null;){switch(e=le,u=e.alternate,t=e.flags,e.tag){case 0:if((t&4)!==0&&(t=e.updateQueue,t=t!==null?t.events:null,t!==null))for(n=0;n title"))),he(u,l,n),u[ue]=t,ae(u),l=u;break t;case"link":var h=Gp("link","href",r).get(l+(n.href||""));if(h){for(var y=0;yUt&&(h=Ut,Ut=ht,ht=h);var M=Qd(y,ht),E=Qd(y,Ut);if(M&&E&&(O.rangeCount!==1||O.anchorNode!==M.node||O.anchorOffset!==M.offset||O.focusNode!==E.node||O.focusOffset!==E.offset)){var D=H.createRange();D.setStart(M.node,M.offset),O.removeAllRanges(),ht>Ut?(O.addRange(D),O.extend(E.node,E.offset)):(D.setEnd(E.node,E.offset),O.addRange(D))}}}}for(H=[],O=y;O=O.parentNode;)O.nodeType===1&&H.push({element:O,left:O.scrollLeft,top:O.scrollTop});for(typeof y.focus=="function"&&y.focus(),y=0;yn?32:n,w.T=null,n=Iu,Iu=null;var u=di,h=qn;if(ee=0,ka=di=null,qn=0,(zt&6)!==0)throw Error(o(331));var y=zt;if(zt|=4,Jm(u.current),Zm(u,u.current,h,n),zt=y,kl(0,!1),ge&&typeof ge.onPostCommitFiberRoot=="function")try{ge.onPostCommitFiberRoot(Ni,u)}catch{}return!0}finally{q.p=r,w.T=l,dp(t,e)}}function mp(t,e,n){e=Ze(n,e),e=Vu(t.stateNode,e,2),t=li(t,e,2),t!==null&&(Cn(t,2),Sn(t))}function Vt(t,e,n){if(t.tag===3)mp(t,t,n);else for(;e!==null;){if(e.tag===3){mp(e,t,n);break}else if(e.tag===1){var l=e.stateNode;if(typeof e.type.getDerivedStateFromError=="function"||typeof l.componentDidCatch=="function"&&(fi===null||!fi.has(l))){t=Ze(n,t),n=pm(2),l=li(e,n,2),l!==null&&(gm(n,l,e,t),Cn(l,2),Sn(l));break}}e=e.return}}function ic(t,e,n){var l=t.pingCache;if(l===null){l=t.pingCache=new N1;var r=new Set;l.set(e,r)}else r=l.get(e),r===void 0&&(r=new Set,l.set(e,r));r.has(n)||(Pu=!0,r.add(n),t=j1.bind(null,t,e,n),e.then(t,t))}function j1(t,e,n){var l=t.pingCache;l!==null&&l.delete(e),t.pingedLanes|=t.suspendedLanes&n,t.warmLanes&=~n,jt===t&&(At&n)===n&&(Zt===4||Zt===3&&(At&62914560)===At&&300>re()-so?(zt&2)===0&&Ya(t,0):Fu|=n,Ha===At&&(Ha=0)),Sn(t)}function pp(t,e){e===0&&(e=gn()),t=ji(t,e),t!==null&&(Cn(t,e),Sn(t))}function H1(t){var e=t.memoizedState,n=0;e!==null&&(n=e.retryLane),pp(t,n)}function k1(t,e){var n=0;switch(t.tag){case 31:case 13:var l=t.stateNode,r=t.memoizedState;r!==null&&(n=r.retryLane);break;case 19:l=t.stateNode;break;case 22:l=t.stateNode._retryCache;break;default:throw Error(o(314))}l!==null&&l.delete(e),pp(t,n)}function Y1(t,e){return we(t,e)}var mo=null,Ga=null,ac=!1,po=!1,lc=!1,mi=0;function Sn(t){t!==Ga&&t.next===null&&(Ga===null?mo=Ga=t:Ga=Ga.next=t),po=!0,ac||(ac=!0,G1())}function kl(t,e){if(!lc&&po){lc=!0;do for(var n=!1,l=mo;l!==null;){if(t!==0){var r=l.pendingLanes;if(r===0)var u=0;else{var h=l.suspendedLanes,y=l.pingedLanes;u=(1<<31-ye(42|t)+1)-1,u&=r&~(h&~y),u=u&201326741?u&201326741|1:u?u|2:0}u!==0&&(n=!0,bp(l,u))}else u=At,u=ua(l,l===jt?u:0,l.cancelPendingCommit!==null||l.timeoutHandle!==-1),(u&3)===0||on(l,u)||(n=!0,bp(l,u));l=l.next}while(n);lc=!1}}function X1(){gp()}function gp(){po=ac=!1;var t=0;mi!==0&&I1()&&(t=mi);for(var e=re(),n=null,l=mo;l!==null;){var r=l.next,u=yp(l,e);u===0?(l.next=null,n===null?mo=r:n.next=r,r===null&&(Ga=n)):(n=l,(t!==0||(u&3)!==0)&&(po=!0)),l=r}ee!==0&&ee!==5||kl(t),mi!==0&&(mi=0)}function yp(t,e){for(var n=t.suspendedLanes,l=t.pingedLanes,r=t.expirationTimes,u=t.pendingLanes&-62914561;0y)break;var U=T.transferSize,H=T.initiatorType;U&&Cp(H)&&(T=T.responseEnd,h+=U*(T"u"?null:document;function Hp(t,e,n){var l=qa;if(l&&typeof e=="string"&&e){var r=Ge(e);r='link[rel="'+t+'"][href="'+r+'"]',typeof n=="string"&&(r+='[crossorigin="'+n+'"]'),jp.has(r)||(jp.add(r),t={rel:t,crossOrigin:n,href:e},l.querySelector(r)===null&&(e=l.createElement("link"),he(e,"link",t),ae(e),l.head.appendChild(e)))}}function rS(t){Zn.D(t),Hp("dns-prefetch",t,null)}function uS(t,e){Zn.C(t,e),Hp("preconnect",t,e)}function cS(t,e,n){Zn.L(t,e,n);var l=qa;if(l&&t&&e){var r='link[rel="preload"][as="'+Ge(e)+'"]';e==="image"&&n&&n.imageSrcSet?(r+='[imagesrcset="'+Ge(n.imageSrcSet)+'"]',typeof n.imageSizes=="string"&&(r+='[imagesizes="'+Ge(n.imageSizes)+'"]')):r+='[href="'+Ge(t)+'"]';var u=r;switch(e){case"style":u=Za(t);break;case"script":u=Ka(t)}We.has(u)||(t=b({rel:"preload",href:e==="image"&&n&&n.imageSrcSet?void 0:t,as:e},n),We.set(u,t),l.querySelector(r)!==null||e==="style"&&l.querySelector(ql(u))||e==="script"&&l.querySelector(Zl(u))||(e=l.createElement("link"),he(e,"link",t),ae(e),l.head.appendChild(e)))}}function fS(t,e){Zn.m(t,e);var n=qa;if(n&&t){var l=e&&typeof e.as=="string"?e.as:"script",r='link[rel="modulepreload"][as="'+Ge(l)+'"][href="'+Ge(t)+'"]',u=r;switch(l){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":u=Ka(t)}if(!We.has(u)&&(t=b({rel:"modulepreload",href:t},e),We.set(u,t),n.querySelector(r)===null)){switch(l){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(n.querySelector(Zl(u)))return}l=n.createElement("link"),he(l,"link",t),ae(l),n.head.appendChild(l)}}}function dS(t,e,n){Zn.S(t,e,n);var l=qa;if(l&&t){var r=ha(l).hoistableStyles,u=Za(t);e=e||"default";var h=r.get(u);if(!h){var y={loading:0,preload:null};if(h=l.querySelector(ql(u)))y.loading=5;else{t=b({rel:"stylesheet",href:t,"data-precedence":e},n),(n=We.get(u))&&xc(t,n);var T=h=l.createElement("link");ae(T),he(T,"link",t),T._p=new Promise(function(z,U){T.onload=z,T.onerror=U}),T.addEventListener("load",function(){y.loading|=1}),T.addEventListener("error",function(){y.loading|=2}),y.loading|=4,So(h,e,l)}h={type:"stylesheet",instance:h,count:1,state:y},r.set(u,h)}}}function hS(t,e){Zn.X(t,e);var n=qa;if(n&&t){var l=ha(n).hoistableScripts,r=Ka(t),u=l.get(r);u||(u=n.querySelector(Zl(r)),u||(t=b({src:t,async:!0},e),(e=We.get(r))&&Tc(t,e),u=n.createElement("script"),ae(u),he(u,"link",t),n.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},l.set(r,u))}}function mS(t,e){Zn.M(t,e);var n=qa;if(n&&t){var l=ha(n).hoistableScripts,r=Ka(t),u=l.get(r);u||(u=n.querySelector(Zl(r)),u||(t=b({src:t,async:!0,type:"module"},e),(e=We.get(r))&&Tc(t,e),u=n.createElement("script"),ae(u),he(u,"link",t),n.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},l.set(r,u))}}function kp(t,e,n,l){var r=(r=rt.current)?bo(r):null;if(!r)throw Error(o(446));switch(t){case"meta":case"title":return null;case"style":return typeof n.precedence=="string"&&typeof n.href=="string"?(e=Za(n.href),n=ha(r).hoistableStyles,l=n.get(e),l||(l={type:"style",instance:null,count:0,state:null},n.set(e,l)),l):{type:"void",instance:null,count:0,state:null};case"link":if(n.rel==="stylesheet"&&typeof n.href=="string"&&typeof n.precedence=="string"){t=Za(n.href);var u=ha(r).hoistableStyles,h=u.get(t);if(h||(r=r.ownerDocument||r,h={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},u.set(t,h),(u=r.querySelector(ql(t)))&&!u._p&&(h.instance=u,h.state.loading=5),We.has(t)||(n={rel:"preload",as:"style",href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy},We.set(t,n),u||pS(r,t,n,h.state))),e&&l===null)throw Error(o(528,""));return h}if(e&&l!==null)throw Error(o(529,""));return null;case"script":return e=n.async,n=n.src,typeof n=="string"&&e&&typeof e!="function"&&typeof e!="symbol"?(e=Ka(n),n=ha(r).hoistableScripts,l=n.get(e),l||(l={type:"script",instance:null,count:0,state:null},n.set(e,l)),l):{type:"void",instance:null,count:0,state:null};default:throw Error(o(444,t))}}function Za(t){return'href="'+Ge(t)+'"'}function ql(t){return'link[rel="stylesheet"]['+t+"]"}function Yp(t){return b({},t,{"data-precedence":t.precedence,precedence:null})}function pS(t,e,n,l){t.querySelector('link[rel="preload"][as="style"]['+e+"]")?l.loading=1:(e=t.createElement("link"),l.preload=e,e.addEventListener("load",function(){return l.loading|=1}),e.addEventListener("error",function(){return l.loading|=2}),he(e,"link",n),ae(e),t.head.appendChild(e))}function Ka(t){return'[src="'+Ge(t)+'"]'}function Zl(t){return"script[async]"+t}function Xp(t,e,n){if(e.count++,e.instance===null)switch(e.type){case"style":var l=t.querySelector('style[data-href~="'+Ge(n.href)+'"]');if(l)return e.instance=l,ae(l),l;var r=b({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return l=(t.ownerDocument||t).createElement("style"),ae(l),he(l,"style",r),So(l,n.precedence,t),e.instance=l;case"stylesheet":r=Za(n.href);var u=t.querySelector(ql(r));if(u)return e.state.loading|=4,e.instance=u,ae(u),u;l=Yp(n),(r=We.get(r))&&xc(l,r),u=(t.ownerDocument||t).createElement("link"),ae(u);var h=u;return h._p=new Promise(function(y,T){h.onload=y,h.onerror=T}),he(u,"link",l),e.state.loading|=4,So(u,n.precedence,t),e.instance=u;case"script":return u=Ka(n.src),(r=t.querySelector(Zl(u)))?(e.instance=r,ae(r),r):(l=n,(r=We.get(u))&&(l=b({},n),Tc(l,r)),t=t.ownerDocument||t,r=t.createElement("script"),ae(r),he(r,"link",l),t.head.appendChild(r),e.instance=r);case"void":return null;default:throw Error(o(443,e.type))}else e.type==="stylesheet"&&(e.state.loading&4)===0&&(l=e.instance,e.state.loading|=4,So(l,n.precedence,t));return e.instance}function So(t,e,n){for(var l=n.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),r=l.length?l[l.length-1]:null,u=r,h=0;h title"):null)}function gS(t,e,n){if(n===1||e.itemProp!=null)return!1;switch(t){case"meta":case"title":return!0;case"style":if(typeof e.precedence!="string"||typeof e.href!="string"||e.href==="")break;return!0;case"link":if(typeof e.rel!="string"||typeof e.href!="string"||e.href===""||e.onLoad||e.onError)break;switch(e.rel){case"stylesheet":return t=e.disabled,typeof e.precedence=="string"&&t==null;default:return!0}case"script":if(e.async&&typeof e.async!="function"&&typeof e.async!="symbol"&&!e.onLoad&&!e.onError&&e.src&&typeof e.src=="string")return!0}return!1}function Zp(t){return!(t.type==="stylesheet"&&(t.state.loading&3)===0)}function yS(t,e,n,l){if(n.type==="stylesheet"&&(typeof l.media!="string"||matchMedia(l.media).matches!==!1)&&(n.state.loading&4)===0){if(n.instance===null){var r=Za(l.href),u=e.querySelector(ql(r));if(u){e=u._p,e!==null&&typeof e=="object"&&typeof e.then=="function"&&(t.count++,t=To.bind(t),e.then(t,t)),n.state.loading|=4,n.instance=u,ae(u);return}u=e.ownerDocument||e,l=Yp(l),(r=We.get(r))&&xc(l,r),u=u.createElement("link"),ae(u);var h=u;h._p=new Promise(function(y,T){h.onload=y,h.onerror=T}),he(u,"link",l),n.instance=u}t.stylesheets===null&&(t.stylesheets=new Map),t.stylesheets.set(n,e),(e=n.state.preload)&&(n.state.loading&3)===0&&(t.count++,n=To.bind(t),e.addEventListener("load",n),e.addEventListener("error",n))}}var Ac=0;function vS(t,e){return t.stylesheets&&t.count===0&&Eo(t,t.stylesheets),0Ac?50:800)+e);return t.unsuspend=n,function(){t.unsuspend=null,clearTimeout(l),clearTimeout(r)}}:null}function To(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Eo(this,this.stylesheets);else if(this.unsuspend){var t=this.unsuspend;this.unsuspend=null,t()}}}var Ao=null;function Eo(t,e){t.stylesheets=null,t.unsuspend!==null&&(t.count++,Ao=new Map,e.forEach(bS,t),Ao=null,To.call(t))}function bS(t,e){if(!(e.state.loading&4)){var n=Ao.get(t);if(n)var l=n.get(null);else{n=new Map,Ao.set(t,n);for(var r=t.querySelectorAll("link[data-precedence],style[data-precedence]"),u=0;u"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(i)}catch(a){console.error(a)}}return i(),Vc.exports=kS(),Vc.exports}var XS=YS();const n0=L.createContext({});function GS(i){const a=L.useRef(null);return a.current===null&&(a.current=i()),a.current}const qS=typeof window<"u",ZS=qS?L.useLayoutEffect:L.useEffect,Vf=L.createContext(null);function Nf(i,a){i.indexOf(a)===-1&&i.push(a)}function Fo(i,a){const s=i.indexOf(a);s>-1&&i.splice(s,1)}const En=(i,a,s)=>s>a?a:s{};const Ci={},i0=i=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(i);function a0(i){return typeof i=="object"&&i!==null}const l0=i=>/^0[^.\s]+$/u.test(i);function s0(i){let a;return()=>(a===void 0&&(a=i()),a)}const tn=i=>i,KS=(i,a)=>s=>a(i(s)),fs=(...i)=>i.reduce(KS),os=(i,a,s)=>{const o=a-i;return o===0?1:(s-i)/o};class Bf{constructor(){this.subscriptions=[]}add(a){return Nf(this.subscriptions,a),()=>Fo(this.subscriptions,a)}notify(a,s,o){const c=this.subscriptions.length;if(c)if(c===1)this.subscriptions[0](a,s,o);else for(let f=0;fi*1e3,$e=i=>i/1e3;function o0(i,a){return a?i*(1e3/a):0}const r0=(i,a,s)=>(((1-3*s+3*a)*i+(3*s-6*a))*i+3*a)*i,QS=1e-7,JS=12;function PS(i,a,s,o,c){let f,d,m=0;do d=a+(s-a)/2,f=r0(d,o,c)-i,f>0?s=d:a=d;while(Math.abs(f)>QS&&++mPS(f,0,1,i,s);return f=>f===0||f===1?f:r0(c(f),a,o)}const u0=i=>a=>a<=.5?i(2*a)/2:(2-i(2*(1-a)))/2,c0=i=>a=>1-i(1-a),f0=ds(.33,1.53,.69,.99),Uf=c0(f0),d0=u0(Uf),h0=i=>i>=1?1:(i*=2)<1?.5*Uf(i):.5*(2-Math.pow(2,-10*(i-1))),Lf=i=>1-Math.sin(Math.acos(i)),m0=c0(Lf),p0=u0(Lf),FS=ds(.42,0,1,1),WS=ds(0,0,.58,1),g0=ds(.42,0,.58,1),$S=i=>Array.isArray(i)&&typeof i[0]!="number",y0=i=>Array.isArray(i)&&typeof i[0]=="number",IS={linear:tn,easeIn:FS,easeInOut:g0,easeOut:WS,circIn:Lf,circInOut:p0,circOut:m0,backIn:Uf,backInOut:d0,backOut:f0,anticipate:h0},tx=i=>typeof i=="string",pg=i=>{if(y0(i)){_f(i.length===4);const[a,s,o,c]=i;return ds(a,s,o,c)}else if(tx(i))return IS[i];return i},No=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function ex(i,a){let s=new Set,o=new Set,c=!1,f=!1;const d=new WeakSet;let m={delta:0,timestamp:0,isProcessing:!1};function g(v){d.has(v)&&(p.schedule(v),i()),v(m)}const p={schedule:(v,b=!1,S=!1)=>{const C=S&&c?s:o;return b&&d.add(v),C.add(v),v},cancel:v=>{o.delete(v),d.delete(v)},process:v=>{if(m=v,c){f=!0;return}c=!0;const b=s;s=o,o=b,s.forEach(g),s.clear(),c=!1,f&&(f=!1,p.process(v))}};return p}const nx=40;function v0(i,a){let s=!1,o=!0;const c={delta:0,timestamp:0,isProcessing:!1},f=()=>s=!0,d=No.reduce((X,J)=>(X[J]=ex(f),X),{}),{setup:m,read:g,resolveKeyframes:p,preUpdate:v,update:b,preRender:S,render:A,postRender:C}=d,N=()=>{const X=Ci.useManualTiming,J=X?c.timestamp:performance.now();s=!1,X||(c.delta=o?1e3/60:Math.max(Math.min(J-c.timestamp,nx),1)),c.timestamp=J,c.isProcessing=!0,m.process(c),g.process(c),p.process(c),v.process(c),b.process(c),S.process(c),A.process(c),C.process(c),c.isProcessing=!1,s&&a&&(o=!1,i(N))},_=()=>{s=!0,o=!0,c.isProcessing||i(N)};return{schedule:No.reduce((X,J)=>{const Y=d[J];return X[J]=(ut,F=!1,k=!1)=>(s||_(),Y.schedule(ut,F,k)),X},{}),cancel:X=>{for(let J=0;J(Yo===void 0&&Ee.set(me.isProcessing||Ci.useManualTiming?me.timestamp:performance.now()),Yo),set:i=>{Yo=i,queueMicrotask(ix)}},b0=i=>a=>typeof a=="string"&&a.startsWith(i),S0=b0("--"),ax=b0("var(--"),jf=i=>ax(i)?lx.test(i.split("/*")[0].trim()):!1,lx=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function gg(i){return typeof i!="string"?!1:i.split("/*")[0].includes("var(--")}const al={test:i=>typeof i=="number",parse:parseFloat,transform:i=>i},rs={...al,transform:i=>En(0,1,i)},_o={...al,default:1},ns=i=>Math.round(i*1e5)/1e5,Hf=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function sx(i){return i==null}const ox=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,kf=(i,a)=>s=>!!(typeof s=="string"&&ox.test(s)&&s.startsWith(i)||a&&!sx(s)&&Object.prototype.hasOwnProperty.call(s,a)),x0=(i,a,s)=>o=>{if(typeof o!="string")return o;const[c,f,d,m]=o.match(Hf);return{[i]:parseFloat(c),[a]:parseFloat(f),[s]:parseFloat(d),alpha:m!==void 0?parseFloat(m):1}},rx=i=>En(0,255,i),Lc={...al,transform:i=>Math.round(rx(i))},ta={test:kf("rgb","red"),parse:x0("red","green","blue"),transform:({red:i,green:a,blue:s,alpha:o=1})=>"rgba("+Lc.transform(i)+", "+Lc.transform(a)+", "+Lc.transform(s)+", "+ns(rs.transform(o))+")"};function ux(i){let a="",s="",o="",c="";return i.length>5?(a=i.substring(1,3),s=i.substring(3,5),o=i.substring(5,7),c=i.substring(7,9)):(a=i.substring(1,2),s=i.substring(2,3),o=i.substring(3,4),c=i.substring(4,5),a+=a,s+=s,o+=o,c+=c),{red:parseInt(a,16),green:parseInt(s,16),blue:parseInt(o,16),alpha:c?parseInt(c,16)/255:1}}const nf={test:kf("#"),parse:ux,transform:ta.transform},hs=i=>({test:a=>typeof a=="string"&&a.endsWith(i)&&a.split(" ").length===1,parse:parseFloat,transform:a=>`${a}${i}`}),Ai=hs("deg"),An=hs("%"),it=hs("px"),cx=hs("vh"),fx=hs("vw"),yg={...An,parse:i=>An.parse(i)/100,transform:i=>An.transform(i*100)},$a={test:kf("hsl","hue"),parse:x0("hue","saturation","lightness"),transform:({hue:i,saturation:a,lightness:s,alpha:o=1})=>"hsla("+Math.round(i)+", "+An.transform(ns(a))+", "+An.transform(ns(s))+", "+ns(rs.transform(o))+")"},It={test:i=>ta.test(i)||nf.test(i)||$a.test(i),parse:i=>ta.test(i)?ta.parse(i):$a.test(i)?$a.parse(i):nf.parse(i),transform:i=>typeof i=="string"?i:i.hasOwnProperty("red")?ta.transform(i):$a.transform(i),getAnimatableNone:i=>{const a=It.parse(i);return a.alpha=0,It.transform(a)}},dx=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function hx(i){var a,s;return isNaN(i)&&typeof i=="string"&&(((a=i.match(Hf))==null?void 0:a.length)||0)+(((s=i.match(dx))==null?void 0:s.length)||0)>0}const T0="number",A0="color",mx="var",px="var(",vg="${}",gx=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function nl(i){const a=i.toString(),s=[],o={color:[],number:[],var:[]},c=[];let f=0;const m=a.replace(gx,g=>(It.test(g)?(o.color.push(f),c.push(A0),s.push(It.parse(g))):g.startsWith(px)?(o.var.push(f),c.push(mx),s.push(g)):(o.number.push(f),c.push(T0),s.push(parseFloat(g))),++f,vg)).split(vg);return{values:s,split:m,indexes:o,types:c}}function yx(i){return nl(i).values}function E0({split:i,types:a}){const s=i.length;return o=>{let c="";for(let f=0;ftypeof i=="number"?0:It.test(i)?It.getAnimatableNone(i):i,Sx=(i,a)=>typeof i=="number"?a!=null&&a.trim().endsWith("/")?i:0:bx(i);function xx(i){const a=nl(i);return E0(a)(a.values.map((o,c)=>Sx(o,a.split[c])))}const hn={test:hx,parse:yx,createTransformer:vx,getAnimatableNone:xx};function jc(i,a,s){return s<0&&(s+=1),s>1&&(s-=1),s<1/6?i+(a-i)*6*s:s<1/2?a:s<2/3?i+(a-i)*(2/3-s)*6:i}function Tx({hue:i,saturation:a,lightness:s,alpha:o}){i/=360,a/=100,s/=100;let c=0,f=0,d=0;if(!a)c=f=d=s;else{const m=s<.5?s*(1+a):s+a-s*a,g=2*s-m;c=jc(g,m,i+1/3),f=jc(g,m,i),d=jc(g,m,i-1/3)}return{red:Math.round(c*255),green:Math.round(f*255),blue:Math.round(d*255),alpha:o}}function Wo(i,a){return s=>s>0?a:i}const Xt=(i,a,s)=>i+(a-i)*s,Hc=(i,a,s)=>{const o=i*i,c=s*(a*a-o)+o;return c<0?0:Math.sqrt(c)},Ax=[nf,ta,$a],Ex=i=>Ax.find(a=>a.test(i));function bg(i){const a=Ex(i);if(!a)return!1;let s=a.parse(i);return a===$a&&(s=Tx(s)),s}const Sg=(i,a)=>{const s=bg(i),o=bg(a);if(!s||!o)return Wo(i,a);const c={...s};return f=>(c.red=Hc(s.red,o.red,f),c.green=Hc(s.green,o.green,f),c.blue=Hc(s.blue,o.blue,f),c.alpha=Xt(s.alpha,o.alpha,f),ta.transform(c))},af=new Set(["none","hidden"]);function Mx(i,a){return af.has(i)?s=>s<=0?i:a:s=>s>=1?a:i}function wx(i,a){return s=>Xt(i,a,s)}function Yf(i){return typeof i=="number"?wx:typeof i=="string"?jf(i)?Wo:It.test(i)?Sg:zx:Array.isArray(i)?M0:typeof i=="object"?It.test(i)?Sg:Cx:Wo}function M0(i,a){const s=[...i],o=s.length,c=i.map((f,d)=>Yf(f)(f,a[d]));return f=>{for(let d=0;d{for(const f in o)s[f]=o[f](c);return s}}function Dx(i,a){const s=[],o={color:0,var:0,number:0};for(let c=0;c{const s=hn.createTransformer(a),o=nl(i),c=nl(a);return o.indexes.var.length===c.indexes.var.length&&o.indexes.color.length===c.indexes.color.length&&o.indexes.number.length>=c.indexes.number.length?af.has(i)&&!c.values.length||af.has(a)&&!o.values.length?Mx(i,a):fs(M0(Dx(o,c),c.values),s):Wo(i,a)};function w0(i,a,s){return typeof i=="number"&&typeof a=="number"&&typeof s=="number"?Xt(i,a,s):Yf(i)(i,a)}const Rx=i=>{const a=({timestamp:s})=>i(s);return{start:(s=!0)=>Ht.update(a,s),stop:()=>Di(a),now:()=>me.isProcessing?me.timestamp:Ee.now()}},C0=(i,a,s=10)=>{let o="";const c=Math.max(Math.round(a/s),2);for(let f=0;f=$o?1/0:a}function Ox(i,a=100,s){const o=s({...i,keyframes:[0,a]}),c=Math.min(Xf(o),$o);return{type:"keyframes",ease:f=>o.next(c*f).value/a,duration:$e(c)}}const Kt={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1};function lf(i,a){return i*Math.sqrt(1-a*a)}const Vx=12;function Nx(i,a,s){let o=s;for(let c=1;c{const v=p*d,b=v*i,S=v-s,A=lf(p,d),C=Math.exp(-b);return kc-S/A*C},f=p=>{const b=p*d*i,S=b*s+s,A=Math.pow(d,2)*Math.pow(p,2)*i,C=Math.exp(-b),N=lf(Math.pow(p,2),d);return(-c(p)+kc>0?-1:1)*((S-A)*C)/N}):(c=p=>{const v=Math.exp(-p*i),b=(p-s)*i+1;return-kc+v*b},f=p=>{const v=Math.exp(-p*i),b=(s-p)*(i*i);return v*b});const m=5/i,g=Nx(c,f,m);if(i=Ye(i),isNaN(g))return{stiffness:Kt.stiffness,damping:Kt.damping,duration:i};{const p=Math.pow(g,2)*o;return{stiffness:p,damping:d*2*Math.sqrt(o*p),duration:i}}}const Bx=["duration","bounce"],Ux=["stiffness","damping","mass"];function xg(i,a){return a.some(s=>i[s]!==void 0)}function Lx(i){let a={velocity:Kt.velocity,stiffness:Kt.stiffness,damping:Kt.damping,mass:Kt.mass,isResolvedFromDuration:!1,...i};if(!xg(i,Ux)&&xg(i,Bx))if(a.velocity=0,i.visualDuration){const s=i.visualDuration,o=2*Math.PI/(s*1.2),c=o*o,f=2*En(.05,1,1-(i.bounce||0))*Math.sqrt(c);a={...a,mass:Kt.mass,stiffness:c,damping:f}}else{const s=_x({...i,velocity:0});a={...a,...s,mass:Kt.mass},a.isResolvedFromDuration=!0}return a}function Io(i=Kt.visualDuration,a=Kt.bounce){const s=typeof i!="object"?{visualDuration:i,keyframes:[0,1],bounce:a}:i;let{restSpeed:o,restDelta:c}=s;const f=s.keyframes[0],d=s.keyframes[s.keyframes.length-1],m={done:!1,value:f},{stiffness:g,damping:p,mass:v,duration:b,velocity:S,isResolvedFromDuration:A}=Lx({...s,velocity:-$e(s.velocity||0)}),C=S||0,N=p/(2*Math.sqrt(g*v)),_=d-f,B=$e(Math.sqrt(g/v)),Z=Math.abs(_)<5;o||(o=Z?Kt.restSpeed.granular:Kt.restSpeed.default),c||(c=Z?Kt.restDelta.granular:Kt.restDelta.default);let X,J,Y,ut,F,k;if(N<1)Y=lf(B,N),ut=(C+N*B*_)/Y,X=tt=>{const W=Math.exp(-N*B*tt);return d-W*(ut*Math.sin(Y*tt)+_*Math.cos(Y*tt))},F=N*B*ut+_*Y,k=N*B*_-ut*Y,J=tt=>Math.exp(-N*B*tt)*(F*Math.sin(Y*tt)+k*Math.cos(Y*tt));else if(N===1){X=W=>d-Math.exp(-B*W)*(_+(C+B*_)*W);const tt=C+B*_;J=W=>Math.exp(-B*W)*(B*tt*W-C)}else{const tt=B*Math.sqrt(N*N-1);X=wt=>{const lt=Math.exp(-N*B*wt),w=Math.min(tt*wt,300);return d-lt*((C+N*B*_)*Math.sinh(w)+tt*_*Math.cosh(w))/tt};const W=(C+N*B*_)/tt,dt=N*B*W-_*tt,St=N*B*_-W*tt;J=wt=>{const lt=Math.exp(-N*B*wt),w=Math.min(tt*wt,300);return lt*(dt*Math.sinh(w)+St*Math.cosh(w))}}const ct={calculatedDuration:A&&b||null,velocity:tt=>Ye(J(tt)),next:tt=>{if(!A&&N<1){const dt=Math.exp(-N*B*tt),St=Math.sin(Y*tt),wt=Math.cos(Y*tt),lt=d-dt*(ut*St+_*wt),w=Ye(dt*(F*St+k*wt));return m.done=Math.abs(w)<=o&&Math.abs(d-lt)<=c,m.value=m.done?d:lt,m}const W=X(tt);if(A)m.done=tt>=b;else{const dt=Ye(J(tt));m.done=Math.abs(dt)<=o&&Math.abs(d-W)<=c}return m.value=m.done?d:W,m},toString:()=>{const tt=Math.min(Xf(ct),$o),W=C0(dt=>ct.next(tt*dt).value,tt,30);return tt+"ms "+W},toTransition:()=>{}};return ct}Io.applyToOptions=i=>{const a=Ox(i,100,Io);return i.ease=a.ease,i.duration=Ye(a.duration),i.type="keyframes",i};const jx=5;function D0(i,a,s){const o=Math.max(a-jx,0);return o0(s-i(o),a-o)}function sf({keyframes:i,velocity:a=0,power:s=.8,timeConstant:o=325,bounceDamping:c=10,bounceStiffness:f=500,modifyTarget:d,min:m,max:g,restDelta:p=.5,restSpeed:v}){const b=i[0],S={done:!1,value:b},A=k=>m!==void 0&&kg,C=k=>m===void 0?g:g===void 0||Math.abs(m-k)-N*Math.exp(-k/o),X=k=>B+Z(k),J=k=>{const ct=Z(k),tt=X(k);S.done=Math.abs(ct)<=p,S.value=S.done?B:tt};let Y,ut;const F=k=>{A(S.value)&&(Y=k,ut=Io({keyframes:[S.value,C(S.value)],velocity:D0(X,k,S.value),damping:c,stiffness:f,restDelta:p,restSpeed:v}))};return F(0),{calculatedDuration:null,next:k=>{let ct=!1;return!ut&&Y===void 0&&(ct=!0,J(k),F(k)),Y!==void 0&&k>=Y?ut.next(k-Y):(!ct&&J(k),S)}}}function Hx(i,a,s){const o=[],c=s||Ci.mix||w0,f=i.length-1;for(let d=0;da[0];if(f===2&&a[0]===a[1])return()=>a[1];const d=i[0]===i[1];i[0]>i[f-1]&&(i=[...i].reverse(),a=[...a].reverse());const m=Hx(a,o,c),g=m.length,p=v=>{if(d&&v1)for(;bp(En(i[0],i[f-1],v)):p}function Yx(i,a){const s=i[i.length-1];for(let o=1;o<=a;o++){const c=os(0,a,o);i.push(Xt(s,1,c))}}function Xx(i){const a=[0];return Yx(a,i.length-1),a}function Gx(i,a){return i.map(s=>s*a)}function qx(i,a){return i.map(()=>a||g0).splice(0,i.length-1)}function is({duration:i=300,keyframes:a,times:s,ease:o="easeInOut"}){const c=$S(o)?o.map(pg):pg(o),f={done:!1,value:a[0]},d=Gx(s&&s.length===a.length?s:Xx(a),i),m=kx(d,a,{ease:Array.isArray(c)?c:qx(a,c)});return{calculatedDuration:i,next:g=>(f.value=m(g),f.done=g>=i,f)}}const Zx=i=>i!==null;function ur(i,{repeat:a,repeatType:s="loop"},o,c=1){const f=i.filter(Zx),m=c<0||a&&s!=="loop"&&a%2===1?0:f.length-1;return!m||o===void 0?f[m]:o}const Kx={decay:sf,inertia:sf,tween:is,keyframes:is,spring:Io};function z0(i){typeof i.type=="string"&&(i.type=Kx[i.type])}class Gf{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(a=>{this.resolve=a})}notifyFinished(){this.resolve()}then(a,s){return this.finished.then(a,s)}}const Qx=i=>i/100;class tr extends Gf{constructor(a){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{var o,c;const{motionValue:s}=this.options;s&&s.updatedAt!==Ee.now()&&this.tick(Ee.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),(c=(o=this.options).onStop)==null||c.call(o))},this.options=a,this.initAnimation(),this.play(),a.autoplay===!1&&this.pause()}initAnimation(){const{options:a}=this;z0(a);const{type:s=is,repeat:o=0,repeatDelay:c=0,repeatType:f,velocity:d=0}=a;let{keyframes:m}=a;const g=s||is;g!==is&&typeof m[0]!="number"&&(this.mixKeyframes=fs(Qx,w0(m[0],m[1])),m=[0,100]);const p=g({...a,keyframes:m});f==="mirror"&&(this.mirroredGenerator=g({...a,keyframes:[...m].reverse(),velocity:-d})),p.calculatedDuration===null&&(p.calculatedDuration=Xf(p));const{calculatedDuration:v}=p;this.calculatedDuration=v,this.resolvedDuration=v+c,this.totalDuration=this.resolvedDuration*(o+1)-c,this.generator=p}updateTime(a){const s=Math.round(a-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=s}tick(a,s=!1){const{generator:o,totalDuration:c,mixKeyframes:f,mirroredGenerator:d,resolvedDuration:m,calculatedDuration:g}=this;if(this.startTime===null)return o.next(0);const{delay:p=0,keyframes:v,repeat:b,repeatType:S,repeatDelay:A,type:C,onUpdate:N,finalKeyframe:_}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,a):this.speed<0&&(this.startTime=Math.min(a-c/this.speed,this.startTime)),s?this.currentTime=a:this.updateTime(a);const B=this.currentTime-p*(this.playbackSpeed>=0?1:-1),Z=this.playbackSpeed>=0?B<0:B>c;this.currentTime=Math.max(B,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=c);let X=this.currentTime,J=o;if(b){const k=Math.min(this.currentTime,c)/m;let ct=Math.floor(k),tt=k%1;!tt&&k>=1&&(tt=1),tt===1&&ct--,ct=Math.min(ct,b+1),!!(ct%2)&&(S==="reverse"?(tt=1-tt,A&&(tt-=A/m)):S==="mirror"&&(J=d)),X=En(0,1,tt)*m}let Y;Z?(this.delayState.value=v[0],Y=this.delayState):Y=J.next(X),f&&!Z&&(Y.value=f(Y.value));let{done:ut}=Y;!Z&&g!==null&&(ut=this.playbackSpeed>=0?this.currentTime>=c:this.currentTime<=0);const F=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&ut);return F&&C!==sf&&(Y.value=ur(v,this.options,_,this.speed)),N&&N(Y.value),F&&this.finish(),Y}then(a,s){return this.finished.then(a,s)}get duration(){return $e(this.calculatedDuration)}get iterationDuration(){const{delay:a=0}=this.options||{};return this.duration+$e(a)}get time(){return $e(this.currentTime)}set time(a){a=Ye(a),this.currentTime=a,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=a:this.driver&&(this.startTime=this.driver.now()-a/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state="paused",this.holdTime=a,this.tick(a))}getGeneratorVelocity(){const a=this.currentTime;if(a<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(a);const s=this.generator.next(a).value;return D0(o=>this.generator.next(o).value,a,s)}get speed(){return this.playbackSpeed}set speed(a){const s=this.playbackSpeed!==a;s&&this.driver&&this.updateTime(Ee.now()),this.playbackSpeed=a,s&&this.driver&&(this.time=$e(this.currentTime))}play(){var c,f;if(this.isStopped)return;const{driver:a=Rx,startTime:s}=this.options;this.driver||(this.driver=a(d=>this.tick(d))),(f=(c=this.options).onPlay)==null||f.call(c);const o=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=o):this.holdTime!==null?this.startTime=o-this.holdTime:this.startTime||(this.startTime=s??o),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(Ee.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){var a,s;this.notifyFinished(),this.teardown(),this.state="finished",(s=(a=this.options).onComplete)==null||s.call(a)}cancel(){var a,s;this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),(s=(a=this.options).onCancel)==null||s.call(a)}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(a){return this.startTime=0,this.tick(a,!0)}attachTimeline(a){var s;return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),(s=this.driver)==null||s.stop(),a.observe(this)}}function Jx(i){for(let a=1;ai*180/Math.PI,of=i=>{const a=ea(Math.atan2(i[1],i[0]));return rf(a)},Px={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:i=>(Math.abs(i[0])+Math.abs(i[3]))/2,rotate:of,rotateZ:of,skewX:i=>ea(Math.atan(i[1])),skewY:i=>ea(Math.atan(i[2])),skew:i=>(Math.abs(i[1])+Math.abs(i[2]))/2},rf=i=>(i=i%360,i<0&&(i+=360),i),Tg=of,Ag=i=>Math.sqrt(i[0]*i[0]+i[1]*i[1]),Eg=i=>Math.sqrt(i[4]*i[4]+i[5]*i[5]),Fx={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:Ag,scaleY:Eg,scale:i=>(Ag(i)+Eg(i))/2,rotateX:i=>rf(ea(Math.atan2(i[6],i[5]))),rotateY:i=>rf(ea(Math.atan2(-i[2],i[0]))),rotateZ:Tg,rotate:Tg,skewX:i=>ea(Math.atan(i[4])),skewY:i=>ea(Math.atan(i[1])),skew:i=>(Math.abs(i[1])+Math.abs(i[4]))/2};function uf(i){return i.includes("scale")?1:0}function cf(i,a){if(!i||i==="none")return uf(a);const s=i.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let o,c;if(s)o=Fx,c=s;else{const m=i.match(/^matrix\(([-\d.e\s,]+)\)$/u);o=Px,c=m}if(!c)return uf(a);const f=o[a],d=c[1].split(",").map($x);return typeof f=="function"?f(d):d[f]}const Wx=(i,a)=>{const{transform:s="none"}=getComputedStyle(i);return cf(s,a)};function $x(i){return parseFloat(i.trim())}const ll=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],sl=new Set(ll),Mg=i=>i===al||i===it,Ix=new Set(["x","y","z"]),tT=ll.filter(i=>!Ix.has(i));function eT(i){const a=[];return tT.forEach(s=>{const o=i.getValue(s);o!==void 0&&(a.push([s,o.get()]),o.set(s.startsWith("scale")?1:0))}),a}const Mi={width:({x:i},{paddingLeft:a="0",paddingRight:s="0",boxSizing:o})=>{const c=i.max-i.min;return o==="border-box"?c:c-parseFloat(a)-parseFloat(s)},height:({y:i},{paddingTop:a="0",paddingBottom:s="0",boxSizing:o})=>{const c=i.max-i.min;return o==="border-box"?c:c-parseFloat(a)-parseFloat(s)},top:(i,{top:a})=>parseFloat(a),left:(i,{left:a})=>parseFloat(a),bottom:({y:i},{top:a})=>parseFloat(a)+(i.max-i.min),right:({x:i},{left:a})=>parseFloat(a)+(i.max-i.min),x:(i,{transform:a})=>cf(a,"x"),y:(i,{transform:a})=>cf(a,"y")};Mi.translateX=Mi.x;Mi.translateY=Mi.y;const na=new Set;let ff=!1,df=!1,hf=!1;function R0(){if(df){const i=Array.from(na).filter(o=>o.needsMeasurement),a=new Set(i.map(o=>o.element)),s=new Map;a.forEach(o=>{const c=eT(o);c.length&&(s.set(o,c),o.render())}),i.forEach(o=>o.measureInitialState()),a.forEach(o=>{o.render();const c=s.get(o);c&&c.forEach(([f,d])=>{var m;(m=o.getValue(f))==null||m.set(d)})}),i.forEach(o=>o.measureEndState()),i.forEach(o=>{o.suspendedScrollY!==void 0&&window.scrollTo(0,o.suspendedScrollY)})}df=!1,ff=!1,na.forEach(i=>i.complete(hf)),na.clear()}function O0(){na.forEach(i=>{i.readKeyframes(),i.needsMeasurement&&(df=!0)})}function nT(){hf=!0,O0(),R0(),hf=!1}class qf{constructor(a,s,o,c,f,d=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...a],this.onComplete=s,this.name=o,this.motionValue=c,this.element=f,this.isAsync=d}scheduleResolve(){this.state="scheduled",this.isAsync?(na.add(this),ff||(ff=!0,Ht.read(O0),Ht.resolveKeyframes(R0))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:a,name:s,element:o,motionValue:c}=this;if(a[0]===null){const f=c==null?void 0:c.get(),d=a[a.length-1];if(f!==void 0)a[0]=f;else if(o&&s){const m=o.readValue(s,d);m!=null&&(a[0]=m)}a[0]===void 0&&(a[0]=d),c&&f===void 0&&c.set(a[0])}Jx(a)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(a=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,a),na.delete(this)}cancel(){this.state==="scheduled"&&(na.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const iT=i=>i.startsWith("--");function V0(i,a,s){iT(a)?i.style.setProperty(a,s):i.style[a]=s}const aT={};function N0(i,a){const s=s0(i);return()=>aT[a]??s()}const lT=N0(()=>window.ScrollTimeline!==void 0,"scrollTimeline"),_0=N0(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),es=([i,a,s,o])=>`cubic-bezier(${i}, ${a}, ${s}, ${o})`,wg={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:es([0,.65,.55,1]),circOut:es([.55,0,1,.45]),backIn:es([.31,.01,.66,-.59]),backOut:es([.33,1.53,.69,.99])};function B0(i,a){if(i)return typeof i=="function"?_0()?C0(i,a):"ease-out":y0(i)?es(i):Array.isArray(i)?i.map(s=>B0(s,a)||wg.easeOut):wg[i]}function sT(i,a,s,{delay:o=0,duration:c=300,repeat:f=0,repeatType:d="loop",ease:m="easeOut",times:g}={},p=void 0){const v={[a]:s};g&&(v.offset=g);const b=B0(m,c);Array.isArray(b)&&(v.easing=b);const S={delay:o,duration:c,easing:Array.isArray(b)?"linear":b,fill:"both",iterations:f+1,direction:d==="reverse"?"alternate":"normal"};return p&&(S.pseudoElement=p),i.animate(v,S)}function U0(i){return typeof i=="function"&&"applyToOptions"in i}function oT({type:i,...a}){return U0(i)&&_0()?i.applyToOptions(a):(a.duration??(a.duration=300),a.ease??(a.ease="easeOut"),a)}class L0 extends Gf{constructor(a){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!a)return;const{element:s,name:o,keyframes:c,pseudoElement:f,allowFlatten:d=!1,finalKeyframe:m,onComplete:g}=a;this.isPseudoElement=!!f,this.allowFlatten=d,this.options=a,_f(typeof a.type!="string");const p=oT(a);this.animation=sT(s,o,c,p,f),p.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!f){const v=ur(c,this.options,m,this.speed);this.updateMotionValue&&this.updateMotionValue(v),V0(s,o,v),this.animation.cancel()}g==null||g(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){var a,s;(s=(a=this.animation).finish)==null||s.call(a)}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:a}=this;a==="idle"||a==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){var s,o,c;const a=(s=this.options)==null?void 0:s.element;!this.isPseudoElement&&(a!=null&&a.isConnected)&&((c=(o=this.animation).commitStyles)==null||c.call(o))}get duration(){var s,o;const a=((o=(s=this.animation.effect)==null?void 0:s.getComputedTiming)==null?void 0:o.call(s).duration)||0;return $e(Number(a))}get iterationDuration(){const{delay:a=0}=this.options||{};return this.duration+$e(a)}get time(){return $e(Number(this.animation.currentTime)||0)}set time(a){const s=this.finishedTime!==null;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=Ye(a),s&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(a){a<0&&(this.finishedTime=null),this.animation.playbackRate=a}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(a){this.manualStartTime=this.animation.startTime=a}attachTimeline({timeline:a,rangeStart:s,rangeEnd:o,observe:c}){var f;return this.allowFlatten&&((f=this.animation.effect)==null||f.updateTiming({easing:"linear"})),this.animation.onfinish=null,a&&lT()?(this.animation.timeline=a,s&&(this.animation.rangeStart=s),o&&(this.animation.rangeEnd=o),tn):c(this)}}const j0={anticipate:h0,backInOut:d0,circInOut:p0};function rT(i){return i in j0}function uT(i){typeof i.ease=="string"&&rT(i.ease)&&(i.ease=j0[i.ease])}const Yc=10;class cT extends L0{constructor(a){uT(a),z0(a),super(a),a.startTime!==void 0&&a.autoplay!==!1&&(this.startTime=a.startTime),this.options=a}updateMotionValue(a){const{motionValue:s,onUpdate:o,onComplete:c,element:f,...d}=this.options;if(!s)return;if(a!==void 0){s.set(a);return}const m=new tr({...d,autoplay:!1}),g=Math.max(Yc,Ee.now()-this.startTime),p=En(0,Yc,g-Yc),v=m.sample(g).value,{name:b}=this.options;f&&b&&V0(f,b,v),s.setWithVelocity(m.sample(Math.max(0,g-p)).value,v,p),m.stop()}}const Cg=(i,a)=>a==="zIndex"?!1:!!(typeof i=="number"||Array.isArray(i)||typeof i=="string"&&(hn.test(i)||i==="0")&&!i.startsWith("url("));function fT(i){const a=i[0];if(i.length===1)return!0;for(let s=0;sObject.hasOwnProperty.call(Element.prototype,"animate"));function yT(i){var b;const{motionValue:a,name:s,repeatDelay:o,repeatType:c,damping:f,type:d,keyframes:m}=i;if(!(((b=a==null?void 0:a.owner)==null?void 0:b.current)instanceof HTMLElement))return!1;const{onUpdate:p,transformTemplate:v}=a.owner.getProps();return gT()&&s&&(H0.has(s)||pT.has(s)&&mT(m))&&(s!=="transform"||!v)&&!p&&!o&&c!=="mirror"&&f!==0&&d!=="inertia"}const vT=40;class bT extends Gf{constructor({autoplay:a=!0,delay:s=0,type:o="keyframes",repeat:c=0,repeatDelay:f=0,repeatType:d="loop",keyframes:m,name:g,motionValue:p,element:v,...b}){var C;super(),this.stop=()=>{var N,_;this._animation&&(this._animation.stop(),(N=this.stopTimeline)==null||N.call(this)),(_=this.keyframeResolver)==null||_.cancel()},this.createdAt=Ee.now();const S={autoplay:a,delay:s,type:o,repeat:c,repeatDelay:f,repeatType:d,name:g,motionValue:p,element:v,...b},A=(v==null?void 0:v.KeyframeResolver)||qf;this.keyframeResolver=new A(m,(N,_,B)=>this.onKeyframesResolved(N,_,S,!B),g,p,v),(C=this.keyframeResolver)==null||C.scheduleResolve()}onKeyframesResolved(a,s,o,c){var B,Z;this.keyframeResolver=void 0;const{name:f,type:d,velocity:m,delay:g,isHandoff:p,onUpdate:v}=o;this.resolvedAt=Ee.now();let b=!0;dT(a,f,d,m)||(b=!1,(Ci.instantAnimations||!g)&&(v==null||v(ur(a,o,s))),a[0]=a[a.length-1],mf(o),o.repeat=0);const A={startTime:c?this.resolvedAt?this.resolvedAt-this.createdAt>vT?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:s,...o,keyframes:a},C=b&&!p&&yT(A),N=(Z=(B=A.motionValue)==null?void 0:B.owner)==null?void 0:Z.current;let _;if(C)try{_=new cT({...A,element:N})}catch{_=new tr(A)}else _=new tr(A);_.finished.then(()=>{this.notifyFinished()}).catch(tn),this.pendingTimeline&&(this.stopTimeline=_.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=_}get finished(){return this._animation?this.animation.finished:this._finished}then(a,s){return this.finished.finally(a).then(()=>{})}get animation(){var a;return this._animation||((a=this.keyframeResolver)==null||a.resume(),nT()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(a){this.animation.time=a}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(a){this.animation.speed=a}get startTime(){return this.animation.startTime}attachTimeline(a){return this._animation?this.stopTimeline=this.animation.attachTimeline(a):this.pendingTimeline=a,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){var a;this._animation&&this.animation.cancel(),(a=this.keyframeResolver)==null||a.cancel()}}function k0(i,a,s,o=0,c=1){const f=Array.from(i).sort((p,v)=>p.sortNodePosition(v)).indexOf(a),d=i.size,m=(d-1)*o;return typeof s=="function"?s(f,d):c===1?f*o:m-f*o}const ST=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function xT(i){const a=ST.exec(i);if(!a)return[,];const[,s,o,c]=a;return[`--${s??o}`,c]}function Y0(i,a,s=1){const[o,c]=xT(i);if(!o)return;const f=window.getComputedStyle(a).getPropertyValue(o);if(f){const d=f.trim();return i0(d)?parseFloat(d):d}return jf(c)?Y0(c,a,s+1):c}const TT={type:"spring",stiffness:500,damping:25,restSpeed:10},AT=i=>({type:"spring",stiffness:550,damping:i===0?2*Math.sqrt(550):30,restSpeed:10}),ET={type:"keyframes",duration:.8},MT={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},wT=(i,{keyframes:a})=>a.length>2?ET:sl.has(i)?i.startsWith("scale")?AT(a[1]):TT:MT;function X0(i,a){if(i!=null&&i.inherit&&a){const{inherit:s,...o}=i;return{...a,...o}}return i}function Zf(i,a){const s=(i==null?void 0:i[a])??(i==null?void 0:i.default)??i;return s!==i?X0(s,i):s}const CT=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]);function DT(i){for(const a in i)if(!CT.has(a))return!0;return!1}const Kf=(i,a,s,o={},c,f)=>d=>{const m=Zf(o,i)||{},g=m.delay||o.delay||0;let{elapsed:p=0}=o;p=p-Ye(g);const v={keyframes:Array.isArray(s)?s:[null,s],ease:"easeOut",velocity:a.getVelocity(),...m,delay:-p,onUpdate:S=>{a.set(S),m.onUpdate&&m.onUpdate(S)},onComplete:()=>{d(),m.onComplete&&m.onComplete()},name:i,motionValue:a,element:f?void 0:c};DT(m)||Object.assign(v,wT(i,v)),v.duration&&(v.duration=Ye(v.duration)),v.repeatDelay&&(v.repeatDelay=Ye(v.repeatDelay)),v.from!==void 0&&(v.keyframes[0]=v.from);let b=!1;if((v.type===!1||v.duration===0&&!v.repeatDelay)&&(mf(v),v.delay===0&&(b=!0)),(Ci.instantAnimations||Ci.skipAnimations||c!=null&&c.shouldSkipAnimations)&&(b=!0,mf(v),v.delay=0),v.allowFlatten=!m.type&&!m.ease,b&&!f&&a.get()!==void 0){const S=ur(v.keyframes,m);if(S!==void 0){Ht.update(()=>{v.onUpdate(S),v.onComplete()});return}}return m.isSync?new tr(v):new bT(v)};function Dg(i){const a=[{},{}];return i==null||i.values.forEach((s,o)=>{a[0][o]=s.get(),a[1][o]=s.getVelocity()}),a}function Qf(i,a,s,o){if(typeof a=="function"){const[c,f]=Dg(o);a=a(s!==void 0?s:i.custom,c,f)}if(typeof a=="string"&&(a=i.variants&&i.variants[a]),typeof a=="function"){const[c,f]=Dg(o);a=a(s!==void 0?s:i.custom,c,f)}return a}function ia(i,a,s){const o=i.getProps();return Qf(o,a,s!==void 0?s:o.custom,i)}const G0=new Set(["width","height","top","left","right","bottom",...ll]),zg=30,zT=i=>!isNaN(parseFloat(i));class RT{constructor(a,s={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=o=>{var f;const c=Ee.now();if(this.updatedAt!==c&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(o),this.current!==this.prev&&((f=this.events.change)==null||f.notify(this.current),this.dependents))for(const d of this.dependents)d.dirty()},this.hasAnimated=!1,this.setCurrent(a),this.owner=s.owner}setCurrent(a){this.current=a,this.updatedAt=Ee.now(),this.canTrackVelocity===null&&a!==void 0&&(this.canTrackVelocity=zT(this.current))}setPrevFrameValue(a=this.current){this.prevFrameValue=a,this.prevUpdatedAt=this.updatedAt}onChange(a){return this.on("change",a)}on(a,s){this.events[a]||(this.events[a]=new Bf);const o=this.events[a].add(s);return a==="change"?()=>{o(),Ht.read(()=>{this.events.change.getSize()||this.stop()})}:o}clearListeners(){for(const a in this.events)this.events[a].clear()}attach(a,s){this.passiveEffect=a,this.stopPassiveEffect=s}set(a){this.passiveEffect?this.passiveEffect(a,this.updateAndNotify):this.updateAndNotify(a)}setWithVelocity(a,s,o){this.set(s),this.prev=void 0,this.prevFrameValue=a,this.prevUpdatedAt=this.updatedAt-o}jump(a,s=!0){this.updateAndNotify(a),this.prev=a,this.prevUpdatedAt=this.prevFrameValue=void 0,s&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){var a;(a=this.events.change)==null||a.notify(this.current)}addDependent(a){this.dependents||(this.dependents=new Set),this.dependents.add(a)}removeDependent(a){this.dependents&&this.dependents.delete(a)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const a=Ee.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||a-this.updatedAt>zg)return 0;const s=Math.min(this.updatedAt-this.prevUpdatedAt,zg);return o0(parseFloat(this.current)-parseFloat(this.prevFrameValue),s)}start(a){return this.stop(),new Promise(s=>{this.hasAnimated=!0,this.animation=a(s),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){var a,s;(a=this.dependents)==null||a.clear(),(s=this.events.destroy)==null||s.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function il(i,a){return new RT(i,a)}const pf=i=>Array.isArray(i);function OT(i,a,s){i.hasValue(a)?i.getValue(a).set(s):i.addValue(a,il(s))}function VT(i){return pf(i)?i[i.length-1]||0:i}function NT(i,a){const s=ia(i,a);let{transitionEnd:o={},transition:c={},...f}=s||{};f={...f,...o};for(const d in f){const m=VT(f[d]);OT(i,d,m)}}const pe=i=>!!(i&&i.getVelocity);function _T(i){return!!(pe(i)&&i.add)}function gf(i,a){const s=i.getValue("willChange");if(_T(s))return s.add(a);if(!s&&Ci.WillChange){const o=new Ci.WillChange("auto");i.addValue("willChange",o),o.add(a)}}function Jf(i){return i.replace(/([A-Z])/g,a=>`-${a.toLowerCase()}`)}const BT="framerAppearId",q0="data-"+Jf(BT);function Z0(i){return i.props[q0]}function UT({protectedKeys:i,needsAnimating:a},s){const o=i.hasOwnProperty(s)&&a[s]!==!0;return a[s]=!1,o}function K0(i,a,{delay:s=0,transitionOverride:o,type:c}={}){let{transition:f,transitionEnd:d,...m}=a;const g=i.getDefaultTransition();f=f?X0(f,g):g;const p=f==null?void 0:f.reduceMotion;o&&(f=o);const v=[],b=c&&i.animationState&&i.animationState.getState()[c];for(const S in m){const A=i.getValue(S,i.latestValues[S]??null),C=m[S];if(C===void 0||b&&UT(b,S))continue;const N={delay:s,...Zf(f||{},S)},_=A.get();if(_!==void 0&&!A.isAnimating()&&!Array.isArray(C)&&C===_&&!N.velocity){Ht.update(()=>A.set(C));continue}let B=!1;if(window.MotionHandoffAnimation){const J=Z0(i);if(J){const Y=window.MotionHandoffAnimation(J,S,Ht);Y!==null&&(N.startTime=Y,B=!0)}}gf(i,S);const Z=p??i.shouldReduceMotion;A.start(Kf(S,A,C,Z&&G0.has(S)?{type:!1}:N,i,B));const X=A.animation;X&&v.push(X)}if(d){const S=()=>Ht.update(()=>{d&&NT(i,d)});v.length?Promise.all(v).then(S):S()}return v}function yf(i,a,s={}){var g;const o=ia(i,a,s.type==="exit"?(g=i.presenceContext)==null?void 0:g.custom:void 0);let{transition:c=i.getDefaultTransition()||{}}=o||{};s.transitionOverride&&(c=s.transitionOverride);const f=o?()=>Promise.all(K0(i,o,s)):()=>Promise.resolve(),d=i.variantChildren&&i.variantChildren.size?(p=0)=>{const{delayChildren:v=0,staggerChildren:b,staggerDirection:S}=c;return LT(i,a,p,v,b,S,s)}:()=>Promise.resolve(),{when:m}=c;if(m){const[p,v]=m==="beforeChildren"?[f,d]:[d,f];return p().then(()=>v())}else return Promise.all([f(),d(s.delay)])}function LT(i,a,s=0,o=0,c=0,f=1,d){const m=[];for(const g of i.variantChildren)g.notify("AnimationStart",a),m.push(yf(g,a,{...d,delay:s+(typeof o=="function"?0:o)+k0(i.variantChildren,g,o,c,f)}).then(()=>g.notify("AnimationComplete",a)));return Promise.all(m)}function jT(i,a,s={}){i.notify("AnimationStart",a);let o;if(Array.isArray(a)){const c=a.map(f=>yf(i,f,s));o=Promise.all(c)}else if(typeof a=="string")o=yf(i,a,s);else{const c=typeof a=="function"?ia(i,a,s.custom):a;o=Promise.all(K0(i,c,s))}return o.then(()=>{i.notify("AnimationComplete",a)})}const HT={test:i=>i==="auto",parse:i=>i},Q0=i=>a=>a.test(i),J0=[al,it,An,Ai,fx,cx,HT],Rg=i=>J0.find(Q0(i));function kT(i){return typeof i=="number"?i===0:i!==null?i==="none"||i==="0"||l0(i):!0}const YT=new Set(["brightness","contrast","saturate","opacity"]);function XT(i){const[a,s]=i.slice(0,-1).split("(");if(a==="drop-shadow")return i;const[o]=s.match(Hf)||[];if(!o)return i;const c=s.replace(o,"");let f=YT.has(a)?1:0;return o!==s&&(f*=100),a+"("+f+c+")"}const GT=/\b([a-z-]*)\(.*?\)/gu,vf={...hn,getAnimatableNone:i=>{const a=i.match(GT);return a?a.map(XT).join(" "):i}},bf={...hn,getAnimatableNone:i=>{const a=hn.parse(i);return hn.createTransformer(i)(a.map(o=>typeof o=="number"?0:typeof o=="object"?{...o,alpha:1}:o))}},Og={...al,transform:Math.round},qT={rotate:Ai,rotateX:Ai,rotateY:Ai,rotateZ:Ai,scale:_o,scaleX:_o,scaleY:_o,scaleZ:_o,skew:Ai,skewX:Ai,skewY:Ai,distance:it,translateX:it,translateY:it,translateZ:it,x:it,y:it,z:it,perspective:it,transformPerspective:it,opacity:rs,originX:yg,originY:yg,originZ:it},Pf={borderWidth:it,borderTopWidth:it,borderRightWidth:it,borderBottomWidth:it,borderLeftWidth:it,borderRadius:it,borderTopLeftRadius:it,borderTopRightRadius:it,borderBottomRightRadius:it,borderBottomLeftRadius:it,width:it,maxWidth:it,height:it,maxHeight:it,top:it,right:it,bottom:it,left:it,inset:it,insetBlock:it,insetBlockStart:it,insetBlockEnd:it,insetInline:it,insetInlineStart:it,insetInlineEnd:it,padding:it,paddingTop:it,paddingRight:it,paddingBottom:it,paddingLeft:it,paddingBlock:it,paddingBlockStart:it,paddingBlockEnd:it,paddingInline:it,paddingInlineStart:it,paddingInlineEnd:it,margin:it,marginTop:it,marginRight:it,marginBottom:it,marginLeft:it,marginBlock:it,marginBlockStart:it,marginBlockEnd:it,marginInline:it,marginInlineStart:it,marginInlineEnd:it,fontSize:it,backgroundPositionX:it,backgroundPositionY:it,...qT,zIndex:Og,fillOpacity:rs,strokeOpacity:rs,numOctaves:Og},ZT={...Pf,color:It,backgroundColor:It,outlineColor:It,fill:It,stroke:It,borderColor:It,borderTopColor:It,borderRightColor:It,borderBottomColor:It,borderLeftColor:It,filter:vf,WebkitFilter:vf,mask:bf,WebkitMask:bf},P0=i=>ZT[i],KT=new Set([vf,bf]);function F0(i,a){let s=P0(i);return KT.has(s)||(s=hn),s.getAnimatableNone?s.getAnimatableNone(a):void 0}const QT=new Set(["auto","none","0"]);function JT(i,a,s){let o=0,c;for(;o{a.getValue(g).set(p)}),this.resolveNoneKeyframes()}}function W0(i,a,s){if(i==null)return[];if(i instanceof EventTarget)return[i];if(typeof i=="string"){let o=document;const c=(s==null?void 0:s[i])??o.querySelectorAll(i);return c?Array.from(c):[]}return Array.from(i).filter(o=>o!=null)}const $0=(i,a)=>a&&typeof i=="number"?a.transform(i):i;function FT(i){return a0(i)&&"offsetHeight"in i&&!("ownerSVGElement"in i)}const{schedule:Ff}=v0(queueMicrotask,!1),dn={x:!1,y:!1};function I0(){return dn.x||dn.y}function WT(i){return i==="x"||i==="y"?dn[i]?null:(dn[i]=!0,()=>{dn[i]=!1}):dn.x||dn.y?null:(dn.x=dn.y=!0,()=>{dn.x=dn.y=!1})}function tv(i,a){const s=W0(i),o=new AbortController,c={passive:!0,...a,signal:o.signal};return[s,c,()=>o.abort()]}function $T(i){return!(i.pointerType==="touch"||I0())}function IT(i,a,s={}){const[o,c,f]=tv(i,s);return o.forEach(d=>{let m=!1,g=!1,p;const v=()=>{d.removeEventListener("pointerleave",C)},b=_=>{p&&(p(_),p=void 0),v()},S=_=>{m=!1,window.removeEventListener("pointerup",S),window.removeEventListener("pointercancel",S),g&&(g=!1,b(_))},A=()=>{m=!0,window.addEventListener("pointerup",S,c),window.addEventListener("pointercancel",S,c)},C=_=>{if(_.pointerType!=="touch"){if(m){g=!0;return}b(_)}},N=_=>{if(!$T(_))return;g=!1;const B=a(d,_);typeof B=="function"&&(p=B,d.addEventListener("pointerleave",C,c))};d.addEventListener("pointerenter",N,c),d.addEventListener("pointerdown",A,c)}),f}const ev=(i,a)=>a?i===a?!0:ev(i,a.parentElement):!1,Wf=i=>i.pointerType==="mouse"?typeof i.button!="number"||i.button<=0:i.isPrimary!==!1,t2=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function e2(i){return t2.has(i.tagName)||i.isContentEditable===!0}const n2=new Set(["INPUT","SELECT","TEXTAREA"]);function i2(i){return n2.has(i.tagName)||i.isContentEditable===!0}const Xo=new WeakSet;function Vg(i){return a=>{a.key==="Enter"&&i(a)}}function Xc(i,a){i.dispatchEvent(new PointerEvent("pointer"+a,{isPrimary:!0,bubbles:!0}))}const a2=(i,a)=>{const s=i.currentTarget;if(!s)return;const o=Vg(()=>{if(Xo.has(s))return;Xc(s,"down");const c=Vg(()=>{Xc(s,"up")}),f=()=>Xc(s,"cancel");s.addEventListener("keyup",c,a),s.addEventListener("blur",f,a)});s.addEventListener("keydown",o,a),s.addEventListener("blur",()=>s.removeEventListener("keydown",o),a)};function Ng(i){return Wf(i)&&!I0()}const _g=new WeakSet;function l2(i,a,s={}){const[o,c,f]=tv(i,s),d=m=>{const g=m.currentTarget;if(!Ng(m)||_g.has(m))return;Xo.add(g),s.stopPropagation&&_g.add(m);const p=a(g,m),v=(A,C)=>{window.removeEventListener("pointerup",b),window.removeEventListener("pointercancel",S),Xo.has(g)&&Xo.delete(g),Ng(A)&&typeof p=="function"&&p(A,{success:C})},b=A=>{v(A,g===window||g===document||s.useGlobalTarget||ev(g,A.target))},S=A=>{v(A,!1)};window.addEventListener("pointerup",b,c),window.addEventListener("pointercancel",S,c)};return o.forEach(m=>{(s.useGlobalTarget?window:m).addEventListener("pointerdown",d,c),FT(m)&&(m.addEventListener("focus",p=>a2(p,c)),!e2(m)&&!m.hasAttribute("tabindex")&&(m.tabIndex=0))}),f}function $f(i){return a0(i)&&"ownerSVGElement"in i}const Go=new WeakMap;let Ei;const nv=(i,a,s)=>(o,c)=>c&&c[0]?c[0][i+"Size"]:$f(o)&&"getBBox"in o?o.getBBox()[a]:o[s],s2=nv("inline","width","offsetWidth"),o2=nv("block","height","offsetHeight");function r2({target:i,borderBoxSize:a}){var s;(s=Go.get(i))==null||s.forEach(o=>{o(i,{get width(){return s2(i,a)},get height(){return o2(i,a)}})})}function u2(i){i.forEach(r2)}function c2(){typeof ResizeObserver>"u"||(Ei=new ResizeObserver(u2))}function f2(i,a){Ei||c2();const s=W0(i);return s.forEach(o=>{let c=Go.get(o);c||(c=new Set,Go.set(o,c)),c.add(a),Ei==null||Ei.observe(o)}),()=>{s.forEach(o=>{const c=Go.get(o);c==null||c.delete(a),c!=null&&c.size||Ei==null||Ei.unobserve(o)})}}const qo=new Set;let Ia;function d2(){Ia=()=>{const i={get width(){return window.innerWidth},get height(){return window.innerHeight}};qo.forEach(a=>a(i))},window.addEventListener("resize",Ia)}function h2(i){return qo.add(i),Ia||d2(),()=>{qo.delete(i),!qo.size&&typeof Ia=="function"&&(window.removeEventListener("resize",Ia),Ia=void 0)}}function Bg(i,a){return typeof i=="function"?h2(i):f2(i,a)}function m2(i){return $f(i)&&i.tagName==="svg"}const p2=[...J0,It,hn],g2=i=>p2.find(Q0(i)),Ug=()=>({translate:0,scale:1,origin:0,originPoint:0}),tl=()=>({x:Ug(),y:Ug()}),Lg=()=>({min:0,max:0}),ie=()=>({x:Lg(),y:Lg()}),y2=new WeakMap;function cr(i){return i!==null&&typeof i=="object"&&typeof i.start=="function"}function us(i){return typeof i=="string"||Array.isArray(i)}const If=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],td=["initial",...If];function fr(i){return cr(i.animate)||td.some(a=>us(i[a]))}function iv(i){return!!(fr(i)||i.variants)}function v2(i,a,s){for(const o in a){const c=a[o],f=s[o];if(pe(c))i.addValue(o,c);else if(pe(f))i.addValue(o,il(c,{owner:i}));else if(f!==c)if(i.hasValue(o)){const d=i.getValue(o);d.liveStyle===!0?d.jump(c):d.hasAnimated||d.set(c)}else{const d=i.getStaticValue(o);i.addValue(o,il(d!==void 0?d:c,{owner:i}))}}for(const o in s)a[o]===void 0&&i.removeValue(o);return a}const Sf={current:null},av={current:!1},b2=typeof window<"u";function S2(){if(av.current=!0,!!b2)if(window.matchMedia){const i=window.matchMedia("(prefers-reduced-motion)"),a=()=>Sf.current=i.matches;i.addEventListener("change",a),a()}else Sf.current=!1}const jg=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];let er={};function lv(i){er=i}function x2(){return er}class T2{scrapeMotionValuesFromProps(a,s,o){return{}}constructor({parent:a,props:s,presenceContext:o,reducedMotionConfig:c,skipAnimations:f,blockInitialAnimation:d,visualState:m},g={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=qf,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const A=Ee.now();this.renderScheduledAtthis.bindToMotionValue(f,c)),this.reducedMotionConfig==="never"?this.shouldReduceMotion=!1:this.reducedMotionConfig==="always"?this.shouldReduceMotion=!0:(av.current||S2(),this.shouldReduceMotion=Sf.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,(o=this.parent)==null||o.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){var a;this.projection&&this.projection.unmount(),Di(this.notifyUpdate),Di(this.render),this.valueSubscriptions.forEach(s=>s()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),(a=this.parent)==null||a.removeChild(this);for(const s in this.events)this.events[s].clear();for(const s in this.features){const o=this.features[s];o&&(o.unmount(),o.isMounted=!1)}this.current=null}addChild(a){this.children.add(a),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(a)}removeChild(a){this.children.delete(a),this.enteringChildren&&this.enteringChildren.delete(a)}bindToMotionValue(a,s){if(this.valueSubscriptions.has(a)&&this.valueSubscriptions.get(a)(),s.accelerate&&H0.has(a)&&this.current instanceof HTMLElement){const{factory:d,keyframes:m,times:g,ease:p,duration:v}=s.accelerate,b=new L0({element:this.current,name:a,keyframes:m,times:g,ease:p,duration:Ye(v)}),S=d(b);this.valueSubscriptions.set(a,()=>{S(),b.cancel()});return}const o=sl.has(a);o&&this.onBindTransform&&this.onBindTransform();const c=s.on("change",d=>{this.latestValues[a]=d,this.props.onUpdate&&Ht.preRender(this.notifyUpdate),o&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let f;typeof window<"u"&&window.MotionCheckAppearSync&&(f=window.MotionCheckAppearSync(this,a,s)),this.valueSubscriptions.set(a,()=>{c(),f&&f(),s.owner&&s.stop()})}sortNodePosition(a){return!this.current||!this.sortInstanceNodePosition||this.type!==a.type?0:this.sortInstanceNodePosition(this.current,a.current)}updateFeatures(){let a="animation";for(a in er){const s=er[a];if(!s)continue;const{isEnabled:o,Feature:c}=s;if(!this.features[a]&&c&&o(this.props)&&(this.features[a]=new c(this)),this.features[a]){const f=this.features[a];f.isMounted?f.update():(f.mount(),f.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):ie()}getStaticValue(a){return this.latestValues[a]}setStaticValue(a,s){this.latestValues[a]=s}update(a,s){(a.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=a,this.prevPresenceContext=this.presenceContext,this.presenceContext=s;for(let o=0;os.variantChildren.delete(a)}addValue(a,s){const o=this.values.get(a);s!==o&&(o&&this.removeValue(a),this.bindToMotionValue(a,s),this.values.set(a,s),this.latestValues[a]=s.get())}removeValue(a){this.values.delete(a);const s=this.valueSubscriptions.get(a);s&&(s(),this.valueSubscriptions.delete(a)),delete this.latestValues[a],this.removeValueFromRenderState(a,this.renderState)}hasValue(a){return this.values.has(a)}getValue(a,s){if(this.props.values&&this.props.values[a])return this.props.values[a];let o=this.values.get(a);return o===void 0&&s!==void 0&&(o=il(s===null?void 0:s,{owner:this}),this.addValue(a,o)),o}readValue(a,s){let o=this.latestValues[a]!==void 0||!this.current?this.latestValues[a]:this.getBaseTargetFromProps(this.props,a)??this.readValueFromInstance(this.current,a,this.options);return o!=null&&(typeof o=="string"&&(i0(o)||l0(o))?o=parseFloat(o):!g2(o)&&hn.test(s)&&(o=F0(a,s)),this.setBaseTarget(a,pe(o)?o.get():o)),pe(o)?o.get():o}setBaseTarget(a,s){this.baseTarget[a]=s}getBaseTarget(a){var f;const{initial:s}=this.props;let o;if(typeof s=="string"||typeof s=="object"){const d=Qf(this.props,s,(f=this.presenceContext)==null?void 0:f.custom);d&&(o=d[a])}if(s&&o!==void 0)return o;const c=this.getBaseTargetFromProps(this.props,a);return c!==void 0&&!pe(c)?c:this.initialValues[a]!==void 0&&o===void 0?void 0:this.baseTarget[a]}on(a,s){return this.events[a]||(this.events[a]=new Bf),this.events[a].add(s)}notify(a,...s){this.events[a]&&this.events[a].notify(...s)}scheduleRenderMicrotask(){Ff.render(this.render)}}class sv extends T2{constructor(){super(...arguments),this.KeyframeResolver=PT}sortInstanceNodePosition(a,s){return a.compareDocumentPosition(s)&2?1:-1}getBaseTargetFromProps(a,s){const o=a.style;return o?o[s]:void 0}removeValueFromRenderState(a,{vars:s,style:o}){delete s[a],delete o[a]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:a}=this.props;pe(a)&&(this.childSubscription=a.on("change",s=>{this.current&&(this.current.textContent=`${s}`)}))}}class zi{constructor(a){this.isMounted=!1,this.node=a}update(){}}function ov({top:i,left:a,right:s,bottom:o}){return{x:{min:a,max:s},y:{min:i,max:o}}}function A2({x:i,y:a}){return{top:a.min,right:i.max,bottom:a.max,left:i.min}}function E2(i,a){if(!a)return i;const s=a({x:i.left,y:i.top}),o=a({x:i.right,y:i.bottom});return{top:s.y,left:s.x,bottom:o.y,right:o.x}}function Gc(i){return i===void 0||i===1}function xf({scale:i,scaleX:a,scaleY:s}){return!Gc(i)||!Gc(a)||!Gc(s)}function Ii(i){return xf(i)||rv(i)||i.z||i.rotate||i.rotateX||i.rotateY||i.skewX||i.skewY}function rv(i){return Hg(i.x)||Hg(i.y)}function Hg(i){return i&&i!=="0%"}function nr(i,a,s){const o=i-s,c=a*o;return s+c}function kg(i,a,s,o,c){return c!==void 0&&(i=nr(i,c,o)),nr(i,s,o)+a}function Tf(i,a=0,s=1,o,c){i.min=kg(i.min,a,s,o,c),i.max=kg(i.max,a,s,o,c)}function uv(i,{x:a,y:s}){Tf(i.x,a.translate,a.scale,a.originPoint),Tf(i.y,s.translate,s.scale,s.originPoint)}const Yg=.999999999999,Xg=1.0000000000001;function M2(i,a,s,o=!1){var m;const c=s.length;if(!c)return;a.x=a.y=1;let f,d;for(let g=0;gYg&&(a.x=1),a.yYg&&(a.y=1)}function Tn(i,a){i.min+=a,i.max+=a}function Gg(i,a,s,o,c=.5){const f=Xt(i.min,i.max,c);Tf(i,a,s,f,o)}function qg(i,a){return typeof i=="string"?parseFloat(i)/100*(a.max-a.min):i}function Zo(i,a,s){const o=s??i;Gg(i.x,qg(a.x,o.x),a.scaleX,a.scale,a.originX),Gg(i.y,qg(a.y,o.y),a.scaleY,a.scale,a.originY)}function cv(i,a){return ov(E2(i.getBoundingClientRect(),a))}function w2(i,a,s){const o=cv(i,s),{scroll:c}=a;return c&&(Tn(o.x,c.offset.x),Tn(o.y,c.offset.y)),o}const C2={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},D2=ll.length;function z2(i,a,s){let o="",c=!0;for(let f=0;f{if(!a.target)return i;if(typeof i=="string")if(it.test(i))i=parseFloat(i);else return i;const s=Zg(i,a.target.x),o=Zg(i,a.target.y);return`${s}% ${o}%`}},R2={correct:(i,{treeScale:a,projectionDelta:s})=>{const o=i,c=hn.parse(i);if(c.length>5)return o;const f=hn.createTransformer(i),d=typeof c[0]!="number"?1:0,m=s.x.scale*a.x,g=s.y.scale*a.y;c[0+d]/=m,c[1+d]/=g;const p=Xt(m,g,.5);return typeof c[2+d]=="number"&&(c[2+d]/=p),typeof c[3+d]=="number"&&(c[3+d]/=p),f(c)}},Af={borderRadius:{...$l,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:$l,borderTopRightRadius:$l,borderBottomLeftRadius:$l,borderBottomRightRadius:$l,boxShadow:R2};function dv(i,{layout:a,layoutId:s}){return sl.has(i)||i.startsWith("origin")||(a||s!==void 0)&&(!!Af[i]||i==="opacity")}function nd(i,a,s){var d;const o=i.style,c=a==null?void 0:a.style,f={};if(!o)return f;for(const m in o)(pe(o[m])||c&&pe(c[m])||dv(m,i)||((d=s==null?void 0:s.getValue(m))==null?void 0:d.liveStyle)!==void 0)&&(f[m]=o[m]);return f}function O2(i){return window.getComputedStyle(i)}class V2 extends sv{constructor(){super(...arguments),this.type="html",this.renderInstance=fv}readValueFromInstance(a,s){var o;if(sl.has(s))return(o=this.projection)!=null&&o.isProjecting?uf(s):Wx(a,s);{const c=O2(a),f=(S0(s)?c.getPropertyValue(s):c[s])||0;return typeof f=="string"?f.trim():f}}measureInstanceViewportBox(a,{transformPagePoint:s}){return cv(a,s)}build(a,s,o){ed(a,s,o.transformTemplate)}scrapeMotionValuesFromProps(a,s,o){return nd(a,s,o)}}const N2={offset:"stroke-dashoffset",array:"stroke-dasharray"},_2={offset:"strokeDashoffset",array:"strokeDasharray"};function B2(i,a,s=1,o=0,c=!0){i.pathLength=1;const f=c?N2:_2;i[f.offset]=`${-o}`,i[f.array]=`${a} ${s}`}const U2=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function hv(i,{attrX:a,attrY:s,attrScale:o,pathLength:c,pathSpacing:f=1,pathOffset:d=0,...m},g,p,v){if(ed(i,m,p),g){i.style.viewBox&&(i.attrs.viewBox=i.style.viewBox);return}i.attrs=i.style,i.style={};const{attrs:b,style:S}=i;b.transform&&(S.transform=b.transform,delete b.transform),(S.transform||b.transformOrigin)&&(S.transformOrigin=b.transformOrigin??"50% 50%",delete b.transformOrigin),S.transform&&(S.transformBox=(v==null?void 0:v.transformBox)??"fill-box",delete b.transformBox);for(const A of U2)b[A]!==void 0&&(S[A]=b[A],delete b[A]);a!==void 0&&(b.x=a),s!==void 0&&(b.y=s),o!==void 0&&(b.scale=o),c!==void 0&&B2(b,c,f,d,!1)}const mv=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]),pv=i=>typeof i=="string"&&i.toLowerCase()==="svg";function L2(i,a,s,o){fv(i,a,void 0,o);for(const c in a.attrs)i.setAttribute(mv.has(c)?c:Jf(c),a.attrs[c])}function gv(i,a,s){const o=nd(i,a,s);for(const c in i)if(pe(i[c])||pe(a[c])){const f=ll.indexOf(c)!==-1?"attr"+c.charAt(0).toUpperCase()+c.substring(1):c;o[f]=i[c]}return o}class j2 extends sv{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=ie}getBaseTargetFromProps(a,s){return a[s]}readValueFromInstance(a,s){if(sl.has(s)){const o=P0(s);return o&&o.default||0}return s=mv.has(s)?s:Jf(s),a.getAttribute(s)}scrapeMotionValuesFromProps(a,s,o){return gv(a,s,o)}build(a,s,o){hv(a,s,this.isSVGTag,o.transformTemplate,o.style)}renderInstance(a,s,o,c){L2(a,s,o,c)}mount(a){this.isSVGTag=pv(a.tagName),super.mount(a)}}const H2=td.length;function yv(i){if(!i)return;if(!i.isControllingVariants){const s=i.parent?yv(i.parent)||{}:{};return i.props.initial!==void 0&&(s.initial=i.props.initial),s}const a={};for(let s=0;sPromise.all(a.map(({animation:s,options:o})=>jT(i,s,o)))}function G2(i){let a=X2(i),s=Kg(),o=!0,c=!1;const f=p=>(v,b)=>{var A;const S=ia(i,b,p==="exit"?(A=i.presenceContext)==null?void 0:A.custom:void 0);if(S){const{transition:C,transitionEnd:N,..._}=S;v={...v,..._,...N}}return v};function d(p){a=p(i)}function m(p){const{props:v}=i,b=yv(i.parent)||{},S=[],A=new Set;let C={},N=1/0;for(let B=0;BN&&Y,tt=!1;const W=Array.isArray(J)?J:[J];let dt=W.reduce(f(Z),{});ut===!1&&(dt={});const{prevResolvedValues:St={}}=X,wt={...St,...dt},lt=Q=>{ct=!0,A.has(Q)&&(tt=!0,A.delete(Q)),X.needsAnimating[Q]=!0;const ot=i.getValue(Q);ot&&(ot.liveStyle=!1)};for(const Q in wt){const ot=dt[Q],G=St[Q];if(C.hasOwnProperty(Q))continue;let x=!1;pf(ot)&&pf(G)?x=!vv(ot,G):x=ot!==G,x?ot!=null?lt(Q):A.add(Q):ot!==void 0&&A.has(Q)?lt(Q):X.protectedKeys[Q]=!0}X.prevProp=J,X.prevResolvedValues=dt,X.isActive&&(C={...C,...dt}),(o||c)&&i.blockInitialAnimation&&(ct=!1);const w=F&&k;ct&&(!w||tt)&&S.push(...W.map(Q=>{const ot={type:Z};if(typeof Q=="string"&&(o||c)&&!w&&i.manuallyAnimateOnMount&&i.parent){const{parent:G}=i,x=ia(G,Q);if(G.enteringChildren&&x){const{delayChildren:V}=x.transition||{};ot.delay=k0(G.enteringChildren,i,V)}}return{animation:Q,options:ot}}))}if(A.size){const B={};if(typeof v.initial!="boolean"){const Z=ia(i,Array.isArray(v.initial)?v.initial[0]:v.initial);Z&&Z.transition&&(B.transition=Z.transition)}A.forEach(Z=>{const X=i.getBaseTarget(Z),J=i.getValue(Z);J&&(J.liveStyle=!0),B[Z]=X??null}),S.push({animation:B})}let _=!!S.length;return o&&(v.initial===!1||v.initial===v.animate)&&!i.manuallyAnimateOnMount&&(_=!1),o=!1,c=!1,_?a(S):Promise.resolve()}function g(p,v){var S;if(s[p].isActive===v)return Promise.resolve();(S=i.variantChildren)==null||S.forEach(A=>{var C;return(C=A.animationState)==null?void 0:C.setActive(p,v)}),s[p].isActive=v;const b=m(p);for(const A in s)s[A].protectedKeys={};return b}return{animateChanges:m,setActive:g,setAnimateFunction:d,getState:()=>s,reset:()=>{s=Kg(),c=!0}}}function q2(i,a){return typeof a=="string"?a!==i:Array.isArray(a)?!vv(a,i):!1}function Wi(i=!1){return{isActive:i,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function Kg(){return{animate:Wi(!0),whileInView:Wi(),whileHover:Wi(),whileTap:Wi(),whileDrag:Wi(),whileFocus:Wi(),exit:Wi()}}function Ef(i,a){i.min=a.min,i.max=a.max}function fn(i,a){Ef(i.x,a.x),Ef(i.y,a.y)}function Qg(i,a){i.translate=a.translate,i.scale=a.scale,i.originPoint=a.originPoint,i.origin=a.origin}const bv=1e-4,Z2=1-bv,K2=1+bv,Sv=.01,Q2=0-Sv,J2=0+Sv;function Me(i){return i.max-i.min}function P2(i,a,s){return Math.abs(i-a)<=s}function Jg(i,a,s,o=.5){i.origin=o,i.originPoint=Xt(a.min,a.max,i.origin),i.scale=Me(s)/Me(a),i.translate=Xt(s.min,s.max,i.origin)-i.originPoint,(i.scale>=Z2&&i.scale<=K2||isNaN(i.scale))&&(i.scale=1),(i.translate>=Q2&&i.translate<=J2||isNaN(i.translate))&&(i.translate=0)}function as(i,a,s,o){Jg(i.x,a.x,s.x,o?o.originX:void 0),Jg(i.y,a.y,s.y,o?o.originY:void 0)}function Pg(i,a,s,o=0){const c=o?Xt(s.min,s.max,o):s.min;i.min=c+a.min,i.max=i.min+Me(a)}function F2(i,a,s,o){Pg(i.x,a.x,s.x,o==null?void 0:o.x),Pg(i.y,a.y,s.y,o==null?void 0:o.y)}function Fg(i,a,s,o=0){const c=o?Xt(s.min,s.max,o):s.min;i.min=a.min-c,i.max=i.min+Me(a)}function ir(i,a,s,o){Fg(i.x,a.x,s.x,o==null?void 0:o.x),Fg(i.y,a.y,s.y,o==null?void 0:o.y)}function Wg(i,a,s,o,c){return i-=a,i=nr(i,1/s,o),c!==void 0&&(i=nr(i,1/c,o)),i}function W2(i,a=0,s=1,o=.5,c,f=i,d=i){if(An.test(a)&&(a=parseFloat(a),a=Xt(d.min,d.max,a/100)-d.min),typeof a!="number")return;let m=Xt(f.min,f.max,o);i===f&&(m-=a),i.min=Wg(i.min,a,s,m,c),i.max=Wg(i.max,a,s,m,c)}function $g(i,a,[s,o,c],f,d){W2(i,a[s],a[o],a[c],a.scale,f,d)}const $2=["x","scaleX","originX"],I2=["y","scaleY","originY"];function Ig(i,a,s,o){$g(i.x,a,$2,s?s.x:void 0,o?o.x:void 0),$g(i.y,a,I2,s?s.y:void 0,o?o.y:void 0)}function ty(i){return i.translate===0&&i.scale===1}function xv(i){return ty(i.x)&&ty(i.y)}function ey(i,a){return i.min===a.min&&i.max===a.max}function tA(i,a){return ey(i.x,a.x)&&ey(i.y,a.y)}function ny(i,a){return Math.round(i.min)===Math.round(a.min)&&Math.round(i.max)===Math.round(a.max)}function Tv(i,a){return ny(i.x,a.x)&&ny(i.y,a.y)}function iy(i){return Me(i.x)/Me(i.y)}function ay(i,a){return i.translate===a.translate&&i.scale===a.scale&&i.originPoint===a.originPoint}function xn(i){return[i("x"),i("y")]}function eA(i,a,s){let o="";const c=i.x.translate/a.x,f=i.y.translate/a.y,d=(s==null?void 0:s.z)||0;if((c||f||d)&&(o=`translate3d(${c}px, ${f}px, ${d}px) `),(a.x!==1||a.y!==1)&&(o+=`scale(${1/a.x}, ${1/a.y}) `),s){const{transformPerspective:p,rotate:v,rotateX:b,rotateY:S,skewX:A,skewY:C}=s;p&&(o=`perspective(${p}px) ${o}`),v&&(o+=`rotate(${v}deg) `),b&&(o+=`rotateX(${b}deg) `),S&&(o+=`rotateY(${S}deg) `),A&&(o+=`skewX(${A}deg) `),C&&(o+=`skewY(${C}deg) `)}const m=i.x.scale*a.x,g=i.y.scale*a.y;return(m!==1||g!==1)&&(o+=`scale(${m}, ${g})`),o||"none"}const Av=["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"],nA=Av.length,ly=i=>typeof i=="string"?parseFloat(i):i,sy=i=>typeof i=="number"||it.test(i);function iA(i,a,s,o,c,f){c?(i.opacity=Xt(0,s.opacity??1,aA(o)),i.opacityExit=Xt(a.opacity??1,0,lA(o))):f&&(i.opacity=Xt(a.opacity??1,s.opacity??1,o));for(let d=0;doa?1:s(os(i,a,o))}function sA(i,a,s){const o=pe(i)?i:il(i);return o.start(Kf("",o,a,s)),o.animation}function cs(i,a,s,o={passive:!0}){return i.addEventListener(a,s,o),()=>i.removeEventListener(a,s)}const oA=(i,a)=>i.depth-a.depth;class rA{constructor(){this.children=[],this.isDirty=!1}add(a){Nf(this.children,a),this.isDirty=!0}remove(a){Fo(this.children,a),this.isDirty=!0}forEach(a){this.isDirty&&this.children.sort(oA),this.isDirty=!1,this.children.forEach(a)}}function uA(i,a){const s=Ee.now(),o=({timestamp:c})=>{const f=c-s;f>=a&&(Di(o),i(f-a))};return Ht.setup(o,!0),()=>Di(o)}function Ko(i){return pe(i)?i.get():i}class cA{constructor(){this.members=[]}add(a){Nf(this.members,a);for(let s=this.members.length-1;s>=0;s--){const o=this.members[s];if(o===a||o===this.lead||o===this.prevLead)continue;const c=o.instance;(!c||c.isConnected===!1)&&!o.snapshot&&(Fo(this.members,o),o.unmount())}a.scheduleRender()}remove(a){if(Fo(this.members,a),a===this.prevLead&&(this.prevLead=void 0),a===this.lead){const s=this.members[this.members.length-1];s&&this.promote(s)}}relegate(a){var s;for(let o=this.members.indexOf(a)-1;o>=0;o--){const c=this.members[o];if(c.isPresent!==!1&&((s=c.instance)==null?void 0:s.isConnected)!==!1)return this.promote(c),!0}return!1}promote(a,s){var c;const o=this.lead;if(a!==o&&(this.prevLead=o,this.lead=a,a.show(),o)){o.updateSnapshot(),a.scheduleRender();const{layoutDependency:f}=o.options,{layoutDependency:d}=a.options;(f===void 0||f!==d)&&(a.resumeFrom=o,s&&(o.preserveOpacity=!0),o.snapshot&&(a.snapshot=o.snapshot,a.snapshot.latestValues=o.animationValues||o.latestValues),(c=a.root)!=null&&c.isUpdating&&(a.isLayoutDirty=!0)),a.options.crossfade===!1&&o.hide()}}exitAnimationComplete(){this.members.forEach(a=>{var s,o,c,f,d;(o=(s=a.options).onExitComplete)==null||o.call(s),(d=(c=a.resumingFrom)==null?void 0:(f=c.options).onExitComplete)==null||d.call(f)})}scheduleRender(){this.members.forEach(a=>a.instance&&a.scheduleRender(!1))}removeLeadSnapshot(){var a;(a=this.lead)!=null&&a.snapshot&&(this.lead.snapshot=void 0)}}const Qo={hasAnimatedSinceResize:!0,hasEverUpdated:!1},qc=["","X","Y","Z"],fA=1e3;let dA=0;function Zc(i,a,s,o){const{latestValues:c}=a;c[i]&&(s[i]=c[i],a.setStaticValue(i,0),o&&(o[i]=0))}function Mv(i){if(i.hasCheckedOptimisedAppear=!0,i.root===i)return;const{visualElement:a}=i.options;if(!a)return;const s=Z0(a);if(window.MotionHasOptimisedAnimation(s,"transform")){const{layout:c,layoutId:f}=i.options;window.MotionCancelOptimisedAnimation(s,"transform",Ht,!(c||f))}const{parent:o}=i;o&&!o.hasCheckedOptimisedAppear&&Mv(o)}function wv({attachResizeListener:i,defaultParent:a,measureScroll:s,checkIsScrollRoot:o,resetTransform:c}){return class{constructor(d={},m=a==null?void 0:a()){this.id=dA++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,this.nodes.forEach(pA),this.nodes.forEach(xA),this.nodes.forEach(TA),this.nodes.forEach(gA)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=d,this.root=m?m.root||m:this,this.path=m?[...m.path,m]:[],this.parent=m,this.depth=m?m.depth+1:0;for(let g=0;gthis.root.updateBlockedByResize=!1;Ht.read(()=>{b=window.innerWidth}),i(d,()=>{const A=window.innerWidth;A!==b&&(b=A,this.root.updateBlockedByResize=!0,v&&v(),v=uA(S,250),Qo.hasAnimatedSinceResize&&(Qo.hasAnimatedSinceResize=!1,this.nodes.forEach(cy)))})}m&&this.root.registerSharedNode(m,this),this.options.animate!==!1&&p&&(m||g)&&this.addEventListener("didUpdate",({delta:v,hasLayoutChanged:b,hasRelativeLayoutChanged:S,layout:A})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const C=this.options.transition||p.getDefaultTransition()||CA,{onLayoutAnimationStart:N,onLayoutAnimationComplete:_}=p.getProps(),B=!this.targetLayout||!Tv(this.targetLayout,A),Z=!b&&S;if(this.options.layoutRoot||this.resumeFrom||Z||b&&(B||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const X={...Zf(C,"layout"),onPlay:N,onComplete:_};(p.shouldReduceMotion||this.options.layoutRoot)&&(X.delay=0,X.type=!1),this.startAnimation(X),this.setAnimationOrigin(v,Z)}else b||cy(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=A})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const d=this.getStack();d&&d.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),Di(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(AA),this.animationId++)}getTransformTemplate(){const{visualElement:d}=this.options;return d&&d.getProps().transformTemplate}willUpdate(d=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&Mv(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let v=0;v{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!Me(this.snapshot.measuredBox.x)&&!Me(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let g=0;g{const Y=J/1e3;fy(b.x,d.x,Y),fy(b.y,d.y,Y),this.setTargetDelta(b),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(ir(S,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),MA(this.relativeTarget,this.relativeTargetOrigin,S,Y),X&&tA(this.relativeTarget,X)&&(this.isProjectionDirty=!1),X||(X=ie()),fn(X,this.relativeTarget)),N&&(this.animationValues=v,iA(v,p,this.latestValues,Y,Z,B)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=Y},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(d){var m,g,p;this.notifyListeners("animationStart"),(m=this.currentAnimation)==null||m.stop(),(p=(g=this.resumingFrom)==null?void 0:g.currentAnimation)==null||p.stop(),this.pendingAnimation&&(Di(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=Ht.update(()=>{Qo.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=il(0)),this.motionValue.jump(0,!1),this.currentAnimation=sA(this.motionValue,[0,1e3],{...d,velocity:0,isSync:!0,onUpdate:v=>{this.mixTargetDelta(v),d.onUpdate&&d.onUpdate(v)},onStop:()=>{},onComplete:()=>{d.onComplete&&d.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const d=this.getStack();d&&d.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(fA),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const d=this.getLead();let{targetWithTransforms:m,target:g,layout:p,latestValues:v}=d;if(!(!m||!g||!p)){if(this!==d&&this.layout&&p&&Cv(this.options.animationType,this.layout.layoutBox,p.layoutBox)){g=this.target||ie();const b=Me(this.layout.layoutBox.x);g.x.min=d.target.x.min,g.x.max=g.x.min+b;const S=Me(this.layout.layoutBox.y);g.y.min=d.target.y.min,g.y.max=g.y.min+S}fn(m,g),Zo(m,v),as(this.projectionDeltaWithTransform,this.layoutCorrected,m,v)}}registerSharedNode(d,m){this.sharedNodes.has(d)||this.sharedNodes.set(d,new cA),this.sharedNodes.get(d).add(m);const p=m.options.initialPromotionConfig;m.promote({transition:p?p.transition:void 0,preserveFollowOpacity:p&&p.shouldPreserveFollowOpacity?p.shouldPreserveFollowOpacity(m):void 0})}isLead(){const d=this.getStack();return d?d.lead===this:!0}getLead(){var m;const{layoutId:d}=this.options;return d?((m=this.getStack())==null?void 0:m.lead)||this:this}getPrevLead(){var m;const{layoutId:d}=this.options;return d?(m=this.getStack())==null?void 0:m.prevLead:void 0}getStack(){const{layoutId:d}=this.options;if(d)return this.root.sharedNodes.get(d)}promote({needsReset:d,transition:m,preserveFollowOpacity:g}={}){const p=this.getStack();p&&p.promote(this,g),d&&(this.projectionDelta=void 0,this.needsReset=!0),m&&this.setOptions({transition:m})}relegate(){const d=this.getStack();return d?d.relegate(this):!1}resetSkewAndRotation(){const{visualElement:d}=this.options;if(!d)return;let m=!1;const{latestValues:g}=d;if((g.z||g.rotate||g.rotateX||g.rotateY||g.rotateZ||g.skewX||g.skewY)&&(m=!0),!m)return;const p={};g.z&&Zc("z",d,p,this.animationValues);for(let v=0;v{var m;return(m=d.currentAnimation)==null?void 0:m.stop()}),this.root.nodes.forEach(ry),this.root.sharedNodes.clear()}}}function hA(i){i.updateLayout()}function mA(i){var s;const a=((s=i.resumeFrom)==null?void 0:s.snapshot)||i.snapshot;if(i.isLead()&&i.layout&&a&&i.hasListeners("didUpdate")){const{layoutBox:o,measuredBox:c}=i.layout,{animationType:f}=i.options,d=a.source!==i.layout.source;if(f==="size")xn(b=>{const S=d?a.measuredBox[b]:a.layoutBox[b],A=Me(S);S.min=o[b].min,S.max=S.min+A});else if(f==="x"||f==="y"){const b=f==="x"?"y":"x";Ef(d?a.measuredBox[b]:a.layoutBox[b],o[b])}else Cv(f,a.layoutBox,o)&&xn(b=>{const S=d?a.measuredBox[b]:a.layoutBox[b],A=Me(o[b]);S.max=S.min+A,i.relativeTarget&&!i.currentAnimation&&(i.isProjectionDirty=!0,i.relativeTarget[b].max=i.relativeTarget[b].min+A)});const m=tl();as(m,o,a.layoutBox);const g=tl();d?as(g,i.applyTransform(c,!0),a.measuredBox):as(g,o,a.layoutBox);const p=!xv(m);let v=!1;if(!i.resumeFrom){const b=i.getClosestProjectingParent();if(b&&!b.resumeFrom){const{snapshot:S,layout:A}=b;if(S&&A){const C=i.options.layoutAnchor||void 0,N=ie();ir(N,a.layoutBox,S.layoutBox,C);const _=ie();ir(_,o,A.layoutBox,C),Tv(N,_)||(v=!0),b.options.layoutRoot&&(i.relativeTarget=_,i.relativeTargetOrigin=N,i.relativeParent=b)}}}i.notifyListeners("didUpdate",{layout:o,snapshot:a,delta:g,layoutDelta:m,hasLayoutChanged:p,hasRelativeLayoutChanged:v})}else if(i.isLead()){const{onExitComplete:o}=i.options;o&&o()}i.options.transition=void 0}function pA(i){i.parent&&(i.isProjecting()||(i.isProjectionDirty=i.parent.isProjectionDirty),i.isSharedProjectionDirty||(i.isSharedProjectionDirty=!!(i.isProjectionDirty||i.parent.isProjectionDirty||i.parent.isSharedProjectionDirty)),i.isTransformDirty||(i.isTransformDirty=i.parent.isTransformDirty))}function gA(i){i.isProjectionDirty=i.isSharedProjectionDirty=i.isTransformDirty=!1}function yA(i){i.clearSnapshot()}function ry(i){i.clearMeasurements()}function vA(i){i.isLayoutDirty=!0,i.updateLayout()}function uy(i){i.isLayoutDirty=!1}function bA(i){i.isAnimationBlocked&&i.layout&&!i.isLayoutDirty&&(i.snapshot=i.layout,i.isLayoutDirty=!0)}function SA(i){const{visualElement:a}=i.options;a&&a.getProps().onBeforeLayoutMeasure&&a.notify("BeforeLayoutMeasure"),i.resetTransform()}function cy(i){i.finishAnimation(),i.targetDelta=i.relativeTarget=i.target=void 0,i.isProjectionDirty=!0}function xA(i){i.resolveTargetDelta()}function TA(i){i.calcProjection()}function AA(i){i.resetSkewAndRotation()}function EA(i){i.removeLeadSnapshot()}function fy(i,a,s){i.translate=Xt(a.translate,0,s),i.scale=Xt(a.scale,1,s),i.origin=a.origin,i.originPoint=a.originPoint}function dy(i,a,s,o){i.min=Xt(a.min,s.min,o),i.max=Xt(a.max,s.max,o)}function MA(i,a,s,o){dy(i.x,a.x,s.x,o),dy(i.y,a.y,s.y,o)}function wA(i){return i.animationValues&&i.animationValues.opacityExit!==void 0}const CA={duration:.45,ease:[.4,0,.1,1]},hy=i=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(i),my=hy("applewebkit/")&&!hy("chrome/")?Math.round:tn;function py(i){i.min=my(i.min),i.max=my(i.max)}function DA(i){py(i.x),py(i.y)}function Cv(i,a,s){return i==="position"||i==="preserve-aspect"&&!P2(iy(a),iy(s),.2)}function zA(i){var a;return i!==i.root&&((a=i.scroll)==null?void 0:a.wasRoot)}const RA=wv({attachResizeListener:(i,a)=>cs(i,"resize",a),measureScroll:()=>{var i,a;return{x:document.documentElement.scrollLeft||((i=document.body)==null?void 0:i.scrollLeft)||0,y:document.documentElement.scrollTop||((a=document.body)==null?void 0:a.scrollTop)||0}},checkIsScrollRoot:()=>!0}),Kc={current:void 0},Dv=wv({measureScroll:i=>({x:i.scrollLeft,y:i.scrollTop}),defaultParent:()=>{if(!Kc.current){const i=new RA({});i.mount(window),i.setOptions({layoutScroll:!0}),Kc.current=i}return Kc.current},resetTransform:(i,a)=>{i.style.transform=a!==void 0?a:"none"},checkIsScrollRoot:i=>window.getComputedStyle(i).position==="fixed"}),zv=L.createContext({transformPagePoint:i=>i,isStatic:!1,reducedMotion:"never"});function OA(i=!0){const a=L.useContext(Vf);if(a===null)return[!0,null];const{isPresent:s,onExitComplete:o,register:c}=a,f=L.useId();L.useEffect(()=>{if(i)return c(f)},[i]);const d=L.useCallback(()=>i&&o&&o(f),[f,o,i]);return!s&&o?[!1,d]:[!0]}const Rv=L.createContext({strict:!1}),gy={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]};let yy=!1;function VA(){if(yy)return;const i={};for(const a in gy)i[a]={isEnabled:s=>gy[a].some(o=>!!s[o])};lv(i),yy=!0}function Ov(){return VA(),x2()}function NA(i){const a=Ov();for(const s in i)a[s]={...a[s],...i[s]};lv(a)}const _A=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","propagate","ignoreStrict","viewport"]);function ar(i){return i.startsWith("while")||i.startsWith("drag")&&i!=="draggable"||i.startsWith("layout")||i.startsWith("onTap")||i.startsWith("onPan")||i.startsWith("onLayout")||_A.has(i)}let Vv=i=>!ar(i);function BA(i){typeof i=="function"&&(Vv=a=>a.startsWith("on")?!ar(a):i(a))}try{BA(require("@emotion/is-prop-valid").default)}catch{}function UA(i,a,s){const o={};for(const c in i)c==="values"&&typeof i.values=="object"||pe(i[c])||(Vv(c)||s===!0&&ar(c)||!a&&!ar(c)||i.draggable&&c.startsWith("onDrag"))&&(o[c]=i[c]);return o}const dr=L.createContext({});function LA(i,a){if(fr(i)){const{initial:s,animate:o}=i;return{initial:s===!1||us(s)?s:void 0,animate:us(o)?o:void 0}}return i.inherit!==!1?a:{}}function jA(i){const{initial:a,animate:s}=LA(i,L.useContext(dr));return L.useMemo(()=>({initial:a,animate:s}),[vy(a),vy(s)])}function vy(i){return Array.isArray(i)?i.join(" "):i}const id=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function Nv(i,a,s){for(const o in a)!pe(a[o])&&!dv(o,s)&&(i[o]=a[o])}function HA({transformTemplate:i},a){return L.useMemo(()=>{const s=id();return ed(s,a,i),Object.assign({},s.vars,s.style)},[a])}function kA(i,a){const s=i.style||{},o={};return Nv(o,s,i),Object.assign(o,HA(i,a)),o}function YA(i,a){const s={},o=kA(i,a);return i.drag&&i.dragListener!==!1&&(s.draggable=!1,o.userSelect=o.WebkitUserSelect=o.WebkitTouchCallout="none",o.touchAction=i.drag===!0?"none":`pan-${i.drag==="x"?"y":"x"}`),i.tabIndex===void 0&&(i.onTap||i.onTapStart||i.whileTap)&&(s.tabIndex=0),s.style=o,s}const _v=()=>({...id(),attrs:{}});function XA(i,a,s,o){const c=L.useMemo(()=>{const f=_v();return hv(f,a,pv(o),i.transformTemplate,i.style),{...f.attrs,style:{...f.style}}},[a]);if(i.style){const f={};Nv(f,i.style,i),c.style={...f,...c.style}}return c}const GA=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function ad(i){return typeof i!="string"||i.includes("-")?!1:!!(GA.indexOf(i)>-1||/[A-Z]/u.test(i))}function qA(i,a,s,{latestValues:o},c,f=!1,d){const g=(d??ad(i)?XA:YA)(a,o,c,i),p=UA(a,typeof i=="string",f),v=i!==L.Fragment?{...p,...g,ref:s}:{},{children:b}=a,S=L.useMemo(()=>pe(b)?b.get():b,[b]);return L.createElement(i,{...v,children:S})}function ZA({scrapeMotionValuesFromProps:i,createRenderState:a},s,o,c){return{latestValues:KA(s,o,c,i),renderState:a()}}function KA(i,a,s,o){const c={},f=o(i,{});for(const S in f)c[S]=Ko(f[S]);let{initial:d,animate:m}=i;const g=fr(i),p=iv(i);a&&p&&!g&&i.inherit!==!1&&(d===void 0&&(d=a.initial),m===void 0&&(m=a.animate));let v=s?s.initial===!1:!1;v=v||d===!1;const b=v?m:d;if(b&&typeof b!="boolean"&&!cr(b)){const S=Array.isArray(b)?b:[b];for(let A=0;A(a,s)=>{const o=L.useContext(dr),c=L.useContext(Vf),f=()=>ZA(i,a,o,c);return s?f():GS(f)},QA=Bv({scrapeMotionValuesFromProps:nd,createRenderState:id}),JA=Bv({scrapeMotionValuesFromProps:gv,createRenderState:_v}),PA=Symbol.for("motionComponentSymbol");function FA(i,a,s){const o=L.useRef(s);L.useInsertionEffect(()=>{o.current=s});const c=L.useRef(null);return L.useCallback(f=>{var m;f&&((m=i.onMount)==null||m.call(i,f));const d=o.current;if(typeof d=="function")if(f){const g=d(f);typeof g=="function"&&(c.current=g)}else c.current?(c.current(),c.current=null):d(f);else d&&(d.current=f);a&&(f?a.mount(f):a.unmount())},[a])}const Uv=L.createContext({});function Pa(i){return i&&typeof i=="object"&&Object.prototype.hasOwnProperty.call(i,"current")}function WA(i,a,s,o,c,f){var X,J;const{visualElement:d}=L.useContext(dr),m=L.useContext(Rv),g=L.useContext(Vf),p=L.useContext(zv),v=p.reducedMotion,b=p.skipAnimations,S=L.useRef(null),A=L.useRef(!1);o=o||m.renderer,!S.current&&o&&(S.current=o(i,{visualState:a,parent:d,props:s,presenceContext:g,blockInitialAnimation:g?g.initial===!1:!1,reducedMotionConfig:v,skipAnimations:b,isSVG:f}),A.current&&S.current&&(S.current.manuallyAnimateOnMount=!0));const C=S.current,N=L.useContext(Uv);C&&!C.projection&&c&&(C.type==="html"||C.type==="svg")&&$A(S.current,s,c,N);const _=L.useRef(!1);L.useInsertionEffect(()=>{C&&_.current&&C.update(s,g)});const B=s[q0],Z=L.useRef(!!B&&typeof window<"u"&&!((X=window.MotionHandoffIsComplete)!=null&&X.call(window,B))&&((J=window.MotionHasOptimisedAnimation)==null?void 0:J.call(window,B)));return ZS(()=>{A.current=!0,C&&(_.current=!0,window.MotionIsMounted=!0,C.updateFeatures(),C.scheduleRenderMicrotask(),Z.current&&C.animationState&&C.animationState.animateChanges())}),L.useEffect(()=>{C&&(!Z.current&&C.animationState&&C.animationState.animateChanges(),Z.current&&(queueMicrotask(()=>{var Y;(Y=window.MotionHandoffMarkAsComplete)==null||Y.call(window,B)}),Z.current=!1),C.enteringChildren=void 0)}),C}function $A(i,a,s,o){const{layoutId:c,layout:f,drag:d,dragConstraints:m,layoutScroll:g,layoutRoot:p,layoutAnchor:v,layoutCrossfade:b}=a;i.projection=new s(i.latestValues,a["data-framer-portal-id"]?void 0:Lv(i.parent)),i.projection.setOptions({layoutId:c,layout:f,alwaysMeasureLayout:!!d||m&&Pa(m),visualElement:i,animationType:typeof f=="string"?f:"both",initialPromotionConfig:o,crossfade:b,layoutScroll:g,layoutRoot:p,layoutAnchor:v})}function Lv(i){if(i)return i.options.allowProjection!==!1?i.projection:Lv(i.parent)}function Qc(i,{forwardMotionProps:a=!1,type:s}={},o,c){o&&NA(o);const f=s?s==="svg":ad(i),d=f?JA:QA;function m(p,v){let b;const S={...L.useContext(zv),...p,layoutId:IA(p)},{isStatic:A}=S,C=jA(p),N=d(p,A);if(!A&&typeof window<"u"){tE();const _=eE(S);b=_.MeasureLayout,C.visualElement=WA(i,N,S,c,_.ProjectionNode,f)}return $.jsxs(dr.Provider,{value:C,children:[b&&C.visualElement?$.jsx(b,{visualElement:C.visualElement,...S}):null,qA(i,p,FA(N,C.visualElement,v),N,A,a,f)]})}m.displayName=`motion.${typeof i=="string"?i:`create(${i.displayName??i.name??""})`}`;const g=L.forwardRef(m);return g[PA]=i,g}function IA({layoutId:i}){const a=L.useContext(n0).id;return a&&i!==void 0?a+"-"+i:i}function tE(i,a){L.useContext(Rv).strict}function eE(i){const a=Ov(),{drag:s,layout:o}=a;if(!s&&!o)return{};const c={...s,...o};return{MeasureLayout:s!=null&&s.isEnabled(i)||o!=null&&o.isEnabled(i)?c.MeasureLayout:void 0,ProjectionNode:c.ProjectionNode}}function nE(i,a){if(typeof Proxy>"u")return Qc;const s=new Map,o=(f,d)=>Qc(f,d,i,a),c=(f,d)=>o(f,d);return new Proxy(c,{get:(f,d)=>d==="create"?o:(s.has(d)||s.set(d,Qc(d,void 0,i,a)),s.get(d))})}const iE=(i,a)=>a.isSVG??ad(i)?new j2(a):new V2(a,{allowProjection:i!==L.Fragment});class aE extends zi{constructor(a){super(a),a.animationState||(a.animationState=G2(a))}updateAnimationControlsSubscription(){const{animate:a}=this.node.getProps();cr(a)&&(this.unmountControls=a.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:a}=this.node.getProps(),{animate:s}=this.node.prevProps||{};a!==s&&this.updateAnimationControlsSubscription()}unmount(){var a;this.node.animationState.reset(),(a=this.unmountControls)==null||a.call(this)}}let lE=0;class sE extends zi{constructor(){super(...arguments),this.id=lE++,this.isExitComplete=!1}update(){var f;if(!this.node.presenceContext)return;const{isPresent:a,onExitComplete:s}=this.node.presenceContext,{isPresent:o}=this.node.prevPresenceContext||{};if(!this.node.animationState||a===o)return;if(a&&o===!1){if(this.isExitComplete){const{initial:d,custom:m}=this.node.getProps();if(typeof d=="string"){const g=ia(this.node,d,m);if(g){const{transition:p,transitionEnd:v,...b}=g;for(const S in b)(f=this.node.getValue(S))==null||f.jump(b[S])}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive("exit",!1);this.isExitComplete=!1;return}const c=this.node.animationState.setActive("exit",!a);s&&!a&&c.then(()=>{this.isExitComplete=!0,s(this.id)})}mount(){const{register:a,onExitComplete:s}=this.node.presenceContext||{};s&&s(this.id),a&&(this.unmount=a(this.id))}unmount(){}}const oE={animation:{Feature:aE},exit:{Feature:sE}};function ms(i){return{point:{x:i.pageX,y:i.pageY}}}const rE=i=>a=>Wf(a)&&i(a,ms(a));function ls(i,a,s,o){return cs(i,a,rE(s),o)}const jv=({current:i})=>i?i.ownerDocument.defaultView:null,by=(i,a)=>Math.abs(i-a);function uE(i,a){const s=by(i.x,a.x),o=by(i.y,a.y);return Math.sqrt(s**2+o**2)}const Sy=new Set(["auto","scroll"]);class Hv{constructor(a,s,{transformPagePoint:o,contextWindow:c=window,dragSnapToOrigin:f=!1,distanceThreshold:d=3,element:m}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.lastRawMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=A=>{this.handleScroll(A.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;this.lastRawMoveEventInfo&&(this.lastMoveEventInfo=Bo(this.lastRawMoveEventInfo,this.transformPagePoint));const A=Jc(this.lastMoveEventInfo,this.history),C=this.startEvent!==null,N=uE(A.offset,{x:0,y:0})>=this.distanceThreshold;if(!C&&!N)return;const{point:_}=A,{timestamp:B}=me;this.history.push({..._,timestamp:B});const{onStart:Z,onMove:X}=this.handlers;C||(Z&&Z(this.lastMoveEvent,A),this.startEvent=this.lastMoveEvent),X&&X(this.lastMoveEvent,A)},this.handlePointerMove=(A,C)=>{this.lastMoveEvent=A,this.lastRawMoveEventInfo=C,this.lastMoveEventInfo=Bo(C,this.transformPagePoint),Ht.update(this.updatePoint,!0)},this.handlePointerUp=(A,C)=>{this.end();const{onEnd:N,onSessionEnd:_,resumeAnimation:B}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&B&&B(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const Z=Jc(A.type==="pointercancel"?this.lastMoveEventInfo:Bo(C,this.transformPagePoint),this.history);this.startEvent&&N&&N(A,Z),_&&_(A,Z)},!Wf(a))return;this.dragSnapToOrigin=f,this.handlers=s,this.transformPagePoint=o,this.distanceThreshold=d,this.contextWindow=c||window;const g=ms(a),p=Bo(g,this.transformPagePoint),{point:v}=p,{timestamp:b}=me;this.history=[{...v,timestamp:b}];const{onSessionStart:S}=s;S&&S(a,Jc(p,this.history)),this.removeListeners=fs(ls(this.contextWindow,"pointermove",this.handlePointerMove),ls(this.contextWindow,"pointerup",this.handlePointerUp),ls(this.contextWindow,"pointercancel",this.handlePointerUp)),m&&this.startScrollTracking(m)}startScrollTracking(a){let s=a.parentElement;for(;s;){const o=getComputedStyle(s);(Sy.has(o.overflowX)||Sy.has(o.overflowY))&&this.scrollPositions.set(s,{x:s.scrollLeft,y:s.scrollTop}),s=s.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0}),window.addEventListener("scroll",this.onWindowScroll),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(a){const s=this.scrollPositions.get(a);if(!s)return;const o=a===window,c=o?{x:window.scrollX,y:window.scrollY}:{x:a.scrollLeft,y:a.scrollTop},f={x:c.x-s.x,y:c.y-s.y};f.x===0&&f.y===0||(o?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=f.x,this.lastMoveEventInfo.point.y+=f.y):this.history.length>0&&(this.history[0].x-=f.x,this.history[0].y-=f.y),this.scrollPositions.set(a,c),Ht.update(this.updatePoint,!0))}updateHandlers(a){this.handlers=a}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),Di(this.updatePoint)}}function Bo(i,a){return a?{point:a(i.point)}:i}function xy(i,a){return{x:i.x-a.x,y:i.y-a.y}}function Jc({point:i},a){return{point:i,delta:xy(i,kv(a)),offset:xy(i,cE(a)),velocity:fE(a,.1)}}function cE(i){return i[0]}function kv(i){return i[i.length-1]}function fE(i,a){if(i.length<2)return{x:0,y:0};let s=i.length-1,o=null;const c=kv(i);for(;s>=0&&(o=i[s],!(c.timestamp-o.timestamp>Ye(a)));)s--;if(!o)return{x:0,y:0};o===i[0]&&i.length>2&&c.timestamp-o.timestamp>Ye(a)*2&&(o=i[1]);const f=$e(c.timestamp-o.timestamp);if(f===0)return{x:0,y:0};const d={x:(c.x-o.x)/f,y:(c.y-o.y)/f};return d.x===1/0&&(d.x=0),d.y===1/0&&(d.y=0),d}function dE(i,{min:a,max:s},o){return a!==void 0&&is&&(i=o?Xt(s,i,o.max):Math.min(i,s)),i}function Ty(i,a,s){return{min:a!==void 0?i.min+a:void 0,max:s!==void 0?i.max+s-(i.max-i.min):void 0}}function hE(i,{top:a,left:s,bottom:o,right:c}){return{x:Ty(i.x,s,c),y:Ty(i.y,a,o)}}function Ay(i,a){let s=a.min-i.min,o=a.max-i.max;return a.max-a.mino?s=os(a.min,a.max-o,i.min):o>c&&(s=os(i.min,i.max-c,a.min)),En(0,1,s)}function gE(i,a){const s={};return a.min!==void 0&&(s.min=a.min-i.min),a.max!==void 0&&(s.max=a.max-i.min),s}const Mf=.35;function yE(i=Mf){return i===!1?i=0:i===!0&&(i=Mf),{x:Ey(i,"left","right"),y:Ey(i,"top","bottom")}}function Ey(i,a,s){return{min:My(i,a),max:My(i,s)}}function My(i,a){return typeof i=="number"?i:i[a]||0}const vE=new WeakMap;class bE{constructor(a){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=ie(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=a}start(a,{snapToCursor:s=!1,distanceThreshold:o}={}){const{presenceContext:c}=this.visualElement;if(c&&c.isPresent===!1)return;const f=b=>{s&&this.snapToCursor(ms(b).point),this.stopAnimation()},d=(b,S)=>{const{drag:A,dragPropagation:C,onDragStart:N}=this.getProps();if(A&&!C&&(this.openDragLock&&this.openDragLock(),this.openDragLock=WT(A),!this.openDragLock))return;this.latestPointerEvent=b,this.latestPanInfo=S,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),xn(B=>{let Z=this.getAxisMotionValue(B).get()||0;if(An.test(Z)){const{projection:X}=this.visualElement;if(X&&X.layout){const J=X.layout.layoutBox[B];J&&(Z=Me(J)*(parseFloat(Z)/100))}}this.originPoint[B]=Z}),N&&Ht.update(()=>N(b,S),!1,!0),gf(this.visualElement,"transform");const{animationState:_}=this.visualElement;_&&_.setActive("whileDrag",!0)},m=(b,S)=>{this.latestPointerEvent=b,this.latestPanInfo=S;const{dragPropagation:A,dragDirectionLock:C,onDirectionLock:N,onDrag:_}=this.getProps();if(!A&&!this.openDragLock)return;const{offset:B}=S;if(C&&this.currentDirection===null){this.currentDirection=xE(B),this.currentDirection!==null&&N&&N(this.currentDirection);return}this.updateAxis("x",S.point,B),this.updateAxis("y",S.point,B),this.visualElement.render(),_&&Ht.update(()=>_(b,S),!1,!0)},g=(b,S)=>{this.latestPointerEvent=b,this.latestPanInfo=S,this.stop(b,S),this.latestPointerEvent=null,this.latestPanInfo=null},p=()=>{const{dragSnapToOrigin:b}=this.getProps();(b||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:v}=this.getProps();this.panSession=new Hv(a,{onSessionStart:f,onStart:d,onMove:m,onSessionEnd:g,resumeAnimation:p},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:v,distanceThreshold:o,contextWindow:jv(this.visualElement),element:this.visualElement.current})}stop(a,s){const o=a||this.latestPointerEvent,c=s||this.latestPanInfo,f=this.isDragging;if(this.cancel(),!f||!c||!o)return;const{velocity:d}=c;this.startAnimation(d);const{onDragEnd:m}=this.getProps();m&&Ht.postRender(()=>m(o,c))}cancel(){this.isDragging=!1;const{projection:a,animationState:s}=this.visualElement;a&&(a.isAnimationBlocked=!1),this.endPanSession();const{dragPropagation:o}=this.getProps();!o&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),s&&s.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(a,s,o){const{drag:c}=this.getProps();if(!o||!Uo(a,c,this.currentDirection))return;const f=this.getAxisMotionValue(a);let d=this.originPoint[a]+o[a];this.constraints&&this.constraints[a]&&(d=dE(d,this.constraints[a],this.elastic[a])),f.set(d)}resolveConstraints(){var f;const{dragConstraints:a,dragElastic:s}=this.getProps(),o=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(f=this.visualElement.projection)==null?void 0:f.layout,c=this.constraints;a&&Pa(a)?this.constraints||(this.constraints=this.resolveRefConstraints()):a&&o?this.constraints=hE(o.layoutBox,a):this.constraints=!1,this.elastic=yE(s),c!==this.constraints&&!Pa(a)&&o&&this.constraints&&!this.hasMutatedConstraints&&xn(d=>{this.constraints!==!1&&this.getAxisMotionValue(d)&&(this.constraints[d]=gE(o.layoutBox[d],this.constraints[d]))})}resolveRefConstraints(){const{dragConstraints:a,onMeasureDragConstraints:s}=this.getProps();if(!a||!Pa(a))return!1;const o=a.current,{projection:c}=this.visualElement;if(!c||!c.layout)return!1;const f=w2(o,c.root,this.visualElement.getTransformPagePoint());let d=mE(c.layout.layoutBox,f);if(s){const m=s(A2(d));this.hasMutatedConstraints=!!m,m&&(d=ov(m))}return d}startAnimation(a){const{drag:s,dragMomentum:o,dragElastic:c,dragTransition:f,dragSnapToOrigin:d,onDragTransitionEnd:m}=this.getProps(),g=this.constraints||{},p=xn(v=>{if(!Uo(v,s,this.currentDirection))return;let b=g&&g[v]||{};(d===!0||d===v)&&(b={min:0,max:0});const S=c?200:1e6,A=c?40:1e7,C={type:"inertia",velocity:o?a[v]:0,bounceStiffness:S,bounceDamping:A,timeConstant:750,restDelta:1,restSpeed:10,...f,...b};return this.startAxisValueAnimation(v,C)});return Promise.all(p).then(m)}startAxisValueAnimation(a,s){const o=this.getAxisMotionValue(a);return gf(this.visualElement,a),o.start(Kf(a,o,0,s,this.visualElement,!1))}stopAnimation(){xn(a=>this.getAxisMotionValue(a).stop())}getAxisMotionValue(a){const s=`_drag${a.toUpperCase()}`,o=this.visualElement.getProps(),c=o[s];return c||this.visualElement.getValue(a,(o.initial?o.initial[a]:void 0)||0)}snapToCursor(a){xn(s=>{const{drag:o}=this.getProps();if(!Uo(s,o,this.currentDirection))return;const{projection:c}=this.visualElement,f=this.getAxisMotionValue(s);if(c&&c.layout){const{min:d,max:m}=c.layout.layoutBox[s],g=f.get()||0;f.set(a[s]-Xt(d,m,.5)+g)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:a,dragConstraints:s}=this.getProps(),{projection:o}=this.visualElement;if(!Pa(s)||!o||!this.constraints)return;this.stopAnimation();const c={x:0,y:0};xn(d=>{const m=this.getAxisMotionValue(d);if(m&&this.constraints!==!1){const g=m.get();c[d]=pE({min:g,max:g},this.constraints[d])}});const{transformTemplate:f}=this.visualElement.getProps();this.visualElement.current.style.transform=f?f({},""):"none",o.root&&o.root.updateScroll(),o.updateLayout(),this.constraints=!1,this.resolveConstraints(),xn(d=>{if(!Uo(d,a,null))return;const m=this.getAxisMotionValue(d),{min:g,max:p}=this.constraints[d];m.set(Xt(g,p,c[d]))}),this.visualElement.render()}addListeners(){if(!this.visualElement.current)return;vE.set(this.visualElement,this);const a=this.visualElement.current,s=ls(a,"pointerdown",p=>{const{drag:v,dragListener:b=!0}=this.getProps(),S=p.target,A=S!==a&&i2(S);v&&b&&!A&&this.start(p)});let o;const c=()=>{const{dragConstraints:p}=this.getProps();Pa(p)&&p.current&&(this.constraints=this.resolveRefConstraints(),o||(o=SE(a,p.current,()=>this.scalePositionWithinConstraints())))},{projection:f}=this.visualElement,d=f.addEventListener("measure",c);f&&!f.layout&&(f.root&&f.root.updateScroll(),f.updateLayout()),Ht.read(c);const m=cs(window,"resize",()=>this.scalePositionWithinConstraints()),g=f.addEventListener("didUpdate",(({delta:p,hasLayoutChanged:v})=>{this.isDragging&&v&&(xn(b=>{const S=this.getAxisMotionValue(b);S&&(this.originPoint[b]+=p[b].translate,S.set(S.get()+p[b].translate))}),this.visualElement.render())}));return()=>{m(),s(),d(),g&&g(),o&&o()}}getProps(){const a=this.visualElement.getProps(),{drag:s=!1,dragDirectionLock:o=!1,dragPropagation:c=!1,dragConstraints:f=!1,dragElastic:d=Mf,dragMomentum:m=!0}=a;return{...a,drag:s,dragDirectionLock:o,dragPropagation:c,dragConstraints:f,dragElastic:d,dragMomentum:m}}}function wy(i){let a=!0;return()=>{if(a){a=!1;return}i()}}function SE(i,a,s){const o=Bg(i,wy(s)),c=Bg(a,wy(s));return()=>{o(),c()}}function Uo(i,a,s){return(a===!0||a===i)&&(s===null||s===i)}function xE(i,a=10){let s=null;return Math.abs(i.y)>a?s="y":Math.abs(i.x)>a&&(s="x"),s}class TE extends zi{constructor(a){super(a),this.removeGroupControls=tn,this.removeListeners=tn,this.controls=new bE(a)}mount(){const{dragControls:a}=this.node.getProps();a&&(this.removeGroupControls=a.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||tn}update(){const{dragControls:a}=this.node.getProps(),{dragControls:s}=this.node.prevProps||{};a!==s&&(this.removeGroupControls(),a&&(this.removeGroupControls=a.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}}const Pc=i=>(a,s)=>{i&&Ht.update(()=>i(a,s),!1,!0)};class AE extends zi{constructor(){super(...arguments),this.removePointerDownListener=tn}onPointerDown(a){this.session=new Hv(a,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:jv(this.node)})}createPanHandlers(){const{onPanSessionStart:a,onPanStart:s,onPan:o,onPanEnd:c}=this.node.getProps();return{onSessionStart:Pc(a),onStart:Pc(s),onMove:Pc(o),onEnd:(f,d)=>{delete this.session,c&&Ht.postRender(()=>c(f,d))}}}mount(){this.removePointerDownListener=ls(this.node.current,"pointerdown",a=>this.onPointerDown(a))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}let Fc=!1;class EE extends L.Component{componentDidMount(){const{visualElement:a,layoutGroup:s,switchLayoutGroup:o,layoutId:c}=this.props,{projection:f}=a;f&&(s.group&&s.group.add(f),o&&o.register&&c&&o.register(f),Fc&&f.root.didUpdate(),f.addEventListener("animationComplete",()=>{this.safeToRemove()}),f.setOptions({...f.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),Qo.hasEverUpdated=!0}getSnapshotBeforeUpdate(a){const{layoutDependency:s,visualElement:o,drag:c,isPresent:f}=this.props,{projection:d}=o;return d&&(d.isPresent=f,a.layoutDependency!==s&&d.setOptions({...d.options,layoutDependency:s}),Fc=!0,c||a.layoutDependency!==s||s===void 0||a.isPresent!==f?d.willUpdate():this.safeToRemove(),a.isPresent!==f&&(f?d.promote():d.relegate()||Ht.postRender(()=>{const m=d.getStack();(!m||!m.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{visualElement:a,layoutAnchor:s}=this.props,{projection:o}=a;o&&(o.options.layoutAnchor=s,o.root.didUpdate(),Ff.postRender(()=>{!o.currentAnimation&&o.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:a,layoutGroup:s,switchLayoutGroup:o}=this.props,{projection:c}=a;Fc=!0,c&&(c.scheduleCheckAfterUnmount(),s&&s.group&&s.group.remove(c),o&&o.deregister&&o.deregister(c))}safeToRemove(){const{safeToRemove:a}=this.props;a&&a()}render(){return null}}function Yv(i){const[a,s]=OA(),o=L.useContext(n0);return $.jsx(EE,{...i,layoutGroup:o,switchLayoutGroup:L.useContext(Uv),isPresent:a,safeToRemove:s})}const ME={pan:{Feature:AE},drag:{Feature:TE,ProjectionNode:Dv,MeasureLayout:Yv}};function Cy(i,a,s){const{props:o}=i;i.animationState&&o.whileHover&&i.animationState.setActive("whileHover",s==="Start");const c="onHover"+s,f=o[c];f&&Ht.postRender(()=>f(a,ms(a)))}class wE extends zi{mount(){const{current:a}=this.node;a&&(this.unmount=IT(a,(s,o)=>(Cy(this.node,o,"Start"),c=>Cy(this.node,c,"End"))))}unmount(){}}class CE extends zi{constructor(){super(...arguments),this.isActive=!1}onFocus(){let a=!1;try{a=this.node.current.matches(":focus-visible")}catch{a=!0}!a||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=fs(cs(this.node.current,"focus",()=>this.onFocus()),cs(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function Dy(i,a,s){const{props:o}=i;if(i.current instanceof HTMLButtonElement&&i.current.disabled)return;i.animationState&&o.whileTap&&i.animationState.setActive("whileTap",s==="Start");const c="onTap"+(s==="End"?"":s),f=o[c];f&&Ht.postRender(()=>f(a,ms(a)))}class DE extends zi{mount(){const{current:a}=this.node;if(!a)return;const{globalTapTarget:s,propagate:o}=this.node.props;this.unmount=l2(a,(c,f)=>(Dy(this.node,f,"Start"),(d,{success:m})=>Dy(this.node,d,m?"End":"Cancel")),{useGlobalTarget:s,stopPropagation:(o==null?void 0:o.tap)===!1})}unmount(){}}const wf=new WeakMap,Wc=new WeakMap,zE=i=>{const a=wf.get(i.target);a&&a(i)},RE=i=>{i.forEach(zE)};function OE({root:i,...a}){const s=i||document;Wc.has(s)||Wc.set(s,{});const o=Wc.get(s),c=JSON.stringify(a);return o[c]||(o[c]=new IntersectionObserver(RE,{root:i,...a})),o[c]}function VE(i,a,s){const o=OE(a);return wf.set(i,s),o.observe(i),()=>{wf.delete(i),o.unobserve(i)}}const NE={some:0,all:1};class _E extends zi{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){var g;(g=this.stopObserver)==null||g.call(this);const{viewport:a={}}=this.node.getProps(),{root:s,margin:o,amount:c="some",once:f}=a,d={root:s?s.current:void 0,rootMargin:o,threshold:typeof c=="number"?c:NE[c]},m=p=>{const{isIntersecting:v}=p;if(this.isInView===v||(this.isInView=v,f&&!v&&this.hasEnteredView))return;v&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",v);const{onViewportEnter:b,onViewportLeave:S}=this.node.getProps(),A=v?b:S;A&&A(p)};this.stopObserver=VE(this.node.current,d,m)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:a,prevProps:s}=this.node;["amount","margin","root"].some(BE(a,s))&&this.startObserver()}unmount(){var a;(a=this.stopObserver)==null||a.call(this),this.hasEnteredView=!1,this.isInView=!1}}function BE({viewport:i={}},{viewport:a={}}={}){return s=>i[s]!==a[s]}const UE={inView:{Feature:_E},tap:{Feature:DE},focus:{Feature:CE},hover:{Feature:wE}},LE={layout:{ProjectionNode:Dv,MeasureLayout:Yv}},jE={...oE,...UE,...ME,...LE},zy=nE(jE,iE);/** + * @license lucide-react v0.546.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const HE=i=>i.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),kE=i=>i.replace(/^([A-Z])|[\s-_]+(\w)/g,(a,s,o)=>o?o.toUpperCase():s.toLowerCase()),Ry=i=>{const a=kE(i);return a.charAt(0).toUpperCase()+a.slice(1)},Xv=(...i)=>i.filter((a,s,o)=>!!a&&a.trim()!==""&&o.indexOf(a)===s).join(" ").trim(),YE=i=>{for(const a in i)if(a.startsWith("aria-")||a==="role"||a==="title")return!0};/** + * @license lucide-react v0.546.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */var XE={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"};/** + * @license lucide-react v0.546.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const GE=L.forwardRef(({color:i="currentColor",size:a=24,strokeWidth:s=2,absoluteStrokeWidth:o,className:c="",children:f,iconNode:d,...m},g)=>L.createElement("svg",{ref:g,...XE,width:a,height:a,stroke:i,strokeWidth:o?Number(s)*24/Number(a):s,className:Xv("lucide",c),...!f&&!YE(m)&&{"aria-hidden":"true"},...m},[...d.map(([p,v])=>L.createElement(p,v)),...Array.isArray(f)?f:[f]]));/** + * @license lucide-react v0.546.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const te=(i,a)=>{const s=L.forwardRef(({className:o,...c},f)=>L.createElement(GE,{ref:f,iconNode:a,className:Xv(`lucide-${HE(Ry(i))}`,`lucide-${i}`,o),...c}));return s.displayName=Ry(i),s};/** + * @license lucide-react v0.546.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const qE=[["path",{d:"M12 18V5",key:"adv99a"}],["path",{d:"M15 13a4.17 4.17 0 0 1-3-4 4.17 4.17 0 0 1-3 4",key:"1e3is1"}],["path",{d:"M17.598 6.5A3 3 0 1 0 12 5a3 3 0 1 0-5.598 1.5",key:"1gqd8o"}],["path",{d:"M17.997 5.125a4 4 0 0 1 2.526 5.77",key:"iwvgf7"}],["path",{d:"M18 18a4 4 0 0 0 2-7.464",key:"efp6ie"}],["path",{d:"M19.967 17.483A4 4 0 1 1 12 18a4 4 0 1 1-7.967-.517",key:"1gq6am"}],["path",{d:"M6 18a4 4 0 0 1-2-7.464",key:"k1g0md"}],["path",{d:"M6.003 5.125a4 4 0 0 0-2.526 5.77",key:"q97ue3"}]],ZE=te("brain",qE);/** + * @license lucide-react v0.546.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const KE=[["path",{d:"m18 16 4-4-4-4",key:"1inbqp"}],["path",{d:"m6 8-4 4 4 4",key:"15zrgr"}],["path",{d:"m14.5 4-5 16",key:"e7oirm"}]],Oy=te("code-xml",KE);/** + * @license lucide-react v0.546.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const QE=[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]],JE=te("external-link",QE);/** + * @license lucide-react v0.546.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const PE=[["path",{d:"m6 14 1.5-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.54 6a2 2 0 0 1-1.95 1.5H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H18a2 2 0 0 1 2 2v2",key:"usdka0"}]],FE=te("folder-open",PE);/** + * @license lucide-react v0.546.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const WE=[["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}],["line",{x1:"3",x2:"9",y1:"12",y2:"12",key:"1dyftd"}],["line",{x1:"15",x2:"21",y1:"12",y2:"12",key:"oup4p8"}]],$E=te("git-commit-horizontal",WE);/** + * @license lucide-react v0.546.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const IE=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]],tM=te("info",IE);/** + * @license lucide-react v0.546.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const eM=[["rect",{width:"7",height:"7",x:"3",y:"3",rx:"1",key:"1g98yp"}],["rect",{width:"7",height:"7",x:"14",y:"3",rx:"1",key:"6d4xhi"}],["rect",{width:"7",height:"7",x:"14",y:"14",rx:"1",key:"nxv5o0"}],["rect",{width:"7",height:"7",x:"3",y:"14",rx:"1",key:"1bb6yr"}]],nM=te("layout-grid",eM);/** + * @license lucide-react v0.546.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const iM=[["path",{d:"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z",key:"18887p"}]],aM=te("message-square",iM);/** + * @license lucide-react v0.546.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const lM=[["path",{d:"M11 21.73a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73z",key:"1a0edw"}],["path",{d:"M12 22V12",key:"d0xqtd"}],["polyline",{points:"3.29 7 12 12 20.71 7",key:"ousv84"}],["path",{d:"m7.5 4.27 9 5.15",key:"1c824w"}]],sM=te("package",lM);/** + * @license lucide-react v0.546.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const oM=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M3 9h18",key:"1pudct"}],["path",{d:"M9 21V9",key:"1oto5p"}]],rM=te("panels-top-left",oM);/** + * @license lucide-react v0.546.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const uM=[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]],cM=te("refresh-cw",uM);/** + * @license lucide-react v0.546.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const fM=[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]],dM=te("search",fM);/** + * @license lucide-react v0.546.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const hM=[["path",{d:"M14 17H5",key:"gfn3mx"}],["path",{d:"M19 7h-9",key:"6i9tg"}],["circle",{cx:"17",cy:"17",r:"3",key:"18b49y"}],["circle",{cx:"7",cy:"7",r:"3",key:"dfmy0x"}]],mM=te("settings-2",hM);/** + * @license lucide-react v0.546.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const pM=[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"M12 8v4",key:"1got3b"}],["path",{d:"M12 16h.01",key:"1drbdi"}]],gM=te("shield-alert",pM);/** + * @license lucide-react v0.546.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const yM=[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],vM=te("shield-check",yM);/** + * @license lucide-react v0.546.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const bM=[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"M9.1 9a3 3 0 0 1 5.82 1c0 2-3 3-3 3",key:"mhlwft"}],["path",{d:"M12 17h.01",key:"p32p05"}]],SM=te("shield-question-mark",bM);/** + * @license lucide-react v0.546.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const xM=[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}]],Vy=te("shield",xM);/** + * @license lucide-react v0.546.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const TM=[["path",{d:"M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z",key:"1s2grr"}],["path",{d:"M20 2v4",key:"1rf3ol"}],["path",{d:"M22 4h-4",key:"gwowj6"}],["circle",{cx:"4",cy:"20",r:"2",key:"6kqj1y"}]],Ny=te("sparkles",TM);/** + * @license lucide-react v0.546.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const AM=[["path",{d:"M21 10.656V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h12.344",key:"2acyp4"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]],EM=te("square-check-big",AM);/** + * @license lucide-react v0.546.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const MM=[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]],_y=te("zap",MM),wM=[{name:"Tailwind & Utility DNA",description:"Massive utility class patterns typical of v0, Lovable, and Bolt.",weight:15},{name:"Shadcn/UI & Radix",description:"Radix component structures and standard Shadcn classes.",weight:15},{name:"AI Iconography (Lucide)",description:"Heavy use of Lucide Icons, the AI industry standard.",weight:10},{name:"Vibe Coding Stack",description:"Combined use of Framer Motion, Lucide, and Tailwind.",weight:15},{name:"AI IDE & Agent Markers",description:"Signatures from Cursor, Windsurf, Trae, Replit, or Devin.",weight:25},{name:"Platform Signatures",description:"Markers from Google AI Studio, Lovable, v0, or Bolt.new.",weight:20},{name:"Prompt Artifact Comments",description:"Comments or metadata referencing prompts, e.g., 'Prompt: ...' or 'Generated by ...'",weight:7},{name:"Model/Provider Metadata",description:"References to OpenAI, Anthropic, Google, or license headers auto-inserted by AI platforms.",weight:7},{name:"Generic Code Structure",description:'Placeholder text or overly generic names like "Feature 1", "Lorem Ipsum", or "Bento Grid".',weight:6},{name:"AI SDK/Dependency Clues",description:"Presence of AI SDKs or dependencies (e.g., openai, langchain, gpt-engineer).",weight:6},{name:"Commit/PR Metadata",description:"Commit messages or PR descriptions referencing AI tools or prompt-based workflows.",weight:5},{name:"Default AI UI Patterns",description:"Default layouts or icon sets popular with AI tools (e.g., Bento Grid, Tabler Icons).",weight:5},{name:"Consistent Formatting",description:"Overly consistent code style, as if formatted by a tool across the entire codebase.",weight:4},{name:"External AI References",description:"Links or references to AI docs, OpenAI, Anthropic, v0.dev, etc., in code or docs.",weight:6},{name:"Build/CI AI Artifacts",description:"Workflow files referencing AI build steps or model deployments.",weight:5}];function CM(i){var k,ct,tt;const a=wM.map(W=>({...W,detected:!1})),s=((k=i.documentElement)==null?void 0:k.innerHTML)??"",o=i.querySelectorAll("*");let c=0;o.forEach(W=>{typeof W.className=="string"&&W.className.trim()&&(c+=W.className.trim().split(/\s+/).length)}),a[0].detected=c/(o.length||1)>4.5||s.includes("tw-");const f=["bg-background","text-foreground","data-radix-","data-state=","rounded-xl","border-input"];a[1].detected=f.filter(W=>s.includes(W)).length>=3;const d=s.includes("lucide")||!!i.querySelector('svg[class*="lucide"]');a[2].detected=d;const m=s.includes("framer-motion")||s.includes("motion-");a[3].detected=m&&(d||a[0].detected);const p=["cursor-ignore","__cursor","windsurf","trae-ide","replit-agent","devin-ai","claude-code","generated by cursor","created with cursor"].some(W=>s.toLowerCase().includes(W)),v=[];(function W(dt){dt.nodeType===Node.COMMENT_NODE&&v.push((dt.nodeValue??"").toLowerCase()),dt.childNodes.forEach(W)})(i);const b=v.some(W=>W.includes("ai generated")||W.includes("cursor")||W.includes("vibe")||W.includes("prompt:")||W.includes("generated by"));a[4].detected=p||b;const S=((tt=(ct=i.querySelector('meta[name="generator"]'))==null?void 0:ct.getAttribute("content"))==null?void 0:tt.toLowerCase())??"",A=s.includes("metadata.json")||s.includes("SPDX-License-Identifier: Apache-2.0"),C=s.includes("lovable")||s.includes("gptengineer")||s.includes("lovable-project"),N=s.includes("bolt-")||s.includes("stackblitz")||s.includes("bolt.new"),_=s.includes("v0.dev")||S.includes("v0"),B=s.includes("replit.app")||s.includes("replit-agent")||s.includes("replit.com"),Z=s.includes("vercel-ai-sdk")||s.includes("ai.vercel.app");a[5].detected=A||C||N||_||B||Z,a[6].detected=b;const X=["openai","anthropic","gemini","claude","gpt-4","llama","spdx-license-identifier"];a[7].detected=X.some(W=>s.toLowerCase().includes(W));const J=["feature 1","feature 2","feature 3","lorem ipsum","bento grid","card title","card description"];a[8].detected=J.some(W=>{var dt;return(((dt=i.body)==null?void 0:dt.innerText)??"").toLowerCase().includes(W)});const Y=["openai","langchain","gpt-engineer","vercel/ai","@ai-sdk","huggingface"];a[9].detected=Y.some(W=>s.toLowerCase().includes(W)),a[10].detected=!1,a[11].detected=s.includes("tabler-icon")||s.includes("bento")||s.includes("heroicon"),a[12].detected=!1;const ut=["openai.com","anthropic.com","v0.dev","claude.ai","chat.openai.com"];a[13].detected=ut.some(W=>s.includes(W)),a[14].detected=!1;let F=a.reduce((W,dt)=>W+(dt.detected?dt.weight:0),0);return(A||_||C||B||p)&&(F=Math.max(90,F)),{score:Math.min(100,F),factors:a}}const By={};function hr(i,a){const s=L.useRef(By);return s.current===By&&(s.current=i(a)),s}const $c=e0[`useInsertionEffect${Math.random().toFixed(1)}`.slice(0,-3)],DM=$c&&$c!==L.useLayoutEffect?$c:i=>i();function el(i){const a=hr(zM).current;return a.next=i,DM(a.effect),a.trampoline}function zM(){const i={next:void 0,callback:RM,trampoline:(...a)=>{var s;return(s=i.callback)==null?void 0:s.call(i,...a)},effect:()=>{i.callback=i.next}};return i}function RM(){}const OM=[];function VM(i){L.useEffect(i,OM)}const Il=0;class ld{constructor(){Vo(this,"currentId",Il);Vo(this,"clear",()=>{this.currentId!==Il&&(clearTimeout(this.currentId),this.currentId=Il)});Vo(this,"disposeEffect",()=>this.clear)}static create(){return new ld}start(a,s){this.clear(),this.currentId=setTimeout(()=>{this.currentId=Il,s()},a)}isStarted(){return this.currentId!==Il}}function lr(){const i=hr(ld.create).current;return VM(i.disposeEffect),i}function NM(i,a){return function(o,...c){const f=new URL(i);return f.searchParams.set("code",o.toString()),c.forEach(d=>f.searchParams.append("args[]",d)),`${a} error #${o}; visit ${f} for the full message.`}}const mr=NM("https://base-ui.com/production-error","Base UI"),Gv=L.createContext(void 0);function pr(){const i=L.useContext(Gv);if(i===void 0)throw new Error(mr(53));return i}function Uy(i,a,s,o){const c=hr(qv).current;return BM(c,i,a,s,o)&&Zv(c,[i,a,s,o]),c.callback}function _M(i){const a=hr(qv).current;return UM(a,i)&&Zv(a,i),a.callback}function qv(){return{callback:null,cleanup:null,refs:[]}}function BM(i,a,s,o,c){return i.refs[0]!==a||i.refs[1]!==s||i.refs[2]!==o||i.refs[3]!==c}function UM(i,a){return i.refs.length!==a.length||i.refs.some((s,o)=>s!==a[o])}function Zv(i,a){if(i.refs=a,a.every(s=>s==null)){i.callback=null;return}i.callback=s=>{if(i.cleanup&&(i.cleanup(),i.cleanup=null),s!=null){const o=Array(a.length).fill(null);for(let c=0;c{for(let c=0;c=i}function Ly(i){if(!L.isValidElement(i))return null;const a=i,s=a.props;return(jM(19)?s==null?void 0:s.ref:a.ref)??null}function Cf(i,a){if(i&&!a)return i;if(!i&&a)return a;if(i||a)return{...i,...a}}function HM(i,a){const s={};for(const o in i){const c=i[o];if(a!=null&&a.hasOwnProperty(o)){const f=a[o](c);f!=null&&Object.assign(s,f);continue}c===!0?s[`data-${o.toLowerCase()}`]="":c&&(s[`data-${o.toLowerCase()}`]=c.toString())}return s}function kM(i,a){return typeof i=="function"?i(a):i}function YM(i,a){return typeof i=="function"?i(a):i}const ss={};function sd(i,a,s,o,c){let f={...Df(i,ss)};return a&&(f=Jo(f,a)),s&&(f=Jo(f,s)),o&&(f=Jo(f,o)),f}function XM(i){if(i.length===0)return ss;if(i.length===1)return Df(i[0],ss);let a={...Df(i[0],ss)};for(let s=1;s=65&&c<=90&&(typeof a=="function"||typeof a>"u")}function Kv(i){return typeof i=="function"}function Df(i,a){return Kv(i)?i(a):i??ss}function ZM(i,a){return a?i?s=>{if(KM(s)){const c=s;zf(c);const f=a(c);return c.baseUIHandlerPrevented||i==null||i(c),f}const o=a(s);return i==null||i(s),o}:a:i}function zf(i){return i.preventBaseUIHandler=()=>{i.baseUIHandlerPrevented=!0},i}function Qv(i,a){return a?i?a+" "+i:a:i}function KM(i){return i!=null&&typeof i=="object"&&"nativeEvent"in i}const Fa=Object.freeze({});function aa(i,a,s={}){const o=a.render,c=QM(a,s);if(s.enabled===!1)return null;const f=s.state??Fa;return PM(i,o,c,f)}function QM(i,a={}){const{className:s,style:o,render:c}=i,{state:f=Fa,ref:d,props:m,stateAttributesMapping:g,enabled:p=!0}=a,v=p?kM(s,f):void 0,b=p?YM(o,f):void 0,S=p?HM(f,g):Fa,A=p?Cf(S,Array.isArray(m)?XM(m):m)??Fa:Fa;return typeof document<"u"&&(p?Array.isArray(d)?A.ref=_M([A.ref,Ly(c),...d]):A.ref=Uy(A.ref,Ly(c),d):Uy(null,null)),p?(v!==void 0&&(A.className=Qv(A.className,v)),b!==void 0&&(A.style=Cf(A.style,b)),A):Fa}const JM=Symbol.for("react.lazy");function PM(i,a,s,o){if(a){if(typeof a=="function")return a(s,o);const c=sd(s,a.props);c.ref=s.ref;let f=a;return(f==null?void 0:f.$$typeof)===JM&&(f=L.Children.toArray(a)[0]),L.cloneElement(f,c)}if(i&&typeof i=="string")return FM(i,s);throw new Error(mr(8))}function FM(i,a){return i==="button"?L.createElement("button",{type:"button",...a,key:a.key}):i==="img"?L.createElement("img",{alt:"",...a,key:a.key}):L.createElement(i,a)}let sr=(function(i){return i.scrollAreaCornerHeight="--scroll-area-corner-height",i.scrollAreaCornerWidth="--scroll-area-corner-width",i})({});const Lo=500,jy=16;function Ie(i,a,s){if(!i)return 0;const o=getComputedStyle(i),c=s==="x"?"Inline":"Block";return s==="x"&&a==="margin"?parseFloat(o[`${a}InlineStart`])*2:parseFloat(o[`${a}${c}Start`])+parseFloat(o[`${a}${c}End`])}let WM=(function(i){return i.orientation="data-orientation",i.hovering="data-hovering",i.scrolling="data-scrolling",i.hasOverflowX="data-has-overflow-x",i.hasOverflowY="data-has-overflow-y",i.overflowXStart="data-overflow-x-start",i.overflowXEnd="data-overflow-x-end",i.overflowYStart="data-overflow-y-start",i.overflowYEnd="data-overflow-y-end",i})({});const jo="base-ui-disable-scrollbar",Jv={className:jo,getElement(i){return $.jsx("style",{nonce:i,href:jo,precedence:"base-ui:low",children:`.${jo}{scrollbar-width:none}.${jo}::-webkit-scrollbar{display:none}`})}},$M={...e0};let Hy=0;function IM(i,a="mui"){const[s,o]=L.useState(i),c=i||s;return L.useEffect(()=>{s==null&&(Hy+=1,o(`${a}-${Hy}`))},[s,a]),c}const ky=$M.useId;function tw(i,a){if(ky!==void 0){const s=ky();return`${a}-${s}`}return IM(i,a)}function ew(i){return tw(i,"base-ui")}let Ja=(function(i){return i.scrolling="data-scrolling",i.hasOverflowX="data-has-overflow-x",i.hasOverflowY="data-has-overflow-y",i.overflowXStart="data-overflow-x-start",i.overflowXEnd="data-overflow-x-end",i.overflowYStart="data-overflow-y-start",i.overflowYEnd="data-overflow-y-end",i})({});const od={hasOverflowX:i=>i?{[Ja.hasOverflowX]:""}:null,hasOverflowY:i=>i?{[Ja.hasOverflowY]:""}:null,overflowXStart:i=>i?{[Ja.overflowXStart]:""}:null,overflowXEnd:i=>i?{[Ja.overflowXEnd]:""}:null,overflowYStart:i=>i?{[Ja.overflowYStart]:""}:null,overflowYEnd:i=>i?{[Ja.overflowYEnd]:""}:null,cornerHidden:()=>null};function Pv(){return typeof window<"u"}function Fv(i){var a;return(i==null||(a=i.ownerDocument)==null?void 0:a.defaultView)||window}function nw(i){return Pv()?i instanceof HTMLElement||i instanceof Fv(i).HTMLElement:!1}function iw(i){return!Pv()||typeof ShadowRoot>"u"?!1:i instanceof ShadowRoot||i instanceof Fv(i).ShadowRoot}const gr=typeof navigator<"u",Ic=ow(),aw=uw(),lw=rw(),sw=typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter:none");Ic.platform==="MacIntel"&&Ic.maxTouchPoints>1||/iP(hone|ad|od)|iOS/.test(Ic.platform);gr&&aw.toLowerCase().startsWith("mac")&&navigator.maxTouchPoints;lw.includes("jsdom/");function ow(){if(!gr)return{platform:"",maxTouchPoints:-1};const i=navigator.userAgentData;return i!=null&&i.platform?{platform:i.platform,maxTouchPoints:navigator.maxTouchPoints}:{platform:navigator.platform??"",maxTouchPoints:navigator.maxTouchPoints??-1}}function rw(){if(!gr)return"";const i=navigator.userAgentData;return i&&Array.isArray(i.brands)?i.brands.map(({brand:a,version:s})=>`${a}/${s}`).join(" "):navigator.userAgent}function uw(){if(!gr)return"";const i=navigator.userAgentData;return i!=null&&i.platform?i.platform:navigator.platform??""}function cw(i,a){var o;if(!i||!a)return!1;const s=(o=a.getRootNode)==null?void 0:o.call(a);if(i.contains(a))return!0;if(s&&iw(s)){let c=a;for(;c;){if(i===c)return!0;c=c.parentNode||c.host}}return!1}const fw=L.createContext(void 0),dw={disableStyleElements:!1};function hw(){return L.useContext(fw)??dw}const mw={x:0,y:0},Yy={width:0,height:0},pw={xStart:!1,xEnd:!1,yStart:!1,yEnd:!1},gw={x:!0,y:!0,corner:!0},yw=L.forwardRef(function(a,s){const{render:o,className:c,overflowEdgeThreshold:f,...d}=a,m=vw(f),g=ew(),p=lr(),v=lr(),{nonce:b,disableStyleElements:S}=hw(),[A,C]=L.useState(!1),[N,_]=L.useState(!1),[B,Z]=L.useState(!1),[X,J]=L.useState(!1),[Y,ut]=L.useState(!1),[F,k]=L.useState(Yy),[ct,tt]=L.useState(Yy),[W,dt]=L.useState(pw),[St,wt]=L.useState(gw),lt=L.useRef(null),w=L.useRef(null),q=L.useRef(null),Q=L.useRef(null),ot=L.useRef(null),G=L.useRef(null),x=L.useRef(null),V=L.useRef(!1),K=L.useRef(0),P=L.useRef(0),I=L.useRef(0),rt=L.useRef(0),mt=L.useRef("vertical"),Nt=L.useRef(mw),pt=el(Rt=>{const we=Rt.x-Nt.current.x,an=Rt.y-Nt.current.y;Nt.current=Rt,an!==0&&(Z(!0),p.start(Lo,()=>{Z(!1)})),we!==0&&(_(!0),v.start(Lo,()=>{_(!1)}))}),se=el(Rt=>{Rt.button===0&&(V.current=!0,K.current=Rt.clientY,P.current=Rt.clientX,mt.current=Rt.currentTarget.getAttribute(WM.orientation),w.current&&(I.current=w.current.scrollTop,rt.current=w.current.scrollLeft),ot.current&&mt.current==="vertical"&&ot.current.setPointerCapture(Rt.pointerId),G.current&&mt.current==="horizontal"&&G.current.setPointerCapture(Rt.pointerId))}),be=el(Rt=>{if(!V.current)return;const we=Rt.clientY-K.current,an=Rt.clientX-P.current;if(w.current){const Qn=w.current.scrollHeight,Oi=w.current.clientHeight,re=w.current.scrollWidth,Vi=w.current.clientWidth;if(ot.current&&q.current&&mt.current==="vertical"){const Mn=Ie(q.current,"padding","y"),Jn=Ie(ot.current,"margin","y"),mn=ot.current.offsetHeight,wn=q.current.offsetHeight-mn-Mn-Jn,pn=we/wn;w.current.scrollTop=I.current+pn*(Qn-Oi),Rt.preventDefault(),Z(!0),p.start(Lo,()=>{Z(!1)})}if(G.current&&Q.current&&mt.current==="horizontal"){const Mn=Ie(Q.current,"padding","x"),Jn=Ie(G.current,"margin","x"),mn=G.current.offsetWidth,wn=Q.current.offsetWidth-mn-Mn-Jn,pn=an/wn;w.current.scrollLeft=rt.current+pn*(re-Vi),Rt.preventDefault(),_(!0),v.start(Lo,()=>{_(!1)})}}}),Se=el(Rt=>{V.current=!1,ot.current&&mt.current==="vertical"&&ot.current.releasePointerCapture(Rt.pointerId),G.current&&mt.current==="horizontal"&&G.current.releasePointerCapture(Rt.pointerId)});function xe(Rt){J(Rt.pointerType==="touch")}function oe(Rt){if(xe(Rt),Rt.pointerType!=="touch"){const we=cw(lt.current,Rt.target);C(we)}}const en=L.useMemo(()=>({scrolling:N||B,hasOverflowX:!St.x,hasOverflowY:!St.y,overflowXStart:W.xStart,overflowXEnd:W.xEnd,overflowYStart:W.yStart,overflowYEnd:W.yEnd,cornerHidden:St.corner}),[N,B,St.x,St.y,St.corner,W]),Te={role:"presentation",onPointerEnter:oe,onPointerMove:oe,onPointerDown:xe,onPointerLeave(){C(!1)},style:{position:"relative",[sr.scrollAreaCornerHeight]:`${F.height}px`,[sr.scrollAreaCornerWidth]:`${F.width}px`}},nn=aa("div",a,{state:en,ref:[s,lt],props:[Te,d],stateAttributesMapping:od}),sa=L.useMemo(()=>({handlePointerDown:se,handlePointerMove:be,handlePointerUp:Se,handleScroll:pt,cornerSize:F,setCornerSize:k,thumbSize:ct,setThumbSize:tt,hasMeasuredScrollbar:Y,setHasMeasuredScrollbar:ut,touchModality:X,cornerRef:x,scrollingX:N,setScrollingX:_,scrollingY:B,setScrollingY:Z,hovering:A,setHovering:C,viewportRef:w,rootRef:lt,scrollbarYRef:q,scrollbarXRef:Q,thumbYRef:ot,thumbXRef:G,rootId:g,hiddenState:St,setHiddenState:wt,overflowEdges:W,setOverflowEdges:dt,viewportState:en,overflowEdgeThreshold:m}),[se,be,Se,pt,F,ct,Y,X,N,_,B,Z,A,C,g,St,W,en,m]);return $.jsxs(Gv.Provider,{value:sa,children:[!S&&Jv.getElement(b),nn]})});function vw(i){if(typeof i=="number"){const a=Math.max(0,i);return{xStart:a,xEnd:a,yStart:a,yEnd:a}}return{xStart:Math.max(0,(i==null?void 0:i.xStart)||0),xEnd:Math.max(0,(i==null?void 0:i.xEnd)||0),yStart:Math.max(0,(i==null?void 0:i.yStart)||0),yEnd:Math.max(0,(i==null?void 0:i.yEnd)||0)}}const bw=()=>{},Po=typeof document<"u"?L.useLayoutEffect:bw,Sw=L.createContext(void 0),xw=L.createContext(void 0);function Wv(){const i=L.useContext(xw);return(i==null?void 0:i.direction)??"ltr"}function Wa(i,a=Number.MIN_SAFE_INTEGER,s=Number.MAX_SAFE_INTEGER){return Math.max(a,Math.min(i,s))}function Tw(i,a){if(typeof IntersectionObserver>"u")return()=>{};const s=new IntersectionObserver(o=>{o.forEach(c=>{c.intersectionRatio>0&&(a(),s.disconnect())})});return s.observe(i),()=>{s.disconnect()}}let wi=(function(i){return i.scrollAreaOverflowXStart="--scroll-area-overflow-x-start",i.scrollAreaOverflowXEnd="--scroll-area-overflow-x-end",i.scrollAreaOverflowYStart="--scroll-area-overflow-y-start",i.scrollAreaOverflowYEnd="--scroll-area-overflow-y-end",i})({});const Xy=1;function Gy(i,a){if(a<=0)return 0;const s=Wa(i,0,a),o=s,c=a-s,f=o<=Xy,d=c<=Xy;return f&&d?o<=c?0:a:f?0:d?a:s}let qy=!1;const Zy=typeof ResizeObserver<"u";function Aw(){qy||sw||(typeof CSS<"u"&&"registerProperty"in CSS&&[wi.scrollAreaOverflowXStart,wi.scrollAreaOverflowXEnd,wi.scrollAreaOverflowYStart,wi.scrollAreaOverflowYEnd].forEach(i=>{try{CSS.registerProperty({name:i,syntax:"",inherits:!1,initialValue:"0px"})}catch{}}),qy=!0)}const Ew=L.forwardRef(function(a,s){const{render:o,className:c,...f}=a,{viewportRef:d,scrollbarYRef:m,scrollbarXRef:g,thumbYRef:p,thumbXRef:v,cornerRef:b,cornerSize:S,setCornerSize:A,setThumbSize:C,rootId:N,setHiddenState:_,hiddenState:B,setHasMeasuredScrollbar:Z,handleScroll:X,setHovering:J,setOverflowEdges:Y,overflowEdges:ut,overflowEdgeThreshold:F,scrollingX:k,scrollingY:ct}=pr(),tt=Wv(),W=L.useRef(!0),dt=L.useRef([NaN,NaN,NaN,NaN]),St=lr(),wt=lr(),lt=el(()=>{const x=d.current,V=m.current,K=g.current,P=p.current,I=v.current,rt=b.current;if(!x)return;const mt=x.scrollHeight,Nt=x.scrollWidth,pt=x.clientHeight,se=x.clientWidth,be=x.scrollTop,Se=x.scrollLeft,xe=dt.current,oe=Number.isNaN(xe[0]);if(xe[0]=pt,xe[1]=mt,xe[2]=se,xe[3]=Nt,oe&&Z(!0),mt===0||Nt===0)return;const en=Mw(x),Te=en.y,nn=en.x,sa=se/Nt,Rt=pt/mt,we=Math.max(0,Nt-se),an=Math.max(0,mt-pt);let Qn=0,Oi=0;if(!nn){let Lt=0;tt==="rtl"?Lt=Wa(-Se,0,we):Lt=Wa(Se,0,we),Qn=Gy(Lt,we),Oi=we-Qn}const re=Te?0:Wa(be,0,an),Vi=Te?0:Gy(re,an),Mn=Te?0:an-Vi,Jn=nn?0:se,mn=Te?0:pt;let wn=0,pn=0;!nn&&!Te&&(wn=(V==null?void 0:V.offsetWidth)||0,pn=(K==null?void 0:K.offsetHeight)||0);const ps=S.width===0&&S.height===0,vr=ps?wn:0,Ni=ps?pn:0,ge=Ie(K,"padding","x"),ln=Ie(V,"padding","y"),ye=Ie(I,"margin","x"),gs=Ie(P,"margin","y"),ys=Jn-ge-ye,vs=mn-ln-gs,oa=K?Math.min(K.offsetWidth-vr,ys):ys,ra=V?Math.min(V.offsetHeight-Ni,vs):vs,Pn=Math.max(jy,oa*sa),sn=Math.max(jy,ra*Rt);if(C(Lt=>Lt.height===sn&&Lt.width===Pn?Lt:{width:Pn,height:sn}),V&&P){const Lt=V.offsetHeight-sn-ln-gs,gn=mt-pt,Fn=gn===0?0:be/gn,Cn=Math.min(Lt,Math.max(0,Fn*Lt));P.style.transform=`translate3d(0,${Cn}px,0)`}if(K&&I){const Lt=K.offsetWidth-Pn-ge-ye,gn=Nt-se,Fn=gn===0?0:Se/gn,Cn=tt==="rtl"?Wa(Fn*Lt,-Lt,0):Wa(Fn*Lt,0,Lt);I.style.transform=`translate3d(${Cn}px,0,0)`}const ua=[[wi.scrollAreaOverflowXStart,Qn],[wi.scrollAreaOverflowXEnd,Oi],[wi.scrollAreaOverflowYStart,Vi],[wi.scrollAreaOverflowYEnd,Mn]];for(const[Lt,gn]of ua)x.style.setProperty(Lt,`${gn}px`);rt&&(nn||Te?A({width:0,height:0}):!nn&&!Te&&A({width:wn,height:pn})),_(Lt=>ww(Lt,en));const on={xStart:!nn&&Qn>F.xStart,xEnd:!nn&&Oi>F.xEnd,yStart:!Te&&Vi>F.yStart,yEnd:!Te&&Mn>F.yEnd};Y(Lt=>Lt.xStart===on.xStart&&Lt.xEnd===on.xEnd&&Lt.yStart===on.yStart&&Lt.yEnd===on.yEnd?Lt:on)});Po(()=>{if(d.current&&(Aw(),!Zy))return Tw(d.current,()=>{lt()})},[lt,d]),Po(()=>{queueMicrotask(lt)},[lt,B,tt]),Po(()=>{var x;(x=d.current)!=null&&x.matches(":hover")&&J(!0)},[d,J]),L.useEffect(()=>{const x=d.current;if(!Zy||!x)return;let V=!1;const K=new ResizeObserver(()=>{if(!V){V=!0;const P=dt.current;if(P[0]===x.clientHeight&&P[1]===x.scrollHeight&&P[2]===x.clientWidth&&P[3]===x.scrollWidth)return}lt()});return K.observe(x),wt.start(0,()=>{const P=x.getAnimations({subtree:!0});P.length!==0&&Promise.allSettled(P.map(I=>I.finished)).then(lt).catch(()=>{})}),()=>{K.disconnect(),wt.clear()}},[lt,d,wt]);function w(){W.current=!1}const q={role:"presentation",...N&&{"data-id":`${N}-viewport`},tabIndex:B.x&&B.y?-1:0,className:Jv.className,style:{overflow:"scroll"},onScroll(){d.current&&(lt(),W.current||X({x:d.current.scrollLeft,y:d.current.scrollTop}),St.start(100,()=>{W.current=!0}))},onWheel:w,onTouchMove:w,onPointerMove:w,onPointerEnter:w,onKeyDown:w},Q=L.useMemo(()=>({scrolling:k||ct,hasOverflowX:!B.x,hasOverflowY:!B.y,overflowXStart:ut.xStart,overflowXEnd:ut.xEnd,overflowYStart:ut.yStart,overflowYEnd:ut.yEnd,cornerHidden:B.corner}),[k,ct,B.x,B.y,B.corner,ut]),ot=aa("div",a,{ref:[s,d],state:Q,props:[q,f],stateAttributesMapping:od}),G=L.useMemo(()=>({computeThumbPosition:lt}),[lt]);return $.jsx(Sw.Provider,{value:G,children:ot})});function Mw(i){const a=i.clientHeight>=i.scrollHeight,s=i.clientWidth>=i.scrollWidth;return{y:a,x:s,corner:a||s}}function ww(i,a){return i.y===a.y&&i.x===a.x&&i.corner===a.corner?i:a}const $v=L.createContext(void 0);function Cw(){const i=L.useContext($v);if(i===void 0)throw new Error(mr(54));return i}let or=(function(i){return i.scrollAreaThumbHeight="--scroll-area-thumb-height",i.scrollAreaThumbWidth="--scroll-area-thumb-width",i})({});const Dw=L.forwardRef(function(a,s){const{render:o,className:c,orientation:f="vertical",keepMounted:d=!1,...m}=a,{hovering:g,scrollingX:p,scrollingY:v,hiddenState:b,overflowEdges:S,scrollbarYRef:A,scrollbarXRef:C,viewportRef:N,thumbYRef:_,thumbXRef:B,handlePointerDown:Z,handlePointerUp:X,rootId:J,thumbSize:Y,hasMeasuredScrollbar:ut}=pr(),F={hovering:g,scrolling:{horizontal:p,vertical:v}[f],orientation:f,hasOverflowX:!b.x,hasOverflowY:!b.y,overflowXStart:S.xStart,overflowXEnd:S.xEnd,overflowYStart:S.yStart,overflowYEnd:S.yEnd,cornerHidden:b.corner},k=Wv(),ct=!ut&&!d;L.useEffect(()=>{const lt=N.current,w=f==="vertical"?A.current:C.current;if(!w)return;function q(Q){if(!(!lt||!w||Q.ctrlKey)){if(Q.preventDefault(),f==="vertical"){if(lt.scrollTop===0&&Q.deltaY<0)return}else if(lt.scrollLeft===0&&Q.deltaX<0)return;if(f==="vertical"){if(lt.scrollTop===lt.scrollHeight-lt.clientHeight&&Q.deltaY>0)return}else if(lt.scrollLeft===lt.scrollWidth-lt.clientWidth&&Q.deltaX>0)return;f==="vertical"?lt.scrollTop+=Q.deltaY:lt.scrollLeft+=Q.deltaX}}return w.addEventListener("wheel",q,{passive:!1}),()=>{w.removeEventListener("wheel",q)}},[f,C,A,N]);const tt={...J&&{"data-id":`${J}-scrollbar`},onPointerDown(lt){if(lt.button===0&<.currentTarget===lt.target&&N.current){if(_.current&&A.current&&f==="vertical"){const w=Ie(_.current,"margin","y"),q=Ie(A.current,"padding","y"),Q=_.current.offsetHeight,ot=A.current.getBoundingClientRect(),G=lt.clientY-ot.top-Q/2-q+w/2,x=N.current.scrollHeight,V=N.current.clientHeight,K=A.current.offsetHeight-Q-q-w,I=G/K*(x-V);N.current.scrollTop=I}if(B.current&&C.current&&f==="horizontal"){const w=Ie(B.current,"margin","x"),q=Ie(C.current,"padding","x"),Q=B.current.offsetWidth,ot=C.current.getBoundingClientRect(),G=lt.clientX-ot.left-Q/2-q+w/2,x=N.current.scrollWidth,V=N.current.clientWidth,K=C.current.offsetWidth-Q-q-w,P=G/K;let I;k==="rtl"?(I=(1-P)*(x-V),N.current.scrollLeft<=0&&(I=-I)):I=P*(x-V),N.current.scrollLeft=I}Z(lt)}},onPointerUp:X,style:{position:"absolute",touchAction:"none",WebkitUserSelect:"none",userSelect:"none",visibility:ct?"hidden":void 0,...f==="vertical"&&{top:0,bottom:`var(${sr.scrollAreaCornerHeight})`,insetInlineEnd:0,[or.scrollAreaThumbHeight]:`${Y.height}px`},...f==="horizontal"&&{insetInlineStart:0,insetInlineEnd:`var(${sr.scrollAreaCornerWidth})`,bottom:0,[or.scrollAreaThumbWidth]:`${Y.width}px`}}},W=aa("div",a,{ref:[s,f==="vertical"?A:C],state:F,props:[tt,m],stateAttributesMapping:od}),dt=L.useMemo(()=>({orientation:f}),[f]),St=f==="vertical"?b.y:b.x;return d||!St?$.jsx($v.Provider,{value:dt,children:W}):null}),zw=L.forwardRef(function(a,s){const{render:o,className:c,...f}=a,{thumbYRef:d,thumbXRef:m,handlePointerDown:g,handlePointerMove:p,handlePointerUp:v,setScrollingX:b,setScrollingY:S,hasMeasuredScrollbar:A}=pr(),{orientation:C}=Cw();return aa("div",a,{ref:[s,C==="vertical"?d:m],state:{orientation:C},props:[{onPointerDown:g,onPointerMove:p,onPointerUp(B){C==="vertical"&&S(!1),C==="horizontal"&&b(!1),v(B)},style:{visibility:A?void 0:"hidden",...C==="vertical"&&{height:`var(${or.scrollAreaThumbHeight})`},...C==="horizontal"&&{width:`var(${or.scrollAreaThumbWidth})`}}},f]})}),Rw=L.forwardRef(function(a,s){const{render:o,className:c,...f}=a,{cornerRef:d,cornerSize:m,hiddenState:g}=pr(),p=aa("div",a,{ref:[s,d],props:[{style:{position:"absolute",bottom:0,insetInlineEnd:0,width:m.width,height:m.height}},f]});return g.corner?null:p});function Iv(i){var a,s,o="";if(typeof i=="string"||typeof i=="number")o+=i;else if(typeof i=="object")if(Array.isArray(i)){var c=i.length;for(a=0;a{const s=new Array(i.length+a.length);for(let o=0;o({classGroupId:i,validator:a}),eb=(i=new Map,a=null,s)=>({nextPart:i,validators:a,classGroupId:s}),rr="-",Ky=[],Nw="arbitrary..",_w=i=>{const a=Uw(i),{conflictingClassGroups:s,conflictingClassGroupModifiers:o}=i;return{getClassGroupId:d=>{if(d.startsWith("[")&&d.endsWith("]"))return Bw(d);const m=d.split(rr),g=m[0]===""&&m.length>1?1:0;return nb(m,g,a)},getConflictingClassGroupIds:(d,m)=>{if(m){const g=o[d],p=s[d];return g?p?Ow(p,g):g:p||Ky}return s[d]||Ky}}},nb=(i,a,s)=>{if(i.length-a===0)return s.classGroupId;const c=i[a],f=s.nextPart.get(c);if(f){const p=nb(i,a+1,f);if(p)return p}const d=s.validators;if(d===null)return;const m=a===0?i.join(rr):i.slice(a).join(rr),g=d.length;for(let p=0;pi.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const a=i.slice(1,-1),s=a.indexOf(":"),o=a.slice(0,s);return o?Nw+o:void 0})(),Uw=i=>{const{theme:a,classGroups:s}=i;return Lw(s,a)},Lw=(i,a)=>{const s=eb();for(const o in i){const c=i[o];rd(c,s,o,a)}return s},rd=(i,a,s,o)=>{const c=i.length;for(let f=0;f{if(typeof i=="string"){Hw(i,a,s);return}if(typeof i=="function"){kw(i,a,s,o);return}Yw(i,a,s,o)},Hw=(i,a,s)=>{const o=i===""?a:ib(a,i);o.classGroupId=s},kw=(i,a,s,o)=>{if(Xw(i)){rd(i(o),a,s,o);return}a.validators===null&&(a.validators=[]),a.validators.push(Vw(s,i))},Yw=(i,a,s,o)=>{const c=Object.entries(i),f=c.length;for(let d=0;d{let s=i;const o=a.split(rr),c=o.length;for(let f=0;f"isThemeGetter"in i&&i.isThemeGetter===!0,Gw=i=>{if(i<1)return{get:()=>{},set:()=>{}};let a=0,s=Object.create(null),o=Object.create(null);const c=(f,d)=>{s[f]=d,a++,a>i&&(a=0,o=s,s=Object.create(null))};return{get(f){let d=s[f];if(d!==void 0)return d;if((d=o[f])!==void 0)return c(f,d),d},set(f,d){f in s?s[f]=d:c(f,d)}}},Rf="!",Qy=":",qw=[],Jy=(i,a,s,o,c)=>({modifiers:i,hasImportantModifier:a,baseClassName:s,maybePostfixModifierPosition:o,isExternal:c}),Zw=i=>{const{prefix:a,experimentalParseClassName:s}=i;let o=c=>{const f=[];let d=0,m=0,g=0,p;const v=c.length;for(let N=0;Ng?p-g:void 0;return Jy(f,A,S,C)};if(a){const c=a+Qy,f=o;o=d=>d.startsWith(c)?f(d.slice(c.length)):Jy(qw,!1,d,void 0,!0)}if(s){const c=o;o=f=>s({className:f,parseClassName:c})}return o},Kw=i=>{const a=new Map;return i.orderSensitiveModifiers.forEach((s,o)=>{a.set(s,1e6+o)}),s=>{const o=[];let c=[];for(let f=0;f0&&(c.sort(),o.push(...c),c=[]),o.push(d)):c.push(d)}return c.length>0&&(c.sort(),o.push(...c)),o}},Qw=i=>({cache:Gw(i.cacheSize),parseClassName:Zw(i),sortModifiers:Kw(i),..._w(i)}),Jw=/\s+/,Pw=(i,a)=>{const{parseClassName:s,getClassGroupId:o,getConflictingClassGroupIds:c,sortModifiers:f}=a,d=[],m=i.trim().split(Jw);let g="";for(let p=m.length-1;p>=0;p-=1){const v=m[p],{isExternal:b,modifiers:S,hasImportantModifier:A,baseClassName:C,maybePostfixModifierPosition:N}=s(v);if(b){g=v+(g.length>0?" "+g:g);continue}let _=!!N,B=o(_?C.substring(0,N):C);if(!B){if(!_){g=v+(g.length>0?" "+g:g);continue}if(B=o(C),!B){g=v+(g.length>0?" "+g:g);continue}_=!1}const Z=S.length===0?"":S.length===1?S[0]:f(S).join(":"),X=A?Z+Rf:Z,J=X+B;if(d.indexOf(J)>-1)continue;d.push(J);const Y=c(B,_);for(let ut=0;ut0?" "+g:g)}return g},Fw=(...i)=>{let a=0,s,o,c="";for(;a{if(typeof i=="string")return i;let a,s="";for(let o=0;o{let s,o,c,f;const d=g=>{const p=a.reduce((v,b)=>b(v),i());return s=Qw(p),o=s.cache.get,c=s.cache.set,f=m,m(g)},m=g=>{const p=o(g);if(p)return p;const v=Pw(g,s);return c(g,v),v};return f=d,(...g)=>f(Fw(...g))},$w=[],ne=i=>{const a=s=>s[i]||$w;return a.isThemeGetter=!0,a},lb=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,sb=/^\((?:(\w[\w-]*):)?(.+)\)$/i,Iw=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,tC=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,eC=/\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$/,nC=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,iC=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,aC=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,xi=i=>Iw.test(i),bt=i=>!!i&&!Number.isNaN(Number(i)),Ti=i=>!!i&&Number.isInteger(Number(i)),tf=i=>i.endsWith("%")&&bt(i.slice(0,-1)),Kn=i=>tC.test(i),ob=()=>!0,lC=i=>eC.test(i)&&!nC.test(i),ud=()=>!1,sC=i=>iC.test(i),oC=i=>aC.test(i),rC=i=>!nt(i)&&!at(i),uC=i=>Ri(i,cb,ud),nt=i=>lb.test(i),$i=i=>Ri(i,fb,lC),Py=i=>Ri(i,yC,bt),cC=i=>Ri(i,hb,ob),fC=i=>Ri(i,db,ud),Fy=i=>Ri(i,rb,ud),dC=i=>Ri(i,ub,oC),Ho=i=>Ri(i,mb,sC),at=i=>sb.test(i),ts=i=>la(i,fb),hC=i=>la(i,db),Wy=i=>la(i,rb),mC=i=>la(i,cb),pC=i=>la(i,ub),ko=i=>la(i,mb,!0),gC=i=>la(i,hb,!0),Ri=(i,a,s)=>{const o=lb.exec(i);return o?o[1]?a(o[1]):s(o[2]):!1},la=(i,a,s=!1)=>{const o=sb.exec(i);return o?o[1]?a(o[1]):s:!1},rb=i=>i==="position"||i==="percentage",ub=i=>i==="image"||i==="url",cb=i=>i==="length"||i==="size"||i==="bg-size",fb=i=>i==="length",yC=i=>i==="number",db=i=>i==="family-name",hb=i=>i==="number"||i==="weight",mb=i=>i==="shadow",vC=()=>{const i=ne("color"),a=ne("font"),s=ne("text"),o=ne("font-weight"),c=ne("tracking"),f=ne("leading"),d=ne("breakpoint"),m=ne("container"),g=ne("spacing"),p=ne("radius"),v=ne("shadow"),b=ne("inset-shadow"),S=ne("text-shadow"),A=ne("drop-shadow"),C=ne("blur"),N=ne("perspective"),_=ne("aspect"),B=ne("ease"),Z=ne("animate"),X=()=>["auto","avoid","all","avoid-page","page","left","right","column"],J=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],Y=()=>[...J(),at,nt],ut=()=>["auto","hidden","clip","visible","scroll"],F=()=>["auto","contain","none"],k=()=>[at,nt,g],ct=()=>[xi,"full","auto",...k()],tt=()=>[Ti,"none","subgrid",at,nt],W=()=>["auto",{span:["full",Ti,at,nt]},Ti,at,nt],dt=()=>[Ti,"auto",at,nt],St=()=>["auto","min","max","fr",at,nt],wt=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],lt=()=>["start","end","center","stretch","center-safe","end-safe"],w=()=>["auto",...k()],q=()=>[xi,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...k()],Q=()=>[xi,"screen","full","dvw","lvw","svw","min","max","fit",...k()],ot=()=>[xi,"screen","full","lh","dvh","lvh","svh","min","max","fit",...k()],G=()=>[i,at,nt],x=()=>[...J(),Wy,Fy,{position:[at,nt]}],V=()=>["no-repeat",{repeat:["","x","y","space","round"]}],K=()=>["auto","cover","contain",mC,uC,{size:[at,nt]}],P=()=>[tf,ts,$i],I=()=>["","none","full",p,at,nt],rt=()=>["",bt,ts,$i],mt=()=>["solid","dashed","dotted","double"],Nt=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],pt=()=>[bt,tf,Wy,Fy],se=()=>["","none",C,at,nt],be=()=>["none",bt,at,nt],Se=()=>["none",bt,at,nt],xe=()=>[bt,at,nt],oe=()=>[xi,"full",...k()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[Kn],breakpoint:[Kn],color:[ob],container:[Kn],"drop-shadow":[Kn],ease:["in","out","in-out"],font:[rC],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[Kn],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[Kn],shadow:[Kn],spacing:["px",bt],text:[Kn],"text-shadow":[Kn],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",xi,nt,at,_]}],container:["container"],columns:[{columns:[bt,nt,at,m]}],"break-after":[{"break-after":X()}],"break-before":[{"break-before":X()}],"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:Y()}],overflow:[{overflow:ut()}],"overflow-x":[{"overflow-x":ut()}],"overflow-y":[{"overflow-y":ut()}],overscroll:[{overscroll:F()}],"overscroll-x":[{"overscroll-x":F()}],"overscroll-y":[{"overscroll-y":F()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:ct()}],"inset-x":[{"inset-x":ct()}],"inset-y":[{"inset-y":ct()}],start:[{"inset-s":ct(),start:ct()}],end:[{"inset-e":ct(),end:ct()}],"inset-bs":[{"inset-bs":ct()}],"inset-be":[{"inset-be":ct()}],top:[{top:ct()}],right:[{right:ct()}],bottom:[{bottom:ct()}],left:[{left:ct()}],visibility:["visible","invisible","collapse"],z:[{z:[Ti,"auto",at,nt]}],basis:[{basis:[xi,"full","auto",m,...k()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[bt,xi,"auto","initial","none",nt]}],grow:[{grow:["",bt,at,nt]}],shrink:[{shrink:["",bt,at,nt]}],order:[{order:[Ti,"first","last","none",at,nt]}],"grid-cols":[{"grid-cols":tt()}],"col-start-end":[{col:W()}],"col-start":[{"col-start":dt()}],"col-end":[{"col-end":dt()}],"grid-rows":[{"grid-rows":tt()}],"row-start-end":[{row:W()}],"row-start":[{"row-start":dt()}],"row-end":[{"row-end":dt()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":St()}],"auto-rows":[{"auto-rows":St()}],gap:[{gap:k()}],"gap-x":[{"gap-x":k()}],"gap-y":[{"gap-y":k()}],"justify-content":[{justify:[...wt(),"normal"]}],"justify-items":[{"justify-items":[...lt(),"normal"]}],"justify-self":[{"justify-self":["auto",...lt()]}],"align-content":[{content:["normal",...wt()]}],"align-items":[{items:[...lt(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...lt(),{baseline:["","last"]}]}],"place-content":[{"place-content":wt()}],"place-items":[{"place-items":[...lt(),"baseline"]}],"place-self":[{"place-self":["auto",...lt()]}],p:[{p:k()}],px:[{px:k()}],py:[{py:k()}],ps:[{ps:k()}],pe:[{pe:k()}],pbs:[{pbs:k()}],pbe:[{pbe:k()}],pt:[{pt:k()}],pr:[{pr:k()}],pb:[{pb:k()}],pl:[{pl:k()}],m:[{m:w()}],mx:[{mx:w()}],my:[{my:w()}],ms:[{ms:w()}],me:[{me:w()}],mbs:[{mbs:w()}],mbe:[{mbe:w()}],mt:[{mt:w()}],mr:[{mr:w()}],mb:[{mb:w()}],ml:[{ml:w()}],"space-x":[{"space-x":k()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":k()}],"space-y-reverse":["space-y-reverse"],size:[{size:q()}],"inline-size":[{inline:["auto",...Q()]}],"min-inline-size":[{"min-inline":["auto",...Q()]}],"max-inline-size":[{"max-inline":["none",...Q()]}],"block-size":[{block:["auto",...ot()]}],"min-block-size":[{"min-block":["auto",...ot()]}],"max-block-size":[{"max-block":["none",...ot()]}],w:[{w:[m,"screen",...q()]}],"min-w":[{"min-w":[m,"screen","none",...q()]}],"max-w":[{"max-w":[m,"screen","none","prose",{screen:[d]},...q()]}],h:[{h:["screen","lh",...q()]}],"min-h":[{"min-h":["screen","lh","none",...q()]}],"max-h":[{"max-h":["screen","lh",...q()]}],"font-size":[{text:["base",s,ts,$i]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[o,gC,cC]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",tf,nt]}],"font-family":[{font:[hC,fC,a]}],"font-features":[{"font-features":[nt]}],"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:[c,at,nt]}],"line-clamp":[{"line-clamp":[bt,"none",at,Py]}],leading:[{leading:[f,...k()]}],"list-image":[{"list-image":["none",at,nt]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",at,nt]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:G()}],"text-color":[{text:G()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...mt(),"wavy"]}],"text-decoration-thickness":[{decoration:[bt,"from-font","auto",at,$i]}],"text-decoration-color":[{decoration:G()}],"underline-offset":[{"underline-offset":[bt,"auto",at,nt]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:k()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",at,nt]}],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",at,nt]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:x()}],"bg-repeat":[{bg:V()}],"bg-size":[{bg:K()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},Ti,at,nt],radial:["",at,nt],conic:[Ti,at,nt]},pC,dC]}],"bg-color":[{bg:G()}],"gradient-from-pos":[{from:P()}],"gradient-via-pos":[{via:P()}],"gradient-to-pos":[{to:P()}],"gradient-from":[{from:G()}],"gradient-via":[{via:G()}],"gradient-to":[{to:G()}],rounded:[{rounded:I()}],"rounded-s":[{"rounded-s":I()}],"rounded-e":[{"rounded-e":I()}],"rounded-t":[{"rounded-t":I()}],"rounded-r":[{"rounded-r":I()}],"rounded-b":[{"rounded-b":I()}],"rounded-l":[{"rounded-l":I()}],"rounded-ss":[{"rounded-ss":I()}],"rounded-se":[{"rounded-se":I()}],"rounded-ee":[{"rounded-ee":I()}],"rounded-es":[{"rounded-es":I()}],"rounded-tl":[{"rounded-tl":I()}],"rounded-tr":[{"rounded-tr":I()}],"rounded-br":[{"rounded-br":I()}],"rounded-bl":[{"rounded-bl":I()}],"border-w":[{border:rt()}],"border-w-x":[{"border-x":rt()}],"border-w-y":[{"border-y":rt()}],"border-w-s":[{"border-s":rt()}],"border-w-e":[{"border-e":rt()}],"border-w-bs":[{"border-bs":rt()}],"border-w-be":[{"border-be":rt()}],"border-w-t":[{"border-t":rt()}],"border-w-r":[{"border-r":rt()}],"border-w-b":[{"border-b":rt()}],"border-w-l":[{"border-l":rt()}],"divide-x":[{"divide-x":rt()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":rt()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...mt(),"hidden","none"]}],"divide-style":[{divide:[...mt(),"hidden","none"]}],"border-color":[{border:G()}],"border-color-x":[{"border-x":G()}],"border-color-y":[{"border-y":G()}],"border-color-s":[{"border-s":G()}],"border-color-e":[{"border-e":G()}],"border-color-bs":[{"border-bs":G()}],"border-color-be":[{"border-be":G()}],"border-color-t":[{"border-t":G()}],"border-color-r":[{"border-r":G()}],"border-color-b":[{"border-b":G()}],"border-color-l":[{"border-l":G()}],"divide-color":[{divide:G()}],"outline-style":[{outline:[...mt(),"none","hidden"]}],"outline-offset":[{"outline-offset":[bt,at,nt]}],"outline-w":[{outline:["",bt,ts,$i]}],"outline-color":[{outline:G()}],shadow:[{shadow:["","none",v,ko,Ho]}],"shadow-color":[{shadow:G()}],"inset-shadow":[{"inset-shadow":["none",b,ko,Ho]}],"inset-shadow-color":[{"inset-shadow":G()}],"ring-w":[{ring:rt()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:G()}],"ring-offset-w":[{"ring-offset":[bt,$i]}],"ring-offset-color":[{"ring-offset":G()}],"inset-ring-w":[{"inset-ring":rt()}],"inset-ring-color":[{"inset-ring":G()}],"text-shadow":[{"text-shadow":["none",S,ko,Ho]}],"text-shadow-color":[{"text-shadow":G()}],opacity:[{opacity:[bt,at,nt]}],"mix-blend":[{"mix-blend":[...Nt(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":Nt()}],"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":[bt]}],"mask-image-linear-from-pos":[{"mask-linear-from":pt()}],"mask-image-linear-to-pos":[{"mask-linear-to":pt()}],"mask-image-linear-from-color":[{"mask-linear-from":G()}],"mask-image-linear-to-color":[{"mask-linear-to":G()}],"mask-image-t-from-pos":[{"mask-t-from":pt()}],"mask-image-t-to-pos":[{"mask-t-to":pt()}],"mask-image-t-from-color":[{"mask-t-from":G()}],"mask-image-t-to-color":[{"mask-t-to":G()}],"mask-image-r-from-pos":[{"mask-r-from":pt()}],"mask-image-r-to-pos":[{"mask-r-to":pt()}],"mask-image-r-from-color":[{"mask-r-from":G()}],"mask-image-r-to-color":[{"mask-r-to":G()}],"mask-image-b-from-pos":[{"mask-b-from":pt()}],"mask-image-b-to-pos":[{"mask-b-to":pt()}],"mask-image-b-from-color":[{"mask-b-from":G()}],"mask-image-b-to-color":[{"mask-b-to":G()}],"mask-image-l-from-pos":[{"mask-l-from":pt()}],"mask-image-l-to-pos":[{"mask-l-to":pt()}],"mask-image-l-from-color":[{"mask-l-from":G()}],"mask-image-l-to-color":[{"mask-l-to":G()}],"mask-image-x-from-pos":[{"mask-x-from":pt()}],"mask-image-x-to-pos":[{"mask-x-to":pt()}],"mask-image-x-from-color":[{"mask-x-from":G()}],"mask-image-x-to-color":[{"mask-x-to":G()}],"mask-image-y-from-pos":[{"mask-y-from":pt()}],"mask-image-y-to-pos":[{"mask-y-to":pt()}],"mask-image-y-from-color":[{"mask-y-from":G()}],"mask-image-y-to-color":[{"mask-y-to":G()}],"mask-image-radial":[{"mask-radial":[at,nt]}],"mask-image-radial-from-pos":[{"mask-radial-from":pt()}],"mask-image-radial-to-pos":[{"mask-radial-to":pt()}],"mask-image-radial-from-color":[{"mask-radial-from":G()}],"mask-image-radial-to-color":[{"mask-radial-to":G()}],"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":J()}],"mask-image-conic-pos":[{"mask-conic":[bt]}],"mask-image-conic-from-pos":[{"mask-conic-from":pt()}],"mask-image-conic-to-pos":[{"mask-conic-to":pt()}],"mask-image-conic-from-color":[{"mask-conic-from":G()}],"mask-image-conic-to-color":[{"mask-conic-to":G()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:x()}],"mask-repeat":[{mask:V()}],"mask-size":[{mask:K()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",at,nt]}],filter:[{filter:["","none",at,nt]}],blur:[{blur:se()}],brightness:[{brightness:[bt,at,nt]}],contrast:[{contrast:[bt,at,nt]}],"drop-shadow":[{"drop-shadow":["","none",A,ko,Ho]}],"drop-shadow-color":[{"drop-shadow":G()}],grayscale:[{grayscale:["",bt,at,nt]}],"hue-rotate":[{"hue-rotate":[bt,at,nt]}],invert:[{invert:["",bt,at,nt]}],saturate:[{saturate:[bt,at,nt]}],sepia:[{sepia:["",bt,at,nt]}],"backdrop-filter":[{"backdrop-filter":["","none",at,nt]}],"backdrop-blur":[{"backdrop-blur":se()}],"backdrop-brightness":[{"backdrop-brightness":[bt,at,nt]}],"backdrop-contrast":[{"backdrop-contrast":[bt,at,nt]}],"backdrop-grayscale":[{"backdrop-grayscale":["",bt,at,nt]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[bt,at,nt]}],"backdrop-invert":[{"backdrop-invert":["",bt,at,nt]}],"backdrop-opacity":[{"backdrop-opacity":[bt,at,nt]}],"backdrop-saturate":[{"backdrop-saturate":[bt,at,nt]}],"backdrop-sepia":[{"backdrop-sepia":["",bt,at,nt]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":k()}],"border-spacing-x":[{"border-spacing-x":k()}],"border-spacing-y":[{"border-spacing-y":k()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",at,nt]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[bt,"initial",at,nt]}],ease:[{ease:["linear","initial",B,at,nt]}],delay:[{delay:[bt,at,nt]}],animate:[{animate:["none",Z,at,nt]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[N,at,nt]}],"perspective-origin":[{"perspective-origin":Y()}],rotate:[{rotate:be()}],"rotate-x":[{"rotate-x":be()}],"rotate-y":[{"rotate-y":be()}],"rotate-z":[{"rotate-z":be()}],scale:[{scale:Se()}],"scale-x":[{"scale-x":Se()}],"scale-y":[{"scale-y":Se()}],"scale-z":[{"scale-z":Se()}],"scale-3d":["scale-3d"],skew:[{skew:xe()}],"skew-x":[{"skew-x":xe()}],"skew-y":[{"skew-y":xe()}],transform:[{transform:[at,nt,"","none","gpu","cpu"]}],"transform-origin":[{origin:Y()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:oe()}],"translate-x":[{"translate-x":oe()}],"translate-y":[{"translate-y":oe()}],"translate-z":[{"translate-z":oe()}],"translate-none":["translate-none"],accent:[{accent:G()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:G()}],"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",at,nt]}],"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":k()}],"scroll-mx":[{"scroll-mx":k()}],"scroll-my":[{"scroll-my":k()}],"scroll-ms":[{"scroll-ms":k()}],"scroll-me":[{"scroll-me":k()}],"scroll-mbs":[{"scroll-mbs":k()}],"scroll-mbe":[{"scroll-mbe":k()}],"scroll-mt":[{"scroll-mt":k()}],"scroll-mr":[{"scroll-mr":k()}],"scroll-mb":[{"scroll-mb":k()}],"scroll-ml":[{"scroll-ml":k()}],"scroll-p":[{"scroll-p":k()}],"scroll-px":[{"scroll-px":k()}],"scroll-py":[{"scroll-py":k()}],"scroll-ps":[{"scroll-ps":k()}],"scroll-pe":[{"scroll-pe":k()}],"scroll-pbs":[{"scroll-pbs":k()}],"scroll-pbe":[{"scroll-pbe":k()}],"scroll-pt":[{"scroll-pt":k()}],"scroll-pr":[{"scroll-pr":k()}],"scroll-pb":[{"scroll-pb":k()}],"scroll-pl":[{"scroll-pl":k()}],"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",at,nt]}],fill:[{fill:["none",...G()]}],"stroke-w":[{stroke:[bt,ts,$i,Py]}],stroke:[{stroke:["none",...G()]}],"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"]}},bC=Ww(vC);function yr(...i){return bC(tb(i))}function SC({className:i,children:a,...s}){return $.jsxs(yw,{"data-slot":"scroll-area",className:yr("relative",i),...s,children:[$.jsx(Ew,{"data-slot":"scroll-area-viewport",className:"size-full rounded-[inherit] transition-[color,box-shadow] outline-none focus-visible:ring-[3px] focus-visible:ring-ring/50 focus-visible:outline-1",children:a}),$.jsx(xC,{}),$.jsx(Rw,{})]})}function xC({className:i,orientation:a="vertical",...s}){return $.jsx(Dw,{"data-slot":"scroll-area-scrollbar","data-orientation":a,orientation:a,className:yr("flex touch-none p-px transition-colors select-none data-horizontal:h-2.5 data-horizontal:flex-col data-horizontal:border-t data-horizontal:border-t-transparent data-vertical:h-full data-vertical:w-2.5 data-vertical:border-l data-vertical:border-l-transparent",i),...s,children:$.jsx(zw,{"data-slot":"scroll-area-thumb",className:"relative flex-1 rounded-full bg-border"})})}function TC(i){return aa(i.defaultTagName??"div",i,i)}const $y=i=>typeof i=="boolean"?`${i}`:i===0?"0":i,Iy=tb,pb=(i,a)=>s=>{var o;if((a==null?void 0:a.variants)==null)return Iy(i,s==null?void 0:s.class,s==null?void 0:s.className);const{variants:c,defaultVariants:f}=a,d=Object.keys(c).map(p=>{const v=s==null?void 0:s[p],b=f==null?void 0:f[p];if(v===null)return null;const S=$y(v)||$y(b);return c[p][S]}),m=s&&Object.entries(s).reduce((p,v)=>{let[b,S]=v;return S===void 0||(p[b]=S),p},{}),g=a==null||(o=a.compoundVariants)===null||o===void 0?void 0:o.reduce((p,v)=>{let{class:b,className:S,...A}=v;return Object.entries(A).every(C=>{let[N,_]=C;return Array.isArray(_)?_.includes({...f,...m}[N]):{...f,...m}[N]===_})?[...p,b,S]:p},[]);return Iy(i,d,g,s==null?void 0:s.class,s==null?void 0:s.className)},AC=pb("group/badge inline-flex h-5 w-fit shrink-0 items-center justify-center gap-1 overflow-hidden rounded-4xl border border-transparent px-2 py-0.5 text-xs font-medium whitespace-nowrap transition-all focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 [&>svg]:pointer-events-none [&>svg]:size-3!",{variants:{variant:{default:"bg-primary text-primary-foreground [a]:hover:bg-primary/80",secondary:"bg-secondary text-secondary-foreground [a]:hover:bg-secondary/80",destructive:"bg-destructive/10 text-destructive focus-visible:ring-destructive/20 dark:bg-destructive/20 dark:focus-visible:ring-destructive/40 [a]:hover:bg-destructive/20",outline:"border-border text-foreground [a]:hover:bg-muted [a]:hover:text-muted-foreground",ghost:"hover:bg-muted hover:text-muted-foreground dark:hover:bg-muted/50",link:"text-primary underline-offset-4 hover:underline"}},defaultVariants:{variant:"default"}});function t0({className:i,variant:a="default",render:s,...o}){return TC({defaultTagName:"span",props:sd({className:yr(AC({variant:a}),i)},o),render:s,state:{slot:"badge",variant:a}})}const EC=L.createContext(void 0);function MC(i=!1){const a=L.useContext(EC);if(a===void 0&&!i)throw new Error(mr(16));return a}function wC(i){const{focusableWhenDisabled:a,disabled:s,composite:o=!1,tabIndex:c=0,isNativeButton:f}=i,d=o&&a!==!1,m=o&&a===!1;return{props:L.useMemo(()=>{const p={onKeyDown(v){s&&a&&v.key!=="Tab"&&v.preventDefault()}};return o||(p.tabIndex=c,!f&&s&&(p.tabIndex=a?c:-1)),(f&&(a||d)||!f&&s)&&(p["aria-disabled"]=s),f&&(!a||m)&&(p.disabled=s),p},[o,s,a,d,m,f,c])}}function CC(i={}){const{disabled:a=!1,focusableWhenDisabled:s,tabIndex:o=0,native:c=!0,composite:f}=i,d=L.useRef(null),m=MC(!0),g=f??m!==void 0,{props:p}=wC({focusableWhenDisabled:s,disabled:a,composite:g,tabIndex:o,isNativeButton:c}),v=L.useCallback(()=>{const A=d.current;ef(A)&&g&&a&&p.disabled===void 0&&A.disabled&&(A.disabled=!1)},[a,p.disabled,g]);Po(v,[v]);const b=L.useCallback((A={})=>{const{onClick:C,onMouseDown:N,onKeyUp:_,onKeyDown:B,onPointerDown:Z,...X}=A;return sd({type:c?"button":void 0,onClick(Y){if(a){Y.preventDefault();return}C==null||C(Y)},onMouseDown(Y){a||N==null||N(Y)},onKeyDown(Y){if(a||(zf(Y),B==null||B(Y),Y.baseUIHandlerPrevented))return;const ut=Y.target===Y.currentTarget,F=Y.currentTarget,k=ef(F),ct=!c&&DC(F),tt=ut&&(c?k:!ct),W=Y.key==="Enter",dt=Y.key===" ",St=F.getAttribute("role"),wt=(St==null?void 0:St.startsWith("menuitem"))||St==="option"||St==="gridcell";if(ut&&g&&dt){if(Y.defaultPrevented&&wt)return;Y.preventDefault(),ct||c&&k?(F.click(),Y.preventBaseUIHandler()):tt&&(C==null||C(Y),Y.preventBaseUIHandler());return}tt&&(!c&&(dt||W)&&Y.preventDefault(),!c&&W&&(C==null||C(Y)))},onKeyUp(Y){if(!a){if(zf(Y),_==null||_(Y),Y.target===Y.currentTarget&&c&&g&&ef(Y.currentTarget)&&Y.key===" "){Y.preventDefault();return}Y.baseUIHandlerPrevented||Y.target===Y.currentTarget&&!c&&!g&&Y.key===" "&&(C==null||C(Y))}},onPointerDown(Y){if(a){Y.preventDefault();return}Z==null||Z(Y)}},c?void 0:{role:"button"},p,X)},[a,p,g,c]),S=el(A=>{d.current=A,v()});return{getButtonProps:b,buttonRef:S}}function ef(i){return nw(i)&&i.tagName==="BUTTON"}function DC(i){return!!((i==null?void 0:i.tagName)==="A"&&(i!=null&&i.href))}const zC=L.forwardRef(function(a,s){const{render:o,className:c,disabled:f=!1,focusableWhenDisabled:d=!1,nativeButton:m=!0,...g}=a,{getButtonProps:p,buttonRef:v}=CC({disabled:f,focusableWhenDisabled:d,native:m});return aa("button",a,{state:{disabled:f},ref:[s,v],props:[g,p]})}),RC=pb("group/button inline-flex shrink-0 items-center justify-center rounded-lg border border-transparent bg-clip-padding text-sm font-medium whitespace-nowrap transition-all outline-none select-none focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 active:not-aria-[haspopup]:translate-y-px disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",{variants:{variant:{default:"bg-primary text-primary-foreground [a]:hover:bg-primary/80",outline:"border-border bg-background hover:bg-muted hover:text-foreground aria-expanded:bg-muted aria-expanded:text-foreground dark:border-input dark:bg-input/30 dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80 aria-expanded:bg-secondary aria-expanded:text-secondary-foreground",ghost:"hover:bg-muted hover:text-foreground aria-expanded:bg-muted aria-expanded:text-foreground dark:hover:bg-muted/50",destructive:"bg-destructive/10 text-destructive hover:bg-destructive/20 focus-visible:border-destructive/40 focus-visible:ring-destructive/20 dark:bg-destructive/20 dark:hover:bg-destructive/30 dark:focus-visible:ring-destructive/40",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-8 gap-1.5 px-2.5 has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2",xs:"h-6 gap-1 rounded-[min(var(--radius-md),10px)] px-2 text-xs in-data-[slot=button-group]:rounded-lg has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 [&_svg:not([class*='size-'])]:size-3",sm:"h-7 gap-1 rounded-[min(var(--radius-md),12px)] px-2.5 text-[0.8rem] in-data-[slot=button-group]:rounded-lg has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 [&_svg:not([class*='size-'])]:size-3.5",lg:"h-9 gap-1.5 px-2.5 has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2",icon:"size-8","icon-xs":"size-6 rounded-[min(var(--radius-md),10px)] in-data-[slot=button-group]:rounded-lg [&_svg:not([class*='size-'])]:size-3","icon-sm":"size-7 rounded-[min(var(--radius-md),12px)] in-data-[slot=button-group]:rounded-lg","icon-lg":"size-9"}},defaultVariants:{variant:"default",size:"default"}});function OC({className:i,variant:a="default",size:s="default",...o}){return $.jsx(zC,{"data-slot":"button",className:yr(RC({variant:a,size:s,className:i})),...o})}function VC(i){const a=i.toLowerCase();return a.includes("chrome://")||a.includes("cannot access a chrome:// url")?"This is a Chrome internal page (like New Tab). Open a regular website to run the analysis.":a.includes("cannot access contents of url")?"This page blocks extension access. Try another tab with a regular website.":a.includes("receiving end does not exist")?"Could not connect to this tab yet. Refresh the page and try Rescan.":"Could not analyze this page. Try refreshing the tab and clicking Rescan."}async function NC(i){return await chrome.scripting.executeScript({target:{tabId:i},files:["content.js"]}),new Promise((a,s)=>{chrome.tabs.sendMessage(i,{action:"analyze"},o=>{if(chrome.runtime.lastError){s(new Error(chrome.runtime.lastError.message));return}if(!o){s(new Error("No response from content script after injection."));return}a(o)})})}async function _C(){var o;if(!((o=chrome==null?void 0:chrome.tabs)!=null&&o.query))return CM(document);const a=(await chrome.tabs.query({active:!0,currentWindow:!0}))[0];if(!(a!=null&&a.id))throw new Error("No active tab found.");const s=a.url||"";if(s.startsWith("chrome://")||s.startsWith("chrome-extension://")||s.startsWith("edge://"))throw new Error("Cannot access a chrome:// URL");try{return await new Promise((c,f)=>{chrome.tabs.sendMessage(a.id,{action:"analyze"},d=>{if(chrome.runtime.lastError){f(new Error(chrome.runtime.lastError.message));return}if(!d){f(new Error("No response from content script."));return}c(d)})})}catch{return NC(a.id)}}function BC(){const[i,a]=L.useState(null),[s,o]=L.useState(!1),[c,f]=L.useState(null),d=L.useMemo(()=>i?i.score<30?"text-emerald-500":i.score<70?"text-amber-500":"text-rose-500":"text-slate-300",[i]),m=L.useMemo(()=>i?i.score<30?"Human / Handcrafted":i.score<70?"Hybrid / Assisted":"Vibe Coded / AI-First":null,[i]),g=L.useMemo(()=>i?i.score<30?$.jsx(vM,{className:`w-8 h-8 ${d}`}):i.score<70?$.jsx(SM,{className:`w-8 h-8 ${d}`}):$.jsx(gM,{className:`w-8 h-8 ${d}`}):null,[i,d]),p=b=>{const S="w-3 h-3 text-indigo-400 shrink-0";return{"Tailwind & Utility DNA":$.jsx(_y,{className:S}),"Shadcn/UI & Radix":$.jsx(rM,{className:S}),"AI Iconography (Lucide)":$.jsx(Ny,{className:S}),"Vibe Coding Stack":$.jsx(Oy,{className:S}),"AI IDE & Agent Markers":$.jsx(dM,{className:S}),"Platform Signatures":$.jsx(Vy,{className:S}),"Prompt Artifact Comments":$.jsx(aM,{className:S}),"Model/Provider Metadata":$.jsx(ZE,{className:S}),"Generic Code Structure":$.jsx(FE,{className:S}),"AI SDK/Dependency Clues":$.jsx(sM,{className:S}),"Commit/PR Metadata":$.jsx($E,{className:S}),"Default AI UI Patterns":$.jsx(nM,{className:S}),"Consistent Formatting":$.jsx(EM,{className:S}),"External AI References":$.jsx(JE,{className:S}),"Build/CI AI Artifacts":$.jsx(mM,{className:S})}[b]??$.jsx(Vy,{className:S})},v=async()=>{o(!0),f(null);try{const b=await _C();a(b)}catch(b){const S=b instanceof Error?b.message:"Failed to analyze active tab.";f(VC(S))}finally{o(!1)}};return L.useEffect(()=>{v()},[]),$.jsxs("div",{className:"w-[380px] bg-slate-950 text-slate-50 font-sans border border-slate-800 rounded-xl shadow-2xl overflow-hidden",children:[$.jsxs("div",{className:"px-4 py-3 border-b border-slate-800 bg-slate-900/50 flex items-center justify-between",children:[$.jsxs("div",{className:"flex items-center gap-2",children:[$.jsx("div",{className:"w-8 h-8 bg-indigo-600 rounded-lg flex items-center justify-center shadow-lg shadow-indigo-500/20",children:$.jsx(Ny,{className:"w-5 h-5 text-white"})}),$.jsx("div",{children:$.jsx("h1",{className:"text-sm font-bold tracking-tight",children:"Vibe Code Detector"})})]}),$.jsx(OC,{variant:"ghost",size:"icon",onClick:v,disabled:s,className:"hover:bg-slate-800 text-slate-400",children:$.jsx(cM,{className:`w-4 h-4 ${s?"animate-spin":""}`})})]}),$.jsx(SC,{className:"h-[480px]",children:$.jsxs("div",{className:"p-4 space-y-6",children:[$.jsx("div",{className:"flex flex-col items-center justify-center py-4",children:s?$.jsxs("div",{className:"flex flex-col items-center gap-4",children:[$.jsxs("div",{className:"relative",children:[$.jsx("div",{className:"w-24 h-24 border-4 border-indigo-500/20 border-t-indigo-500 rounded-full animate-spin"}),$.jsx("div",{className:"absolute inset-0 flex items-center justify-center",children:$.jsx(_y,{className:"w-8 h-8 text-indigo-500 animate-pulse"})})]}),$.jsx("p",{className:"text-sm font-medium text-slate-400 animate-pulse",children:"Analyzing heuristics..."})]}):i?$.jsxs(zy.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},className:"flex flex-col items-center text-center gap-2",children:[$.jsx("div",{className:"mb-2",children:g}),$.jsxs("div",{className:"text-5xl font-black tracking-tighter flex items-baseline gap-1",children:[$.jsx("span",{className:d,children:i.score}),$.jsx("span",{className:"text-xl text-slate-600",children:"/100"})]}),$.jsx(t0,{variant:"outline",className:`${d} border-current bg-current/5 px-3 py-1`,children:m}),$.jsx("p",{className:"text-xs text-slate-400 mt-2 max-w-[250px]",children:"Probability of this site being AI-generated or heavily assisted."})]}):null}),$.jsxs("div",{className:"space-y-3",children:[$.jsxs("div",{className:"flex items-center justify-between",children:[$.jsxs("h3",{className:"text-xs font-semibold text-slate-500 uppercase tracking-wider flex items-center gap-2",children:[$.jsx(Oy,{className:"w-3 h-3"})," Detected Factors"]}),i&&$.jsxs("span",{className:"text-xs font-bold tabular-nums text-slate-400",children:[$.jsx("span",{className:i.factors.filter(b=>b.detected).length>0?"text-indigo-400":"",children:i.factors.filter(b=>b.detected).length}),$.jsxs("span",{className:"text-slate-600",children:[" / ",i.factors.length]})]})]}),c&&$.jsx("div",{className:"rounded-lg border border-rose-500/40 bg-rose-500/10 p-3 text-xs text-rose-200",children:c}),!c&&i&&$.jsx("div",{className:"grid gap-2",children:i.factors.map((b,S)=>$.jsxs(zy.div,{initial:{opacity:0,x:-10},animate:{opacity:1,x:0},transition:{delay:S*.04},className:`p-3 rounded-lg border transition-colors ${b.detected?"bg-indigo-500/15 border-indigo-500/50":"bg-slate-950 border-slate-800/50 opacity-30"}`,children:[$.jsxs("div",{className:"flex items-center justify-between mb-1",children:[$.jsxs("div",{className:"flex items-center gap-2",children:[p(b.name),$.jsx("span",{className:`text-xs font-bold ${b.detected?"text-indigo-200":"text-slate-500"}`,children:b.name})]}),b.detected&&$.jsxs(t0,{className:"bg-indigo-500 text-[9px] h-4 px-1.5",children:["+",b.weight,"%"]})]}),$.jsx("p",{className:`text-[10px] leading-relaxed ${b.detected?"text-slate-300":"text-slate-600"}`,children:b.description})]},b.name))})]}),!c&&$.jsx("div",{className:"pt-2 border-t border-slate-800",children:$.jsxs("div",{className:"bg-slate-900 rounded-lg p-3 flex items-start gap-3",children:[$.jsx(tM,{className:"w-4 h-4 text-indigo-400 shrink-0 mt-0.5"}),$.jsx("p",{className:"text-[10px] text-slate-400 leading-normal",children:'"Vibe Coding" refers to a development style where AI generates most of the visual and structural code, resulting in highly standardized modern design patterns.'})]})})]})})]})}XS.createRoot(document.getElementById("root")).render($.jsx(L.StrictMode,{children:$.jsx(BC,{})})); diff --git a/extension/popup.html b/extension/popup.html index b505f27..beb4d9a 100644 --- a/extension/popup.html +++ b/extension/popup.html @@ -4,8 +4,8 @@ Vibe Code Detector - - + +
From 2b7fbd9534896e5a418216b726c8c444e6236f21 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 20 Apr 2026 23:24:00 +0000 Subject: [PATCH 2/2] fix: auto-publish release zip from version bumps Agent-Logs-Url: https://github.com/paladini/vibe-code-detector/sessions/3942277f-2712-4585-8dca-4ad49739575a Co-authored-by: paladini <3361224+paladini@users.noreply.github.com> --- .github/workflows/release.yml | 21 +++- README.md | 5 +- extension/assets/popup.B77XgkDI.css | 1 - extension/popup.BiFCt1KS.js | 169 ---------------------------- extension/popup.html | 4 +- 5 files changed, 24 insertions(+), 176 deletions(-) delete mode 100644 extension/assets/popup.B77XgkDI.css delete mode 100644 extension/popup.BiFCt1KS.js diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 64315b3..179ac7c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -2,13 +2,19 @@ name: Release Extension on: push: + branches: + - main tags: - 'v*' + paths: + - package.json + - extension/manifest.json + - .github/workflows/release.yml workflow_dispatch: inputs: version: description: 'Version to release (example: v1.2.3)' - required: true + required: false type: string permissions: @@ -40,10 +46,20 @@ jobs: id: meta shell: bash run: | + PACKAGE_VERSION="$(node -p "JSON.parse(require('fs').readFileSync('package.json', 'utf8')).version")" + MANIFEST_VERSION="$(node -p "JSON.parse(require('fs').readFileSync('extension/manifest.json', 'utf8')).version")" + + if [[ "$PACKAGE_VERSION" != "$MANIFEST_VERSION" ]]; then + echo "package.json version ($PACKAGE_VERSION) does not match extension/manifest.json version ($MANIFEST_VERSION)" >&2 + exit 1 + fi + if [[ "${GITHUB_REF_TYPE}" == "tag" ]]; then TAG="${GITHUB_REF_NAME}" - else + elif [[ -n "${{ inputs.version }}" ]]; then TAG="${{ inputs.version }}" + else + TAG="v${MANIFEST_VERSION}" fi if [[ ! "$TAG" =~ ^v ]]; then @@ -79,6 +95,7 @@ jobs: uses: softprops/action-gh-release@v2 with: tag_name: ${{ steps.meta.outputs.tag }} + target_commitish: ${{ github.sha }} name: Vibe Code Detector ${{ steps.meta.outputs.version }} generate_release_notes: true body: | diff --git a/README.md b/README.md index 989a34a..8aa8461 100644 --- a/README.md +++ b/README.md @@ -83,10 +83,11 @@ npm run build # Build the Chrome extension into extension/ npm run lint # Run ESLint ``` -CI runs on every push via GitHub Actions. Releases can be published either by: +CI runs on every push via GitHub Actions. Releases can be published by: +- bumping `extension/manifest.json` and `package.json` versions on `main` (the workflow automatically creates/updates the matching `vX.Y.Z` GitHub release), - pushing a version tag (`v*.*.*`), or -- manually triggering the **Release Extension** workflow with a version input. +- manually triggering the **Release Extension** workflow with an optional version input. Published GitHub releases include the packaged extension zip and checksum, while the recommended user install path remains the Chrome Web Store listing: diff --git a/extension/assets/popup.B77XgkDI.css b/extension/assets/popup.B77XgkDI.css deleted file mode 100644 index 7cdb811..0000000 --- a/extension/assets/popup.B77XgkDI.css +++ /dev/null @@ -1 +0,0 @@ -/*! tailwindcss v4.2.2 | MIT License | https://tailwindcss.com */@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-scale-x:1;--tw-scale-y:1;--tw-scale-z:1;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-pan-x:initial;--tw-pan-y:initial;--tw-pinch-zoom:initial;--tw-space-y-reverse:0;--tw-space-x-reverse:0;--tw-divide-x-reverse:0;--tw-border-style:solid;--tw-divide-y-reverse:0;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction: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-ease:initial;--tw-content:"";--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-animation-delay:0s;--tw-animation-direction:normal;--tw-animation-duration:initial;--tw-animation-fill-mode:none;--tw-animation-iteration-count:1;--tw-enter-blur:0;--tw-enter-opacity:1;--tw-enter-rotate:0;--tw-enter-scale:1;--tw-enter-translate-x:0;--tw-enter-translate-y:0;--tw-exit-blur:0;--tw-exit-opacity:1;--tw-exit-rotate:0;--tw-exit-scale:1;--tw-exit-translate-x:0;--tw-exit-translate-y:0}}}@layer theme{:root,:host{--font-sans:"Geist Variable", sans-serif;--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--color-amber-400:oklch(82.8% .189 84.429);--color-amber-500:oklch(76.9% .188 70.08);--color-emerald-400:oklch(76.5% .177 163.223);--color-emerald-500:oklch(69.6% .17 162.48);--color-indigo-200:oklch(87% .065 274.039);--color-indigo-300:oklch(78.5% .115 274.713);--color-indigo-400:oklch(67.3% .182 276.935);--color-indigo-500:oklch(58.5% .233 277.117);--color-indigo-600:oklch(51.1% .262 276.966);--color-purple-400:oklch(71.4% .203 305.504);--color-purple-500:oklch(62.7% .265 303.9);--color-rose-200:oklch(89.2% .058 10.001);--color-rose-400:oklch(71.2% .194 13.428);--color-rose-500:oklch(64.5% .246 16.439);--color-slate-50:oklch(98.4% .003 247.858);--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-white:#fff;--spacing:.25rem;--container-xl:36rem;--container-2xl:42rem;--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: 1.5 ;--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-5xl:3rem;--text-5xl--line-height:1;--text-7xl:4.5rem;--text-7xl--line-height:1;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--font-weight-black:900;--tracking-tighter:-.05em;--tracking-tight:-.025em;--tracking-wider:.05em;--tracking-widest:.1em;--leading-snug:1.375;--leading-normal:1.5;--leading-relaxed:1.625;--radius-md:calc(var(--radius) * .8);--radius-lg:var(--radius);--ease-in:cubic-bezier(.4, 0, 1, 1);--ease-out:cubic-bezier(0, 0, .2, 1);--ease-in-out:cubic-bezier(.4, 0, .2, 1);--animate-spin:spin 1s linear infinite;--animate-pulse:pulse 2s cubic-bezier(.4, 0, .6, 1) infinite;--aspect-video:16 / 9;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:"Geist Variable", sans-serif;--default-mono-font-family:var(--font-mono)}}@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;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;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]){-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}*{border-color:var(--border);outline-color:var(--ring)}@supports (color:color-mix(in lab,red,red)){*{outline-color:color-mix(in oklab,var(--ring) 50%,transparent)}}body{background-color:var(--background);color:var(--foreground)}html{font-family:Geist Variable,sans-serif}}@layer components;@layer utilities{.\@container\/card-header{container:card-header/inline-size}.pointer-events-none{pointer-events:none}.collapse{visibility:collapse}.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}.not-sr-only{clip-path:none;white-space:normal;width:auto;height:auto;margin:0;padding:0;position:static;overflow:visible}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.inset-0{inset:calc(var(--spacing) * 0)}.start{inset-inline-start:var(--spacing)}.end{inset-inline-end:var(--spacing)}.-top-\[20\%\]{top:-20%}.top-4{top:calc(var(--spacing) * 4)}.-right-4{right:calc(var(--spacing) * -4)}.-right-\[10\%\]{right:-10%}.right-4{right:calc(var(--spacing) * 4)}.-bottom-4{bottom:calc(var(--spacing) * -4)}.-bottom-\[20\%\]{bottom:-20%}.-left-\[10\%\]{left:-10%}.isolate{isolation:isolate}.isolation-auto{isolation:auto}.z-10{z-index:10}.z-20{z-index:20}.z-30{z-index:30}.col-start-2{grid-column-start:2}.row-span-2{grid-row:span 2/span 2}.row-start-1{grid-row-start:1}.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}}.mx-auto{margin-inline:auto}.mt-0\.5{margin-top:calc(var(--spacing) * .5)}.mt-2{margin-top:calc(var(--spacing) * 2)}.mb-1{margin-bottom:calc(var(--spacing) * 1)}.mb-2{margin-bottom:calc(var(--spacing) * 2)}.ml-auto{margin-left:auto}.block{display:block}.contents{display:contents}.flex{display:flex}.flow-root{display:flow-root}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.inline-grid{display:inline-grid}.inline-table{display:inline-table}.list-item{display:list-item}.table{display:table}.table-caption{display:table-caption}.table-cell{display:table-cell}.table-column{display:table-column}.table-column-group{display:table-column-group}.table-footer-group{display:table-footer-group}.table-header-group{display:table-header-group}.table-row{display:table-row}.table-row-group{display:table-row-group}.aspect-video{aspect-ratio:var(--aspect-video)}.size-6{width:calc(var(--spacing) * 6);height:calc(var(--spacing) * 6)}.size-7{width:calc(var(--spacing) * 7);height:calc(var(--spacing) * 7)}.size-8{width:calc(var(--spacing) * 8);height:calc(var(--spacing) * 8)}.size-9{width:calc(var(--spacing) * 9);height:calc(var(--spacing) * 9)}.size-full{width:100%;height:100%}.h-1{height:calc(var(--spacing) * 1)}.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-20{height:calc(var(--spacing) * 20)}.h-24{height:calc(var(--spacing) * 24)}.h-32{height:calc(var(--spacing) * 32)}.h-40{height:calc(var(--spacing) * 40)}.h-\[70\%\]{height:70%}.h-\[480px\]{height:480px}.h-\[calc\(100\%-1px\)\]{height:calc(100% - 1px)}.h-full{height:100%}.min-h-\[520px\]{min-height:520px}.min-h-screen{min-height:100vh}.w-1\/3{width:33.3333%}.w-2\.5{width:calc(var(--spacing) * 2.5)}.w-3{width:calc(var(--spacing) * 3)}.w-4{width:calc(var(--spacing) * 4)}.w-5{width:calc(var(--spacing) * 5)}.w-8{width:calc(var(--spacing) * 8)}.w-10{width:calc(var(--spacing) * 10)}.w-24{width:calc(var(--spacing) * 24)}.w-\[70\%\]{width:70%}.w-\[380px\]{width:380px}.w-fit{width:fit-content}.w-full{width:100%}.w-px{width:1px}.max-w-2xl{max-width:var(--container-2xl)}.max-w-\[250px\]{max-width:250px}.max-w-xl{max-width:var(--container-xl)}.flex-1{flex:1}.flex-shrink,.shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.grow{flex-grow:1}.border-collapse{border-collapse:collapse}.translate-none{translate:none}.scale-3d{scale:var(--tw-scale-x) var(--tw-scale-y) var(--tw-scale-z)}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.animate-pulse{animation:var(--animate-pulse)}.animate-spin{animation:var(--animate-spin)}.touch-pinch-zoom{--tw-pinch-zoom:pinch-zoom;touch-action:var(--tw-pan-x,) var(--tw-pan-y,) var(--tw-pinch-zoom,)}.touch-none{touch-action:none}.resize{resize:both}.auto-rows-min{grid-auto-rows:min-content}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-baseline{align-items:baseline}.items-center{align-items:center}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.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-6{gap:calc(var(--spacing) * 6)}.gap-16{gap:calc(var(--spacing) * 16)}: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-3>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 3) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 3) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-4>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 4) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 4) * 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-y-8>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 8) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 8) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-reverse>:not(:last-child)){--tw-space-y-reverse:1}:where(.space-x-reverse>:not(:last-child)){--tw-space-x-reverse:1}:where(.divide-x>:not(:last-child)){--tw-divide-x-reverse:0;border-inline-style:var(--tw-border-style);border-inline-start-width:calc(1px * var(--tw-divide-x-reverse));border-inline-end-width:calc(1px * calc(1 - var(--tw-divide-x-reverse)))}:where(.divide-y>:not(:last-child)){--tw-divide-y-reverse:0;border-bottom-style:var(--tw-border-style);border-top-style:var(--tw-border-style);border-top-width:calc(1px * var(--tw-divide-y-reverse));border-bottom-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)))}:where(.divide-y-reverse>:not(:last-child)){--tw-divide-y-reverse:1}.self-start{align-self:flex-start}.justify-self-end{justify-self:flex-end}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-hidden{overflow:hidden}.overflow-x-hidden{overflow-x:hidden}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:calc(var(--radius) * 1.8)}.rounded-4xl{border-radius:calc(var(--radius) * 2.6)}.rounded-\[inherit\]{border-radius:inherit}.rounded-\[min\(var\(--radius-md\)\,10px\)\]{border-radius:min(var(--radius-md),10px)}.rounded-\[min\(var\(--radius-md\)\,12px\)\]{border-radius:min(var(--radius-md),12px)}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius)}.rounded-md{border-radius:calc(var(--radius) * .8)}.rounded-xl{border-radius:calc(var(--radius) * 1.4)}.rounded-s{border-start-start-radius:.25rem;border-end-start-radius:.25rem}.rounded-ss{border-start-start-radius:.25rem}.rounded-e{border-start-end-radius:.25rem;border-end-end-radius:.25rem}.rounded-se{border-start-end-radius:.25rem}.rounded-ee{border-end-end-radius:.25rem}.rounded-es{border-end-start-radius:.25rem}.rounded-t{border-top-left-radius:.25rem;border-top-right-radius:.25rem}.rounded-t-xl{border-top-left-radius:calc(var(--radius) * 1.4);border-top-right-radius:calc(var(--radius) * 1.4)}.rounded-l{border-top-left-radius:.25rem;border-bottom-left-radius:.25rem}.rounded-tl{border-top-left-radius:.25rem}.rounded-r{border-top-right-radius:.25rem;border-bottom-right-radius:.25rem}.rounded-tr{border-top-right-radius:.25rem}.rounded-b{border-bottom-right-radius:.25rem;border-bottom-left-radius:.25rem}.rounded-b-xl{border-bottom-right-radius:calc(var(--radius) * 1.4);border-bottom-left-radius:calc(var(--radius) * 1.4)}.rounded-br{border-bottom-right-radius:.25rem}.rounded-bl{border-bottom-left-radius:.25rem}.border{border-style:var(--tw-border-style);border-width:1px}.border-2{border-style:var(--tw-border-style);border-width:2px}.border-4{border-style:var(--tw-border-style);border-width:4px}.border-x{border-inline-style:var(--tw-border-style);border-inline-width:1px}.border-y{border-block-style:var(--tw-border-style);border-block-width:1px}.border-s{border-inline-start-style:var(--tw-border-style);border-inline-start-width:1px}.border-e{border-inline-end-style:var(--tw-border-style);border-inline-end-width:1px}.border-bs{border-block-start-style:var(--tw-border-style);border-block-start-width:1px}.border-be{border-block-end-style:var(--tw-border-style);border-block-end-width:1px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-r{border-right-style:var(--tw-border-style);border-right-width:1px}.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-border{border-color:var(--border)}.border-current{border-color:currentColor}.border-indigo-400\/30{border-color:#7d87ff4d}@supports (color:color-mix(in lab,red,red)){.border-indigo-400\/30{border-color:color-mix(in oklab,var(--color-indigo-400) 30%,transparent)}}.border-indigo-500\/20{border-color:#625fff33}@supports (color:color-mix(in lab,red,red)){.border-indigo-500\/20{border-color:color-mix(in oklab,var(--color-indigo-500) 20%,transparent)}}.border-indigo-500\/50{border-color:#625fff80}@supports (color:color-mix(in lab,red,red)){.border-indigo-500\/50{border-color:color-mix(in oklab,var(--color-indigo-500) 50%,transparent)}}.border-input{border-color:var(--input)}.border-rose-500\/40{border-color:#ff235766}@supports (color:color-mix(in lab,red,red)){.border-rose-500\/40{border-color:color-mix(in oklab,var(--color-rose-500) 40%,transparent)}}.border-slate-700{border-color:var(--color-slate-700)}.border-slate-800{border-color:var(--color-slate-800)}.border-slate-800\/50{border-color:#1d293d80}@supports (color:color-mix(in lab,red,red)){.border-slate-800\/50{border-color:color-mix(in oklab,var(--color-slate-800) 50%,transparent)}}.border-transparent{border-color:#0000}.border-t-indigo-500{border-top-color:var(--color-indigo-500)}.bg-amber-500\/50{background-color:#f99c0080}@supports (color:color-mix(in lab,red,red)){.bg-amber-500\/50{background-color:color-mix(in oklab,var(--color-amber-500) 50%,transparent)}}.bg-background{background-color:var(--background)}.bg-border{background-color:var(--border)}.bg-card{background-color:var(--card)}.bg-current\/5{background-color:currentColor}@supports (color:color-mix(in lab,red,red)){.bg-current\/5{background-color:color-mix(in oklab,currentcolor 5%,transparent)}}.bg-destructive\/10{background-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.bg-destructive\/10{background-color:color-mix(in oklab,var(--destructive) 10%,transparent)}}.bg-emerald-500\/50{background-color:#00bb7f80}@supports (color:color-mix(in lab,red,red)){.bg-emerald-500\/50{background-color:color-mix(in oklab,var(--color-emerald-500) 50%,transparent)}}.bg-indigo-500{background-color:var(--color-indigo-500)}.bg-indigo-500\/10{background-color:#625fff1a}@supports (color:color-mix(in lab,red,red)){.bg-indigo-500\/10{background-color:color-mix(in oklab,var(--color-indigo-500) 10%,transparent)}}.bg-indigo-500\/15{background-color:#625fff26}@supports (color:color-mix(in lab,red,red)){.bg-indigo-500\/15{background-color:color-mix(in oklab,var(--color-indigo-500) 15%,transparent)}}.bg-indigo-500\/20{background-color:#625fff33}@supports (color:color-mix(in lab,red,red)){.bg-indigo-500\/20{background-color:color-mix(in oklab,var(--color-indigo-500) 20%,transparent)}}.bg-indigo-600{background-color:var(--color-indigo-600)}.bg-muted,.bg-muted\/50{background-color:var(--muted)}@supports (color:color-mix(in lab,red,red)){.bg-muted\/50{background-color:color-mix(in oklab,var(--muted) 50%,transparent)}}.bg-primary{background-color:var(--primary)}.bg-purple-500\/10{background-color:#ac4bff1a}@supports (color:color-mix(in lab,red,red)){.bg-purple-500\/10{background-color:color-mix(in oklab,var(--color-purple-500) 10%,transparent)}}.bg-purple-500\/20{background-color:#ac4bff33}@supports (color:color-mix(in lab,red,red)){.bg-purple-500\/20{background-color:color-mix(in oklab,var(--color-purple-500) 20%,transparent)}}.bg-rose-500\/10{background-color:#ff23571a}@supports (color:color-mix(in lab,red,red)){.bg-rose-500\/10{background-color:color-mix(in oklab,var(--color-rose-500) 10%,transparent)}}.bg-rose-500\/50{background-color:#ff235780}@supports (color:color-mix(in lab,red,red)){.bg-rose-500\/50{background-color:color-mix(in oklab,var(--color-rose-500) 50%,transparent)}}.bg-secondary{background-color:var(--secondary)}.bg-slate-800{background-color:var(--color-slate-800)}.bg-slate-800\/50{background-color:#1d293d80}@supports (color:color-mix(in lab,red,red)){.bg-slate-800\/50{background-color:color-mix(in oklab,var(--color-slate-800) 50%,transparent)}}.bg-slate-900{background-color:var(--color-slate-900)}.bg-slate-900\/50{background-color:#0f172b80}@supports (color:color-mix(in lab,red,red)){.bg-slate-900\/50{background-color:color-mix(in oklab,var(--color-slate-900) 50%,transparent)}}.bg-slate-950{background-color:var(--color-slate-950)}.bg-transparent{background-color:#0000}.bg-clip-padding{background-clip:padding-box}.bg-repeat{background-repeat:repeat}.mask-no-clip{-webkit-mask-clip:no-clip;mask-clip:no-clip}.mask-repeat{-webkit-mask-repeat:repeat;mask-repeat:repeat}.object-cover{object-fit:cover}.p-3{padding:calc(var(--spacing) * 3)}.p-4{padding:calc(var(--spacing) * 4)}.p-8{padding:calc(var(--spacing) * 8)}.p-\[3px\]{padding:3px}.p-px{padding:1px}.px-1\.5{padding-inline:calc(var(--spacing) * 1.5)}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-2\.5{padding-inline:calc(var(--spacing) * 2.5)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-4{padding-inline:calc(var(--spacing) * 4)}.px-6{padding-inline:calc(var(--spacing) * 6)}.py-0\.5{padding-block:calc(var(--spacing) * .5)}.py-1{padding-block:calc(var(--spacing) * 1)}.py-3{padding-block:calc(var(--spacing) * 3)}.py-4{padding-block:calc(var(--spacing) * 4)}.py-12{padding-block:calc(var(--spacing) * 12)}.pt-2{padding-top:calc(var(--spacing) * 2)}.pt-4{padding-top:calc(var(--spacing) * 4)}.text-center{text-align:center}.font-heading{font-family:var(--font-sans)}.font-mono{font-family:var(--font-mono)}.font-sans{font-family:Geist Variable,sans-serif}.text-5xl{font-size:var(--text-5xl);line-height:var(--tw-leading,var(--text-5xl--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-xl{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--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-\[9px\]{font-size:9px}.text-\[10px\]{font-size:10px}.leading-\[0\.9\]{--tw-leading:.9;line-height:.9}.leading-normal{--tw-leading:var(--leading-normal);line-height:var(--leading-normal)}.leading-relaxed{--tw-leading:var(--leading-relaxed);line-height:var(--leading-relaxed)}.leading-snug{--tw-leading:var(--leading-snug);line-height:var(--leading-snug)}.font-black{--tw-font-weight:var(--font-weight-black);font-weight:var(--font-weight-black)}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-tight{--tw-tracking:var(--tracking-tight);letter-spacing:var(--tracking-tight)}.tracking-tighter{--tw-tracking:var(--tracking-tighter);letter-spacing:var(--tracking-tighter)}.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}.text-clip{text-overflow:clip}.text-ellipsis{text-overflow:ellipsis}.whitespace-nowrap{white-space:nowrap}.text-amber-500{color:var(--color-amber-500)}.text-card-foreground{color:var(--card-foreground)}.text-destructive{color:var(--destructive)}.text-emerald-500{color:var(--color-emerald-500)}.text-foreground,.text-foreground\/60{color:var(--foreground)}@supports (color:color-mix(in lab,red,red)){.text-foreground\/60{color:color-mix(in oklab,var(--foreground) 60%,transparent)}}.text-indigo-200{color:var(--color-indigo-200)}.text-indigo-400{color:var(--color-indigo-400)}.text-indigo-500{color:var(--color-indigo-500)}.text-muted-foreground{color:var(--muted-foreground)}.text-primary{color:var(--primary)}.text-primary-foreground{color:var(--primary-foreground)}.text-purple-400{color:var(--color-purple-400)}.text-rose-200{color:var(--color-rose-200)}.text-rose-500{color:var(--color-rose-500)}.text-secondary-foreground{color:var(--secondary-foreground)}.text-slate-50{color:var(--color-slate-50)}.text-slate-300{color:var(--color-slate-300)}.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-white{color:var(--color-white)}.capitalize{text-transform:capitalize}.lowercase{text-transform:lowercase}.normal-case{text-transform:none}.uppercase{text-transform:uppercase}.italic{font-style:italic}.not-italic{font-style:normal}.diagonal-fractions{--tw-numeric-fraction:diagonal-fractions;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.lining-nums{--tw-numeric-figure:lining-nums;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.oldstyle-nums{--tw-numeric-figure:oldstyle-nums;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.ordinal{--tw-ordinal:ordinal;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.proportional-nums{--tw-numeric-spacing:proportional-nums;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.slashed-zero{--tw-slashed-zero:slashed-zero;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.stacked-fractions{--tw-numeric-fraction:stacked-fractions;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.normal-nums{font-variant-numeric:normal}.line-through{text-decoration-line:line-through}.no-underline{text-decoration-line:none}.overline{text-decoration-line:overline}.underline{text-decoration-line:underline}.underline-offset-4{text-underline-offset:4px}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.subpixel-antialiased{-webkit-font-smoothing:auto;-moz-osx-font-smoothing:auto}.opacity-10{opacity:.1}.opacity-30{opacity:.3}.shadow{--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-2xl{--tw-shadow:0 25px 50px -12px var(--tw-shadow-color,#00000040);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)}.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)}.inset-ring{--tw-inset-ring-shadow:inset 0 0 0 1px var(--tw-inset-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-indigo-500\/20{--tw-shadow-color:#625fff33}@supports (color:color-mix(in lab,red,red)){.shadow-indigo-500\/20{--tw-shadow-color:color-mix(in oklab, color-mix(in oklab, var(--color-indigo-500) 20%, transparent) var(--tw-shadow-alpha), transparent)}}.ring-foreground\/10{--tw-ring-color:var(--foreground)}@supports (color:color-mix(in lab,red,red)){.ring-foreground\/10{--tw-ring-color:color-mix(in oklab, var(--foreground) 10%, transparent)}}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.blur{--tw-blur:blur(8px);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,)}.blur-\[120px\]{--tw-blur:blur(120px);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,)}.drop-shadow{--tw-drop-shadow-size:drop-shadow(0 1px 2px var(--tw-drop-shadow-color,#0000001a)) drop-shadow(0 1px 1px var(--tw-drop-shadow-color,#0000000f));--tw-drop-shadow:drop-shadow(0 1px 2px #0000001a) drop-shadow(0 1px 1px #0000000f);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,)}.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-grayscale{--tw-backdrop-grayscale:grayscale(100%);-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-invert{--tw-backdrop-invert:invert(100%);-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-sepia{--tw-backdrop-sepia:sepia(100%);-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-filter{-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-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))}.ease-in{--tw-ease:var(--ease-in);transition-timing-function:var(--ease-in)}.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)}.outline-none{--tw-outline-style:none;outline-style:none}.select-none{-webkit-user-select:none;user-select:none}:where(.divide-x-reverse>:not(:last-child)){--tw-divide-x-reverse:1}.paused{animation-play-state:paused}.ring-inset{--tw-ring-inset:inset}.running{animation-play-state:running}.zoom-in{--tw-enter-scale:0}.zoom-out{--tw-exit-scale:0}@media(hover:hover){.group-hover\:border-indigo-500:is(:where(.group):hover *){border-color:var(--color-indigo-500)}.group-hover\:text-indigo-400:is(:where(.group):hover *){color:var(--color-indigo-400)}}.group-data-\[size\=sm\]\/card\:p-3:is(:where(.group\/card)[data-size=sm] *){padding:calc(var(--spacing) * 3)}.group-data-\[size\=sm\]\/card\:px-3:is(:where(.group\/card)[data-size=sm] *){padding-inline:calc(var(--spacing) * 3)}.group-data-\[size\=sm\]\/card\:text-sm:is(:where(.group\/card)[data-size=sm] *){font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.group-data-\[variant\=line\]\/tabs-list\:bg-transparent:is(:where(.group\/tabs-list)[data-variant=line] *){background-color:#0000}.group-data-horizontal\/tabs\:h-8:is(:where(.group\/tabs):where([data-orientation=horizontal]) *){height:calc(var(--spacing) * 8)}.group-data-vertical\/tabs\:h-fit:is(:where(.group\/tabs):where([data-orientation=vertical]) *){height:fit-content}.group-data-vertical\/tabs\:w-full:is(:where(.group\/tabs):where([data-orientation=vertical]) *){width:100%}.group-data-vertical\/tabs\:flex-col:is(:where(.group\/tabs):where([data-orientation=vertical]) *){flex-direction:column}.group-data-vertical\/tabs\:justify-start:is(:where(.group\/tabs):where([data-orientation=vertical]) *){justify-content:flex-start}.selection\:bg-indigo-500\/30 ::selection{background-color:#625fff4d}@supports (color:color-mix(in lab,red,red)){.selection\:bg-indigo-500\/30 ::selection{background-color:color-mix(in oklab,var(--color-indigo-500) 30%,transparent)}}.selection\:bg-indigo-500\/30::selection{background-color:#625fff4d}@supports (color:color-mix(in lab,red,red)){.selection\:bg-indigo-500\/30::selection{background-color:color-mix(in oklab,var(--color-indigo-500) 30%,transparent)}}.after\:absolute:after{content:var(--tw-content);position:absolute}.after\:bg-foreground:after{content:var(--tw-content);background-color:var(--foreground)}.after\:opacity-0:after{content:var(--tw-content);opacity:0}.after\:transition-opacity:after{content:var(--tw-content);transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.group-data-horizontal\/tabs\:after\:inset-x-0:is(:where(.group\/tabs):where([data-orientation=horizontal]) *):after{content:var(--tw-content);inset-inline:calc(var(--spacing) * 0)}.group-data-horizontal\/tabs\:after\:bottom-\[-5px\]:is(:where(.group\/tabs):where([data-orientation=horizontal]) *):after{content:var(--tw-content);bottom:-5px}.group-data-horizontal\/tabs\:after\:h-0\.5:is(:where(.group\/tabs):where([data-orientation=horizontal]) *):after{content:var(--tw-content);height:calc(var(--spacing) * .5)}.group-data-vertical\/tabs\:after\:inset-y-0:is(:where(.group\/tabs):where([data-orientation=vertical]) *):after{content:var(--tw-content);inset-block:calc(var(--spacing) * 0)}.group-data-vertical\/tabs\:after\:-right-1:is(:where(.group\/tabs):where([data-orientation=vertical]) *):after{content:var(--tw-content);right:calc(var(--spacing) * -1)}.group-data-vertical\/tabs\:after\:w-0\.5:is(:where(.group\/tabs):where([data-orientation=vertical]) *):after{content:var(--tw-content);width:calc(var(--spacing) * .5)}@media(hover:hover){.hover\:bg-destructive\/20:hover{background-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.hover\:bg-destructive\/20:hover{background-color:color-mix(in oklab,var(--destructive) 20%,transparent)}}.hover\:bg-muted:hover{background-color:var(--muted)}.hover\:bg-secondary\/80:hover{background-color:var(--secondary)}@supports (color:color-mix(in lab,red,red)){.hover\:bg-secondary\/80:hover{background-color:color-mix(in oklab,var(--secondary) 80%,transparent)}}.hover\:bg-slate-800:hover{background-color:var(--color-slate-800)}.hover\:text-foreground:hover{color:var(--foreground)}.hover\:text-muted-foreground:hover{color:var(--muted-foreground)}.hover\:text-white:hover{color:var(--color-white)}.hover\:underline:hover{text-decoration-line:underline}}.focus-visible\:border-destructive\/40:focus-visible{border-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.focus-visible\:border-destructive\/40:focus-visible{border-color:color-mix(in oklab,var(--destructive) 40%,transparent)}}.focus-visible\:border-ring:focus-visible{border-color:var(--ring)}.focus-visible\:ring-3:focus-visible,.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-destructive\/20:focus-visible{--tw-ring-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.focus-visible\:ring-destructive\/20:focus-visible{--tw-ring-color:color-mix(in oklab, var(--destructive) 20%, transparent)}}.focus-visible\:ring-ring\/50:focus-visible{--tw-ring-color:var(--ring)}@supports (color:color-mix(in lab,red,red)){.focus-visible\:ring-ring\/50:focus-visible{--tw-ring-color:color-mix(in oklab, var(--ring) 50%, transparent)}}.focus-visible\:outline-1:focus-visible{outline-style:var(--tw-outline-style);outline-width:1px}.focus-visible\:outline-ring:focus-visible{outline-color:var(--ring)}.active\:not-aria-\[haspopup\]\:translate-y-px:active:not([aria-haspopup]){--tw-translate-y:1px;translate:var(--tw-translate-x) var(--tw-translate-y)}.disabled\:pointer-events-none:disabled{pointer-events:none}.disabled\:opacity-50:disabled{opacity:.5}:where([data-slot=button-group]) .in-data-\[slot\=button-group\]\:rounded-lg{border-radius:var(--radius)}.has-data-\[icon\=inline-end\]\:pr-1:has([data-icon=inline-end]){padding-right:calc(var(--spacing) * 1)}.has-data-\[icon\=inline-end\]\:pr-1\.5:has([data-icon=inline-end]){padding-right:calc(var(--spacing) * 1.5)}.has-data-\[icon\=inline-end\]\:pr-2:has([data-icon=inline-end]){padding-right:calc(var(--spacing) * 2)}.has-data-\[icon\=inline-start\]\:pl-1:has([data-icon=inline-start]){padding-left:calc(var(--spacing) * 1)}.has-data-\[icon\=inline-start\]\:pl-1\.5:has([data-icon=inline-start]){padding-left:calc(var(--spacing) * 1.5)}.has-data-\[icon\=inline-start\]\:pl-2:has([data-icon=inline-start]){padding-left:calc(var(--spacing) * 2)}.has-data-\[slot\=card-action\]\:grid-cols-\[1fr_auto\]:has([data-slot=card-action]){grid-template-columns:1fr auto}.has-data-\[slot\=card-description\]\:grid-rows-\[auto_auto\]:has([data-slot=card-description]){grid-template-rows:auto auto}.has-data-\[slot\=card-footer\]\:pb-0:has([data-slot=card-footer]){padding-bottom:calc(var(--spacing) * 0)}.has-\[\>img\:first-child\]\:pt-0:has(>img:first-child){padding-top:calc(var(--spacing) * 0)}.aria-disabled\:pointer-events-none[aria-disabled=true]{pointer-events:none}.aria-disabled\:opacity-50[aria-disabled=true]{opacity:.5}.aria-expanded\:bg-muted[aria-expanded=true]{background-color:var(--muted)}.aria-expanded\:bg-secondary[aria-expanded=true]{background-color:var(--secondary)}.aria-expanded\:text-foreground[aria-expanded=true]{color:var(--foreground)}.aria-expanded\:text-secondary-foreground[aria-expanded=true]{color:var(--secondary-foreground)}.aria-invalid\:border-destructive[aria-invalid=true]{border-color:var(--destructive)}.aria-invalid\:ring-3[aria-invalid=true]{--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)}.aria-invalid\:ring-destructive\/20[aria-invalid=true]{--tw-ring-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.aria-invalid\:ring-destructive\/20[aria-invalid=true]{--tw-ring-color:color-mix(in oklab, var(--destructive) 20%, transparent)}}.data-\[size\=sm\]\:gap-3[data-size=sm]{gap:calc(var(--spacing) * 3)}.data-\[size\=sm\]\:py-3[data-size=sm]{padding-block:calc(var(--spacing) * 3)}.data-\[size\=sm\]\:has-data-\[slot\=card-footer\]\:pb-0[data-size=sm]:has([data-slot=card-footer]){padding-bottom:calc(var(--spacing) * 0)}.data-\[variant\=line\]\:rounded-none[data-variant=line]{border-radius:0}@media(min-width:40rem){.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(min-width:64rem){.lg\:flex-row{flex-direction:row}.lg\:py-24{padding-block:calc(var(--spacing) * 24)}.lg\:text-7xl{font-size:var(--text-7xl);line-height:var(--tw-leading,var(--text-7xl--line-height))}}.dark\:border-input:is(.dark *){border-color:var(--input)}.dark\:bg-destructive\/20:is(.dark *){background-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.dark\:bg-destructive\/20:is(.dark *){background-color:color-mix(in oklab,var(--destructive) 20%,transparent)}}.dark\:bg-input\/30:is(.dark *){background-color:var(--input)}@supports (color:color-mix(in lab,red,red)){.dark\:bg-input\/30:is(.dark *){background-color:color-mix(in oklab,var(--input) 30%,transparent)}}.dark\:text-muted-foreground:is(.dark *){color:var(--muted-foreground)}@media(hover:hover){.dark\:hover\:bg-destructive\/30:is(.dark *):hover{background-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.dark\:hover\:bg-destructive\/30:is(.dark *):hover{background-color:color-mix(in oklab,var(--destructive) 30%,transparent)}}.dark\:hover\:bg-input\/50:is(.dark *):hover{background-color:var(--input)}@supports (color:color-mix(in lab,red,red)){.dark\:hover\:bg-input\/50:is(.dark *):hover{background-color:color-mix(in oklab,var(--input) 50%,transparent)}}.dark\:hover\:bg-muted\/50:is(.dark *):hover{background-color:var(--muted)}@supports (color:color-mix(in lab,red,red)){.dark\:hover\:bg-muted\/50:is(.dark *):hover{background-color:color-mix(in oklab,var(--muted) 50%,transparent)}}.dark\:hover\:text-foreground:is(.dark *):hover{color:var(--foreground)}}.dark\:focus-visible\:ring-destructive\/40:is(.dark *):focus-visible{--tw-ring-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.dark\:focus-visible\:ring-destructive\/40:is(.dark *):focus-visible{--tw-ring-color:color-mix(in oklab, var(--destructive) 40%, transparent)}}.dark\:aria-invalid\:border-destructive\/50:is(.dark *)[aria-invalid=true]{border-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.dark\:aria-invalid\:border-destructive\/50:is(.dark *)[aria-invalid=true]{border-color:color-mix(in oklab,var(--destructive) 50%,transparent)}}.dark\:aria-invalid\:ring-destructive\/40:is(.dark *)[aria-invalid=true]{--tw-ring-color:var(--destructive)}@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(--destructive) 40%, transparent)}}.data-active\:bg-background:where([data-state=active]),.data-active\:bg-background:where([data-active]:not([data-active=false])){background-color:var(--background)}.data-active\:text-foreground:where([data-state=active]),.data-active\:text-foreground:where([data-active]:not([data-active=false])){color:var(--foreground)}.group-data-\[variant\=default\]\/tabs-list\:data-active\:shadow-sm:is(:where(.group\/tabs-list)[data-variant=default] *):where([data-state=active]),.group-data-\[variant\=default\]\/tabs-list\:data-active\:shadow-sm:is(:where(.group\/tabs-list)[data-variant=default] *):where([data-active]:not([data-active=false])){--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)}.group-data-\[variant\=line\]\/tabs-list\:data-active\:bg-transparent:is(:where(.group\/tabs-list)[data-variant=line] *):where([data-state=active]),.group-data-\[variant\=line\]\/tabs-list\:data-active\:bg-transparent:is(:where(.group\/tabs-list)[data-variant=line] *):where([data-active]:not([data-active=false])){background-color:#0000}.group-data-\[variant\=line\]\/tabs-list\:data-active\:shadow-none:is(:where(.group\/tabs-list)[data-variant=line] *):where([data-state=active]),.group-data-\[variant\=line\]\/tabs-list\:data-active\:shadow-none:is(:where(.group\/tabs-list)[data-variant=line] *):where([data-active]:not([data-active=false])){--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}:is(.group-data-\[variant\=line\]\/tabs-list\:data-active\:after\:opacity-100:is(:where(.group\/tabs-list)[data-variant=line] *):where([data-state=active]),.group-data-\[variant\=line\]\/tabs-list\:data-active\:after\:opacity-100:is(:where(.group\/tabs-list)[data-variant=line] *):where([data-active]:not([data-active=false]))):after{content:var(--tw-content);opacity:1}.dark\:data-active\:border-input:is(.dark *):where([data-state=active]),.dark\:data-active\:border-input:is(.dark *):where([data-active]:not([data-active=false])){border-color:var(--input)}.dark\:data-active\:bg-input\/30:is(.dark *):where([data-state=active]),.dark\:data-active\:bg-input\/30:is(.dark *):where([data-active]:not([data-active=false])){background-color:var(--input)}@supports (color:color-mix(in lab,red,red)){.dark\:data-active\:bg-input\/30:is(.dark *):where([data-state=active]),.dark\:data-active\:bg-input\/30:is(.dark *):where([data-active]:not([data-active=false])){background-color:color-mix(in oklab,var(--input) 30%,transparent)}}.dark\:data-active\:text-foreground:is(.dark *):where([data-state=active]),.dark\:data-active\:text-foreground:is(.dark *):where([data-active]:not([data-active=false])){color:var(--foreground)}.dark\:group-data-\[variant\=line\]\/tabs-list\:data-active\:border-transparent:is(.dark *):is(:where(.group\/tabs-list)[data-variant=line] *):where([data-state=active]),.dark\:group-data-\[variant\=line\]\/tabs-list\:data-active\:border-transparent:is(.dark *):is(:where(.group\/tabs-list)[data-variant=line] *):where([data-active]:not([data-active=false])){border-color:#0000}.dark\:group-data-\[variant\=line\]\/tabs-list\:data-active\:bg-transparent:is(.dark *):is(:where(.group\/tabs-list)[data-variant=line] *):where([data-state=active]),.dark\:group-data-\[variant\=line\]\/tabs-list\:data-active\:bg-transparent:is(.dark *):is(:where(.group\/tabs-list)[data-variant=line] *):where([data-active]:not([data-active=false])){background-color:#0000}.data-horizontal\:h-2\.5:where([data-orientation=horizontal]){height:calc(var(--spacing) * 2.5)}.data-horizontal\:flex-col:where([data-orientation=horizontal]){flex-direction:column}.data-horizontal\:border-t:where([data-orientation=horizontal]){border-top-style:var(--tw-border-style);border-top-width:1px}.data-horizontal\:border-t-transparent:where([data-orientation=horizontal]){border-top-color:#0000}.data-vertical\:h-full:where([data-orientation=vertical]){height:100%}.data-vertical\:w-2\.5:where([data-orientation=vertical]){width:calc(var(--spacing) * 2.5)}.data-vertical\:border-l:where([data-orientation=vertical]){border-left-style:var(--tw-border-style);border-left-width:1px}.data-vertical\:border-l-transparent:where([data-orientation=vertical]){border-left-color:#0000}.\[\&_svg\]\:pointer-events-none svg{pointer-events:none}.\[\&_svg\]\:shrink-0 svg{flex-shrink:0}.\[\&_svg\:not\(\[class\*\=\'size-\'\]\)\]\:size-3 svg:not([class*=size-]){width:calc(var(--spacing) * 3);height:calc(var(--spacing) * 3)}.\[\&_svg\:not\(\[class\*\=\'size-\'\]\)\]\:size-3\.5 svg:not([class*=size-]){width:calc(var(--spacing) * 3.5);height:calc(var(--spacing) * 3.5)}.\[\&_svg\:not\(\[class\*\=\'size-\'\]\)\]\:size-4 svg:not([class*=size-]){width:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4)}.\[\.border-b\]\:pb-4.border-b{padding-bottom:calc(var(--spacing) * 4)}.group-data-\[size\=sm\]\/card\:\[\.border-b\]\:pb-3:is(:where(.group\/card)[data-size=sm] *).border-b{padding-bottom:calc(var(--spacing) * 3)}@media(hover:hover){.\[a\]\:hover\:bg-destructive\/20:is(a):hover{background-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.\[a\]\:hover\:bg-destructive\/20:is(a):hover{background-color:color-mix(in oklab,var(--destructive) 20%,transparent)}}.\[a\]\:hover\:bg-muted:is(a):hover{background-color:var(--muted)}.\[a\]\:hover\:bg-primary\/80:is(a):hover{background-color:var(--primary)}@supports (color:color-mix(in lab,red,red)){.\[a\]\:hover\:bg-primary\/80:is(a):hover{background-color:color-mix(in oklab,var(--primary) 80%,transparent)}}.\[a\]\:hover\:bg-secondary\/80:is(a):hover{background-color:var(--secondary)}@supports (color:color-mix(in lab,red,red)){.\[a\]\:hover\:bg-secondary\/80:is(a):hover{background-color:color-mix(in oklab,var(--secondary) 80%,transparent)}}.\[a\]\:hover\:text-muted-foreground:is(a):hover{color:var(--muted-foreground)}}:is(.\*\:\[img\:first-child\]\:rounded-t-xl>*):is(img:first-child){border-top-left-radius:calc(var(--radius) * 1.4);border-top-right-radius:calc(var(--radius) * 1.4)}:is(.\*\:\[img\:last-child\]\:rounded-b-xl>*):is(img:last-child){border-bottom-right-radius:calc(var(--radius) * 1.4);border-bottom-left-radius:calc(var(--radius) * 1.4)}.\[\&\>svg\]\:pointer-events-none>svg{pointer-events:none}.\[\&\>svg\]\:size-3\!>svg{width:calc(var(--spacing) * 3)!important;height:calc(var(--spacing) * 3)!important}}@property --tw-animation-delay{syntax:"*";inherits:false;initial-value:0s}@property --tw-animation-direction{syntax:"*";inherits:false;initial-value:normal}@property --tw-animation-duration{syntax:"*";inherits:false}@property --tw-animation-fill-mode{syntax:"*";inherits:false;initial-value:none}@property --tw-animation-iteration-count{syntax:"*";inherits:false;initial-value:1}@property --tw-enter-blur{syntax:"*";inherits:false;initial-value:0}@property --tw-enter-opacity{syntax:"*";inherits:false;initial-value:1}@property --tw-enter-rotate{syntax:"*";inherits:false;initial-value:0}@property --tw-enter-scale{syntax:"*";inherits:false;initial-value:1}@property --tw-enter-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-enter-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-exit-blur{syntax:"*";inherits:false;initial-value:0}@property --tw-exit-opacity{syntax:"*";inherits:false;initial-value:1}@property --tw-exit-rotate{syntax:"*";inherits:false;initial-value:0}@property --tw-exit-scale{syntax:"*";inherits:false;initial-value:1}@property --tw-exit-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-exit-translate-y{syntax:"*";inherits:false;initial-value:0}@font-face{font-family:Geist Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(./geist-cyrillic-wght-normal.CHSlOQsW.woff2)format("woff2-variations");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Geist Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(./geist-latin-ext-wght-normal.DMtmJ5ZE.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Geist Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(./geist-latin-wght-normal.Dm3htQBi.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root{--background:oklch(100% 0 0);--foreground:oklch(14.5% 0 0);--card:oklch(100% 0 0);--card-foreground:oklch(14.5% 0 0);--popover:oklch(100% 0 0);--popover-foreground:oklch(14.5% 0 0);--primary:oklch(20.5% 0 0);--primary-foreground:oklch(98.5% 0 0);--secondary:oklch(97% 0 0);--secondary-foreground:oklch(20.5% 0 0);--muted:oklch(97% 0 0);--muted-foreground:oklch(55.6% 0 0);--accent:oklch(97% 0 0);--accent-foreground:oklch(20.5% 0 0);--destructive:oklch(57.7% .245 27.325);--border:oklch(92.2% 0 0);--input:oklch(92.2% 0 0);--ring:oklch(70.8% 0 0);--chart-1:oklch(87% 0 0);--chart-2:oklch(55.6% 0 0);--chart-3:oklch(43.9% 0 0);--chart-4:oklch(37.1% 0 0);--chart-5:oklch(26.9% 0 0);--radius:.625rem;--sidebar:oklch(98.5% 0 0);--sidebar-foreground:oklch(14.5% 0 0);--sidebar-primary:oklch(20.5% 0 0);--sidebar-primary-foreground:oklch(98.5% 0 0);--sidebar-accent:oklch(97% 0 0);--sidebar-accent-foreground:oklch(20.5% 0 0);--sidebar-border:oklch(92.2% 0 0);--sidebar-ring:oklch(70.8% 0 0)}.dark{--background:oklch(14.5% 0 0);--foreground:oklch(98.5% 0 0);--card:oklch(20.5% 0 0);--card-foreground:oklch(98.5% 0 0);--popover:oklch(20.5% 0 0);--popover-foreground:oklch(98.5% 0 0);--primary:oklch(92.2% 0 0);--primary-foreground:oklch(20.5% 0 0);--secondary:oklch(26.9% 0 0);--secondary-foreground:oklch(98.5% 0 0);--muted:oklch(26.9% 0 0);--muted-foreground:oklch(70.8% 0 0);--accent:oklch(26.9% 0 0);--accent-foreground:oklch(98.5% 0 0);--destructive:oklch(70.4% .191 22.216);--border:oklch(100% 0 0/.1);--input:oklch(100% 0 0/.15);--ring:oklch(55.6% 0 0);--chart-1:oklch(87% 0 0);--chart-2:oklch(55.6% 0 0);--chart-3:oklch(43.9% 0 0);--chart-4:oklch(37.1% 0 0);--chart-5:oklch(26.9% 0 0);--sidebar:oklch(20.5% 0 0);--sidebar-foreground:oklch(98.5% 0 0);--sidebar-primary:oklch(48.8% .243 264.376);--sidebar-primary-foreground:oklch(98.5% 0 0);--sidebar-accent:oklch(26.9% 0 0);--sidebar-accent-foreground:oklch(98.5% 0 0);--sidebar-border:oklch(100% 0 0/.1);--sidebar-ring:oklch(55.6% 0 0)}@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-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-pan-x{syntax:"*";inherits:false}@property --tw-pan-y{syntax:"*";inherits:false}@property --tw-pinch-zoom{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-divide-x-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-divide-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-ordinal{syntax:"*";inherits:false}@property --tw-slashed-zero{syntax:"*";inherits:false}@property --tw-numeric-figure{syntax:"*";inherits:false}@property --tw-numeric-spacing{syntax:"*";inherits:false}@property --tw-numeric-fraction{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:"";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:"";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:"";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:"";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-ease{syntax:"*";inherits:false}@property --tw-content{syntax:"*";inherits:false;initial-value:""}@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}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{50%{opacity:.5}} diff --git a/extension/popup.BiFCt1KS.js b/extension/popup.BiFCt1KS.js deleted file mode 100644 index fcf92c0..0000000 --- a/extension/popup.BiFCt1KS.js +++ /dev/null @@ -1,169 +0,0 @@ -var DS=Object.defineProperty;var zS=(i,a,s)=>a in i?DS(i,a,{enumerable:!0,configurable:!0,writable:!0,value:s}):i[a]=s;var Vo=(i,a,s)=>zS(i,typeof a!="symbol"?a+"":a,s);function RS(i,a){for(var s=0;so[c]})}}}return Object.freeze(Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}))}(function(){const a=document.createElement("link").relList;if(a&&a.supports&&a.supports("modulepreload"))return;for(const c of document.querySelectorAll('link[rel="modulepreload"]'))o(c);new MutationObserver(c=>{for(const f of c)if(f.type==="childList")for(const d of f.addedNodes)d.tagName==="LINK"&&d.rel==="modulepreload"&&o(d)}).observe(document,{childList:!0,subtree:!0});function s(c){const f={};return c.integrity&&(f.integrity=c.integrity),c.referrerPolicy&&(f.referrerPolicy=c.referrerPolicy),c.crossOrigin==="use-credentials"?f.credentials="include":c.crossOrigin==="anonymous"?f.credentials="omit":f.credentials="same-origin",f}function o(c){if(c.ep)return;c.ep=!0;const f=s(c);fetch(c.href,f)}})();function OS(i){return i&&i.__esModule&&Object.prototype.hasOwnProperty.call(i,"default")?i.default:i}var Rc={exports:{}},Fl={};/** - * @license React - * react-jsx-runtime.production.js - * - * Copyright (c) Meta Platforms, Inc. and affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var lg;function VS(){if(lg)return Fl;lg=1;var i=Symbol.for("react.transitional.element"),a=Symbol.for("react.fragment");function s(o,c,f){var d=null;if(f!==void 0&&(d=""+f),c.key!==void 0&&(d=""+c.key),"key"in c){f={};for(var m in c)m!=="key"&&(f[m]=c[m])}else f=c;return c=f.ref,{$$typeof:i,type:o,key:d,ref:c!==void 0?c:null,props:f}}return Fl.Fragment=a,Fl.jsx=s,Fl.jsxs=s,Fl}var sg;function NS(){return sg||(sg=1,Rc.exports=VS()),Rc.exports}var $=NS(),Oc={exports:{}},gt={};/** - * @license React - * react.production.js - * - * Copyright (c) Meta Platforms, Inc. and affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var og;function _S(){if(og)return gt;og=1;var i=Symbol.for("react.transitional.element"),a=Symbol.for("react.portal"),s=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),c=Symbol.for("react.profiler"),f=Symbol.for("react.consumer"),d=Symbol.for("react.context"),m=Symbol.for("react.forward_ref"),g=Symbol.for("react.suspense"),p=Symbol.for("react.memo"),v=Symbol.for("react.lazy"),b=Symbol.for("react.activity"),S=Symbol.iterator;function A(x){return x===null||typeof x!="object"?null:(x=S&&x[S]||x["@@iterator"],typeof x=="function"?x:null)}var C={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},N=Object.assign,_={};function B(x,V,K){this.props=x,this.context=V,this.refs=_,this.updater=K||C}B.prototype.isReactComponent={},B.prototype.setState=function(x,V){if(typeof x!="object"&&typeof x!="function"&&x!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,x,V,"setState")},B.prototype.forceUpdate=function(x){this.updater.enqueueForceUpdate(this,x,"forceUpdate")};function Z(){}Z.prototype=B.prototype;function X(x,V,K){this.props=x,this.context=V,this.refs=_,this.updater=K||C}var J=X.prototype=new Z;J.constructor=X,N(J,B.prototype),J.isPureReactComponent=!0;var Y=Array.isArray;function ut(){}var F={H:null,A:null,T:null,S:null},k=Object.prototype.hasOwnProperty;function ct(x,V,K){var P=K.ref;return{$$typeof:i,type:x,key:V,ref:P!==void 0?P:null,props:K}}function tt(x,V){return ct(x.type,V,x.props)}function W(x){return typeof x=="object"&&x!==null&&x.$$typeof===i}function dt(x){var V={"=":"=0",":":"=2"};return"$"+x.replace(/[=:]/g,function(K){return V[K]})}var St=/\/+/g;function wt(x,V){return typeof x=="object"&&x!==null&&x.key!=null?dt(""+x.key):V.toString(36)}function lt(x){switch(x.status){case"fulfilled":return x.value;case"rejected":throw x.reason;default:switch(typeof x.status=="string"?x.then(ut,ut):(x.status="pending",x.then(function(V){x.status==="pending"&&(x.status="fulfilled",x.value=V)},function(V){x.status==="pending"&&(x.status="rejected",x.reason=V)})),x.status){case"fulfilled":return x.value;case"rejected":throw x.reason}}throw x}function w(x,V,K,P,I){var rt=typeof x;(rt==="undefined"||rt==="boolean")&&(x=null);var mt=!1;if(x===null)mt=!0;else switch(rt){case"bigint":case"string":case"number":mt=!0;break;case"object":switch(x.$$typeof){case i:case a:mt=!0;break;case v:return mt=x._init,w(mt(x._payload),V,K,P,I)}}if(mt)return I=I(x),mt=P===""?"."+wt(x,0):P,Y(I)?(K="",mt!=null&&(K=mt.replace(St,"$&/")+"/"),w(I,V,K,"",function(se){return se})):I!=null&&(W(I)&&(I=tt(I,K+(I.key==null||x&&x.key===I.key?"":(""+I.key).replace(St,"$&/")+"/")+mt)),V.push(I)),1;mt=0;var Nt=P===""?".":P+":";if(Y(x))for(var pt=0;pt>>1,G=w[ot];if(0>>1;otc(K,Q))Pc(I,K)?(w[ot]=I,w[P]=Q,ot=P):(w[ot]=K,w[V]=Q,ot=V);else if(Pc(I,Q))w[ot]=I,w[P]=Q,ot=P;else break t}}return q}function c(w,q){var Q=w.sortIndex-q.sortIndex;return Q!==0?Q:w.id-q.id}if(i.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var f=performance;i.unstable_now=function(){return f.now()}}else{var d=Date,m=d.now();i.unstable_now=function(){return d.now()-m}}var g=[],p=[],v=1,b=null,S=3,A=!1,C=!1,N=!1,_=!1,B=typeof setTimeout=="function"?setTimeout:null,Z=typeof clearTimeout=="function"?clearTimeout:null,X=typeof setImmediate<"u"?setImmediate:null;function J(w){for(var q=s(p);q!==null;){if(q.callback===null)o(p);else if(q.startTime<=w)o(p),q.sortIndex=q.expirationTime,a(g,q);else break;q=s(p)}}function Y(w){if(N=!1,J(w),!C)if(s(g)!==null)C=!0,ut||(ut=!0,dt());else{var q=s(p);q!==null&<(Y,q.startTime-w)}}var ut=!1,F=-1,k=5,ct=-1;function tt(){return _?!0:!(i.unstable_now()-ctw&&tt());){var ot=b.callback;if(typeof ot=="function"){b.callback=null,S=b.priorityLevel;var G=ot(b.expirationTime<=w);if(w=i.unstable_now(),typeof G=="function"){b.callback=G,J(w),q=!0;break e}b===s(g)&&o(g),J(w)}else o(g);b=s(g)}if(b!==null)q=!0;else{var x=s(p);x!==null&<(Y,x.startTime-w),q=!1}}break t}finally{b=null,S=Q,A=!1}q=void 0}}finally{q?dt():ut=!1}}}var dt;if(typeof X=="function")dt=function(){X(W)};else if(typeof MessageChannel<"u"){var St=new MessageChannel,wt=St.port2;St.port1.onmessage=W,dt=function(){wt.postMessage(null)}}else dt=function(){B(W,0)};function lt(w,q){F=B(function(){w(i.unstable_now())},q)}i.unstable_IdlePriority=5,i.unstable_ImmediatePriority=1,i.unstable_LowPriority=4,i.unstable_NormalPriority=3,i.unstable_Profiling=null,i.unstable_UserBlockingPriority=2,i.unstable_cancelCallback=function(w){w.callback=null},i.unstable_forceFrameRate=function(w){0>w||125ot?(w.sortIndex=Q,a(p,w),s(g)===null&&w===s(p)&&(N?(Z(F),F=-1):N=!0,lt(Y,Q-ot))):(w.sortIndex=G,a(g,w),C||A||(C=!0,ut||(ut=!0,dt()))),w},i.unstable_shouldYield=tt,i.unstable_wrapCallback=function(w){var q=S;return function(){var Q=S;S=q;try{return w.apply(this,arguments)}finally{S=Q}}}})(_c)),_c}var cg;function LS(){return cg||(cg=1,Nc.exports=US()),Nc.exports}var Bc={exports:{}},ve={};/** - * @license React - * react-dom.production.js - * - * Copyright (c) Meta Platforms, Inc. and affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var fg;function jS(){if(fg)return ve;fg=1;var i=Of();function a(g){var p="https://react.dev/errors/"+g;if(1"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(i)}catch(a){console.error(a)}}return i(),Bc.exports=jS(),Bc.exports}/** - * @license React - * react-dom-client.production.js - * - * Copyright (c) Meta Platforms, Inc. and affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var hg;function kS(){if(hg)return Wl;hg=1;var i=LS(),a=Of(),s=HS();function o(t){var e="https://react.dev/errors/"+t;if(1G||(t.current=ot[G],ot[G]=null,G--)}function K(t,e){G++,ot[G]=t.current,t.current=e}var P=x(null),I=x(null),rt=x(null),mt=x(null);function Nt(t,e){switch(K(rt,e),K(I,t),K(P,null),e.nodeType){case 9:case 11:t=(t=e.documentElement)&&(t=t.namespaceURI)?Dp(t):0;break;default:if(t=e.tagName,e=e.namespaceURI)e=Dp(e),t=zp(e,t);else switch(t){case"svg":t=1;break;case"math":t=2;break;default:t=0}}V(P),K(P,t)}function pt(){V(P),V(I),V(rt)}function se(t){t.memoizedState!==null&&K(mt,t);var e=P.current,n=zp(e,t.type);e!==n&&(K(I,t),K(P,n))}function be(t){I.current===t&&(V(P),V(I)),mt.current===t&&(V(mt),Kl._currentValue=Q)}var Se,xe;function oe(t){if(Se===void 0)try{throw Error()}catch(n){var e=n.stack.trim().match(/\n( *(at )?)/);Se=e&&e[1]||"",xe=-1)":-1r||T[l]!==z[r]){var U=` -`+T[l].replace(" at new "," at ");return t.displayName&&U.includes("")&&(U=U.replace("",t.displayName)),U}while(1<=l&&0<=r);break}}}finally{en=!1,Error.prepareStackTrace=n}return(n=t?t.displayName||t.name:"")?oe(n):""}function nn(t,e){switch(t.tag){case 26:case 27:case 5:return oe(t.type);case 16:return oe("Lazy");case 13:return t.child!==e&&e!==null?oe("Suspense Fallback"):oe("Suspense");case 19:return oe("SuspenseList");case 0:case 15:return Te(t.type,!1);case 11:return Te(t.type.render,!1);case 1:return Te(t.type,!0);case 31:return oe("Activity");default:return""}}function sa(t){try{var e="",n=null;do e+=nn(t,n),n=t,t=t.return;while(t);return e}catch(l){return` -Error generating stack: `+l.message+` -`+l.stack}}var Rt=Object.prototype.hasOwnProperty,we=i.unstable_scheduleCallback,an=i.unstable_cancelCallback,Qn=i.unstable_shouldYield,Oi=i.unstable_requestPaint,re=i.unstable_now,Vi=i.unstable_getCurrentPriorityLevel,Mn=i.unstable_ImmediatePriority,Jn=i.unstable_UserBlockingPriority,mn=i.unstable_NormalPriority,wn=i.unstable_LowPriority,pn=i.unstable_IdlePriority,ps=i.log,vr=i.unstable_setDisableYieldValue,Ni=null,ge=null;function ln(t){if(typeof ps=="function"&&vr(t),ge&&typeof ge.setStrictMode=="function")try{ge.setStrictMode(Ni,t)}catch{}}var ye=Math.clz32?Math.clz32:vs,gs=Math.log,ys=Math.LN2;function vs(t){return t>>>=0,t===0?32:31-(gs(t)/ys|0)|0}var oa=256,ra=262144,Pn=4194304;function sn(t){var e=t&42;if(e!==0)return e;switch(t&-t){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:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return t&261888;case 262144:case 524288:case 1048576:case 2097152:return t&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return t&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return t}}function ua(t,e,n){var l=t.pendingLanes;if(l===0)return 0;var r=0,u=t.suspendedLanes,h=t.pingedLanes;t=t.warmLanes;var y=l&134217727;return y!==0?(l=y&~u,l!==0?r=sn(l):(h&=y,h!==0?r=sn(h):n||(n=y&~t,n!==0&&(r=sn(n))))):(y=l&~u,y!==0?r=sn(y):h!==0?r=sn(h):n||(n=l&~t,n!==0&&(r=sn(n)))),r===0?0:e!==0&&e!==r&&(e&u)===0&&(u=r&-r,n=e&-e,u>=n||u===32&&(n&4194048)!==0)?e:r}function on(t,e){return(t.pendingLanes&~(t.suspendedLanes&~t.pingedLanes)&e)===0}function Lt(t,e){switch(t){case 1:case 2:case 4:case 8:case 64:return e+250;case 16:case 32: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 e+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function gn(){var t=Pn;return Pn<<=1,(Pn&62914560)===0&&(Pn=4194304),t}function Fn(t){for(var e=[],n=0;31>n;n++)e.push(t);return e}function Cn(t,e){t.pendingLanes|=e,e!==268435456&&(t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0)}function gb(t,e,n,l,r,u){var h=t.pendingLanes;t.pendingLanes=n,t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0,t.expiredLanes&=n,t.entangledLanes&=n,t.errorRecoveryDisabledLanes&=n,t.shellSuspendCounter=0;var y=t.entanglements,T=t.expirationTimes,z=t.hiddenUpdates;for(n=h&~n;0"u")return null;try{return t.activeElement||t.body}catch{return t.body}}var Tb=/[\n"\\]/g;function Ge(t){return t.replace(Tb,function(e){return"\\"+e.charCodeAt(0).toString(16)+" "})}function Er(t,e,n,l,r,u,h,y){t.name="",h!=null&&typeof h!="function"&&typeof h!="symbol"&&typeof h!="boolean"?t.type=h:t.removeAttribute("type"),e!=null?h==="number"?(e===0&&t.value===""||t.value!=e)&&(t.value=""+Xe(e)):t.value!==""+Xe(e)&&(t.value=""+Xe(e)):h!=="submit"&&h!=="reset"||t.removeAttribute("value"),e!=null?Mr(t,h,Xe(e)):n!=null?Mr(t,h,Xe(n)):l!=null&&t.removeAttribute("value"),r==null&&u!=null&&(t.defaultChecked=!!u),r!=null&&(t.checked=r&&typeof r!="function"&&typeof r!="symbol"),y!=null&&typeof y!="function"&&typeof y!="symbol"&&typeof y!="boolean"?t.name=""+Xe(y):t.removeAttribute("name")}function Td(t,e,n,l,r,u,h,y){if(u!=null&&typeof u!="function"&&typeof u!="symbol"&&typeof u!="boolean"&&(t.type=u),e!=null||n!=null){if(!(u!=="submit"&&u!=="reset"||e!=null)){Ar(t);return}n=n!=null?""+Xe(n):"",e=e!=null?""+Xe(e):n,y||e===t.value||(t.value=e),t.defaultValue=e}l=l??r,l=typeof l!="function"&&typeof l!="symbol"&&!!l,t.checked=y?t.checked:!!l,t.defaultChecked=!!l,h!=null&&typeof h!="function"&&typeof h!="symbol"&&typeof h!="boolean"&&(t.name=h),Ar(t)}function Mr(t,e,n){e==="number"&&xs(t.ownerDocument)===t||t.defaultValue===""+n||(t.defaultValue=""+n)}function pa(t,e,n,l){if(t=t.options,e){e={};for(var r=0;r"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Rr=!1;if(Rn)try{var cl={};Object.defineProperty(cl,"passive",{get:function(){Rr=!0}}),window.addEventListener("test",cl,cl),window.removeEventListener("test",cl,cl)}catch{Rr=!1}var $n=null,Or=null,As=null;function zd(){if(As)return As;var t,e=Or,n=e.length,l,r="value"in $n?$n.value:$n.textContent,u=r.length;for(t=0;t=hl),Bd=" ",Ud=!1;function Ld(t,e){switch(t){case"keyup":return Fb.indexOf(e.keyCode)!==-1;case"keydown":return e.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function jd(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var ba=!1;function $b(t,e){switch(t){case"compositionend":return jd(e);case"keypress":return e.which!==32?null:(Ud=!0,Bd);case"textInput":return t=e.data,t===Bd&&Ud?null:t;default:return null}}function Ib(t,e){if(ba)return t==="compositionend"||!Ur&&Ld(t,e)?(t=zd(),As=Or=$n=null,ba=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(e.ctrlKey||e.altKey||e.metaKey)||e.ctrlKey&&e.altKey){if(e.char&&1=e)return{node:n,offset:e-t};t=l}t:{for(;n;){if(n.nextSibling){n=n.nextSibling;break t}n=n.parentNode}n=void 0}n=Kd(n)}}function Jd(t,e){return t&&e?t===e?!0:t&&t.nodeType===3?!1:e&&e.nodeType===3?Jd(t,e.parentNode):"contains"in t?t.contains(e):t.compareDocumentPosition?!!(t.compareDocumentPosition(e)&16):!1:!1}function Pd(t){t=t!=null&&t.ownerDocument!=null&&t.ownerDocument.defaultView!=null?t.ownerDocument.defaultView:window;for(var e=xs(t.document);e instanceof t.HTMLIFrameElement;){try{var n=typeof e.contentWindow.location.href=="string"}catch{n=!1}if(n)t=e.contentWindow;else break;e=xs(t.document)}return e}function Hr(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e&&(e==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||e==="textarea"||t.contentEditable==="true")}var o1=Rn&&"documentMode"in document&&11>=document.documentMode,Sa=null,kr=null,yl=null,Yr=!1;function Fd(t,e,n){var l=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Yr||Sa==null||Sa!==xs(l)||(l=Sa,"selectionStart"in l&&Hr(l)?l={start:l.selectionStart,end:l.selectionEnd}:(l=(l.ownerDocument&&l.ownerDocument.defaultView||window).getSelection(),l={anchorNode:l.anchorNode,anchorOffset:l.anchorOffset,focusNode:l.focusNode,focusOffset:l.focusOffset}),yl&&gl(yl,l)||(yl=l,l=yo(kr,"onSelect"),0>=h,r-=h,yn=1<<32-ye(e)+r|n<vt?(Et=st,st=null):Et=st.sibling;var Dt=R(M,st,D[vt],j);if(Dt===null){st===null&&(st=Et);break}t&&st&&Dt.alternate===null&&e(M,st),E=u(Dt,E,vt),Ct===null?ft=Dt:Ct.sibling=Dt,Ct=Dt,st=Et}if(vt===D.length)return n(M,st),Mt&&Vn(M,vt),ft;if(st===null){for(;vtvt?(Et=st,st=null):Et=st.sibling;var Si=R(M,st,Dt.value,j);if(Si===null){st===null&&(st=Et);break}t&&st&&Si.alternate===null&&e(M,st),E=u(Si,E,vt),Ct===null?ft=Si:Ct.sibling=Si,Ct=Si,st=Et}if(Dt.done)return n(M,st),Mt&&Vn(M,vt),ft;if(st===null){for(;!Dt.done;vt++,Dt=D.next())Dt=H(M,Dt.value,j),Dt!==null&&(E=u(Dt,E,vt),Ct===null?ft=Dt:Ct.sibling=Dt,Ct=Dt);return Mt&&Vn(M,vt),ft}for(st=l(st);!Dt.done;vt++,Dt=D.next())Dt=O(st,M,vt,Dt.value,j),Dt!==null&&(t&&Dt.alternate!==null&&st.delete(Dt.key===null?vt:Dt.key),E=u(Dt,E,vt),Ct===null?ft=Dt:Ct.sibling=Dt,Ct=Dt);return t&&st.forEach(function(CS){return e(M,CS)}),Mt&&Vn(M,vt),ft}function Ut(M,E,D,j){if(typeof D=="object"&&D!==null&&D.type===N&&D.key===null&&(D=D.props.children),typeof D=="object"&&D!==null){switch(D.$$typeof){case A:t:{for(var ft=D.key;E!==null;){if(E.key===ft){if(ft=D.type,ft===N){if(E.tag===7){n(M,E.sibling),j=r(E,D.props.children),j.return=M,M=j;break t}}else if(E.elementType===ft||typeof ft=="object"&&ft!==null&&ft.$$typeof===k&&qi(ft)===E.type){n(M,E.sibling),j=r(E,D.props),Al(j,D),j.return=M,M=j;break t}n(M,E);break}else e(M,E);E=E.sibling}D.type===N?(j=Hi(D.props.children,M.mode,j,D.key),j.return=M,M=j):(j=Ns(D.type,D.key,D.props,null,M.mode,j),Al(j,D),j.return=M,M=j)}return h(M);case C:t:{for(ft=D.key;E!==null;){if(E.key===ft)if(E.tag===4&&E.stateNode.containerInfo===D.containerInfo&&E.stateNode.implementation===D.implementation){n(M,E.sibling),j=r(E,D.children||[]),j.return=M,M=j;break t}else{n(M,E);break}else e(M,E);E=E.sibling}j=Jr(D,M.mode,j),j.return=M,M=j}return h(M);case k:return D=qi(D),Ut(M,E,D,j)}if(lt(D))return et(M,E,D,j);if(dt(D)){if(ft=dt(D),typeof ft!="function")throw Error(o(150));return D=ft.call(D),ht(M,E,D,j)}if(typeof D.then=="function")return Ut(M,E,ks(D),j);if(D.$$typeof===X)return Ut(M,E,Us(M,D),j);Ys(M,D)}return typeof D=="string"&&D!==""||typeof D=="number"||typeof D=="bigint"?(D=""+D,E!==null&&E.tag===6?(n(M,E.sibling),j=r(E,D),j.return=M,M=j):(n(M,E),j=Qr(D,M.mode,j),j.return=M,M=j),h(M)):n(M,E)}return function(M,E,D,j){try{Tl=0;var ft=Ut(M,E,D,j);return Oa=null,ft}catch(st){if(st===Ra||st===js)throw st;var Ct=Be(29,st,null,M.mode);return Ct.lanes=j,Ct.return=M,Ct}finally{}}}var Ki=bh(!0),Sh=bh(!1),ii=!1;function su(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function ou(t,e){t=t.updateQueue,e.updateQueue===t&&(e.updateQueue={baseState:t.baseState,firstBaseUpdate:t.firstBaseUpdate,lastBaseUpdate:t.lastBaseUpdate,shared:t.shared,callbacks:null})}function ai(t){return{lane:t,tag:0,payload:null,callback:null,next:null}}function li(t,e,n){var l=t.updateQueue;if(l===null)return null;if(l=l.shared,(zt&2)!==0){var r=l.pending;return r===null?e.next=e:(e.next=r.next,r.next=e),l.pending=e,e=Vs(t),ih(t,null,n),e}return Os(t,l,e,n),Vs(t)}function El(t,e,n){if(e=e.updateQueue,e!==null&&(e=e.shared,(n&4194048)!==0)){var l=e.lanes;l&=t.pendingLanes,n|=l,e.lanes=n,fd(t,n)}}function ru(t,e){var n=t.updateQueue,l=t.alternate;if(l!==null&&(l=l.updateQueue,n===l)){var r=null,u=null;if(n=n.firstBaseUpdate,n!==null){do{var h={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};u===null?r=u=h:u=u.next=h,n=n.next}while(n!==null);u===null?r=u=e:u=u.next=e}else r=u=e;n={baseState:l.baseState,firstBaseUpdate:r,lastBaseUpdate:u,shared:l.shared,callbacks:l.callbacks},t.updateQueue=n;return}t=n.lastBaseUpdate,t===null?n.firstBaseUpdate=e:t.next=e,n.lastBaseUpdate=e}var uu=!1;function Ml(){if(uu){var t=za;if(t!==null)throw t}}function wl(t,e,n,l){uu=!1;var r=t.updateQueue;ii=!1;var u=r.firstBaseUpdate,h=r.lastBaseUpdate,y=r.shared.pending;if(y!==null){r.shared.pending=null;var T=y,z=T.next;T.next=null,h===null?u=z:h.next=z,h=T;var U=t.alternate;U!==null&&(U=U.updateQueue,y=U.lastBaseUpdate,y!==h&&(y===null?U.firstBaseUpdate=z:y.next=z,U.lastBaseUpdate=T))}if(u!==null){var H=r.baseState;h=0,U=z=T=null,y=u;do{var R=y.lane&-536870913,O=R!==y.lane;if(O?(At&R)===R:(l&R)===R){R!==0&&R===Da&&(uu=!0),U!==null&&(U=U.next={lane:0,tag:y.tag,payload:y.payload,callback:null,next:null});t:{var et=t,ht=y;R=e;var Ut=n;switch(ht.tag){case 1:if(et=ht.payload,typeof et=="function"){H=et.call(Ut,H,R);break t}H=et;break t;case 3:et.flags=et.flags&-65537|128;case 0:if(et=ht.payload,R=typeof et=="function"?et.call(Ut,H,R):et,R==null)break t;H=b({},H,R);break t;case 2:ii=!0}}R=y.callback,R!==null&&(t.flags|=64,O&&(t.flags|=8192),O=r.callbacks,O===null?r.callbacks=[R]:O.push(R))}else O={lane:R,tag:y.tag,payload:y.payload,callback:y.callback,next:null},U===null?(z=U=O,T=H):U=U.next=O,h|=R;if(y=y.next,y===null){if(y=r.shared.pending,y===null)break;O=y,y=O.next,O.next=null,r.lastBaseUpdate=O,r.shared.pending=null}}while(!0);U===null&&(T=H),r.baseState=T,r.firstBaseUpdate=z,r.lastBaseUpdate=U,u===null&&(r.shared.lanes=0),ci|=h,t.lanes=h,t.memoizedState=H}}function xh(t,e){if(typeof t!="function")throw Error(o(191,t));t.call(e)}function Th(t,e){var n=t.callbacks;if(n!==null)for(t.callbacks=null,t=0;tu?u:8;var h=w.T,y={};w.T=y,Du(t,!1,e,n);try{var T=r(),z=w.S;if(z!==null&&z(y,T),T!==null&&typeof T=="object"&&typeof T.then=="function"){var U=g1(T,l);zl(t,e,U,ke(t))}else zl(t,e,l,ke(t))}catch(H){zl(t,e,{then:function(){},status:"rejected",reason:H},ke())}finally{q.p=u,h!==null&&y.types!==null&&(h.types=y.types),w.T=h}}function T1(){}function wu(t,e,n,l){if(t.tag!==5)throw Error(o(476));var r=tm(t).queue;Ih(t,r,e,Q,n===null?T1:function(){return em(t),n(l)})}function tm(t){var e=t.memoizedState;if(e!==null)return e;e={memoizedState:Q,baseState:Q,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Un,lastRenderedState:Q},next:null};var n={};return e.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Un,lastRenderedState:n},next:null},t.memoizedState=e,t=t.alternate,t!==null&&(t.memoizedState=e),e}function em(t){var e=tm(t);e.next===null&&(e=t.alternate.memoizedState),zl(t,e.next.queue,{},ke())}function Cu(){return fe(Kl)}function nm(){return Jt().memoizedState}function im(){return Jt().memoizedState}function A1(t){for(var e=t.return;e!==null;){switch(e.tag){case 24:case 3:var n=ke();t=ai(n);var l=li(e,t,n);l!==null&&(Ne(l,e,n),El(l,e,n)),e={cache:nu()},t.payload=e;return}e=e.return}}function E1(t,e,n){var l=ke();n={lane:l,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},Ws(t)?lm(e,n):(n=Zr(t,e,n,l),n!==null&&(Ne(n,t,l),sm(n,e,l)))}function am(t,e,n){var l=ke();zl(t,e,n,l)}function zl(t,e,n,l){var r={lane:l,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(Ws(t))lm(e,r);else{var u=t.alternate;if(t.lanes===0&&(u===null||u.lanes===0)&&(u=e.lastRenderedReducer,u!==null))try{var h=e.lastRenderedState,y=u(h,n);if(r.hasEagerState=!0,r.eagerState=y,_e(y,h))return Os(t,e,r,0),jt===null&&Rs(),!1}catch{}finally{}if(n=Zr(t,e,r,l),n!==null)return Ne(n,t,l),sm(n,e,l),!0}return!1}function Du(t,e,n,l){if(l={lane:2,revertLane:sc(),gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null},Ws(t)){if(e)throw Error(o(479))}else e=Zr(t,n,l,2),e!==null&&Ne(e,t,2)}function Ws(t){var e=t.alternate;return t===yt||e!==null&&e===yt}function lm(t,e){Na=qs=!0;var n=t.pending;n===null?e.next=e:(e.next=n.next,n.next=e),t.pending=e}function sm(t,e,n){if((n&4194048)!==0){var l=e.lanes;l&=t.pendingLanes,n|=l,e.lanes=n,fd(t,n)}}var Rl={readContext:fe,use:Qs,useCallback:qt,useContext:qt,useEffect:qt,useImperativeHandle:qt,useLayoutEffect:qt,useInsertionEffect:qt,useMemo:qt,useReducer:qt,useRef:qt,useState:qt,useDebugValue:qt,useDeferredValue:qt,useTransition:qt,useSyncExternalStore:qt,useId:qt,useHostTransitionStatus:qt,useFormState:qt,useActionState:qt,useOptimistic:qt,useMemoCache:qt,useCacheRefresh:qt};Rl.useEffectEvent=qt;var om={readContext:fe,use:Qs,useCallback:function(t,e){return Ae().memoizedState=[t,e===void 0?null:e],t},useContext:fe,useEffect:qh,useImperativeHandle:function(t,e,n){n=n!=null?n.concat([t]):null,Ps(4194308,4,Jh.bind(null,e,t),n)},useLayoutEffect:function(t,e){return Ps(4194308,4,t,e)},useInsertionEffect:function(t,e){Ps(4,2,t,e)},useMemo:function(t,e){var n=Ae();e=e===void 0?null:e;var l=t();if(Qi){ln(!0);try{t()}finally{ln(!1)}}return n.memoizedState=[l,e],l},useReducer:function(t,e,n){var l=Ae();if(n!==void 0){var r=n(e);if(Qi){ln(!0);try{n(e)}finally{ln(!1)}}}else r=e;return l.memoizedState=l.baseState=r,t={pending:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:r},l.queue=t,t=t.dispatch=E1.bind(null,yt,t),[l.memoizedState,t]},useRef:function(t){var e=Ae();return t={current:t},e.memoizedState=t},useState:function(t){t=xu(t);var e=t.queue,n=am.bind(null,yt,e);return e.dispatch=n,[t.memoizedState,n]},useDebugValue:Eu,useDeferredValue:function(t,e){var n=Ae();return Mu(n,t,e)},useTransition:function(){var t=xu(!1);return t=Ih.bind(null,yt,t.queue,!0,!1),Ae().memoizedState=t,[!1,t]},useSyncExternalStore:function(t,e,n){var l=yt,r=Ae();if(Mt){if(n===void 0)throw Error(o(407));n=n()}else{if(n=e(),jt===null)throw Error(o(349));(At&127)!==0||Dh(l,e,n)}r.memoizedState=n;var u={value:n,getSnapshot:e};return r.queue=u,qh(Rh.bind(null,l,u,t),[t]),l.flags|=2048,Ba(9,{destroy:void 0},zh.bind(null,l,u,n,e),null),n},useId:function(){var t=Ae(),e=jt.identifierPrefix;if(Mt){var n=vn,l=yn;n=(l&~(1<<32-ye(l)-1)).toString(32)+n,e="_"+e+"R_"+n,n=Zs++,0<\/script>",u=u.removeChild(u.firstChild);break;case"select":u=typeof l.is=="string"?h.createElement("select",{is:l.is}):h.createElement("select"),l.multiple?u.multiple=!0:l.size&&(u.size=l.size);break;default:u=typeof l.is=="string"?h.createElement(r,{is:l.is}):h.createElement(r)}}u[ue]=e,u[Ce]=l;t:for(h=e.child;h!==null;){if(h.tag===5||h.tag===6)u.appendChild(h.stateNode);else if(h.tag!==4&&h.tag!==27&&h.child!==null){h.child.return=h,h=h.child;continue}if(h===e)break t;for(;h.sibling===null;){if(h.return===null||h.return===e)break t;h=h.return}h.sibling.return=h.return,h=h.sibling}e.stateNode=u;t:switch(he(u,r,l),r){case"button":case"input":case"select":case"textarea":l=!!l.autoFocus;break t;case"img":l=!0;break t;default:l=!1}l&&jn(e)}}return Yt(e),Xu(e,e.type,t===null?null:t.memoizedProps,e.pendingProps,n),null;case 6:if(t&&e.stateNode!=null)t.memoizedProps!==l&&jn(e);else{if(typeof l!="string"&&e.stateNode===null)throw Error(o(166));if(t=rt.current,wa(e)){if(t=e.stateNode,n=e.memoizedProps,l=null,r=ce,r!==null)switch(r.tag){case 27:case 5:l=r.memoizedProps}t[ue]=e,t=!!(t.nodeValue===n||l!==null&&l.suppressHydrationWarning===!0||wp(t.nodeValue,n)),t||ei(e,!0)}else t=vo(t).createTextNode(l),t[ue]=e,e.stateNode=t}return Yt(e),null;case 31:if(n=e.memoizedState,t===null||t.memoizedState!==null){if(l=wa(e),n!==null){if(t===null){if(!l)throw Error(o(318));if(t=e.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(o(557));t[ue]=e}else ki(),(e.flags&128)===0&&(e.memoizedState=null),e.flags|=4;Yt(e),t=!1}else n=$r(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=n),t=!0;if(!t)return e.flags&256?(Le(e),e):(Le(e),null);if((e.flags&128)!==0)throw Error(o(558))}return Yt(e),null;case 13:if(l=e.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(r=wa(e),l!==null&&l.dehydrated!==null){if(t===null){if(!r)throw Error(o(318));if(r=e.memoizedState,r=r!==null?r.dehydrated:null,!r)throw Error(o(317));r[ue]=e}else ki(),(e.flags&128)===0&&(e.memoizedState=null),e.flags|=4;Yt(e),r=!1}else r=$r(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=r),r=!0;if(!r)return e.flags&256?(Le(e),e):(Le(e),null)}return Le(e),(e.flags&128)!==0?(e.lanes=n,e):(n=l!==null,t=t!==null&&t.memoizedState!==null,n&&(l=e.child,r=null,l.alternate!==null&&l.alternate.memoizedState!==null&&l.alternate.memoizedState.cachePool!==null&&(r=l.alternate.memoizedState.cachePool.pool),u=null,l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(u=l.memoizedState.cachePool.pool),u!==r&&(l.flags|=2048)),n!==t&&n&&(e.child.flags|=8192),no(e,e.updateQueue),Yt(e),null);case 4:return pt(),t===null&&cc(e.stateNode.containerInfo),Yt(e),null;case 10:return _n(e.type),Yt(e),null;case 19:if(V(Qt),l=e.memoizedState,l===null)return Yt(e),null;if(r=(e.flags&128)!==0,u=l.rendering,u===null)if(r)Vl(l,!1);else{if(Zt!==0||t!==null&&(t.flags&128)!==0)for(t=e.child;t!==null;){if(u=Gs(t),u!==null){for(e.flags|=128,Vl(l,!1),t=u.updateQueue,e.updateQueue=t,no(e,t),e.subtreeFlags=0,t=n,n=e.child;n!==null;)ah(n,t),n=n.sibling;return K(Qt,Qt.current&1|2),Mt&&Vn(e,l.treeForkCount),e.child}t=t.sibling}l.tail!==null&&re()>oo&&(e.flags|=128,r=!0,Vl(l,!1),e.lanes=4194304)}else{if(!r)if(t=Gs(u),t!==null){if(e.flags|=128,r=!0,t=t.updateQueue,e.updateQueue=t,no(e,t),Vl(l,!0),l.tail===null&&l.tailMode==="hidden"&&!u.alternate&&!Mt)return Yt(e),null}else 2*re()-l.renderingStartTime>oo&&n!==536870912&&(e.flags|=128,r=!0,Vl(l,!1),e.lanes=4194304);l.isBackwards?(u.sibling=e.child,e.child=u):(t=l.last,t!==null?t.sibling=u:e.child=u,l.last=u)}return l.tail!==null?(t=l.tail,l.rendering=t,l.tail=t.sibling,l.renderingStartTime=re(),t.sibling=null,n=Qt.current,K(Qt,r?n&1|2:n&1),Mt&&Vn(e,l.treeForkCount),t):(Yt(e),null);case 22:case 23:return Le(e),fu(),l=e.memoizedState!==null,t!==null?t.memoizedState!==null!==l&&(e.flags|=8192):l&&(e.flags|=8192),l?(n&536870912)!==0&&(e.flags&128)===0&&(Yt(e),e.subtreeFlags&6&&(e.flags|=8192)):Yt(e),n=e.updateQueue,n!==null&&no(e,n.retryQueue),n=null,t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(n=t.memoizedState.cachePool.pool),l=null,e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(l=e.memoizedState.cachePool.pool),l!==n&&(e.flags|=2048),t!==null&&V(Gi),null;case 24:return n=null,t!==null&&(n=t.memoizedState.cache),e.memoizedState.cache!==n&&(e.flags|=2048),_n(Pt),Yt(e),null;case 25:return null;case 30:return null}throw Error(o(156,e.tag))}function z1(t,e){switch(Fr(e),e.tag){case 1:return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 3:return _n(Pt),pt(),t=e.flags,(t&65536)!==0&&(t&128)===0?(e.flags=t&-65537|128,e):null;case 26:case 27:case 5:return be(e),null;case 31:if(e.memoizedState!==null){if(Le(e),e.alternate===null)throw Error(o(340));ki()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 13:if(Le(e),t=e.memoizedState,t!==null&&t.dehydrated!==null){if(e.alternate===null)throw Error(o(340));ki()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 19:return V(Qt),null;case 4:return pt(),null;case 10:return _n(e.type),null;case 22:case 23:return Le(e),fu(),t!==null&&V(Gi),t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 24:return _n(Pt),null;case 25:return null;default:return null}}function Om(t,e){switch(Fr(e),e.tag){case 3:_n(Pt),pt();break;case 26:case 27:case 5:be(e);break;case 4:pt();break;case 31:e.memoizedState!==null&&Le(e);break;case 13:Le(e);break;case 19:V(Qt);break;case 10:_n(e.type);break;case 22:case 23:Le(e),fu(),t!==null&&V(Gi);break;case 24:_n(Pt)}}function Nl(t,e){try{var n=e.updateQueue,l=n!==null?n.lastEffect:null;if(l!==null){var r=l.next;n=r;do{if((n.tag&t)===t){l=void 0;var u=n.create,h=n.inst;l=u(),h.destroy=l}n=n.next}while(n!==r)}}catch(y){Vt(e,e.return,y)}}function ri(t,e,n){try{var l=e.updateQueue,r=l!==null?l.lastEffect:null;if(r!==null){var u=r.next;l=u;do{if((l.tag&t)===t){var h=l.inst,y=h.destroy;if(y!==void 0){h.destroy=void 0,r=e;var T=n,z=y;try{z()}catch(U){Vt(r,T,U)}}}l=l.next}while(l!==u)}}catch(U){Vt(e,e.return,U)}}function Vm(t){var e=t.updateQueue;if(e!==null){var n=t.stateNode;try{Th(e,n)}catch(l){Vt(t,t.return,l)}}}function Nm(t,e,n){n.props=Ji(t.type,t.memoizedProps),n.state=t.memoizedState;try{n.componentWillUnmount()}catch(l){Vt(t,e,l)}}function _l(t,e){try{var n=t.ref;if(n!==null){switch(t.tag){case 26:case 27:case 5:var l=t.stateNode;break;case 30:l=t.stateNode;break;default:l=t.stateNode}typeof n=="function"?t.refCleanup=n(l):n.current=l}}catch(r){Vt(t,e,r)}}function bn(t,e){var n=t.ref,l=t.refCleanup;if(n!==null)if(typeof l=="function")try{l()}catch(r){Vt(t,e,r)}finally{t.refCleanup=null,t=t.alternate,t!=null&&(t.refCleanup=null)}else if(typeof n=="function")try{n(null)}catch(r){Vt(t,e,r)}else n.current=null}function _m(t){var e=t.type,n=t.memoizedProps,l=t.stateNode;try{t:switch(e){case"button":case"input":case"select":case"textarea":n.autoFocus&&l.focus();break t;case"img":n.src?l.src=n.src:n.srcSet&&(l.srcset=n.srcSet)}}catch(r){Vt(t,t.return,r)}}function Gu(t,e,n){try{var l=t.stateNode;W1(l,t.type,n,e),l[Ce]=e}catch(r){Vt(t,t.return,r)}}function Bm(t){return t.tag===5||t.tag===3||t.tag===26||t.tag===27&&pi(t.type)||t.tag===4}function qu(t){t:for(;;){for(;t.sibling===null;){if(t.return===null||Bm(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==5&&t.tag!==6&&t.tag!==18;){if(t.tag===27&&pi(t.type)||t.flags&2||t.child===null||t.tag===4)continue t;t.child.return=t,t=t.child}if(!(t.flags&2))return t.stateNode}}function Zu(t,e,n){var l=t.tag;if(l===5||l===6)t=t.stateNode,e?(n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n).insertBefore(t,e):(e=n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n,e.appendChild(t),n=n._reactRootContainer,n!=null||e.onclick!==null||(e.onclick=zn));else if(l!==4&&(l===27&&pi(t.type)&&(n=t.stateNode,e=null),t=t.child,t!==null))for(Zu(t,e,n),t=t.sibling;t!==null;)Zu(t,e,n),t=t.sibling}function io(t,e,n){var l=t.tag;if(l===5||l===6)t=t.stateNode,e?n.insertBefore(t,e):n.appendChild(t);else if(l!==4&&(l===27&&pi(t.type)&&(n=t.stateNode),t=t.child,t!==null))for(io(t,e,n),t=t.sibling;t!==null;)io(t,e,n),t=t.sibling}function Um(t){var e=t.stateNode,n=t.memoizedProps;try{for(var l=t.type,r=e.attributes;r.length;)e.removeAttributeNode(r[0]);he(e,l,n),e[ue]=t,e[Ce]=n}catch(u){Vt(t,t.return,u)}}var Hn=!1,$t=!1,Ku=!1,Lm=typeof WeakSet=="function"?WeakSet:Set,le=null;function R1(t,e){if(t=t.containerInfo,hc=Mo,t=Pd(t),Hr(t)){if("selectionStart"in t)var n={start:t.selectionStart,end:t.selectionEnd};else t:{n=(n=t.ownerDocument)&&n.defaultView||window;var l=n.getSelection&&n.getSelection();if(l&&l.rangeCount!==0){n=l.anchorNode;var r=l.anchorOffset,u=l.focusNode;l=l.focusOffset;try{n.nodeType,u.nodeType}catch{n=null;break t}var h=0,y=-1,T=-1,z=0,U=0,H=t,R=null;e:for(;;){for(var O;H!==n||r!==0&&H.nodeType!==3||(y=h+r),H!==u||l!==0&&H.nodeType!==3||(T=h+l),H.nodeType===3&&(h+=H.nodeValue.length),(O=H.firstChild)!==null;)R=H,H=O;for(;;){if(H===t)break e;if(R===n&&++z===r&&(y=h),R===u&&++U===l&&(T=h),(O=H.nextSibling)!==null)break;H=R,R=H.parentNode}H=O}n=y===-1||T===-1?null:{start:y,end:T}}else n=null}n=n||{start:0,end:0}}else n=null;for(mc={focusedElem:t,selectionRange:n},Mo=!1,le=e;le!==null;)if(e=le,t=e.child,(e.subtreeFlags&1028)!==0&&t!==null)t.return=e,le=t;else for(;le!==null;){switch(e=le,u=e.alternate,t=e.flags,e.tag){case 0:if((t&4)!==0&&(t=e.updateQueue,t=t!==null?t.events:null,t!==null))for(n=0;n title"))),he(u,l,n),u[ue]=t,ae(u),l=u;break t;case"link":var h=Gp("link","href",r).get(l+(n.href||""));if(h){for(var y=0;yUt&&(h=Ut,Ut=ht,ht=h);var M=Qd(y,ht),E=Qd(y,Ut);if(M&&E&&(O.rangeCount!==1||O.anchorNode!==M.node||O.anchorOffset!==M.offset||O.focusNode!==E.node||O.focusOffset!==E.offset)){var D=H.createRange();D.setStart(M.node,M.offset),O.removeAllRanges(),ht>Ut?(O.addRange(D),O.extend(E.node,E.offset)):(D.setEnd(E.node,E.offset),O.addRange(D))}}}}for(H=[],O=y;O=O.parentNode;)O.nodeType===1&&H.push({element:O,left:O.scrollLeft,top:O.scrollTop});for(typeof y.focus=="function"&&y.focus(),y=0;yn?32:n,w.T=null,n=Iu,Iu=null;var u=di,h=qn;if(ee=0,ka=di=null,qn=0,(zt&6)!==0)throw Error(o(331));var y=zt;if(zt|=4,Jm(u.current),Zm(u,u.current,h,n),zt=y,kl(0,!1),ge&&typeof ge.onPostCommitFiberRoot=="function")try{ge.onPostCommitFiberRoot(Ni,u)}catch{}return!0}finally{q.p=r,w.T=l,dp(t,e)}}function mp(t,e,n){e=Ze(n,e),e=Vu(t.stateNode,e,2),t=li(t,e,2),t!==null&&(Cn(t,2),Sn(t))}function Vt(t,e,n){if(t.tag===3)mp(t,t,n);else for(;e!==null;){if(e.tag===3){mp(e,t,n);break}else if(e.tag===1){var l=e.stateNode;if(typeof e.type.getDerivedStateFromError=="function"||typeof l.componentDidCatch=="function"&&(fi===null||!fi.has(l))){t=Ze(n,t),n=pm(2),l=li(e,n,2),l!==null&&(gm(n,l,e,t),Cn(l,2),Sn(l));break}}e=e.return}}function ic(t,e,n){var l=t.pingCache;if(l===null){l=t.pingCache=new N1;var r=new Set;l.set(e,r)}else r=l.get(e),r===void 0&&(r=new Set,l.set(e,r));r.has(n)||(Pu=!0,r.add(n),t=j1.bind(null,t,e,n),e.then(t,t))}function j1(t,e,n){var l=t.pingCache;l!==null&&l.delete(e),t.pingedLanes|=t.suspendedLanes&n,t.warmLanes&=~n,jt===t&&(At&n)===n&&(Zt===4||Zt===3&&(At&62914560)===At&&300>re()-so?(zt&2)===0&&Ya(t,0):Fu|=n,Ha===At&&(Ha=0)),Sn(t)}function pp(t,e){e===0&&(e=gn()),t=ji(t,e),t!==null&&(Cn(t,e),Sn(t))}function H1(t){var e=t.memoizedState,n=0;e!==null&&(n=e.retryLane),pp(t,n)}function k1(t,e){var n=0;switch(t.tag){case 31:case 13:var l=t.stateNode,r=t.memoizedState;r!==null&&(n=r.retryLane);break;case 19:l=t.stateNode;break;case 22:l=t.stateNode._retryCache;break;default:throw Error(o(314))}l!==null&&l.delete(e),pp(t,n)}function Y1(t,e){return we(t,e)}var mo=null,Ga=null,ac=!1,po=!1,lc=!1,mi=0;function Sn(t){t!==Ga&&t.next===null&&(Ga===null?mo=Ga=t:Ga=Ga.next=t),po=!0,ac||(ac=!0,G1())}function kl(t,e){if(!lc&&po){lc=!0;do for(var n=!1,l=mo;l!==null;){if(t!==0){var r=l.pendingLanes;if(r===0)var u=0;else{var h=l.suspendedLanes,y=l.pingedLanes;u=(1<<31-ye(42|t)+1)-1,u&=r&~(h&~y),u=u&201326741?u&201326741|1:u?u|2:0}u!==0&&(n=!0,bp(l,u))}else u=At,u=ua(l,l===jt?u:0,l.cancelPendingCommit!==null||l.timeoutHandle!==-1),(u&3)===0||on(l,u)||(n=!0,bp(l,u));l=l.next}while(n);lc=!1}}function X1(){gp()}function gp(){po=ac=!1;var t=0;mi!==0&&I1()&&(t=mi);for(var e=re(),n=null,l=mo;l!==null;){var r=l.next,u=yp(l,e);u===0?(l.next=null,n===null?mo=r:n.next=r,r===null&&(Ga=n)):(n=l,(t!==0||(u&3)!==0)&&(po=!0)),l=r}ee!==0&&ee!==5||kl(t),mi!==0&&(mi=0)}function yp(t,e){for(var n=t.suspendedLanes,l=t.pingedLanes,r=t.expirationTimes,u=t.pendingLanes&-62914561;0y)break;var U=T.transferSize,H=T.initiatorType;U&&Cp(H)&&(T=T.responseEnd,h+=U*(T"u"?null:document;function Hp(t,e,n){var l=qa;if(l&&typeof e=="string"&&e){var r=Ge(e);r='link[rel="'+t+'"][href="'+r+'"]',typeof n=="string"&&(r+='[crossorigin="'+n+'"]'),jp.has(r)||(jp.add(r),t={rel:t,crossOrigin:n,href:e},l.querySelector(r)===null&&(e=l.createElement("link"),he(e,"link",t),ae(e),l.head.appendChild(e)))}}function rS(t){Zn.D(t),Hp("dns-prefetch",t,null)}function uS(t,e){Zn.C(t,e),Hp("preconnect",t,e)}function cS(t,e,n){Zn.L(t,e,n);var l=qa;if(l&&t&&e){var r='link[rel="preload"][as="'+Ge(e)+'"]';e==="image"&&n&&n.imageSrcSet?(r+='[imagesrcset="'+Ge(n.imageSrcSet)+'"]',typeof n.imageSizes=="string"&&(r+='[imagesizes="'+Ge(n.imageSizes)+'"]')):r+='[href="'+Ge(t)+'"]';var u=r;switch(e){case"style":u=Za(t);break;case"script":u=Ka(t)}We.has(u)||(t=b({rel:"preload",href:e==="image"&&n&&n.imageSrcSet?void 0:t,as:e},n),We.set(u,t),l.querySelector(r)!==null||e==="style"&&l.querySelector(ql(u))||e==="script"&&l.querySelector(Zl(u))||(e=l.createElement("link"),he(e,"link",t),ae(e),l.head.appendChild(e)))}}function fS(t,e){Zn.m(t,e);var n=qa;if(n&&t){var l=e&&typeof e.as=="string"?e.as:"script",r='link[rel="modulepreload"][as="'+Ge(l)+'"][href="'+Ge(t)+'"]',u=r;switch(l){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":u=Ka(t)}if(!We.has(u)&&(t=b({rel:"modulepreload",href:t},e),We.set(u,t),n.querySelector(r)===null)){switch(l){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(n.querySelector(Zl(u)))return}l=n.createElement("link"),he(l,"link",t),ae(l),n.head.appendChild(l)}}}function dS(t,e,n){Zn.S(t,e,n);var l=qa;if(l&&t){var r=ha(l).hoistableStyles,u=Za(t);e=e||"default";var h=r.get(u);if(!h){var y={loading:0,preload:null};if(h=l.querySelector(ql(u)))y.loading=5;else{t=b({rel:"stylesheet",href:t,"data-precedence":e},n),(n=We.get(u))&&xc(t,n);var T=h=l.createElement("link");ae(T),he(T,"link",t),T._p=new Promise(function(z,U){T.onload=z,T.onerror=U}),T.addEventListener("load",function(){y.loading|=1}),T.addEventListener("error",function(){y.loading|=2}),y.loading|=4,So(h,e,l)}h={type:"stylesheet",instance:h,count:1,state:y},r.set(u,h)}}}function hS(t,e){Zn.X(t,e);var n=qa;if(n&&t){var l=ha(n).hoistableScripts,r=Ka(t),u=l.get(r);u||(u=n.querySelector(Zl(r)),u||(t=b({src:t,async:!0},e),(e=We.get(r))&&Tc(t,e),u=n.createElement("script"),ae(u),he(u,"link",t),n.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},l.set(r,u))}}function mS(t,e){Zn.M(t,e);var n=qa;if(n&&t){var l=ha(n).hoistableScripts,r=Ka(t),u=l.get(r);u||(u=n.querySelector(Zl(r)),u||(t=b({src:t,async:!0,type:"module"},e),(e=We.get(r))&&Tc(t,e),u=n.createElement("script"),ae(u),he(u,"link",t),n.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},l.set(r,u))}}function kp(t,e,n,l){var r=(r=rt.current)?bo(r):null;if(!r)throw Error(o(446));switch(t){case"meta":case"title":return null;case"style":return typeof n.precedence=="string"&&typeof n.href=="string"?(e=Za(n.href),n=ha(r).hoistableStyles,l=n.get(e),l||(l={type:"style",instance:null,count:0,state:null},n.set(e,l)),l):{type:"void",instance:null,count:0,state:null};case"link":if(n.rel==="stylesheet"&&typeof n.href=="string"&&typeof n.precedence=="string"){t=Za(n.href);var u=ha(r).hoistableStyles,h=u.get(t);if(h||(r=r.ownerDocument||r,h={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},u.set(t,h),(u=r.querySelector(ql(t)))&&!u._p&&(h.instance=u,h.state.loading=5),We.has(t)||(n={rel:"preload",as:"style",href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy},We.set(t,n),u||pS(r,t,n,h.state))),e&&l===null)throw Error(o(528,""));return h}if(e&&l!==null)throw Error(o(529,""));return null;case"script":return e=n.async,n=n.src,typeof n=="string"&&e&&typeof e!="function"&&typeof e!="symbol"?(e=Ka(n),n=ha(r).hoistableScripts,l=n.get(e),l||(l={type:"script",instance:null,count:0,state:null},n.set(e,l)),l):{type:"void",instance:null,count:0,state:null};default:throw Error(o(444,t))}}function Za(t){return'href="'+Ge(t)+'"'}function ql(t){return'link[rel="stylesheet"]['+t+"]"}function Yp(t){return b({},t,{"data-precedence":t.precedence,precedence:null})}function pS(t,e,n,l){t.querySelector('link[rel="preload"][as="style"]['+e+"]")?l.loading=1:(e=t.createElement("link"),l.preload=e,e.addEventListener("load",function(){return l.loading|=1}),e.addEventListener("error",function(){return l.loading|=2}),he(e,"link",n),ae(e),t.head.appendChild(e))}function Ka(t){return'[src="'+Ge(t)+'"]'}function Zl(t){return"script[async]"+t}function Xp(t,e,n){if(e.count++,e.instance===null)switch(e.type){case"style":var l=t.querySelector('style[data-href~="'+Ge(n.href)+'"]');if(l)return e.instance=l,ae(l),l;var r=b({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return l=(t.ownerDocument||t).createElement("style"),ae(l),he(l,"style",r),So(l,n.precedence,t),e.instance=l;case"stylesheet":r=Za(n.href);var u=t.querySelector(ql(r));if(u)return e.state.loading|=4,e.instance=u,ae(u),u;l=Yp(n),(r=We.get(r))&&xc(l,r),u=(t.ownerDocument||t).createElement("link"),ae(u);var h=u;return h._p=new Promise(function(y,T){h.onload=y,h.onerror=T}),he(u,"link",l),e.state.loading|=4,So(u,n.precedence,t),e.instance=u;case"script":return u=Ka(n.src),(r=t.querySelector(Zl(u)))?(e.instance=r,ae(r),r):(l=n,(r=We.get(u))&&(l=b({},n),Tc(l,r)),t=t.ownerDocument||t,r=t.createElement("script"),ae(r),he(r,"link",l),t.head.appendChild(r),e.instance=r);case"void":return null;default:throw Error(o(443,e.type))}else e.type==="stylesheet"&&(e.state.loading&4)===0&&(l=e.instance,e.state.loading|=4,So(l,n.precedence,t));return e.instance}function So(t,e,n){for(var l=n.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),r=l.length?l[l.length-1]:null,u=r,h=0;h title"):null)}function gS(t,e,n){if(n===1||e.itemProp!=null)return!1;switch(t){case"meta":case"title":return!0;case"style":if(typeof e.precedence!="string"||typeof e.href!="string"||e.href==="")break;return!0;case"link":if(typeof e.rel!="string"||typeof e.href!="string"||e.href===""||e.onLoad||e.onError)break;switch(e.rel){case"stylesheet":return t=e.disabled,typeof e.precedence=="string"&&t==null;default:return!0}case"script":if(e.async&&typeof e.async!="function"&&typeof e.async!="symbol"&&!e.onLoad&&!e.onError&&e.src&&typeof e.src=="string")return!0}return!1}function Zp(t){return!(t.type==="stylesheet"&&(t.state.loading&3)===0)}function yS(t,e,n,l){if(n.type==="stylesheet"&&(typeof l.media!="string"||matchMedia(l.media).matches!==!1)&&(n.state.loading&4)===0){if(n.instance===null){var r=Za(l.href),u=e.querySelector(ql(r));if(u){e=u._p,e!==null&&typeof e=="object"&&typeof e.then=="function"&&(t.count++,t=To.bind(t),e.then(t,t)),n.state.loading|=4,n.instance=u,ae(u);return}u=e.ownerDocument||e,l=Yp(l),(r=We.get(r))&&xc(l,r),u=u.createElement("link"),ae(u);var h=u;h._p=new Promise(function(y,T){h.onload=y,h.onerror=T}),he(u,"link",l),n.instance=u}t.stylesheets===null&&(t.stylesheets=new Map),t.stylesheets.set(n,e),(e=n.state.preload)&&(n.state.loading&3)===0&&(t.count++,n=To.bind(t),e.addEventListener("load",n),e.addEventListener("error",n))}}var Ac=0;function vS(t,e){return t.stylesheets&&t.count===0&&Eo(t,t.stylesheets),0Ac?50:800)+e);return t.unsuspend=n,function(){t.unsuspend=null,clearTimeout(l),clearTimeout(r)}}:null}function To(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Eo(this,this.stylesheets);else if(this.unsuspend){var t=this.unsuspend;this.unsuspend=null,t()}}}var Ao=null;function Eo(t,e){t.stylesheets=null,t.unsuspend!==null&&(t.count++,Ao=new Map,e.forEach(bS,t),Ao=null,To.call(t))}function bS(t,e){if(!(e.state.loading&4)){var n=Ao.get(t);if(n)var l=n.get(null);else{n=new Map,Ao.set(t,n);for(var r=t.querySelectorAll("link[data-precedence],style[data-precedence]"),u=0;u"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(i)}catch(a){console.error(a)}}return i(),Vc.exports=kS(),Vc.exports}var XS=YS();const n0=L.createContext({});function GS(i){const a=L.useRef(null);return a.current===null&&(a.current=i()),a.current}const qS=typeof window<"u",ZS=qS?L.useLayoutEffect:L.useEffect,Vf=L.createContext(null);function Nf(i,a){i.indexOf(a)===-1&&i.push(a)}function Fo(i,a){const s=i.indexOf(a);s>-1&&i.splice(s,1)}const En=(i,a,s)=>s>a?a:s{};const Ci={},i0=i=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(i);function a0(i){return typeof i=="object"&&i!==null}const l0=i=>/^0[^.\s]+$/u.test(i);function s0(i){let a;return()=>(a===void 0&&(a=i()),a)}const tn=i=>i,KS=(i,a)=>s=>a(i(s)),fs=(...i)=>i.reduce(KS),os=(i,a,s)=>{const o=a-i;return o===0?1:(s-i)/o};class Bf{constructor(){this.subscriptions=[]}add(a){return Nf(this.subscriptions,a),()=>Fo(this.subscriptions,a)}notify(a,s,o){const c=this.subscriptions.length;if(c)if(c===1)this.subscriptions[0](a,s,o);else for(let f=0;fi*1e3,$e=i=>i/1e3;function o0(i,a){return a?i*(1e3/a):0}const r0=(i,a,s)=>(((1-3*s+3*a)*i+(3*s-6*a))*i+3*a)*i,QS=1e-7,JS=12;function PS(i,a,s,o,c){let f,d,m=0;do d=a+(s-a)/2,f=r0(d,o,c)-i,f>0?s=d:a=d;while(Math.abs(f)>QS&&++mPS(f,0,1,i,s);return f=>f===0||f===1?f:r0(c(f),a,o)}const u0=i=>a=>a<=.5?i(2*a)/2:(2-i(2*(1-a)))/2,c0=i=>a=>1-i(1-a),f0=ds(.33,1.53,.69,.99),Uf=c0(f0),d0=u0(Uf),h0=i=>i>=1?1:(i*=2)<1?.5*Uf(i):.5*(2-Math.pow(2,-10*(i-1))),Lf=i=>1-Math.sin(Math.acos(i)),m0=c0(Lf),p0=u0(Lf),FS=ds(.42,0,1,1),WS=ds(0,0,.58,1),g0=ds(.42,0,.58,1),$S=i=>Array.isArray(i)&&typeof i[0]!="number",y0=i=>Array.isArray(i)&&typeof i[0]=="number",IS={linear:tn,easeIn:FS,easeInOut:g0,easeOut:WS,circIn:Lf,circInOut:p0,circOut:m0,backIn:Uf,backInOut:d0,backOut:f0,anticipate:h0},tx=i=>typeof i=="string",pg=i=>{if(y0(i)){_f(i.length===4);const[a,s,o,c]=i;return ds(a,s,o,c)}else if(tx(i))return IS[i];return i},No=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function ex(i,a){let s=new Set,o=new Set,c=!1,f=!1;const d=new WeakSet;let m={delta:0,timestamp:0,isProcessing:!1};function g(v){d.has(v)&&(p.schedule(v),i()),v(m)}const p={schedule:(v,b=!1,S=!1)=>{const C=S&&c?s:o;return b&&d.add(v),C.add(v),v},cancel:v=>{o.delete(v),d.delete(v)},process:v=>{if(m=v,c){f=!0;return}c=!0;const b=s;s=o,o=b,s.forEach(g),s.clear(),c=!1,f&&(f=!1,p.process(v))}};return p}const nx=40;function v0(i,a){let s=!1,o=!0;const c={delta:0,timestamp:0,isProcessing:!1},f=()=>s=!0,d=No.reduce((X,J)=>(X[J]=ex(f),X),{}),{setup:m,read:g,resolveKeyframes:p,preUpdate:v,update:b,preRender:S,render:A,postRender:C}=d,N=()=>{const X=Ci.useManualTiming,J=X?c.timestamp:performance.now();s=!1,X||(c.delta=o?1e3/60:Math.max(Math.min(J-c.timestamp,nx),1)),c.timestamp=J,c.isProcessing=!0,m.process(c),g.process(c),p.process(c),v.process(c),b.process(c),S.process(c),A.process(c),C.process(c),c.isProcessing=!1,s&&a&&(o=!1,i(N))},_=()=>{s=!0,o=!0,c.isProcessing||i(N)};return{schedule:No.reduce((X,J)=>{const Y=d[J];return X[J]=(ut,F=!1,k=!1)=>(s||_(),Y.schedule(ut,F,k)),X},{}),cancel:X=>{for(let J=0;J(Yo===void 0&&Ee.set(me.isProcessing||Ci.useManualTiming?me.timestamp:performance.now()),Yo),set:i=>{Yo=i,queueMicrotask(ix)}},b0=i=>a=>typeof a=="string"&&a.startsWith(i),S0=b0("--"),ax=b0("var(--"),jf=i=>ax(i)?lx.test(i.split("/*")[0].trim()):!1,lx=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function gg(i){return typeof i!="string"?!1:i.split("/*")[0].includes("var(--")}const al={test:i=>typeof i=="number",parse:parseFloat,transform:i=>i},rs={...al,transform:i=>En(0,1,i)},_o={...al,default:1},ns=i=>Math.round(i*1e5)/1e5,Hf=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function sx(i){return i==null}const ox=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,kf=(i,a)=>s=>!!(typeof s=="string"&&ox.test(s)&&s.startsWith(i)||a&&!sx(s)&&Object.prototype.hasOwnProperty.call(s,a)),x0=(i,a,s)=>o=>{if(typeof o!="string")return o;const[c,f,d,m]=o.match(Hf);return{[i]:parseFloat(c),[a]:parseFloat(f),[s]:parseFloat(d),alpha:m!==void 0?parseFloat(m):1}},rx=i=>En(0,255,i),Lc={...al,transform:i=>Math.round(rx(i))},ta={test:kf("rgb","red"),parse:x0("red","green","blue"),transform:({red:i,green:a,blue:s,alpha:o=1})=>"rgba("+Lc.transform(i)+", "+Lc.transform(a)+", "+Lc.transform(s)+", "+ns(rs.transform(o))+")"};function ux(i){let a="",s="",o="",c="";return i.length>5?(a=i.substring(1,3),s=i.substring(3,5),o=i.substring(5,7),c=i.substring(7,9)):(a=i.substring(1,2),s=i.substring(2,3),o=i.substring(3,4),c=i.substring(4,5),a+=a,s+=s,o+=o,c+=c),{red:parseInt(a,16),green:parseInt(s,16),blue:parseInt(o,16),alpha:c?parseInt(c,16)/255:1}}const nf={test:kf("#"),parse:ux,transform:ta.transform},hs=i=>({test:a=>typeof a=="string"&&a.endsWith(i)&&a.split(" ").length===1,parse:parseFloat,transform:a=>`${a}${i}`}),Ai=hs("deg"),An=hs("%"),it=hs("px"),cx=hs("vh"),fx=hs("vw"),yg={...An,parse:i=>An.parse(i)/100,transform:i=>An.transform(i*100)},$a={test:kf("hsl","hue"),parse:x0("hue","saturation","lightness"),transform:({hue:i,saturation:a,lightness:s,alpha:o=1})=>"hsla("+Math.round(i)+", "+An.transform(ns(a))+", "+An.transform(ns(s))+", "+ns(rs.transform(o))+")"},It={test:i=>ta.test(i)||nf.test(i)||$a.test(i),parse:i=>ta.test(i)?ta.parse(i):$a.test(i)?$a.parse(i):nf.parse(i),transform:i=>typeof i=="string"?i:i.hasOwnProperty("red")?ta.transform(i):$a.transform(i),getAnimatableNone:i=>{const a=It.parse(i);return a.alpha=0,It.transform(a)}},dx=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function hx(i){var a,s;return isNaN(i)&&typeof i=="string"&&(((a=i.match(Hf))==null?void 0:a.length)||0)+(((s=i.match(dx))==null?void 0:s.length)||0)>0}const T0="number",A0="color",mx="var",px="var(",vg="${}",gx=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function nl(i){const a=i.toString(),s=[],o={color:[],number:[],var:[]},c=[];let f=0;const m=a.replace(gx,g=>(It.test(g)?(o.color.push(f),c.push(A0),s.push(It.parse(g))):g.startsWith(px)?(o.var.push(f),c.push(mx),s.push(g)):(o.number.push(f),c.push(T0),s.push(parseFloat(g))),++f,vg)).split(vg);return{values:s,split:m,indexes:o,types:c}}function yx(i){return nl(i).values}function E0({split:i,types:a}){const s=i.length;return o=>{let c="";for(let f=0;ftypeof i=="number"?0:It.test(i)?It.getAnimatableNone(i):i,Sx=(i,a)=>typeof i=="number"?a!=null&&a.trim().endsWith("/")?i:0:bx(i);function xx(i){const a=nl(i);return E0(a)(a.values.map((o,c)=>Sx(o,a.split[c])))}const hn={test:hx,parse:yx,createTransformer:vx,getAnimatableNone:xx};function jc(i,a,s){return s<0&&(s+=1),s>1&&(s-=1),s<1/6?i+(a-i)*6*s:s<1/2?a:s<2/3?i+(a-i)*(2/3-s)*6:i}function Tx({hue:i,saturation:a,lightness:s,alpha:o}){i/=360,a/=100,s/=100;let c=0,f=0,d=0;if(!a)c=f=d=s;else{const m=s<.5?s*(1+a):s+a-s*a,g=2*s-m;c=jc(g,m,i+1/3),f=jc(g,m,i),d=jc(g,m,i-1/3)}return{red:Math.round(c*255),green:Math.round(f*255),blue:Math.round(d*255),alpha:o}}function Wo(i,a){return s=>s>0?a:i}const Xt=(i,a,s)=>i+(a-i)*s,Hc=(i,a,s)=>{const o=i*i,c=s*(a*a-o)+o;return c<0?0:Math.sqrt(c)},Ax=[nf,ta,$a],Ex=i=>Ax.find(a=>a.test(i));function bg(i){const a=Ex(i);if(!a)return!1;let s=a.parse(i);return a===$a&&(s=Tx(s)),s}const Sg=(i,a)=>{const s=bg(i),o=bg(a);if(!s||!o)return Wo(i,a);const c={...s};return f=>(c.red=Hc(s.red,o.red,f),c.green=Hc(s.green,o.green,f),c.blue=Hc(s.blue,o.blue,f),c.alpha=Xt(s.alpha,o.alpha,f),ta.transform(c))},af=new Set(["none","hidden"]);function Mx(i,a){return af.has(i)?s=>s<=0?i:a:s=>s>=1?a:i}function wx(i,a){return s=>Xt(i,a,s)}function Yf(i){return typeof i=="number"?wx:typeof i=="string"?jf(i)?Wo:It.test(i)?Sg:zx:Array.isArray(i)?M0:typeof i=="object"?It.test(i)?Sg:Cx:Wo}function M0(i,a){const s=[...i],o=s.length,c=i.map((f,d)=>Yf(f)(f,a[d]));return f=>{for(let d=0;d{for(const f in o)s[f]=o[f](c);return s}}function Dx(i,a){const s=[],o={color:0,var:0,number:0};for(let c=0;c{const s=hn.createTransformer(a),o=nl(i),c=nl(a);return o.indexes.var.length===c.indexes.var.length&&o.indexes.color.length===c.indexes.color.length&&o.indexes.number.length>=c.indexes.number.length?af.has(i)&&!c.values.length||af.has(a)&&!o.values.length?Mx(i,a):fs(M0(Dx(o,c),c.values),s):Wo(i,a)};function w0(i,a,s){return typeof i=="number"&&typeof a=="number"&&typeof s=="number"?Xt(i,a,s):Yf(i)(i,a)}const Rx=i=>{const a=({timestamp:s})=>i(s);return{start:(s=!0)=>Ht.update(a,s),stop:()=>Di(a),now:()=>me.isProcessing?me.timestamp:Ee.now()}},C0=(i,a,s=10)=>{let o="";const c=Math.max(Math.round(a/s),2);for(let f=0;f=$o?1/0:a}function Ox(i,a=100,s){const o=s({...i,keyframes:[0,a]}),c=Math.min(Xf(o),$o);return{type:"keyframes",ease:f=>o.next(c*f).value/a,duration:$e(c)}}const Kt={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1};function lf(i,a){return i*Math.sqrt(1-a*a)}const Vx=12;function Nx(i,a,s){let o=s;for(let c=1;c{const v=p*d,b=v*i,S=v-s,A=lf(p,d),C=Math.exp(-b);return kc-S/A*C},f=p=>{const b=p*d*i,S=b*s+s,A=Math.pow(d,2)*Math.pow(p,2)*i,C=Math.exp(-b),N=lf(Math.pow(p,2),d);return(-c(p)+kc>0?-1:1)*((S-A)*C)/N}):(c=p=>{const v=Math.exp(-p*i),b=(p-s)*i+1;return-kc+v*b},f=p=>{const v=Math.exp(-p*i),b=(s-p)*(i*i);return v*b});const m=5/i,g=Nx(c,f,m);if(i=Ye(i),isNaN(g))return{stiffness:Kt.stiffness,damping:Kt.damping,duration:i};{const p=Math.pow(g,2)*o;return{stiffness:p,damping:d*2*Math.sqrt(o*p),duration:i}}}const Bx=["duration","bounce"],Ux=["stiffness","damping","mass"];function xg(i,a){return a.some(s=>i[s]!==void 0)}function Lx(i){let a={velocity:Kt.velocity,stiffness:Kt.stiffness,damping:Kt.damping,mass:Kt.mass,isResolvedFromDuration:!1,...i};if(!xg(i,Ux)&&xg(i,Bx))if(a.velocity=0,i.visualDuration){const s=i.visualDuration,o=2*Math.PI/(s*1.2),c=o*o,f=2*En(.05,1,1-(i.bounce||0))*Math.sqrt(c);a={...a,mass:Kt.mass,stiffness:c,damping:f}}else{const s=_x({...i,velocity:0});a={...a,...s,mass:Kt.mass},a.isResolvedFromDuration=!0}return a}function Io(i=Kt.visualDuration,a=Kt.bounce){const s=typeof i!="object"?{visualDuration:i,keyframes:[0,1],bounce:a}:i;let{restSpeed:o,restDelta:c}=s;const f=s.keyframes[0],d=s.keyframes[s.keyframes.length-1],m={done:!1,value:f},{stiffness:g,damping:p,mass:v,duration:b,velocity:S,isResolvedFromDuration:A}=Lx({...s,velocity:-$e(s.velocity||0)}),C=S||0,N=p/(2*Math.sqrt(g*v)),_=d-f,B=$e(Math.sqrt(g/v)),Z=Math.abs(_)<5;o||(o=Z?Kt.restSpeed.granular:Kt.restSpeed.default),c||(c=Z?Kt.restDelta.granular:Kt.restDelta.default);let X,J,Y,ut,F,k;if(N<1)Y=lf(B,N),ut=(C+N*B*_)/Y,X=tt=>{const W=Math.exp(-N*B*tt);return d-W*(ut*Math.sin(Y*tt)+_*Math.cos(Y*tt))},F=N*B*ut+_*Y,k=N*B*_-ut*Y,J=tt=>Math.exp(-N*B*tt)*(F*Math.sin(Y*tt)+k*Math.cos(Y*tt));else if(N===1){X=W=>d-Math.exp(-B*W)*(_+(C+B*_)*W);const tt=C+B*_;J=W=>Math.exp(-B*W)*(B*tt*W-C)}else{const tt=B*Math.sqrt(N*N-1);X=wt=>{const lt=Math.exp(-N*B*wt),w=Math.min(tt*wt,300);return d-lt*((C+N*B*_)*Math.sinh(w)+tt*_*Math.cosh(w))/tt};const W=(C+N*B*_)/tt,dt=N*B*W-_*tt,St=N*B*_-W*tt;J=wt=>{const lt=Math.exp(-N*B*wt),w=Math.min(tt*wt,300);return lt*(dt*Math.sinh(w)+St*Math.cosh(w))}}const ct={calculatedDuration:A&&b||null,velocity:tt=>Ye(J(tt)),next:tt=>{if(!A&&N<1){const dt=Math.exp(-N*B*tt),St=Math.sin(Y*tt),wt=Math.cos(Y*tt),lt=d-dt*(ut*St+_*wt),w=Ye(dt*(F*St+k*wt));return m.done=Math.abs(w)<=o&&Math.abs(d-lt)<=c,m.value=m.done?d:lt,m}const W=X(tt);if(A)m.done=tt>=b;else{const dt=Ye(J(tt));m.done=Math.abs(dt)<=o&&Math.abs(d-W)<=c}return m.value=m.done?d:W,m},toString:()=>{const tt=Math.min(Xf(ct),$o),W=C0(dt=>ct.next(tt*dt).value,tt,30);return tt+"ms "+W},toTransition:()=>{}};return ct}Io.applyToOptions=i=>{const a=Ox(i,100,Io);return i.ease=a.ease,i.duration=Ye(a.duration),i.type="keyframes",i};const jx=5;function D0(i,a,s){const o=Math.max(a-jx,0);return o0(s-i(o),a-o)}function sf({keyframes:i,velocity:a=0,power:s=.8,timeConstant:o=325,bounceDamping:c=10,bounceStiffness:f=500,modifyTarget:d,min:m,max:g,restDelta:p=.5,restSpeed:v}){const b=i[0],S={done:!1,value:b},A=k=>m!==void 0&&kg,C=k=>m===void 0?g:g===void 0||Math.abs(m-k)-N*Math.exp(-k/o),X=k=>B+Z(k),J=k=>{const ct=Z(k),tt=X(k);S.done=Math.abs(ct)<=p,S.value=S.done?B:tt};let Y,ut;const F=k=>{A(S.value)&&(Y=k,ut=Io({keyframes:[S.value,C(S.value)],velocity:D0(X,k,S.value),damping:c,stiffness:f,restDelta:p,restSpeed:v}))};return F(0),{calculatedDuration:null,next:k=>{let ct=!1;return!ut&&Y===void 0&&(ct=!0,J(k),F(k)),Y!==void 0&&k>=Y?ut.next(k-Y):(!ct&&J(k),S)}}}function Hx(i,a,s){const o=[],c=s||Ci.mix||w0,f=i.length-1;for(let d=0;da[0];if(f===2&&a[0]===a[1])return()=>a[1];const d=i[0]===i[1];i[0]>i[f-1]&&(i=[...i].reverse(),a=[...a].reverse());const m=Hx(a,o,c),g=m.length,p=v=>{if(d&&v1)for(;bp(En(i[0],i[f-1],v)):p}function Yx(i,a){const s=i[i.length-1];for(let o=1;o<=a;o++){const c=os(0,a,o);i.push(Xt(s,1,c))}}function Xx(i){const a=[0];return Yx(a,i.length-1),a}function Gx(i,a){return i.map(s=>s*a)}function qx(i,a){return i.map(()=>a||g0).splice(0,i.length-1)}function is({duration:i=300,keyframes:a,times:s,ease:o="easeInOut"}){const c=$S(o)?o.map(pg):pg(o),f={done:!1,value:a[0]},d=Gx(s&&s.length===a.length?s:Xx(a),i),m=kx(d,a,{ease:Array.isArray(c)?c:qx(a,c)});return{calculatedDuration:i,next:g=>(f.value=m(g),f.done=g>=i,f)}}const Zx=i=>i!==null;function ur(i,{repeat:a,repeatType:s="loop"},o,c=1){const f=i.filter(Zx),m=c<0||a&&s!=="loop"&&a%2===1?0:f.length-1;return!m||o===void 0?f[m]:o}const Kx={decay:sf,inertia:sf,tween:is,keyframes:is,spring:Io};function z0(i){typeof i.type=="string"&&(i.type=Kx[i.type])}class Gf{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(a=>{this.resolve=a})}notifyFinished(){this.resolve()}then(a,s){return this.finished.then(a,s)}}const Qx=i=>i/100;class tr extends Gf{constructor(a){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{var o,c;const{motionValue:s}=this.options;s&&s.updatedAt!==Ee.now()&&this.tick(Ee.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),(c=(o=this.options).onStop)==null||c.call(o))},this.options=a,this.initAnimation(),this.play(),a.autoplay===!1&&this.pause()}initAnimation(){const{options:a}=this;z0(a);const{type:s=is,repeat:o=0,repeatDelay:c=0,repeatType:f,velocity:d=0}=a;let{keyframes:m}=a;const g=s||is;g!==is&&typeof m[0]!="number"&&(this.mixKeyframes=fs(Qx,w0(m[0],m[1])),m=[0,100]);const p=g({...a,keyframes:m});f==="mirror"&&(this.mirroredGenerator=g({...a,keyframes:[...m].reverse(),velocity:-d})),p.calculatedDuration===null&&(p.calculatedDuration=Xf(p));const{calculatedDuration:v}=p;this.calculatedDuration=v,this.resolvedDuration=v+c,this.totalDuration=this.resolvedDuration*(o+1)-c,this.generator=p}updateTime(a){const s=Math.round(a-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=s}tick(a,s=!1){const{generator:o,totalDuration:c,mixKeyframes:f,mirroredGenerator:d,resolvedDuration:m,calculatedDuration:g}=this;if(this.startTime===null)return o.next(0);const{delay:p=0,keyframes:v,repeat:b,repeatType:S,repeatDelay:A,type:C,onUpdate:N,finalKeyframe:_}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,a):this.speed<0&&(this.startTime=Math.min(a-c/this.speed,this.startTime)),s?this.currentTime=a:this.updateTime(a);const B=this.currentTime-p*(this.playbackSpeed>=0?1:-1),Z=this.playbackSpeed>=0?B<0:B>c;this.currentTime=Math.max(B,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=c);let X=this.currentTime,J=o;if(b){const k=Math.min(this.currentTime,c)/m;let ct=Math.floor(k),tt=k%1;!tt&&k>=1&&(tt=1),tt===1&&ct--,ct=Math.min(ct,b+1),!!(ct%2)&&(S==="reverse"?(tt=1-tt,A&&(tt-=A/m)):S==="mirror"&&(J=d)),X=En(0,1,tt)*m}let Y;Z?(this.delayState.value=v[0],Y=this.delayState):Y=J.next(X),f&&!Z&&(Y.value=f(Y.value));let{done:ut}=Y;!Z&&g!==null&&(ut=this.playbackSpeed>=0?this.currentTime>=c:this.currentTime<=0);const F=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&ut);return F&&C!==sf&&(Y.value=ur(v,this.options,_,this.speed)),N&&N(Y.value),F&&this.finish(),Y}then(a,s){return this.finished.then(a,s)}get duration(){return $e(this.calculatedDuration)}get iterationDuration(){const{delay:a=0}=this.options||{};return this.duration+$e(a)}get time(){return $e(this.currentTime)}set time(a){a=Ye(a),this.currentTime=a,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=a:this.driver&&(this.startTime=this.driver.now()-a/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state="paused",this.holdTime=a,this.tick(a))}getGeneratorVelocity(){const a=this.currentTime;if(a<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(a);const s=this.generator.next(a).value;return D0(o=>this.generator.next(o).value,a,s)}get speed(){return this.playbackSpeed}set speed(a){const s=this.playbackSpeed!==a;s&&this.driver&&this.updateTime(Ee.now()),this.playbackSpeed=a,s&&this.driver&&(this.time=$e(this.currentTime))}play(){var c,f;if(this.isStopped)return;const{driver:a=Rx,startTime:s}=this.options;this.driver||(this.driver=a(d=>this.tick(d))),(f=(c=this.options).onPlay)==null||f.call(c);const o=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=o):this.holdTime!==null?this.startTime=o-this.holdTime:this.startTime||(this.startTime=s??o),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(Ee.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){var a,s;this.notifyFinished(),this.teardown(),this.state="finished",(s=(a=this.options).onComplete)==null||s.call(a)}cancel(){var a,s;this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),(s=(a=this.options).onCancel)==null||s.call(a)}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(a){return this.startTime=0,this.tick(a,!0)}attachTimeline(a){var s;return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),(s=this.driver)==null||s.stop(),a.observe(this)}}function Jx(i){for(let a=1;ai*180/Math.PI,of=i=>{const a=ea(Math.atan2(i[1],i[0]));return rf(a)},Px={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:i=>(Math.abs(i[0])+Math.abs(i[3]))/2,rotate:of,rotateZ:of,skewX:i=>ea(Math.atan(i[1])),skewY:i=>ea(Math.atan(i[2])),skew:i=>(Math.abs(i[1])+Math.abs(i[2]))/2},rf=i=>(i=i%360,i<0&&(i+=360),i),Tg=of,Ag=i=>Math.sqrt(i[0]*i[0]+i[1]*i[1]),Eg=i=>Math.sqrt(i[4]*i[4]+i[5]*i[5]),Fx={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:Ag,scaleY:Eg,scale:i=>(Ag(i)+Eg(i))/2,rotateX:i=>rf(ea(Math.atan2(i[6],i[5]))),rotateY:i=>rf(ea(Math.atan2(-i[2],i[0]))),rotateZ:Tg,rotate:Tg,skewX:i=>ea(Math.atan(i[4])),skewY:i=>ea(Math.atan(i[1])),skew:i=>(Math.abs(i[1])+Math.abs(i[4]))/2};function uf(i){return i.includes("scale")?1:0}function cf(i,a){if(!i||i==="none")return uf(a);const s=i.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let o,c;if(s)o=Fx,c=s;else{const m=i.match(/^matrix\(([-\d.e\s,]+)\)$/u);o=Px,c=m}if(!c)return uf(a);const f=o[a],d=c[1].split(",").map($x);return typeof f=="function"?f(d):d[f]}const Wx=(i,a)=>{const{transform:s="none"}=getComputedStyle(i);return cf(s,a)};function $x(i){return parseFloat(i.trim())}const ll=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],sl=new Set(ll),Mg=i=>i===al||i===it,Ix=new Set(["x","y","z"]),tT=ll.filter(i=>!Ix.has(i));function eT(i){const a=[];return tT.forEach(s=>{const o=i.getValue(s);o!==void 0&&(a.push([s,o.get()]),o.set(s.startsWith("scale")?1:0))}),a}const Mi={width:({x:i},{paddingLeft:a="0",paddingRight:s="0",boxSizing:o})=>{const c=i.max-i.min;return o==="border-box"?c:c-parseFloat(a)-parseFloat(s)},height:({y:i},{paddingTop:a="0",paddingBottom:s="0",boxSizing:o})=>{const c=i.max-i.min;return o==="border-box"?c:c-parseFloat(a)-parseFloat(s)},top:(i,{top:a})=>parseFloat(a),left:(i,{left:a})=>parseFloat(a),bottom:({y:i},{top:a})=>parseFloat(a)+(i.max-i.min),right:({x:i},{left:a})=>parseFloat(a)+(i.max-i.min),x:(i,{transform:a})=>cf(a,"x"),y:(i,{transform:a})=>cf(a,"y")};Mi.translateX=Mi.x;Mi.translateY=Mi.y;const na=new Set;let ff=!1,df=!1,hf=!1;function R0(){if(df){const i=Array.from(na).filter(o=>o.needsMeasurement),a=new Set(i.map(o=>o.element)),s=new Map;a.forEach(o=>{const c=eT(o);c.length&&(s.set(o,c),o.render())}),i.forEach(o=>o.measureInitialState()),a.forEach(o=>{o.render();const c=s.get(o);c&&c.forEach(([f,d])=>{var m;(m=o.getValue(f))==null||m.set(d)})}),i.forEach(o=>o.measureEndState()),i.forEach(o=>{o.suspendedScrollY!==void 0&&window.scrollTo(0,o.suspendedScrollY)})}df=!1,ff=!1,na.forEach(i=>i.complete(hf)),na.clear()}function O0(){na.forEach(i=>{i.readKeyframes(),i.needsMeasurement&&(df=!0)})}function nT(){hf=!0,O0(),R0(),hf=!1}class qf{constructor(a,s,o,c,f,d=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...a],this.onComplete=s,this.name=o,this.motionValue=c,this.element=f,this.isAsync=d}scheduleResolve(){this.state="scheduled",this.isAsync?(na.add(this),ff||(ff=!0,Ht.read(O0),Ht.resolveKeyframes(R0))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:a,name:s,element:o,motionValue:c}=this;if(a[0]===null){const f=c==null?void 0:c.get(),d=a[a.length-1];if(f!==void 0)a[0]=f;else if(o&&s){const m=o.readValue(s,d);m!=null&&(a[0]=m)}a[0]===void 0&&(a[0]=d),c&&f===void 0&&c.set(a[0])}Jx(a)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(a=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,a),na.delete(this)}cancel(){this.state==="scheduled"&&(na.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const iT=i=>i.startsWith("--");function V0(i,a,s){iT(a)?i.style.setProperty(a,s):i.style[a]=s}const aT={};function N0(i,a){const s=s0(i);return()=>aT[a]??s()}const lT=N0(()=>window.ScrollTimeline!==void 0,"scrollTimeline"),_0=N0(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),es=([i,a,s,o])=>`cubic-bezier(${i}, ${a}, ${s}, ${o})`,wg={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:es([0,.65,.55,1]),circOut:es([.55,0,1,.45]),backIn:es([.31,.01,.66,-.59]),backOut:es([.33,1.53,.69,.99])};function B0(i,a){if(i)return typeof i=="function"?_0()?C0(i,a):"ease-out":y0(i)?es(i):Array.isArray(i)?i.map(s=>B0(s,a)||wg.easeOut):wg[i]}function sT(i,a,s,{delay:o=0,duration:c=300,repeat:f=0,repeatType:d="loop",ease:m="easeOut",times:g}={},p=void 0){const v={[a]:s};g&&(v.offset=g);const b=B0(m,c);Array.isArray(b)&&(v.easing=b);const S={delay:o,duration:c,easing:Array.isArray(b)?"linear":b,fill:"both",iterations:f+1,direction:d==="reverse"?"alternate":"normal"};return p&&(S.pseudoElement=p),i.animate(v,S)}function U0(i){return typeof i=="function"&&"applyToOptions"in i}function oT({type:i,...a}){return U0(i)&&_0()?i.applyToOptions(a):(a.duration??(a.duration=300),a.ease??(a.ease="easeOut"),a)}class L0 extends Gf{constructor(a){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!a)return;const{element:s,name:o,keyframes:c,pseudoElement:f,allowFlatten:d=!1,finalKeyframe:m,onComplete:g}=a;this.isPseudoElement=!!f,this.allowFlatten=d,this.options=a,_f(typeof a.type!="string");const p=oT(a);this.animation=sT(s,o,c,p,f),p.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!f){const v=ur(c,this.options,m,this.speed);this.updateMotionValue&&this.updateMotionValue(v),V0(s,o,v),this.animation.cancel()}g==null||g(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){var a,s;(s=(a=this.animation).finish)==null||s.call(a)}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:a}=this;a==="idle"||a==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){var s,o,c;const a=(s=this.options)==null?void 0:s.element;!this.isPseudoElement&&(a!=null&&a.isConnected)&&((c=(o=this.animation).commitStyles)==null||c.call(o))}get duration(){var s,o;const a=((o=(s=this.animation.effect)==null?void 0:s.getComputedTiming)==null?void 0:o.call(s).duration)||0;return $e(Number(a))}get iterationDuration(){const{delay:a=0}=this.options||{};return this.duration+$e(a)}get time(){return $e(Number(this.animation.currentTime)||0)}set time(a){const s=this.finishedTime!==null;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=Ye(a),s&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(a){a<0&&(this.finishedTime=null),this.animation.playbackRate=a}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(a){this.manualStartTime=this.animation.startTime=a}attachTimeline({timeline:a,rangeStart:s,rangeEnd:o,observe:c}){var f;return this.allowFlatten&&((f=this.animation.effect)==null||f.updateTiming({easing:"linear"})),this.animation.onfinish=null,a&&lT()?(this.animation.timeline=a,s&&(this.animation.rangeStart=s),o&&(this.animation.rangeEnd=o),tn):c(this)}}const j0={anticipate:h0,backInOut:d0,circInOut:p0};function rT(i){return i in j0}function uT(i){typeof i.ease=="string"&&rT(i.ease)&&(i.ease=j0[i.ease])}const Yc=10;class cT extends L0{constructor(a){uT(a),z0(a),super(a),a.startTime!==void 0&&a.autoplay!==!1&&(this.startTime=a.startTime),this.options=a}updateMotionValue(a){const{motionValue:s,onUpdate:o,onComplete:c,element:f,...d}=this.options;if(!s)return;if(a!==void 0){s.set(a);return}const m=new tr({...d,autoplay:!1}),g=Math.max(Yc,Ee.now()-this.startTime),p=En(0,Yc,g-Yc),v=m.sample(g).value,{name:b}=this.options;f&&b&&V0(f,b,v),s.setWithVelocity(m.sample(Math.max(0,g-p)).value,v,p),m.stop()}}const Cg=(i,a)=>a==="zIndex"?!1:!!(typeof i=="number"||Array.isArray(i)||typeof i=="string"&&(hn.test(i)||i==="0")&&!i.startsWith("url("));function fT(i){const a=i[0];if(i.length===1)return!0;for(let s=0;sObject.hasOwnProperty.call(Element.prototype,"animate"));function yT(i){var b;const{motionValue:a,name:s,repeatDelay:o,repeatType:c,damping:f,type:d,keyframes:m}=i;if(!(((b=a==null?void 0:a.owner)==null?void 0:b.current)instanceof HTMLElement))return!1;const{onUpdate:p,transformTemplate:v}=a.owner.getProps();return gT()&&s&&(H0.has(s)||pT.has(s)&&mT(m))&&(s!=="transform"||!v)&&!p&&!o&&c!=="mirror"&&f!==0&&d!=="inertia"}const vT=40;class bT extends Gf{constructor({autoplay:a=!0,delay:s=0,type:o="keyframes",repeat:c=0,repeatDelay:f=0,repeatType:d="loop",keyframes:m,name:g,motionValue:p,element:v,...b}){var C;super(),this.stop=()=>{var N,_;this._animation&&(this._animation.stop(),(N=this.stopTimeline)==null||N.call(this)),(_=this.keyframeResolver)==null||_.cancel()},this.createdAt=Ee.now();const S={autoplay:a,delay:s,type:o,repeat:c,repeatDelay:f,repeatType:d,name:g,motionValue:p,element:v,...b},A=(v==null?void 0:v.KeyframeResolver)||qf;this.keyframeResolver=new A(m,(N,_,B)=>this.onKeyframesResolved(N,_,S,!B),g,p,v),(C=this.keyframeResolver)==null||C.scheduleResolve()}onKeyframesResolved(a,s,o,c){var B,Z;this.keyframeResolver=void 0;const{name:f,type:d,velocity:m,delay:g,isHandoff:p,onUpdate:v}=o;this.resolvedAt=Ee.now();let b=!0;dT(a,f,d,m)||(b=!1,(Ci.instantAnimations||!g)&&(v==null||v(ur(a,o,s))),a[0]=a[a.length-1],mf(o),o.repeat=0);const A={startTime:c?this.resolvedAt?this.resolvedAt-this.createdAt>vT?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:s,...o,keyframes:a},C=b&&!p&&yT(A),N=(Z=(B=A.motionValue)==null?void 0:B.owner)==null?void 0:Z.current;let _;if(C)try{_=new cT({...A,element:N})}catch{_=new tr(A)}else _=new tr(A);_.finished.then(()=>{this.notifyFinished()}).catch(tn),this.pendingTimeline&&(this.stopTimeline=_.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=_}get finished(){return this._animation?this.animation.finished:this._finished}then(a,s){return this.finished.finally(a).then(()=>{})}get animation(){var a;return this._animation||((a=this.keyframeResolver)==null||a.resume(),nT()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(a){this.animation.time=a}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(a){this.animation.speed=a}get startTime(){return this.animation.startTime}attachTimeline(a){return this._animation?this.stopTimeline=this.animation.attachTimeline(a):this.pendingTimeline=a,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){var a;this._animation&&this.animation.cancel(),(a=this.keyframeResolver)==null||a.cancel()}}function k0(i,a,s,o=0,c=1){const f=Array.from(i).sort((p,v)=>p.sortNodePosition(v)).indexOf(a),d=i.size,m=(d-1)*o;return typeof s=="function"?s(f,d):c===1?f*o:m-f*o}const ST=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function xT(i){const a=ST.exec(i);if(!a)return[,];const[,s,o,c]=a;return[`--${s??o}`,c]}function Y0(i,a,s=1){const[o,c]=xT(i);if(!o)return;const f=window.getComputedStyle(a).getPropertyValue(o);if(f){const d=f.trim();return i0(d)?parseFloat(d):d}return jf(c)?Y0(c,a,s+1):c}const TT={type:"spring",stiffness:500,damping:25,restSpeed:10},AT=i=>({type:"spring",stiffness:550,damping:i===0?2*Math.sqrt(550):30,restSpeed:10}),ET={type:"keyframes",duration:.8},MT={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},wT=(i,{keyframes:a})=>a.length>2?ET:sl.has(i)?i.startsWith("scale")?AT(a[1]):TT:MT;function X0(i,a){if(i!=null&&i.inherit&&a){const{inherit:s,...o}=i;return{...a,...o}}return i}function Zf(i,a){const s=(i==null?void 0:i[a])??(i==null?void 0:i.default)??i;return s!==i?X0(s,i):s}const CT=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]);function DT(i){for(const a in i)if(!CT.has(a))return!0;return!1}const Kf=(i,a,s,o={},c,f)=>d=>{const m=Zf(o,i)||{},g=m.delay||o.delay||0;let{elapsed:p=0}=o;p=p-Ye(g);const v={keyframes:Array.isArray(s)?s:[null,s],ease:"easeOut",velocity:a.getVelocity(),...m,delay:-p,onUpdate:S=>{a.set(S),m.onUpdate&&m.onUpdate(S)},onComplete:()=>{d(),m.onComplete&&m.onComplete()},name:i,motionValue:a,element:f?void 0:c};DT(m)||Object.assign(v,wT(i,v)),v.duration&&(v.duration=Ye(v.duration)),v.repeatDelay&&(v.repeatDelay=Ye(v.repeatDelay)),v.from!==void 0&&(v.keyframes[0]=v.from);let b=!1;if((v.type===!1||v.duration===0&&!v.repeatDelay)&&(mf(v),v.delay===0&&(b=!0)),(Ci.instantAnimations||Ci.skipAnimations||c!=null&&c.shouldSkipAnimations)&&(b=!0,mf(v),v.delay=0),v.allowFlatten=!m.type&&!m.ease,b&&!f&&a.get()!==void 0){const S=ur(v.keyframes,m);if(S!==void 0){Ht.update(()=>{v.onUpdate(S),v.onComplete()});return}}return m.isSync?new tr(v):new bT(v)};function Dg(i){const a=[{},{}];return i==null||i.values.forEach((s,o)=>{a[0][o]=s.get(),a[1][o]=s.getVelocity()}),a}function Qf(i,a,s,o){if(typeof a=="function"){const[c,f]=Dg(o);a=a(s!==void 0?s:i.custom,c,f)}if(typeof a=="string"&&(a=i.variants&&i.variants[a]),typeof a=="function"){const[c,f]=Dg(o);a=a(s!==void 0?s:i.custom,c,f)}return a}function ia(i,a,s){const o=i.getProps();return Qf(o,a,s!==void 0?s:o.custom,i)}const G0=new Set(["width","height","top","left","right","bottom",...ll]),zg=30,zT=i=>!isNaN(parseFloat(i));class RT{constructor(a,s={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=o=>{var f;const c=Ee.now();if(this.updatedAt!==c&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(o),this.current!==this.prev&&((f=this.events.change)==null||f.notify(this.current),this.dependents))for(const d of this.dependents)d.dirty()},this.hasAnimated=!1,this.setCurrent(a),this.owner=s.owner}setCurrent(a){this.current=a,this.updatedAt=Ee.now(),this.canTrackVelocity===null&&a!==void 0&&(this.canTrackVelocity=zT(this.current))}setPrevFrameValue(a=this.current){this.prevFrameValue=a,this.prevUpdatedAt=this.updatedAt}onChange(a){return this.on("change",a)}on(a,s){this.events[a]||(this.events[a]=new Bf);const o=this.events[a].add(s);return a==="change"?()=>{o(),Ht.read(()=>{this.events.change.getSize()||this.stop()})}:o}clearListeners(){for(const a in this.events)this.events[a].clear()}attach(a,s){this.passiveEffect=a,this.stopPassiveEffect=s}set(a){this.passiveEffect?this.passiveEffect(a,this.updateAndNotify):this.updateAndNotify(a)}setWithVelocity(a,s,o){this.set(s),this.prev=void 0,this.prevFrameValue=a,this.prevUpdatedAt=this.updatedAt-o}jump(a,s=!0){this.updateAndNotify(a),this.prev=a,this.prevUpdatedAt=this.prevFrameValue=void 0,s&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){var a;(a=this.events.change)==null||a.notify(this.current)}addDependent(a){this.dependents||(this.dependents=new Set),this.dependents.add(a)}removeDependent(a){this.dependents&&this.dependents.delete(a)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const a=Ee.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||a-this.updatedAt>zg)return 0;const s=Math.min(this.updatedAt-this.prevUpdatedAt,zg);return o0(parseFloat(this.current)-parseFloat(this.prevFrameValue),s)}start(a){return this.stop(),new Promise(s=>{this.hasAnimated=!0,this.animation=a(s),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){var a,s;(a=this.dependents)==null||a.clear(),(s=this.events.destroy)==null||s.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function il(i,a){return new RT(i,a)}const pf=i=>Array.isArray(i);function OT(i,a,s){i.hasValue(a)?i.getValue(a).set(s):i.addValue(a,il(s))}function VT(i){return pf(i)?i[i.length-1]||0:i}function NT(i,a){const s=ia(i,a);let{transitionEnd:o={},transition:c={},...f}=s||{};f={...f,...o};for(const d in f){const m=VT(f[d]);OT(i,d,m)}}const pe=i=>!!(i&&i.getVelocity);function _T(i){return!!(pe(i)&&i.add)}function gf(i,a){const s=i.getValue("willChange");if(_T(s))return s.add(a);if(!s&&Ci.WillChange){const o=new Ci.WillChange("auto");i.addValue("willChange",o),o.add(a)}}function Jf(i){return i.replace(/([A-Z])/g,a=>`-${a.toLowerCase()}`)}const BT="framerAppearId",q0="data-"+Jf(BT);function Z0(i){return i.props[q0]}function UT({protectedKeys:i,needsAnimating:a},s){const o=i.hasOwnProperty(s)&&a[s]!==!0;return a[s]=!1,o}function K0(i,a,{delay:s=0,transitionOverride:o,type:c}={}){let{transition:f,transitionEnd:d,...m}=a;const g=i.getDefaultTransition();f=f?X0(f,g):g;const p=f==null?void 0:f.reduceMotion;o&&(f=o);const v=[],b=c&&i.animationState&&i.animationState.getState()[c];for(const S in m){const A=i.getValue(S,i.latestValues[S]??null),C=m[S];if(C===void 0||b&&UT(b,S))continue;const N={delay:s,...Zf(f||{},S)},_=A.get();if(_!==void 0&&!A.isAnimating()&&!Array.isArray(C)&&C===_&&!N.velocity){Ht.update(()=>A.set(C));continue}let B=!1;if(window.MotionHandoffAnimation){const J=Z0(i);if(J){const Y=window.MotionHandoffAnimation(J,S,Ht);Y!==null&&(N.startTime=Y,B=!0)}}gf(i,S);const Z=p??i.shouldReduceMotion;A.start(Kf(S,A,C,Z&&G0.has(S)?{type:!1}:N,i,B));const X=A.animation;X&&v.push(X)}if(d){const S=()=>Ht.update(()=>{d&&NT(i,d)});v.length?Promise.all(v).then(S):S()}return v}function yf(i,a,s={}){var g;const o=ia(i,a,s.type==="exit"?(g=i.presenceContext)==null?void 0:g.custom:void 0);let{transition:c=i.getDefaultTransition()||{}}=o||{};s.transitionOverride&&(c=s.transitionOverride);const f=o?()=>Promise.all(K0(i,o,s)):()=>Promise.resolve(),d=i.variantChildren&&i.variantChildren.size?(p=0)=>{const{delayChildren:v=0,staggerChildren:b,staggerDirection:S}=c;return LT(i,a,p,v,b,S,s)}:()=>Promise.resolve(),{when:m}=c;if(m){const[p,v]=m==="beforeChildren"?[f,d]:[d,f];return p().then(()=>v())}else return Promise.all([f(),d(s.delay)])}function LT(i,a,s=0,o=0,c=0,f=1,d){const m=[];for(const g of i.variantChildren)g.notify("AnimationStart",a),m.push(yf(g,a,{...d,delay:s+(typeof o=="function"?0:o)+k0(i.variantChildren,g,o,c,f)}).then(()=>g.notify("AnimationComplete",a)));return Promise.all(m)}function jT(i,a,s={}){i.notify("AnimationStart",a);let o;if(Array.isArray(a)){const c=a.map(f=>yf(i,f,s));o=Promise.all(c)}else if(typeof a=="string")o=yf(i,a,s);else{const c=typeof a=="function"?ia(i,a,s.custom):a;o=Promise.all(K0(i,c,s))}return o.then(()=>{i.notify("AnimationComplete",a)})}const HT={test:i=>i==="auto",parse:i=>i},Q0=i=>a=>a.test(i),J0=[al,it,An,Ai,fx,cx,HT],Rg=i=>J0.find(Q0(i));function kT(i){return typeof i=="number"?i===0:i!==null?i==="none"||i==="0"||l0(i):!0}const YT=new Set(["brightness","contrast","saturate","opacity"]);function XT(i){const[a,s]=i.slice(0,-1).split("(");if(a==="drop-shadow")return i;const[o]=s.match(Hf)||[];if(!o)return i;const c=s.replace(o,"");let f=YT.has(a)?1:0;return o!==s&&(f*=100),a+"("+f+c+")"}const GT=/\b([a-z-]*)\(.*?\)/gu,vf={...hn,getAnimatableNone:i=>{const a=i.match(GT);return a?a.map(XT).join(" "):i}},bf={...hn,getAnimatableNone:i=>{const a=hn.parse(i);return hn.createTransformer(i)(a.map(o=>typeof o=="number"?0:typeof o=="object"?{...o,alpha:1}:o))}},Og={...al,transform:Math.round},qT={rotate:Ai,rotateX:Ai,rotateY:Ai,rotateZ:Ai,scale:_o,scaleX:_o,scaleY:_o,scaleZ:_o,skew:Ai,skewX:Ai,skewY:Ai,distance:it,translateX:it,translateY:it,translateZ:it,x:it,y:it,z:it,perspective:it,transformPerspective:it,opacity:rs,originX:yg,originY:yg,originZ:it},Pf={borderWidth:it,borderTopWidth:it,borderRightWidth:it,borderBottomWidth:it,borderLeftWidth:it,borderRadius:it,borderTopLeftRadius:it,borderTopRightRadius:it,borderBottomRightRadius:it,borderBottomLeftRadius:it,width:it,maxWidth:it,height:it,maxHeight:it,top:it,right:it,bottom:it,left:it,inset:it,insetBlock:it,insetBlockStart:it,insetBlockEnd:it,insetInline:it,insetInlineStart:it,insetInlineEnd:it,padding:it,paddingTop:it,paddingRight:it,paddingBottom:it,paddingLeft:it,paddingBlock:it,paddingBlockStart:it,paddingBlockEnd:it,paddingInline:it,paddingInlineStart:it,paddingInlineEnd:it,margin:it,marginTop:it,marginRight:it,marginBottom:it,marginLeft:it,marginBlock:it,marginBlockStart:it,marginBlockEnd:it,marginInline:it,marginInlineStart:it,marginInlineEnd:it,fontSize:it,backgroundPositionX:it,backgroundPositionY:it,...qT,zIndex:Og,fillOpacity:rs,strokeOpacity:rs,numOctaves:Og},ZT={...Pf,color:It,backgroundColor:It,outlineColor:It,fill:It,stroke:It,borderColor:It,borderTopColor:It,borderRightColor:It,borderBottomColor:It,borderLeftColor:It,filter:vf,WebkitFilter:vf,mask:bf,WebkitMask:bf},P0=i=>ZT[i],KT=new Set([vf,bf]);function F0(i,a){let s=P0(i);return KT.has(s)||(s=hn),s.getAnimatableNone?s.getAnimatableNone(a):void 0}const QT=new Set(["auto","none","0"]);function JT(i,a,s){let o=0,c;for(;o{a.getValue(g).set(p)}),this.resolveNoneKeyframes()}}function W0(i,a,s){if(i==null)return[];if(i instanceof EventTarget)return[i];if(typeof i=="string"){let o=document;const c=(s==null?void 0:s[i])??o.querySelectorAll(i);return c?Array.from(c):[]}return Array.from(i).filter(o=>o!=null)}const $0=(i,a)=>a&&typeof i=="number"?a.transform(i):i;function FT(i){return a0(i)&&"offsetHeight"in i&&!("ownerSVGElement"in i)}const{schedule:Ff}=v0(queueMicrotask,!1),dn={x:!1,y:!1};function I0(){return dn.x||dn.y}function WT(i){return i==="x"||i==="y"?dn[i]?null:(dn[i]=!0,()=>{dn[i]=!1}):dn.x||dn.y?null:(dn.x=dn.y=!0,()=>{dn.x=dn.y=!1})}function tv(i,a){const s=W0(i),o=new AbortController,c={passive:!0,...a,signal:o.signal};return[s,c,()=>o.abort()]}function $T(i){return!(i.pointerType==="touch"||I0())}function IT(i,a,s={}){const[o,c,f]=tv(i,s);return o.forEach(d=>{let m=!1,g=!1,p;const v=()=>{d.removeEventListener("pointerleave",C)},b=_=>{p&&(p(_),p=void 0),v()},S=_=>{m=!1,window.removeEventListener("pointerup",S),window.removeEventListener("pointercancel",S),g&&(g=!1,b(_))},A=()=>{m=!0,window.addEventListener("pointerup",S,c),window.addEventListener("pointercancel",S,c)},C=_=>{if(_.pointerType!=="touch"){if(m){g=!0;return}b(_)}},N=_=>{if(!$T(_))return;g=!1;const B=a(d,_);typeof B=="function"&&(p=B,d.addEventListener("pointerleave",C,c))};d.addEventListener("pointerenter",N,c),d.addEventListener("pointerdown",A,c)}),f}const ev=(i,a)=>a?i===a?!0:ev(i,a.parentElement):!1,Wf=i=>i.pointerType==="mouse"?typeof i.button!="number"||i.button<=0:i.isPrimary!==!1,t2=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function e2(i){return t2.has(i.tagName)||i.isContentEditable===!0}const n2=new Set(["INPUT","SELECT","TEXTAREA"]);function i2(i){return n2.has(i.tagName)||i.isContentEditable===!0}const Xo=new WeakSet;function Vg(i){return a=>{a.key==="Enter"&&i(a)}}function Xc(i,a){i.dispatchEvent(new PointerEvent("pointer"+a,{isPrimary:!0,bubbles:!0}))}const a2=(i,a)=>{const s=i.currentTarget;if(!s)return;const o=Vg(()=>{if(Xo.has(s))return;Xc(s,"down");const c=Vg(()=>{Xc(s,"up")}),f=()=>Xc(s,"cancel");s.addEventListener("keyup",c,a),s.addEventListener("blur",f,a)});s.addEventListener("keydown",o,a),s.addEventListener("blur",()=>s.removeEventListener("keydown",o),a)};function Ng(i){return Wf(i)&&!I0()}const _g=new WeakSet;function l2(i,a,s={}){const[o,c,f]=tv(i,s),d=m=>{const g=m.currentTarget;if(!Ng(m)||_g.has(m))return;Xo.add(g),s.stopPropagation&&_g.add(m);const p=a(g,m),v=(A,C)=>{window.removeEventListener("pointerup",b),window.removeEventListener("pointercancel",S),Xo.has(g)&&Xo.delete(g),Ng(A)&&typeof p=="function"&&p(A,{success:C})},b=A=>{v(A,g===window||g===document||s.useGlobalTarget||ev(g,A.target))},S=A=>{v(A,!1)};window.addEventListener("pointerup",b,c),window.addEventListener("pointercancel",S,c)};return o.forEach(m=>{(s.useGlobalTarget?window:m).addEventListener("pointerdown",d,c),FT(m)&&(m.addEventListener("focus",p=>a2(p,c)),!e2(m)&&!m.hasAttribute("tabindex")&&(m.tabIndex=0))}),f}function $f(i){return a0(i)&&"ownerSVGElement"in i}const Go=new WeakMap;let Ei;const nv=(i,a,s)=>(o,c)=>c&&c[0]?c[0][i+"Size"]:$f(o)&&"getBBox"in o?o.getBBox()[a]:o[s],s2=nv("inline","width","offsetWidth"),o2=nv("block","height","offsetHeight");function r2({target:i,borderBoxSize:a}){var s;(s=Go.get(i))==null||s.forEach(o=>{o(i,{get width(){return s2(i,a)},get height(){return o2(i,a)}})})}function u2(i){i.forEach(r2)}function c2(){typeof ResizeObserver>"u"||(Ei=new ResizeObserver(u2))}function f2(i,a){Ei||c2();const s=W0(i);return s.forEach(o=>{let c=Go.get(o);c||(c=new Set,Go.set(o,c)),c.add(a),Ei==null||Ei.observe(o)}),()=>{s.forEach(o=>{const c=Go.get(o);c==null||c.delete(a),c!=null&&c.size||Ei==null||Ei.unobserve(o)})}}const qo=new Set;let Ia;function d2(){Ia=()=>{const i={get width(){return window.innerWidth},get height(){return window.innerHeight}};qo.forEach(a=>a(i))},window.addEventListener("resize",Ia)}function h2(i){return qo.add(i),Ia||d2(),()=>{qo.delete(i),!qo.size&&typeof Ia=="function"&&(window.removeEventListener("resize",Ia),Ia=void 0)}}function Bg(i,a){return typeof i=="function"?h2(i):f2(i,a)}function m2(i){return $f(i)&&i.tagName==="svg"}const p2=[...J0,It,hn],g2=i=>p2.find(Q0(i)),Ug=()=>({translate:0,scale:1,origin:0,originPoint:0}),tl=()=>({x:Ug(),y:Ug()}),Lg=()=>({min:0,max:0}),ie=()=>({x:Lg(),y:Lg()}),y2=new WeakMap;function cr(i){return i!==null&&typeof i=="object"&&typeof i.start=="function"}function us(i){return typeof i=="string"||Array.isArray(i)}const If=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],td=["initial",...If];function fr(i){return cr(i.animate)||td.some(a=>us(i[a]))}function iv(i){return!!(fr(i)||i.variants)}function v2(i,a,s){for(const o in a){const c=a[o],f=s[o];if(pe(c))i.addValue(o,c);else if(pe(f))i.addValue(o,il(c,{owner:i}));else if(f!==c)if(i.hasValue(o)){const d=i.getValue(o);d.liveStyle===!0?d.jump(c):d.hasAnimated||d.set(c)}else{const d=i.getStaticValue(o);i.addValue(o,il(d!==void 0?d:c,{owner:i}))}}for(const o in s)a[o]===void 0&&i.removeValue(o);return a}const Sf={current:null},av={current:!1},b2=typeof window<"u";function S2(){if(av.current=!0,!!b2)if(window.matchMedia){const i=window.matchMedia("(prefers-reduced-motion)"),a=()=>Sf.current=i.matches;i.addEventListener("change",a),a()}else Sf.current=!1}const jg=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];let er={};function lv(i){er=i}function x2(){return er}class T2{scrapeMotionValuesFromProps(a,s,o){return{}}constructor({parent:a,props:s,presenceContext:o,reducedMotionConfig:c,skipAnimations:f,blockInitialAnimation:d,visualState:m},g={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=qf,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const A=Ee.now();this.renderScheduledAtthis.bindToMotionValue(f,c)),this.reducedMotionConfig==="never"?this.shouldReduceMotion=!1:this.reducedMotionConfig==="always"?this.shouldReduceMotion=!0:(av.current||S2(),this.shouldReduceMotion=Sf.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,(o=this.parent)==null||o.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){var a;this.projection&&this.projection.unmount(),Di(this.notifyUpdate),Di(this.render),this.valueSubscriptions.forEach(s=>s()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),(a=this.parent)==null||a.removeChild(this);for(const s in this.events)this.events[s].clear();for(const s in this.features){const o=this.features[s];o&&(o.unmount(),o.isMounted=!1)}this.current=null}addChild(a){this.children.add(a),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(a)}removeChild(a){this.children.delete(a),this.enteringChildren&&this.enteringChildren.delete(a)}bindToMotionValue(a,s){if(this.valueSubscriptions.has(a)&&this.valueSubscriptions.get(a)(),s.accelerate&&H0.has(a)&&this.current instanceof HTMLElement){const{factory:d,keyframes:m,times:g,ease:p,duration:v}=s.accelerate,b=new L0({element:this.current,name:a,keyframes:m,times:g,ease:p,duration:Ye(v)}),S=d(b);this.valueSubscriptions.set(a,()=>{S(),b.cancel()});return}const o=sl.has(a);o&&this.onBindTransform&&this.onBindTransform();const c=s.on("change",d=>{this.latestValues[a]=d,this.props.onUpdate&&Ht.preRender(this.notifyUpdate),o&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let f;typeof window<"u"&&window.MotionCheckAppearSync&&(f=window.MotionCheckAppearSync(this,a,s)),this.valueSubscriptions.set(a,()=>{c(),f&&f(),s.owner&&s.stop()})}sortNodePosition(a){return!this.current||!this.sortInstanceNodePosition||this.type!==a.type?0:this.sortInstanceNodePosition(this.current,a.current)}updateFeatures(){let a="animation";for(a in er){const s=er[a];if(!s)continue;const{isEnabled:o,Feature:c}=s;if(!this.features[a]&&c&&o(this.props)&&(this.features[a]=new c(this)),this.features[a]){const f=this.features[a];f.isMounted?f.update():(f.mount(),f.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):ie()}getStaticValue(a){return this.latestValues[a]}setStaticValue(a,s){this.latestValues[a]=s}update(a,s){(a.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=a,this.prevPresenceContext=this.presenceContext,this.presenceContext=s;for(let o=0;os.variantChildren.delete(a)}addValue(a,s){const o=this.values.get(a);s!==o&&(o&&this.removeValue(a),this.bindToMotionValue(a,s),this.values.set(a,s),this.latestValues[a]=s.get())}removeValue(a){this.values.delete(a);const s=this.valueSubscriptions.get(a);s&&(s(),this.valueSubscriptions.delete(a)),delete this.latestValues[a],this.removeValueFromRenderState(a,this.renderState)}hasValue(a){return this.values.has(a)}getValue(a,s){if(this.props.values&&this.props.values[a])return this.props.values[a];let o=this.values.get(a);return o===void 0&&s!==void 0&&(o=il(s===null?void 0:s,{owner:this}),this.addValue(a,o)),o}readValue(a,s){let o=this.latestValues[a]!==void 0||!this.current?this.latestValues[a]:this.getBaseTargetFromProps(this.props,a)??this.readValueFromInstance(this.current,a,this.options);return o!=null&&(typeof o=="string"&&(i0(o)||l0(o))?o=parseFloat(o):!g2(o)&&hn.test(s)&&(o=F0(a,s)),this.setBaseTarget(a,pe(o)?o.get():o)),pe(o)?o.get():o}setBaseTarget(a,s){this.baseTarget[a]=s}getBaseTarget(a){var f;const{initial:s}=this.props;let o;if(typeof s=="string"||typeof s=="object"){const d=Qf(this.props,s,(f=this.presenceContext)==null?void 0:f.custom);d&&(o=d[a])}if(s&&o!==void 0)return o;const c=this.getBaseTargetFromProps(this.props,a);return c!==void 0&&!pe(c)?c:this.initialValues[a]!==void 0&&o===void 0?void 0:this.baseTarget[a]}on(a,s){return this.events[a]||(this.events[a]=new Bf),this.events[a].add(s)}notify(a,...s){this.events[a]&&this.events[a].notify(...s)}scheduleRenderMicrotask(){Ff.render(this.render)}}class sv extends T2{constructor(){super(...arguments),this.KeyframeResolver=PT}sortInstanceNodePosition(a,s){return a.compareDocumentPosition(s)&2?1:-1}getBaseTargetFromProps(a,s){const o=a.style;return o?o[s]:void 0}removeValueFromRenderState(a,{vars:s,style:o}){delete s[a],delete o[a]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:a}=this.props;pe(a)&&(this.childSubscription=a.on("change",s=>{this.current&&(this.current.textContent=`${s}`)}))}}class zi{constructor(a){this.isMounted=!1,this.node=a}update(){}}function ov({top:i,left:a,right:s,bottom:o}){return{x:{min:a,max:s},y:{min:i,max:o}}}function A2({x:i,y:a}){return{top:a.min,right:i.max,bottom:a.max,left:i.min}}function E2(i,a){if(!a)return i;const s=a({x:i.left,y:i.top}),o=a({x:i.right,y:i.bottom});return{top:s.y,left:s.x,bottom:o.y,right:o.x}}function Gc(i){return i===void 0||i===1}function xf({scale:i,scaleX:a,scaleY:s}){return!Gc(i)||!Gc(a)||!Gc(s)}function Ii(i){return xf(i)||rv(i)||i.z||i.rotate||i.rotateX||i.rotateY||i.skewX||i.skewY}function rv(i){return Hg(i.x)||Hg(i.y)}function Hg(i){return i&&i!=="0%"}function nr(i,a,s){const o=i-s,c=a*o;return s+c}function kg(i,a,s,o,c){return c!==void 0&&(i=nr(i,c,o)),nr(i,s,o)+a}function Tf(i,a=0,s=1,o,c){i.min=kg(i.min,a,s,o,c),i.max=kg(i.max,a,s,o,c)}function uv(i,{x:a,y:s}){Tf(i.x,a.translate,a.scale,a.originPoint),Tf(i.y,s.translate,s.scale,s.originPoint)}const Yg=.999999999999,Xg=1.0000000000001;function M2(i,a,s,o=!1){var m;const c=s.length;if(!c)return;a.x=a.y=1;let f,d;for(let g=0;gYg&&(a.x=1),a.yYg&&(a.y=1)}function Tn(i,a){i.min+=a,i.max+=a}function Gg(i,a,s,o,c=.5){const f=Xt(i.min,i.max,c);Tf(i,a,s,f,o)}function qg(i,a){return typeof i=="string"?parseFloat(i)/100*(a.max-a.min):i}function Zo(i,a,s){const o=s??i;Gg(i.x,qg(a.x,o.x),a.scaleX,a.scale,a.originX),Gg(i.y,qg(a.y,o.y),a.scaleY,a.scale,a.originY)}function cv(i,a){return ov(E2(i.getBoundingClientRect(),a))}function w2(i,a,s){const o=cv(i,s),{scroll:c}=a;return c&&(Tn(o.x,c.offset.x),Tn(o.y,c.offset.y)),o}const C2={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},D2=ll.length;function z2(i,a,s){let o="",c=!0;for(let f=0;f{if(!a.target)return i;if(typeof i=="string")if(it.test(i))i=parseFloat(i);else return i;const s=Zg(i,a.target.x),o=Zg(i,a.target.y);return`${s}% ${o}%`}},R2={correct:(i,{treeScale:a,projectionDelta:s})=>{const o=i,c=hn.parse(i);if(c.length>5)return o;const f=hn.createTransformer(i),d=typeof c[0]!="number"?1:0,m=s.x.scale*a.x,g=s.y.scale*a.y;c[0+d]/=m,c[1+d]/=g;const p=Xt(m,g,.5);return typeof c[2+d]=="number"&&(c[2+d]/=p),typeof c[3+d]=="number"&&(c[3+d]/=p),f(c)}},Af={borderRadius:{...$l,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:$l,borderTopRightRadius:$l,borderBottomLeftRadius:$l,borderBottomRightRadius:$l,boxShadow:R2};function dv(i,{layout:a,layoutId:s}){return sl.has(i)||i.startsWith("origin")||(a||s!==void 0)&&(!!Af[i]||i==="opacity")}function nd(i,a,s){var d;const o=i.style,c=a==null?void 0:a.style,f={};if(!o)return f;for(const m in o)(pe(o[m])||c&&pe(c[m])||dv(m,i)||((d=s==null?void 0:s.getValue(m))==null?void 0:d.liveStyle)!==void 0)&&(f[m]=o[m]);return f}function O2(i){return window.getComputedStyle(i)}class V2 extends sv{constructor(){super(...arguments),this.type="html",this.renderInstance=fv}readValueFromInstance(a,s){var o;if(sl.has(s))return(o=this.projection)!=null&&o.isProjecting?uf(s):Wx(a,s);{const c=O2(a),f=(S0(s)?c.getPropertyValue(s):c[s])||0;return typeof f=="string"?f.trim():f}}measureInstanceViewportBox(a,{transformPagePoint:s}){return cv(a,s)}build(a,s,o){ed(a,s,o.transformTemplate)}scrapeMotionValuesFromProps(a,s,o){return nd(a,s,o)}}const N2={offset:"stroke-dashoffset",array:"stroke-dasharray"},_2={offset:"strokeDashoffset",array:"strokeDasharray"};function B2(i,a,s=1,o=0,c=!0){i.pathLength=1;const f=c?N2:_2;i[f.offset]=`${-o}`,i[f.array]=`${a} ${s}`}const U2=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function hv(i,{attrX:a,attrY:s,attrScale:o,pathLength:c,pathSpacing:f=1,pathOffset:d=0,...m},g,p,v){if(ed(i,m,p),g){i.style.viewBox&&(i.attrs.viewBox=i.style.viewBox);return}i.attrs=i.style,i.style={};const{attrs:b,style:S}=i;b.transform&&(S.transform=b.transform,delete b.transform),(S.transform||b.transformOrigin)&&(S.transformOrigin=b.transformOrigin??"50% 50%",delete b.transformOrigin),S.transform&&(S.transformBox=(v==null?void 0:v.transformBox)??"fill-box",delete b.transformBox);for(const A of U2)b[A]!==void 0&&(S[A]=b[A],delete b[A]);a!==void 0&&(b.x=a),s!==void 0&&(b.y=s),o!==void 0&&(b.scale=o),c!==void 0&&B2(b,c,f,d,!1)}const mv=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]),pv=i=>typeof i=="string"&&i.toLowerCase()==="svg";function L2(i,a,s,o){fv(i,a,void 0,o);for(const c in a.attrs)i.setAttribute(mv.has(c)?c:Jf(c),a.attrs[c])}function gv(i,a,s){const o=nd(i,a,s);for(const c in i)if(pe(i[c])||pe(a[c])){const f=ll.indexOf(c)!==-1?"attr"+c.charAt(0).toUpperCase()+c.substring(1):c;o[f]=i[c]}return o}class j2 extends sv{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=ie}getBaseTargetFromProps(a,s){return a[s]}readValueFromInstance(a,s){if(sl.has(s)){const o=P0(s);return o&&o.default||0}return s=mv.has(s)?s:Jf(s),a.getAttribute(s)}scrapeMotionValuesFromProps(a,s,o){return gv(a,s,o)}build(a,s,o){hv(a,s,this.isSVGTag,o.transformTemplate,o.style)}renderInstance(a,s,o,c){L2(a,s,o,c)}mount(a){this.isSVGTag=pv(a.tagName),super.mount(a)}}const H2=td.length;function yv(i){if(!i)return;if(!i.isControllingVariants){const s=i.parent?yv(i.parent)||{}:{};return i.props.initial!==void 0&&(s.initial=i.props.initial),s}const a={};for(let s=0;sPromise.all(a.map(({animation:s,options:o})=>jT(i,s,o)))}function G2(i){let a=X2(i),s=Kg(),o=!0,c=!1;const f=p=>(v,b)=>{var A;const S=ia(i,b,p==="exit"?(A=i.presenceContext)==null?void 0:A.custom:void 0);if(S){const{transition:C,transitionEnd:N,..._}=S;v={...v,..._,...N}}return v};function d(p){a=p(i)}function m(p){const{props:v}=i,b=yv(i.parent)||{},S=[],A=new Set;let C={},N=1/0;for(let B=0;BN&&Y,tt=!1;const W=Array.isArray(J)?J:[J];let dt=W.reduce(f(Z),{});ut===!1&&(dt={});const{prevResolvedValues:St={}}=X,wt={...St,...dt},lt=Q=>{ct=!0,A.has(Q)&&(tt=!0,A.delete(Q)),X.needsAnimating[Q]=!0;const ot=i.getValue(Q);ot&&(ot.liveStyle=!1)};for(const Q in wt){const ot=dt[Q],G=St[Q];if(C.hasOwnProperty(Q))continue;let x=!1;pf(ot)&&pf(G)?x=!vv(ot,G):x=ot!==G,x?ot!=null?lt(Q):A.add(Q):ot!==void 0&&A.has(Q)?lt(Q):X.protectedKeys[Q]=!0}X.prevProp=J,X.prevResolvedValues=dt,X.isActive&&(C={...C,...dt}),(o||c)&&i.blockInitialAnimation&&(ct=!1);const w=F&&k;ct&&(!w||tt)&&S.push(...W.map(Q=>{const ot={type:Z};if(typeof Q=="string"&&(o||c)&&!w&&i.manuallyAnimateOnMount&&i.parent){const{parent:G}=i,x=ia(G,Q);if(G.enteringChildren&&x){const{delayChildren:V}=x.transition||{};ot.delay=k0(G.enteringChildren,i,V)}}return{animation:Q,options:ot}}))}if(A.size){const B={};if(typeof v.initial!="boolean"){const Z=ia(i,Array.isArray(v.initial)?v.initial[0]:v.initial);Z&&Z.transition&&(B.transition=Z.transition)}A.forEach(Z=>{const X=i.getBaseTarget(Z),J=i.getValue(Z);J&&(J.liveStyle=!0),B[Z]=X??null}),S.push({animation:B})}let _=!!S.length;return o&&(v.initial===!1||v.initial===v.animate)&&!i.manuallyAnimateOnMount&&(_=!1),o=!1,c=!1,_?a(S):Promise.resolve()}function g(p,v){var S;if(s[p].isActive===v)return Promise.resolve();(S=i.variantChildren)==null||S.forEach(A=>{var C;return(C=A.animationState)==null?void 0:C.setActive(p,v)}),s[p].isActive=v;const b=m(p);for(const A in s)s[A].protectedKeys={};return b}return{animateChanges:m,setActive:g,setAnimateFunction:d,getState:()=>s,reset:()=>{s=Kg(),c=!0}}}function q2(i,a){return typeof a=="string"?a!==i:Array.isArray(a)?!vv(a,i):!1}function Wi(i=!1){return{isActive:i,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function Kg(){return{animate:Wi(!0),whileInView:Wi(),whileHover:Wi(),whileTap:Wi(),whileDrag:Wi(),whileFocus:Wi(),exit:Wi()}}function Ef(i,a){i.min=a.min,i.max=a.max}function fn(i,a){Ef(i.x,a.x),Ef(i.y,a.y)}function Qg(i,a){i.translate=a.translate,i.scale=a.scale,i.originPoint=a.originPoint,i.origin=a.origin}const bv=1e-4,Z2=1-bv,K2=1+bv,Sv=.01,Q2=0-Sv,J2=0+Sv;function Me(i){return i.max-i.min}function P2(i,a,s){return Math.abs(i-a)<=s}function Jg(i,a,s,o=.5){i.origin=o,i.originPoint=Xt(a.min,a.max,i.origin),i.scale=Me(s)/Me(a),i.translate=Xt(s.min,s.max,i.origin)-i.originPoint,(i.scale>=Z2&&i.scale<=K2||isNaN(i.scale))&&(i.scale=1),(i.translate>=Q2&&i.translate<=J2||isNaN(i.translate))&&(i.translate=0)}function as(i,a,s,o){Jg(i.x,a.x,s.x,o?o.originX:void 0),Jg(i.y,a.y,s.y,o?o.originY:void 0)}function Pg(i,a,s,o=0){const c=o?Xt(s.min,s.max,o):s.min;i.min=c+a.min,i.max=i.min+Me(a)}function F2(i,a,s,o){Pg(i.x,a.x,s.x,o==null?void 0:o.x),Pg(i.y,a.y,s.y,o==null?void 0:o.y)}function Fg(i,a,s,o=0){const c=o?Xt(s.min,s.max,o):s.min;i.min=a.min-c,i.max=i.min+Me(a)}function ir(i,a,s,o){Fg(i.x,a.x,s.x,o==null?void 0:o.x),Fg(i.y,a.y,s.y,o==null?void 0:o.y)}function Wg(i,a,s,o,c){return i-=a,i=nr(i,1/s,o),c!==void 0&&(i=nr(i,1/c,o)),i}function W2(i,a=0,s=1,o=.5,c,f=i,d=i){if(An.test(a)&&(a=parseFloat(a),a=Xt(d.min,d.max,a/100)-d.min),typeof a!="number")return;let m=Xt(f.min,f.max,o);i===f&&(m-=a),i.min=Wg(i.min,a,s,m,c),i.max=Wg(i.max,a,s,m,c)}function $g(i,a,[s,o,c],f,d){W2(i,a[s],a[o],a[c],a.scale,f,d)}const $2=["x","scaleX","originX"],I2=["y","scaleY","originY"];function Ig(i,a,s,o){$g(i.x,a,$2,s?s.x:void 0,o?o.x:void 0),$g(i.y,a,I2,s?s.y:void 0,o?o.y:void 0)}function ty(i){return i.translate===0&&i.scale===1}function xv(i){return ty(i.x)&&ty(i.y)}function ey(i,a){return i.min===a.min&&i.max===a.max}function tA(i,a){return ey(i.x,a.x)&&ey(i.y,a.y)}function ny(i,a){return Math.round(i.min)===Math.round(a.min)&&Math.round(i.max)===Math.round(a.max)}function Tv(i,a){return ny(i.x,a.x)&&ny(i.y,a.y)}function iy(i){return Me(i.x)/Me(i.y)}function ay(i,a){return i.translate===a.translate&&i.scale===a.scale&&i.originPoint===a.originPoint}function xn(i){return[i("x"),i("y")]}function eA(i,a,s){let o="";const c=i.x.translate/a.x,f=i.y.translate/a.y,d=(s==null?void 0:s.z)||0;if((c||f||d)&&(o=`translate3d(${c}px, ${f}px, ${d}px) `),(a.x!==1||a.y!==1)&&(o+=`scale(${1/a.x}, ${1/a.y}) `),s){const{transformPerspective:p,rotate:v,rotateX:b,rotateY:S,skewX:A,skewY:C}=s;p&&(o=`perspective(${p}px) ${o}`),v&&(o+=`rotate(${v}deg) `),b&&(o+=`rotateX(${b}deg) `),S&&(o+=`rotateY(${S}deg) `),A&&(o+=`skewX(${A}deg) `),C&&(o+=`skewY(${C}deg) `)}const m=i.x.scale*a.x,g=i.y.scale*a.y;return(m!==1||g!==1)&&(o+=`scale(${m}, ${g})`),o||"none"}const Av=["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"],nA=Av.length,ly=i=>typeof i=="string"?parseFloat(i):i,sy=i=>typeof i=="number"||it.test(i);function iA(i,a,s,o,c,f){c?(i.opacity=Xt(0,s.opacity??1,aA(o)),i.opacityExit=Xt(a.opacity??1,0,lA(o))):f&&(i.opacity=Xt(a.opacity??1,s.opacity??1,o));for(let d=0;doa?1:s(os(i,a,o))}function sA(i,a,s){const o=pe(i)?i:il(i);return o.start(Kf("",o,a,s)),o.animation}function cs(i,a,s,o={passive:!0}){return i.addEventListener(a,s,o),()=>i.removeEventListener(a,s)}const oA=(i,a)=>i.depth-a.depth;class rA{constructor(){this.children=[],this.isDirty=!1}add(a){Nf(this.children,a),this.isDirty=!0}remove(a){Fo(this.children,a),this.isDirty=!0}forEach(a){this.isDirty&&this.children.sort(oA),this.isDirty=!1,this.children.forEach(a)}}function uA(i,a){const s=Ee.now(),o=({timestamp:c})=>{const f=c-s;f>=a&&(Di(o),i(f-a))};return Ht.setup(o,!0),()=>Di(o)}function Ko(i){return pe(i)?i.get():i}class cA{constructor(){this.members=[]}add(a){Nf(this.members,a);for(let s=this.members.length-1;s>=0;s--){const o=this.members[s];if(o===a||o===this.lead||o===this.prevLead)continue;const c=o.instance;(!c||c.isConnected===!1)&&!o.snapshot&&(Fo(this.members,o),o.unmount())}a.scheduleRender()}remove(a){if(Fo(this.members,a),a===this.prevLead&&(this.prevLead=void 0),a===this.lead){const s=this.members[this.members.length-1];s&&this.promote(s)}}relegate(a){var s;for(let o=this.members.indexOf(a)-1;o>=0;o--){const c=this.members[o];if(c.isPresent!==!1&&((s=c.instance)==null?void 0:s.isConnected)!==!1)return this.promote(c),!0}return!1}promote(a,s){var c;const o=this.lead;if(a!==o&&(this.prevLead=o,this.lead=a,a.show(),o)){o.updateSnapshot(),a.scheduleRender();const{layoutDependency:f}=o.options,{layoutDependency:d}=a.options;(f===void 0||f!==d)&&(a.resumeFrom=o,s&&(o.preserveOpacity=!0),o.snapshot&&(a.snapshot=o.snapshot,a.snapshot.latestValues=o.animationValues||o.latestValues),(c=a.root)!=null&&c.isUpdating&&(a.isLayoutDirty=!0)),a.options.crossfade===!1&&o.hide()}}exitAnimationComplete(){this.members.forEach(a=>{var s,o,c,f,d;(o=(s=a.options).onExitComplete)==null||o.call(s),(d=(c=a.resumingFrom)==null?void 0:(f=c.options).onExitComplete)==null||d.call(f)})}scheduleRender(){this.members.forEach(a=>a.instance&&a.scheduleRender(!1))}removeLeadSnapshot(){var a;(a=this.lead)!=null&&a.snapshot&&(this.lead.snapshot=void 0)}}const Qo={hasAnimatedSinceResize:!0,hasEverUpdated:!1},qc=["","X","Y","Z"],fA=1e3;let dA=0;function Zc(i,a,s,o){const{latestValues:c}=a;c[i]&&(s[i]=c[i],a.setStaticValue(i,0),o&&(o[i]=0))}function Mv(i){if(i.hasCheckedOptimisedAppear=!0,i.root===i)return;const{visualElement:a}=i.options;if(!a)return;const s=Z0(a);if(window.MotionHasOptimisedAnimation(s,"transform")){const{layout:c,layoutId:f}=i.options;window.MotionCancelOptimisedAnimation(s,"transform",Ht,!(c||f))}const{parent:o}=i;o&&!o.hasCheckedOptimisedAppear&&Mv(o)}function wv({attachResizeListener:i,defaultParent:a,measureScroll:s,checkIsScrollRoot:o,resetTransform:c}){return class{constructor(d={},m=a==null?void 0:a()){this.id=dA++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,this.nodes.forEach(pA),this.nodes.forEach(xA),this.nodes.forEach(TA),this.nodes.forEach(gA)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=d,this.root=m?m.root||m:this,this.path=m?[...m.path,m]:[],this.parent=m,this.depth=m?m.depth+1:0;for(let g=0;gthis.root.updateBlockedByResize=!1;Ht.read(()=>{b=window.innerWidth}),i(d,()=>{const A=window.innerWidth;A!==b&&(b=A,this.root.updateBlockedByResize=!0,v&&v(),v=uA(S,250),Qo.hasAnimatedSinceResize&&(Qo.hasAnimatedSinceResize=!1,this.nodes.forEach(cy)))})}m&&this.root.registerSharedNode(m,this),this.options.animate!==!1&&p&&(m||g)&&this.addEventListener("didUpdate",({delta:v,hasLayoutChanged:b,hasRelativeLayoutChanged:S,layout:A})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const C=this.options.transition||p.getDefaultTransition()||CA,{onLayoutAnimationStart:N,onLayoutAnimationComplete:_}=p.getProps(),B=!this.targetLayout||!Tv(this.targetLayout,A),Z=!b&&S;if(this.options.layoutRoot||this.resumeFrom||Z||b&&(B||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const X={...Zf(C,"layout"),onPlay:N,onComplete:_};(p.shouldReduceMotion||this.options.layoutRoot)&&(X.delay=0,X.type=!1),this.startAnimation(X),this.setAnimationOrigin(v,Z)}else b||cy(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=A})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const d=this.getStack();d&&d.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),Di(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(AA),this.animationId++)}getTransformTemplate(){const{visualElement:d}=this.options;return d&&d.getProps().transformTemplate}willUpdate(d=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&Mv(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let v=0;v{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!Me(this.snapshot.measuredBox.x)&&!Me(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let g=0;g{const Y=J/1e3;fy(b.x,d.x,Y),fy(b.y,d.y,Y),this.setTargetDelta(b),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(ir(S,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),MA(this.relativeTarget,this.relativeTargetOrigin,S,Y),X&&tA(this.relativeTarget,X)&&(this.isProjectionDirty=!1),X||(X=ie()),fn(X,this.relativeTarget)),N&&(this.animationValues=v,iA(v,p,this.latestValues,Y,Z,B)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=Y},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(d){var m,g,p;this.notifyListeners("animationStart"),(m=this.currentAnimation)==null||m.stop(),(p=(g=this.resumingFrom)==null?void 0:g.currentAnimation)==null||p.stop(),this.pendingAnimation&&(Di(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=Ht.update(()=>{Qo.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=il(0)),this.motionValue.jump(0,!1),this.currentAnimation=sA(this.motionValue,[0,1e3],{...d,velocity:0,isSync:!0,onUpdate:v=>{this.mixTargetDelta(v),d.onUpdate&&d.onUpdate(v)},onStop:()=>{},onComplete:()=>{d.onComplete&&d.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const d=this.getStack();d&&d.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(fA),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const d=this.getLead();let{targetWithTransforms:m,target:g,layout:p,latestValues:v}=d;if(!(!m||!g||!p)){if(this!==d&&this.layout&&p&&Cv(this.options.animationType,this.layout.layoutBox,p.layoutBox)){g=this.target||ie();const b=Me(this.layout.layoutBox.x);g.x.min=d.target.x.min,g.x.max=g.x.min+b;const S=Me(this.layout.layoutBox.y);g.y.min=d.target.y.min,g.y.max=g.y.min+S}fn(m,g),Zo(m,v),as(this.projectionDeltaWithTransform,this.layoutCorrected,m,v)}}registerSharedNode(d,m){this.sharedNodes.has(d)||this.sharedNodes.set(d,new cA),this.sharedNodes.get(d).add(m);const p=m.options.initialPromotionConfig;m.promote({transition:p?p.transition:void 0,preserveFollowOpacity:p&&p.shouldPreserveFollowOpacity?p.shouldPreserveFollowOpacity(m):void 0})}isLead(){const d=this.getStack();return d?d.lead===this:!0}getLead(){var m;const{layoutId:d}=this.options;return d?((m=this.getStack())==null?void 0:m.lead)||this:this}getPrevLead(){var m;const{layoutId:d}=this.options;return d?(m=this.getStack())==null?void 0:m.prevLead:void 0}getStack(){const{layoutId:d}=this.options;if(d)return this.root.sharedNodes.get(d)}promote({needsReset:d,transition:m,preserveFollowOpacity:g}={}){const p=this.getStack();p&&p.promote(this,g),d&&(this.projectionDelta=void 0,this.needsReset=!0),m&&this.setOptions({transition:m})}relegate(){const d=this.getStack();return d?d.relegate(this):!1}resetSkewAndRotation(){const{visualElement:d}=this.options;if(!d)return;let m=!1;const{latestValues:g}=d;if((g.z||g.rotate||g.rotateX||g.rotateY||g.rotateZ||g.skewX||g.skewY)&&(m=!0),!m)return;const p={};g.z&&Zc("z",d,p,this.animationValues);for(let v=0;v{var m;return(m=d.currentAnimation)==null?void 0:m.stop()}),this.root.nodes.forEach(ry),this.root.sharedNodes.clear()}}}function hA(i){i.updateLayout()}function mA(i){var s;const a=((s=i.resumeFrom)==null?void 0:s.snapshot)||i.snapshot;if(i.isLead()&&i.layout&&a&&i.hasListeners("didUpdate")){const{layoutBox:o,measuredBox:c}=i.layout,{animationType:f}=i.options,d=a.source!==i.layout.source;if(f==="size")xn(b=>{const S=d?a.measuredBox[b]:a.layoutBox[b],A=Me(S);S.min=o[b].min,S.max=S.min+A});else if(f==="x"||f==="y"){const b=f==="x"?"y":"x";Ef(d?a.measuredBox[b]:a.layoutBox[b],o[b])}else Cv(f,a.layoutBox,o)&&xn(b=>{const S=d?a.measuredBox[b]:a.layoutBox[b],A=Me(o[b]);S.max=S.min+A,i.relativeTarget&&!i.currentAnimation&&(i.isProjectionDirty=!0,i.relativeTarget[b].max=i.relativeTarget[b].min+A)});const m=tl();as(m,o,a.layoutBox);const g=tl();d?as(g,i.applyTransform(c,!0),a.measuredBox):as(g,o,a.layoutBox);const p=!xv(m);let v=!1;if(!i.resumeFrom){const b=i.getClosestProjectingParent();if(b&&!b.resumeFrom){const{snapshot:S,layout:A}=b;if(S&&A){const C=i.options.layoutAnchor||void 0,N=ie();ir(N,a.layoutBox,S.layoutBox,C);const _=ie();ir(_,o,A.layoutBox,C),Tv(N,_)||(v=!0),b.options.layoutRoot&&(i.relativeTarget=_,i.relativeTargetOrigin=N,i.relativeParent=b)}}}i.notifyListeners("didUpdate",{layout:o,snapshot:a,delta:g,layoutDelta:m,hasLayoutChanged:p,hasRelativeLayoutChanged:v})}else if(i.isLead()){const{onExitComplete:o}=i.options;o&&o()}i.options.transition=void 0}function pA(i){i.parent&&(i.isProjecting()||(i.isProjectionDirty=i.parent.isProjectionDirty),i.isSharedProjectionDirty||(i.isSharedProjectionDirty=!!(i.isProjectionDirty||i.parent.isProjectionDirty||i.parent.isSharedProjectionDirty)),i.isTransformDirty||(i.isTransformDirty=i.parent.isTransformDirty))}function gA(i){i.isProjectionDirty=i.isSharedProjectionDirty=i.isTransformDirty=!1}function yA(i){i.clearSnapshot()}function ry(i){i.clearMeasurements()}function vA(i){i.isLayoutDirty=!0,i.updateLayout()}function uy(i){i.isLayoutDirty=!1}function bA(i){i.isAnimationBlocked&&i.layout&&!i.isLayoutDirty&&(i.snapshot=i.layout,i.isLayoutDirty=!0)}function SA(i){const{visualElement:a}=i.options;a&&a.getProps().onBeforeLayoutMeasure&&a.notify("BeforeLayoutMeasure"),i.resetTransform()}function cy(i){i.finishAnimation(),i.targetDelta=i.relativeTarget=i.target=void 0,i.isProjectionDirty=!0}function xA(i){i.resolveTargetDelta()}function TA(i){i.calcProjection()}function AA(i){i.resetSkewAndRotation()}function EA(i){i.removeLeadSnapshot()}function fy(i,a,s){i.translate=Xt(a.translate,0,s),i.scale=Xt(a.scale,1,s),i.origin=a.origin,i.originPoint=a.originPoint}function dy(i,a,s,o){i.min=Xt(a.min,s.min,o),i.max=Xt(a.max,s.max,o)}function MA(i,a,s,o){dy(i.x,a.x,s.x,o),dy(i.y,a.y,s.y,o)}function wA(i){return i.animationValues&&i.animationValues.opacityExit!==void 0}const CA={duration:.45,ease:[.4,0,.1,1]},hy=i=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(i),my=hy("applewebkit/")&&!hy("chrome/")?Math.round:tn;function py(i){i.min=my(i.min),i.max=my(i.max)}function DA(i){py(i.x),py(i.y)}function Cv(i,a,s){return i==="position"||i==="preserve-aspect"&&!P2(iy(a),iy(s),.2)}function zA(i){var a;return i!==i.root&&((a=i.scroll)==null?void 0:a.wasRoot)}const RA=wv({attachResizeListener:(i,a)=>cs(i,"resize",a),measureScroll:()=>{var i,a;return{x:document.documentElement.scrollLeft||((i=document.body)==null?void 0:i.scrollLeft)||0,y:document.documentElement.scrollTop||((a=document.body)==null?void 0:a.scrollTop)||0}},checkIsScrollRoot:()=>!0}),Kc={current:void 0},Dv=wv({measureScroll:i=>({x:i.scrollLeft,y:i.scrollTop}),defaultParent:()=>{if(!Kc.current){const i=new RA({});i.mount(window),i.setOptions({layoutScroll:!0}),Kc.current=i}return Kc.current},resetTransform:(i,a)=>{i.style.transform=a!==void 0?a:"none"},checkIsScrollRoot:i=>window.getComputedStyle(i).position==="fixed"}),zv=L.createContext({transformPagePoint:i=>i,isStatic:!1,reducedMotion:"never"});function OA(i=!0){const a=L.useContext(Vf);if(a===null)return[!0,null];const{isPresent:s,onExitComplete:o,register:c}=a,f=L.useId();L.useEffect(()=>{if(i)return c(f)},[i]);const d=L.useCallback(()=>i&&o&&o(f),[f,o,i]);return!s&&o?[!1,d]:[!0]}const Rv=L.createContext({strict:!1}),gy={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]};let yy=!1;function VA(){if(yy)return;const i={};for(const a in gy)i[a]={isEnabled:s=>gy[a].some(o=>!!s[o])};lv(i),yy=!0}function Ov(){return VA(),x2()}function NA(i){const a=Ov();for(const s in i)a[s]={...a[s],...i[s]};lv(a)}const _A=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","propagate","ignoreStrict","viewport"]);function ar(i){return i.startsWith("while")||i.startsWith("drag")&&i!=="draggable"||i.startsWith("layout")||i.startsWith("onTap")||i.startsWith("onPan")||i.startsWith("onLayout")||_A.has(i)}let Vv=i=>!ar(i);function BA(i){typeof i=="function"&&(Vv=a=>a.startsWith("on")?!ar(a):i(a))}try{BA(require("@emotion/is-prop-valid").default)}catch{}function UA(i,a,s){const o={};for(const c in i)c==="values"&&typeof i.values=="object"||pe(i[c])||(Vv(c)||s===!0&&ar(c)||!a&&!ar(c)||i.draggable&&c.startsWith("onDrag"))&&(o[c]=i[c]);return o}const dr=L.createContext({});function LA(i,a){if(fr(i)){const{initial:s,animate:o}=i;return{initial:s===!1||us(s)?s:void 0,animate:us(o)?o:void 0}}return i.inherit!==!1?a:{}}function jA(i){const{initial:a,animate:s}=LA(i,L.useContext(dr));return L.useMemo(()=>({initial:a,animate:s}),[vy(a),vy(s)])}function vy(i){return Array.isArray(i)?i.join(" "):i}const id=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function Nv(i,a,s){for(const o in a)!pe(a[o])&&!dv(o,s)&&(i[o]=a[o])}function HA({transformTemplate:i},a){return L.useMemo(()=>{const s=id();return ed(s,a,i),Object.assign({},s.vars,s.style)},[a])}function kA(i,a){const s=i.style||{},o={};return Nv(o,s,i),Object.assign(o,HA(i,a)),o}function YA(i,a){const s={},o=kA(i,a);return i.drag&&i.dragListener!==!1&&(s.draggable=!1,o.userSelect=o.WebkitUserSelect=o.WebkitTouchCallout="none",o.touchAction=i.drag===!0?"none":`pan-${i.drag==="x"?"y":"x"}`),i.tabIndex===void 0&&(i.onTap||i.onTapStart||i.whileTap)&&(s.tabIndex=0),s.style=o,s}const _v=()=>({...id(),attrs:{}});function XA(i,a,s,o){const c=L.useMemo(()=>{const f=_v();return hv(f,a,pv(o),i.transformTemplate,i.style),{...f.attrs,style:{...f.style}}},[a]);if(i.style){const f={};Nv(f,i.style,i),c.style={...f,...c.style}}return c}const GA=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function ad(i){return typeof i!="string"||i.includes("-")?!1:!!(GA.indexOf(i)>-1||/[A-Z]/u.test(i))}function qA(i,a,s,{latestValues:o},c,f=!1,d){const g=(d??ad(i)?XA:YA)(a,o,c,i),p=UA(a,typeof i=="string",f),v=i!==L.Fragment?{...p,...g,ref:s}:{},{children:b}=a,S=L.useMemo(()=>pe(b)?b.get():b,[b]);return L.createElement(i,{...v,children:S})}function ZA({scrapeMotionValuesFromProps:i,createRenderState:a},s,o,c){return{latestValues:KA(s,o,c,i),renderState:a()}}function KA(i,a,s,o){const c={},f=o(i,{});for(const S in f)c[S]=Ko(f[S]);let{initial:d,animate:m}=i;const g=fr(i),p=iv(i);a&&p&&!g&&i.inherit!==!1&&(d===void 0&&(d=a.initial),m===void 0&&(m=a.animate));let v=s?s.initial===!1:!1;v=v||d===!1;const b=v?m:d;if(b&&typeof b!="boolean"&&!cr(b)){const S=Array.isArray(b)?b:[b];for(let A=0;A(a,s)=>{const o=L.useContext(dr),c=L.useContext(Vf),f=()=>ZA(i,a,o,c);return s?f():GS(f)},QA=Bv({scrapeMotionValuesFromProps:nd,createRenderState:id}),JA=Bv({scrapeMotionValuesFromProps:gv,createRenderState:_v}),PA=Symbol.for("motionComponentSymbol");function FA(i,a,s){const o=L.useRef(s);L.useInsertionEffect(()=>{o.current=s});const c=L.useRef(null);return L.useCallback(f=>{var m;f&&((m=i.onMount)==null||m.call(i,f));const d=o.current;if(typeof d=="function")if(f){const g=d(f);typeof g=="function"&&(c.current=g)}else c.current?(c.current(),c.current=null):d(f);else d&&(d.current=f);a&&(f?a.mount(f):a.unmount())},[a])}const Uv=L.createContext({});function Pa(i){return i&&typeof i=="object"&&Object.prototype.hasOwnProperty.call(i,"current")}function WA(i,a,s,o,c,f){var X,J;const{visualElement:d}=L.useContext(dr),m=L.useContext(Rv),g=L.useContext(Vf),p=L.useContext(zv),v=p.reducedMotion,b=p.skipAnimations,S=L.useRef(null),A=L.useRef(!1);o=o||m.renderer,!S.current&&o&&(S.current=o(i,{visualState:a,parent:d,props:s,presenceContext:g,blockInitialAnimation:g?g.initial===!1:!1,reducedMotionConfig:v,skipAnimations:b,isSVG:f}),A.current&&S.current&&(S.current.manuallyAnimateOnMount=!0));const C=S.current,N=L.useContext(Uv);C&&!C.projection&&c&&(C.type==="html"||C.type==="svg")&&$A(S.current,s,c,N);const _=L.useRef(!1);L.useInsertionEffect(()=>{C&&_.current&&C.update(s,g)});const B=s[q0],Z=L.useRef(!!B&&typeof window<"u"&&!((X=window.MotionHandoffIsComplete)!=null&&X.call(window,B))&&((J=window.MotionHasOptimisedAnimation)==null?void 0:J.call(window,B)));return ZS(()=>{A.current=!0,C&&(_.current=!0,window.MotionIsMounted=!0,C.updateFeatures(),C.scheduleRenderMicrotask(),Z.current&&C.animationState&&C.animationState.animateChanges())}),L.useEffect(()=>{C&&(!Z.current&&C.animationState&&C.animationState.animateChanges(),Z.current&&(queueMicrotask(()=>{var Y;(Y=window.MotionHandoffMarkAsComplete)==null||Y.call(window,B)}),Z.current=!1),C.enteringChildren=void 0)}),C}function $A(i,a,s,o){const{layoutId:c,layout:f,drag:d,dragConstraints:m,layoutScroll:g,layoutRoot:p,layoutAnchor:v,layoutCrossfade:b}=a;i.projection=new s(i.latestValues,a["data-framer-portal-id"]?void 0:Lv(i.parent)),i.projection.setOptions({layoutId:c,layout:f,alwaysMeasureLayout:!!d||m&&Pa(m),visualElement:i,animationType:typeof f=="string"?f:"both",initialPromotionConfig:o,crossfade:b,layoutScroll:g,layoutRoot:p,layoutAnchor:v})}function Lv(i){if(i)return i.options.allowProjection!==!1?i.projection:Lv(i.parent)}function Qc(i,{forwardMotionProps:a=!1,type:s}={},o,c){o&&NA(o);const f=s?s==="svg":ad(i),d=f?JA:QA;function m(p,v){let b;const S={...L.useContext(zv),...p,layoutId:IA(p)},{isStatic:A}=S,C=jA(p),N=d(p,A);if(!A&&typeof window<"u"){tE();const _=eE(S);b=_.MeasureLayout,C.visualElement=WA(i,N,S,c,_.ProjectionNode,f)}return $.jsxs(dr.Provider,{value:C,children:[b&&C.visualElement?$.jsx(b,{visualElement:C.visualElement,...S}):null,qA(i,p,FA(N,C.visualElement,v),N,A,a,f)]})}m.displayName=`motion.${typeof i=="string"?i:`create(${i.displayName??i.name??""})`}`;const g=L.forwardRef(m);return g[PA]=i,g}function IA({layoutId:i}){const a=L.useContext(n0).id;return a&&i!==void 0?a+"-"+i:i}function tE(i,a){L.useContext(Rv).strict}function eE(i){const a=Ov(),{drag:s,layout:o}=a;if(!s&&!o)return{};const c={...s,...o};return{MeasureLayout:s!=null&&s.isEnabled(i)||o!=null&&o.isEnabled(i)?c.MeasureLayout:void 0,ProjectionNode:c.ProjectionNode}}function nE(i,a){if(typeof Proxy>"u")return Qc;const s=new Map,o=(f,d)=>Qc(f,d,i,a),c=(f,d)=>o(f,d);return new Proxy(c,{get:(f,d)=>d==="create"?o:(s.has(d)||s.set(d,Qc(d,void 0,i,a)),s.get(d))})}const iE=(i,a)=>a.isSVG??ad(i)?new j2(a):new V2(a,{allowProjection:i!==L.Fragment});class aE extends zi{constructor(a){super(a),a.animationState||(a.animationState=G2(a))}updateAnimationControlsSubscription(){const{animate:a}=this.node.getProps();cr(a)&&(this.unmountControls=a.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:a}=this.node.getProps(),{animate:s}=this.node.prevProps||{};a!==s&&this.updateAnimationControlsSubscription()}unmount(){var a;this.node.animationState.reset(),(a=this.unmountControls)==null||a.call(this)}}let lE=0;class sE extends zi{constructor(){super(...arguments),this.id=lE++,this.isExitComplete=!1}update(){var f;if(!this.node.presenceContext)return;const{isPresent:a,onExitComplete:s}=this.node.presenceContext,{isPresent:o}=this.node.prevPresenceContext||{};if(!this.node.animationState||a===o)return;if(a&&o===!1){if(this.isExitComplete){const{initial:d,custom:m}=this.node.getProps();if(typeof d=="string"){const g=ia(this.node,d,m);if(g){const{transition:p,transitionEnd:v,...b}=g;for(const S in b)(f=this.node.getValue(S))==null||f.jump(b[S])}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive("exit",!1);this.isExitComplete=!1;return}const c=this.node.animationState.setActive("exit",!a);s&&!a&&c.then(()=>{this.isExitComplete=!0,s(this.id)})}mount(){const{register:a,onExitComplete:s}=this.node.presenceContext||{};s&&s(this.id),a&&(this.unmount=a(this.id))}unmount(){}}const oE={animation:{Feature:aE},exit:{Feature:sE}};function ms(i){return{point:{x:i.pageX,y:i.pageY}}}const rE=i=>a=>Wf(a)&&i(a,ms(a));function ls(i,a,s,o){return cs(i,a,rE(s),o)}const jv=({current:i})=>i?i.ownerDocument.defaultView:null,by=(i,a)=>Math.abs(i-a);function uE(i,a){const s=by(i.x,a.x),o=by(i.y,a.y);return Math.sqrt(s**2+o**2)}const Sy=new Set(["auto","scroll"]);class Hv{constructor(a,s,{transformPagePoint:o,contextWindow:c=window,dragSnapToOrigin:f=!1,distanceThreshold:d=3,element:m}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.lastRawMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=A=>{this.handleScroll(A.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;this.lastRawMoveEventInfo&&(this.lastMoveEventInfo=Bo(this.lastRawMoveEventInfo,this.transformPagePoint));const A=Jc(this.lastMoveEventInfo,this.history),C=this.startEvent!==null,N=uE(A.offset,{x:0,y:0})>=this.distanceThreshold;if(!C&&!N)return;const{point:_}=A,{timestamp:B}=me;this.history.push({..._,timestamp:B});const{onStart:Z,onMove:X}=this.handlers;C||(Z&&Z(this.lastMoveEvent,A),this.startEvent=this.lastMoveEvent),X&&X(this.lastMoveEvent,A)},this.handlePointerMove=(A,C)=>{this.lastMoveEvent=A,this.lastRawMoveEventInfo=C,this.lastMoveEventInfo=Bo(C,this.transformPagePoint),Ht.update(this.updatePoint,!0)},this.handlePointerUp=(A,C)=>{this.end();const{onEnd:N,onSessionEnd:_,resumeAnimation:B}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&B&&B(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const Z=Jc(A.type==="pointercancel"?this.lastMoveEventInfo:Bo(C,this.transformPagePoint),this.history);this.startEvent&&N&&N(A,Z),_&&_(A,Z)},!Wf(a))return;this.dragSnapToOrigin=f,this.handlers=s,this.transformPagePoint=o,this.distanceThreshold=d,this.contextWindow=c||window;const g=ms(a),p=Bo(g,this.transformPagePoint),{point:v}=p,{timestamp:b}=me;this.history=[{...v,timestamp:b}];const{onSessionStart:S}=s;S&&S(a,Jc(p,this.history)),this.removeListeners=fs(ls(this.contextWindow,"pointermove",this.handlePointerMove),ls(this.contextWindow,"pointerup",this.handlePointerUp),ls(this.contextWindow,"pointercancel",this.handlePointerUp)),m&&this.startScrollTracking(m)}startScrollTracking(a){let s=a.parentElement;for(;s;){const o=getComputedStyle(s);(Sy.has(o.overflowX)||Sy.has(o.overflowY))&&this.scrollPositions.set(s,{x:s.scrollLeft,y:s.scrollTop}),s=s.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0}),window.addEventListener("scroll",this.onWindowScroll),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(a){const s=this.scrollPositions.get(a);if(!s)return;const o=a===window,c=o?{x:window.scrollX,y:window.scrollY}:{x:a.scrollLeft,y:a.scrollTop},f={x:c.x-s.x,y:c.y-s.y};f.x===0&&f.y===0||(o?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=f.x,this.lastMoveEventInfo.point.y+=f.y):this.history.length>0&&(this.history[0].x-=f.x,this.history[0].y-=f.y),this.scrollPositions.set(a,c),Ht.update(this.updatePoint,!0))}updateHandlers(a){this.handlers=a}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),Di(this.updatePoint)}}function Bo(i,a){return a?{point:a(i.point)}:i}function xy(i,a){return{x:i.x-a.x,y:i.y-a.y}}function Jc({point:i},a){return{point:i,delta:xy(i,kv(a)),offset:xy(i,cE(a)),velocity:fE(a,.1)}}function cE(i){return i[0]}function kv(i){return i[i.length-1]}function fE(i,a){if(i.length<2)return{x:0,y:0};let s=i.length-1,o=null;const c=kv(i);for(;s>=0&&(o=i[s],!(c.timestamp-o.timestamp>Ye(a)));)s--;if(!o)return{x:0,y:0};o===i[0]&&i.length>2&&c.timestamp-o.timestamp>Ye(a)*2&&(o=i[1]);const f=$e(c.timestamp-o.timestamp);if(f===0)return{x:0,y:0};const d={x:(c.x-o.x)/f,y:(c.y-o.y)/f};return d.x===1/0&&(d.x=0),d.y===1/0&&(d.y=0),d}function dE(i,{min:a,max:s},o){return a!==void 0&&is&&(i=o?Xt(s,i,o.max):Math.min(i,s)),i}function Ty(i,a,s){return{min:a!==void 0?i.min+a:void 0,max:s!==void 0?i.max+s-(i.max-i.min):void 0}}function hE(i,{top:a,left:s,bottom:o,right:c}){return{x:Ty(i.x,s,c),y:Ty(i.y,a,o)}}function Ay(i,a){let s=a.min-i.min,o=a.max-i.max;return a.max-a.mino?s=os(a.min,a.max-o,i.min):o>c&&(s=os(i.min,i.max-c,a.min)),En(0,1,s)}function gE(i,a){const s={};return a.min!==void 0&&(s.min=a.min-i.min),a.max!==void 0&&(s.max=a.max-i.min),s}const Mf=.35;function yE(i=Mf){return i===!1?i=0:i===!0&&(i=Mf),{x:Ey(i,"left","right"),y:Ey(i,"top","bottom")}}function Ey(i,a,s){return{min:My(i,a),max:My(i,s)}}function My(i,a){return typeof i=="number"?i:i[a]||0}const vE=new WeakMap;class bE{constructor(a){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=ie(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=a}start(a,{snapToCursor:s=!1,distanceThreshold:o}={}){const{presenceContext:c}=this.visualElement;if(c&&c.isPresent===!1)return;const f=b=>{s&&this.snapToCursor(ms(b).point),this.stopAnimation()},d=(b,S)=>{const{drag:A,dragPropagation:C,onDragStart:N}=this.getProps();if(A&&!C&&(this.openDragLock&&this.openDragLock(),this.openDragLock=WT(A),!this.openDragLock))return;this.latestPointerEvent=b,this.latestPanInfo=S,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),xn(B=>{let Z=this.getAxisMotionValue(B).get()||0;if(An.test(Z)){const{projection:X}=this.visualElement;if(X&&X.layout){const J=X.layout.layoutBox[B];J&&(Z=Me(J)*(parseFloat(Z)/100))}}this.originPoint[B]=Z}),N&&Ht.update(()=>N(b,S),!1,!0),gf(this.visualElement,"transform");const{animationState:_}=this.visualElement;_&&_.setActive("whileDrag",!0)},m=(b,S)=>{this.latestPointerEvent=b,this.latestPanInfo=S;const{dragPropagation:A,dragDirectionLock:C,onDirectionLock:N,onDrag:_}=this.getProps();if(!A&&!this.openDragLock)return;const{offset:B}=S;if(C&&this.currentDirection===null){this.currentDirection=xE(B),this.currentDirection!==null&&N&&N(this.currentDirection);return}this.updateAxis("x",S.point,B),this.updateAxis("y",S.point,B),this.visualElement.render(),_&&Ht.update(()=>_(b,S),!1,!0)},g=(b,S)=>{this.latestPointerEvent=b,this.latestPanInfo=S,this.stop(b,S),this.latestPointerEvent=null,this.latestPanInfo=null},p=()=>{const{dragSnapToOrigin:b}=this.getProps();(b||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:v}=this.getProps();this.panSession=new Hv(a,{onSessionStart:f,onStart:d,onMove:m,onSessionEnd:g,resumeAnimation:p},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:v,distanceThreshold:o,contextWindow:jv(this.visualElement),element:this.visualElement.current})}stop(a,s){const o=a||this.latestPointerEvent,c=s||this.latestPanInfo,f=this.isDragging;if(this.cancel(),!f||!c||!o)return;const{velocity:d}=c;this.startAnimation(d);const{onDragEnd:m}=this.getProps();m&&Ht.postRender(()=>m(o,c))}cancel(){this.isDragging=!1;const{projection:a,animationState:s}=this.visualElement;a&&(a.isAnimationBlocked=!1),this.endPanSession();const{dragPropagation:o}=this.getProps();!o&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),s&&s.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(a,s,o){const{drag:c}=this.getProps();if(!o||!Uo(a,c,this.currentDirection))return;const f=this.getAxisMotionValue(a);let d=this.originPoint[a]+o[a];this.constraints&&this.constraints[a]&&(d=dE(d,this.constraints[a],this.elastic[a])),f.set(d)}resolveConstraints(){var f;const{dragConstraints:a,dragElastic:s}=this.getProps(),o=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(f=this.visualElement.projection)==null?void 0:f.layout,c=this.constraints;a&&Pa(a)?this.constraints||(this.constraints=this.resolveRefConstraints()):a&&o?this.constraints=hE(o.layoutBox,a):this.constraints=!1,this.elastic=yE(s),c!==this.constraints&&!Pa(a)&&o&&this.constraints&&!this.hasMutatedConstraints&&xn(d=>{this.constraints!==!1&&this.getAxisMotionValue(d)&&(this.constraints[d]=gE(o.layoutBox[d],this.constraints[d]))})}resolveRefConstraints(){const{dragConstraints:a,onMeasureDragConstraints:s}=this.getProps();if(!a||!Pa(a))return!1;const o=a.current,{projection:c}=this.visualElement;if(!c||!c.layout)return!1;const f=w2(o,c.root,this.visualElement.getTransformPagePoint());let d=mE(c.layout.layoutBox,f);if(s){const m=s(A2(d));this.hasMutatedConstraints=!!m,m&&(d=ov(m))}return d}startAnimation(a){const{drag:s,dragMomentum:o,dragElastic:c,dragTransition:f,dragSnapToOrigin:d,onDragTransitionEnd:m}=this.getProps(),g=this.constraints||{},p=xn(v=>{if(!Uo(v,s,this.currentDirection))return;let b=g&&g[v]||{};(d===!0||d===v)&&(b={min:0,max:0});const S=c?200:1e6,A=c?40:1e7,C={type:"inertia",velocity:o?a[v]:0,bounceStiffness:S,bounceDamping:A,timeConstant:750,restDelta:1,restSpeed:10,...f,...b};return this.startAxisValueAnimation(v,C)});return Promise.all(p).then(m)}startAxisValueAnimation(a,s){const o=this.getAxisMotionValue(a);return gf(this.visualElement,a),o.start(Kf(a,o,0,s,this.visualElement,!1))}stopAnimation(){xn(a=>this.getAxisMotionValue(a).stop())}getAxisMotionValue(a){const s=`_drag${a.toUpperCase()}`,o=this.visualElement.getProps(),c=o[s];return c||this.visualElement.getValue(a,(o.initial?o.initial[a]:void 0)||0)}snapToCursor(a){xn(s=>{const{drag:o}=this.getProps();if(!Uo(s,o,this.currentDirection))return;const{projection:c}=this.visualElement,f=this.getAxisMotionValue(s);if(c&&c.layout){const{min:d,max:m}=c.layout.layoutBox[s],g=f.get()||0;f.set(a[s]-Xt(d,m,.5)+g)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:a,dragConstraints:s}=this.getProps(),{projection:o}=this.visualElement;if(!Pa(s)||!o||!this.constraints)return;this.stopAnimation();const c={x:0,y:0};xn(d=>{const m=this.getAxisMotionValue(d);if(m&&this.constraints!==!1){const g=m.get();c[d]=pE({min:g,max:g},this.constraints[d])}});const{transformTemplate:f}=this.visualElement.getProps();this.visualElement.current.style.transform=f?f({},""):"none",o.root&&o.root.updateScroll(),o.updateLayout(),this.constraints=!1,this.resolveConstraints(),xn(d=>{if(!Uo(d,a,null))return;const m=this.getAxisMotionValue(d),{min:g,max:p}=this.constraints[d];m.set(Xt(g,p,c[d]))}),this.visualElement.render()}addListeners(){if(!this.visualElement.current)return;vE.set(this.visualElement,this);const a=this.visualElement.current,s=ls(a,"pointerdown",p=>{const{drag:v,dragListener:b=!0}=this.getProps(),S=p.target,A=S!==a&&i2(S);v&&b&&!A&&this.start(p)});let o;const c=()=>{const{dragConstraints:p}=this.getProps();Pa(p)&&p.current&&(this.constraints=this.resolveRefConstraints(),o||(o=SE(a,p.current,()=>this.scalePositionWithinConstraints())))},{projection:f}=this.visualElement,d=f.addEventListener("measure",c);f&&!f.layout&&(f.root&&f.root.updateScroll(),f.updateLayout()),Ht.read(c);const m=cs(window,"resize",()=>this.scalePositionWithinConstraints()),g=f.addEventListener("didUpdate",(({delta:p,hasLayoutChanged:v})=>{this.isDragging&&v&&(xn(b=>{const S=this.getAxisMotionValue(b);S&&(this.originPoint[b]+=p[b].translate,S.set(S.get()+p[b].translate))}),this.visualElement.render())}));return()=>{m(),s(),d(),g&&g(),o&&o()}}getProps(){const a=this.visualElement.getProps(),{drag:s=!1,dragDirectionLock:o=!1,dragPropagation:c=!1,dragConstraints:f=!1,dragElastic:d=Mf,dragMomentum:m=!0}=a;return{...a,drag:s,dragDirectionLock:o,dragPropagation:c,dragConstraints:f,dragElastic:d,dragMomentum:m}}}function wy(i){let a=!0;return()=>{if(a){a=!1;return}i()}}function SE(i,a,s){const o=Bg(i,wy(s)),c=Bg(a,wy(s));return()=>{o(),c()}}function Uo(i,a,s){return(a===!0||a===i)&&(s===null||s===i)}function xE(i,a=10){let s=null;return Math.abs(i.y)>a?s="y":Math.abs(i.x)>a&&(s="x"),s}class TE extends zi{constructor(a){super(a),this.removeGroupControls=tn,this.removeListeners=tn,this.controls=new bE(a)}mount(){const{dragControls:a}=this.node.getProps();a&&(this.removeGroupControls=a.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||tn}update(){const{dragControls:a}=this.node.getProps(),{dragControls:s}=this.node.prevProps||{};a!==s&&(this.removeGroupControls(),a&&(this.removeGroupControls=a.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}}const Pc=i=>(a,s)=>{i&&Ht.update(()=>i(a,s),!1,!0)};class AE extends zi{constructor(){super(...arguments),this.removePointerDownListener=tn}onPointerDown(a){this.session=new Hv(a,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:jv(this.node)})}createPanHandlers(){const{onPanSessionStart:a,onPanStart:s,onPan:o,onPanEnd:c}=this.node.getProps();return{onSessionStart:Pc(a),onStart:Pc(s),onMove:Pc(o),onEnd:(f,d)=>{delete this.session,c&&Ht.postRender(()=>c(f,d))}}}mount(){this.removePointerDownListener=ls(this.node.current,"pointerdown",a=>this.onPointerDown(a))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}let Fc=!1;class EE extends L.Component{componentDidMount(){const{visualElement:a,layoutGroup:s,switchLayoutGroup:o,layoutId:c}=this.props,{projection:f}=a;f&&(s.group&&s.group.add(f),o&&o.register&&c&&o.register(f),Fc&&f.root.didUpdate(),f.addEventListener("animationComplete",()=>{this.safeToRemove()}),f.setOptions({...f.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),Qo.hasEverUpdated=!0}getSnapshotBeforeUpdate(a){const{layoutDependency:s,visualElement:o,drag:c,isPresent:f}=this.props,{projection:d}=o;return d&&(d.isPresent=f,a.layoutDependency!==s&&d.setOptions({...d.options,layoutDependency:s}),Fc=!0,c||a.layoutDependency!==s||s===void 0||a.isPresent!==f?d.willUpdate():this.safeToRemove(),a.isPresent!==f&&(f?d.promote():d.relegate()||Ht.postRender(()=>{const m=d.getStack();(!m||!m.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{visualElement:a,layoutAnchor:s}=this.props,{projection:o}=a;o&&(o.options.layoutAnchor=s,o.root.didUpdate(),Ff.postRender(()=>{!o.currentAnimation&&o.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:a,layoutGroup:s,switchLayoutGroup:o}=this.props,{projection:c}=a;Fc=!0,c&&(c.scheduleCheckAfterUnmount(),s&&s.group&&s.group.remove(c),o&&o.deregister&&o.deregister(c))}safeToRemove(){const{safeToRemove:a}=this.props;a&&a()}render(){return null}}function Yv(i){const[a,s]=OA(),o=L.useContext(n0);return $.jsx(EE,{...i,layoutGroup:o,switchLayoutGroup:L.useContext(Uv),isPresent:a,safeToRemove:s})}const ME={pan:{Feature:AE},drag:{Feature:TE,ProjectionNode:Dv,MeasureLayout:Yv}};function Cy(i,a,s){const{props:o}=i;i.animationState&&o.whileHover&&i.animationState.setActive("whileHover",s==="Start");const c="onHover"+s,f=o[c];f&&Ht.postRender(()=>f(a,ms(a)))}class wE extends zi{mount(){const{current:a}=this.node;a&&(this.unmount=IT(a,(s,o)=>(Cy(this.node,o,"Start"),c=>Cy(this.node,c,"End"))))}unmount(){}}class CE extends zi{constructor(){super(...arguments),this.isActive=!1}onFocus(){let a=!1;try{a=this.node.current.matches(":focus-visible")}catch{a=!0}!a||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=fs(cs(this.node.current,"focus",()=>this.onFocus()),cs(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function Dy(i,a,s){const{props:o}=i;if(i.current instanceof HTMLButtonElement&&i.current.disabled)return;i.animationState&&o.whileTap&&i.animationState.setActive("whileTap",s==="Start");const c="onTap"+(s==="End"?"":s),f=o[c];f&&Ht.postRender(()=>f(a,ms(a)))}class DE extends zi{mount(){const{current:a}=this.node;if(!a)return;const{globalTapTarget:s,propagate:o}=this.node.props;this.unmount=l2(a,(c,f)=>(Dy(this.node,f,"Start"),(d,{success:m})=>Dy(this.node,d,m?"End":"Cancel")),{useGlobalTarget:s,stopPropagation:(o==null?void 0:o.tap)===!1})}unmount(){}}const wf=new WeakMap,Wc=new WeakMap,zE=i=>{const a=wf.get(i.target);a&&a(i)},RE=i=>{i.forEach(zE)};function OE({root:i,...a}){const s=i||document;Wc.has(s)||Wc.set(s,{});const o=Wc.get(s),c=JSON.stringify(a);return o[c]||(o[c]=new IntersectionObserver(RE,{root:i,...a})),o[c]}function VE(i,a,s){const o=OE(a);return wf.set(i,s),o.observe(i),()=>{wf.delete(i),o.unobserve(i)}}const NE={some:0,all:1};class _E extends zi{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){var g;(g=this.stopObserver)==null||g.call(this);const{viewport:a={}}=this.node.getProps(),{root:s,margin:o,amount:c="some",once:f}=a,d={root:s?s.current:void 0,rootMargin:o,threshold:typeof c=="number"?c:NE[c]},m=p=>{const{isIntersecting:v}=p;if(this.isInView===v||(this.isInView=v,f&&!v&&this.hasEnteredView))return;v&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",v);const{onViewportEnter:b,onViewportLeave:S}=this.node.getProps(),A=v?b:S;A&&A(p)};this.stopObserver=VE(this.node.current,d,m)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:a,prevProps:s}=this.node;["amount","margin","root"].some(BE(a,s))&&this.startObserver()}unmount(){var a;(a=this.stopObserver)==null||a.call(this),this.hasEnteredView=!1,this.isInView=!1}}function BE({viewport:i={}},{viewport:a={}}={}){return s=>i[s]!==a[s]}const UE={inView:{Feature:_E},tap:{Feature:DE},focus:{Feature:CE},hover:{Feature:wE}},LE={layout:{ProjectionNode:Dv,MeasureLayout:Yv}},jE={...oE,...UE,...ME,...LE},zy=nE(jE,iE);/** - * @license lucide-react v0.546.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const HE=i=>i.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),kE=i=>i.replace(/^([A-Z])|[\s-_]+(\w)/g,(a,s,o)=>o?o.toUpperCase():s.toLowerCase()),Ry=i=>{const a=kE(i);return a.charAt(0).toUpperCase()+a.slice(1)},Xv=(...i)=>i.filter((a,s,o)=>!!a&&a.trim()!==""&&o.indexOf(a)===s).join(" ").trim(),YE=i=>{for(const a in i)if(a.startsWith("aria-")||a==="role"||a==="title")return!0};/** - * @license lucide-react v0.546.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */var XE={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"};/** - * @license lucide-react v0.546.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const GE=L.forwardRef(({color:i="currentColor",size:a=24,strokeWidth:s=2,absoluteStrokeWidth:o,className:c="",children:f,iconNode:d,...m},g)=>L.createElement("svg",{ref:g,...XE,width:a,height:a,stroke:i,strokeWidth:o?Number(s)*24/Number(a):s,className:Xv("lucide",c),...!f&&!YE(m)&&{"aria-hidden":"true"},...m},[...d.map(([p,v])=>L.createElement(p,v)),...Array.isArray(f)?f:[f]]));/** - * @license lucide-react v0.546.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const te=(i,a)=>{const s=L.forwardRef(({className:o,...c},f)=>L.createElement(GE,{ref:f,iconNode:a,className:Xv(`lucide-${HE(Ry(i))}`,`lucide-${i}`,o),...c}));return s.displayName=Ry(i),s};/** - * @license lucide-react v0.546.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const qE=[["path",{d:"M12 18V5",key:"adv99a"}],["path",{d:"M15 13a4.17 4.17 0 0 1-3-4 4.17 4.17 0 0 1-3 4",key:"1e3is1"}],["path",{d:"M17.598 6.5A3 3 0 1 0 12 5a3 3 0 1 0-5.598 1.5",key:"1gqd8o"}],["path",{d:"M17.997 5.125a4 4 0 0 1 2.526 5.77",key:"iwvgf7"}],["path",{d:"M18 18a4 4 0 0 0 2-7.464",key:"efp6ie"}],["path",{d:"M19.967 17.483A4 4 0 1 1 12 18a4 4 0 1 1-7.967-.517",key:"1gq6am"}],["path",{d:"M6 18a4 4 0 0 1-2-7.464",key:"k1g0md"}],["path",{d:"M6.003 5.125a4 4 0 0 0-2.526 5.77",key:"q97ue3"}]],ZE=te("brain",qE);/** - * @license lucide-react v0.546.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const KE=[["path",{d:"m18 16 4-4-4-4",key:"1inbqp"}],["path",{d:"m6 8-4 4 4 4",key:"15zrgr"}],["path",{d:"m14.5 4-5 16",key:"e7oirm"}]],Oy=te("code-xml",KE);/** - * @license lucide-react v0.546.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const QE=[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]],JE=te("external-link",QE);/** - * @license lucide-react v0.546.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const PE=[["path",{d:"m6 14 1.5-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.54 6a2 2 0 0 1-1.95 1.5H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H18a2 2 0 0 1 2 2v2",key:"usdka0"}]],FE=te("folder-open",PE);/** - * @license lucide-react v0.546.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const WE=[["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}],["line",{x1:"3",x2:"9",y1:"12",y2:"12",key:"1dyftd"}],["line",{x1:"15",x2:"21",y1:"12",y2:"12",key:"oup4p8"}]],$E=te("git-commit-horizontal",WE);/** - * @license lucide-react v0.546.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const IE=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]],tM=te("info",IE);/** - * @license lucide-react v0.546.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const eM=[["rect",{width:"7",height:"7",x:"3",y:"3",rx:"1",key:"1g98yp"}],["rect",{width:"7",height:"7",x:"14",y:"3",rx:"1",key:"6d4xhi"}],["rect",{width:"7",height:"7",x:"14",y:"14",rx:"1",key:"nxv5o0"}],["rect",{width:"7",height:"7",x:"3",y:"14",rx:"1",key:"1bb6yr"}]],nM=te("layout-grid",eM);/** - * @license lucide-react v0.546.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const iM=[["path",{d:"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z",key:"18887p"}]],aM=te("message-square",iM);/** - * @license lucide-react v0.546.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const lM=[["path",{d:"M11 21.73a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73z",key:"1a0edw"}],["path",{d:"M12 22V12",key:"d0xqtd"}],["polyline",{points:"3.29 7 12 12 20.71 7",key:"ousv84"}],["path",{d:"m7.5 4.27 9 5.15",key:"1c824w"}]],sM=te("package",lM);/** - * @license lucide-react v0.546.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const oM=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M3 9h18",key:"1pudct"}],["path",{d:"M9 21V9",key:"1oto5p"}]],rM=te("panels-top-left",oM);/** - * @license lucide-react v0.546.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const uM=[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]],cM=te("refresh-cw",uM);/** - * @license lucide-react v0.546.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const fM=[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]],dM=te("search",fM);/** - * @license lucide-react v0.546.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const hM=[["path",{d:"M14 17H5",key:"gfn3mx"}],["path",{d:"M19 7h-9",key:"6i9tg"}],["circle",{cx:"17",cy:"17",r:"3",key:"18b49y"}],["circle",{cx:"7",cy:"7",r:"3",key:"dfmy0x"}]],mM=te("settings-2",hM);/** - * @license lucide-react v0.546.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const pM=[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"M12 8v4",key:"1got3b"}],["path",{d:"M12 16h.01",key:"1drbdi"}]],gM=te("shield-alert",pM);/** - * @license lucide-react v0.546.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const yM=[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],vM=te("shield-check",yM);/** - * @license lucide-react v0.546.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const bM=[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"M9.1 9a3 3 0 0 1 5.82 1c0 2-3 3-3 3",key:"mhlwft"}],["path",{d:"M12 17h.01",key:"p32p05"}]],SM=te("shield-question-mark",bM);/** - * @license lucide-react v0.546.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const xM=[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}]],Vy=te("shield",xM);/** - * @license lucide-react v0.546.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const TM=[["path",{d:"M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z",key:"1s2grr"}],["path",{d:"M20 2v4",key:"1rf3ol"}],["path",{d:"M22 4h-4",key:"gwowj6"}],["circle",{cx:"4",cy:"20",r:"2",key:"6kqj1y"}]],Ny=te("sparkles",TM);/** - * @license lucide-react v0.546.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const AM=[["path",{d:"M21 10.656V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h12.344",key:"2acyp4"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]],EM=te("square-check-big",AM);/** - * @license lucide-react v0.546.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const MM=[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]],_y=te("zap",MM),wM=[{name:"Tailwind & Utility DNA",description:"Massive utility class patterns typical of v0, Lovable, and Bolt.",weight:15},{name:"Shadcn/UI & Radix",description:"Radix component structures and standard Shadcn classes.",weight:15},{name:"AI Iconography (Lucide)",description:"Heavy use of Lucide Icons, the AI industry standard.",weight:10},{name:"Vibe Coding Stack",description:"Combined use of Framer Motion, Lucide, and Tailwind.",weight:15},{name:"AI IDE & Agent Markers",description:"Signatures from Cursor, Windsurf, Trae, Replit, or Devin.",weight:25},{name:"Platform Signatures",description:"Markers from Google AI Studio, Lovable, v0, or Bolt.new.",weight:20},{name:"Prompt Artifact Comments",description:"Comments or metadata referencing prompts, e.g., 'Prompt: ...' or 'Generated by ...'",weight:7},{name:"Model/Provider Metadata",description:"References to OpenAI, Anthropic, Google, or license headers auto-inserted by AI platforms.",weight:7},{name:"Generic Code Structure",description:'Placeholder text or overly generic names like "Feature 1", "Lorem Ipsum", or "Bento Grid".',weight:6},{name:"AI SDK/Dependency Clues",description:"Presence of AI SDKs or dependencies (e.g., openai, langchain, gpt-engineer).",weight:6},{name:"Commit/PR Metadata",description:"Commit messages or PR descriptions referencing AI tools or prompt-based workflows.",weight:5},{name:"Default AI UI Patterns",description:"Default layouts or icon sets popular with AI tools (e.g., Bento Grid, Tabler Icons).",weight:5},{name:"Consistent Formatting",description:"Overly consistent code style, as if formatted by a tool across the entire codebase.",weight:4},{name:"External AI References",description:"Links or references to AI docs, OpenAI, Anthropic, v0.dev, etc., in code or docs.",weight:6},{name:"Build/CI AI Artifacts",description:"Workflow files referencing AI build steps or model deployments.",weight:5}];function CM(i){var k,ct,tt;const a=wM.map(W=>({...W,detected:!1})),s=((k=i.documentElement)==null?void 0:k.innerHTML)??"",o=i.querySelectorAll("*");let c=0;o.forEach(W=>{typeof W.className=="string"&&W.className.trim()&&(c+=W.className.trim().split(/\s+/).length)}),a[0].detected=c/(o.length||1)>4.5||s.includes("tw-");const f=["bg-background","text-foreground","data-radix-","data-state=","rounded-xl","border-input"];a[1].detected=f.filter(W=>s.includes(W)).length>=3;const d=s.includes("lucide")||!!i.querySelector('svg[class*="lucide"]');a[2].detected=d;const m=s.includes("framer-motion")||s.includes("motion-");a[3].detected=m&&(d||a[0].detected);const p=["cursor-ignore","__cursor","windsurf","trae-ide","replit-agent","devin-ai","claude-code","generated by cursor","created with cursor"].some(W=>s.toLowerCase().includes(W)),v=[];(function W(dt){dt.nodeType===Node.COMMENT_NODE&&v.push((dt.nodeValue??"").toLowerCase()),dt.childNodes.forEach(W)})(i);const b=v.some(W=>W.includes("ai generated")||W.includes("cursor")||W.includes("vibe")||W.includes("prompt:")||W.includes("generated by"));a[4].detected=p||b;const S=((tt=(ct=i.querySelector('meta[name="generator"]'))==null?void 0:ct.getAttribute("content"))==null?void 0:tt.toLowerCase())??"",A=s.includes("metadata.json")||s.includes("SPDX-License-Identifier: Apache-2.0"),C=s.includes("lovable")||s.includes("gptengineer")||s.includes("lovable-project"),N=s.includes("bolt-")||s.includes("stackblitz")||s.includes("bolt.new"),_=s.includes("v0.dev")||S.includes("v0"),B=s.includes("replit.app")||s.includes("replit-agent")||s.includes("replit.com"),Z=s.includes("vercel-ai-sdk")||s.includes("ai.vercel.app");a[5].detected=A||C||N||_||B||Z,a[6].detected=b;const X=["openai","anthropic","gemini","claude","gpt-4","llama","spdx-license-identifier"];a[7].detected=X.some(W=>s.toLowerCase().includes(W));const J=["feature 1","feature 2","feature 3","lorem ipsum","bento grid","card title","card description"];a[8].detected=J.some(W=>{var dt;return(((dt=i.body)==null?void 0:dt.innerText)??"").toLowerCase().includes(W)});const Y=["openai","langchain","gpt-engineer","vercel/ai","@ai-sdk","huggingface"];a[9].detected=Y.some(W=>s.toLowerCase().includes(W)),a[10].detected=!1,a[11].detected=s.includes("tabler-icon")||s.includes("bento")||s.includes("heroicon"),a[12].detected=!1;const ut=["openai.com","anthropic.com","v0.dev","claude.ai","chat.openai.com"];a[13].detected=ut.some(W=>s.includes(W)),a[14].detected=!1;let F=a.reduce((W,dt)=>W+(dt.detected?dt.weight:0),0);return(A||_||C||B||p)&&(F=Math.max(90,F)),{score:Math.min(100,F),factors:a}}const By={};function hr(i,a){const s=L.useRef(By);return s.current===By&&(s.current=i(a)),s}const $c=e0[`useInsertionEffect${Math.random().toFixed(1)}`.slice(0,-3)],DM=$c&&$c!==L.useLayoutEffect?$c:i=>i();function el(i){const a=hr(zM).current;return a.next=i,DM(a.effect),a.trampoline}function zM(){const i={next:void 0,callback:RM,trampoline:(...a)=>{var s;return(s=i.callback)==null?void 0:s.call(i,...a)},effect:()=>{i.callback=i.next}};return i}function RM(){}const OM=[];function VM(i){L.useEffect(i,OM)}const Il=0;class ld{constructor(){Vo(this,"currentId",Il);Vo(this,"clear",()=>{this.currentId!==Il&&(clearTimeout(this.currentId),this.currentId=Il)});Vo(this,"disposeEffect",()=>this.clear)}static create(){return new ld}start(a,s){this.clear(),this.currentId=setTimeout(()=>{this.currentId=Il,s()},a)}isStarted(){return this.currentId!==Il}}function lr(){const i=hr(ld.create).current;return VM(i.disposeEffect),i}function NM(i,a){return function(o,...c){const f=new URL(i);return f.searchParams.set("code",o.toString()),c.forEach(d=>f.searchParams.append("args[]",d)),`${a} error #${o}; visit ${f} for the full message.`}}const mr=NM("https://base-ui.com/production-error","Base UI"),Gv=L.createContext(void 0);function pr(){const i=L.useContext(Gv);if(i===void 0)throw new Error(mr(53));return i}function Uy(i,a,s,o){const c=hr(qv).current;return BM(c,i,a,s,o)&&Zv(c,[i,a,s,o]),c.callback}function _M(i){const a=hr(qv).current;return UM(a,i)&&Zv(a,i),a.callback}function qv(){return{callback:null,cleanup:null,refs:[]}}function BM(i,a,s,o,c){return i.refs[0]!==a||i.refs[1]!==s||i.refs[2]!==o||i.refs[3]!==c}function UM(i,a){return i.refs.length!==a.length||i.refs.some((s,o)=>s!==a[o])}function Zv(i,a){if(i.refs=a,a.every(s=>s==null)){i.callback=null;return}i.callback=s=>{if(i.cleanup&&(i.cleanup(),i.cleanup=null),s!=null){const o=Array(a.length).fill(null);for(let c=0;c{for(let c=0;c=i}function Ly(i){if(!L.isValidElement(i))return null;const a=i,s=a.props;return(jM(19)?s==null?void 0:s.ref:a.ref)??null}function Cf(i,a){if(i&&!a)return i;if(!i&&a)return a;if(i||a)return{...i,...a}}function HM(i,a){const s={};for(const o in i){const c=i[o];if(a!=null&&a.hasOwnProperty(o)){const f=a[o](c);f!=null&&Object.assign(s,f);continue}c===!0?s[`data-${o.toLowerCase()}`]="":c&&(s[`data-${o.toLowerCase()}`]=c.toString())}return s}function kM(i,a){return typeof i=="function"?i(a):i}function YM(i,a){return typeof i=="function"?i(a):i}const ss={};function sd(i,a,s,o,c){let f={...Df(i,ss)};return a&&(f=Jo(f,a)),s&&(f=Jo(f,s)),o&&(f=Jo(f,o)),f}function XM(i){if(i.length===0)return ss;if(i.length===1)return Df(i[0],ss);let a={...Df(i[0],ss)};for(let s=1;s=65&&c<=90&&(typeof a=="function"||typeof a>"u")}function Kv(i){return typeof i=="function"}function Df(i,a){return Kv(i)?i(a):i??ss}function ZM(i,a){return a?i?s=>{if(KM(s)){const c=s;zf(c);const f=a(c);return c.baseUIHandlerPrevented||i==null||i(c),f}const o=a(s);return i==null||i(s),o}:a:i}function zf(i){return i.preventBaseUIHandler=()=>{i.baseUIHandlerPrevented=!0},i}function Qv(i,a){return a?i?a+" "+i:a:i}function KM(i){return i!=null&&typeof i=="object"&&"nativeEvent"in i}const Fa=Object.freeze({});function aa(i,a,s={}){const o=a.render,c=QM(a,s);if(s.enabled===!1)return null;const f=s.state??Fa;return PM(i,o,c,f)}function QM(i,a={}){const{className:s,style:o,render:c}=i,{state:f=Fa,ref:d,props:m,stateAttributesMapping:g,enabled:p=!0}=a,v=p?kM(s,f):void 0,b=p?YM(o,f):void 0,S=p?HM(f,g):Fa,A=p?Cf(S,Array.isArray(m)?XM(m):m)??Fa:Fa;return typeof document<"u"&&(p?Array.isArray(d)?A.ref=_M([A.ref,Ly(c),...d]):A.ref=Uy(A.ref,Ly(c),d):Uy(null,null)),p?(v!==void 0&&(A.className=Qv(A.className,v)),b!==void 0&&(A.style=Cf(A.style,b)),A):Fa}const JM=Symbol.for("react.lazy");function PM(i,a,s,o){if(a){if(typeof a=="function")return a(s,o);const c=sd(s,a.props);c.ref=s.ref;let f=a;return(f==null?void 0:f.$$typeof)===JM&&(f=L.Children.toArray(a)[0]),L.cloneElement(f,c)}if(i&&typeof i=="string")return FM(i,s);throw new Error(mr(8))}function FM(i,a){return i==="button"?L.createElement("button",{type:"button",...a,key:a.key}):i==="img"?L.createElement("img",{alt:"",...a,key:a.key}):L.createElement(i,a)}let sr=(function(i){return i.scrollAreaCornerHeight="--scroll-area-corner-height",i.scrollAreaCornerWidth="--scroll-area-corner-width",i})({});const Lo=500,jy=16;function Ie(i,a,s){if(!i)return 0;const o=getComputedStyle(i),c=s==="x"?"Inline":"Block";return s==="x"&&a==="margin"?parseFloat(o[`${a}InlineStart`])*2:parseFloat(o[`${a}${c}Start`])+parseFloat(o[`${a}${c}End`])}let WM=(function(i){return i.orientation="data-orientation",i.hovering="data-hovering",i.scrolling="data-scrolling",i.hasOverflowX="data-has-overflow-x",i.hasOverflowY="data-has-overflow-y",i.overflowXStart="data-overflow-x-start",i.overflowXEnd="data-overflow-x-end",i.overflowYStart="data-overflow-y-start",i.overflowYEnd="data-overflow-y-end",i})({});const jo="base-ui-disable-scrollbar",Jv={className:jo,getElement(i){return $.jsx("style",{nonce:i,href:jo,precedence:"base-ui:low",children:`.${jo}{scrollbar-width:none}.${jo}::-webkit-scrollbar{display:none}`})}},$M={...e0};let Hy=0;function IM(i,a="mui"){const[s,o]=L.useState(i),c=i||s;return L.useEffect(()=>{s==null&&(Hy+=1,o(`${a}-${Hy}`))},[s,a]),c}const ky=$M.useId;function tw(i,a){if(ky!==void 0){const s=ky();return`${a}-${s}`}return IM(i,a)}function ew(i){return tw(i,"base-ui")}let Ja=(function(i){return i.scrolling="data-scrolling",i.hasOverflowX="data-has-overflow-x",i.hasOverflowY="data-has-overflow-y",i.overflowXStart="data-overflow-x-start",i.overflowXEnd="data-overflow-x-end",i.overflowYStart="data-overflow-y-start",i.overflowYEnd="data-overflow-y-end",i})({});const od={hasOverflowX:i=>i?{[Ja.hasOverflowX]:""}:null,hasOverflowY:i=>i?{[Ja.hasOverflowY]:""}:null,overflowXStart:i=>i?{[Ja.overflowXStart]:""}:null,overflowXEnd:i=>i?{[Ja.overflowXEnd]:""}:null,overflowYStart:i=>i?{[Ja.overflowYStart]:""}:null,overflowYEnd:i=>i?{[Ja.overflowYEnd]:""}:null,cornerHidden:()=>null};function Pv(){return typeof window<"u"}function Fv(i){var a;return(i==null||(a=i.ownerDocument)==null?void 0:a.defaultView)||window}function nw(i){return Pv()?i instanceof HTMLElement||i instanceof Fv(i).HTMLElement:!1}function iw(i){return!Pv()||typeof ShadowRoot>"u"?!1:i instanceof ShadowRoot||i instanceof Fv(i).ShadowRoot}const gr=typeof navigator<"u",Ic=ow(),aw=uw(),lw=rw(),sw=typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter:none");Ic.platform==="MacIntel"&&Ic.maxTouchPoints>1||/iP(hone|ad|od)|iOS/.test(Ic.platform);gr&&aw.toLowerCase().startsWith("mac")&&navigator.maxTouchPoints;lw.includes("jsdom/");function ow(){if(!gr)return{platform:"",maxTouchPoints:-1};const i=navigator.userAgentData;return i!=null&&i.platform?{platform:i.platform,maxTouchPoints:navigator.maxTouchPoints}:{platform:navigator.platform??"",maxTouchPoints:navigator.maxTouchPoints??-1}}function rw(){if(!gr)return"";const i=navigator.userAgentData;return i&&Array.isArray(i.brands)?i.brands.map(({brand:a,version:s})=>`${a}/${s}`).join(" "):navigator.userAgent}function uw(){if(!gr)return"";const i=navigator.userAgentData;return i!=null&&i.platform?i.platform:navigator.platform??""}function cw(i,a){var o;if(!i||!a)return!1;const s=(o=a.getRootNode)==null?void 0:o.call(a);if(i.contains(a))return!0;if(s&&iw(s)){let c=a;for(;c;){if(i===c)return!0;c=c.parentNode||c.host}}return!1}const fw=L.createContext(void 0),dw={disableStyleElements:!1};function hw(){return L.useContext(fw)??dw}const mw={x:0,y:0},Yy={width:0,height:0},pw={xStart:!1,xEnd:!1,yStart:!1,yEnd:!1},gw={x:!0,y:!0,corner:!0},yw=L.forwardRef(function(a,s){const{render:o,className:c,overflowEdgeThreshold:f,...d}=a,m=vw(f),g=ew(),p=lr(),v=lr(),{nonce:b,disableStyleElements:S}=hw(),[A,C]=L.useState(!1),[N,_]=L.useState(!1),[B,Z]=L.useState(!1),[X,J]=L.useState(!1),[Y,ut]=L.useState(!1),[F,k]=L.useState(Yy),[ct,tt]=L.useState(Yy),[W,dt]=L.useState(pw),[St,wt]=L.useState(gw),lt=L.useRef(null),w=L.useRef(null),q=L.useRef(null),Q=L.useRef(null),ot=L.useRef(null),G=L.useRef(null),x=L.useRef(null),V=L.useRef(!1),K=L.useRef(0),P=L.useRef(0),I=L.useRef(0),rt=L.useRef(0),mt=L.useRef("vertical"),Nt=L.useRef(mw),pt=el(Rt=>{const we=Rt.x-Nt.current.x,an=Rt.y-Nt.current.y;Nt.current=Rt,an!==0&&(Z(!0),p.start(Lo,()=>{Z(!1)})),we!==0&&(_(!0),v.start(Lo,()=>{_(!1)}))}),se=el(Rt=>{Rt.button===0&&(V.current=!0,K.current=Rt.clientY,P.current=Rt.clientX,mt.current=Rt.currentTarget.getAttribute(WM.orientation),w.current&&(I.current=w.current.scrollTop,rt.current=w.current.scrollLeft),ot.current&&mt.current==="vertical"&&ot.current.setPointerCapture(Rt.pointerId),G.current&&mt.current==="horizontal"&&G.current.setPointerCapture(Rt.pointerId))}),be=el(Rt=>{if(!V.current)return;const we=Rt.clientY-K.current,an=Rt.clientX-P.current;if(w.current){const Qn=w.current.scrollHeight,Oi=w.current.clientHeight,re=w.current.scrollWidth,Vi=w.current.clientWidth;if(ot.current&&q.current&&mt.current==="vertical"){const Mn=Ie(q.current,"padding","y"),Jn=Ie(ot.current,"margin","y"),mn=ot.current.offsetHeight,wn=q.current.offsetHeight-mn-Mn-Jn,pn=we/wn;w.current.scrollTop=I.current+pn*(Qn-Oi),Rt.preventDefault(),Z(!0),p.start(Lo,()=>{Z(!1)})}if(G.current&&Q.current&&mt.current==="horizontal"){const Mn=Ie(Q.current,"padding","x"),Jn=Ie(G.current,"margin","x"),mn=G.current.offsetWidth,wn=Q.current.offsetWidth-mn-Mn-Jn,pn=an/wn;w.current.scrollLeft=rt.current+pn*(re-Vi),Rt.preventDefault(),_(!0),v.start(Lo,()=>{_(!1)})}}}),Se=el(Rt=>{V.current=!1,ot.current&&mt.current==="vertical"&&ot.current.releasePointerCapture(Rt.pointerId),G.current&&mt.current==="horizontal"&&G.current.releasePointerCapture(Rt.pointerId)});function xe(Rt){J(Rt.pointerType==="touch")}function oe(Rt){if(xe(Rt),Rt.pointerType!=="touch"){const we=cw(lt.current,Rt.target);C(we)}}const en=L.useMemo(()=>({scrolling:N||B,hasOverflowX:!St.x,hasOverflowY:!St.y,overflowXStart:W.xStart,overflowXEnd:W.xEnd,overflowYStart:W.yStart,overflowYEnd:W.yEnd,cornerHidden:St.corner}),[N,B,St.x,St.y,St.corner,W]),Te={role:"presentation",onPointerEnter:oe,onPointerMove:oe,onPointerDown:xe,onPointerLeave(){C(!1)},style:{position:"relative",[sr.scrollAreaCornerHeight]:`${F.height}px`,[sr.scrollAreaCornerWidth]:`${F.width}px`}},nn=aa("div",a,{state:en,ref:[s,lt],props:[Te,d],stateAttributesMapping:od}),sa=L.useMemo(()=>({handlePointerDown:se,handlePointerMove:be,handlePointerUp:Se,handleScroll:pt,cornerSize:F,setCornerSize:k,thumbSize:ct,setThumbSize:tt,hasMeasuredScrollbar:Y,setHasMeasuredScrollbar:ut,touchModality:X,cornerRef:x,scrollingX:N,setScrollingX:_,scrollingY:B,setScrollingY:Z,hovering:A,setHovering:C,viewportRef:w,rootRef:lt,scrollbarYRef:q,scrollbarXRef:Q,thumbYRef:ot,thumbXRef:G,rootId:g,hiddenState:St,setHiddenState:wt,overflowEdges:W,setOverflowEdges:dt,viewportState:en,overflowEdgeThreshold:m}),[se,be,Se,pt,F,ct,Y,X,N,_,B,Z,A,C,g,St,W,en,m]);return $.jsxs(Gv.Provider,{value:sa,children:[!S&&Jv.getElement(b),nn]})});function vw(i){if(typeof i=="number"){const a=Math.max(0,i);return{xStart:a,xEnd:a,yStart:a,yEnd:a}}return{xStart:Math.max(0,(i==null?void 0:i.xStart)||0),xEnd:Math.max(0,(i==null?void 0:i.xEnd)||0),yStart:Math.max(0,(i==null?void 0:i.yStart)||0),yEnd:Math.max(0,(i==null?void 0:i.yEnd)||0)}}const bw=()=>{},Po=typeof document<"u"?L.useLayoutEffect:bw,Sw=L.createContext(void 0),xw=L.createContext(void 0);function Wv(){const i=L.useContext(xw);return(i==null?void 0:i.direction)??"ltr"}function Wa(i,a=Number.MIN_SAFE_INTEGER,s=Number.MAX_SAFE_INTEGER){return Math.max(a,Math.min(i,s))}function Tw(i,a){if(typeof IntersectionObserver>"u")return()=>{};const s=new IntersectionObserver(o=>{o.forEach(c=>{c.intersectionRatio>0&&(a(),s.disconnect())})});return s.observe(i),()=>{s.disconnect()}}let wi=(function(i){return i.scrollAreaOverflowXStart="--scroll-area-overflow-x-start",i.scrollAreaOverflowXEnd="--scroll-area-overflow-x-end",i.scrollAreaOverflowYStart="--scroll-area-overflow-y-start",i.scrollAreaOverflowYEnd="--scroll-area-overflow-y-end",i})({});const Xy=1;function Gy(i,a){if(a<=0)return 0;const s=Wa(i,0,a),o=s,c=a-s,f=o<=Xy,d=c<=Xy;return f&&d?o<=c?0:a:f?0:d?a:s}let qy=!1;const Zy=typeof ResizeObserver<"u";function Aw(){qy||sw||(typeof CSS<"u"&&"registerProperty"in CSS&&[wi.scrollAreaOverflowXStart,wi.scrollAreaOverflowXEnd,wi.scrollAreaOverflowYStart,wi.scrollAreaOverflowYEnd].forEach(i=>{try{CSS.registerProperty({name:i,syntax:"",inherits:!1,initialValue:"0px"})}catch{}}),qy=!0)}const Ew=L.forwardRef(function(a,s){const{render:o,className:c,...f}=a,{viewportRef:d,scrollbarYRef:m,scrollbarXRef:g,thumbYRef:p,thumbXRef:v,cornerRef:b,cornerSize:S,setCornerSize:A,setThumbSize:C,rootId:N,setHiddenState:_,hiddenState:B,setHasMeasuredScrollbar:Z,handleScroll:X,setHovering:J,setOverflowEdges:Y,overflowEdges:ut,overflowEdgeThreshold:F,scrollingX:k,scrollingY:ct}=pr(),tt=Wv(),W=L.useRef(!0),dt=L.useRef([NaN,NaN,NaN,NaN]),St=lr(),wt=lr(),lt=el(()=>{const x=d.current,V=m.current,K=g.current,P=p.current,I=v.current,rt=b.current;if(!x)return;const mt=x.scrollHeight,Nt=x.scrollWidth,pt=x.clientHeight,se=x.clientWidth,be=x.scrollTop,Se=x.scrollLeft,xe=dt.current,oe=Number.isNaN(xe[0]);if(xe[0]=pt,xe[1]=mt,xe[2]=se,xe[3]=Nt,oe&&Z(!0),mt===0||Nt===0)return;const en=Mw(x),Te=en.y,nn=en.x,sa=se/Nt,Rt=pt/mt,we=Math.max(0,Nt-se),an=Math.max(0,mt-pt);let Qn=0,Oi=0;if(!nn){let Lt=0;tt==="rtl"?Lt=Wa(-Se,0,we):Lt=Wa(Se,0,we),Qn=Gy(Lt,we),Oi=we-Qn}const re=Te?0:Wa(be,0,an),Vi=Te?0:Gy(re,an),Mn=Te?0:an-Vi,Jn=nn?0:se,mn=Te?0:pt;let wn=0,pn=0;!nn&&!Te&&(wn=(V==null?void 0:V.offsetWidth)||0,pn=(K==null?void 0:K.offsetHeight)||0);const ps=S.width===0&&S.height===0,vr=ps?wn:0,Ni=ps?pn:0,ge=Ie(K,"padding","x"),ln=Ie(V,"padding","y"),ye=Ie(I,"margin","x"),gs=Ie(P,"margin","y"),ys=Jn-ge-ye,vs=mn-ln-gs,oa=K?Math.min(K.offsetWidth-vr,ys):ys,ra=V?Math.min(V.offsetHeight-Ni,vs):vs,Pn=Math.max(jy,oa*sa),sn=Math.max(jy,ra*Rt);if(C(Lt=>Lt.height===sn&&Lt.width===Pn?Lt:{width:Pn,height:sn}),V&&P){const Lt=V.offsetHeight-sn-ln-gs,gn=mt-pt,Fn=gn===0?0:be/gn,Cn=Math.min(Lt,Math.max(0,Fn*Lt));P.style.transform=`translate3d(0,${Cn}px,0)`}if(K&&I){const Lt=K.offsetWidth-Pn-ge-ye,gn=Nt-se,Fn=gn===0?0:Se/gn,Cn=tt==="rtl"?Wa(Fn*Lt,-Lt,0):Wa(Fn*Lt,0,Lt);I.style.transform=`translate3d(${Cn}px,0,0)`}const ua=[[wi.scrollAreaOverflowXStart,Qn],[wi.scrollAreaOverflowXEnd,Oi],[wi.scrollAreaOverflowYStart,Vi],[wi.scrollAreaOverflowYEnd,Mn]];for(const[Lt,gn]of ua)x.style.setProperty(Lt,`${gn}px`);rt&&(nn||Te?A({width:0,height:0}):!nn&&!Te&&A({width:wn,height:pn})),_(Lt=>ww(Lt,en));const on={xStart:!nn&&Qn>F.xStart,xEnd:!nn&&Oi>F.xEnd,yStart:!Te&&Vi>F.yStart,yEnd:!Te&&Mn>F.yEnd};Y(Lt=>Lt.xStart===on.xStart&&Lt.xEnd===on.xEnd&&Lt.yStart===on.yStart&&Lt.yEnd===on.yEnd?Lt:on)});Po(()=>{if(d.current&&(Aw(),!Zy))return Tw(d.current,()=>{lt()})},[lt,d]),Po(()=>{queueMicrotask(lt)},[lt,B,tt]),Po(()=>{var x;(x=d.current)!=null&&x.matches(":hover")&&J(!0)},[d,J]),L.useEffect(()=>{const x=d.current;if(!Zy||!x)return;let V=!1;const K=new ResizeObserver(()=>{if(!V){V=!0;const P=dt.current;if(P[0]===x.clientHeight&&P[1]===x.scrollHeight&&P[2]===x.clientWidth&&P[3]===x.scrollWidth)return}lt()});return K.observe(x),wt.start(0,()=>{const P=x.getAnimations({subtree:!0});P.length!==0&&Promise.allSettled(P.map(I=>I.finished)).then(lt).catch(()=>{})}),()=>{K.disconnect(),wt.clear()}},[lt,d,wt]);function w(){W.current=!1}const q={role:"presentation",...N&&{"data-id":`${N}-viewport`},tabIndex:B.x&&B.y?-1:0,className:Jv.className,style:{overflow:"scroll"},onScroll(){d.current&&(lt(),W.current||X({x:d.current.scrollLeft,y:d.current.scrollTop}),St.start(100,()=>{W.current=!0}))},onWheel:w,onTouchMove:w,onPointerMove:w,onPointerEnter:w,onKeyDown:w},Q=L.useMemo(()=>({scrolling:k||ct,hasOverflowX:!B.x,hasOverflowY:!B.y,overflowXStart:ut.xStart,overflowXEnd:ut.xEnd,overflowYStart:ut.yStart,overflowYEnd:ut.yEnd,cornerHidden:B.corner}),[k,ct,B.x,B.y,B.corner,ut]),ot=aa("div",a,{ref:[s,d],state:Q,props:[q,f],stateAttributesMapping:od}),G=L.useMemo(()=>({computeThumbPosition:lt}),[lt]);return $.jsx(Sw.Provider,{value:G,children:ot})});function Mw(i){const a=i.clientHeight>=i.scrollHeight,s=i.clientWidth>=i.scrollWidth;return{y:a,x:s,corner:a||s}}function ww(i,a){return i.y===a.y&&i.x===a.x&&i.corner===a.corner?i:a}const $v=L.createContext(void 0);function Cw(){const i=L.useContext($v);if(i===void 0)throw new Error(mr(54));return i}let or=(function(i){return i.scrollAreaThumbHeight="--scroll-area-thumb-height",i.scrollAreaThumbWidth="--scroll-area-thumb-width",i})({});const Dw=L.forwardRef(function(a,s){const{render:o,className:c,orientation:f="vertical",keepMounted:d=!1,...m}=a,{hovering:g,scrollingX:p,scrollingY:v,hiddenState:b,overflowEdges:S,scrollbarYRef:A,scrollbarXRef:C,viewportRef:N,thumbYRef:_,thumbXRef:B,handlePointerDown:Z,handlePointerUp:X,rootId:J,thumbSize:Y,hasMeasuredScrollbar:ut}=pr(),F={hovering:g,scrolling:{horizontal:p,vertical:v}[f],orientation:f,hasOverflowX:!b.x,hasOverflowY:!b.y,overflowXStart:S.xStart,overflowXEnd:S.xEnd,overflowYStart:S.yStart,overflowYEnd:S.yEnd,cornerHidden:b.corner},k=Wv(),ct=!ut&&!d;L.useEffect(()=>{const lt=N.current,w=f==="vertical"?A.current:C.current;if(!w)return;function q(Q){if(!(!lt||!w||Q.ctrlKey)){if(Q.preventDefault(),f==="vertical"){if(lt.scrollTop===0&&Q.deltaY<0)return}else if(lt.scrollLeft===0&&Q.deltaX<0)return;if(f==="vertical"){if(lt.scrollTop===lt.scrollHeight-lt.clientHeight&&Q.deltaY>0)return}else if(lt.scrollLeft===lt.scrollWidth-lt.clientWidth&&Q.deltaX>0)return;f==="vertical"?lt.scrollTop+=Q.deltaY:lt.scrollLeft+=Q.deltaX}}return w.addEventListener("wheel",q,{passive:!1}),()=>{w.removeEventListener("wheel",q)}},[f,C,A,N]);const tt={...J&&{"data-id":`${J}-scrollbar`},onPointerDown(lt){if(lt.button===0&<.currentTarget===lt.target&&N.current){if(_.current&&A.current&&f==="vertical"){const w=Ie(_.current,"margin","y"),q=Ie(A.current,"padding","y"),Q=_.current.offsetHeight,ot=A.current.getBoundingClientRect(),G=lt.clientY-ot.top-Q/2-q+w/2,x=N.current.scrollHeight,V=N.current.clientHeight,K=A.current.offsetHeight-Q-q-w,I=G/K*(x-V);N.current.scrollTop=I}if(B.current&&C.current&&f==="horizontal"){const w=Ie(B.current,"margin","x"),q=Ie(C.current,"padding","x"),Q=B.current.offsetWidth,ot=C.current.getBoundingClientRect(),G=lt.clientX-ot.left-Q/2-q+w/2,x=N.current.scrollWidth,V=N.current.clientWidth,K=C.current.offsetWidth-Q-q-w,P=G/K;let I;k==="rtl"?(I=(1-P)*(x-V),N.current.scrollLeft<=0&&(I=-I)):I=P*(x-V),N.current.scrollLeft=I}Z(lt)}},onPointerUp:X,style:{position:"absolute",touchAction:"none",WebkitUserSelect:"none",userSelect:"none",visibility:ct?"hidden":void 0,...f==="vertical"&&{top:0,bottom:`var(${sr.scrollAreaCornerHeight})`,insetInlineEnd:0,[or.scrollAreaThumbHeight]:`${Y.height}px`},...f==="horizontal"&&{insetInlineStart:0,insetInlineEnd:`var(${sr.scrollAreaCornerWidth})`,bottom:0,[or.scrollAreaThumbWidth]:`${Y.width}px`}}},W=aa("div",a,{ref:[s,f==="vertical"?A:C],state:F,props:[tt,m],stateAttributesMapping:od}),dt=L.useMemo(()=>({orientation:f}),[f]),St=f==="vertical"?b.y:b.x;return d||!St?$.jsx($v.Provider,{value:dt,children:W}):null}),zw=L.forwardRef(function(a,s){const{render:o,className:c,...f}=a,{thumbYRef:d,thumbXRef:m,handlePointerDown:g,handlePointerMove:p,handlePointerUp:v,setScrollingX:b,setScrollingY:S,hasMeasuredScrollbar:A}=pr(),{orientation:C}=Cw();return aa("div",a,{ref:[s,C==="vertical"?d:m],state:{orientation:C},props:[{onPointerDown:g,onPointerMove:p,onPointerUp(B){C==="vertical"&&S(!1),C==="horizontal"&&b(!1),v(B)},style:{visibility:A?void 0:"hidden",...C==="vertical"&&{height:`var(${or.scrollAreaThumbHeight})`},...C==="horizontal"&&{width:`var(${or.scrollAreaThumbWidth})`}}},f]})}),Rw=L.forwardRef(function(a,s){const{render:o,className:c,...f}=a,{cornerRef:d,cornerSize:m,hiddenState:g}=pr(),p=aa("div",a,{ref:[s,d],props:[{style:{position:"absolute",bottom:0,insetInlineEnd:0,width:m.width,height:m.height}},f]});return g.corner?null:p});function Iv(i){var a,s,o="";if(typeof i=="string"||typeof i=="number")o+=i;else if(typeof i=="object")if(Array.isArray(i)){var c=i.length;for(a=0;a{const s=new Array(i.length+a.length);for(let o=0;o({classGroupId:i,validator:a}),eb=(i=new Map,a=null,s)=>({nextPart:i,validators:a,classGroupId:s}),rr="-",Ky=[],Nw="arbitrary..",_w=i=>{const a=Uw(i),{conflictingClassGroups:s,conflictingClassGroupModifiers:o}=i;return{getClassGroupId:d=>{if(d.startsWith("[")&&d.endsWith("]"))return Bw(d);const m=d.split(rr),g=m[0]===""&&m.length>1?1:0;return nb(m,g,a)},getConflictingClassGroupIds:(d,m)=>{if(m){const g=o[d],p=s[d];return g?p?Ow(p,g):g:p||Ky}return s[d]||Ky}}},nb=(i,a,s)=>{if(i.length-a===0)return s.classGroupId;const c=i[a],f=s.nextPart.get(c);if(f){const p=nb(i,a+1,f);if(p)return p}const d=s.validators;if(d===null)return;const m=a===0?i.join(rr):i.slice(a).join(rr),g=d.length;for(let p=0;pi.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const a=i.slice(1,-1),s=a.indexOf(":"),o=a.slice(0,s);return o?Nw+o:void 0})(),Uw=i=>{const{theme:a,classGroups:s}=i;return Lw(s,a)},Lw=(i,a)=>{const s=eb();for(const o in i){const c=i[o];rd(c,s,o,a)}return s},rd=(i,a,s,o)=>{const c=i.length;for(let f=0;f{if(typeof i=="string"){Hw(i,a,s);return}if(typeof i=="function"){kw(i,a,s,o);return}Yw(i,a,s,o)},Hw=(i,a,s)=>{const o=i===""?a:ib(a,i);o.classGroupId=s},kw=(i,a,s,o)=>{if(Xw(i)){rd(i(o),a,s,o);return}a.validators===null&&(a.validators=[]),a.validators.push(Vw(s,i))},Yw=(i,a,s,o)=>{const c=Object.entries(i),f=c.length;for(let d=0;d{let s=i;const o=a.split(rr),c=o.length;for(let f=0;f"isThemeGetter"in i&&i.isThemeGetter===!0,Gw=i=>{if(i<1)return{get:()=>{},set:()=>{}};let a=0,s=Object.create(null),o=Object.create(null);const c=(f,d)=>{s[f]=d,a++,a>i&&(a=0,o=s,s=Object.create(null))};return{get(f){let d=s[f];if(d!==void 0)return d;if((d=o[f])!==void 0)return c(f,d),d},set(f,d){f in s?s[f]=d:c(f,d)}}},Rf="!",Qy=":",qw=[],Jy=(i,a,s,o,c)=>({modifiers:i,hasImportantModifier:a,baseClassName:s,maybePostfixModifierPosition:o,isExternal:c}),Zw=i=>{const{prefix:a,experimentalParseClassName:s}=i;let o=c=>{const f=[];let d=0,m=0,g=0,p;const v=c.length;for(let N=0;Ng?p-g:void 0;return Jy(f,A,S,C)};if(a){const c=a+Qy,f=o;o=d=>d.startsWith(c)?f(d.slice(c.length)):Jy(qw,!1,d,void 0,!0)}if(s){const c=o;o=f=>s({className:f,parseClassName:c})}return o},Kw=i=>{const a=new Map;return i.orderSensitiveModifiers.forEach((s,o)=>{a.set(s,1e6+o)}),s=>{const o=[];let c=[];for(let f=0;f0&&(c.sort(),o.push(...c),c=[]),o.push(d)):c.push(d)}return c.length>0&&(c.sort(),o.push(...c)),o}},Qw=i=>({cache:Gw(i.cacheSize),parseClassName:Zw(i),sortModifiers:Kw(i),..._w(i)}),Jw=/\s+/,Pw=(i,a)=>{const{parseClassName:s,getClassGroupId:o,getConflictingClassGroupIds:c,sortModifiers:f}=a,d=[],m=i.trim().split(Jw);let g="";for(let p=m.length-1;p>=0;p-=1){const v=m[p],{isExternal:b,modifiers:S,hasImportantModifier:A,baseClassName:C,maybePostfixModifierPosition:N}=s(v);if(b){g=v+(g.length>0?" "+g:g);continue}let _=!!N,B=o(_?C.substring(0,N):C);if(!B){if(!_){g=v+(g.length>0?" "+g:g);continue}if(B=o(C),!B){g=v+(g.length>0?" "+g:g);continue}_=!1}const Z=S.length===0?"":S.length===1?S[0]:f(S).join(":"),X=A?Z+Rf:Z,J=X+B;if(d.indexOf(J)>-1)continue;d.push(J);const Y=c(B,_);for(let ut=0;ut0?" "+g:g)}return g},Fw=(...i)=>{let a=0,s,o,c="";for(;a{if(typeof i=="string")return i;let a,s="";for(let o=0;o{let s,o,c,f;const d=g=>{const p=a.reduce((v,b)=>b(v),i());return s=Qw(p),o=s.cache.get,c=s.cache.set,f=m,m(g)},m=g=>{const p=o(g);if(p)return p;const v=Pw(g,s);return c(g,v),v};return f=d,(...g)=>f(Fw(...g))},$w=[],ne=i=>{const a=s=>s[i]||$w;return a.isThemeGetter=!0,a},lb=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,sb=/^\((?:(\w[\w-]*):)?(.+)\)$/i,Iw=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,tC=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,eC=/\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$/,nC=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,iC=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,aC=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,xi=i=>Iw.test(i),bt=i=>!!i&&!Number.isNaN(Number(i)),Ti=i=>!!i&&Number.isInteger(Number(i)),tf=i=>i.endsWith("%")&&bt(i.slice(0,-1)),Kn=i=>tC.test(i),ob=()=>!0,lC=i=>eC.test(i)&&!nC.test(i),ud=()=>!1,sC=i=>iC.test(i),oC=i=>aC.test(i),rC=i=>!nt(i)&&!at(i),uC=i=>Ri(i,cb,ud),nt=i=>lb.test(i),$i=i=>Ri(i,fb,lC),Py=i=>Ri(i,yC,bt),cC=i=>Ri(i,hb,ob),fC=i=>Ri(i,db,ud),Fy=i=>Ri(i,rb,ud),dC=i=>Ri(i,ub,oC),Ho=i=>Ri(i,mb,sC),at=i=>sb.test(i),ts=i=>la(i,fb),hC=i=>la(i,db),Wy=i=>la(i,rb),mC=i=>la(i,cb),pC=i=>la(i,ub),ko=i=>la(i,mb,!0),gC=i=>la(i,hb,!0),Ri=(i,a,s)=>{const o=lb.exec(i);return o?o[1]?a(o[1]):s(o[2]):!1},la=(i,a,s=!1)=>{const o=sb.exec(i);return o?o[1]?a(o[1]):s:!1},rb=i=>i==="position"||i==="percentage",ub=i=>i==="image"||i==="url",cb=i=>i==="length"||i==="size"||i==="bg-size",fb=i=>i==="length",yC=i=>i==="number",db=i=>i==="family-name",hb=i=>i==="number"||i==="weight",mb=i=>i==="shadow",vC=()=>{const i=ne("color"),a=ne("font"),s=ne("text"),o=ne("font-weight"),c=ne("tracking"),f=ne("leading"),d=ne("breakpoint"),m=ne("container"),g=ne("spacing"),p=ne("radius"),v=ne("shadow"),b=ne("inset-shadow"),S=ne("text-shadow"),A=ne("drop-shadow"),C=ne("blur"),N=ne("perspective"),_=ne("aspect"),B=ne("ease"),Z=ne("animate"),X=()=>["auto","avoid","all","avoid-page","page","left","right","column"],J=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],Y=()=>[...J(),at,nt],ut=()=>["auto","hidden","clip","visible","scroll"],F=()=>["auto","contain","none"],k=()=>[at,nt,g],ct=()=>[xi,"full","auto",...k()],tt=()=>[Ti,"none","subgrid",at,nt],W=()=>["auto",{span:["full",Ti,at,nt]},Ti,at,nt],dt=()=>[Ti,"auto",at,nt],St=()=>["auto","min","max","fr",at,nt],wt=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],lt=()=>["start","end","center","stretch","center-safe","end-safe"],w=()=>["auto",...k()],q=()=>[xi,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...k()],Q=()=>[xi,"screen","full","dvw","lvw","svw","min","max","fit",...k()],ot=()=>[xi,"screen","full","lh","dvh","lvh","svh","min","max","fit",...k()],G=()=>[i,at,nt],x=()=>[...J(),Wy,Fy,{position:[at,nt]}],V=()=>["no-repeat",{repeat:["","x","y","space","round"]}],K=()=>["auto","cover","contain",mC,uC,{size:[at,nt]}],P=()=>[tf,ts,$i],I=()=>["","none","full",p,at,nt],rt=()=>["",bt,ts,$i],mt=()=>["solid","dashed","dotted","double"],Nt=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],pt=()=>[bt,tf,Wy,Fy],se=()=>["","none",C,at,nt],be=()=>["none",bt,at,nt],Se=()=>["none",bt,at,nt],xe=()=>[bt,at,nt],oe=()=>[xi,"full",...k()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[Kn],breakpoint:[Kn],color:[ob],container:[Kn],"drop-shadow":[Kn],ease:["in","out","in-out"],font:[rC],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[Kn],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[Kn],shadow:[Kn],spacing:["px",bt],text:[Kn],"text-shadow":[Kn],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",xi,nt,at,_]}],container:["container"],columns:[{columns:[bt,nt,at,m]}],"break-after":[{"break-after":X()}],"break-before":[{"break-before":X()}],"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:Y()}],overflow:[{overflow:ut()}],"overflow-x":[{"overflow-x":ut()}],"overflow-y":[{"overflow-y":ut()}],overscroll:[{overscroll:F()}],"overscroll-x":[{"overscroll-x":F()}],"overscroll-y":[{"overscroll-y":F()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:ct()}],"inset-x":[{"inset-x":ct()}],"inset-y":[{"inset-y":ct()}],start:[{"inset-s":ct(),start:ct()}],end:[{"inset-e":ct(),end:ct()}],"inset-bs":[{"inset-bs":ct()}],"inset-be":[{"inset-be":ct()}],top:[{top:ct()}],right:[{right:ct()}],bottom:[{bottom:ct()}],left:[{left:ct()}],visibility:["visible","invisible","collapse"],z:[{z:[Ti,"auto",at,nt]}],basis:[{basis:[xi,"full","auto",m,...k()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[bt,xi,"auto","initial","none",nt]}],grow:[{grow:["",bt,at,nt]}],shrink:[{shrink:["",bt,at,nt]}],order:[{order:[Ti,"first","last","none",at,nt]}],"grid-cols":[{"grid-cols":tt()}],"col-start-end":[{col:W()}],"col-start":[{"col-start":dt()}],"col-end":[{"col-end":dt()}],"grid-rows":[{"grid-rows":tt()}],"row-start-end":[{row:W()}],"row-start":[{"row-start":dt()}],"row-end":[{"row-end":dt()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":St()}],"auto-rows":[{"auto-rows":St()}],gap:[{gap:k()}],"gap-x":[{"gap-x":k()}],"gap-y":[{"gap-y":k()}],"justify-content":[{justify:[...wt(),"normal"]}],"justify-items":[{"justify-items":[...lt(),"normal"]}],"justify-self":[{"justify-self":["auto",...lt()]}],"align-content":[{content:["normal",...wt()]}],"align-items":[{items:[...lt(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...lt(),{baseline:["","last"]}]}],"place-content":[{"place-content":wt()}],"place-items":[{"place-items":[...lt(),"baseline"]}],"place-self":[{"place-self":["auto",...lt()]}],p:[{p:k()}],px:[{px:k()}],py:[{py:k()}],ps:[{ps:k()}],pe:[{pe:k()}],pbs:[{pbs:k()}],pbe:[{pbe:k()}],pt:[{pt:k()}],pr:[{pr:k()}],pb:[{pb:k()}],pl:[{pl:k()}],m:[{m:w()}],mx:[{mx:w()}],my:[{my:w()}],ms:[{ms:w()}],me:[{me:w()}],mbs:[{mbs:w()}],mbe:[{mbe:w()}],mt:[{mt:w()}],mr:[{mr:w()}],mb:[{mb:w()}],ml:[{ml:w()}],"space-x":[{"space-x":k()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":k()}],"space-y-reverse":["space-y-reverse"],size:[{size:q()}],"inline-size":[{inline:["auto",...Q()]}],"min-inline-size":[{"min-inline":["auto",...Q()]}],"max-inline-size":[{"max-inline":["none",...Q()]}],"block-size":[{block:["auto",...ot()]}],"min-block-size":[{"min-block":["auto",...ot()]}],"max-block-size":[{"max-block":["none",...ot()]}],w:[{w:[m,"screen",...q()]}],"min-w":[{"min-w":[m,"screen","none",...q()]}],"max-w":[{"max-w":[m,"screen","none","prose",{screen:[d]},...q()]}],h:[{h:["screen","lh",...q()]}],"min-h":[{"min-h":["screen","lh","none",...q()]}],"max-h":[{"max-h":["screen","lh",...q()]}],"font-size":[{text:["base",s,ts,$i]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[o,gC,cC]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",tf,nt]}],"font-family":[{font:[hC,fC,a]}],"font-features":[{"font-features":[nt]}],"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:[c,at,nt]}],"line-clamp":[{"line-clamp":[bt,"none",at,Py]}],leading:[{leading:[f,...k()]}],"list-image":[{"list-image":["none",at,nt]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",at,nt]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:G()}],"text-color":[{text:G()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...mt(),"wavy"]}],"text-decoration-thickness":[{decoration:[bt,"from-font","auto",at,$i]}],"text-decoration-color":[{decoration:G()}],"underline-offset":[{"underline-offset":[bt,"auto",at,nt]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:k()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",at,nt]}],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",at,nt]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:x()}],"bg-repeat":[{bg:V()}],"bg-size":[{bg:K()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},Ti,at,nt],radial:["",at,nt],conic:[Ti,at,nt]},pC,dC]}],"bg-color":[{bg:G()}],"gradient-from-pos":[{from:P()}],"gradient-via-pos":[{via:P()}],"gradient-to-pos":[{to:P()}],"gradient-from":[{from:G()}],"gradient-via":[{via:G()}],"gradient-to":[{to:G()}],rounded:[{rounded:I()}],"rounded-s":[{"rounded-s":I()}],"rounded-e":[{"rounded-e":I()}],"rounded-t":[{"rounded-t":I()}],"rounded-r":[{"rounded-r":I()}],"rounded-b":[{"rounded-b":I()}],"rounded-l":[{"rounded-l":I()}],"rounded-ss":[{"rounded-ss":I()}],"rounded-se":[{"rounded-se":I()}],"rounded-ee":[{"rounded-ee":I()}],"rounded-es":[{"rounded-es":I()}],"rounded-tl":[{"rounded-tl":I()}],"rounded-tr":[{"rounded-tr":I()}],"rounded-br":[{"rounded-br":I()}],"rounded-bl":[{"rounded-bl":I()}],"border-w":[{border:rt()}],"border-w-x":[{"border-x":rt()}],"border-w-y":[{"border-y":rt()}],"border-w-s":[{"border-s":rt()}],"border-w-e":[{"border-e":rt()}],"border-w-bs":[{"border-bs":rt()}],"border-w-be":[{"border-be":rt()}],"border-w-t":[{"border-t":rt()}],"border-w-r":[{"border-r":rt()}],"border-w-b":[{"border-b":rt()}],"border-w-l":[{"border-l":rt()}],"divide-x":[{"divide-x":rt()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":rt()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...mt(),"hidden","none"]}],"divide-style":[{divide:[...mt(),"hidden","none"]}],"border-color":[{border:G()}],"border-color-x":[{"border-x":G()}],"border-color-y":[{"border-y":G()}],"border-color-s":[{"border-s":G()}],"border-color-e":[{"border-e":G()}],"border-color-bs":[{"border-bs":G()}],"border-color-be":[{"border-be":G()}],"border-color-t":[{"border-t":G()}],"border-color-r":[{"border-r":G()}],"border-color-b":[{"border-b":G()}],"border-color-l":[{"border-l":G()}],"divide-color":[{divide:G()}],"outline-style":[{outline:[...mt(),"none","hidden"]}],"outline-offset":[{"outline-offset":[bt,at,nt]}],"outline-w":[{outline:["",bt,ts,$i]}],"outline-color":[{outline:G()}],shadow:[{shadow:["","none",v,ko,Ho]}],"shadow-color":[{shadow:G()}],"inset-shadow":[{"inset-shadow":["none",b,ko,Ho]}],"inset-shadow-color":[{"inset-shadow":G()}],"ring-w":[{ring:rt()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:G()}],"ring-offset-w":[{"ring-offset":[bt,$i]}],"ring-offset-color":[{"ring-offset":G()}],"inset-ring-w":[{"inset-ring":rt()}],"inset-ring-color":[{"inset-ring":G()}],"text-shadow":[{"text-shadow":["none",S,ko,Ho]}],"text-shadow-color":[{"text-shadow":G()}],opacity:[{opacity:[bt,at,nt]}],"mix-blend":[{"mix-blend":[...Nt(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":Nt()}],"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":[bt]}],"mask-image-linear-from-pos":[{"mask-linear-from":pt()}],"mask-image-linear-to-pos":[{"mask-linear-to":pt()}],"mask-image-linear-from-color":[{"mask-linear-from":G()}],"mask-image-linear-to-color":[{"mask-linear-to":G()}],"mask-image-t-from-pos":[{"mask-t-from":pt()}],"mask-image-t-to-pos":[{"mask-t-to":pt()}],"mask-image-t-from-color":[{"mask-t-from":G()}],"mask-image-t-to-color":[{"mask-t-to":G()}],"mask-image-r-from-pos":[{"mask-r-from":pt()}],"mask-image-r-to-pos":[{"mask-r-to":pt()}],"mask-image-r-from-color":[{"mask-r-from":G()}],"mask-image-r-to-color":[{"mask-r-to":G()}],"mask-image-b-from-pos":[{"mask-b-from":pt()}],"mask-image-b-to-pos":[{"mask-b-to":pt()}],"mask-image-b-from-color":[{"mask-b-from":G()}],"mask-image-b-to-color":[{"mask-b-to":G()}],"mask-image-l-from-pos":[{"mask-l-from":pt()}],"mask-image-l-to-pos":[{"mask-l-to":pt()}],"mask-image-l-from-color":[{"mask-l-from":G()}],"mask-image-l-to-color":[{"mask-l-to":G()}],"mask-image-x-from-pos":[{"mask-x-from":pt()}],"mask-image-x-to-pos":[{"mask-x-to":pt()}],"mask-image-x-from-color":[{"mask-x-from":G()}],"mask-image-x-to-color":[{"mask-x-to":G()}],"mask-image-y-from-pos":[{"mask-y-from":pt()}],"mask-image-y-to-pos":[{"mask-y-to":pt()}],"mask-image-y-from-color":[{"mask-y-from":G()}],"mask-image-y-to-color":[{"mask-y-to":G()}],"mask-image-radial":[{"mask-radial":[at,nt]}],"mask-image-radial-from-pos":[{"mask-radial-from":pt()}],"mask-image-radial-to-pos":[{"mask-radial-to":pt()}],"mask-image-radial-from-color":[{"mask-radial-from":G()}],"mask-image-radial-to-color":[{"mask-radial-to":G()}],"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":J()}],"mask-image-conic-pos":[{"mask-conic":[bt]}],"mask-image-conic-from-pos":[{"mask-conic-from":pt()}],"mask-image-conic-to-pos":[{"mask-conic-to":pt()}],"mask-image-conic-from-color":[{"mask-conic-from":G()}],"mask-image-conic-to-color":[{"mask-conic-to":G()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:x()}],"mask-repeat":[{mask:V()}],"mask-size":[{mask:K()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",at,nt]}],filter:[{filter:["","none",at,nt]}],blur:[{blur:se()}],brightness:[{brightness:[bt,at,nt]}],contrast:[{contrast:[bt,at,nt]}],"drop-shadow":[{"drop-shadow":["","none",A,ko,Ho]}],"drop-shadow-color":[{"drop-shadow":G()}],grayscale:[{grayscale:["",bt,at,nt]}],"hue-rotate":[{"hue-rotate":[bt,at,nt]}],invert:[{invert:["",bt,at,nt]}],saturate:[{saturate:[bt,at,nt]}],sepia:[{sepia:["",bt,at,nt]}],"backdrop-filter":[{"backdrop-filter":["","none",at,nt]}],"backdrop-blur":[{"backdrop-blur":se()}],"backdrop-brightness":[{"backdrop-brightness":[bt,at,nt]}],"backdrop-contrast":[{"backdrop-contrast":[bt,at,nt]}],"backdrop-grayscale":[{"backdrop-grayscale":["",bt,at,nt]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[bt,at,nt]}],"backdrop-invert":[{"backdrop-invert":["",bt,at,nt]}],"backdrop-opacity":[{"backdrop-opacity":[bt,at,nt]}],"backdrop-saturate":[{"backdrop-saturate":[bt,at,nt]}],"backdrop-sepia":[{"backdrop-sepia":["",bt,at,nt]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":k()}],"border-spacing-x":[{"border-spacing-x":k()}],"border-spacing-y":[{"border-spacing-y":k()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",at,nt]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[bt,"initial",at,nt]}],ease:[{ease:["linear","initial",B,at,nt]}],delay:[{delay:[bt,at,nt]}],animate:[{animate:["none",Z,at,nt]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[N,at,nt]}],"perspective-origin":[{"perspective-origin":Y()}],rotate:[{rotate:be()}],"rotate-x":[{"rotate-x":be()}],"rotate-y":[{"rotate-y":be()}],"rotate-z":[{"rotate-z":be()}],scale:[{scale:Se()}],"scale-x":[{"scale-x":Se()}],"scale-y":[{"scale-y":Se()}],"scale-z":[{"scale-z":Se()}],"scale-3d":["scale-3d"],skew:[{skew:xe()}],"skew-x":[{"skew-x":xe()}],"skew-y":[{"skew-y":xe()}],transform:[{transform:[at,nt,"","none","gpu","cpu"]}],"transform-origin":[{origin:Y()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:oe()}],"translate-x":[{"translate-x":oe()}],"translate-y":[{"translate-y":oe()}],"translate-z":[{"translate-z":oe()}],"translate-none":["translate-none"],accent:[{accent:G()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:G()}],"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",at,nt]}],"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":k()}],"scroll-mx":[{"scroll-mx":k()}],"scroll-my":[{"scroll-my":k()}],"scroll-ms":[{"scroll-ms":k()}],"scroll-me":[{"scroll-me":k()}],"scroll-mbs":[{"scroll-mbs":k()}],"scroll-mbe":[{"scroll-mbe":k()}],"scroll-mt":[{"scroll-mt":k()}],"scroll-mr":[{"scroll-mr":k()}],"scroll-mb":[{"scroll-mb":k()}],"scroll-ml":[{"scroll-ml":k()}],"scroll-p":[{"scroll-p":k()}],"scroll-px":[{"scroll-px":k()}],"scroll-py":[{"scroll-py":k()}],"scroll-ps":[{"scroll-ps":k()}],"scroll-pe":[{"scroll-pe":k()}],"scroll-pbs":[{"scroll-pbs":k()}],"scroll-pbe":[{"scroll-pbe":k()}],"scroll-pt":[{"scroll-pt":k()}],"scroll-pr":[{"scroll-pr":k()}],"scroll-pb":[{"scroll-pb":k()}],"scroll-pl":[{"scroll-pl":k()}],"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",at,nt]}],fill:[{fill:["none",...G()]}],"stroke-w":[{stroke:[bt,ts,$i,Py]}],stroke:[{stroke:["none",...G()]}],"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"]}},bC=Ww(vC);function yr(...i){return bC(tb(i))}function SC({className:i,children:a,...s}){return $.jsxs(yw,{"data-slot":"scroll-area",className:yr("relative",i),...s,children:[$.jsx(Ew,{"data-slot":"scroll-area-viewport",className:"size-full rounded-[inherit] transition-[color,box-shadow] outline-none focus-visible:ring-[3px] focus-visible:ring-ring/50 focus-visible:outline-1",children:a}),$.jsx(xC,{}),$.jsx(Rw,{})]})}function xC({className:i,orientation:a="vertical",...s}){return $.jsx(Dw,{"data-slot":"scroll-area-scrollbar","data-orientation":a,orientation:a,className:yr("flex touch-none p-px transition-colors select-none data-horizontal:h-2.5 data-horizontal:flex-col data-horizontal:border-t data-horizontal:border-t-transparent data-vertical:h-full data-vertical:w-2.5 data-vertical:border-l data-vertical:border-l-transparent",i),...s,children:$.jsx(zw,{"data-slot":"scroll-area-thumb",className:"relative flex-1 rounded-full bg-border"})})}function TC(i){return aa(i.defaultTagName??"div",i,i)}const $y=i=>typeof i=="boolean"?`${i}`:i===0?"0":i,Iy=tb,pb=(i,a)=>s=>{var o;if((a==null?void 0:a.variants)==null)return Iy(i,s==null?void 0:s.class,s==null?void 0:s.className);const{variants:c,defaultVariants:f}=a,d=Object.keys(c).map(p=>{const v=s==null?void 0:s[p],b=f==null?void 0:f[p];if(v===null)return null;const S=$y(v)||$y(b);return c[p][S]}),m=s&&Object.entries(s).reduce((p,v)=>{let[b,S]=v;return S===void 0||(p[b]=S),p},{}),g=a==null||(o=a.compoundVariants)===null||o===void 0?void 0:o.reduce((p,v)=>{let{class:b,className:S,...A}=v;return Object.entries(A).every(C=>{let[N,_]=C;return Array.isArray(_)?_.includes({...f,...m}[N]):{...f,...m}[N]===_})?[...p,b,S]:p},[]);return Iy(i,d,g,s==null?void 0:s.class,s==null?void 0:s.className)},AC=pb("group/badge inline-flex h-5 w-fit shrink-0 items-center justify-center gap-1 overflow-hidden rounded-4xl border border-transparent px-2 py-0.5 text-xs font-medium whitespace-nowrap transition-all focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 [&>svg]:pointer-events-none [&>svg]:size-3!",{variants:{variant:{default:"bg-primary text-primary-foreground [a]:hover:bg-primary/80",secondary:"bg-secondary text-secondary-foreground [a]:hover:bg-secondary/80",destructive:"bg-destructive/10 text-destructive focus-visible:ring-destructive/20 dark:bg-destructive/20 dark:focus-visible:ring-destructive/40 [a]:hover:bg-destructive/20",outline:"border-border text-foreground [a]:hover:bg-muted [a]:hover:text-muted-foreground",ghost:"hover:bg-muted hover:text-muted-foreground dark:hover:bg-muted/50",link:"text-primary underline-offset-4 hover:underline"}},defaultVariants:{variant:"default"}});function t0({className:i,variant:a="default",render:s,...o}){return TC({defaultTagName:"span",props:sd({className:yr(AC({variant:a}),i)},o),render:s,state:{slot:"badge",variant:a}})}const EC=L.createContext(void 0);function MC(i=!1){const a=L.useContext(EC);if(a===void 0&&!i)throw new Error(mr(16));return a}function wC(i){const{focusableWhenDisabled:a,disabled:s,composite:o=!1,tabIndex:c=0,isNativeButton:f}=i,d=o&&a!==!1,m=o&&a===!1;return{props:L.useMemo(()=>{const p={onKeyDown(v){s&&a&&v.key!=="Tab"&&v.preventDefault()}};return o||(p.tabIndex=c,!f&&s&&(p.tabIndex=a?c:-1)),(f&&(a||d)||!f&&s)&&(p["aria-disabled"]=s),f&&(!a||m)&&(p.disabled=s),p},[o,s,a,d,m,f,c])}}function CC(i={}){const{disabled:a=!1,focusableWhenDisabled:s,tabIndex:o=0,native:c=!0,composite:f}=i,d=L.useRef(null),m=MC(!0),g=f??m!==void 0,{props:p}=wC({focusableWhenDisabled:s,disabled:a,composite:g,tabIndex:o,isNativeButton:c}),v=L.useCallback(()=>{const A=d.current;ef(A)&&g&&a&&p.disabled===void 0&&A.disabled&&(A.disabled=!1)},[a,p.disabled,g]);Po(v,[v]);const b=L.useCallback((A={})=>{const{onClick:C,onMouseDown:N,onKeyUp:_,onKeyDown:B,onPointerDown:Z,...X}=A;return sd({type:c?"button":void 0,onClick(Y){if(a){Y.preventDefault();return}C==null||C(Y)},onMouseDown(Y){a||N==null||N(Y)},onKeyDown(Y){if(a||(zf(Y),B==null||B(Y),Y.baseUIHandlerPrevented))return;const ut=Y.target===Y.currentTarget,F=Y.currentTarget,k=ef(F),ct=!c&&DC(F),tt=ut&&(c?k:!ct),W=Y.key==="Enter",dt=Y.key===" ",St=F.getAttribute("role"),wt=(St==null?void 0:St.startsWith("menuitem"))||St==="option"||St==="gridcell";if(ut&&g&&dt){if(Y.defaultPrevented&&wt)return;Y.preventDefault(),ct||c&&k?(F.click(),Y.preventBaseUIHandler()):tt&&(C==null||C(Y),Y.preventBaseUIHandler());return}tt&&(!c&&(dt||W)&&Y.preventDefault(),!c&&W&&(C==null||C(Y)))},onKeyUp(Y){if(!a){if(zf(Y),_==null||_(Y),Y.target===Y.currentTarget&&c&&g&&ef(Y.currentTarget)&&Y.key===" "){Y.preventDefault();return}Y.baseUIHandlerPrevented||Y.target===Y.currentTarget&&!c&&!g&&Y.key===" "&&(C==null||C(Y))}},onPointerDown(Y){if(a){Y.preventDefault();return}Z==null||Z(Y)}},c?void 0:{role:"button"},p,X)},[a,p,g,c]),S=el(A=>{d.current=A,v()});return{getButtonProps:b,buttonRef:S}}function ef(i){return nw(i)&&i.tagName==="BUTTON"}function DC(i){return!!((i==null?void 0:i.tagName)==="A"&&(i!=null&&i.href))}const zC=L.forwardRef(function(a,s){const{render:o,className:c,disabled:f=!1,focusableWhenDisabled:d=!1,nativeButton:m=!0,...g}=a,{getButtonProps:p,buttonRef:v}=CC({disabled:f,focusableWhenDisabled:d,native:m});return aa("button",a,{state:{disabled:f},ref:[s,v],props:[g,p]})}),RC=pb("group/button inline-flex shrink-0 items-center justify-center rounded-lg border border-transparent bg-clip-padding text-sm font-medium whitespace-nowrap transition-all outline-none select-none focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 active:not-aria-[haspopup]:translate-y-px disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",{variants:{variant:{default:"bg-primary text-primary-foreground [a]:hover:bg-primary/80",outline:"border-border bg-background hover:bg-muted hover:text-foreground aria-expanded:bg-muted aria-expanded:text-foreground dark:border-input dark:bg-input/30 dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80 aria-expanded:bg-secondary aria-expanded:text-secondary-foreground",ghost:"hover:bg-muted hover:text-foreground aria-expanded:bg-muted aria-expanded:text-foreground dark:hover:bg-muted/50",destructive:"bg-destructive/10 text-destructive hover:bg-destructive/20 focus-visible:border-destructive/40 focus-visible:ring-destructive/20 dark:bg-destructive/20 dark:hover:bg-destructive/30 dark:focus-visible:ring-destructive/40",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-8 gap-1.5 px-2.5 has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2",xs:"h-6 gap-1 rounded-[min(var(--radius-md),10px)] px-2 text-xs in-data-[slot=button-group]:rounded-lg has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 [&_svg:not([class*='size-'])]:size-3",sm:"h-7 gap-1 rounded-[min(var(--radius-md),12px)] px-2.5 text-[0.8rem] in-data-[slot=button-group]:rounded-lg has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 [&_svg:not([class*='size-'])]:size-3.5",lg:"h-9 gap-1.5 px-2.5 has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2",icon:"size-8","icon-xs":"size-6 rounded-[min(var(--radius-md),10px)] in-data-[slot=button-group]:rounded-lg [&_svg:not([class*='size-'])]:size-3","icon-sm":"size-7 rounded-[min(var(--radius-md),12px)] in-data-[slot=button-group]:rounded-lg","icon-lg":"size-9"}},defaultVariants:{variant:"default",size:"default"}});function OC({className:i,variant:a="default",size:s="default",...o}){return $.jsx(zC,{"data-slot":"button",className:yr(RC({variant:a,size:s,className:i})),...o})}function VC(i){const a=i.toLowerCase();return a.includes("chrome://")||a.includes("cannot access a chrome:// url")?"This is a Chrome internal page (like New Tab). Open a regular website to run the analysis.":a.includes("cannot access contents of url")?"This page blocks extension access. Try another tab with a regular website.":a.includes("receiving end does not exist")?"Could not connect to this tab yet. Refresh the page and try Rescan.":"Could not analyze this page. Try refreshing the tab and clicking Rescan."}async function NC(i){return await chrome.scripting.executeScript({target:{tabId:i},files:["content.js"]}),new Promise((a,s)=>{chrome.tabs.sendMessage(i,{action:"analyze"},o=>{if(chrome.runtime.lastError){s(new Error(chrome.runtime.lastError.message));return}if(!o){s(new Error("No response from content script after injection."));return}a(o)})})}async function _C(){var o;if(!((o=chrome==null?void 0:chrome.tabs)!=null&&o.query))return CM(document);const a=(await chrome.tabs.query({active:!0,currentWindow:!0}))[0];if(!(a!=null&&a.id))throw new Error("No active tab found.");const s=a.url||"";if(s.startsWith("chrome://")||s.startsWith("chrome-extension://")||s.startsWith("edge://"))throw new Error("Cannot access a chrome:// URL");try{return await new Promise((c,f)=>{chrome.tabs.sendMessage(a.id,{action:"analyze"},d=>{if(chrome.runtime.lastError){f(new Error(chrome.runtime.lastError.message));return}if(!d){f(new Error("No response from content script."));return}c(d)})})}catch{return NC(a.id)}}function BC(){const[i,a]=L.useState(null),[s,o]=L.useState(!1),[c,f]=L.useState(null),d=L.useMemo(()=>i?i.score<30?"text-emerald-500":i.score<70?"text-amber-500":"text-rose-500":"text-slate-300",[i]),m=L.useMemo(()=>i?i.score<30?"Human / Handcrafted":i.score<70?"Hybrid / Assisted":"Vibe Coded / AI-First":null,[i]),g=L.useMemo(()=>i?i.score<30?$.jsx(vM,{className:`w-8 h-8 ${d}`}):i.score<70?$.jsx(SM,{className:`w-8 h-8 ${d}`}):$.jsx(gM,{className:`w-8 h-8 ${d}`}):null,[i,d]),p=b=>{const S="w-3 h-3 text-indigo-400 shrink-0";return{"Tailwind & Utility DNA":$.jsx(_y,{className:S}),"Shadcn/UI & Radix":$.jsx(rM,{className:S}),"AI Iconography (Lucide)":$.jsx(Ny,{className:S}),"Vibe Coding Stack":$.jsx(Oy,{className:S}),"AI IDE & Agent Markers":$.jsx(dM,{className:S}),"Platform Signatures":$.jsx(Vy,{className:S}),"Prompt Artifact Comments":$.jsx(aM,{className:S}),"Model/Provider Metadata":$.jsx(ZE,{className:S}),"Generic Code Structure":$.jsx(FE,{className:S}),"AI SDK/Dependency Clues":$.jsx(sM,{className:S}),"Commit/PR Metadata":$.jsx($E,{className:S}),"Default AI UI Patterns":$.jsx(nM,{className:S}),"Consistent Formatting":$.jsx(EM,{className:S}),"External AI References":$.jsx(JE,{className:S}),"Build/CI AI Artifacts":$.jsx(mM,{className:S})}[b]??$.jsx(Vy,{className:S})},v=async()=>{o(!0),f(null);try{const b=await _C();a(b)}catch(b){const S=b instanceof Error?b.message:"Failed to analyze active tab.";f(VC(S))}finally{o(!1)}};return L.useEffect(()=>{v()},[]),$.jsxs("div",{className:"w-[380px] bg-slate-950 text-slate-50 font-sans border border-slate-800 rounded-xl shadow-2xl overflow-hidden",children:[$.jsxs("div",{className:"px-4 py-3 border-b border-slate-800 bg-slate-900/50 flex items-center justify-between",children:[$.jsxs("div",{className:"flex items-center gap-2",children:[$.jsx("div",{className:"w-8 h-8 bg-indigo-600 rounded-lg flex items-center justify-center shadow-lg shadow-indigo-500/20",children:$.jsx(Ny,{className:"w-5 h-5 text-white"})}),$.jsx("div",{children:$.jsx("h1",{className:"text-sm font-bold tracking-tight",children:"Vibe Code Detector"})})]}),$.jsx(OC,{variant:"ghost",size:"icon",onClick:v,disabled:s,className:"hover:bg-slate-800 text-slate-400",children:$.jsx(cM,{className:`w-4 h-4 ${s?"animate-spin":""}`})})]}),$.jsx(SC,{className:"h-[480px]",children:$.jsxs("div",{className:"p-4 space-y-6",children:[$.jsx("div",{className:"flex flex-col items-center justify-center py-4",children:s?$.jsxs("div",{className:"flex flex-col items-center gap-4",children:[$.jsxs("div",{className:"relative",children:[$.jsx("div",{className:"w-24 h-24 border-4 border-indigo-500/20 border-t-indigo-500 rounded-full animate-spin"}),$.jsx("div",{className:"absolute inset-0 flex items-center justify-center",children:$.jsx(_y,{className:"w-8 h-8 text-indigo-500 animate-pulse"})})]}),$.jsx("p",{className:"text-sm font-medium text-slate-400 animate-pulse",children:"Analyzing heuristics..."})]}):i?$.jsxs(zy.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},className:"flex flex-col items-center text-center gap-2",children:[$.jsx("div",{className:"mb-2",children:g}),$.jsxs("div",{className:"text-5xl font-black tracking-tighter flex items-baseline gap-1",children:[$.jsx("span",{className:d,children:i.score}),$.jsx("span",{className:"text-xl text-slate-600",children:"/100"})]}),$.jsx(t0,{variant:"outline",className:`${d} border-current bg-current/5 px-3 py-1`,children:m}),$.jsx("p",{className:"text-xs text-slate-400 mt-2 max-w-[250px]",children:"Probability of this site being AI-generated or heavily assisted."})]}):null}),$.jsxs("div",{className:"space-y-3",children:[$.jsxs("div",{className:"flex items-center justify-between",children:[$.jsxs("h3",{className:"text-xs font-semibold text-slate-500 uppercase tracking-wider flex items-center gap-2",children:[$.jsx(Oy,{className:"w-3 h-3"})," Detected Factors"]}),i&&$.jsxs("span",{className:"text-xs font-bold tabular-nums text-slate-400",children:[$.jsx("span",{className:i.factors.filter(b=>b.detected).length>0?"text-indigo-400":"",children:i.factors.filter(b=>b.detected).length}),$.jsxs("span",{className:"text-slate-600",children:[" / ",i.factors.length]})]})]}),c&&$.jsx("div",{className:"rounded-lg border border-rose-500/40 bg-rose-500/10 p-3 text-xs text-rose-200",children:c}),!c&&i&&$.jsx("div",{className:"grid gap-2",children:i.factors.map((b,S)=>$.jsxs(zy.div,{initial:{opacity:0,x:-10},animate:{opacity:1,x:0},transition:{delay:S*.04},className:`p-3 rounded-lg border transition-colors ${b.detected?"bg-indigo-500/15 border-indigo-500/50":"bg-slate-950 border-slate-800/50 opacity-30"}`,children:[$.jsxs("div",{className:"flex items-center justify-between mb-1",children:[$.jsxs("div",{className:"flex items-center gap-2",children:[p(b.name),$.jsx("span",{className:`text-xs font-bold ${b.detected?"text-indigo-200":"text-slate-500"}`,children:b.name})]}),b.detected&&$.jsxs(t0,{className:"bg-indigo-500 text-[9px] h-4 px-1.5",children:["+",b.weight,"%"]})]}),$.jsx("p",{className:`text-[10px] leading-relaxed ${b.detected?"text-slate-300":"text-slate-600"}`,children:b.description})]},b.name))})]}),!c&&$.jsx("div",{className:"pt-2 border-t border-slate-800",children:$.jsxs("div",{className:"bg-slate-900 rounded-lg p-3 flex items-start gap-3",children:[$.jsx(tM,{className:"w-4 h-4 text-indigo-400 shrink-0 mt-0.5"}),$.jsx("p",{className:"text-[10px] text-slate-400 leading-normal",children:'"Vibe Coding" refers to a development style where AI generates most of the visual and structural code, resulting in highly standardized modern design patterns.'})]})})]})})]})}XS.createRoot(document.getElementById("root")).render($.jsx(L.StrictMode,{children:$.jsx(BC,{})})); diff --git a/extension/popup.html b/extension/popup.html index beb4d9a..b505f27 100644 --- a/extension/popup.html +++ b/extension/popup.html @@ -4,8 +4,8 @@ Vibe Code Detector - - + +