From 3ee83c85345b6b6c87f3b6cd2c9247d537390a21 Mon Sep 17 00:00:00 2001 From: Lizandro Guarnizo <77708265+lizandrogd@users.noreply.github.com> Date: Wed, 19 Aug 2026 12:30:57 -0500 Subject: [PATCH] =?UTF-8?q?fix(studio):=20el=20cliente=20sin=20uMind=20ent?= =?UTF-8?q?raba=20a=20un=20callej=C3=B3n=20sin=20salida?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Si un cliente llegaba a /portal/studio sin ningún espacio asignado —por la URL directa o un enlace viejo— la pantalla le decía "elegí tu espacio de la izquierda" y "adentro vas a poder crear tus agentes". La izquierda estaba vacía y crear no puede. Ahora ve qué es uMind, un botón para pedir que se lo activen y la vuelta al portal. Es el mismo mensaje que ya muestra el dashboard cuando no lo tiene. Co-Authored-By: Claude Opus 5 --- orchestrator/src/views/Home.vue | 23 +++++++++++++++++++ public/orchestrator/assets/index-BaBLTLOm.css | 1 + public/orchestrator/assets/index-DUjBJRtl.css | 1 - .../{index-CbuoSeqG.js => index-Dn2ZJSQE.js} | 14 +++++------ public/orchestrator/index.html | 4 ++-- 5 files changed, 33 insertions(+), 10 deletions(-) create mode 100644 public/orchestrator/assets/index-BaBLTLOm.css delete mode 100644 public/orchestrator/assets/index-DUjBJRtl.css rename public/orchestrator/assets/{index-CbuoSeqG.js => index-Dn2ZJSQE.js} (53%) diff --git a/orchestrator/src/views/Home.vue b/orchestrator/src/views/Home.vue index 94c7893..ba808bc 100644 --- a/orchestrator/src/views/Home.vue +++ b/orchestrator/src/views/Home.vue @@ -6,6 +6,7 @@ import { apiUmind, contexto } from '../lib/contexto.js' const router = useRouter() const cargando = ref(contexto.esPortal) +const sinEspacios = ref(false) // El cliente no tiene "tenants": tiene SU asistente. Si solo hay un espacio // con un agente —el caso normal— entrar obligándolo a elegir dos veces es @@ -18,6 +19,10 @@ async function irAlAgenteSiEsUnoSolo() { try { const t = await api.get(apiUmind('/umind/tenants')) const tenants = t.items || [] + if (tenants.length === 0) { + sinEspacios.value = true + return + } if (tenants.length !== 1) return const tenantId = tenants[0].ID @@ -43,6 +48,24 @@ onMounted(irAlAgenteSiEsUnoSolo) Abriendo tu asistente… + +
+
🤖
+

Todavía no tenés un asistente activo

+

+ uMind contesta por vos en WhatsApp y en tu sitio, con la información de tu negocio. + Entiende las notas de voz y lee las fotos y archivos que te mandan tus clientes. +

+ Quiero activarlo +

+ Volver al portal +

+
+
💬

diff --git a/public/orchestrator/assets/index-BaBLTLOm.css b/public/orchestrator/assets/index-BaBLTLOm.css new file mode 100644 index 0000000..b361d8d --- /dev/null +++ b/public/orchestrator/assets/index-BaBLTLOm.css @@ -0,0 +1 @@ +*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:Inter,system-ui,-apple-system,Segoe UI,sans-serif;font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}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;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}:root{--superficie: 255 255 255;--elevado: 249 250 251;--borde: 229 231 235;--texto: 31 41 55;--tenue: 107 114 128;--fondo: 249 250 251}.dark{--superficie: 17 24 39;--elevado: 24 33 51;--borde: 42 52 70;--texto: 229 231 235;--tenue: 148 163 184;--fondo: 9 13 22}body{background:rgb(var(--fondo));color:rgb(var(--texto));-webkit-font-smoothing:antialiased}.card{border-radius:.75rem;border-width:1px;--tw-border-opacity: 1;border-color:rgb(var(--borde) / var(--tw-border-opacity, 1));--tw-bg-opacity: 1;background-color:rgb(var(--superficie) / var(--tw-bg-opacity, 1))}.input{width:100%;border-radius:.5rem;border-width:1px;--tw-border-opacity: 1;border-color:rgb(var(--borde) / var(--tw-border-opacity, 1));--tw-bg-opacity: 1;background-color:rgb(var(--superficie) / var(--tw-bg-opacity, 1));padding:.5rem .75rem;font-size:.875rem;line-height:1.25rem;--tw-text-opacity: 1;color:rgb(var(--texto) / var(--tw-text-opacity, 1));outline:2px solid transparent;outline-offset:2px;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.input::-moz-placeholder{color:rgb(var(--tenue) / .6)}.input::placeholder{color:rgb(var(--tenue) / .6)}.input:focus{--tw-border-opacity: 1;border-color:rgb(142 176 47 / var(--tw-border-opacity, 1));--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000);--tw-ring-color: rgb(142 176 47 / .2)}.label{margin-bottom:.25rem;display:block;font-size:.75rem;line-height:1rem;font-weight:500;--tw-text-opacity: 1;color:rgb(var(--tenue) / var(--tw-text-opacity, 1))}.btn-primary{display:inline-flex;align-items:center;justify-content:center;gap:.375rem;border-radius:.5rem;padding:.5rem 1rem;font-size:.875rem;line-height:1.25rem;font-weight:500;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.btn-primary:disabled{cursor:not-allowed;opacity:.5}.btn-primary{--tw-bg-opacity: 1;background-color:rgb(142 176 47 / var(--tw-bg-opacity, 1));--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.btn-primary:hover{--tw-bg-opacity: 1;background-color:rgb(113 144 38 / var(--tw-bg-opacity, 1))}.btn-ghost{display:inline-flex;align-items:center;justify-content:center;gap:.375rem;border-radius:.5rem;padding:.5rem 1rem;font-size:.875rem;line-height:1.25rem;font-weight:500;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.btn-ghost:disabled{cursor:not-allowed;opacity:.5}.btn-ghost{--tw-text-opacity: 1;color:rgb(var(--tenue) / var(--tw-text-opacity, 1))}.btn-ghost:hover{--tw-bg-opacity: 1;background-color:rgb(var(--elevado) / var(--tw-bg-opacity, 1));--tw-text-opacity: 1;color:rgb(var(--texto) / var(--tw-text-opacity, 1))}.badge-ok{display:inline-flex;align-items:center;gap:.25rem;border-radius:9999px;padding:.125rem .5rem;font-size:.75rem;line-height:1rem;font-weight:500;--tw-bg-opacity: 1;background-color:rgb(220 252 231 / var(--tw-bg-opacity, 1));--tw-text-opacity: 1;color:rgb(21 128 61 / var(--tw-text-opacity, 1))}.badge-ok:is(.dark *){background-color:#22c55e26;--tw-text-opacity: 1;color:rgb(74 222 128 / var(--tw-text-opacity, 1))}.badge-alerta{display:inline-flex;align-items:center;gap:.25rem;border-radius:9999px;padding:.125rem .5rem;font-size:.75rem;line-height:1rem;font-weight:500;--tw-bg-opacity: 1;background-color:rgb(254 243 199 / var(--tw-bg-opacity, 1));--tw-text-opacity: 1;color:rgb(180 83 9 / var(--tw-text-opacity, 1))}.badge-alerta:is(.dark *){background-color:#f59e0b26;--tw-text-opacity: 1;color:rgb(251 191 36 / var(--tw-text-opacity, 1))}.badge-error{display:inline-flex;align-items:center;gap:.25rem;border-radius:9999px;padding:.125rem .5rem;font-size:.75rem;line-height:1rem;font-weight:500;--tw-bg-opacity: 1;background-color:rgb(254 226 226 / var(--tw-bg-opacity, 1));--tw-text-opacity: 1;color:rgb(185 28 28 / var(--tw-text-opacity, 1))}.badge-error:is(.dark *){background-color:#ef444426;--tw-text-opacity: 1;color:rgb(248 113 113 / var(--tw-text-opacity, 1))}.badge-neutro{display:inline-flex;align-items:center;gap:.25rem;border-radius:9999px;padding:.125rem .5rem;font-size:.75rem;line-height:1rem;font-weight:500;--tw-bg-opacity: 1;background-color:rgb(var(--elevado) / var(--tw-bg-opacity, 1));--tw-text-opacity: 1;color:rgb(var(--tenue) / var(--tw-text-opacity, 1))}.tab{white-space:nowrap;border-radius:9999px;padding:.375rem .75rem;font-size:.875rem;line-height:1.25rem;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.visible{visibility:visible}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inset-0{top:0;right:0;bottom:0;left:0}.inset-x-0{left:0;right:0}.inset-y-0{top:0;bottom:0}.left-0{left:0}.top-0{top:0}.z-30{z-index:30}.z-40{z-index:40}.z-50{z-index:50}.col-span-1{grid-column:span 1 / span 1}.col-span-2{grid-column:span 2 / span 2}.mx-auto{margin-left:auto;margin-right:auto}.-mt-2{margin-top:-.5rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mb-6{margin-bottom:1.5rem}.ml-1{margin-left:.25rem}.ml-2{margin-left:.5rem}.ml-auto{margin-left:auto}.mt-0\.5{margin-top:.125rem}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-3\.5{margin-top:.875rem}.mt-4{margin-top:1rem}.mt-5{margin-top:1.25rem}.inline-block{display:inline-block}.flex{display:flex}.grid{display:grid}.h-1{height:.25rem}.h-1\.5{height:.375rem}.h-10{height:2.5rem}.h-14{height:3.5rem}.h-2{height:.5rem}.h-2\.5{height:.625rem}.h-28{height:7rem}.h-3\.5{height:.875rem}.h-5{height:1.25rem}.h-9{height:2.25rem}.h-\[28rem\]{height:28rem}.h-full{height:100%}.max-h-\[28rem\]{max-height:28rem}.max-h-\[32rem\]{max-height:32rem}.max-h-\[85vh\]{max-height:85vh}.max-h-\[90vh\]{max-height:90vh}.min-h-screen{min-height:100vh}.\!w-auto{width:auto!important}.w-1\.5{width:.375rem}.w-10{width:2.5rem}.w-16{width:4rem}.w-24{width:6rem}.w-28{width:7rem}.w-5{width:1.25rem}.w-64{width:16rem}.w-full{width:100%}.min-w-0{min-width:0px}.min-w-\[3px\]{min-width:3px}.max-w-5xl{max-width:64rem}.max-w-\[80\%\]{max-width:80%}.max-w-lg{max-width:32rem}.max-w-md{max-width:28rem}.max-w-sm{max-width:24rem}.max-w-xl{max-width:36rem}.flex-1{flex:1 1 0%}.shrink-0{flex-shrink:0}.-translate-x-full{--tw-translate-x: -100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-0{--tw-translate-x: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes aparecer{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}.animate-aparecer{animation:aparecer .2s ease-out}@keyframes escalar{0%{opacity:0;transform:scale(.97)}to{opacity:1;transform:scale(1)}}.animate-escalar{animation:escalar .15s ease-out}@keyframes pulse{50%{opacity:.5}}.animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}.cursor-pointer{cursor:pointer}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-0\.5{gap:.125rem}.gap-1{gap:.25rem}.gap-1\.5{gap:.375rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.space-y-0\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.125rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.125rem * var(--tw-space-y-reverse))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.space-y-3>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.75rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.75rem * var(--tw-space-y-reverse))}.divide-y>:not([hidden])~:not([hidden]){--tw-divide-y-reverse: 0;border-top-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)));border-bottom-width:calc(1px * var(--tw-divide-y-reverse))}.divide-borde>:not([hidden])~:not([hidden]){--tw-divide-opacity: 1;border-color:rgb(var(--borde) / var(--tw-divide-opacity, 1))}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-wrap{white-space:pre-wrap}.break-all{word-break:break-all}.rounded{border-radius:.25rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-xl{border-radius:.75rem}.rounded-t{border-top-left-radius:.25rem;border-top-right-radius:.25rem}.border{border-width:1px}.border-b{border-bottom-width:1px}.border-r{border-right-width:1px}.border-t{border-top-width:1px}.border-borde{--tw-border-opacity: 1;border-color:rgb(var(--borde) / var(--tw-border-opacity, 1))}.border-gray-200{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity, 1))}.border-gray-300{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity, 1))}.bg-amber-500{--tw-bg-opacity: 1;background-color:rgb(245 158 11 / var(--tw-bg-opacity, 1))}.bg-black\/40{background-color:#0006}.bg-black\/50{background-color:#00000080}.bg-brand{--tw-bg-opacity: 1;background-color:rgb(142 176 47 / var(--tw-bg-opacity, 1))}.bg-brand\/10{background-color:#8eb02f1a}.bg-brand\/70{background-color:#8eb02fb3}.bg-elevado{--tw-bg-opacity: 1;background-color:rgb(var(--elevado) / var(--tw-bg-opacity, 1))}.bg-gray-400{--tw-bg-opacity: 1;background-color:rgb(156 163 175 / var(--tw-bg-opacity, 1))}.bg-gray-50{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity, 1))}.bg-green-500{--tw-bg-opacity: 1;background-color:rgb(34 197 94 / var(--tw-bg-opacity, 1))}.bg-green-600{--tw-bg-opacity: 1;background-color:rgb(22 163 74 / var(--tw-bg-opacity, 1))}.bg-red-500{--tw-bg-opacity: 1;background-color:rgb(239 68 68 / var(--tw-bg-opacity, 1))}.bg-superficie{--tw-bg-opacity: 1;background-color:rgb(var(--superficie) / var(--tw-bg-opacity, 1))}.bg-tenue\/40{background-color:rgb(var(--tenue) / .4)}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.p-1{padding:.25rem}.p-2{padding:.5rem}.p-2\.5{padding:.625rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.\!px-2{padding-left:.5rem!important;padding-right:.5rem!important}.\!px-2\.5{padding-left:.625rem!important;padding-right:.625rem!important}.\!py-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.\!py-1\.5{padding-top:.375rem!important;padding-bottom:.375rem!important}.px-1{padding-left:.25rem;padding-right:.25rem}.px-1\.5{padding-left:.375rem;padding-right:.375rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-2\.5{padding-left:.625rem;padding-right:.625rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.py-0\.5{padding-top:.125rem;padding-bottom:.125rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.py-12{padding-top:3rem;padding-bottom:3rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-20{padding-top:5rem;padding-bottom:5rem}.py-24{padding-top:6rem;padding-bottom:6rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-6{padding-top:1.5rem;padding-bottom:1.5rem}.pb-1{padding-bottom:.25rem}.pr-1\.5{padding-right:.375rem}.pt-1{padding-top:.25rem}.pt-2{padding-top:.5rem}.pt-3{padding-top:.75rem}.text-left{text-align:left}.text-center{text-align:center}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.\!text-xs{font-size:.75rem!important;line-height:1rem!important}.text-2xl{font-size:1.5rem;line-height:2rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-4xl{font-size:2.25rem;line-height:2.5rem}.text-\[11px\]{font-size:11px}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-medium{font-weight:500}.font-semibold{font-weight:600}.capitalize{text-transform:capitalize}.tabular-nums{--tw-numeric-spacing: tabular-nums;font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)}.leading-none{line-height:1}.text-amber-600{--tw-text-opacity: 1;color:rgb(217 119 6 / var(--tw-text-opacity, 1))}.text-brand{--tw-text-opacity: 1;color:rgb(142 176 47 / var(--tw-text-opacity, 1))}.text-gray-400{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity, 1))}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity, 1))}.text-gray-600{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity, 1))}.text-gray-700{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity, 1))}.text-gray-800{--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity, 1))}.text-green-600{--tw-text-opacity: 1;color:rgb(22 163 74 / var(--tw-text-opacity, 1))}.text-red-400{--tw-text-opacity: 1;color:rgb(248 113 113 / var(--tw-text-opacity, 1))}.text-red-500{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity, 1))}.text-red-600{--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity, 1))}.text-tenue{--tw-text-opacity: 1;color:rgb(var(--tenue) / var(--tw-text-opacity, 1))}.text-texto{--tw-text-opacity: 1;color:rgb(var(--texto) / var(--tw-text-opacity, 1))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.underline{text-decoration-line:underline}.opacity-0{opacity:0}.opacity-70{opacity:.7}.shadow-2xl{--tw-shadow: 0 25px 50px -12px rgb(0 0 0 / .25);--tw-shadow-colored: 0 25px 50px -12px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.backdrop-blur-sm{--tw-backdrop-blur: blur(4px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-200{transition-duration:.2s}.duration-500{transition-duration:.5s}.hover\:-translate-y-0\.5:hover{--tw-translate-y: -.125rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\:border-brand:hover{--tw-border-opacity: 1;border-color:rgb(142 176 47 / var(--tw-border-opacity, 1))}.hover\:border-brand\/50:hover{border-color:#8eb02f80}.hover\:bg-brand:hover{--tw-bg-opacity: 1;background-color:rgb(142 176 47 / var(--tw-bg-opacity, 1))}.hover\:bg-brand-dark:hover{--tw-bg-opacity: 1;background-color:rgb(113 144 38 / var(--tw-bg-opacity, 1))}.hover\:bg-elevado:hover{--tw-bg-opacity: 1;background-color:rgb(var(--elevado) / var(--tw-bg-opacity, 1))}.hover\:text-brand:hover{--tw-text-opacity: 1;color:rgb(142 176 47 / var(--tw-text-opacity, 1))}.hover\:text-gray-800:hover{--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity, 1))}.hover\:text-red-600:hover{--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity, 1))}.hover\:text-red-700:hover{--tw-text-opacity: 1;color:rgb(185 28 28 / var(--tw-text-opacity, 1))}.hover\:text-texto:hover{--tw-text-opacity: 1;color:rgb(var(--texto) / var(--tw-text-opacity, 1))}.hover\:shadow-lg:hover{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.focus\:ring-brand:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(142 176 47 / var(--tw-ring-opacity, 1))}.disabled\:opacity-50:disabled{opacity:.5}.group:hover .group-hover\:opacity-100{opacity:1}.dark\:border-gray-700:is(.dark *){--tw-border-opacity: 1;border-color:rgb(55 65 81 / var(--tw-border-opacity, 1))}.dark\:border-gray-800:is(.dark *){--tw-border-opacity: 1;border-color:rgb(31 41 55 / var(--tw-border-opacity, 1))}.dark\:bg-gray-800:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity, 1))}.dark\:bg-gray-900:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity, 1))}.dark\:text-amber-400:is(.dark *){--tw-text-opacity: 1;color:rgb(251 191 36 / var(--tw-text-opacity, 1))}.dark\:text-gray-100:is(.dark *){--tw-text-opacity: 1;color:rgb(243 244 246 / var(--tw-text-opacity, 1))}.dark\:text-gray-200:is(.dark *){--tw-text-opacity: 1;color:rgb(229 231 235 / var(--tw-text-opacity, 1))}.dark\:text-gray-300:is(.dark *){--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity, 1))}.dark\:text-gray-400:is(.dark *){--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity, 1))}.dark\:text-green-400:is(.dark *){--tw-text-opacity: 1;color:rgb(74 222 128 / var(--tw-text-opacity, 1))}.dark\:text-red-400:is(.dark *){--tw-text-opacity: 1;color:rgb(248 113 113 / var(--tw-text-opacity, 1))}.dark\:hover\:text-gray-100:hover:is(.dark *){--tw-text-opacity: 1;color:rgb(243 244 246 / var(--tw-text-opacity, 1))}@media(min-width:640px){.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.sm\:px-6{padding-left:1.5rem;padding-right:1.5rem}.sm\:py-8{padding-top:2rem;padding-bottom:2rem}}@media(min-width:768px){.md\:static{position:static}.md\:sticky{position:sticky}.md\:top-0{top:0}.md\:hidden{display:none}.md\:h-screen{height:100vh}.md\:translate-x-0{--tw-translate-x: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}}@media(min-width:1024px){.lg\:px-8{padding-left:2rem;padding-right:2rem}} diff --git a/public/orchestrator/assets/index-DUjBJRtl.css b/public/orchestrator/assets/index-DUjBJRtl.css deleted file mode 100644 index 9b8e667..0000000 --- a/public/orchestrator/assets/index-DUjBJRtl.css +++ /dev/null @@ -1 +0,0 @@ -*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:Inter,system-ui,-apple-system,Segoe UI,sans-serif;font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}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;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}:root{--superficie: 255 255 255;--elevado: 249 250 251;--borde: 229 231 235;--texto: 31 41 55;--tenue: 107 114 128;--fondo: 249 250 251}.dark{--superficie: 17 24 39;--elevado: 24 33 51;--borde: 42 52 70;--texto: 229 231 235;--tenue: 148 163 184;--fondo: 9 13 22}body{background:rgb(var(--fondo));color:rgb(var(--texto));-webkit-font-smoothing:antialiased}.card{border-radius:.75rem;border-width:1px;--tw-border-opacity: 1;border-color:rgb(var(--borde) / var(--tw-border-opacity, 1));--tw-bg-opacity: 1;background-color:rgb(var(--superficie) / var(--tw-bg-opacity, 1))}.input{width:100%;border-radius:.5rem;border-width:1px;--tw-border-opacity: 1;border-color:rgb(var(--borde) / var(--tw-border-opacity, 1));--tw-bg-opacity: 1;background-color:rgb(var(--superficie) / var(--tw-bg-opacity, 1));padding:.5rem .75rem;font-size:.875rem;line-height:1.25rem;--tw-text-opacity: 1;color:rgb(var(--texto) / var(--tw-text-opacity, 1));outline:2px solid transparent;outline-offset:2px;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.input::-moz-placeholder{color:rgb(var(--tenue) / .6)}.input::placeholder{color:rgb(var(--tenue) / .6)}.input:focus{--tw-border-opacity: 1;border-color:rgb(142 176 47 / var(--tw-border-opacity, 1));--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000);--tw-ring-color: rgb(142 176 47 / .2)}.label{margin-bottom:.25rem;display:block;font-size:.75rem;line-height:1rem;font-weight:500;--tw-text-opacity: 1;color:rgb(var(--tenue) / var(--tw-text-opacity, 1))}.btn-primary{display:inline-flex;align-items:center;justify-content:center;gap:.375rem;border-radius:.5rem;padding:.5rem 1rem;font-size:.875rem;line-height:1.25rem;font-weight:500;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.btn-primary:disabled{cursor:not-allowed;opacity:.5}.btn-primary{--tw-bg-opacity: 1;background-color:rgb(142 176 47 / var(--tw-bg-opacity, 1));--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.btn-primary:hover{--tw-bg-opacity: 1;background-color:rgb(113 144 38 / var(--tw-bg-opacity, 1))}.btn-ghost{display:inline-flex;align-items:center;justify-content:center;gap:.375rem;border-radius:.5rem;padding:.5rem 1rem;font-size:.875rem;line-height:1.25rem;font-weight:500;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.btn-ghost:disabled{cursor:not-allowed;opacity:.5}.btn-ghost{--tw-text-opacity: 1;color:rgb(var(--tenue) / var(--tw-text-opacity, 1))}.btn-ghost:hover{--tw-bg-opacity: 1;background-color:rgb(var(--elevado) / var(--tw-bg-opacity, 1));--tw-text-opacity: 1;color:rgb(var(--texto) / var(--tw-text-opacity, 1))}.badge-ok{display:inline-flex;align-items:center;gap:.25rem;border-radius:9999px;padding:.125rem .5rem;font-size:.75rem;line-height:1rem;font-weight:500;--tw-bg-opacity: 1;background-color:rgb(220 252 231 / var(--tw-bg-opacity, 1));--tw-text-opacity: 1;color:rgb(21 128 61 / var(--tw-text-opacity, 1))}.badge-ok:is(.dark *){background-color:#22c55e26;--tw-text-opacity: 1;color:rgb(74 222 128 / var(--tw-text-opacity, 1))}.badge-alerta{display:inline-flex;align-items:center;gap:.25rem;border-radius:9999px;padding:.125rem .5rem;font-size:.75rem;line-height:1rem;font-weight:500;--tw-bg-opacity: 1;background-color:rgb(254 243 199 / var(--tw-bg-opacity, 1));--tw-text-opacity: 1;color:rgb(180 83 9 / var(--tw-text-opacity, 1))}.badge-alerta:is(.dark *){background-color:#f59e0b26;--tw-text-opacity: 1;color:rgb(251 191 36 / var(--tw-text-opacity, 1))}.badge-error{display:inline-flex;align-items:center;gap:.25rem;border-radius:9999px;padding:.125rem .5rem;font-size:.75rem;line-height:1rem;font-weight:500;--tw-bg-opacity: 1;background-color:rgb(254 226 226 / var(--tw-bg-opacity, 1));--tw-text-opacity: 1;color:rgb(185 28 28 / var(--tw-text-opacity, 1))}.badge-error:is(.dark *){background-color:#ef444426;--tw-text-opacity: 1;color:rgb(248 113 113 / var(--tw-text-opacity, 1))}.badge-neutro{display:inline-flex;align-items:center;gap:.25rem;border-radius:9999px;padding:.125rem .5rem;font-size:.75rem;line-height:1rem;font-weight:500;--tw-bg-opacity: 1;background-color:rgb(var(--elevado) / var(--tw-bg-opacity, 1));--tw-text-opacity: 1;color:rgb(var(--tenue) / var(--tw-text-opacity, 1))}.tab{white-space:nowrap;border-radius:9999px;padding:.375rem .75rem;font-size:.875rem;line-height:1.25rem;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.visible{visibility:visible}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inset-0{top:0;right:0;bottom:0;left:0}.inset-x-0{left:0;right:0}.inset-y-0{top:0;bottom:0}.left-0{left:0}.top-0{top:0}.z-30{z-index:30}.z-40{z-index:40}.z-50{z-index:50}.col-span-1{grid-column:span 1 / span 1}.col-span-2{grid-column:span 2 / span 2}.mx-auto{margin-left:auto;margin-right:auto}.-mt-2{margin-top:-.5rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mb-6{margin-bottom:1.5rem}.ml-1{margin-left:.25rem}.ml-2{margin-left:.5rem}.ml-auto{margin-left:auto}.mt-0\.5{margin-top:.125rem}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-3\.5{margin-top:.875rem}.mt-4{margin-top:1rem}.flex{display:flex}.grid{display:grid}.h-1{height:.25rem}.h-1\.5{height:.375rem}.h-10{height:2.5rem}.h-14{height:3.5rem}.h-2{height:.5rem}.h-2\.5{height:.625rem}.h-28{height:7rem}.h-3\.5{height:.875rem}.h-5{height:1.25rem}.h-9{height:2.25rem}.h-\[28rem\]{height:28rem}.h-full{height:100%}.max-h-\[28rem\]{max-height:28rem}.max-h-\[32rem\]{max-height:32rem}.max-h-\[85vh\]{max-height:85vh}.max-h-\[90vh\]{max-height:90vh}.min-h-screen{min-height:100vh}.\!w-auto{width:auto!important}.w-1\.5{width:.375rem}.w-10{width:2.5rem}.w-16{width:4rem}.w-24{width:6rem}.w-28{width:7rem}.w-5{width:1.25rem}.w-64{width:16rem}.w-full{width:100%}.min-w-0{min-width:0px}.min-w-\[3px\]{min-width:3px}.max-w-5xl{max-width:64rem}.max-w-\[80\%\]{max-width:80%}.max-w-lg{max-width:32rem}.max-w-md{max-width:28rem}.max-w-sm{max-width:24rem}.max-w-xl{max-width:36rem}.flex-1{flex:1 1 0%}.shrink-0{flex-shrink:0}.-translate-x-full{--tw-translate-x: -100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-0{--tw-translate-x: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes aparecer{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}.animate-aparecer{animation:aparecer .2s ease-out}@keyframes escalar{0%{opacity:0;transform:scale(.97)}to{opacity:1;transform:scale(1)}}.animate-escalar{animation:escalar .15s ease-out}@keyframes pulse{50%{opacity:.5}}.animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}.cursor-pointer{cursor:pointer}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-0\.5{gap:.125rem}.gap-1{gap:.25rem}.gap-1\.5{gap:.375rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.space-y-0\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.125rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.125rem * var(--tw-space-y-reverse))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.space-y-3>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.75rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.75rem * var(--tw-space-y-reverse))}.divide-y>:not([hidden])~:not([hidden]){--tw-divide-y-reverse: 0;border-top-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)));border-bottom-width:calc(1px * var(--tw-divide-y-reverse))}.divide-borde>:not([hidden])~:not([hidden]){--tw-divide-opacity: 1;border-color:rgb(var(--borde) / var(--tw-divide-opacity, 1))}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-wrap{white-space:pre-wrap}.break-all{word-break:break-all}.rounded{border-radius:.25rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-xl{border-radius:.75rem}.rounded-t{border-top-left-radius:.25rem;border-top-right-radius:.25rem}.border{border-width:1px}.border-b{border-bottom-width:1px}.border-r{border-right-width:1px}.border-t{border-top-width:1px}.border-borde{--tw-border-opacity: 1;border-color:rgb(var(--borde) / var(--tw-border-opacity, 1))}.border-gray-200{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity, 1))}.border-gray-300{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity, 1))}.bg-amber-500{--tw-bg-opacity: 1;background-color:rgb(245 158 11 / var(--tw-bg-opacity, 1))}.bg-black\/40{background-color:#0006}.bg-black\/50{background-color:#00000080}.bg-brand{--tw-bg-opacity: 1;background-color:rgb(142 176 47 / var(--tw-bg-opacity, 1))}.bg-brand\/10{background-color:#8eb02f1a}.bg-brand\/70{background-color:#8eb02fb3}.bg-elevado{--tw-bg-opacity: 1;background-color:rgb(var(--elevado) / var(--tw-bg-opacity, 1))}.bg-gray-400{--tw-bg-opacity: 1;background-color:rgb(156 163 175 / var(--tw-bg-opacity, 1))}.bg-gray-50{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity, 1))}.bg-green-500{--tw-bg-opacity: 1;background-color:rgb(34 197 94 / var(--tw-bg-opacity, 1))}.bg-green-600{--tw-bg-opacity: 1;background-color:rgb(22 163 74 / var(--tw-bg-opacity, 1))}.bg-red-500{--tw-bg-opacity: 1;background-color:rgb(239 68 68 / var(--tw-bg-opacity, 1))}.bg-superficie{--tw-bg-opacity: 1;background-color:rgb(var(--superficie) / var(--tw-bg-opacity, 1))}.bg-tenue\/40{background-color:rgb(var(--tenue) / .4)}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.p-1{padding:.25rem}.p-2{padding:.5rem}.p-2\.5{padding:.625rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.\!px-2{padding-left:.5rem!important;padding-right:.5rem!important}.\!px-2\.5{padding-left:.625rem!important;padding-right:.625rem!important}.\!py-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.\!py-1\.5{padding-top:.375rem!important;padding-bottom:.375rem!important}.px-1{padding-left:.25rem;padding-right:.25rem}.px-1\.5{padding-left:.375rem;padding-right:.375rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-2\.5{padding-left:.625rem;padding-right:.625rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.py-0\.5{padding-top:.125rem;padding-bottom:.125rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.py-12{padding-top:3rem;padding-bottom:3rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-24{padding-top:6rem;padding-bottom:6rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-6{padding-top:1.5rem;padding-bottom:1.5rem}.pb-1{padding-bottom:.25rem}.pr-1\.5{padding-right:.375rem}.pt-1{padding-top:.25rem}.pt-2{padding-top:.5rem}.pt-3{padding-top:.75rem}.text-left{text-align:left}.text-center{text-align:center}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.\!text-xs{font-size:.75rem!important;line-height:1rem!important}.text-2xl{font-size:1.5rem;line-height:2rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-4xl{font-size:2.25rem;line-height:2.5rem}.text-\[11px\]{font-size:11px}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-medium{font-weight:500}.font-semibold{font-weight:600}.capitalize{text-transform:capitalize}.tabular-nums{--tw-numeric-spacing: tabular-nums;font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)}.leading-none{line-height:1}.text-amber-600{--tw-text-opacity: 1;color:rgb(217 119 6 / var(--tw-text-opacity, 1))}.text-brand{--tw-text-opacity: 1;color:rgb(142 176 47 / var(--tw-text-opacity, 1))}.text-gray-400{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity, 1))}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity, 1))}.text-gray-600{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity, 1))}.text-gray-700{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity, 1))}.text-gray-800{--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity, 1))}.text-green-600{--tw-text-opacity: 1;color:rgb(22 163 74 / var(--tw-text-opacity, 1))}.text-red-400{--tw-text-opacity: 1;color:rgb(248 113 113 / var(--tw-text-opacity, 1))}.text-red-500{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity, 1))}.text-red-600{--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity, 1))}.text-tenue{--tw-text-opacity: 1;color:rgb(var(--tenue) / var(--tw-text-opacity, 1))}.text-texto{--tw-text-opacity: 1;color:rgb(var(--texto) / var(--tw-text-opacity, 1))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.opacity-0{opacity:0}.opacity-70{opacity:.7}.shadow-2xl{--tw-shadow: 0 25px 50px -12px rgb(0 0 0 / .25);--tw-shadow-colored: 0 25px 50px -12px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.backdrop-blur-sm{--tw-backdrop-blur: blur(4px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-200{transition-duration:.2s}.duration-500{transition-duration:.5s}.hover\:-translate-y-0\.5:hover{--tw-translate-y: -.125rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\:border-brand:hover{--tw-border-opacity: 1;border-color:rgb(142 176 47 / var(--tw-border-opacity, 1))}.hover\:border-brand\/50:hover{border-color:#8eb02f80}.hover\:bg-brand:hover{--tw-bg-opacity: 1;background-color:rgb(142 176 47 / var(--tw-bg-opacity, 1))}.hover\:bg-brand-dark:hover{--tw-bg-opacity: 1;background-color:rgb(113 144 38 / var(--tw-bg-opacity, 1))}.hover\:bg-elevado:hover{--tw-bg-opacity: 1;background-color:rgb(var(--elevado) / var(--tw-bg-opacity, 1))}.hover\:text-brand:hover{--tw-text-opacity: 1;color:rgb(142 176 47 / var(--tw-text-opacity, 1))}.hover\:text-gray-800:hover{--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity, 1))}.hover\:text-red-600:hover{--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity, 1))}.hover\:text-red-700:hover{--tw-text-opacity: 1;color:rgb(185 28 28 / var(--tw-text-opacity, 1))}.hover\:text-texto:hover{--tw-text-opacity: 1;color:rgb(var(--texto) / var(--tw-text-opacity, 1))}.hover\:shadow-lg:hover{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.focus\:ring-brand:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(142 176 47 / var(--tw-ring-opacity, 1))}.disabled\:opacity-50:disabled{opacity:.5}.group:hover .group-hover\:opacity-100{opacity:1}.dark\:border-gray-700:is(.dark *){--tw-border-opacity: 1;border-color:rgb(55 65 81 / var(--tw-border-opacity, 1))}.dark\:border-gray-800:is(.dark *){--tw-border-opacity: 1;border-color:rgb(31 41 55 / var(--tw-border-opacity, 1))}.dark\:bg-gray-800:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity, 1))}.dark\:bg-gray-900:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity, 1))}.dark\:text-amber-400:is(.dark *){--tw-text-opacity: 1;color:rgb(251 191 36 / var(--tw-text-opacity, 1))}.dark\:text-gray-100:is(.dark *){--tw-text-opacity: 1;color:rgb(243 244 246 / var(--tw-text-opacity, 1))}.dark\:text-gray-200:is(.dark *){--tw-text-opacity: 1;color:rgb(229 231 235 / var(--tw-text-opacity, 1))}.dark\:text-gray-300:is(.dark *){--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity, 1))}.dark\:text-gray-400:is(.dark *){--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity, 1))}.dark\:text-green-400:is(.dark *){--tw-text-opacity: 1;color:rgb(74 222 128 / var(--tw-text-opacity, 1))}.dark\:text-red-400:is(.dark *){--tw-text-opacity: 1;color:rgb(248 113 113 / var(--tw-text-opacity, 1))}.dark\:hover\:text-gray-100:hover:is(.dark *){--tw-text-opacity: 1;color:rgb(243 244 246 / var(--tw-text-opacity, 1))}@media(min-width:640px){.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.sm\:px-6{padding-left:1.5rem;padding-right:1.5rem}.sm\:py-8{padding-top:2rem;padding-bottom:2rem}}@media(min-width:768px){.md\:static{position:static}.md\:sticky{position:sticky}.md\:top-0{top:0}.md\:hidden{display:none}.md\:h-screen{height:100vh}.md\:translate-x-0{--tw-translate-x: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}}@media(min-width:1024px){.lg\:px-8{padding-left:2rem;padding-right:2rem}} diff --git a/public/orchestrator/assets/index-CbuoSeqG.js b/public/orchestrator/assets/index-Dn2ZJSQE.js similarity index 53% rename from public/orchestrator/assets/index-CbuoSeqG.js rename to public/orchestrator/assets/index-Dn2ZJSQE.js index 555d44e..5940d83 100644 --- a/public/orchestrator/assets/index-CbuoSeqG.js +++ b/public/orchestrator/assets/index-Dn2ZJSQE.js @@ -2,25 +2,25 @@ * @vue/shared v3.5.41 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/function qs(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const ve={},Yt=[],mt=()=>{},pr=()=>!1,ts=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),ns=e=>e.startsWith("onUpdate:"),De=Object.assign,Ws=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Vi=Object.prototype.hasOwnProperty,pe=(e,t)=>Vi.call(e,t),Q=Array.isArray,Qt=e=>$n(e)==="[object Map]",un=e=>$n(e)==="[object Set]",bo=e=>$n(e)==="[object Date]",ee=e=>typeof e=="function",Ee=e=>typeof e=="string",ot=e=>typeof e=="symbol",me=e=>e!==null&&typeof e=="object",hr=e=>(me(e)||ee(e))&&ee(e.then)&&ee(e.catch),mr=Object.prototype.toString,$n=e=>mr.call(e),ji=e=>$n(e).slice(8,-1),gr=e=>$n(e)==="[object Object]",zs=e=>Ee(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,vn=qs(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),ss=e=>{const t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},Ui=/-\w/g,Ke=ss(e=>e.replace(Ui,t=>t.slice(1).toUpperCase())),Li=/\B([A-Z])/g,qt=ss(e=>e.replace(Li,"-$1").toLowerCase()),os=ss(e=>e.charAt(0).toUpperCase()+e.slice(1)),vs=ss(e=>e?`on${os(e)}`:""),pt=(e,t)=>!Object.is(e,t),Bn=(e,...t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},rs=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let xo;const is=()=>xo||(xo=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Gt(e){if(Q(e)){const t={};for(let n=0;n{if(n){const s=n.split(Hi);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function Ie(e){let t="";if(Ee(e))t=e;else if(Q(e))for(let n=0;ncn(n,t))}const xr=e=>!!(e&&e.__v_isRef===!0),M=e=>Ee(e)?e:e==null?"":Q(e)||me(e)&&(e.toString===mr||!ee(e.toString))?xr(e)?M(e.value):JSON.stringify(e,_r,2):String(e),_r=(e,t)=>xr(t)?_r(e,t.value):Qt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,o],r)=>(n[bs(s,r)+" =>"]=o,n),{})}:un(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>bs(n))}:ot(t)?bs(t):me(t)&&!Q(t)&&!gr(t)?String(t):t,bs=(e,t="")=>{var n;return ot(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/** +**/function Gs(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const ve={},Qt=[],mt=()=>{},pr=()=>!1,ts=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),ns=e=>e.startsWith("onUpdate:"),De=Object.assign,Ws=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},ji=Object.prototype.hasOwnProperty,pe=(e,t)=>ji.call(e,t),Y=Array.isArray,Yt=e=>$n(e)==="[object Map]",un=e=>$n(e)==="[object Set]",bo=e=>$n(e)==="[object Date]",ee=e=>typeof e=="function",Ee=e=>typeof e=="string",ot=e=>typeof e=="symbol",me=e=>e!==null&&typeof e=="object",hr=e=>(me(e)||ee(e))&&ee(e.then)&&ee(e.catch),mr=Object.prototype.toString,$n=e=>mr.call(e),Ui=e=>$n(e).slice(8,-1),gr=e=>$n(e)==="[object Object]",zs=e=>Ee(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,vn=Gs(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),ss=e=>{const t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},Li=/-\w/g,Ke=ss(e=>e.replace(Li,t=>t.slice(1).toUpperCase())),Fi=/\B([A-Z])/g,Gt=ss(e=>e.replace(Fi,"-$1").toLowerCase()),os=ss(e=>e.charAt(0).toUpperCase()+e.slice(1)),vs=ss(e=>e?`on${os(e)}`:""),pt=(e,t)=>!Object.is(e,t),Bn=(e,...t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},rs=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let xo;const is=()=>xo||(xo=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function qt(e){if(Y(e)){const t={};for(let n=0;n{if(n){const s=n.split(Bi);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function Ie(e){let t="";if(Ee(e))t=e;else if(Y(e))for(let n=0;ncn(n,t))}const xr=e=>!!(e&&e.__v_isRef===!0),M=e=>Ee(e)?e:e==null?"":Y(e)||me(e)&&(e.toString===mr||!ee(e.toString))?xr(e)?M(e.value):JSON.stringify(e,_r,2):String(e),_r=(e,t)=>xr(t)?_r(e,t.value):Yt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,o],r)=>(n[bs(s,r)+" =>"]=o,n),{})}:un(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>bs(n))}:ot(t)?bs(t):me(t)&&!Y(t)&&!gr(t)?String(t):t,bs=(e,t="")=>{var n;return ot(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/** * @vue/reactivity v3.5.41 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/let $e;class zi{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this._warnOnRun=!0,this.__v_skip=!0,!t&&$e&&($e.active?(this.parent=$e,this.index=($e.scopes||($e.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes){const s=this.scopes.slice();for(t=0,n=s.length;t0&&--this._on===0){if($e===this)$e=this.prevScope;else{let t=$e;for(;t;){if(t.prevScope===this){t.prevScope=this.prevScope;break}t=t.prevScope}}this.prevScope=void 0}}stop(t){if(this._active){this._active=!1;let n,s;for(n=0,s=this.effects.length;n0)return;if(xn){let t=xn;for(xn=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;bn;){let t=bn;for(bn=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(s){e||(e=s)}t=n}}if(e)throw e}function Er(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Sr(e){let t,n=e.depsTail,s=n;for(;s;){const o=s.prevDep;s.version===-1?(s===n&&(n=o),Xs(s),Yi(s)):t=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=o}e.deps=t,e.depsTail=n}function Ts(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Ar(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Ar(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Cn)||(e.globalVersion=Cn,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Ts(e))))return;e.flags|=2;const t=e.dep,n=be,s=nt;be=e,nt=!0;try{Er(e);const o=e.fn(e._value);(t.version===0||pt(o,e._value))&&(e.flags|=128,e._value=o,t.version++)}catch(o){throw t.version++,o}finally{be=n,nt=s,Sr(e),e.flags&=-3}}function Xs(e,t=!1){const{dep:n,prevSub:s,nextSub:o}=e;if(s&&(s.nextSub=o,e.prevSub=void 0),o&&(o.prevSub=s,e.nextSub=void 0),n.subs===e&&(n.subs=s,!s&&n.computed)){n.computed.flags&=-5;for(let r=n.computed.deps;r;r=r.nextDep)Xs(r,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Yi(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let nt=!0;const kr=[];function St(){kr.push(nt),nt=!1}function At(){const e=kr.pop();nt=e===void 0?!0:e}function _o(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=be;be=void 0;try{t()}finally{be=n}}}let Cn=0;class Qi{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Zs{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(t){if(!be||!nt||be===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==be)n=this.activeLink=new Qi(be,this),be.deps?(n.prevDep=be.depsTail,be.depsTail.nextDep=n,be.depsTail=n):be.deps=be.depsTail=n,Rr(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const s=n.nextDep;s.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=s),n.prevDep=be.depsTail,n.nextDep=void 0,be.depsTail.nextDep=n,be.depsTail=n,be.deps===n&&(be.deps=s)}return n}trigger(t){this.version++,Cn++,this.notify(t)}notify(t){Ys();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Qs()}}}function Rr(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let s=t.deps;s;s=s.nextDep)Rr(s)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const $s=new WeakMap,Bt=Symbol(""),Ns=Symbol(""),En=Symbol("");function Me(e,t,n){if(nt&&be){let s=$s.get(e);s||$s.set(e,s=new Map);let o=s.get(n);o||(s.set(n,o=new Zs),o.map=s,o.key=n),o.track()}}function wt(e,t,n,s,o,r){const i=$s.get(e);if(!i){Cn++;return}const l=a=>{a&&a.trigger()};if(Ys(),t==="clear")i.forEach(l);else{const a=Q(e),d=a&&zs(n);if(a&&n==="length"){const c=Number(s);i.forEach((p,g)=>{(g==="length"||g===En||!ot(g)&&g>=c)&&l(p)})}else switch((n!==void 0||i.has(void 0))&&l(i.get(n)),d&&l(i.get(En)),t){case"add":a?d&&l(i.get("length")):(l(i.get(Bt)),Qt(e)&&l(i.get(Ns)));break;case"delete":a||(l(i.get(Bt)),Qt(e)&&l(i.get(Ns)));break;case"set":Qt(e)&&l(i.get(Bt));break}}Qs()}function Wt(e){const t=de(e);return t===e?t:(Me(t,"iterate",En),et(e)?t:t.map(rt))}function ls(e){return Me(e=de(e),"iterate",En),e}function ft(e,t){return kt(e)?nn(Kt(e)?rt(t):t):rt(t)}const Xi={__proto__:null,[Symbol.iterator](){return _s(this,Symbol.iterator,e=>ft(this,e))},concat(...e){return Wt(this).concat(...e.map(t=>Q(t)?Wt(t):t))},entries(){return _s(this,"entries",e=>(e[1]=ft(this,e[1]),e))},every(e,t){return bt(this,"every",e,t,void 0,arguments)},filter(e,t){return bt(this,"filter",e,t,n=>n.map(s=>ft(this,s)),arguments)},find(e,t){return bt(this,"find",e,t,n=>ft(this,n),arguments)},findIndex(e,t){return bt(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return bt(this,"findLast",e,t,n=>ft(this,n),arguments)},findLastIndex(e,t){return bt(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return bt(this,"forEach",e,t,void 0,arguments)},includes(...e){return ys(this,"includes",e)},indexOf(...e){return ys(this,"indexOf",e)},join(e){return Wt(this).join(e)},lastIndexOf(...e){return ys(this,"lastIndexOf",e)},map(e,t){return bt(this,"map",e,t,void 0,arguments)},pop(){return fn(this,"pop")},push(...e){return fn(this,"push",e)},reduce(e,...t){return yo(this,"reduce",e,t)},reduceRight(e,...t){return yo(this,"reduceRight",e,t)},shift(){return fn(this,"shift")},some(e,t){return bt(this,"some",e,t,void 0,arguments)},splice(...e){return fn(this,"splice",e)},toReversed(){return Wt(this).toReversed()},toSorted(e){return Wt(this).toSorted(e)},toSpliced(...e){return Wt(this).toSpliced(...e)},unshift(...e){return fn(this,"unshift",e)},values(){return _s(this,"values",e=>ft(this,e))}};function _s(e,t,n){const s=ls(e),o=s[t]();return s!==e&&!et(e)&&(o._next=o.next,o.next=()=>{const r=o._next();return r.done||(r.value=n(r.value)),r}),o}const Zi=Array.prototype;function bt(e,t,n,s,o,r){const i=ls(e),l=i!==e&&!et(e),a=i[t];if(a!==Zi[t]){const p=a.apply(e,r);return l?rt(p):p}let d=n;i!==e&&(l?d=function(p,g){return n.call(this,ft(e,p),g,e)}:n.length>2&&(d=function(p,g){return n.call(this,p,g,e)}));const c=a.call(i,d,s);return l&&o?o(c):c}function yo(e,t,n,s){const o=ls(e),r=o!==e&&!et(e);let i=n,l=!1;o!==e&&(r?(l=s.length===0,i=function(d,c,p){return l&&(l=!1,d=ft(e,d)),n.call(this,d,ft(e,c),p,e)}):n.length>3&&(i=function(d,c,p){return n.call(this,d,c,p,e)}));const a=o[t](i,...s);return l?ft(e,a):a}function ys(e,t,n){const s=de(e);Me(s,"iterate",En);const o=s[t](...n);return(o===-1||o===!1)&&no(n[0])?(n[0]=de(n[0]),s[t](...n)):o}function fn(e,t,n=[]){St(),Ys();const s=de(e)[t].apply(e,n);return Qs(),At(),s}const el=qs("__proto__,__v_isRef,__isVue"),Ir=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(ot));function tl(e){ot(e)||(e=String(e));const t=de(this);return Me(t,"has",e),t.hasOwnProperty(e)}class Pr{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,s){if(n==="__v_skip")return t.__v_skip;const o=this._isReadonly,r=this._isShallow;if(n==="__v_isReactive")return!o;if(n==="__v_isReadonly")return o;if(n==="__v_isShallow")return r;if(n==="__v_raw")return s===(o?r?fl:Nr:r?$r:Tr).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const i=Q(t);if(!o){let a;if(i&&(a=Xi[n]))return a;if(n==="hasOwnProperty")return tl}const l=Reflect.get(t,n,je(t)?t:s);if((ot(n)?Ir.has(n):el(n))||(o||Me(t,"get",n),r))return l;if(je(l)){const a=i&&zs(n)?l:l.value;return o&&me(a)?Ms(a):a}return me(l)?o?Ms(l):as(l):l}}class Or extends Pr{constructor(t=!1){super(!1,t)}set(t,n,s,o){let r=t[n];const i=Q(t)&&zs(n);if(!this._isShallow){const d=kt(r);if(!et(s)&&!kt(s)&&(r=de(r),s=de(s)),!i&&je(r)&&!je(s))return d||(r.value=s),!0}const l=i?Number(n)e,Vn=e=>Reflect.getPrototypeOf(e);function il(e,t,n){return function(...s){const o=this.__v_raw,r=de(o),i=Qt(r),l=e==="entries"||e===Symbol.iterator&&i,a=e==="keys"&&i,d=o[e](...s),c=n?Ds:t?nn:rt;return!t&&Me(r,"iterate",a?Ns:Bt),De(Object.create(d),{next(){const{value:p,done:g}=d.next();return g?{value:p,done:g}:{value:l?[c(p[0]),c(p[1])]:c(p),done:g}}})}}function jn(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function ll(e,t){const n={get(o){const r=this.__v_raw,i=de(r),l=de(o);e||(pt(o,l)&&Me(i,"get",o),Me(i,"get",l));const{has:a}=Vn(i),d=t?Ds:e?nn:rt;if(a.call(i,o))return d(r.get(o));if(a.call(i,l))return d(r.get(l));r!==i&&r.get(o)},get size(){const o=this.__v_raw;return!e&&Me(de(o),"iterate",Bt),o.size},has(o){const r=this.__v_raw,i=de(r),l=de(o);return e||(pt(o,l)&&Me(i,"has",o),Me(i,"has",l)),o===l?r.has(o):r.has(o)||r.has(l)},forEach(o,r){const i=this,l=i.__v_raw,a=de(l),d=t?Ds:e?nn:rt;return!e&&Me(a,"iterate",Bt),l.forEach((c,p)=>o.call(r,d(c),d(p),i))}};return De(n,e?{add:jn("add"),set:jn("set"),delete:jn("delete"),clear:jn("clear")}:{add(o){const r=de(this),i=Vn(r),l=de(o),a=!t&&!et(o)&&!kt(o)?l:o;return i.has.call(r,a)||pt(o,a)&&i.has.call(r,o)||pt(l,a)&&i.has.call(r,l)||(r.add(a),wt(r,"add",a,a)),this},set(o,r){!t&&!et(r)&&!kt(r)&&(r=de(r));const i=de(this),{has:l,get:a}=Vn(i);let d=l.call(i,o);d||(o=de(o),d=l.call(i,o));const c=a.call(i,o);return i.set(o,r),d?pt(r,c)&&wt(i,"set",o,r):wt(i,"add",o,r),this},delete(o){const r=de(this),{has:i,get:l}=Vn(r);let a=i.call(r,o);a||(o=de(o),a=i.call(r,o)),l&&l.call(r,o);const d=r.delete(o);return a&&wt(r,"delete",o,void 0),d},clear(){const o=de(this),r=o.size!==0,i=o.clear();return r&&wt(o,"clear",void 0,void 0),i}}),["keys","values","entries",Symbol.iterator].forEach(o=>{n[o]=il(o,e,t)}),n}function eo(e,t){const n=ll(e,t);return(s,o,r)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?s:Reflect.get(pe(n,o)&&o in s?n:s,o,r)}const al={get:eo(!1,!1)},ul={get:eo(!1,!0)},cl={get:eo(!0,!1)};const Tr=new WeakMap,$r=new WeakMap,Nr=new WeakMap,fl=new WeakMap;function dl(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function as(e){return kt(e)?e:to(e,!1,sl,al,Tr)}function Dr(e){return to(e,!1,rl,ul,$r)}function Ms(e){return to(e,!0,ol,cl,Nr)}function to(e,t,n,s,o){if(!me(e)||e.__v_raw&&!(t&&e.__v_isReactive)||e.__v_skip||!Object.isExtensible(e))return e;const r=o.get(e);if(r)return r;const i=dl(ji(e));if(i===0)return e;const l=new Proxy(e,i===2?s:n);return o.set(e,l),l}function Kt(e){return kt(e)?Kt(e.__v_raw):!!(e&&e.__v_isReactive)}function kt(e){return!!(e&&e.__v_isReadonly)}function et(e){return!!(e&&e.__v_isShallow)}function no(e){return e?!!e.__v_raw:!1}function de(e){const t=e&&e.__v_raw;return t?de(t):e}function pl(e){return!pe(e,"__v_skip")&&Object.isExtensible(e)&&vr(e,"__v_skip",!0),e}const rt=e=>me(e)?as(e):e,nn=e=>me(e)?Ms(e):e;function je(e){return e?e.__v_isRef===!0:!1}function Y(e){return Mr(e,!1)}function hl(e){return Mr(e,!0)}function Mr(e,t){return je(e)?e:new ml(e,t)}class ml{constructor(t,n){this.dep=new Zs,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:de(t),this._value=n?t:rt(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,s=this.__v_isShallow||et(t)||kt(t);t=s?t:de(t),pt(t,n)&&(this._rawValue=t,this._value=s?t:rt(t),this.dep.trigger())}}function Pe(e){return je(e)?e.value:e}const gl={get:(e,t,n)=>t==="__v_raw"?e:Pe(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const o=e[t];return je(o)&&!je(n)?(o.value=n,!0):Reflect.set(e,t,n,s)}};function Vr(e){return Kt(e)?e:new Proxy(e,gl)}class vl{constructor(t,n,s){this.fn=t,this.setter=n,this._value=void 0,this.dep=new Zs(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Cn-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=s}notify(){if(this.flags|=16,!(this.flags&8)&&be!==this)return Cr(this,!0),!0}get value(){const t=this.dep.track();return Ar(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function bl(e,t,n=!1){let s,o;return ee(e)?s=e:(s=e.get,o=e.set),new vl(s,o,n)}const Un={},Wn=new WeakMap;let Ft;function xl(e,t=!1,n=Ft){if(n){let s=Wn.get(n);s||Wn.set(n,s=[]),s.push(e)}}function _l(e,t,n=ve){const{immediate:s,deep:o,once:r,scheduler:i,augmentJob:l,call:a}=n,d=P=>o?P:et(P)||o===!1||o===0?Ct(P,1):Ct(P);let c,p,g,b,U=!1,T=!1;if(je(e)?(p=()=>e.value,U=et(e)):Kt(e)?(p=()=>d(e),U=!0):Q(e)?(T=!0,U=e.some(P=>Kt(P)||et(P)),p=()=>e.map(P=>{if(je(P))return P.value;if(Kt(P))return d(P);if(ee(P))return a?a(P,2):P()})):ee(e)?t?p=a?()=>a(e,2):e:p=()=>{if(g){St();try{g()}finally{At()}}const P=Ft;Ft=c;try{return a?a(e,3,[b]):e(b)}finally{Ft=P}}:p=mt,t&&o){const P=p,S=o===!0?1/0:o;p=()=>Ct(P(),S)}const G=Ji(),B=()=>{c.stop(),G&&G.active&&Ws(G.effects,c)};if(r&&t){const P=t;t=(...S)=>{const D=P(...S);return B(),D}}let N=T?new Array(e.length).fill(Un):Un;const K=P=>{if(!(!(c.flags&1)||!c.dirty&&!P))if(t){const S=c.run();if(P||o||U||(T?S.some((D,Z)=>pt(D,N[Z])):pt(S,N))){g&&g();const D=Ft;Ft=c;try{const Z=[S,N===Un?void 0:T&&N[0]===Un?[]:N,b];N=S,a?a(t,3,Z):t(...Z)}finally{Ft=D}}}else c.run()};return l&&l(K),c=new yr(p),c.scheduler=i?()=>i(K,!1):K,b=P=>xl(P,!1,c),g=c.onStop=()=>{const P=Wn.get(c);if(P){if(a)a(P,4);else for(const S of P)S();Wn.delete(c)}},t?s?K(!0):N=c.run():i?i(K.bind(null,!0),!0):c.run(),B.pause=c.pause.bind(c),B.resume=c.resume.bind(c),B.stop=B,B}function Ct(e,t=1/0,n){if(t<=0||!me(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,je(e))Ct(e.value,t,n);else if(Q(e))for(let s=0;s{Ct(s,t,n)});else if(gr(e)){for(const s in e)Ct(e[s],t,n);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&Ct(e[s],t,n)}return e}/** +**/let $e;class Ji{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this._warnOnRun=!0,this.__v_skip=!0,!t&&$e&&($e.active?(this.parent=$e,this.index=($e.scopes||($e.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes){const s=this.scopes.slice();for(t=0,n=s.length;t0&&--this._on===0){if($e===this)$e=this.prevScope;else{let t=$e;for(;t;){if(t.prevScope===this){t.prevScope=this.prevScope;break}t=t.prevScope}}this.prevScope=void 0}}stop(t){if(this._active){this._active=!1;let n,s;for(n=0,s=this.effects.length;n0)return;if(xn){let t=xn;for(xn=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;bn;){let t=bn;for(bn=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(s){e||(e=s)}t=n}}if(e)throw e}function Er(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Sr(e){let t,n=e.depsTail,s=n;for(;s;){const o=s.prevDep;s.version===-1?(s===n&&(n=o),Xs(s),Yi(s)):t=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=o}e.deps=t,e.depsTail=n}function Ts(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Ar(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Ar(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Cn)||(e.globalVersion=Cn,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Ts(e))))return;e.flags|=2;const t=e.dep,n=be,s=nt;be=e,nt=!0;try{Er(e);const o=e.fn(e._value);(t.version===0||pt(o,e._value))&&(e.flags|=128,e._value=o,t.version++)}catch(o){throw t.version++,o}finally{be=n,nt=s,Sr(e),e.flags&=-3}}function Xs(e,t=!1){const{dep:n,prevSub:s,nextSub:o}=e;if(s&&(s.nextSub=o,e.prevSub=void 0),o&&(o.prevSub=s,e.nextSub=void 0),n.subs===e&&(n.subs=s,!s&&n.computed)){n.computed.flags&=-5;for(let r=n.computed.deps;r;r=r.nextDep)Xs(r,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Yi(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let nt=!0;const kr=[];function St(){kr.push(nt),nt=!1}function At(){const e=kr.pop();nt=e===void 0?!0:e}function _o(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=be;be=void 0;try{t()}finally{be=n}}}let Cn=0;class Xi{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Zs{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(t){if(!be||!nt||be===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==be)n=this.activeLink=new Xi(be,this),be.deps?(n.prevDep=be.depsTail,be.depsTail.nextDep=n,be.depsTail=n):be.deps=be.depsTail=n,Rr(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const s=n.nextDep;s.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=s),n.prevDep=be.depsTail,n.nextDep=void 0,be.depsTail.nextDep=n,be.depsTail=n,be.deps===n&&(be.deps=s)}return n}trigger(t){this.version++,Cn++,this.notify(t)}notify(t){Qs();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Ys()}}}function Rr(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let s=t.deps;s;s=s.nextDep)Rr(s)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const $s=new WeakMap,Bt=Symbol(""),Ns=Symbol(""),En=Symbol("");function Me(e,t,n){if(nt&&be){let s=$s.get(e);s||$s.set(e,s=new Map);let o=s.get(n);o||(s.set(n,o=new Zs),o.map=s,o.key=n),o.track()}}function wt(e,t,n,s,o,r){const i=$s.get(e);if(!i){Cn++;return}const l=a=>{a&&a.trigger()};if(Qs(),t==="clear")i.forEach(l);else{const a=Y(e),d=a&&zs(n);if(a&&n==="length"){const c=Number(s);i.forEach((p,g)=>{(g==="length"||g===En||!ot(g)&&g>=c)&&l(p)})}else switch((n!==void 0||i.has(void 0))&&l(i.get(n)),d&&l(i.get(En)),t){case"add":a?d&&l(i.get("length")):(l(i.get(Bt)),Yt(e)&&l(i.get(Ns)));break;case"delete":a||(l(i.get(Bt)),Yt(e)&&l(i.get(Ns)));break;case"set":Yt(e)&&l(i.get(Bt));break}}Ys()}function Wt(e){const t=de(e);return t===e?t:(Me(t,"iterate",En),et(e)?t:t.map(rt))}function ls(e){return Me(e=de(e),"iterate",En),e}function ft(e,t){return kt(e)?nn(Kt(e)?rt(t):t):rt(t)}const Zi={__proto__:null,[Symbol.iterator](){return _s(this,Symbol.iterator,e=>ft(this,e))},concat(...e){return Wt(this).concat(...e.map(t=>Y(t)?Wt(t):t))},entries(){return _s(this,"entries",e=>(e[1]=ft(this,e[1]),e))},every(e,t){return bt(this,"every",e,t,void 0,arguments)},filter(e,t){return bt(this,"filter",e,t,n=>n.map(s=>ft(this,s)),arguments)},find(e,t){return bt(this,"find",e,t,n=>ft(this,n),arguments)},findIndex(e,t){return bt(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return bt(this,"findLast",e,t,n=>ft(this,n),arguments)},findLastIndex(e,t){return bt(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return bt(this,"forEach",e,t,void 0,arguments)},includes(...e){return ys(this,"includes",e)},indexOf(...e){return ys(this,"indexOf",e)},join(e){return Wt(this).join(e)},lastIndexOf(...e){return ys(this,"lastIndexOf",e)},map(e,t){return bt(this,"map",e,t,void 0,arguments)},pop(){return fn(this,"pop")},push(...e){return fn(this,"push",e)},reduce(e,...t){return yo(this,"reduce",e,t)},reduceRight(e,...t){return yo(this,"reduceRight",e,t)},shift(){return fn(this,"shift")},some(e,t){return bt(this,"some",e,t,void 0,arguments)},splice(...e){return fn(this,"splice",e)},toReversed(){return Wt(this).toReversed()},toSorted(e){return Wt(this).toSorted(e)},toSpliced(...e){return Wt(this).toSpliced(...e)},unshift(...e){return fn(this,"unshift",e)},values(){return _s(this,"values",e=>ft(this,e))}};function _s(e,t,n){const s=ls(e),o=s[t]();return s!==e&&!et(e)&&(o._next=o.next,o.next=()=>{const r=o._next();return r.done||(r.value=n(r.value)),r}),o}const el=Array.prototype;function bt(e,t,n,s,o,r){const i=ls(e),l=i!==e&&!et(e),a=i[t];if(a!==el[t]){const p=a.apply(e,r);return l?rt(p):p}let d=n;i!==e&&(l?d=function(p,g){return n.call(this,ft(e,p),g,e)}:n.length>2&&(d=function(p,g){return n.call(this,p,g,e)}));const c=a.call(i,d,s);return l&&o?o(c):c}function yo(e,t,n,s){const o=ls(e),r=o!==e&&!et(e);let i=n,l=!1;o!==e&&(r?(l=s.length===0,i=function(d,c,p){return l&&(l=!1,d=ft(e,d)),n.call(this,d,ft(e,c),p,e)}):n.length>3&&(i=function(d,c,p){return n.call(this,d,c,p,e)}));const a=o[t](i,...s);return l?ft(e,a):a}function ys(e,t,n){const s=de(e);Me(s,"iterate",En);const o=s[t](...n);return(o===-1||o===!1)&&no(n[0])?(n[0]=de(n[0]),s[t](...n)):o}function fn(e,t,n=[]){St(),Qs();const s=de(e)[t].apply(e,n);return Ys(),At(),s}const tl=Gs("__proto__,__v_isRef,__isVue"),Ir=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(ot));function nl(e){ot(e)||(e=String(e));const t=de(this);return Me(t,"has",e),t.hasOwnProperty(e)}class Pr{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,s){if(n==="__v_skip")return t.__v_skip;const o=this._isReadonly,r=this._isShallow;if(n==="__v_isReactive")return!o;if(n==="__v_isReadonly")return o;if(n==="__v_isShallow")return r;if(n==="__v_raw")return s===(o?r?dl:Nr:r?$r:Tr).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const i=Y(t);if(!o){let a;if(i&&(a=Zi[n]))return a;if(n==="hasOwnProperty")return nl}const l=Reflect.get(t,n,je(t)?t:s);if((ot(n)?Ir.has(n):tl(n))||(o||Me(t,"get",n),r))return l;if(je(l)){const a=i&&zs(n)?l:l.value;return o&&me(a)?Ms(a):a}return me(l)?o?Ms(l):as(l):l}}class Or extends Pr{constructor(t=!1){super(!1,t)}set(t,n,s,o){let r=t[n];const i=Y(t)&&zs(n);if(!this._isShallow){const d=kt(r);if(!et(s)&&!kt(s)&&(r=de(r),s=de(s)),!i&&je(r)&&!je(s))return d||(r.value=s),!0}const l=i?Number(n)e,Vn=e=>Reflect.getPrototypeOf(e);function ll(e,t,n){return function(...s){const o=this.__v_raw,r=de(o),i=Yt(r),l=e==="entries"||e===Symbol.iterator&&i,a=e==="keys"&&i,d=o[e](...s),c=n?Ds:t?nn:rt;return!t&&Me(r,"iterate",a?Ns:Bt),De(Object.create(d),{next(){const{value:p,done:g}=d.next();return g?{value:p,done:g}:{value:l?[c(p[0]),c(p[1])]:c(p),done:g}}})}}function jn(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function al(e,t){const n={get(o){const r=this.__v_raw,i=de(r),l=de(o);e||(pt(o,l)&&Me(i,"get",o),Me(i,"get",l));const{has:a}=Vn(i),d=t?Ds:e?nn:rt;if(a.call(i,o))return d(r.get(o));if(a.call(i,l))return d(r.get(l));r!==i&&r.get(o)},get size(){const o=this.__v_raw;return!e&&Me(de(o),"iterate",Bt),o.size},has(o){const r=this.__v_raw,i=de(r),l=de(o);return e||(pt(o,l)&&Me(i,"has",o),Me(i,"has",l)),o===l?r.has(o):r.has(o)||r.has(l)},forEach(o,r){const i=this,l=i.__v_raw,a=de(l),d=t?Ds:e?nn:rt;return!e&&Me(a,"iterate",Bt),l.forEach((c,p)=>o.call(r,d(c),d(p),i))}};return De(n,e?{add:jn("add"),set:jn("set"),delete:jn("delete"),clear:jn("clear")}:{add(o){const r=de(this),i=Vn(r),l=de(o),a=!t&&!et(o)&&!kt(o)?l:o;return i.has.call(r,a)||pt(o,a)&&i.has.call(r,o)||pt(l,a)&&i.has.call(r,l)||(r.add(a),wt(r,"add",a,a)),this},set(o,r){!t&&!et(r)&&!kt(r)&&(r=de(r));const i=de(this),{has:l,get:a}=Vn(i);let d=l.call(i,o);d||(o=de(o),d=l.call(i,o));const c=a.call(i,o);return i.set(o,r),d?pt(r,c)&&wt(i,"set",o,r):wt(i,"add",o,r),this},delete(o){const r=de(this),{has:i,get:l}=Vn(r);let a=i.call(r,o);a||(o=de(o),a=i.call(r,o)),l&&l.call(r,o);const d=r.delete(o);return a&&wt(r,"delete",o,void 0),d},clear(){const o=de(this),r=o.size!==0,i=o.clear();return r&&wt(o,"clear",void 0,void 0),i}}),["keys","values","entries",Symbol.iterator].forEach(o=>{n[o]=ll(o,e,t)}),n}function eo(e,t){const n=al(e,t);return(s,o,r)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?s:Reflect.get(pe(n,o)&&o in s?n:s,o,r)}const ul={get:eo(!1,!1)},cl={get:eo(!1,!0)},fl={get:eo(!0,!1)};const Tr=new WeakMap,$r=new WeakMap,Nr=new WeakMap,dl=new WeakMap;function pl(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function as(e){return kt(e)?e:to(e,!1,ol,ul,Tr)}function Dr(e){return to(e,!1,il,cl,$r)}function Ms(e){return to(e,!0,rl,fl,Nr)}function to(e,t,n,s,o){if(!me(e)||e.__v_raw&&!(t&&e.__v_isReactive)||e.__v_skip||!Object.isExtensible(e))return e;const r=o.get(e);if(r)return r;const i=pl(Ui(e));if(i===0)return e;const l=new Proxy(e,i===2?s:n);return o.set(e,l),l}function Kt(e){return kt(e)?Kt(e.__v_raw):!!(e&&e.__v_isReactive)}function kt(e){return!!(e&&e.__v_isReadonly)}function et(e){return!!(e&&e.__v_isShallow)}function no(e){return e?!!e.__v_raw:!1}function de(e){const t=e&&e.__v_raw;return t?de(t):e}function hl(e){return!pe(e,"__v_skip")&&Object.isExtensible(e)&&vr(e,"__v_skip",!0),e}const rt=e=>me(e)?as(e):e,nn=e=>me(e)?Ms(e):e;function je(e){return e?e.__v_isRef===!0:!1}function Q(e){return Mr(e,!1)}function ml(e){return Mr(e,!0)}function Mr(e,t){return je(e)?e:new gl(e,t)}class gl{constructor(t,n){this.dep=new Zs,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:de(t),this._value=n?t:rt(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,s=this.__v_isShallow||et(t)||kt(t);t=s?t:de(t),pt(t,n)&&(this._rawValue=t,this._value=s?t:rt(t),this.dep.trigger())}}function Pe(e){return je(e)?e.value:e}const vl={get:(e,t,n)=>t==="__v_raw"?e:Pe(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const o=e[t];return je(o)&&!je(n)?(o.value=n,!0):Reflect.set(e,t,n,s)}};function Vr(e){return Kt(e)?e:new Proxy(e,vl)}class bl{constructor(t,n,s){this.fn=t,this.setter=n,this._value=void 0,this.dep=new Zs(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Cn-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=s}notify(){if(this.flags|=16,!(this.flags&8)&&be!==this)return Cr(this,!0),!0}get value(){const t=this.dep.track();return Ar(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function xl(e,t,n=!1){let s,o;return ee(e)?s=e:(s=e.get,o=e.set),new bl(s,o,n)}const Un={},Wn=new WeakMap;let Ft;function _l(e,t=!1,n=Ft){if(n){let s=Wn.get(n);s||Wn.set(n,s=[]),s.push(e)}}function yl(e,t,n=ve){const{immediate:s,deep:o,once:r,scheduler:i,augmentJob:l,call:a}=n,d=P=>o?P:et(P)||o===!1||o===0?Ct(P,1):Ct(P);let c,p,g,b,U=!1,T=!1;if(je(e)?(p=()=>e.value,U=et(e)):Kt(e)?(p=()=>d(e),U=!0):Y(e)?(T=!0,U=e.some(P=>Kt(P)||et(P)),p=()=>e.map(P=>{if(je(P))return P.value;if(Kt(P))return d(P);if(ee(P))return a?a(P,2):P()})):ee(e)?t?p=a?()=>a(e,2):e:p=()=>{if(g){St();try{g()}finally{At()}}const P=Ft;Ft=c;try{return a?a(e,3,[b]):e(b)}finally{Ft=P}}:p=mt,t&&o){const P=p,S=o===!0?1/0:o;p=()=>Ct(P(),S)}const q=Qi(),B=()=>{c.stop(),q&&q.active&&Ws(q.effects,c)};if(r&&t){const P=t;t=(...S)=>{const D=P(...S);return B(),D}}let N=T?new Array(e.length).fill(Un):Un;const K=P=>{if(!(!(c.flags&1)||!c.dirty&&!P))if(t){const S=c.run();if(P||o||U||(T?S.some((D,Z)=>pt(D,N[Z])):pt(S,N))){g&&g();const D=Ft;Ft=c;try{const Z=[S,N===Un?void 0:T&&N[0]===Un?[]:N,b];N=S,a?a(t,3,Z):t(...Z)}finally{Ft=D}}}else c.run()};return l&&l(K),c=new yr(p),c.scheduler=i?()=>i(K,!1):K,b=P=>_l(P,!1,c),g=c.onStop=()=>{const P=Wn.get(c);if(P){if(a)a(P,4);else for(const S of P)S();Wn.delete(c)}},t?s?K(!0):N=c.run():i?i(K.bind(null,!0),!0):c.run(),B.pause=c.pause.bind(c),B.resume=c.resume.bind(c),B.stop=B,B}function Ct(e,t=1/0,n){if(t<=0||!me(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,je(e))Ct(e.value,t,n);else if(Y(e))for(let s=0;s{Ct(s,t,n)});else if(gr(e)){for(const s in e)Ct(e[s],t,n);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&Ct(e[s],t,n)}return e}/** * @vue/runtime-core v3.5.41 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/function Nn(e,t,n,s){try{return s?e(...s):e()}catch(o){us(o,t,n)}}function it(e,t,n,s){if(ee(e)){const o=Nn(e,t,n,s);return o&&hr(o)&&o.catch(r=>{us(r,t,n)}),o}if(Q(e)){const o=[];for(let r=0;r>>1,o=He[s],r=Sn(o);r=Sn(n)?He.push(e):He.splice(wl(t),0,e),e.flags|=1,Ur()}}function Ur(){zn||(zn=jr.then(Fr))}function Cl(e){if(!Q(e))Tt&&e.id===-1?Tt.splice(zt+1,0,e):e.flags&1||(Xt.push(e),e.flags|=1);else for(let t=0;tSn(n)-Sn(s));if(Xt.length=0,Tt){for(let n=0;ne.id==null?e.flags&2?-1:1/0:e.id;function Fr(e){try{for(ct=0;ct{s._d&&Xn(-1);const r=Jn(t),i=Et.length;let l;try{l=e(...o)}finally{for(let a=Et.length;a>i;a--)co();Jn(r),s._d&&Xn(1)}return l};return s._n=!0,s._c=!0,s._d=!0,s}function se(e,t){if(Ne===null)return e;const n=hs(Ne),s=e.dirs||(e.dirs=[]);for(let o=0;o1)return n&&ee(t)?t.call(s&&s.proxy):t}}const El=Symbol.for("v-scx"),Sl=()=>st(El);function Vt(e,t,n){return Br(e,t,n)}function Br(e,t,n=ve){const{immediate:s,deep:o,flush:r,once:i}=n,l=De({},n),a=t&&s||!t&&r!=="post";let d;if(In){if(r==="sync"){const b=Sl();d=b.__watcherHandles||(b.__watcherHandles=[])}else if(!a){const b=()=>{};return b.stop=mt,b.resume=mt,b.pause=mt,b}}const c=Ve;l.call=(b,U,T)=>it(b,c,U,T);let p=!1;r==="post"?l.scheduler=b=>{qe(b,c&&c.suspense)}:r!=="sync"&&(p=!0,l.scheduler=(b,U)=>{U?b():oo(b)}),l.augmentJob=b=>{t&&(b.flags|=4),p&&(b.flags|=2,c&&(b.id=c.uid,b.i=c))};const g=_l(e,t,l);return In&&(d?d.push(g):a&&g()),g}function Al(e,t,n){const s=this.proxy,o=Ee(e)?e.includes(".")?Kr(s,e):()=>s[e]:e.bind(s,s);let r;ee(t)?r=t:(r=t.handler,n=t);const i=Mn(this),l=Br(o,r.bind(s),n);return i(),l}function Kr(e,t){const n=t.split(".");return()=>{let s=e;for(let o=0;oe.__isTeleport,ws=Symbol("_leaveCb");function Rl(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==gt){t=n;break}}return t}function Gr(e){if(!io(e))return cs(e.type)&&e.children?Rl(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&ee(n.default))return n.default()}}function ro(e,t){if(e.shapeFlag&6&&e.component){e.transition=t;const n=e.component.subTree;ro(cs(n.type)&&Gr(n)||n,t)}else e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function qr(e,t){return ee(e)?De({name:e.name},t,{setup:e}):e}function Wr(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function Co(e,t){let n;return!!((n=Object.getOwnPropertyDescriptor(e,t))&&!n.configurable)}const Yn=new WeakMap;function _n(e,t,n,s,o=!1){if(Q(e)){e.forEach((T,G)=>_n(T,t&&(Q(t)?t[G]:t),n,s,o));return}if(Zt(s)&&!o){s.shapeFlag&512&&s.type.__asyncResolved&&s.component.subTree.component&&_n(e,t,n,s.component.subTree);return}const r=s.shapeFlag&4?hs(s.component):s.el,i=o?null:r,{i:l,r:a}=e,d=t&&t.r,c=l.refs===ve?l.refs={}:l.refs,p=l.setupState,g=de(p),b=p===ve?pr:T=>Co(c,T)?!1:pe(g,T),U=(T,G)=>!(G&&Co(c,G));if(d!=null&&d!==a){if(Eo(t),Ee(d))c[d]=null,b(d)&&(p[d]=null);else if(je(d)){const T=t;U(d,T.k)&&(d.value=null),T.k&&(c[T.k]=null)}}if(ee(a))Nn(a,l,12,[i,c]);else{const T=Ee(a),G=je(a);if(T||G){const B=()=>{if(e.f){const N=T?b(a)?p[a]:c[a]:U()||!e.k?a.value:c[e.k];if(o)Q(N)&&Ws(N,r);else if(Q(N))N.includes(r)||N.push(r);else if(T)c[a]=[r],b(a)&&(p[a]=c[a]);else{const K=[r];U(a,e.k)&&(a.value=K),e.k&&(c[e.k]=K)}}else T?(c[a]=i,b(a)&&(p[a]=i)):G&&(U(a,e.k)&&(a.value=i),e.k&&(c[e.k]=i))};if(i){const N=()=>{B(),Yn.delete(e)};N.id=-1,Yn.set(e,N),qe(N,n)}else Eo(e),B()}}}function Eo(e){const t=Yn.get(e);t&&(t.flags|=8,Yn.delete(e))}is().requestIdleCallback;is().cancelIdleCallback;const Zt=e=>!!e.type.__asyncLoader,io=e=>e.type.__isKeepAlive;function Il(e,t){zr(e,"a",t)}function Pl(e,t){zr(e,"da",t)}function zr(e,t,n=Ve){const s=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(fs(t,s,n),n){let o=n.parent;for(;o&&o.parent;)io(o.parent.vnode)&&Ol(s,t,n,o),o=o.parent}}function Ol(e,t,n,s){const o=fs(t,e,s,!0);Jr(()=>{Ws(s[t],o)},n)}function fs(e,t,n=Ve,s=!1){if(n){const o=n[e]||(n[e]=[]),r=t.__weh||(t.__weh=(...i)=>{St();const l=Mn(n),a=it(t,n,e,i);return l(),At(),a});return s?o.unshift(r):o.push(r),r}}const Rt=e=>(t,n=Ve)=>{(!In||e==="sp")&&fs(e,(...s)=>t(...s),n)},Tl=Rt("bm"),lo=Rt("m"),$l=Rt("bu"),Nl=Rt("u"),Dl=Rt("bum"),Jr=Rt("um"),Ml=Rt("sp"),Vl=Rt("rtg"),jl=Rt("rtc");function Ul(e,t=Ve){fs("ec",e,t)}const Ll="components";function Dn(e,t){return Hl(Ll,e,!0,t)||e}const Fl=Symbol.for("v-ndc");function Hl(e,t,n=!0,s=!1){const o=Ne||Ve;if(o){const r=o.type;{const l=Ra(r,!1);if(l&&(l===t||l===Ke(t)||l===os(Ke(t))))return r}const i=So(o[e]||r[e],t)||So(o.appContext[e],t);return!i&&s?r:i}}function So(e,t){return e&&(e[t]||e[Ke(t)]||e[os(Ke(t))])}function Oe(e,t,n,s){let o;const r=n,i=Q(e);if(i||Ee(e)){const l=i&&Kt(e);let a=!1,d=!1;l&&(a=!et(e),d=kt(e),e=ls(e)),o=new Array(e.length);for(let c=0,p=e.length;ct(l,a,void 0,r));else{const l=Object.keys(e);o=new Array(l.length);for(let a=0,d=l.length;a0;return R(),sn(ce,null,[Ce("slot",d,s)],c?-2:64)}let i=e[t];i&&i._c&&(i._d=!1);const l=Et.length;R();let a;try{const d=i&&Yr(i(n)),c=n.key||r||d&&d.key;a=sn(ce,{key:(c&&!ot(c)?c:`_${t}`)+(!d&&s?"_fb":"")},d||(s?s():[]),d&&e._===1?64:-2)}catch(d){for(let c=Et.length;c>l;c--)co();throw d}finally{i&&i._c&&(i._d=!0)}return a.scopeId&&(a.slotScopeIds=[a.scopeId+"-s"]),a}function Yr(e){return e.some(t=>kn(t)?!(t.type===gt||t.type===ce&&!Yr(t.children)):!0)?e:null}const Vs=e=>e?gi(e)?hs(e):Vs(e.parent):null,yn=De(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Vs(e.parent),$root:e=>Vs(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Xr(e),$forceUpdate:e=>e.f||(e.f=()=>{oo(e.update)}),$nextTick:e=>e.n||(e.n=so.bind(e.proxy)),$watch:e=>Al.bind(e)}),Cs=(e,t)=>e!==ve&&!e.__isScriptSetup&&pe(e,t),Kl={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:s,data:o,props:r,accessCache:i,type:l,appContext:a}=e;if(t[0]!=="$"){const g=i[t];if(g!==void 0)switch(g){case 1:return s[t];case 2:return o[t];case 4:return n[t];case 3:return r[t]}else{if(Cs(s,t))return i[t]=1,s[t];if(o!==ve&&pe(o,t))return i[t]=2,o[t];if(pe(r,t))return i[t]=3,r[t];if(n!==ve&&pe(n,t))return i[t]=4,n[t];js&&(i[t]=0)}}const d=yn[t];let c,p;if(d)return t==="$attrs"&&Me(e.attrs,"get",""),d(e);if((c=l.__cssModules)&&(c=c[t]))return c;if(n!==ve&&pe(n,t))return i[t]=4,n[t];if(p=a.config.globalProperties,pe(p,t))return p[t]},set({_:e},t,n){const{data:s,setupState:o,ctx:r}=e;return Cs(o,t)?(o[t]=n,!0):s!==ve&&pe(s,t)?(s[t]=n,!0):pe(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(r[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:o,props:r,type:i}},l){let a;return!!(n[l]||e!==ve&&l[0]!=="$"&&pe(e,l)||Cs(t,l)||pe(r,l)||pe(s,l)||pe(yn,l)||pe(o.config.globalProperties,l)||(a=i.__cssModules)&&a[l])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:pe(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Ao(e){return Q(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let js=!0;function Gl(e){const t=Xr(e),n=e.proxy,s=e.ctx;js=!1,t.beforeCreate&&ko(t.beforeCreate,e,"bc");const{data:o,computed:r,methods:i,watch:l,provide:a,inject:d,created:c,beforeMount:p,mounted:g,beforeUpdate:b,updated:U,activated:T,deactivated:G,beforeDestroy:B,beforeUnmount:N,destroyed:K,unmounted:P,render:S,renderTracked:D,renderTriggered:Z,errorCaptured:_,serverPrefetch:V,expose:ke,inheritAttrs:J,components:tt,directives:Ye,filters:jt}=t;if(d&&ql(d,s,null),i)for(const le in i){const oe=i[le];ee(oe)&&(s[le]=oe.bind(n))}if(o){const le=o.call(n,n);me(le)&&(e.data=as(le))}if(js=!0,r)for(const le in r){const oe=r[le],ne=ee(oe)?oe.bind(n,n):ee(oe.get)?oe.get.bind(n,n):mt,We=!ee(oe)&&ee(oe.set)?oe.set.bind(n):mt,Qe=xe({get:ne,set:We});Object.defineProperty(s,le,{enumerable:!0,configurable:!0,get:()=>Qe.value,set:Te=>Qe.value=Te})}if(l)for(const le in l)Qr(l[le],s,n,le);if(a){const le=ee(a)?a.call(n):a;Reflect.ownKeys(le).forEach(oe=>{Kn(oe,le[oe])})}c&&ko(c,e,"c");function Ae(le,oe){Q(oe)?oe.forEach(ne=>le(ne.bind(n))):oe&&le(oe.bind(n))}if(Ae(Tl,p),Ae(lo,g),Ae($l,b),Ae(Nl,U),Ae(Il,T),Ae(Pl,G),Ae(Ul,_),Ae(jl,D),Ae(Vl,Z),Ae(Dl,N),Ae(Jr,P),Ae(Ml,V),Q(ke))if(ke.length){const le=e.exposed||(e.exposed={});ke.forEach(oe=>{Object.defineProperty(le,oe,{get:()=>n[oe],set:ne=>n[oe]=ne,enumerable:!0})})}else e.exposed||(e.exposed={});S&&e.render===mt&&(e.render=S),J!=null&&(e.inheritAttrs=J),tt&&(e.components=tt),Ye&&(e.directives=Ye),V&&Wr(e)}function ql(e,t,n=mt){Q(e)&&(e=Us(e));for(const s in e){const o=e[s];let r;me(o)?"default"in o?r=st(o.from||s,o.default,!0):r=st(o.from||s):r=st(o),je(r)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>r.value,set:i=>r.value=i}):t[s]=r}}function ko(e,t,n){it(Q(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function Qr(e,t,n,s){let o=s.includes(".")?Kr(n,s):()=>n[s];if(Ee(e)){const r=t[e];ee(r)&&Vt(o,r)}else if(ee(e))Vt(o,e.bind(n));else if(me(e))if(Q(e))e.forEach(r=>Qr(r,t,n,s));else{const r=ee(e.handler)?e.handler.bind(n):t[e.handler];ee(r)&&Vt(o,r,e)}}function Xr(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:o,optionsCache:r,config:{optionMergeStrategies:i}}=e.appContext,l=r.get(t);let a;return l?a=l:!o.length&&!n&&!s?a=t:(a={},o.length&&o.forEach(d=>Qn(a,d,i,!0)),Qn(a,t,i)),me(t)&&r.set(t,a),a}function Qn(e,t,n,s=!1){const{mixins:o,extends:r}=t;r&&Qn(e,r,n,!0),o&&o.forEach(i=>Qn(e,i,n,!0));for(const i in t)if(!(s&&i==="expose")){const l=Wl[i]||n&&n[i];e[i]=l?l(e[i],t[i]):t[i]}return e}const Wl={data:Ro,props:Io,emits:Io,methods:hn,computed:hn,beforeCreate:Le,created:Le,beforeMount:Le,mounted:Le,beforeUpdate:Le,updated:Le,beforeDestroy:Le,beforeUnmount:Le,destroyed:Le,unmounted:Le,activated:Le,deactivated:Le,errorCaptured:Le,serverPrefetch:Le,components:hn,directives:hn,watch:Jl,provide:Ro,inject:zl};function Ro(e,t){return t?e?function(){return De(ee(e)?e.call(this,this):e,ee(t)?t.call(this,this):t)}:t:e}function zl(e,t){return hn(Us(e),Us(t))}function Us(e){if(Q(e)){const t={};for(let n=0;nt==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Ke(t)}Modifiers`]||e[`${qt(t)}Modifiers`];function Zl(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||ve;let o=n;const r=t.startsWith("update:"),i=r&&Xl(s,t.slice(7));i&&(i.trim&&(o=n.map(c=>Ee(c)?c.trim():c)),i.number&&(o=n.map(rs)));let l,a=s[l=vs(t)]||s[l=vs(Ke(t))];!a&&r&&(a=s[l=vs(qt(t))]),a&&it(a,e,6,o);const d=s[l+"Once"];if(d){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,it(d,e,6,o)}}const ea=new WeakMap;function ei(e,t,n=!1){const s=n?ea:t.emitsCache,o=s.get(e);if(o!==void 0)return o;const r=e.emits;let i={},l=!1;if(!ee(e)){const a=d=>{const c=ei(d,t,!0);c&&(l=!0,De(i,c))};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}return!r&&!l?(me(e)&&s.set(e,null),null):(Q(r)?r.forEach(a=>i[a]=null):De(i,r),me(e)&&s.set(e,i),i)}function ds(e,t){return!e||!ts(t)?!1:(t=t.slice(2),t=t==="Once"?t:t.replace(/Once$/,""),pe(e,t[0].toLowerCase()+t.slice(1))||pe(e,qt(t))||pe(e,t))}function Po(e){const{type:t,vnode:n,proxy:s,withProxy:o,propsOptions:[r],slots:i,attrs:l,emit:a,render:d,renderCache:c,props:p,data:g,setupState:b,ctx:U,inheritAttrs:T}=e,G=Jn(e);let B,N;try{if(n.shapeFlag&4){const P=o||s,S=P;B=dt(d.call(S,P,c,p,b,g,U)),N=l}else{const P=t;B=dt(P.length>1?P(p,{attrs:l,slots:i,emit:a}):P(p,null)),N=t.props?l:ta(l)}}catch(P){Et.length=0,us(P,e,1),B=Ce(gt)}let K=B;if(N&&T!==!1){const P=Object.keys(N),{shapeFlag:S}=K;P.length&&S&7&&(r&&P.some(ns)&&(N=na(N,r)),K=on(K,N,!1,!0))}if(n.dirs&&(K=on(K,null,!1,!0),K.dirs=K.dirs?K.dirs.concat(n.dirs):n.dirs),n.transition){const P=cs(K.type)&&Gr(K)||K;ro(P,n.transition)}return B=K,Jn(G),B}const ta=e=>{let t;for(const n in e)(n==="class"||n==="style"||ts(n))&&((t||(t={}))[n]=e[n]);return t},na=(e,t)=>{const n={};for(const s in e)(!ns(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function sa(e,t,n){const{props:s,children:o,component:r}=e,{props:i,children:l,patchFlag:a}=t,d=r.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&a>=0){if(a&1024)return!0;if(a&16)return s?Oo(s,i,d):!!i;if(a&8){const c=t.dynamicProps;for(let p=0;pObject.create(ni),oi=e=>Object.getPrototypeOf(e)===ni;function ra(e,t,n,s=!1){const o={},r=si();e.propsDefaults=Object.create(null),ri(e,t,o,r);for(const i in e.propsOptions[0])i in o||(o[i]=void 0);n?e.props=s?o:Dr(o):e.type.props?e.props=o:e.props=r,e.attrs=r}function ia(e,t,n,s){const{props:o,attrs:r,vnode:{patchFlag:i}}=e,l=de(o),[a]=e.propsOptions;let d=!1;if((s||i>0)&&!(i&16)){if(i&8){const c=e.vnode.dynamicProps;for(let p=0;p{a=!0;const[g,b]=ii(p,t,!0);De(i,g),b&&l.push(...b)};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}if(!r&&!a)return me(e)&&s.set(e,Yt),Yt;if(Q(r))for(let c=0;ce==="_"||e==="_ctx"||e==="$stable",uo=e=>Q(e)?e.map(dt):[dt(e)],aa=(e,t,n)=>{if(t._n)return t;const s=Mt((...o)=>uo(t(...o)),n);return s._c=!1,s},li=(e,t,n)=>{const s=e._ctx;for(const o in e){if(ao(o))continue;const r=e[o];if(ee(r))t[o]=aa(o,r,s);else if(r!=null){const i=uo(r);t[o]=()=>i}}},ai=(e,t)=>{const n=uo(t);e.slots.default=()=>n},ui=(e,t,n)=>{for(const s in t)(n||!ao(s))&&(e[s]=t[s])},ua=(e,t,n)=>{const s=e.slots=si();if(e.vnode.shapeFlag&32){const o=t._;o?(ui(s,t,n),n&&vr(s,"_",o,!0)):li(t,s)}else t&&ai(e,t)},ca=(e,t,n)=>{const{vnode:s,slots:o}=e;let r=!0,i=ve;if(s.shapeFlag&32){const l=t._;l?n&&l===1?r=!1:ui(o,t,n):(r=!t.$stable,li(t,o)),i=t}else t&&(ai(e,t),i={default:1});if(r)for(const l in o)!ao(l)&&i[l]==null&&delete o[l]},qe=ma;function fa(e){return da(e)}function da(e,t){const n=is();n.__VUE__=!0;const{insert:s,remove:o,patchProp:r,createElement:i,createText:l,createComment:a,setText:d,setElementText:c,parentNode:p,nextSibling:g,setScopeId:b=mt,insertStaticContent:U}=e,T=(f,h,m,w=null,A=null,y=null,j=void 0,$=null,O=!!h.dynamicChildren)=>{if(f===h)return;f&&!dn(f,h)&&(w=E(f),Te(f,A,y,!0),f=null),h.patchFlag===-2&&(O=!1,h.dynamicChildren=null);const{type:k,ref:z,shapeFlag:F}=h;switch(k){case ps:G(f,h,m,w);break;case gt:B(f,h,m,w);break;case Gn:f==null&&N(h,m,w,j);break;case ce:tt(f,h,m,w,A,y,j,$,O);break;default:F&1?S(f,h,m,w,A,y,j,$,O):F&6?Ye(f,h,m,w,A,y,j,$,O):(F&64||F&128)&&k.process(f,h,m,w,A,y,j,$,O,W)}z!=null&&A?_n(z,f&&f.ref,y,h||f,!h):z==null&&f&&f.ref!=null&&_n(f.ref,null,y,f,!0)},G=(f,h,m,w)=>{if(f==null)s(h.el=l(h.children),m,w);else{const A=h.el=f.el;h.children!==f.children&&d(A,h.children)}},B=(f,h,m,w)=>{f==null?s(h.el=a(h.children||""),m,w):h.el=f.el},N=(f,h,m,w)=>{[f.el,f.anchor]=U(f.children,h,m,w,f.el,f.anchor)},K=({el:f,anchor:h},m,w)=>{let A;for(;f&&f!==h;)A=g(f),s(f,m,w),f=A;s(h,m,w)},P=({el:f,anchor:h})=>{let m;for(;f&&f!==h;)m=g(f),o(f),f=m;o(h)},S=(f,h,m,w,A,y,j,$,O)=>{if(h.type==="svg"?j="svg":h.type==="math"&&(j="mathml"),f==null)D(h,m,w,A,y,j,$,O);else{const k=f.el&&f.el._isVueCE?f.el:null;try{k&&k._beginPatch(),V(f,h,A,y,j,$,O)}finally{k&&k._endPatch()}}},D=(f,h,m,w,A,y,j,$)=>{let O,k;const{props:z,shapeFlag:F,transition:q,dirs:X}=f;if(O=f.el=i(f.type,y,z&&z.is,z),F&8?c(O,f.children):F&16&&_(f.children,O,null,w,A,Es(f,y),j,$),X&&Ut(f,null,w,"created"),Z(O,f,f.scopeId,j,w),z){for(const he in z)he!=="value"&&!vn(he)&&r(O,he,null,z[he],y,w);"value"in z&&r(O,"value",null,z.value,y),(k=z.onVnodeBeforeMount)&&ut(k,w,f)}X&&Ut(f,null,w,"beforeMount");const ie=pa(A,q);ie&&q.beforeEnter(O),s(O,h,m),((k=z&&z.onVnodeMounted)||ie||X)&&qe(()=>{try{k&&ut(k,w,f),ie&&q.enter(O),X&&Ut(f,null,w,"mounted")}finally{}},A)},Z=(f,h,m,w,A)=>{if(m&&b(f,m),w)for(let y=0;y{for(let k=O;k{const $=h.el=f.el;let{patchFlag:O,dynamicChildren:k,dirs:z}=h;O|=f.patchFlag&16;const F=f.props||ve,q=h.props||ve;let X;if(m&&Lt(m,!1),(X=q.onVnodeBeforeUpdate)&&ut(X,m,h,f),z&&Ut(h,f,m,"beforeUpdate"),m&&Lt(m,!0),k&&(!f.dynamicChildren||f.dynamicChildren.length!==k.length)&&(O=0,j=!1,k=null),(F.innerHTML&&q.innerHTML==null||F.textContent&&q.textContent==null)&&c($,""),k?ke(f.dynamicChildren,k,$,m,w,Es(h,A),y):j||oe(f,h,$,null,m,w,Es(h,A),y,!1),O>0){if(O&16)J($,F,q,m,A);else if(O&2&&F.class!==q.class&&r($,"class",null,q.class,A),O&4&&r($,"style",F.style,q.style,A),O&8){const ie=h.dynamicProps;for(let he=0;he{X&&ut(X,m,h,f),z&&Ut(h,f,m,"updated")},w)},ke=(f,h,m,w,A,y,j)=>{for(let $=0;${if(h!==m){if(h!==ve)for(const y in h)!vn(y)&&!(y in m)&&r(f,y,h[y],null,A,w);for(const y in m){if(vn(y))continue;const j=m[y],$=h[y];j!==$&&y!=="value"&&r(f,y,$,j,A,w)}"value"in m&&r(f,"value",h.value,m.value,A)}},tt=(f,h,m,w,A,y,j,$,O)=>{const k=h.el=f?f.el:l(""),z=h.anchor=f?f.anchor:l("");let{patchFlag:F,dynamicChildren:q,slotScopeIds:X}=h;X&&($=$?$.concat(X):X),f==null?(s(k,m,w),s(z,m,w),_(h.children||[],m,z,A,y,j,$,O)):F>0&&F&64&&q&&f.dynamicChildren&&f.dynamicChildren.length===q.length?(ke(f.dynamicChildren,q,m,A,y,j,$),(h.key!=null||A&&h===A.subTree)&&ci(f,h,!0)):oe(f,h,m,z,A,y,j,$,O)},Ye=(f,h,m,w,A,y,j,$,O)=>{h.slotScopeIds=$,f==null?h.shapeFlag&512?A.ctx.activate(h,m,w,j,O):jt(h,m,w,A,y,j,O):It(f,h,O)},jt=(f,h,m,w,A,y,j)=>{const $=f.component=wa(f,w,A);if(io(f)&&($.ctx.renderer=W),Ea($,!1,j),$.asyncDep){if(A&&A.registerDep($,Ae,j),!f.el){const O=$.subTree=Ce(gt);B(null,O,h,m),f.placeholder=O.el}}else Ae($,f,h,m,A,y,j)},It=(f,h,m)=>{const w=h.component=f.component;if(sa(f,h,m))if(w.asyncDep&&!w.asyncResolved){le(w,h,m);return}else w.next=h,w.update();else h.el=f.el,w.vnode=h},Ae=(f,h,m,w,A,y,j)=>{const $=()=>{if(f.isMounted){let{next:F,bu:q,u:X,parent:ie,vnode:he}=f;{const ge=fi(f);if(ge){F&&(F.el=he.el,le(f,F,j)),ge.asyncDep.then(()=>{qe(()=>{f.isUnmounted||k()},A)});return}}let C=F,v;Lt(f,!1),F?(F.el=he.el,le(f,F,j)):F=he,q&&Bn(q),(v=F.props&&F.props.onVnodeBeforeUpdate)&&ut(v,ie,F,he),Lt(f,!0);const Se=Po(f),x=f.subTree;f.subTree=Se,T(x,Se,p(x.el),E(x),f,A,y),F.el=Se.el,C===null&&oa(f,Se.el),X&&qe(X,A),(v=F.props&&F.props.onVnodeUpdated)&&qe(()=>ut(v,ie,F,he),A)}else{let F;const{el:q,props:X}=h,{bm:ie,m:he,parent:C,root:v,type:Se}=f,x=Zt(h);Lt(f,!1),ie&&Bn(ie),!x&&(F=X&&X.onVnodeBeforeMount)&&ut(F,C,h),Lt(f,!0);{v.ce&&v.ce._hasShadowRoot()&&v.ce._injectChildStyle(Se,f.parent?f.parent.type:void 0);const ge=f.subTree=Po(f);T(null,ge,m,w,f,A,y),h.el=ge.el}if(he&&qe(he,A),!x&&(F=X&&X.onVnodeMounted)){const ge=h;qe(()=>ut(F,C,ge),A)}(h.shapeFlag&256||C&&Zt(C.vnode)&&C.vnode.shapeFlag&256)&&f.a&&qe(f.a,A),f.isMounted=!0,h=m=w=null}};f.scope.on();const O=f.effect=new yr($);f.scope.off();const k=f.update=O.run.bind(O),z=f.job=O.runIfDirty.bind(O);z.i=f,z.id=f.uid,O.scheduler=()=>oo(z),Lt(f,!0),k()},le=(f,h,m)=>{h.component=f;const w=f.vnode.props;f.vnode=h,f.next=null,ia(f,h.props,w,m),ca(f,h.children,m),St(),wo(f),At()},oe=(f,h,m,w,A,y,j,$,O=!1)=>{const k=f&&f.children,z=f?f.shapeFlag:0,F=h.children,{patchFlag:q,shapeFlag:X}=h;if(q>0){if(q&128){We(k,F,m,w,A,y,j,$,O);return}else if(q&256){ne(k,F,m,w,A,y,j,$,O);return}}X&8?(z&16&&Ge(k,A,y),F!==k&&c(m,F)):z&16?X&16?We(k,F,m,w,A,y,j,$,O):Ge(k,A,y,!0):(z&8&&c(m,""),X&16&&_(F,m,w,A,y,j,$,O))},ne=(f,h,m,w,A,y,j,$,O)=>{f=f||Yt,h=h||Yt;const k=f.length,z=h.length,F=Math.min(k,z);let q;for(q=0;qz?Ge(f,A,y,!0,!1,F):_(h,m,w,A,y,j,$,O,F)},We=(f,h,m,w,A,y,j,$,O)=>{let k=0;const z=h.length;let F=f.length-1,q=z-1;for(;k<=F&&k<=q;){const X=f[k],ie=h[k]=O?yt(h[k]):dt(h[k]);if(dn(X,ie))T(X,ie,m,null,A,y,j,$,O);else break;k++}for(;k<=F&&k<=q;){const X=f[F],ie=h[q]=O?yt(h[q]):dt(h[q]);if(dn(X,ie))T(X,ie,m,null,A,y,j,$,O);else break;F--,q--}if(k>F){if(k<=q){const X=q+1,ie=Xq)for(;k<=F;)Te(f[k],A,y,!0),k++;else{const X=k,ie=k,he=new Map;for(k=ie;k<=q;k++){const ze=h[k]=O?yt(h[k]):dt(h[k]);ze.key!=null&&he.set(ze.key,k)}let C,v=0;const Se=q-ie+1;let x=!1,ge=0;const Ue=new Array(Se);for(k=0;k=Se){Te(ze,A,y,!0);continue}let at;if(ze.key!=null)at=he.get(ze.key);else for(C=ie;C<=q;C++)if(Ue[C-ie]===0&&dn(ze,h[C])){at=C;break}at===void 0?Te(ze,A,y,!0):(Ue[at-ie]=k+1,at>=ge?ge=at:x=!0,T(ze,h[at],m,null,A,y,j,$,O),v++)}const mo=x?ha(Ue):Yt;for(C=mo.length-1,k=Se-1;k>=0;k--){const ze=ie+k,at=h[ze],go=h[ze+1],vo=ze+1{const{el:y,type:j,transition:$,children:O,shapeFlag:k}=f;if(k&6){Qe(f.component.subTree,h,m,w);return}if(k&128){f.suspense.move(h,m,w);return}if(k&64){j.move(f,h,m,W);return}if(j===ce){s(y,h,m);for(let F=0;F$.enter(y),A));else{const{leave:F,delayLeave:q,afterLeave:X}=$,ie=()=>{f.ctx.isUnmounted?o(y):s(y,h,m)},he=()=>{const C=y._isLeaving||!!y[ws];y._isLeaving&&y[ws](!0),$.persisted&&!C?ie():F(y,()=>{ie(),X&&X()})};q?q(y,ie,he):he()}else s(y,h,m)},Te=(f,h,m,w=!1,A=!1)=>{const{type:y,props:j,ref:$,children:O,dynamicChildren:k,shapeFlag:z,patchFlag:F,dirs:q,cacheIndex:X,memo:ie}=f;if(F===-2&&(A=!1),$!=null&&(St(),_n($,null,m,f,!0),At()),X!=null&&(h.renderCache[X]=void 0),z&256){h.ctx.deactivate(f);return}const he=z&1&&q,C=!Zt(f);let v;if(C&&(v=j&&j.onVnodeBeforeUnmount)&&ut(v,h,f),z&6)Xe(f.component,m,w);else{if(z&128){f.suspense.unmount(m,w);return}he&&Ut(f,null,h,"beforeUnmount"),z&64?f.type.remove(f,h,m,W,w):k&&!k.hasOnce&&(y!==ce||F>0&&F&64)?Ge(k,h,m,!1,!0):(y===ce&&F&384||!A&&z&16)&&Ge(O,h,m),w&&Pt(f)}const Se=ie!=null&&X==null;(C&&(v=j&&j.onVnodeUnmounted)||he||Se)&&qe(()=>{v&&ut(v,h,f),he&&Ut(f,null,h,"unmounted"),Se&&(f.el=null)},m)},Pt=f=>{const{type:h,el:m,anchor:w,transition:A}=f;if(h===ce){vt(m,w);return}if(h===Gn){P(f);return}const y=()=>{o(m),A&&!A.persisted&&A.afterLeave&&A.afterLeave()};if(f.shapeFlag&1&&A&&!A.persisted){const{leave:j,delayLeave:$}=A,O=()=>j(m,y);$?$(f.el,y,O):O()}else y()},vt=(f,h)=>{let m;for(;f!==h;)m=g(f),o(f),f=m;o(h)},Xe=(f,h,m)=>{const{bum:w,scope:A,job:y,subTree:j,um:$,m:O,a:k}=f;$o(O),$o(k),w&&Bn(w),A.stop(),y&&(y.flags|=8,Te(j,f,h,m)),$&&qe($,h),qe(()=>{f.isUnmounted=!0},h)},Ge=(f,h,m,w=!1,A=!1,y=0)=>{for(let j=y;j{if(f.shapeFlag&6)return E(f.component.subTree);if(f.shapeFlag&128)return f.suspense.next();const h=g(f.anchor||f.el),m=h&&h[kl];return m?g(m):h};let H=!1;const L=(f,h,m)=>{let w;f==null?h._vnode&&(Te(h._vnode,null,null,!0),w=h._vnode.component):T(h._vnode||null,f,h,null,null,null,m),h._vnode=f,H||(H=!0,wo(w),Lr(),H=!1)},W={p:T,um:Te,m:Qe,r:Pt,mt:jt,mc:_,pc:oe,pbc:ke,n:E,o:e};return{render:L,hydrate:void 0,createApp:Ql(L)}}function Es({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function Lt({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function pa(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function ci(e,t,n=!1){const s=e.children,o=t.children;if(Q(s)&&Q(o))for(let r=0;r>1,e[n[l]]0&&(t[s]=n[r-1]),n[r]=s)}}for(r=n.length,i=n[r-1];r-- >0;)n[r]=i,i=t[i];return n}function fi(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:fi(t)}function $o(e){if(e)for(let t=0;te.__isSuspense;function ma(e,t){t&&t.pendingBranch?Q(e)?t.effects.push(...e):t.effects.push(e):Cl(e)}const ce=Symbol.for("v-fgt"),ps=Symbol.for("v-txt"),gt=Symbol.for("v-cmt"),Gn=Symbol.for("v-stc"),Et=[];let Je=null;function R(e=!1){Et.push(Je=e?null:[])}function co(){Et.pop(),Je=Et[Et.length-1]||null}let An=1;function Xn(e,t=!1){An+=e,e<0&&Je&&t&&(Je.hasOnce=!0)}function hi(e){return e.dynamicChildren=An>0?Je||Yt:null,co(),An>0&&Je&&Je.push(e),e}function I(e,t,n,s,o,r){return hi(u(e,t,n,s,o,r,!0))}function sn(e,t,n,s,o){return hi(Ce(e,t,n,s,o,!0))}function kn(e){return e?e.__v_isVNode===!0:!1}function dn(e,t){return e.type===t.type&&e.key===t.key}const mi=({key:e})=>e??null,qn=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Ee(e)||je(e)||ee(e)?{i:Ne,r:e,k:t,f:!!n}:e:null);function u(e,t=null,n=null,s=0,o=null,r=e===ce?0:1,i=!1,l=!1){const a={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&mi(t),ref:t&&qn(t),scopeId:Hr,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:r,patchFlag:s,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:Ne};return l?(Zn(a,n),r&128&&e.normalize(a)):n&&(a.shapeFlag|=Ee(n)?8:16),An>0&&!i&&Je&&(a.patchFlag>0||r&6)&&a.patchFlag!==32&&Je.push(a),a}const Ce=ga;function ga(e,t=null,n=null,s=0,o=null,r=!1){if((!e||e===Fl)&&(e=gt),kn(e)){const l=on(e,t,!0);return n&&Zn(l,n),An>0&&!r&&Je&&(l.shapeFlag&6?Je[Je.indexOf(e)]=l:Je.push(l)),l.patchFlag=-2,l}if(Ia(e)&&(e=e.__vccOpts),t){t=va(t);let{class:l,style:a}=t;l&&!Ee(l)&&(t.class=Ie(l)),me(a)&&(no(a)&&!Q(a)&&(a=De({},a)),t.style=Gt(a))}const i=Ee(e)?1:pi(e)?128:cs(e)?64:me(e)?4:ee(e)?2:0;return u(e,t,n,s,o,i,r,!0)}function va(e){return e?no(e)||oi(e)?De({},e):e:null}function on(e,t,n=!1,s=!1){const{props:o,ref:r,patchFlag:i,children:l,transition:a}=e,d=t?xa(o||{},t):o,c={__v_isVNode:!0,__v_skip:!0,type:e.type,props:d,key:d&&mi(d),ref:t&&t.ref?n&&r?Q(r)?r.concat(qn(t)):[r,qn(t)]:qn(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==ce?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:a,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&on(e.ssContent),ssFallback:e.ssFallback&&on(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return a&&s&&ro(c,a.clone(c)),c}function _e(e=" ",t=0){return Ce(ps,null,e,t)}function ba(e,t){const n=Ce(Gn,null,e);return n.staticCount=t,n}function te(e="",t=!1){return t?(R(),sn(gt,null,e)):Ce(gt,null,e)}function dt(e){return e==null||typeof e=="boolean"?Ce(gt):Q(e)?Ce(ce,null,e.slice()):kn(e)?yt(e):Ce(ps,null,String(e))}function yt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:on(e)}function Zn(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(Q(t))n=16;else if(typeof t=="object")if(s&65){const o=t.default;o&&(o._c&&(o._d=!1),Zn(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!oi(t)?t._ctx=Ne:o===3&&Ne&&(Ne.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else if(ee(t)){if(s&65){Zn(e,{default:t});return}t={default:t,_ctx:Ne},n=32}else t=String(t),s&64?(n=16,t=[_e(t)]):n=8;e.children=t,e.shapeFlag|=n}function xa(...e){const t={};for(let n=0;nVe||Ne;let es,Rn;{const e=is(),t=(n,s)=>{let o;return(o=e[n])||(o=e[n]=[]),o.push(s),r=>{o.length>1?o.forEach(i=>i(r)):o[0](r)}};es=t("__VUE_INSTANCE_SETTERS__",n=>Ve=n),Rn=t("__VUE_SSR_SETTERS__",n=>In=n)}const Mn=e=>{const t=Ve;return es(e),e.scope.on(),()=>{e.scope.off(),es(t)}},No=()=>{Ve&&Ve.scope.off(),es(null)};function gi(e){return e.vnode.shapeFlag&4}let In=!1;function Ea(e,t=!1,n=!1){t&&Rn(t);const{props:s,children:o}=e.vnode,r=gi(e);ra(e,s,r,t),ua(e,o,n||t);const i=r?Sa(e,t):void 0;return t&&Rn(!1),i}function Sa(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Kl);const{setup:s}=n;if(s){St();const o=e.setupContext=s.length>1?ka(e):null,r=Mn(e),i=Nn(s,e,0,[e.props,o]),l=hr(i);if(At(),r(),(l||e.sp)&&!Zt(e)&&Wr(e),l){if(i.then(No,No),t)return i.then(a=>{Rn(!0);try{Do(e,a,t)}finally{Rn(!1)}}).catch(a=>{us(a,e,0)});e.asyncDep=i}else Do(e,i)}else vi(e)}function Do(e,t,n){ee(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:me(t)&&(e.setupState=Vr(t)),vi(e)}function vi(e,t,n){const s=e.type;e.render||(e.render=s.render||mt);{const o=Mn(e);St();try{Gl(e)}finally{At(),o()}}}const Aa={get(e,t){return Me(e,"get",""),e[t]}};function ka(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Aa),slots:e.slots,emit:e.emit,expose:t}}function hs(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Vr(pl(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in yn)return yn[n](e)},has(t,n){return n in t||n in yn}})):e.proxy}function Ra(e,t=!0){return ee(e)?e.displayName||e.name:e.name||t&&e.__name}function Ia(e){return ee(e)&&"__vccOpts"in e}const xe=(e,t)=>bl(e,t,In);function bi(e,t,n){try{Xn(-1);const s=arguments.length;return s===2?me(t)&&!Q(t)?kn(t)?Ce(e,null,[t]):Ce(e,t):Ce(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&kn(n)&&(n=[n]),Ce(e,t,n))}finally{Xn(1)}}const Pa="3.5.41";/** +**/function Nn(e,t,n,s){try{return s?e(...s):e()}catch(o){us(o,t,n)}}function it(e,t,n,s){if(ee(e)){const o=Nn(e,t,n,s);return o&&hr(o)&&o.catch(r=>{us(r,t,n)}),o}if(Y(e)){const o=[];for(let r=0;r>>1,o=He[s],r=Sn(o);r=Sn(n)?He.push(e):He.splice(Cl(t),0,e),e.flags|=1,Ur()}}function Ur(){zn||(zn=jr.then(Fr))}function El(e){if(!Y(e))Tt&&e.id===-1?Tt.splice(zt+1,0,e):e.flags&1||(Xt.push(e),e.flags|=1);else for(let t=0;tSn(n)-Sn(s));if(Xt.length=0,Tt){for(let n=0;ne.id==null?e.flags&2?-1:1/0:e.id;function Fr(e){try{for(ct=0;ct{s._d&&Xn(-1);const r=Jn(t),i=Et.length;let l;try{l=e(...o)}finally{for(let a=Et.length;a>i;a--)co();Jn(r),s._d&&Xn(1)}return l};return s._n=!0,s._c=!0,s._d=!0,s}function se(e,t){if(Ne===null)return e;const n=hs(Ne),s=e.dirs||(e.dirs=[]);for(let o=0;o1)return n&&ee(t)?t.call(s&&s.proxy):t}}const Sl=Symbol.for("v-scx"),Al=()=>st(Sl);function Vt(e,t,n){return Br(e,t,n)}function Br(e,t,n=ve){const{immediate:s,deep:o,flush:r,once:i}=n,l=De({},n),a=t&&s||!t&&r!=="post";let d;if(In){if(r==="sync"){const b=Al();d=b.__watcherHandles||(b.__watcherHandles=[])}else if(!a){const b=()=>{};return b.stop=mt,b.resume=mt,b.pause=mt,b}}const c=Ve;l.call=(b,U,T)=>it(b,c,U,T);let p=!1;r==="post"?l.scheduler=b=>{Ge(b,c&&c.suspense)}:r!=="sync"&&(p=!0,l.scheduler=(b,U)=>{U?b():oo(b)}),l.augmentJob=b=>{t&&(b.flags|=4),p&&(b.flags|=2,c&&(b.id=c.uid,b.i=c))};const g=yl(e,t,l);return In&&(d?d.push(g):a&&g()),g}function kl(e,t,n){const s=this.proxy,o=Ee(e)?e.includes(".")?Kr(s,e):()=>s[e]:e.bind(s,s);let r;ee(t)?r=t:(r=t.handler,n=t);const i=Mn(this),l=Br(o,r.bind(s),n);return i(),l}function Kr(e,t){const n=t.split(".");return()=>{let s=e;for(let o=0;oe.__isTeleport,ws=Symbol("_leaveCb");function Il(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==gt){t=n;break}}return t}function qr(e){if(!io(e))return cs(e.type)&&e.children?Il(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&ee(n.default))return n.default()}}function ro(e,t){if(e.shapeFlag&6&&e.component){e.transition=t;const n=e.component.subTree;ro(cs(n.type)&&qr(n)||n,t)}else e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Gr(e,t){return ee(e)?De({name:e.name},t,{setup:e}):e}function Wr(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function Co(e,t){let n;return!!((n=Object.getOwnPropertyDescriptor(e,t))&&!n.configurable)}const Qn=new WeakMap;function _n(e,t,n,s,o=!1){if(Y(e)){e.forEach((T,q)=>_n(T,t&&(Y(t)?t[q]:t),n,s,o));return}if(Zt(s)&&!o){s.shapeFlag&512&&s.type.__asyncResolved&&s.component.subTree.component&&_n(e,t,n,s.component.subTree);return}const r=s.shapeFlag&4?hs(s.component):s.el,i=o?null:r,{i:l,r:a}=e,d=t&&t.r,c=l.refs===ve?l.refs={}:l.refs,p=l.setupState,g=de(p),b=p===ve?pr:T=>Co(c,T)?!1:pe(g,T),U=(T,q)=>!(q&&Co(c,q));if(d!=null&&d!==a){if(Eo(t),Ee(d))c[d]=null,b(d)&&(p[d]=null);else if(je(d)){const T=t;U(d,T.k)&&(d.value=null),T.k&&(c[T.k]=null)}}if(ee(a))Nn(a,l,12,[i,c]);else{const T=Ee(a),q=je(a);if(T||q){const B=()=>{if(e.f){const N=T?b(a)?p[a]:c[a]:U()||!e.k?a.value:c[e.k];if(o)Y(N)&&Ws(N,r);else if(Y(N))N.includes(r)||N.push(r);else if(T)c[a]=[r],b(a)&&(p[a]=c[a]);else{const K=[r];U(a,e.k)&&(a.value=K),e.k&&(c[e.k]=K)}}else T?(c[a]=i,b(a)&&(p[a]=i)):q&&(U(a,e.k)&&(a.value=i),e.k&&(c[e.k]=i))};if(i){const N=()=>{B(),Qn.delete(e)};N.id=-1,Qn.set(e,N),Ge(N,n)}else Eo(e),B()}}}function Eo(e){const t=Qn.get(e);t&&(t.flags|=8,Qn.delete(e))}is().requestIdleCallback;is().cancelIdleCallback;const Zt=e=>!!e.type.__asyncLoader,io=e=>e.type.__isKeepAlive;function Pl(e,t){zr(e,"a",t)}function Ol(e,t){zr(e,"da",t)}function zr(e,t,n=Ve){const s=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(fs(t,s,n),n){let o=n.parent;for(;o&&o.parent;)io(o.parent.vnode)&&Tl(s,t,n,o),o=o.parent}}function Tl(e,t,n,s){const o=fs(t,e,s,!0);Jr(()=>{Ws(s[t],o)},n)}function fs(e,t,n=Ve,s=!1){if(n){const o=n[e]||(n[e]=[]),r=t.__weh||(t.__weh=(...i)=>{St();const l=Mn(n),a=it(t,n,e,i);return l(),At(),a});return s?o.unshift(r):o.push(r),r}}const Rt=e=>(t,n=Ve)=>{(!In||e==="sp")&&fs(e,(...s)=>t(...s),n)},$l=Rt("bm"),lo=Rt("m"),Nl=Rt("bu"),Dl=Rt("u"),Ml=Rt("bum"),Jr=Rt("um"),Vl=Rt("sp"),jl=Rt("rtg"),Ul=Rt("rtc");function Ll(e,t=Ve){fs("ec",e,t)}const Fl="components";function Dn(e,t){return Bl(Fl,e,!0,t)||e}const Hl=Symbol.for("v-ndc");function Bl(e,t,n=!0,s=!1){const o=Ne||Ve;if(o){const r=o.type;{const l=Ra(r,!1);if(l&&(l===t||l===Ke(t)||l===os(Ke(t))))return r}const i=So(o[e]||r[e],t)||So(o.appContext[e],t);return!i&&s?r:i}}function So(e,t){return e&&(e[t]||e[Ke(t)]||e[os(Ke(t))])}function Oe(e,t,n,s){let o;const r=n,i=Y(e);if(i||Ee(e)){const l=i&&Kt(e);let a=!1,d=!1;l&&(a=!et(e),d=kt(e),e=ls(e)),o=new Array(e.length);for(let c=0,p=e.length;ct(l,a,void 0,r));else{const l=Object.keys(e);o=new Array(l.length);for(let a=0,d=l.length;a0;return R(),sn(ce,null,[Ce("slot",d,s)],c?-2:64)}let i=e[t];i&&i._c&&(i._d=!1);const l=Et.length;R();let a;try{const d=i&&Qr(i(n)),c=n.key||r||d&&d.key;a=sn(ce,{key:(c&&!ot(c)?c:`_${t}`)+(!d&&s?"_fb":"")},d||(s?s():[]),d&&e._===1?64:-2)}catch(d){for(let c=Et.length;c>l;c--)co();throw d}finally{i&&i._c&&(i._d=!0)}return a.scopeId&&(a.slotScopeIds=[a.scopeId+"-s"]),a}function Qr(e){return e.some(t=>kn(t)?!(t.type===gt||t.type===ce&&!Qr(t.children)):!0)?e:null}const Vs=e=>e?vi(e)?hs(e):Vs(e.parent):null,yn=De(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Vs(e.parent),$root:e=>Vs(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Xr(e),$forceUpdate:e=>e.f||(e.f=()=>{oo(e.update)}),$nextTick:e=>e.n||(e.n=so.bind(e.proxy)),$watch:e=>kl.bind(e)}),Cs=(e,t)=>e!==ve&&!e.__isScriptSetup&&pe(e,t),ql={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:s,data:o,props:r,accessCache:i,type:l,appContext:a}=e;if(t[0]!=="$"){const g=i[t];if(g!==void 0)switch(g){case 1:return s[t];case 2:return o[t];case 4:return n[t];case 3:return r[t]}else{if(Cs(s,t))return i[t]=1,s[t];if(o!==ve&&pe(o,t))return i[t]=2,o[t];if(pe(r,t))return i[t]=3,r[t];if(n!==ve&&pe(n,t))return i[t]=4,n[t];js&&(i[t]=0)}}const d=yn[t];let c,p;if(d)return t==="$attrs"&&Me(e.attrs,"get",""),d(e);if((c=l.__cssModules)&&(c=c[t]))return c;if(n!==ve&&pe(n,t))return i[t]=4,n[t];if(p=a.config.globalProperties,pe(p,t))return p[t]},set({_:e},t,n){const{data:s,setupState:o,ctx:r}=e;return Cs(o,t)?(o[t]=n,!0):s!==ve&&pe(s,t)?(s[t]=n,!0):pe(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(r[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:o,props:r,type:i}},l){let a;return!!(n[l]||e!==ve&&l[0]!=="$"&&pe(e,l)||Cs(t,l)||pe(r,l)||pe(s,l)||pe(yn,l)||pe(o.config.globalProperties,l)||(a=i.__cssModules)&&a[l])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:pe(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Ao(e){return Y(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let js=!0;function Gl(e){const t=Xr(e),n=e.proxy,s=e.ctx;js=!1,t.beforeCreate&&ko(t.beforeCreate,e,"bc");const{data:o,computed:r,methods:i,watch:l,provide:a,inject:d,created:c,beforeMount:p,mounted:g,beforeUpdate:b,updated:U,activated:T,deactivated:q,beforeDestroy:B,beforeUnmount:N,destroyed:K,unmounted:P,render:S,renderTracked:D,renderTriggered:Z,errorCaptured:_,serverPrefetch:V,expose:ke,inheritAttrs:J,components:tt,directives:Qe,filters:jt}=t;if(d&&Wl(d,s,null),i)for(const le in i){const oe=i[le];ee(oe)&&(s[le]=oe.bind(n))}if(o){const le=o.call(n,n);me(le)&&(e.data=as(le))}if(js=!0,r)for(const le in r){const oe=r[le],ne=ee(oe)?oe.bind(n,n):ee(oe.get)?oe.get.bind(n,n):mt,We=!ee(oe)&&ee(oe.set)?oe.set.bind(n):mt,Ye=xe({get:ne,set:We});Object.defineProperty(s,le,{enumerable:!0,configurable:!0,get:()=>Ye.value,set:Te=>Ye.value=Te})}if(l)for(const le in l)Yr(l[le],s,n,le);if(a){const le=ee(a)?a.call(n):a;Reflect.ownKeys(le).forEach(oe=>{Kn(oe,le[oe])})}c&&ko(c,e,"c");function Ae(le,oe){Y(oe)?oe.forEach(ne=>le(ne.bind(n))):oe&&le(oe.bind(n))}if(Ae($l,p),Ae(lo,g),Ae(Nl,b),Ae(Dl,U),Ae(Pl,T),Ae(Ol,q),Ae(Ll,_),Ae(Ul,D),Ae(jl,Z),Ae(Ml,N),Ae(Jr,P),Ae(Vl,V),Y(ke))if(ke.length){const le=e.exposed||(e.exposed={});ke.forEach(oe=>{Object.defineProperty(le,oe,{get:()=>n[oe],set:ne=>n[oe]=ne,enumerable:!0})})}else e.exposed||(e.exposed={});S&&e.render===mt&&(e.render=S),J!=null&&(e.inheritAttrs=J),tt&&(e.components=tt),Qe&&(e.directives=Qe),V&&Wr(e)}function Wl(e,t,n=mt){Y(e)&&(e=Us(e));for(const s in e){const o=e[s];let r;me(o)?"default"in o?r=st(o.from||s,o.default,!0):r=st(o.from||s):r=st(o),je(r)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>r.value,set:i=>r.value=i}):t[s]=r}}function ko(e,t,n){it(Y(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function Yr(e,t,n,s){let o=s.includes(".")?Kr(n,s):()=>n[s];if(Ee(e)){const r=t[e];ee(r)&&Vt(o,r)}else if(ee(e))Vt(o,e.bind(n));else if(me(e))if(Y(e))e.forEach(r=>Yr(r,t,n,s));else{const r=ee(e.handler)?e.handler.bind(n):t[e.handler];ee(r)&&Vt(o,r,e)}}function Xr(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:o,optionsCache:r,config:{optionMergeStrategies:i}}=e.appContext,l=r.get(t);let a;return l?a=l:!o.length&&!n&&!s?a=t:(a={},o.length&&o.forEach(d=>Yn(a,d,i,!0)),Yn(a,t,i)),me(t)&&r.set(t,a),a}function Yn(e,t,n,s=!1){const{mixins:o,extends:r}=t;r&&Yn(e,r,n,!0),o&&o.forEach(i=>Yn(e,i,n,!0));for(const i in t)if(!(s&&i==="expose")){const l=zl[i]||n&&n[i];e[i]=l?l(e[i],t[i]):t[i]}return e}const zl={data:Ro,props:Io,emits:Io,methods:hn,computed:hn,beforeCreate:Le,created:Le,beforeMount:Le,mounted:Le,beforeUpdate:Le,updated:Le,beforeDestroy:Le,beforeUnmount:Le,destroyed:Le,unmounted:Le,activated:Le,deactivated:Le,errorCaptured:Le,serverPrefetch:Le,components:hn,directives:hn,watch:Ql,provide:Ro,inject:Jl};function Ro(e,t){return t?e?function(){return De(ee(e)?e.call(this,this):e,ee(t)?t.call(this,this):t)}:t:e}function Jl(e,t){return hn(Us(e),Us(t))}function Us(e){if(Y(e)){const t={};for(let n=0;nt==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Ke(t)}Modifiers`]||e[`${Gt(t)}Modifiers`];function ea(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||ve;let o=n;const r=t.startsWith("update:"),i=r&&Zl(s,t.slice(7));i&&(i.trim&&(o=n.map(c=>Ee(c)?c.trim():c)),i.number&&(o=n.map(rs)));let l,a=s[l=vs(t)]||s[l=vs(Ke(t))];!a&&r&&(a=s[l=vs(Gt(t))]),a&&it(a,e,6,o);const d=s[l+"Once"];if(d){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,it(d,e,6,o)}}const ta=new WeakMap;function ei(e,t,n=!1){const s=n?ta:t.emitsCache,o=s.get(e);if(o!==void 0)return o;const r=e.emits;let i={},l=!1;if(!ee(e)){const a=d=>{const c=ei(d,t,!0);c&&(l=!0,De(i,c))};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}return!r&&!l?(me(e)&&s.set(e,null),null):(Y(r)?r.forEach(a=>i[a]=null):De(i,r),me(e)&&s.set(e,i),i)}function ds(e,t){return!e||!ts(t)?!1:(t=t.slice(2),t=t==="Once"?t:t.replace(/Once$/,""),pe(e,t[0].toLowerCase()+t.slice(1))||pe(e,Gt(t))||pe(e,t))}function Po(e){const{type:t,vnode:n,proxy:s,withProxy:o,propsOptions:[r],slots:i,attrs:l,emit:a,render:d,renderCache:c,props:p,data:g,setupState:b,ctx:U,inheritAttrs:T}=e,q=Jn(e);let B,N;try{if(n.shapeFlag&4){const P=o||s,S=P;B=dt(d.call(S,P,c,p,b,g,U)),N=l}else{const P=t;B=dt(P.length>1?P(p,{attrs:l,slots:i,emit:a}):P(p,null)),N=t.props?l:na(l)}}catch(P){Et.length=0,us(P,e,1),B=Ce(gt)}let K=B;if(N&&T!==!1){const P=Object.keys(N),{shapeFlag:S}=K;P.length&&S&7&&(r&&P.some(ns)&&(N=sa(N,r)),K=on(K,N,!1,!0))}if(n.dirs&&(K=on(K,null,!1,!0),K.dirs=K.dirs?K.dirs.concat(n.dirs):n.dirs),n.transition){const P=cs(K.type)&&qr(K)||K;ro(P,n.transition)}return B=K,Jn(q),B}const na=e=>{let t;for(const n in e)(n==="class"||n==="style"||ts(n))&&((t||(t={}))[n]=e[n]);return t},sa=(e,t)=>{const n={};for(const s in e)(!ns(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function oa(e,t,n){const{props:s,children:o,component:r}=e,{props:i,children:l,patchFlag:a}=t,d=r.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&a>=0){if(a&1024)return!0;if(a&16)return s?Oo(s,i,d):!!i;if(a&8){const c=t.dynamicProps;for(let p=0;pObject.create(ni),oi=e=>Object.getPrototypeOf(e)===ni;function ia(e,t,n,s=!1){const o={},r=si();e.propsDefaults=Object.create(null),ri(e,t,o,r);for(const i in e.propsOptions[0])i in o||(o[i]=void 0);n?e.props=s?o:Dr(o):e.type.props?e.props=o:e.props=r,e.attrs=r}function la(e,t,n,s){const{props:o,attrs:r,vnode:{patchFlag:i}}=e,l=de(o),[a]=e.propsOptions;let d=!1;if((s||i>0)&&!(i&16)){if(i&8){const c=e.vnode.dynamicProps;for(let p=0;p{a=!0;const[g,b]=ii(p,t,!0);De(i,g),b&&l.push(...b)};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}if(!r&&!a)return me(e)&&s.set(e,Qt),Qt;if(Y(r))for(let c=0;ce==="_"||e==="_ctx"||e==="$stable",uo=e=>Y(e)?e.map(dt):[dt(e)],ua=(e,t,n)=>{if(t._n)return t;const s=Mt((...o)=>uo(t(...o)),n);return s._c=!1,s},li=(e,t,n)=>{const s=e._ctx;for(const o in e){if(ao(o))continue;const r=e[o];if(ee(r))t[o]=ua(o,r,s);else if(r!=null){const i=uo(r);t[o]=()=>i}}},ai=(e,t)=>{const n=uo(t);e.slots.default=()=>n},ui=(e,t,n)=>{for(const s in t)(n||!ao(s))&&(e[s]=t[s])},ca=(e,t,n)=>{const s=e.slots=si();if(e.vnode.shapeFlag&32){const o=t._;o?(ui(s,t,n),n&&vr(s,"_",o,!0)):li(t,s)}else t&&ai(e,t)},fa=(e,t,n)=>{const{vnode:s,slots:o}=e;let r=!0,i=ve;if(s.shapeFlag&32){const l=t._;l?n&&l===1?r=!1:ui(o,t,n):(r=!t.$stable,li(t,o)),i=t}else t&&(ai(e,t),i={default:1});if(r)for(const l in o)!ao(l)&&i[l]==null&&delete o[l]},Ge=ga;function da(e){return pa(e)}function pa(e,t){const n=is();n.__VUE__=!0;const{insert:s,remove:o,patchProp:r,createElement:i,createText:l,createComment:a,setText:d,setElementText:c,parentNode:p,nextSibling:g,setScopeId:b=mt,insertStaticContent:U}=e,T=(f,h,m,w=null,A=null,y=null,j=void 0,$=null,O=!!h.dynamicChildren)=>{if(f===h)return;f&&!dn(f,h)&&(w=E(f),Te(f,A,y,!0),f=null),h.patchFlag===-2&&(O=!1,h.dynamicChildren=null);const{type:k,ref:z,shapeFlag:F}=h;switch(k){case ps:q(f,h,m,w);break;case gt:B(f,h,m,w);break;case qn:f==null&&N(h,m,w,j);break;case ce:tt(f,h,m,w,A,y,j,$,O);break;default:F&1?S(f,h,m,w,A,y,j,$,O):F&6?Qe(f,h,m,w,A,y,j,$,O):(F&64||F&128)&&k.process(f,h,m,w,A,y,j,$,O,W)}z!=null&&A?_n(z,f&&f.ref,y,h||f,!h):z==null&&f&&f.ref!=null&&_n(f.ref,null,y,f,!0)},q=(f,h,m,w)=>{if(f==null)s(h.el=l(h.children),m,w);else{const A=h.el=f.el;h.children!==f.children&&d(A,h.children)}},B=(f,h,m,w)=>{f==null?s(h.el=a(h.children||""),m,w):h.el=f.el},N=(f,h,m,w)=>{[f.el,f.anchor]=U(f.children,h,m,w,f.el,f.anchor)},K=({el:f,anchor:h},m,w)=>{let A;for(;f&&f!==h;)A=g(f),s(f,m,w),f=A;s(h,m,w)},P=({el:f,anchor:h})=>{let m;for(;f&&f!==h;)m=g(f),o(f),f=m;o(h)},S=(f,h,m,w,A,y,j,$,O)=>{if(h.type==="svg"?j="svg":h.type==="math"&&(j="mathml"),f==null)D(h,m,w,A,y,j,$,O);else{const k=f.el&&f.el._isVueCE?f.el:null;try{k&&k._beginPatch(),V(f,h,A,y,j,$,O)}finally{k&&k._endPatch()}}},D=(f,h,m,w,A,y,j,$)=>{let O,k;const{props:z,shapeFlag:F,transition:G,dirs:X}=f;if(O=f.el=i(f.type,y,z&&z.is,z),F&8?c(O,f.children):F&16&&_(f.children,O,null,w,A,Es(f,y),j,$),X&&Ut(f,null,w,"created"),Z(O,f,f.scopeId,j,w),z){for(const he in z)he!=="value"&&!vn(he)&&r(O,he,null,z[he],y,w);"value"in z&&r(O,"value",null,z.value,y),(k=z.onVnodeBeforeMount)&&ut(k,w,f)}X&&Ut(f,null,w,"beforeMount");const ie=ha(A,G);ie&&G.beforeEnter(O),s(O,h,m),((k=z&&z.onVnodeMounted)||ie||X)&&Ge(()=>{try{k&&ut(k,w,f),ie&&G.enter(O),X&&Ut(f,null,w,"mounted")}finally{}},A)},Z=(f,h,m,w,A)=>{if(m&&b(f,m),w)for(let y=0;y{for(let k=O;k{const $=h.el=f.el;let{patchFlag:O,dynamicChildren:k,dirs:z}=h;O|=f.patchFlag&16;const F=f.props||ve,G=h.props||ve;let X;if(m&&Lt(m,!1),(X=G.onVnodeBeforeUpdate)&&ut(X,m,h,f),z&&Ut(h,f,m,"beforeUpdate"),m&&Lt(m,!0),k&&(!f.dynamicChildren||f.dynamicChildren.length!==k.length)&&(O=0,j=!1,k=null),(F.innerHTML&&G.innerHTML==null||F.textContent&&G.textContent==null)&&c($,""),k?ke(f.dynamicChildren,k,$,m,w,Es(h,A),y):j||oe(f,h,$,null,m,w,Es(h,A),y,!1),O>0){if(O&16)J($,F,G,m,A);else if(O&2&&F.class!==G.class&&r($,"class",null,G.class,A),O&4&&r($,"style",F.style,G.style,A),O&8){const ie=h.dynamicProps;for(let he=0;he{X&&ut(X,m,h,f),z&&Ut(h,f,m,"updated")},w)},ke=(f,h,m,w,A,y,j)=>{for(let $=0;${if(h!==m){if(h!==ve)for(const y in h)!vn(y)&&!(y in m)&&r(f,y,h[y],null,A,w);for(const y in m){if(vn(y))continue;const j=m[y],$=h[y];j!==$&&y!=="value"&&r(f,y,$,j,A,w)}"value"in m&&r(f,"value",h.value,m.value,A)}},tt=(f,h,m,w,A,y,j,$,O)=>{const k=h.el=f?f.el:l(""),z=h.anchor=f?f.anchor:l("");let{patchFlag:F,dynamicChildren:G,slotScopeIds:X}=h;X&&($=$?$.concat(X):X),f==null?(s(k,m,w),s(z,m,w),_(h.children||[],m,z,A,y,j,$,O)):F>0&&F&64&&G&&f.dynamicChildren&&f.dynamicChildren.length===G.length?(ke(f.dynamicChildren,G,m,A,y,j,$),(h.key!=null||A&&h===A.subTree)&&ci(f,h,!0)):oe(f,h,m,z,A,y,j,$,O)},Qe=(f,h,m,w,A,y,j,$,O)=>{h.slotScopeIds=$,f==null?h.shapeFlag&512?A.ctx.activate(h,m,w,j,O):jt(h,m,w,A,y,j,O):It(f,h,O)},jt=(f,h,m,w,A,y,j)=>{const $=f.component=wa(f,w,A);if(io(f)&&($.ctx.renderer=W),Ea($,!1,j),$.asyncDep){if(A&&A.registerDep($,Ae,j),!f.el){const O=$.subTree=Ce(gt);B(null,O,h,m),f.placeholder=O.el}}else Ae($,f,h,m,A,y,j)},It=(f,h,m)=>{const w=h.component=f.component;if(oa(f,h,m))if(w.asyncDep&&!w.asyncResolved){le(w,h,m);return}else w.next=h,w.update();else h.el=f.el,w.vnode=h},Ae=(f,h,m,w,A,y,j)=>{const $=()=>{if(f.isMounted){let{next:F,bu:G,u:X,parent:ie,vnode:he}=f;{const ge=fi(f);if(ge){F&&(F.el=he.el,le(f,F,j)),ge.asyncDep.then(()=>{Ge(()=>{f.isUnmounted||k()},A)});return}}let C=F,v;Lt(f,!1),F?(F.el=he.el,le(f,F,j)):F=he,G&&Bn(G),(v=F.props&&F.props.onVnodeBeforeUpdate)&&ut(v,ie,F,he),Lt(f,!0);const Se=Po(f),x=f.subTree;f.subTree=Se,T(x,Se,p(x.el),E(x),f,A,y),F.el=Se.el,C===null&&ra(f,Se.el),X&&Ge(X,A),(v=F.props&&F.props.onVnodeUpdated)&&Ge(()=>ut(v,ie,F,he),A)}else{let F;const{el:G,props:X}=h,{bm:ie,m:he,parent:C,root:v,type:Se}=f,x=Zt(h);Lt(f,!1),ie&&Bn(ie),!x&&(F=X&&X.onVnodeBeforeMount)&&ut(F,C,h),Lt(f,!0);{v.ce&&v.ce._hasShadowRoot()&&v.ce._injectChildStyle(Se,f.parent?f.parent.type:void 0);const ge=f.subTree=Po(f);T(null,ge,m,w,f,A,y),h.el=ge.el}if(he&&Ge(he,A),!x&&(F=X&&X.onVnodeMounted)){const ge=h;Ge(()=>ut(F,C,ge),A)}(h.shapeFlag&256||C&&Zt(C.vnode)&&C.vnode.shapeFlag&256)&&f.a&&Ge(f.a,A),f.isMounted=!0,h=m=w=null}};f.scope.on();const O=f.effect=new yr($);f.scope.off();const k=f.update=O.run.bind(O),z=f.job=O.runIfDirty.bind(O);z.i=f,z.id=f.uid,O.scheduler=()=>oo(z),Lt(f,!0),k()},le=(f,h,m)=>{h.component=f;const w=f.vnode.props;f.vnode=h,f.next=null,la(f,h.props,w,m),fa(f,h.children,m),St(),wo(f),At()},oe=(f,h,m,w,A,y,j,$,O=!1)=>{const k=f&&f.children,z=f?f.shapeFlag:0,F=h.children,{patchFlag:G,shapeFlag:X}=h;if(G>0){if(G&128){We(k,F,m,w,A,y,j,$,O);return}else if(G&256){ne(k,F,m,w,A,y,j,$,O);return}}X&8?(z&16&&qe(k,A,y),F!==k&&c(m,F)):z&16?X&16?We(k,F,m,w,A,y,j,$,O):qe(k,A,y,!0):(z&8&&c(m,""),X&16&&_(F,m,w,A,y,j,$,O))},ne=(f,h,m,w,A,y,j,$,O)=>{f=f||Qt,h=h||Qt;const k=f.length,z=h.length,F=Math.min(k,z);let G;for(G=0;Gz?qe(f,A,y,!0,!1,F):_(h,m,w,A,y,j,$,O,F)},We=(f,h,m,w,A,y,j,$,O)=>{let k=0;const z=h.length;let F=f.length-1,G=z-1;for(;k<=F&&k<=G;){const X=f[k],ie=h[k]=O?yt(h[k]):dt(h[k]);if(dn(X,ie))T(X,ie,m,null,A,y,j,$,O);else break;k++}for(;k<=F&&k<=G;){const X=f[F],ie=h[G]=O?yt(h[G]):dt(h[G]);if(dn(X,ie))T(X,ie,m,null,A,y,j,$,O);else break;F--,G--}if(k>F){if(k<=G){const X=G+1,ie=XG)for(;k<=F;)Te(f[k],A,y,!0),k++;else{const X=k,ie=k,he=new Map;for(k=ie;k<=G;k++){const ze=h[k]=O?yt(h[k]):dt(h[k]);ze.key!=null&&he.set(ze.key,k)}let C,v=0;const Se=G-ie+1;let x=!1,ge=0;const Ue=new Array(Se);for(k=0;k=Se){Te(ze,A,y,!0);continue}let at;if(ze.key!=null)at=he.get(ze.key);else for(C=ie;C<=G;C++)if(Ue[C-ie]===0&&dn(ze,h[C])){at=C;break}at===void 0?Te(ze,A,y,!0):(Ue[at-ie]=k+1,at>=ge?ge=at:x=!0,T(ze,h[at],m,null,A,y,j,$,O),v++)}const mo=x?ma(Ue):Qt;for(C=mo.length-1,k=Se-1;k>=0;k--){const ze=ie+k,at=h[ze],go=h[ze+1],vo=ze+1{const{el:y,type:j,transition:$,children:O,shapeFlag:k}=f;if(k&6){Ye(f.component.subTree,h,m,w);return}if(k&128){f.suspense.move(h,m,w);return}if(k&64){j.move(f,h,m,W);return}if(j===ce){s(y,h,m);for(let F=0;F$.enter(y),A));else{const{leave:F,delayLeave:G,afterLeave:X}=$,ie=()=>{f.ctx.isUnmounted?o(y):s(y,h,m)},he=()=>{const C=y._isLeaving||!!y[ws];y._isLeaving&&y[ws](!0),$.persisted&&!C?ie():F(y,()=>{ie(),X&&X()})};G?G(y,ie,he):he()}else s(y,h,m)},Te=(f,h,m,w=!1,A=!1)=>{const{type:y,props:j,ref:$,children:O,dynamicChildren:k,shapeFlag:z,patchFlag:F,dirs:G,cacheIndex:X,memo:ie}=f;if(F===-2&&(A=!1),$!=null&&(St(),_n($,null,m,f,!0),At()),X!=null&&(h.renderCache[X]=void 0),z&256){h.ctx.deactivate(f);return}const he=z&1&&G,C=!Zt(f);let v;if(C&&(v=j&&j.onVnodeBeforeUnmount)&&ut(v,h,f),z&6)Xe(f.component,m,w);else{if(z&128){f.suspense.unmount(m,w);return}he&&Ut(f,null,h,"beforeUnmount"),z&64?f.type.remove(f,h,m,W,w):k&&!k.hasOnce&&(y!==ce||F>0&&F&64)?qe(k,h,m,!1,!0):(y===ce&&F&384||!A&&z&16)&&qe(O,h,m),w&&Pt(f)}const Se=ie!=null&&X==null;(C&&(v=j&&j.onVnodeUnmounted)||he||Se)&&Ge(()=>{v&&ut(v,h,f),he&&Ut(f,null,h,"unmounted"),Se&&(f.el=null)},m)},Pt=f=>{const{type:h,el:m,anchor:w,transition:A}=f;if(h===ce){vt(m,w);return}if(h===qn){P(f);return}const y=()=>{o(m),A&&!A.persisted&&A.afterLeave&&A.afterLeave()};if(f.shapeFlag&1&&A&&!A.persisted){const{leave:j,delayLeave:$}=A,O=()=>j(m,y);$?$(f.el,y,O):O()}else y()},vt=(f,h)=>{let m;for(;f!==h;)m=g(f),o(f),f=m;o(h)},Xe=(f,h,m)=>{const{bum:w,scope:A,job:y,subTree:j,um:$,m:O,a:k}=f;$o(O),$o(k),w&&Bn(w),A.stop(),y&&(y.flags|=8,Te(j,f,h,m)),$&&Ge($,h),Ge(()=>{f.isUnmounted=!0},h)},qe=(f,h,m,w=!1,A=!1,y=0)=>{for(let j=y;j{if(f.shapeFlag&6)return E(f.component.subTree);if(f.shapeFlag&128)return f.suspense.next();const h=g(f.anchor||f.el),m=h&&h[Rl];return m?g(m):h};let H=!1;const L=(f,h,m)=>{let w;f==null?h._vnode&&(Te(h._vnode,null,null,!0),w=h._vnode.component):T(h._vnode||null,f,h,null,null,null,m),h._vnode=f,H||(H=!0,wo(w),Lr(),H=!1)},W={p:T,um:Te,m:Ye,r:Pt,mt:jt,mc:_,pc:oe,pbc:ke,n:E,o:e};return{render:L,hydrate:void 0,createApp:Xl(L)}}function Es({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function Lt({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function ha(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function ci(e,t,n=!1){const s=e.children,o=t.children;if(Y(s)&&Y(o))for(let r=0;r>1,e[n[l]]0&&(t[s]=n[r-1]),n[r]=s)}}for(r=n.length,i=n[r-1];r-- >0;)n[r]=i,i=t[i];return n}function fi(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:fi(t)}function $o(e){if(e)for(let t=0;te.__isSuspense;function ga(e,t){t&&t.pendingBranch?Y(e)?t.effects.push(...e):t.effects.push(e):El(e)}const ce=Symbol.for("v-fgt"),ps=Symbol.for("v-txt"),gt=Symbol.for("v-cmt"),qn=Symbol.for("v-stc"),Et=[];let Je=null;function R(e=!1){Et.push(Je=e?null:[])}function co(){Et.pop(),Je=Et[Et.length-1]||null}let An=1;function Xn(e,t=!1){An+=e,e<0&&Je&&t&&(Je.hasOnce=!0)}function hi(e){return e.dynamicChildren=An>0?Je||Qt:null,co(),An>0&&Je&&Je.push(e),e}function I(e,t,n,s,o,r){return hi(u(e,t,n,s,o,r,!0))}function sn(e,t,n,s,o){return hi(Ce(e,t,n,s,o,!0))}function kn(e){return e?e.__v_isVNode===!0:!1}function dn(e,t){return e.type===t.type&&e.key===t.key}const mi=({key:e})=>e??null,Gn=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Ee(e)||je(e)||ee(e)?{i:Ne,r:e,k:t,f:!!n}:e:null);function u(e,t=null,n=null,s=0,o=null,r=e===ce?0:1,i=!1,l=!1){const a={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&mi(t),ref:t&&Gn(t),scopeId:Hr,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:r,patchFlag:s,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:Ne};return l?(Zn(a,n),r&128&&e.normalize(a)):n&&(a.shapeFlag|=Ee(n)?8:16),An>0&&!i&&Je&&(a.patchFlag>0||r&6)&&a.patchFlag!==32&&Je.push(a),a}const Ce=va;function va(e,t=null,n=null,s=0,o=null,r=!1){if((!e||e===Hl)&&(e=gt),kn(e)){const l=on(e,t,!0);return n&&Zn(l,n),An>0&&!r&&Je&&(l.shapeFlag&6?Je[Je.indexOf(e)]=l:Je.push(l)),l.patchFlag=-2,l}if(Ia(e)&&(e=e.__vccOpts),t){t=ba(t);let{class:l,style:a}=t;l&&!Ee(l)&&(t.class=Ie(l)),me(a)&&(no(a)&&!Y(a)&&(a=De({},a)),t.style=qt(a))}const i=Ee(e)?1:pi(e)?128:cs(e)?64:me(e)?4:ee(e)?2:0;return u(e,t,n,s,o,i,r,!0)}function ba(e){return e?no(e)||oi(e)?De({},e):e:null}function on(e,t,n=!1,s=!1){const{props:o,ref:r,patchFlag:i,children:l,transition:a}=e,d=t?xa(o||{},t):o,c={__v_isVNode:!0,__v_skip:!0,type:e.type,props:d,key:d&&mi(d),ref:t&&t.ref?n&&r?Y(r)?r.concat(Gn(t)):[r,Gn(t)]:Gn(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==ce?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:a,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&on(e.ssContent),ssFallback:e.ssFallback&&on(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return a&&s&&ro(c,a.clone(c)),c}function _e(e=" ",t=0){return Ce(ps,null,e,t)}function gi(e,t){const n=Ce(qn,null,e);return n.staticCount=t,n}function te(e="",t=!1){return t?(R(),sn(gt,null,e)):Ce(gt,null,e)}function dt(e){return e==null||typeof e=="boolean"?Ce(gt):Y(e)?Ce(ce,null,e.slice()):kn(e)?yt(e):Ce(ps,null,String(e))}function yt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:on(e)}function Zn(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(Y(t))n=16;else if(typeof t=="object")if(s&65){const o=t.default;o&&(o._c&&(o._d=!1),Zn(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!oi(t)?t._ctx=Ne:o===3&&Ne&&(Ne.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else if(ee(t)){if(s&65){Zn(e,{default:t});return}t={default:t,_ctx:Ne},n=32}else t=String(t),s&64?(n=16,t=[_e(t)]):n=8;e.children=t,e.shapeFlag|=n}function xa(...e){const t={};for(let n=0;nVe||Ne;let es,Rn;{const e=is(),t=(n,s)=>{let o;return(o=e[n])||(o=e[n]=[]),o.push(s),r=>{o.length>1?o.forEach(i=>i(r)):o[0](r)}};es=t("__VUE_INSTANCE_SETTERS__",n=>Ve=n),Rn=t("__VUE_SSR_SETTERS__",n=>In=n)}const Mn=e=>{const t=Ve;return es(e),e.scope.on(),()=>{e.scope.off(),es(t)}},No=()=>{Ve&&Ve.scope.off(),es(null)};function vi(e){return e.vnode.shapeFlag&4}let In=!1;function Ea(e,t=!1,n=!1){t&&Rn(t);const{props:s,children:o}=e.vnode,r=vi(e);ia(e,s,r,t),ca(e,o,n||t);const i=r?Sa(e,t):void 0;return t&&Rn(!1),i}function Sa(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,ql);const{setup:s}=n;if(s){St();const o=e.setupContext=s.length>1?ka(e):null,r=Mn(e),i=Nn(s,e,0,[e.props,o]),l=hr(i);if(At(),r(),(l||e.sp)&&!Zt(e)&&Wr(e),l){if(i.then(No,No),t)return i.then(a=>{Rn(!0);try{Do(e,a,t)}finally{Rn(!1)}}).catch(a=>{us(a,e,0)});e.asyncDep=i}else Do(e,i)}else bi(e)}function Do(e,t,n){ee(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:me(t)&&(e.setupState=Vr(t)),bi(e)}function bi(e,t,n){const s=e.type;e.render||(e.render=s.render||mt);{const o=Mn(e);St();try{Gl(e)}finally{At(),o()}}}const Aa={get(e,t){return Me(e,"get",""),e[t]}};function ka(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Aa),slots:e.slots,emit:e.emit,expose:t}}function hs(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Vr(hl(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in yn)return yn[n](e)},has(t,n){return n in t||n in yn}})):e.proxy}function Ra(e,t=!0){return ee(e)?e.displayName||e.name:e.name||t&&e.__name}function Ia(e){return ee(e)&&"__vccOpts"in e}const xe=(e,t)=>xl(e,t,In);function xi(e,t,n){try{Xn(-1);const s=arguments.length;return s===2?me(t)&&!Y(t)?kn(t)?Ce(e,null,[t]):Ce(e,t):Ce(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&kn(n)&&(n=[n]),Ce(e,t,n))}finally{Xn(1)}}const Pa="3.5.41";/** * @vue/runtime-dom v3.5.41 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/let Fs;const Mo=typeof window<"u"&&window.trustedTypes;if(Mo)try{Fs=Mo.createPolicy("vue",{createHTML:e=>e})}catch{}const xi=Fs?e=>Fs.createHTML(e):e=>e,Oa="http://www.w3.org/2000/svg",Ta="http://www.w3.org/1998/Math/MathML",_t=typeof document<"u"?document:null,Vo=_t&&_t.createElement("template"),$a={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const o=t==="svg"?_t.createElementNS(Oa,e):t==="mathml"?_t.createElementNS(Ta,e):n?_t.createElement(e,{is:n}):_t.createElement(e);return e==="select"&&s&&s.multiple!=null&&o.setAttribute("multiple",s.multiple),o},createText:e=>_t.createTextNode(e),createComment:e=>_t.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>_t.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,o,r){const i=n?n.previousSibling:t.lastChild;if(o&&(o===r||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),!(o===r||!(o=o.nextSibling)););else{Vo.innerHTML=xi(s==="svg"?`${e}`:s==="mathml"?`${e}`:e);const l=Vo.content;if(s==="svg"||s==="mathml"){const a=l.firstChild;for(;a.firstChild;)l.appendChild(a.firstChild);l.removeChild(a)}t.insertBefore(l,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Na=Symbol("_vtc");function Da(e,t,n){const s=e[Na];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const jo=Symbol("_vod"),Ma=Symbol("_vsh"),Va=Symbol(""),ja=/(?:^|;)\s*display\s*:/;function Ua(e,t,n){const s=e.style,o=Ee(n);let r=!1;if(n&&!o){if(t)if(Ee(t))for(const i of t.split(";")){const l=i.slice(0,i.indexOf(":")).trim();n[l]==null&&mn(s,l,"")}else for(const i in t)n[i]==null&&mn(s,i,"");for(const i in n){i==="display"&&(r=!0);const l=n[i];l!=null?Fa(e,i,!Ee(t)&&t?t[i]:void 0,l)||mn(s,i,l):mn(s,i,"")}}else if(o){if(t!==n){const i=s[Va];i&&(n+=";"+i),s.cssText=n,r=ja.test(n)}}else t&&e.removeAttribute("style");jo in e&&(e[jo]=r?s.display:"",e[Ma]&&(s.display="none"))}const Uo=/\s*!important$/;function mn(e,t,n){if(Q(n))n.forEach(s=>mn(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=La(e,t);Uo.test(n)?e.setProperty(qt(s),n.replace(Uo,""),"important"):e[s]=n}}const Lo=["Webkit","Moz","ms"],Ss={};function La(e,t){const n=Ss[t];if(n)return n;let s=Ke(t);if(s!=="filter"&&s in e)return Ss[t]=s;s=os(s);for(let o=0;oAs||(Wa.then(()=>As=0),As=Date.now());function Ja(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;const o=n.value;if(Q(o)){const r=s.stopImmediatePropagation;s.stopImmediatePropagation=()=>{r.call(s),s._stopped=!0};const i=o.slice(),l=[s];for(let a=0;ae.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Ya=(e,t,n,s,o,r)=>{const i=o==="svg";t==="class"?Da(e,s,i):t==="style"?Ua(e,n,s):ts(t)?ns(t)||Ba(e,t,n,s,r):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Qa(e,t,s,i))?(Bo(e,t,s),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Ho(e,t,s,i,r,t!=="value")):e._isVueCE&&(Xa(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!Ee(s)))?Bo(e,Ke(t),s,r,t):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),Ho(e,t,s,i))};function Qa(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&Go(t)&&ee(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="sandbox"&&e.tagName==="IFRAME"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const o=e.tagName;if(o==="IMG"||o==="VIDEO"||o==="CANVAS"||o==="SOURCE")return!1}return Go(t)&&Ee(n)?!1:t in e}function Xa(e,t){const n=e._def.props;if(!n)return!1;const s=Ke(t);return Array.isArray(n)?n.some(o=>Ke(o)===s):Object.keys(n).some(o=>Ke(o)===s)}const rn=e=>{const t=e.props["onUpdate:modelValue"]||!1;return Q(t)?n=>Bn(t,n):t};function Za(e){e.target.composing=!0}function qo(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const ht=Symbol("_assign"),Ln=Symbol("_initialValue");function ks(e,t,n){return t&&(e=e.trim()),n&&(e=rs(e)),e}const ye={created(e,{modifiers:{lazy:t,trim:n,number:s}},o){e.parentNode&&(e.type==="text"?e[Ln]=e.defaultValue.replace(/[\r\n]/g,""):e.type==="textarea"&&(e[Ln]=e.defaultValue.replace(/\r\n?/g,` -`))),e[ht]=rn(o);const r=s||o.props&&o.props.type==="number";Dt(e,t?"change":"input",i=>{i.target.composing||e[ht](ks(e.value,n,r))}),(n||r)&&Dt(e,"change",()=>{e.value=ks(e.value,n,r)}),t||(Dt(e,"compositionstart",Za),Dt(e,"compositionend",qo),Dt(e,"change",qo))},mounted(e,{value:t,modifiers:{trim:n,number:s}}){const o=t??"",r=e[Ln];delete e[Ln],r!==void 0&&(e.type==="text"||e.type==="textarea")&&e.value!==r?e[ht](ks(e.value,n,s)):e.value=o},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:s,trim:o,number:r}},i){if(e[ht]=rn(i),e.composing)return;const l=(r||e.type==="number")&&!/^0\d/.test(e.value)?rs(e.value):e.value,a=t??"";if(l===a)return;const d=e.getRootNode();(d instanceof Document||d instanceof ShadowRoot)&&d.activeElement===e&&e.type!=="range"&&(s&&t===n||o&&e.value.trim()===a)||(e.value=a)}},$t={deep:!0,created(e,t,n){e[ht]=rn(n),Dt(e,"change",()=>{const s=e._modelValue,o=On(e),r=e.checked,i=e[ht];if(Q(s)){const l=Js(s,o),a=l!==-1;if(r&&!a)i(s.concat(o));else if(!r&&a){const d=[...s];d.splice(l,1),i(d)}}else if(un(s)){const l=new Set(s);r?l.add(o):l.delete(o),i(l)}else i(_i(e,r))})},mounted:Wo,beforeUpdate(e,t,n){e[ht]=rn(n),Wo(e,t,n)}};function Wo(e,{value:t,oldValue:n},s){e._modelValue=t;let o;if(Q(t))o=Js(t,s.props.value)>-1;else if(un(t))o=t.has(s.props.value);else{if(t===n)return;o=cn(t,_i(e,!0))}e.checked!==o&&(e.checked=o)}const Pn={deep:!0,created(e,{value:t,modifiers:{number:n}},s){e._modelValue=t,Dt(e,"change",()=>{const o=Array.prototype.filter.call(e.options,r=>r.selected).map(r=>n?rs(On(r)):On(r));e[ht](e.multiple?un(e._modelValue)?new Set(o):o:o[0]),e._assigning=!0,so(()=>{e._assigning=!1})}),e[ht]=rn(s)},mounted(e,{value:t}){zo(e,t)},beforeUpdate(e,{value:t},n){e._modelValue=t,e[ht]=rn(n)},updated(e,{value:t}){e._assigning||zo(e,t)}};function zo(e,t){const n=e.multiple,s=Q(t);if(!(n&&!s&&!un(t))){for(let o=0,r=e.options.length;oString(d)===String(l)):i.selected=Js(t,l)>-1}else i.selected=t.has(l);else if(cn(On(i),t)){e.selectedIndex!==o&&(e.selectedIndex=o);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function On(e){return"_value"in e?e._value:e.value}function _i(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const eu=["ctrl","shift","alt","meta"],tu={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>eu.some(n=>e[`${n}Key`]&&!t.includes(n))},Ze=(e,t)=>{if(!e)return e;const n=e._withMods||(e._withMods={}),s=t.join(".");return n[s]||(n[s]=((o,...r)=>{for(let i=0;i{const t=su().createApp(...e),{mount:n}=t;return t.mount=s=>{const o=iu(s);if(!o)return;const r=t._component;!ee(r)&&!r.render&&!r.template&&(r.template=o.innerHTML),o.nodeType===1&&(o.textContent="");const i=n(o,!1,ru(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),i},t});function ru(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function iu(e){return Ee(e)?document.querySelector(e):e}/*! +**/let Fs;const Mo=typeof window<"u"&&window.trustedTypes;if(Mo)try{Fs=Mo.createPolicy("vue",{createHTML:e=>e})}catch{}const _i=Fs?e=>Fs.createHTML(e):e=>e,Oa="http://www.w3.org/2000/svg",Ta="http://www.w3.org/1998/Math/MathML",_t=typeof document<"u"?document:null,Vo=_t&&_t.createElement("template"),$a={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const o=t==="svg"?_t.createElementNS(Oa,e):t==="mathml"?_t.createElementNS(Ta,e):n?_t.createElement(e,{is:n}):_t.createElement(e);return e==="select"&&s&&s.multiple!=null&&o.setAttribute("multiple",s.multiple),o},createText:e=>_t.createTextNode(e),createComment:e=>_t.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>_t.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,o,r){const i=n?n.previousSibling:t.lastChild;if(o&&(o===r||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),!(o===r||!(o=o.nextSibling)););else{Vo.innerHTML=_i(s==="svg"?`${e}`:s==="mathml"?`${e}`:e);const l=Vo.content;if(s==="svg"||s==="mathml"){const a=l.firstChild;for(;a.firstChild;)l.appendChild(a.firstChild);l.removeChild(a)}t.insertBefore(l,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Na=Symbol("_vtc");function Da(e,t,n){const s=e[Na];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const jo=Symbol("_vod"),Ma=Symbol("_vsh"),Va=Symbol(""),ja=/(?:^|;)\s*display\s*:/;function Ua(e,t,n){const s=e.style,o=Ee(n);let r=!1;if(n&&!o){if(t)if(Ee(t))for(const i of t.split(";")){const l=i.slice(0,i.indexOf(":")).trim();n[l]==null&&mn(s,l,"")}else for(const i in t)n[i]==null&&mn(s,i,"");for(const i in n){i==="display"&&(r=!0);const l=n[i];l!=null?Fa(e,i,!Ee(t)&&t?t[i]:void 0,l)||mn(s,i,l):mn(s,i,"")}}else if(o){if(t!==n){const i=s[Va];i&&(n+=";"+i),s.cssText=n,r=ja.test(n)}}else t&&e.removeAttribute("style");jo in e&&(e[jo]=r?s.display:"",e[Ma]&&(s.display="none"))}const Uo=/\s*!important$/;function mn(e,t,n){if(Y(n))n.forEach(s=>mn(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=La(e,t);Uo.test(n)?e.setProperty(Gt(s),n.replace(Uo,""),"important"):e[s]=n}}const Lo=["Webkit","Moz","ms"],Ss={};function La(e,t){const n=Ss[t];if(n)return n;let s=Ke(t);if(s!=="filter"&&s in e)return Ss[t]=s;s=os(s);for(let o=0;oAs||(Wa.then(()=>As=0),As=Date.now());function Ja(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;const o=n.value;if(Y(o)){const r=s.stopImmediatePropagation;s.stopImmediatePropagation=()=>{r.call(s),s._stopped=!0};const i=o.slice(),l=[s];for(let a=0;ae.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Qa=(e,t,n,s,o,r)=>{const i=o==="svg";t==="class"?Da(e,s,i):t==="style"?Ua(e,n,s):ts(t)?ns(t)||Ba(e,t,n,s,r):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Ya(e,t,s,i))?(Bo(e,t,s),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Ho(e,t,s,i,r,t!=="value")):e._isVueCE&&(Xa(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!Ee(s)))?Bo(e,Ke(t),s,r,t):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),Ho(e,t,s,i))};function Ya(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&qo(t)&&ee(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="sandbox"&&e.tagName==="IFRAME"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const o=e.tagName;if(o==="IMG"||o==="VIDEO"||o==="CANVAS"||o==="SOURCE")return!1}return qo(t)&&Ee(n)?!1:t in e}function Xa(e,t){const n=e._def.props;if(!n)return!1;const s=Ke(t);return Array.isArray(n)?n.some(o=>Ke(o)===s):Object.keys(n).some(o=>Ke(o)===s)}const rn=e=>{const t=e.props["onUpdate:modelValue"]||!1;return Y(t)?n=>Bn(t,n):t};function Za(e){e.target.composing=!0}function Go(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const ht=Symbol("_assign"),Ln=Symbol("_initialValue");function ks(e,t,n){return t&&(e=e.trim()),n&&(e=rs(e)),e}const ye={created(e,{modifiers:{lazy:t,trim:n,number:s}},o){e.parentNode&&(e.type==="text"?e[Ln]=e.defaultValue.replace(/[\r\n]/g,""):e.type==="textarea"&&(e[Ln]=e.defaultValue.replace(/\r\n?/g,` +`))),e[ht]=rn(o);const r=s||o.props&&o.props.type==="number";Dt(e,t?"change":"input",i=>{i.target.composing||e[ht](ks(e.value,n,r))}),(n||r)&&Dt(e,"change",()=>{e.value=ks(e.value,n,r)}),t||(Dt(e,"compositionstart",Za),Dt(e,"compositionend",Go),Dt(e,"change",Go))},mounted(e,{value:t,modifiers:{trim:n,number:s}}){const o=t??"",r=e[Ln];delete e[Ln],r!==void 0&&(e.type==="text"||e.type==="textarea")&&e.value!==r?e[ht](ks(e.value,n,s)):e.value=o},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:s,trim:o,number:r}},i){if(e[ht]=rn(i),e.composing)return;const l=(r||e.type==="number")&&!/^0\d/.test(e.value)?rs(e.value):e.value,a=t??"";if(l===a)return;const d=e.getRootNode();(d instanceof Document||d instanceof ShadowRoot)&&d.activeElement===e&&e.type!=="range"&&(s&&t===n||o&&e.value.trim()===a)||(e.value=a)}},$t={deep:!0,created(e,t,n){e[ht]=rn(n),Dt(e,"change",()=>{const s=e._modelValue,o=On(e),r=e.checked,i=e[ht];if(Y(s)){const l=Js(s,o),a=l!==-1;if(r&&!a)i(s.concat(o));else if(!r&&a){const d=[...s];d.splice(l,1),i(d)}}else if(un(s)){const l=new Set(s);r?l.add(o):l.delete(o),i(l)}else i(yi(e,r))})},mounted:Wo,beforeUpdate(e,t,n){e[ht]=rn(n),Wo(e,t,n)}};function Wo(e,{value:t,oldValue:n},s){e._modelValue=t;let o;if(Y(t))o=Js(t,s.props.value)>-1;else if(un(t))o=t.has(s.props.value);else{if(t===n)return;o=cn(t,yi(e,!0))}e.checked!==o&&(e.checked=o)}const Pn={deep:!0,created(e,{value:t,modifiers:{number:n}},s){e._modelValue=t,Dt(e,"change",()=>{const o=Array.prototype.filter.call(e.options,r=>r.selected).map(r=>n?rs(On(r)):On(r));e[ht](e.multiple?un(e._modelValue)?new Set(o):o:o[0]),e._assigning=!0,so(()=>{e._assigning=!1})}),e[ht]=rn(s)},mounted(e,{value:t}){zo(e,t)},beforeUpdate(e,{value:t},n){e._modelValue=t,e[ht]=rn(n)},updated(e,{value:t}){e._assigning||zo(e,t)}};function zo(e,t){const n=e.multiple,s=Y(t);if(!(n&&!s&&!un(t))){for(let o=0,r=e.options.length;oString(d)===String(l)):i.selected=Js(t,l)>-1}else i.selected=t.has(l);else if(cn(On(i),t)){e.selectedIndex!==o&&(e.selectedIndex=o);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function On(e){return"_value"in e?e._value:e.value}function yi(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const eu=["ctrl","shift","alt","meta"],tu={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>eu.some(n=>e[`${n}Key`]&&!t.includes(n))},Ze=(e,t)=>{if(!e)return e;const n=e._withMods||(e._withMods={}),s=t.join(".");return n[s]||(n[s]=((o,...r)=>{for(let i=0;i{const t=su().createApp(...e),{mount:n}=t;return t.mount=s=>{const o=iu(s);if(!o)return;const r=t._component;!ee(r)&&!r.render&&!r.template&&(r.template=o.innerHTML),o.nodeType===1&&(o.textContent="");const i=n(o,!1,ru(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),i},t});function ru(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function iu(e){return Ee(e)?document.querySelector(e):e}/*! * vue-router v4.6.4 * (c) 2025 Eduardo San Martin Morote * @license MIT - */const Jt=typeof document<"u";function yi(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function lu(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&yi(e.default)}const fe=Object.assign;function Rs(e,t){const n={};for(const s in t){const o=t[s];n[s]=lt(o)?o.map(e):e(o)}return n}const wn=()=>{},lt=Array.isArray;function Yo(e,t){const n={};for(const s in e)n[s]=s in t?t[s]:e[s];return n}const wi=/#/g,au=/&/g,uu=/\//g,cu=/=/g,fu=/\?/g,Ci=/\+/g,du=/%5B/g,pu=/%5D/g,Ei=/%5E/g,hu=/%60/g,Si=/%7B/g,mu=/%7C/g,Ai=/%7D/g,gu=/%20/g;function fo(e){return e==null?"":encodeURI(""+e).replace(mu,"|").replace(du,"[").replace(pu,"]")}function vu(e){return fo(e).replace(Si,"{").replace(Ai,"}").replace(Ei,"^")}function Hs(e){return fo(e).replace(Ci,"%2B").replace(gu,"+").replace(wi,"%23").replace(au,"%26").replace(hu,"`").replace(Si,"{").replace(Ai,"}").replace(Ei,"^")}function bu(e){return Hs(e).replace(cu,"%3D")}function xu(e){return fo(e).replace(wi,"%23").replace(fu,"%3F")}function _u(e){return xu(e).replace(uu,"%2F")}function Tn(e){if(e==null)return null;try{return decodeURIComponent(""+e)}catch{}return""+e}const yu=/\/$/,wu=e=>e.replace(yu,"");function Is(e,t,n="/"){let s,o={},r="",i="";const l=t.indexOf("#");let a=t.indexOf("?");return a=l>=0&&a>l?-1:a,a>=0&&(s=t.slice(0,a),r=t.slice(a,l>0?l:t.length),o=e(r.slice(1))),l>=0&&(s=s||t.slice(0,l),i=t.slice(l,t.length)),s=Au(s??t,n),{fullPath:s+r+i,path:s,query:o,hash:Tn(i)}}function Cu(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Qo(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Eu(e,t,n){const s=t.matched.length-1,o=n.matched.length-1;return s>-1&&s===o&&ln(t.matched[s],n.matched[o])&&ki(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function ln(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function ki(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(!Su(e[n],t[n]))return!1;return!0}function Su(e,t){return lt(e)?Xo(e,t):lt(t)?Xo(t,e):(e==null?void 0:e.valueOf())===(t==null?void 0:t.valueOf())}function Xo(e,t){return lt(t)?e.length===t.length&&e.every((n,s)=>n===t[s]):e.length===1&&e[0]===t}function Au(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),s=e.split("/"),o=s[s.length-1];(o===".."||o===".")&&s.push("");let r=n.length-1,i,l;for(i=0;i1&&r--;else break;return n.slice(0,r).join("/")+"/"+s.slice(i).join("/")}const Ot={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};let Bs=(function(e){return e.pop="pop",e.push="push",e})({}),Ps=(function(e){return e.back="back",e.forward="forward",e.unknown="",e})({});function ku(e){if(!e)if(Jt){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),wu(e)}const Ru=/^[^#]+#/;function Iu(e,t){return e.replace(Ru,"#")+t}function Pu(e,t){const n=document.documentElement.getBoundingClientRect(),s=e.getBoundingClientRect();return{behavior:t.behavior,left:s.left-n.left-(t.left||0),top:s.top-n.top-(t.top||0)}}const ms=()=>({left:window.scrollX,top:window.scrollY});function Ou(e){let t;if("el"in e){const n=e.el,s=typeof n=="string"&&n.startsWith("#"),o=typeof n=="string"?s?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!o)return;t=Pu(o,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function Zo(e,t){return(history.state?history.state.position-t:-1)+e}const Ks=new Map;function Tu(e,t){Ks.set(e,t)}function $u(e){const t=Ks.get(e);return Ks.delete(e),t}function Nu(e){return typeof e=="string"||e&&typeof e=="object"}function Ri(e){return typeof e=="string"||typeof e=="symbol"}let we=(function(e){return e[e.MATCHER_NOT_FOUND=1]="MATCHER_NOT_FOUND",e[e.NAVIGATION_GUARD_REDIRECT=2]="NAVIGATION_GUARD_REDIRECT",e[e.NAVIGATION_ABORTED=4]="NAVIGATION_ABORTED",e[e.NAVIGATION_CANCELLED=8]="NAVIGATION_CANCELLED",e[e.NAVIGATION_DUPLICATED=16]="NAVIGATION_DUPLICATED",e})({});const Ii=Symbol("");we.MATCHER_NOT_FOUND+"",we.NAVIGATION_GUARD_REDIRECT+"",we.NAVIGATION_ABORTED+"",we.NAVIGATION_CANCELLED+"",we.NAVIGATION_DUPLICATED+"";function an(e,t){return fe(new Error,{type:e,[Ii]:!0},t)}function xt(e,t){return e instanceof Error&&Ii in e&&(t==null||!!(e.type&t))}const Du=["params","query","hash"];function Mu(e){if(typeof e=="string")return e;if(e.path!=null)return e.path;const t={};for(const n of Du)n in e&&(t[n]=e[n]);return JSON.stringify(t,null,2)}function Vu(e){const t={};if(e===""||e==="?")return t;const n=(e[0]==="?"?e.slice(1):e).split("&");for(let s=0;so&&Hs(o)):[s&&Hs(s)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function ju(e){const t={};for(const n in e){const s=e[n];s!==void 0&&(t[n]=lt(s)?s.map(o=>o==null?null:""+o):s==null?s:""+s)}return t}const Uu=Symbol(""),tr=Symbol(""),gs=Symbol(""),po=Symbol(""),Gs=Symbol("");function pn(){let e=[];function t(s){return e.push(s),()=>{const o=e.indexOf(s);o>-1&&e.splice(o,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Nt(e,t,n,s,o,r=i=>i()){const i=s&&(s.enterCallbacks[o]=s.enterCallbacks[o]||[]);return()=>new Promise((l,a)=>{const d=g=>{g===!1?a(an(we.NAVIGATION_ABORTED,{from:n,to:t})):g instanceof Error?a(g):Nu(g)?a(an(we.NAVIGATION_GUARD_REDIRECT,{from:t,to:g})):(i&&s.enterCallbacks[o]===i&&typeof g=="function"&&i.push(g),l())},c=r(()=>e.call(s&&s.instances[o],t,n,d));let p=Promise.resolve(c);e.length<3&&(p=p.then(d)),p.catch(g=>a(g))})}function Os(e,t,n,s,o=r=>r()){const r=[];for(const i of e)for(const l in i.components){let a=i.components[l];if(!(t!=="beforeRouteEnter"&&!i.instances[l]))if(yi(a)){const d=(a.__vccOpts||a)[t];d&&r.push(Nt(d,n,s,i,l,o))}else{let d=a();r.push(()=>d.then(c=>{if(!c)throw new Error(`Couldn't resolve component "${l}" at "${i.path}"`);const p=lu(c)?c.default:c;i.mods[l]=c,i.components[l]=p;const g=(p.__vccOpts||p)[t];return g&&Nt(g,n,s,i,l,o)()}))}}return r}function Lu(e,t){const n=[],s=[],o=[],r=Math.max(t.matched.length,e.matched.length);for(let i=0;iln(d,l))?s.push(l):n.push(l));const a=e.matched[i];a&&(t.matched.find(d=>ln(d,a))||o.push(a))}return[n,s,o]}/*! + */const Jt=typeof document<"u";function wi(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function lu(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&wi(e.default)}const fe=Object.assign;function Rs(e,t){const n={};for(const s in t){const o=t[s];n[s]=lt(o)?o.map(e):e(o)}return n}const wn=()=>{},lt=Array.isArray;function Qo(e,t){const n={};for(const s in e)n[s]=s in t?t[s]:e[s];return n}const Ci=/#/g,au=/&/g,uu=/\//g,cu=/=/g,fu=/\?/g,Ei=/\+/g,du=/%5B/g,pu=/%5D/g,Si=/%5E/g,hu=/%60/g,Ai=/%7B/g,mu=/%7C/g,ki=/%7D/g,gu=/%20/g;function fo(e){return e==null?"":encodeURI(""+e).replace(mu,"|").replace(du,"[").replace(pu,"]")}function vu(e){return fo(e).replace(Ai,"{").replace(ki,"}").replace(Si,"^")}function Hs(e){return fo(e).replace(Ei,"%2B").replace(gu,"+").replace(Ci,"%23").replace(au,"%26").replace(hu,"`").replace(Ai,"{").replace(ki,"}").replace(Si,"^")}function bu(e){return Hs(e).replace(cu,"%3D")}function xu(e){return fo(e).replace(Ci,"%23").replace(fu,"%3F")}function _u(e){return xu(e).replace(uu,"%2F")}function Tn(e){if(e==null)return null;try{return decodeURIComponent(""+e)}catch{}return""+e}const yu=/\/$/,wu=e=>e.replace(yu,"");function Is(e,t,n="/"){let s,o={},r="",i="";const l=t.indexOf("#");let a=t.indexOf("?");return a=l>=0&&a>l?-1:a,a>=0&&(s=t.slice(0,a),r=t.slice(a,l>0?l:t.length),o=e(r.slice(1))),l>=0&&(s=s||t.slice(0,l),i=t.slice(l,t.length)),s=Au(s??t,n),{fullPath:s+r+i,path:s,query:o,hash:Tn(i)}}function Cu(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Yo(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Eu(e,t,n){const s=t.matched.length-1,o=n.matched.length-1;return s>-1&&s===o&&ln(t.matched[s],n.matched[o])&&Ri(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function ln(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Ri(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(!Su(e[n],t[n]))return!1;return!0}function Su(e,t){return lt(e)?Xo(e,t):lt(t)?Xo(t,e):(e==null?void 0:e.valueOf())===(t==null?void 0:t.valueOf())}function Xo(e,t){return lt(t)?e.length===t.length&&e.every((n,s)=>n===t[s]):e.length===1&&e[0]===t}function Au(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),s=e.split("/"),o=s[s.length-1];(o===".."||o===".")&&s.push("");let r=n.length-1,i,l;for(i=0;i1&&r--;else break;return n.slice(0,r).join("/")+"/"+s.slice(i).join("/")}const Ot={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};let Bs=(function(e){return e.pop="pop",e.push="push",e})({}),Ps=(function(e){return e.back="back",e.forward="forward",e.unknown="",e})({});function ku(e){if(!e)if(Jt){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),wu(e)}const Ru=/^[^#]+#/;function Iu(e,t){return e.replace(Ru,"#")+t}function Pu(e,t){const n=document.documentElement.getBoundingClientRect(),s=e.getBoundingClientRect();return{behavior:t.behavior,left:s.left-n.left-(t.left||0),top:s.top-n.top-(t.top||0)}}const ms=()=>({left:window.scrollX,top:window.scrollY});function Ou(e){let t;if("el"in e){const n=e.el,s=typeof n=="string"&&n.startsWith("#"),o=typeof n=="string"?s?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!o)return;t=Pu(o,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function Zo(e,t){return(history.state?history.state.position-t:-1)+e}const Ks=new Map;function Tu(e,t){Ks.set(e,t)}function $u(e){const t=Ks.get(e);return Ks.delete(e),t}function Nu(e){return typeof e=="string"||e&&typeof e=="object"}function Ii(e){return typeof e=="string"||typeof e=="symbol"}let we=(function(e){return e[e.MATCHER_NOT_FOUND=1]="MATCHER_NOT_FOUND",e[e.NAVIGATION_GUARD_REDIRECT=2]="NAVIGATION_GUARD_REDIRECT",e[e.NAVIGATION_ABORTED=4]="NAVIGATION_ABORTED",e[e.NAVIGATION_CANCELLED=8]="NAVIGATION_CANCELLED",e[e.NAVIGATION_DUPLICATED=16]="NAVIGATION_DUPLICATED",e})({});const Pi=Symbol("");we.MATCHER_NOT_FOUND+"",we.NAVIGATION_GUARD_REDIRECT+"",we.NAVIGATION_ABORTED+"",we.NAVIGATION_CANCELLED+"",we.NAVIGATION_DUPLICATED+"";function an(e,t){return fe(new Error,{type:e,[Pi]:!0},t)}function xt(e,t){return e instanceof Error&&Pi in e&&(t==null||!!(e.type&t))}const Du=["params","query","hash"];function Mu(e){if(typeof e=="string")return e;if(e.path!=null)return e.path;const t={};for(const n of Du)n in e&&(t[n]=e[n]);return JSON.stringify(t,null,2)}function Vu(e){const t={};if(e===""||e==="?")return t;const n=(e[0]==="?"?e.slice(1):e).split("&");for(let s=0;so&&Hs(o)):[s&&Hs(s)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function ju(e){const t={};for(const n in e){const s=e[n];s!==void 0&&(t[n]=lt(s)?s.map(o=>o==null?null:""+o):s==null?s:""+s)}return t}const Uu=Symbol(""),tr=Symbol(""),gs=Symbol(""),po=Symbol(""),qs=Symbol("");function pn(){let e=[];function t(s){return e.push(s),()=>{const o=e.indexOf(s);o>-1&&e.splice(o,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Nt(e,t,n,s,o,r=i=>i()){const i=s&&(s.enterCallbacks[o]=s.enterCallbacks[o]||[]);return()=>new Promise((l,a)=>{const d=g=>{g===!1?a(an(we.NAVIGATION_ABORTED,{from:n,to:t})):g instanceof Error?a(g):Nu(g)?a(an(we.NAVIGATION_GUARD_REDIRECT,{from:t,to:g})):(i&&s.enterCallbacks[o]===i&&typeof g=="function"&&i.push(g),l())},c=r(()=>e.call(s&&s.instances[o],t,n,d));let p=Promise.resolve(c);e.length<3&&(p=p.then(d)),p.catch(g=>a(g))})}function Os(e,t,n,s,o=r=>r()){const r=[];for(const i of e)for(const l in i.components){let a=i.components[l];if(!(t!=="beforeRouteEnter"&&!i.instances[l]))if(wi(a)){const d=(a.__vccOpts||a)[t];d&&r.push(Nt(d,n,s,i,l,o))}else{let d=a();r.push(()=>d.then(c=>{if(!c)throw new Error(`Couldn't resolve component "${l}" at "${i.path}"`);const p=lu(c)?c.default:c;i.mods[l]=c,i.components[l]=p;const g=(p.__vccOpts||p)[t];return g&&Nt(g,n,s,i,l,o)()}))}}return r}function Lu(e,t){const n=[],s=[],o=[],r=Math.max(t.matched.length,e.matched.length);for(let i=0;iln(d,l))?s.push(l):n.push(l));const a=e.matched[i];a&&(t.matched.find(d=>ln(d,a))||o.push(a))}return[n,s,o]}/*! * vue-router v4.6.4 * (c) 2025 Eduardo San Martin Morote * @license MIT - */let Fu=()=>location.protocol+"//"+location.host;function Pi(e,t){const{pathname:n,search:s,hash:o}=t,r=e.indexOf("#");if(r>-1){let i=o.includes(e.slice(r))?e.slice(r).length:1,l=o.slice(i);return l[0]!=="/"&&(l="/"+l),Qo(l,"")}return Qo(n,e)+s+o}function Hu(e,t,n,s){let o=[],r=[],i=null;const l=({state:g})=>{const b=Pi(e,location),U=n.value,T=t.value;let G=0;if(g){if(n.value=b,t.value=g,i&&i===U){i=null;return}G=T?g.position-T.position:0}else s(b);o.forEach(B=>{B(n.value,U,{delta:G,type:Bs.pop,direction:G?G>0?Ps.forward:Ps.back:Ps.unknown})})};function a(){i=n.value}function d(g){o.push(g);const b=()=>{const U=o.indexOf(g);U>-1&&o.splice(U,1)};return r.push(b),b}function c(){if(document.visibilityState==="hidden"){const{history:g}=window;if(!g.state)return;g.replaceState(fe({},g.state,{scroll:ms()}),"")}}function p(){for(const g of r)g();r=[],window.removeEventListener("popstate",l),window.removeEventListener("pagehide",c),document.removeEventListener("visibilitychange",c)}return window.addEventListener("popstate",l),window.addEventListener("pagehide",c),document.addEventListener("visibilitychange",c),{pauseListeners:a,listen:d,destroy:p}}function nr(e,t,n,s=!1,o=!1){return{back:e,current:t,forward:n,replaced:s,position:window.history.length,scroll:o?ms():null}}function Bu(e){const{history:t,location:n}=window,s={value:Pi(e,n)},o={value:t.state};o.value||r(s.value,{back:null,current:s.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function r(a,d,c){const p=e.indexOf("#"),g=p>-1?(n.host&&document.querySelector("base")?e:e.slice(p))+a:Fu()+e+a;try{t[c?"replaceState":"pushState"](d,"",g),o.value=d}catch(b){console.error(b),n[c?"replace":"assign"](g)}}function i(a,d){r(a,fe({},t.state,nr(o.value.back,a,o.value.forward,!0),d,{position:o.value.position}),!0),s.value=a}function l(a,d){const c=fe({},o.value,t.state,{forward:a,scroll:ms()});r(c.current,c,!0),r(a,fe({},nr(s.value,a,null),{position:c.position+1},d),!1),s.value=a}return{location:s,state:o,push:l,replace:i}}function Ku(e){e=ku(e);const t=Bu(e),n=Hu(e,t.state,t.location,t.replace);function s(r,i=!0){i||n.pauseListeners(),history.go(r)}const o=fe({location:"",base:e,go:s,createHref:Iu.bind(null,e)},t,n);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>t.state.value}),o}let Ht=(function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.Group=2]="Group",e})({});var Re=(function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.ParamRegExp=2]="ParamRegExp",e[e.ParamRegExpEnd=3]="ParamRegExpEnd",e[e.EscapeNext=4]="EscapeNext",e})(Re||{});const Gu={type:Ht.Static,value:""},qu=/[a-zA-Z0-9_]/;function Wu(e){if(!e)return[[]];if(e==="/")return[[Gu]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(b){throw new Error(`ERR (${n})/"${d}": ${b}`)}let n=Re.Static,s=n;const o=[];let r;function i(){r&&o.push(r),r=[]}let l=0,a,d="",c="";function p(){d&&(n===Re.Static?r.push({type:Ht.Static,value:d}):n===Re.Param||n===Re.ParamRegExp||n===Re.ParamRegExpEnd?(r.length>1&&(a==="*"||a==="+")&&t(`A repeatable param (${d}) must be alone in its segment. eg: '/:ids+.`),r.push({type:Ht.Param,value:d,regexp:c,repeatable:a==="*"||a==="+",optional:a==="*"||a==="?"})):t("Invalid state to consume buffer"),d="")}function g(){d+=a}for(;lt.length?t.length===1&&t[0]===Fe.Static+Fe.Segment?1:-1:0}function Oi(e,t){let n=0;const s=e.score,o=t.score;for(;n0&&t[t.length-1]<0}const Xu={strict:!1,end:!0,sensitive:!1};function Zu(e,t,n){const s=Yu(Wu(e.path),n),o=fe(s,{record:e,parent:t,children:[],alias:[]});return t&&!o.record.aliasOf==!t.record.aliasOf&&t.children.push(o),o}function ec(e,t){const n=[],s=new Map;t=Yo(Xu,t);function o(p){return s.get(p)}function r(p,g,b){const U=!b,T=ir(p);T.aliasOf=b&&b.record;const G=Yo(t,p),B=[T];if("alias"in p){const P=typeof p.alias=="string"?[p.alias]:p.alias;for(const S of P)B.push(ir(fe({},T,{components:b?b.record.components:T.components,path:S,aliasOf:b?b.record:T})))}let N,K;for(const P of B){const{path:S}=P;if(g&&S[0]!=="/"){const D=g.record.path,Z=D[D.length-1]==="/"?"":"/";P.path=g.record.path+(S&&Z+S)}if(N=Zu(P,g,G),b?b.alias.push(N):(K=K||N,K!==N&&K.alias.push(N),U&&p.name&&!lr(N)&&i(p.name)),Ti(N)&&a(N),T.children){const D=T.children;for(let Z=0;Z{i(K)}:wn}function i(p){if(Ri(p)){const g=s.get(p);g&&(s.delete(p),n.splice(n.indexOf(g),1),g.children.forEach(i),g.alias.forEach(i))}else{const g=n.indexOf(p);g>-1&&(n.splice(g,1),p.record.name&&s.delete(p.record.name),p.children.forEach(i),p.alias.forEach(i))}}function l(){return n}function a(p){const g=sc(p,n);n.splice(g,0,p),p.record.name&&!lr(p)&&s.set(p.record.name,p)}function d(p,g){let b,U={},T,G;if("name"in p&&p.name){if(b=s.get(p.name),!b)throw an(we.MATCHER_NOT_FOUND,{location:p});G=b.record.name,U=fe(rr(g.params,b.keys.filter(K=>!K.optional).concat(b.parent?b.parent.keys.filter(K=>K.optional):[]).map(K=>K.name)),p.params&&rr(p.params,b.keys.map(K=>K.name))),T=b.stringify(U)}else if(p.path!=null)T=p.path,b=n.find(K=>K.re.test(T)),b&&(U=b.parse(T),G=b.record.name);else{if(b=g.name?s.get(g.name):n.find(K=>K.re.test(g.path)),!b)throw an(we.MATCHER_NOT_FOUND,{location:p,currentLocation:g});G=b.record.name,U=fe({},g.params,p.params),T=b.stringify(U)}const B=[];let N=b;for(;N;)B.unshift(N.record),N=N.parent;return{name:G,path:T,params:U,matched:B,meta:nc(B)}}e.forEach(p=>r(p));function c(){n.length=0,s.clear()}return{addRoute:r,resolve:d,removeRoute:i,clearRoutes:c,getRoutes:l,getRecordMatcher:o}}function rr(e,t){const n={};for(const s of t)s in e&&(n[s]=e[s]);return n}function ir(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:tc(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function tc(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const s in e.components)t[s]=typeof n=="object"?n[s]:n;return t}function lr(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function nc(e){return e.reduce((t,n)=>fe(t,n.meta),{})}function sc(e,t){let n=0,s=t.length;for(;n!==s;){const r=n+s>>1;Oi(e,t[r])<0?s=r:n=r+1}const o=oc(e);return o&&(s=t.lastIndexOf(o,s-1)),s}function oc(e){let t=e;for(;t=t.parent;)if(Ti(t)&&Oi(e,t)===0)return t}function Ti({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function ar(e){const t=st(gs),n=st(po),s=xe(()=>{const a=Pe(e.to);return t.resolve(a)}),o=xe(()=>{const{matched:a}=s.value,{length:d}=a,c=a[d-1],p=n.matched;if(!c||!p.length)return-1;const g=p.findIndex(ln.bind(null,c));if(g>-1)return g;const b=ur(a[d-2]);return d>1&&ur(c)===b&&p[p.length-1].path!==b?p.findIndex(ln.bind(null,a[d-2])):g}),r=xe(()=>o.value>-1&&uc(n.params,s.value.params)),i=xe(()=>o.value>-1&&o.value===n.matched.length-1&&ki(n.params,s.value.params));function l(a={}){if(ac(a)){const d=t[Pe(e.replace)?"replace":"push"](Pe(e.to)).catch(wn);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>d),d}return Promise.resolve()}return{route:s,href:xe(()=>s.value.href),isActive:r,isExactActive:i,navigate:l}}function rc(e){return e.length===1?e[0]:e}const ic=qr({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"},viewTransition:Boolean},useLink:ar,setup(e,{slots:t}){const n=as(ar(e)),{options:s}=st(gs),o=xe(()=>({[cr(e.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[cr(e.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const r=t.default&&rc(t.default(n));return e.custom?r:bi("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},r)}}}),lc=ic;function ac(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function uc(e,t){for(const n in t){const s=t[n],o=e[n];if(typeof s=="string"){if(s!==o)return!1}else if(!lt(o)||o.length!==s.length||s.some((r,i)=>r.valueOf()!==o[i].valueOf()))return!1}return!0}function ur(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const cr=(e,t,n)=>e??t??n,cc=qr({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const s=st(Gs),o=xe(()=>e.route||s.value),r=st(tr,0),i=xe(()=>{let d=Pe(r);const{matched:c}=o.value;let p;for(;(p=c[d])&&!p.components;)d++;return d}),l=xe(()=>o.value.matched[i.value]);Kn(tr,xe(()=>i.value+1)),Kn(Uu,l),Kn(Gs,o);const a=Y();return Vt(()=>[a.value,l.value,e.name],([d,c,p],[g,b,U])=>{c&&(c.instances[p]=d,b&&b!==c&&d&&d===g&&(c.leaveGuards.size||(c.leaveGuards=b.leaveGuards),c.updateGuards.size||(c.updateGuards=b.updateGuards))),d&&c&&(!b||!ln(c,b)||!g)&&(c.enterCallbacks[p]||[]).forEach(T=>T(d))},{flush:"post"}),()=>{const d=o.value,c=e.name,p=l.value,g=p&&p.components[c];if(!g)return fr(n.default,{Component:g,route:d});const b=p.props[c],U=b?b===!0?d.params:typeof b=="function"?b(d):b:null,G=bi(g,fe({},U,t,{onVnodeUnmounted:B=>{B.component.isUnmounted&&(p.instances[c]=null)},ref:a}));return fr(n.default,{Component:G,route:d})||G}}});function fr(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const fc=cc;function dc(e){const t=ec(e.routes,e),n=e.parseQuery||Vu,s=e.stringifyQuery||er,o=e.history,r=pn(),i=pn(),l=pn(),a=hl(Ot);let d=Ot;Jt&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const c=Rs.bind(null,E=>""+E),p=Rs.bind(null,_u),g=Rs.bind(null,Tn);function b(E,H){let L,W;return Ri(E)?(L=t.getRecordMatcher(E),W=H):W=E,t.addRoute(W,L)}function U(E){const H=t.getRecordMatcher(E);H&&t.removeRoute(H)}function T(){return t.getRoutes().map(E=>E.record)}function G(E){return!!t.getRecordMatcher(E)}function B(E,H){if(H=fe({},H||a.value),typeof E=="string"){const m=Is(n,E,H.path),w=t.resolve({path:m.path},H),A=o.createHref(m.fullPath);return fe(m,w,{params:g(w.params),hash:Tn(m.hash),redirectedFrom:void 0,href:A})}let L;if(E.path!=null)L=fe({},E,{path:Is(n,E.path,H.path).path});else{const m=fe({},E.params);for(const w in m)m[w]==null&&delete m[w];L=fe({},E,{params:p(m)}),H.params=p(H.params)}const W=t.resolve(L,H),re=E.hash||"";W.params=c(g(W.params));const f=Cu(s,fe({},E,{hash:vu(re),path:W.path})),h=o.createHref(f);return fe({fullPath:f,hash:re,query:s===er?ju(E.query):E.query||{}},W,{redirectedFrom:void 0,href:h})}function N(E){return typeof E=="string"?Is(n,E,a.value.path):fe({},E)}function K(E,H){if(d!==E)return an(we.NAVIGATION_CANCELLED,{from:H,to:E})}function P(E){return Z(E)}function S(E){return P(fe(N(E),{replace:!0}))}function D(E,H){const L=E.matched[E.matched.length-1];if(L&&L.redirect){const{redirect:W}=L;let re=typeof W=="function"?W(E,H):W;return typeof re=="string"&&(re=re.includes("?")||re.includes("#")?re=N(re):{path:re},re.params={}),fe({query:E.query,hash:E.hash,params:re.path!=null?{}:E.params},re)}}function Z(E,H){const L=d=B(E),W=a.value,re=E.state,f=E.force,h=E.replace===!0,m=D(L,W);if(m)return Z(fe(N(m),{state:typeof m=="object"?fe({},re,m.state):re,force:f,replace:h}),H||L);const w=L;w.redirectedFrom=H;let A;return!f&&Eu(s,W,L)&&(A=an(we.NAVIGATION_DUPLICATED,{to:w,from:W}),Qe(W,W,!0,!1)),(A?Promise.resolve(A):ke(w,W)).catch(y=>xt(y)?xt(y,we.NAVIGATION_GUARD_REDIRECT)?y:We(y):oe(y,w,W)).then(y=>{if(y){if(xt(y,we.NAVIGATION_GUARD_REDIRECT))return Z(fe({replace:h},N(y.to),{state:typeof y.to=="object"?fe({},re,y.to.state):re,force:f}),H||w)}else y=tt(w,W,!0,h,re);return J(w,W,y),y})}function _(E,H){const L=K(E,H);return L?Promise.reject(L):Promise.resolve()}function V(E){const H=vt.values().next().value;return H&&typeof H.runWithContext=="function"?H.runWithContext(E):E()}function ke(E,H){let L;const[W,re,f]=Lu(E,H);L=Os(W.reverse(),"beforeRouteLeave",E,H);for(const m of W)m.leaveGuards.forEach(w=>{L.push(Nt(w,E,H))});const h=_.bind(null,E,H);return L.push(h),Ge(L).then(()=>{L=[];for(const m of r.list())L.push(Nt(m,E,H));return L.push(h),Ge(L)}).then(()=>{L=Os(re,"beforeRouteUpdate",E,H);for(const m of re)m.updateGuards.forEach(w=>{L.push(Nt(w,E,H))});return L.push(h),Ge(L)}).then(()=>{L=[];for(const m of f)if(m.beforeEnter)if(lt(m.beforeEnter))for(const w of m.beforeEnter)L.push(Nt(w,E,H));else L.push(Nt(m.beforeEnter,E,H));return L.push(h),Ge(L)}).then(()=>(E.matched.forEach(m=>m.enterCallbacks={}),L=Os(f,"beforeRouteEnter",E,H,V),L.push(h),Ge(L))).then(()=>{L=[];for(const m of i.list())L.push(Nt(m,E,H));return L.push(h),Ge(L)}).catch(m=>xt(m,we.NAVIGATION_CANCELLED)?m:Promise.reject(m))}function J(E,H,L){l.list().forEach(W=>V(()=>W(E,H,L)))}function tt(E,H,L,W,re){const f=K(E,H);if(f)return f;const h=H===Ot,m=Jt?history.state:{};L&&(W||h?o.replace(E.fullPath,fe({scroll:h&&m&&m.scroll},re)):o.push(E.fullPath,re)),a.value=E,Qe(E,H,L,h),We()}let Ye;function jt(){Ye||(Ye=o.listen((E,H,L)=>{if(!Xe.listening)return;const W=B(E),re=D(W,Xe.currentRoute.value);if(re){Z(fe(re,{replace:!0,force:!0}),W).catch(wn);return}d=W;const f=a.value;Jt&&Tu(Zo(f.fullPath,L.delta),ms()),ke(W,f).catch(h=>xt(h,we.NAVIGATION_ABORTED|we.NAVIGATION_CANCELLED)?h:xt(h,we.NAVIGATION_GUARD_REDIRECT)?(Z(fe(N(h.to),{force:!0}),W).then(m=>{xt(m,we.NAVIGATION_ABORTED|we.NAVIGATION_DUPLICATED)&&!L.delta&&L.type===Bs.pop&&o.go(-1,!1)}).catch(wn),Promise.reject()):(L.delta&&o.go(-L.delta,!1),oe(h,W,f))).then(h=>{h=h||tt(W,f,!1),h&&(L.delta&&!xt(h,we.NAVIGATION_CANCELLED)?o.go(-L.delta,!1):L.type===Bs.pop&&xt(h,we.NAVIGATION_ABORTED|we.NAVIGATION_DUPLICATED)&&o.go(-1,!1)),J(W,f,h)}).catch(wn)}))}let It=pn(),Ae=pn(),le;function oe(E,H,L){We(E);const W=Ae.list();return W.length?W.forEach(re=>re(E,H,L)):console.error(E),Promise.reject(E)}function ne(){return le&&a.value!==Ot?Promise.resolve():new Promise((E,H)=>{It.add([E,H])})}function We(E){return le||(le=!E,jt(),It.list().forEach(([H,L])=>E?L(E):H()),It.reset()),E}function Qe(E,H,L,W){const{scrollBehavior:re}=e;if(!Jt||!re)return Promise.resolve();const f=!L&&$u(Zo(E.fullPath,0))||(W||!L)&&history.state&&history.state.scroll||null;return so().then(()=>re(E,H,f)).then(h=>h&&Ou(h)).catch(h=>oe(h,E,H))}const Te=E=>o.go(E);let Pt;const vt=new Set,Xe={currentRoute:a,listening:!0,addRoute:b,removeRoute:U,clearRoutes:t.clearRoutes,hasRoute:G,getRoutes:T,resolve:B,options:e,push:P,replace:S,go:Te,back:()=>Te(-1),forward:()=>Te(1),beforeEach:r.add,beforeResolve:i.add,afterEach:l.add,onError:Ae.add,isReady:ne,install(E){E.component("RouterLink",lc),E.component("RouterView",fc),E.config.globalProperties.$router=Xe,Object.defineProperty(E.config.globalProperties,"$route",{enumerable:!0,get:()=>Pe(a)}),Jt&&!Pt&&a.value===Ot&&(Pt=!0,P(o.location).catch(W=>{}));const H={};for(const W in Ot)Object.defineProperty(H,W,{get:()=>a.value[W],enumerable:!0});E.provide(gs,Xe),E.provide(po,Dr(H)),E.provide(Gs,a);const L=E.unmount;vt.add(E),E.unmount=function(){vt.delete(E),vt.size<1&&(d=Ot,Ye&&Ye(),Ye=null,a.value=Ot,Pt=!1,le=!1),L()}}};function Ge(E){return E.reduce((H,L)=>H.then(()=>V(L)),Promise.resolve())}return Xe}function ho(){return st(gs)}function $i(e){return st(po)}const Fn=window.location.pathname.startsWith("/portal/"),Be={esPortal:Fn,baseRuta:Fn?"/portal/studio/":"/studio/",apiBase:Fn?"/portal":"/app",urlLogin:Fn?"/portal/login":"/login"};function ae(e){return Be.apiBase+e}async function Hn(e,t={}){const n=await fetch(e,{...t,headers:{"Content-Type":"application/json",...t.headers}}),s=n.headers.get("content-type")||"";if(n.redirected||!s.includes("application/json"))throw window.location.href=Be.urlLogin,new Error("Sesión expirada");const o=await n.json();if(!n.ok){const r=typeof(o==null?void 0:o.error)=="string"?o.error:o==null?void 0:o.message;throw new Error(r||"Error de servidor")}return o}const ue={get:e=>Hn(e),post:(e,t)=>Hn(e,{method:"POST",body:JSON.stringify(t)}),put:(e,t)=>Hn(e,{method:"PUT",body:JSON.stringify(t)}),del:e=>Hn(e,{method:"DELETE"})},gn=Y(!1),pc={class:"h-14 px-4 flex items-center border-b border-borde"},hc={key:0,class:"px-3 pt-3"},mc={key:1,class:"px-3 pt-2 text-xs text-red-600 dark:text-red-400"},gc={class:"flex-1 overflow-y-auto px-2 py-3 space-y-0.5"},vc={key:0,class:"px-2 text-xs text-tenue"},bc={key:1,class:"px-2 text-xs text-tenue"},xc={class:"truncate"},_c={class:"flex items-center gap-1 mt-0.5"},yc={class:"text-[11px] text-tenue"},wc={key:0,class:"flex opacity-0 group-hover:opacity-100 transition-opacity pr-1.5 gap-0.5"},Cc=["onClick"],Ec=["onClick"],Sc={class:"card w-full max-w-lg p-6 animate-escalar shadow-2xl"},Ac={class:"font-semibold text-texto mb-4"},kc={key:0,class:"grid grid-cols-2 gap-3"},Rc=["value"],Ic={class:"text-[11px] text-tenue mt-1"},Pc=["value"],Oc={class:"text-[11px] text-tenue mt-1"},Tc={class:"flex items-center gap-2 text-sm text-texto"},$c={class:"flex justify-end gap-2 pt-2"},Nc={__name:"Sidebar",setup(e,{expose:t}){const n=$i(),s=ho(),o=Y([]),r=Y([]),i=Y([]),l=Y(!0),a=Y(""),d=Y(!1),c=Y(null),p=Y(b()),g=xe(()=>n.params.tenantId||n.params.id);Vt(()=>n.fullPath,()=>{gn.value=!1});function b(){return{nombre:"",dominios_permitidos:"",activo:!0,cliente_id:null,plan_id:null}}async function U(){l.value=!0,a.value="";try{const S=await ue.get(ae("/umind/tenants"));o.value=S.items||[]}catch(S){a.value=S.message}finally{l.value=!1}}function T(S){return Array.isArray(S)?S:(S==null?void 0:S.items)||(S==null?void 0:S.registros)||[]}async function G(){if(Be.esPortal)return;const[S,D]=await Promise.allSettled([ue.get("/app/api/clientes/select"),ue.get("/app/umind-planes/list")]);r.value=S.status==="fulfilled"?T(S.value):[],i.value=D.status==="fulfilled"?T(D.value):[];const Z=[];S.status==="rejected"&&Z.push("clientes"),D.status==="rejected"&&Z.push("planes"),Z.length&&(a.value=`No se pudo cargar la lista de ${Z.join(" ni ")}.`)}function B(){c.value=null,p.value=b(),d.value=!0}function N(S){c.value=S,p.value={nombre:S.nombre,dominios_permitidos:S.dominios_permitidos,activo:S.activo,cliente_id:S.cliente_id??null,plan_id:S.plan_id??null},d.value=!0}async function K(){const S={...p.value,dominios_permitidos:p.value.dominios_permitidos.split(",").map(D=>D.trim()).filter(Boolean)};try{if(c.value)await ue.put(ae(`/umind/tenants/${c.value.ID}`),S),d.value=!1,await U();else{const D=await ue.post(ae("/umind/tenants"),S);d.value=!1,await U(),s.push(`/tenants/${D.id}`)}}catch(D){a.value=D.message}}async function P(S){confirm(`¿Eliminar el tenant "${S.nombre}"? Esto borra también sus agentes. No se puede deshacer.`)&&(await ue.del(ae(`/umind/tenants/${S.ID}`)),g.value===String(S.ID)&&s.push("/"),await U())}return t({recargar:U}),lo(()=>{U(),G()}),(S,D)=>{const Z=Dn("router-link");return R(),I(ce,null,[Pe(gn)?(R(),I("div",{key:0,class:"fixed inset-0 bg-black/50 z-30 md:hidden",onClick:D[0]||(D[0]=_=>gn.value=!1)})):te("",!0),u("aside",{class:Ie(["w-64 shrink-0 flex flex-col border-r border-borde bg-superficie fixed inset-y-0 left-0 z-40 transition-transform duration-200 md:static md:h-screen md:sticky md:top-0 md:translate-x-0",Pe(gn)?"translate-x-0":"-translate-x-full"])},[u("div",pc,[Ce(Z,{to:"/",class:"text-base font-semibold text-texto"},{default:Mt(()=>[...D[8]||(D[8]=[_e(" uMind ",-1),u("span",{class:"text-brand"},"Studio",-1)])]),_:1})]),Pe(Be).esPortal?te("",!0):(R(),I("div",hc,[u("button",{class:"btn-primary w-full",onClick:B}," + Nuevo tenant ")])),a.value?(R(),I("p",mc,M(a.value),1)):te("",!0),u("nav",gc,[l.value?(R(),I("p",vc,"Cargando...")):o.value.length===0?(R(),I("p",bc,M(Pe(Be).esPortal?"Todavía no tenés ningún espacio asignado. Escribinos y lo activamos.":"Sin tenants todavía."),1)):te("",!0),(R(!0),I(ce,null,Oe(o.value,_=>(R(),I("div",{key:_.ID,class:Ie(["group flex items-center rounded-lg transition-colors",g.value===String(_.ID)?"bg-brand/10":"hover:bg-elevado"])},[Ce(Z,{to:`/tenants/${_.ID}`,class:Ie(["flex-1 min-w-0 px-2.5 py-2 text-sm",g.value===String(_.ID)?"text-brand font-medium":"text-texto"])},{default:Mt(()=>[u("div",xc,M(_.nombre),1),u("div",_c,[u("span",{class:Ie(["w-1.5 h-1.5 rounded-full",_.activo?"bg-green-500":"bg-tenue/40"])},null,2),u("span",yc,M(_.activo?"activo":"inactivo"),1)])]),_:2},1032,["to","class"]),Pe(Be).esPortal?te("",!0):(R(),I("div",wc,[u("button",{class:"p-1 text-tenue hover:text-texto",title:"Editar",onClick:V=>N(_)}," ✎ ",8,Cc),u("button",{class:"p-1 text-tenue hover:text-red-600",title:"Eliminar",onClick:V=>P(_)}," ✕ ",8,Ec)]))],2))),128))])],2),d.value?(R(),I("div",{key:1,class:"fixed inset-0 bg-black/40 flex items-center justify-center p-4 z-50",onClick:D[7]||(D[7]=Ze(_=>d.value=!1,["self"]))},[u("div",Sc,[u("h2",Ac,M(c.value?"Editar tenant":"Nuevo tenant"),1),D[17]||(D[17]=u("p",{class:"text-xs text-tenue mb-3"}," Un tenant es el negocio/sitio dueño de los dominios permitidos. La config de IA, tono y demás se configuran por agente, dentro del tenant. ",-1)),u("form",{class:"space-y-3",onSubmit:Ze(K,["prevent"])},[u("div",null,[D[9]||(D[9]=u("label",{class:"label"},"Nombre",-1)),se(u("input",{"onUpdate:modelValue":D[1]||(D[1]=_=>p.value.nombre=_),required:"",class:"input"},null,512),[[ye,p.value.nombre]])]),u("div",null,[D[10]||(D[10]=u("label",{class:"label"},"Dominios permitidos (separados por coma)",-1)),se(u("input",{"onUpdate:modelValue":D[2]||(D[2]=_=>p.value.dominios_permitidos=_),placeholder:"ejemplo.com, www.ejemplo.com",required:"",class:"input"},null,512),[[ye,p.value.dominios_permitidos]])]),Pe(Be).esPortal?te("",!0):(R(),I("div",kc,[u("div",null,[D[12]||(D[12]=u("label",{class:"label"},"Cliente",-1)),se(u("select",{"onUpdate:modelValue":D[3]||(D[3]=_=>p.value.cliente_id=_),class:"input"},[D[11]||(D[11]=u("option",{value:null},"— sin asignar —",-1)),(R(!0),I(ce,null,Oe(r.value,_=>(R(),I("option",{key:_.ID,value:_.ID},M(_.nombre),9,Rc))),128))],512),[[Pn,p.value.cliente_id]]),u("p",Ic,M(r.value.length?"Define quién ve este tenant desde el portal.":"No hay clientes activos — creá uno en Clientes."),1)]),u("div",null,[D[14]||(D[14]=u("label",{class:"label"},"Plan",-1)),se(u("select",{"onUpdate:modelValue":D[4]||(D[4]=_=>p.value.plan_id=_),class:"input"},[D[13]||(D[13]=u("option",{value:null},"— sin plan —",-1)),(R(!0),I(ce,null,Oe(i.value,_=>(R(),I("option",{key:_.ID,value:_.ID},M(_.nombre)+" ("+M(_.max_agentes===0?"∞":_.max_agentes)+" agentes) ",9,Pc))),128))],512),[[Pn,p.value.plan_id]]),u("p",Oc,M(i.value.length?"Límite de agentes y precios de consumo.":"No hay planes — creá uno en uMind Planes."),1)])])),u("label",Tc,[se(u("input",{"onUpdate:modelValue":D[5]||(D[5]=_=>p.value.activo=_),type:"checkbox"},null,512),[[$t,p.value.activo]]),D[15]||(D[15]=_e(" Activo ",-1))]),u("div",$c,[u("button",{type:"button",class:"btn-ghost",onClick:D[6]||(D[6]=_=>d.value=!1)}," Cancelar "),D[16]||(D[16]=u("button",{type:"submit",class:"btn-primary"}," Guardar ",-1))])],32)])])):te("",!0)],64)}}},Ni="umind-tema";function Dc(){return window.matchMedia("(prefers-color-scheme: dark)").matches?"oscuro":"claro"}const tn=Y(localStorage.getItem(Ni)||Dc());function Di(){document.documentElement.classList.toggle("dark",tn.value==="oscuro")}function dr(){tn.value=tn.value==="oscuro"?"claro":"oscuro",localStorage.setItem(Ni,tn.value),Di()}Di();const Mc={class:"min-h-screen flex"},Vc={class:"flex-1 min-w-0 flex flex-col"},jc={class:"h-14 shrink-0 flex items-center gap-1 px-4 sm:px-6 border-b border-borde"},Uc=["title"],Lc={class:"text-base leading-none"},Fc={class:"flex-1 max-w-5xl w-full mx-auto px-4 sm:px-6 lg:px-8 py-6 sm:py-8 animate-aparecer"},Hc={__name:"App",setup(e){return(t,n)=>{const s=Dn("router-view");return R(),I("div",Mc,[Ce(Nc),u("main",Vc,[u("header",jc,[u("button",{class:"btn-ghost !px-2 !py-1.5 md:hidden","aria-label":"Abrir menú",onClick:n[0]||(n[0]=o=>gn.value=!0)},[...n[2]||(n[2]=[u("svg",{class:"w-5 h-5",fill:"none",stroke:"currentColor","stroke-width":"2",viewBox:"0 0 24 24"},[u("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M4 6h16M4 12h16M4 18h16"})],-1)])]),n[3]||(n[3]=u("span",{class:"flex-1"},null,-1)),u("button",{class:"btn-ghost !px-2.5 !py-1.5",title:Pe(tn)==="oscuro"?"Cambiar a claro":"Cambiar a oscuro",onClick:n[1]||(n[1]=(...o)=>Pe(dr)&&Pe(dr)(...o))},[u("span",Lc,M(Pe(tn)==="oscuro"?"☀️":"🌙"),1)],8,Uc)]),u("div",Fc,[Ce(s)])])])}}},Bc={key:0,class:"flex flex-col items-center justify-center py-24 text-sm text-tenue"},Kc={key:1,class:"flex flex-col items-center justify-center text-center py-24"},Gc={class:"text-lg font-medium text-texto"},qc={class:"text-sm text-tenue mt-1"},Wc={__name:"Home",setup(e){const t=ho(),n=Y(Be.esPortal);async function s(){if(Be.esPortal)try{const r=(await ue.get(ae("/umind/tenants"))).items||[];if(r.length!==1)return;const i=r[0].ID,a=(await ue.get(ae(`/umind/agentes?tenant_id=${i}`))).items||[];if(a.length===1){t.replace(`/tenants/${i}/agentes/${a[0].ID}`);return}t.replace(`/tenants/${i}`)}catch{}finally{n.value=!1}}return lo(s),(o,r)=>n.value?(R(),I("div",Bc," Abriendo tu asistente… ")):(R(),I("div",Kc,[r[0]||(r[0]=u("div",{class:"text-4xl mb-4"},"💬",-1)),u("h1",Gc,M(Pe(Be).esPortal?"Elegí tu espacio de la izquierda":"Elegí un tenant de la izquierda"),1),u("p",qc,M(Pe(Be).esPortal?"Adentro vas a poder crear y configurar tus agentes.":"o creá uno nuevo para empezar a configurar su agente."),1)]))}},zc={class:"flex flex-col items-center justify-center text-center py-12 px-6"},Jc={key:0,class:"text-3xl mb-3 opacity-70"},Yc={class:"text-sm font-medium text-texto"},Qc={key:1,class:"text-xs text-tenue mt-1 max-w-sm"},Xc={class:"mt-4"},Mi={__name:"UiEmptyState",props:{icono:{type:String,default:""},titulo:String,detalle:String},setup(e){return(t,n)=>(R(),I("div",zc,[e.icono?(R(),I("div",Jc,M(e.icono),1)):te("",!0),u("p",Yc,M(e.titulo),1),e.detalle?(R(),I("p",Qc,M(e.detalle),1)):te("",!0),u("div",Xc,[Bl(t.$slots,"default")])]))}},Zc={key:0,class:"mb-6"},ef={class:"flex items-start justify-between gap-4"},tf={class:"text-xl font-semibold text-texto"},nf={class:"text-xs text-tenue mt-1"},sf={key:1,class:"text-sm text-red-600 dark:text-red-400 mb-4"},of={class:"flex items-center justify-between mb-4"},rf={class:"flex items-center gap-2"},lf={key:0,class:"badge-alerta"},af={key:1,class:"badge-neutro"},uf=["disabled"],cf={key:2,class:"text-xs text-tenue -mt-2 mb-4"},ff={key:3,class:"text-xs text-tenue -mt-2 mb-4"},df={key:4,class:"grid gap-3 sm:grid-cols-2"},pf=["disabled"],hf={key:6,class:"grid gap-3 sm:grid-cols-2"},mf={class:"flex items-start gap-3"},gf={class:"min-w-0 flex-1"},vf={class:"flex items-center gap-2"},bf={class:"font-medium text-texto truncate"},xf={class:"text-xs text-tenue mt-0.5 truncate"},_f={class:"flex gap-0.5 opacity-0 group-hover:opacity-100 transition-opacity shrink-0"},yf=["onClick"],wf=["onClick"],Cf={class:"flex items-center gap-4 mt-3.5 pt-3 border-t border-borde text-xs text-tenue"},Ef={class:"tabular-nums"},Sf={class:"text-texto font-medium"},Af={class:"tabular-nums"},kf={class:"text-texto font-medium"},Rf={class:"tabular-nums"},If={class:"text-texto font-medium"},Pf={class:"bg-white dark:bg-gray-900 border border-gray-200 dark:border-gray-800 rounded-xl p-6 w-full max-w-lg"},Of={class:"font-semibold text-gray-800 dark:text-gray-100 mb-4"},Tf=["value"],$f={class:"flex items-center gap-2"},Nf={class:"flex items-center gap-2 text-sm text-gray-600 dark:text-gray-300"},Df={class:"flex justify-end gap-2 pt-2"},Mf={type:"submit",class:"bg-brand hover:bg-brand-dark text-white text-sm font-medium px-4 py-2 rounded-lg"},Vf={__name:"TenantAgentes",props:{id:{type:String,required:!0}},setup(e){const t=e,n=xe(()=>Number(t.id)),s=ho(),o=Y(null),r=Y([]),i=Y([]),l=Y(""),a=Y(!1),d=Y(null),c=Y(N()),p=Y(null),g=Y({}),b=Y(!0);function U(_){const V=g.value[_.ID]||{};return _.activo?V.documentos>0?{tipo:"ok",texto:"listo"}:{tipo:"alerta",texto:"sin conocimiento"}:{tipo:"neutro",texto:"inactivo"}}function T(_){const V=g.value[_.ID]||{};return{documentos:V.documentos||0,canales:V.canales||0,conversaciones:V.conversaciones_7d||0}}function G(_){return String(_||"?").trim().split(/\s+/).slice(0,2).map(V=>V[0]).join("").toUpperCase()}const B=xe(()=>{if(!p.value)return{sinPlan:!0};const _=p.value.max_agentes||0;return{sinPlan:!1,nombre:p.value.nombre,ilimitado:_<=0,max:_,usados:r.value.length,lleno:_>0&&r.value.length>=_}});function N(){return{nombre:"",ai_config_id:null,tono:"",mensaje_bienvenida:"",color:"#8eb02f",activo:!0}}async function K(){l.value="",b.value=!0;try{const[_,V,ke]=await Promise.all([ue.get(ae("/umind/tenants")),ue.get(ae(`/umind/agentes?tenant_id=${t.id}`)),ue.get(ae("/umind/ai-configs"))]);o.value=(_.items||[]).find(J=>String(J.ID)===t.id)||null,r.value=V.items||[],p.value=V.plan||null,g.value=V.resumen||{},i.value=ke.items||[]}catch(_){l.value=_.message}finally{b.value=!1}}function P(){d.value=null,c.value=N(),a.value=!0}function S(_){d.value=_,c.value={nombre:_.nombre,ai_config_id:_.ai_config_id,tono:_.tono,mensaje_bienvenida:_.mensaje_bienvenida,color:_.color||"#8eb02f",activo:_.activo},a.value=!0}async function D(){try{if(d.value)await ue.put(ae(`/umind/agentes/${d.value.ID}`),{tenant_id:n.value,...c.value}),a.value=!1,await K();else{const _=await ue.post(ae("/umind/agentes"),{tenant_id:n.value,...c.value});a.value=!1,s.push(`/tenants/${n.value}/agentes/${_.id}`)}}catch(_){l.value=_.message}}async function Z(_){confirm(`¿Eliminar el agente "${_.nombre}"? Esto no se puede deshacer.`)&&(await ue.del(ae(`/umind/agentes/${_.ID}`)),await K())}return Vt(()=>t.id,K,{immediate:!0}),(_,V)=>{const ke=Dn("router-link");return R(),I("div",null,[o.value?(R(),I("div",Zc,[u("div",ef,[u("div",null,[u("h1",tf,M(o.value.nombre),1),u("p",nf,M(o.value.dominios_permitidos||"sin dominios configurados"),1)]),Ce(ke,{to:`/tenants/${n.value??e.id}/uso`,class:"btn-ghost"},{default:Mt(()=>[...V[9]||(V[9]=[_e("📊 Consumo",-1)])]),_:1},8,["to"])])])):te("",!0),l.value?(R(),I("p",sf,M(l.value),1)):te("",!0),u("div",of,[u("div",rf,[V[10]||(V[10]=u("h2",{class:"text-sm font-medium text-tenue"},"Agentes",-1)),B.value.sinPlan?(R(),I("span",lf,"sin plan · sin límite")):B.value.ilimitado?(R(),I("span",af,M(B.value.nombre)+" · ilimitado",1)):(R(),I("span",{key:2,class:Ie(B.value.lleno?"badge-alerta":"badge-neutro")},M(B.value.nombre)+" · "+M(B.value.usados)+" de "+M(B.value.max),3))]),u("button",{class:"btn-primary",disabled:B.value.lleno,onClick:P},"+ Nuevo agente",8,uf)]),B.value.sinPlan&&!Pe(Be).esPortal?(R(),I("p",cf," Este tenant no tiene plan asignado, así que no se le aplica ningún límite de agentes. Asignale uno desde el lápiz del tenant en la barra izquierda. ")):B.value.lleno?(R(),I("p",ff," Alcanzaste el máximo de agentes de tu plan. ")):te("",!0),b.value?(R(),I("div",df,[(R(),I(ce,null,Oe(2,J=>u("div",{key:J,class:"card p-4 animate-pulse"},[...V[11]||(V[11]=[ba('
',2)])])),64))])):r.value.length===0?(R(),sn(Mi,{key:5,class:"card",icono:"🤖",titulo:"Todavía no hay agentes",detalle:"Creá el primero y cargale su base de conocimiento para que empiece a responder."},{default:Mt(()=>[u("button",{class:"btn-primary",disabled:B.value.lleno,onClick:P},"+ Crear el primer agente",8,pf)]),_:1})):(R(),I("div",hf,[(R(!0),I(ce,null,Oe(r.value,J=>(R(),sn(ke,{key:J.ID,to:`/tenants/${n.value}/agentes/${J.ID}`,class:"card p-4 relative group hover:shadow-lg hover:-translate-y-0.5 transition-all overflow-hidden"},{default:Mt(()=>[u("span",{class:"absolute inset-x-0 top-0 h-1",style:Gt({background:J.color||"#8eb02f"})},null,4),u("div",mf,[u("span",{class:"w-10 h-10 rounded-xl flex items-center justify-center text-white text-sm font-semibold shrink-0",style:Gt({background:J.color||"#8eb02f",opacity:J.activo?1:.4})},M(G(J.nombre)),5),u("div",gf,[u("div",vf,[u("span",bf,M(J.nombre),1),u("span",{class:Ie(`badge-${U(J).tipo}`)},M(U(J).texto),3)]),u("p",xf,M(J.tono||"sin tono definido"),1)]),u("div",_f,[u("button",{class:"p-1 text-tenue hover:text-texto",title:"Editar",onClick:Ze(tt=>S(J),["prevent","stop"])},"✎",8,yf),u("button",{class:"p-1 text-tenue hover:text-red-600",title:"Eliminar",onClick:Ze(tt=>Z(J),["prevent","stop"])},"✕",8,wf)])]),u("div",Cf,[u("span",Ef,[u("b",Sf,M(T(J).conversaciones),1),V[12]||(V[12]=_e(" conversaciones · 7d",-1))]),u("span",Af,[u("b",kf,M(T(J).documentos),1),V[13]||(V[13]=_e(" fuentes",-1))]),u("span",Rf,[u("b",If,M(T(J).canales),1),V[14]||(V[14]=_e(" canales",-1))])])]),_:2},1032,["to"]))),128))])),a.value?(R(),I("div",{key:7,class:"fixed inset-0 bg-black/40 flex items-center justify-center p-4 z-50",onClick:V[8]||(V[8]=Ze(J=>a.value=!1,["self"]))},[u("div",Pf,[u("h2",Of,M(d.value?"Editar agente":"Nuevo agente"),1),u("form",{class:"space-y-3",onSubmit:Ze(D,["prevent"])},[u("div",null,[V[15]||(V[15]=u("label",{class:"label"},"Nombre",-1)),se(u("input",{"onUpdate:modelValue":V[0]||(V[0]=J=>c.value.nombre=J),required:"",placeholder:"ej: Ventas, Soporte",class:"input"},null,512),[[ye,c.value.nombre]])]),u("div",null,[V[17]||(V[17]=u("label",{class:"label"},"Config de IA",-1)),se(u("select",{"onUpdate:modelValue":V[1]||(V[1]=J=>c.value.ai_config_id=J),class:"input"},[V[16]||(V[16]=u("option",{value:null},"— sin asignar —",-1)),(R(!0),I(ce,null,Oe(i.value,J=>(R(),I("option",{key:J.ID,value:J.ID},M(J.nombre)+" ("+M(J.provider)+")",9,Tf))),128))],512),[[Pn,c.value.ai_config_id]])]),u("div",null,[V[18]||(V[18]=u("label",{class:"label"},"Tono / personalidad",-1)),se(u("textarea",{"onUpdate:modelValue":V[2]||(V[2]=J=>c.value.tono=J),rows:"2",class:"input"},null,512),[[ye,c.value.tono]])]),u("div",null,[V[19]||(V[19]=u("label",{class:"label"},"Mensaje de bienvenida",-1)),se(u("input",{"onUpdate:modelValue":V[3]||(V[3]=J=>c.value.mensaje_bienvenida=J),class:"input"},null,512),[[ye,c.value.mensaje_bienvenida]])]),u("div",null,[V[20]||(V[20]=u("label",{class:"label"},"Color del widget",-1)),u("div",$f,[se(u("input",{"onUpdate:modelValue":V[4]||(V[4]=J=>c.value.color=J),type:"color",class:"w-10 h-9 border border-gray-300 dark:border-gray-700 rounded cursor-pointer bg-white dark:bg-gray-800"},null,512),[[ye,c.value.color]]),se(u("input",{"onUpdate:modelValue":V[5]||(V[5]=J=>c.value.color=J),type:"text",pattern:"#[0-9a-fA-F]{6}",class:"flex-1 border border-gray-300 dark:border-gray-700 bg-white dark:bg-gray-800 text-gray-800 dark:text-gray-100 rounded-lg px-3 py-2 text-sm font-mono"},null,512),[[ye,c.value.color]])])]),u("label",Nf,[se(u("input",{"onUpdate:modelValue":V[6]||(V[6]=J=>c.value.activo=J),type:"checkbox"},null,512),[[$t,c.value.activo]]),V[21]||(V[21]=_e(" Activo ",-1))]),u("div",Df,[u("button",{type:"button",class:"px-4 py-2 text-sm text-gray-500 dark:text-gray-400",onClick:V[7]||(V[7]=J=>a.value=!1)},"Cancelar"),u("button",Mf,M(d.value?"Guardar":"Crear"),1)])],32)])])):te("",!0)])}}},jf={key:0,class:"mb-6 mt-1 flex items-start justify-between gap-4"},Uf={class:"min-w-0"},Lf={class:"text-xl font-semibold text-texto"},Ff={class:"text-xs text-tenue mt-1"},Hf={class:"bg-elevado px-1.5 py-0.5 rounded"},Bf=["href"],Kf={key:1,class:"text-sm text-red-600 dark:text-red-400 mb-4"},Gf={class:"flex gap-1.5 mb-6 overflow-x-auto pb-1"},qf=["onClick"],Wf={key:2},zf=["disabled"],Jf={class:"card divide-y divide-borde"},Yf={key:0,class:"p-6 text-sm text-tenue"},Qf={class:"text-sm text-texto"},Xf={class:"text-xs text-tenue mt-0.5"},Zf={key:0},ed={key:1,class:"text-red-600 dark:text-red-400"},td=["onClick"],nd={key:3},sd={class:"card divide-y divide-borde"},od={key:0,class:"p-6 text-sm text-tenue"},rd={class:"text-sm text-texto font-mono"},id={class:"label mt-0.5"},ld={class:"text-xs text-tenue mt-0.5"},ad={key:0,class:"ml-1 text-green-600 dark:text-green-400"},ud={key:1,class:"ml-1 text-gray-400"},cd={class:"flex gap-3 text-sm shrink-0"},fd=["onClick"],dd=["onClick"],pd={class:"card p-6 w-full max-w-xl max-h-[85vh] overflow-y-auto"},hd={class:"font-semibold text-texto mb-4"},md={class:"border border-borde rounded-lg p-3 space-y-2"},gd=["onUpdate:modelValue"],vd=["onUpdate:modelValue"],bd=["onUpdate:modelValue"],xd={class:"label flex items-center gap-1"},_d=["onUpdate:modelValue"],yd=["onClick"],wd={key:0,class:"text-xs text-gray-400"},Cd={class:"border border-borde rounded-lg p-3 space-y-2"},Ed={class:"flex items-center gap-2 label"},Sd={class:"flex items-center gap-2 text-sm text-texto"},Ad={class:"flex justify-end gap-2 pt-2"},kd={key:4},Rd={class:"card p-4 mb-4"},Id={class:"flex items-center justify-between mb-2"},Pd={class:"bg-elevado border border-borde rounded-lg p-2.5 text-xs text-texto overflow-x-auto"},Od={class:"card divide-y divide-borde"},Td={key:0,class:"p-6 text-sm text-tenue"},$d={class:"flex items-center justify-between"},Nd={class:"font-medium text-texto capitalize"},Dd={class:"flex gap-3 text-sm"},Md=["onClick"],Vd=["onClick"],jd={class:"flex gap-4 mt-2 text-xs"},Ud={class:"flex items-center gap-1.5 text-texto cursor-pointer"},Ld=["checked","onChange"],Fd={class:"flex items-center gap-1.5 text-texto cursor-pointer"},Hd=["checked","onChange"],Bd={class:"flex items-center gap-1.5 text-texto cursor-pointer"},Kd=["checked","onChange"],Gd={class:"label mt-1 break-all"},qd={class:"bg-elevado px-1 rounded"},Wd={key:0,class:"text-xs text-tenue mt-1"},zd={key:1,class:"text-xs text-red-600 dark:text-red-400 mt-1"},Jd={class:"card p-6 w-full max-w-md"},Yd={key:0},Qd={class:"flex flex-col gap-2 pt-1"},Xd={class:"flex items-center gap-2 text-sm text-texto cursor-pointer"},Zd={class:"flex items-center gap-2 text-sm text-texto cursor-pointer"},ep={class:"flex items-center gap-2 text-sm text-texto cursor-pointer"},tp={class:"flex justify-end gap-2 pt-2"},np={key:5},sp={class:"flex gap-2 mb-4"},op={class:"card divide-y divide-borde"},rp={key:0,class:"p-6 text-sm text-tenue"},ip={class:"font-medium text-texto capitalize"},lp={class:"ml-2 text-sm text-tenue"},ap=["onClick"],up={key:6,class:"card p-4 flex flex-col h-[28rem]"},cp={class:"flex-1 overflow-y-auto space-y-2 mb-3"},fp={key:0,class:"text-sm text-tenue"},dp={key:1,class:"text-xs text-tenue"},pp=["disabled"],hp={key:7,class:"grid grid-cols-3 gap-4"},mp={class:"col-span-1 card divide-y divide-borde max-h-[28rem] overflow-y-auto"},gp={key:0,class:"p-4 text-sm text-tenue"},vp=["onClick"],bp={class:"text-texto truncate"},xp={class:"text-xs text-tenue mt-0.5"},_p={class:"col-span-2 card p-4 max-h-[28rem] overflow-y-auto space-y-2"},yp={key:0,class:"text-sm text-tenue"},wp={key:8},Cp={class:"card divide-y divide-borde max-h-[32rem] overflow-y-auto"},Ep={key:0,class:"p-6 text-sm text-tenue"},Sp={class:"cursor-pointer flex items-center gap-2 text-sm"},Ap={class:"text-tenue text-xs shrink-0"},kp={class:"text-texto truncate"},Rp={class:"text-tenue text-xs ml-auto shrink-0"},Ip={key:0,class:"mt-2 bg-elevado border border-borde rounded-lg p-2 text-xs text-gray-600 dark:text-gray-400 overflow-x-auto whitespace-pre-wrap"},Pp={__name:"AgenteDetail",props:{tenantId:{type:String,required:!0},agenteId:{type:String,required:!0}},setup(e){const t=e,n=xe(()=>Number(t.agenteId)),s=$i(),o=Y(null),r=Y(""),i=Y(typeof s.query.tab=="string"?s.query.tab:Be.esPortal?"conversaciones":"conocimiento"),l=Y([]),a=Y(""),d=Y(30),c=Y(!1);async function p(){const C=await ue.get(ae(`/umind/agentes?tenant_id=${t.tenantId}`));o.value=(C.items||[]).find(v=>String(v.ID)===t.agenteId)||null}async function g(){const C=await ue.get(ae(`/umind/documentos?agente_id=${t.agenteId}`));l.value=C.items||[]}async function b(){if(a.value.trim()){c.value=!0,r.value="";try{await ue.post(ae("/umind/documentos"),{agente_id:n.value,url:a.value.trim(),max_paginas:Number(d.value)||30}),a.value="",await g()}catch(C){r.value=C.message}finally{c.value=!1}}}async function U(C){confirm("¿Eliminar esta fuente y sus fragmentos indexados?")&&(await ue.del(ae(`/umind/documentos/${C}`)),await g())}const T=xe(()=>C=>({listo:"badge-ok",procesando:"badge-alerta",pendiente:"badge-neutro",error:"badge-error"})[C]||"badge-neutro"),G=Y([]),B=Y([]),N=Y(null);async function K(){const C=await ue.get(ae(`/umind/sesiones?agente_id=${t.agenteId}`));G.value=C.items||[]}async function P(C){N.value=C;const v=await ue.get(ae(`/umind/historial?agente_id=${t.agenteId}&session_id=${C}`));B.value=v.items||[]}const S=Y([]),D=Y(!1),Z=Y(null),_=Y(V());function V(){return{nombre:"",descripcion:"",url:"",auth_header_nombre:"",auth_header_valor:"",tocarAuth:!1,parametros:[],activa:!0}}async function ke(){const C=await ue.get(ae(`/umind/tools?agente_id=${t.agenteId}`));S.value=C.items||[]}function J(){Z.value=null,_.value=V(),D.value=!0}function tt(C){Z.value=C;let v=[];try{v=JSON.parse(C.parametros_json||"[]")||[]}catch{v=[]}_.value={nombre:C.nombre,descripcion:C.descripcion,url:C.url,auth_header_nombre:C.auth_header_nombre,auth_header_valor:"",tocarAuth:!1,parametros:v,activa:C.activa},D.value=!0}function Ye(){_.value.parametros.push({nombre:"",tipo:"string",descripcion:"",requerido:!1})}function jt(C){_.value.parametros.splice(C,1)}async function It(){const C={agente_id:n.value,nombre:_.value.nombre.trim(),descripcion:_.value.descripcion,url:_.value.url.trim(),auth_header_nombre:_.value.auth_header_nombre,parametros:_.value.parametros,activa:_.value.activa};_.value.tocarAuth&&(C.auth_header_valor=_.value.auth_header_valor);try{Z.value?await ue.put(ae(`/umind/tools/${Z.value.ID}`),C):await ue.post(ae("/umind/tools"),C),D.value=!1,await ke()}catch(v){r.value=v.message}}async function Ae(C){confirm(`¿Eliminar la tool "${C.nombre}"?`)&&(await ue.del(ae(`/umind/tools/${C.ID}`)),await ke())}const le=Y([]),oe=Y(!1),ne=Y(vt()),We=Y(!1),Qe=xe(()=>{const C=new Date,v=new Date(C.getFullYear(),C.getMonth(),1).toISOString().slice(0,10),Se=C.toISOString().slice(0,10);return ae(`/umind/reporte.xlsx?agente_id=${t.agenteId}&desde=${v}&hasta=${Se}`)}),Te=xe(()=>{var v;const C=((v=o.value)==null?void 0:v.site_key)||"TU_SITE_KEY";return` - + +