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

release: build 3b3a068c6b41e6633cc004dde47beb3cb8a63882

Browse files
assets/Stage-DdFs-63w.css ADDED
@@ -0,0 +1 @@
 
 
1
+ .animate-stripe[data-v-af8e2d0b]{background-image:repeating-linear-gradient(-45deg,#f472b6,#f472b6 25px,#f9a8d4 25px,#f9a8d4 50px);animation:progress-af8e2d0b 2s linear infinite;background-size:150% 100%}@-webkit-keyframes progress-af8e2d0b{0%{background-position:0 0}to{background-position:-75px 0px}}@-moz-keyframes progress-af8e2d0b{0%{background-position:0 0}to{background-position:-75px 0px}}@-ms-keyframes progress-af8e2d0b{0%{background-position:0 0}to{background-position:-75px 0px}}@keyframes progress-af8e2d0b{0%{background-position:0 0}to{background-position:-70px 0px}}
assets/Stage.vue_vue_type_style_index_0_scoped_af8e2d0b_lang-Iwnl5xA0.js ADDED
The diff for this file is too large to render. See raw diff
 
assets/_...all_-CHlSqrFC.js DELETED
@@ -1 +0,0 @@
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/_...all_-D15RbFfx.js ADDED
@@ -0,0 +1 @@
 
 
1
+ import{_ as e}from"./_plugin-vue_export-helper-DlAUqK2U.js";import{c as o,o as _}from"./index-CyOiUNFz.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-DG_K4eLc.js → audio-BQMGao8v.js} RENAMED
@@ -1 +1 @@
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};
 
1
+ import{d as s,e as f,c as d,o as p,v as t}from"./index-CyOiUNFz.js";const v=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)=>(p(),d("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{v as default};
assets/{default-CXrhKqcL.js → default-DN1WRmEd.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-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};
 
1
+ import{d as p,u as s,c,a as d,r as i,n as l,b as e,o as m}from"./index-CyOiUNFz.js";const x=p({__name:"default",setup(u){const{top:t,right:o,bottom:a,left:n}=s();return(f,_)=>{const r=i("RouterView");return m(),c("main",{text:"gray-700 dark:gray-200","font-cuteen":"","h-full":"",style:l({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-D1zKLZX4.js DELETED
@@ -1 +0,0 @@
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/delays-DdrG_-yV.js ADDED
@@ -0,0 +1 @@
 
 
1
+ import{p as g,_,q as b}from"./Stage.vue_vue_type_style_index_0_scoped_af8e2d0b_lang-Iwnl5xA0.js";import"./index-nQ67JNqr.js";import{d as k,e as d,c as s,o as l,v as e,a as y,b as x,B as i,bx as f,by as p}from"./index-CyOiUNFz.js";import"./queue-DfbSupLt.js";const z={flex:"","flex-col":"","gap-2":"","p-2":""},w={flex:"","flex-row":"","gap-2":""},h={"rounded-lg":"",bg:"zinc-100 dark:zinc-700","p-4":""},M={"w-full":"",flex:"","flex-row":"","gap-4":""},V={"w-full":"","rounded-lg":"",bg:"zinc-100 dark:zinc-700","p-2":""},B={"w-full":"","rounded-lg":"",bg:"zinc-100 dark:zinc-700","p-2":""},I=k({__name:"delays",setup(E){const t=d(""),v=d([]),c=d([]),u=d(!1),r=g();r.onHandlerEvent("delay",a=>{c.value.push(a)});function m(){u.value=!0;const a=t.value.split("");for(const n of a)r.add(n);r.add(b),t.value="",u.value=!1}return(a,n)=>(l(),s("div",z,[e("div",w,[y(x(_),{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:m},null,8,["modelValue"]),e("button",h,i(u.value?"Processing...":"Send"),1)]),e("div",M,[e("div",V,[n[1]||(n[1]=e("h3",{"font-semibold":""}," Emotion Message ",-1)),(l(!0),s(f,null,p(v.value,o=>(l(),s("div",{key:o},[e("div",null,i(o),1)]))),128))]),e("div",B,[n[2]||(n[2]=e("h3",{"font-semibold":""}," Delays ",-1)),(l(!0),s(f,null,p(c.value,o=>(l(),s("div",{key:o},[e("div",null,i(o)+"s",1)]))),128))])])]))}});export{I as default};
assets/emotions-CcPPMxgI.js ADDED
@@ -0,0 +1 @@
 
 
1
+ import{o as _,_ as b,q as k}from"./Stage.vue_vue_type_style_index_0_scoped_af8e2d0b_lang-Iwnl5xA0.js";import{u as x}from"./queue-DfbSupLt.js";import{d as z,e as u,c as s,o as t,v as e,a as h,b as w,B as i,bx as f,by as m}from"./index-CyOiUNFz.js";const y={flex:"","flex-col":"","gap-2":"","p-2":""},M={flex:"","flex-row":"","gap-2":""},V={"rounded-lg":"",bg:"zinc-100 dark:zinc-700","p-4":""},B={"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":""},N=z({__name:"emotions",setup(S){const l=u(""),p=u([]),r=u([]),d=u(!1),g=x({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(k),l.value="",d.value=!1}return(a,o)=>(t(),s("div",y,[e("div",M,[h(w(b),{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",B,[e("div",E,[o[1]||(o[1]=e("h3",{"font-semibold":""}," Messages ",-1)),(t(!0),s(f,null,m(p.value,n=>(t(),s("div",{key:n},[e("div",null,i(n),1)]))),128))]),e("div",Q,[o[2]||(o[2]=e("h3",{"font-semibold":""}," Emotions ",-1)),(t(!0),s(f,null,m(r.value,n=>(t(),s("div",{key:n},[e("div",null,i(n),1)]))),128))])])]))}});export{N as default};
assets/emotions-DBCjUQ8l.js DELETED
@@ -1 +0,0 @@
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-CR5GQYL5.js → filter-message-gsG6DSBp.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-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};
 
1
+ import{d as g,e as u,r as m,c as v,o as _,v as s,a as x,B as d}from"./index-CyOiUNFz.js";const b={flex:"","flex-col":"","gap-2":"","p-2":""},S={flex:"","flex-row":"","gap-2":""},k={"rounded-lg":"",bg:"zinc-100 dark:zinc-700","p-4":""},w={"w-full":"","rounded-lg":"",bg:"zinc-100 dark:zinc-700","p-2":""},V=g({__name:"filter-message",setup(z){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",S,[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",k,d(c.value?"Processing...":"Send"),1)]),s("div",w,[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-Db88_eF2.js → image-3_r-rQY4.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-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};
 
1
+ import{d as _,e as c,bZ as y,c as d,o as u,v as a,A as x,B as v,b}from"./index-CyOiUNFz.js";import{_ as w}from"./_plugin-vue_export-helper-DlAUqK2U.js";const h={bg:"neutral-100",flex:"~ col","items-center":"","justify-center":"","rounded-lg":"","px-4":"","py-3":""},C={key:0},U=["src"],R={bg:"neutral-100",class:"text-wrap-any","max-h":"100","overflow-scroll":"","rounded-lg":"","text-wrap":"","text-black":"","font-mono":""},k=_({__name:"image",setup(D){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)=>(u(),d("div",null,[a("label",h,[a("input",{type:"file",accept:"image/*",hidden:"",onChange:f},null,32),e[1]||(e[1]=a("span",null,"Upload Image",-1))]),o.value?(u(),d("div",C,[a("img",{src:o.value,alt:"Uploaded Image","w-100":""},null,8,U),a("pre",R," "+v(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 ")])):x("",!0)]))}}),A=w(k,[["__scopeId","data-v-7edd53e6"]]);export{A as default};
assets/index-BLkTLS1g.js ADDED
The diff for this file is too large to render. See raw diff
 
assets/index-BPLLncXW.js DELETED
The diff for this file is too large to render. See raw diff
 
assets/index-BQkqJSzv.css ADDED
@@ -0,0 +1 @@
 
 
1
+ .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-893059ff]{background-image:repeating-linear-gradient(-45deg,#a16207,#a16207 25px,#eab308 25px,#eab308 50px);background-size:175% 100%}.animate-stripe[data-v-893059ff]:hover{animation:progress-893059ff 2s linear infinite}@-webkit-keyframes progress-893059ff{0%{background-position:0 0}to{background-position:-75px 0px}}@-moz-keyframes progress-893059ff{0%{background-position:0 0}to{background-position:-75px 0px}}@-ms-keyframes progress-893059ff{0%{background-position:0 0}to{background-position:-75px 0px}}@keyframes progress-893059ff{0%{background-position:0 0}to{background-position:-70px 0px}}
assets/index-CwGGpTrg.css DELETED
@@ -1 +0,0 @@
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-CDOcJgli.js → index-CyOiUNFz.js} RENAMED
The diff for this file is too large to render. See raw diff
 
assets/index-nQ67JNqr.js ADDED
The diff for this file is too large to render. See raw diff
 
assets/index-uL9EtCRr.js DELETED
The diff for this file is too large to render. See raw diff
 
assets/messages-CCptAofR.js ADDED
@@ -0,0 +1 @@
 
 
1
+ import{u as m,_ as g,q as _}from"./Stage.vue_vue_type_style_index_0_scoped_af8e2d0b_lang-Iwnl5xA0.js";import{u as v}from"./queue-DfbSupLt.js";import{d as b,e as t,c as l,o as u,v as e,a as x,b as k,B as c,bx as h,by as z}from"./index-CyOiUNFz.js";const w={flex:"","flex-col":"","gap-2":"","p-2":""},y={flex:"","flex-row":"","gap-2":""},S={"rounded-lg":"",bg:"zinc-100 dark:zinc-700","p-4":""},V={"w-full":"",flex:"","flex-row":"","gap-4":""},B={"w-full":"","rounded-lg":"",bg:"zinc-100 dark:zinc-700","p-2":""},E=b({__name:"messages",setup(M){const s=t(""),d=t([]),o=t(!1),f=v({handlers:[async i=>{d.value.push(i.data)}]}),r=m(f);async function p(){o.value=!0,r.add(s.value),r.add(_),s.value="",o.value=!1}return(i,n)=>(u(),l("div",w,[e("div",y,[x(k(g),{modelValue:s.value,"onUpdate:modelValue":n[0]||(n[0]=a=>s.value=a),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(o.value?"Processing...":"Send"),1)]),e("div",V,[e("div",B,[n[1]||(n[1]=e("h3",{"font-semibold":""}," TTS Message ",-1)),(u(!0),l(h,null,z(d.value,a=>(u(),l("div",{key:a},[e("div",null,c(a),1)]))),128))])])]))}});export{E as default};
assets/messages-qnY1qKjD.js DELETED
@@ -1 +0,0 @@
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-DZ9kNEd1.js → queue-B7h6XmsK.js} RENAMED
@@ -1 +1 @@
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};
 
1
+ import{u as o}from"./queue-DfbSupLt.js";import{d as y,e as h,k,c as w,o as g,v as I}from"./index-CyOiUNFz.js";const Q=y({__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),v=e.data.slice(r+1);n.value+=p,u.add(n.value.trim()),n.value=v,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)=>(g(),w("div",null,a[0]||(a[0]=[I("div",null,null,-1)])))}});export{Q as default};
assets/{queue-CeT6u4ef.js → queue-DfbSupLt.js} RENAMED
@@ -1 +1 @@
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};
 
1
+ import{e as l}from"./index-CyOiUNFz.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/queues-CsN4-ClH.js DELETED
@@ -1,2 +0,0 @@
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};
 
 
 
assets/{worker-Dc_51xfg.js → worker-CL_jKwe6.js} RENAMED
The diff for this file is too large to render. See raw diff
 
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-CDOcJgli.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-CyOiUNFz.js"></script>
28
  <link rel="stylesheet" crossorigin href="/assets/index-D1ANCCMh.css">
29
  </head>
30
  <body class="font-sans">