@assemble-inc/chat-widget 0.1.7 → 0.1.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,7 +1,7 @@
1
- (function(){"use strict";try{if(typeof document<"u"){var t=document.createElement("style");t.appendChild(document.createTextNode('/*! tailwindcss v4.2.4 | 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-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1;--tw-border-style:solid;--tw-gradient-position:initial;--tw-gradient-from:#0000;--tw-gradient-via:#0000;--tw-gradient-to:#0000;--tw-gradient-stops:initial;--tw-gradient-via-stops:initial;--tw-gradient-from-position:0%;--tw-gradient-via-position:50%;--tw-gradient-to-position:100%;--tw-leading:initial;--tw-font-weight:initial;--tw-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-duration:initial;--tw-ease:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--color-gray-200:oklch(92.8% .006 264.531);--color-gray-400:oklch(70.7% .022 261.325);--color-gray-500:oklch(55.1% .027 264.364);--color-gray-600:oklch(44.6% .03 256.802);--color-gray-700:oklch(37.3% .034 259.733);--color-neutral-300:oklch(87% 0 0);--color-white:#fff;--spacing:.25rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--text-xl:1.25rem;--text-xl--line-height:calc(1.75 / 1.25);--font-weight-medium:500;--font-weight-bold:700;--radius-xl:.75rem;--radius-2xl:1rem;--radius-3xl:1.5rem;--ease-in-out:cubic-bezier(.4, 0, .2, 1);--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--color-asm-white:#fff;--color-asm-purple:#2e2438;--color-asm-pink-400:#ffa2f6;--color-asm-blue:#a5d5d8;--color-asm-gray-500:#f1f1f1}}@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}:-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}}@layer components;@layer utilities{.pointer-events-none{pointer-events:none}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.top-1\\/2{top:50%}.top-2{top:calc(var(--spacing) * 2)}.top-4{top:calc(var(--spacing) * 4)}.right-0{right:calc(var(--spacing) * 0)}.right-2{right:calc(var(--spacing) * 2)}.right-4{right:calc(var(--spacing) * 4)}.right-6{right:calc(var(--spacing) * 6)}.-bottom-4{bottom:calc(var(--spacing) * -4)}.bottom-0{bottom:calc(var(--spacing) * 0)}.bottom-2{bottom:calc(var(--spacing) * 2)}.bottom-6{bottom:calc(var(--spacing) * 6)}.bottom-20{bottom:calc(var(--spacing) * 20)}.left-0{left:calc(var(--spacing) * 0)}.left-2{left:calc(var(--spacing) * 2)}.left-4{left:calc(var(--spacing) * 4)}.left-6{left:calc(var(--spacing) * 6)}.z-10{z-index:10}.z-40{z-index:40}.z-50{z-index:50}.z-\\[1\\]{z-index:1}.z-\\[2\\]{z-index:2}.z-\\[3\\]{z-index:3}.mr-1{margin-right:calc(var(--spacing) * 1)}.mb-2{margin-bottom:calc(var(--spacing) * 2)}.mb-24{margin-bottom:calc(var(--spacing) * 24)}.ml-1{margin-left:calc(var(--spacing) * 1)}.flex{display:flex}.h-3\\/4{height:75%}.h-5\\/6{height:83.3333%}.h-6{height:calc(var(--spacing) * 6)}.h-8{height:calc(var(--spacing) * 8)}.h-9{height:calc(var(--spacing) * 9)}.h-10{height:calc(var(--spacing) * 10)}.h-16{height:calc(var(--spacing) * 16)}.h-full{height:100%}.max-h-\\[500px\\]{max-height:500px}.max-h-\\[800px\\]{max-height:800px}.min-h-\\[46px\\]{min-height:46px}.w-6{width:calc(var(--spacing) * 6)}.w-8{width:calc(var(--spacing) * 8)}.w-9{width:calc(var(--spacing) * 9)}.w-10{width:calc(var(--spacing) * 10)}.w-16{width:calc(var(--spacing) * 16)}.w-80{width:calc(var(--spacing) * 80)}.w-full{width:100%}.max-w-none{max-width:none}.flex-1{flex:1}.shrink-0{flex-shrink:0}.origin-bottom-left{transform-origin:0 100%}.origin-bottom-right{transform-origin:100% 100%}.-translate-y-1\\/2{--tw-translate-y: -50% ;translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-y-0{--tw-translate-y:calc(var(--spacing) * 0);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-y-full{--tw-translate-y:100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.scale-0{--tw-scale-x:0%;--tw-scale-y:0%;--tw-scale-z:0%;scale:var(--tw-scale-x) var(--tw-scale-y)}.scale-100{--tw-scale-x:100%;--tw-scale-y:100%;--tw-scale-z:100%;scale:var(--tw-scale-x) var(--tw-scale-y)}.transform-gpu{transform:translateZ(0) var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.cursor-default{cursor:default}.cursor-pointer{cursor:pointer}.resize-none{resize:none}.flex-col{flex-direction:column}.flex-row{flex-direction:row}.flex-row-reverse{flex-direction:row-reverse}.items-center{align-items:center}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.justify-start{justify-content:flex-start}.gap-1\\.5{gap:calc(var(--spacing) * 1.5)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-3{gap:calc(var(--spacing) * 3)}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.rounded-2xl{border-radius:var(--radius-2xl)}.rounded-3xl{border-radius:var(--radius-3xl)}.rounded-\\[43px\\]{border-radius:43px}.rounded-full{border-radius:3.40282e38px}.rounded-xl{border-radius:var(--radius-xl)}.rounded-t-\\[43px\\]{border-top-left-radius:43px;border-top-right-radius:43px}.rounded-tl-\\[50\\%\\]{border-top-left-radius:50%}.rounded-tl-none{border-top-left-radius:0}.rounded-tr-\\[50\\%\\]{border-top-right-radius:50%}.rounded-tr-none{border-top-right-radius:0}.rounded-br{border-bottom-right-radius:.25rem}.rounded-br-\\[50\\%\\]{border-bottom-right-radius:50%}.rounded-bl{border-bottom-left-radius:.25rem}.rounded-bl-\\[50\\%\\]{border-bottom-left-radius:50%}.border{border-style:var(--tw-border-style);border-width:1px}.border-asm-purple{border-color:var(--color-asm-purple)}.border-asm-purple\\/40{border-color:#2e243866}@supports (color:color-mix(in lab,red,red)){.border-asm-purple\\/40{border-color:color-mix(in oklab,var(--color-asm-purple) 40%,transparent)}}.border-gray-200{border-color:var(--color-gray-200)}.border-gray-200\\/60{border-color:#e5e7eb99}@supports (color:color-mix(in lab,red,red)){.border-gray-200\\/60{border-color:color-mix(in oklab,var(--color-gray-200) 60%,transparent)}}.bg-asm-gray-500{background-color:var(--color-asm-gray-500)}.bg-asm-pink-400{background-color:var(--color-asm-pink-400)}.bg-asm-purple{background-color:var(--color-asm-purple)}.bg-asm-white{background-color:var(--color-asm-white)}.bg-transparent{background-color:#0000}.bg-white{background-color:var(--color-white)}.bg-gradient-to-br{--tw-gradient-position:to bottom right in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.from-gray-500{--tw-gradient-from:var(--color-gray-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-neutral-300{--tw-gradient-to:var(--color-neutral-300);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.p-2{padding:calc(var(--spacing) * 2)}.p-3{padding:calc(var(--spacing) * 3)}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-4{padding-inline:calc(var(--spacing) * 4)}.py-1{padding-block:calc(var(--spacing) * 1)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-3{padding-block:calc(var(--spacing) * 3)}.py-4{padding-block:calc(var(--spacing) * 4)}.py-6{padding-block:calc(var(--spacing) * 6)}.pt-6{padding-top:calc(var(--spacing) * 6)}.pr-12{padding-right:calc(var(--spacing) * 12)}.pb-2{padding-bottom:calc(var(--spacing) * 2)}.pb-3{padding-bottom:calc(var(--spacing) * 3)}.pb-20{padding-bottom:calc(var(--spacing) * 20)}.pl-4{padding-left:calc(var(--spacing) * 4)}.text-center{text-align:center}.text-left{text-align:left}.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))}.leading-\\[1\\.4\\]{--tw-leading:1.4;line-height:1.4}.leading-none{--tw-leading:1;line-height:1}.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)}.whitespace-pre-wrap{white-space:pre-wrap}.text-asm-purple{color:var(--color-asm-purple)}.text-gray-400{color:var(--color-gray-400)}.text-gray-600{color:var(--color-gray-600)}.text-gray-700{color:var(--color-gray-700)}.text-white{color:var(--color-white)}.uppercase{text-transform:uppercase}.opacity-0{opacity:0}.opacity-8{opacity:.08}.opacity-20{opacity:.2}.opacity-100{opacity:1}.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-md{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a), 0 2px 4px -2px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-sm{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.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)}.ring-gray-200{--tw-ring-color:var(--color-gray-200)}.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))}.duration-300{--tw-duration:.3s;transition-duration:.3s}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.first\\:pt-4:first-child{padding-top:calc(var(--spacing) * 4)}.last\\:pb-4:last-child{padding-bottom:calc(var(--spacing) * 4)}@media(hover:hover){.hover\\:bg-asm-blue\\/30:hover{background-color:#a5d5d84d}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-asm-blue\\/30:hover{background-color:color-mix(in oklab,var(--color-asm-blue) 30%,transparent)}}.hover\\:bg-asm-purple\\/10:hover{background-color:#2e24381a}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-asm-purple\\/10:hover{background-color:color-mix(in oklab,var(--color-asm-purple) 10%,transparent)}}}@media(prefers-reduced-motion:reduce){.motion-reduce\\:transition-none{transition-property:none}}}.asw-widget{font-family:Inter,sans-serif}.asw-widget *,.asw-widget :before,.asw-widget :after{box-sizing:border-box}.asw-widget textarea,.asw-widget input{outline:none!important}.asw-widget textarea:focus,.asw-widget input:focus{box-shadow:0 1px 2px #0000000d,0 0 0 2px var(--color-asm-blue)!important;outline:none!important}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-gradient-position{syntax:"*";inherits:false}@property --tw-gradient-from{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:"*";inherits:false}@property --tw-gradient-via-stops{syntax:"*";inherits:false}@property --tw-gradient-from-position{syntax:"<length-percentage>";inherits:false;initial-value:0%}@property --tw-gradient-via-position{syntax:"<length-percentage>";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:"<length-percentage>";inherits:false;initial-value:100%}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}')),document.head.appendChild(t)}}catch(a){console.error("vite-plugin-css-injected-by-js",a)}})();
2
- import { jsxs as Ae, jsx as W, Fragment as ls } from "react/jsx-runtime";
1
+ (function(){"use strict";try{if(typeof document<"u"){var t=document.createElement("style");t.appendChild(document.createTextNode('/*! tailwindcss v4.2.4 | 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-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1;--tw-border-style:solid;--tw-gradient-position:initial;--tw-gradient-from:#0000;--tw-gradient-via:#0000;--tw-gradient-to:#0000;--tw-gradient-stops:initial;--tw-gradient-via-stops:initial;--tw-gradient-from-position:0%;--tw-gradient-via-position:50%;--tw-gradient-to-position:100%;--tw-leading:initial;--tw-font-weight:initial;--tw-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-duration:initial;--tw-ease:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--color-gray-200:oklch(92.8% .006 264.531);--color-gray-400:oklch(70.7% .022 261.325);--color-gray-500:oklch(55.1% .027 264.364);--color-gray-600:oklch(44.6% .03 256.802);--color-gray-700:oklch(37.3% .034 259.733);--color-neutral-300:oklch(87% 0 0);--color-white:#fff;--spacing:.25rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--text-xl:1.25rem;--text-xl--line-height:calc(1.75 / 1.25);--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--radius-2xl:1rem;--ease-in-out:cubic-bezier(.4, 0, .2, 1);--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--color-asm-white:#fff;--color-asm-purple:#2e2438;--color-asm-pink-400:#ffa2f6;--color-asm-blue:#a5d5d8;--color-asm-gray-500:#f1f1f1}}@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}:-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}}@layer components;@layer utilities{.pointer-events-none{pointer-events:none}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.top-1\\/2{top:50%}.top-2{top:calc(var(--spacing) * 2)}.top-4{top:calc(var(--spacing) * 4)}.right-0{right:calc(var(--spacing) * 0)}.right-2{right:calc(var(--spacing) * 2)}.right-4{right:calc(var(--spacing) * 4)}.right-6{right:calc(var(--spacing) * 6)}.-bottom-4{bottom:calc(var(--spacing) * -4)}.bottom-0{bottom:calc(var(--spacing) * 0)}.bottom-2{bottom:calc(var(--spacing) * 2)}.bottom-6{bottom:calc(var(--spacing) * 6)}.bottom-20{bottom:calc(var(--spacing) * 20)}.left-0{left:calc(var(--spacing) * 0)}.left-2{left:calc(var(--spacing) * 2)}.left-4{left:calc(var(--spacing) * 4)}.left-6{left:calc(var(--spacing) * 6)}.z-10{z-index:10}.z-40{z-index:40}.z-50{z-index:50}.z-\\[1\\]{z-index:1}.z-\\[2\\]{z-index:2}.z-\\[3\\]{z-index:3}.mr-1{margin-right:calc(var(--spacing) * 1)}.mb-2{margin-bottom:calc(var(--spacing) * 2)}.mb-24{margin-bottom:calc(var(--spacing) * 24)}.ml-1{margin-left:calc(var(--spacing) * 1)}.flex{display:flex}.h-3\\/4{height:75%}.h-5\\/6{height:83.3333%}.h-6{height:calc(var(--spacing) * 6)}.h-8{height:calc(var(--spacing) * 8)}.h-9{height:calc(var(--spacing) * 9)}.h-10{height:calc(var(--spacing) * 10)}.h-16{height:calc(var(--spacing) * 16)}.h-full{height:100%}.max-h-\\[500px\\]{max-height:500px}.max-h-\\[800px\\]{max-height:800px}.min-h-\\[46px\\]{min-height:46px}.w-6{width:calc(var(--spacing) * 6)}.w-8{width:calc(var(--spacing) * 8)}.w-9{width:calc(var(--spacing) * 9)}.w-10{width:calc(var(--spacing) * 10)}.w-16{width:calc(var(--spacing) * 16)}.w-80{width:calc(var(--spacing) * 80)}.w-full{width:100%}.max-w-none{max-width:none}.flex-1{flex:1}.shrink-0{flex-shrink:0}.origin-bottom-left{transform-origin:0 100%}.origin-bottom-right{transform-origin:100% 100%}.-translate-y-1\\/2{--tw-translate-y: -50% ;translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-y-0{--tw-translate-y:calc(var(--spacing) * 0);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-y-full{--tw-translate-y:100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.scale-0{--tw-scale-x:0%;--tw-scale-y:0%;--tw-scale-z:0%;scale:var(--tw-scale-x) var(--tw-scale-y)}.scale-100{--tw-scale-x:100%;--tw-scale-y:100%;--tw-scale-z:100%;scale:var(--tw-scale-x) var(--tw-scale-y)}.transform-gpu{transform:translateZ(0) var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.cursor-default{cursor:default}.cursor-pointer{cursor:pointer}.resize-none{resize:none}.flex-col{flex-direction:column}.flex-row{flex-direction:row}.flex-row-reverse{flex-direction:row-reverse}.items-center{align-items:center}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.justify-start{justify-content:flex-start}.gap-1\\.5{gap:calc(var(--spacing) * 1.5)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-3{gap:calc(var(--spacing) * 3)}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.rounded-2xl{border-radius:var(--radius-2xl)}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-xl{border-radius:var(--radius-xl)}.rounded-t-2xl{border-top-left-radius:var(--radius-2xl);border-top-right-radius:var(--radius-2xl)}.rounded-tl-\\[50\\%\\]{border-top-left-radius:50%}.rounded-tl-none{border-top-left-radius:0}.rounded-tr-\\[50\\%\\]{border-top-right-radius:50%}.rounded-tr-none{border-top-right-radius:0}.rounded-br{border-bottom-right-radius:.25rem}.rounded-br-\\[50\\%\\]{border-bottom-right-radius:50%}.rounded-bl{border-bottom-left-radius:.25rem}.rounded-bl-\\[50\\%\\]{border-bottom-left-radius:50%}.border{border-style:var(--tw-border-style);border-width:1px}.border-asm-purple{border-color:var(--color-asm-purple)}.border-asm-purple\\/40{border-color:#2e243866}@supports (color:color-mix(in lab,red,red)){.border-asm-purple\\/40{border-color:color-mix(in oklab,var(--color-asm-purple) 40%,transparent)}}.border-gray-200{border-color:var(--color-gray-200)}.border-gray-200\\/60{border-color:#e5e7eb99}@supports (color:color-mix(in lab,red,red)){.border-gray-200\\/60{border-color:color-mix(in oklab,var(--color-gray-200) 60%,transparent)}}.bg-asm-gray-500{background-color:var(--color-asm-gray-500)}.bg-asm-pink-400{background-color:var(--color-asm-pink-400)}.bg-asm-purple{background-color:var(--color-asm-purple)}.bg-asm-white{background-color:var(--color-asm-white)}.bg-transparent{background-color:#0000}.bg-white{background-color:var(--color-white)}.bg-gradient-to-br{--tw-gradient-position:to bottom right in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.from-gray-500{--tw-gradient-from:var(--color-gray-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-neutral-300{--tw-gradient-to:var(--color-neutral-300);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.p-2{padding:calc(var(--spacing) * 2)}.p-3{padding:calc(var(--spacing) * 3)}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-4{padding-inline:calc(var(--spacing) * 4)}.py-1{padding-block:calc(var(--spacing) * 1)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-3{padding-block:calc(var(--spacing) * 3)}.py-4{padding-block:calc(var(--spacing) * 4)}.py-6{padding-block:calc(var(--spacing) * 6)}.pt-6{padding-top:calc(var(--spacing) * 6)}.pr-12{padding-right:calc(var(--spacing) * 12)}.pb-2{padding-bottom:calc(var(--spacing) * 2)}.pb-3{padding-bottom:calc(var(--spacing) * 3)}.pb-20{padding-bottom:calc(var(--spacing) * 20)}.pl-4{padding-left:calc(var(--spacing) * 4)}.text-center{text-align:center}.text-left{text-align:left}.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))}.leading-\\[1\\.4\\]{--tw-leading:1.4;line-height:1.4}.leading-none{--tw-leading:1;line-height:1}.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)}.whitespace-pre-wrap{white-space:pre-wrap}.text-asm-purple{color:var(--color-asm-purple)}.text-gray-400{color:var(--color-gray-400)}.text-gray-600{color:var(--color-gray-600)}.text-gray-700{color:var(--color-gray-700)}.text-white{color:var(--color-white)}.uppercase{text-transform:uppercase}.opacity-0{opacity:0}.opacity-8{opacity:.08}.opacity-20{opacity:.2}.opacity-100{opacity:1}.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-md{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a), 0 2px 4px -2px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-sm{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.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)}.ring-gray-200{--tw-ring-color:var(--color-gray-200)}.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))}.duration-300{--tw-duration:.3s;transition-duration:.3s}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.select-none{-webkit-user-select:none;user-select:none}.first\\:pt-4:first-child{padding-top:calc(var(--spacing) * 4)}.last\\:pb-4:last-child{padding-bottom:calc(var(--spacing) * 4)}@media(hover:hover){.hover\\:bg-asm-blue\\/30:hover{background-color:#a5d5d84d}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-asm-blue\\/30:hover{background-color:color-mix(in oklab,var(--color-asm-blue) 30%,transparent)}}.hover\\:bg-asm-purple\\/10:hover{background-color:#2e24381a}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-asm-purple\\/10:hover{background-color:color-mix(in oklab,var(--color-asm-purple) 10%,transparent)}}}@media(prefers-reduced-motion:reduce){.motion-reduce\\:transition-none{transition-property:none}}}.asw-widget{font-family:Inter,sans-serif}.asw-widget *,.asw-widget :before,.asw-widget :after{box-sizing:border-box}.asw-widget textarea,.asw-widget input{outline:none!important}.asw-widget textarea:focus,.asw-widget input:focus{box-shadow:0 1px 2px #0000000d,0 0 0 2px var(--color-asm-blue)!important;outline:none!important}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-gradient-position{syntax:"*";inherits:false}@property --tw-gradient-from{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:"*";inherits:false}@property --tw-gradient-via-stops{syntax:"*";inherits:false}@property --tw-gradient-from-position{syntax:"<length-percentage>";inherits:false;initial-value:0%}@property --tw-gradient-via-position{syntax:"<length-percentage>";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:"<length-percentage>";inherits:false;initial-value:100%}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}')),document.head.appendChild(t)}}catch(a){console.error("vite-plugin-css-injected-by-js",a)}})();
2
+ import { jsxs as Ae, jsx as H, Fragment as ls } from "react/jsx-runtime";
3
3
  import { useRef as Zt, useCallback as Vn, useSyncExternalStore as Sn, useEffect as gt, useState as _t } from "react";
4
- var po = "vercel.ai.error", us = Symbol.for(po), jr, Br, Be = class fo extends (Br = Error, jr = us, Br) {
4
+ var po = "vercel.ai.error", us = Symbol.for(po), jr, Br, Ue = class fo extends (Br = Error, jr = us, Br) {
5
5
  /**
6
6
  * Creates an AI SDK Error.
7
7
  *
@@ -33,7 +33,7 @@ var po = "vercel.ai.error", us = Symbol.for(po), jr, Br, Be = class fo extends (
33
33
  function ho(e) {
34
34
  return e == null ? "unknown error" : typeof e == "string" ? e : e instanceof Error ? e.message : JSON.stringify(e);
35
35
  }
36
- var mo = "AI_InvalidArgumentError", go = `vercel.ai.error.${mo}`, cs = Symbol.for(go), Fr, Ur, ps = class extends (Ur = Be, Fr = cs, Ur) {
36
+ var mo = "AI_InvalidArgumentError", go = `vercel.ai.error.${mo}`, cs = Symbol.for(go), Fr, Ur, ps = class extends (Ur = Ue, Fr = cs, Ur) {
37
37
  constructor({
38
38
  message: e,
39
39
  cause: t,
@@ -42,9 +42,9 @@ var mo = "AI_InvalidArgumentError", go = `vercel.ai.error.${mo}`, cs = Symbol.fo
42
42
  super({ name: mo, message: e, cause: t }), this[Fr] = !0, this.argument = n;
43
43
  }
44
44
  static isInstance(e) {
45
- return Be.hasMarker(e, go);
45
+ return Ue.hasMarker(e, go);
46
46
  }
47
- }, yo = "AI_JSONParseError", vo = `vercel.ai.error.${yo}`, ds = Symbol.for(vo), $r, Hr, Vr = class extends (Hr = Be, $r = ds, Hr) {
47
+ }, yo = "AI_JSONParseError", vo = `vercel.ai.error.${yo}`, ds = Symbol.for(vo), $r, Hr, Vr = class extends (Hr = Ue, $r = ds, Hr) {
48
48
  constructor({ text: e, cause: t }) {
49
49
  super({
50
50
  name: yo,
@@ -54,9 +54,9 @@ Error message: ${ho(t)}`,
54
54
  }), this[$r] = !0, this.text = e;
55
55
  }
56
56
  static isInstance(e) {
57
- return Be.hasMarker(e, vo);
57
+ return Ue.hasMarker(e, vo);
58
58
  }
59
- }, bo = "AI_TypeValidationError", wo = `vercel.ai.error.${bo}`, fs = Symbol.for(wo), Wr, qr, xt = class Wn extends (qr = Be, Wr = fs, qr) {
59
+ }, bo = "AI_TypeValidationError", wo = `vercel.ai.error.${bo}`, fs = Symbol.for(wo), Wr, qr, xt = class Wn extends (qr = Ue, Wr = fs, qr) {
60
60
  constructor({
61
61
  value: t,
62
62
  cause: n,
@@ -76,7 +76,7 @@ Error message: ${ho(n)}`,
76
76
  }), this[Wr] = !0, this.value = t, this.context = r;
77
77
  }
78
78
  static isInstance(t) {
79
- return Be.hasMarker(t, wo);
79
+ return Ue.hasMarker(t, wo);
80
80
  }
81
81
  /**
82
82
  * Wraps an error into a TypeValidationError.
@@ -134,7 +134,7 @@ class $t extends Error {
134
134
  }
135
135
  }
136
136
  const xo = {};
137
- function Ye(e) {
137
+ function Qe(e) {
138
138
  return xo;
139
139
  }
140
140
  function ko(e) {
@@ -222,7 +222,7 @@ const ys = /* @__PURE__ */ new Set(["string", "number", "symbol"]);
222
222
  function Jt(e) {
223
223
  return e.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
224
224
  }
225
- function at(e, t, n) {
225
+ function st(e, t, n) {
226
226
  const r = new e._zod.constr(t ?? e._zod.def);
227
227
  return (!t || n != null && n.parent) && (r._zod.parent = e), r;
228
228
  }
@@ -256,7 +256,7 @@ function ws(e, t) {
256
256
  throw new Error(`Unrecognized key: "${i}"`);
257
257
  t[i] && (n[i] = r.shape[i]);
258
258
  }
259
- return at(e, {
259
+ return st(e, {
260
260
  ...e._zod.def,
261
261
  shape: n,
262
262
  checks: []
@@ -269,7 +269,7 @@ function xs(e, t) {
269
269
  throw new Error(`Unrecognized key: "${i}"`);
270
270
  t[i] && delete n[i];
271
271
  }
272
- return at(e, {
272
+ return st(e, {
273
273
  ...e._zod.def,
274
274
  shape: n,
275
275
  checks: []
@@ -287,10 +287,10 @@ function ks(e, t) {
287
287
  checks: []
288
288
  // delete existing checks
289
289
  };
290
- return at(e, n);
290
+ return st(e, n);
291
291
  }
292
292
  function Es(e, t) {
293
- return at(e, {
293
+ return st(e, {
294
294
  ...e._zod.def,
295
295
  get shape() {
296
296
  const n = { ...e._zod.def.shape, ...t._zod.def.shape };
@@ -318,7 +318,7 @@ function Is(e, t, n) {
318
318
  type: "optional",
319
319
  innerType: r[o]
320
320
  }) : r[o];
321
- return at(t, {
321
+ return st(t, {
322
322
  ...t._zod.def,
323
323
  shape: i,
324
324
  checks: []
@@ -341,7 +341,7 @@ function Ss(e, t, n) {
341
341
  type: "nonoptional",
342
342
  innerType: r[o]
343
343
  });
344
- return at(t, {
344
+ return st(t, {
345
345
  ...t._zod.def,
346
346
  shape: i,
347
347
  // optional: [],
@@ -355,7 +355,7 @@ function jt(e, t = 0) {
355
355
  return !0;
356
356
  return !1;
357
357
  }
358
- function nt(e, t) {
358
+ function rt(e, t) {
359
359
  return t.map((n) => {
360
360
  var r;
361
361
  return (r = n).path ?? (r.path = []), n.path.unshift(e), n;
@@ -364,7 +364,7 @@ function nt(e, t) {
364
364
  function tn(e) {
365
365
  return typeof e == "string" ? e : e == null ? void 0 : e.message;
366
366
  }
367
- function Qe(e, t, n) {
367
+ function Ge(e, t, n) {
368
368
  var i, o, a, s, u, l;
369
369
  const r = { ...e, path: e.path ?? [] };
370
370
  if (!e.message) {
@@ -437,7 +437,7 @@ const Cs = (e) => (t, n, r, i) => {
437
437
  if (a instanceof Promise)
438
438
  throw new $t();
439
439
  if (a.issues.length) {
440
- const s = new ((i == null ? void 0 : i.Err) ?? e)(a.issues.map((u) => Qe(u, o, Ye())));
440
+ const s = new ((i == null ? void 0 : i.Err) ?? e)(a.issues.map((u) => Ge(u, o, Qe())));
441
441
  throw Eo(s, i == null ? void 0 : i.callee), s;
442
442
  }
443
443
  return a.value;
@@ -445,7 +445,7 @@ const Cs = (e) => (t, n, r, i) => {
445
445
  const o = r ? Object.assign(r, { async: !0 }) : { async: !0 };
446
446
  let a = t._zod.run({ value: n, issues: [] }, o);
447
447
  if (a instanceof Promise && (a = await a), a.issues.length) {
448
- const s = new ((i == null ? void 0 : i.Err) ?? e)(a.issues.map((u) => Qe(u, o, Ye())));
448
+ const s = new ((i == null ? void 0 : i.Err) ?? e)(a.issues.map((u) => Ge(u, o, Qe())));
449
449
  throw Eo(s, i == null ? void 0 : i.callee), s;
450
450
  }
451
451
  return a.value;
@@ -455,14 +455,14 @@ const Cs = (e) => (t, n, r, i) => {
455
455
  throw new $t();
456
456
  return o.issues.length ? {
457
457
  success: !1,
458
- error: new (e ?? So)(o.issues.map((a) => Qe(a, i, Ye())))
458
+ error: new (e ?? So)(o.issues.map((a) => Ge(a, i, Qe())))
459
459
  } : { success: !0, data: o.value };
460
460
  }, Ts = /* @__PURE__ */ _o(Ao), Co = (e) => async (t, n, r) => {
461
461
  const i = r ? Object.assign(r, { async: !0 }) : { async: !0 };
462
462
  let o = t._zod.run({ value: n, issues: [] }, i);
463
463
  return o instanceof Promise && (o = await o), o.issues.length ? {
464
464
  success: !1,
465
- error: new e(o.issues.map((a) => Qe(a, i, Ye())))
465
+ error: new e(o.issues.map((a) => Ge(a, i, Qe())))
466
466
  } : { success: !0, data: o.value };
467
467
  }, Ps = /* @__PURE__ */ Co(Ao), Os = /^[cC][^\s-]{8,}$/, Ns = /^[0-9a-z]+$/, Ms = /^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/, Rs = /^[0-9a-vA-V]{20}$/, Ds = /^[A-Za-z0-9]{27}$/, Ls = /^[a-zA-Z0-9_-]{21}$/, Zs = /^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/, js = /^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$/, Jr = (e) => e ? new RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${e}[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$`) : /^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$/, Bs = /^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/, Fs = "^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";
468
468
  function Us() {
@@ -485,7 +485,7 @@ function Gs(e) {
485
485
  const Ks = (e) => {
486
486
  const t = e ? `[\\s\\S]{${(e == null ? void 0 : e.minimum) ?? 0},${(e == null ? void 0 : e.maximum) ?? ""}}` : "[\\s\\S]*";
487
487
  return new RegExp(`^${t}$`);
488
- }, el = /^\d+$/, tl = /^-?\d+(?:\.\d+)?/i, nl = /true|false/i, rl = /null/i, il = /^[^A-Z]*$/, ol = /^[^a-z]*$/, Ee = /* @__PURE__ */ k("$ZodCheck", (e, t) => {
488
+ }, el = /^\d+$/, tl = /^-?\d+(?:\.\d+)?/i, nl = /true|false/i, rl = /null/i, il = /^[^A-Z]*$/, ol = /^[^a-z]*$/, ke = /* @__PURE__ */ k("$ZodCheck", (e, t) => {
489
489
  var n;
490
490
  e._zod ?? (e._zod = {}), e._zod.def = t, (n = e._zod).onattach ?? (n.onattach = []);
491
491
  }), Oo = {
@@ -493,7 +493,7 @@ const Ks = (e) => {
493
493
  bigint: "bigint",
494
494
  object: "date"
495
495
  }, No = /* @__PURE__ */ k("$ZodCheckLessThan", (e, t) => {
496
- Ee.init(e, t);
496
+ ke.init(e, t);
497
497
  const n = Oo[typeof t.value];
498
498
  e._zod.onattach.push((r) => {
499
499
  const i = r._zod.bag, o = (t.inclusive ? i.maximum : i.exclusiveMaximum) ?? Number.POSITIVE_INFINITY;
@@ -510,7 +510,7 @@ const Ks = (e) => {
510
510
  });
511
511
  };
512
512
  }), Mo = /* @__PURE__ */ k("$ZodCheckGreaterThan", (e, t) => {
513
- Ee.init(e, t);
513
+ ke.init(e, t);
514
514
  const n = Oo[typeof t.value];
515
515
  e._zod.onattach.push((r) => {
516
516
  const i = r._zod.bag, o = (t.inclusive ? i.minimum : i.exclusiveMinimum) ?? Number.NEGATIVE_INFINITY;
@@ -527,7 +527,7 @@ const Ks = (e) => {
527
527
  });
528
528
  };
529
529
  }), al = /* @__PURE__ */ k("$ZodCheckMultipleOf", (e, t) => {
530
- Ee.init(e, t), e._zod.onattach.push((n) => {
530
+ ke.init(e, t), e._zod.onattach.push((n) => {
531
531
  var r;
532
532
  (r = n._zod.bag).multipleOf ?? (r.multipleOf = t.value);
533
533
  }), e._zod.check = (n) => {
@@ -544,7 +544,7 @@ const Ks = (e) => {
544
544
  };
545
545
  }), sl = /* @__PURE__ */ k("$ZodCheckNumberFormat", (e, t) => {
546
546
  var a;
547
- Ee.init(e, t), t.format = t.format || "float64";
547
+ ke.init(e, t), t.format = t.format || "float64";
548
548
  const n = (a = t.format) == null ? void 0 : a.includes("int"), r = n ? "int" : "number", [i, o] = bs[t.format];
549
549
  e._zod.onattach.push((s) => {
550
550
  const u = s._zod.bag;
@@ -601,7 +601,7 @@ const Ks = (e) => {
601
601
  };
602
602
  }), ll = /* @__PURE__ */ k("$ZodCheckMaxLength", (e, t) => {
603
603
  var n;
604
- Ee.init(e, t), (n = e._zod.def).when ?? (n.when = (r) => {
604
+ ke.init(e, t), (n = e._zod.def).when ?? (n.when = (r) => {
605
605
  const i = r.value;
606
606
  return !dr(i) && i.length !== void 0;
607
607
  }), e._zod.onattach.push((r) => {
@@ -624,7 +624,7 @@ const Ks = (e) => {
624
624
  };
625
625
  }), ul = /* @__PURE__ */ k("$ZodCheckMinLength", (e, t) => {
626
626
  var n;
627
- Ee.init(e, t), (n = e._zod.def).when ?? (n.when = (r) => {
627
+ ke.init(e, t), (n = e._zod.def).when ?? (n.when = (r) => {
628
628
  const i = r.value;
629
629
  return !dr(i) && i.length !== void 0;
630
630
  }), e._zod.onattach.push((r) => {
@@ -647,7 +647,7 @@ const Ks = (e) => {
647
647
  };
648
648
  }), cl = /* @__PURE__ */ k("$ZodCheckLengthEquals", (e, t) => {
649
649
  var n;
650
- Ee.init(e, t), (n = e._zod.def).when ?? (n.when = (r) => {
650
+ ke.init(e, t), (n = e._zod.def).when ?? (n.when = (r) => {
651
651
  const i = r.value;
652
652
  return !dr(i) && i.length !== void 0;
653
653
  }), e._zod.onattach.push((r) => {
@@ -670,7 +670,7 @@ const Ks = (e) => {
670
670
  };
671
671
  }), bn = /* @__PURE__ */ k("$ZodCheckStringFormat", (e, t) => {
672
672
  var n, r;
673
- Ee.init(e, t), e._zod.onattach.push((i) => {
673
+ ke.init(e, t), e._zod.onattach.push((i) => {
674
674
  const o = i._zod.bag;
675
675
  o.format = t.format, t.pattern && (o.patterns ?? (o.patterns = /* @__PURE__ */ new Set()), o.patterns.add(t.pattern));
676
676
  }), t.pattern ? (n = e._zod).check ?? (n.check = (i) => {
@@ -702,7 +702,7 @@ const Ks = (e) => {
702
702
  }), fl = /* @__PURE__ */ k("$ZodCheckUpperCase", (e, t) => {
703
703
  t.pattern ?? (t.pattern = ol), bn.init(e, t);
704
704
  }), hl = /* @__PURE__ */ k("$ZodCheckIncludes", (e, t) => {
705
- Ee.init(e, t);
705
+ ke.init(e, t);
706
706
  const n = Jt(t.includes), r = new RegExp(typeof t.position == "number" ? `^.{${t.position}}${n}` : n);
707
707
  t.pattern = r, e._zod.onattach.push((i) => {
708
708
  const o = i._zod.bag;
@@ -719,7 +719,7 @@ const Ks = (e) => {
719
719
  });
720
720
  };
721
721
  }), ml = /* @__PURE__ */ k("$ZodCheckStartsWith", (e, t) => {
722
- Ee.init(e, t);
722
+ ke.init(e, t);
723
723
  const n = new RegExp(`^${Jt(t.prefix)}.*`);
724
724
  t.pattern ?? (t.pattern = n), e._zod.onattach.push((r) => {
725
725
  const i = r._zod.bag;
@@ -736,7 +736,7 @@ const Ks = (e) => {
736
736
  });
737
737
  };
738
738
  }), gl = /* @__PURE__ */ k("$ZodCheckEndsWith", (e, t) => {
739
- Ee.init(e, t);
739
+ ke.init(e, t);
740
740
  const n = new RegExp(`.*${Jt(t.suffix)}$`);
741
741
  t.pattern ?? (t.pattern = n), e._zod.onattach.push((r) => {
742
742
  const i = r._zod.bag;
@@ -753,7 +753,7 @@ const Ks = (e) => {
753
753
  });
754
754
  };
755
755
  }), yl = /* @__PURE__ */ k("$ZodCheckOverwrite", (e, t) => {
756
- Ee.init(e, t), e._zod.check = (n) => {
756
+ ke.init(e, t), e._zod.check = (n) => {
757
757
  n.value = t.tx(n.value);
758
758
  };
759
759
  });
@@ -862,10 +862,10 @@ const bl = {
862
862
  inst: e
863
863
  }), r;
864
864
  };
865
- }), ae = /* @__PURE__ */ k("$ZodStringFormat", (e, t) => {
865
+ }), se = /* @__PURE__ */ k("$ZodStringFormat", (e, t) => {
866
866
  bn.init(e, t), mr.init(e, t);
867
867
  }), wl = /* @__PURE__ */ k("$ZodGUID", (e, t) => {
868
- t.pattern ?? (t.pattern = js), ae.init(e, t);
868
+ t.pattern ?? (t.pattern = js), se.init(e, t);
869
869
  }), xl = /* @__PURE__ */ k("$ZodUUID", (e, t) => {
870
870
  if (t.version) {
871
871
  const r = {
@@ -883,11 +883,11 @@ const bl = {
883
883
  t.pattern ?? (t.pattern = Jr(r));
884
884
  } else
885
885
  t.pattern ?? (t.pattern = Jr());
886
- ae.init(e, t);
886
+ se.init(e, t);
887
887
  }), kl = /* @__PURE__ */ k("$ZodEmail", (e, t) => {
888
- t.pattern ?? (t.pattern = Bs), ae.init(e, t);
888
+ t.pattern ?? (t.pattern = Bs), se.init(e, t);
889
889
  }), El = /* @__PURE__ */ k("$ZodURL", (e, t) => {
890
- ae.init(e, t), e._zod.check = (n) => {
890
+ se.init(e, t), e._zod.check = (n) => {
891
891
  try {
892
892
  const r = n.value, i = new URL(r), o = i.href;
893
893
  t.hostname && (t.hostname.lastIndex = 0, t.hostname.test(i.hostname) || n.issues.push({
@@ -919,34 +919,34 @@ const bl = {
919
919
  }
920
920
  };
921
921
  }), Il = /* @__PURE__ */ k("$ZodEmoji", (e, t) => {
922
- t.pattern ?? (t.pattern = Us()), ae.init(e, t);
922
+ t.pattern ?? (t.pattern = Us()), se.init(e, t);
923
923
  }), Sl = /* @__PURE__ */ k("$ZodNanoID", (e, t) => {
924
- t.pattern ?? (t.pattern = Ls), ae.init(e, t);
924
+ t.pattern ?? (t.pattern = Ls), se.init(e, t);
925
925
  }), Al = /* @__PURE__ */ k("$ZodCUID", (e, t) => {
926
- t.pattern ?? (t.pattern = Os), ae.init(e, t);
926
+ t.pattern ?? (t.pattern = Os), se.init(e, t);
927
927
  }), _l = /* @__PURE__ */ k("$ZodCUID2", (e, t) => {
928
- t.pattern ?? (t.pattern = Ns), ae.init(e, t);
928
+ t.pattern ?? (t.pattern = Ns), se.init(e, t);
929
929
  }), Cl = /* @__PURE__ */ k("$ZodULID", (e, t) => {
930
- t.pattern ?? (t.pattern = Ms), ae.init(e, t);
930
+ t.pattern ?? (t.pattern = Ms), se.init(e, t);
931
931
  }), zl = /* @__PURE__ */ k("$ZodXID", (e, t) => {
932
- t.pattern ?? (t.pattern = Rs), ae.init(e, t);
932
+ t.pattern ?? (t.pattern = Rs), se.init(e, t);
933
933
  }), Tl = /* @__PURE__ */ k("$ZodKSUID", (e, t) => {
934
- t.pattern ?? (t.pattern = Ds), ae.init(e, t);
934
+ t.pattern ?? (t.pattern = Ds), se.init(e, t);
935
935
  }), Pl = /* @__PURE__ */ k("$ZodISODateTime", (e, t) => {
936
- t.pattern ?? (t.pattern = Gs(t)), ae.init(e, t);
936
+ t.pattern ?? (t.pattern = Gs(t)), se.init(e, t);
937
937
  }), Ol = /* @__PURE__ */ k("$ZodISODate", (e, t) => {
938
- t.pattern ?? (t.pattern = Ys), ae.init(e, t);
938
+ t.pattern ?? (t.pattern = Ys), se.init(e, t);
939
939
  }), Nl = /* @__PURE__ */ k("$ZodISOTime", (e, t) => {
940
- t.pattern ?? (t.pattern = Qs(t)), ae.init(e, t);
940
+ t.pattern ?? (t.pattern = Qs(t)), se.init(e, t);
941
941
  }), Ml = /* @__PURE__ */ k("$ZodISODuration", (e, t) => {
942
- t.pattern ?? (t.pattern = Zs), ae.init(e, t);
942
+ t.pattern ?? (t.pattern = Zs), se.init(e, t);
943
943
  }), Rl = /* @__PURE__ */ k("$ZodIPv4", (e, t) => {
944
- t.pattern ?? (t.pattern = $s), ae.init(e, t), e._zod.onattach.push((n) => {
944
+ t.pattern ?? (t.pattern = $s), se.init(e, t), e._zod.onattach.push((n) => {
945
945
  const r = n._zod.bag;
946
946
  r.format = "ipv4";
947
947
  });
948
948
  }), Dl = /* @__PURE__ */ k("$ZodIPv6", (e, t) => {
949
- t.pattern ?? (t.pattern = Hs), ae.init(e, t), e._zod.onattach.push((n) => {
949
+ t.pattern ?? (t.pattern = Hs), se.init(e, t), e._zod.onattach.push((n) => {
950
950
  const r = n._zod.bag;
951
951
  r.format = "ipv6";
952
952
  }), e._zod.check = (n) => {
@@ -963,9 +963,9 @@ const bl = {
963
963
  }
964
964
  };
965
965
  }), Ll = /* @__PURE__ */ k("$ZodCIDRv4", (e, t) => {
966
- t.pattern ?? (t.pattern = Vs), ae.init(e, t);
966
+ t.pattern ?? (t.pattern = Vs), se.init(e, t);
967
967
  }), Zl = /* @__PURE__ */ k("$ZodCIDRv6", (e, t) => {
968
- t.pattern ?? (t.pattern = Ws), ae.init(e, t), e._zod.check = (n) => {
968
+ t.pattern ?? (t.pattern = Ws), se.init(e, t), e._zod.check = (n) => {
969
969
  const [r, i] = n.value.split("/");
970
970
  try {
971
971
  if (!i)
@@ -999,7 +999,7 @@ function Ro(e) {
999
999
  }
1000
1000
  }
1001
1001
  const jl = /* @__PURE__ */ k("$ZodBase64", (e, t) => {
1002
- t.pattern ?? (t.pattern = qs), ae.init(e, t), e._zod.onattach.push((n) => {
1002
+ t.pattern ?? (t.pattern = qs), se.init(e, t), e._zod.onattach.push((n) => {
1003
1003
  n._zod.bag.contentEncoding = "base64";
1004
1004
  }), e._zod.check = (n) => {
1005
1005
  Ro(n.value) || n.issues.push({
@@ -1018,7 +1018,7 @@ function Bl(e) {
1018
1018
  return Ro(n);
1019
1019
  }
1020
1020
  const Fl = /* @__PURE__ */ k("$ZodBase64URL", (e, t) => {
1021
- t.pattern ?? (t.pattern = zo), ae.init(e, t), e._zod.onattach.push((n) => {
1021
+ t.pattern ?? (t.pattern = zo), se.init(e, t), e._zod.onattach.push((n) => {
1022
1022
  n._zod.bag.contentEncoding = "base64url";
1023
1023
  }), e._zod.check = (n) => {
1024
1024
  Bl(n.value) || n.issues.push({
@@ -1030,7 +1030,7 @@ const Fl = /* @__PURE__ */ k("$ZodBase64URL", (e, t) => {
1030
1030
  });
1031
1031
  };
1032
1032
  }), Ul = /* @__PURE__ */ k("$ZodE164", (e, t) => {
1033
- t.pattern ?? (t.pattern = Xs), ae.init(e, t);
1033
+ t.pattern ?? (t.pattern = Xs), se.init(e, t);
1034
1034
  });
1035
1035
  function $l(e, t = null) {
1036
1036
  try {
@@ -1047,7 +1047,7 @@ function $l(e, t = null) {
1047
1047
  }
1048
1048
  }
1049
1049
  const Hl = /* @__PURE__ */ k("$ZodJWT", (e, t) => {
1050
- ae.init(e, t), e._zod.check = (n) => {
1050
+ se.init(e, t), e._zod.check = (n) => {
1051
1051
  $l(n.value, t.alg) || n.issues.push({
1052
1052
  code: "invalid_format",
1053
1053
  format: "jwt",
@@ -1113,7 +1113,7 @@ const Hl = /* @__PURE__ */ k("$ZodJWT", (e, t) => {
1113
1113
  }), n);
1114
1114
  });
1115
1115
  function Xr(e, t, n) {
1116
- e.issues.length && t.issues.push(...nt(n, e.issues)), t.value[n] = e.value;
1116
+ e.issues.length && t.issues.push(...rt(n, e.issues)), t.value[n] = e.value;
1117
1117
  }
1118
1118
  const Yl = /* @__PURE__ */ k("$ZodArray", (e, t) => {
1119
1119
  re.init(e, t), e._zod.parse = (n, r) => {
@@ -1138,10 +1138,10 @@ const Yl = /* @__PURE__ */ k("$ZodArray", (e, t) => {
1138
1138
  };
1139
1139
  });
1140
1140
  function nn(e, t, n) {
1141
- e.issues.length && t.issues.push(...nt(n, e.issues)), t.value[n] = e.value;
1141
+ e.issues.length && t.issues.push(...rt(n, e.issues)), t.value[n] = e.value;
1142
1142
  }
1143
1143
  function Yr(e, t, n, r) {
1144
- e.issues.length ? r[n] === void 0 ? n in r ? t.value[n] = void 0 : t.value[n] = e.value : t.issues.push(...nt(n, e.issues)) : e.value === void 0 ? n in r && (t.value[n] = void 0) : t.value[n] = e.value;
1144
+ e.issues.length ? r[n] === void 0 ? n in r ? t.value[n] = void 0 : t.value[n] = e.value : t.issues.push(...rt(n, e.issues)) : e.value === void 0 ? n in r && (t.value[n] = void 0) : t.value[n] = e.value;
1145
1145
  }
1146
1146
  const Ql = /* @__PURE__ */ k("$ZodObject", (e, t) => {
1147
1147
  re.init(e, t);
@@ -1172,21 +1172,21 @@ const Ql = /* @__PURE__ */ k("$ZodObject", (e, t) => {
1172
1172
  return m;
1173
1173
  });
1174
1174
  const r = (p) => {
1175
- const m = new vl(["shape", "payload", "ctx"]), d = n.value, b = (y) => {
1176
- const f = Ct(y);
1175
+ const m = new vl(["shape", "payload", "ctx"]), d = n.value, b = (g) => {
1176
+ const f = Ct(g);
1177
1177
  return `shape[${f}]._zod.run({ value: input[${f}], issues: [] }, ctx)`;
1178
1178
  };
1179
1179
  m.write("const input = payload.value;");
1180
1180
  const E = /* @__PURE__ */ Object.create(null);
1181
1181
  let x = 0;
1182
- for (const y of d.keys)
1183
- E[y] = `key_${x++}`;
1182
+ for (const g of d.keys)
1183
+ E[g] = `key_${x++}`;
1184
1184
  m.write("const newResult = {}");
1185
- for (const y of d.keys)
1186
- if (d.optionalKeys.has(y)) {
1187
- const f = E[y];
1188
- m.write(`const ${f} = ${b(y)};`);
1189
- const S = Ct(y);
1185
+ for (const g of d.keys)
1186
+ if (d.optionalKeys.has(g)) {
1187
+ const f = E[g];
1188
+ m.write(`const ${f} = ${b(g)};`);
1189
+ const S = Ct(g);
1190
1190
  m.write(`
1191
1191
  if (${f}.issues.length) {
1192
1192
  if (input[${S}] === undefined) {
@@ -1208,16 +1208,16 @@ const Ql = /* @__PURE__ */ k("$ZodObject", (e, t) => {
1208
1208
  }
1209
1209
  `);
1210
1210
  } else {
1211
- const f = E[y];
1212
- m.write(`const ${f} = ${b(y)};`), m.write(`
1211
+ const f = E[g];
1212
+ m.write(`const ${f} = ${b(g)};`), m.write(`
1213
1213
  if (${f}.issues.length) payload.issues = payload.issues.concat(${f}.issues.map(iss => ({
1214
1214
  ...iss,
1215
- path: iss.path ? [${Ct(y)}, ...iss.path] : [${Ct(y)}]
1216
- })));`), m.write(`newResult[${Ct(y)}] = ${f}.value`);
1215
+ path: iss.path ? [${Ct(g)}, ...iss.path] : [${Ct(g)}]
1216
+ })));`), m.write(`newResult[${Ct(g)}] = ${f}.value`);
1217
1217
  }
1218
1218
  m.write("payload.value = newResult;"), m.write("return payload;");
1219
1219
  const h = m.compile();
1220
- return (y, f) => h(p, y, f);
1220
+ return (g, f) => h(p, g, f);
1221
1221
  };
1222
1222
  let i;
1223
1223
  const o = dn, a = !xo.jitless, u = a && gs.value, l = t.catchall;
@@ -1245,11 +1245,11 @@ const Ql = /* @__PURE__ */ k("$ZodObject", (e, t) => {
1245
1245
  }
1246
1246
  if (!l)
1247
1247
  return b.length ? Promise.all(b).then(() => p) : p;
1248
- const E = [], x = c.keySet, h = l._zod, y = h.def.type;
1248
+ const E = [], x = c.keySet, h = l._zod, g = h.def.type;
1249
1249
  for (const f of Object.keys(d)) {
1250
1250
  if (x.has(f))
1251
1251
  continue;
1252
- if (y === "never") {
1252
+ if (g === "never") {
1253
1253
  E.push(f);
1254
1254
  continue;
1255
1255
  }
@@ -1272,7 +1272,7 @@ function Qr(e, t, n, r) {
1272
1272
  code: "invalid_union",
1273
1273
  input: t.value,
1274
1274
  inst: n,
1275
- errors: e.map((i) => i.issues.map((o) => Qe(o, r, Ye())))
1275
+ errors: e.map((i) => i.issues.map((o) => Ge(o, r, Qe())))
1276
1276
  }), t;
1277
1277
  }
1278
1278
  const Lo = /* @__PURE__ */ k("$ZodUnion", (e, t) => {
@@ -1419,8 +1419,8 @@ const eu = /* @__PURE__ */ k("$ZodRecord", (e, t) => {
1419
1419
  if (typeof u == "string" || typeof u == "number" || typeof u == "symbol") {
1420
1420
  const l = t.valueType._zod.run({ value: i[u], issues: [] }, r);
1421
1421
  l instanceof Promise ? o.push(l.then((c) => {
1422
- c.issues.length && n.issues.push(...nt(u, c.issues)), n.value[u] = c.value;
1423
- })) : (l.issues.length && n.issues.push(...nt(u, l.issues)), n.value[u] = l.value);
1422
+ c.issues.length && n.issues.push(...rt(u, c.issues)), n.value[u] = c.value;
1423
+ })) : (l.issues.length && n.issues.push(...rt(u, l.issues)), n.value[u] = l.value);
1424
1424
  }
1425
1425
  let s;
1426
1426
  for (const u in i)
@@ -1443,7 +1443,7 @@ const eu = /* @__PURE__ */ k("$ZodRecord", (e, t) => {
1443
1443
  n.issues.push({
1444
1444
  origin: "record",
1445
1445
  code: "invalid_key",
1446
- issues: s.issues.map((l) => Qe(l, r, Ye())),
1446
+ issues: s.issues.map((l) => Ge(l, r, Qe())),
1447
1447
  input: a,
1448
1448
  path: [a],
1449
1449
  inst: e
@@ -1452,8 +1452,8 @@ const eu = /* @__PURE__ */ k("$ZodRecord", (e, t) => {
1452
1452
  }
1453
1453
  const u = t.valueType._zod.run({ value: i[a], issues: [] }, r);
1454
1454
  u instanceof Promise ? o.push(u.then((l) => {
1455
- l.issues.length && n.issues.push(...nt(a, l.issues)), n.value[s.value] = l.value;
1456
- })) : (u.issues.length && n.issues.push(...nt(a, u.issues)), n.value[s.value] = u.value);
1455
+ l.issues.length && n.issues.push(...rt(a, l.issues)), n.value[s.value] = l.value;
1456
+ })) : (u.issues.length && n.issues.push(...rt(a, u.issues)), n.value[s.value] = u.value);
1457
1457
  }
1458
1458
  }
1459
1459
  return o.length ? Promise.all(o).then(() => n) : n;
@@ -1535,13 +1535,13 @@ const uu = /* @__PURE__ */ k("$ZodCatch", (e, t) => {
1535
1535
  return i instanceof Promise ? i.then((o) => (n.value = o.value, o.issues.length && (n.value = t.catchValue({
1536
1536
  ...n,
1537
1537
  error: {
1538
- issues: o.issues.map((a) => Qe(a, r, Ye()))
1538
+ issues: o.issues.map((a) => Ge(a, r, Qe()))
1539
1539
  },
1540
1540
  input: n.value
1541
1541
  }), n.issues = []), n)) : (n.value = i.value, i.issues.length && (n.value = t.catchValue({
1542
1542
  ...n,
1543
1543
  error: {
1544
- issues: i.issues.map((o) => Qe(o, r, Ye()))
1544
+ issues: i.issues.map((o) => Ge(o, r, Qe()))
1545
1545
  },
1546
1546
  input: n.value
1547
1547
  }), n.issues = []), n);
@@ -1567,7 +1567,7 @@ function ni(e) {
1567
1567
  const du = /* @__PURE__ */ k("$ZodLazy", (e, t) => {
1568
1568
  re.init(e, t), Q(e._zod, "innerType", () => t.getter()), Q(e._zod, "pattern", () => e._zod.innerType._zod.pattern), Q(e._zod, "propValues", () => e._zod.innerType._zod.propValues), Q(e._zod, "optin", () => e._zod.innerType._zod.optin), Q(e._zod, "optout", () => e._zod.innerType._zod.optout), e._zod.parse = (n, r) => e._zod.innerType._zod.run(n, r);
1569
1569
  }), fu = /* @__PURE__ */ k("$ZodCustom", (e, t) => {
1570
- Ee.init(e, t), re.init(e, t), e._zod.parse = (n, r) => n, e._zod.check = (n) => {
1570
+ ke.init(e, t), re.init(e, t), e._zod.parse = (n, r) => n, e._zod.check = (n) => {
1571
1571
  const r = n.value, i = t.fn(r);
1572
1572
  if (i instanceof Promise)
1573
1573
  return i.then((o) => ri(o, n, r, e));
@@ -2095,8 +2095,8 @@ class li {
2095
2095
  case "string": {
2096
2096
  const h = x;
2097
2097
  h.type = "string";
2098
- const { minimum: y, maximum: f, format: S, patterns: A, contentEncoding: w } = t._zod.bag;
2099
- if (typeof y == "number" && (h.minLength = y), typeof f == "number" && (h.maxLength = f), S && (h.format = o[S] ?? S, h.format === "" && delete h.format), w && (h.contentEncoding = w), A && A.size > 0) {
2098
+ const { minimum: g, maximum: f, format: S, patterns: A, contentEncoding: w } = t._zod.bag;
2099
+ if (typeof g == "number" && (h.minLength = g), typeof f == "number" && (h.maxLength = f), S && (h.format = o[S] ?? S, h.format === "" && delete h.format), w && (h.contentEncoding = w), A && A.size > 0) {
2100
2100
  const C = [...A];
2101
2101
  C.length === 1 ? h.pattern = C[0].source : C.length > 1 && (s.schema.allOf = [
2102
2102
  ...C.map((M) => ({
@@ -2108,8 +2108,8 @@ class li {
2108
2108
  break;
2109
2109
  }
2110
2110
  case "number": {
2111
- const h = x, { minimum: y, maximum: f, format: S, multipleOf: A, exclusiveMaximum: w, exclusiveMinimum: C } = t._zod.bag;
2112
- typeof S == "string" && S.includes("int") ? h.type = "integer" : h.type = "number", typeof C == "number" && (h.exclusiveMinimum = C), typeof y == "number" && (h.minimum = y, typeof C == "number" && (C >= y ? delete h.minimum : delete h.exclusiveMinimum)), typeof w == "number" && (h.exclusiveMaximum = w), typeof f == "number" && (h.maximum = f, typeof w == "number" && (w <= f ? delete h.maximum : delete h.exclusiveMaximum)), typeof A == "number" && (h.multipleOf = A);
2111
+ const h = x, { minimum: g, maximum: f, format: S, multipleOf: A, exclusiveMaximum: w, exclusiveMinimum: C } = t._zod.bag;
2112
+ typeof S == "string" && S.includes("int") ? h.type = "integer" : h.type = "number", typeof C == "number" && (h.exclusiveMinimum = C), typeof g == "number" && (h.minimum = g, typeof C == "number" && (C >= g ? delete h.minimum : delete h.exclusiveMinimum)), typeof w == "number" && (h.exclusiveMaximum = w), typeof f == "number" && (h.maximum = f, typeof w == "number" && (w <= f ? delete h.maximum : delete h.exclusiveMaximum)), typeof A == "number" && (h.multipleOf = A);
2113
2113
  break;
2114
2114
  }
2115
2115
  case "boolean": {
@@ -2155,20 +2155,20 @@ class li {
2155
2155
  break;
2156
2156
  }
2157
2157
  case "array": {
2158
- const h = x, { minimum: y, maximum: f } = t._zod.bag;
2159
- typeof y == "number" && (h.minItems = y), typeof f == "number" && (h.maxItems = f), h.type = "array", h.items = this.process(i.element, { ...b, path: [...b.path, "items"] });
2158
+ const h = x, { minimum: g, maximum: f } = t._zod.bag;
2159
+ typeof g == "number" && (h.minItems = g), typeof f == "number" && (h.maxItems = f), h.type = "array", h.items = this.process(i.element, { ...b, path: [...b.path, "items"] });
2160
2160
  break;
2161
2161
  }
2162
2162
  case "object": {
2163
2163
  const h = x;
2164
2164
  h.type = "object", h.properties = {};
2165
- const y = i.shape;
2166
- for (const A in y)
2167
- h.properties[A] = this.process(y[A], {
2165
+ const g = i.shape;
2166
+ for (const A in g)
2167
+ h.properties[A] = this.process(g[A], {
2168
2168
  ...b,
2169
2169
  path: [...b.path, "properties", A]
2170
2170
  });
2171
- const f = new Set(Object.keys(y)), S = new Set([...f].filter((A) => {
2171
+ const f = new Set(Object.keys(g)), S = new Set([...f].filter((A) => {
2172
2172
  const w = i.shape[A]._zod;
2173
2173
  return this.io === "input" ? w.optin === void 0 : w.optout === void 0;
2174
2174
  }));
@@ -2180,21 +2180,21 @@ class li {
2180
2180
  }
2181
2181
  case "union": {
2182
2182
  const h = x;
2183
- h.anyOf = i.options.map((y, f) => this.process(y, {
2183
+ h.anyOf = i.options.map((g, f) => this.process(g, {
2184
2184
  ...b,
2185
2185
  path: [...b.path, "anyOf", f]
2186
2186
  }));
2187
2187
  break;
2188
2188
  }
2189
2189
  case "intersection": {
2190
- const h = x, y = this.process(i.left, {
2190
+ const h = x, g = this.process(i.left, {
2191
2191
  ...b,
2192
2192
  path: [...b.path, "allOf", 0]
2193
2193
  }), f = this.process(i.right, {
2194
2194
  ...b,
2195
2195
  path: [...b.path, "allOf", 1]
2196
2196
  }), S = (w) => "allOf" in w && Object.keys(w).length === 1, A = [
2197
- ...S(y) ? y.allOf : [y],
2197
+ ...S(g) ? g.allOf : [g],
2198
2198
  ...S(f) ? f.allOf : [f]
2199
2199
  ];
2200
2200
  h.allOf = A;
@@ -2203,8 +2203,8 @@ class li {
2203
2203
  case "tuple": {
2204
2204
  const h = x;
2205
2205
  h.type = "array";
2206
- const y = i.items.map((A, w) => this.process(A, { ...b, path: [...b.path, "prefixItems", w] }));
2207
- if (this.target === "draft-2020-12" ? h.prefixItems = y : h.items = y, i.rest) {
2206
+ const g = i.items.map((A, w) => this.process(A, { ...b, path: [...b.path, "prefixItems", w] }));
2207
+ if (this.target === "draft-2020-12" ? h.prefixItems = g : h.items = g, i.rest) {
2208
2208
  const A = this.process(i.rest, {
2209
2209
  ...b,
2210
2210
  path: [...b.path, "items"]
@@ -2238,12 +2238,12 @@ class li {
2238
2238
  break;
2239
2239
  }
2240
2240
  case "enum": {
2241
- const h = x, y = ko(i.entries);
2242
- y.every((f) => typeof f == "number") && (h.type = "number"), y.every((f) => typeof f == "string") && (h.type = "string"), h.enum = y;
2241
+ const h = x, g = ko(i.entries);
2242
+ g.every((f) => typeof f == "number") && (h.type = "number"), g.every((f) => typeof f == "string") && (h.type = "string"), h.enum = g;
2243
2243
  break;
2244
2244
  }
2245
2245
  case "literal": {
2246
- const h = x, y = [];
2246
+ const h = x, g = [];
2247
2247
  for (const f of i.values)
2248
2248
  if (f === void 0) {
2249
2249
  if (this.unrepresentable === "throw")
@@ -2251,23 +2251,23 @@ class li {
2251
2251
  } else if (typeof f == "bigint") {
2252
2252
  if (this.unrepresentable === "throw")
2253
2253
  throw new Error("BigInt literals cannot be represented in JSON Schema");
2254
- y.push(Number(f));
2254
+ g.push(Number(f));
2255
2255
  } else
2256
- y.push(f);
2257
- if (y.length !== 0) if (y.length === 1) {
2258
- const f = y[0];
2256
+ g.push(f);
2257
+ if (g.length !== 0) if (g.length === 1) {
2258
+ const f = g[0];
2259
2259
  h.type = f === null ? "null" : typeof f, h.const = f;
2260
2260
  } else
2261
- y.every((f) => typeof f == "number") && (h.type = "number"), y.every((f) => typeof f == "string") && (h.type = "string"), y.every((f) => typeof f == "boolean") && (h.type = "string"), y.every((f) => f === null) && (h.type = "null"), h.enum = y;
2261
+ g.every((f) => typeof f == "number") && (h.type = "number"), g.every((f) => typeof f == "string") && (h.type = "string"), g.every((f) => typeof f == "boolean") && (h.type = "string"), g.every((f) => f === null) && (h.type = "null"), h.enum = g;
2262
2262
  break;
2263
2263
  }
2264
2264
  case "file": {
2265
- const h = x, y = {
2265
+ const h = x, g = {
2266
2266
  type: "string",
2267
2267
  format: "binary",
2268
2268
  contentEncoding: "binary"
2269
2269
  }, { minimum: f, maximum: S, mime: A } = t._zod.bag;
2270
- f !== void 0 && (y.minLength = f), S !== void 0 && (y.maxLength = S), A ? A.length === 1 ? (y.contentMediaType = A[0], Object.assign(h, y)) : h.anyOf = A.map((w) => ({ ...y, contentMediaType: w })) : Object.assign(h, y);
2270
+ f !== void 0 && (g.minLength = f), S !== void 0 && (g.maxLength = S), A ? A.length === 1 ? (g.contentMediaType = A[0], Object.assign(h, g)) : h.anyOf = A.map((w) => ({ ...g, contentMediaType: w })) : Object.assign(h, g);
2271
2271
  break;
2272
2272
  }
2273
2273
  case "transform": {
@@ -2314,10 +2314,10 @@ class li {
2314
2314
  break;
2315
2315
  }
2316
2316
  case "template_literal": {
2317
- const h = x, y = t._zod.pattern;
2318
- if (!y)
2317
+ const h = x, g = t._zod.pattern;
2318
+ if (!g)
2319
2319
  throw new Error("Pattern not found in template literal");
2320
- h.type = "string", h.pattern = y.source;
2320
+ h.type = "string", h.pattern = g.source;
2321
2321
  break;
2322
2322
  }
2323
2323
  case "pipe": {
@@ -2352,7 +2352,7 @@ class li {
2352
2352
  }
2353
2353
  }
2354
2354
  const l = this.metadataRegistry.get(t);
2355
- return l && Object.assign(s.schema, l), this.io === "input" && de(t) && (delete s.schema.examples, delete s.schema.default), this.io === "input" && s.schema._prefault && ((r = s.schema).default ?? (r.default = s.schema._prefault)), delete s.schema._prefault, this.seen.get(t).schema;
2355
+ return l && Object.assign(s.schema, l), this.io === "input" && fe(t) && (delete s.schema.examples, delete s.schema.default), this.io === "input" && s.schema._prefault && ((r = s.schema).default ?? (r.default = s.schema._prefault)), delete s.schema._prefault, this.seen.get(t).schema;
2356
2356
  }
2357
2357
  emit(t, n) {
2358
2358
  var c, p, m, d, b, E;
@@ -2382,12 +2382,12 @@ class li {
2382
2382
  }, a = (x) => {
2383
2383
  if (x[1].schema.$ref)
2384
2384
  return;
2385
- const h = x[1], { ref: y, defId: f } = o(x);
2385
+ const h = x[1], { ref: g, defId: f } = o(x);
2386
2386
  h.def = { ...h.schema }, f && (h.defId = f);
2387
2387
  const S = h.schema;
2388
2388
  for (const A in S)
2389
2389
  delete S[A];
2390
- S.$ref = y;
2390
+ S.$ref = g;
2391
2391
  };
2392
2392
  if (r.cycles === "throw")
2393
2393
  for (const x of this.seen.entries()) {
@@ -2424,19 +2424,19 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
2424
2424
  }
2425
2425
  }
2426
2426
  const s = (x, h) => {
2427
- const y = this.seen.get(x), f = y.def ?? y.schema, S = { ...f };
2428
- if (y.ref === null)
2427
+ const g = this.seen.get(x), f = g.def ?? g.schema, S = { ...f };
2428
+ if (g.ref === null)
2429
2429
  return;
2430
- const A = y.ref;
2431
- if (y.ref = null, A) {
2430
+ const A = g.ref;
2431
+ if (g.ref = null, A) {
2432
2432
  s(A, h);
2433
2433
  const w = this.seen.get(A).schema;
2434
2434
  w.$ref && h.target === "draft-7" ? (f.allOf = f.allOf ?? [], f.allOf.push(w)) : (Object.assign(f, w), Object.assign(f, S));
2435
2435
  }
2436
- y.isParent || this.override({
2436
+ g.isParent || this.override({
2437
2437
  zodSchema: x,
2438
2438
  jsonSchema: f,
2439
- path: y.path ?? []
2439
+ path: g.path ?? []
2440
2440
  });
2441
2441
  };
2442
2442
  for (const x of [...this.seen.entries()].reverse())
@@ -2492,7 +2492,7 @@ function ac(e, t) {
2492
2492
  const n = new li(t);
2493
2493
  return n.process(e), n.emit(e, t);
2494
2494
  }
2495
- function de(e, t) {
2495
+ function fe(e, t) {
2496
2496
  const n = t ?? { seen: /* @__PURE__ */ new Set() };
2497
2497
  if (n.seen.has(e))
2498
2498
  return !1;
@@ -2518,52 +2518,52 @@ function de(e, t) {
2518
2518
  case "template_literal":
2519
2519
  return !1;
2520
2520
  case "array":
2521
- return de(i.element, n);
2521
+ return fe(i.element, n);
2522
2522
  case "object": {
2523
2523
  for (const o in i.shape)
2524
- if (de(i.shape[o], n))
2524
+ if (fe(i.shape[o], n))
2525
2525
  return !0;
2526
2526
  return !1;
2527
2527
  }
2528
2528
  case "union": {
2529
2529
  for (const o of i.options)
2530
- if (de(o, n))
2530
+ if (fe(o, n))
2531
2531
  return !0;
2532
2532
  return !1;
2533
2533
  }
2534
2534
  case "intersection":
2535
- return de(i.left, n) || de(i.right, n);
2535
+ return fe(i.left, n) || fe(i.right, n);
2536
2536
  case "tuple": {
2537
2537
  for (const o of i.items)
2538
- if (de(o, n))
2538
+ if (fe(o, n))
2539
2539
  return !0;
2540
- return !!(i.rest && de(i.rest, n));
2540
+ return !!(i.rest && fe(i.rest, n));
2541
2541
  }
2542
2542
  case "record":
2543
- return de(i.keyType, n) || de(i.valueType, n);
2543
+ return fe(i.keyType, n) || fe(i.valueType, n);
2544
2544
  case "map":
2545
- return de(i.keyType, n) || de(i.valueType, n);
2545
+ return fe(i.keyType, n) || fe(i.valueType, n);
2546
2546
  case "set":
2547
- return de(i.valueType, n);
2547
+ return fe(i.valueType, n);
2548
2548
  // inner types
2549
2549
  case "promise":
2550
2550
  case "optional":
2551
2551
  case "nonoptional":
2552
2552
  case "nullable":
2553
2553
  case "readonly":
2554
- return de(i.innerType, n);
2554
+ return fe(i.innerType, n);
2555
2555
  case "lazy":
2556
- return de(i.getter(), n);
2556
+ return fe(i.getter(), n);
2557
2557
  case "default":
2558
- return de(i.innerType, n);
2558
+ return fe(i.innerType, n);
2559
2559
  case "prefault":
2560
- return de(i.innerType, n);
2560
+ return fe(i.innerType, n);
2561
2561
  case "custom":
2562
2562
  return !1;
2563
2563
  case "transform":
2564
2564
  return !0;
2565
2565
  case "pipe":
2566
- return de(i.in, n) || de(i.out, n);
2566
+ return fe(i.in, n) || fe(i.out, n);
2567
2567
  case "success":
2568
2568
  return !1;
2569
2569
  case "catch":
@@ -2572,25 +2572,25 @@ function de(e, t) {
2572
2572
  throw new Error(`Unknown schema type: ${i.type}`);
2573
2573
  }
2574
2574
  const sc = /* @__PURE__ */ k("ZodISODateTime", (e, t) => {
2575
- Pl.init(e, t), le.init(e, t);
2575
+ Pl.init(e, t), ue.init(e, t);
2576
2576
  });
2577
2577
  function lc(e) {
2578
2578
  return Lu(sc, e);
2579
2579
  }
2580
2580
  const uc = /* @__PURE__ */ k("ZodISODate", (e, t) => {
2581
- Ol.init(e, t), le.init(e, t);
2581
+ Ol.init(e, t), ue.init(e, t);
2582
2582
  });
2583
2583
  function cc(e) {
2584
2584
  return Zu(uc, e);
2585
2585
  }
2586
2586
  const pc = /* @__PURE__ */ k("ZodISOTime", (e, t) => {
2587
- Nl.init(e, t), le.init(e, t);
2587
+ Nl.init(e, t), ue.init(e, t);
2588
2588
  });
2589
2589
  function dc(e) {
2590
2590
  return ju(pc, e);
2591
2591
  }
2592
2592
  const fc = /* @__PURE__ */ k("ZodISODuration", (e, t) => {
2593
- Ml.init(e, t), le.init(e, t);
2593
+ Ml.init(e, t), ue.init(e, t);
2594
2594
  });
2595
2595
  function hc(e) {
2596
2596
  return Bu(fc, e);
@@ -2622,7 +2622,7 @@ const mc = (e, t) => {
2622
2622
  });
2623
2623
  }, wn = k("ZodError", mc, {
2624
2624
  Parent: Error
2625
- }), gc = /* @__PURE__ */ Cs(wn), yc = /* @__PURE__ */ zs(wn), vc = /* @__PURE__ */ _o(wn), Fo = /* @__PURE__ */ Co(wn), se = /* @__PURE__ */ k("ZodType", (e, t) => (re.init(e, t), e.def = t, Object.defineProperty(e, "_def", { value: t }), e.check = (...n) => e.clone(
2625
+ }), gc = /* @__PURE__ */ Cs(wn), yc = /* @__PURE__ */ zs(wn), vc = /* @__PURE__ */ _o(wn), Fo = /* @__PURE__ */ Co(wn), le = /* @__PURE__ */ k("ZodType", (e, t) => (re.init(e, t), e.def = t, Object.defineProperty(e, "_def", { value: t }), e.check = (...n) => e.clone(
2626
2626
  {
2627
2627
  ...t,
2628
2628
  checks: [
@@ -2631,7 +2631,7 @@ const mc = (e, t) => {
2631
2631
  ]
2632
2632
  }
2633
2633
  // { parent: true }
2634
- ), e.clone = (n, r) => at(e, n, r), e.brand = () => e, e.register = ((n, r) => (n.add(e, r), e)), e.parse = (n, r) => gc(e, n, r, { callee: e.parse }), e.safeParse = (n, r) => vc(e, n, r), e.parseAsync = async (n, r) => yc(e, n, r, { callee: e.parseAsync }), e.safeParseAsync = async (n, r) => Fo(e, n, r), e.spa = e.safeParseAsync, e.refine = (n, r) => e.check(fp(n, r)), e.superRefine = (n) => e.check(hp(n)), e.overwrite = (n) => e.check(Xt(n)), e.optional = () => pi(e), e.nullable = () => di(e), e.nullish = () => pi(di(e)), e.nonoptional = (n) => ip(e, n), e.array = () => kt(e), e.or = (n) => be([e, n]), e.and = (n) => Jc(e, n), e.transform = (n) => fi(e, Gc(n)), e.default = (n) => tp(e, n), e.prefault = (n) => rp(e, n), e.catch = (n) => ap(e, n), e.pipe = (n) => fi(e, n), e.readonly = () => up(e), e.describe = (n) => {
2634
+ ), e.clone = (n, r) => st(e, n, r), e.brand = () => e, e.register = ((n, r) => (n.add(e, r), e)), e.parse = (n, r) => gc(e, n, r, { callee: e.parse }), e.safeParse = (n, r) => vc(e, n, r), e.parseAsync = async (n, r) => yc(e, n, r, { callee: e.parseAsync }), e.safeParseAsync = async (n, r) => Fo(e, n, r), e.spa = e.safeParseAsync, e.refine = (n, r) => e.check(fp(n, r)), e.superRefine = (n) => e.check(hp(n)), e.overwrite = (n) => e.check(Xt(n)), e.optional = () => pi(e), e.nullable = () => di(e), e.nullish = () => pi(di(e)), e.nonoptional = (n) => ip(e, n), e.array = () => kt(e), e.or = (n) => ve([e, n]), e.and = (n) => Jc(e, n), e.transform = (n) => fi(e, Gc(n)), e.default = (n) => tp(e, n), e.prefault = (n) => rp(e, n), e.catch = (n) => ap(e, n), e.pipe = (n) => fi(e, n), e.readonly = () => up(e), e.describe = (n) => {
2635
2635
  const r = e.clone();
2636
2636
  return Mt.add(r, { description: n }), r;
2637
2637
  }, Object.defineProperty(e, "description", {
@@ -2646,7 +2646,7 @@ const mc = (e, t) => {
2646
2646
  const r = e.clone();
2647
2647
  return Mt.add(r, n[0]), r;
2648
2648
  }, e.isOptional = () => e.safeParse(void 0).success, e.isNullable = () => e.safeParse(null).success, e)), Uo = /* @__PURE__ */ k("_ZodString", (e, t) => {
2649
- mr.init(e, t), se.init(e, t);
2649
+ mr.init(e, t), le.init(e, t);
2650
2650
  const n = e._zod.bag;
2651
2651
  e.format = n.format ?? null, e.minLength = n.minimum ?? null, e.maxLength = n.maximum ?? null, e.regex = (...r) => e.check(qu(...r)), e.includes = (...r) => e.check(Yu(...r)), e.startsWith = (...r) => e.check(Qu(...r)), e.endsWith = (...r) => e.check(Gu(...r)), e.min = (...r) => e.check(hn(...r)), e.max = (...r) => e.check(jo(...r)), e.length = (...r) => e.check(Bo(...r)), e.nonempty = (...r) => e.check(hn(1, ...r)), e.lowercase = (r) => e.check(Ju(r)), e.uppercase = (r) => e.check(Xu(r)), e.trim = () => e.check(ec()), e.normalize = (...r) => e.check(Ku(...r)), e.toLowerCase = () => e.check(tc()), e.toUpperCase = () => e.check(nc());
2652
2652
  }), bc = /* @__PURE__ */ k("ZodString", (e, t) => {
@@ -2655,48 +2655,48 @@ const mc = (e, t) => {
2655
2655
  function z(e) {
2656
2656
  return mu(bc, e);
2657
2657
  }
2658
- const le = /* @__PURE__ */ k("ZodStringFormat", (e, t) => {
2659
- ae.init(e, t), Uo.init(e, t);
2658
+ const ue = /* @__PURE__ */ k("ZodStringFormat", (e, t) => {
2659
+ se.init(e, t), Uo.init(e, t);
2660
2660
  }), wc = /* @__PURE__ */ k("ZodEmail", (e, t) => {
2661
- kl.init(e, t), le.init(e, t);
2661
+ kl.init(e, t), ue.init(e, t);
2662
2662
  }), ui = /* @__PURE__ */ k("ZodGUID", (e, t) => {
2663
- wl.init(e, t), le.init(e, t);
2663
+ wl.init(e, t), ue.init(e, t);
2664
2664
  }), rn = /* @__PURE__ */ k("ZodUUID", (e, t) => {
2665
- xl.init(e, t), le.init(e, t);
2665
+ xl.init(e, t), ue.init(e, t);
2666
2666
  }), xc = /* @__PURE__ */ k("ZodURL", (e, t) => {
2667
- El.init(e, t), le.init(e, t);
2667
+ El.init(e, t), ue.init(e, t);
2668
2668
  }), kc = /* @__PURE__ */ k("ZodEmoji", (e, t) => {
2669
- Il.init(e, t), le.init(e, t);
2669
+ Il.init(e, t), ue.init(e, t);
2670
2670
  }), Ec = /* @__PURE__ */ k("ZodNanoID", (e, t) => {
2671
- Sl.init(e, t), le.init(e, t);
2671
+ Sl.init(e, t), ue.init(e, t);
2672
2672
  }), Ic = /* @__PURE__ */ k("ZodCUID", (e, t) => {
2673
- Al.init(e, t), le.init(e, t);
2673
+ Al.init(e, t), ue.init(e, t);
2674
2674
  }), Sc = /* @__PURE__ */ k("ZodCUID2", (e, t) => {
2675
- _l.init(e, t), le.init(e, t);
2675
+ _l.init(e, t), ue.init(e, t);
2676
2676
  }), Ac = /* @__PURE__ */ k("ZodULID", (e, t) => {
2677
- Cl.init(e, t), le.init(e, t);
2677
+ Cl.init(e, t), ue.init(e, t);
2678
2678
  }), _c = /* @__PURE__ */ k("ZodXID", (e, t) => {
2679
- zl.init(e, t), le.init(e, t);
2679
+ zl.init(e, t), ue.init(e, t);
2680
2680
  }), Cc = /* @__PURE__ */ k("ZodKSUID", (e, t) => {
2681
- Tl.init(e, t), le.init(e, t);
2681
+ Tl.init(e, t), ue.init(e, t);
2682
2682
  }), zc = /* @__PURE__ */ k("ZodIPv4", (e, t) => {
2683
- Rl.init(e, t), le.init(e, t);
2683
+ Rl.init(e, t), ue.init(e, t);
2684
2684
  }), Tc = /* @__PURE__ */ k("ZodIPv6", (e, t) => {
2685
- Dl.init(e, t), le.init(e, t);
2685
+ Dl.init(e, t), ue.init(e, t);
2686
2686
  }), Pc = /* @__PURE__ */ k("ZodCIDRv4", (e, t) => {
2687
- Ll.init(e, t), le.init(e, t);
2687
+ Ll.init(e, t), ue.init(e, t);
2688
2688
  }), Oc = /* @__PURE__ */ k("ZodCIDRv6", (e, t) => {
2689
- Zl.init(e, t), le.init(e, t);
2689
+ Zl.init(e, t), ue.init(e, t);
2690
2690
  }), Nc = /* @__PURE__ */ k("ZodBase64", (e, t) => {
2691
- jl.init(e, t), le.init(e, t);
2691
+ jl.init(e, t), ue.init(e, t);
2692
2692
  }), Mc = /* @__PURE__ */ k("ZodBase64URL", (e, t) => {
2693
- Fl.init(e, t), le.init(e, t);
2693
+ Fl.init(e, t), ue.init(e, t);
2694
2694
  }), Rc = /* @__PURE__ */ k("ZodE164", (e, t) => {
2695
- Ul.init(e, t), le.init(e, t);
2695
+ Ul.init(e, t), ue.init(e, t);
2696
2696
  }), Dc = /* @__PURE__ */ k("ZodJWT", (e, t) => {
2697
- Hl.init(e, t), le.init(e, t);
2697
+ Hl.init(e, t), ue.init(e, t);
2698
2698
  }), $o = /* @__PURE__ */ k("ZodNumber", (e, t) => {
2699
- Do.init(e, t), se.init(e, t), e.gt = (r, i) => e.check(ai(r, i)), e.gte = (r, i) => e.check(_n(r, i)), e.min = (r, i) => e.check(_n(r, i)), e.lt = (r, i) => e.check(oi(r, i)), e.lte = (r, i) => e.check(An(r, i)), e.max = (r, i) => e.check(An(r, i)), e.int = (r) => e.check(ci(r)), e.safe = (r) => e.check(ci(r)), e.positive = (r) => e.check(ai(0, r)), e.nonnegative = (r) => e.check(_n(0, r)), e.negative = (r) => e.check(oi(0, r)), e.nonpositive = (r) => e.check(An(0, r)), e.multipleOf = (r, i) => e.check(si(r, i)), e.step = (r, i) => e.check(si(r, i)), e.finite = () => e;
2699
+ Do.init(e, t), le.init(e, t), e.gt = (r, i) => e.check(ai(r, i)), e.gte = (r, i) => e.check(_n(r, i)), e.min = (r, i) => e.check(_n(r, i)), e.lt = (r, i) => e.check(oi(r, i)), e.lte = (r, i) => e.check(An(r, i)), e.max = (r, i) => e.check(An(r, i)), e.int = (r) => e.check(ci(r)), e.safe = (r) => e.check(ci(r)), e.positive = (r) => e.check(ai(0, r)), e.nonnegative = (r) => e.check(_n(0, r)), e.negative = (r) => e.check(oi(0, r)), e.nonpositive = (r) => e.check(An(0, r)), e.multipleOf = (r, i) => e.check(si(r, i)), e.step = (r, i) => e.check(si(r, i)), e.finite = () => e;
2700
2700
  const n = e._zod.bag;
2701
2701
  e.minValue = Math.max(n.minimum ?? Number.NEGATIVE_INFINITY, n.exclusiveMinimum ?? Number.NEGATIVE_INFINITY) ?? null, e.maxValue = Math.min(n.maximum ?? Number.POSITIVE_INFINITY, n.exclusiveMaximum ?? Number.POSITIVE_INFINITY) ?? null, e.isInt = (n.format ?? "").includes("int") || Number.isSafeInteger(n.multipleOf ?? 0.5), e.isFinite = !0, e.format = n.format ?? null;
2702
2702
  });
@@ -2710,37 +2710,37 @@ function ci(e) {
2710
2710
  return Uu(Zc, e);
2711
2711
  }
2712
2712
  const jc = /* @__PURE__ */ k("ZodBoolean", (e, t) => {
2713
- Wl.init(e, t), se.init(e, t);
2713
+ Wl.init(e, t), le.init(e, t);
2714
2714
  });
2715
- function ve(e) {
2715
+ function ye(e) {
2716
2716
  return $u(jc, e);
2717
2717
  }
2718
2718
  const Bc = /* @__PURE__ */ k("ZodNull", (e, t) => {
2719
- ql.init(e, t), se.init(e, t);
2719
+ ql.init(e, t), le.init(e, t);
2720
2720
  });
2721
2721
  function Fc(e) {
2722
2722
  return Hu(Bc, e);
2723
2723
  }
2724
2724
  const Uc = /* @__PURE__ */ k("ZodUnknown", (e, t) => {
2725
- Jl.init(e, t), se.init(e, t);
2725
+ Jl.init(e, t), le.init(e, t);
2726
2726
  });
2727
- function Ze() {
2727
+ function Be() {
2728
2728
  return Vu(Uc);
2729
2729
  }
2730
2730
  const $c = /* @__PURE__ */ k("ZodNever", (e, t) => {
2731
- Xl.init(e, t), se.init(e, t);
2731
+ Xl.init(e, t), le.init(e, t);
2732
2732
  });
2733
2733
  function Ho(e) {
2734
2734
  return Wu($c, e);
2735
2735
  }
2736
2736
  const Hc = /* @__PURE__ */ k("ZodArray", (e, t) => {
2737
- Yl.init(e, t), se.init(e, t), e.element = t.element, e.min = (n, r) => e.check(hn(n, r)), e.nonempty = (n) => e.check(hn(1, n)), e.max = (n, r) => e.check(jo(n, r)), e.length = (n, r) => e.check(Bo(n, r)), e.unwrap = () => e.element;
2737
+ Yl.init(e, t), le.init(e, t), e.element = t.element, e.min = (n, r) => e.check(hn(n, r)), e.nonempty = (n) => e.check(hn(1, n)), e.max = (n, r) => e.check(jo(n, r)), e.length = (n, r) => e.check(Bo(n, r)), e.unwrap = () => e.element;
2738
2738
  });
2739
2739
  function kt(e, t) {
2740
2740
  return rc(Hc, e, t);
2741
2741
  }
2742
2742
  const Vo = /* @__PURE__ */ k("ZodObject", (e, t) => {
2743
- Ql.init(e, t), se.init(e, t), Q(e, "shape", () => t.shape), e.keyof = () => qo(Object.keys(e._zod.def.shape)), e.catchall = (n) => e.clone({ ...e._zod.def, catchall: n }), e.passthrough = () => e.clone({ ...e._zod.def, catchall: Ze() }), e.loose = () => e.clone({ ...e._zod.def, catchall: Ze() }), e.strict = () => e.clone({ ...e._zod.def, catchall: Ho() }), e.strip = () => e.clone({ ...e._zod.def, catchall: void 0 }), e.extend = (n) => ks(e, n), e.merge = (n) => Es(e, n), e.pick = (n) => ws(e, n), e.omit = (n) => xs(e, n), e.partial = (...n) => Is(Jo, e, n[0]), e.required = (...n) => Ss(Xo, e, n[0]);
2743
+ Ql.init(e, t), le.init(e, t), Q(e, "shape", () => t.shape), e.keyof = () => qo(Object.keys(e._zod.def.shape)), e.catchall = (n) => e.clone({ ...e._zod.def, catchall: n }), e.passthrough = () => e.clone({ ...e._zod.def, catchall: Be() }), e.loose = () => e.clone({ ...e._zod.def, catchall: Be() }), e.strict = () => e.clone({ ...e._zod.def, catchall: Ho() }), e.strip = () => e.clone({ ...e._zod.def, catchall: void 0 }), e.extend = (n) => ks(e, n), e.merge = (n) => Es(e, n), e.pick = (n) => ws(e, n), e.omit = (n) => xs(e, n), e.partial = (...n) => Is(Jo, e, n[0]), e.required = (...n) => Ss(Xo, e, n[0]);
2744
2744
  });
2745
2745
  function ee(e, t) {
2746
2746
  const n = {
@@ -2763,9 +2763,9 @@ function ie(e, t) {
2763
2763
  });
2764
2764
  }
2765
2765
  const Wo = /* @__PURE__ */ k("ZodUnion", (e, t) => {
2766
- Lo.init(e, t), se.init(e, t), e.options = t.options;
2766
+ Lo.init(e, t), le.init(e, t), e.options = t.options;
2767
2767
  });
2768
- function be(e, t) {
2768
+ function ve(e, t) {
2769
2769
  return new Wo({
2770
2770
  type: "union",
2771
2771
  options: e,
@@ -2784,7 +2784,7 @@ function Wc(e, t, n) {
2784
2784
  });
2785
2785
  }
2786
2786
  const qc = /* @__PURE__ */ k("ZodIntersection", (e, t) => {
2787
- Kl.init(e, t), se.init(e, t);
2787
+ Kl.init(e, t), le.init(e, t);
2788
2788
  });
2789
2789
  function Jc(e, t) {
2790
2790
  return new qc({
@@ -2794,9 +2794,9 @@ function Jc(e, t) {
2794
2794
  });
2795
2795
  }
2796
2796
  const Xc = /* @__PURE__ */ k("ZodRecord", (e, t) => {
2797
- eu.init(e, t), se.init(e, t), e.keyType = t.keyType, e.valueType = t.valueType;
2797
+ eu.init(e, t), le.init(e, t), e.keyType = t.keyType, e.valueType = t.valueType;
2798
2798
  });
2799
- function rt(e, t, n) {
2799
+ function it(e, t, n) {
2800
2800
  return new Xc({
2801
2801
  type: "record",
2802
2802
  keyType: e,
@@ -2805,7 +2805,7 @@ function rt(e, t, n) {
2805
2805
  });
2806
2806
  }
2807
2807
  const Jn = /* @__PURE__ */ k("ZodEnum", (e, t) => {
2808
- tu.init(e, t), se.init(e, t), e.enum = t.entries, e.options = Object.values(t.entries);
2808
+ tu.init(e, t), le.init(e, t), e.enum = t.entries, e.options = Object.values(t.entries);
2809
2809
  const n = new Set(Object.keys(t.entries));
2810
2810
  e.extract = (r, i) => {
2811
2811
  const o = {};
@@ -2844,7 +2844,7 @@ function qo(e, t) {
2844
2844
  });
2845
2845
  }
2846
2846
  const Yc = /* @__PURE__ */ k("ZodLiteral", (e, t) => {
2847
- nu.init(e, t), se.init(e, t), e.values = new Set(t.values), Object.defineProperty(e, "value", {
2847
+ nu.init(e, t), le.init(e, t), e.values = new Set(t.values), Object.defineProperty(e, "value", {
2848
2848
  get() {
2849
2849
  if (t.values.length > 1)
2850
2850
  throw new Error("This schema contains multiple valid literal values. Use `.values` instead.");
@@ -2860,7 +2860,7 @@ function D(e, t) {
2860
2860
  });
2861
2861
  }
2862
2862
  const Qc = /* @__PURE__ */ k("ZodTransform", (e, t) => {
2863
- ru.init(e, t), se.init(e, t), e._zod.parse = (n, r) => {
2863
+ ru.init(e, t), le.init(e, t), e._zod.parse = (n, r) => {
2864
2864
  n.addIssue = (o) => {
2865
2865
  if (typeof o == "string")
2866
2866
  n.issues.push(Ht(o, n.value, t));
@@ -2880,7 +2880,7 @@ function Gc(e) {
2880
2880
  });
2881
2881
  }
2882
2882
  const Jo = /* @__PURE__ */ k("ZodOptional", (e, t) => {
2883
- iu.init(e, t), se.init(e, t), e.unwrap = () => e._zod.def.innerType;
2883
+ iu.init(e, t), le.init(e, t), e.unwrap = () => e._zod.def.innerType;
2884
2884
  });
2885
2885
  function pi(e) {
2886
2886
  return new Jo({
@@ -2889,7 +2889,7 @@ function pi(e) {
2889
2889
  });
2890
2890
  }
2891
2891
  const Kc = /* @__PURE__ */ k("ZodNullable", (e, t) => {
2892
- ou.init(e, t), se.init(e, t), e.unwrap = () => e._zod.def.innerType;
2892
+ ou.init(e, t), le.init(e, t), e.unwrap = () => e._zod.def.innerType;
2893
2893
  });
2894
2894
  function di(e) {
2895
2895
  return new Kc({
@@ -2898,7 +2898,7 @@ function di(e) {
2898
2898
  });
2899
2899
  }
2900
2900
  const ep = /* @__PURE__ */ k("ZodDefault", (e, t) => {
2901
- au.init(e, t), se.init(e, t), e.unwrap = () => e._zod.def.innerType, e.removeDefault = e.unwrap;
2901
+ au.init(e, t), le.init(e, t), e.unwrap = () => e._zod.def.innerType, e.removeDefault = e.unwrap;
2902
2902
  });
2903
2903
  function tp(e, t) {
2904
2904
  return new ep({
@@ -2910,7 +2910,7 @@ function tp(e, t) {
2910
2910
  });
2911
2911
  }
2912
2912
  const np = /* @__PURE__ */ k("ZodPrefault", (e, t) => {
2913
- su.init(e, t), se.init(e, t), e.unwrap = () => e._zod.def.innerType;
2913
+ su.init(e, t), le.init(e, t), e.unwrap = () => e._zod.def.innerType;
2914
2914
  });
2915
2915
  function rp(e, t) {
2916
2916
  return new np({
@@ -2922,7 +2922,7 @@ function rp(e, t) {
2922
2922
  });
2923
2923
  }
2924
2924
  const Xo = /* @__PURE__ */ k("ZodNonOptional", (e, t) => {
2925
- lu.init(e, t), se.init(e, t), e.unwrap = () => e._zod.def.innerType;
2925
+ lu.init(e, t), le.init(e, t), e.unwrap = () => e._zod.def.innerType;
2926
2926
  });
2927
2927
  function ip(e, t) {
2928
2928
  return new Xo({
@@ -2932,7 +2932,7 @@ function ip(e, t) {
2932
2932
  });
2933
2933
  }
2934
2934
  const op = /* @__PURE__ */ k("ZodCatch", (e, t) => {
2935
- uu.init(e, t), se.init(e, t), e.unwrap = () => e._zod.def.innerType, e.removeCatch = e.unwrap;
2935
+ uu.init(e, t), le.init(e, t), e.unwrap = () => e._zod.def.innerType, e.removeCatch = e.unwrap;
2936
2936
  });
2937
2937
  function ap(e, t) {
2938
2938
  return new op({
@@ -2942,7 +2942,7 @@ function ap(e, t) {
2942
2942
  });
2943
2943
  }
2944
2944
  const sp = /* @__PURE__ */ k("ZodPipe", (e, t) => {
2945
- cu.init(e, t), se.init(e, t), e.in = t.in, e.out = t.out;
2945
+ cu.init(e, t), le.init(e, t), e.in = t.in, e.out = t.out;
2946
2946
  });
2947
2947
  function fi(e, t) {
2948
2948
  return new sp({
@@ -2953,7 +2953,7 @@ function fi(e, t) {
2953
2953
  });
2954
2954
  }
2955
2955
  const lp = /* @__PURE__ */ k("ZodReadonly", (e, t) => {
2956
- pu.init(e, t), se.init(e, t);
2956
+ pu.init(e, t), le.init(e, t);
2957
2957
  });
2958
2958
  function up(e) {
2959
2959
  return new lp({
@@ -2962,7 +2962,7 @@ function up(e) {
2962
2962
  });
2963
2963
  }
2964
2964
  const cp = /* @__PURE__ */ k("ZodLazy", (e, t) => {
2965
- du.init(e, t), se.init(e, t), e.unwrap = () => e._zod.def.getter();
2965
+ du.init(e, t), le.init(e, t), e.unwrap = () => e._zod.def.getter();
2966
2966
  });
2967
2967
  function pp(e) {
2968
2968
  return new cp({
@@ -2971,10 +2971,10 @@ function pp(e) {
2971
2971
  });
2972
2972
  }
2973
2973
  const gr = /* @__PURE__ */ k("ZodCustom", (e, t) => {
2974
- fu.init(e, t), se.init(e, t);
2974
+ fu.init(e, t), le.init(e, t);
2975
2975
  });
2976
2976
  function dp(e) {
2977
- const t = new Ee({
2977
+ const t = new ke({
2978
2978
  check: "custom"
2979
2979
  // ...util.normalizeParams(params),
2980
2980
  });
@@ -3018,7 +3018,7 @@ class hi extends Error {
3018
3018
  super(t), this.name = "ParseError", this.type = n.type, this.field = n.field, this.value = n.value, this.line = n.line;
3019
3019
  }
3020
3020
  }
3021
- const mi = 10, mp = 13, et = 32;
3021
+ const mi = 10, mp = 13, tt = 32;
3022
3022
  function Cn(e) {
3023
3023
  }
3024
3024
  function gp(e) {
@@ -3040,104 +3040,104 @@ function gp(e) {
3040
3040
  return;
3041
3041
  }
3042
3042
  o.push(h);
3043
- const y = o.join("");
3043
+ const g = o.join("");
3044
3044
  o.length = 0;
3045
- const f = m(y);
3045
+ const f = m(g);
3046
3046
  f !== "" && o.push(f);
3047
3047
  }
3048
3048
  function m(h) {
3049
- let y = 0;
3049
+ let g = 0;
3050
3050
  if (h.indexOf("\r") === -1) {
3051
3051
  let f = h.indexOf(`
3052
- `, y);
3052
+ `, g);
3053
3053
  for (; f !== -1; ) {
3054
- if (y === f) {
3055
- l > 0 && t({ id: s, event: c, data: u }), s = void 0, u = "", l = 0, c = void 0, y = f + 1, f = h.indexOf(`
3056
- `, y);
3054
+ if (g === f) {
3055
+ l > 0 && t({ id: s, event: c, data: u }), s = void 0, u = "", l = 0, c = void 0, g = f + 1, f = h.indexOf(`
3056
+ `, g);
3057
3057
  continue;
3058
3058
  }
3059
- const S = h.charCodeAt(y);
3060
- if (gi(h, y, S)) {
3061
- const A = h.charCodeAt(y + 5) === et ? y + 6 : y + 5, w = h.slice(A, f);
3059
+ const S = h.charCodeAt(g);
3060
+ if (gi(h, g, S)) {
3061
+ const A = h.charCodeAt(g + 5) === tt ? g + 6 : g + 5, w = h.slice(A, f);
3062
3062
  if (l === 0 && h.charCodeAt(f + 1) === mi) {
3063
- t({ id: s, event: c, data: w }), s = void 0, u = "", c = void 0, y = f + 2, f = h.indexOf(`
3064
- `, y);
3063
+ t({ id: s, event: c, data: w }), s = void 0, u = "", c = void 0, g = f + 2, f = h.indexOf(`
3064
+ `, g);
3065
3065
  continue;
3066
3066
  }
3067
3067
  u = l === 0 ? w : `${u}
3068
3068
  ${w}`, l++;
3069
- } else yi(h, y, S) ? c = h.slice(
3070
- h.charCodeAt(y + 6) === et ? y + 7 : y + 6,
3069
+ } else yi(h, g, S) ? c = h.slice(
3070
+ h.charCodeAt(g + 6) === tt ? g + 7 : g + 6,
3071
3071
  f
3072
- ) || void 0 : d(h, y, f);
3073
- y = f + 1, f = h.indexOf(`
3074
- `, y);
3072
+ ) || void 0 : d(h, g, f);
3073
+ g = f + 1, f = h.indexOf(`
3074
+ `, g);
3075
3075
  }
3076
- return h.slice(y);
3076
+ return h.slice(g);
3077
3077
  }
3078
- for (; y < h.length; ) {
3079
- const f = h.indexOf("\r", y), S = h.indexOf(`
3080
- `, y);
3078
+ for (; g < h.length; ) {
3079
+ const f = h.indexOf("\r", g), S = h.indexOf(`
3080
+ `, g);
3081
3081
  let A = -1;
3082
3082
  if (f !== -1 && S !== -1 ? A = f < S ? f : S : f !== -1 ? f === h.length - 1 ? A = -1 : A = f : S !== -1 && (A = S), A === -1)
3083
3083
  break;
3084
- d(h, y, A), y = A + 1, h.charCodeAt(y - 1) === mp && h.charCodeAt(y) === mi && y++;
3084
+ d(h, g, A), g = A + 1, h.charCodeAt(g - 1) === mp && h.charCodeAt(g) === mi && g++;
3085
3085
  }
3086
- return h.slice(y);
3086
+ return h.slice(g);
3087
3087
  }
3088
- function d(h, y, f) {
3089
- if (y === f) {
3088
+ function d(h, g, f) {
3089
+ if (g === f) {
3090
3090
  E();
3091
3091
  return;
3092
3092
  }
3093
- const S = h.charCodeAt(y);
3094
- if (gi(h, y, S)) {
3095
- const U = h.charCodeAt(y + 5) === et ? y + 6 : y + 5, O = h.slice(U, f);
3093
+ const S = h.charCodeAt(g);
3094
+ if (gi(h, g, S)) {
3095
+ const U = h.charCodeAt(g + 5) === tt ? g + 6 : g + 5, O = h.slice(U, f);
3096
3096
  u = l === 0 ? O : `${u}
3097
3097
  ${O}`, l++;
3098
3098
  return;
3099
3099
  }
3100
- if (yi(h, y, S)) {
3101
- c = h.slice(h.charCodeAt(y + 6) === et ? y + 7 : y + 6, f) || void 0;
3100
+ if (yi(h, g, S)) {
3101
+ c = h.slice(h.charCodeAt(g + 6) === tt ? g + 7 : g + 6, f) || void 0;
3102
3102
  return;
3103
3103
  }
3104
- if (S === 105 && h.charCodeAt(y + 1) === 100 && h.charCodeAt(y + 2) === 58) {
3105
- const U = h.slice(h.charCodeAt(y + 3) === et ? y + 4 : y + 3, f);
3104
+ if (S === 105 && h.charCodeAt(g + 1) === 100 && h.charCodeAt(g + 2) === 58) {
3105
+ const U = h.slice(h.charCodeAt(g + 3) === tt ? g + 4 : g + 3, f);
3106
3106
  s = U.includes("\0") ? void 0 : U;
3107
3107
  return;
3108
3108
  }
3109
3109
  if (S === 58) {
3110
3110
  if (i) {
3111
- const U = h.slice(y, f);
3112
- i(U.slice(h.charCodeAt(y + 1) === et ? 2 : 1));
3111
+ const U = h.slice(g, f);
3112
+ i(U.slice(h.charCodeAt(g + 1) === tt ? 2 : 1));
3113
3113
  }
3114
3114
  return;
3115
3115
  }
3116
- const A = h.slice(y, f), w = A.indexOf(":");
3116
+ const A = h.slice(g, f), w = A.indexOf(":");
3117
3117
  if (w === -1) {
3118
3118
  b(A, "", A);
3119
3119
  return;
3120
3120
  }
3121
- const C = A.slice(0, w), M = A.charCodeAt(w + 1) === et ? 2 : 1, L = A.slice(w + M);
3121
+ const C = A.slice(0, w), M = A.charCodeAt(w + 1) === tt ? 2 : 1, L = A.slice(w + M);
3122
3122
  b(C, L, A);
3123
3123
  }
3124
- function b(h, y, f) {
3124
+ function b(h, g, f) {
3125
3125
  switch (h) {
3126
3126
  case "event":
3127
- c = y || void 0;
3127
+ c = g || void 0;
3128
3128
  break;
3129
3129
  case "data":
3130
- u = l === 0 ? y : `${u}
3131
- ${y}`, l++;
3130
+ u = l === 0 ? g : `${u}
3131
+ ${g}`, l++;
3132
3132
  break;
3133
3133
  case "id":
3134
- s = y.includes("\0") ? void 0 : y;
3134
+ s = g.includes("\0") ? void 0 : g;
3135
3135
  break;
3136
3136
  case "retry":
3137
- /^\d+$/.test(y) ? r(parseInt(y, 10)) : n(
3138
- new hi(`Invalid \`retry\` value: "${y}"`, {
3137
+ /^\d+$/.test(g) ? r(parseInt(g, 10)) : n(
3138
+ new hi(`Invalid \`retry\` value: "${g}"`, {
3139
3139
  type: "invalid-retry",
3140
- value: y,
3140
+ value: g,
3141
3141
  line: f
3142
3142
  })
3143
3143
  );
@@ -3146,7 +3146,7 @@ ${y}`, l++;
3146
3146
  n(
3147
3147
  new hi(
3148
3148
  `Unknown field "${h.length > 20 ? `${h.slice(0, 20)}…` : h}"`,
3149
- { type: "unknown-field", field: h, value: y, line: f }
3149
+ { type: "unknown-field", field: h, value: g, line: f }
3150
3150
  )
3151
3151
  );
3152
3152
  break;
@@ -3161,8 +3161,8 @@ ${y}`, l++;
3161
3161
  }
3162
3162
  function x(h = {}) {
3163
3163
  if (h.consume && o.length > 0) {
3164
- const y = o.join("");
3165
- d(y, 0, y.length);
3164
+ const g = o.join("");
3165
+ d(g, 0, g.length);
3166
3166
  }
3167
3167
  a = !0, s = void 0, u = "", l = 0, c = void 0, o.length = 0;
3168
3168
  }
@@ -3277,16 +3277,16 @@ function vr(e) {
3277
3277
  const { properties: n } = e;
3278
3278
  if (n != null)
3279
3279
  for (const r of Object.keys(n))
3280
- n[r] = tt(n[r]);
3280
+ n[r] = nt(n[r]);
3281
3281
  }
3282
- e.items != null && (e.items = Array.isArray(e.items) ? e.items.map(tt) : tt(e.items)), e.anyOf != null && (e.anyOf = e.anyOf.map(tt)), e.allOf != null && (e.allOf = e.allOf.map(tt)), e.oneOf != null && (e.oneOf = e.oneOf.map(tt));
3282
+ e.items != null && (e.items = Array.isArray(e.items) ? e.items.map(nt) : nt(e.items)), e.anyOf != null && (e.anyOf = e.anyOf.map(nt)), e.allOf != null && (e.allOf = e.allOf.map(nt)), e.oneOf != null && (e.oneOf = e.oneOf.map(nt));
3283
3283
  const { definitions: t } = e;
3284
3284
  if (t != null)
3285
3285
  for (const n of Object.keys(t))
3286
- t[n] = tt(t[n]);
3286
+ t[n] = nt(t[n]);
3287
3287
  return e;
3288
3288
  }
3289
- function tt(e) {
3289
+ function nt(e) {
3290
3290
  return typeof e == "boolean" ? e : vr(e);
3291
3291
  }
3292
3292
  var Ep = /* @__PURE__ */ Symbol(
@@ -3445,7 +3445,7 @@ function Rp(e) {
3445
3445
  const: e.value
3446
3446
  };
3447
3447
  }
3448
- var zn = void 0, Me = {
3448
+ var zn = void 0, De = {
3449
3449
  /**
3450
3450
  * `c` was changed to `[cC]` to replicate /i flag
3451
3451
  */
@@ -3506,33 +3506,33 @@ function Ko(e, t) {
3506
3506
  case "email":
3507
3507
  switch (t.emailStrategy) {
3508
3508
  case "format:email":
3509
- Re(n, "email", r.message, t);
3509
+ Le(n, "email", r.message, t);
3510
3510
  break;
3511
3511
  case "format:idn-email":
3512
- Re(n, "idn-email", r.message, t);
3512
+ Le(n, "idn-email", r.message, t);
3513
3513
  break;
3514
3514
  case "pattern:zod":
3515
- ye(n, Me.email, r.message, t);
3515
+ ge(n, De.email, r.message, t);
3516
3516
  break;
3517
3517
  }
3518
3518
  break;
3519
3519
  case "url":
3520
- Re(n, "uri", r.message, t);
3520
+ Le(n, "uri", r.message, t);
3521
3521
  break;
3522
3522
  case "uuid":
3523
- Re(n, "uuid", r.message, t);
3523
+ Le(n, "uuid", r.message, t);
3524
3524
  break;
3525
3525
  case "regex":
3526
- ye(n, r.regex, r.message, t);
3526
+ ge(n, r.regex, r.message, t);
3527
3527
  break;
3528
3528
  case "cuid":
3529
- ye(n, Me.cuid, r.message, t);
3529
+ ge(n, De.cuid, r.message, t);
3530
3530
  break;
3531
3531
  case "cuid2":
3532
- ye(n, Me.cuid2, r.message, t);
3532
+ ge(n, De.cuid2, r.message, t);
3533
3533
  break;
3534
3534
  case "startsWith":
3535
- ye(
3535
+ ge(
3536
3536
  n,
3537
3537
  RegExp(`^${Tn(r.value, t)}`),
3538
3538
  r.message,
@@ -3540,7 +3540,7 @@ function Ko(e, t) {
3540
3540
  );
3541
3541
  break;
3542
3542
  case "endsWith":
3543
- ye(
3543
+ ge(
3544
3544
  n,
3545
3545
  RegExp(`${Tn(r.value, t)}$`),
3546
3546
  r.message,
@@ -3548,22 +3548,22 @@ function Ko(e, t) {
3548
3548
  );
3549
3549
  break;
3550
3550
  case "datetime":
3551
- Re(n, "date-time", r.message, t);
3551
+ Le(n, "date-time", r.message, t);
3552
3552
  break;
3553
3553
  case "date":
3554
- Re(n, "date", r.message, t);
3554
+ Le(n, "date", r.message, t);
3555
3555
  break;
3556
3556
  case "time":
3557
- Re(n, "time", r.message, t);
3557
+ Le(n, "time", r.message, t);
3558
3558
  break;
3559
3559
  case "duration":
3560
- Re(n, "duration", r.message, t);
3560
+ Le(n, "duration", r.message, t);
3561
3561
  break;
3562
3562
  case "length":
3563
3563
  n.minLength = typeof n.minLength == "number" ? Math.max(n.minLength, r.value) : r.value, n.maxLength = typeof n.maxLength == "number" ? Math.min(n.maxLength, r.value) : r.value;
3564
3564
  break;
3565
3565
  case "includes": {
3566
- ye(
3566
+ ge(
3567
3567
  n,
3568
3568
  RegExp(Tn(r.value, t)),
3569
3569
  r.message,
@@ -3572,30 +3572,30 @@ function Ko(e, t) {
3572
3572
  break;
3573
3573
  }
3574
3574
  case "ip": {
3575
- r.version !== "v6" && Re(n, "ipv4", r.message, t), r.version !== "v4" && Re(n, "ipv6", r.message, t);
3575
+ r.version !== "v6" && Le(n, "ipv4", r.message, t), r.version !== "v4" && Le(n, "ipv6", r.message, t);
3576
3576
  break;
3577
3577
  }
3578
3578
  case "base64url":
3579
- ye(n, Me.base64url, r.message, t);
3579
+ ge(n, De.base64url, r.message, t);
3580
3580
  break;
3581
3581
  case "jwt":
3582
- ye(n, Me.jwt, r.message, t);
3582
+ ge(n, De.jwt, r.message, t);
3583
3583
  break;
3584
3584
  case "cidr": {
3585
- r.version !== "v6" && ye(n, Me.ipv4Cidr, r.message, t), r.version !== "v4" && ye(n, Me.ipv6Cidr, r.message, t);
3585
+ r.version !== "v6" && ge(n, De.ipv4Cidr, r.message, t), r.version !== "v4" && ge(n, De.ipv6Cidr, r.message, t);
3586
3586
  break;
3587
3587
  }
3588
3588
  case "emoji":
3589
- ye(n, Me.emoji(), r.message, t);
3589
+ ge(n, De.emoji(), r.message, t);
3590
3590
  break;
3591
3591
  case "ulid": {
3592
- ye(n, Me.ulid, r.message, t);
3592
+ ge(n, De.ulid, r.message, t);
3593
3593
  break;
3594
3594
  }
3595
3595
  case "base64": {
3596
3596
  switch (t.base64Strategy) {
3597
3597
  case "format:binary": {
3598
- Re(n, "binary", r.message, t);
3598
+ Le(n, "binary", r.message, t);
3599
3599
  break;
3600
3600
  }
3601
3601
  case "contentEncoding:base64": {
@@ -3603,14 +3603,14 @@ function Ko(e, t) {
3603
3603
  break;
3604
3604
  }
3605
3605
  case "pattern:zod": {
3606
- ye(n, Me.base64, r.message, t);
3606
+ ge(n, De.base64, r.message, t);
3607
3607
  break;
3608
3608
  }
3609
3609
  }
3610
3610
  break;
3611
3611
  }
3612
3612
  case "nanoid":
3613
- ye(n, Me.nanoid, r.message, t);
3613
+ ge(n, De.nanoid, r.message, t);
3614
3614
  }
3615
3615
  return n;
3616
3616
  }
@@ -3626,7 +3626,7 @@ function Lp(e) {
3626
3626
  Dp.has(e[n]) || (t += "\\"), t += e[n];
3627
3627
  return t;
3628
3628
  }
3629
- function Re(e, t, n, r) {
3629
+ function Le(e, t, n, r) {
3630
3630
  var i;
3631
3631
  e.format || (i = e.anyOf) != null && i.some((o) => o.format) ? (e.anyOf || (e.anyOf = []), e.format && (e.anyOf.push({
3632
3632
  format: e.format
@@ -3635,7 +3635,7 @@ function Re(e, t, n, r) {
3635
3635
  ...n && r.errorMessages && { errorMessage: { format: n } }
3636
3636
  })) : e.format = t;
3637
3637
  }
3638
- function ye(e, t, n, r) {
3638
+ function ge(e, t, n, r) {
3639
3639
  var i;
3640
3640
  e.pattern || (i = e.allOf) != null && i.some((o) => o.pattern) ? (e.allOf || (e.allOf = []), e.pattern && (e.allOf.push({
3641
3641
  pattern: e.pattern
@@ -4315,7 +4315,7 @@ async function Vt({
4315
4315
  };
4316
4316
  }
4317
4317
  }
4318
- async function it({
4318
+ async function ot({
4319
4319
  text: e,
4320
4320
  schema: t
4321
4321
  }) {
@@ -4337,18 +4337,18 @@ function md({
4337
4337
  return e.pipeThrough(new TextDecoderStream()).pipeThrough(new yp()).pipeThrough(
4338
4338
  new TransformStream({
4339
4339
  async transform({ data: n }, r) {
4340
- n !== "[DONE]" && r.enqueue(await it({ text: n, schema: t }));
4340
+ n !== "[DONE]" && r.enqueue(await ot({ text: n, schema: t }));
4341
4341
  }
4342
4342
  })
4343
4343
  );
4344
4344
  }
4345
- async function Je(e) {
4345
+ async function Xe(e) {
4346
4346
  return typeof e == "function" && (e = e()), Promise.resolve(e);
4347
4347
  }
4348
4348
  var gd = Object.defineProperty, yd = (e, t) => {
4349
4349
  for (var n in t)
4350
4350
  gd(e, n, { get: t[n], enumerable: !0 });
4351
- }, na = "AI_NoObjectGeneratedError", ra = `vercel.ai.error.${na}`, vd = Symbol.for(ra), ia, Xe = class extends Be {
4351
+ }, na = "AI_NoObjectGeneratedError", ra = `vercel.ai.error.${na}`, vd = Symbol.for(ra), ia, Ye = class extends Ue {
4352
4352
  constructor({
4353
4353
  message: e = "No object generated.",
4354
4354
  cause: t,
@@ -4360,11 +4360,11 @@ var gd = Object.defineProperty, yd = (e, t) => {
4360
4360
  super({ name: na, message: e, cause: t }), this[ia] = !0, this.text = n, this.response = r, this.usage = i, this.finishReason = o;
4361
4361
  }
4362
4362
  static isInstance(e) {
4363
- return Be.hasMarker(e, ra);
4363
+ return Ue.hasMarker(e, ra);
4364
4364
  }
4365
4365
  };
4366
4366
  ia = vd;
4367
- var oa = "AI_UIMessageStreamError", aa = `vercel.ai.error.${oa}`, bd = Symbol.for(aa), sa, ft = class extends Be {
4367
+ var oa = "AI_UIMessageStreamError", aa = `vercel.ai.error.${oa}`, bd = Symbol.for(aa), sa, ft = class extends Ue {
4368
4368
  constructor({
4369
4369
  chunkType: e,
4370
4370
  chunkId: t,
@@ -4373,11 +4373,11 @@ var oa = "AI_UIMessageStreamError", aa = `vercel.ai.error.${oa}`, bd = Symbol.fo
4373
4373
  super({ name: oa, message: n }), this[sa] = !0, this.chunkType = e, this.chunkId = t;
4374
4374
  }
4375
4375
  static isInstance(e) {
4376
- return Be.hasMarker(e, aa);
4376
+ return Ue.hasMarker(e, aa);
4377
4377
  }
4378
4378
  };
4379
4379
  sa = bd;
4380
- var la = be([
4380
+ var la = ve([
4381
4381
  z(),
4382
4382
  mn(Uint8Array),
4383
4383
  mn(ArrayBuffer),
@@ -4389,80 +4389,80 @@ var la = be([
4389
4389
  },
4390
4390
  { message: "Must be a Buffer" }
4391
4391
  )
4392
- ]), ot = pp(
4393
- () => be([
4392
+ ]), at = pp(
4393
+ () => ve([
4394
4394
  Fc(),
4395
4395
  z(),
4396
4396
  Lc(),
4397
- ve(),
4398
- rt(z(), ot.optional()),
4399
- kt(ot)
4397
+ ye(),
4398
+ it(z(), at.optional()),
4399
+ kt(at)
4400
4400
  ])
4401
- ), H = rt(
4401
+ ), V = it(
4402
4402
  z(),
4403
- rt(z(), ot.optional())
4403
+ it(z(), at.optional())
4404
4404
  ), ua = ee({
4405
4405
  type: D("text"),
4406
4406
  text: z(),
4407
- providerOptions: H.optional()
4407
+ providerOptions: V.optional()
4408
4408
  }), wd = ee({
4409
4409
  type: D("image"),
4410
- image: be([la, mn(URL)]),
4410
+ image: ve([la, mn(URL)]),
4411
4411
  mediaType: z().optional(),
4412
- providerOptions: H.optional()
4412
+ providerOptions: V.optional()
4413
4413
  }), ca = ee({
4414
4414
  type: D("file"),
4415
- data: be([la, mn(URL)]),
4415
+ data: ve([la, mn(URL)]),
4416
4416
  filename: z().optional(),
4417
4417
  mediaType: z(),
4418
- providerOptions: H.optional()
4418
+ providerOptions: V.optional()
4419
4419
  }), xd = ee({
4420
4420
  type: D("reasoning"),
4421
4421
  text: z(),
4422
- providerOptions: H.optional()
4422
+ providerOptions: V.optional()
4423
4423
  }), kd = ee({
4424
4424
  type: D("tool-call"),
4425
4425
  toolCallId: z(),
4426
4426
  toolName: z(),
4427
- input: Ze(),
4428
- providerOptions: H.optional(),
4429
- providerExecuted: ve().optional()
4427
+ input: Be(),
4428
+ providerOptions: V.optional(),
4429
+ providerExecuted: ye().optional()
4430
4430
  }), Ed = Wc(
4431
4431
  "type",
4432
4432
  [
4433
4433
  ee({
4434
4434
  type: D("text"),
4435
4435
  value: z(),
4436
- providerOptions: H.optional()
4436
+ providerOptions: V.optional()
4437
4437
  }),
4438
4438
  ee({
4439
4439
  type: D("json"),
4440
- value: ot,
4441
- providerOptions: H.optional()
4440
+ value: at,
4441
+ providerOptions: V.optional()
4442
4442
  }),
4443
4443
  ee({
4444
4444
  type: D("execution-denied"),
4445
4445
  reason: z().optional(),
4446
- providerOptions: H.optional()
4446
+ providerOptions: V.optional()
4447
4447
  }),
4448
4448
  ee({
4449
4449
  type: D("error-text"),
4450
4450
  value: z(),
4451
- providerOptions: H.optional()
4451
+ providerOptions: V.optional()
4452
4452
  }),
4453
4453
  ee({
4454
4454
  type: D("error-json"),
4455
- value: ot,
4456
- providerOptions: H.optional()
4455
+ value: at,
4456
+ providerOptions: V.optional()
4457
4457
  }),
4458
4458
  ee({
4459
4459
  type: D("content"),
4460
4460
  value: kt(
4461
- be([
4461
+ ve([
4462
4462
  ee({
4463
4463
  type: D("text"),
4464
4464
  text: z(),
4465
- providerOptions: H.optional()
4465
+ providerOptions: V.optional()
4466
4466
  }),
4467
4467
  ee({
4468
4468
  type: D("media"),
@@ -4474,37 +4474,37 @@ var la = be([
4474
4474
  data: z(),
4475
4475
  mediaType: z(),
4476
4476
  filename: z().optional(),
4477
- providerOptions: H.optional()
4477
+ providerOptions: V.optional()
4478
4478
  }),
4479
4479
  ee({
4480
4480
  type: D("file-url"),
4481
4481
  url: z(),
4482
- providerOptions: H.optional()
4482
+ providerOptions: V.optional()
4483
4483
  }),
4484
4484
  ee({
4485
4485
  type: D("file-id"),
4486
- fileId: be([z(), rt(z(), z())]),
4487
- providerOptions: H.optional()
4486
+ fileId: ve([z(), it(z(), z())]),
4487
+ providerOptions: V.optional()
4488
4488
  }),
4489
4489
  ee({
4490
4490
  type: D("image-data"),
4491
4491
  data: z(),
4492
4492
  mediaType: z(),
4493
- providerOptions: H.optional()
4493
+ providerOptions: V.optional()
4494
4494
  }),
4495
4495
  ee({
4496
4496
  type: D("image-url"),
4497
4497
  url: z(),
4498
- providerOptions: H.optional()
4498
+ providerOptions: V.optional()
4499
4499
  }),
4500
4500
  ee({
4501
4501
  type: D("image-file-id"),
4502
- fileId: be([z(), rt(z(), z())]),
4503
- providerOptions: H.optional()
4502
+ fileId: ve([z(), it(z(), z())]),
4503
+ providerOptions: V.optional()
4504
4504
  }),
4505
4505
  ee({
4506
4506
  type: D("custom"),
4507
- providerOptions: H.optional()
4507
+ providerOptions: V.optional()
4508
4508
  })
4509
4509
  ])
4510
4510
  )
@@ -4515,7 +4515,7 @@ var la = be([
4515
4515
  toolCallId: z(),
4516
4516
  toolName: z(),
4517
4517
  output: Ed,
4518
- providerOptions: H.optional()
4518
+ providerOptions: V.optional()
4519
4519
  }), Id = ee({
4520
4520
  type: D("tool-approval-request"),
4521
4521
  approvalId: z(),
@@ -4523,27 +4523,27 @@ var la = be([
4523
4523
  }), Sd = ee({
4524
4524
  type: D("tool-approval-response"),
4525
4525
  approvalId: z(),
4526
- approved: ve(),
4526
+ approved: ye(),
4527
4527
  reason: z().optional()
4528
4528
  }), Ad = ee(
4529
4529
  {
4530
4530
  role: D("system"),
4531
4531
  content: z(),
4532
- providerOptions: H.optional()
4532
+ providerOptions: V.optional()
4533
4533
  }
4534
4534
  ), _d = ee({
4535
4535
  role: D("user"),
4536
- content: be([
4536
+ content: ve([
4537
4537
  z(),
4538
- kt(be([ua, wd, ca]))
4538
+ kt(ve([ua, wd, ca]))
4539
4539
  ]),
4540
- providerOptions: H.optional()
4540
+ providerOptions: V.optional()
4541
4541
  }), Cd = ee({
4542
4542
  role: D("assistant"),
4543
- content: be([
4543
+ content: ve([
4544
4544
  z(),
4545
4545
  kt(
4546
- be([
4546
+ ve([
4547
4547
  ua,
4548
4548
  ca,
4549
4549
  xd,
@@ -4553,13 +4553,13 @@ var la = be([
4553
4553
  ])
4554
4554
  )
4555
4555
  ]),
4556
- providerOptions: H.optional()
4556
+ providerOptions: V.optional()
4557
4557
  }), zd = ee({
4558
4558
  role: D("tool"),
4559
- content: kt(be([pa, Sd])),
4560
- providerOptions: H.optional()
4559
+ content: kt(ve([pa, Sd])),
4560
+ providerOptions: V.optional()
4561
4561
  });
4562
- be([
4562
+ ve([
4563
4563
  Ad,
4564
4564
  _d,
4565
4565
  Cd,
@@ -4845,8 +4845,8 @@ function Pd(e) {
4845
4845
  async function Qt(e) {
4846
4846
  if (e === void 0)
4847
4847
  return { value: void 0, state: "undefined-input" };
4848
- let t = await it({ text: e });
4849
- return t.success ? { value: t.value, state: "successful-parse" } : (t = await it({ text: Pd(e) }), t.success ? { value: t.value, state: "repaired-parse" } : { value: void 0, state: "failed-parse" });
4848
+ let t = await ot({ text: e });
4849
+ return t.success ? { value: t.value, state: "successful-parse" } : (t = await ot({ text: Pd(e) }), t.success ? { value: t.value, state: "repaired-parse" } : { value: void 0, state: "failed-parse" });
4850
4850
  }
4851
4851
  var Od = () => ({
4852
4852
  name: "text",
@@ -4867,16 +4867,16 @@ var Od = () => ({
4867
4867
  const r = br(e);
4868
4868
  return {
4869
4869
  name: "object",
4870
- responseFormat: Je(r.jsonSchema).then((i) => ({
4870
+ responseFormat: Xe(r.jsonSchema).then((i) => ({
4871
4871
  type: "json",
4872
4872
  schema: i,
4873
4873
  ...t != null && { name: t },
4874
4874
  ...n != null && { description: n }
4875
4875
  })),
4876
4876
  async parseCompleteOutput({ text: i }, o) {
4877
- const a = await it({ text: i });
4877
+ const a = await ot({ text: i });
4878
4878
  if (!a.success)
4879
- throw new Xe({
4879
+ throw new Ye({
4880
4880
  message: "No object generated: could not parse the response.",
4881
4881
  cause: a.error,
4882
4882
  text: i,
@@ -4889,7 +4889,7 @@ var Od = () => ({
4889
4889
  schema: r
4890
4890
  });
4891
4891
  if (!s.success)
4892
- throw new Xe({
4892
+ throw new Ye({
4893
4893
  message: "No object generated: response did not match schema.",
4894
4894
  cause: s.error,
4895
4895
  text: i,
@@ -4925,7 +4925,7 @@ var Od = () => ({
4925
4925
  return {
4926
4926
  name: "array",
4927
4927
  // JSON schema that describes an array of elements:
4928
- responseFormat: Je(r.jsonSchema).then((i) => {
4928
+ responseFormat: Xe(r.jsonSchema).then((i) => {
4929
4929
  const { $schema: o, ...a } = i;
4930
4930
  return {
4931
4931
  type: "json",
@@ -4943,9 +4943,9 @@ var Od = () => ({
4943
4943
  };
4944
4944
  }),
4945
4945
  async parseCompleteOutput({ text: i }, o) {
4946
- const a = await it({ text: i });
4946
+ const a = await ot({ text: i });
4947
4947
  if (!a.success)
4948
- throw new Xe({
4948
+ throw new Ye({
4949
4949
  message: "No object generated: could not parse the response.",
4950
4950
  cause: a.error,
4951
4951
  text: i,
@@ -4955,7 +4955,7 @@ var Od = () => ({
4955
4955
  });
4956
4956
  const s = a.value;
4957
4957
  if (s == null || typeof s != "object" || !("elements" in s) || !Array.isArray(s.elements))
4958
- throw new Xe({
4958
+ throw new Ye({
4959
4959
  message: "No object generated: response did not match schema.",
4960
4960
  cause: new xt({
4961
4961
  value: s,
@@ -4972,7 +4972,7 @@ var Od = () => ({
4972
4972
  schema: r
4973
4973
  });
4974
4974
  if (!l.success)
4975
- throw new Xe({
4975
+ throw new Ye({
4976
4976
  message: "No object generated: response did not match schema.",
4977
4977
  cause: l.error,
4978
4978
  text: i,
@@ -5039,9 +5039,9 @@ var Od = () => ({
5039
5039
  ...n != null && { description: n }
5040
5040
  }),
5041
5041
  async parseCompleteOutput({ text: r }, i) {
5042
- const o = await it({ text: r });
5042
+ const o = await ot({ text: r });
5043
5043
  if (!o.success)
5044
- throw new Xe({
5044
+ throw new Ye({
5045
5045
  message: "No object generated: could not parse the response.",
5046
5046
  cause: o.error,
5047
5047
  text: r,
@@ -5051,7 +5051,7 @@ var Od = () => ({
5051
5051
  });
5052
5052
  const a = o.value;
5053
5053
  if (a == null || typeof a != "object" || !("result" in a) || typeof a.result != "string" || !e.includes(a.result))
5054
- throw new Xe({
5054
+ throw new Ye({
5055
5055
  message: "No object generated: response did not match schema.",
5056
5056
  cause: new xt({
5057
5057
  value: a,
@@ -5095,9 +5095,9 @@ var Od = () => ({
5095
5095
  ...t != null && { description: t }
5096
5096
  }),
5097
5097
  async parseCompleteOutput({ text: n }, r) {
5098
- const i = await it({ text: n });
5098
+ const i = await ot({ text: n });
5099
5099
  if (!i.success)
5100
- throw new Xe({
5100
+ throw new Ye({
5101
5101
  message: "No object generated: could not parse the response.",
5102
5102
  cause: i.error,
5103
5103
  text: n,
@@ -5141,27 +5141,27 @@ Yt({
5141
5141
  });
5142
5142
  }
5143
5143
  });
5144
- var zt = rt(
5144
+ var zt = it(
5145
5145
  z(),
5146
- ot.optional()
5146
+ at.optional()
5147
5147
  ), Ld = ud(
5148
5148
  () => ta(
5149
- be([
5149
+ ve([
5150
5150
  ie({
5151
5151
  type: D("text-start"),
5152
5152
  id: z(),
5153
- providerMetadata: H.optional()
5153
+ providerMetadata: V.optional()
5154
5154
  }),
5155
5155
  ie({
5156
5156
  type: D("text-delta"),
5157
5157
  id: z(),
5158
5158
  delta: z(),
5159
- providerMetadata: H.optional()
5159
+ providerMetadata: V.optional()
5160
5160
  }),
5161
5161
  ie({
5162
5162
  type: D("text-end"),
5163
5163
  id: z(),
5164
- providerMetadata: H.optional()
5164
+ providerMetadata: V.optional()
5165
5165
  }),
5166
5166
  ie({
5167
5167
  type: D("error"),
@@ -5171,10 +5171,10 @@ var zt = rt(
5171
5171
  type: D("tool-input-start"),
5172
5172
  toolCallId: z(),
5173
5173
  toolName: z(),
5174
- providerExecuted: ve().optional(),
5175
- providerMetadata: H.optional(),
5174
+ providerExecuted: ye().optional(),
5175
+ providerMetadata: V.optional(),
5176
5176
  toolMetadata: zt.optional(),
5177
- dynamic: ve().optional(),
5177
+ dynamic: ye().optional(),
5178
5178
  title: z().optional()
5179
5179
  }),
5180
5180
  ie({
@@ -5186,22 +5186,22 @@ var zt = rt(
5186
5186
  type: D("tool-input-available"),
5187
5187
  toolCallId: z(),
5188
5188
  toolName: z(),
5189
- input: Ze(),
5190
- providerExecuted: ve().optional(),
5191
- providerMetadata: H.optional(),
5189
+ input: Be(),
5190
+ providerExecuted: ye().optional(),
5191
+ providerMetadata: V.optional(),
5192
5192
  toolMetadata: zt.optional(),
5193
- dynamic: ve().optional(),
5193
+ dynamic: ye().optional(),
5194
5194
  title: z().optional()
5195
5195
  }),
5196
5196
  ie({
5197
5197
  type: D("tool-input-error"),
5198
5198
  toolCallId: z(),
5199
5199
  toolName: z(),
5200
- input: Ze(),
5201
- providerExecuted: ve().optional(),
5202
- providerMetadata: H.optional(),
5200
+ input: Be(),
5201
+ providerExecuted: ye().optional(),
5202
+ providerMetadata: V.optional(),
5203
5203
  toolMetadata: zt.optional(),
5204
- dynamic: ve().optional(),
5204
+ dynamic: ye().optional(),
5205
5205
  errorText: z(),
5206
5206
  title: z().optional()
5207
5207
  }),
@@ -5213,21 +5213,21 @@ var zt = rt(
5213
5213
  ie({
5214
5214
  type: D("tool-output-available"),
5215
5215
  toolCallId: z(),
5216
- output: Ze(),
5217
- providerExecuted: ve().optional(),
5218
- providerMetadata: H.optional(),
5216
+ output: Be(),
5217
+ providerExecuted: ye().optional(),
5218
+ providerMetadata: V.optional(),
5219
5219
  toolMetadata: zt.optional(),
5220
- dynamic: ve().optional(),
5221
- preliminary: ve().optional()
5220
+ dynamic: ye().optional(),
5221
+ preliminary: ye().optional()
5222
5222
  }),
5223
5223
  ie({
5224
5224
  type: D("tool-output-error"),
5225
5225
  toolCallId: z(),
5226
5226
  errorText: z(),
5227
- providerExecuted: ve().optional(),
5228
- providerMetadata: H.optional(),
5227
+ providerExecuted: ye().optional(),
5228
+ providerMetadata: V.optional(),
5229
5229
  toolMetadata: zt.optional(),
5230
- dynamic: ve().optional()
5230
+ dynamic: ye().optional()
5231
5231
  }),
5232
5232
  ie({
5233
5233
  type: D("tool-output-denied"),
@@ -5236,25 +5236,25 @@ var zt = rt(
5236
5236
  ie({
5237
5237
  type: D("reasoning-start"),
5238
5238
  id: z(),
5239
- providerMetadata: H.optional()
5239
+ providerMetadata: V.optional()
5240
5240
  }),
5241
5241
  ie({
5242
5242
  type: D("reasoning-delta"),
5243
5243
  id: z(),
5244
5244
  delta: z(),
5245
- providerMetadata: H.optional()
5245
+ providerMetadata: V.optional()
5246
5246
  }),
5247
5247
  ie({
5248
5248
  type: D("reasoning-end"),
5249
5249
  id: z(),
5250
- providerMetadata: H.optional()
5250
+ providerMetadata: V.optional()
5251
5251
  }),
5252
5252
  ie({
5253
5253
  type: D("source-url"),
5254
5254
  sourceId: z(),
5255
5255
  url: z(),
5256
5256
  title: z().optional(),
5257
- providerMetadata: H.optional()
5257
+ providerMetadata: V.optional()
5258
5258
  }),
5259
5259
  ie({
5260
5260
  type: D("source-document"),
@@ -5262,13 +5262,13 @@ var zt = rt(
5262
5262
  mediaType: z(),
5263
5263
  title: z(),
5264
5264
  filename: z().optional(),
5265
- providerMetadata: H.optional()
5265
+ providerMetadata: V.optional()
5266
5266
  }),
5267
5267
  ie({
5268
5268
  type: D("file"),
5269
5269
  url: z(),
5270
5270
  mediaType: z(),
5271
- providerMetadata: H.optional()
5271
+ providerMetadata: V.optional()
5272
5272
  }),
5273
5273
  ie({
5274
5274
  type: Yo(
@@ -5276,8 +5276,8 @@ var zt = rt(
5276
5276
  { message: 'Type must start with "data-"' }
5277
5277
  ),
5278
5278
  id: z().optional(),
5279
- data: Ze(),
5280
- transient: ve().optional()
5279
+ data: Be(),
5280
+ transient: ye().optional()
5281
5281
  }),
5282
5282
  ie({
5283
5283
  type: D("start-step")
@@ -5288,7 +5288,7 @@ var zt = rt(
5288
5288
  ie({
5289
5289
  type: D("start"),
5290
5290
  messageId: z().optional(),
5291
- messageMetadata: Ze().optional()
5291
+ messageMetadata: Be().optional()
5292
5292
  }),
5293
5293
  ie({
5294
5294
  type: D("finish"),
@@ -5300,7 +5300,7 @@ var zt = rt(
5300
5300
  "error",
5301
5301
  "other"
5302
5302
  ]).optional(),
5303
- messageMetadata: Ze().optional()
5303
+ messageMetadata: Be().optional()
5304
5304
  }),
5305
5305
  ie({
5306
5306
  type: D("abort"),
@@ -5308,7 +5308,7 @@ var zt = rt(
5308
5308
  }),
5309
5309
  ie({
5310
5310
  type: D("message-metadata"),
5311
- messageMetadata: Ze()
5311
+ messageMetadata: Be()
5312
5312
  })
5313
5313
  ])
5314
5314
  )
@@ -5438,7 +5438,7 @@ function Fd({
5438
5438
  ...C.providerMetadata != null && !(f.state === "output-available" || f.state === "output-error") ? { callProviderMetadata: C.providerMetadata } : {}
5439
5439
  });
5440
5440
  }
5441
- async function y(f) {
5441
+ async function g(f) {
5442
5442
  if (f != null) {
5443
5443
  const S = l.message.metadata != null ? da(l.message.metadata, f) : f;
5444
5444
  t != null && await xi({
@@ -5725,15 +5725,15 @@ function Fd({
5725
5725
  break;
5726
5726
  }
5727
5727
  case "start": {
5728
- s.messageId != null && (l.message.id = s.messageId), await y(s.messageMetadata), (s.messageId != null || s.messageMetadata != null) && c();
5728
+ s.messageId != null && (l.message.id = s.messageId), await g(s.messageMetadata), (s.messageId != null || s.messageMetadata != null) && c();
5729
5729
  break;
5730
5730
  }
5731
5731
  case "finish": {
5732
- s.finishReason != null && (l.finishReason = s.finishReason), await y(s.messageMetadata), s.messageMetadata != null && c();
5732
+ s.finishReason != null && (l.finishReason = s.finishReason), await g(s.messageMetadata), s.messageMetadata != null && c();
5733
5733
  break;
5734
5734
  }
5735
5735
  case "message-metadata": {
5736
- await y(s.messageMetadata), s.messageMetadata != null && c();
5736
+ await g(s.messageMetadata), s.messageMetadata != null && c();
5737
5737
  break;
5738
5738
  }
5739
5739
  case "error": {
@@ -5794,9 +5794,9 @@ Yt({
5794
5794
  prefix: "aitxt",
5795
5795
  size: 24
5796
5796
  });
5797
- rt(
5797
+ it(
5798
5798
  z(),
5799
- ot.optional()
5799
+ at.optional()
5800
5800
  );
5801
5801
  Yt({ prefix: "aiobj", size: 24 });
5802
5802
  var $d = class {
@@ -5863,7 +5863,7 @@ var Vd = class {
5863
5863
  ...t
5864
5864
  }) {
5865
5865
  var n, r, i, o, a;
5866
- const s = await Je(this.body), u = await Je(this.headers), l = await Je(this.credentials), c = {
5866
+ const s = await Xe(this.body), u = await Xe(this.headers), l = await Xe(this.credentials), c = {
5867
5867
  ...dt(u),
5868
5868
  ...dt(t.headers)
5869
5869
  }, p = await ((n = this.prepareSendMessagesRequest) == null ? void 0 : n.call(this, {
@@ -5903,7 +5903,7 @@ var Vd = class {
5903
5903
  }
5904
5904
  async reconnectToStream(e) {
5905
5905
  var t, n, r, i, o;
5906
- const a = await Je(this.body), s = await Je(this.headers), u = await Je(this.credentials), l = {
5906
+ const a = await Xe(this.body), s = await Xe(this.headers), u = await Xe(this.credentials), l = {
5907
5907
  ...dt(s),
5908
5908
  ...dt(e.headers)
5909
5909
  }, c = await ((t = this.prepareReconnectToStreamRequest) == null ? void 0 : t.call(this, {
@@ -5977,16 +5977,16 @@ var Vd = class {
5977
5977
  ..."text" in p && p.text != null ? [{ type: "text", text: p.text }] : []
5978
5978
  ]
5979
5979
  } : h = p, p.messageId != null) {
5980
- const y = this.state.messages.findIndex(
5980
+ const g = this.state.messages.findIndex(
5981
5981
  (f) => f.id === p.messageId
5982
5982
  );
5983
- if (y === -1)
5983
+ if (g === -1)
5984
5984
  throw new Error(`message with id ${p.messageId} not found`);
5985
- if (this.state.messages[y].role !== "user")
5985
+ if (this.state.messages[g].role !== "user")
5986
5986
  throw new Error(
5987
5987
  `message with id ${p.messageId} is not a user message`
5988
5988
  );
5989
- this.state.messages = this.state.messages.slice(0, y + 1), this.state.replaceMessage(y, {
5989
+ this.state.messages = this.state.messages.slice(0, g + 1), this.state.replaceMessage(g, {
5990
5990
  ...h,
5991
5991
  id: p.messageId,
5992
5992
  role: (b = h.role) != null ? b : "user",
@@ -6030,17 +6030,17 @@ var Vd = class {
6030
6030
  reason: d,
6031
6031
  options: b
6032
6032
  }) => this.jobExecutor.run(async () => {
6033
- const E = this.state.messages, x = E[E.length - 1], h = (y) => Wt(y) && y.state === "approval-requested" && y.approval.id === p ? {
6034
- ...y,
6033
+ const E = this.state.messages, x = E[E.length - 1], h = (g) => Wt(g) && g.state === "approval-requested" && g.approval.id === p ? {
6034
+ ...g,
6035
6035
  state: "approval-responded",
6036
6036
  approval: { id: p, approved: m, reason: d }
6037
- } : y;
6037
+ } : g;
6038
6038
  this.state.replaceMessage(E.length - 1, {
6039
6039
  ...x,
6040
6040
  parts: x.parts.map(h)
6041
- }), this.activeResponse && (this.activeResponse.state.message.parts = this.activeResponse.state.message.parts.map(h)), this.status !== "streaming" && this.status !== "submitted" && this.sendAutomaticallyWhen && this.shouldSendAutomatically().then((y) => {
6041
+ }), this.activeResponse && (this.activeResponse.state.message.parts = this.activeResponse.state.message.parts.map(h)), this.status !== "streaming" && this.status !== "submitted" && this.sendAutomaticallyWhen && this.shouldSendAutomatically().then((g) => {
6042
6042
  var f;
6043
- y && this.makeRequest({
6043
+ g && this.makeRequest({
6044
6044
  trigger: "submit-message",
6045
6045
  messageId: (f = this.lastMessage) == null ? void 0 : f.id,
6046
6046
  ...b
@@ -6053,11 +6053,11 @@ var Vd = class {
6053
6053
  errorText: b,
6054
6054
  options: E
6055
6055
  }) => this.jobExecutor.run(async () => {
6056
- const x = this.state.messages, h = x[x.length - 1], y = (f) => Wt(f) && f.toolCallId === m ? { ...f, state: p, output: d, errorText: b } : f;
6056
+ const x = this.state.messages, h = x[x.length - 1], g = (f) => Wt(f) && f.toolCallId === m ? { ...f, state: p, output: d, errorText: b } : f;
6057
6057
  this.state.replaceMessage(x.length - 1, {
6058
6058
  ...h,
6059
- parts: h.parts.map(y)
6060
- }), this.activeResponse && (this.activeResponse.state.message.parts = this.activeResponse.state.message.parts.map(y)), this.status !== "streaming" && this.status !== "submitted" && this.sendAutomaticallyWhen && this.shouldSendAutomatically().then((f) => {
6059
+ parts: h.parts.map(g)
6060
+ }), this.activeResponse && (this.activeResponse.state.message.parts = this.activeResponse.state.message.parts.map(g)), this.status !== "streaming" && this.status !== "submitted" && this.sendAutomaticallyWhen && this.shouldSendAutomatically().then((f) => {
6061
6061
  var S;
6062
6062
  f && this.makeRequest({
6063
6063
  trigger: "submit-message",
@@ -6237,26 +6237,26 @@ const Xd = /* @__PURE__ */ yr(Jd);
6237
6237
  var ma = (e, t, n) => {
6238
6238
  if (!t.has(e))
6239
6239
  throw TypeError("Cannot " + n);
6240
- }, oe = (e, t, n) => (ma(e, t, "read from private field"), n ? n.call(e) : t.get(e)), De = (e, t, n) => {
6240
+ }, oe = (e, t, n) => (ma(e, t, "read from private field"), n ? n.call(e) : t.get(e)), Ze = (e, t, n) => {
6241
6241
  if (t.has(e))
6242
6242
  throw TypeError("Cannot add the same private member more than once");
6243
6243
  t instanceof WeakSet ? t.add(e) : t.set(e, n);
6244
- }, qe = (e, t, n, r) => (ma(e, t, "write to private field"), t.set(e, n), n);
6244
+ }, Je = (e, t, n, r) => (ma(e, t, "write to private field"), t.set(e, n), n);
6245
6245
  function Yd(e, t) {
6246
6246
  return t != null ? Xd(e, t) : e;
6247
6247
  }
6248
- var Te, un, cn, Rt, Dt, Lt, yt, Kn, er, Qd = class {
6248
+ var Oe, un, cn, Rt, Dt, Lt, yt, Kn, er, Qd = class {
6249
6249
  constructor(e = []) {
6250
- De(this, Te, void 0), De(this, un, "ready"), De(this, cn, void 0), De(this, Rt, /* @__PURE__ */ new Set()), De(this, Dt, /* @__PURE__ */ new Set()), De(this, Lt, /* @__PURE__ */ new Set()), this.pushMessage = (t) => {
6251
- qe(this, Te, oe(this, Te).concat(t)), oe(this, yt).call(this);
6250
+ Ze(this, Oe, void 0), Ze(this, un, "ready"), Ze(this, cn, void 0), Ze(this, Rt, /* @__PURE__ */ new Set()), Ze(this, Dt, /* @__PURE__ */ new Set()), Ze(this, Lt, /* @__PURE__ */ new Set()), this.pushMessage = (t) => {
6251
+ Je(this, Oe, oe(this, Oe).concat(t)), oe(this, yt).call(this);
6252
6252
  }, this.popMessage = () => {
6253
- qe(this, Te, oe(this, Te).slice(0, -1)), oe(this, yt).call(this);
6253
+ Je(this, Oe, oe(this, Oe).slice(0, -1)), oe(this, yt).call(this);
6254
6254
  }, this.replaceMessage = (t, n) => {
6255
- qe(this, Te, [
6256
- ...oe(this, Te).slice(0, t),
6255
+ Je(this, Oe, [
6256
+ ...oe(this, Oe).slice(0, t),
6257
6257
  // We deep clone the message here to ensure the new React Compiler (currently in RC) detects deeply nested parts/metadata changes:
6258
6258
  this.snapshot(n),
6259
- ...oe(this, Te).slice(t + 1)
6259
+ ...oe(this, Oe).slice(t + 1)
6260
6260
  ]), oe(this, yt).call(this);
6261
6261
  }, this.snapshot = (t) => structuredClone(t), this["~registerMessagesCallback"] = (t, n) => {
6262
6262
  const r = n ? Yd(t, n) : t;
@@ -6267,34 +6267,34 @@ var Te, un, cn, Rt, Dt, Lt, yt, Kn, er, Qd = class {
6267
6267
  oe(this, Dt).delete(t);
6268
6268
  }), this["~registerErrorCallback"] = (t) => (oe(this, Lt).add(t), () => {
6269
6269
  oe(this, Lt).delete(t);
6270
- }), De(this, yt, () => {
6270
+ }), Ze(this, yt, () => {
6271
6271
  oe(this, Rt).forEach((t) => t());
6272
- }), De(this, Kn, () => {
6272
+ }), Ze(this, Kn, () => {
6273
6273
  oe(this, Dt).forEach((t) => t());
6274
- }), De(this, er, () => {
6274
+ }), Ze(this, er, () => {
6275
6275
  oe(this, Lt).forEach((t) => t());
6276
- }), qe(this, Te, e);
6276
+ }), Je(this, Oe, e);
6277
6277
  }
6278
6278
  get status() {
6279
6279
  return oe(this, un);
6280
6280
  }
6281
6281
  set status(e) {
6282
- qe(this, un, e), oe(this, Kn).call(this);
6282
+ Je(this, un, e), oe(this, Kn).call(this);
6283
6283
  }
6284
6284
  get error() {
6285
6285
  return oe(this, cn);
6286
6286
  }
6287
6287
  set error(e) {
6288
- qe(this, cn, e), oe(this, er).call(this);
6288
+ Je(this, cn, e), oe(this, er).call(this);
6289
6289
  }
6290
6290
  get messages() {
6291
- return oe(this, Te);
6291
+ return oe(this, Oe);
6292
6292
  }
6293
6293
  set messages(e) {
6294
- qe(this, Te, [...e]), oe(this, yt).call(this);
6294
+ Je(this, Oe, [...e]), oe(this, yt).call(this);
6295
6295
  }
6296
6296
  };
6297
- Te = /* @__PURE__ */ new WeakMap();
6297
+ Oe = /* @__PURE__ */ new WeakMap();
6298
6298
  un = /* @__PURE__ */ new WeakMap();
6299
6299
  cn = /* @__PURE__ */ new WeakMap();
6300
6300
  Rt = /* @__PURE__ */ new WeakMap();
@@ -6306,7 +6306,7 @@ er = /* @__PURE__ */ new WeakMap();
6306
6306
  var vt, Ei = class extends Wd {
6307
6307
  constructor({ messages: e, ...t }) {
6308
6308
  const n = new Qd(e);
6309
- super({ ...t, state: n }), De(this, vt, void 0), this["~registerMessagesCallback"] = (r, i) => oe(this, vt)["~registerMessagesCallback"](r, i), this["~registerStatusCallback"] = (r) => oe(this, vt)["~registerStatusCallback"](r), this["~registerErrorCallback"] = (r) => oe(this, vt)["~registerErrorCallback"](r), qe(this, vt, n);
6309
+ super({ ...t, state: n }), Ze(this, vt, void 0), this["~registerMessagesCallback"] = (r, i) => oe(this, vt)["~registerMessagesCallback"](r, i), this["~registerStatusCallback"] = (r) => oe(this, vt)["~registerStatusCallback"](r), this["~registerErrorCallback"] = (r) => oe(this, vt)["~registerErrorCallback"](r), Je(this, vt, n);
6310
6310
  }
6311
6311
  };
6312
6312
  vt = /* @__PURE__ */ new WeakMap();
@@ -6414,7 +6414,7 @@ function Kd() {
6414
6414
  for (var e, t, n = 0, r = "", i = arguments.length; n < i; n++) (e = arguments[n]) && (t = ga(e)) && (r && (r += " "), r += t);
6415
6415
  return r;
6416
6416
  }
6417
- const Ii = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Si = Kd, st = (e, t) => (n) => {
6417
+ const Ii = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Si = Kd, lt = (e, t) => (n) => {
6418
6418
  var r;
6419
6419
  if ((t == null ? void 0 : t.variants) == null) return Si(e, n == null ? void 0 : n.class, n == null ? void 0 : n.className);
6420
6420
  const { variants: i, defaultVariants: o } = t, a = Object.keys(i).map((l) => {
@@ -6488,7 +6488,7 @@ function ya(e, t) {
6488
6488
  function tr(e) {
6489
6489
  return e.toLowerCase();
6490
6490
  }
6491
- class Ie {
6491
+ class Ee {
6492
6492
  /**
6493
6493
  * @param {string} property
6494
6494
  * Property.
@@ -6501,21 +6501,21 @@ class Ie {
6501
6501
  this.attribute = n, this.property = t;
6502
6502
  }
6503
6503
  }
6504
- Ie.prototype.attribute = "";
6505
- Ie.prototype.booleanish = !1;
6506
- Ie.prototype.boolean = !1;
6507
- Ie.prototype.commaOrSpaceSeparated = !1;
6508
- Ie.prototype.commaSeparated = !1;
6509
- Ie.prototype.defined = !1;
6510
- Ie.prototype.mustUseProperty = !1;
6511
- Ie.prototype.number = !1;
6512
- Ie.prototype.overloadedBoolean = !1;
6513
- Ie.prototype.property = "";
6514
- Ie.prototype.spaceSeparated = !1;
6515
- Ie.prototype.space = void 0;
6504
+ Ee.prototype.attribute = "";
6505
+ Ee.prototype.booleanish = !1;
6506
+ Ee.prototype.boolean = !1;
6507
+ Ee.prototype.commaOrSpaceSeparated = !1;
6508
+ Ee.prototype.commaSeparated = !1;
6509
+ Ee.prototype.defined = !1;
6510
+ Ee.prototype.mustUseProperty = !1;
6511
+ Ee.prototype.number = !1;
6512
+ Ee.prototype.overloadedBoolean = !1;
6513
+ Ee.prototype.property = "";
6514
+ Ee.prototype.spaceSeparated = !1;
6515
+ Ee.prototype.space = void 0;
6516
6516
  let sf = 0;
6517
- const $ = lt(), pe = lt(), nr = lt(), _ = lt(), te = lt(), bt = lt(), _e = lt();
6518
- function lt() {
6517
+ const $ = ut(), pe = ut(), nr = ut(), _ = ut(), te = ut(), bt = ut(), _e = ut();
6518
+ function ut() {
6519
6519
  return 2 ** ++sf;
6520
6520
  }
6521
6521
  const rr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
@@ -6531,7 +6531,7 @@ const rr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6531
6531
  /** @type {ReadonlyArray<keyof typeof types>} */
6532
6532
  Object.keys(rr)
6533
6533
  );
6534
- class wr extends Ie {
6534
+ class wr extends Ee {
6535
6535
  /**
6536
6536
  * @constructor
6537
6537
  * @param {string} property
@@ -7599,7 +7599,7 @@ const lf = Et({
7599
7599
  }, pf = /[A-Z]/g, zi = /-[a-z]/g, df = /^data[-\w.:]+$/i;
7600
7600
  function ff(e, t) {
7601
7601
  const n = tr(t);
7602
- let r = t, i = Ie;
7602
+ let r = t, i = Ee;
7603
7603
  if (n in e.normal)
7604
7604
  return e.property[e.normal[n]];
7605
7605
  if (n.length > 4 && n.slice(0, 4) === "data" && df.test(t)) {
@@ -7638,34 +7638,34 @@ function vf() {
7638
7638
  throw new TypeError("First argument must be a string");
7639
7639
  if (!x) return [];
7640
7640
  h = h || {};
7641
- var y = 1, f = 1;
7641
+ var g = 1, f = 1;
7642
7642
  function S(Z) {
7643
7643
  var P = Z.match(t);
7644
- P && (y += P.length);
7645
- var V = Z.lastIndexOf(u);
7646
- f = ~V ? Z.length - V : f + Z.length;
7644
+ P && (g += P.length);
7645
+ var W = Z.lastIndexOf(u);
7646
+ f = ~W ? Z.length - W : f + Z.length;
7647
7647
  }
7648
7648
  function A() {
7649
- var Z = { line: y, column: f };
7649
+ var Z = { line: g, column: f };
7650
7650
  return function(P) {
7651
7651
  return P.position = new w(Z), L(), P;
7652
7652
  };
7653
7653
  }
7654
7654
  function w(Z) {
7655
- this.start = Z, this.end = { line: y, column: f }, this.source = h.source;
7655
+ this.start = Z, this.end = { line: g, column: f }, this.source = h.source;
7656
7656
  }
7657
7657
  w.prototype.content = x;
7658
7658
  function C(Z) {
7659
7659
  var P = new Error(
7660
- h.source + ":" + y + ":" + f + ": " + Z
7660
+ h.source + ":" + g + ":" + f + ": " + Z
7661
7661
  );
7662
- if (P.reason = Z, P.filename = h.source, P.line = y, P.column = f, P.source = x, !h.silent) throw P;
7662
+ if (P.reason = Z, P.filename = h.source, P.line = g, P.column = f, P.source = x, !h.silent) throw P;
7663
7663
  }
7664
7664
  function M(Z) {
7665
7665
  var P = Z.exec(x);
7666
7666
  if (P) {
7667
- var V = P[0];
7668
- return S(V), x = x.slice(V.length), P;
7667
+ var W = P[0];
7668
+ return S(W), x = x.slice(W.length), P;
7669
7669
  }
7670
7670
  }
7671
7671
  function L() {
@@ -7684,10 +7684,10 @@ function vf() {
7684
7684
  ++P;
7685
7685
  if (P += 2, p === x.charAt(P - 1))
7686
7686
  return C("End of comment missing");
7687
- var V = x.slice(2, P - 2);
7688
- return f += 2, S(V), x = x.slice(P), f += 2, Z({
7687
+ var W = x.slice(2, P - 2);
7688
+ return f += 2, S(W), x = x.slice(P), f += 2, Z({
7689
7689
  type: m,
7690
- comment: V
7690
+ comment: W
7691
7691
  });
7692
7692
  }
7693
7693
  }
@@ -7695,12 +7695,12 @@ function vf() {
7695
7695
  var Z = A(), P = M(r);
7696
7696
  if (P) {
7697
7697
  if (O(), !M(i)) return C("property missing ':'");
7698
- var V = M(o), ue = Z({
7698
+ var W = M(o), ce = Z({
7699
7699
  type: d,
7700
7700
  property: E(P[0].replace(e, p)),
7701
- value: V ? E(V[0].replace(e, p)) : p
7701
+ value: W ? E(W[0].replace(e, p)) : p
7702
7702
  });
7703
- return M(a), ue;
7703
+ return M(a), ce;
7704
7704
  }
7705
7705
  }
7706
7706
  function Y() {
@@ -7801,7 +7801,7 @@ function Mi(e) {
7801
7801
  function Ri(e) {
7802
7802
  return e && typeof e == "number" ? e : 1;
7803
7803
  }
7804
- class me extends Error {
7804
+ class he extends Error {
7805
7805
  /**
7806
7806
  * Create a message for `reason`.
7807
7807
  *
@@ -7875,19 +7875,19 @@ class me extends Error {
7875
7875
  this.ancestors = o.ancestors || void 0, this.cause = o.cause || void 0, this.column = s ? s.column : void 0, this.fatal = void 0, this.file = "", this.message = i, this.line = s ? s.line : void 0, this.name = Bt(o.place) || "1:1", this.place = o.place || void 0, this.reason = this.message, this.ruleId = o.ruleId || void 0, this.source = o.source || void 0, this.stack = a && o.cause && typeof o.cause.stack == "string" ? o.cause.stack : "", this.actual = void 0, this.expected = void 0, this.note = void 0, this.url = void 0;
7876
7876
  }
7877
7877
  }
7878
- me.prototype.file = "";
7879
- me.prototype.name = "";
7880
- me.prototype.reason = "";
7881
- me.prototype.message = "";
7882
- me.prototype.stack = "";
7883
- me.prototype.column = void 0;
7884
- me.prototype.line = void 0;
7885
- me.prototype.ancestors = void 0;
7886
- me.prototype.cause = void 0;
7887
- me.prototype.fatal = void 0;
7888
- me.prototype.place = void 0;
7889
- me.prototype.ruleId = void 0;
7890
- me.prototype.source = void 0;
7878
+ he.prototype.file = "";
7879
+ he.prototype.name = "";
7880
+ he.prototype.reason = "";
7881
+ he.prototype.message = "";
7882
+ he.prototype.stack = "";
7883
+ he.prototype.column = void 0;
7884
+ he.prototype.line = void 0;
7885
+ he.prototype.ancestors = void 0;
7886
+ he.prototype.cause = void 0;
7887
+ he.prototype.fatal = void 0;
7888
+ he.prototype.place = void 0;
7889
+ he.prototype.ruleId = void 0;
7890
+ he.prototype.source = void 0;
7891
7891
  const Er = {}.hasOwnProperty, Sf = /* @__PURE__ */ new Map(), Af = /[A-Z]/g, _f = /* @__PURE__ */ new Set(["table", "tbody", "thead", "tfoot", "tr"]), Cf = /* @__PURE__ */ new Set(["td", "th"]), Aa = "https://github.com/syntax-tree/hast-util-to-jsx-runtime";
7892
7892
  function zf(e, t) {
7893
7893
  if (!t || t.Fragment === void 0)
@@ -8110,7 +8110,7 @@ function Ff(e, t) {
8110
8110
  const r = (
8111
8111
  /** @type {Error} */
8112
8112
  n
8113
- ), i = new me("Cannot parse `style` attribute", {
8113
+ ), i = new he("Cannot parse `style` attribute", {
8114
8114
  ancestors: e.ancestors,
8115
8115
  cause: r,
8116
8116
  ruleId: "style",
@@ -8151,7 +8151,7 @@ function za(e, t, n) {
8151
8151
  qt(e);
8152
8152
  }
8153
8153
  function qt(e, t) {
8154
- const n = new me(
8154
+ const n = new he(
8155
8155
  "Cannot handle MDX estrees without `createEvaluater`",
8156
8156
  {
8157
8157
  ancestors: e.ancestors,
@@ -8231,7 +8231,7 @@ function Ar(e) {
8231
8231
  const n = Li.textContent;
8232
8232
  return n.charCodeAt(n.length - 1) === 59 && e !== "semi" || n === t ? !1 : n;
8233
8233
  }
8234
- function Fe(e, t, n, r) {
8234
+ function $e(e, t, n, r) {
8235
8235
  const i = e.length;
8236
8236
  let o = 0, a;
8237
8237
  if (t < 0 ? t = -t > i ? 0 : i + t : t = t > i ? i : t, n = n > 0 ? n : 0, r.length < 1e4)
@@ -8240,8 +8240,8 @@ function Fe(e, t, n, r) {
8240
8240
  for (n && e.splice(t, n); o < r.length; )
8241
8241
  a = r.slice(o, o + 1e4), a.unshift(t, 0), e.splice(...a), o += 1e4, t += 1e4;
8242
8242
  }
8243
- function Pe(e, t) {
8244
- return e.length > 0 ? (Fe(e, e.length, 0, t), e) : t;
8243
+ function Ne(e, t) {
8244
+ return e.length > 0 ? ($e(e, e.length, 0, t), e) : t;
8245
8245
  }
8246
8246
  const Zi = {}.hasOwnProperty;
8247
8247
  function Jf(e) {
@@ -8273,7 +8273,7 @@ function Yf(e, t) {
8273
8273
  const r = [];
8274
8274
  for (; ++n < t.length; )
8275
8275
  (t[n].add === "after" ? e : r).push(t[n]);
8276
- Fe(e, 0, 0, r);
8276
+ $e(e, 0, 0, r);
8277
8277
  }
8278
8278
  function Pa(e, t) {
8279
8279
  const n = Number.parseInt(e, t);
@@ -8291,7 +8291,7 @@ function Pa(e, t) {
8291
8291
  function wt(e) {
8292
8292
  return e.replace(/[\t\n\r ]+/g, " ").replace(/^ | $/g, "").toLowerCase().toUpperCase();
8293
8293
  }
8294
- const je = Ge(/[A-Za-z]/), Ce = Ge(/[\dA-Za-z]/), Qf = Ge(/[#-'*+\--9=?A-Z^-~]/);
8294
+ const Fe = Ke(/[A-Za-z]/), Ce = Ke(/[\dA-Za-z]/), Qf = Ke(/[#-'*+\--9=?A-Z^-~]/);
8295
8295
  function or(e) {
8296
8296
  return (
8297
8297
  // Special whitespace codes (which have negative values), C0 and Control
@@ -8299,18 +8299,18 @@ function or(e) {
8299
8299
  e !== null && (e < 32 || e === 127)
8300
8300
  );
8301
8301
  }
8302
- const ar = Ge(/\d/), Gf = Ge(/[\dA-Fa-f]/), Kf = Ge(/[!-/:-@[-`{-~]/);
8302
+ const ar = Ke(/\d/), Gf = Ke(/[\dA-Fa-f]/), Kf = Ke(/[!-/:-@[-`{-~]/);
8303
8303
  function j(e) {
8304
8304
  return e !== null && e < -2;
8305
8305
  }
8306
- function ke(e) {
8306
+ function xe(e) {
8307
8307
  return e !== null && (e < 0 || e === 32);
8308
8308
  }
8309
8309
  function X(e) {
8310
8310
  return e === -2 || e === -1 || e === 32;
8311
8311
  }
8312
- const eh = Ge(new RegExp("\\p{P}|\\p{S}", "u")), th = Ge(/\s/);
8313
- function Ge(e) {
8312
+ const eh = Ke(new RegExp("\\p{P}|\\p{S}", "u")), th = Ke(/\s/);
8313
+ function Ke(e) {
8314
8314
  return t;
8315
8315
  function t(n) {
8316
8316
  return n !== null && n > -1 && e.test(String.fromCharCode(n));
@@ -8396,7 +8396,7 @@ function oh(e) {
8396
8396
  }
8397
8397
  function u(f) {
8398
8398
  if (r++, t.containerState._closeFlow) {
8399
- t.containerState._closeFlow = void 0, i && y();
8399
+ t.containerState._closeFlow = void 0, i && g();
8400
8400
  const S = t.events.length;
8401
8401
  let A = S, w;
8402
8402
  for (; A--; )
@@ -8410,7 +8410,7 @@ function oh(e) {
8410
8410
  t.events[C][1].end = {
8411
8411
  ...w
8412
8412
  }, C++;
8413
- return Fe(t.events, A + 1, 0, t.events.slice(S)), t.events.length = C, l(f);
8413
+ return $e(t.events, A + 1, 0, t.events.slice(S)), t.events.length = C, l(f);
8414
8414
  }
8415
8415
  return s(f);
8416
8416
  }
@@ -8425,7 +8425,7 @@ function oh(e) {
8425
8425
  return t.containerState = {}, e.check(ji, c, p)(f);
8426
8426
  }
8427
8427
  function c(f) {
8428
- return i && y(), h(r), m(f);
8428
+ return i && g(), h(r), m(f);
8429
8429
  }
8430
8430
  function p(f) {
8431
8431
  return t.parser.lazy[t.now().line] = r !== n.length, a = t.now().offset, b(f);
@@ -8438,7 +8438,7 @@ function oh(e) {
8438
8438
  }
8439
8439
  function b(f) {
8440
8440
  if (f === null) {
8441
- i && y(), h(0), e.consume(f);
8441
+ i && g(), h(0), e.consume(f);
8442
8442
  return;
8443
8443
  }
8444
8444
  return i = i || t.parser.flow(t.now()), e.enter("chunkFlow", {
@@ -8480,7 +8480,7 @@ function oh(e) {
8480
8480
  t.events[w][1].end = {
8481
8481
  ...U
8482
8482
  }, w++;
8483
- Fe(t.events, M + 1, 0, t.events.slice(C)), t.events.length = w;
8483
+ $e(t.events, M + 1, 0, t.events.slice(C)), t.events.length = w;
8484
8484
  }
8485
8485
  }
8486
8486
  function h(f) {
@@ -8491,7 +8491,7 @@ function oh(e) {
8491
8491
  }
8492
8492
  n.length = f;
8493
8493
  }
8494
- function y() {
8494
+ function g() {
8495
8495
  i.write([null]), o = void 0, i = void 0, t.containerState._closeFlow = void 0;
8496
8496
  }
8497
8497
  }
@@ -8499,7 +8499,7 @@ function ah(e, t, n) {
8499
8499
  return ne(e, e.attempt(this.parser.constructs.document, t, n), "linePrefix", this.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4);
8500
8500
  }
8501
8501
  function Bi(e) {
8502
- if (e === null || ke(e) || th(e))
8502
+ if (e === null || xe(e) || th(e))
8503
8503
  return 1;
8504
8504
  if (eh(e))
8505
8505
  return 2;
@@ -8565,7 +8565,7 @@ function sh(e, t) {
8565
8565
  ...a.start
8566
8566
  }, e[n][1].start = {
8567
8567
  ...s.end
8568
- }, l = [], e[r][1].end.offset - e[r][1].start.offset && (l = Pe(l, [["enter", e[r][1], t], ["exit", e[r][1], t]])), l = Pe(l, [["enter", i, t], ["enter", a, t], ["exit", a, t], ["enter", o, t]]), l = Pe(l, _r(t.parser.constructs.insideSpan.null, e.slice(r + 1, n), t)), l = Pe(l, [["exit", o, t], ["enter", s, t], ["exit", s, t], ["exit", i, t]]), e[n][1].end.offset - e[n][1].start.offset ? (c = 2, l = Pe(l, [["enter", e[n][1], t], ["exit", e[n][1], t]])) : c = 0, Fe(e, r - 1, n - r + 3, l), n = r + l.length - c - 2;
8568
+ }, l = [], e[r][1].end.offset - e[r][1].start.offset && (l = Ne(l, [["enter", e[r][1], t], ["exit", e[r][1], t]])), l = Ne(l, [["enter", i, t], ["enter", a, t], ["exit", a, t], ["enter", o, t]]), l = Ne(l, _r(t.parser.constructs.insideSpan.null, e.slice(r + 1, n), t)), l = Ne(l, [["exit", o, t], ["enter", s, t], ["exit", s, t], ["exit", i, t]]), e[n][1].end.offset - e[n][1].start.offset ? (c = 2, l = Ne(l, [["enter", e[n][1], t], ["exit", e[n][1], t]])) : c = 0, $e(e, r - 1, n - r + 3, l), n = r + l.length - c - 2;
8569
8569
  break;
8570
8570
  }
8571
8571
  }
@@ -8601,7 +8601,7 @@ function ch(e, t, n) {
8601
8601
  return e.enter("autolink"), e.enter("autolinkMarker"), e.consume(d), e.exit("autolinkMarker"), e.enter("autolinkProtocol"), o;
8602
8602
  }
8603
8603
  function o(d) {
8604
- return je(d) ? (e.consume(d), a) : d === 64 ? n(d) : l(d);
8604
+ return Fe(d) ? (e.consume(d), a) : d === 64 ? n(d) : l(d);
8605
8605
  }
8606
8606
  function a(d) {
8607
8607
  return d === 43 || d === 45 || d === 46 || Ce(d) ? (r = 1, s(d)) : l(d);
@@ -8765,13 +8765,13 @@ function yh(e, t, n) {
8765
8765
  return e.enter("lineEnding"), e.consume(w), e.exit("lineEnding"), h;
8766
8766
  }
8767
8767
  function h(w) {
8768
- return o > 0 && X(w) ? ne(e, y, "linePrefix", o + 1)(w) : y(w);
8768
+ return o > 0 && X(w) ? ne(e, g, "linePrefix", o + 1)(w) : g(w);
8769
8769
  }
8770
- function y(w) {
8770
+ function g(w) {
8771
8771
  return w === null || j(w) ? e.check(Ui, E, S)(w) : (e.enter("codeFlowValue"), f(w));
8772
8772
  }
8773
8773
  function f(w) {
8774
- return w === null || j(w) ? (e.exit("codeFlowValue"), y(w)) : (e.consume(w), f);
8774
+ return w === null || j(w) ? (e.exit("codeFlowValue"), g(w)) : (e.consume(w), f);
8775
8775
  }
8776
8776
  function S(w) {
8777
8777
  return e.exit("codeFenced"), t(w);
@@ -9079,7 +9079,7 @@ function Ra(e) {
9079
9079
  }, s = c.slice(i, n), s.unshift(r), c.splice(i, n - i + 1, s));
9080
9080
  }
9081
9081
  }
9082
- return Fe(e, 0, Number.POSITIVE_INFINITY, c.slice(0)), !l;
9082
+ return $e(e, 0, Number.POSITIVE_INFINITY, c.slice(0)), !l;
9083
9083
  }
9084
9084
  function _h(e, t) {
9085
9085
  const n = e.get(t)[1], r = e.get(t)[2];
@@ -9099,8 +9099,8 @@ function _h(e, t) {
9099
9099
  // Find a void token that includes a break.
9100
9100
  s[m][0] === "exit" && s[m - 1][0] === "enter" && s[m][1].type === s[m - 1][1].type && s[m][1].start.line !== s[m][1].end.line && (E = m + 1, x.push(E), d._tokenizer = void 0, d.previous = void 0, d = d.next);
9101
9101
  for (a.events = [], d ? (d._tokenizer = void 0, d.previous = void 0) : x.pop(), m = x.length; m--; ) {
9102
- const h = s.slice(x[m], x[m + 1]), y = o.pop();
9103
- u.push([y, y + h.length - 1]), e.splice(y, 2, h);
9102
+ const h = s.slice(x[m], x[m + 1]), g = o.pop();
9103
+ u.push([g, g + h.length - 1]), e.splice(g, 2, h);
9104
9104
  }
9105
9105
  for (u.reverse(), m = -1; ++m < u.length; )
9106
9106
  l[b + u[m][0]] = b + u[m][1], b += u[m][1] - u[m][0] - 1;
@@ -9171,7 +9171,7 @@ function Da(e, t, n, r, i, o, a, s, u) {
9171
9171
  return h === 60 || h === 62 || h === 92 ? (e.consume(h), d) : d(h);
9172
9172
  }
9173
9173
  function E(h) {
9174
- return !c && (h === null || h === 41 || ke(h)) ? (e.exit("chunkString"), e.exit(s), e.exit(a), e.exit(r), t(h)) : c < l && h === 40 ? (e.consume(h), c++, E) : h === 41 ? (e.consume(h), c--, E) : h === null || h === 32 || h === 40 || or(h) ? n(h) : (e.consume(h), h === 92 ? x : E);
9174
+ return !c && (h === null || h === 41 || xe(h)) ? (e.exit("chunkString"), e.exit(s), e.exit(a), e.exit(r), t(h)) : c < l && h === 40 ? (e.consume(h), c++, E) : h === 41 ? (e.consume(h), c--, E) : h === null || h === 32 || h === 40 || or(h) ? n(h) : (e.consume(h), h === 92 ? x : E);
9175
9175
  }
9176
9176
  function x(h) {
9177
9177
  return h === 40 || h === 41 || h === 92 ? (e.consume(h), E) : E(h);
@@ -9259,7 +9259,7 @@ function Rh(e, t, n) {
9259
9259
  return i = wt(r.sliceSerialize(r.events[r.events.length - 1][1]).slice(1, -1)), d === 58 ? (e.enter("definitionMarker"), e.consume(d), e.exit("definitionMarker"), u) : n(d);
9260
9260
  }
9261
9261
  function u(d) {
9262
- return ke(d) ? Ft(e, l)(d) : l(d);
9262
+ return xe(d) ? Ft(e, l)(d) : l(d);
9263
9263
  }
9264
9264
  function l(d) {
9265
9265
  return Da(
@@ -9287,7 +9287,7 @@ function Rh(e, t, n) {
9287
9287
  function Dh(e, t, n) {
9288
9288
  return r;
9289
9289
  function r(s) {
9290
- return ke(s) ? Ft(e, i)(s) : n(s);
9290
+ return xe(s) ? Ft(e, i)(s) : n(s);
9291
9291
  }
9292
9292
  function i(s) {
9293
9293
  return Za(e, o, n, "definitionTitle", "definitionTitleMarker", "definitionTitleString")(s);
@@ -9328,7 +9328,7 @@ function Bh(e, t) {
9328
9328
  start: e[r][1].start,
9329
9329
  end: e[n][1].end,
9330
9330
  contentType: "text"
9331
- }, Fe(e, r, n - r + 1, [["enter", i, t], ["enter", o, t], ["exit", o, t], ["exit", i, t]])), e;
9331
+ }, $e(e, r, n - r + 1, [["enter", i, t], ["enter", o, t], ["exit", o, t], ["exit", i, t]])), e;
9332
9332
  }
9333
9333
  function Fh(e, t, n) {
9334
9334
  let r = 0;
@@ -9340,7 +9340,7 @@ function Fh(e, t, n) {
9340
9340
  return e.enter("atxHeadingSequence"), a(c);
9341
9341
  }
9342
9342
  function a(c) {
9343
- return c === 35 && r++ < 6 ? (e.consume(c), a) : c === null || ke(c) ? (e.exit("atxHeadingSequence"), s(c)) : n(c);
9343
+ return c === 35 && r++ < 6 ? (e.consume(c), a) : c === null || xe(c) ? (e.exit("atxHeadingSequence"), s(c)) : n(c);
9344
9344
  }
9345
9345
  function s(c) {
9346
9346
  return c === 35 ? (e.enter("atxHeadingSequence"), u(c)) : c === null || j(c) ? (e.exit("atxHeading"), t(c)) : X(c) ? ne(e, s, "whitespace")(c) : (e.enter("atxHeadingText"), l(c));
@@ -9349,7 +9349,7 @@ function Fh(e, t, n) {
9349
9349
  return c === 35 ? (e.consume(c), u) : (e.exit("atxHeadingSequence"), s(c));
9350
9350
  }
9351
9351
  function l(c) {
9352
- return c === null || c === 35 || ke(c) ? (e.exit("atxHeadingText"), s(c)) : (e.consume(c), l);
9352
+ return c === null || c === 35 || xe(c) ? (e.exit("atxHeadingText"), s(c)) : (e.consume(c), l);
9353
9353
  }
9354
9354
  }
9355
9355
  const Uh = [
@@ -9444,36 +9444,36 @@ function qh(e, t, n) {
9444
9444
  return e.enter("htmlFlow"), e.enter("htmlFlowData"), e.consume(v), p;
9445
9445
  }
9446
9446
  function p(v) {
9447
- return v === 33 ? (e.consume(v), m) : v === 47 ? (e.consume(v), o = !0, E) : v === 63 ? (e.consume(v), i = 3, r.interrupt ? t : g) : je(v) ? (e.consume(v), a = String.fromCharCode(v), x) : n(v);
9447
+ return v === 33 ? (e.consume(v), m) : v === 47 ? (e.consume(v), o = !0, E) : v === 63 ? (e.consume(v), i = 3, r.interrupt ? t : y) : Fe(v) ? (e.consume(v), a = String.fromCharCode(v), x) : n(v);
9448
9448
  }
9449
9449
  function m(v) {
9450
- return v === 45 ? (e.consume(v), i = 2, d) : v === 91 ? (e.consume(v), i = 5, s = 0, b) : je(v) ? (e.consume(v), i = 4, r.interrupt ? t : g) : n(v);
9450
+ return v === 45 ? (e.consume(v), i = 2, d) : v === 91 ? (e.consume(v), i = 5, s = 0, b) : Fe(v) ? (e.consume(v), i = 4, r.interrupt ? t : y) : n(v);
9451
9451
  }
9452
9452
  function d(v) {
9453
- return v === 45 ? (e.consume(v), r.interrupt ? t : g) : n(v);
9453
+ return v === 45 ? (e.consume(v), r.interrupt ? t : y) : n(v);
9454
9454
  }
9455
9455
  function b(v) {
9456
- const fe = "CDATA[";
9457
- return v === fe.charCodeAt(s++) ? (e.consume(v), s === fe.length ? r.interrupt ? t : R : b) : n(v);
9456
+ const be = "CDATA[";
9457
+ return v === be.charCodeAt(s++) ? (e.consume(v), s === be.length ? r.interrupt ? t : R : b) : n(v);
9458
9458
  }
9459
9459
  function E(v) {
9460
- return je(v) ? (e.consume(v), a = String.fromCharCode(v), x) : n(v);
9460
+ return Fe(v) ? (e.consume(v), a = String.fromCharCode(v), x) : n(v);
9461
9461
  }
9462
9462
  function x(v) {
9463
- if (v === null || v === 47 || v === 62 || ke(v)) {
9464
- const fe = v === 47, Ue = a.toLowerCase();
9465
- return !fe && !o && Hi.includes(Ue) ? (i = 1, r.interrupt ? t(v) : R(v)) : Uh.includes(a.toLowerCase()) ? (i = 6, fe ? (e.consume(v), h) : r.interrupt ? t(v) : R(v)) : (i = 7, r.interrupt && !r.parser.lazy[r.now().line] ? n(v) : o ? y(v) : f(v));
9463
+ if (v === null || v === 47 || v === 62 || xe(v)) {
9464
+ const be = v === 47, Ie = a.toLowerCase();
9465
+ return !be && !o && Hi.includes(Ie) ? (i = 1, r.interrupt ? t(v) : R(v)) : Uh.includes(a.toLowerCase()) ? (i = 6, be ? (e.consume(v), h) : r.interrupt ? t(v) : R(v)) : (i = 7, r.interrupt && !r.parser.lazy[r.now().line] ? n(v) : o ? g(v) : f(v));
9466
9466
  }
9467
9467
  return v === 45 || Ce(v) ? (e.consume(v), a += String.fromCharCode(v), x) : n(v);
9468
9468
  }
9469
9469
  function h(v) {
9470
9470
  return v === 62 ? (e.consume(v), r.interrupt ? t : R) : n(v);
9471
9471
  }
9472
- function y(v) {
9473
- return X(v) ? (e.consume(v), y) : U(v);
9472
+ function g(v) {
9473
+ return X(v) ? (e.consume(v), g) : U(v);
9474
9474
  }
9475
9475
  function f(v) {
9476
- return v === 47 ? (e.consume(v), U) : v === 58 || v === 95 || je(v) ? (e.consume(v), S) : X(v) ? (e.consume(v), f) : U(v);
9476
+ return v === 47 ? (e.consume(v), U) : v === 58 || v === 95 || Fe(v) ? (e.consume(v), S) : X(v) ? (e.consume(v), f) : U(v);
9477
9477
  }
9478
9478
  function S(v) {
9479
9479
  return v === 45 || v === 46 || v === 58 || v === 95 || Ce(v) ? (e.consume(v), S) : A(v);
@@ -9488,7 +9488,7 @@ function qh(e, t, n) {
9488
9488
  return v === u ? (e.consume(v), u = null, L) : v === null || j(v) ? n(v) : (e.consume(v), C);
9489
9489
  }
9490
9490
  function M(v) {
9491
- return v === null || v === 34 || v === 39 || v === 47 || v === 60 || v === 61 || v === 62 || v === 96 || ke(v) ? A(v) : (e.consume(v), M);
9491
+ return v === null || v === 34 || v === 39 || v === 47 || v === 60 || v === 61 || v === 62 || v === 96 || xe(v) ? A(v) : (e.consume(v), M);
9492
9492
  }
9493
9493
  function L(v) {
9494
9494
  return v === 47 || v === 62 || X(v) ? f(v) : n(v);
@@ -9500,10 +9500,10 @@ function qh(e, t, n) {
9500
9500
  return v === null || j(v) ? R(v) : X(v) ? (e.consume(v), O) : n(v);
9501
9501
  }
9502
9502
  function R(v) {
9503
- return v === 45 && i === 2 ? (e.consume(v), V) : v === 60 && i === 1 ? (e.consume(v), ue) : v === 62 && i === 4 ? (e.consume(v), he) : v === 63 && i === 3 ? (e.consume(v), g) : v === 93 && i === 5 ? (e.consume(v), ge) : j(v) && (i === 6 || i === 7) ? (e.exit("htmlFlowData"), e.check(Hh, Oe, Y)(v)) : v === null || j(v) ? (e.exit("htmlFlowData"), Y(v)) : (e.consume(v), R);
9503
+ return v === 45 && i === 2 ? (e.consume(v), W) : v === 60 && i === 1 ? (e.consume(v), ce) : v === 62 && i === 4 ? (e.consume(v), ae) : v === 63 && i === 3 ? (e.consume(v), y) : v === 93 && i === 5 ? (e.consume(v), me) : j(v) && (i === 6 || i === 7) ? (e.exit("htmlFlowData"), e.check(Hh, Te, Y)(v)) : v === null || j(v) ? (e.exit("htmlFlowData"), Y(v)) : (e.consume(v), R);
9504
9504
  }
9505
9505
  function Y(v) {
9506
- return e.check(Vh, Z, Oe)(v);
9506
+ return e.check(Vh, Z, Te)(v);
9507
9507
  }
9508
9508
  function Z(v) {
9509
9509
  return e.enter("lineEnding"), e.consume(v), e.exit("lineEnding"), P;
@@ -9511,29 +9511,29 @@ function qh(e, t, n) {
9511
9511
  function P(v) {
9512
9512
  return v === null || j(v) ? Y(v) : (e.enter("htmlFlowData"), R(v));
9513
9513
  }
9514
- function V(v) {
9515
- return v === 45 ? (e.consume(v), g) : R(v);
9514
+ function W(v) {
9515
+ return v === 45 ? (e.consume(v), y) : R(v);
9516
9516
  }
9517
- function ue(v) {
9517
+ function ce(v) {
9518
9518
  return v === 47 ? (e.consume(v), a = "", J) : R(v);
9519
9519
  }
9520
9520
  function J(v) {
9521
9521
  if (v === 62) {
9522
- const fe = a.toLowerCase();
9523
- return Hi.includes(fe) ? (e.consume(v), he) : R(v);
9522
+ const be = a.toLowerCase();
9523
+ return Hi.includes(be) ? (e.consume(v), ae) : R(v);
9524
9524
  }
9525
- return je(v) && a.length < 8 ? (e.consume(v), a += String.fromCharCode(v), J) : R(v);
9525
+ return Fe(v) && a.length < 8 ? (e.consume(v), a += String.fromCharCode(v), J) : R(v);
9526
9526
  }
9527
- function ge(v) {
9528
- return v === 93 ? (e.consume(v), g) : R(v);
9527
+ function me(v) {
9528
+ return v === 93 ? (e.consume(v), y) : R(v);
9529
9529
  }
9530
- function g(v) {
9531
- return v === 62 ? (e.consume(v), he) : v === 45 && i === 2 ? (e.consume(v), g) : R(v);
9530
+ function y(v) {
9531
+ return v === 62 ? (e.consume(v), ae) : v === 45 && i === 2 ? (e.consume(v), y) : R(v);
9532
9532
  }
9533
- function he(v) {
9534
- return v === null || j(v) ? (e.exit("htmlFlowData"), Oe(v)) : (e.consume(v), he);
9533
+ function ae(v) {
9534
+ return v === null || j(v) ? (e.exit("htmlFlowData"), Te(v)) : (e.consume(v), ae);
9535
9535
  }
9536
- function Oe(v) {
9536
+ function Te(v) {
9537
9537
  return e.exit("htmlFlow"), t(v);
9538
9538
  }
9539
9539
  }
@@ -9561,93 +9561,93 @@ function Qh(e, t, n) {
9561
9561
  const r = this;
9562
9562
  let i, o, a;
9563
9563
  return s;
9564
- function s(g) {
9565
- return e.enter("htmlText"), e.enter("htmlTextData"), e.consume(g), u;
9564
+ function s(y) {
9565
+ return e.enter("htmlText"), e.enter("htmlTextData"), e.consume(y), u;
9566
9566
  }
9567
- function u(g) {
9568
- return g === 33 ? (e.consume(g), l) : g === 47 ? (e.consume(g), A) : g === 63 ? (e.consume(g), f) : je(g) ? (e.consume(g), M) : n(g);
9567
+ function u(y) {
9568
+ return y === 33 ? (e.consume(y), l) : y === 47 ? (e.consume(y), A) : y === 63 ? (e.consume(y), f) : Fe(y) ? (e.consume(y), M) : n(y);
9569
9569
  }
9570
- function l(g) {
9571
- return g === 45 ? (e.consume(g), c) : g === 91 ? (e.consume(g), o = 0, b) : je(g) ? (e.consume(g), y) : n(g);
9570
+ function l(y) {
9571
+ return y === 45 ? (e.consume(y), c) : y === 91 ? (e.consume(y), o = 0, b) : Fe(y) ? (e.consume(y), g) : n(y);
9572
9572
  }
9573
- function c(g) {
9574
- return g === 45 ? (e.consume(g), d) : n(g);
9573
+ function c(y) {
9574
+ return y === 45 ? (e.consume(y), d) : n(y);
9575
9575
  }
9576
- function p(g) {
9577
- return g === null ? n(g) : g === 45 ? (e.consume(g), m) : j(g) ? (a = p, ue(g)) : (e.consume(g), p);
9576
+ function p(y) {
9577
+ return y === null ? n(y) : y === 45 ? (e.consume(y), m) : j(y) ? (a = p, ce(y)) : (e.consume(y), p);
9578
9578
  }
9579
- function m(g) {
9580
- return g === 45 ? (e.consume(g), d) : p(g);
9579
+ function m(y) {
9580
+ return y === 45 ? (e.consume(y), d) : p(y);
9581
9581
  }
9582
- function d(g) {
9583
- return g === 62 ? V(g) : g === 45 ? m(g) : p(g);
9582
+ function d(y) {
9583
+ return y === 62 ? W(y) : y === 45 ? m(y) : p(y);
9584
9584
  }
9585
- function b(g) {
9586
- const he = "CDATA[";
9587
- return g === he.charCodeAt(o++) ? (e.consume(g), o === he.length ? E : b) : n(g);
9585
+ function b(y) {
9586
+ const ae = "CDATA[";
9587
+ return y === ae.charCodeAt(o++) ? (e.consume(y), o === ae.length ? E : b) : n(y);
9588
9588
  }
9589
- function E(g) {
9590
- return g === null ? n(g) : g === 93 ? (e.consume(g), x) : j(g) ? (a = E, ue(g)) : (e.consume(g), E);
9589
+ function E(y) {
9590
+ return y === null ? n(y) : y === 93 ? (e.consume(y), x) : j(y) ? (a = E, ce(y)) : (e.consume(y), E);
9591
9591
  }
9592
- function x(g) {
9593
- return g === 93 ? (e.consume(g), h) : E(g);
9592
+ function x(y) {
9593
+ return y === 93 ? (e.consume(y), h) : E(y);
9594
9594
  }
9595
- function h(g) {
9596
- return g === 62 ? V(g) : g === 93 ? (e.consume(g), h) : E(g);
9595
+ function h(y) {
9596
+ return y === 62 ? W(y) : y === 93 ? (e.consume(y), h) : E(y);
9597
9597
  }
9598
- function y(g) {
9599
- return g === null || g === 62 ? V(g) : j(g) ? (a = y, ue(g)) : (e.consume(g), y);
9598
+ function g(y) {
9599
+ return y === null || y === 62 ? W(y) : j(y) ? (a = g, ce(y)) : (e.consume(y), g);
9600
9600
  }
9601
- function f(g) {
9602
- return g === null ? n(g) : g === 63 ? (e.consume(g), S) : j(g) ? (a = f, ue(g)) : (e.consume(g), f);
9601
+ function f(y) {
9602
+ return y === null ? n(y) : y === 63 ? (e.consume(y), S) : j(y) ? (a = f, ce(y)) : (e.consume(y), f);
9603
9603
  }
9604
- function S(g) {
9605
- return g === 62 ? V(g) : f(g);
9604
+ function S(y) {
9605
+ return y === 62 ? W(y) : f(y);
9606
9606
  }
9607
- function A(g) {
9608
- return je(g) ? (e.consume(g), w) : n(g);
9607
+ function A(y) {
9608
+ return Fe(y) ? (e.consume(y), w) : n(y);
9609
9609
  }
9610
- function w(g) {
9611
- return g === 45 || Ce(g) ? (e.consume(g), w) : C(g);
9610
+ function w(y) {
9611
+ return y === 45 || Ce(y) ? (e.consume(y), w) : C(y);
9612
9612
  }
9613
- function C(g) {
9614
- return j(g) ? (a = C, ue(g)) : X(g) ? (e.consume(g), C) : V(g);
9613
+ function C(y) {
9614
+ return j(y) ? (a = C, ce(y)) : X(y) ? (e.consume(y), C) : W(y);
9615
9615
  }
9616
- function M(g) {
9617
- return g === 45 || Ce(g) ? (e.consume(g), M) : g === 47 || g === 62 || ke(g) ? L(g) : n(g);
9616
+ function M(y) {
9617
+ return y === 45 || Ce(y) ? (e.consume(y), M) : y === 47 || y === 62 || xe(y) ? L(y) : n(y);
9618
9618
  }
9619
- function L(g) {
9620
- return g === 47 ? (e.consume(g), V) : g === 58 || g === 95 || je(g) ? (e.consume(g), U) : j(g) ? (a = L, ue(g)) : X(g) ? (e.consume(g), L) : V(g);
9619
+ function L(y) {
9620
+ return y === 47 ? (e.consume(y), W) : y === 58 || y === 95 || Fe(y) ? (e.consume(y), U) : j(y) ? (a = L, ce(y)) : X(y) ? (e.consume(y), L) : W(y);
9621
9621
  }
9622
- function U(g) {
9623
- return g === 45 || g === 46 || g === 58 || g === 95 || Ce(g) ? (e.consume(g), U) : O(g);
9622
+ function U(y) {
9623
+ return y === 45 || y === 46 || y === 58 || y === 95 || Ce(y) ? (e.consume(y), U) : O(y);
9624
9624
  }
9625
- function O(g) {
9626
- return g === 61 ? (e.consume(g), R) : j(g) ? (a = O, ue(g)) : X(g) ? (e.consume(g), O) : L(g);
9625
+ function O(y) {
9626
+ return y === 61 ? (e.consume(y), R) : j(y) ? (a = O, ce(y)) : X(y) ? (e.consume(y), O) : L(y);
9627
9627
  }
9628
- function R(g) {
9629
- return g === null || g === 60 || g === 61 || g === 62 || g === 96 ? n(g) : g === 34 || g === 39 ? (e.consume(g), i = g, Y) : j(g) ? (a = R, ue(g)) : X(g) ? (e.consume(g), R) : (e.consume(g), Z);
9628
+ function R(y) {
9629
+ return y === null || y === 60 || y === 61 || y === 62 || y === 96 ? n(y) : y === 34 || y === 39 ? (e.consume(y), i = y, Y) : j(y) ? (a = R, ce(y)) : X(y) ? (e.consume(y), R) : (e.consume(y), Z);
9630
9630
  }
9631
- function Y(g) {
9632
- return g === i ? (e.consume(g), i = void 0, P) : g === null ? n(g) : j(g) ? (a = Y, ue(g)) : (e.consume(g), Y);
9631
+ function Y(y) {
9632
+ return y === i ? (e.consume(y), i = void 0, P) : y === null ? n(y) : j(y) ? (a = Y, ce(y)) : (e.consume(y), Y);
9633
9633
  }
9634
- function Z(g) {
9635
- return g === null || g === 34 || g === 39 || g === 60 || g === 61 || g === 96 ? n(g) : g === 47 || g === 62 || ke(g) ? L(g) : (e.consume(g), Z);
9634
+ function Z(y) {
9635
+ return y === null || y === 34 || y === 39 || y === 60 || y === 61 || y === 96 ? n(y) : y === 47 || y === 62 || xe(y) ? L(y) : (e.consume(y), Z);
9636
9636
  }
9637
- function P(g) {
9638
- return g === 47 || g === 62 || ke(g) ? L(g) : n(g);
9637
+ function P(y) {
9638
+ return y === 47 || y === 62 || xe(y) ? L(y) : n(y);
9639
9639
  }
9640
- function V(g) {
9641
- return g === 62 ? (e.consume(g), e.exit("htmlTextData"), e.exit("htmlText"), t) : n(g);
9640
+ function W(y) {
9641
+ return y === 62 ? (e.consume(y), e.exit("htmlTextData"), e.exit("htmlText"), t) : n(y);
9642
9642
  }
9643
- function ue(g) {
9644
- return e.exit("htmlTextData"), e.enter("lineEnding"), e.consume(g), e.exit("lineEnding"), J;
9643
+ function ce(y) {
9644
+ return e.exit("htmlTextData"), e.enter("lineEnding"), e.consume(y), e.exit("lineEnding"), J;
9645
9645
  }
9646
- function J(g) {
9647
- return X(g) ? ne(e, ge, "linePrefix", r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(g) : ge(g);
9646
+ function J(y) {
9647
+ return X(y) ? ne(e, me, "linePrefix", r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(y) : me(y);
9648
9648
  }
9649
- function ge(g) {
9650
- return e.enter("htmlTextData"), a(g);
9649
+ function me(y) {
9650
+ return e.enter("htmlTextData"), a(y);
9651
9651
  }
9652
9652
  }
9653
9653
  const Cr = {
@@ -9672,7 +9672,7 @@ function tm(e) {
9672
9672
  r.type = "data", t += i;
9673
9673
  }
9674
9674
  }
9675
- return e.length !== n.length && Fe(e, 0, e.length, n), e;
9675
+ return e.length !== n.length && $e(e, 0, e.length, n), e;
9676
9676
  }
9677
9677
  function nm(e, t) {
9678
9678
  let n = e.length, r = 0, i, o, a, s;
@@ -9712,7 +9712,7 @@ function nm(e, t) {
9712
9712
  ...e[a - 2][1].start
9713
9713
  }
9714
9714
  };
9715
- return s = [["enter", u, t], ["enter", l, t]], s = Pe(s, e.slice(o + 1, o + r + 3)), s = Pe(s, [["enter", c, t]]), s = Pe(s, _r(t.parser.constructs.insideSpan.null, e.slice(o + r + 4, a - 3), t)), s = Pe(s, [["exit", c, t], e[a - 2], e[a - 1], ["exit", l, t]]), s = Pe(s, e.slice(a + 1)), s = Pe(s, [["exit", u, t]]), Fe(e, o, e.length, s), e;
9715
+ return s = [["enter", u, t], ["enter", l, t]], s = Ne(s, e.slice(o + 1, o + r + 3)), s = Ne(s, [["enter", c, t]]), s = Ne(s, _r(t.parser.constructs.insideSpan.null, e.slice(o + r + 4, a - 3), t)), s = Ne(s, [["exit", c, t], e[a - 2], e[a - 1], ["exit", l, t]]), s = Ne(s, e.slice(a + 1)), s = Ne(s, [["exit", u, t]]), $e(e, o, e.length, s), e;
9716
9716
  }
9717
9717
  function rm(e, t, n) {
9718
9718
  const r = this;
@@ -9748,13 +9748,13 @@ function im(e, t, n) {
9748
9748
  return e.enter("resource"), e.enter("resourceMarker"), e.consume(p), e.exit("resourceMarker"), i;
9749
9749
  }
9750
9750
  function i(p) {
9751
- return ke(p) ? Ft(e, o)(p) : o(p);
9751
+ return xe(p) ? Ft(e, o)(p) : o(p);
9752
9752
  }
9753
9753
  function o(p) {
9754
9754
  return p === 41 ? c(p) : Da(e, a, s, "resourceDestination", "resourceDestinationLiteral", "resourceDestinationLiteralMarker", "resourceDestinationRaw", "resourceDestinationString", 32)(p);
9755
9755
  }
9756
9756
  function a(p) {
9757
- return ke(p) ? Ft(e, u)(p) : c(p);
9757
+ return xe(p) ? Ft(e, u)(p) : c(p);
9758
9758
  }
9759
9759
  function s(p) {
9760
9760
  return n(p);
@@ -9763,7 +9763,7 @@ function im(e, t, n) {
9763
9763
  return p === 34 || p === 39 || p === 40 ? Za(e, l, n, "resourceTitle", "resourceTitleMarker", "resourceTitleString")(p) : c(p);
9764
9764
  }
9765
9765
  function l(p) {
9766
- return ke(p) ? Ft(e, c)(p) : c(p);
9766
+ return xe(p) ? Ft(e, c)(p) : c(p);
9767
9767
  }
9768
9768
  function c(p) {
9769
9769
  return p === 41 ? (e.enter("resourceMarker"), e.consume(p), e.exit("resourceMarker"), e.exit("resource"), t) : n(p);
@@ -9854,7 +9854,7 @@ function dm(e, t, n) {
9854
9854
  return l === i ? (e.consume(l), r++, u) : (e.exit("thematicBreakSequence"), X(l) ? ne(e, s, "whitespace")(l) : s(l));
9855
9855
  }
9856
9856
  }
9857
- const xe = {
9857
+ const we = {
9858
9858
  continuation: {
9859
9859
  tokenize: gm
9860
9860
  },
@@ -9915,7 +9915,7 @@ function gm(e, t, n) {
9915
9915
  return r.containerState.furtherBlankLines || !X(s) ? (r.containerState.furtherBlankLines = void 0, r.containerState.initialBlankLine = void 0, a(s)) : (r.containerState.furtherBlankLines = void 0, r.containerState.initialBlankLine = void 0, e.attempt(hm, t, a)(s));
9916
9916
  }
9917
9917
  function a(s) {
9918
- return r.containerState._closeFlow = !0, r.interrupt = void 0, ne(e, e.attempt(xe, t, n), "linePrefix", r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(s);
9918
+ return r.containerState._closeFlow = !0, r.interrupt = void 0, ne(e, e.attempt(we, t, n), "linePrefix", r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(s);
9919
9919
  }
9920
9920
  }
9921
9921
  function ym(e, t, n) {
@@ -10107,19 +10107,19 @@ function _m(e, t) {
10107
10107
  return e;
10108
10108
  }
10109
10109
  const Cm = {
10110
- 42: xe,
10111
- 43: xe,
10112
- 45: xe,
10113
- 48: xe,
10114
- 49: xe,
10115
- 50: xe,
10116
- 51: xe,
10117
- 52: xe,
10118
- 53: xe,
10119
- 54: xe,
10120
- 55: xe,
10121
- 56: xe,
10122
- 57: xe,
10110
+ 42: we,
10111
+ 43: we,
10112
+ 45: we,
10113
+ 48: we,
10114
+ 49: we,
10115
+ 50: we,
10116
+ 51: we,
10117
+ 52: we,
10118
+ 53: we,
10119
+ 54: we,
10120
+ 55: we,
10121
+ 56: we,
10122
+ 57: we,
10123
10123
  62: Oa
10124
10124
  }, zm = {
10125
10125
  91: Nh
@@ -10183,7 +10183,7 @@ function Zm(e, t, n) {
10183
10183
  const u = {
10184
10184
  attempt: C(A),
10185
10185
  check: C(w),
10186
- consume: y,
10186
+ consume: g,
10187
10187
  enter: f,
10188
10188
  exit: S,
10189
10189
  interrupt: C(w, {
@@ -10204,7 +10204,7 @@ function Zm(e, t, n) {
10204
10204
  let c = t.tokenize.call(l, u);
10205
10205
  return t.resolveAll && o.push(t), l;
10206
10206
  function p(O) {
10207
- return a = Pe(a, O), x(), a[a.length - 1] !== null ? [] : (M(t, 0), l.events = _r(o, l.events, l), l.events);
10207
+ return a = Ne(a, O), x(), a[a.length - 1] !== null ? [] : (M(t, 0), l.events = _r(o, l.events, l), l.events);
10208
10208
  }
10209
10209
  function m(O, R) {
10210
10210
  return Bm(d(O), R);
@@ -10245,7 +10245,7 @@ function Zm(e, t, n) {
10245
10245
  function h(O) {
10246
10246
  c = c(O);
10247
10247
  }
10248
- function y(O) {
10248
+ function g(O) {
10249
10249
  j(O) ? (r.line++, r.column = 1, r.offset += O === -3 ? 2 : 1, U()) : O !== -1 && (r.column++, r.offset++), r._bufferIndex < 0 ? r._index++ : (r._bufferIndex++, r._bufferIndex === // Points w/ non-negative `_bufferIndex` reference
10250
10250
  // strings.
10251
10251
  /** @type {string} */
@@ -10267,65 +10267,65 @@ function Zm(e, t, n) {
10267
10267
  }
10268
10268
  function C(O, R) {
10269
10269
  return Y;
10270
- function Y(Z, P, V) {
10271
- let ue, J, ge, g;
10270
+ function Y(Z, P, W) {
10271
+ let ce, J, me, y;
10272
10272
  return Array.isArray(Z) ? (
10273
10273
  /* c8 ignore next 1 */
10274
- Oe(Z)
10274
+ Te(Z)
10275
10275
  ) : "tokenize" in Z ? (
10276
10276
  // Looks like a construct.
10277
- Oe([
10277
+ Te([
10278
10278
  /** @type {Construct} */
10279
10279
  Z
10280
10280
  ])
10281
- ) : he(Z);
10282
- function he(ce) {
10283
- return Ve;
10284
- function Ve(we) {
10285
- const ut = we !== null && ce[we], ct = we !== null && ce.null, en = [
10281
+ ) : ae(Z);
10282
+ function ae(de) {
10283
+ return We;
10284
+ function We(Me) {
10285
+ const Pe = Me !== null && de[Me], ct = Me !== null && de.null, en = [
10286
10286
  // To do: add more extension tests.
10287
10287
  /* c8 ignore next 2 */
10288
- ...Array.isArray(ut) ? ut : ut ? [ut] : [],
10288
+ ...Array.isArray(Pe) ? Pe : Pe ? [Pe] : [],
10289
10289
  ...Array.isArray(ct) ? ct : ct ? [ct] : []
10290
10290
  ];
10291
- return Oe(en)(we);
10291
+ return Te(en)(Me);
10292
10292
  }
10293
10293
  }
10294
- function Oe(ce) {
10295
- return ue = ce, J = 0, ce.length === 0 ? V : v(ce[J]);
10294
+ function Te(de) {
10295
+ return ce = de, J = 0, de.length === 0 ? W : v(de[J]);
10296
10296
  }
10297
- function v(ce) {
10298
- return Ve;
10299
- function Ve(we) {
10300
- return g = L(), ge = ce, ce.partial || (l.currentConstruct = ce), ce.name && l.parser.constructs.disable.null.includes(ce.name) ? Ue() : ce.tokenize.call(
10297
+ function v(de) {
10298
+ return We;
10299
+ function We(Me) {
10300
+ return y = L(), me = de, de.partial || (l.currentConstruct = de), de.name && l.parser.constructs.disable.null.includes(de.name) ? Ie() : de.tokenize.call(
10301
10301
  // If we do have fields, create an object w/ `context` as its
10302
10302
  // prototype.
10303
10303
  // This allows a “live binding”, which is needed for `interrupt`.
10304
10304
  R ? Object.assign(Object.create(l), R) : l,
10305
10305
  u,
10306
- fe,
10307
- Ue
10308
- )(we);
10306
+ be,
10307
+ Ie
10308
+ )(Me);
10309
10309
  }
10310
10310
  }
10311
- function fe(ce) {
10312
- return O(ge, g), P;
10311
+ function be(de) {
10312
+ return O(me, y), P;
10313
10313
  }
10314
- function Ue(ce) {
10315
- return g.restore(), ++J < ue.length ? v(ue[J]) : V;
10314
+ function Ie(de) {
10315
+ return y.restore(), ++J < ce.length ? v(ce[J]) : W;
10316
10316
  }
10317
10317
  }
10318
10318
  }
10319
10319
  function M(O, R) {
10320
- O.resolveAll && !o.includes(O) && o.push(O), O.resolve && Fe(l.events, R, l.events.length - R, O.resolve(l.events.slice(R), l)), O.resolveTo && (l.events = O.resolveTo(l.events, l));
10320
+ O.resolveAll && !o.includes(O) && o.push(O), O.resolve && $e(l.events, R, l.events.length - R, O.resolve(l.events.slice(R), l)), O.resolveTo && (l.events = O.resolveTo(l.events, l));
10321
10321
  }
10322
10322
  function L() {
10323
10323
  const O = b(), R = l.previous, Y = l.currentConstruct, Z = l.events.length, P = Array.from(s);
10324
10324
  return {
10325
10325
  from: Z,
10326
- restore: V
10326
+ restore: W
10327
10327
  };
10328
- function V() {
10328
+ function W() {
10329
10329
  r = O, l.previous = R, l.currentConstruct = Y, l.events.length = Z, s = P, U();
10330
10330
  }
10331
10331
  }
@@ -10518,14 +10518,14 @@ function Jm(e) {
10518
10518
  atxHeading: u(),
10519
10519
  atxHeadingSequence: A,
10520
10520
  autolink: u(),
10521
- autolinkEmail: ut,
10522
- autolinkProtocol: we,
10521
+ autolinkEmail: Pe,
10522
+ autolinkProtocol: Me,
10523
10523
  blockQuote: u(),
10524
10524
  characterEscapeValue: U,
10525
- characterReferenceMarkerHexadecimal: Ue,
10526
- characterReferenceMarkerNumeric: Ue,
10527
- characterReferenceValue: ce,
10528
- characterReference: Ve,
10525
+ characterReferenceMarkerHexadecimal: Ie,
10526
+ characterReferenceMarkerNumeric: Ie,
10527
+ characterReferenceValue: de,
10528
+ characterReference: We,
10529
10529
  codeFenced: u(x),
10530
10530
  codeFencedFence: E,
10531
10531
  codeFencedFenceInfo: d,
@@ -10537,7 +10537,7 @@ function Jm(e) {
10537
10537
  data: U,
10538
10538
  definition: u(),
10539
10539
  definitionDestinationString: S,
10540
- definitionLabelString: y,
10540
+ definitionLabelString: g,
10541
10541
  definitionTitleString: f,
10542
10542
  emphasis: u(),
10543
10543
  hardBreakEscape: u(R),
@@ -10546,19 +10546,19 @@ function Jm(e) {
10546
10546
  htmlFlowData: U,
10547
10547
  htmlText: u(Z),
10548
10548
  htmlTextData: U,
10549
- image: u(ue),
10550
- label: ge,
10549
+ image: u(ce),
10550
+ label: me,
10551
10551
  labelText: J,
10552
10552
  lineEnding: O,
10553
- link: u(V),
10553
+ link: u(W),
10554
10554
  listItem: u(),
10555
10555
  listOrdered: u(),
10556
10556
  listUnordered: u(),
10557
10557
  paragraph: u(),
10558
- referenceString: fe,
10559
- resourceDestinationString: g,
10560
- resourceTitleString: he,
10561
- resource: Oe,
10558
+ referenceString: be,
10559
+ resourceDestinationString: y,
10560
+ resourceTitleString: ae,
10561
+ resource: Te,
10562
10562
  setextHeading: u(M),
10563
10563
  setextHeadingLineSequence: C,
10564
10564
  setextHeadingText: w,
@@ -10590,26 +10590,26 @@ function Jm(e) {
10590
10590
  if (I[K][0] === "enter")
10591
10591
  q.push(K);
10592
10592
  else {
10593
- const Ne = q.pop();
10594
- K = i(I, Ne, K);
10593
+ const Re = q.pop();
10594
+ K = i(I, Re, K);
10595
10595
  }
10596
10596
  for (K = -1; ++K < I.length; ) {
10597
- const Ne = t[I[K][0]];
10598
- Fa.call(Ne, I[K][1].type) && Ne[I[K][1].type].call(Object.assign({
10597
+ const Re = t[I[K][0]];
10598
+ Fa.call(Re, I[K][1].type) && Re[I[K][1].type].call(Object.assign({
10599
10599
  sliceSerialize: I[K][2].sliceSerialize
10600
10600
  }, B), I[K][1]);
10601
10601
  }
10602
10602
  if (B.tokenStack.length > 0) {
10603
- const Ne = B.tokenStack[B.tokenStack.length - 1];
10604
- (Ne[1] || qi).call(B, void 0, Ne[0]);
10603
+ const Re = B.tokenStack[B.tokenStack.length - 1];
10604
+ (Re[1] || qi).call(B, void 0, Re[0]);
10605
10605
  }
10606
10606
  for (T.position = {
10607
- start: We(I.length > 0 ? I[0][1].start : {
10607
+ start: qe(I.length > 0 ? I[0][1].start : {
10608
10608
  line: 1,
10609
10609
  column: 1,
10610
10610
  offset: 0
10611
10611
  }),
10612
- end: We(I.length > 0 ? I[I.length - 2][1].end : {
10612
+ end: qe(I.length > 0 ? I[I.length - 2][1].end : {
10613
10613
  line: 1,
10614
10614
  column: 1,
10615
10615
  offset: 0
@@ -10619,7 +10619,7 @@ function Jm(e) {
10619
10619
  return T;
10620
10620
  }
10621
10621
  function i(I, T, B) {
10622
- let q = T - 1, K = -1, Ne = !1, Ke, $e, St, At;
10622
+ let q = T - 1, K = -1, Re = !1, et, He, St, At;
10623
10623
  for (; ++q <= B; ) {
10624
10624
  const Se = I[q];
10625
10625
  switch (Se[1].type) {
@@ -10630,7 +10630,7 @@ function Jm(e) {
10630
10630
  break;
10631
10631
  }
10632
10632
  case "lineEndingBlank": {
10633
- Se[0] === "enter" && (Ke && !At && !K && !St && (St = q), At = void 0);
10633
+ Se[0] === "enter" && (et && !At && !K && !St && (St = q), At = void 0);
10634
10634
  break;
10635
10635
  }
10636
10636
  case "linePrefix":
@@ -10643,16 +10643,16 @@ function Jm(e) {
10643
10643
  At = void 0;
10644
10644
  }
10645
10645
  if (!K && Se[0] === "enter" && Se[1].type === "listItemPrefix" || K === -1 && Se[0] === "exit" && (Se[1].type === "listUnordered" || Se[1].type === "listOrdered")) {
10646
- if (Ke) {
10646
+ if (et) {
10647
10647
  let pt = q;
10648
- for ($e = void 0; pt--; ) {
10649
- const He = I[pt];
10650
- if (He[1].type === "lineEnding" || He[1].type === "lineEndingBlank") {
10651
- if (He[0] === "exit") continue;
10652
- $e && (I[$e][1].type = "lineEndingBlank", Ne = !0), He[1].type = "lineEnding", $e = pt;
10653
- } else if (!(He[1].type === "linePrefix" || He[1].type === "blockQuotePrefix" || He[1].type === "blockQuotePrefixWhitespace" || He[1].type === "blockQuoteMarker" || He[1].type === "listItemIndent")) break;
10648
+ for (He = void 0; pt--; ) {
10649
+ const Ve = I[pt];
10650
+ if (Ve[1].type === "lineEnding" || Ve[1].type === "lineEndingBlank") {
10651
+ if (Ve[0] === "exit") continue;
10652
+ He && (I[He][1].type = "lineEndingBlank", Re = !0), Ve[1].type = "lineEnding", He = pt;
10653
+ } else if (!(Ve[1].type === "linePrefix" || Ve[1].type === "blockQuotePrefix" || Ve[1].type === "blockQuotePrefixWhitespace" || Ve[1].type === "blockQuoteMarker" || Ve[1].type === "listItemIndent")) break;
10654
10654
  }
10655
- St && (!$e || St < $e) && (Ke._spread = !0), Ke.end = Object.assign({}, $e ? I[$e][1].start : Se[1].end), I.splice($e || q, 0, ["exit", Ke, Se[2]]), q++, B++;
10655
+ St && (!He || St < He) && (et._spread = !0), et.end = Object.assign({}, He ? I[He][1].start : Se[1].end), I.splice(He || q, 0, ["exit", et, Se[2]]), q++, B++;
10656
10656
  }
10657
10657
  if (Se[1].type === "listItemPrefix") {
10658
10658
  const pt = {
@@ -10662,11 +10662,11 @@ function Jm(e) {
10662
10662
  // @ts-expect-error: we’ll add `end` in a second.
10663
10663
  end: void 0
10664
10664
  };
10665
- Ke = pt, I.splice(q, 0, ["enter", pt, Se[2]]), q++, B++, St = void 0, At = !0;
10665
+ et = pt, I.splice(q, 0, ["enter", pt, Se[2]]), q++, B++, St = void 0, At = !0;
10666
10666
  }
10667
10667
  }
10668
10668
  }
10669
- return I[T][1]._spread = Ne, B;
10669
+ return I[T][1]._spread = Re, B;
10670
10670
  }
10671
10671
  function o(I, T) {
10672
10672
  return B;
@@ -10682,7 +10682,7 @@ function Jm(e) {
10682
10682
  }
10683
10683
  function s(I, T, B) {
10684
10684
  this.stack[this.stack.length - 1].children.push(I), this.stack.push(I), this.tokenStack.push([T, B || void 0]), I.position = {
10685
- start: We(T.start),
10685
+ start: qe(T.start),
10686
10686
  // @ts-expect-error: `end` will be patched later.
10687
10687
  end: void 0
10688
10688
  };
@@ -10701,7 +10701,7 @@ function Jm(e) {
10701
10701
  start: I.start,
10702
10702
  end: I.end
10703
10703
  }) + "): it’s not open");
10704
- B.position.end = We(I.end);
10704
+ B.position.end = qe(I.end);
10705
10705
  }
10706
10706
  function c() {
10707
10707
  return Wf(this.stack.pop());
@@ -10734,7 +10734,7 @@ function Jm(e) {
10734
10734
  const I = this.resume(), T = this.stack[this.stack.length - 1];
10735
10735
  T.value = I.replace(/(\r?\n|\r)$/g, "");
10736
10736
  }
10737
- function y(I) {
10737
+ function g(I) {
10738
10738
  const T = this.resume(), B = this.stack[this.stack.length - 1];
10739
10739
  B.label = T, B.identifier = wt(this.sliceSerialize(I)).toLowerCase();
10740
10740
  }
@@ -10767,20 +10767,20 @@ function Jm(e) {
10767
10767
  const B = this.stack[this.stack.length - 1].children;
10768
10768
  let q = B[B.length - 1];
10769
10769
  (!q || q.type !== "text") && (q = as(), q.position = {
10770
- start: We(I.start),
10770
+ start: qe(I.start),
10771
10771
  // @ts-expect-error: we’ll add `end` later.
10772
10772
  end: void 0
10773
10773
  }, B.push(q)), this.stack.push(q);
10774
10774
  }
10775
10775
  function U(I) {
10776
10776
  const T = this.stack.pop();
10777
- T.value += this.sliceSerialize(I), T.position.end = We(I.end);
10777
+ T.value += this.sliceSerialize(I), T.position.end = qe(I.end);
10778
10778
  }
10779
10779
  function O(I) {
10780
10780
  const T = this.stack[this.stack.length - 1];
10781
10781
  if (this.data.atHardBreak) {
10782
10782
  const B = T.children[T.children.length - 1];
10783
- B.position.end = We(I.end), this.data.atHardBreak = void 0;
10783
+ B.position.end = qe(I.end), this.data.atHardBreak = void 0;
10784
10784
  return;
10785
10785
  }
10786
10786
  !this.data.setextHeadingSlurpLineEnding && t.canContainEols.includes(T.type) && (L.call(this, I), U.call(this, I));
@@ -10800,7 +10800,7 @@ function Jm(e) {
10800
10800
  const I = this.resume(), T = this.stack[this.stack.length - 1];
10801
10801
  T.value = I;
10802
10802
  }
10803
- function V() {
10803
+ function W() {
10804
10804
  const I = this.stack[this.stack.length - 1];
10805
10805
  if (this.data.inReference) {
10806
10806
  const T = this.data.referenceType || "shortcut";
@@ -10809,7 +10809,7 @@ function Jm(e) {
10809
10809
  delete I.identifier, delete I.label;
10810
10810
  this.data.referenceType = void 0;
10811
10811
  }
10812
- function ue() {
10812
+ function ce() {
10813
10813
  const I = this.stack[this.stack.length - 1];
10814
10814
  if (this.data.inReference) {
10815
10815
  const T = this.data.referenceType || "shortcut";
@@ -10822,7 +10822,7 @@ function Jm(e) {
10822
10822
  const T = this.sliceSerialize(I), B = this.stack[this.stack.length - 2];
10823
10823
  B.label = Vm(T), B.identifier = wt(T).toLowerCase();
10824
10824
  }
10825
- function ge() {
10825
+ function me() {
10826
10826
  const I = this.stack[this.stack.length - 1], T = this.resume(), B = this.stack[this.stack.length - 1];
10827
10827
  if (this.data.inReference = !0, B.type === "link") {
10828
10828
  const q = I.children;
@@ -10830,44 +10830,44 @@ function Jm(e) {
10830
10830
  } else
10831
10831
  B.alt = T;
10832
10832
  }
10833
- function g() {
10833
+ function y() {
10834
10834
  const I = this.resume(), T = this.stack[this.stack.length - 1];
10835
10835
  T.url = I;
10836
10836
  }
10837
- function he() {
10837
+ function ae() {
10838
10838
  const I = this.resume(), T = this.stack[this.stack.length - 1];
10839
10839
  T.title = I;
10840
10840
  }
10841
- function Oe() {
10841
+ function Te() {
10842
10842
  this.data.inReference = void 0;
10843
10843
  }
10844
10844
  function v() {
10845
10845
  this.data.referenceType = "collapsed";
10846
10846
  }
10847
- function fe(I) {
10847
+ function be(I) {
10848
10848
  const T = this.resume(), B = this.stack[this.stack.length - 1];
10849
10849
  B.label = T, B.identifier = wt(this.sliceSerialize(I)).toLowerCase(), this.data.referenceType = "full";
10850
10850
  }
10851
- function Ue(I) {
10851
+ function Ie(I) {
10852
10852
  this.data.characterReferenceType = I.type;
10853
10853
  }
10854
- function ce(I) {
10854
+ function de(I) {
10855
10855
  const T = this.sliceSerialize(I), B = this.data.characterReferenceType;
10856
10856
  let q;
10857
10857
  B ? (q = Pa(T, B === "characterReferenceMarkerNumeric" ? 10 : 16), this.data.characterReferenceType = void 0) : q = Ar(T);
10858
10858
  const K = this.stack[this.stack.length - 1];
10859
10859
  K.value += q;
10860
10860
  }
10861
- function Ve(I) {
10861
+ function We(I) {
10862
10862
  const T = this.stack.pop();
10863
- T.position.end = We(I.end);
10863
+ T.position.end = qe(I.end);
10864
10864
  }
10865
- function we(I) {
10865
+ function Me(I) {
10866
10866
  U.call(this, I);
10867
10867
  const T = this.stack[this.stack.length - 1];
10868
10868
  T.url = this.sliceSerialize(I);
10869
10869
  }
10870
- function ut(I) {
10870
+ function Pe(I) {
10871
10871
  U.call(this, I);
10872
10872
  const T = this.stack[this.stack.length - 1];
10873
10873
  T.url = "mailto:" + this.sliceSerialize(I);
@@ -10983,7 +10983,7 @@ function Jm(e) {
10983
10983
  };
10984
10984
  }
10985
10985
  }
10986
- function We(e) {
10986
+ function qe(e) {
10987
10987
  return {
10988
10988
  line: e.line,
10989
10989
  column: e.column,
@@ -11598,8 +11598,8 @@ function Tg(e) {
11598
11598
  const b = [], E = e.footnoteCounts.get(p);
11599
11599
  for (; E !== void 0 && ++d <= E; ) {
11600
11600
  b.length > 0 && b.push({ type: "text", value: " " });
11601
- let y = typeof n == "string" ? n : n(u, d);
11602
- typeof y == "string" && (y = { type: "text", value: y }), b.push({
11601
+ let g = typeof n == "string" ? n : n(u, d);
11602
+ typeof g == "string" && (g = { type: "text", value: g }), b.push({
11603
11603
  type: "element",
11604
11604
  tagName: "a",
11605
11605
  properties: {
@@ -11608,13 +11608,13 @@ function Tg(e) {
11608
11608
  ariaLabel: typeof r == "string" ? r : r(u, d),
11609
11609
  className: ["data-footnote-backref"]
11610
11610
  },
11611
- children: Array.isArray(y) ? y : [y]
11611
+ children: Array.isArray(g) ? g : [g]
11612
11612
  });
11613
11613
  }
11614
11614
  const x = c[c.length - 1];
11615
11615
  if (x && x.type === "element" && x.tagName === "p") {
11616
- const y = x.children[x.children.length - 1];
11617
- y && y.type === "text" ? y.value += " " : x.children.push({ type: "text", value: " " }), x.children.push(...b);
11616
+ const g = x.children[x.children.length - 1];
11617
+ g && g.type === "text" ? g.value += " " : x.children.push({ type: "text", value: " " }), x.children.push(...b);
11618
11618
  } else
11619
11619
  c.push(...b);
11620
11620
  const h = {
@@ -11776,8 +11776,8 @@ function Zg(e, t, n, r) {
11776
11776
  );
11777
11777
  if (h.children && d[0] !== Lg)
11778
11778
  for (E = (r ? h.children.length : -1) + a, x = c.concat(h); E > -1 && E < h.children.length; ) {
11779
- const y = h.children[E];
11780
- if (b = s(y, E, x)(), b[0] === eo)
11779
+ const g = h.children[E];
11780
+ if (b = s(g, E, x)(), b[0] === eo)
11781
11781
  return b;
11782
11782
  E = typeof b[1] == "number" ? b[1] : E + a;
11783
11783
  }
@@ -11948,11 +11948,11 @@ function qg() {
11948
11948
  return l[c];
11949
11949
  };
11950
11950
  return Ln = function u() {
11951
- var l, c, p, m, d, b, E = arguments[0], x = 1, h = arguments.length, y = !1;
11952
- for (typeof E == "boolean" && (y = E, E = arguments[1] || {}, x = 2), (E == null || typeof E != "object" && typeof E != "function") && (E = {}); x < h; ++x)
11951
+ var l, c, p, m, d, b, E = arguments[0], x = 1, h = arguments.length, g = !1;
11952
+ for (typeof E == "boolean" && (g = E, E = arguments[1] || {}, x = 2), (E == null || typeof E != "object" && typeof E != "function") && (E = {}); x < h; ++x)
11953
11953
  if (l = arguments[x], l != null)
11954
11954
  for (c in l)
11955
- p = s(E, c), m = s(l, c), E !== m && (y && m && (o(m) || (d = i(m))) ? (d ? (d = !1, b = p && i(p) ? p : []) : b = p && o(p) ? p : {}, a(E, { name: c, newValue: u(y, b, m) })) : typeof m < "u" && a(E, { name: c, newValue: m }));
11955
+ p = s(E, c), m = s(l, c), E !== m && (g && m && (o(m) || (d = i(m))) ? (d ? (d = !1, b = p && i(p) ? p : []) : b = p && o(p) ? p : {}, a(E, { name: c, newValue: u(g, b, m) })) : typeof m < "u" && a(E, { name: c, newValue: m }));
11956
11956
  return E;
11957
11957
  }, Ln;
11958
11958
  }
@@ -12020,7 +12020,7 @@ function Yg(e, t) {
12020
12020
  i(null, a);
12021
12021
  }
12022
12022
  }
12023
- const Le = { basename: Qg, dirname: Gg, extname: Kg, join: ey, sep: "/" };
12023
+ const je = { basename: Qg, dirname: Gg, extname: Kg, join: ey, sep: "/" };
12024
12024
  function Qg(e, t) {
12025
12025
  if (t !== void 0 && typeof t != "string")
12026
12026
  throw new TypeError('"ext" argument must be a string');
@@ -12226,7 +12226,7 @@ class Qa {
12226
12226
  * Basename.
12227
12227
  */
12228
12228
  get basename() {
12229
- return typeof this.path == "string" ? Le.basename(this.path) : void 0;
12229
+ return typeof this.path == "string" ? je.basename(this.path) : void 0;
12230
12230
  }
12231
12231
  /**
12232
12232
  * Set basename (including extname) (`'index.min.js'`).
@@ -12241,7 +12241,7 @@ class Qa {
12241
12241
  * Nothing.
12242
12242
  */
12243
12243
  set basename(t) {
12244
- Fn(t, "basename"), Bn(t, "basename"), this.path = Le.join(this.dirname || "", t);
12244
+ Fn(t, "basename"), Bn(t, "basename"), this.path = je.join(this.dirname || "", t);
12245
12245
  }
12246
12246
  /**
12247
12247
  * Get the parent path (example: `'~'`).
@@ -12250,7 +12250,7 @@ class Qa {
12250
12250
  * Dirname.
12251
12251
  */
12252
12252
  get dirname() {
12253
- return typeof this.path == "string" ? Le.dirname(this.path) : void 0;
12253
+ return typeof this.path == "string" ? je.dirname(this.path) : void 0;
12254
12254
  }
12255
12255
  /**
12256
12256
  * Set the parent path (example: `'~'`).
@@ -12263,7 +12263,7 @@ class Qa {
12263
12263
  * Nothing.
12264
12264
  */
12265
12265
  set dirname(t) {
12266
- oo(this.basename, "dirname"), this.path = Le.join(t || "", this.basename);
12266
+ oo(this.basename, "dirname"), this.path = je.join(t || "", this.basename);
12267
12267
  }
12268
12268
  /**
12269
12269
  * Get the extname (including dot) (example: `'.js'`).
@@ -12272,7 +12272,7 @@ class Qa {
12272
12272
  * Extname.
12273
12273
  */
12274
12274
  get extname() {
12275
- return typeof this.path == "string" ? Le.extname(this.path) : void 0;
12275
+ return typeof this.path == "string" ? je.extname(this.path) : void 0;
12276
12276
  }
12277
12277
  /**
12278
12278
  * Set the extname (including dot) (example: `'.js'`).
@@ -12293,7 +12293,7 @@ class Qa {
12293
12293
  if (t.includes(".", 1))
12294
12294
  throw new Error("`extname` cannot contain multiple dots");
12295
12295
  }
12296
- this.path = Le.join(this.dirname, this.stem + (t || ""));
12296
+ this.path = je.join(this.dirname, this.stem + (t || ""));
12297
12297
  }
12298
12298
  /**
12299
12299
  * Get the full path (example: `'~/index.min.js'`).
@@ -12326,7 +12326,7 @@ class Qa {
12326
12326
  * Stem.
12327
12327
  */
12328
12328
  get stem() {
12329
- return typeof this.path == "string" ? Le.basename(this.path, this.extname) : void 0;
12329
+ return typeof this.path == "string" ? je.basename(this.path, this.extname) : void 0;
12330
12330
  }
12331
12331
  /**
12332
12332
  * Set the stem (basename w/o extname) (example: `'index.min'`).
@@ -12341,7 +12341,7 @@ class Qa {
12341
12341
  * Nothing.
12342
12342
  */
12343
12343
  set stem(t) {
12344
- Fn(t, "stem"), Bn(t, "stem"), this.path = Le.join(this.dirname || "", t + (this.extname || ""));
12344
+ Fn(t, "stem"), Bn(t, "stem"), this.path = je.join(this.dirname || "", t + (this.extname || ""));
12345
12345
  }
12346
12346
  // Normal prototypal methods.
12347
12347
  /**
@@ -12529,7 +12529,7 @@ class Qa {
12529
12529
  * Message.
12530
12530
  */
12531
12531
  message(t, n, r) {
12532
- const i = new me(
12532
+ const i = new he(
12533
12533
  // @ts-expect-error: the overloads are fine.
12534
12534
  t,
12535
12535
  n,
@@ -12555,9 +12555,9 @@ class Qa {
12555
12555
  }
12556
12556
  }
12557
12557
  function Bn(e, t) {
12558
- if (e && e.includes(Le.sep))
12558
+ if (e && e.includes(je.sep))
12559
12559
  throw new Error(
12560
- "`" + t + "` cannot be a path: did not expect `" + Le.sep + "`"
12560
+ "`" + t + "` cannot be a path: did not expect `" + je.sep + "`"
12561
12561
  );
12562
12562
  }
12563
12563
  function Fn(e, t) {
@@ -13176,7 +13176,7 @@ function wy(e, t) {
13176
13176
  // but not according to the types in hast-util-to-jsx-runtime
13177
13177
  components: i,
13178
13178
  ignoreInvalidStyle: !0,
13179
- jsx: W,
13179
+ jsx: H,
13180
13180
  jsxs: Ae,
13181
13181
  passKeys: !0,
13182
13182
  passNode: !0
@@ -13208,7 +13208,7 @@ function xy(e) {
13208
13208
  my.test(e.slice(0, t)) ? e : ""
13209
13209
  );
13210
13210
  }
13211
- const co = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20fill='none'%20viewBox='0%200%2024%2024'%20stroke-width='1.5'%20stroke='%232e2438'%3e%3cpath%20stroke-linecap='round'%20stroke-linejoin='round'%20d='M19.5%208.25l-7.5%207.5-7.5-7.5'%20/%3e%3c/svg%3e", ky = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAABGdBTUEAALGPC/xhBQAAADhlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAAqACAAQAAAABAAAAgKADAAQAAAABAAAAgAAAAABrRiZNAAAym0lEQVR4Ae19CXRcx3Xl+7+7se8AARD7RpAgFoICCYCkFtq0bEuyYsmy7HjJYjue5IzjjBMnmSTjzGTGZzJZJseZmRMfx87iJTORbVmLJduSJVGUxA0kwQUgCBLEvpHYAQLE2t1/7q1Gg43uagKksNFB4TS6f/36Va9evXpbvaovspk2MbCJgU0MbGJgEwObGNjEwCYGNjGwiYFNDGxiYBMDmxj4t4IB4xe3oxWO0hzJt0xbvilWllhGvNiMKMMybGKI5RZrUixrWNzS5zas9rBpd0Ntb+3kLy4+9D37RSEAs6qgKmrSbWYbMnfIbdjeZ4pRgoGOQrdD8HHgYxexTEHmfHLj24U8J/Jm8XvKEqsZlHHMLeYb7hnX+dSeiLEjcgT3f3HTAjbuxS4ePHjQPtAxWWwzjYctMT6Gib1HDGNl+mRJj2UZ37MZ1suuuZuX6jvrR+5FHC0F88oga6lWVuF+Sf7e/RjrXzLE/LxpmAmYveDo1oq2ZBgQHpZ7Fv+eg8j4wYSr/2ft7e3TK9rIOld2zxFASf6+/Ybl/l2MzftM0x7ndpOTr+zA+48JCEzclpv0dRgi4psX207+wL/MvXp9zxBAWUpZpDsq4rMA+E9M00glwld6xi81iB6O4BoFIbwAQfOndc013Us9s9Hv3xMEUJJdXWQ6rL8QMR8FwHay+ztJmLvzxOJ50ttpqgscVO/18urEMyiImi5DR/jj+pYTL6rL5T284UrdW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SjzdhTsccTJAdnqGpwEUfELbmfcu/UuApSEIW7NIK8P5kUrogdPTtmNM7GTzmHG398etuXf5bkCY2PuuFDLUQqWUAVkboezPRPfWC707ONkbYDHCQA9Kzae6kF4CGLjPZRDHxcI0UDABLiLMs3QRzfqurXAj5N08Zi6B14GerZQr6cexksikmyhLPyIrFO1gZKohzAslFVtIJDORJxa77gr7Hvt7Ud4RsFm2sTAJgY2MbCJgU0MbGJgEwObGNjEwCYGNjGwiYFNDGxiYBMDmxj4t4yB/w+Iyhhsm8O/RwAAAABJRU5ErkJggg==", Ey = "data:image/svg+xml,%3csvg%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%232e2438'%20stroke-width='2.5'%20stroke-linecap='round'%20stroke-linejoin='round'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M12%2019V5M5%2012l7-7%207%207'%20/%3e%3c/svg%3e", Iy = st(["asw-widget font-inter fixed transition-all"], {
13211
+ const co = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20fill='none'%20viewBox='0%200%2024%2024'%20stroke-width='1.5'%20stroke='%232e2438'%3e%3cpath%20stroke-linecap='round'%20stroke-linejoin='round'%20d='M19.5%208.25l-7.5%207.5-7.5-7.5'%20/%3e%3c/svg%3e", ky = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAABGdBTUEAALGPC/xhBQAAADhlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAAqACAAQAAAABAAAAgKADAAQAAAABAAAAgAAAAABrRiZNAAAym0lEQVR4Ae19CXRcx3Xl+7+7se8AARD7RpAgFoICCYCkFtq0bEuyYsmy7HjJYjue5IzjjBMnmSTjzGTGZzJZJseZmRMfx87iJTORbVmLJduSJVGUxA0kwQUgCBLEvpHYAQLE2t1/7q1Gg43uagKksNFB4TS6f/36Va9evXpbvaovspk2MbCJgU0MbGJgEwObGNjEwCYGNjGwiYFNDGxiYBMDmxj4t4IB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3H316q+C3+u1RJn/v9Iz3XtkRnHMaO9SKwr9zbUaPPY2v6kzCBn7TBNP/9+raaZ3SND4z29CWjH9gquBPsfEP2Qwf3MvIgCNyTfSM9P12q7F0RACvtH+seTIrMehkB2YmYabmQPeGLptdSLa/SfcrAeQv7dcPp/EJ92+nbnjrGfsSGpf7EZjeS0Y88PB/qJ4hWCdLVrRZRVwmpjoR/6rvZp4JpgrV21wTACgdudE/B9fhSSkL6Wxj8OSBuu82wA4FrnzjjqZTBm3YSQSRfHp6c+2pzV237ciAZGr82Ca72Ykps2jH4MXEAllGEuoCb9ejJciBeuoyJk3rFYbsCLnDb4Nt3RQBeMPqGe7ozwlLenAt1vAJfbhfiXraCAScuqaF5K3j33xNQfH6K0f+vLsv5tYstp06Mj1+7LeXrmuwb7emMScw47DCtn0PvwvEdkge6itKV3eh5sDIc4AKu/uFu6j5B010pgUFrUzeetpXnXI12meGZaH83rGluKk2Hvs7AxYX2YJ/wtSjzdhTsccTJAdnqGpwEUfELbmfcu/UuApSEIW7NIK8P5kUrogdPTtmNM7GTzmHG398etuXf5bkCY2PuuFDLUQqWUAVkboezPRPfWC707ONkbYDHCQA9Kzae6kF4CGLjPZRDHxcI0UDABLiLMs3QRzfqurXAj5N08Zi6B14GerZQr6cexksikmyhLPyIrFO1gZKohzAslFVtIJDORJxa77gr7Hvt7Ud4RsFm2sTAJgY2MbCJgU0MbGJgEwObGNjEwCYGNjGwiYFNDGxiYBMDmxj4t4yB/w+Iyhhsm8O/RwAAAABJRU5ErkJggg==", Ey = "data:image/svg+xml,%3csvg%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%232e2438'%20stroke-width='2.5'%20stroke-linecap='round'%20stroke-linejoin='round'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M12%2019V5M5%2012l7-7%207%207'%20/%3e%3c/svg%3e", Iy = lt(["asw-widget font-inter fixed transition-all"], {
13212
13212
  variants: {
13213
13213
  position: {
13214
13214
  "bottom-right": "bottom-6 right-6",
@@ -13223,9 +13223,9 @@ const co = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20fil
13223
13223
  position: "bottom-right",
13224
13224
  open: !1
13225
13225
  }
13226
- }), Sy = st(
13226
+ }), Sy = lt(
13227
13227
  [
13228
- "rounded-[43px] flex flex-col justify-between absolute w-80 h-5/6",
13228
+ "rounded-2xl flex flex-col justify-between absolute w-80 h-5/6",
13229
13229
  "bg-asm-gray-500 shadow-2xl border border-gray-200/60 transition-all duration-300",
13230
13230
  "motion-reduce:transition-none transform-gpu overflow-hidden"
13231
13231
  ],
@@ -13245,7 +13245,7 @@ const co = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20fil
13245
13245
  open: !1
13246
13246
  }
13247
13247
  }
13248
- ), Ay = st(["relative w-full z-[2]"]), _y = st(
13248
+ ), Ay = lt(["relative w-full z-[2]"]), _y = lt(
13249
13249
  [
13250
13250
  "absolute right-2 top-1/2 -translate-y-1/2",
13251
13251
  "flex items-center justify-center z-[1]",
@@ -13261,7 +13261,7 @@ const co = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20fil
13261
13261
  }
13262
13262
  }
13263
13263
  }
13264
- ), Cy = st(
13264
+ ), Cy = lt(
13265
13265
  [
13266
13266
  "absolute left-0 bottom-0 z-[3] h-3/4 w-full mb-24",
13267
13267
  "transition-all duration-300 motion-reduce:transition-none transform-gpu"
@@ -13277,7 +13277,7 @@ const co = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20fil
13277
13277
  active: !1
13278
13278
  }
13279
13279
  }
13280
- ), zy = st(["flex gap-2"], {
13280
+ ), zy = lt(["flex gap-2"], {
13281
13281
  variants: {
13282
13282
  role: {
13283
13283
  user: "flex-row-reverse",
@@ -13285,7 +13285,7 @@ const co = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20fil
13285
13285
  system: "flex-row"
13286
13286
  }
13287
13287
  }
13288
- }), Ty = st(
13288
+ }), Ty = lt(
13289
13289
  [
13290
13290
  "absolute bottom-0 text-white w-16 h-16 flex justify-center items-center",
13291
13291
  "shadow-md cursor-pointer transition-colors duration-300 ease-in-out"
@@ -13349,7 +13349,7 @@ const Ry = ({
13349
13349
  ...(e == null ? void 0 : e.user) !== void 0 && { user: e.user }
13350
13350
  }
13351
13351
  })
13352
- ), [m] = _t(() => Oy(e)), { error: d, stop: b, status: E, messages: x, sendMessage: h, addToolResult: y } = Gd({
13352
+ ), [m] = _t(() => Oy(e)), { error: d, stop: b, status: E, messages: x, sendMessage: h, addToolResult: g } = Gd({
13353
13353
  transport: p,
13354
13354
  messages: m
13355
13355
  }), f = E === "submitted" || E === "streaming", S = t !== void 0, [A, w] = _t(n), C = S ? t : A, M = Vn(
@@ -13365,10 +13365,10 @@ const Ry = ({
13365
13365
  } catch {
13366
13366
  }
13367
13367
  }, [x, Y]), gt(() => {
13368
- x.length > l.current && x.slice(l.current).forEach((ge) => {
13369
- if (ge.role === "assistant") {
13370
- const g = ge.parts.filter(on).map((he) => he.text).join("");
13371
- i == null || i({ role: ge.role, content: g });
13368
+ x.length > l.current && x.slice(l.current).forEach((me) => {
13369
+ if (me.role === "assistant") {
13370
+ const y = me.parts.filter(on).map((ae) => ae.text).join("");
13371
+ i == null || i({ role: me.role, content: y });
13372
13372
  }
13373
13373
  }), l.current = x.length;
13374
13374
  }, [x, i]), gt(() => {
@@ -13382,93 +13382,96 @@ const Ry = ({
13382
13382
  C && b(), M(!C);
13383
13383
  }, P = (J) => {
13384
13384
  J.preventDefault(), O.trim() && (h({ parts: [{ type: "text", text: O }] }), R(""), s.current && (s.current.style.height = "auto"));
13385
- }, V = e == null ? void 0 : e.logo, ue = (e == null ? void 0 : e.title) ?? "Ask ASMBL";
13385
+ }, W = e == null ? void 0 : e.logo, ce = (e == null ? void 0 : e.title) ?? "Ask ASMBL";
13386
13386
  return /* @__PURE__ */ Ae("div", { className: Iy({ position: c, open: C }), children: [
13387
13387
  /* @__PURE__ */ Ae("div", { className: Sy({ position: c, open: C }), children: [
13388
13388
  /* @__PURE__ */ Ae("div", { className: "px-4 pt-6 pb-3 flex items-center gap-3", children: [
13389
- V && /* @__PURE__ */ W("img", { width: 28, height: 28, src: V, alt: "" }),
13390
- /* @__PURE__ */ W("h2", { className: "text-xl font-bold text-asm-purple", children: ue }),
13391
- /* @__PURE__ */ W(
13389
+ W && /* @__PURE__ */ H("img", { width: 28, height: 28, src: W, alt: "" }),
13390
+ /* @__PURE__ */ H("h2", { className: "text-xl font-bold text-asm-purple", children: ce }),
13391
+ /* @__PURE__ */ H(
13392
13392
  "button",
13393
13393
  {
13394
13394
  className: "absolute top-4 right-4 text-asm-purple transition-colors bg-transparent hover:bg-asm-blue/30 rounded-full w-9 h-9 flex justify-center items-center cursor-pointer",
13395
13395
  onClick: () => U(!1),
13396
13396
  disabled: !L,
13397
13397
  "aria-label": "Hide chat",
13398
- children: /* @__PURE__ */ W("img", { width: 20, height: 20, src: co, alt: "" })
13398
+ children: /* @__PURE__ */ H("img", { width: 20, height: 20, src: co, alt: "" })
13399
13399
  }
13400
13400
  )
13401
13401
  ] }),
13402
13402
  !f && L && d && /* @__PURE__ */ Ae("div", { className: "absolute bg-asm-white w-full opacity-8 z-40 flex flex-col gap-2 items-center justify-center h-full", children: [
13403
- /* @__PURE__ */ W(
13403
+ /* @__PURE__ */ H(
13404
13404
  "button",
13405
13405
  {
13406
13406
  className: "absolute top-2 right-2 text-asm-purple transition-colors bg-transparent hover:bg-asm-blue/30 rounded-full w-10 h-10 flex justify-center items-center cursor-pointer",
13407
13407
  onClick: () => U(!1),
13408
13408
  "aria-label": "Hide chat",
13409
- children: /* @__PURE__ */ W("img", { width: 20, height: 20, src: co, alt: "" })
13409
+ children: /* @__PURE__ */ H("img", { width: 20, height: 20, src: co, alt: "" })
13410
13410
  }
13411
13411
  ),
13412
13412
  /* @__PURE__ */ Ae("h3", { className: "text-center font-bold", children: [
13413
13413
  "Sorry, I'm having trouble",
13414
- /* @__PURE__ */ W("br", {}),
13414
+ /* @__PURE__ */ H("br", {}),
13415
13415
  "connecting right now."
13416
13416
  ] }),
13417
- /* @__PURE__ */ W("p", { className: "text-center", children: ":(" })
13417
+ /* @__PURE__ */ H("p", { className: "text-center", children: ":(" })
13418
13418
  ] }),
13419
- !L && !a && !(e != null && e.welcomeHeading) && V && /* @__PURE__ */ W("div", { className: "flex-1 flex flex-col items-center justify-center pb-20", children: /* @__PURE__ */ W("img", { width: 52, height: 52, src: V, className: "opacity-20", alt: "" }) }),
13420
- /* @__PURE__ */ W("div", { className: Cy({ active: L || !!a }), children: /* @__PURE__ */ W("div", { className: `flex flex-col relative h-full w-full rounded-t-[43px] overflow-hidden ${x.length > 0 || a || f ? "bg-asm-white shadow-sm" : "bg-transparent"} ${x.length > 0 ? "justify-end" : "justify-start"}`, children: x.length > 0 ? /* @__PURE__ */ Ae("div", { className: "overflow-y-auto h-full flex flex-col", ref: u, children: [
13421
- /* @__PURE__ */ W("div", { className: "flex-1" }),
13422
- x.map((J, ge) => /* @__PURE__ */ W(
13423
- "div",
13424
- {
13425
- className: "px-4 py-2 first:pt-4 last:pb-4",
13426
- style: { overflowAnchor: "none" },
13427
- children: /* @__PURE__ */ Ae("div", { className: zy({ role: J.role }), children: [
13428
- /* @__PURE__ */ W("div", { className: "relative shrink-0", children: J.role === "user" ? /* @__PURE__ */ W("div", { className: "rounded-full bg-asm-gray-500 ml-1 w-10 h-10 p-2", children: /* @__PURE__ */ W("svg", { className: "w-6 h-6", fill: "currentColor", viewBox: "0 0 20 20", children: /* @__PURE__ */ W("path", { fillRule: "evenodd", d: "M10 9a3 3 0 100-6 3 3 0 000 6zm-7 9a7 7 0 1114 0H3z", clipRule: "evenodd" }) }) }) : /* @__PURE__ */ Ae("div", { className: "relative", children: [
13429
- f && ge + 1 === x.length && /* @__PURE__ */ W("span", { className: "shadow text-xs text-asm-gray-400 leading-none absolute -bottom-4 left-4 z-10 bg-white pb-2 px-2 rounded-xl", children: "..." }),
13430
- V && /* @__PURE__ */ W("img", { className: "mr-1", width: 36, height: 36, src: V, alt: "" })
13431
- ] }) }),
13432
- J.role === "user" ? /* @__PURE__ */ W("div", { className: "bg-asm-pink-400 rounded-3xl rounded-tr-none w-full", children: /* @__PURE__ */ W("p", { className: "text-gray-600 text-sm p-3 whitespace-pre-wrap", children: J.parts.filter(on).map((g) => g.text).join("") }) }) : /* @__PURE__ */ Ae("div", { className: "bg-asm-gray-500 rounded-3xl rounded-tl-none w-full overflow-hidden", children: [
13433
- J.parts.filter(on).map((g) => g.text).join("") && /* @__PURE__ */ W("div", { className: "text-gray-600 text-sm p-3 prose prose-sm max-w-none", children: /* @__PURE__ */ W(yy, { children: J.parts.filter(on).map((g) => g.text).join("") }) }),
13434
- J.parts.filter(Wt).map((g) => {
13435
- var ce, Ve;
13436
- if (jd(g) !== "ask_multiple_choice") return null;
13437
- const { toolCallId: he, state: Oe } = g, v = g.input, fe = Oe === "output-available", Ue = fe ? (ce = g.output) == null ? void 0 : ce.selectedId : void 0;
13438
- return /* @__PURE__ */ Ae("div", { className: "px-3 pb-3", children: [
13439
- /* @__PURE__ */ W("p", { className: "text-gray-600 text-sm font-medium mb-2", children: v.question }),
13440
- /* @__PURE__ */ W("div", { className: "flex flex-col gap-1.5", children: (Ve = v.choices) == null ? void 0 : Ve.map((we) => /* @__PURE__ */ W(
13441
- "button",
13442
- {
13443
- disabled: fe,
13444
- onClick: () => {
13445
- fe || y({
13446
- tool: "ask_multiple_choice",
13447
- toolCallId: he,
13448
- output: { selectedId: we.id, selectedLabel: we.label }
13449
- });
13419
+ !L && !a && !(e != null && e.welcomeHeading) && W && /* @__PURE__ */ H("div", { className: "flex-1 flex flex-col items-center justify-center pb-20", children: /* @__PURE__ */ H("img", { width: 52, height: 52, src: W, className: "opacity-20", alt: "" }) }),
13420
+ /* @__PURE__ */ H("div", { className: Cy({ active: L || !!a }), children: /* @__PURE__ */ H("div", { className: `flex flex-col relative h-full w-full rounded-t-2xl overflow-hidden ${x.length > 0 || a || f ? "bg-asm-white shadow-sm" : "bg-transparent"} ${x.length > 0 ? "justify-end" : "justify-start"}`, children: x.length > 0 ? /* @__PURE__ */ Ae("div", { className: "overflow-y-auto h-full flex flex-col", ref: u, children: [
13421
+ /* @__PURE__ */ H("div", { className: "flex-1" }),
13422
+ x.map((J, me) => {
13423
+ var y;
13424
+ return /* @__PURE__ */ H(
13425
+ "div",
13426
+ {
13427
+ className: "px-4 py-2 first:pt-4 last:pb-4",
13428
+ style: { overflowAnchor: "none" },
13429
+ children: /* @__PURE__ */ Ae("div", { className: zy({ role: J.role }), children: [
13430
+ /* @__PURE__ */ H("div", { className: "relative shrink-0", children: J.role === "user" ? /* @__PURE__ */ H("div", { className: "rounded-full bg-asm-gray-500 ml-1 w-10 h-10 p-2 flex items-center justify-center", children: (y = e == null ? void 0 : e.user) != null && y.name ? /* @__PURE__ */ H("span", { className: "text-sm font-semibold leading-none select-none", children: e.user.name.charAt(0).toUpperCase() }) : /* @__PURE__ */ H("svg", { className: "w-6 h-6", fill: "currentColor", viewBox: "0 0 20 20", children: /* @__PURE__ */ H("path", { fillRule: "evenodd", d: "M10 9a3 3 0 100-6 3 3 0 000 6zm-7 9a7 7 0 1114 0H3z", clipRule: "evenodd" }) }) }) : /* @__PURE__ */ Ae("div", { className: "relative", children: [
13431
+ f && me + 1 === x.length && /* @__PURE__ */ H("span", { className: "shadow text-xs text-asm-gray-400 leading-none absolute -bottom-4 left-4 z-10 bg-white pb-2 px-2 rounded-md", children: "..." }),
13432
+ W && /* @__PURE__ */ H("img", { className: "mr-1", width: 36, height: 36, src: W, alt: "" })
13433
+ ] }) }),
13434
+ J.role === "user" ? /* @__PURE__ */ H("div", { className: "bg-asm-pink-400 rounded-xl rounded-tr-none w-full", children: /* @__PURE__ */ H("p", { className: "text-gray-600 text-sm p-3 whitespace-pre-wrap", children: J.parts.filter(on).map((ae) => ae.text).join("") }) }) : /* @__PURE__ */ Ae("div", { className: "bg-asm-gray-500 rounded-xl rounded-tl-none w-full overflow-hidden", children: [
13435
+ J.parts.filter(on).map((ae) => ae.text).join("") && /* @__PURE__ */ H("div", { className: "text-gray-600 text-sm p-3 prose prose-sm max-w-none", children: /* @__PURE__ */ H(yy, { children: J.parts.filter(on).map((ae) => ae.text).join("") }) }),
13436
+ J.parts.filter(Wt).map((ae) => {
13437
+ var We, Me;
13438
+ if (jd(ae) !== "ask_multiple_choice") return null;
13439
+ const { toolCallId: Te, state: v } = ae, be = ae.input, Ie = v === "output-available", de = Ie ? (We = ae.output) == null ? void 0 : We.selectedId : void 0;
13440
+ return /* @__PURE__ */ Ae("div", { className: "px-3 pb-3", children: [
13441
+ /* @__PURE__ */ H("p", { className: "text-gray-600 text-sm font-medium mb-2", children: be.question }),
13442
+ /* @__PURE__ */ H("div", { className: "flex flex-col gap-1.5", children: (Me = be.choices) == null ? void 0 : Me.map((Pe) => /* @__PURE__ */ H(
13443
+ "button",
13444
+ {
13445
+ disabled: Ie,
13446
+ onClick: () => {
13447
+ Ie || g({
13448
+ tool: "ask_multiple_choice",
13449
+ toolCallId: Te,
13450
+ output: { selectedId: Pe.id, selectedLabel: Pe.label }
13451
+ });
13452
+ },
13453
+ className: [
13454
+ "text-left text-sm px-3 py-2 rounded-lg border transition-colors",
13455
+ Ie && de === Pe.id ? "bg-asm-purple text-white border-asm-purple" : Ie ? "bg-transparent text-gray-400 border-gray-200 cursor-default" : "bg-white text-gray-700 border-asm-purple/40 hover:bg-asm-purple/10 cursor-pointer"
13456
+ ].join(" "),
13457
+ children: Pe.label
13450
13458
  },
13451
- className: [
13452
- "text-left text-sm px-3 py-2 rounded-2xl border transition-colors",
13453
- fe && Ue === we.id ? "bg-asm-purple text-white border-asm-purple" : fe ? "bg-transparent text-gray-400 border-gray-200 cursor-default" : "bg-white text-gray-700 border-asm-purple/40 hover:bg-asm-purple/10 cursor-pointer"
13454
- ].join(" "),
13455
- children: we.label
13456
- },
13457
- we.id
13458
- )) })
13459
- ] }, he);
13460
- })
13459
+ Pe.id
13460
+ )) })
13461
+ ] }, Te);
13462
+ })
13463
+ ] })
13461
13464
  ] })
13462
- ] })
13463
- },
13464
- J.id
13465
- ))
13465
+ },
13466
+ J.id
13467
+ );
13468
+ })
13466
13469
  ] }) : /* @__PURE__ */ Ae("div", { className: "flex flex-col gap-2 items-center px-4 py-4", children: [
13467
- a ?? (e != null && e.welcomeHeading ? /* @__PURE__ */ W("h3", { className: "text-center font-bold", children: e.welcomeHeading }) : null),
13468
- f && /* @__PURE__ */ W("p", { className: "text-center bg-white py-1 px-2 rounded-xl text-sm", children: "This should only take a moment…" })
13470
+ a ?? (e != null && e.welcomeHeading ? /* @__PURE__ */ H("h3", { className: "text-center font-bold", children: e.welcomeHeading }) : null),
13471
+ f && /* @__PURE__ */ H("p", { className: "text-center bg-white py-1 px-2 rounded-md text-sm", children: "This should only take a moment…" })
13469
13472
  ] }) }) }),
13470
- /* @__PURE__ */ W("div", { className: "absolute bottom-0 left-0 w-full flex items-center px-4 py-6 z-50 bg-asm-gray-500", children: /* @__PURE__ */ Ae("form", { className: Ay(), onSubmit: P, children: [
13471
- /* @__PURE__ */ W(
13473
+ /* @__PURE__ */ H("div", { className: "absolute bottom-0 left-0 w-full flex items-center px-4 py-6 z-50 bg-asm-gray-500", children: /* @__PURE__ */ Ae("form", { className: Ay(), onSubmit: P, children: [
13474
+ /* @__PURE__ */ H(
13472
13475
  "textarea",
13473
13476
  {
13474
13477
  ref: s,
@@ -13485,29 +13488,29 @@ const Ry = ({
13485
13488
  onKeyDown: (J) => {
13486
13489
  J.key === "Enter" && !J.shiftKey && !J.repeat && (J.preventDefault(), O.trim() && (h({ parts: [{ type: "text", text: O }] }), R(""), s.current && (s.current.style.height = "auto")));
13487
13490
  },
13488
- className: "w-full bg-white rounded-3xl pl-4 pr-12 py-3 min-h-[46px] max-h-[500px] shadow-sm ring-1 ring-gray-200 resize-none leading-[1.4]",
13491
+ className: "w-full bg-white rounded-xl pl-4 pr-12 py-3 min-h-[46px] max-h-[500px] shadow-sm ring-1 ring-gray-200 resize-none leading-[1.4]",
13489
13492
  placeholder: (e == null ? void 0 : e.placeholder) ?? ""
13490
13493
  }
13491
13494
  ),
13492
- /* @__PURE__ */ W(
13495
+ /* @__PURE__ */ H(
13493
13496
  "button",
13494
13497
  {
13495
13498
  className: _y({ active: L }),
13496
13499
  type: "submit",
13497
13500
  disabled: !L,
13498
13501
  "aria-label": "Send message",
13499
- children: /* @__PURE__ */ W("img", { width: 18, height: 18, src: Ey, alt: "", "aria-hidden": "true" })
13502
+ children: /* @__PURE__ */ H("img", { width: 18, height: 18, src: Ey, alt: "", "aria-hidden": "true" })
13500
13503
  }
13501
13504
  )
13502
13505
  ] }) })
13503
13506
  ] }),
13504
- /* @__PURE__ */ W(
13507
+ /* @__PURE__ */ H(
13505
13508
  "button",
13506
13509
  {
13507
13510
  className: Ty({ position: c, open: C }),
13508
13511
  onClick: Z,
13509
13512
  "aria-label": C ? "Close widget" : "Open widget",
13510
- children: /* @__PURE__ */ W("img", { className: "absolute", width: 30, height: 30, src: V ?? ky, alt: "" })
13513
+ children: /* @__PURE__ */ H("img", { className: "absolute", width: 30, height: 30, src: W ?? ky, alt: "" })
13511
13514
  }
13512
13515
  )
13513
13516
  ] });