nekomeowww commited on
Commit
3c68fe4
·
1 Parent(s): 4945711

release: build d7574435e185421408ee277fc5415afd43dc485a

Browse files
assets/{_...all_-BbRaxntj.js → _...all_-CHlSqrFC.js} RENAMED
@@ -1 +1 @@
1
- import{_ as e}from"./_plugin-vue_export-helper-DlAUqK2U.js";import{o,c as _}from"./index-Dq5Soe4V.js";const c={};function n(r,t){return o(),_("div",null," 404 - Page not found ")}const f=e(c,[["render",n]]);export{f as default};
 
1
+ import{_ as e}from"./_plugin-vue_export-helper-DlAUqK2U.js";import{o,c as _}from"./index-CDOcJgli.js";const c={};function n(r,t){return o(),_("div",null," 404 - Page not found ")}const f=e(c,[["render",n]]);export{f as default};
assets/{audio-CFjicbGg.js → audio-DG_K4eLc.js} RENAMED
@@ -1 +1 @@
1
- import{d as s,h as f,o as d,c as p,z as t}from"./index-Dq5Soe4V.js";const R=s({__name:"audio",setup(_){const a=f(),l=f();function u(o){var r,c,i;if(!o)return;const n=(c=(r=l.value)==null?void 0:r.files)==null?void 0:c[0];if(!n)return;const e=document.createElement("audio");(i=a.value)==null||i.appendChild(e),e.src=URL.createObjectURL(n),e.controls=!0,e.load(),e.play()}return(o,n)=>(d(),p("div",null,[t("div",null,[t("div",{ref_key:"containerRef",ref:a},null,512),t("input",{ref_key:"fileInputRef",ref:l,type:"file",onChange:u},null,544)])]))}});export{R as default};
 
1
+ import{d as s,h as f,o as d,c as p,z as t}from"./index-CDOcJgli.js";const R=s({__name:"audio",setup(_){const a=f(),l=f();function u(o){var r,c,i;if(!o)return;const n=(c=(r=l.value)==null?void 0:r.files)==null?void 0:c[0];if(!n)return;const e=document.createElement("audio");(i=a.value)==null||i.appendChild(e),e.src=URL.createObjectURL(n),e.controls=!0,e.load(),e.play()}return(o,n)=>(d(),p("div",null,[t("div",null,[t("div",{ref_key:"containerRef",ref:a},null,512),t("input",{ref_key:"fileInputRef",ref:l,type:"file",onChange:u},null,544)])]))}});export{R as default};
assets/{default-BFUC93Aa.js → default-CXrhKqcL.js} RENAMED
@@ -1 +1 @@
1
- import{d as p,u as s,c,a as d,n as i,b as e,r as l,o as m}from"./index-Dq5Soe4V.js";const x=p({__name:"default",setup(u){const{top:t,right:o,bottom:a,left:n}=s();return(f,_)=>{const r=l("RouterView");return m(),c("main",{text:"gray-700 dark:gray-200","font-cuteen":"","h-full":"",style:i({paddingTop:`${e(t)}px`,paddingRight:`${e(o)}px`,paddingBottom:`${e(a)}px`,paddingLeft:`${e(n)}px`})},[d(r)],4)}}});export{x as default};
 
1
+ import{d as p,u as s,c,a as d,n as i,b as e,r as l,o as m}from"./index-CDOcJgli.js";const x=p({__name:"default",setup(u){const{top:t,right:o,bottom:a,left:n}=s();return(f,_)=>{const r=l("RouterView");return m(),c("main",{text:"gray-700 dark:gray-200","font-cuteen":"","h-full":"",style:i({paddingTop:`${e(t)}px`,paddingRight:`${e(o)}px`,paddingBottom:`${e(a)}px`,paddingLeft:`${e(n)}px`})},[d(r)],4)}}});export{x as default};
assets/{delays-Bnoy0rQB.js → delays-D1zKLZX4.js} RENAMED
@@ -1 +1 @@
1
- import{i as g,_,l as k}from"./queues-BE_d_S5r.js";import"./index-aMALcyU0.js";import{d as b,h as d,o as s,c as l,z as e,a as z,D as i,bz as f,bA as p}from"./index-Dq5Soe4V.js";import"./queue-DznLIPR5.js";const y={flex:"","flex-col":"","gap-2":"","p-2":""},x={flex:"","flex-row":"","gap-2":""},h={"rounded-lg":"",bg:"zinc-100 dark:zinc-700","p-4":""},w={"w-full":"",flex:"","flex-row":"","gap-4":""},M={"w-full":"","rounded-lg":"",bg:"zinc-100 dark:zinc-700","p-2":""},V={"w-full":"","rounded-lg":"",bg:"zinc-100 dark:zinc-700","p-2":""},C=b({__name:"delays",setup(D){const t=d(""),m=d([]),c=d([]),u=d(!1),r=g();r.onHandlerEvent("delay",a=>{c.value.push(a)});function v(){u.value=!0;const a=t.value.split("");for(const n of a)r.add(n);r.add(k),t.value="",u.value=!1}return(a,n)=>(s(),l("div",y,[e("div",x,[z(_,{modelValue:t.value,"onUpdate:modelValue":n[0]||(n[0]=o=>t.value=o),placeholder:"Message",p:"2",bg:"zinc-100 dark:zinc-700","w-full":"","rounded-lg":"","outline-none":"",onSubmit:v},null,8,["modelValue"]),e("button",h,i(u.value?"Processing...":"Send"),1)]),e("div",w,[e("div",M,[n[1]||(n[1]=e("h3",{"font-semibold":""}," Emotion Message ",-1)),(s(!0),l(f,null,p(m.value,o=>(s(),l("div",{key:o},[e("div",null,i(o),1)]))),128))]),e("div",V,[n[2]||(n[2]=e("h3",{"font-semibold":""}," Delays ",-1)),(s(!0),l(f,null,p(c.value,o=>(s(),l("div",{key:o},[e("div",null,i(o)+"s",1)]))),128))])])]))}});export{C as default};
 
1
+ import{i as g,_,l as k}from"./queues-CsN4-ClH.js";import"./index-BPLLncXW.js";import{d as b,h as d,o as s,c as l,z as e,a as z,D as i,bz as f,bA as p}from"./index-CDOcJgli.js";import"./queue-CeT6u4ef.js";const y={flex:"","flex-col":"","gap-2":"","p-2":""},x={flex:"","flex-row":"","gap-2":""},h={"rounded-lg":"",bg:"zinc-100 dark:zinc-700","p-4":""},w={"w-full":"",flex:"","flex-row":"","gap-4":""},M={"w-full":"","rounded-lg":"",bg:"zinc-100 dark:zinc-700","p-2":""},V={"w-full":"","rounded-lg":"",bg:"zinc-100 dark:zinc-700","p-2":""},C=b({__name:"delays",setup(D){const t=d(""),m=d([]),c=d([]),u=d(!1),r=g();r.onHandlerEvent("delay",a=>{c.value.push(a)});function v(){u.value=!0;const a=t.value.split("");for(const n of a)r.add(n);r.add(k),t.value="",u.value=!1}return(a,n)=>(s(),l("div",y,[e("div",x,[z(_,{modelValue:t.value,"onUpdate:modelValue":n[0]||(n[0]=o=>t.value=o),placeholder:"Message",p:"2",bg:"zinc-100 dark:zinc-700","w-full":"","rounded-lg":"","outline-none":"",onSubmit:v},null,8,["modelValue"]),e("button",h,i(u.value?"Processing...":"Send"),1)]),e("div",w,[e("div",M,[n[1]||(n[1]=e("h3",{"font-semibold":""}," Emotion Message ",-1)),(s(!0),l(f,null,p(m.value,o=>(s(),l("div",{key:o},[e("div",null,i(o),1)]))),128))]),e("div",V,[n[2]||(n[2]=e("h3",{"font-semibold":""}," Delays ",-1)),(s(!0),l(f,null,p(c.value,o=>(s(),l("div",{key:o},[e("div",null,i(o)+"s",1)]))),128))])])]))}});export{C as default};
assets/{emotions-Co30PpaD.js → emotions-DBCjUQ8l.js} RENAMED
@@ -1 +1 @@
1
- import{h as _,_ as k,l as b}from"./queues-BE_d_S5r.js";import{u as z}from"./queue-DznLIPR5.js";import{d as h,h as u,o as s,c as t,z as e,a as x,D as i,bz as f,bA as m}from"./index-Dq5Soe4V.js";const w={flex:"","flex-col":"","gap-2":"","p-2":""},M={flex:"","flex-row":"","gap-2":""},V={"rounded-lg":"",bg:"zinc-100 dark:zinc-700","p-4":""},y={"w-full":"",flex:"","flex-row":"","gap-4":""},E={"w-full":"","rounded-lg":"",bg:"zinc-100 dark:zinc-700","p-2":""},Q={"w-full":"","rounded-lg":"",bg:"zinc-100 dark:zinc-700","p-2":""},D=h({__name:"emotions",setup(S){const l=u(""),p=u([]),r=u([]),d=u(!1),g=z({handlers:[async a=>{r.value.push(a.data)}]}),c=_(g);function v(){d.value=!0;const a=l.value.split("");for(const o of a)c.add(o);c.add(b),l.value="",d.value=!1}return(a,o)=>(s(),t("div",w,[e("div",M,[x(k,{modelValue:l.value,"onUpdate:modelValue":o[0]||(o[0]=n=>l.value=n),placeholder:"Message",p:"2",bg:"zinc-100 dark:zinc-700","w-full":"","rounded-lg":"","outline-none":"",onSubmit:v},null,8,["modelValue"]),e("button",V,i(d.value?"Processing...":"Send"),1)]),e("div",y,[e("div",E,[o[1]||(o[1]=e("h3",{"font-semibold":""}," Messages ",-1)),(s(!0),t(f,null,m(p.value,n=>(s(),t("div",{key:n},[e("div",null,i(n),1)]))),128))]),e("div",Q,[o[2]||(o[2]=e("h3",{"font-semibold":""}," Emotions ",-1)),(s(!0),t(f,null,m(r.value,n=>(s(),t("div",{key:n},[e("div",null,i(n),1)]))),128))])])]))}});export{D as default};
 
1
+ import{h as _,_ as k,l as b}from"./queues-CsN4-ClH.js";import{u as z}from"./queue-CeT6u4ef.js";import{d as h,h as u,o as s,c as t,z as e,a as x,D as i,bz as f,bA as m}from"./index-CDOcJgli.js";const w={flex:"","flex-col":"","gap-2":"","p-2":""},M={flex:"","flex-row":"","gap-2":""},V={"rounded-lg":"",bg:"zinc-100 dark:zinc-700","p-4":""},y={"w-full":"",flex:"","flex-row":"","gap-4":""},E={"w-full":"","rounded-lg":"",bg:"zinc-100 dark:zinc-700","p-2":""},Q={"w-full":"","rounded-lg":"",bg:"zinc-100 dark:zinc-700","p-2":""},D=h({__name:"emotions",setup(S){const l=u(""),p=u([]),r=u([]),d=u(!1),g=z({handlers:[async a=>{r.value.push(a.data)}]}),c=_(g);function v(){d.value=!0;const a=l.value.split("");for(const o of a)c.add(o);c.add(b),l.value="",d.value=!1}return(a,o)=>(s(),t("div",w,[e("div",M,[x(k,{modelValue:l.value,"onUpdate:modelValue":o[0]||(o[0]=n=>l.value=n),placeholder:"Message",p:"2",bg:"zinc-100 dark:zinc-700","w-full":"","rounded-lg":"","outline-none":"",onSubmit:v},null,8,["modelValue"]),e("button",V,i(d.value?"Processing...":"Send"),1)]),e("div",y,[e("div",E,[o[1]||(o[1]=e("h3",{"font-semibold":""}," Messages ",-1)),(s(!0),t(f,null,m(p.value,n=>(s(),t("div",{key:n},[e("div",null,i(n),1)]))),128))]),e("div",Q,[o[2]||(o[2]=e("h3",{"font-semibold":""}," Emotions ",-1)),(s(!0),t(f,null,m(r.value,n=>(s(),t("div",{key:n},[e("div",null,i(n),1)]))),128))])])]))}});export{D as default};
assets/{filter-message-DNV2qGXn.js → filter-message-CR5GQYL5.js} RENAMED
@@ -1 +1 @@
1
- import{d as g,h as u,r as m,o as v,c as _,z as s,a as x,D as d}from"./index-Dq5Soe4V.js";const b={flex:"","flex-col":"","gap-2":"","p-2":""},z={flex:"","flex-row":"","gap-2":""},S={"rounded-lg":"",bg:"zinc-100 dark:zinc-700","p-4":""},k={"w-full":"","rounded-lg":"",bg:"zinc-100 dark:zinc-700","p-2":""},V=g({__name:"filter-message",setup(w){const o=u(""),c=u(!1),i=u({content:""});async function f(r){return new Promise(e=>setTimeout(e,r))}async function p(){c.value=!0;const r=o.value.split("");let e;(a=>{a.Literal="literal",a.Special="special"})(e||(e={}));let l="literal",t="";for(const a of r){await f(50);let n=l;a==="<"?n="special":a===">"&&(n="literal"),l==="literal"&&n==="special"&&(i.value.content+=t,t=""),l==="special"&&n==="literal"&&(t=""),l==="literal"&&n==="literal"&&(i.value.content+=a,t=""),l=n}t&&(i.value.content+=t),o.value="",c.value=!1}return(r,e)=>{const l=m("BasicTextarea");return v(),_("div",b,[s("div",z,[x(l,{modelValue:o.value,"onUpdate:modelValue":e[0]||(e[0]=t=>o.value=t),placeholder:"Message",p:"2",bg:"zinc-100 dark:zinc-700","w-full":"","rounded-lg":"","outline-none":"",onSubmit:p},null,8,["modelValue"]),s("button",S,d(c.value?"Processing...":"Send"),1)]),s("div",k,[e[1]||(e[1]=s("h3",{"font-semibold":""}," Streaming Message ",-1)),s("div",null,d(i.value.content),1)])])}}});export{V as default};
 
1
+ import{d as g,h as u,r as m,o as v,c as _,z as s,a as x,D as d}from"./index-CDOcJgli.js";const b={flex:"","flex-col":"","gap-2":"","p-2":""},z={flex:"","flex-row":"","gap-2":""},S={"rounded-lg":"",bg:"zinc-100 dark:zinc-700","p-4":""},k={"w-full":"","rounded-lg":"",bg:"zinc-100 dark:zinc-700","p-2":""},V=g({__name:"filter-message",setup(w){const o=u(""),c=u(!1),i=u({content:""});async function f(r){return new Promise(e=>setTimeout(e,r))}async function p(){c.value=!0;const r=o.value.split("");let e;(a=>{a.Literal="literal",a.Special="special"})(e||(e={}));let l="literal",t="";for(const a of r){await f(50);let n=l;a==="<"?n="special":a===">"&&(n="literal"),l==="literal"&&n==="special"&&(i.value.content+=t,t=""),l==="special"&&n==="literal"&&(t=""),l==="literal"&&n==="literal"&&(i.value.content+=a,t=""),l=n}t&&(i.value.content+=t),o.value="",c.value=!1}return(r,e)=>{const l=m("BasicTextarea");return v(),_("div",b,[s("div",z,[x(l,{modelValue:o.value,"onUpdate:modelValue":e[0]||(e[0]=t=>o.value=t),placeholder:"Message",p:"2",bg:"zinc-100 dark:zinc-700","w-full":"","rounded-lg":"","outline-none":"",onSubmit:p},null,8,["modelValue"]),s("button",S,d(c.value?"Processing...":"Send"),1)]),s("div",k,[e[1]||(e[1]=s("h3",{"font-semibold":""}," Streaming Message ",-1)),s("div",null,d(i.value.content),1)])])}}});export{V as default};
assets/{image-Bkvmadhe.js → image-Db88_eF2.js} RENAMED
@@ -1,2 +1,2 @@
1
- import{d as _,h as c,b$ as y,o as d,c as u,z as a,D as x,b,E as v}from"./index-Dq5Soe4V.js";import{_ as h}from"./_plugin-vue_export-helper-DlAUqK2U.js";const w={bg:"neutral-100",flex:"~ col","items-center":"","justify-center":"","rounded-lg":"","px-4":"","py-3":""},C={key:0},U=["src"],D={bg:"neutral-100",class:"text-wrap-any","max-h":"100","overflow-scroll":"","rounded-lg":"","text-wrap":"","text-black":"","font-mono":""},R=_({__name:"image",setup(k){const p=c(),o=c(""),{copy:m}=y({source:o});async function g(s){return new Promise((e,n)=>{const t=new FileReader;t.onload=r=>{var l,i;e(((i=(l=r.target)==null?void 0:l.result)==null?void 0:i.toString())||"")},t.onerror=r=>{n(r)},t.readAsDataURL(s)})}async function f(s){var t;const n=(t=s.target.files)==null?void 0:t[0];if(n){p.value=n;const r=await g(n);o.value=r}}return(s,e)=>(d(),u("div",null,[a("label",w,[a("input",{type:"file",accept:"image/*",hidden:"",onChange:f},null,32),e[1]||(e[1]=a("span",null,"Upload Image",-1))]),o.value?(d(),u("div",C,[a("img",{src:o.value,alt:"Uploaded Image","w-100":""},null,8,U),a("pre",D," "+x(o.value)+`
2
  `,1),a("button",{bg:"primary-500",text:"white","mt-4":"","rounded-lg":"","px-4":"","py-2":"",onClick:e[0]||(e[0]=()=>b(m)())}," Copy Data URL ")])):v("",!0)]))}}),I=h(R,[["__scopeId","data-v-7edd53e6"]]);export{I as default};
 
1
+ import{d as _,h as c,b$ as y,o as d,c as u,z as a,D as x,b,E as v}from"./index-CDOcJgli.js";import{_ as h}from"./_plugin-vue_export-helper-DlAUqK2U.js";const w={bg:"neutral-100",flex:"~ col","items-center":"","justify-center":"","rounded-lg":"","px-4":"","py-3":""},C={key:0},U=["src"],D={bg:"neutral-100",class:"text-wrap-any","max-h":"100","overflow-scroll":"","rounded-lg":"","text-wrap":"","text-black":"","font-mono":""},R=_({__name:"image",setup(k){const p=c(),o=c(""),{copy:m}=y({source:o});async function g(s){return new Promise((e,n)=>{const t=new FileReader;t.onload=r=>{var l,i;e(((i=(l=r.target)==null?void 0:l.result)==null?void 0:i.toString())||"")},t.onerror=r=>{n(r)},t.readAsDataURL(s)})}async function f(s){var t;const n=(t=s.target.files)==null?void 0:t[0];if(n){p.value=n;const r=await g(n);o.value=r}}return(s,e)=>(d(),u("div",null,[a("label",w,[a("input",{type:"file",accept:"image/*",hidden:"",onChange:f},null,32),e[1]||(e[1]=a("span",null,"Upload Image",-1))]),o.value?(d(),u("div",C,[a("img",{src:o.value,alt:"Uploaded Image","w-100":""},null,8,U),a("pre",D," "+x(o.value)+`
2
  `,1),a("button",{bg:"primary-500",text:"white","mt-4":"","rounded-lg":"","px-4":"","py-2":"",onClick:e[0]||(e[0]=()=>b(m)())}," Copy Data URL ")])):v("",!0)]))}}),I=h(R,[["__scopeId","data-v-7edd53e6"]]);export{I as default};
assets/{index-aMALcyU0.js → index-BPLLncXW.js} RENAMED
The diff for this file is too large to render. See raw diff
 
assets/{index-Dq5Soe4V.js → index-CDOcJgli.js} RENAMED
@@ -1,4 +1,4 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/index-Cv4Zshkj.js","assets/queues-BE_d_S5r.js","assets/queue-DznLIPR5.js","assets/index-aMALcyU0.js","assets/_plugin-vue_export-helper-DlAUqK2U.js","assets/index-DTsA1hlv.css","assets/_...all_-BbRaxntj.js","assets/image-Bkvmadhe.js","assets/image-BhuwcwI9.css","assets/queue-BvLLvp7w.js","assets/delays-Bnoy0rQB.js","assets/emotions-Co30PpaD.js","assets/messages-D8t9SaEY.js"])))=>i.map(i=>d[i]);
2
  (function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))i(r);new MutationObserver(r=>{for(const s of r)if(s.type==="childList")for(const o of s.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&i(o)}).observe(document,{childList:!0,subtree:!0});function t(r){const s={};return r.integrity&&(s.integrity=r.integrity),r.referrerPolicy&&(s.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?s.credentials="include":r.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function i(r){if(r.ep)return;r.ep=!0;const s=t(r);fetch(r.href,s)}})();const qT="modulepreload",YT=function(n){return"/"+n},S_={},Ri=function(e,t,i){let r=Promise.resolve();if(t&&t.length>0){document.getElementsByTagName("link");const o=document.querySelector("meta[property=csp-nonce]"),a=(o==null?void 0:o.nonce)||(o==null?void 0:o.getAttribute("nonce"));r=Promise.allSettled(t.map(l=>{if(l=YT(l),l in S_)return;S_[l]=!0;const c=l.endsWith(".css"),u=c?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${l}"]${u}`))return;const f=document.createElement("link");if(f.rel=c?"stylesheet":qT,c||(f.as="script"),f.crossOrigin="",f.href=l,a&&f.setAttribute("nonce",a),document.head.appendChild(f),c)return new Promise((h,d)=>{f.addEventListener("load",h),f.addEventListener("error",()=>d(new Error(`Unable to preload CSS for ${l}`)))})}))}function s(o){const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=o,window.dispatchEvent(a),!a.defaultPrevented)throw o}return r.then(o=>{for(const a of o||[])a.status==="rejected"&&s(a.reason);return e().catch(s)})};/**
3
  * @vue/shared v3.5.13
4
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
@@ -3846,11 +3846,11 @@ void main() {
3846
  * pinia v2.3.1
3847
  * (c) 2025 Eduardo San Martin Morote
3848
  * @license MIT
3849
- */let oT;const $h=n=>oT=n,aT=Symbol();function hm(n){return n&&typeof n=="object"&&Object.prototype.toString.call(n)==="[object Object]"&&typeof n.toJSON!="function"}var al;(function(n){n.direct="direct",n.patchObject="patch object",n.patchFunction="patch function"})(al||(al={}));function sk(){const n=Dm(!0),e=n.run(()=>Pe({}));let t=[],i=[];const r=zm({install(s){$h(r),r._a=s,s.provide(aT,r),s.config.globalProperties.$pinia=r,i.forEach(o=>t.push(o)),i=[]},use(s){return this._a?t.push(s):i.push(s),this},_p:t,_a:null,_e:n,_s:new Map,state:e});return r}const lT=()=>{};function b0(n,e,t,i=lT){n.push(e);const r=()=>{const s=n.indexOf(e);s>-1&&(n.splice(s,1),i())};return!t&&Kf()&&Om(r),r}function Lo(n,...e){n.slice().forEach(t=>{t(...e)})}const ok=n=>n(),S0=Symbol(),fp=Symbol();function dm(n,e){n instanceof Map&&e instanceof Map?e.forEach((t,i)=>n.set(i,t)):n instanceof Set&&e instanceof Set&&e.forEach(n.add,n);for(const t in e){if(!e.hasOwnProperty(t))continue;const i=e[t],r=n[t];hm(r)&&hm(i)&&n.hasOwnProperty(t)&&!Et(i)&&!mr(i)?n[t]=dm(r,i):n[t]=i}return n}const ak=Symbol();function lk(n){return!hm(n)||!n.hasOwnProperty(ak)}const{assign:Ur}=Object;function ck(n){return!!(Et(n)&&n.effect)}function uk(n,e,t,i){const{state:r,actions:s,getters:o}=e,a=t.state.value[n];let l;function c(){a||(t.state.value[n]=r?r():{});const u=Wx(t.state.value[n]);return Ur(u,s,Object.keys(o||{}).reduce((f,h)=>(f[h]=zm(ke(()=>{$h(t);const d=t._s.get(n);return o[h].call(d,d)})),f),{}))}return l=cT(n,c,e,t,i,!0),l}function cT(n,e,t={},i,r,s){let o;const a=Ur({actions:{}},t),l={deep:!0};let c,u,f=[],h=[],d;const p=i.state.value[n];!s&&!p&&(i.state.value[n]={}),Pe({});let _;function g(P){let b;c=u=!1,typeof P=="function"?(P(i.state.value[n]),b={type:al.patchFunction,storeId:n,events:d}):(dm(i.state.value[n],P),b={type:al.patchObject,payload:P,storeId:n,events:d});const S=_=Symbol();ro().then(()=>{_===S&&(c=!0)}),u=!0,Lo(f,b,i.state.value[n])}const m=s?function(){const{state:b}=t,S=b?b():{};this.$patch(D=>{Ur(D,S)})}:lT;function y(){o.stop(),f=[],h=[],i._s.delete(n)}const x=(P,b="")=>{if(S0 in P)return P[fp]=b,P;const S=function(){$h(i);const D=Array.from(arguments),F=[],H=[];function $(te){F.push(te)}function ee(te){H.push(te)}Lo(h,{args:D,name:S[fp],store:E,after:$,onError:ee});let Z;try{Z=P.apply(this&&this.$id===n?this:E,D)}catch(te){throw Lo(H,te),te}return Z instanceof Promise?Z.then(te=>(Lo(F,te),te)).catch(te=>(Lo(H,te),Promise.reject(te))):(Lo(F,Z),Z)};return S[S0]=!0,S[fp]=b,S},v={_p:i,$id:n,$onAction:b0.bind(null,h),$patch:g,$reset:m,$subscribe(P,b={}){const S=b0(f,P,b.detached,()=>D()),D=o.run(()=>it(()=>i.state.value[n],F=>{(b.flush==="sync"?u:c)&&P({storeId:n,type:al.direct,events:d},F)},Ur({},l,b)));return S},$dispose:y},E=oi(v);i._s.set(n,E);const M=(i._a&&i._a.runWithContext||ok)(()=>i._e.run(()=>(o=Dm()).run(()=>e({action:x}))));for(const P in M){const b=M[P];if(Et(b)&&!ck(b)||mr(b))s||(p&&lk(b)&&(Et(b)?b.value=p[P]:dm(b,p[P])),i.state.value[n][P]=b);else if(typeof b=="function"){const S=x(b,P);M[P]=S,a.actions[P]=b}}return Ur(E,M),Ur(rt(E),M),Object.defineProperty(E,"$state",{get:()=>i.state.value[n],set:P=>{g(b=>{Ur(b,P)})}}),i._p.forEach(P=>{Ur(E,o.run(()=>P({store:E,app:i._a,pinia:i,options:a})))}),p&&s&&t.hydrate&&t.hydrate(E.$state,p),c=!0,u=!0,E}/*! #__NO_SIDE_EFFECTS__ */function fk(n,e,t){let i,r;const s=typeof e=="function";typeof n=="string"?(i=n,r=s?t:e):(r=n,i=n.id);function o(a,l){const c=Xm();return a=a||(c?kn(aT,null):null),a&&$h(a),a=oT,a._s.has(i)||(s?cT(i,e,r,a):uk(i,r,a)),a._s.get(i)}return o.$id=i,o}function hk(n){{const e=rt(n),t={};for(const i in e){const r=e[i];r.effect?t[i]=ke({get:()=>n[i],set(s){n[i]=s}}):(Et(r)||mr(r))&&(t[i]=Xx(n,i))}return t}}const dk=n=>{const e={};Object.entries(Object.assign({"/src/layouts/default.vue":()=>Ri(()=>import("./default-BFUC93Aa.js"),[])})).forEach(([r,s])=>{let o=r.replace("/src/layouts/","").replace(".vue","");e[o]=s});function i(r,s=!0){return r.map(o=>{var a,l,c,u,f,h;if(((a=o.children)==null?void 0:a.length)>0&&(o.children=i(o.children,!1)),s){if(!o.component&&((l=o.children)==null?void 0:l.find(p=>{var _;return(p.path===""||p.path==="/")&&((_=p.meta)==null?void 0:_.isLayout)})))return o;if(((c=o.meta)==null?void 0:c.layout)!==!1)return{path:o.path,component:e[((u=o.meta)==null?void 0:u.layout)||"default"],children:o.path==="/"?[o]:[{...o,path:""}],meta:{isLayout:!0}}}return(f=o.meta)!=null&&f.layout?{path:o.path,component:e[(h=o.meta)==null?void 0:h.layout],children:[{...o,path:""}],meta:{isLayout:!0}}:o})}return i(n)};/*!
3850
  * vue-router v4.5.0
3851
  * (c) 2024 Eduardo San Martin Morote
3852
  * @license MIT
3853
- */const No=typeof document<"u";function uT(n){return typeof n=="object"||"displayName"in n||"props"in n||"__vccOpts"in n}function pk(n){return n.__esModule||n[Symbol.toStringTag]==="Module"||n.default&&uT(n.default)}const _t=Object.assign;function hp(n,e){const t={};for(const i in e){const r=e[i];t[i]=bi(r)?r.map(n):n(r)}return t}const ll=()=>{},bi=Array.isArray,fT=/#/g,mk=/&/g,gk=/\//g,_k=/=/g,vk=/\?/g,hT=/\+/g,yk=/%5B/g,xk=/%5D/g,dT=/%5E/g,bk=/%60/g,pT=/%7B/g,Sk=/%7C/g,mT=/%7D/g,Mk=/%20/g;function s_(n){return encodeURI(""+n).replace(Sk,"|").replace(yk,"[").replace(xk,"]")}function Ek(n){return s_(n).replace(pT,"{").replace(mT,"}").replace(dT,"^")}function pm(n){return s_(n).replace(hT,"%2B").replace(Mk,"+").replace(fT,"%23").replace(mk,"%26").replace(bk,"`").replace(pT,"{").replace(mT,"}").replace(dT,"^")}function Tk(n){return pm(n).replace(_k,"%3D")}function wk(n){return s_(n).replace(fT,"%23").replace(vk,"%3F")}function Ak(n){return n==null?"":wk(n).replace(gk,"%2F")}function zl(n){try{return decodeURIComponent(""+n)}catch{}return""+n}const Ck=/\/$/,Rk=n=>n.replace(Ck,"");function dp(n,e,t="/"){let i,r={},s="",o="";const a=e.indexOf("#");let l=e.indexOf("?");return a<l&&a>=0&&(l=-1),l>-1&&(i=e.slice(0,l),s=e.slice(l+1,a>-1?a:e.length),r=n(s)),a>-1&&(i=i||e.slice(0,a),o=e.slice(a,e.length)),i=Dk(i??e,t),{fullPath:i+(s&&"?")+s+o,path:i,query:r,hash:zl(o)}}function Pk(n,e){const t=e.query?n(e.query):"";return e.path+(t&&"?")+t+(e.hash||"")}function M0(n,e){return!e||!n.toLowerCase().startsWith(e.toLowerCase())?n:n.slice(e.length)||"/"}function Ik(n,e,t){const i=e.matched.length-1,r=t.matched.length-1;return i>-1&&i===r&&sa(e.matched[i],t.matched[r])&&gT(e.params,t.params)&&n(e.query)===n(t.query)&&e.hash===t.hash}function sa(n,e){return(n.aliasOf||n)===(e.aliasOf||e)}function gT(n,e){if(Object.keys(n).length!==Object.keys(e).length)return!1;for(const t in n)if(!Lk(n[t],e[t]))return!1;return!0}function Lk(n,e){return bi(n)?E0(n,e):bi(e)?E0(e,n):n===e}function E0(n,e){return bi(e)?n.length===e.length&&n.every((t,i)=>t===e[i]):n.length===1&&n[0]===e}function Dk(n,e){if(n.startsWith("/"))return n;if(!n)return e;const t=e.split("/"),i=n.split("/"),r=i[i.length-1];(r===".."||r===".")&&i.push("");let s=t.length-1,o,a;for(o=0;o<i.length;o++)if(a=i[o],a!==".")if(a==="..")s>1&&s--;else break;return t.slice(0,s).join("/")+"/"+i.slice(o).join("/")}const Or={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var Hl;(function(n){n.pop="pop",n.push="push"})(Hl||(Hl={}));var cl;(function(n){n.back="back",n.forward="forward",n.unknown=""})(cl||(cl={}));function Ok(n){if(!n)if(No){const e=document.querySelector("base");n=e&&e.getAttribute("href")||"/",n=n.replace(/^\w+:\/\/[^\/]+/,"")}else n="/";return n[0]!=="/"&&n[0]!=="#"&&(n="/"+n),Rk(n)}const Nk=/^[^#]+#/;function Uk(n,e){return n.replace(Nk,"#")+e}function Fk(n,e){const t=document.documentElement.getBoundingClientRect(),i=n.getBoundingClientRect();return{behavior:e.behavior,left:i.left-t.left-(e.left||0),top:i.top-t.top-(e.top||0)}}const qh=()=>({left:window.scrollX,top:window.scrollY});function Bk(n){let e;if("el"in n){const t=n.el,i=typeof t=="string"&&t.startsWith("#"),r=typeof t=="string"?i?document.getElementById(t.slice(1)):document.querySelector(t):t;if(!r)return;e=Fk(r,n)}else e=n;"scrollBehavior"in document.documentElement.style?window.scrollTo(e):window.scrollTo(e.left!=null?e.left:window.scrollX,e.top!=null?e.top:window.scrollY)}function T0(n,e){return(history.state?history.state.position-e:-1)+n}const mm=new Map;function kk(n,e){mm.set(n,e)}function Vk(n){const e=mm.get(n);return mm.delete(n),e}let zk=()=>location.protocol+"//"+location.host;function _T(n,e){const{pathname:t,search:i,hash:r}=e,s=n.indexOf("#");if(s>-1){let a=r.includes(n.slice(s))?n.slice(s).length:1,l=r.slice(a);return l[0]!=="/"&&(l="/"+l),M0(l,"")}return M0(t,n)+i+r}function Hk(n,e,t,i){let r=[],s=[],o=null;const a=({state:h})=>{const d=_T(n,location),p=t.value,_=e.value;let g=0;if(h){if(t.value=d,e.value=h,o&&o===p){o=null;return}g=_?h.position-_.position:0}else i(d);r.forEach(m=>{m(t.value,p,{delta:g,type:Hl.pop,direction:g?g>0?cl.forward:cl.back:cl.unknown})})};function l(){o=t.value}function c(h){r.push(h);const d=()=>{const p=r.indexOf(h);p>-1&&r.splice(p,1)};return s.push(d),d}function u(){const{history:h}=window;h.state&&h.replaceState(_t({},h.state,{scroll:qh()}),"")}function f(){for(const h of s)h();s=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:l,listen:c,destroy:f}}function w0(n,e,t,i=!1,r=!1){return{back:n,current:e,forward:t,replaced:i,position:window.history.length,scroll:r?qh():null}}function Gk(n){const{history:e,location:t}=window,i={value:_T(n,t)},r={value:e.state};r.value||s(i.value,{back:null,current:i.value,forward:null,position:e.length-1,replaced:!0,scroll:null},!0);function s(l,c,u){const f=n.indexOf("#"),h=f>-1?(t.host&&document.querySelector("base")?n:n.slice(f))+l:zk()+n+l;try{e[u?"replaceState":"pushState"](c,"",h),r.value=c}catch(d){console.error(d),t[u?"replace":"assign"](h)}}function o(l,c){const u=_t({},e.state,w0(r.value.back,l,r.value.forward,!0),c,{position:r.value.position});s(l,u,!0),i.value=l}function a(l,c){const u=_t({},r.value,e.state,{forward:l,scroll:qh()});s(u.current,u,!0);const f=_t({},w0(i.value,l,null),{position:u.position+1},c);s(l,f,!1),i.value=l}return{location:i,state:r,push:a,replace:o}}function Wk(n){n=Ok(n);const e=Gk(n),t=Hk(n,e.state,e.location,e.replace);function i(s,o=!0){o||t.pauseListeners(),history.go(s)}const r=_t({location:"",base:n,go:i,createHref:Uk.bind(null,n)},e,t);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>e.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>e.state.value}),r}function Xk(n){return n=location.host?n||location.pathname+location.search:"",n.includes("#")||(n+="#"),Wk(n)}function $k(n){return typeof n=="string"||n&&typeof n=="object"}function vT(n){return typeof n=="string"||typeof n=="symbol"}const yT=Symbol("");var A0;(function(n){n[n.aborted=4]="aborted",n[n.cancelled=8]="cancelled",n[n.duplicated=16]="duplicated"})(A0||(A0={}));function oa(n,e){return _t(new Error,{type:n,[yT]:!0},e)}function ir(n,e){return n instanceof Error&&yT in n&&(e==null||!!(n.type&e))}const C0="[^/]+?",qk={sensitive:!1,strict:!1,start:!0,end:!0},Yk=/[.+*?^${}()[\]/\\]/g;function jk(n,e){const t=_t({},qk,e),i=[];let r=t.start?"^":"";const s=[];for(const c of n){const u=c.length?[]:[90];t.strict&&!c.length&&(r+="/");for(let f=0;f<c.length;f++){const h=c[f];let d=40+(t.sensitive?.25:0);if(h.type===0)f||(r+="/"),r+=h.value.replace(Yk,"\\$&"),d+=40;else if(h.type===1){const{value:p,repeatable:_,optional:g,regexp:m}=h;s.push({name:p,repeatable:_,optional:g});const y=m||C0;if(y!==C0){d+=10;try{new RegExp(`(${y})`)}catch(v){throw new Error(`Invalid custom RegExp for param "${p}" (${y}): `+v.message)}}let x=_?`((?:${y})(?:/(?:${y}))*)`:`(${y})`;f||(x=g&&c.length<2?`(?:/${x})`:"/"+x),g&&(x+="?"),r+=x,d+=20,g&&(d+=-8),_&&(d+=-20),y===".*"&&(d+=-50)}u.push(d)}i.push(u)}if(t.strict&&t.end){const c=i.length-1;i[c][i[c].length-1]+=.7000000000000001}t.strict||(r+="/?"),t.end?r+="$":t.strict&&!r.endsWith("/")&&(r+="(?:/|$)");const o=new RegExp(r,t.sensitive?"":"i");function a(c){const u=c.match(o),f={};if(!u)return null;for(let h=1;h<u.length;h++){const d=u[h]||"",p=s[h-1];f[p.name]=d&&p.repeatable?d.split("/"):d}return f}function l(c){let u="",f=!1;for(const h of n){(!f||!u.endsWith("/"))&&(u+="/"),f=!1;for(const d of h)if(d.type===0)u+=d.value;else if(d.type===1){const{value:p,repeatable:_,optional:g}=d,m=p in c?c[p]:"";if(bi(m)&&!_)throw new Error(`Provided param "${p}" is an array but it is not repeatable (* or + modifiers)`);const y=bi(m)?m.join("/"):m;if(!y)if(g)h.length<2&&(u.endsWith("/")?u=u.slice(0,-1):f=!0);else throw new Error(`Missing required param "${p}"`);u+=y}}return u||"/"}return{re:o,score:i,keys:s,parse:a,stringify:l}}function Kk(n,e){let t=0;for(;t<n.length&&t<e.length;){const i=e[t]-n[t];if(i)return i;t++}return n.length<e.length?n.length===1&&n[0]===80?-1:1:n.length>e.length?e.length===1&&e[0]===80?1:-1:0}function xT(n,e){let t=0;const i=n.score,r=e.score;for(;t<i.length&&t<r.length;){const s=Kk(i[t],r[t]);if(s)return s;t++}if(Math.abs(r.length-i.length)===1){if(R0(i))return 1;if(R0(r))return-1}return r.length-i.length}function R0(n){const e=n[n.length-1];return n.length>0&&e[e.length-1]<0}const Zk={type:0,value:""},Jk=/[a-zA-Z0-9_]/;function Qk(n){if(!n)return[[]];if(n==="/")return[[Zk]];if(!n.startsWith("/"))throw new Error(`Invalid path "${n}"`);function e(d){throw new Error(`ERR (${t})/"${c}": ${d}`)}let t=0,i=t;const r=[];let s;function o(){s&&r.push(s),s=[]}let a=0,l,c="",u="";function f(){c&&(t===0?s.push({type:0,value:c}):t===1||t===2||t===3?(s.length>1&&(l==="*"||l==="+")&&e(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),s.push({type:1,value:c,regexp:u,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):e("Invalid state to consume buffer"),c="")}function h(){c+=l}for(;a<n.length;){if(l=n[a++],l==="\\"&&t!==2){i=t,t=4;continue}switch(t){case 0:l==="/"?(c&&f(),o()):l===":"?(f(),t=1):h();break;case 4:h(),t=i;break;case 1:l==="("?t=2:Jk.test(l)?h():(f(),t=0,l!=="*"&&l!=="?"&&l!=="+"&&a--);break;case 2:l===")"?u[u.length-1]=="\\"?u=u.slice(0,-1)+l:t=3:u+=l;break;case 3:f(),t=0,l!=="*"&&l!=="?"&&l!=="+"&&a--,u="";break;default:e("Unknown state");break}}return t===2&&e(`Unfinished custom RegExp for param "${c}"`),f(),o(),r}function eV(n,e,t){const i=jk(Qk(n.path),t),r=_t(i,{record:n,parent:e,children:[],alias:[]});return e&&!r.record.aliasOf==!e.record.aliasOf&&e.children.push(r),r}function tV(n,e){const t=[],i=new Map;e=D0({strict:!1,end:!0,sensitive:!1},e);function r(f){return i.get(f)}function s(f,h,d){const p=!d,_=I0(f);_.aliasOf=d&&d.record;const g=D0(e,f),m=[_];if("alias"in f){const v=typeof f.alias=="string"?[f.alias]:f.alias;for(const E of v)m.push(I0(_t({},_,{components:d?d.record.components:_.components,path:E,aliasOf:d?d.record:_})))}let y,x;for(const v of m){const{path:E}=v;if(h&&E[0]!=="/"){const T=h.record.path,M=T[T.length-1]==="/"?"":"/";v.path=h.record.path+(E&&M+E)}if(y=eV(v,h,g),d?d.alias.push(y):(x=x||y,x!==y&&x.alias.push(y),p&&f.name&&!L0(y)&&o(f.name)),bT(y)&&l(y),_.children){const T=_.children;for(let M=0;M<T.length;M++)s(T[M],y,d&&d.children[M])}d=d||y}return x?()=>{o(x)}:ll}function o(f){if(vT(f)){const h=i.get(f);h&&(i.delete(f),t.splice(t.indexOf(h),1),h.children.forEach(o),h.alias.forEach(o))}else{const h=t.indexOf(f);h>-1&&(t.splice(h,1),f.record.name&&i.delete(f.record.name),f.children.forEach(o),f.alias.forEach(o))}}function a(){return t}function l(f){const h=rV(f,t);t.splice(h,0,f),f.record.name&&!L0(f)&&i.set(f.record.name,f)}function c(f,h){let d,p={},_,g;if("name"in f&&f.name){if(d=i.get(f.name),!d)throw oa(1,{location:f});g=d.record.name,p=_t(P0(h.params,d.keys.filter(x=>!x.optional).concat(d.parent?d.parent.keys.filter(x=>x.optional):[]).map(x=>x.name)),f.params&&P0(f.params,d.keys.map(x=>x.name))),_=d.stringify(p)}else if(f.path!=null)_=f.path,d=t.find(x=>x.re.test(_)),d&&(p=d.parse(_),g=d.record.name);else{if(d=h.name?i.get(h.name):t.find(x=>x.re.test(h.path)),!d)throw oa(1,{location:f,currentLocation:h});g=d.record.name,p=_t({},h.params,f.params),_=d.stringify(p)}const m=[];let y=d;for(;y;)m.unshift(y.record),y=y.parent;return{name:g,path:_,params:p,matched:m,meta:iV(m)}}n.forEach(f=>s(f));function u(){t.length=0,i.clear()}return{addRoute:s,resolve:c,removeRoute:o,clearRoutes:u,getRoutes:a,getRecordMatcher:r}}function P0(n,e){const t={};for(const i of e)i in n&&(t[i]=n[i]);return t}function I0(n){const e={path:n.path,redirect:n.redirect,name:n.name,meta:n.meta||{},aliasOf:n.aliasOf,beforeEnter:n.beforeEnter,props:nV(n),children:n.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in n?n.components||null:n.component&&{default:n.component}};return Object.defineProperty(e,"mods",{value:{}}),e}function nV(n){const e={},t=n.props||!1;if("component"in n)e.default=t;else for(const i in n.components)e[i]=typeof t=="object"?t[i]:t;return e}function L0(n){for(;n;){if(n.record.aliasOf)return!0;n=n.parent}return!1}function iV(n){return n.reduce((e,t)=>_t(e,t.meta),{})}function D0(n,e){const t={};for(const i in n)t[i]=i in e?e[i]:n[i];return t}function rV(n,e){let t=0,i=e.length;for(;t!==i;){const s=t+i>>1;xT(n,e[s])<0?i=s:t=s+1}const r=sV(n);return r&&(i=e.lastIndexOf(r,i-1)),i}function sV(n){let e=n;for(;e=e.parent;)if(bT(e)&&xT(n,e)===0)return e}function bT({record:n}){return!!(n.name||n.components&&Object.keys(n.components).length||n.redirect)}function oV(n){const e={};if(n===""||n==="?")return e;const i=(n[0]==="?"?n.slice(1):n).split("&");for(let r=0;r<i.length;++r){const s=i[r].replace(hT," "),o=s.indexOf("="),a=zl(o<0?s:s.slice(0,o)),l=o<0?null:zl(s.slice(o+1));if(a in e){let c=e[a];bi(c)||(c=e[a]=[c]),c.push(l)}else e[a]=l}return e}function O0(n){let e="";for(let t in n){const i=n[t];if(t=Tk(t),i==null){i!==void 0&&(e+=(e.length?"&":"")+t);continue}(bi(i)?i.map(s=>s&&pm(s)):[i&&pm(i)]).forEach(s=>{s!==void 0&&(e+=(e.length?"&":"")+t,s!=null&&(e+="="+s))})}return e}function aV(n){const e={};for(const t in n){const i=n[t];i!==void 0&&(e[t]=bi(i)?i.map(r=>r==null?null:""+r):i==null?i:""+i)}return e}const lV=Symbol(""),N0=Symbol(""),o_=Symbol(""),ST=Symbol(""),gm=Symbol("");function Da(){let n=[];function e(i){return n.push(i),()=>{const r=n.indexOf(i);r>-1&&n.splice(r,1)}}function t(){n=[]}return{add:e,list:()=>n.slice(),reset:t}}function zr(n,e,t,i,r,s=o=>o()){const o=i&&(i.enterCallbacks[r]=i.enterCallbacks[r]||[]);return()=>new Promise((a,l)=>{const c=h=>{h===!1?l(oa(4,{from:t,to:e})):h instanceof Error?l(h):$k(h)?l(oa(2,{from:e,to:h})):(o&&i.enterCallbacks[r]===o&&typeof h=="function"&&o.push(h),a())},u=s(()=>n.call(i&&i.instances[r],e,t,c));let f=Promise.resolve(u);n.length<3&&(f=f.then(c)),f.catch(h=>l(h))})}function pp(n,e,t,i,r=s=>s()){const s=[];for(const o of n)for(const a in o.components){let l=o.components[a];if(!(e!=="beforeRouteEnter"&&!o.instances[a]))if(uT(l)){const u=(l.__vccOpts||l)[e];u&&s.push(zr(u,t,i,o,a,r))}else{let c=l();s.push(()=>c.then(u=>{if(!u)throw new Error(`Couldn't resolve component "${a}" at "${o.path}"`);const f=pk(u)?u.default:u;o.mods[a]=u,o.components[a]=f;const d=(f.__vccOpts||f)[e];return d&&zr(d,t,i,o,a,r)()}))}}return s}function U0(n){const e=kn(o_),t=kn(ST),i=ke(()=>{const l=Ut(n.to);return e.resolve(l)}),r=ke(()=>{const{matched:l}=i.value,{length:c}=l,u=l[c-1],f=t.matched;if(!u||!f.length)return-1;const h=f.findIndex(sa.bind(null,u));if(h>-1)return h;const d=F0(l[c-2]);return c>1&&F0(u)===d&&f[f.length-1].path!==d?f.findIndex(sa.bind(null,l[c-2])):h}),s=ke(()=>r.value>-1&&dV(t.params,i.value.params)),o=ke(()=>r.value>-1&&r.value===t.matched.length-1&&gT(t.params,i.value.params));function a(l={}){if(hV(l)){const c=e[Ut(n.replace)?"replace":"push"](Ut(n.to)).catch(ll);return n.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>c),c}return Promise.resolve()}return{route:i,href:ke(()=>i.value.href),isActive:s,isExactActive:o,navigate:a}}function cV(n){return n.length===1?n[0]:n}const uV=Vi({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"}},useLink:U0,setup(n,{slots:e}){const t=oi(U0(n)),{options:i}=kn(o_),r=ke(()=>({[B0(n.activeClass,i.linkActiveClass,"router-link-active")]:t.isActive,[B0(n.exactActiveClass,i.linkExactActiveClass,"router-link-exact-active")]:t.isExactActive}));return()=>{const s=e.default&&cV(e.default(t));return n.custom?s:vr("a",{"aria-current":t.isExactActive?n.ariaCurrentValue:null,href:t.href,onClick:t.navigate,class:r.value},s)}}}),fV=uV;function hV(n){if(!(n.metaKey||n.altKey||n.ctrlKey||n.shiftKey)&&!n.defaultPrevented&&!(n.button!==void 0&&n.button!==0)){if(n.currentTarget&&n.currentTarget.getAttribute){const e=n.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(e))return}return n.preventDefault&&n.preventDefault(),!0}}function dV(n,e){for(const t in e){const i=e[t],r=n[t];if(typeof i=="string"){if(i!==r)return!1}else if(!bi(r)||r.length!==i.length||i.some((s,o)=>s!==r[o]))return!1}return!0}function F0(n){return n?n.aliasOf?n.aliasOf.path:n.path:""}const B0=(n,e,t)=>n??e??t,pV=Vi({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(n,{attrs:e,slots:t}){const i=kn(gm),r=ke(()=>n.route||i.value),s=kn(N0,0),o=ke(()=>{let c=Ut(s);const{matched:u}=r.value;let f;for(;(f=u[c])&&!f.components;)c++;return c}),a=ke(()=>r.value.matched[o.value]);$r(N0,ke(()=>o.value+1)),$r(lV,a),$r(gm,r);const l=Pe();return it(()=>[l.value,a.value,n.name],([c,u,f],[h,d,p])=>{u&&(u.instances[f]=c,d&&d!==u&&c&&c===h&&(u.leaveGuards.size||(u.leaveGuards=d.leaveGuards),u.updateGuards.size||(u.updateGuards=d.updateGuards))),c&&u&&(!d||!sa(u,d)||!h)&&(u.enterCallbacks[f]||[]).forEach(_=>_(c))},{flush:"post"}),()=>{const c=r.value,u=n.name,f=a.value,h=f&&f.components[u];if(!h)return k0(t.default,{Component:h,route:c});const d=f.props[u],p=d?d===!0?c.params:typeof d=="function"?d(c):d:null,g=vr(h,_t({},p,e,{onVnodeUnmounted:m=>{m.component.isUnmounted&&(f.instances[u]=null)},ref:l}));return k0(t.default,{Component:g,route:c})||g}}});function k0(n,e){if(!n)return null;const t=n(e);return t.length===1?t[0]:t}const MT=pV;function mV(n){const e=tV(n.routes,n),t=n.parseQuery||oV,i=n.stringifyQuery||O0,r=n.history,s=Da(),o=Da(),a=Da(),l=fn(Or);let c=Or;No&&n.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=hp.bind(null,W=>""+W),f=hp.bind(null,Ak),h=hp.bind(null,zl);function d(W,ae){let ue,le;return vT(W)?(ue=e.getRecordMatcher(W),le=ae):le=W,e.addRoute(le,ue)}function p(W){const ae=e.getRecordMatcher(W);ae&&e.removeRoute(ae)}function _(){return e.getRoutes().map(W=>W.record)}function g(W){return!!e.getRecordMatcher(W)}function m(W,ae){if(ae=_t({},ae||l.value),typeof W=="string"){const w=dp(t,W,ae.path),j=e.resolve({path:w.path},ae),G=r.createHref(w.fullPath);return _t(w,j,{params:h(j.params),hash:zl(w.hash),redirectedFrom:void 0,href:G})}let ue;if(W.path!=null)ue=_t({},W,{path:dp(t,W.path,ae.path).path});else{const w=_t({},W.params);for(const j in w)w[j]==null&&delete w[j];ue=_t({},W,{params:f(w)}),ae.params=f(ae.params)}const le=e.resolve(ue,ae),De=W.hash||"";le.params=u(h(le.params));const I=Pk(i,_t({},W,{hash:Ek(De),path:le.path})),L=r.createHref(I);return _t({fullPath:I,hash:De,query:i===O0?aV(W.query):W.query||{}},le,{redirectedFrom:void 0,href:L})}function y(W){return typeof W=="string"?dp(t,W,l.value.path):_t({},W)}function x(W,ae){if(c!==W)return oa(8,{from:ae,to:W})}function v(W){return M(W)}function E(W){return v(_t(y(W),{replace:!0}))}function T(W){const ae=W.matched[W.matched.length-1];if(ae&&ae.redirect){const{redirect:ue}=ae;let le=typeof ue=="function"?ue(W):ue;return typeof le=="string"&&(le=le.includes("?")||le.includes("#")?le=y(le):{path:le},le.params={}),_t({query:W.query,hash:W.hash,params:le.path!=null?{}:W.params},le)}}function M(W,ae){const ue=c=m(W),le=l.value,De=W.state,I=W.force,L=W.replace===!0,w=T(ue);if(w)return M(_t(y(w),{state:typeof w=="object"?_t({},De,w.state):De,force:I,replace:L}),ae||ue);const j=ue;j.redirectedFrom=ae;let G;return!I&&Ik(i,le,ue)&&(G=oa(16,{to:j,from:le}),re(le,le,!0,!1)),(G?Promise.resolve(G):S(j,le)).catch(q=>ir(q)?ir(q,2)?q:ve(q):Q(q,j,le)).then(q=>{if(q){if(ir(q,2))return M(_t({replace:L},y(q.to),{state:typeof q.to=="object"?_t({},De,q.to.state):De,force:I}),ae||j)}else q=F(j,le,!0,L,De);return D(j,le,q),q})}function P(W,ae){const ue=x(W,ae);return ue?Promise.reject(ue):Promise.resolve()}function b(W){const ae=se.values().next().value;return ae&&typeof ae.runWithContext=="function"?ae.runWithContext(W):W()}function S(W,ae){let ue;const[le,De,I]=gV(W,ae);ue=pp(le.reverse(),"beforeRouteLeave",W,ae);for(const w of le)w.leaveGuards.forEach(j=>{ue.push(zr(j,W,ae))});const L=P.bind(null,W,ae);return ue.push(L),be(ue).then(()=>{ue=[];for(const w of s.list())ue.push(zr(w,W,ae));return ue.push(L),be(ue)}).then(()=>{ue=pp(De,"beforeRouteUpdate",W,ae);for(const w of De)w.updateGuards.forEach(j=>{ue.push(zr(j,W,ae))});return ue.push(L),be(ue)}).then(()=>{ue=[];for(const w of I)if(w.beforeEnter)if(bi(w.beforeEnter))for(const j of w.beforeEnter)ue.push(zr(j,W,ae));else ue.push(zr(w.beforeEnter,W,ae));return ue.push(L),be(ue)}).then(()=>(W.matched.forEach(w=>w.enterCallbacks={}),ue=pp(I,"beforeRouteEnter",W,ae,b),ue.push(L),be(ue))).then(()=>{ue=[];for(const w of o.list())ue.push(zr(w,W,ae));return ue.push(L),be(ue)}).catch(w=>ir(w,8)?w:Promise.reject(w))}function D(W,ae,ue){a.list().forEach(le=>b(()=>le(W,ae,ue)))}function F(W,ae,ue,le,De){const I=x(W,ae);if(I)return I;const L=ae===Or,w=No?history.state:{};ue&&(le||L?r.replace(W.fullPath,_t({scroll:L&&w&&w.scroll},De)):r.push(W.fullPath,De)),l.value=W,re(W,ae,ue,L),ve()}let H;function $(){H||(H=r.listen((W,ae,ue)=>{if(!ge.listening)return;const le=m(W),De=T(le);if(De){M(_t(De,{replace:!0,force:!0}),le).catch(ll);return}c=le;const I=l.value;No&&kk(T0(I.fullPath,ue.delta),qh()),S(le,I).catch(L=>ir(L,12)?L:ir(L,2)?(M(_t(y(L.to),{force:!0}),le).then(w=>{ir(w,20)&&!ue.delta&&ue.type===Hl.pop&&r.go(-1,!1)}).catch(ll),Promise.reject()):(ue.delta&&r.go(-ue.delta,!1),Q(L,le,I))).then(L=>{L=L||F(le,I,!1),L&&(ue.delta&&!ir(L,8)?r.go(-ue.delta,!1):ue.type===Hl.pop&&ir(L,20)&&r.go(-1,!1)),D(le,I,L)}).catch(ll)}))}let ee=Da(),Z=Da(),te;function Q(W,ae,ue){ve(W);const le=Z.list();return le.length?le.forEach(De=>De(W,ae,ue)):console.error(W),Promise.reject(W)}function pe(){return te&&l.value!==Or?Promise.resolve():new Promise((W,ae)=>{ee.add([W,ae])})}function ve(W){return te||(te=!W,$(),ee.list().forEach(([ae,ue])=>W?ue(W):ae()),ee.reset()),W}function re(W,ae,ue,le){const{scrollBehavior:De}=n;if(!No||!De)return Promise.resolve();const I=!ue&&Vk(T0(W.fullPath,0))||(le||!ue)&&history.state&&history.state.scroll||null;return ro().then(()=>De(W,ae,I)).then(L=>L&&Bk(L)).catch(L=>Q(L,W,ae))}const xe=W=>r.go(W);let ze;const se=new Set,ge={currentRoute:l,listening:!0,addRoute:d,removeRoute:p,clearRoutes:e.clearRoutes,hasRoute:g,getRoutes:_,resolve:m,options:n,push:v,replace:E,go:xe,back:()=>xe(-1),forward:()=>xe(1),beforeEach:s.add,beforeResolve:o.add,afterEach:a.add,onError:Z.add,isReady:pe,install(W){const ae=this;W.component("RouterLink",fV),W.component("RouterView",MT),W.config.globalProperties.$router=ae,Object.defineProperty(W.config.globalProperties,"$route",{enumerable:!0,get:()=>Ut(l)}),No&&!ze&&l.value===Or&&(ze=!0,v(r.location).catch(De=>{}));const ue={};for(const De in Or)Object.defineProperty(ue,De,{get:()=>l.value[De],enumerable:!0});W.provide(o_,ae),W.provide(ST,zx(ue)),W.provide(gm,l);const le=W.unmount;se.add(W),W.unmount=function(){se.delete(W),se.size<1&&(c=Or,H&&H(),H=null,l.value=Or,ze=!1,te=!1),le()}}};function be(W){return W.reduce((ae,ue)=>ae.then(()=>b(ue)),Promise.resolve())}return ge}function gV(n,e){const t=[],i=[],r=[],s=Math.max(e.matched.length,n.matched.length);for(let o=0;o<s;o++){const a=e.matched[o];a&&(n.matched.find(c=>sa(c,a))?i.push(a):t.push(a));const l=n.matched[o];l&&(e.matched.find(c=>sa(c,l))||r.push(l))}return[t,i,r]}const _V=[{path:"/",name:"/",component:()=>Ri(()=>import("./index-Cv4Zshkj.js"),__vite__mapDeps([0,1,2,3,4,5])),meta:{layout:"default"}},{path:"/:all(.*)",name:"/[...all]",component:()=>Ri(()=>import("./_...all_-BbRaxntj.js"),__vite__mapDeps([6,4]))},{path:"/audio",name:"/audio",component:()=>Ri(()=>import("./audio-CFjicbGg.js"),[])},{path:"/devtools",children:[{path:"image",name:"/devtools/image",component:()=>Ri(()=>import("./image-Bkvmadhe.js"),__vite__mapDeps([7,4,8]))}]},{path:"/queue",name:"/queue",component:()=>Ri(()=>import("./queue-BvLLvp7w.js"),__vite__mapDeps([9,2]))},{path:"/test",children:[{path:"filter-message",name:"/test/filter-message",component:()=>Ri(()=>import("./filter-message-DNV2qGXn.js"),[])},{path:"queues",children:[{path:"delays",name:"/test/queues/delays",component:()=>Ri(()=>import("./delays-Bnoy0rQB.js"),__vite__mapDeps([10,1,2,3]))},{path:"emotions",name:"/test/queues/emotions",component:()=>Ri(()=>import("./emotions-Co30PpaD.js"),__vite__mapDeps([11,1,2]))},{path:"messages",name:"/test/queues/messages",component:()=>Ri(()=>import("./messages-D8t9SaEY.js"),__vite__mapDeps([12,1,2]))}]}]}];var _m=(n=>(n.Myriam="Myriam",n.Beatrice="Beatrice",n.Camilla_KM="Camilla_KM",n.SallySunshine="Sally Sunshine",n.Annie="Annie",n.KawaiiAerisita="Kawaii Aerisita",n.Morioki="Morioki",n))(_m||{});const o4={Myriam:"lNxY9WuCBCZCISASyJ55",Beatrice:"KAsXoQDshjF6ehsWa1mF",Camilla_KM:"dLhSyo03JRp5WkGpUlz1","Sally Sunshine":"qswttdunP3b44zVZKMRB",Annie:"AfA1PA0ldViH0DA6pbml","Kawaii Aerisita":"vGQNBgLaiM3EdZtxIiuY",Morioki:"8EkOjt4xTPGMclNlh1pk"},V0=["Myriam","Beatrice","Camilla_KM","Sally Sunshine","Annie","Kawaii Aerisita"],z0=["Morioki"],a4={en:V0,"en-US":V0,ja:z0,"ja-JP":z0},vV=fk("settings",()=>{const n=Pe(),e=nr("settings/language","en-US"),t=nr("settings/stage/view/model-renderer","2d"),i=nr("settings/credentials/openai-api-key",""),r=nr("settings/credentials/openai-api-base-url",""),s=nr("settings/credentials/elevenlabs-api-key",""),o=nr("settings/llm/openai/model",{id:"openai/gpt-3.5-turbo",name:"OpenAI GPT3.5 Turbo"}),a=nr("settings/audio/input","true"),l=ke(()=>{var h;return(h=n.value)==null?void 0:h.deviceId}),{audioInputs:c}=T2({constraints:{audio:!0},requestPermissions:!0}),u=nr("settings/llm/elevenlabs/voice/en",_m.Myriam),f=nr("settings/llm/elevenlabs/voice/ja",_m.Morioki);return it(a,h=>{h==="false"&&(n.value=void 0),h==="true"&&(n.value=c.value[0])}),ns(()=>{a.value==="true"&&!n.value&&(n.value=c.value[0])}),it(c,()=>{a.value==="true"&&!n.value&&(n.value=c.value[0])}),{openAiApiKey:i,openAiApiBaseURL:r,openAiModel:o,elevenLabsApiKey:s,language:e,stageView:t,isAudioInputOn:a,selectedAudioDevice:n,selectedAudioDeviceId:l,elevenlabsVoiceEnglish:u,elevenlabsVoiceJapanese:f}});/*!
3854
  * shared v11.1.0
3855
  * (c) 2025 kazuya kawaguchi
3856
  * Released under the MIT License.
 
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/index-uL9EtCRr.js","assets/queues-CsN4-ClH.js","assets/queue-CeT6u4ef.js","assets/index-BPLLncXW.js","assets/_plugin-vue_export-helper-DlAUqK2U.js","assets/index-CwGGpTrg.css","assets/_...all_-CHlSqrFC.js","assets/image-Db88_eF2.js","assets/image-BhuwcwI9.css","assets/queue-DZ9kNEd1.js","assets/delays-D1zKLZX4.js","assets/emotions-DBCjUQ8l.js","assets/messages-qnY1qKjD.js"])))=>i.map(i=>d[i]);
2
  (function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))i(r);new MutationObserver(r=>{for(const s of r)if(s.type==="childList")for(const o of s.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&i(o)}).observe(document,{childList:!0,subtree:!0});function t(r){const s={};return r.integrity&&(s.integrity=r.integrity),r.referrerPolicy&&(s.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?s.credentials="include":r.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function i(r){if(r.ep)return;r.ep=!0;const s=t(r);fetch(r.href,s)}})();const qT="modulepreload",YT=function(n){return"/"+n},S_={},Ri=function(e,t,i){let r=Promise.resolve();if(t&&t.length>0){document.getElementsByTagName("link");const o=document.querySelector("meta[property=csp-nonce]"),a=(o==null?void 0:o.nonce)||(o==null?void 0:o.getAttribute("nonce"));r=Promise.allSettled(t.map(l=>{if(l=YT(l),l in S_)return;S_[l]=!0;const c=l.endsWith(".css"),u=c?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${l}"]${u}`))return;const f=document.createElement("link");if(f.rel=c?"stylesheet":qT,c||(f.as="script"),f.crossOrigin="",f.href=l,a&&f.setAttribute("nonce",a),document.head.appendChild(f),c)return new Promise((h,d)=>{f.addEventListener("load",h),f.addEventListener("error",()=>d(new Error(`Unable to preload CSS for ${l}`)))})}))}function s(o){const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=o,window.dispatchEvent(a),!a.defaultPrevented)throw o}return r.then(o=>{for(const a of o||[])a.status==="rejected"&&s(a.reason);return e().catch(s)})};/**
3
  * @vue/shared v3.5.13
4
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
 
3846
  * pinia v2.3.1
3847
  * (c) 2025 Eduardo San Martin Morote
3848
  * @license MIT
3849
+ */let oT;const $h=n=>oT=n,aT=Symbol();function hm(n){return n&&typeof n=="object"&&Object.prototype.toString.call(n)==="[object Object]"&&typeof n.toJSON!="function"}var al;(function(n){n.direct="direct",n.patchObject="patch object",n.patchFunction="patch function"})(al||(al={}));function sk(){const n=Dm(!0),e=n.run(()=>Pe({}));let t=[],i=[];const r=zm({install(s){$h(r),r._a=s,s.provide(aT,r),s.config.globalProperties.$pinia=r,i.forEach(o=>t.push(o)),i=[]},use(s){return this._a?t.push(s):i.push(s),this},_p:t,_a:null,_e:n,_s:new Map,state:e});return r}const lT=()=>{};function b0(n,e,t,i=lT){n.push(e);const r=()=>{const s=n.indexOf(e);s>-1&&(n.splice(s,1),i())};return!t&&Kf()&&Om(r),r}function Lo(n,...e){n.slice().forEach(t=>{t(...e)})}const ok=n=>n(),S0=Symbol(),fp=Symbol();function dm(n,e){n instanceof Map&&e instanceof Map?e.forEach((t,i)=>n.set(i,t)):n instanceof Set&&e instanceof Set&&e.forEach(n.add,n);for(const t in e){if(!e.hasOwnProperty(t))continue;const i=e[t],r=n[t];hm(r)&&hm(i)&&n.hasOwnProperty(t)&&!Et(i)&&!mr(i)?n[t]=dm(r,i):n[t]=i}return n}const ak=Symbol();function lk(n){return!hm(n)||!n.hasOwnProperty(ak)}const{assign:Ur}=Object;function ck(n){return!!(Et(n)&&n.effect)}function uk(n,e,t,i){const{state:r,actions:s,getters:o}=e,a=t.state.value[n];let l;function c(){a||(t.state.value[n]=r?r():{});const u=Wx(t.state.value[n]);return Ur(u,s,Object.keys(o||{}).reduce((f,h)=>(f[h]=zm(ke(()=>{$h(t);const d=t._s.get(n);return o[h].call(d,d)})),f),{}))}return l=cT(n,c,e,t,i,!0),l}function cT(n,e,t={},i,r,s){let o;const a=Ur({actions:{}},t),l={deep:!0};let c,u,f=[],h=[],d;const p=i.state.value[n];!s&&!p&&(i.state.value[n]={}),Pe({});let _;function g(P){let b;c=u=!1,typeof P=="function"?(P(i.state.value[n]),b={type:al.patchFunction,storeId:n,events:d}):(dm(i.state.value[n],P),b={type:al.patchObject,payload:P,storeId:n,events:d});const S=_=Symbol();ro().then(()=>{_===S&&(c=!0)}),u=!0,Lo(f,b,i.state.value[n])}const m=s?function(){const{state:b}=t,S=b?b():{};this.$patch(D=>{Ur(D,S)})}:lT;function y(){o.stop(),f=[],h=[],i._s.delete(n)}const x=(P,b="")=>{if(S0 in P)return P[fp]=b,P;const S=function(){$h(i);const D=Array.from(arguments),F=[],H=[];function $(te){F.push(te)}function ee(te){H.push(te)}Lo(h,{args:D,name:S[fp],store:E,after:$,onError:ee});let Z;try{Z=P.apply(this&&this.$id===n?this:E,D)}catch(te){throw Lo(H,te),te}return Z instanceof Promise?Z.then(te=>(Lo(F,te),te)).catch(te=>(Lo(H,te),Promise.reject(te))):(Lo(F,Z),Z)};return S[S0]=!0,S[fp]=b,S},v={_p:i,$id:n,$onAction:b0.bind(null,h),$patch:g,$reset:m,$subscribe(P,b={}){const S=b0(f,P,b.detached,()=>D()),D=o.run(()=>it(()=>i.state.value[n],F=>{(b.flush==="sync"?u:c)&&P({storeId:n,type:al.direct,events:d},F)},Ur({},l,b)));return S},$dispose:y},E=oi(v);i._s.set(n,E);const M=(i._a&&i._a.runWithContext||ok)(()=>i._e.run(()=>(o=Dm()).run(()=>e({action:x}))));for(const P in M){const b=M[P];if(Et(b)&&!ck(b)||mr(b))s||(p&&lk(b)&&(Et(b)?b.value=p[P]:dm(b,p[P])),i.state.value[n][P]=b);else if(typeof b=="function"){const S=x(b,P);M[P]=S,a.actions[P]=b}}return Ur(E,M),Ur(rt(E),M),Object.defineProperty(E,"$state",{get:()=>i.state.value[n],set:P=>{g(b=>{Ur(b,P)})}}),i._p.forEach(P=>{Ur(E,o.run(()=>P({store:E,app:i._a,pinia:i,options:a})))}),p&&s&&t.hydrate&&t.hydrate(E.$state,p),c=!0,u=!0,E}/*! #__NO_SIDE_EFFECTS__ */function fk(n,e,t){let i,r;const s=typeof e=="function";typeof n=="string"?(i=n,r=s?t:e):(r=n,i=n.id);function o(a,l){const c=Xm();return a=a||(c?kn(aT,null):null),a&&$h(a),a=oT,a._s.has(i)||(s?cT(i,e,r,a):uk(i,r,a)),a._s.get(i)}return o.$id=i,o}function hk(n){{const e=rt(n),t={};for(const i in e){const r=e[i];r.effect?t[i]=ke({get:()=>n[i],set(s){n[i]=s}}):(Et(r)||mr(r))&&(t[i]=Xx(n,i))}return t}}const dk=n=>{const e={};Object.entries(Object.assign({"/src/layouts/default.vue":()=>Ri(()=>import("./default-CXrhKqcL.js"),[])})).forEach(([r,s])=>{let o=r.replace("/src/layouts/","").replace(".vue","");e[o]=s});function i(r,s=!0){return r.map(o=>{var a,l,c,u,f,h;if(((a=o.children)==null?void 0:a.length)>0&&(o.children=i(o.children,!1)),s){if(!o.component&&((l=o.children)==null?void 0:l.find(p=>{var _;return(p.path===""||p.path==="/")&&((_=p.meta)==null?void 0:_.isLayout)})))return o;if(((c=o.meta)==null?void 0:c.layout)!==!1)return{path:o.path,component:e[((u=o.meta)==null?void 0:u.layout)||"default"],children:o.path==="/"?[o]:[{...o,path:""}],meta:{isLayout:!0}}}return(f=o.meta)!=null&&f.layout?{path:o.path,component:e[(h=o.meta)==null?void 0:h.layout],children:[{...o,path:""}],meta:{isLayout:!0}}:o})}return i(n)};/*!
3850
  * vue-router v4.5.0
3851
  * (c) 2024 Eduardo San Martin Morote
3852
  * @license MIT
3853
+ */const No=typeof document<"u";function uT(n){return typeof n=="object"||"displayName"in n||"props"in n||"__vccOpts"in n}function pk(n){return n.__esModule||n[Symbol.toStringTag]==="Module"||n.default&&uT(n.default)}const _t=Object.assign;function hp(n,e){const t={};for(const i in e){const r=e[i];t[i]=bi(r)?r.map(n):n(r)}return t}const ll=()=>{},bi=Array.isArray,fT=/#/g,mk=/&/g,gk=/\//g,_k=/=/g,vk=/\?/g,hT=/\+/g,yk=/%5B/g,xk=/%5D/g,dT=/%5E/g,bk=/%60/g,pT=/%7B/g,Sk=/%7C/g,mT=/%7D/g,Mk=/%20/g;function s_(n){return encodeURI(""+n).replace(Sk,"|").replace(yk,"[").replace(xk,"]")}function Ek(n){return s_(n).replace(pT,"{").replace(mT,"}").replace(dT,"^")}function pm(n){return s_(n).replace(hT,"%2B").replace(Mk,"+").replace(fT,"%23").replace(mk,"%26").replace(bk,"`").replace(pT,"{").replace(mT,"}").replace(dT,"^")}function Tk(n){return pm(n).replace(_k,"%3D")}function wk(n){return s_(n).replace(fT,"%23").replace(vk,"%3F")}function Ak(n){return n==null?"":wk(n).replace(gk,"%2F")}function zl(n){try{return decodeURIComponent(""+n)}catch{}return""+n}const Ck=/\/$/,Rk=n=>n.replace(Ck,"");function dp(n,e,t="/"){let i,r={},s="",o="";const a=e.indexOf("#");let l=e.indexOf("?");return a<l&&a>=0&&(l=-1),l>-1&&(i=e.slice(0,l),s=e.slice(l+1,a>-1?a:e.length),r=n(s)),a>-1&&(i=i||e.slice(0,a),o=e.slice(a,e.length)),i=Dk(i??e,t),{fullPath:i+(s&&"?")+s+o,path:i,query:r,hash:zl(o)}}function Pk(n,e){const t=e.query?n(e.query):"";return e.path+(t&&"?")+t+(e.hash||"")}function M0(n,e){return!e||!n.toLowerCase().startsWith(e.toLowerCase())?n:n.slice(e.length)||"/"}function Ik(n,e,t){const i=e.matched.length-1,r=t.matched.length-1;return i>-1&&i===r&&sa(e.matched[i],t.matched[r])&&gT(e.params,t.params)&&n(e.query)===n(t.query)&&e.hash===t.hash}function sa(n,e){return(n.aliasOf||n)===(e.aliasOf||e)}function gT(n,e){if(Object.keys(n).length!==Object.keys(e).length)return!1;for(const t in n)if(!Lk(n[t],e[t]))return!1;return!0}function Lk(n,e){return bi(n)?E0(n,e):bi(e)?E0(e,n):n===e}function E0(n,e){return bi(e)?n.length===e.length&&n.every((t,i)=>t===e[i]):n.length===1&&n[0]===e}function Dk(n,e){if(n.startsWith("/"))return n;if(!n)return e;const t=e.split("/"),i=n.split("/"),r=i[i.length-1];(r===".."||r===".")&&i.push("");let s=t.length-1,o,a;for(o=0;o<i.length;o++)if(a=i[o],a!==".")if(a==="..")s>1&&s--;else break;return t.slice(0,s).join("/")+"/"+i.slice(o).join("/")}const Or={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var Hl;(function(n){n.pop="pop",n.push="push"})(Hl||(Hl={}));var cl;(function(n){n.back="back",n.forward="forward",n.unknown=""})(cl||(cl={}));function Ok(n){if(!n)if(No){const e=document.querySelector("base");n=e&&e.getAttribute("href")||"/",n=n.replace(/^\w+:\/\/[^\/]+/,"")}else n="/";return n[0]!=="/"&&n[0]!=="#"&&(n="/"+n),Rk(n)}const Nk=/^[^#]+#/;function Uk(n,e){return n.replace(Nk,"#")+e}function Fk(n,e){const t=document.documentElement.getBoundingClientRect(),i=n.getBoundingClientRect();return{behavior:e.behavior,left:i.left-t.left-(e.left||0),top:i.top-t.top-(e.top||0)}}const qh=()=>({left:window.scrollX,top:window.scrollY});function Bk(n){let e;if("el"in n){const t=n.el,i=typeof t=="string"&&t.startsWith("#"),r=typeof t=="string"?i?document.getElementById(t.slice(1)):document.querySelector(t):t;if(!r)return;e=Fk(r,n)}else e=n;"scrollBehavior"in document.documentElement.style?window.scrollTo(e):window.scrollTo(e.left!=null?e.left:window.scrollX,e.top!=null?e.top:window.scrollY)}function T0(n,e){return(history.state?history.state.position-e:-1)+n}const mm=new Map;function kk(n,e){mm.set(n,e)}function Vk(n){const e=mm.get(n);return mm.delete(n),e}let zk=()=>location.protocol+"//"+location.host;function _T(n,e){const{pathname:t,search:i,hash:r}=e,s=n.indexOf("#");if(s>-1){let a=r.includes(n.slice(s))?n.slice(s).length:1,l=r.slice(a);return l[0]!=="/"&&(l="/"+l),M0(l,"")}return M0(t,n)+i+r}function Hk(n,e,t,i){let r=[],s=[],o=null;const a=({state:h})=>{const d=_T(n,location),p=t.value,_=e.value;let g=0;if(h){if(t.value=d,e.value=h,o&&o===p){o=null;return}g=_?h.position-_.position:0}else i(d);r.forEach(m=>{m(t.value,p,{delta:g,type:Hl.pop,direction:g?g>0?cl.forward:cl.back:cl.unknown})})};function l(){o=t.value}function c(h){r.push(h);const d=()=>{const p=r.indexOf(h);p>-1&&r.splice(p,1)};return s.push(d),d}function u(){const{history:h}=window;h.state&&h.replaceState(_t({},h.state,{scroll:qh()}),"")}function f(){for(const h of s)h();s=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:l,listen:c,destroy:f}}function w0(n,e,t,i=!1,r=!1){return{back:n,current:e,forward:t,replaced:i,position:window.history.length,scroll:r?qh():null}}function Gk(n){const{history:e,location:t}=window,i={value:_T(n,t)},r={value:e.state};r.value||s(i.value,{back:null,current:i.value,forward:null,position:e.length-1,replaced:!0,scroll:null},!0);function s(l,c,u){const f=n.indexOf("#"),h=f>-1?(t.host&&document.querySelector("base")?n:n.slice(f))+l:zk()+n+l;try{e[u?"replaceState":"pushState"](c,"",h),r.value=c}catch(d){console.error(d),t[u?"replace":"assign"](h)}}function o(l,c){const u=_t({},e.state,w0(r.value.back,l,r.value.forward,!0),c,{position:r.value.position});s(l,u,!0),i.value=l}function a(l,c){const u=_t({},r.value,e.state,{forward:l,scroll:qh()});s(u.current,u,!0);const f=_t({},w0(i.value,l,null),{position:u.position+1},c);s(l,f,!1),i.value=l}return{location:i,state:r,push:a,replace:o}}function Wk(n){n=Ok(n);const e=Gk(n),t=Hk(n,e.state,e.location,e.replace);function i(s,o=!0){o||t.pauseListeners(),history.go(s)}const r=_t({location:"",base:n,go:i,createHref:Uk.bind(null,n)},e,t);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>e.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>e.state.value}),r}function Xk(n){return n=location.host?n||location.pathname+location.search:"",n.includes("#")||(n+="#"),Wk(n)}function $k(n){return typeof n=="string"||n&&typeof n=="object"}function vT(n){return typeof n=="string"||typeof n=="symbol"}const yT=Symbol("");var A0;(function(n){n[n.aborted=4]="aborted",n[n.cancelled=8]="cancelled",n[n.duplicated=16]="duplicated"})(A0||(A0={}));function oa(n,e){return _t(new Error,{type:n,[yT]:!0},e)}function ir(n,e){return n instanceof Error&&yT in n&&(e==null||!!(n.type&e))}const C0="[^/]+?",qk={sensitive:!1,strict:!1,start:!0,end:!0},Yk=/[.+*?^${}()[\]/\\]/g;function jk(n,e){const t=_t({},qk,e),i=[];let r=t.start?"^":"";const s=[];for(const c of n){const u=c.length?[]:[90];t.strict&&!c.length&&(r+="/");for(let f=0;f<c.length;f++){const h=c[f];let d=40+(t.sensitive?.25:0);if(h.type===0)f||(r+="/"),r+=h.value.replace(Yk,"\\$&"),d+=40;else if(h.type===1){const{value:p,repeatable:_,optional:g,regexp:m}=h;s.push({name:p,repeatable:_,optional:g});const y=m||C0;if(y!==C0){d+=10;try{new RegExp(`(${y})`)}catch(v){throw new Error(`Invalid custom RegExp for param "${p}" (${y}): `+v.message)}}let x=_?`((?:${y})(?:/(?:${y}))*)`:`(${y})`;f||(x=g&&c.length<2?`(?:/${x})`:"/"+x),g&&(x+="?"),r+=x,d+=20,g&&(d+=-8),_&&(d+=-20),y===".*"&&(d+=-50)}u.push(d)}i.push(u)}if(t.strict&&t.end){const c=i.length-1;i[c][i[c].length-1]+=.7000000000000001}t.strict||(r+="/?"),t.end?r+="$":t.strict&&!r.endsWith("/")&&(r+="(?:/|$)");const o=new RegExp(r,t.sensitive?"":"i");function a(c){const u=c.match(o),f={};if(!u)return null;for(let h=1;h<u.length;h++){const d=u[h]||"",p=s[h-1];f[p.name]=d&&p.repeatable?d.split("/"):d}return f}function l(c){let u="",f=!1;for(const h of n){(!f||!u.endsWith("/"))&&(u+="/"),f=!1;for(const d of h)if(d.type===0)u+=d.value;else if(d.type===1){const{value:p,repeatable:_,optional:g}=d,m=p in c?c[p]:"";if(bi(m)&&!_)throw new Error(`Provided param "${p}" is an array but it is not repeatable (* or + modifiers)`);const y=bi(m)?m.join("/"):m;if(!y)if(g)h.length<2&&(u.endsWith("/")?u=u.slice(0,-1):f=!0);else throw new Error(`Missing required param "${p}"`);u+=y}}return u||"/"}return{re:o,score:i,keys:s,parse:a,stringify:l}}function Kk(n,e){let t=0;for(;t<n.length&&t<e.length;){const i=e[t]-n[t];if(i)return i;t++}return n.length<e.length?n.length===1&&n[0]===80?-1:1:n.length>e.length?e.length===1&&e[0]===80?1:-1:0}function xT(n,e){let t=0;const i=n.score,r=e.score;for(;t<i.length&&t<r.length;){const s=Kk(i[t],r[t]);if(s)return s;t++}if(Math.abs(r.length-i.length)===1){if(R0(i))return 1;if(R0(r))return-1}return r.length-i.length}function R0(n){const e=n[n.length-1];return n.length>0&&e[e.length-1]<0}const Zk={type:0,value:""},Jk=/[a-zA-Z0-9_]/;function Qk(n){if(!n)return[[]];if(n==="/")return[[Zk]];if(!n.startsWith("/"))throw new Error(`Invalid path "${n}"`);function e(d){throw new Error(`ERR (${t})/"${c}": ${d}`)}let t=0,i=t;const r=[];let s;function o(){s&&r.push(s),s=[]}let a=0,l,c="",u="";function f(){c&&(t===0?s.push({type:0,value:c}):t===1||t===2||t===3?(s.length>1&&(l==="*"||l==="+")&&e(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),s.push({type:1,value:c,regexp:u,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):e("Invalid state to consume buffer"),c="")}function h(){c+=l}for(;a<n.length;){if(l=n[a++],l==="\\"&&t!==2){i=t,t=4;continue}switch(t){case 0:l==="/"?(c&&f(),o()):l===":"?(f(),t=1):h();break;case 4:h(),t=i;break;case 1:l==="("?t=2:Jk.test(l)?h():(f(),t=0,l!=="*"&&l!=="?"&&l!=="+"&&a--);break;case 2:l===")"?u[u.length-1]=="\\"?u=u.slice(0,-1)+l:t=3:u+=l;break;case 3:f(),t=0,l!=="*"&&l!=="?"&&l!=="+"&&a--,u="";break;default:e("Unknown state");break}}return t===2&&e(`Unfinished custom RegExp for param "${c}"`),f(),o(),r}function eV(n,e,t){const i=jk(Qk(n.path),t),r=_t(i,{record:n,parent:e,children:[],alias:[]});return e&&!r.record.aliasOf==!e.record.aliasOf&&e.children.push(r),r}function tV(n,e){const t=[],i=new Map;e=D0({strict:!1,end:!0,sensitive:!1},e);function r(f){return i.get(f)}function s(f,h,d){const p=!d,_=I0(f);_.aliasOf=d&&d.record;const g=D0(e,f),m=[_];if("alias"in f){const v=typeof f.alias=="string"?[f.alias]:f.alias;for(const E of v)m.push(I0(_t({},_,{components:d?d.record.components:_.components,path:E,aliasOf:d?d.record:_})))}let y,x;for(const v of m){const{path:E}=v;if(h&&E[0]!=="/"){const T=h.record.path,M=T[T.length-1]==="/"?"":"/";v.path=h.record.path+(E&&M+E)}if(y=eV(v,h,g),d?d.alias.push(y):(x=x||y,x!==y&&x.alias.push(y),p&&f.name&&!L0(y)&&o(f.name)),bT(y)&&l(y),_.children){const T=_.children;for(let M=0;M<T.length;M++)s(T[M],y,d&&d.children[M])}d=d||y}return x?()=>{o(x)}:ll}function o(f){if(vT(f)){const h=i.get(f);h&&(i.delete(f),t.splice(t.indexOf(h),1),h.children.forEach(o),h.alias.forEach(o))}else{const h=t.indexOf(f);h>-1&&(t.splice(h,1),f.record.name&&i.delete(f.record.name),f.children.forEach(o),f.alias.forEach(o))}}function a(){return t}function l(f){const h=rV(f,t);t.splice(h,0,f),f.record.name&&!L0(f)&&i.set(f.record.name,f)}function c(f,h){let d,p={},_,g;if("name"in f&&f.name){if(d=i.get(f.name),!d)throw oa(1,{location:f});g=d.record.name,p=_t(P0(h.params,d.keys.filter(x=>!x.optional).concat(d.parent?d.parent.keys.filter(x=>x.optional):[]).map(x=>x.name)),f.params&&P0(f.params,d.keys.map(x=>x.name))),_=d.stringify(p)}else if(f.path!=null)_=f.path,d=t.find(x=>x.re.test(_)),d&&(p=d.parse(_),g=d.record.name);else{if(d=h.name?i.get(h.name):t.find(x=>x.re.test(h.path)),!d)throw oa(1,{location:f,currentLocation:h});g=d.record.name,p=_t({},h.params,f.params),_=d.stringify(p)}const m=[];let y=d;for(;y;)m.unshift(y.record),y=y.parent;return{name:g,path:_,params:p,matched:m,meta:iV(m)}}n.forEach(f=>s(f));function u(){t.length=0,i.clear()}return{addRoute:s,resolve:c,removeRoute:o,clearRoutes:u,getRoutes:a,getRecordMatcher:r}}function P0(n,e){const t={};for(const i of e)i in n&&(t[i]=n[i]);return t}function I0(n){const e={path:n.path,redirect:n.redirect,name:n.name,meta:n.meta||{},aliasOf:n.aliasOf,beforeEnter:n.beforeEnter,props:nV(n),children:n.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in n?n.components||null:n.component&&{default:n.component}};return Object.defineProperty(e,"mods",{value:{}}),e}function nV(n){const e={},t=n.props||!1;if("component"in n)e.default=t;else for(const i in n.components)e[i]=typeof t=="object"?t[i]:t;return e}function L0(n){for(;n;){if(n.record.aliasOf)return!0;n=n.parent}return!1}function iV(n){return n.reduce((e,t)=>_t(e,t.meta),{})}function D0(n,e){const t={};for(const i in n)t[i]=i in e?e[i]:n[i];return t}function rV(n,e){let t=0,i=e.length;for(;t!==i;){const s=t+i>>1;xT(n,e[s])<0?i=s:t=s+1}const r=sV(n);return r&&(i=e.lastIndexOf(r,i-1)),i}function sV(n){let e=n;for(;e=e.parent;)if(bT(e)&&xT(n,e)===0)return e}function bT({record:n}){return!!(n.name||n.components&&Object.keys(n.components).length||n.redirect)}function oV(n){const e={};if(n===""||n==="?")return e;const i=(n[0]==="?"?n.slice(1):n).split("&");for(let r=0;r<i.length;++r){const s=i[r].replace(hT," "),o=s.indexOf("="),a=zl(o<0?s:s.slice(0,o)),l=o<0?null:zl(s.slice(o+1));if(a in e){let c=e[a];bi(c)||(c=e[a]=[c]),c.push(l)}else e[a]=l}return e}function O0(n){let e="";for(let t in n){const i=n[t];if(t=Tk(t),i==null){i!==void 0&&(e+=(e.length?"&":"")+t);continue}(bi(i)?i.map(s=>s&&pm(s)):[i&&pm(i)]).forEach(s=>{s!==void 0&&(e+=(e.length?"&":"")+t,s!=null&&(e+="="+s))})}return e}function aV(n){const e={};for(const t in n){const i=n[t];i!==void 0&&(e[t]=bi(i)?i.map(r=>r==null?null:""+r):i==null?i:""+i)}return e}const lV=Symbol(""),N0=Symbol(""),o_=Symbol(""),ST=Symbol(""),gm=Symbol("");function Da(){let n=[];function e(i){return n.push(i),()=>{const r=n.indexOf(i);r>-1&&n.splice(r,1)}}function t(){n=[]}return{add:e,list:()=>n.slice(),reset:t}}function zr(n,e,t,i,r,s=o=>o()){const o=i&&(i.enterCallbacks[r]=i.enterCallbacks[r]||[]);return()=>new Promise((a,l)=>{const c=h=>{h===!1?l(oa(4,{from:t,to:e})):h instanceof Error?l(h):$k(h)?l(oa(2,{from:e,to:h})):(o&&i.enterCallbacks[r]===o&&typeof h=="function"&&o.push(h),a())},u=s(()=>n.call(i&&i.instances[r],e,t,c));let f=Promise.resolve(u);n.length<3&&(f=f.then(c)),f.catch(h=>l(h))})}function pp(n,e,t,i,r=s=>s()){const s=[];for(const o of n)for(const a in o.components){let l=o.components[a];if(!(e!=="beforeRouteEnter"&&!o.instances[a]))if(uT(l)){const u=(l.__vccOpts||l)[e];u&&s.push(zr(u,t,i,o,a,r))}else{let c=l();s.push(()=>c.then(u=>{if(!u)throw new Error(`Couldn't resolve component "${a}" at "${o.path}"`);const f=pk(u)?u.default:u;o.mods[a]=u,o.components[a]=f;const d=(f.__vccOpts||f)[e];return d&&zr(d,t,i,o,a,r)()}))}}return s}function U0(n){const e=kn(o_),t=kn(ST),i=ke(()=>{const l=Ut(n.to);return e.resolve(l)}),r=ke(()=>{const{matched:l}=i.value,{length:c}=l,u=l[c-1],f=t.matched;if(!u||!f.length)return-1;const h=f.findIndex(sa.bind(null,u));if(h>-1)return h;const d=F0(l[c-2]);return c>1&&F0(u)===d&&f[f.length-1].path!==d?f.findIndex(sa.bind(null,l[c-2])):h}),s=ke(()=>r.value>-1&&dV(t.params,i.value.params)),o=ke(()=>r.value>-1&&r.value===t.matched.length-1&&gT(t.params,i.value.params));function a(l={}){if(hV(l)){const c=e[Ut(n.replace)?"replace":"push"](Ut(n.to)).catch(ll);return n.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>c),c}return Promise.resolve()}return{route:i,href:ke(()=>i.value.href),isActive:s,isExactActive:o,navigate:a}}function cV(n){return n.length===1?n[0]:n}const uV=Vi({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"}},useLink:U0,setup(n,{slots:e}){const t=oi(U0(n)),{options:i}=kn(o_),r=ke(()=>({[B0(n.activeClass,i.linkActiveClass,"router-link-active")]:t.isActive,[B0(n.exactActiveClass,i.linkExactActiveClass,"router-link-exact-active")]:t.isExactActive}));return()=>{const s=e.default&&cV(e.default(t));return n.custom?s:vr("a",{"aria-current":t.isExactActive?n.ariaCurrentValue:null,href:t.href,onClick:t.navigate,class:r.value},s)}}}),fV=uV;function hV(n){if(!(n.metaKey||n.altKey||n.ctrlKey||n.shiftKey)&&!n.defaultPrevented&&!(n.button!==void 0&&n.button!==0)){if(n.currentTarget&&n.currentTarget.getAttribute){const e=n.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(e))return}return n.preventDefault&&n.preventDefault(),!0}}function dV(n,e){for(const t in e){const i=e[t],r=n[t];if(typeof i=="string"){if(i!==r)return!1}else if(!bi(r)||r.length!==i.length||i.some((s,o)=>s!==r[o]))return!1}return!0}function F0(n){return n?n.aliasOf?n.aliasOf.path:n.path:""}const B0=(n,e,t)=>n??e??t,pV=Vi({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(n,{attrs:e,slots:t}){const i=kn(gm),r=ke(()=>n.route||i.value),s=kn(N0,0),o=ke(()=>{let c=Ut(s);const{matched:u}=r.value;let f;for(;(f=u[c])&&!f.components;)c++;return c}),a=ke(()=>r.value.matched[o.value]);$r(N0,ke(()=>o.value+1)),$r(lV,a),$r(gm,r);const l=Pe();return it(()=>[l.value,a.value,n.name],([c,u,f],[h,d,p])=>{u&&(u.instances[f]=c,d&&d!==u&&c&&c===h&&(u.leaveGuards.size||(u.leaveGuards=d.leaveGuards),u.updateGuards.size||(u.updateGuards=d.updateGuards))),c&&u&&(!d||!sa(u,d)||!h)&&(u.enterCallbacks[f]||[]).forEach(_=>_(c))},{flush:"post"}),()=>{const c=r.value,u=n.name,f=a.value,h=f&&f.components[u];if(!h)return k0(t.default,{Component:h,route:c});const d=f.props[u],p=d?d===!0?c.params:typeof d=="function"?d(c):d:null,g=vr(h,_t({},p,e,{onVnodeUnmounted:m=>{m.component.isUnmounted&&(f.instances[u]=null)},ref:l}));return k0(t.default,{Component:g,route:c})||g}}});function k0(n,e){if(!n)return null;const t=n(e);return t.length===1?t[0]:t}const MT=pV;function mV(n){const e=tV(n.routes,n),t=n.parseQuery||oV,i=n.stringifyQuery||O0,r=n.history,s=Da(),o=Da(),a=Da(),l=fn(Or);let c=Or;No&&n.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=hp.bind(null,W=>""+W),f=hp.bind(null,Ak),h=hp.bind(null,zl);function d(W,ae){let ue,le;return vT(W)?(ue=e.getRecordMatcher(W),le=ae):le=W,e.addRoute(le,ue)}function p(W){const ae=e.getRecordMatcher(W);ae&&e.removeRoute(ae)}function _(){return e.getRoutes().map(W=>W.record)}function g(W){return!!e.getRecordMatcher(W)}function m(W,ae){if(ae=_t({},ae||l.value),typeof W=="string"){const w=dp(t,W,ae.path),j=e.resolve({path:w.path},ae),G=r.createHref(w.fullPath);return _t(w,j,{params:h(j.params),hash:zl(w.hash),redirectedFrom:void 0,href:G})}let ue;if(W.path!=null)ue=_t({},W,{path:dp(t,W.path,ae.path).path});else{const w=_t({},W.params);for(const j in w)w[j]==null&&delete w[j];ue=_t({},W,{params:f(w)}),ae.params=f(ae.params)}const le=e.resolve(ue,ae),De=W.hash||"";le.params=u(h(le.params));const I=Pk(i,_t({},W,{hash:Ek(De),path:le.path})),L=r.createHref(I);return _t({fullPath:I,hash:De,query:i===O0?aV(W.query):W.query||{}},le,{redirectedFrom:void 0,href:L})}function y(W){return typeof W=="string"?dp(t,W,l.value.path):_t({},W)}function x(W,ae){if(c!==W)return oa(8,{from:ae,to:W})}function v(W){return M(W)}function E(W){return v(_t(y(W),{replace:!0}))}function T(W){const ae=W.matched[W.matched.length-1];if(ae&&ae.redirect){const{redirect:ue}=ae;let le=typeof ue=="function"?ue(W):ue;return typeof le=="string"&&(le=le.includes("?")||le.includes("#")?le=y(le):{path:le},le.params={}),_t({query:W.query,hash:W.hash,params:le.path!=null?{}:W.params},le)}}function M(W,ae){const ue=c=m(W),le=l.value,De=W.state,I=W.force,L=W.replace===!0,w=T(ue);if(w)return M(_t(y(w),{state:typeof w=="object"?_t({},De,w.state):De,force:I,replace:L}),ae||ue);const j=ue;j.redirectedFrom=ae;let G;return!I&&Ik(i,le,ue)&&(G=oa(16,{to:j,from:le}),re(le,le,!0,!1)),(G?Promise.resolve(G):S(j,le)).catch(q=>ir(q)?ir(q,2)?q:ve(q):Q(q,j,le)).then(q=>{if(q){if(ir(q,2))return M(_t({replace:L},y(q.to),{state:typeof q.to=="object"?_t({},De,q.to.state):De,force:I}),ae||j)}else q=F(j,le,!0,L,De);return D(j,le,q),q})}function P(W,ae){const ue=x(W,ae);return ue?Promise.reject(ue):Promise.resolve()}function b(W){const ae=se.values().next().value;return ae&&typeof ae.runWithContext=="function"?ae.runWithContext(W):W()}function S(W,ae){let ue;const[le,De,I]=gV(W,ae);ue=pp(le.reverse(),"beforeRouteLeave",W,ae);for(const w of le)w.leaveGuards.forEach(j=>{ue.push(zr(j,W,ae))});const L=P.bind(null,W,ae);return ue.push(L),be(ue).then(()=>{ue=[];for(const w of s.list())ue.push(zr(w,W,ae));return ue.push(L),be(ue)}).then(()=>{ue=pp(De,"beforeRouteUpdate",W,ae);for(const w of De)w.updateGuards.forEach(j=>{ue.push(zr(j,W,ae))});return ue.push(L),be(ue)}).then(()=>{ue=[];for(const w of I)if(w.beforeEnter)if(bi(w.beforeEnter))for(const j of w.beforeEnter)ue.push(zr(j,W,ae));else ue.push(zr(w.beforeEnter,W,ae));return ue.push(L),be(ue)}).then(()=>(W.matched.forEach(w=>w.enterCallbacks={}),ue=pp(I,"beforeRouteEnter",W,ae,b),ue.push(L),be(ue))).then(()=>{ue=[];for(const w of o.list())ue.push(zr(w,W,ae));return ue.push(L),be(ue)}).catch(w=>ir(w,8)?w:Promise.reject(w))}function D(W,ae,ue){a.list().forEach(le=>b(()=>le(W,ae,ue)))}function F(W,ae,ue,le,De){const I=x(W,ae);if(I)return I;const L=ae===Or,w=No?history.state:{};ue&&(le||L?r.replace(W.fullPath,_t({scroll:L&&w&&w.scroll},De)):r.push(W.fullPath,De)),l.value=W,re(W,ae,ue,L),ve()}let H;function $(){H||(H=r.listen((W,ae,ue)=>{if(!ge.listening)return;const le=m(W),De=T(le);if(De){M(_t(De,{replace:!0,force:!0}),le).catch(ll);return}c=le;const I=l.value;No&&kk(T0(I.fullPath,ue.delta),qh()),S(le,I).catch(L=>ir(L,12)?L:ir(L,2)?(M(_t(y(L.to),{force:!0}),le).then(w=>{ir(w,20)&&!ue.delta&&ue.type===Hl.pop&&r.go(-1,!1)}).catch(ll),Promise.reject()):(ue.delta&&r.go(-ue.delta,!1),Q(L,le,I))).then(L=>{L=L||F(le,I,!1),L&&(ue.delta&&!ir(L,8)?r.go(-ue.delta,!1):ue.type===Hl.pop&&ir(L,20)&&r.go(-1,!1)),D(le,I,L)}).catch(ll)}))}let ee=Da(),Z=Da(),te;function Q(W,ae,ue){ve(W);const le=Z.list();return le.length?le.forEach(De=>De(W,ae,ue)):console.error(W),Promise.reject(W)}function pe(){return te&&l.value!==Or?Promise.resolve():new Promise((W,ae)=>{ee.add([W,ae])})}function ve(W){return te||(te=!W,$(),ee.list().forEach(([ae,ue])=>W?ue(W):ae()),ee.reset()),W}function re(W,ae,ue,le){const{scrollBehavior:De}=n;if(!No||!De)return Promise.resolve();const I=!ue&&Vk(T0(W.fullPath,0))||(le||!ue)&&history.state&&history.state.scroll||null;return ro().then(()=>De(W,ae,I)).then(L=>L&&Bk(L)).catch(L=>Q(L,W,ae))}const xe=W=>r.go(W);let ze;const se=new Set,ge={currentRoute:l,listening:!0,addRoute:d,removeRoute:p,clearRoutes:e.clearRoutes,hasRoute:g,getRoutes:_,resolve:m,options:n,push:v,replace:E,go:xe,back:()=>xe(-1),forward:()=>xe(1),beforeEach:s.add,beforeResolve:o.add,afterEach:a.add,onError:Z.add,isReady:pe,install(W){const ae=this;W.component("RouterLink",fV),W.component("RouterView",MT),W.config.globalProperties.$router=ae,Object.defineProperty(W.config.globalProperties,"$route",{enumerable:!0,get:()=>Ut(l)}),No&&!ze&&l.value===Or&&(ze=!0,v(r.location).catch(De=>{}));const ue={};for(const De in Or)Object.defineProperty(ue,De,{get:()=>l.value[De],enumerable:!0});W.provide(o_,ae),W.provide(ST,zx(ue)),W.provide(gm,l);const le=W.unmount;se.add(W),W.unmount=function(){se.delete(W),se.size<1&&(c=Or,H&&H(),H=null,l.value=Or,ze=!1,te=!1),le()}}};function be(W){return W.reduce((ae,ue)=>ae.then(()=>b(ue)),Promise.resolve())}return ge}function gV(n,e){const t=[],i=[],r=[],s=Math.max(e.matched.length,n.matched.length);for(let o=0;o<s;o++){const a=e.matched[o];a&&(n.matched.find(c=>sa(c,a))?i.push(a):t.push(a));const l=n.matched[o];l&&(e.matched.find(c=>sa(c,l))||r.push(l))}return[t,i,r]}const _V=[{path:"/",name:"/",component:()=>Ri(()=>import("./index-uL9EtCRr.js"),__vite__mapDeps([0,1,2,3,4,5])),meta:{layout:"default"}},{path:"/:all(.*)",name:"/[...all]",component:()=>Ri(()=>import("./_...all_-CHlSqrFC.js"),__vite__mapDeps([6,4]))},{path:"/audio",name:"/audio",component:()=>Ri(()=>import("./audio-DG_K4eLc.js"),[])},{path:"/devtools",children:[{path:"image",name:"/devtools/image",component:()=>Ri(()=>import("./image-Db88_eF2.js"),__vite__mapDeps([7,4,8]))}]},{path:"/queue",name:"/queue",component:()=>Ri(()=>import("./queue-DZ9kNEd1.js"),__vite__mapDeps([9,2]))},{path:"/test",children:[{path:"filter-message",name:"/test/filter-message",component:()=>Ri(()=>import("./filter-message-CR5GQYL5.js"),[])},{path:"queues",children:[{path:"delays",name:"/test/queues/delays",component:()=>Ri(()=>import("./delays-D1zKLZX4.js"),__vite__mapDeps([10,1,2,3]))},{path:"emotions",name:"/test/queues/emotions",component:()=>Ri(()=>import("./emotions-DBCjUQ8l.js"),__vite__mapDeps([11,1,2]))},{path:"messages",name:"/test/queues/messages",component:()=>Ri(()=>import("./messages-qnY1qKjD.js"),__vite__mapDeps([12,1,2]))}]}]}];var _m=(n=>(n.Myriam="Myriam",n.Beatrice="Beatrice",n.Camilla_KM="Camilla_KM",n.SallySunshine="Sally Sunshine",n.Annie="Annie",n.KawaiiAerisita="Kawaii Aerisita",n.Morioki="Morioki",n))(_m||{});const o4={Myriam:"lNxY9WuCBCZCISASyJ55",Beatrice:"KAsXoQDshjF6ehsWa1mF",Camilla_KM:"dLhSyo03JRp5WkGpUlz1","Sally Sunshine":"qswttdunP3b44zVZKMRB",Annie:"AfA1PA0ldViH0DA6pbml","Kawaii Aerisita":"vGQNBgLaiM3EdZtxIiuY",Morioki:"8EkOjt4xTPGMclNlh1pk"},V0=["Myriam","Beatrice","Camilla_KM","Sally Sunshine","Annie","Kawaii Aerisita"],z0=["Morioki"],a4={en:V0,"en-US":V0,ja:z0,"ja-JP":z0},vV=fk("settings",()=>{const n=Pe(),e=nr("settings/language","en-US"),t=nr("settings/stage/view/model-renderer","2d"),i=nr("settings/credentials/openai-api-key",""),r=nr("settings/credentials/openai-api-base-url",""),s=nr("settings/credentials/elevenlabs-api-key",""),o=nr("settings/llm/openai/model",{id:"openai/gpt-3.5-turbo",name:"OpenAI GPT3.5 Turbo"}),a=nr("settings/audio/input","true"),l=ke(()=>{var h;return(h=n.value)==null?void 0:h.deviceId}),{audioInputs:c}=T2({constraints:{audio:!0},requestPermissions:!0}),u=nr("settings/llm/elevenlabs/voice/en",_m.Myriam),f=nr("settings/llm/elevenlabs/voice/ja",_m.Morioki);return it(a,h=>{h==="false"&&(n.value=void 0),h==="true"&&(n.value=c.value[0])}),ns(()=>{a.value==="true"&&!n.value&&(n.value=c.value[0])}),it(c,()=>{a.value==="true"&&!n.value&&(n.value=c.value[0])}),{openAiApiKey:i,openAiApiBaseURL:r,openAiModel:o,elevenLabsApiKey:s,language:e,stageView:t,isAudioInputOn:a,selectedAudioDevice:n,selectedAudioDeviceId:l,elevenlabsVoiceEnglish:u,elevenlabsVoiceJapanese:f}});/*!
3854
  * shared v11.1.0
3855
  * (c) 2025 kazuya kawaguchi
3856
  * Released under the MIT License.
assets/{index-DTsA1hlv.css → index-CwGGpTrg.css} RENAMED
@@ -1 +1 @@
1
- .animate-stripe[data-v-d7607d9e]{background-image:repeating-linear-gradient(-45deg,#f472b6,#f472b6 25px,#f9a8d4 25px,#f9a8d4 50px);animation:progress-d7607d9e 2s linear infinite;background-size:150% 100%}@-webkit-keyframes progress-d7607d9e{0%{background-position:0 0}to{background-position:-75px 0px}}@-moz-keyframes progress-d7607d9e{0%{background-position:0 0}to{background-position:-75px 0px}}@-ms-keyframes progress-d7607d9e{0%{background-position:0 0}to{background-position:-75px 0px}}@keyframes progress-d7607d9e{0%{background-position:0 0}to{background-position:-70px 0px}}.cross-background-container[data-v-ff7347db]{background-color:#fff;background:radial-gradient(circle,transparent 20%,#ffffff 20%,#ffffff 80%,transparent 80%,transparent),radial-gradient(circle,transparent 20%,#ffffff 20%,#ffffff 80%,transparent 80%,transparent) 25px 25px,linear-gradient(#f4ebf1 2px,transparent 2px) 0 -1px,linear-gradient(90deg,#f4ebf1 2px,#fff 2px) -1px 0;background-size:50px 50px,50px 50px,25px 25px,25px 25px}.dark .cross-background-container[data-v-ff7347db]{background-color:#121212;background:radial-gradient(circle,transparent 20%,#121212 20%,#121212 80%,transparent 80%,transparent),radial-gradient(circle,transparent 20%,#121212 20%,#121212 80%,transparent 80%,transparent) 25px 25px,linear-gradient(#312129 2px,transparent 2px) 0 -1px,linear-gradient(90deg,#312129 2px,#121212 2px) -1px 0;background-size:50px 50px,50px 50px,25px 25px,25px 25px}.animate-stripe[data-v-f0ce09b3]{background-image:repeating-linear-gradient(-45deg,#a16207,#a16207 25px,#eab308 25px,#eab308 50px);background-size:175% 100%}.animate-stripe[data-v-f0ce09b3]:hover{animation:progress-f0ce09b3 2s linear infinite}@-webkit-keyframes progress-f0ce09b3{0%{background-position:0 0}to{background-position:-75px 0px}}@-moz-keyframes progress-f0ce09b3{0%{background-position:0 0}to{background-position:-75px 0px}}@-ms-keyframes progress-f0ce09b3{0%{background-position:0 0}to{background-position:-75px 0px}}@keyframes progress-f0ce09b3{0%{background-position:0 0}to{background-position:-70px 0px}}
 
1
+ .animate-stripe[data-v-d7607d9e]{background-image:repeating-linear-gradient(-45deg,#f472b6,#f472b6 25px,#f9a8d4 25px,#f9a8d4 50px);animation:progress-d7607d9e 2s linear infinite;background-size:150% 100%}@-webkit-keyframes progress-d7607d9e{0%{background-position:0 0}to{background-position:-75px 0px}}@-moz-keyframes progress-d7607d9e{0%{background-position:0 0}to{background-position:-75px 0px}}@-ms-keyframes progress-d7607d9e{0%{background-position:0 0}to{background-position:-75px 0px}}@keyframes progress-d7607d9e{0%{background-position:0 0}to{background-position:-70px 0px}}.cross-background-container[data-v-ff7347db]{background-color:#fff;background:radial-gradient(circle,transparent 20%,#ffffff 20%,#ffffff 80%,transparent 80%,transparent),radial-gradient(circle,transparent 20%,#ffffff 20%,#ffffff 80%,transparent 80%,transparent) 25px 25px,linear-gradient(#f4ebf1 2px,transparent 2px) 0 -1px,linear-gradient(90deg,#f4ebf1 2px,#fff 2px) -1px 0;background-size:50px 50px,50px 50px,25px 25px,25px 25px}.dark .cross-background-container[data-v-ff7347db]{background-color:#121212;background:radial-gradient(circle,transparent 20%,#121212 20%,#121212 80%,transparent 80%,transparent),radial-gradient(circle,transparent 20%,#121212 20%,#121212 80%,transparent 80%,transparent) 25px 25px,linear-gradient(#312129 2px,transparent 2px) 0 -1px,linear-gradient(90deg,#312129 2px,#121212 2px) -1px 0;background-size:50px 50px,50px 50px,25px 25px,25px 25px}.animate-stripe[data-v-1e87e6ee]{background-image:repeating-linear-gradient(-45deg,#a16207,#a16207 25px,#eab308 25px,#eab308 50px);background-size:175% 100%}.animate-stripe[data-v-1e87e6ee]:hover{animation:progress-1e87e6ee 2s linear infinite}@-webkit-keyframes progress-1e87e6ee{0%{background-position:0 0}to{background-position:-75px 0px}}@-moz-keyframes progress-1e87e6ee{0%{background-position:0 0}to{background-position:-75px 0px}}@-ms-keyframes progress-1e87e6ee{0%{background-position:0 0}to{background-position:-75px 0px}}@keyframes progress-1e87e6ee{0%{background-position:0 0}to{background-position:-70px 0px}}
assets/{index-Cv4Zshkj.js → index-uL9EtCRr.js} RENAMED
The diff for this file is too large to render. See raw diff
 
assets/{messages-D8t9SaEY.js → messages-qnY1qKjD.js} RENAMED
@@ -1 +1 @@
1
- import{u as m,_ as g,l as _}from"./queues-BE_d_S5r.js";import{u as v}from"./queue-DznLIPR5.js";import{d as b,h as t,o as l,c as u,z as e,a as x,D as c,bz as z,bA as h}from"./index-Dq5Soe4V.js";const k={flex:"","flex-col":"","gap-2":"","p-2":""},w={flex:"","flex-row":"","gap-2":""},S={"rounded-lg":"",bg:"zinc-100 dark:zinc-700","p-4":""},V={"w-full":"",flex:"","flex-row":"","gap-4":""},y={"w-full":"","rounded-lg":"",bg:"zinc-100 dark:zinc-700","p-2":""},T=b({__name:"messages",setup(M){const s=t(""),d=t([]),a=t(!1),f=v({handlers:[async i=>{d.value.push(i.data)}]}),r=m(f);async function p(){a.value=!0,r.add(s.value),r.add(_),s.value="",a.value=!1}return(i,n)=>(l(),u("div",k,[e("div",w,[x(g,{modelValue:s.value,"onUpdate:modelValue":n[0]||(n[0]=o=>s.value=o),placeholder:"Message",p:"2",bg:"zinc-100 dark:zinc-700","w-full":"","rounded-lg":"","outline-none":"",onSubmit:p},null,8,["modelValue"]),e("button",S,c(a.value?"Processing...":"Send"),1)]),e("div",V,[e("div",y,[n[1]||(n[1]=e("h3",{"font-semibold":""}," TTS Message ",-1)),(l(!0),u(z,null,h(d.value,o=>(l(),u("div",{key:o},[e("div",null,c(o),1)]))),128))])])]))}});export{T as default};
 
1
+ import{u as m,_ as g,l as _}from"./queues-CsN4-ClH.js";import{u as v}from"./queue-CeT6u4ef.js";import{d as b,h as t,o as l,c as u,z as e,a as x,D as c,bz as z,bA as h}from"./index-CDOcJgli.js";const k={flex:"","flex-col":"","gap-2":"","p-2":""},w={flex:"","flex-row":"","gap-2":""},S={"rounded-lg":"",bg:"zinc-100 dark:zinc-700","p-4":""},V={"w-full":"",flex:"","flex-row":"","gap-4":""},y={"w-full":"","rounded-lg":"",bg:"zinc-100 dark:zinc-700","p-2":""},T=b({__name:"messages",setup(M){const s=t(""),d=t([]),a=t(!1),f=v({handlers:[async i=>{d.value.push(i.data)}]}),r=m(f);async function p(){a.value=!0,r.add(s.value),r.add(_),s.value="",a.value=!1}return(i,n)=>(l(),u("div",k,[e("div",w,[x(g,{modelValue:s.value,"onUpdate:modelValue":n[0]||(n[0]=o=>s.value=o),placeholder:"Message",p:"2",bg:"zinc-100 dark:zinc-700","w-full":"","rounded-lg":"","outline-none":"",onSubmit:p},null,8,["modelValue"]),e("button",S,c(a.value?"Processing...":"Send"),1)]),e("div",V,[e("div",y,[n[1]||(n[1]=e("h3",{"font-semibold":""}," TTS Message ",-1)),(l(!0),u(z,null,h(d.value,o=>(l(),u("div",{key:o},[e("div",null,c(o),1)]))),128))])])]))}});export{T as default};
assets/{queue-DznLIPR5.js → queue-CeT6u4ef.js} RENAMED
@@ -1 +1 @@
1
- import{h as l}from"./index-Dq5Soe4V.js";function m(f){const t=l([]),a=l(!1),d={add:[],pick:[],processing:[],error:[],processed:[],done:[]},s={};function c(n,e){d[n].push(e)}function r(n,...e){d[n].forEach(i=>{i(...e)})}function h(n,e){s[n]=s[n]||[],s[n].push(e)}function p(n,...e){(s[n]||[]).forEach(i=>{i(...e)})}async function v(n){t.value.push(n),r("add",n)}function E(){const n=t.value.shift();if(n)return r("pick",n),n}async function u(){if(a.value)return;const n=E();if(n){a.value=!0;for(const e of f.handlers){r("processing",n,e);try{const o=await e({data:n,itemsToBeProcessed:()=>t.value.length,emit:p});r("processed",n,o,e)}catch(o){r("error",n,o,e);continue}}a.value=!1,r("done",n),t.value.length>0&&u()}}return c("add",u),c("done",u),{add:v,on:c,onHandlerEvent:h,queue:t}}export{m as u};
 
1
+ import{h as l}from"./index-CDOcJgli.js";function m(f){const t=l([]),a=l(!1),d={add:[],pick:[],processing:[],error:[],processed:[],done:[]},s={};function c(n,e){d[n].push(e)}function r(n,...e){d[n].forEach(i=>{i(...e)})}function h(n,e){s[n]=s[n]||[],s[n].push(e)}function p(n,...e){(s[n]||[]).forEach(i=>{i(...e)})}async function v(n){t.value.push(n),r("add",n)}function E(){const n=t.value.shift();if(n)return r("pick",n),n}async function u(){if(a.value)return;const n=E();if(n){a.value=!0;for(const e of f.handlers){r("processing",n,e);try{const o=await e({data:n,itemsToBeProcessed:()=>t.value.length,emit:p});r("processed",n,o,e)}catch(o){r("error",n,o,e);continue}}a.value=!1,r("done",n),t.value.length>0&&u()}}return c("add",u),c("done",u),{add:v,on:c,onHandlerEvent:h,queue:t}}export{m as u};
assets/{queue-BvLLvp7w.js → queue-DZ9kNEd1.js} RENAMED
@@ -1 +1 @@
1
- import{u as o}from"./queue-DznLIPR5.js";import{d as v,h,p as k,o as w,c as g,z as I}from"./index-Dq5Soe4V.js";const Q=v({__name:"queue",setup(P){function i(e){return new Promise(a=>setTimeout(a,e))}const n=h(""),d=o({handlers:[async e=>{console.log("ready to play speech audio for",e)}]}),u=o({handlers:[async e=>{console.log("ready to stream speech audio for",e),d.add(e.data)}]}),c=o({handlers:[async e=>{const a=[".","?","!"];let s=!1;for(const t of a){if(!e.data.includes(t))continue;const r=e.data.indexOf(t),p=e.data.slice(0,r+1),y=e.data.slice(r+1);n.value+=p,u.add(n.value.trim()),n.value=y,s=!0}s||(n.value+=e.data)}]}),l=["Hello"," N","eko","! I"," am"," an"," AI"," assistant"," trained"," to"," help"," with"," a"," variety"," of"," tasks"," such"," as"," answering"," questions",","," providing"," information",","," giving"," recommendations",","," and"," more",". How"," can"," I"," assist"," you"," today","?","Hello"," N","eko",","," I"," am"," an"," AI"," assistant","."," I"," can"," help"," answer"," questions",","," provide"," information",","," assist"," with"," tasks",","," and"," engage"," in"," conversation","."," How"," can"," I"," assist"," you"," today","?"];async function f(){for(const e of l)await i(100),c.add(e)}async function m(){f()}return k(()=>{m()}),(e,a)=>(w(),g("div",null,a[0]||(a[0]=[I("div",null,null,-1)])))}});export{Q as default};
 
1
+ import{u as o}from"./queue-CeT6u4ef.js";import{d as v,h,p as k,o as w,c as g,z as I}from"./index-CDOcJgli.js";const Q=v({__name:"queue",setup(P){function i(e){return new Promise(a=>setTimeout(a,e))}const n=h(""),d=o({handlers:[async e=>{console.log("ready to play speech audio for",e)}]}),u=o({handlers:[async e=>{console.log("ready to stream speech audio for",e),d.add(e.data)}]}),c=o({handlers:[async e=>{const a=[".","?","!"];let s=!1;for(const t of a){if(!e.data.includes(t))continue;const r=e.data.indexOf(t),p=e.data.slice(0,r+1),y=e.data.slice(r+1);n.value+=p,u.add(n.value.trim()),n.value=y,s=!0}s||(n.value+=e.data)}]}),l=["Hello"," N","eko","! I"," am"," an"," AI"," assistant"," trained"," to"," help"," with"," a"," variety"," of"," tasks"," such"," as"," answering"," questions",","," providing"," information",","," giving"," recommendations",","," and"," more",". How"," can"," I"," assist"," you"," today","?","Hello"," N","eko",","," I"," am"," an"," AI"," assistant","."," I"," can"," help"," answer"," questions",","," provide"," information",","," assist"," with"," tasks",","," and"," engage"," in"," conversation","."," How"," can"," I"," assist"," you"," today","?"];async function f(){for(const e of l)await i(100),c.add(e)}async function m(){f()}return k(()=>{m()}),(e,a)=>(w(),g("div",null,a[0]||(a[0]=[I("div",null,null,-1)])))}});export{Q as default};
assets/{queues-BE_d_S5r.js → queues-CsN4-ClH.js} RENAMED
@@ -1,2 +1,2 @@
1
- import{d as p,aM as v,aN as _,h as d,p as O,B as y,bx as h,o as g,c as N,n as k,bI as A}from"./index-Dq5Soe4V.js";import{u as c}from"./queue-DznLIPR5.js";const Y=p({__name:"BasicTextarea",props:{modelValue:{default:""},modelModifiers:{}},emits:v(["submit"],["update:modelValue"]),setup(n,{emit:o}){const t=o,a=_(n,"modelValue"),e=d(),i=d({height:"auto",overflowY:"hidden"});function l(s){s.target instanceof HTMLTextAreaElement&&(s.target.style.height="auto",s.target.style.height=`${s.target.scrollHeight}px`)}function M(s){var r,u;if(s.target instanceof HTMLTextAreaElement)if(s.code==="Enter"&&s.shiftKey){s.preventDefault();const E=(r=s.target)==null?void 0:r.selectionStart,T=(u=s.target)==null?void 0:u.selectionEnd;a.value=`${a.value.substring(0,E)}
2
  ${a.value.substring(T)}`,i.value.height="0",A().then(()=>{e.value&&(e.value.selectionStart=e.value.selectionEnd=E+1,i.value.height=`${e.value.scrollHeight}px`)})}else s.code==="Enter"&&(s.preventDefault(),t("submit",a.value))}return O(()=>{e.value&&(i.value.height=`${e.value.scrollHeight}px`)}),(s,r)=>y((g(),N("textarea",{ref_key:"textareaRef",ref:e,"onUpdate:modelValue":r[0]||(r[0]=u=>a.value=u),style:k(i.value),onInput:l,onKeydown:M},null,36)),[[h,a.value]])}});var m=(n=>(n.Happy="<|EMOTE_HAPPY|>",n.Sad="<|EMOTE_SAD|>",n.Angry="<|EMOTE_ANGRY|>",n.Think="<|EMOTE_THINK|>",n.Surprise="<|EMOTE_SURPRISE|>",n.Awkward="<|EMOTE_AWKWARD|>",n.Question="<|EMOTE_QUESTION|>",n))(m||{});const f=Object.values(m),S="Tap",w="EmotionSad",D="Tap@Body",I="FlickDown",R="Flick",x="Flick",H="Flick@Body",U={"<|EMOTE_HAPPY|>":S,"<|EMOTE_SAD|>":w,"<|EMOTE_ANGRY|>":D,"<|EMOTE_THINK|>":R,"<|EMOTE_SURPRISE|>":x,"<|EMOTE_AWKWARD|>":I,"<|EMOTE_QUESTION|>":H},Q={"<|EMOTE_HAPPY|>":"happy","<|EMOTE_SAD|>":"sad","<|EMOTE_ANGRY|>":"angry","<|EMOTE_THINK|>":void 0,"<|EMOTE_SURPRISE|>":"surprised","<|EMOTE_AWKWARD|>":void 0,"<|EMOTE_QUESTION|>":void 0},b="<|llm_inference_end|>";function B(n){function o(t){for(const a of f)if(t.includes(a))return{ok:!0,emotion:a};return{ok:!1,emotion:""}}return c({handlers:[async t=>{if(f.includes(t.data)){t.emit("emotion",t.data),await n.add(t.data);return}{const{ok:a,emotion:e}=o(t.data);a&&(t.emit("emotion",e),await n.add(e))}}]})}function V(){function n(t){if(!/<\|DELAY:\d+\|>/i.test(t))return{ok:!1,delay:0};const a=/<\|DELAY:(\d+)\|>/i.exec(t),e=a==null?void 0:a[1];if(!e)return{ok:!1,delay:0};const i=Number.parseFloat(e);return i<=0||Number.isNaN(i)?{ok:!0,delay:0}:{ok:!0,delay:i}}function o(t){return new Promise(a=>setTimeout(a,t))}return c({handlers:[async t=>{const{ok:a,delay:e}=n(t.data);a&&(t.emit("delay",e),await o(e*1e3))}]})}function W(n){const o=d("");return c({handlers:[async t=>{if(t.data===b){const e=o.value.trim();e&&await n.add(e),o.value="";return}const a=/[.?!]/;for(o.value+=t.data;o.value;){const e=a.exec(o.value);if(!e||typeof e.index>"u")break;const i=o.value.slice(0,e.index+1),l=o.value.slice(e.index+1);await n.add(i),o.value=l}}]})}export{x as E,Y as _,w as a,D as b,S as c,I as d,H as e,R as f,f as g,B as h,V as i,Q as j,U as k,b as l,W as u};
 
1
+ import{d as p,aM as v,aN as _,h as d,p as O,B as y,bx as h,o as g,c as N,n as k,bI as A}from"./index-CDOcJgli.js";import{u as c}from"./queue-CeT6u4ef.js";const Y=p({__name:"BasicTextarea",props:{modelValue:{default:""},modelModifiers:{}},emits:v(["submit"],["update:modelValue"]),setup(n,{emit:o}){const t=o,a=_(n,"modelValue"),e=d(),i=d({height:"auto",overflowY:"hidden"});function l(s){s.target instanceof HTMLTextAreaElement&&(s.target.style.height="auto",s.target.style.height=`${s.target.scrollHeight}px`)}function M(s){var r,u;if(s.target instanceof HTMLTextAreaElement)if(s.code==="Enter"&&s.shiftKey){s.preventDefault();const E=(r=s.target)==null?void 0:r.selectionStart,T=(u=s.target)==null?void 0:u.selectionEnd;a.value=`${a.value.substring(0,E)}
2
  ${a.value.substring(T)}`,i.value.height="0",A().then(()=>{e.value&&(e.value.selectionStart=e.value.selectionEnd=E+1,i.value.height=`${e.value.scrollHeight}px`)})}else s.code==="Enter"&&(s.preventDefault(),t("submit",a.value))}return O(()=>{e.value&&(i.value.height=`${e.value.scrollHeight}px`)}),(s,r)=>y((g(),N("textarea",{ref_key:"textareaRef",ref:e,"onUpdate:modelValue":r[0]||(r[0]=u=>a.value=u),style:k(i.value),onInput:l,onKeydown:M},null,36)),[[h,a.value]])}});var m=(n=>(n.Happy="<|EMOTE_HAPPY|>",n.Sad="<|EMOTE_SAD|>",n.Angry="<|EMOTE_ANGRY|>",n.Think="<|EMOTE_THINK|>",n.Surprise="<|EMOTE_SURPRISE|>",n.Awkward="<|EMOTE_AWKWARD|>",n.Question="<|EMOTE_QUESTION|>",n))(m||{});const f=Object.values(m),S="Tap",w="EmotionSad",D="Tap@Body",I="FlickDown",R="Flick",x="Flick",H="Flick@Body",U={"<|EMOTE_HAPPY|>":S,"<|EMOTE_SAD|>":w,"<|EMOTE_ANGRY|>":D,"<|EMOTE_THINK|>":R,"<|EMOTE_SURPRISE|>":x,"<|EMOTE_AWKWARD|>":I,"<|EMOTE_QUESTION|>":H},Q={"<|EMOTE_HAPPY|>":"happy","<|EMOTE_SAD|>":"sad","<|EMOTE_ANGRY|>":"angry","<|EMOTE_THINK|>":void 0,"<|EMOTE_SURPRISE|>":"surprised","<|EMOTE_AWKWARD|>":void 0,"<|EMOTE_QUESTION|>":void 0},b="<|llm_inference_end|>";function B(n){function o(t){for(const a of f)if(t.includes(a))return{ok:!0,emotion:a};return{ok:!1,emotion:""}}return c({handlers:[async t=>{if(f.includes(t.data)){t.emit("emotion",t.data),await n.add(t.data);return}{const{ok:a,emotion:e}=o(t.data);a&&(t.emit("emotion",e),await n.add(e))}}]})}function V(){function n(t){if(!/<\|DELAY:\d+\|>/i.test(t))return{ok:!1,delay:0};const a=/<\|DELAY:(\d+)\|>/i.exec(t),e=a==null?void 0:a[1];if(!e)return{ok:!1,delay:0};const i=Number.parseFloat(e);return i<=0||Number.isNaN(i)?{ok:!0,delay:0}:{ok:!0,delay:i}}function o(t){return new Promise(a=>setTimeout(a,t))}return c({handlers:[async t=>{const{ok:a,delay:e}=n(t.data);a&&(t.emit("delay",e),await o(e*1e3))}]})}function W(n){const o=d("");return c({handlers:[async t=>{if(t.data===b){const e=o.value.trim();e&&await n.add(e),o.value="";return}const a=/[.?!]/;for(o.value+=t.data;o.value;){const e=a.exec(o.value);if(!e||typeof e.index>"u")break;const i=o.value.slice(0,e.index+1),l=o.value.slice(e.index+1);await n.add(i),o.value=l}}]})}export{x as E,Y as _,w as a,D as b,S as c,I as d,H as e,R as f,f as g,B as h,V as i,Q as j,U as k,b as l,W as u};
index.html CHANGED
@@ -24,7 +24,7 @@
24
  src="/remote-assets/page-external-data/js/script.js"
25
  ></script>
26
  <script src="/assets/js/CubismSdkForWeb-5-r.1/Core/live2dcubismcore.min.js"></script>
27
- <script type="module" crossorigin src="/assets/index-Dq5Soe4V.js"></script>
28
  <link rel="stylesheet" crossorigin href="/assets/index-D1ANCCMh.css">
29
  </head>
30
  <body class="font-sans">
 
24
  src="/remote-assets/page-external-data/js/script.js"
25
  ></script>
26
  <script src="/assets/js/CubismSdkForWeb-5-r.1/Core/live2dcubismcore.min.js"></script>
27
+ <script type="module" crossorigin src="/assets/index-CDOcJgli.js"></script>
28
  <link rel="stylesheet" crossorigin href="/assets/index-D1ANCCMh.css">
29
  </head>
30
  <body class="font-sans">