galaxy-charts 0.1.2 → 0.1.4

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.
@@ -1,5 +1,5 @@
1
- (function(){"use strict";try{if(typeof document<"u"){var t=document.createElement("style");t.appendChild(document.createTextNode('@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-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-space-y-reverse:0;--tw-border-style:solid;--tw-font-weight:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-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-red-50:oklch(97.1% .013 17.38);--color-red-200:oklch(88.5% .062 18.334);--color-red-600:oklch(57.7% .245 27.325);--color-red-900:oklch(39.6% .141 25.723);--color-green-50:oklch(98.2% .018 155.826);--color-green-200:oklch(92.5% .084 155.995);--color-green-600:oklch(62.7% .194 149.214);--color-green-900:oklch(39.3% .095 152.535);--color-blue-50:oklch(97% .014 254.604);--color-blue-200:oklch(88.2% .059 254.128);--color-blue-500:oklch(62.3% .214 259.815);--color-blue-900:oklch(37.9% .146 265.522);--color-gray-100:oklch(96.7% .003 264.542);--color-gray-600:oklch(44.6% .03 256.802);--color-white:#fff;--spacing:.25rem;--text-xs:.75rem;--text-xs--line-height:calc(1/.75);--text-lg:1.125rem;--text-lg--line-height:calc(1.75/1.125);--font-weight-thin:100;--font-weight-bold:700;--radius-lg:.5rem;--ease-in:cubic-bezier(.4,0,1,1);--animate-spin:spin 1s linear infinite;--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)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components{.chat-message{border-radius:var(--radius-lg);border-style:var(--tw-border-style);--tw-border-style:solid;padding-inline:calc(var(--spacing)*4);padding-block:calc(var(--spacing)*2);overflow-wrap:break-word;white-space:normal;border-style:solid;border-width:1px}.chat-message pre{overflow-wrap:break-word;white-space:pre-wrap}.chat-message-assistant{border-color:var(--color-green-200);background-color:var(--color-green-50);color:var(--color-green-900)}.chat-message-error{border-color:var(--color-red-200);background-color:var(--color-red-50);color:var(--color-red-900)}.chat-message-user{border-color:var(--color-blue-200);background-color:var(--color-blue-50);color:var(--color-blue-900)}}@layer utilities{.collapse{visibility:collapse}.visible{visibility:visible}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.right-0{right:calc(var(--spacing)*0)}.z-10{z-index:10}.z-\\[1\\]{z-index:1}.z-\\[9999\\]{z-index:9999}.container{width:100%}@media(min-width:40rem){.container{max-width:40rem}}@media(min-width:48rem){.container{max-width:48rem}}@media(min-width:64rem){.container{max-width:64rem}}@media(min-width:80rem){.container{max-width:80rem}}@media(min-width:96rem){.container{max-width:96rem}}.m-2{margin:calc(var(--spacing)*2)}.mx-1{margin-inline:calc(var(--spacing)*1)}.mx-2{margin-inline:calc(var(--spacing)*2)}.my-1{margin-block:calc(var(--spacing)*1)}.my-10{margin-block:calc(var(--spacing)*10)}.mt-1{margin-top:calc(var(--spacing)*1)}.mt-2{margin-top:calc(var(--spacing)*2)}.mr-1{margin-right:calc(var(--spacing)*1)}.mr-2{margin-right:calc(var(--spacing)*2)}.mb-1{margin-bottom:calc(var(--spacing)*1)}.mb-2{margin-bottom:calc(var(--spacing)*2)}.ml-1{margin-left:calc(var(--spacing)*1)}.line-clamp-3{-webkit-line-clamp:3;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.\\!hidden{display:none!important}.block{display:block}.contents{display:contents}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.table{display:table}.size-3{width:calc(var(--spacing)*3);height:calc(var(--spacing)*3)}.size-4{width:calc(var(--spacing)*4);height:calc(var(--spacing)*4)}.size-6{width:calc(var(--spacing)*6);height:calc(var(--spacing)*6)}.size-14{width:calc(var(--spacing)*14);height:calc(var(--spacing)*14)}.h-16{height:calc(var(--spacing)*16)}.h-full{height:100%}.h-screen{height:100vh}.min-h-0{min-height:calc(var(--spacing)*0)}.w-16{width:calc(var(--spacing)*16)}.max-w-14{max-width:calc(var(--spacing)*14)}.max-w-\\[90\\%\\]{max-width:90%}.max-w-full{max-width:100%}.min-w-14{min-width:calc(var(--spacing)*14)}.flex-1{flex:1}.transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.animate-spin{animation:var(--animate-spin)}.resize{resize:both}.grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.grid-cols-\\[1fr_20rem\\]{grid-template-columns:1fr 20rem}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-around{justify-content:space-around}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.justify-start{justify-content:flex-start}.gap-2{gap:calc(var(--spacing)*2)}.gap-12{gap:calc(var(--spacing)*12)}:where(.space-y-2>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*2)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*2)*calc(1 - var(--tw-space-y-reverse)))}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.rounded{border-radius:.25rem}.border{border-style:var(--tw-border-style);border-width:1px}.border-2{border-style:var(--tw-border-style);border-width:2px}.border-dotted{--tw-border-style:dotted;border-style:dotted}.border-gray-100{border-color:var(--color-gray-100)}.border-green-600{border-color:var(--color-green-600)}.bg-blue-50{background-color:var(--color-blue-50)}.bg-gray-600{background-color:var(--color-gray-600)}.bg-white{background-color:var(--color-white)}.object-contain{object-fit:contain}.p-1{padding:calc(var(--spacing)*1)}.p-2{padding:calc(var(--spacing)*2)}.p-4{padding:calc(var(--spacing)*4)}.px-2{padding-inline:calc(var(--spacing)*2)}.py-1{padding-block:calc(var(--spacing)*1)}.py-2{padding-block:calc(var(--spacing)*2)}.pt-1{padding-top:calc(var(--spacing)*1)}.pt-4{padding-top:calc(var(--spacing)*4)}.pb-1{padding-bottom:calc(var(--spacing)*1)}.pb-2{padding-bottom:calc(var(--spacing)*2)}.text-center{text-align:center}.font-mono{font-family:var(--font-mono)}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-thin{--tw-font-weight:var(--font-weight-thin);font-weight:var(--font-weight-thin)}.break-words{overflow-wrap:break-word}.text-ellipsis{text-overflow:ellipsis}.whitespace-normal{white-space:normal}.whitespace-nowrap{white-space:nowrap}.whitespace-pre{white-space:pre}.text-blue-500{color:var(--color-blue-500)}.text-blue-900{color:var(--color-blue-900)}.text-green-600{color:var(--color-green-600)}.text-red-600{color:var(--color-red-600)}.text-white{color:var(--color-white)}.capitalize{text-transform:capitalize}.lowercase{text-transform:lowercase}.uppercase{text-transform:uppercase}.ordinal{--tw-ordinal:ordinal;font-variant-numeric:var(--tw-ordinal,)var(--tw-slashed-zero,)var(--tw-numeric-figure,)var(--tw-numeric-spacing,)var(--tw-numeric-fraction,)}.opacity-30{opacity:.3}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a),0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.ease-in{--tw-ease:var(--ease-in);transition-timing-function:var(--ease-in)}.select-none{-webkit-user-select:none;user-select:none}.select-text{-webkit-user-select:text;user-select:text}}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-ordinal{syntax:"*";inherits:false}@property --tw-slashed-zero{syntax:"*";inherits:false}@property --tw-numeric-figure{syntax:"*";inherits:false}@property --tw-numeric-spacing{syntax:"*";inherits:false}@property --tw-numeric-fraction{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@keyframes spin{to{transform:rotate(360deg)}}')),document.head.appendChild(t)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();
2
- import { ref as P, readonly as Oa, watch as Ke, computed as H, onMounted as Kt, onBeforeUnmount as Qt, inject as it, onActivated as ec, onDeactivated as tc, createTextVNode as jr, Fragment as Nt, Comment as pu, defineComponent as he, provide as Yt, getCurrentInstance as bu, withDirectives as Er, h as p, Teleport as Uf, toRef as De, nextTick as Ft, renderSlot as vu, mergeProps as Yr, isVNode as jf, shallowRef as qf, watchEffect as yt, onBeforeMount as gu, Transition as Wn, TransitionGroup as nc, vShow as mu, cloneVNode as rc, Text as Gf, onBeforeUpdate as Kf, createElementBlock as Re, openBlock as de, createElementVNode as Te, createBlock as Ue, unref as ge, withCtx as ft, toDisplayString as hn, normalizeClass as Co, createVNode as Be, resolveDynamicComponent as Zf, createCommentVNode as It, mergeModels as qr, useModel as Mo, renderList as xu, withKeys as Xf, withModifiers as Yf } from "vue";
1
+ (function(){"use strict";try{if(typeof document<"u"){var t=document.createElement("style");t.appendChild(document.createTextNode('@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-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-space-y-reverse:0;--tw-border-style:solid;--tw-font-weight:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-red-50:oklch(97.1% .013 17.38);--color-red-200:oklch(88.5% .062 18.334);--color-red-600:oklch(57.7% .245 27.325);--color-red-900:oklch(39.6% .141 25.723);--color-green-50:oklch(98.2% .018 155.826);--color-green-200:oklch(92.5% .084 155.995);--color-green-600:oklch(62.7% .194 149.214);--color-green-900:oklch(39.3% .095 152.535);--color-blue-50:oklch(97% .014 254.604);--color-blue-200:oklch(88.2% .059 254.128);--color-blue-900:oklch(37.9% .146 265.522);--color-gray-100:oklch(96.7% .003 264.542);--color-gray-600:oklch(44.6% .03 256.802);--color-white:#fff;--spacing:.25rem;--text-xs:.75rem;--text-xs--line-height:calc(1/.75);--text-lg:1.125rem;--text-lg--line-height:calc(1.75/1.125);--font-weight-thin:100;--font-weight-bold:700;--radius-lg:.5rem;--animate-spin:spin 1s linear infinite;--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)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components{.chat-message{border-radius:var(--radius-lg);border-style:var(--tw-border-style);--tw-border-style:solid;padding-inline:calc(var(--spacing)*4);padding-block:calc(var(--spacing)*2);overflow-wrap:break-word;white-space:normal;border-style:solid;border-width:1px}.chat-message pre{overflow-wrap:break-word;white-space:pre-wrap}.chat-message-assistant{border-color:var(--color-green-200);background-color:var(--color-green-50);color:var(--color-green-900)}.chat-message-error{border-color:var(--color-red-200);background-color:var(--color-red-50);color:var(--color-red-900)}.chat-message-user{border-color:var(--color-blue-200);background-color:var(--color-blue-50);color:var(--color-blue-900)}}@layer utilities{.collapse{visibility:collapse}.visible{visibility:visible}.absolute{position:absolute}.relative{position:relative}.static{position:static}.right-0{right:calc(var(--spacing)*0)}.z-10{z-index:10}.z-\\[1\\]{z-index:1}.z-\\[9999\\]{z-index:9999}.container{width:100%}@media(min-width:40rem){.container{max-width:40rem}}@media(min-width:48rem){.container{max-width:48rem}}@media(min-width:64rem){.container{max-width:64rem}}@media(min-width:80rem){.container{max-width:80rem}}@media(min-width:96rem){.container{max-width:96rem}}.m-2{margin:calc(var(--spacing)*2)}.mx-1{margin-inline:calc(var(--spacing)*1)}.mx-2{margin-inline:calc(var(--spacing)*2)}.my-1{margin-block:calc(var(--spacing)*1)}.my-10{margin-block:calc(var(--spacing)*10)}.mt-1{margin-top:calc(var(--spacing)*1)}.mt-2{margin-top:calc(var(--spacing)*2)}.mr-1{margin-right:calc(var(--spacing)*1)}.mr-2{margin-right:calc(var(--spacing)*2)}.mb-1{margin-bottom:calc(var(--spacing)*1)}.mb-2{margin-bottom:calc(var(--spacing)*2)}.ml-1{margin-left:calc(var(--spacing)*1)}.line-clamp-3{-webkit-line-clamp:3;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.\\!hidden{display:none!important}.block{display:block}.contents{display:contents}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.table{display:table}.size-3{width:calc(var(--spacing)*3);height:calc(var(--spacing)*3)}.size-4{width:calc(var(--spacing)*4);height:calc(var(--spacing)*4)}.size-6{width:calc(var(--spacing)*6);height:calc(var(--spacing)*6)}.size-14{width:calc(var(--spacing)*14);height:calc(var(--spacing)*14)}.h-16{height:calc(var(--spacing)*16)}.h-full{height:100%}.h-screen{height:100vh}.min-h-0{min-height:calc(var(--spacing)*0)}.w-16{width:calc(var(--spacing)*16)}.max-w-14{max-width:calc(var(--spacing)*14)}.max-w-\\[90\\%\\]{max-width:90%}.max-w-full{max-width:100%}.min-w-14{min-width:calc(var(--spacing)*14)}.flex-1{flex:1}.transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.animate-spin{animation:var(--animate-spin)}.resize{resize:both}.grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.grid-cols-\\[1fr_20rem\\]{grid-template-columns:1fr 20rem}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-around{justify-content:space-around}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.justify-start{justify-content:flex-start}.gap-2{gap:calc(var(--spacing)*2)}.gap-12{gap:calc(var(--spacing)*12)}:where(.space-y-2>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*2)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*2)*calc(1 - var(--tw-space-y-reverse)))}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.rounded{border-radius:.25rem}.border{border-style:var(--tw-border-style);border-width:1px}.border-2{border-style:var(--tw-border-style);border-width:2px}.border-dotted{--tw-border-style:dotted;border-style:dotted}.border-gray-100{border-color:var(--color-gray-100)}.border-green-600{border-color:var(--color-green-600)}.bg-blue-50{background-color:var(--color-blue-50)}.bg-gray-600{background-color:var(--color-gray-600)}.bg-white{background-color:var(--color-white)}.object-contain{object-fit:contain}.p-1{padding:calc(var(--spacing)*1)}.p-2{padding:calc(var(--spacing)*2)}.p-4{padding:calc(var(--spacing)*4)}.px-2{padding-inline:calc(var(--spacing)*2)}.py-1{padding-block:calc(var(--spacing)*1)}.py-2{padding-block:calc(var(--spacing)*2)}.pt-1{padding-top:calc(var(--spacing)*1)}.pt-4{padding-top:calc(var(--spacing)*4)}.pb-1{padding-bottom:calc(var(--spacing)*1)}.pb-2{padding-bottom:calc(var(--spacing)*2)}.text-center{text-align:center}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-thin{--tw-font-weight:var(--font-weight-thin);font-weight:var(--font-weight-thin)}.break-words{overflow-wrap:break-word}.text-ellipsis{text-overflow:ellipsis}.whitespace-normal{white-space:normal}.whitespace-nowrap{white-space:nowrap}.whitespace-pre{white-space:pre}.text-blue-900{color:var(--color-blue-900)}.text-green-600{color:var(--color-green-600)}.text-red-600{color:var(--color-red-600)}.text-white{color:var(--color-white)}.ordinal{--tw-ordinal:ordinal;font-variant-numeric:var(--tw-ordinal,)var(--tw-slashed-zero,)var(--tw-numeric-figure,)var(--tw-numeric-spacing,)var(--tw-numeric-fraction,)}.shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a),0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.filter{filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.select-none{-webkit-user-select:none;user-select:none}.select-text{-webkit-user-select:text;user-select:text}}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-ordinal{syntax:"*";inherits:false}@property --tw-slashed-zero{syntax:"*";inherits:false}@property --tw-numeric-figure{syntax:"*";inherits:false}@property --tw-numeric-spacing{syntax:"*";inherits:false}@property --tw-numeric-fraction{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@keyframes spin{to{transform:rotate(360deg)}}')),document.head.appendChild(t)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();
2
+ import { ref as P, readonly as Oa, watch as Xe, computed as H, onMounted as Kt, onBeforeUnmount as Qt, inject as it, onActivated as ec, onDeactivated as tc, createTextVNode as jr, Fragment as Nt, Comment as pu, defineComponent as he, provide as Yt, getCurrentInstance as bu, withDirectives as Er, h as p, Teleport as Uf, toRef as De, nextTick as Ft, renderSlot as vu, mergeProps as Yr, isVNode as jf, shallowRef as qf, watchEffect as yt, onBeforeMount as gu, Transition as Wn, TransitionGroup as nc, vShow as mu, cloneVNode as rc, Text as Gf, onBeforeUpdate as Kf, createElementBlock as Re, openBlock as de, createElementVNode as Te, createBlock as We, unref as ge, withCtx as ft, toDisplayString as hn, normalizeClass as Co, createVNode as Be, resolveDynamicComponent as Zf, createCommentVNode as It, mergeModels as qr, useModel as Mo, renderList as xu, withKeys as Xf, withModifiers as Yf } from "vue";
3
3
  const _n = {
4
4
  ASSISTANT: "assistant",
5
5
  SYSTEM: "system",
@@ -1226,14 +1226,14 @@ function L0(e) {
1226
1226
  const t = P(!!e.value);
1227
1227
  if (t.value)
1228
1228
  return Oa(t);
1229
- const n = Ke(e, (r) => {
1229
+ const n = Xe(e, (r) => {
1230
1230
  r && (t.value = !0, n());
1231
1231
  });
1232
1232
  return Oa(t);
1233
1233
  }
1234
1234
  function bt(e) {
1235
1235
  const t = H(e), n = P(t.value);
1236
- return Ke(t, (r) => {
1236
+ return Xe(t, (r) => {
1237
1237
  n.value = r;
1238
1238
  }), typeof e == "function" ? n : {
1239
1239
  __v_isRef: !0,
@@ -1267,7 +1267,7 @@ function yc(e) {
1267
1267
  });
1268
1268
  }
1269
1269
  function zn(e, t) {
1270
- return Ke(e, (n) => {
1270
+ return Xe(e, (n) => {
1271
1271
  n !== void 0 && (t.value = n);
1272
1272
  }), H(() => e.value === void 0 ? t.value : e.value);
1273
1273
  }
@@ -2070,7 +2070,7 @@ const uh = kn([
2070
2070
  const T = ea(b), z = ea(o.value), { left: W, top: q, placement: j } = oh(m, v, T, C, $, x), L = ih(j, x), { left: K, top: N, transform: te } = ah(j, z, v, q, W, x);
2071
2071
  b.setAttribute("v-placement", j), b.style.setProperty("--v-offset-left", `${Math.round(W)}px`), b.style.setProperty("--v-offset-top", `${Math.round(q)}px`), b.style.transform = `translateX(${K}) translateY(${N}) ${te}`, b.style.setProperty("--v-transform-origin", L), b.style.transformOrigin = L;
2072
2072
  };
2073
- Ke(n, (b) => {
2073
+ Xe(n, (b) => {
2074
2074
  b ? (i(), s()) : u();
2075
2075
  });
2076
2076
  const s = () => {
@@ -2086,10 +2086,10 @@ const uh = kn([
2086
2086
  "overlap",
2087
2087
  "minWidth"
2088
2088
  ].forEach((b) => {
2089
- Ke(De(e, b), l);
2089
+ Xe(De(e, b), l);
2090
2090
  }), ["teleportDisabled"].forEach((b) => {
2091
- Ke(De(e, b), s);
2092
- }), Ke(De(e, "syncTrigger"), (b) => {
2091
+ Xe(De(e, b), s);
2092
+ }), Xe(De(e, "syncTrigger"), (b) => {
2093
2093
  b.includes("resize") ? t.addResizeListener(l) : t.removeResizeListener(l), b.includes("scroll") ? t.addScrollListener(l) : t.removeScrollListener(l);
2094
2094
  });
2095
2095
  const c = Jr(), f = bt(() => {
@@ -3085,7 +3085,7 @@ const Oh = he({
3085
3085
  x.code === "Escape" && a() && ((v = e.onEsc) === null || v === void 0 || v.call(e, x));
3086
3086
  }
3087
3087
  Kt(() => {
3088
- Ke(() => e.active, (x) => {
3088
+ Xe(() => e.active, (x) => {
3089
3089
  x ? (f(), tt("keydown", document, l)) : (Ze("keydown", document, l), o && b());
3090
3090
  }, {
3091
3091
  immediate: !0
@@ -3191,7 +3191,7 @@ function Hc(e, t) {
3191
3191
  value: n
3192
3192
  } = e;
3193
3193
  n && yo.registerHandler(n, t);
3194
- }), Ke(e, (n, r) => {
3194
+ }), Xe(e, (n, r) => {
3195
3195
  r && yo.unregisterHandler(r);
3196
3196
  }, {
3197
3197
  deep: !1
@@ -6301,7 +6301,7 @@ const ji = {
6301
6301
  trigger: _
6302
6302
  } = e;
6303
6303
  return _ === "none" || E.value;
6304
- }), re = H(() => {
6304
+ }), oe = H(() => {
6305
6305
  const {
6306
6306
  container: _
6307
6307
  } = e;
@@ -6311,7 +6311,7 @@ const ji = {
6311
6311
  content: _
6312
6312
  } = e;
6313
6313
  return _ ? _() : a.value;
6314
- }), Ae = (_, U) => {
6314
+ }), Ee = (_, U) => {
6315
6315
  if (!e.scrollable) return;
6316
6316
  if (typeof _ == "number") {
6317
6317
  Oe(_, U ?? 0, 0, !1, "auto");
@@ -6323,45 +6323,45 @@ const ji = {
6323
6323
  index: me,
6324
6324
  elSize: we,
6325
6325
  position: ke,
6326
- behavior: Ee,
6326
+ behavior: Ae,
6327
6327
  el: qe,
6328
6328
  debounce: kt = !0
6329
6329
  } = _;
6330
- (ne !== void 0 || ve !== void 0) && Oe(ne ?? 0, ve ?? 0, 0, !1, Ee), qe !== void 0 ? Oe(0, qe.offsetTop, qe.offsetHeight, kt, Ee) : me !== void 0 && we !== void 0 ? Oe(0, me * we, we, kt, Ee) : ke === "bottom" ? Oe(0, Number.MAX_SAFE_INTEGER, 0, !1, Ee) : ke === "top" && Oe(0, 0, 0, !1, Ee);
6330
+ (ne !== void 0 || ve !== void 0) && Oe(ne ?? 0, ve ?? 0, 0, !1, Ae), qe !== void 0 ? Oe(0, qe.offsetTop, qe.offsetHeight, kt, Ae) : me !== void 0 && we !== void 0 ? Oe(0, me * we, we, kt, Ae) : ke === "bottom" ? Oe(0, Number.MAX_SAFE_INTEGER, 0, !1, Ae) : ke === "top" && Oe(0, 0, 0, !1, Ae);
6331
6331
  }, pe = U0(() => {
6332
- e.container || Ae({
6332
+ e.container || Ee({
6333
6333
  top: x.value,
6334
6334
  left: v.value
6335
6335
  });
6336
- }), Ve = () => {
6336
+ }), Ne = () => {
6337
6337
  pe.isDeactivated || M();
6338
- }, Ne = (_) => {
6338
+ }, Ue = (_) => {
6339
6339
  if (pe.isDeactivated) return;
6340
6340
  const {
6341
6341
  onResize: U
6342
6342
  } = e;
6343
6343
  U && U(_), M();
6344
- }, rt = (_, U) => {
6344
+ }, nt = (_, U) => {
6345
6345
  if (!e.scrollable) return;
6346
6346
  const {
6347
6347
  value: ne
6348
- } = re;
6348
+ } = oe;
6349
6349
  ne && (typeof _ == "object" ? ne.scrollBy(_) : ne.scrollBy(_, U || 0));
6350
6350
  };
6351
6351
  function Oe(_, U, ne, ve, me) {
6352
6352
  const {
6353
6353
  value: we
6354
- } = re;
6354
+ } = oe;
6355
6355
  if (we) {
6356
6356
  if (ve) {
6357
6357
  const {
6358
6358
  scrollTop: ke,
6359
- offsetHeight: Ee
6359
+ offsetHeight: Ae
6360
6360
  } = we;
6361
6361
  if (U > ke) {
6362
- U + ne <= ke + Ee || we.scrollTo({
6362
+ U + ne <= ke + Ae || we.scrollTo({
6363
6363
  left: _,
6364
- top: U + ne - Ee,
6364
+ top: U + ne - Ae,
6365
6365
  behavior: me
6366
6366
  });
6367
6367
  return;
@@ -6374,7 +6374,7 @@ const ji = {
6374
6374
  });
6375
6375
  }
6376
6376
  }
6377
- function Je() {
6377
+ function Ke() {
6378
6378
  ae(), I(), M();
6379
6379
  }
6380
6380
  function Qe() {
@@ -6408,7 +6408,7 @@ const ji = {
6408
6408
  function J() {
6409
6409
  const {
6410
6410
  value: _
6411
- } = re;
6411
+ } = oe;
6412
6412
  _ && (x.value = _.scrollTop, v.value = _.scrollLeft * (o?.value ? -1 : 1));
6413
6413
  }
6414
6414
  function D() {
@@ -6418,7 +6418,7 @@ const ji = {
6418
6418
  _ && (c.value = _.offsetHeight, f.value = _.offsetWidth);
6419
6419
  const {
6420
6420
  value: U
6421
- } = re;
6421
+ } = oe;
6422
6422
  U && (b.value = U.offsetHeight, h.value = U.offsetWidth);
6423
6423
  const {
6424
6424
  value: ne
@@ -6430,7 +6430,7 @@ const ji = {
6430
6430
  function k() {
6431
6431
  const {
6432
6432
  value: _
6433
- } = re;
6433
+ } = oe;
6434
6434
  _ && (x.value = _.scrollTop, v.value = _.scrollLeft * (o?.value ? -1 : 1), b.value = _.offsetHeight, h.value = _.offsetWidth, c.value = _.scrollHeight, f.value = _.scrollWidth);
6435
6435
  const {
6436
6436
  value: U
@@ -6461,17 +6461,17 @@ const ji = {
6461
6461
  } = te;
6462
6462
  if (U === null || ne === null) return;
6463
6463
  const we = (o?.value ? window.innerWidth - _.clientX - W : _.clientX - W) * (ne - U) / (U - ve), ke = ne - U;
6464
- let Ee = z + we;
6465
- Ee = Math.min(ke, Ee), Ee = Math.max(Ee, 0);
6464
+ let Ae = z + we;
6465
+ Ae = Math.min(ke, Ae), Ae = Math.max(Ae, 0);
6466
6466
  const {
6467
6467
  value: qe
6468
- } = re;
6468
+ } = oe;
6469
6469
  if (qe) {
6470
- qe.scrollLeft = Ee * (o?.value ? -1 : 1);
6470
+ qe.scrollLeft = Ae * (o?.value ? -1 : 1);
6471
6471
  const {
6472
6472
  internalOnUpdateScrollLeft: kt
6473
6473
  } = e;
6474
- kt && kt(Ee);
6474
+ kt && kt(Ae);
6475
6475
  }
6476
6476
  }
6477
6477
  function ut(_) {
@@ -6492,12 +6492,12 @@ const ji = {
6492
6492
  } = K;
6493
6493
  if (U === null || ne === null) return;
6494
6494
  const we = (_.clientY - q) * (ne - U) / (U - ve), ke = ne - U;
6495
- let Ee = T + we;
6496
- Ee = Math.min(ke, Ee), Ee = Math.max(Ee, 0);
6495
+ let Ae = T + we;
6496
+ Ae = Math.min(ke, Ae), Ae = Math.max(Ae, 0);
6497
6497
  const {
6498
6498
  value: qe
6499
- } = re;
6500
- qe && (qe.scrollTop = Ee);
6499
+ } = oe;
6500
+ qe && (qe.scrollTop = Ae);
6501
6501
  }
6502
6502
  function ht(_) {
6503
6503
  _.preventDefault(), _.stopPropagation(), Ze("mousemove", window, je, !0), Ze("mouseup", window, ht, !0), m = !1, M(), ie(_) && He();
@@ -6532,10 +6532,10 @@ const ji = {
6532
6532
  width: me,
6533
6533
  borderRadius: we,
6534
6534
  railInsetHorizontalTop: ke,
6535
- railInsetHorizontalBottom: Ee,
6535
+ railInsetHorizontalBottom: Ae,
6536
6536
  railInsetVerticalRight: qe,
6537
6537
  railInsetVerticalLeft: kt,
6538
- railColor: Xe
6538
+ railColor: Ye
6539
6539
  }
6540
6540
  } = L.value, {
6541
6541
  top: zt,
@@ -6547,13 +6547,13 @@ const ji = {
6547
6547
  right: cn,
6548
6548
  bottom: tn,
6549
6549
  left: F
6550
- } = $t(Ee), {
6550
+ } = $t(Ae), {
6551
6551
  top: X,
6552
6552
  right: Se,
6553
6553
  bottom: Ge,
6554
- left: Ye
6554
+ left: Je
6555
6555
  } = $t(o?.value ? Fl(qe) : qe), {
6556
- top: We,
6556
+ top: Ve,
6557
6557
  right: gt,
6558
6558
  bottom: Ut,
6559
6559
  left: jt
@@ -6576,20 +6576,20 @@ const ji = {
6576
6576
  "--n-scrollbar-rail-top-vertical-right": X,
6577
6577
  "--n-scrollbar-rail-right-vertical-right": Se,
6578
6578
  "--n-scrollbar-rail-bottom-vertical-right": Ge,
6579
- "--n-scrollbar-rail-left-vertical-right": Ye,
6580
- "--n-scrollbar-rail-top-vertical-left": We,
6579
+ "--n-scrollbar-rail-left-vertical-right": Je,
6580
+ "--n-scrollbar-rail-top-vertical-left": Ve,
6581
6581
  "--n-scrollbar-rail-right-vertical-left": gt,
6582
6582
  "--n-scrollbar-rail-bottom-vertical-left": Ut,
6583
6583
  "--n-scrollbar-rail-left-vertical-left": jt,
6584
- "--n-scrollbar-rail-color": Xe
6584
+ "--n-scrollbar-rail-color": Ye
6585
6585
  };
6586
6586
  }), dt = n ? Bt("scrollbar", void 0, wt, e) : void 0;
6587
6587
  return Object.assign(Object.assign({}, {
6588
- scrollTo: Ae,
6589
- scrollBy: rt,
6588
+ scrollTo: Ee,
6589
+ scrollBy: nt,
6590
6590
  sync: M,
6591
6591
  syncUnifiedContainer: k,
6592
- handleMouseEnterWrapper: Je,
6592
+ handleMouseEnterWrapper: Ke,
6593
6593
  handleMouseLeaveWrapper: Qe
6594
6594
  }), {
6595
6595
  mergedClsPrefix: t,
@@ -6610,8 +6610,8 @@ const ji = {
6610
6610
  isShowYBar: ue,
6611
6611
  isIos: j,
6612
6612
  handleScroll: O,
6613
- handleContentResize: Ve,
6614
- handleContainerResize: Ne,
6613
+ handleContentResize: Ne,
6614
+ handleContainerResize: Ue,
6615
6615
  handleYScrollMouseDown: et,
6616
6616
  handleXScrollMouseDown: _e,
6617
6617
  cssVars: n ? void 0 : wt,
@@ -7762,8 +7762,8 @@ const x2 = S("base-select-menu", `
7762
7762
  Z && !e.treeMate.getNode(Z.key) && (c.value = null);
7763
7763
  }
7764
7764
  let h;
7765
- Ke(() => e.show, (Z) => {
7766
- Z ? h = Ke(() => e.treeMate, () => {
7765
+ Xe(() => e.show, (Z) => {
7766
+ Z ? h = Xe(() => e.treeMate, () => {
7767
7767
  e.resetMenuOnOptionsChange ? (e.autoPending ? f() : b(), Ft(N)) : b();
7768
7768
  }, {
7769
7769
  immediate: !0
@@ -7889,15 +7889,15 @@ const x2 = S("base-select-menu", `
7889
7889
  self: {
7890
7890
  height: ye,
7891
7891
  borderRadius: ue,
7892
- color: re,
7892
+ color: oe,
7893
7893
  groupHeaderTextColor: Pe,
7894
- actionDividerColor: Ae,
7894
+ actionDividerColor: Ee,
7895
7895
  optionTextColorPressed: pe,
7896
- optionTextColor: Ve,
7897
- optionTextColorDisabled: Ne,
7898
- optionTextColorActive: rt,
7896
+ optionTextColor: Ne,
7897
+ optionTextColorDisabled: Ue,
7898
+ optionTextColorActive: nt,
7899
7899
  optionOpacityDisabled: Oe,
7900
- optionCheckColor: Je,
7900
+ optionCheckColor: Ke,
7901
7901
  actionTextColor: Qe,
7902
7902
  optionColorPending: He,
7903
7903
  optionColorActive: ee,
@@ -7911,22 +7911,22 @@ const x2 = S("base-select-menu", `
7911
7911
  } = o.value;
7912
7912
  return {
7913
7913
  "--n-height": ye,
7914
- "--n-action-divider-color": Ae,
7914
+ "--n-action-divider-color": Ee,
7915
7915
  "--n-action-text-color": Qe,
7916
7916
  "--n-bezier": Y,
7917
7917
  "--n-border-radius": ue,
7918
- "--n-color": re,
7918
+ "--n-color": oe,
7919
7919
  "--n-option-font-size": O,
7920
7920
  "--n-group-header-text-color": Pe,
7921
- "--n-option-check-color": Je,
7921
+ "--n-option-check-color": Ke,
7922
7922
  "--n-option-color-pending": He,
7923
7923
  "--n-option-color-active": ee,
7924
7924
  "--n-option-color-active-pending": I,
7925
7925
  "--n-option-height": J,
7926
7926
  "--n-option-opacity-disabled": Oe,
7927
- "--n-option-text-color": Ve,
7928
- "--n-option-text-color-active": rt,
7929
- "--n-option-text-color-disabled": Ne,
7927
+ "--n-option-text-color": Ne,
7928
+ "--n-option-text-color-active": nt,
7929
+ "--n-option-text-color-disabled": Ue,
7930
7930
  "--n-option-text-color-pressed": pe,
7931
7931
  "--n-option-padding": D,
7932
7932
  "--n-option-padding-left": $t(D, "left"),
@@ -8396,7 +8396,7 @@ const k2 = he({
8396
8396
  syncPosition: w
8397
8397
  }), Qt(() => {
8398
8398
  c.setBodyInstance(null);
8399
- }), Ke(De(e, "show"), (z) => {
8399
+ }), Xe(De(e, "show"), (z) => {
8400
8400
  e.animated || (z ? b.value = !0 : b.value = !1);
8401
8401
  });
8402
8402
  function w() {
@@ -9253,13 +9253,13 @@ const z2 = {
9253
9253
  [le("color", h)]: Y,
9254
9254
  [le("textColor", h)]: ye,
9255
9255
  [le("border", h)]: ue,
9256
- [le("closeIconColor", h)]: re,
9256
+ [le("closeIconColor", h)]: oe,
9257
9257
  [le("closeIconColorHover", h)]: Pe,
9258
- [le("closeIconColorPressed", h)]: Ae,
9258
+ [le("closeIconColorPressed", h)]: Ee,
9259
9259
  [le("closeColorHover", h)]: pe,
9260
- [le("closeColorPressed", h)]: Ve
9260
+ [le("closeColorPressed", h)]: Ne
9261
9261
  }
9262
- } = u.value, Ne = $t(E);
9262
+ } = u.value, Ue = $t(E);
9263
9263
  return {
9264
9264
  "--n-font-weight-strong": Q,
9265
9265
  "--n-avatar-size-override": `calc(${Z} - 8px)`,
@@ -9267,17 +9267,17 @@ const z2 = {
9267
9267
  "--n-border-radius": m,
9268
9268
  "--n-border": ue,
9269
9269
  "--n-close-icon-size": fe,
9270
- "--n-close-color-pressed": Ve,
9270
+ "--n-close-color-pressed": Ne,
9271
9271
  "--n-close-color-hover": pe,
9272
9272
  "--n-close-border-radius": te,
9273
- "--n-close-icon-color": re,
9273
+ "--n-close-icon-color": oe,
9274
9274
  "--n-close-icon-color-hover": Pe,
9275
- "--n-close-icon-color-pressed": Ae,
9276
- "--n-close-icon-color-disabled": re,
9277
- "--n-close-margin-top": Ne.top,
9278
- "--n-close-margin-right": Ne.right,
9279
- "--n-close-margin-bottom": Ne.bottom,
9280
- "--n-close-margin-left": Ne.left,
9275
+ "--n-close-icon-color-pressed": Ee,
9276
+ "--n-close-icon-color-disabled": oe,
9277
+ "--n-close-margin-top": Ue.top,
9278
+ "--n-close-margin-right": Ue.right,
9279
+ "--n-close-margin-bottom": Ue.bottom,
9280
+ "--n-close-margin-left": Ue.left,
9281
9281
  "--n-close-size": be,
9282
9282
  "--n-color": y || (n.value ? se : Y),
9283
9283
  "--n-color-checkable": W,
@@ -9844,9 +9844,9 @@ const Td = {
9844
9844
  } = h;
9845
9845
  k && (k.style.display = "inline-block");
9846
9846
  }
9847
- Ke(De(e, "active"), (k) => {
9847
+ Xe(De(e, "active"), (k) => {
9848
9848
  k || g();
9849
- }), Ke(De(e, "pattern"), () => {
9849
+ }), Xe(De(e, "pattern"), () => {
9850
9850
  e.multiple && Ft($);
9851
9851
  });
9852
9852
  function z(k) {
@@ -9925,14 +9925,14 @@ const Td = {
9925
9925
  function ue() {
9926
9926
  ce.value = !0;
9927
9927
  }
9928
- function re() {
9928
+ function oe() {
9929
9929
  ce.value = !1, e.ignoreComposition && L(Y), Y = null;
9930
9930
  }
9931
9931
  function Pe(k) {
9932
9932
  var M;
9933
9933
  y.value = !0, (M = e.onPatternFocus) === null || M === void 0 || M.call(e, k);
9934
9934
  }
9935
- function Ae(k) {
9935
+ function Ee(k) {
9936
9936
  var M;
9937
9937
  y.value = !1, (M = e.onPatternBlur) === null || M === void 0 || M.call(e, k);
9938
9938
  }
@@ -9952,17 +9952,17 @@ const Td = {
9952
9952
  ie?.blur();
9953
9953
  }
9954
9954
  }
9955
- function Ve() {
9955
+ function Ne() {
9956
9956
  var k, M, ie;
9957
9957
  e.filterable ? (y.value = !1, (k = s.value) === null || k === void 0 || k.focus()) : e.multiple ? (M = a.value) === null || M === void 0 || M.focus() : (ie = l.value) === null || ie === void 0 || ie.focus();
9958
9958
  }
9959
- function Ne() {
9959
+ function Ue() {
9960
9960
  const {
9961
9961
  value: k
9962
9962
  } = i;
9963
9963
  k && (T(), k.focus());
9964
9964
  }
9965
- function rt() {
9965
+ function nt() {
9966
9966
  const {
9967
9967
  value: k
9968
9968
  } = i;
@@ -9974,7 +9974,7 @@ const Td = {
9974
9974
  } = c;
9975
9975
  M && M.setTextContent(`+${k}`);
9976
9976
  }
9977
- function Je() {
9977
+ function Ke() {
9978
9978
  const {
9979
9979
  value: k
9980
9980
  } = f;
@@ -9998,7 +9998,7 @@ const Td = {
9998
9998
  function I(k) {
9999
9999
  k || (ee(), d.value = !1);
10000
10000
  }
10001
- Ke(C, (k) => {
10001
+ Xe(C, (k) => {
10002
10002
  k || (d.value = !1);
10003
10003
  }), Kt(() => {
10004
10004
  yt(() => {
@@ -10033,10 +10033,10 @@ const Td = {
10033
10033
  boxShadowHover: me,
10034
10034
  border: we,
10035
10035
  borderFocus: ke,
10036
- borderHover: Ee,
10036
+ borderHover: Ae,
10037
10037
  borderActive: qe,
10038
10038
  arrowColor: kt,
10039
- arrowColorDisabled: Xe,
10039
+ arrowColorDisabled: Ye,
10040
10040
  loadingColor: zt,
10041
10041
  // form warning
10042
10042
  colorActiveWarning: en,
@@ -10050,8 +10050,8 @@ const Td = {
10050
10050
  // form error
10051
10051
  colorActiveError: Se,
10052
10052
  boxShadowFocusError: Ge,
10053
- boxShadowActiveError: Ye,
10054
- boxShadowHoverError: We,
10053
+ boxShadowActiveError: Je,
10054
+ boxShadowHoverError: Ve,
10055
10055
  borderError: gt,
10056
10056
  borderFocusError: Ut,
10057
10057
  borderHoverError: jt,
@@ -10062,9 +10062,9 @@ const Td = {
10062
10062
  clearColorPressed: Ce,
10063
10063
  clearSize: A,
10064
10064
  // arrow
10065
- arrowSize: oe,
10065
+ arrowSize: re,
10066
10066
  [le("height", k)]: xe,
10067
- [le("fontSize", k)]: nt
10067
+ [le("fontSize", k)]: rt
10068
10068
  }
10069
10069
  } = v.value, pt = $t(je), ot = $t(ht);
10070
10070
  return {
@@ -10072,7 +10072,7 @@ const Td = {
10072
10072
  "--n-border": we,
10073
10073
  "--n-border-active": qe,
10074
10074
  "--n-border-focus": ke,
10075
- "--n-border-hover": Ee,
10075
+ "--n-border-hover": Ae,
10076
10076
  "--n-border-radius": _e,
10077
10077
  "--n-box-shadow-active": ve,
10078
10078
  "--n-box-shadow-focus": ne,
@@ -10081,7 +10081,7 @@ const Td = {
10081
10081
  "--n-color": Me,
10082
10082
  "--n-color-active": U,
10083
10083
  "--n-color-disabled": dt,
10084
- "--n-font-size": nt,
10084
+ "--n-font-size": rt,
10085
10085
  "--n-height": xe,
10086
10086
  "--n-padding-single-top": pt.top,
10087
10087
  "--n-padding-multiple-top": ot.top,
@@ -10096,7 +10096,7 @@ const Td = {
10096
10096
  "--n-text-color": et,
10097
10097
  "--n-text-color-disabled": lt,
10098
10098
  "--n-arrow-color": kt,
10099
- "--n-arrow-color-disabled": Xe,
10099
+ "--n-arrow-color-disabled": Ye,
10100
10100
  "--n-loading-color": zt,
10101
10101
  // form warning
10102
10102
  "--n-color-active-warning": en,
@@ -10110,8 +10110,8 @@ const Td = {
10110
10110
  // form error
10111
10111
  "--n-color-active-error": Se,
10112
10112
  "--n-box-shadow-focus-error": Ge,
10113
- "--n-box-shadow-active-error": Ye,
10114
- "--n-box-shadow-hover-error": We,
10113
+ "--n-box-shadow-active-error": Je,
10114
+ "--n-box-shadow-hover-error": Ve,
10115
10115
  "--n-border-error": gt,
10116
10116
  "--n-border-focus-error": Ut,
10117
10117
  "--n-border-hover-error": jt,
@@ -10122,7 +10122,7 @@ const Td = {
10122
10122
  "--n-clear-color-hover": dr,
10123
10123
  "--n-clear-color-pressed": Ce,
10124
10124
  // arrow-size
10125
- "--n-arrow-size": oe,
10125
+ "--n-arrow-size": re,
10126
10126
  // font-weight
10127
10127
  "--n-font-weight": ie
10128
10128
  };
@@ -10157,20 +10157,20 @@ const Td = {
10157
10157
  handleDeleteOption: fe,
10158
10158
  handlePatternKeyDown: Z,
10159
10159
  handlePatternInputInput: ye,
10160
- handlePatternInputBlur: Ae,
10160
+ handlePatternInputBlur: Ee,
10161
10161
  handlePatternInputFocus: Pe,
10162
10162
  handleMouseEnterCounter: B,
10163
10163
  handleMouseLeaveCounter: ae,
10164
10164
  handleFocusout: N,
10165
- handleCompositionEnd: re,
10165
+ handleCompositionEnd: oe,
10166
10166
  handleCompositionStart: ue,
10167
10167
  onPopoverUpdateShow: I,
10168
- focus: Ve,
10169
- focusInput: Ne,
10168
+ focus: Ne,
10169
+ focusInput: Ue,
10170
10170
  blur: pe,
10171
- blurInput: rt,
10171
+ blurInput: nt,
10172
10172
  updateCounter: Oe,
10173
- getCounter: Je,
10173
+ getCounter: Ke,
10174
10174
  getTail: Qe,
10175
10175
  renderLabel: e.renderLabel,
10176
10176
  cssVars: O ? void 0 : J,
@@ -11352,7 +11352,7 @@ function ox(e) {
11352
11352
  function o() {
11353
11353
  t.value = null;
11354
11354
  }
11355
- return Ke(e, o), {
11355
+ return Xe(e, o), {
11356
11356
  recordCursor: n,
11357
11357
  restoreCursor: r
11358
11358
  };
@@ -11554,9 +11554,9 @@ const ps = he({
11554
11554
  if (Se && (fe.value = (X = (F = d.value) === null || F === void 0 ? void 0 : F.$el) === null || X === void 0 ? void 0 : X.offsetWidth), !a.value || typeof Se == "boolean") return;
11555
11555
  const {
11556
11556
  paddingTop: Ge,
11557
- paddingBottom: Ye,
11558
- lineHeight: We
11559
- } = window.getComputedStyle(a.value), gt = Number(Ge.slice(0, -2)), Ut = Number(Ye.slice(0, -2)), jt = Number(We.slice(0, -2)), {
11557
+ paddingBottom: Je,
11558
+ lineHeight: Ve
11559
+ } = window.getComputedStyle(a.value), gt = Number(Ge.slice(0, -2)), Ut = Number(Je.slice(0, -2)), jt = Number(Ve.slice(0, -2)), {
11560
11560
  value: mn
11561
11561
  } = l;
11562
11562
  if (!mn) return;
@@ -11586,11 +11586,11 @@ const ps = he({
11586
11586
  const {
11587
11587
  onUpdateValue: Se,
11588
11588
  "onUpdate:value": Ge,
11589
- onInput: Ye
11589
+ onInput: Je
11590
11590
  } = e, {
11591
- nTriggerFormInput: We
11591
+ nTriggerFormInput: Ve
11592
11592
  } = E;
11593
- Se && $e(Se, F, X), Ge && $e(Ge, F, X), Ye && $e(Ye, F, X), x.value = F, We();
11593
+ Se && $e(Se, F, X), Ge && $e(Ge, F, X), Je && $e(Je, F, X), x.value = F, Ve();
11594
11594
  }
11595
11595
  function ue(F, X) {
11596
11596
  const {
@@ -11600,7 +11600,7 @@ const ps = he({
11600
11600
  } = E;
11601
11601
  Se && $e(Se, F, X), x.value = F, Ge();
11602
11602
  }
11603
- function re(F) {
11603
+ function oe(F) {
11604
11604
  const {
11605
11605
  onBlur: X
11606
11606
  } = e, {
@@ -11616,7 +11616,7 @@ const ps = he({
11616
11616
  } = E;
11617
11617
  X && $e(X, F), Se();
11618
11618
  }
11619
- function Ae(F) {
11619
+ function Ee(F) {
11620
11620
  const {
11621
11621
  onClear: X
11622
11622
  } = e;
@@ -11628,19 +11628,19 @@ const ps = he({
11628
11628
  } = e;
11629
11629
  X && $e(X, F);
11630
11630
  }
11631
- function Ve(F) {
11631
+ function Ne(F) {
11632
11632
  const {
11633
11633
  onInputFocus: X
11634
11634
  } = e;
11635
11635
  X && $e(X, F);
11636
11636
  }
11637
- function Ne() {
11637
+ function Ue() {
11638
11638
  const {
11639
11639
  onDeactivate: F
11640
11640
  } = e;
11641
11641
  F && $e(F);
11642
11642
  }
11643
- function rt() {
11643
+ function nt() {
11644
11644
  const {
11645
11645
  onActivate: F
11646
11646
  } = e;
@@ -11652,7 +11652,7 @@ const ps = he({
11652
11652
  } = e;
11653
11653
  X && $e(X, F);
11654
11654
  }
11655
- function Je(F) {
11655
+ function Ke(F) {
11656
11656
  const {
11657
11657
  onWrapperFocus: X
11658
11658
  } = e;
@@ -11674,14 +11674,14 @@ const ps = he({
11674
11674
  const Ge = F.target.value;
11675
11675
  if (qe(Ge), F instanceof InputEvent && !F.isComposing && (z.value = !1), e.type === "textarea") {
11676
11676
  const {
11677
- value: We
11677
+ value: Ve
11678
11678
  } = d;
11679
- We && We.syncUnifiedContainer();
11679
+ Ve && Ve.syncUnifiedContainer();
11680
11680
  }
11681
11681
  if (q = Ge, z.value) return;
11682
11682
  h.recordCursor();
11683
- const Ye = ae(Ge);
11684
- if (Ye)
11683
+ const Je = ae(Ge);
11684
+ if (Je)
11685
11685
  if (!e.pair)
11686
11686
  Se === "input" ? ye(Ge, {
11687
11687
  source: X
@@ -11690,15 +11690,15 @@ const ps = he({
11690
11690
  });
11691
11691
  else {
11692
11692
  let {
11693
- value: We
11693
+ value: Ve
11694
11694
  } = w;
11695
- Array.isArray(We) ? We = [We[0], We[1]] : We = ["", ""], We[X] = Ge, Se === "input" ? ye(We, {
11695
+ Array.isArray(Ve) ? Ve = [Ve[0], Ve[1]] : Ve = ["", ""], Ve[X] = Ge, Se === "input" ? ye(Ve, {
11696
11696
  source: X
11697
- }) : ue(We, {
11697
+ }) : ue(Ve, {
11698
11698
  source: X
11699
11699
  });
11700
11700
  }
11701
- Y.$forceUpdate(), Ye || Ft(h.restoreCursor);
11701
+ Y.$forceUpdate(), Je || Ft(h.restoreCursor);
11702
11702
  }
11703
11703
  function ae(F) {
11704
11704
  const {
@@ -11707,29 +11707,29 @@ const ps = he({
11707
11707
  minlength: Ge
11708
11708
  } = e;
11709
11709
  if (X) {
11710
- let We;
11711
- if (Se !== void 0 && (We === void 0 && (We = X(F)), We > Number(Se)) || Ge !== void 0 && (We === void 0 && (We = X(F)), We < Number(Se)))
11710
+ let Ve;
11711
+ if (Se !== void 0 && (Ve === void 0 && (Ve = X(F)), Ve > Number(Se)) || Ge !== void 0 && (Ve === void 0 && (Ve = X(F)), Ve < Number(Se)))
11712
11712
  return !1;
11713
11713
  }
11714
11714
  const {
11715
- allowInput: Ye
11715
+ allowInput: Je
11716
11716
  } = e;
11717
- return typeof Ye == "function" ? Ye(F) : !0;
11717
+ return typeof Je == "function" ? Je(F) : !0;
11718
11718
  }
11719
11719
  function I(F) {
11720
- pe(F), F.relatedTarget === u.value && Ne(), F.relatedTarget !== null && (F.relatedTarget === c.value || F.relatedTarget === f.value || F.relatedTarget === a.value) || (W.value = !1), k(F, "blur"), b.value = null;
11720
+ pe(F), F.relatedTarget === u.value && Ue(), F.relatedTarget !== null && (F.relatedTarget === c.value || F.relatedTarget === f.value || F.relatedTarget === a.value) || (W.value = !1), k(F, "blur"), b.value = null;
11721
11721
  }
11722
11722
  function O(F, X) {
11723
- Ve(F), g.value = !0, W.value = !0, rt(), k(F, "focus"), X === 0 ? b.value = c.value : X === 1 ? b.value = f.value : X === 2 && (b.value = a.value);
11723
+ Ne(F), g.value = !0, W.value = !0, nt(), k(F, "focus"), X === 0 ? b.value = c.value : X === 1 ? b.value = f.value : X === 2 && (b.value = a.value);
11724
11724
  }
11725
11725
  function J(F) {
11726
11726
  e.passivelyActivated && (Qe(F), k(F, "blur"));
11727
11727
  }
11728
11728
  function D(F) {
11729
- e.passivelyActivated && (g.value = !0, Je(F), k(F, "focus"));
11729
+ e.passivelyActivated && (g.value = !0, Ke(F), k(F, "focus"));
11730
11730
  }
11731
11731
  function k(F, X) {
11732
- F.relatedTarget !== null && (F.relatedTarget === c.value || F.relatedTarget === f.value || F.relatedTarget === a.value || F.relatedTarget === u.value) || (X === "focus" ? (Pe(F), g.value = !0) : X === "blur" && (re(F), g.value = !1));
11732
+ F.relatedTarget !== null && (F.relatedTarget === c.value || F.relatedTarget === f.value || F.relatedTarget === a.value || F.relatedTarget === u.value) || (X === "focus" ? (Pe(F), g.value = !0) : X === "blur" && (oe(F), g.value = !1));
11733
11733
  }
11734
11734
  function M(F, X) {
11735
11735
  B(F, X, "change");
@@ -11738,7 +11738,7 @@ const ps = he({
11738
11738
  Oe(F);
11739
11739
  }
11740
11740
  function _e(F) {
11741
- Ae(F), Me();
11741
+ Ee(F), Me();
11742
11742
  }
11743
11743
  function Me() {
11744
11744
  e.pair ? (ye(["", ""], {
@@ -11766,12 +11766,12 @@ const ps = he({
11766
11766
  } = u;
11767
11767
  if (Ge) {
11768
11768
  const {
11769
- left: Ye,
11770
- top: We,
11769
+ left: Je,
11770
+ top: Ve,
11771
11771
  width: gt,
11772
11772
  height: Ut
11773
11773
  } = Ge.getBoundingClientRect(), jt = 14;
11774
- if (Ye + gt - jt < F.clientX && F.clientX < Ye + gt && We + Ut - jt < F.clientY && F.clientY < We + Ut)
11774
+ if (Je + gt - jt < F.clientX && F.clientX < Je + gt && Ve + Ut - jt < F.clientY && F.clientY < Ve + Ut)
11775
11775
  return;
11776
11776
  }
11777
11777
  }
@@ -11855,7 +11855,7 @@ const ps = he({
11855
11855
  } = u;
11856
11856
  F?.contains(document.activeElement) && F !== document.activeElement && U();
11857
11857
  }
11858
- function Ee(F) {
11858
+ function Ae(F) {
11859
11859
  if (e.type === "textarea") {
11860
11860
  const {
11861
11861
  value: X
@@ -11877,21 +11877,21 @@ const ps = he({
11877
11877
  if (!Se && Ge)
11878
11878
  if (X === "textarea") {
11879
11879
  const {
11880
- value: Ye
11880
+ value: Je
11881
11881
  } = l;
11882
- Ye && (Ye.textContent = `${F ?? ""}\r
11882
+ Je && (Je.textContent = `${F ?? ""}\r
11883
11883
  `);
11884
11884
  } else {
11885
11885
  const {
11886
- value: Ye
11886
+ value: Je
11887
11887
  } = s;
11888
- Ye && (F ? Ye.textContent = F : Ye.innerHTML = "&nbsp;");
11888
+ Je && (F ? Je.textContent = F : Je.innerHTML = "&nbsp;");
11889
11889
  }
11890
11890
  }
11891
11891
  function kt() {
11892
11892
  ce();
11893
11893
  }
11894
- const Xe = P({
11894
+ const Ye = P({
11895
11895
  top: "0"
11896
11896
  });
11897
11897
  function zt(F) {
@@ -11899,7 +11899,7 @@ const ps = he({
11899
11899
  const {
11900
11900
  scrollTop: Se
11901
11901
  } = F.target;
11902
- Xe.value.top = `${-Se}px`, (X = d.value) === null || X === void 0 || X.syncUnifiedContainer();
11902
+ Ye.value.top = `${-Se}px`, (X = d.value) === null || X === void 0 || X.syncUnifiedContainer();
11903
11903
  }
11904
11904
  let en = null;
11905
11905
  yt(() => {
@@ -11907,13 +11907,13 @@ const ps = he({
11907
11907
  autosize: F,
11908
11908
  type: X
11909
11909
  } = e;
11910
- F && X === "textarea" ? en = Ke(w, (Se) => {
11910
+ F && X === "textarea" ? en = Xe(w, (Se) => {
11911
11911
  !Array.isArray(Se) && Se !== q && qe(Se);
11912
11912
  }) : en?.();
11913
11913
  });
11914
11914
  let Zt = null;
11915
11915
  yt(() => {
11916
- e.type === "textarea" ? Zt = Ke(w, (F) => {
11916
+ e.type === "textarea" ? Zt = Xe(w, (F) => {
11917
11917
  var X;
11918
11918
  !Array.isArray(F) && F !== q && ((X = d.value) === null || X === void 0 || X.syncUnifiedContainer());
11919
11919
  }) : Zt?.();
@@ -11934,7 +11934,7 @@ const ps = he({
11934
11934
  select: me,
11935
11935
  deactivate: ke,
11936
11936
  activate: we,
11937
- scrollTo: Ee
11937
+ scrollTo: Ae
11938
11938
  }, gn = qn("Input", o, t), cn = H(() => {
11939
11939
  const {
11940
11940
  value: F
@@ -11945,8 +11945,8 @@ const ps = he({
11945
11945
  self: {
11946
11946
  color: Se,
11947
11947
  borderRadius: Ge,
11948
- textColor: Ye,
11949
- caretColor: We,
11948
+ textColor: Je,
11949
+ caretColor: Ve,
11950
11950
  caretColorError: gt,
11951
11951
  caretColorWarning: Ut,
11952
11952
  textDecorationColor: jt,
@@ -11955,9 +11955,9 @@ const ps = he({
11955
11955
  borderHover: dr,
11956
11956
  borderFocus: Ce,
11957
11957
  placeholderColor: A,
11958
- placeholderColorDisabled: oe,
11958
+ placeholderColorDisabled: re,
11959
11959
  lineHeightTextarea: xe,
11960
- colorDisabled: nt,
11960
+ colorDisabled: rt,
11961
11961
  colorFocus: pt,
11962
11962
  textColorDisabled: ot,
11963
11963
  boxShadowFocus: Rt,
@@ -12006,18 +12006,18 @@ const ps = he({
12006
12006
  "--n-height": Hf,
12007
12007
  "--n-padding-left": Vf,
12008
12008
  "--n-padding-right": Wf,
12009
- "--n-text-color": Ye,
12010
- "--n-caret-color": We,
12009
+ "--n-text-color": Je,
12010
+ "--n-caret-color": Ve,
12011
12011
  "--n-text-decoration-color": jt,
12012
12012
  "--n-border": mn,
12013
12013
  "--n-border-disabled": xn,
12014
12014
  "--n-border-hover": dr,
12015
12015
  "--n-border-focus": Ce,
12016
12016
  "--n-placeholder-color": A,
12017
- "--n-placeholder-color-disabled": oe,
12017
+ "--n-placeholder-color-disabled": re,
12018
12018
  "--n-icon-size": dn,
12019
12019
  "--n-line-height-textarea": xe,
12020
- "--n-color-disabled": nt,
12020
+ "--n-color-disabled": rt,
12021
12021
  "--n-color-focus": pt,
12022
12022
  "--n-text-color-disabled": ot,
12023
12023
  "--n-box-shadow-focus": Rt,
@@ -12082,7 +12082,7 @@ const ps = he({
12082
12082
  mergedClsPrefix: t,
12083
12083
  mergedBordered: n,
12084
12084
  mergedShowPasswordOn: Q,
12085
- placeholderStyle: Xe,
12085
+ placeholderStyle: Ye,
12086
12086
  mergedStatus: $,
12087
12087
  textAreaScrollContainerWidth: fe,
12088
12088
  // methods
@@ -13021,7 +13021,7 @@ const Wu = {
13021
13021
  } = e, ue = {
13022
13022
  "--n-font-weight": ye ? q : W
13023
13023
  };
13024
- let re = {
13024
+ let oe = {
13025
13025
  "--n-color": "initial",
13026
13026
  "--n-color-hover": "initial",
13027
13027
  "--n-color-pressed": "initial",
@@ -13034,10 +13034,10 @@ const Wu = {
13034
13034
  "--n-text-color-focus": "initial",
13035
13035
  "--n-text-color-disabled": "initial"
13036
13036
  };
13037
- const Pe = K === "tertiary", Ae = K === "default", pe = Pe ? "default" : K;
13037
+ const Pe = K === "tertiary", Ee = K === "default", pe = Pe ? "default" : K;
13038
13038
  if (te) {
13039
13039
  const I = fe || Q;
13040
- re = {
13040
+ oe = {
13041
13041
  "--n-color": "#0000",
13042
13042
  "--n-color-hover": "#0000",
13043
13043
  "--n-color-pressed": "#0000",
@@ -13052,7 +13052,7 @@ const Wu = {
13052
13052
  };
13053
13053
  } else if (N || L) {
13054
13054
  const I = fe || Q;
13055
- re = {
13055
+ oe = {
13056
13056
  "--n-color": "#0000",
13057
13057
  "--n-color-hover": "#0000",
13058
13058
  "--n-color-pressed": "#0000",
@@ -13066,8 +13066,8 @@ const Wu = {
13066
13066
  "--n-text-color-disabled": I || g[le("textColorGhostDisabled", pe)]
13067
13067
  };
13068
13068
  } else if (ce) {
13069
- const I = Ae ? g.textColor : Pe ? g.textColorTertiary : g[le("color", pe)], O = Q || I, J = K !== "default" && K !== "tertiary";
13070
- re = {
13069
+ const I = Ee ? g.textColor : Pe ? g.textColorTertiary : g[le("color", pe)], O = Q || I, J = K !== "default" && K !== "tertiary";
13070
+ oe = {
13071
13071
  "--n-color": J ? ze(O, {
13072
13072
  alpha: Number(g.colorOpacitySecondary)
13073
13073
  }) : g.colorSecondary,
@@ -13089,10 +13089,10 @@ const Wu = {
13089
13089
  "--n-text-color-disabled": O
13090
13090
  };
13091
13091
  } else if (Z || Y) {
13092
- const I = Ae ? g.textColor : Pe ? g.textColorTertiary : g[le("color", pe)], O = Q || I;
13093
- Z ? (re["--n-color"] = g.colorTertiary, re["--n-color-hover"] = g.colorTertiaryHover, re["--n-color-pressed"] = g.colorTertiaryPressed, re["--n-color-focus"] = g.colorSecondaryHover, re["--n-color-disabled"] = g.colorTertiary) : (re["--n-color"] = g.colorQuaternary, re["--n-color-hover"] = g.colorQuaternaryHover, re["--n-color-pressed"] = g.colorQuaternaryPressed, re["--n-color-focus"] = g.colorQuaternaryHover, re["--n-color-disabled"] = g.colorQuaternary), re["--n-ripple-color"] = "#0000", re["--n-text-color"] = O, re["--n-text-color-hover"] = O, re["--n-text-color-pressed"] = O, re["--n-text-color-focus"] = O, re["--n-text-color-disabled"] = O;
13092
+ const I = Ee ? g.textColor : Pe ? g.textColorTertiary : g[le("color", pe)], O = Q || I;
13093
+ Z ? (oe["--n-color"] = g.colorTertiary, oe["--n-color-hover"] = g.colorTertiaryHover, oe["--n-color-pressed"] = g.colorTertiaryPressed, oe["--n-color-focus"] = g.colorSecondaryHover, oe["--n-color-disabled"] = g.colorTertiary) : (oe["--n-color"] = g.colorQuaternary, oe["--n-color-hover"] = g.colorQuaternaryHover, oe["--n-color-pressed"] = g.colorQuaternaryPressed, oe["--n-color-focus"] = g.colorQuaternaryHover, oe["--n-color-disabled"] = g.colorQuaternary), oe["--n-ripple-color"] = "#0000", oe["--n-text-color"] = O, oe["--n-text-color-hover"] = O, oe["--n-text-color-pressed"] = O, oe["--n-text-color-focus"] = O, oe["--n-text-color-disabled"] = O;
13094
13094
  } else
13095
- re = {
13095
+ oe = {
13096
13096
  "--n-color": Q || g[le("color", pe)],
13097
13097
  "--n-color-hover": Q ? hr(Q) : g[le("colorHover", pe)],
13098
13098
  "--n-color-pressed": Q ? oi(Q) : g[le("colorPressed", pe)],
@@ -13105,20 +13105,20 @@ const Wu = {
13105
13105
  "--n-text-color-focus": fe || (Q ? g.textColorFocusPrimary : g[le("textColorFocus", pe)]),
13106
13106
  "--n-text-color-disabled": fe || (Q ? g.textColorDisabledPrimary : g[le("textColorDisabled", pe)])
13107
13107
  };
13108
- let Ve = {
13108
+ let Ne = {
13109
13109
  "--n-border": "initial",
13110
13110
  "--n-border-hover": "initial",
13111
13111
  "--n-border-pressed": "initial",
13112
13112
  "--n-border-focus": "initial",
13113
13113
  "--n-border-disabled": "initial"
13114
13114
  };
13115
- te ? Ve = {
13115
+ te ? Ne = {
13116
13116
  "--n-border": "none",
13117
13117
  "--n-border-hover": "none",
13118
13118
  "--n-border-pressed": "none",
13119
13119
  "--n-border-focus": "none",
13120
13120
  "--n-border-disabled": "none"
13121
- } : Ve = {
13121
+ } : Ne = {
13122
13122
  "--n-border": g[le("border", pe)],
13123
13123
  "--n-border-hover": g[le("borderHover", pe)],
13124
13124
  "--n-border-pressed": g[le("borderPressed", pe)],
@@ -13126,22 +13126,22 @@ const Wu = {
13126
13126
  "--n-border-disabled": g[le("borderDisabled", pe)]
13127
13127
  };
13128
13128
  const {
13129
- [le("height", j)]: Ne,
13130
- [le("fontSize", j)]: rt,
13129
+ [le("height", j)]: Ue,
13130
+ [le("fontSize", j)]: nt,
13131
13131
  [le("padding", j)]: Oe,
13132
- [le("paddingRound", j)]: Je,
13132
+ [le("paddingRound", j)]: Ke,
13133
13133
  [le("iconSize", j)]: Qe,
13134
13134
  [le("borderRadius", j)]: He,
13135
13135
  [le("iconMargin", j)]: ee,
13136
13136
  waveOpacity: B
13137
13137
  } = g, ae = {
13138
- "--n-width": be && !te ? Ne : "initial",
13139
- "--n-height": te ? "initial" : Ne,
13140
- "--n-font-size": rt,
13141
- "--n-padding": be || te ? "initial" : se ? Je : Oe,
13138
+ "--n-width": be && !te ? Ue : "initial",
13139
+ "--n-height": te ? "initial" : Ue,
13140
+ "--n-font-size": nt,
13141
+ "--n-padding": be || te ? "initial" : se ? Ke : Oe,
13142
13142
  "--n-icon-size": Qe,
13143
13143
  "--n-icon-margin": ee,
13144
- "--n-border-radius": te ? "initial" : be || se ? Ne : He
13144
+ "--n-border-radius": te ? "initial" : be || se ? Ue : He
13145
13145
  };
13146
13146
  return Object.assign(Object.assign(Object.assign(Object.assign({
13147
13147
  "--n-bezier": C,
@@ -13149,7 +13149,7 @@ const Wu = {
13149
13149
  "--n-ripple-duration": T,
13150
13150
  "--n-opacity-disabled": z,
13151
13151
  "--n-wave-opacity": B
13152
- }, ue), re), Ve), ae);
13152
+ }, ue), oe), Ne), ae);
13153
13153
  }), E = h ? Bt("button", H(() => {
13154
13154
  let m = "";
13155
13155
  const {
@@ -14438,16 +14438,16 @@ const Mx = he({
14438
14438
  } = e;
14439
14439
  switch ($.value) {
14440
14440
  case "hsv":
14441
- re((D ? yr : ja)([O, B, ae, J]), "cursor");
14441
+ oe((D ? yr : ja)([O, B, ae, J]), "cursor");
14442
14442
  break;
14443
14443
  case "hsl":
14444
- re((D ? Hn : qa)([...hi(O, B, ae), J]), "cursor");
14444
+ oe((D ? Hn : qa)([...hi(O, B, ae), J]), "cursor");
14445
14445
  break;
14446
14446
  case "rgb":
14447
- re((D ? Tn : Ua)([...Ln(O, B, ae), J]), "cursor");
14447
+ oe((D ? Tn : Ua)([...Ln(O, B, ae), J]), "cursor");
14448
14448
  break;
14449
14449
  case "hex":
14450
- re((D ? rr : go)([...Ln(O, B, ae), J]), "cursor");
14450
+ oe((D ? rr : go)([...Ln(O, B, ae), J]), "cursor");
14451
14451
  break;
14452
14452
  }
14453
14453
  }
@@ -14463,37 +14463,37 @@ const Mx = he({
14463
14463
  } = e;
14464
14464
  switch ($.value) {
14465
14465
  case "hsv":
14466
- re((D ? yr : ja)([B, I, O, J]), "cursor");
14466
+ oe((D ? yr : ja)([B, I, O, J]), "cursor");
14467
14467
  break;
14468
14468
  case "rgb":
14469
- re((D ? Tn : Ua)([...Ln(B, I, O), J]), "cursor");
14469
+ oe((D ? Tn : Ua)([...Ln(B, I, O), J]), "cursor");
14470
14470
  break;
14471
14471
  case "hex":
14472
- re((D ? rr : go)([...Ln(B, I, O), J]), "cursor");
14472
+ oe((D ? rr : go)([...Ln(B, I, O), J]), "cursor");
14473
14473
  break;
14474
14474
  case "hsl":
14475
- re((D ? Hn : qa)([...hi(B, I, O), J]), "cursor");
14475
+ oe((D ? Hn : qa)([...hi(B, I, O), J]), "cursor");
14476
14476
  break;
14477
14477
  }
14478
14478
  }
14479
14479
  function ue(B) {
14480
14480
  switch ($.value) {
14481
14481
  case "hsv":
14482
- [T, z, q] = te.value, re(yr([T, z, q, B]), "cursor");
14482
+ [T, z, q] = te.value, oe(yr([T, z, q, B]), "cursor");
14483
14483
  break;
14484
14484
  case "rgb":
14485
- [j, L, K] = Q.value, re(Tn([j, L, K, B]), "cursor");
14485
+ [j, L, K] = Q.value, oe(Tn([j, L, K, B]), "cursor");
14486
14486
  break;
14487
14487
  case "hex":
14488
- [j, L, K] = Q.value, re(rr([j, L, K, B]), "cursor");
14488
+ [j, L, K] = Q.value, oe(rr([j, L, K, B]), "cursor");
14489
14489
  break;
14490
14490
  case "hsl":
14491
- [T, z, W] = se.value, re(Hn([T, z, W, B]), "cursor");
14491
+ [T, z, W] = se.value, oe(Hn([T, z, W, B]), "cursor");
14492
14492
  break;
14493
14493
  }
14494
14494
  ce.value = B;
14495
14495
  }
14496
- function re(B, ae) {
14496
+ function oe(B, ae) {
14497
14497
  ae === "cursor" ? r = B : r = null;
14498
14498
  const {
14499
14499
  nTriggerFormChange: I,
@@ -14505,9 +14505,9 @@ const Mx = he({
14505
14505
  J && $e(J, B), D && $e(D, B), I(), O(), x.value = B;
14506
14506
  }
14507
14507
  function Pe(B) {
14508
- re(B, "input"), Ft(Ae);
14508
+ oe(B, "input"), Ft(Ee);
14509
14509
  }
14510
- function Ae(B = !0) {
14510
+ function Ee(B = !0) {
14511
14511
  const {
14512
14512
  value: ae
14513
14513
  } = v;
@@ -14531,22 +14531,22 @@ const Mx = he({
14531
14531
  const {
14532
14532
  value: B
14533
14533
  } = E;
14534
- B - 1 < 0 || (re(w.value[B - 1], "input"), Ae(!1), E.value = B - 1);
14534
+ B - 1 < 0 || (oe(w.value[B - 1], "input"), Ee(!1), E.value = B - 1);
14535
14535
  }
14536
- function Ve() {
14536
+ function Ne() {
14537
14537
  const {
14538
14538
  value: B
14539
14539
  } = E;
14540
- B < 0 || B + 1 >= w.value.length || (re(w.value[B + 1], "input"), Ae(!1), E.value = B + 1);
14540
+ B < 0 || B + 1 >= w.value.length || (oe(w.value[B + 1], "input"), Ee(!1), E.value = B + 1);
14541
14541
  }
14542
- function Ne() {
14543
- re(null, "input");
14542
+ function Ue() {
14543
+ oe(null, "input");
14544
14544
  const {
14545
14545
  onClear: B
14546
14546
  } = e;
14547
14547
  B && B(), d(!1);
14548
14548
  }
14549
- function rt() {
14549
+ function nt() {
14550
14550
  const {
14551
14551
  value: B
14552
14552
  } = v, {
@@ -14554,13 +14554,13 @@ const Mx = he({
14554
14554
  } = e;
14555
14555
  ae && ae(B), d(!1);
14556
14556
  }
14557
- const Oe = H(() => E.value >= 1), Je = H(() => {
14557
+ const Oe = H(() => E.value >= 1), Ke = H(() => {
14558
14558
  const {
14559
14559
  value: B
14560
14560
  } = w;
14561
14561
  return B.length > 1 && E.value < B.length - 1;
14562
14562
  });
14563
- Ke(h, (B) => {
14563
+ Xe(h, (B) => {
14564
14564
  B || (w.value = [v.value], E.value = 0);
14565
14565
  }), yt(() => {
14566
14566
  if (!(r && r === v.value)) {
@@ -14632,7 +14632,7 @@ const Mx = he({
14632
14632
  displayedHue: I,
14633
14633
  displayedSv: Z.value,
14634
14634
  onUpdateSV: Y,
14635
- onComplete: Ae
14635
+ onComplete: Ee
14636
14636
  }), p("div", {
14637
14637
  class: `${M}-color-picker-preview`
14638
14638
  }, p("div", {
@@ -14641,19 +14641,19 @@ const Mx = he({
14641
14641
  clsPrefix: M,
14642
14642
  hue: I,
14643
14643
  onUpdateHue: ye,
14644
- onComplete: Ae
14644
+ onComplete: Ee
14645
14645
  }), e.showAlpha ? p(kx, {
14646
14646
  clsPrefix: M,
14647
14647
  rgba: ae,
14648
14648
  alpha: ce.value,
14649
14649
  onUpdateAlpha: ue,
14650
- onComplete: Ae
14650
+ onComplete: Ee
14651
14651
  }) : null), e.showPreview ? p(Bx, {
14652
14652
  clsPrefix: M,
14653
14653
  mode: $.value,
14654
14654
  color: Q.value && go(Q.value),
14655
14655
  onUpdateColor: (ie) => {
14656
- re(ie, "input");
14656
+ oe(ie, "input");
14657
14657
  }
14658
14658
  }) : null), p(zx, {
14659
14659
  clsPrefix: M,
@@ -14669,20 +14669,20 @@ const Mx = he({
14669
14669
  mode: $.value,
14670
14670
  swatches: e.swatches,
14671
14671
  onUpdateColor: (ie) => {
14672
- re(ie, "input");
14672
+ oe(ie, "input");
14673
14673
  }
14674
14674
  })), D?.length ? p("div", {
14675
14675
  class: `${M}-color-picker-action`
14676
14676
  }, D.includes("confirm") && p(er, {
14677
14677
  size: "small",
14678
- onClick: rt,
14678
+ onClick: nt,
14679
14679
  theme: k.peers.Button,
14680
14680
  themeOverrides: k.peerOverrides.Button
14681
14681
  }, {
14682
14682
  default: () => a.value.confirm
14683
14683
  }), D.includes("clear") && p(er, {
14684
14684
  size: "small",
14685
- onClick: Ne,
14685
+ onClick: Ue,
14686
14686
  disabled: !v.value,
14687
14687
  theme: k.peers.Button,
14688
14688
  themeOverrides: k.peerOverrides.Button
@@ -14704,8 +14704,8 @@ const Mx = he({
14704
14704
  default: () => a.value.undo
14705
14705
  }), O.includes("redo") && p(er, {
14706
14706
  size: "small",
14707
- onClick: Ve,
14708
- disabled: !Je.value,
14707
+ onClick: Ne,
14708
+ disabled: !Ke.value,
14709
14709
  theme: k.peers.Button,
14710
14710
  themeOverrides: k.peerOverrides.Button
14711
14711
  }, {
@@ -15003,8 +15003,8 @@ const Gx = {
15003
15003
  else if (U && ne.has(ke))
15004
15004
  we.push(ne.get(ke));
15005
15005
  else if (me) {
15006
- const Ee = me(ke);
15007
- Ee && we.push(Ee);
15006
+ const Ae = me(ke);
15007
+ Ae && we.push(Ae);
15008
15008
  }
15009
15009
  }), we;
15010
15010
  }
@@ -15058,7 +15058,7 @@ const Gx = {
15058
15058
  } = e, {
15059
15059
  nTriggerFormFocus: ve
15060
15060
  } = te;
15061
- U && $e(U, _), ve(), ne && Ae();
15061
+ U && $e(U, _), ve(), ne && Ee();
15062
15062
  }
15063
15063
  function ye(_) {
15064
15064
  const {
@@ -15072,7 +15072,7 @@ const Gx = {
15072
15072
  } = e;
15073
15073
  U && $e(U, _);
15074
15074
  }
15075
- function re() {
15075
+ function oe() {
15076
15076
  var _;
15077
15077
  const {
15078
15078
  remote: U,
@@ -15102,24 +15102,24 @@ const Gx = {
15102
15102
  } = e;
15103
15103
  U && $e(U, _), ne && $e(ne, _), E.value = _;
15104
15104
  }
15105
- function Ae() {
15105
+ function Ee() {
15106
15106
  se.value || (Pe(!0), E.value = !0, e.filterable && je());
15107
15107
  }
15108
15108
  function pe() {
15109
15109
  Pe(!1);
15110
15110
  }
15111
- function Ve() {
15111
+ function Ne() {
15112
15112
  c.value = "", h.value = W;
15113
15113
  }
15114
- const Ne = P(!1);
15115
- function rt() {
15116
- e.filterable && (Ne.value = !0);
15114
+ const Ue = P(!1);
15115
+ function nt() {
15116
+ e.filterable && (Ue.value = !0);
15117
15117
  }
15118
15118
  function Oe() {
15119
- e.filterable && (Ne.value = !1, m.value || Ve());
15119
+ e.filterable && (Ue.value = !1, m.value || Ne());
15120
15120
  }
15121
- function Je() {
15122
- se.value || (m.value ? e.filterable ? je() : pe() : Ae());
15121
+ function Ke() {
15122
+ se.value || (m.value ? e.filterable ? je() : pe() : Ee());
15123
15123
  }
15124
15124
  function Qe(_) {
15125
15125
  var U, ne;
@@ -15178,16 +15178,16 @@ const Gx = {
15178
15178
  value: we
15179
15179
  } = h, ke = we[0] || null;
15180
15180
  if (ke) {
15181
- const Ee = b.value;
15182
- Ee.length ? Ee.push(ke) : b.value = [ke], h.value = W;
15181
+ const Ae = b.value;
15182
+ Ae.length ? Ae.push(ke) : b.value = [ke], h.value = W;
15183
15183
  }
15184
15184
  }
15185
15185
  if (ne && q.value.set(_[me], _), e.multiple) {
15186
- const we = O(l.value), ke = we.findIndex((Ee) => Ee === _[me]);
15186
+ const we = O(l.value), ke = we.findIndex((Ae) => Ae === _[me]);
15187
15187
  if (~ke) {
15188
15188
  if (we.splice(ke, 1), U && !ne) {
15189
- const Ee = k(_[me]);
15190
- ~Ee && (b.value.splice(Ee, 1), ve && (c.value = ""));
15189
+ const Ae = k(_[me]);
15190
+ ~Ae && (b.value.splice(Ae, 1), ve && (c.value = ""));
15191
15191
  }
15192
15192
  } else
15193
15193
  we.push(_[me]), ve && (c.value = "");
@@ -15204,7 +15204,7 @@ const Gx = {
15204
15204
  return b.value.findIndex((ne) => ne[e.valueField] === _);
15205
15205
  }
15206
15206
  function M(_) {
15207
- m.value || Ae();
15207
+ m.value || Ee();
15208
15208
  const {
15209
15209
  value: U
15210
15210
  } = _.target;
@@ -15225,9 +15225,9 @@ const Gx = {
15225
15225
  [e.valueField]: U
15226
15226
  }, {
15227
15227
  valueField: ke,
15228
- labelField: Ee
15228
+ labelField: Ae
15229
15229
  } = e;
15230
- f.value.some((qe) => qe[ke] === we[ke] || qe[Ee] === we[Ee]) || b.value.some((qe) => qe[ke] === we[ke] || qe[Ee] === we[Ee]) ? h.value = W : h.value = [we];
15230
+ f.value.some((qe) => qe[ke] === we[ke] || qe[Ae] === we[Ae]) || b.value.some((qe) => qe[ke] === we[ke] || qe[Ae] === we[Ae]) ? h.value = W : h.value = [we];
15231
15231
  }
15232
15232
  }
15233
15233
  function ie(_) {
@@ -15260,13 +15260,13 @@ const Gx = {
15260
15260
  if (m.value) {
15261
15261
  const ke = (ne = g.value) === null || ne === void 0 ? void 0 : ne.getPendingTmNode();
15262
15262
  ke ? J(ke) : e.filterable || (pe(), et());
15263
- } else if (Ae(), e.tag && Ne.value) {
15263
+ } else if (Ee(), e.tag && Ue.value) {
15264
15264
  const ke = h.value[0];
15265
15265
  if (ke) {
15266
- const Ee = ke[e.valueField], {
15266
+ const Ae = ke[e.valueField], {
15267
15267
  value: qe
15268
15268
  } = l;
15269
- e.multiple && Array.isArray(qe) && qe.includes(Ee) || D(ke);
15269
+ e.multiple && Array.isArray(qe) && qe.includes(Ae) || D(ke);
15270
15270
  }
15271
15271
  }
15272
15272
  }
@@ -15278,7 +15278,7 @@ const Gx = {
15278
15278
  break;
15279
15279
  case "ArrowDown":
15280
15280
  if (_.preventDefault(), e.loading) return;
15281
- m.value ? (me = g.value) === null || me === void 0 || me.next() : Ae();
15281
+ m.value ? (me = g.value) === null || me === void 0 || me.next() : Ee();
15282
15282
  break;
15283
15283
  case "Escape":
15284
15284
  m.value && (Vh(_), pe()), (we = C.value) === null || we === void 0 || we.focus();
@@ -15297,7 +15297,7 @@ const Gx = {
15297
15297
  var _;
15298
15298
  m.value && ((_ = $.value) === null || _ === void 0 || _.syncPosition());
15299
15299
  }
15300
- re(), Ke(De(e, "options"), re);
15300
+ oe(), Xe(De(e, "options"), oe);
15301
15301
  const wt = {
15302
15302
  focus: () => {
15303
15303
  var _;
@@ -15347,15 +15347,15 @@ const Gx = {
15347
15347
  mergedSize: Q,
15348
15348
  mergedDisabled: se,
15349
15349
  focused: s,
15350
- activeWithoutMenuOpen: Ne,
15350
+ activeWithoutMenuOpen: Ue,
15351
15351
  inlineThemeDisabled: o,
15352
- onTriggerInputFocus: rt,
15352
+ onTriggerInputFocus: nt,
15353
15353
  onTriggerInputBlur: Oe,
15354
15354
  handleTriggerOrMenuResize: ht,
15355
15355
  handleMenuFocus: ee,
15356
15356
  handleMenuBlur: B,
15357
15357
  handleMenuTabOut: ae,
15358
- handleTriggerClick: Je,
15358
+ handleTriggerClick: Ke,
15359
15359
  handleToggle: J,
15360
15360
  handleDeleteOption: D,
15361
15361
  handlePatternInput: M,
@@ -15363,7 +15363,7 @@ const Gx = {
15363
15363
  handleTriggerBlur: Qe,
15364
15364
  handleTriggerFocus: He,
15365
15365
  handleKeydown: ut,
15366
- handleMenuAfterLeave: Ve,
15366
+ handleMenuAfterLeave: Ne,
15367
15367
  handleMenuClickOutside: I,
15368
15368
  handleMenuScroll: Me,
15369
15369
  handleMenuKeydown: ut,
@@ -16174,7 +16174,7 @@ const ms = 800, xs = 100, m3 = Object.assign(Object.assign({}, Le.props), {
16174
16174
  value: ee
16175
16175
  } = j;
16176
16176
  if (!ee) {
16177
- Ae();
16177
+ Ee();
16178
16178
  return;
16179
16179
  }
16180
16180
  const {
@@ -16199,7 +16199,7 @@ const ms = 800, xs = 100, m3 = Object.assign(Object.assign({}, Le.props), {
16199
16199
  value: ee
16200
16200
  } = q;
16201
16201
  if (!ee) {
16202
- re();
16202
+ oe();
16203
16203
  return;
16204
16204
  }
16205
16205
  const {
@@ -16237,34 +16237,34 @@ const ms = 800, xs = 100, m3 = Object.assign(Object.assign({}, Le.props), {
16237
16237
  !((B = b.value) === null || B === void 0) && B.$el.contains(ee.target) && ee.preventDefault(), !((ae = f.value) === null || ae === void 0) && ae.$el.contains(ee.target) && ee.preventDefault(), (I = c.value) === null || I === void 0 || I.activate();
16238
16238
  }
16239
16239
  let Y = null, ye = null, ue = null;
16240
- function re() {
16240
+ function oe() {
16241
16241
  ue && (window.clearTimeout(ue), ue = null), Y && (window.clearInterval(Y), Y = null);
16242
16242
  }
16243
16243
  let Pe = null;
16244
- function Ae() {
16244
+ function Ee() {
16245
16245
  Pe && (window.clearTimeout(Pe), Pe = null), ye && (window.clearInterval(ye), ye = null);
16246
16246
  }
16247
16247
  function pe() {
16248
- re(), ue = window.setTimeout(() => {
16248
+ oe(), ue = window.setTimeout(() => {
16249
16249
  Y = window.setInterval(() => {
16250
16250
  Q();
16251
16251
  }, xs);
16252
- }, ms), tt("mouseup", document, re, {
16252
+ }, ms), tt("mouseup", document, oe, {
16253
16253
  once: !0
16254
16254
  });
16255
16255
  }
16256
- function Ve() {
16257
- Ae(), Pe = window.setTimeout(() => {
16256
+ function Ne() {
16257
+ Ee(), Pe = window.setTimeout(() => {
16258
16258
  ye = window.setInterval(() => {
16259
16259
  te();
16260
16260
  }, xs);
16261
- }, ms), tt("mouseup", document, Ae, {
16261
+ }, ms), tt("mouseup", document, Ee, {
16262
16262
  once: !0
16263
16263
  });
16264
16264
  }
16265
- const Ne = () => {
16265
+ const Ue = () => {
16266
16266
  ye || te();
16267
- }, rt = () => {
16267
+ }, nt = () => {
16268
16268
  Y || Q();
16269
16269
  };
16270
16270
  function Oe(ee) {
@@ -16296,7 +16296,7 @@ const ms = 800, xs = 100, m3 = Object.assign(Object.assign({}, Le.props), {
16296
16296
  }) !== !1 && Q();
16297
16297
  }
16298
16298
  }
16299
- function Je(ee) {
16299
+ function Ke(ee) {
16300
16300
  x.value = ee, e.updateValueOnInput && !e.format && !e.parse && e.precision === void 0 && z({
16301
16301
  offset: 0,
16302
16302
  doUpdateIfValid: !0,
@@ -16304,7 +16304,7 @@ const ms = 800, xs = 100, m3 = Object.assign(Object.assign({}, Le.props), {
16304
16304
  fixPrecision: !1
16305
16305
  });
16306
16306
  }
16307
- Ke(y, () => {
16307
+ Xe(y, () => {
16308
16308
  g();
16309
16309
  });
16310
16310
  const Qe = {
@@ -16342,12 +16342,12 @@ const ms = 800, xs = 100, m3 = Object.assign(Object.assign({}, Le.props), {
16342
16342
  handleBlur: be,
16343
16343
  handleClear: ce,
16344
16344
  handleMouseDown: Z,
16345
- handleAddClick: Ne,
16346
- handleMinusClick: rt,
16347
- handleAddMousedown: Ve,
16345
+ handleAddClick: Ue,
16346
+ handleMinusClick: nt,
16347
+ handleAddMousedown: Ne,
16348
16348
  handleMinusMousedown: pe,
16349
16349
  handleKeyDown: Oe,
16350
- handleUpdateDisplayedValue: Je,
16350
+ handleUpdateDisplayedValue: Ke,
16351
16351
  // theme
16352
16352
  mergedTheme: o,
16353
16353
  inputThemeOverrides: {
@@ -16810,7 +16810,7 @@ const w3 = 0, C3 = Object.assign(Object.assign({}, Le.props), {
16810
16810
  step: Me
16811
16811
  } = e;
16812
16812
  if (Me === "mark") {
16813
- const je = re(D, _e.concat(k), ie ? M : void 0);
16813
+ const je = oe(D, _e.concat(k), ie ? M : void 0);
16814
16814
  return je ? je.value : k;
16815
16815
  }
16816
16816
  if (Me <= 0) return k;
@@ -16820,10 +16820,10 @@ const w3 = 0, C3 = Object.assign(Object.assign({}, Le.props), {
16820
16820
  let et;
16821
16821
  if (ie) {
16822
16822
  const je = Number((k / Me).toFixed(ut)), ht = Math.floor(je), wt = je > ht ? ht : ht - 1, dt = je < ht ? ht : ht + 1;
16823
- et = re(k, [Number((wt * Me).toFixed(ut)), Number((dt * Me).toFixed(ut)), ..._e], M);
16823
+ et = oe(k, [Number((wt * Me).toFixed(ut)), Number((dt * Me).toFixed(ut)), ..._e], M);
16824
16824
  } else {
16825
16825
  const je = ue(D);
16826
- et = re(D, [..._e, je]);
16826
+ et = oe(D, [..._e, je]);
16827
16827
  }
16828
16828
  return et ? Z(et.value) : k;
16829
16829
  }
@@ -16853,7 +16853,7 @@ const w3 = 0, C3 = Object.assign(Object.assign({}, Le.props), {
16853
16853
  const ie = Math.round((D - M) / k) * k + M;
16854
16854
  return Number(ie.toFixed(h.value));
16855
16855
  }
16856
- function re(D, k = m.value, M) {
16856
+ function oe(D, k = m.value, M) {
16857
16857
  if (!k?.length) return null;
16858
16858
  let ie = null, _e = -1;
16859
16859
  for (; ++_e < k.length; ) {
@@ -16874,7 +16874,7 @@ const w3 = 0, C3 = Object.assign(Object.assign({}, Le.props), {
16874
16874
  let _e;
16875
16875
  return e.vertical ? _e = (ie.bottom - M.clientY) / ie.height : _e = (M.clientX - ie.left) / ie.width, e.reverse && (_e = 1 - _e), ye(_e);
16876
16876
  }
16877
- function Ae(D) {
16877
+ function Ee(D) {
16878
16878
  if (b.value || !e.keyboard) return;
16879
16879
  const {
16880
16880
  vertical: k,
@@ -16907,40 +16907,40 @@ const w3 = 0, C3 = Object.assign(Object.assign({}, Le.props), {
16907
16907
  k
16908
16908
  );
16909
16909
  }
16910
- function Ve(D) {
16910
+ function Ne(D) {
16911
16911
  var k, M;
16912
16912
  if (b.value || !ys(D) && D.button !== w3)
16913
16913
  return;
16914
16914
  const ie = Pe(D);
16915
16915
  if (ie === void 0) return;
16916
- const _e = v.value.slice(), Me = e.range ? (M = (k = re(ie, _e)) === null || k === void 0 ? void 0 : k.index) !== null && M !== void 0 ? M : -1 : 0;
16917
- Me !== -1 && (D.preventDefault(), te(Me), Ne(), fe(ce(ie, v.value[Me]), Me));
16916
+ const _e = v.value.slice(), Me = e.range ? (M = (k = oe(ie, _e)) === null || k === void 0 ? void 0 : k.index) !== null && M !== void 0 ? M : -1 : 0;
16917
+ Me !== -1 && (D.preventDefault(), te(Me), Ue(), fe(ce(ie, v.value[Me]), Me));
16918
16918
  }
16919
- function Ne() {
16920
- T.value || (T.value = !0, e.onDragstart && $e(e.onDragstart), tt("touchend", document, Je), tt("mouseup", document, Je), tt("touchmove", document, Oe), tt("mousemove", document, Oe));
16919
+ function Ue() {
16920
+ T.value || (T.value = !0, e.onDragstart && $e(e.onDragstart), tt("touchend", document, Ke), tt("mouseup", document, Ke), tt("touchmove", document, Oe), tt("mousemove", document, Oe));
16921
16921
  }
16922
- function rt() {
16923
- T.value && (T.value = !1, e.onDragend && $e(e.onDragend), Ze("touchend", document, Je), Ze("mouseup", document, Je), Ze("touchmove", document, Oe), Ze("mousemove", document, Oe));
16922
+ function nt() {
16923
+ T.value && (T.value = !1, e.onDragend && $e(e.onDragend), Ze("touchend", document, Ke), Ze("mouseup", document, Ke), Ze("touchmove", document, Oe), Ze("mousemove", document, Oe));
16924
16924
  }
16925
16925
  function Oe(D) {
16926
16926
  const {
16927
16927
  value: k
16928
16928
  } = C;
16929
16929
  if (!T.value || k === -1) {
16930
- rt();
16930
+ nt();
16931
16931
  return;
16932
16932
  }
16933
16933
  const M = Pe(D);
16934
16934
  M !== void 0 && fe(ce(M, v.value[k]), k);
16935
16935
  }
16936
- function Je() {
16937
- rt();
16936
+ function Ke() {
16937
+ nt();
16938
16938
  }
16939
16939
  function Qe(D) {
16940
16940
  C.value = D, b.value || (g.value = D);
16941
16941
  }
16942
16942
  function He(D) {
16943
- C.value === D && (C.value = -1, rt()), g.value === D && (g.value = -1);
16943
+ C.value === D && (C.value = -1, nt()), g.value === D && (g.value = -1);
16944
16944
  }
16945
16945
  function ee(D) {
16946
16946
  g.value = D;
@@ -16948,9 +16948,9 @@ const w3 = 0, C3 = Object.assign(Object.assign({}, Le.props), {
16948
16948
  function B(D) {
16949
16949
  g.value === D && (g.value = -1);
16950
16950
  }
16951
- Ke(C, (D, k) => {
16951
+ Xe(C, (D, k) => {
16952
16952
  Ft(() => $.value = k);
16953
- }), Ke(x, () => {
16953
+ }), Xe(x, () => {
16954
16954
  if (e.marks) {
16955
16955
  if (z.value) return;
16956
16956
  z.value = !0, Ft(() => {
@@ -16959,7 +16959,7 @@ const w3 = 0, C3 = Object.assign(Object.assign({}, Le.props), {
16959
16959
  }
16960
16960
  Ft(Q);
16961
16961
  }), Qt(() => {
16962
- rt();
16962
+ nt();
16963
16963
  });
16964
16964
  const ae = H(() => {
16965
16965
  const {
@@ -16984,10 +16984,10 @@ const w3 = 0, C3 = Object.assign(Object.assign({}, Le.props), {
16984
16984
  handleSize: me,
16985
16985
  dotHeight: we,
16986
16986
  dotWidth: ke,
16987
- dotBorderRadius: Ee,
16987
+ dotBorderRadius: Ae,
16988
16988
  fontSize: qe,
16989
16989
  dotBorderActive: kt,
16990
- dotColorPopover: Xe
16990
+ dotColorPopover: Ye
16991
16991
  },
16992
16992
  common: {
16993
16993
  cubicBezierEaseInOut: zt
@@ -16997,11 +16997,11 @@ const w3 = 0, C3 = Object.assign(Object.assign({}, Le.props), {
16997
16997
  "--n-bezier": zt,
16998
16998
  "--n-dot-border": _,
16999
16999
  "--n-dot-border-active": kt,
17000
- "--n-dot-border-radius": Ee,
17000
+ "--n-dot-border-radius": Ae,
17001
17001
  "--n-dot-box-shadow": U,
17002
17002
  "--n-dot-color": et,
17003
17003
  "--n-dot-color-modal": je,
17004
- "--n-dot-color-popover": Xe,
17004
+ "--n-dot-color-popover": Ye,
17005
17005
  "--n-dot-height": we,
17006
17006
  "--n-dot-width": ke,
17007
17007
  "--n-fill-color": ie,
@@ -17059,12 +17059,12 @@ const w3 = 0, C3 = Object.assign(Object.assign({}, Le.props), {
17059
17059
  activeIndex: C,
17060
17060
  arrifiedValues: v,
17061
17061
  followerEnabledIndexSet: c,
17062
- handleRailMouseDown: Ve,
17062
+ handleRailMouseDown: Ne,
17063
17063
  handleHandleFocus: Qe,
17064
17064
  handleHandleBlur: He,
17065
17065
  handleHandleMouseEnter: ee,
17066
17066
  handleHandleMouseLeave: B,
17067
- handleRailKeyDown: Ae,
17067
+ handleRailKeyDown: Ee,
17068
17068
  indicatorCssVars: r ? void 0 : O,
17069
17069
  indicatorThemeClass: J?.themeClass,
17070
17070
  indicatorOnRender: J?.onRender,
@@ -17410,8 +17410,8 @@ const Md = he({
17410
17410
  cubicBezierEaseInOut: ue
17411
17411
  }
17412
17412
  } = r.value;
17413
- let re, Pe, Ae;
17414
- return so ? (re = `calc((${ce} - ${se}) / 2)`, Pe = `max(${ce}, ${se})`, Ae = `max(${Z}, calc(${Z} + ${se} - ${ce}))`) : (re = Jn((Lt(ce) - Lt(se)) / 2), Pe = Jn(Math.max(Lt(ce), Lt(se))), Ae = Lt(ce) > Lt(se) ? Z : Jn(Lt(Z) + Lt(se) - Lt(ce))), {
17413
+ let oe, Pe, Ee;
17414
+ return so ? (oe = `calc((${ce} - ${se}) / 2)`, Pe = `max(${ce}, ${se})`, Ee = `max(${Z}, calc(${Z} + ${se} - ${ce}))`) : (oe = Jn((Lt(ce) - Lt(se)) / 2), Pe = Jn(Math.max(Lt(ce), Lt(se))), Ee = Lt(ce) > Lt(se) ? Z : Jn(Lt(Z) + Lt(se) - Lt(ce))), {
17415
17415
  "--n-bezier": ue,
17416
17416
  "--n-button-border-radius": ye,
17417
17417
  "--n-button-box-shadow": j,
@@ -17420,14 +17420,14 @@ const Md = he({
17420
17420
  "--n-button-width-pressed": fe,
17421
17421
  "--n-button-height": se,
17422
17422
  "--n-height": Pe,
17423
- "--n-offset": re,
17423
+ "--n-offset": oe,
17424
17424
  "--n-opacity-disabled": z,
17425
17425
  "--n-rail-border-radius": Y,
17426
17426
  "--n-rail-color": W,
17427
17427
  "--n-rail-color-active": q,
17428
17428
  "--n-rail-height": ce,
17429
17429
  "--n-rail-width": Z,
17430
- "--n-width": Ae,
17430
+ "--n-width": Ee,
17431
17431
  "--n-box-shadow-focus": K,
17432
17432
  "--n-loading-color": N,
17433
17433
  "--n-text-color": te,
@@ -18090,7 +18090,7 @@ const Md = he({
18090
18090
  justifyContent: e.justifyContent
18091
18091
  };
18092
18092
  });
18093
- Ke(m, () => {
18093
+ Xe(m, () => {
18094
18094
  C.id = 0, q(), j();
18095
18095
  });
18096
18096
  function g() {
@@ -18250,7 +18250,7 @@ const Md = he({
18250
18250
  I.classList.add(O), q(), I.classList.remove(O);
18251
18251
  }
18252
18252
  const ue = P(null);
18253
- function re({
18253
+ function oe({
18254
18254
  transitionDisabled: I
18255
18255
  }) {
18256
18256
  const O = s.value;
@@ -18259,19 +18259,19 @@ const Md = he({
18259
18259
  const J = g();
18260
18260
  J && ue.value && (ue.value.style.width = `${J.offsetWidth}px`, ue.value.style.height = `${J.offsetHeight}px`, ue.value.style.transform = `translateX(${J.offsetLeft - Lt(getComputedStyle(O).paddingLeft)}px)`, I && ue.value.offsetWidth), I && O.classList.remove("transition-disabled");
18261
18261
  }
18262
- Ke([m], () => {
18262
+ Xe([m], () => {
18263
18263
  e.type === "segment" && Ft(() => {
18264
- re({
18264
+ oe({
18265
18265
  transitionDisabled: !1
18266
18266
  });
18267
18267
  });
18268
18268
  }), Kt(() => {
18269
- e.type === "segment" && re({
18269
+ e.type === "segment" && oe({
18270
18270
  transitionDisabled: !0
18271
18271
  });
18272
18272
  });
18273
18273
  let Pe = 0;
18274
- function Ae(I) {
18274
+ function Ee(I) {
18275
18275
  var O;
18276
18276
  if (I.contentRect.width === 0 && I.contentRect.height === 0 || Pe === I.contentRect.width)
18277
18277
  return;
@@ -18283,11 +18283,11 @@ const Md = he({
18283
18283
  const {
18284
18284
  placement: D
18285
18285
  } = e;
18286
- Je((D === "top" || D === "bottom" ? (O = h.value) === null || O === void 0 ? void 0 : O.$el : d.value) || null);
18286
+ Ke((D === "top" || D === "bottom" ? (O = h.value) === null || O === void 0 ? void 0 : O.$el : d.value) || null);
18287
18287
  }
18288
18288
  }
18289
- const pe = _a(Ae, 64);
18290
- Ke([() => e.justifyContent, () => e.size], () => {
18289
+ const pe = _a(Ee, 64);
18290
+ Xe([() => e.justifyContent, () => e.size], () => {
18291
18291
  Ft(() => {
18292
18292
  const {
18293
18293
  type: I
@@ -18295,8 +18295,8 @@ const Md = he({
18295
18295
  (I === "line" || I === "bar") && ye();
18296
18296
  });
18297
18297
  });
18298
- const Ve = P(!1);
18299
- function Ne(I) {
18298
+ const Ne = P(!1);
18299
+ function Ue(I) {
18300
18300
  var O;
18301
18301
  const {
18302
18302
  target: J,
@@ -18307,18 +18307,18 @@ const Md = he({
18307
18307
  } = I, M = J.parentElement.parentElement.offsetWidth, ie = J.parentElement.parentElement.offsetHeight, {
18308
18308
  placement: _e
18309
18309
  } = e;
18310
- if (!Ve.value)
18311
- _e === "top" || _e === "bottom" ? M < D && (Ve.value = !0) : ie < k && (Ve.value = !0);
18310
+ if (!Ne.value)
18311
+ _e === "top" || _e === "bottom" ? M < D && (Ne.value = !0) : ie < k && (Ne.value = !0);
18312
18312
  else {
18313
18313
  const {
18314
18314
  value: Me
18315
18315
  } = b;
18316
18316
  if (!Me) return;
18317
- _e === "top" || _e === "bottom" ? M - D > Me.$el.offsetWidth && (Ve.value = !1) : ie - k > Me.$el.offsetHeight && (Ve.value = !1);
18317
+ _e === "top" || _e === "bottom" ? M - D > Me.$el.offsetWidth && (Ne.value = !1) : ie - k > Me.$el.offsetHeight && (Ne.value = !1);
18318
18318
  }
18319
- Je(((O = h.value) === null || O === void 0 ? void 0 : O.$el) || null);
18319
+ Ke(((O = h.value) === null || O === void 0 ? void 0 : O.$el) || null);
18320
18320
  }
18321
- const rt = _a(Ne, 64);
18321
+ const nt = _a(Ue, 64);
18322
18322
  function Oe() {
18323
18323
  const {
18324
18324
  onAdd: I
@@ -18334,7 +18334,7 @@ const Md = he({
18334
18334
  });
18335
18335
  });
18336
18336
  }
18337
- function Je(I) {
18337
+ function Ke(I) {
18338
18338
  if (!I) return;
18339
18339
  const {
18340
18340
  placement: O
@@ -18356,7 +18356,7 @@ const Md = he({
18356
18356
  }
18357
18357
  }
18358
18358
  const Qe = _a((I) => {
18359
- Je(I.target);
18359
+ Ke(I.target);
18360
18360
  }, 64);
18361
18361
  Yt(ju, {
18362
18362
  triggerRef: De(e, "trigger"),
@@ -18392,7 +18392,7 @@ const Md = he({
18392
18392
  q();
18393
18393
  }
18394
18394
  }, ee = () => {
18395
- re({
18395
+ oe({
18396
18396
  transitionDisabled: !0
18397
18397
  });
18398
18398
  }, B = H(() => {
@@ -18426,10 +18426,10 @@ const Md = he({
18426
18426
  closeColorPressed: me,
18427
18427
  closeBorderRadius: we,
18428
18428
  [le("panePadding", I)]: ke,
18429
- [le("tabPadding", D)]: Ee,
18429
+ [le("tabPadding", D)]: Ae,
18430
18430
  [le("tabPaddingVertical", D)]: qe,
18431
18431
  [le("tabGap", D)]: kt,
18432
- [le("tabGap", `${D}Vertical`)]: Xe,
18432
+ [le("tabGap", `${D}Vertical`)]: Ye,
18433
18433
  [le("tabTextColor", O)]: zt,
18434
18434
  [le("tabTextColorActive", O)]: en,
18435
18435
  [le("tabTextColorHover", O)]: Zt,
@@ -18463,10 +18463,10 @@ const Md = he({
18463
18463
  "--n-tab-color": Me,
18464
18464
  "--n-tab-font-weight": je,
18465
18465
  "--n-tab-font-weight-active": wt,
18466
- "--n-tab-padding": Ee,
18466
+ "--n-tab-padding": Ae,
18467
18467
  "--n-tab-padding-vertical": qe,
18468
18468
  "--n-tab-gap": kt,
18469
- "--n-tab-gap-vertical": Xe,
18469
+ "--n-tab-gap-vertical": Ye,
18470
18470
  "--n-pane-padding-left": $t(ke, "left"),
18471
18471
  "--n-pane-padding-right": $t(ke, "right"),
18472
18472
  "--n-pane-padding-top": $t(ke, "top"),
@@ -18486,12 +18486,12 @@ const Md = he({
18486
18486
  addTabInstRef: b,
18487
18487
  xScrollInstRef: h,
18488
18488
  scrollWrapperElRef: f,
18489
- addTabFixed: Ve,
18489
+ addTabFixed: Ne,
18490
18490
  tabWrapperStyle: $,
18491
18491
  handleNavResize: pe,
18492
18492
  mergedSize: v,
18493
18493
  handleScroll: Qe,
18494
- handleTabsResize: rt,
18494
+ handleTabsResize: nt,
18495
18495
  cssVars: a ? void 0 : B,
18496
18496
  themeClass: ae?.themeClass,
18497
18497
  animationDirection: fe,
@@ -18965,7 +18965,7 @@ const W3 = { class: "text-xs" }, ir = /* @__PURE__ */ he({
18965
18965
  emits: ["click"],
18966
18966
  setup(e, { emit: t }) {
18967
18967
  const n = e, r = t;
18968
- return (o, i) => (de(), Ue(ge(Pd), {
18968
+ return (o, i) => (de(), We(ge(Pd), {
18969
18969
  trigger: "hover",
18970
18970
  to: !1
18971
18971
  }, {
@@ -18986,7 +18986,7 @@ const W3 = { class: "text-xs" }, ir = /* @__PURE__ */ he({
18986
18986
  icon: ft(() => [
18987
18987
  Be(ge(Vn), null, {
18988
18988
  default: ft(() => [
18989
- (de(), Ue(Zf(e.icon)))
18989
+ (de(), We(Zf(e.icon)))
18990
18990
  ]),
18991
18991
  _: 1
18992
18992
  })
@@ -19086,11 +19086,11 @@ const K3 = {
19086
19086
  r("update:value", h);
19087
19087
  }
19088
19088
  return (b, h) => (de(), Re(Nt, null, [
19089
- ge(o).type === "boolean" ? (de(), Ue(ge(Md), {
19089
+ ge(o).type === "boolean" ? (de(), We(ge(Md), {
19090
19090
  key: 0,
19091
19091
  value: s.value,
19092
19092
  "onUpdate:value": h[0] || (h[0] = (d) => s.value = d)
19093
- }, null, 8, ["value"])) : (de(), Ue(ge(qi), {
19093
+ }, null, 8, ["value"])) : (de(), We(ge(qi), {
19094
19094
  key: 1,
19095
19095
  value: l.value,
19096
19096
  "onUpdate:value": h[1] || (h[1] = (d) => l.value = d),
@@ -19172,7 +19172,7 @@ const J3 = {
19172
19172
  function c({ option: f }) {
19173
19173
  return p("div", { class: "z-[1] whitespace-nowrap text-ellipsis overflow-hidden" }, f.label ?? "");
19174
19174
  }
19175
- return Ke(
19175
+ return Xe(
19176
19176
  () => o.value,
19177
19177
  (f) => {
19178
19178
  i.value = f?.id ?? null;
@@ -19276,15 +19276,15 @@ const ry = /* @__PURE__ */ he({
19276
19276
  function u() {
19277
19277
  r.value.length > 0 && o.value === null && (o.value = r.value[0].value);
19278
19278
  }
19279
- return i(), Ke(
19279
+ return i(), Xe(
19280
19280
  () => o.value,
19281
19281
  () => u()
19282
- ), (a, l) => e.datasetId ? (de(), Ue(ge(qi), {
19282
+ ), (a, l) => e.datasetId ? (de(), We(ge(qi), {
19283
19283
  key: 0,
19284
19284
  value: o.value,
19285
19285
  "onUpdate:value": l[0] || (l[0] = (s) => o.value = s),
19286
19286
  options: r.value
19287
- }, null, 8, ["value", "options"])) : (de(), Ue(ge(kr), {
19287
+ }, null, 8, ["value", "options"])) : (de(), We(ge(kr), {
19288
19288
  key: 1,
19289
19289
  value: o.value,
19290
19290
  "onUpdate:value": l[1] || (l[1] = (s) => o.value = s)
@@ -19317,7 +19317,7 @@ const ry = /* @__PURE__ */ he({
19317
19317
  o.value = !1;
19318
19318
  }
19319
19319
  }
19320
- return u(), (a, l) => (de(), Ue(qu, {
19320
+ return u(), (a, l) => (de(), We(qu, {
19321
19321
  value: r.value,
19322
19322
  "onUpdate:value": l[0] || (l[0] = (s) => r.value = s),
19323
19323
  loading: o.value,
@@ -19358,7 +19358,7 @@ const ry = /* @__PURE__ */ he({
19358
19358
  }
19359
19359
  r.value = a, i.value = !1;
19360
19360
  }
19361
- return u(), (a, l) => (de(), Ue(qu, {
19361
+ return u(), (a, l) => (de(), We(qu, {
19362
19362
  value: o.value,
19363
19363
  "onUpdate:value": l[0] || (l[0] = (s) => o.value = s),
19364
19364
  loading: i.value,
@@ -19391,7 +19391,7 @@ const ry = /* @__PURE__ */ he({
19391
19391
  function u() {
19392
19392
  r("update:values", o.value);
19393
19393
  }
19394
- return Ke(
19394
+ return Xe(
19395
19395
  () => n.values,
19396
19396
  () => {
19397
19397
  o.value = i();
@@ -19404,30 +19404,30 @@ const ry = /* @__PURE__ */ he({
19404
19404
  Te("div", uy, hn(s.label || s.name), 1),
19405
19405
  s.help ? (de(), Re("div", ly, hn(s.help), 1)) : It("", !0),
19406
19406
  Te("div", null, [
19407
- s.type === "boolean" ? (de(), Ue(ge(Md), {
19407
+ s.type === "boolean" ? (de(), We(ge(Md), {
19408
19408
  key: 0,
19409
19409
  value: o.value[s.name],
19410
19410
  "onUpdate:value": [(f) => o.value[s.name] = f, u]
19411
- }, null, 8, ["value", "onUpdate:value"])) : s.type === "color" ? (de(), Ue(ge(jx), {
19411
+ }, null, 8, ["value", "onUpdate:value"])) : s.type === "color" ? (de(), We(ge(jx), {
19412
19412
  key: 1,
19413
19413
  value: o.value[s.name],
19414
19414
  "onUpdate:value": [(f) => o.value[s.name] = f, u],
19415
19415
  modes: ["hex"],
19416
19416
  "show-alpha": !1
19417
- }, null, 8, ["value", "onUpdate:value"])) : s.type === "conditional" ? (de(), Ue(Z3, {
19417
+ }, null, 8, ["value", "onUpdate:value"])) : s.type === "conditional" ? (de(), We(Z3, {
19418
19418
  key: 2,
19419
19419
  value: o.value[s.name],
19420
19420
  "onUpdate:value": [(f) => o.value[s.name] = f, u],
19421
19421
  "dataset-id": e.datasetId,
19422
19422
  input: s
19423
- }, null, 8, ["value", "onUpdate:value", "dataset-id", "input"])) : s.type === "data" ? (de(), Ue(ty, {
19423
+ }, null, 8, ["value", "onUpdate:value", "dataset-id", "input"])) : s.type === "data" ? (de(), We(ty, {
19424
19424
  key: 3,
19425
19425
  value: o.value[s.name],
19426
19426
  "onUpdate:value": [(f) => o.value[s.name] = f, u],
19427
19427
  "dataset-id": e.datasetId,
19428
19428
  extension: s.extension,
19429
19429
  optional: ge(Sn)(s.optional)
19430
- }, null, 8, ["value", "onUpdate:value", "dataset-id", "extension", "optional"])) : s.type === "data_column" ? (de(), Ue(ry, {
19430
+ }, null, 8, ["value", "onUpdate:value", "dataset-id", "extension", "optional"])) : s.type === "data_column" ? (de(), We(ry, {
19431
19431
  key: 4,
19432
19432
  value: o.value[s.name],
19433
19433
  "onUpdate:value": [(f) => o.value[s.name] = f, u],
@@ -19435,20 +19435,20 @@ const ry = /* @__PURE__ */ he({
19435
19435
  "is-auto": ge(Sn)(s.is_auto),
19436
19436
  "is-text": ge(Sn)(s.is_text),
19437
19437
  "is-number": ge(Sn)(s.is_number)
19438
- }, null, 8, ["value", "onUpdate:value", "dataset-id", "is-auto", "is-text", "is-number"])) : s.type === "data_json" ? (de(), Ue(oy, {
19438
+ }, null, 8, ["value", "onUpdate:value", "dataset-id", "is-auto", "is-text", "is-number"])) : s.type === "data_json" ? (de(), We(oy, {
19439
19439
  key: 5,
19440
19440
  value: o.value[s.name],
19441
19441
  "onUpdate:value": [(f) => o.value[s.name] = f, u],
19442
19442
  optional: ge(Sn)(s.optional),
19443
19443
  url: s.url
19444
- }, null, 8, ["value", "onUpdate:value", "optional", "url"])) : s.type === "data_table" ? (de(), Ue(iy, {
19444
+ }, null, 8, ["value", "onUpdate:value", "optional", "url"])) : s.type === "data_table" ? (de(), We(iy, {
19445
19445
  key: 6,
19446
19446
  value: o.value[s.name],
19447
19447
  "onUpdate:value": [(f) => o.value[s.name] = f, u],
19448
19448
  optional: ge(Sn)(s.optional),
19449
19449
  tables: s.tables
19450
19450
  }, null, 8, ["value", "onUpdate:value", "optional", "tables"])) : ["float", "integer"].includes(s.type) ? (de(), Re("div", sy, [
19451
- s.min !== void 0 && s.max !== void 0 ? (de(), Ue(ge(_3), {
19451
+ s.min !== void 0 && s.max !== void 0 ? (de(), We(ge(_3), {
19452
19452
  key: 0,
19453
19453
  class: "mb-2",
19454
19454
  value: o.value[s.name],
@@ -19465,19 +19465,19 @@ const ry = /* @__PURE__ */ he({
19465
19465
  max: Number(s.max),
19466
19466
  step: s.type === "float" ? Es : 1
19467
19467
  }, null, 8, ["value", "onUpdate:value", "min", "max", "step"])
19468
- ])) : s.type === "select" ? (de(), Ue(ge(qi), {
19468
+ ])) : s.type === "select" ? (de(), We(ge(qi), {
19469
19469
  key: 8,
19470
19470
  value: o.value[s.name],
19471
19471
  "onUpdate:value": [(f) => o.value[s.name] = f, u],
19472
19472
  filterable: ge(Sn)(s.filterable),
19473
19473
  options: s.data
19474
- }, null, 8, ["value", "onUpdate:value", "filterable", "options"])) : s.type === "textarea" ? (de(), Ue(ge(kr), {
19474
+ }, null, 8, ["value", "onUpdate:value", "filterable", "options"])) : s.type === "textarea" ? (de(), We(ge(kr), {
19475
19475
  key: 9,
19476
19476
  value: o.value[s.name],
19477
19477
  "onUpdate:value": [(f) => o.value[s.name] = f, u],
19478
19478
  rows: Number(s.rows),
19479
19479
  type: "textarea"
19480
- }, null, 8, ["value", "onUpdate:value", "rows"])) : (de(), Ue(ge(kr), {
19480
+ }, null, 8, ["value", "onUpdate:value", "rows"])) : (de(), We(ge(kr), {
19481
19481
  key: 10,
19482
19482
  value: o.value[s.name],
19483
19483
  "onUpdate:value": [(f) => o.value[s.name] = f, () => !s.deferred && u()],
@@ -19579,12 +19579,12 @@ const dy = { class: "border border-dotted border-green-600 rounded p-2" }, fy =
19579
19579
  setup(e, { emit: t }) {
19580
19580
  const n = e, r = t;
19581
19581
  let o = null;
19582
- return Ke(
19582
+ return Xe(
19583
19583
  () => n.message,
19584
19584
  () => {
19585
19585
  o && clearTimeout(o), o = setTimeout(() => r("timeout"), by);
19586
19586
  }
19587
- ), (i, u) => e.message ? (de(), Ue(ge($d), {
19587
+ ), (i, u) => e.message ? (de(), We(ge($d), {
19588
19588
  key: 0,
19589
19589
  type: e.messageType
19590
19590
  }, {
@@ -19606,7 +19606,7 @@ const dy = { class: "border border-dotted border-green-600 rounded p-2" }, fy =
19606
19606
  console.debug("[charts] Unable to connect to Galaxy. Verify Galaxy is running and refer to docs."), t.value = "";
19607
19607
  }
19608
19608
  }
19609
- return n(), (r, o) => (de(), Ue(ge(Pd), {
19609
+ return n(), (r, o) => (de(), We(ge(Pd), {
19610
19610
  trigger: "hover",
19611
19611
  to: !1
19612
19612
  }, {
@@ -19614,10 +19614,10 @@ const dy = { class: "border border-dotted border-green-600 rounded p-2" }, fy =
19614
19614
  Te("span", gy, [
19615
19615
  Be(ge(Vn), null, {
19616
19616
  default: ft(() => [
19617
- t.value ? (de(), Ue(ge(z3), {
19617
+ t.value ? (de(), We(ge(z3), {
19618
19618
  key: 0,
19619
19619
  class: "text-green-600"
19620
- })) : (de(), Ue(ge(B3), {
19620
+ })) : (de(), We(ge(B3), {
19621
19621
  key: 1,
19622
19622
  class: "text-red-600"
19623
19623
  }))
@@ -19904,8 +19904,8 @@ function qd() {
19904
19904
  enumerable: !0,
19905
19905
  value: !1
19906
19906
  }
19907
- })), re = null, Pe = null;
19908
- const Ae = Object.seal(lu(null, {
19907
+ })), oe = null, Pe = null;
19908
+ const Ee = Object.seal(lu(null, {
19909
19909
  tagCheck: {
19910
19910
  writable: !0,
19911
19911
  configurable: !1,
@@ -19919,7 +19919,7 @@ function qd() {
19919
19919
  value: null
19920
19920
  }
19921
19921
  }));
19922
- let pe = !0, Ve = !0, Ne = !1, rt = !0, Oe = !1, Je = !0, Qe = !1, He = !1, ee = !1, B = !1, ae = !1, I = !1, O = !0, J = !1;
19922
+ let pe = !0, Ne = !0, Ue = !1, nt = !0, Oe = !1, Ke = !0, Qe = !1, He = !1, ee = !1, B = !1, ae = !1, I = !1, O = !0, J = !1;
19923
19923
  const D = "user-content-";
19924
19924
  let k = !0, M = !1, ie = {}, _e = null;
19925
19925
  const Me = Ie({}, ["annotation-xml", "audio", "colgroup", "desc", "foreignobject", "head", "iframe", "math", "mi", "mn", "mo", "ms", "mtext", "noembed", "noframes", "noscript", "plaintext", "script", "style", "svg", "template", "thead", "title", "video", "xmp"]);
@@ -19931,16 +19931,16 @@ function qd() {
19931
19931
  const ve = Ie({}, [wt, dt, lt], ka);
19932
19932
  let me = Ie({}, ["mi", "mo", "mn", "ms", "mtext"]), we = Ie({}, ["annotation-xml"]);
19933
19933
  const ke = Ie({}, ["title", "style", "font", "a", "script"]);
19934
- let Ee = null;
19934
+ let Ae = null;
19935
19935
  const qe = ["application/xhtml+xml", "text/html"], kt = "text/html";
19936
- let Xe = null, zt = null;
19936
+ let Ye = null, zt = null;
19937
19937
  const en = n.createElement("form"), Zt = function(A) {
19938
19938
  return A instanceof RegExp || A instanceof Function;
19939
19939
  }, sn = function() {
19940
19940
  let A = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
19941
19941
  if (!(zt && zt === A)) {
19942
- if ((!A || typeof A != "object") && (A = {}), A = Cn(A), Ee = // eslint-disable-next-line unicorn/prefer-includes
19943
- qe.indexOf(A.PARSER_MEDIA_TYPE) === -1 ? kt : A.PARSER_MEDIA_TYPE, Xe = Ee === "application/xhtml+xml" ? ka : gi, ce = fn(A, "ALLOWED_TAGS") ? Ie({}, A.ALLOWED_TAGS, Xe) : Z, Y = fn(A, "ALLOWED_ATTR") ? Ie({}, A.ALLOWED_ATTR, Xe) : ye, ne = fn(A, "ALLOWED_NAMESPACES") ? Ie({}, A.ALLOWED_NAMESPACES, ka) : ve, je = fn(A, "ADD_URI_SAFE_ATTR") ? Ie(Cn(ht), A.ADD_URI_SAFE_ATTR, Xe) : ht, ut = fn(A, "ADD_DATA_URI_TAGS") ? Ie(Cn(et), A.ADD_DATA_URI_TAGS, Xe) : et, _e = fn(A, "FORBID_CONTENTS") ? Ie({}, A.FORBID_CONTENTS, Xe) : Me, re = fn(A, "FORBID_TAGS") ? Ie({}, A.FORBID_TAGS, Xe) : Cn({}), Pe = fn(A, "FORBID_ATTR") ? Ie({}, A.FORBID_ATTR, Xe) : Cn({}), ie = fn(A, "USE_PROFILES") ? A.USE_PROFILES : !1, pe = A.ALLOW_ARIA_ATTR !== !1, Ve = A.ALLOW_DATA_ATTR !== !1, Ne = A.ALLOW_UNKNOWN_PROTOCOLS || !1, rt = A.ALLOW_SELF_CLOSE_IN_ATTR !== !1, Oe = A.SAFE_FOR_TEMPLATES || !1, Je = A.SAFE_FOR_XML !== !1, Qe = A.WHOLE_DOCUMENT || !1, B = A.RETURN_DOM || !1, ae = A.RETURN_DOM_FRAGMENT || !1, I = A.RETURN_TRUSTED_TYPE || !1, ee = A.FORCE_BODY || !1, O = A.SANITIZE_DOM !== !1, J = A.SANITIZE_NAMED_PROPS || !1, k = A.KEEP_CONTENT !== !1, M = A.IN_PLACE || !1, fe = A.ALLOWED_URI_REGEXP || Ud, _ = A.NAMESPACE || lt, me = A.MATHML_TEXT_INTEGRATION_POINTS || me, we = A.HTML_INTEGRATION_POINTS || we, ue = A.CUSTOM_ELEMENT_HANDLING || {}, A.CUSTOM_ELEMENT_HANDLING && Zt(A.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (ue.tagNameCheck = A.CUSTOM_ELEMENT_HANDLING.tagNameCheck), A.CUSTOM_ELEMENT_HANDLING && Zt(A.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (ue.attributeNameCheck = A.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), A.CUSTOM_ELEMENT_HANDLING && typeof A.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (ue.allowCustomizedBuiltInElements = A.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), Oe && (Ve = !1), ae && (B = !0), ie && (ce = Ie({}, Fs), Y = [], ie.html === !0 && (Ie(ce, $s), Ie(Y, Ds)), ie.svg === !0 && (Ie(ce, Aa), Ie(Y, Fa), Ie(Y, ci)), ie.svgFilters === !0 && (Ie(ce, Ta), Ie(Y, Fa), Ie(Y, ci)), ie.mathMl === !0 && (Ie(ce, $a), Ie(Y, zs), Ie(Y, ci))), A.ADD_TAGS && (typeof A.ADD_TAGS == "function" ? Ae.tagCheck = A.ADD_TAGS : (ce === Z && (ce = Cn(ce)), Ie(ce, A.ADD_TAGS, Xe))), A.ADD_ATTR && (typeof A.ADD_ATTR == "function" ? Ae.attributeCheck = A.ADD_ATTR : (Y === ye && (Y = Cn(Y)), Ie(Y, A.ADD_ATTR, Xe))), A.ADD_URI_SAFE_ATTR && Ie(je, A.ADD_URI_SAFE_ATTR, Xe), A.FORBID_CONTENTS && (_e === Me && (_e = Cn(_e)), Ie(_e, A.FORBID_CONTENTS, Xe)), A.ADD_FORBID_CONTENTS && (_e === Me && (_e = Cn(_e)), Ie(_e, A.ADD_FORBID_CONTENTS, Xe)), k && (ce["#text"] = !0), Qe && Ie(ce, ["html", "head", "body"]), ce.table && (Ie(ce, ["tbody"]), delete re.tbody), A.TRUSTED_TYPES_POLICY) {
19942
+ if ((!A || typeof A != "object") && (A = {}), A = Cn(A), Ae = // eslint-disable-next-line unicorn/prefer-includes
19943
+ qe.indexOf(A.PARSER_MEDIA_TYPE) === -1 ? kt : A.PARSER_MEDIA_TYPE, Ye = Ae === "application/xhtml+xml" ? ka : gi, ce = fn(A, "ALLOWED_TAGS") ? Ie({}, A.ALLOWED_TAGS, Ye) : Z, Y = fn(A, "ALLOWED_ATTR") ? Ie({}, A.ALLOWED_ATTR, Ye) : ye, ne = fn(A, "ALLOWED_NAMESPACES") ? Ie({}, A.ALLOWED_NAMESPACES, ka) : ve, je = fn(A, "ADD_URI_SAFE_ATTR") ? Ie(Cn(ht), A.ADD_URI_SAFE_ATTR, Ye) : ht, ut = fn(A, "ADD_DATA_URI_TAGS") ? Ie(Cn(et), A.ADD_DATA_URI_TAGS, Ye) : et, _e = fn(A, "FORBID_CONTENTS") ? Ie({}, A.FORBID_CONTENTS, Ye) : Me, oe = fn(A, "FORBID_TAGS") ? Ie({}, A.FORBID_TAGS, Ye) : Cn({}), Pe = fn(A, "FORBID_ATTR") ? Ie({}, A.FORBID_ATTR, Ye) : Cn({}), ie = fn(A, "USE_PROFILES") ? A.USE_PROFILES : !1, pe = A.ALLOW_ARIA_ATTR !== !1, Ne = A.ALLOW_DATA_ATTR !== !1, Ue = A.ALLOW_UNKNOWN_PROTOCOLS || !1, nt = A.ALLOW_SELF_CLOSE_IN_ATTR !== !1, Oe = A.SAFE_FOR_TEMPLATES || !1, Ke = A.SAFE_FOR_XML !== !1, Qe = A.WHOLE_DOCUMENT || !1, B = A.RETURN_DOM || !1, ae = A.RETURN_DOM_FRAGMENT || !1, I = A.RETURN_TRUSTED_TYPE || !1, ee = A.FORCE_BODY || !1, O = A.SANITIZE_DOM !== !1, J = A.SANITIZE_NAMED_PROPS || !1, k = A.KEEP_CONTENT !== !1, M = A.IN_PLACE || !1, fe = A.ALLOWED_URI_REGEXP || Ud, _ = A.NAMESPACE || lt, me = A.MATHML_TEXT_INTEGRATION_POINTS || me, we = A.HTML_INTEGRATION_POINTS || we, ue = A.CUSTOM_ELEMENT_HANDLING || {}, A.CUSTOM_ELEMENT_HANDLING && Zt(A.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (ue.tagNameCheck = A.CUSTOM_ELEMENT_HANDLING.tagNameCheck), A.CUSTOM_ELEMENT_HANDLING && Zt(A.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (ue.attributeNameCheck = A.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), A.CUSTOM_ELEMENT_HANDLING && typeof A.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (ue.allowCustomizedBuiltInElements = A.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), Oe && (Ne = !1), ae && (B = !0), ie && (ce = Ie({}, Fs), Y = [], ie.html === !0 && (Ie(ce, $s), Ie(Y, Ds)), ie.svg === !0 && (Ie(ce, Aa), Ie(Y, Fa), Ie(Y, ci)), ie.svgFilters === !0 && (Ie(ce, Ta), Ie(Y, Fa), Ie(Y, ci)), ie.mathMl === !0 && (Ie(ce, $a), Ie(Y, zs), Ie(Y, ci))), A.ADD_TAGS && (typeof A.ADD_TAGS == "function" ? Ee.tagCheck = A.ADD_TAGS : (ce === Z && (ce = Cn(ce)), Ie(ce, A.ADD_TAGS, Ye))), A.ADD_ATTR && (typeof A.ADD_ATTR == "function" ? Ee.attributeCheck = A.ADD_ATTR : (Y === ye && (Y = Cn(Y)), Ie(Y, A.ADD_ATTR, Ye))), A.ADD_URI_SAFE_ATTR && Ie(je, A.ADD_URI_SAFE_ATTR, Ye), A.FORBID_CONTENTS && (_e === Me && (_e = Cn(_e)), Ie(_e, A.FORBID_CONTENTS, Ye)), A.ADD_FORBID_CONTENTS && (_e === Me && (_e = Cn(_e)), Ie(_e, A.ADD_FORBID_CONTENTS, Ye)), k && (ce["#text"] = !0), Qe && Ie(ce, ["html", "head", "body"]), ce.table && (Ie(ce, ["tbody"]), delete oe.tbody), A.TRUSTED_TYPES_POLICY) {
19944
19944
  if (typeof A.TRUSTED_TYPES_POLICY.createHTML != "function")
19945
19945
  throw ho('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
19946
19946
  if (typeof A.TRUSTED_TYPES_POLICY.createScriptURL != "function")
@@ -19951,13 +19951,13 @@ function qd() {
19951
19951
  Vt && Vt(A), zt = A;
19952
19952
  }
19953
19953
  }, gn = Ie({}, [...Aa, ...Ta, ...Oy]), cn = Ie({}, [...$a, ...Ly]), tn = function(A) {
19954
- let oe = E(A);
19955
- (!oe || !oe.tagName) && (oe = {
19954
+ let re = E(A);
19955
+ (!re || !re.tagName) && (re = {
19956
19956
  namespaceURI: _,
19957
19957
  tagName: "template"
19958
19958
  });
19959
- const xe = gi(A.tagName), nt = gi(oe.tagName);
19960
- return ne[A.namespaceURI] ? A.namespaceURI === dt ? oe.namespaceURI === lt ? xe === "svg" : oe.namespaceURI === wt ? xe === "svg" && (nt === "annotation-xml" || me[nt]) : !!gn[xe] : A.namespaceURI === wt ? oe.namespaceURI === lt ? xe === "math" : oe.namespaceURI === dt ? xe === "math" && we[nt] : !!cn[xe] : A.namespaceURI === lt ? oe.namespaceURI === dt && !we[nt] || oe.namespaceURI === wt && !me[nt] ? !1 : !cn[xe] && (ke[xe] || !gn[xe]) : !!(Ee === "application/xhtml+xml" && ne[A.namespaceURI]) : !1;
19959
+ const xe = gi(A.tagName), rt = gi(re.tagName);
19960
+ return ne[A.namespaceURI] ? A.namespaceURI === dt ? re.namespaceURI === lt ? xe === "svg" : re.namespaceURI === wt ? xe === "svg" && (rt === "annotation-xml" || me[rt]) : !!gn[xe] : A.namespaceURI === wt ? re.namespaceURI === lt ? xe === "math" : re.namespaceURI === dt ? xe === "math" && we[rt] : !!cn[xe] : A.namespaceURI === lt ? re.namespaceURI === dt && !we[rt] || re.namespaceURI === wt && !me[rt] ? !1 : !cn[xe] && (ke[xe] || !gn[xe]) : !!(Ae === "application/xhtml+xml" && ne[A.namespaceURI]) : !1;
19961
19961
  }, F = function(A) {
19962
19962
  co(t.removed, {
19963
19963
  element: A
@@ -19967,53 +19967,53 @@ function qd() {
19967
19967
  } catch {
19968
19968
  x(A);
19969
19969
  }
19970
- }, X = function(A, oe) {
19970
+ }, X = function(A, re) {
19971
19971
  try {
19972
19972
  co(t.removed, {
19973
- attribute: oe.getAttributeNode(A),
19974
- from: oe
19973
+ attribute: re.getAttributeNode(A),
19974
+ from: re
19975
19975
  });
19976
19976
  } catch {
19977
19977
  co(t.removed, {
19978
19978
  attribute: null,
19979
- from: oe
19979
+ from: re
19980
19980
  });
19981
19981
  }
19982
- if (oe.removeAttribute(A), A === "is")
19982
+ if (re.removeAttribute(A), A === "is")
19983
19983
  if (B || ae)
19984
19984
  try {
19985
- F(oe);
19985
+ F(re);
19986
19986
  } catch {
19987
19987
  }
19988
19988
  else
19989
19989
  try {
19990
- oe.setAttribute(A, "");
19990
+ re.setAttribute(A, "");
19991
19991
  } catch {
19992
19992
  }
19993
19993
  }, Se = function(A) {
19994
- let oe = null, xe = null;
19994
+ let re = null, xe = null;
19995
19995
  if (ee)
19996
19996
  A = "<remove></remove>" + A;
19997
19997
  else {
19998
19998
  const ot = Ea(A, /^[\r\n\t ]+/);
19999
19999
  xe = ot && ot[0];
20000
20000
  }
20001
- Ee === "application/xhtml+xml" && _ === lt && (A = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + A + "</body></html>");
20002
- const nt = m ? m.createHTML(A) : A;
20001
+ Ae === "application/xhtml+xml" && _ === lt && (A = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + A + "</body></html>");
20002
+ const rt = m ? m.createHTML(A) : A;
20003
20003
  if (_ === lt)
20004
20004
  try {
20005
- oe = new b().parseFromString(nt, Ee);
20005
+ re = new b().parseFromString(rt, Ae);
20006
20006
  } catch {
20007
20007
  }
20008
- if (!oe || !oe.documentElement) {
20009
- oe = $.createDocument(_, "template", null);
20008
+ if (!re || !re.documentElement) {
20009
+ re = $.createDocument(_, "template", null);
20010
20010
  try {
20011
- oe.documentElement.innerHTML = U ? C : nt;
20011
+ re.documentElement.innerHTML = U ? C : rt;
20012
20012
  } catch {
20013
20013
  }
20014
20014
  }
20015
- const pt = oe.body || oe.documentElement;
20016
- return A && xe && pt.insertBefore(n.createTextNode(xe), pt.childNodes[0] || null), _ === lt ? z.call(oe, Qe ? "html" : "body")[0] : Qe ? oe.documentElement : pt;
20015
+ const pt = re.body || re.documentElement;
20016
+ return A && xe && pt.insertBefore(n.createTextNode(xe), pt.childNodes[0] || null), _ === lt ? z.call(re, Qe ? "html" : "body")[0] : Qe ? re.documentElement : pt;
20017
20017
  }, Ge = function(A) {
20018
20018
  return g.call(
20019
20019
  A.ownerDocument || A,
@@ -20022,65 +20022,65 @@ function qd() {
20022
20022
  s.SHOW_ELEMENT | s.SHOW_COMMENT | s.SHOW_TEXT | s.SHOW_PROCESSING_INSTRUCTION | s.SHOW_CDATA_SECTION,
20023
20023
  null
20024
20024
  );
20025
- }, Ye = function(A) {
20025
+ }, Je = function(A) {
20026
20026
  return A instanceof f && (typeof A.nodeName != "string" || typeof A.textContent != "string" || typeof A.removeChild != "function" || !(A.attributes instanceof c) || typeof A.removeAttribute != "function" || typeof A.setAttribute != "function" || typeof A.namespaceURI != "string" || typeof A.insertBefore != "function" || typeof A.hasChildNodes != "function");
20027
- }, We = function(A) {
20027
+ }, Ve = function(A) {
20028
20028
  return typeof a == "function" && A instanceof a;
20029
20029
  };
20030
- function gt(Ce, A, oe) {
20030
+ function gt(Ce, A, re) {
20031
20031
  si(Ce, (xe) => {
20032
- xe.call(t, A, oe, zt);
20032
+ xe.call(t, A, re, zt);
20033
20033
  });
20034
20034
  }
20035
20035
  const Ut = function(A) {
20036
- let oe = null;
20037
- if (gt(q.beforeSanitizeElements, A, null), Ye(A))
20036
+ let re = null;
20037
+ if (gt(q.beforeSanitizeElements, A, null), Je(A))
20038
20038
  return F(A), !0;
20039
- const xe = Xe(A.nodeName);
20039
+ const xe = Ye(A.nodeName);
20040
20040
  if (gt(q.uponSanitizeElement, A, {
20041
20041
  tagName: xe,
20042
20042
  allowedTags: ce
20043
- }), Je && A.hasChildNodes() && !We(A.firstElementChild) && Ot(/<[/\w!]/g, A.innerHTML) && Ot(/<[/\w!]/g, A.textContent) || A.nodeType === bo.progressingInstruction || Je && A.nodeType === bo.comment && Ot(/<[/\w]/g, A.data))
20043
+ }), Ke && A.hasChildNodes() && !Ve(A.firstElementChild) && Ot(/<[/\w!]/g, A.innerHTML) && Ot(/<[/\w!]/g, A.textContent) || A.nodeType === bo.progressingInstruction || Ke && A.nodeType === bo.comment && Ot(/<[/\w]/g, A.data))
20044
20044
  return F(A), !0;
20045
- if (!(Ae.tagCheck instanceof Function && Ae.tagCheck(xe)) && (!ce[xe] || re[xe])) {
20046
- if (!re[xe] && mn(xe) && (ue.tagNameCheck instanceof RegExp && Ot(ue.tagNameCheck, xe) || ue.tagNameCheck instanceof Function && ue.tagNameCheck(xe)))
20045
+ if (!(Ee.tagCheck instanceof Function && Ee.tagCheck(xe)) && (!ce[xe] || oe[xe])) {
20046
+ if (!oe[xe] && mn(xe) && (ue.tagNameCheck instanceof RegExp && Ot(ue.tagNameCheck, xe) || ue.tagNameCheck instanceof Function && ue.tagNameCheck(xe)))
20047
20047
  return !1;
20048
20048
  if (k && !_e[xe]) {
20049
- const nt = E(A) || A.parentNode, pt = w(A) || A.childNodes;
20050
- if (pt && nt) {
20049
+ const rt = E(A) || A.parentNode, pt = w(A) || A.childNodes;
20050
+ if (pt && rt) {
20051
20051
  const ot = pt.length;
20052
20052
  for (let Rt = ot - 1; Rt >= 0; --Rt) {
20053
20053
  const dn = y(pt[Rt], !0);
20054
- dn.__removalCount = (A.__removalCount || 0) + 1, nt.insertBefore(dn, v(A));
20054
+ dn.__removalCount = (A.__removalCount || 0) + 1, rt.insertBefore(dn, v(A));
20055
20055
  }
20056
20056
  }
20057
20057
  }
20058
20058
  return F(A), !0;
20059
20059
  }
20060
- return A instanceof l && !tn(A) || (xe === "noscript" || xe === "noembed" || xe === "noframes") && Ot(/<\/no(script|embed|frames)/i, A.innerHTML) ? (F(A), !0) : (Oe && A.nodeType === bo.text && (oe = A.textContent, si([j, L, K], (nt) => {
20061
- oe = fo(oe, nt, " ");
20062
- }), A.textContent !== oe && (co(t.removed, {
20060
+ return A instanceof l && !tn(A) || (xe === "noscript" || xe === "noembed" || xe === "noframes") && Ot(/<\/no(script|embed|frames)/i, A.innerHTML) ? (F(A), !0) : (Oe && A.nodeType === bo.text && (re = A.textContent, si([j, L, K], (rt) => {
20061
+ re = fo(re, rt, " ");
20062
+ }), A.textContent !== re && (co(t.removed, {
20063
20063
  element: A.cloneNode()
20064
- }), A.textContent = oe)), gt(q.afterSanitizeElements, A, null), !1);
20065
- }, jt = function(A, oe, xe) {
20066
- if (O && (oe === "id" || oe === "name") && (xe in n || xe in en))
20064
+ }), A.textContent = re)), gt(q.afterSanitizeElements, A, null), !1);
20065
+ }, jt = function(A, re, xe) {
20066
+ if (O && (re === "id" || re === "name") && (xe in n || xe in en))
20067
20067
  return !1;
20068
- if (!(Ve && !Pe[oe] && Ot(N, oe))) {
20069
- if (!(pe && Ot(te, oe))) {
20070
- if (!(Ae.attributeCheck instanceof Function && Ae.attributeCheck(oe, A))) {
20071
- if (!Y[oe] || Pe[oe]) {
20068
+ if (!(Ne && !Pe[re] && Ot(N, re))) {
20069
+ if (!(pe && Ot(te, re))) {
20070
+ if (!(Ee.attributeCheck instanceof Function && Ee.attributeCheck(re, A))) {
20071
+ if (!Y[re] || Pe[re]) {
20072
20072
  if (
20073
20073
  // First condition does a very basic check if a) it's basically a valid custom element tagname AND
20074
20074
  // b) if the tagName passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
20075
20075
  // and c) if the attribute name passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.attributeNameCheck
20076
- !(mn(A) && (ue.tagNameCheck instanceof RegExp && Ot(ue.tagNameCheck, A) || ue.tagNameCheck instanceof Function && ue.tagNameCheck(A)) && (ue.attributeNameCheck instanceof RegExp && Ot(ue.attributeNameCheck, oe) || ue.attributeNameCheck instanceof Function && ue.attributeNameCheck(oe, A)) || // Alternative, second condition checks if it's an `is`-attribute, AND
20076
+ !(mn(A) && (ue.tagNameCheck instanceof RegExp && Ot(ue.tagNameCheck, A) || ue.tagNameCheck instanceof Function && ue.tagNameCheck(A)) && (ue.attributeNameCheck instanceof RegExp && Ot(ue.attributeNameCheck, re) || ue.attributeNameCheck instanceof Function && ue.attributeNameCheck(re, A)) || // Alternative, second condition checks if it's an `is`-attribute, AND
20077
20077
  // the value passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
20078
- oe === "is" && ue.allowCustomizedBuiltInElements && (ue.tagNameCheck instanceof RegExp && Ot(ue.tagNameCheck, xe) || ue.tagNameCheck instanceof Function && ue.tagNameCheck(xe)))
20078
+ re === "is" && ue.allowCustomizedBuiltInElements && (ue.tagNameCheck instanceof RegExp && Ot(ue.tagNameCheck, xe) || ue.tagNameCheck instanceof Function && ue.tagNameCheck(xe)))
20079
20079
  ) return !1;
20080
- } else if (!je[oe]) {
20080
+ } else if (!je[re]) {
20081
20081
  if (!Ot(fe, fo(xe, se, ""))) {
20082
- if (!((oe === "src" || oe === "xlink:href" || oe === "href") && A !== "script" && Py(xe, "data:") === 0 && ut[A])) {
20083
- if (!(Ne && !Ot(Q, fo(xe, se, "")))) {
20082
+ if (!((re === "src" || re === "xlink:href" || re === "href") && A !== "script" && Py(xe, "data:") === 0 && ut[A])) {
20083
+ if (!(Ue && !Ot(Q, fo(xe, se, "")))) {
20084
20084
  if (xe)
20085
20085
  return !1;
20086
20086
  }
@@ -20096,9 +20096,9 @@ function qd() {
20096
20096
  }, xn = function(A) {
20097
20097
  gt(q.beforeSanitizeAttributes, A, null);
20098
20098
  const {
20099
- attributes: oe
20099
+ attributes: re
20100
20100
  } = A;
20101
- if (!oe || Ye(A))
20101
+ if (!re || Je(A))
20102
20102
  return;
20103
20103
  const xe = {
20104
20104
  attrName: "",
@@ -20107,15 +20107,15 @@ function qd() {
20107
20107
  allowedAttributes: Y,
20108
20108
  forceKeepAttr: void 0
20109
20109
  };
20110
- let nt = oe.length;
20111
- for (; nt--; ) {
20112
- const pt = oe[nt], {
20110
+ let rt = re.length;
20111
+ for (; rt--; ) {
20112
+ const pt = re[rt], {
20113
20113
  name: ot,
20114
20114
  namespaceURI: Rt,
20115
20115
  value: dn
20116
- } = pt, Gn = Xe(ot), no = dn;
20116
+ } = pt, Gn = Ye(ot), no = dn;
20117
20117
  let Ct = ot === "value" ? no : My(no);
20118
- if (xe.attrName = Gn, xe.attrValue = Ct, xe.keepAttr = !0, xe.forceKeepAttr = void 0, gt(q.uponSanitizeAttribute, A, xe), Ct = xe.attrValue, J && (Gn === "id" || Gn === "name") && (X(ot, A), Ct = D + Ct), Je && Ot(/((--!?|])>)|<\/(style|title|textarea)/i, Ct)) {
20118
+ if (xe.attrName = Gn, xe.attrValue = Ct, xe.keepAttr = !0, xe.forceKeepAttr = void 0, gt(q.uponSanitizeAttribute, A, xe), Ct = xe.attrValue, J && (Gn === "id" || Gn === "name") && (X(ot, A), Ct = D + Ct), Ke && Ot(/((--!?|])>)|<\/(style|title|textarea)/i, Ct)) {
20119
20119
  X(ot, A);
20120
20120
  continue;
20121
20121
  }
@@ -20129,14 +20129,14 @@ function qd() {
20129
20129
  X(ot, A);
20130
20130
  continue;
20131
20131
  }
20132
- if (!rt && Ot(/\/>/i, Ct)) {
20132
+ if (!nt && Ot(/\/>/i, Ct)) {
20133
20133
  X(ot, A);
20134
20134
  continue;
20135
20135
  }
20136
20136
  Oe && si([j, L, K], (Uo) => {
20137
20137
  Ct = fo(Ct, Uo, " ");
20138
20138
  });
20139
- const Wo = Xe(A.nodeName);
20139
+ const Wo = Ye(A.nodeName);
20140
20140
  if (!jt(Wo, Gn, Ct)) {
20141
20141
  X(ot, A);
20142
20142
  continue;
@@ -20154,22 +20154,22 @@ function qd() {
20154
20154
  }
20155
20155
  if (Ct !== no)
20156
20156
  try {
20157
- Rt ? A.setAttributeNS(Rt, ot, Ct) : A.setAttribute(ot, Ct), Ye(A) ? F(A) : Ts(t.removed);
20157
+ Rt ? A.setAttributeNS(Rt, ot, Ct) : A.setAttribute(ot, Ct), Je(A) ? F(A) : Ts(t.removed);
20158
20158
  } catch {
20159
20159
  X(ot, A);
20160
20160
  }
20161
20161
  }
20162
20162
  gt(q.afterSanitizeAttributes, A, null);
20163
20163
  }, dr = function Ce(A) {
20164
- let oe = null;
20164
+ let re = null;
20165
20165
  const xe = Ge(A);
20166
- for (gt(q.beforeSanitizeShadowDOM, A, null); oe = xe.nextNode(); )
20167
- gt(q.uponSanitizeShadowNode, oe, null), Ut(oe), xn(oe), oe.content instanceof i && Ce(oe.content);
20166
+ for (gt(q.beforeSanitizeShadowDOM, A, null); re = xe.nextNode(); )
20167
+ gt(q.uponSanitizeShadowNode, re, null), Ut(re), xn(re), re.content instanceof i && Ce(re.content);
20168
20168
  gt(q.afterSanitizeShadowDOM, A, null);
20169
20169
  };
20170
20170
  return t.sanitize = function(Ce) {
20171
- let A = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, oe = null, xe = null, nt = null, pt = null;
20172
- if (U = !Ce, U && (Ce = "<!-->"), typeof Ce != "string" && !We(Ce))
20171
+ let A = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, re = null, xe = null, rt = null, pt = null;
20172
+ if (U = !Ce, U && (Ce = "<!-->"), typeof Ce != "string" && !Ve(Ce))
20173
20173
  if (typeof Ce.toString == "function") {
20174
20174
  if (Ce = Ce.toString(), typeof Ce != "string")
20175
20175
  throw ho("dirty is not a string, aborting");
@@ -20179,35 +20179,35 @@ function qd() {
20179
20179
  return Ce;
20180
20180
  if (He || sn(A), t.removed = [], typeof Ce == "string" && (M = !1), M) {
20181
20181
  if (Ce.nodeName) {
20182
- const dn = Xe(Ce.nodeName);
20183
- if (!ce[dn] || re[dn])
20182
+ const dn = Ye(Ce.nodeName);
20183
+ if (!ce[dn] || oe[dn])
20184
20184
  throw ho("root node is forbidden and cannot be sanitized in-place");
20185
20185
  }
20186
20186
  } else if (Ce instanceof a)
20187
- oe = Se("<!---->"), xe = oe.ownerDocument.importNode(Ce, !0), xe.nodeType === bo.element && xe.nodeName === "BODY" || xe.nodeName === "HTML" ? oe = xe : oe.appendChild(xe);
20187
+ re = Se("<!---->"), xe = re.ownerDocument.importNode(Ce, !0), xe.nodeType === bo.element && xe.nodeName === "BODY" || xe.nodeName === "HTML" ? re = xe : re.appendChild(xe);
20188
20188
  else {
20189
20189
  if (!B && !Oe && !Qe && // eslint-disable-next-line unicorn/prefer-includes
20190
20190
  Ce.indexOf("<") === -1)
20191
20191
  return m && I ? m.createHTML(Ce) : Ce;
20192
- if (oe = Se(Ce), !oe)
20192
+ if (re = Se(Ce), !re)
20193
20193
  return B ? null : I ? C : "";
20194
20194
  }
20195
- oe && ee && F(oe.firstChild);
20196
- const ot = Ge(M ? Ce : oe);
20197
- for (; nt = ot.nextNode(); )
20198
- Ut(nt), xn(nt), nt.content instanceof i && dr(nt.content);
20195
+ re && ee && F(re.firstChild);
20196
+ const ot = Ge(M ? Ce : re);
20197
+ for (; rt = ot.nextNode(); )
20198
+ Ut(rt), xn(rt), rt.content instanceof i && dr(rt.content);
20199
20199
  if (M)
20200
20200
  return Ce;
20201
20201
  if (B) {
20202
20202
  if (ae)
20203
- for (pt = T.call(oe.ownerDocument); oe.firstChild; )
20204
- pt.appendChild(oe.firstChild);
20203
+ for (pt = T.call(re.ownerDocument); re.firstChild; )
20204
+ pt.appendChild(re.firstChild);
20205
20205
  else
20206
- pt = oe;
20206
+ pt = re;
20207
20207
  return (Y.shadowroot || Y.shadowrootmode) && (pt = W.call(r, pt, !0)), pt;
20208
20208
  }
20209
- let Rt = Qe ? oe.outerHTML : oe.innerHTML;
20210
- return Qe && ce["!doctype"] && oe.ownerDocument && oe.ownerDocument.doctype && oe.ownerDocument.doctype.name && Ot(jd, oe.ownerDocument.doctype.name) && (Rt = "<!DOCTYPE " + oe.ownerDocument.doctype.name + `>
20209
+ let Rt = Qe ? re.outerHTML : re.innerHTML;
20210
+ return Qe && ce["!doctype"] && re.ownerDocument && re.ownerDocument.doctype && re.ownerDocument.doctype.name && Ot(jd, re.ownerDocument.doctype.name) && (Rt = "<!DOCTYPE " + re.ownerDocument.doctype.name + `>
20211
20211
  ` + Rt), Oe && si([j, L, K], (dn) => {
20212
20212
  Rt = fo(Rt, dn, " ");
20213
20213
  }), m && I ? m.createHTML(Rt) : Rt;
@@ -20216,16 +20216,16 @@ function qd() {
20216
20216
  sn(Ce), He = !0;
20217
20217
  }, t.clearConfig = function() {
20218
20218
  zt = null, He = !1;
20219
- }, t.isValidAttribute = function(Ce, A, oe) {
20219
+ }, t.isValidAttribute = function(Ce, A, re) {
20220
20220
  zt || sn({});
20221
- const xe = Xe(Ce), nt = Xe(A);
20222
- return jt(xe, nt, oe);
20221
+ const xe = Ye(Ce), rt = Ye(A);
20222
+ return jt(xe, rt, re);
20223
20223
  }, t.addHook = function(Ce, A) {
20224
20224
  typeof A == "function" && co(q[Ce], A);
20225
20225
  }, t.removeHook = function(Ce, A) {
20226
20226
  if (A !== void 0) {
20227
- const oe = zy(q[Ce], A);
20228
- return oe === -1 ? void 0 : Ry(q[Ce], oe, 1)[0];
20227
+ const re = zy(q[Ce], A);
20228
+ return re === -1 ? void 0 : Ry(q[Ce], re, 1)[0];
20229
20229
  }
20230
20230
  return Ts(q[Ce]);
20231
20231
  }, t.removeHooks = function(Ce) {
@@ -23397,7 +23397,7 @@ const IC = { key: 0 }, BC = ["innerHTML"], OC = {
23397
23397
  function w(E) {
23398
23398
  return E.role !== _n.SYSTEM && (!E.variant || E.variant === fr.INFO);
23399
23399
  }
23400
- return Ke(
23400
+ return Xe(
23401
23401
  () => n.transcripts,
23402
23402
  () => Ft(v),
23403
23403
  { immediate: !0 }
@@ -23408,18 +23408,18 @@ const IC = { key: 0 }, BC = ["innerHTML"], OC = {
23408
23408
  class: "flex-1 overflow-y-auto space-y-2"
23409
23409
  }, [
23410
23410
  (de(!0), Re(Nt, null, xu(n.transcripts, (C, $) => (de(), Re("div", { key: $ }, [
23411
- w(C) ? (de(), Ue(Qs, {
23411
+ w(C) ? (de(), We(Qs, {
23412
23412
  key: 0,
23413
23413
  content: C.content,
23414
23414
  role: C.role
23415
- }, null, 8, ["content", "role"])) : C.role == ge(_n).ASSISTANT && C.variant == ge(fr).CONFIRM ? (de(), Ue(Ty, {
23415
+ }, null, 8, ["content", "role"])) : C.role == ge(_n).ASSISTANT && C.variant == ge(fr).CONFIRM ? (de(), We(Ty, {
23416
23416
  key: 1,
23417
23417
  content: C.content,
23418
23418
  onAccept: b,
23419
23419
  onReject: d
23420
23420
  }, null, 8, ["content"])) : It("", !0)
23421
23421
  ]))), 128)),
23422
- c.value ? (de(), Ue(Qs, {
23422
+ c.value ? (de(), We(Qs, {
23423
23423
  key: 0,
23424
23424
  role: ge(_n).ASSISTANT,
23425
23425
  "is-thinking": !0
@@ -23435,13 +23435,13 @@ const IC = { key: 0 }, BC = ["innerHTML"], OC = {
23435
23435
  onKeydown: Xf(Yf(h, ["prevent"]), ["enter"])
23436
23436
  }, null, 8, ["value", "onKeydown"])
23437
23437
  ]),
23438
- c.value ? (de(), Ue(ir, {
23438
+ c.value ? (de(), We(ir, {
23439
23439
  key: 0,
23440
23440
  icon: ge(O3),
23441
23441
  title: "Stop",
23442
23442
  type: "warning",
23443
23443
  onClick: x
23444
- }, null, 8, ["icon"])) : (de(), Ue(ir, {
23444
+ }, null, 8, ["icon"])) : (de(), We(ir, {
23445
23445
  key: 1,
23446
23446
  disabled: l.value || c.value || !i.value,
23447
23447
  icon: ge(L3),
@@ -23554,7 +23554,7 @@ const IC = { key: 0 }, BC = ["innerHTML"], OC = {
23554
23554
  key: 0,
23555
23555
  src: n.logoUrl,
23556
23556
  class: "min-w-14 max-w-14 object-contain"
23557
- }, null, 8, YC)) : (de(), Ue(Sy, { key: 1 }))
23557
+ }, null, 8, YC)) : (de(), We(Sy, { key: 1 }))
23558
23558
  ])
23559
23559
  ]),
23560
23560
  Te("div", JC, [
@@ -23574,7 +23574,7 @@ const IC = { key: 0 }, BC = ["innerHTML"], OC = {
23574
23574
  type: f.value ? "line" : void 0
23575
23575
  }, {
23576
23576
  default: ft(() => [
23577
- c.value ? (de(), Ue(ge(Ca), {
23577
+ c.value ? (de(), We(ge(Ca), {
23578
23578
  key: 0,
23579
23579
  name: "tracks",
23580
23580
  class: "h-full min-h-0"
@@ -23600,7 +23600,7 @@ const IC = { key: 0 }, BC = ["innerHTML"], OC = {
23600
23600
  ]),
23601
23601
  _: 1
23602
23602
  })) : It("", !0),
23603
- s.value ? (de(), Ue(ge(Ca), {
23603
+ s.value ? (de(), We(ge(Ca), {
23604
23604
  key: 1,
23605
23605
  name: "settings",
23606
23606
  class: "h-full min-h-0"
@@ -23636,7 +23636,7 @@ const IC = { key: 0 }, BC = ["innerHTML"], OC = {
23636
23636
  ]),
23637
23637
  _: 1
23638
23638
  })) : It("", !0),
23639
- a.value ? (de(), Ue(ge(Ca), {
23639
+ a.value ? (de(), We(ge(Ca), {
23640
23640
  key: 2,
23641
23641
  name: "chat",
23642
23642
  class: "h-full min-h-0"
@@ -23699,8 +23699,8 @@ const u5 = {
23699
23699
  t.incoming,
23700
23700
  t.container
23701
23701
  ), a = P(t.collapse), l = P(""), s = P(!0), c = P(""), f = P(""), b = P(""), h = P(""), d = P([]), y = P({}), x = P({}), v = P([]), w = P([]), E = P([]), m = P(o), C = P(u), $ = ic();
23702
- $.setCredentials(t.credentials || "include"), $.setRoot(n || "/"), U3(i, r).then(({ plugin: ue, settings: re, specs: Pe, tracks: Ae, transcripts: pe }) => {
23703
- s.value = !1, c.value = ue.description || "", f.value = ue.html || "", b.value = ue.logo || "", h.value = ue.name || "", d.value = ue.settings || [], y.value = re, x.value = Pe || {}, v.value = ue.tracks || [], w.value = Ae, E.value = pe;
23702
+ $.setCredentials(t.credentials || "include"), $.setRoot(n || "/"), U3(i, r).then(({ plugin: ue, settings: oe, specs: Pe, tracks: Ee, transcripts: pe }) => {
23703
+ s.value = !1, c.value = ue.description || "", f.value = ue.html || "", b.value = ue.logo || "", h.value = ue.name || "", d.value = ue.settings || [], y.value = oe, x.value = Pe || {}, v.value = ue.tracks || [], w.value = Ee, E.value = pe;
23704
23704
  });
23705
23705
  const g = H(() => r.dataset_id || ""), T = H(() => g.value ? (console.debug(`[charts] Built dataset url from dataset id: ${g.value}.`), t0(n, g.value)) : ""), z = H(() => Sn(x.value.ui?.chat)), W = H(() => !!g.value), q = H(() => d.value.length > 0), j = H(() => v.value.length > 0), L = H(() => z.value || q.value || j.value), K = H(() => b.value && `${n}${b.value}`);
23706
23706
  async function N() {
@@ -23747,42 +23747,38 @@ const u5 = {
23747
23747
  }
23748
23748
  async function Y({
23749
23749
  settings: ue,
23750
- tracks: re,
23750
+ tracks: oe,
23751
23751
  transcripts: Pe
23752
23752
  }) {
23753
- ye({ settings: ue, tracks: re, transcripts: Pe });
23753
+ ye({ settings: ue, tracks: oe, transcripts: Pe });
23754
23754
  try {
23755
- const Ae = await V3(
23755
+ const Ee = await V3(
23756
23756
  h.value,
23757
23757
  m.value,
23758
23758
  C.value,
23759
23759
  Q()
23760
23760
  );
23761
- Ae && ce(Ae);
23762
- } catch (Ae) {
23763
- l.value = `Failed to save: ${Ae}`;
23761
+ Ee && ce(Ee);
23762
+ } catch (Ee) {
23763
+ l.value = `Failed to save: ${Ee}`;
23764
23764
  }
23765
23765
  }
23766
23766
  function ye({
23767
- settings: ue,
23768
- tracks: re,
23769
- transcripts: Pe
23767
+ collapse: ue,
23768
+ settings: oe,
23769
+ tracks: Pe,
23770
+ transcripts: Ee
23770
23771
  }) {
23771
- if (ue && se({ ...y.value, ...ue }), re) {
23772
- const Ae = Math.max(w.value.length, re.length), pe = Array.from({ length: Ae }, (Ve, Ne) => {
23773
- const rt = w.value[Ne] ?? {}, Oe = re[Ne] ?? {};
23774
- return { ...rt, ...Oe };
23772
+ if (ue !== void 0 && (a.value = ue), oe && se({ ...y.value, ...oe }), Pe) {
23773
+ const pe = Math.max(w.value.length, Pe.length), Ne = Array.from({ length: pe }, (Ue, nt) => {
23774
+ const Oe = w.value[nt] ?? {}, Ke = Pe[nt] ?? {};
23775
+ return { ...Oe, ...Ke };
23775
23776
  });
23776
- be(pe);
23777
+ be(Ne);
23777
23778
  }
23778
- Pe && fe([...Pe]);
23779
+ Ee && fe([...Ee]);
23779
23780
  }
23780
- return Ke(
23781
- () => t.collapse,
23782
- () => {
23783
- a.value = t.collapse;
23784
- }
23785
- ), (ue, re) => (de(), Re(Nt, null, [
23781
+ return (ue, oe) => (de(), Re(Nt, null, [
23786
23782
  l.value ? (de(), Re("div", u5, [
23787
23783
  Be(ge($d), { type: "error" }, {
23788
23784
  default: ft(() => [
@@ -23795,7 +23791,7 @@ const u5 = {
23795
23791
  Te("span", null, [
23796
23792
  Be(ge(Bd), { class: "animate-spin size-4 inline mx-1" })
23797
23793
  ]),
23798
- re[0] || (re[0] = Te("span", { class: "text-xs" }, "Please wait...", -1))
23794
+ oe[0] || (oe[0] = Te("span", { class: "text-xs" }, "Please wait...", -1))
23799
23795
  ])) : (de(), Re("div", {
23800
23796
  key: 2,
23801
23797
  class: Co(["grid h-screen", { "grid-cols-[1fr_20rem]": !a.value && L.value && W.value }])
@@ -23813,7 +23809,7 @@ const u5 = {
23813
23809
  update: ye
23814
23810
  })
23815
23811
  ])) : It("", !0),
23816
- a.value && L.value && W.value ? (de(), Ue(ir, {
23812
+ a.value && L.value && W.value ? (de(), We(ir, {
23817
23813
  key: 1,
23818
23814
  "button-class": "m-2 absolute right-0 z-[9999]",
23819
23815
  circle: !0,
@@ -23821,7 +23817,7 @@ const u5 = {
23821
23817
  title: "Expand",
23822
23818
  onClick: N
23823
23819
  }, null, 8, ["icon"])) : It("", !0),
23824
- !a.value && L.value || !W.value ? (de(), Ue(i5, {
23820
+ !a.value && L.value || !W.value ? (de(), We(i5, {
23825
23821
  key: 2,
23826
23822
  "dataset-id": g.value,
23827
23823
  "logo-url": K.value,