diff --git a/assets/Collapsable.vue_vue_type_script_setup_true_lang-CWAVErwd.js b/assets/Collapsable.vue_vue_type_script_setup_true_lang-t6VABIns.js similarity index 79% rename from assets/Collapsable.vue_vue_type_script_setup_true_lang-CWAVErwd.js rename to assets/Collapsable.vue_vue_type_script_setup_true_lang-t6VABIns.js index cdcb89030515c0e2559df5a10e0c649787c4732f..0cf5e69f5b779c2de0d0e44d7890d82ce9406a2b 100644 --- a/assets/Collapsable.vue_vue_type_script_setup_true_lang-CWAVErwd.js +++ b/assets/Collapsable.vue_vue_type_script_setup_true_lang-t6VABIns.js @@ -1 +1 @@ -import{_ as d}from"./TransitionVertical.vue_vue_type_script_setup_true_lang-BDRTDJzZ.js";import{d as p,cm as m,cn as f,a4 as c,c as b,o as v,f as r,b as V,W as u,X as k,k as y,m as g,U as x,a as s,M as C,t as i}from"./index-DCtIztPb.js";const B={op50:""},$=p({__name:"Collapsable",props:m({default:{type:Boolean},label:null},{modelValue:{type:Boolean,default:!1},modelModifiers:{}}),emits:["update:modelValue"],setup(o){const t=o,e=f(o,"modelValue");c(()=>{t.default!=null&&(e.value=!!t.default)});function n(l){return e.value=l,l}return(l,a)=>(v(),b("div",null,[r(l.$slots,"trigger",u(k({visible:e.value,setVisible:n})),()=>[s("button",{sticky:"","top-0":"","z-10":"",flex:"","items-center":"","justify-between":"",px2:"",py1:"","text-sm":"","backdrop-blur-xl":"",onClick:a[0]||(a[0]=_=>e.value=!e.value)},[s("span",null,i(t.label??"Collapsable"),1),a[1]||(a[1]=C()),s("span",B,i(e.value?"▲":"▼"),1)])]),V(d,null,{default:y(()=>[e.value?r(l.$slots,"default",u(x({key:0},{visible:e.value,setVisible:n}))):g("",!0)]),_:3})]))}});export{$ as _}; +import{_ as d}from"./TransitionVertical.vue_vue_type_script_setup_true_lang-DIGllfwe.js";import{d as p,cl as m,cm as f,a3 as c,c as b,o as v,f as r,b as V,V as u,W as k,k as y,m as g,S as x,a as s,K as C,t as i}from"./index-CGdx-Gsw.js";const B={op50:""},w=p({__name:"Collapsable",props:m({default:{type:Boolean},label:null},{modelValue:{type:Boolean,default:!1},modelModifiers:{}}),emits:["update:modelValue"],setup(o){const t=o,e=f(o,"modelValue");c(()=>{t.default!=null&&(e.value=!!t.default)});function n(l){return e.value=l,l}return(l,a)=>(v(),b("div",null,[r(l.$slots,"trigger",u(k({visible:e.value,setVisible:n})),()=>[s("button",{sticky:"","top-0":"","z-10":"",flex:"","items-center":"","justify-between":"",px2:"",py1:"","text-sm":"","backdrop-blur-xl":"",onClick:a[0]||(a[0]=_=>e.value=!e.value)},[s("span",null,i(t.label??"Collapsable"),1),a[1]||(a[1]=C()),s("span",B,i(e.value?"▲":"▼"),1)])]),V(d,null,{default:y(()=>[e.value?r(l.$slots,"default",u(x({key:0},{visible:e.value,setVisible:n}))):g("",!0)]),_:3})]))}});export{w as _}; diff --git a/assets/HeaderLink-BDfJutS0.js b/assets/HeaderLink-C4uzPeCq.js similarity index 90% rename from assets/HeaderLink-BDfJutS0.js rename to assets/HeaderLink-C4uzPeCq.js index 46f2bdd5977815f7ca8923d2b91d274fe2a6644e..1cd77f8e181b1762302c1c23b718596e7f248dfe 100644 --- a/assets/HeaderLink-BDfJutS0.js +++ b/assets/HeaderLink-C4uzPeCq.js @@ -1 +1 @@ -import{d as r,i as c,j as l,e,G as d,o as s,k as _,c as t,a,_ as i}from"./index-DCtIztPb.js";const k="/assets/logo-dark-CO0kwKsz.svg",p="/assets/logo-D6zeZTFl.svg",u=["src"],m=["src"],g=r({__name:"HeaderLink",setup(x){const n=c();return(f,o)=>(s(),l(e(d),{to:"/",flex:"~","items-center":"","gap-2":"","px-2":"","text-nowrap":"","text-2xl":"","outline-none":""},{default:_(()=>[e(n)?(s(),t("img",{key:0,src:e(k),"h-8":"","w-8":"",class:"theme-colored"},null,8,u)):(s(),t("img",{key:1,src:e(p),"h-8":"","w-8":"",class:"theme-colored"},null,8,m)),o[0]||(o[0]=a("div",{"font-cute":""},[a("span",null,"アイリ")],-1))]),_:1}))}}),L=i(g,[["__scopeId","data-v-496b6cde"]]);export{L as H,k as L,p as a}; +import{d as r,i as c,j as l,e,G as d,o as s,k as _,c as t,a,_ as i}from"./index-CGdx-Gsw.js";const k="/assets/logo-dark-CO0kwKsz.svg",p="/assets/logo-D6zeZTFl.svg",u=["src"],m=["src"],g=r({__name:"HeaderLink",setup(x){const n=c();return(f,o)=>(s(),l(e(d),{to:"/",flex:"~","items-center":"","gap-2":"","px-2":"","text-nowrap":"","text-2xl":"","outline-none":""},{default:_(()=>[e(n)?(s(),t("img",{key:0,src:e(k),"h-8":"","w-8":"",class:"theme-colored"},null,8,u)):(s(),t("img",{key:1,src:e(p),"h-8":"","w-8":"",class:"theme-colored"},null,8,m)),o[0]||(o[0]=a("div",{"font-cute":""},[a("span",null,"アイリ")],-1))]),_:1}))}}),L=i(g,[["__scopeId","data-v-496b6cde"]]);export{L as H,k as L,p as a}; diff --git a/assets/IconStatusItem-D09cRGs1.js b/assets/IconStatusItem-DydJwNP6.js similarity index 94% rename from assets/IconStatusItem-D09cRGs1.js rename to assets/IconStatusItem-DydJwNP6.js index ae01ff86cd08f8dd1aeaccf58bb75f10c5cd63c2..57982ca39802ed544bd836b40dabd5cc51e6b6b8 100644 --- a/assets/IconStatusItem-D09cRGs1.js +++ b/assets/IconStatusItem-DydJwNP6.js @@ -1 +1 @@ -import{d as u,r as c,c as e,o as n,b as d,a as o,k as m,m as a,t as i,q as s,_}from"./index-DCtIztPb.js";import"./Stage.vue_vue_type_style_index_0_scoped_cad77b27_lang-D1cRHv6j.js";const p={flex:"~ col",bg:"neutral-200/50 dark:neutral-700",border:"neutral-100 dark:neutral-700 hover:primary-500/30 dark:hover:primary-400/30 solid 2","drop-shadow":"none hover:[0px_4px_4px_rgba(220,220,220,0.4)] active:[0px_0px_0px_rgba(220,220,220,0.25)] dark:hover:none",class:"menu-icon-status-item",transition:"all ease-in-out duration-400","w-full":"","cursor-pointer":"","of-hidden":"","rounded-xl":""},g={"z-1":"","flex-1":""},h={"text-lg":"","font-bold":"",class:"menu-icon-status-item-title",transition:"all ease-in-out duration-400"},k={text:"sm neutral-500 dark:neutral-400",class:"menu-icon-status-item-description",transition:"all ease-in-out duration-400"},f=["src"],x={"p-2":""},v={key:0,"size-3":"",bg:"green-500 dark:green-600","rounded-full":""},y={key:1,"size-3":"",bg:"neutral-400 dark:neutral-500","rounded-full":""},b=u({__name:"IconStatusItem",props:{title:null,description:null,icon:null,iconColor:null,iconImage:null,to:null,configured:{type:Boolean}},setup(r){const t=r;return(I,C)=>{const l=c("RouterLink");return n(),e("div",p,[d(l,{flex:"~ row",class:"menu-icon-status-item-link",bg:"neutral-50 dark:neutral-800",transition:"all ease-in-out duration-400",relative:"","h-full":"","w-full":"","items-center":"","overflow-hidden":"","rounded-lg":"","p-5":"","text-left":"",to:t.to},{default:m(()=>[o("div",g,[o("div",h,i(t.title),1),o("div",k,[o("span",null,i(t.description),1)])]),t.icon?(n(),e("div",{key:0,class:s(["menu-icon-status-item-icon",[t.icon]]),transition:"all ease-in-out duration-400",absolute:"","right-0":"","size-16":"","translate-y-2":"",text:"neutral-400/50 dark:neutral-600/50","grayscale-100":""},null,2)):a("",!0),t.iconColor?(n(),e("div",{key:1,class:s(["menu-icon-status-item-icon-color",[t.iconColor]]),transition:"all ease-in-out duration-400",absolute:"","right-0":"","size-16":"","translate-y-2":"",text:"neutral-400/50 dark:neutral-600/50","grayscale-100":""},null,2)):a("",!0),t.iconImage?(n(),e("img",{key:2,src:t.iconImage,class:"menu-icon-status-item-icon-image",transition:"all ease-in-out duration-400",absolute:"","right-0":"","size-16":"","translate-y-2":"","grayscale-100":""},null,8,f)):a("",!0)]),_:1},8,["to"]),o("div",x,[t.configured?(n(),e("div",v)):(n(),e("div",y))])])}}}),B=_(b,[["__scopeId","data-v-883ae105"]]);export{B as I}; +import{d as u,r as c,c as e,o as n,b as d,a as o,k as m,m as a,t as i,q as s,_}from"./index-CGdx-Gsw.js";import"./Stage.vue_vue_type_style_index_0_scoped_cad77b27_lang-BvkGrZE5.js";const p={flex:"~ col",bg:"neutral-200/50 dark:neutral-700",border:"neutral-100 dark:neutral-700 hover:primary-500/30 dark:hover:primary-400/30 solid 2","drop-shadow":"none hover:[0px_4px_4px_rgba(220,220,220,0.4)] active:[0px_0px_0px_rgba(220,220,220,0.25)] dark:hover:none",class:"menu-icon-status-item",transition:"all ease-in-out duration-400","w-full":"","cursor-pointer":"","of-hidden":"","rounded-xl":""},g={"z-1":"","flex-1":""},h={"text-lg":"","font-bold":"",class:"menu-icon-status-item-title",transition:"all ease-in-out duration-400"},k={text:"sm neutral-500 dark:neutral-400",class:"menu-icon-status-item-description",transition:"all ease-in-out duration-400"},f=["src"],x={"p-2":""},v={key:0,"size-3":"",bg:"green-500 dark:green-600","rounded-full":""},y={key:1,"size-3":"",bg:"neutral-400 dark:neutral-500","rounded-full":""},b=u({__name:"IconStatusItem",props:{title:null,description:null,icon:null,iconColor:null,iconImage:null,to:null,configured:{type:Boolean}},setup(r){const t=r;return(I,C)=>{const l=c("RouterLink");return n(),e("div",p,[d(l,{flex:"~ row",class:"menu-icon-status-item-link",bg:"neutral-50 dark:neutral-800",transition:"all ease-in-out duration-400",relative:"","h-full":"","w-full":"","items-center":"","overflow-hidden":"","rounded-lg":"","p-5":"","text-left":"",to:t.to},{default:m(()=>[o("div",g,[o("div",h,i(t.title),1),o("div",k,[o("span",null,i(t.description),1)])]),t.icon?(n(),e("div",{key:0,class:s(["menu-icon-status-item-icon",[t.icon]]),transition:"all ease-in-out duration-400",absolute:"","right-0":"","size-16":"","translate-y-2":"",text:"neutral-400/50 dark:neutral-600/50","grayscale-100":""},null,2)):a("",!0),t.iconColor?(n(),e("div",{key:1,class:s(["menu-icon-status-item-icon-color",[t.iconColor]]),transition:"all ease-in-out duration-400",absolute:"","right-0":"","size-16":"","translate-y-2":"",text:"neutral-400/50 dark:neutral-600/50","grayscale-100":""},null,2)):a("",!0),t.iconImage?(n(),e("img",{key:2,src:t.iconImage,class:"menu-icon-status-item-icon-image",transition:"all ease-in-out duration-400",absolute:"","right-0":"","size-16":"","translate-y-2":"","grayscale-100":""},null,8,f)):a("",!0)]),_:1},8,["to"]),o("div",x,[t.configured?(n(),e("div",v)):(n(),e("div",y))])])}}}),B=_(b,[["__scopeId","data-v-883ae105"]]);export{B as I}; diff --git a/assets/Live2DSettings.vue_vue_type_script_setup_true_lang-BwuKTm2c.js b/assets/Live2DSettings.vue_vue_type_script_setup_true_lang-ConbZwCE.js similarity index 82% rename from assets/Live2DSettings.vue_vue_type_script_setup_true_lang-BwuKTm2c.js rename to assets/Live2DSettings.vue_vue_type_script_setup_true_lang-ConbZwCE.js index 9b4398f3c1090e611ca5e8908e7b8bf8109ed8dd..c7c03dc30d9efa8a6d0f4ab703fe5b7eab5d76d0 100644 --- a/assets/Live2DSettings.vue_vue_type_script_setup_true_lang-BwuKTm2c.js +++ b/assets/Live2DSettings.vue_vue_type_script_setup_true_lang-ConbZwCE.js @@ -1 +1 @@ -import{l as U,T as re,A as ye,L as H,m as de,c as we,r as _e,D as xe,I as ke,n as J,M as ze,o as W,p as K,q as Ce,J as Se}from"./Stage.vue_vue_type_style_index_0_scoped_cad77b27_lang-D1cRHv6j.js";import{d as q,g as y,w as M,p as ue,L as ce,c as _,o as x,f as ve,a9 as Q,h as ee,i as Fe,al as Le,N as Ie,x as fe,y as pe,ch as De,ci as Be,F as Y,a,an as Ee,v as Ne,cj as je,ck as Pe,b as te,e as r,k as V,t as k,A as ae,H as Ae,q as ie,E as ne,I as Oe}from"./index-DCtIztPb.js";import{_ as oe}from"./Collapsable.vue_vue_type_script_setup_true_lang-CWAVErwd.js";const mt=q({__name:"Canvas",props:{width:null,height:null},setup(s){const t=s,l=y(),i=y(),e=y();async function c(v){H.registerTicker(de),U.add(re),i.value=new ye({width:t.width,height:t.height,backgroundAlpha:0}),e.value=i.value.view,e.value.style.objectFit="contain",v.appendChild(i.value.view)}function p(){var v;i.value&&i.value.renderer.resize(t.width,t.height),(v=i.value)!=null&&v.view&&(i.value.view.width=t.width,i.value.view.height=t.height)}return M([()=>t.width,()=>t.height],()=>p()),ue(async()=>l.value&&await c(l.value)),ce(()=>{var v;return(v=i.value)==null?void 0:v.destroy()}),(v,j)=>(x(),_("div",{ref_key:"containerRef",ref:l,"h-full":"","w-full":""},[ve(v.$slots,"default",{app:i.value})],512))}}),Ve=s=>Math.max(0,Math.min(1,s||0)),T=s=>Math.round(Ve(s)*255),$e=we("rgb"),Re=s=>{if(s===void 0)return;let t=T(s.r),l=T(s.g),i=T(s.b);return"#"+(1<<24|t<<16|l<<8|i).toString(16).slice(1)},Te=s=>Re($e(s));function le(s,t,l){return(1-l)*s+l*t}function se(s,t){return s+Math.random()*(t-s)}function Ue(){let s=-1,t,l=-1;function i(e,c){(c>=s||ct.app),i=Q(()=>t.paused),e=y(),c=y(0),p=y(0),v=ee(()=>Math.max(0,Math.min(100,t.mouthOpenSize))),j=Fe(),I=Le(Ee),D=ee(()=>I.between("sm","md").value||I.smaller("sm").value),$=Ue(),P=Ie(new xe({alpha:.2,blur:0,distance:20,rotation:45}));function R(){return e.value.internalModel.coreModel}function u(o){if(!o.value)return;let m=2.2;D.value&&(m=2.2);const F=t.height*.95/p.value*m,b=t.width*.95/c.value*m,L=Math.min(F,b);o.value.scale.set(L,L)}const{live2dModelFile:n,loadingLive2dModel:d,live2dCurrentMotion:f,availableLive2dMotions:g,live2dLoadSource:z,live2dModelUrl:B,themeColorsHue:C,themeColorsHueDynamic:A}=fe(pe()),S=y({group:"Idle",index:0});async function E(){var G;if(!l.value)return;e.value&&(l.value.stage.removeChild(e.value),e.value.destroy(),e.value=void 0);const o=new H;z.value==="file"?await W.setupLive2DModel(o,[n.value]):z.value==="url"&&await W.setupLive2DModel(o,B.value),e.value=o,l.value.stage.addChild(e.value),c.value=e.value.width,p.value=e.value.height,e.value.x=t.width/2,e.value.y=t.height,e.value.rotation=Math.PI,e.value.skew.x=Math.PI,e.value.anchor.set(.5,.5),u(e),e.value.on("hit",w=>{e.value&&w.includes("body")&&e.value.motion("tap_body")});const m=e.value.internalModel,F=m.coreModel,b=m.motionManager;F.setParameterValueById("ParamMouthOpenY",v.value),g.value=Object.entries(b.definitions).flatMap(([w,h])=>h?h.map((be,Me)=>({motionName:w,motionIndex:Me,fileName:be.File})):[]).filter(Boolean),b.groups.idle&&((G=b.motionGroups[b.groups.idle])==null||G.forEach(w=>{w._motionData.curves.forEach(h=>{(h.id==="ParamEyeBallX"||h.id==="ParamEyeBallY")&&(h.id=`_${h.id}`)})}));const L=b.update;b.update=function(w,h){return L==null||L.call(this,w,h),b.state.currentGroup===b.groups.idle&&$.update(m,h),!0},b.on("motionStart",(w,h)=>{S.value={group:w,index:h}}),n.value&&await J.setItem("live2dModel",n.value),d.value=!1}async function me(){if(!l.value)return;H.registerTicker(de),U.add(re),U.add(ke);const o=await J.getItem("live2dModel");if(o){n.value=o,z.value="file",d.value=!0;return}if(B.value){z.value="url",d.value=!0;return}d.value=!1}async function he(o,m){await e.value.motion(o,m,ze.FORCE)}const ge=De(()=>{e.value&&(e.value.x=t.width/2,e.value.y=t.height,u(e))},100),X=y(),N=y(0);function O(){if(e.value){const o=getComputedStyle(X.value).backgroundColor;P.value.color=Number(Te(o).replace("#","0x")),e.value.filters=[P.value]}}M([()=>t.width,()=>t.height],()=>ge()),M(j,O,{immediate:!0}),M([e,C],O);function Z(){O(),N.value=requestAnimationFrame(Z)}return M(A,()=>{A.value?N.value=requestAnimationFrame(Z):(cancelAnimationFrame(N.value),N.value=0)},{immediate:!0}),M(v,o=>R().setParameterValueById("ParamMouthOpenY",o)),M(l,me),M(f,o=>he(o.group,o.index)),M(i,o=>{var m,F;o?(m=l.value)==null||m.stop():(F=l.value)==null||F.start()}),Be(d,o=>{o&&E()},{debounce:1e3}),ue(O),ce(()=>{var o;cancelAnimationFrame(N.value),e.value&&((o=l.value)==null||o.stage.removeChild(e.value))}),(o,m)=>(x(),_(Y,null,[a("div",{ref_key:"dropShadowColorComputer",ref:X,hidden:"",bg:"primary-400 dark:primary-500"},null,512),ve(o.$slots,"default")],64))}}),He=["onClick"],Je={flex:"~ row 1","items-center":"","gap-1.5":""},Ye={"p-4":""},qe={class:"space-y-4"},Xe={class:"flex items-center justify-between"},Ze={class:"flex items-center gap-1 text-sm font-medium"},Ge=["disabled","placeholder"],We=["disabled"],Ke={class:"flex items-center justify-between"},Qe={class:"flex items-center gap-1 text-sm font-medium"},et=["disabled"],tt=["onClick"],at={"p-4":""},it={key:0,class:"space-y-4"},nt={class:"flex items-center gap-1 text-sm font-medium"},ot={flex:"","gap-2":""},lt=["onUpdate:modelValue"],st=["disabled","onClick"],rt=["disabled"],dt=["href","download"],ut=["disabled"],ct={key:1},gt=q({__name:"Live2DSettings",setup(s){const{t}=Ne(),l=je({accept:"application/zip"}),i=pe(),{live2dModelFile:e,live2dMotionMap:c,live2dLoadSource:p,loadingLive2dModel:v,availableLive2dMotions:j,live2dModelUrl:I}=fe(i),D=y(I.value);l.onChange(u=>{u&&u.length>0&&(c.value={},e.value=u[0],p.value="file",v.value=!0)}),M(()=>i.loadingLive2dModel,u=>{u||p.value==="file"&&j.value.forEach(n=>{n.motionName in K?c.value[n.fileName]=n.motionName:c.value[n.fileName]=Ce})});async function $(u,n){if(!Object.keys(n).length)return u;const f=await new Se().loadAsync(u),g=Object.keys(f.files).find(S=>S.endsWith("model3.json"));if(!g)throw new Error("model3.json not found");const z=await f.file(g).async("string"),B=JSON.parse(z),C={};Object.entries(n).forEach(([S,E])=>{if(C[E]){C[E].push({File:S});return}C[E]=[{File:S}]}),B.FileReferences.Motions=C,f.file(g,JSON.stringify(B,null,2));const A=await f.generateAsync({type:"blob"});return new File([A],u.name,{type:u.type,lastModified:u.lastModified})}async function P(){const u=await J.getItem("live2dModel");if(!u)return;const n=await $(u,c.value);e.value=n,p.value="file",v.value=!0}const R=Pe(e);return(u,n)=>(x(),_("div",null,[te(r(oe),{"w-full":"",default:!0},{trigger:V(d=>[a("button",{bg:"zinc-100 dark:zinc-800",hover:"bg-zinc-200 dark:bg-zinc-700",transition:"all ease-in-out duration-250","w-full":"",flex:"","items-center":"","gap-1.5":"","rounded-lg":"","px-4":"","py-3":"","outline-none":"",class:"[&_.provider-icon]:grayscale-100 [&_.provider-icon]:hover:grayscale-0",onClick:f=>d.setVisible(!d.visible)},[a("div",Je,[n[3]||(n[3]=a("div",{"i-solar:magic-stick-3-bold-duotone":"",class:"provider-icon size-6",transition:"filter duration-250 ease-in-out"},null,-1)),a("div",null,k(r(t)("settings.live2d.change-model.title")),1)]),a("div",{transform:"",transition:"transform duration-250",class:ie({"rotate-180":d.visible})},n[4]||(n[4]=[a("div",{"i-solar:alt-arrow-down-bold-duotone":""},null,-1)]),2)],8,He)]),default:V(()=>[a("div",Ye,[a("div",qe,[a("div",Xe,[a("div",null,[a("div",Ze,k(r(t)("settings.live2d.change-model.from-url")),1)]),a("div",null,[ae(a("input",{"onUpdate:modelValue":n[0]||(n[0]=d=>D.value=d),disabled:r(i).loadingLive2dModel,type:"text",rounded:"",border:"zinc-300 dark:zinc-800 solid 1 focus:zinc-400 dark:focus:zinc-600",transition:"border duration-250 ease-in-out","px-2":"","py-1":"","text-sm":"","outline-none":"",placeholder:r(t)("settings.live2d.change-model.from-url-placeholder")},null,8,Ge),[[Ae,D.value]]),a("button",{disabled:r(i).loadingLive2dModel,bg:"zinc-100 dark:zinc-800",hover:"bg-zinc-200 dark:bg-zinc-700",transition:"all ease-in-out duration-250","ml-2":"",rounded:"","px-2":"","py-1":"","text-sm":"","outline-none":"",onClick:n[1]||(n[1]=d=>I.value=D.value)},k(r(t)("settings.live2d.change-model.from-url-confirm")),9,We)])]),a("div",Ke,[a("div",null,[a("div",Qe,k(r(t)("settings.live2d.change-model.from-file")),1)]),a("button",{disabled:r(i).loadingLive2dModel,rounded:"",bg:"zinc-100 dark:zinc-800",hover:"bg-zinc-200 dark:bg-zinc-700",transition:"all ease-in-out duration-250","px-2":"","py-1":"","text-sm":"","outline-none":"",onClick:n[2]||(n[2]=d=>r(l).open())},k(r(t)("settings.live2d.change-model.from-file-select")),9,et)])])])]),_:1}),te(r(oe),{"mt-4":"","w-full":"",default:!0},{trigger:V(d=>[a("button",{bg:"zinc-100 dark:zinc-800",hover:"bg-zinc-200 dark:bg-zinc-700",transition:"all ease-in-out duration-250","w-full":"",flex:"","items-center":"","gap-1.5":"","rounded-lg":"","px-4":"","py-3":"","outline-none":"",class:"[&_.provider-icon]:grayscale-100 [&_.provider-icon]:hover:grayscale-0",onClick:f=>d.setVisible(!d.visible)},[n[6]||(n[6]=a("div",{flex:"~ row 1","items-center":"","gap-1.5":""},[a("div",{"i-solar:face-scan-circle-bold-duotone":"",class:"provider-icon size-6",transition:"filter duration-250 ease-in-out"}),a("div",null," Edit motion map ")],-1)),a("div",{transform:"",transition:"transform duration-250",class:ie({"rotate-180":d.visible})},n[5]||(n[5]=[a("div",{"i-solar:alt-arrow-down-bold-duotone":""},null,-1)]),2)],8,tt)]),default:V(()=>{var d;return[a("div",at,[r(i).live2dLoadSource==="file"?(x(),_("div",it,[(x(!0),_(Y,null,ne(r(i).availableLive2dMotions,f=>(x(),_("div",{key:f.fileName,class:"flex items-center justify-between"},[a("div",nt,k(f.fileName),1),a("div",ot,[ae(a("select",{"onUpdate:modelValue":g=>r(i).live2dMotionMap[f.fileName]=g},[(x(!0),_(Y,null,ne(Object.keys(r(K)),g=>(x(),_("option",{key:g},k(g),1))),128))],8,lt),[[Oe,r(i).live2dMotionMap[f.fileName]]]),a("button",{disabled:r(i).loadingLive2dModel,rounded:"",bg:"zinc-100 dark:zinc-800",hover:"bg-zinc-200 dark:bg-zinc-700",transition:"all ease-in-out duration-250","px-2":"","py-1":"","text-sm":"","outline-none":"",onClick:g=>r(i).live2dCurrentMotion={group:f.motionName,index:f.motionIndex}}," Play ",8,st)])]))),128)),a("button",{disabled:r(i).loadingLive2dModel,"w-full":"",rounded:"",bg:"zinc-100 dark:zinc-800",hover:"bg-zinc-200 dark:bg-zinc-700",transition:"all ease-in-out duration-250",onClick:P}," Save and patch ",8,rt),a("a",{"mt-2":"",block:"",href:r(R),download:`${(d=r(i).live2dModelFile)==null?void 0:d.name}-motion-edited.zip`},[a("button",{disabled:r(i).loadingLive2dModel,"w-full":"",rounded:"",bg:"zinc-100 dark:zinc-800",hover:"bg-zinc-200 dark:bg-zinc-700",transition:"all ease-in-out duration-250"}," Export ",8,ut)],8,dt)])):(x(),_("div",ct," Not available for URL model "))])]}),_:1})]))}});export{ht as _,mt as a,gt as b,se as r}; +import{l as U,T as re,A as ye,L as H,m as de,c as we,r as _e,D as xe,I as ke,n as J,M as ze,o as W,p as K,q as Ce,J as Se}from"./Stage.vue_vue_type_style_index_0_scoped_cad77b27_lang-BvkGrZE5.js";import{d as q,g as y,w as M,p as ue,L as ce,c as _,o as x,f as ve,a8 as Q,h as ee,i as Fe,ak as Le,M as Ie,x as fe,y as me,cg as De,ch as Be,F as Y,a,am as Ee,v as Ne,ci as je,cj as Pe,b as te,e as r,k as V,t as k,A as ae,H as Ae,q as ie,E as ne,I as Oe}from"./index-CGdx-Gsw.js";import{_ as oe}from"./Collapsable.vue_vue_type_script_setup_true_lang-t6VABIns.js";const pt=q({__name:"Canvas",props:{width:null,height:null},setup(s){const t=s,l=y(),i=y(),e=y();async function c(v){H.registerTicker(de),U.add(re),i.value=new ye({width:t.width,height:t.height,backgroundAlpha:0}),e.value=i.value.view,e.value.style.objectFit="contain",v.appendChild(i.value.view)}function m(){var v;i.value&&i.value.renderer.resize(t.width,t.height),(v=i.value)!=null&&v.view&&(i.value.view.width=t.width,i.value.view.height=t.height)}return M([()=>t.width,()=>t.height],()=>m()),ue(async()=>l.value&&await c(l.value)),ce(()=>{var v;return(v=i.value)==null?void 0:v.destroy()}),(v,j)=>(x(),_("div",{ref_key:"containerRef",ref:l,"h-full":"","w-full":""},[ve(v.$slots,"default",{app:i.value})],512))}}),Ve=s=>Math.max(0,Math.min(1,s||0)),T=s=>Math.round(Ve(s)*255),$e=we("rgb"),Re=s=>{if(s===void 0)return;let t=T(s.r),l=T(s.g),i=T(s.b);return"#"+(1<<24|t<<16|l<<8|i).toString(16).slice(1)},Te=s=>Re($e(s));function le(s,t,l){return(1-l)*s+l*t}function se(s,t){return s+Math.random()*(t-s)}function Ue(){let s=-1,t,l=-1;function i(e,c){(c>=s||ct.app),i=Q(()=>t.paused),e=y(),c=y(0),m=y(0),v=ee(()=>Math.max(0,Math.min(100,t.mouthOpenSize))),j=Fe(),I=Le(Ee),D=ee(()=>I.between("sm","md").value||I.smaller("sm").value),$=Ue(),P=Ie(new xe({alpha:.2,blur:0,distance:20,rotation:45}));function R(){return e.value.internalModel.coreModel}function u(o){if(!o.value)return;let p=2.2;D.value&&(p=2.2);const F=t.height*.95/m.value*p,b=t.width*.95/c.value*p,L=Math.min(F,b);o.value.scale.set(L,L)}const{live2dModelFile:n,loadingLive2dModel:d,live2dCurrentMotion:f,availableLive2dMotions:g,live2dLoadSource:z,live2dModelUrl:B,themeColorsHue:C,themeColorsHueDynamic:A}=fe(me()),S=y({group:"Idle",index:0});async function E(){var G;if(!l.value)return;e.value&&(l.value.stage.removeChild(e.value),e.value.destroy(),e.value=void 0);const o=new H;z.value==="file"?await W.setupLive2DModel(o,[n.value]):z.value==="url"&&await W.setupLive2DModel(o,B.value),e.value=o,l.value.stage.addChild(e.value),c.value=e.value.width,m.value=e.value.height,e.value.x=t.width/2,e.value.y=t.height,e.value.rotation=Math.PI,e.value.skew.x=Math.PI,e.value.anchor.set(.5,.5),u(e),e.value.on("hit",w=>{e.value&&w.includes("body")&&e.value.motion("tap_body")});const p=e.value.internalModel,F=p.coreModel,b=p.motionManager;F.setParameterValueById("ParamMouthOpenY",v.value),g.value=Object.entries(b.definitions).flatMap(([w,h])=>h?h.map((be,Me)=>({motionName:w,motionIndex:Me,fileName:be.File})):[]).filter(Boolean),b.groups.idle&&((G=b.motionGroups[b.groups.idle])==null||G.forEach(w=>{w._motionData.curves.forEach(h=>{(h.id==="ParamEyeBallX"||h.id==="ParamEyeBallY")&&(h.id=`_${h.id}`)})}));const L=b.update;b.update=function(w,h){return L==null||L.call(this,w,h),b.state.currentGroup===b.groups.idle&&$.update(p,h),!0},b.on("motionStart",(w,h)=>{S.value={group:w,index:h}}),n.value&&await J.setItem("live2dModel",n.value),d.value=!1}async function pe(){if(!l.value)return;H.registerTicker(de),U.add(re),U.add(ke);const o=await J.getItem("live2dModel");if(o){n.value=o,z.value="file",d.value=!0;return}if(B.value){z.value="url",d.value=!0;return}d.value=!1}async function he(o,p){await e.value.motion(o,p,ze.FORCE)}const ge=De(()=>{e.value&&(e.value.x=t.width/2,e.value.y=t.height,u(e))},100),X=y(),N=y(0);function O(){if(e.value){const o=getComputedStyle(X.value).backgroundColor;P.value.color=Number(Te(o).replace("#","0x")),e.value.filters=[P.value]}}M([()=>t.width,()=>t.height],()=>ge()),M(j,O,{immediate:!0}),M([e,C],O);function Z(){O(),N.value=requestAnimationFrame(Z)}return M(A,()=>{A.value?N.value=requestAnimationFrame(Z):(cancelAnimationFrame(N.value),N.value=0)},{immediate:!0}),M(v,o=>R().setParameterValueById("ParamMouthOpenY",o)),M(l,pe),M(f,o=>he(o.group,o.index)),M(i,o=>{var p,F;o?(p=l.value)==null||p.stop():(F=l.value)==null||F.start()}),Be(d,o=>{o&&E()},{debounce:1e3}),ue(O),ce(()=>{var o;cancelAnimationFrame(N.value),e.value&&((o=l.value)==null||o.stage.removeChild(e.value))}),(o,p)=>(x(),_(Y,null,[a("div",{ref_key:"dropShadowColorComputer",ref:X,hidden:"",bg:"primary-400 dark:primary-500"},null,512),ve(o.$slots,"default")],64))}}),He=["onClick"],Je={flex:"~ row 1","items-center":"","gap-1.5":""},Ye={"p-4":""},qe={class:"space-y-4"},Xe={class:"flex items-center justify-between"},Ze={class:"flex items-center gap-1 text-sm font-medium"},Ge=["disabled","placeholder"],We=["disabled"],Ke={class:"flex items-center justify-between"},Qe={class:"flex items-center gap-1 text-sm font-medium"},et=["disabled"],tt=["onClick"],at={"p-4":""},it={key:0,class:"space-y-4"},nt={class:"flex items-center gap-1 text-sm font-medium"},ot={flex:"","gap-2":""},lt=["onUpdate:modelValue"],st=["disabled","onClick"],rt=["disabled"],dt=["href","download"],ut=["disabled"],ct={key:1},gt=q({__name:"Live2DSettings",setup(s){const{t}=Ne(),l=je({accept:"application/zip"}),i=me(),{live2dModelFile:e,live2dMotionMap:c,live2dLoadSource:m,loadingLive2dModel:v,availableLive2dMotions:j,live2dModelUrl:I}=fe(i),D=y(I.value);l.onChange(u=>{u&&u.length>0&&(c.value={},e.value=u[0],m.value="file",v.value=!0)}),M(()=>i.loadingLive2dModel,u=>{u||m.value==="file"&&j.value.forEach(n=>{n.motionName in K?c.value[n.fileName]=n.motionName:c.value[n.fileName]=Ce})});async function $(u,n){if(!Object.keys(n).length)return u;const f=await new Se().loadAsync(u),g=Object.keys(f.files).find(S=>S.endsWith("model3.json"));if(!g)throw new Error("model3.json not found");const z=await f.file(g).async("string"),B=JSON.parse(z),C={};Object.entries(n).forEach(([S,E])=>{if(C[E]){C[E].push({File:S});return}C[E]=[{File:S}]}),B.FileReferences.Motions=C,f.file(g,JSON.stringify(B,null,2));const A=await f.generateAsync({type:"blob"});return new File([A],u.name,{type:u.type,lastModified:u.lastModified})}async function P(){const u=await J.getItem("live2dModel");if(!u)return;const n=await $(u,c.value);e.value=n,m.value="file",v.value=!0}const R=Pe(e);return(u,n)=>(x(),_("div",null,[te(r(oe),{"w-full":"",default:!0},{trigger:V(d=>[a("button",{bg:"zinc-100 dark:zinc-800",hover:"bg-zinc-200 dark:bg-zinc-700",transition:"all ease-in-out duration-250","w-full":"",flex:"","items-center":"","gap-1.5":"","rounded-lg":"","px-4":"","py-3":"","outline-none":"",class:"[&_.provider-icon]:grayscale-100 [&_.provider-icon]:hover:grayscale-0",onClick:f=>d.setVisible(!d.visible)},[a("div",Je,[n[3]||(n[3]=a("div",{"i-solar:magic-stick-3-bold-duotone":"",class:"provider-icon size-6",transition:"filter duration-250 ease-in-out"},null,-1)),a("div",null,k(r(t)("settings.live2d.change-model.title")),1)]),a("div",{transform:"",transition:"transform duration-250",class:ie({"rotate-180":d.visible})},n[4]||(n[4]=[a("div",{"i-solar:alt-arrow-down-bold-duotone":""},null,-1)]),2)],8,He)]),default:V(()=>[a("div",Ye,[a("div",qe,[a("div",Xe,[a("div",null,[a("div",Ze,k(r(t)("settings.live2d.change-model.from-url")),1)]),a("div",null,[ae(a("input",{"onUpdate:modelValue":n[0]||(n[0]=d=>D.value=d),disabled:r(i).loadingLive2dModel,type:"text",rounded:"",border:"zinc-300 dark:zinc-800 solid 1 focus:zinc-400 dark:focus:zinc-600",transition:"border duration-250 ease-in-out","px-2":"","py-1":"","text-sm":"","outline-none":"",placeholder:r(t)("settings.live2d.change-model.from-url-placeholder")},null,8,Ge),[[Ae,D.value]]),a("button",{disabled:r(i).loadingLive2dModel,bg:"zinc-100 dark:zinc-800",hover:"bg-zinc-200 dark:bg-zinc-700",transition:"all ease-in-out duration-250","ml-2":"",rounded:"","px-2":"","py-1":"","text-sm":"","outline-none":"",onClick:n[1]||(n[1]=d=>I.value=D.value)},k(r(t)("settings.live2d.change-model.from-url-confirm")),9,We)])]),a("div",Ke,[a("div",null,[a("div",Qe,k(r(t)("settings.live2d.change-model.from-file")),1)]),a("button",{disabled:r(i).loadingLive2dModel,rounded:"",bg:"zinc-100 dark:zinc-800",hover:"bg-zinc-200 dark:bg-zinc-700",transition:"all ease-in-out duration-250","px-2":"","py-1":"","text-sm":"","outline-none":"",onClick:n[2]||(n[2]=d=>r(l).open())},k(r(t)("settings.live2d.change-model.from-file-select")),9,et)])])])]),_:1}),te(r(oe),{"mt-4":"","w-full":"",default:!0},{trigger:V(d=>[a("button",{bg:"zinc-100 dark:zinc-800",hover:"bg-zinc-200 dark:bg-zinc-700",transition:"all ease-in-out duration-250","w-full":"",flex:"","items-center":"","gap-1.5":"","rounded-lg":"","px-4":"","py-3":"","outline-none":"",class:"[&_.provider-icon]:grayscale-100 [&_.provider-icon]:hover:grayscale-0",onClick:f=>d.setVisible(!d.visible)},[n[6]||(n[6]=a("div",{flex:"~ row 1","items-center":"","gap-1.5":""},[a("div",{"i-solar:face-scan-circle-bold-duotone":"",class:"provider-icon size-6",transition:"filter duration-250 ease-in-out"}),a("div",null," Edit motion map ")],-1)),a("div",{transform:"",transition:"transform duration-250",class:ie({"rotate-180":d.visible})},n[5]||(n[5]=[a("div",{"i-solar:alt-arrow-down-bold-duotone":""},null,-1)]),2)],8,tt)]),default:V(()=>{var d;return[a("div",at,[r(i).live2dLoadSource==="file"?(x(),_("div",it,[(x(!0),_(Y,null,ne(r(i).availableLive2dMotions,f=>(x(),_("div",{key:f.fileName,class:"flex items-center justify-between"},[a("div",nt,k(f.fileName),1),a("div",ot,[ae(a("select",{"onUpdate:modelValue":g=>r(i).live2dMotionMap[f.fileName]=g},[(x(!0),_(Y,null,ne(Object.keys(r(K)),g=>(x(),_("option",{key:g},k(g),1))),128))],8,lt),[[Oe,r(i).live2dMotionMap[f.fileName]]]),a("button",{disabled:r(i).loadingLive2dModel,rounded:"",bg:"zinc-100 dark:zinc-800",hover:"bg-zinc-200 dark:bg-zinc-700",transition:"all ease-in-out duration-250","px-2":"","py-1":"","text-sm":"","outline-none":"",onClick:g=>r(i).live2dCurrentMotion={group:f.motionName,index:f.motionIndex}}," Play ",8,st)])]))),128)),a("button",{disabled:r(i).loadingLive2dModel,"w-full":"",rounded:"",bg:"zinc-100 dark:zinc-800",hover:"bg-zinc-200 dark:bg-zinc-700",transition:"all ease-in-out duration-250",onClick:P}," Save and patch ",8,rt),a("a",{"mt-2":"",block:"",href:r(R),download:`${(d=r(i).live2dModelFile)==null?void 0:d.name}-motion-edited.zip`},[a("button",{disabled:r(i).loadingLive2dModel,"w-full":"",rounded:"",bg:"zinc-100 dark:zinc-800",hover:"bg-zinc-200 dark:bg-zinc-700",transition:"all ease-in-out duration-250"}," Export ",8,ut)],8,dt)])):(x(),_("div",ct," Not available for URL model "))])]}),_:1})]))}});export{ht as _,pt as a,gt as b,se as r}; diff --git a/assets/MobileInteractiveArea.vue_vue_type_script_setup_true_lang-BbyH8rdQ.js b/assets/MobileInteractiveArea.vue_vue_type_script_setup_true_lang-BLy5yAnV.js similarity index 98% rename from assets/MobileInteractiveArea.vue_vue_type_script_setup_true_lang-BbyH8rdQ.js rename to assets/MobileInteractiveArea.vue_vue_type_script_setup_true_lang-BLy5yAnV.js index 77c0ecb5a4e7c765a856519e9a55c5a35b956b1c..7af1dd97231e797f7f394fe47e105da21a270661 100644 --- a/assets/MobileInteractiveArea.vue_vue_type_script_setup_true_lang-BbyH8rdQ.js +++ b/assets/MobileInteractiveArea.vue_vue_type_script_setup_true_lang-BLy5yAnV.js @@ -1,4 +1,4 @@ -var Gl=Object.defineProperty;var Kl=(e,t,n)=>t in e?Gl(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var Io=(e,t,n)=>Kl(e,typeof t!="symbol"?t+"":t,n);import{E as ql,V as Yl,a as Wl,b as Xl,r as Zl,d as _i,e as Ql,f as So,g as Jl,h as eu,i as tu,s as nu,j as ru,k as iu}from"./Stage.vue_vue_type_style_index_0_scoped_cad77b27_lang-D1cRHv6j.js";import{g as ou}from"./index-DAkLbdaC.js";import{aj as _r,g as H,h as Se,v as Er,ak as au,d as Ae,al as su,am as lu,D as Xi,w as je,p as Ut,c as ee,o as Y,f as Qe,an as uu,x as dt,y as An,j as Ge,k as ke,b as ye,a as P,q as zt,A as At,C as Mr,m as Ve,t as ue,ao as Bt,ap as Yt,S as _n,aq as Ir,N as rs,ar as gr,L as Mt,e as F,as as cu,at as fe,au as Ro,av as yr,aw as vn,ax as We,ay as Wt,az as du,aA as is,aB as Un,aC as Zi,aD as it,aE as os,aF as as,aG as Qi,aH as jn,aI as fu,aJ as Ji,aK as pu,aL as ss,aM as $t,aN as eo,aO as Zt,aP as hu,aQ as ls,aR as ln,aS as us,a6 as cs,aT as mu,B as ds,aU as gu,a4 as _t,aV as Sr,O as yu,P as vu,aW as bu,aX as an,aY as xu,aZ as wu,a_ as ku,a$ as Tu,b0 as zr,b1 as vr,b2 as Ei,b3 as rn,b4 as fs,b5 as Mi,b6 as gn,b7 as Co,b8 as on,b9 as yn,ba as Ur,bb as Au,bc as _u,bd as Eu,be as Mu,bf as ps,bg as hs,bh as br,bi as ms,bj as to,bk as xr,bl as gs,bm as Iu,n as wr,bn as Su,bo as Ii,bp as ys,bq as Ru,br as Fn,bs as vs,bt as Ot,bu as jt,bv as $n,bw as Cu,bx as Ou,by as Pu,bz as Lu,bA as Du,bB as no,bC as Nu,bD as Fu,bE as Bu,bF as $r,bG as zu,bH as bs,bI as Uu,bJ as $u,bK as ju,bL as Hu,bM as Vu,bN as jr,bO as Gu,bP as Ku,bQ as qu,bR as Oo,bS as Po,bT as Lo,bU as Do,bV as Yu,bW as Wu,bX as Xu,bY as Zu,bZ as Qu,_ as Rr,G as Ju,b_ as ro,b$ as ec,a9 as tc,c0 as nc,c1 as rc,c2 as xs,a1 as Et,z as ws,F as sn,E as bn,c3 as ic,c4 as Hr,T as Si,i as ks,a7 as oc,U as Qt,a8 as ac,a3 as pr,a0 as sc,ah as lc,c5 as io,Z as Cr,a2 as No,c6 as uc,c7 as Hn,ab as cc,aa as dc,c8 as fc,c9 as pc,a5 as hc,ae as Ts,ca as mc,cb as gc,cc as yc,cd as vc,ce as Fo,cf as bc,W as xc,X as wc,J as kc,cg as Tc,M as Bo,H as zo}from"./index-DCtIztPb.js";import{u as Vr}from"./queue-DBj3aeDb.js";import{b as Ac,a as _c,u as Ec,l as Mc,_ as As}from"./queues-DYg2fUVu.js";import{u as Ic}from"./speech-DvCNA68i.js";import{r as Sc,a as Rc,b as Cc,c as Oc,l as Pc,u as Or}from"./providers-DAM1M9Uz.js";import{_ as Lc,a as Dc,r as Cn,b as Nc}from"./Live2DSettings.vue_vue_type_script_setup_true_lang-BwuKTm2c.js";import{_ as oo}from"./TransitionVertical.vue_vue_type_script_setup_true_lang-BDRTDJzZ.js";import{_ as Ri}from"./Collapsable.vue_vue_type_script_setup_true_lang-CWAVErwd.js";import{H as Fc,L as Bc,a as zc}from"./HeaderLink-BDfJutS0.js";import{u as _s}from"./consciousness-vmuqaC3X.js";import{d as Uo}from"./index-D1subIJf.js";async function*Uc(e,t){const n=e.getReader();try{for(;;){const{done:r,value:i}=await n.read();if(r)return;yield t(i)}}finally{n.releaseLock()}}function $c(e){const t=new Uint8Array(e.frequencyBinCount);e.getByteFrequencyData(t);const n=[];for(let i=0;i<700;i+=80)n.push(t[i]);return t.map(i=>i**1.2).map(i=>i*1.2).reduce((i,o)=>i+o,0)/t.length/100}function jc(e){const t=new Uint8Array(e.frequencyBinCount);e.getByteFrequencyData(t);const n=[];for(let u=0;u<700;u+=80)n.push(t[u]);const r=t.map(u=>u**1.5),i=Math.min(...r),a=Math.max(...r)-i;let s;return a===0?s=r.map(()=>0):s=r.map(u=>(u-i)/a),s.reduce((u,c)=>u+c,0)/t.length}function Hc(e,t="linear"){switch(t){case"linear":return $c(e);case"minmax":return jc(e)}}const Es=_r("AudioContext",()=>({audioContext:new AudioContext,calculateVolume:Hc})),Vc=_r("SpeakingStore",()=>{const n=H(0),r=H(!1),i=Se(()=>r.value?(30+70*n.value)/100:30);return{mouthOpenSize:n,nowSpeaking:r,nowSpeakingAvatarBorderOpacity:i}});function Zn(e,t,n){return t+n<0||t+n>=e.length-1?"":e[t+n]}function Gc(e){let t="literal",n="";return{async consume(r){var i,o,a;for(let s=0;s"?(l+=Zn(r,s,1),u="literal",s++):l==="<"?u="special":l===">"&&(u="literal"),t==="literal"&&u==="special"?n!==""&&(await((i=e.onLiteral)==null?void 0:i.call(e,n)),n=""):t==="special"&&u==="literal"&&n!==""&&(n+=l,await((o=e.onSpecial)==null?void 0:o.call(e,n)),n=""),t==="literal"&&u==="literal"?(await((a=e.onLiteral)==null?void 0:a.call(e,l)),n=""):t==="special"&&u==="literal"?n="":n+=l,t=u}},async end(){var r,i;n!==""&&(t==="literal"?await((r=e.onLiteral)==null?void 0:r.call(e,n)):n.endsWith("|>")&&await((i=e.onSpecial)==null?void 0:i.call(e,n)))}}}function Kc(e,t){return{role:"system",content:[e,ql.map(n=>`- ${n}`).join(` +var Gl=Object.defineProperty;var Kl=(e,t,n)=>t in e?Gl(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var Io=(e,t,n)=>Kl(e,typeof t!="symbol"?t+"":t,n);import{E as ql,V as Yl,a as Wl,b as Xl,r as Zl,d as _i,e as Ql,f as So,g as Jl,h as eu,i as tu,s as nu,j as ru,k as iu}from"./Stage.vue_vue_type_style_index_0_scoped_cad77b27_lang-BvkGrZE5.js";import{g as ou}from"./index-DR07td9u.js";import{ai as _r,g as H,h as Se,v as Er,aj as au,d as Ae,ak as su,al as lu,D as Xi,w as je,p as Ut,c as ee,o as Y,f as Qe,am as uu,x as dt,y as An,j as Ge,k as ke,b as ye,a as P,q as zt,A as At,C as Mr,m as Ve,t as ue,an as Bt,ao as Yt,Q as _n,ap as Ir,M as rs,aq as gr,L as Mt,e as F,ar as cu,as as fe,at as Ro,au as yr,av as vn,aw as We,ax as Wt,ay as du,az as is,aA as Un,aB as Zi,aC as it,aD as os,aE as as,aF as Qi,aG as jn,aH as fu,aI as Ji,aJ as pu,aK as ss,aL as $t,aM as eo,aN as Zt,aO as hu,aP as ls,aQ as ln,aR as us,a5 as cs,aS as mu,B as ds,aT as gu,a3 as _t,aU as Sr,N as yu,O as vu,aV as bu,aW as an,aX as xu,aY as wu,aZ as ku,a_ as Tu,a$ as zr,b0 as vr,b1 as Ei,b2 as rn,b3 as fs,b4 as Mi,b5 as gn,b6 as Co,b7 as on,b8 as yn,b9 as Ur,ba as Au,bb as _u,bc as Eu,bd as Mu,be as ps,bf as hs,bg as br,bh as ms,bi as to,bj as xr,bk as gs,bl as Iu,n as wr,bm as Su,bn as Ii,bo as ys,bp as Ru,bq as Fn,br as vs,bs as Ot,bt as jt,bu as $n,bv as Cu,bw as Ou,bx as Pu,by as Lu,bz as Du,bA as no,bB as Nu,bC as Fu,bD as Bu,bE as $r,bF as zu,bG as bs,bH as Uu,bI as $u,bJ as ju,bK as Hu,bL as Vu,bM as jr,bN as Gu,bO as Ku,bP as qu,bQ as Oo,bR as Po,bS as Lo,bT as Do,bU as Yu,bV as Wu,bW as Xu,bX as Zu,bY as Qu,_ as Rr,G as Ju,bZ as ro,b_ as ec,a8 as tc,b$ as nc,c0 as rc,c1 as xs,a0 as Et,z as ws,F as sn,E as bn,c2 as ic,c3 as Hr,T as Si,i as ks,a6 as oc,S as Qt,a7 as ac,a2 as pr,$ as sc,ag as lc,c4 as io,Y as Cr,a1 as No,c5 as uc,c6 as Hn,aa as cc,a9 as dc,c7 as fc,c8 as pc,a4 as hc,ad as Ts,c9 as mc,ca as gc,cb as yc,cc as vc,cd as Fo,ce as bc,V as xc,W as wc,J as kc,cf as Tc,K as Bo,H as zo}from"./index-CGdx-Gsw.js";import{u as Vr}from"./queue-6CGaUIQf.js";import{b as Ac,a as _c,u as Ec,l as Mc,_ as As}from"./queues-DxSAefs-.js";import{u as Ic}from"./speech-Bm3HIPgP.js";import{r as Sc,a as Rc,b as Cc,c as Oc,l as Pc,u as Or}from"./providers-ztBzqPgb.js";import{_ as Lc,a as Dc,r as Cn,b as Nc}from"./Live2DSettings.vue_vue_type_script_setup_true_lang-ConbZwCE.js";import{_ as oo}from"./TransitionVertical.vue_vue_type_script_setup_true_lang-DIGllfwe.js";import{_ as Ri}from"./Collapsable.vue_vue_type_script_setup_true_lang-t6VABIns.js";import{H as Fc,L as Bc,a as zc}from"./HeaderLink-C4uzPeCq.js";import{u as _s}from"./consciousness-DlNDB_GZ.js";import{d as Uo}from"./index-DeVJLqDu.js";async function*Uc(e,t){const n=e.getReader();try{for(;;){const{done:r,value:i}=await n.read();if(r)return;yield t(i)}}finally{n.releaseLock()}}function $c(e){const t=new Uint8Array(e.frequencyBinCount);e.getByteFrequencyData(t);const n=[];for(let i=0;i<700;i+=80)n.push(t[i]);return t.map(i=>i**1.2).map(i=>i*1.2).reduce((i,o)=>i+o,0)/t.length/100}function jc(e){const t=new Uint8Array(e.frequencyBinCount);e.getByteFrequencyData(t);const n=[];for(let u=0;u<700;u+=80)n.push(t[u]);const r=t.map(u=>u**1.5),i=Math.min(...r),a=Math.max(...r)-i;let s;return a===0?s=r.map(()=>0):s=r.map(u=>(u-i)/a),s.reduce((u,c)=>u+c,0)/t.length}function Hc(e,t="linear"){switch(t){case"linear":return $c(e);case"minmax":return jc(e)}}const Es=_r("AudioContext",()=>({audioContext:new AudioContext,calculateVolume:Hc})),Vc=_r("SpeakingStore",()=>{const n=H(0),r=H(!1),i=Se(()=>r.value?(30+70*n.value)/100:30);return{mouthOpenSize:n,nowSpeaking:r,nowSpeakingAvatarBorderOpacity:i}});function Zn(e,t,n){return t+n<0||t+n>=e.length-1?"":e[t+n]}function Gc(e){let t="literal",n="";return{async consume(r){var i,o,a;for(let s=0;s"?(l+=Zn(r,s,1),u="literal",s++):l==="<"?u="special":l===">"&&(u="literal"),t==="literal"&&u==="special"?n!==""&&(await((i=e.onLiteral)==null?void 0:i.call(e,n)),n=""):t==="special"&&u==="literal"&&n!==""&&(n+=l,await((o=e.onSpecial)==null?void 0:o.call(e,n)),n=""),t==="literal"&&u==="literal"?(await((a=e.onLiteral)==null?void 0:a.call(e,l)),n=""):t==="special"&&u==="literal"?n="":n+=l,t=u}},async end(){var r,i;n!==""&&(t==="literal"?await((r=e.onLiteral)==null?void 0:r.call(e,n)):n.endsWith("|>")&&await((i=e.onSpecial)==null?void 0:i.call(e,n)))}}}function Kc(e,t){return{role:"system",content:[e,ql.map(n=>`- ${n}`).join(` `),t].join(` `)}}var qc=async e=>{var t;return(e.fetch??globalThis.fetch)(Sc("chat/completions",e.baseURL),{body:Cc({...e,tools:(t=e.tools)==null?void 0:t.map(n=>({function:n.function,type:"function"}))}),headers:Rc({"Content-Type":"application/json",...e.headers},e.apiKey),method:"POST",signal:e.abortSignal}).then(Oc)},Yc=({finishReason:e,maxSteps:t,stepsLength:n,toolCallsLength:r})=>{if(n===0)return"initial";if(n0&&e==="tool_calls")return"tool-result";if(!["error","length"].includes(e))return"continue"}return"done"},Wc=e=>typeof e=="string"||Array.isArray(e)&&e.every(t=>!!(typeof t=="object"&&"type"in t&&["audio","image","text"].includes(t.type)))?e:JSON.stringify(e),Xc=async({abortSignal:e,messages:t,toolCall:n,tools:r})=>{const i=r==null?void 0:r.find(s=>s.function.name===n.function.name);if(!i){const s=r==null?void 0:r.map(u=>u.function.name),l=s==null||s.length===0?"No tools are available.":`Available tools: ${s.join(", ")}.`;throw new Error(`Model tried to call unavailable tool '${n.function.name}. ${l}.`)}const o=JSON.parse(n.function.arguments),a=Wc(await i.execute(o,{abortSignal:e,messages:t,toolCallId:n.id}));return{parsedArgs:o,result:a,toolName:n.function.name}},Gr=class extends Error{constructor(t,n){super(t);Io(this,"response");this.name="XSAIError",this.response=n}},$o="data:",Zc=e=>{if(!e||!e.startsWith($o))return[void 0,!1];const t=e.slice($o.length),n=t.startsWith(" ")?t.slice(1):t;if(n==="[DONE]")return[void 0,!0];if(n.startsWith("{")&&n.includes('"error":'))throw new Error(`Error from server: ${n}`);return[JSON.parse(n),!1]},Qc=async e=>{let t,n,r;const i=new ReadableStream({start(f){t=f}}),o=new ReadableStream({start(f){n=f}}),a=new ReadableStream({start(f){r=f}}),s=e.maxSteps??1,l=new TextDecoder,u=[],c=async f=>{var E,T,S;const p={choices:[],finishReason:"error",messages:structuredClone(f.messages),stepType:"initial",toolCalls:[],toolResults:[]},h={};let v="",y=!0;const x=(C,m)=>{if(C.endedToolCallIDs.has(m))return;const M=p.choices[C.index].message.tool_calls[m];try{M.function.parsed_arguments=JSON.parse(M.function.arguments)}catch(w){C.toolCallErrors[m]=w}C.endedToolCallIDs.add(m),C.currentToolID=null};if(await qc({...f,stream:!0}).then(async C=>C.body.pipeThrough(new TransformStream({transform:async(m,M)=>{const w=l.decode(m,{stream:!0});v+=w;const b=v.split(` diff --git a/assets/ProviderBaseUrlInput.vue_vue_type_script_setup_true_lang-Rq7sGR-H.js b/assets/ProviderBaseUrlInput.vue_vue_type_script_setup_true_lang-Rq7sGR-H.js new file mode 100644 index 0000000000000000000000000000000000000000..b08b866c4f92e8c39603370c06edf0e2e4cf80f8 --- /dev/null +++ b/assets/ProviderBaseUrlInput.vue_vue_type_script_setup_true_lang-Rq7sGR-H.js @@ -0,0 +1 @@ +import{_ as f}from"./Collapsable.vue_vue_type_script_setup_true_lang-t6VABIns.js";import"./Stage.vue_vue_type_style_index_0_scoped_cad77b27_lang-BvkGrZE5.js";import{d as m,g as x,j as v,o as i,e as _,k as u,a as e,f as g,t as r,q as h,h as b,c,A as k,K as V,m as w,H as y}from"./index-CGdx-Gsw.js";const B=["onClick"],C={class:"text-lg text-neutral-500 md:text-2xl dark:text-neutral-400"},$={"mt-4":""},T=m({__name:"ProviderAdvancedSettings",props:{title:null,initialVisible:{type:Boolean}},setup(t){const o=x(t.initialVisible||!1);function s(){o.value=!o.value}return(n,a)=>(i(),v(_(f),{"w-full":""},{trigger:u(l=>[e("button",{transition:"all ease-in-out duration-250","w-full":"",flex:"","items-center":"","gap-1.5":"","outline-none":"",class:"[&_.provider-icon]:grayscale-100 [&_.provider-icon]:hover:grayscale-0",onClick:()=>l.setVisible(!l.visible)&&s()},[e("h2",C,[e("span",null,r(t.title||"Advanced"),1)]),e("div",{transform:"",transition:"transform duration-250",class:h({"rotate-180":l.visible})},a[0]||(a[0]=[e("div",{"i-solar:alt-arrow-down-bold-duotone":""},null,-1)]),2)],8,B)]),default:u(()=>[e("div",$,[g(n.$slots,"default")])]),_:3}))}}),U={flex:"~ col gap-4"},q={class:"flex items-center gap-1 text-sm font-medium"},A={key:0,class:"text-red-500"},N={class:"text-xs text-neutral-500 dark:text-neutral-400","text-nowrap":""},S=["placeholder"],j=m({__name:"ProviderBaseUrlInput",props:{modelValue:null,placeholder:null,required:{type:Boolean},label:null,description:null},emits:["update:modelValue"],setup(t,{emit:d}){const o=t,s=d,n=b({get:()=>o.modelValue,set:a=>s("update:modelValue",a)});return(a,l)=>(i(),c("label",U,[e("div",null,[e("div",q,[V(r(t.label||"Base URL")+" ",1),t.required?(i(),c("span",A,"*")):w("",!0)]),e("div",N,r(t.description||"Custom base URL (optional)"),1)]),k(e("input",{"onUpdate:modelValue":l[0]||(l[0]=p=>n.value=p),type:"text",border:"neutral-200 dark:neutral-800 solid 2 focus:neutral-400 dark:focus:neutral-600",transition:"all duration-250 ease-in-out","w-full":"","rounded-lg":"","px-2":"","py-1":"","text-nowrap":"","text-sm":"","outline-none":"",bg:"neutral-100 dark:neutral-800 focus:white dark:focus:neutral-700",placeholder:t.placeholder},null,8,S),[[y,n.value]])]))}});export{T as _,j as a}; diff --git a/assets/ProviderSettingsLayout.vue_vue_type_script_setup_true_lang-Cz54lBh2.js b/assets/ProviderSettingsLayout.vue_vue_type_script_setup_true_lang-Cz54lBh2.js new file mode 100644 index 0000000000000000000000000000000000000000..fc9dc632d5da04c01914de5de3eface54c3e38e3 --- /dev/null +++ b/assets/ProviderSettingsLayout.vue_vue_type_script_setup_true_lang-Cz54lBh2.js @@ -0,0 +1 @@ +import{d,h as f,c as o,o as a,a as t,A as v,K as k,m as x,t as s,H as g,f as u,z as h,q as y,F as _}from"./index-CGdx-Gsw.js";const b={"max-w-full":""},$={flex:"~ col gap-4"},w={class:"flex items-center gap-1 text-sm font-medium"},B={key:0,class:"text-red-500"},C={class:"text-xs text-neutral-500 dark:text-neutral-400","text-nowrap":""},V=["placeholder"],j=d({__name:"ProviderApiKeyInput",props:{modelValue:null,providerName:null,placeholder:null,required:{type:Boolean},label:null,description:null},emits:["update:modelValue"],setup(e,{emit:l}){const n=e,r=l,i=f({get:()=>n.modelValue,set:c=>r("update:modelValue",c)});return(c,m)=>(a(),o("div",b,[t("label",$,[t("div",null,[t("div",w,[k(s(e.label||"API Key")+" ",1),e.required!==!1?(a(),o("span",B,"*")):x("",!0)]),t("div",C,s(e.description||`API Key for ${e.providerName}`),1)]),v(t("input",{"onUpdate:modelValue":m[0]||(m[0]=p=>i.value=p),type:"password",border:"neutral-200 dark:neutral-800 solid 2 focus:neutral-400 dark:focus:neutral-600",transition:"all duration-250 ease-in-out","w-full":"","rounded-lg":"","px-2":"","py-1":"","text-nowrap":"","text-sm":"","outline-none":"",bg:"neutral-100 dark:neutral-800 focus:white dark:focus:neutral-700",placeholder:e.placeholder},null,8,V),[[g,i.value]])])]))}}),I={flex:"~ col gap-6"},N={flex:"~ row","items-center":"","justify-between":""},P={class:"text-lg text-neutral-500 md:text-2xl dark:text-neutral-400"},R={text:"neutral-400 dark:neutral-500"},z=d({__name:"ProviderBasicSettings",props:{title:null,description:null,onReset:{type:Function}},setup(e){return(l,n)=>(a(),o("div",I,[t("div",N,[t("div",null,[t("h2",P,s(e.title||"Basic"),1),t("div",R,[t("span",null,s(e.description||"Essential settings"),1)])]),e.onReset?(a(),o("button",{key:0,title:"Reset settings",flex:"","items-center":"","justify-center":"","rounded-full":"","p-2":"",transition:"all duration-250 ease-in-out",text:"neutral-500 dark:neutral-400",bg:"transparent dark:transparent hover:neutral-200 dark:hover:neutral-800 active:neutral-300 dark:active:neutral-700",onClick:n[0]||(n[0]=(...r)=>e.onReset&&e.onReset(...r))},n[1]||(n[1]=[t("div",{"i-solar:refresh-bold-duotone":"","text-xl":""},null,-1)]))):x("",!0)]),u(l.$slots,"default")]))}}),S={bg:"neutral-50 dark:[rgba(0,0,0,0.3)]","rounded-xl":"","p-4":"",flex:"~ col gap-6"},E=d({__name:"ProviderSettingsContainer",setup(e){return(l,n)=>(a(),o("div",S,[u(l.$slots,"default")]))}}),A={flex:"~ row","items-center":"","gap-2":"",initial:{opacity:0,x:10},enter:{opacity:1,x:0},leave:{opacity:0,x:-10},duration:250},F={relative:""},K={"text-3xl":"","font-semibold":""},q={text:"neutral-100/50 dark:neutral-500/20","pointer-events-none":"",fixed:"","bottom-0":"","right-0":"","translate-x-10":"","translate-y-10":""},T=d({__name:"ProviderSettingsLayout",props:{providerName:null,providerIcon:null,providerIconColor:null,onBack:{type:Function}},setup(e){return(l,n)=>{const r=h("motion");return a(),o(_,null,[v((a(),o("div",A,[t("button",{onClick:n[0]||(n[0]=(...i)=>e.onBack&&e.onBack(...i))},n[1]||(n[1]=[t("div",{"i-solar:alt-arrow-left-line-duotone":"","text-2xl":""},null,-1)])),t("h1",F,[n[2]||(n[2]=t("div",{absolute:"","left-0":"","top-0":"","translate-y":"[-80%]"},[t("span",{text:"neutral-300 dark:neutral-500"},"Provider")],-1)),t("div",K,s(e.providerName),1)])])),[[r]]),u(l.$slots,"default"),t("div",q,[t("div",{text:"40",class:y(e.providerIcon||e.providerIconColor)},null,2)])],64)}}});export{E as _,z as a,j as b,T as c}; diff --git a/assets/RadioCardDetailManySelect.vue_vue_type_script_setup_true_lang-VOFvQ03c.js b/assets/RadioCardDetailManySelect.vue_vue_type_script_setup_true_lang-BeHCf9lv.js similarity index 98% rename from assets/RadioCardDetailManySelect.vue_vue_type_script_setup_true_lang-VOFvQ03c.js rename to assets/RadioCardDetailManySelect.vue_vue_type_script_setup_true_lang-BeHCf9lv.js index c41c61db72f732408ebf6f0669a133dbff0a268c..1c51b3dc56f6cdb01fd06c22413d1d7d409c2687 100644 --- a/assets/RadioCardDetailManySelect.vue_vue_type_script_setup_true_lang-VOFvQ03c.js +++ b/assets/RadioCardDetailManySelect.vue_vue_type_script_setup_true_lang-BeHCf9lv.js @@ -1 +1 @@ -import{d as k,g as b,c as o,o as l,q as r,a as t,m as v,t as s,b as C,k as $,J as y,_ as w,h as I,A as B,H as R,F as S,E as T,j as z}from"./index-DCtIztPb.js";import"./Stage.vue_vue_type_style_index_0_scoped_cad77b27_lang-D1cRHv6j.js";import{_ as E}from"./TransitionVertical.vue_vue_type_script_setup_true_lang-BDRTDJzZ.js";const N=["checked","name","value"],D={class:"relative mr-3 mt-0.5 flex-shrink-0"},P={class:"w-full flex flex-col gap-2"},L={class:"flex items-center"},j={key:0,class:"relative"},q=["title"],M={key:1,class:"mt-2"},U=["value","placeholder"],F=k({__name:"RadioCardDetail",props:{id:null,name:null,value:null,title:null,description:null,modelValue:null,deprecated:{type:Boolean,default:!1},showExpandCollapse:{type:Boolean,default:!0},expandCollapseThreshold:{default:100},customInputValue:{default:""},customInputPlaceholder:{default:""},showCustomInput:{type:Boolean,default:!1}},emits:["update:modelValue","update:customInputValue"],setup(e,{emit:f}){const d=f,c=b(!1);function n(){c.value=!c.value}function m(x){const u=x.target;d("update:customInputValue",u.value)}return(x,u)=>(l(),o("label",{key:e.id,class:r(["form_radio-card-detail relative flex cursor-pointer items-start rounded-xl p-3 pr-[20px]",[e.modelValue===e.value?"bg-primary-50 dark:bg-primary-900/20 border-primary-100 dark:border-primary-900 hover:border-primary-500/30 dark:hover:border-primary-400/30":"bg-white dark:bg-neutral-900/20 border-neutral-100 dark:border-neutral-700 hover:border-primary-500/30 dark:hover:border-primary-400/30",e.modelValue===e.value?"form_radio-card-detail-active":"",e.deprecated?"opacity-60":""]]),transition:"all duration-200 ease-in-out",border:"2 solid"},[t("input",{checked:e.modelValue===e.value,type:"radio",name:e.name,value:e.value,class:"absolute opacity-0",onChange:u[0]||(u[0]=g=>x.$emit("update:modelValue",e.value))},null,40,N),t("div",D,[t("div",{class:r(["size-5 border-2 rounded-full transition-colors duration-200",[e.modelValue===e.value?"border-primary-500 dark:border-primary-400":"border-neutral-300 dark:border-neutral-600"]])},[t("div",{class:r(["absolute left-1/2 top-1/2 size-3 rounded-full transition-opacity duration-200 -translate-x-1/2 -translate-y-1/2",[e.modelValue===e.value?"opacity-100 bg-primary-500 dark:bg-primary-400":"opacity-0"]])},null,2)],2)]),t("div",P,[t("div",L,[t("span",{class:r(["line-clamp-1 font-medium",[e.modelValue===e.value?"text-neutral-700 dark:text-neutral-300":"text-neutral-700 dark:text-neutral-400"]])},s(e.title),3)]),e.description?(l(),o("div",j,[C(E,null,{default:$(()=>[c.value?(l(),o("div",{key:1,class:r(["cursor-pointer text-xs",[e.modelValue===e.value?"text-neutral-600 dark:text-neutral-400":"text-neutral-500 dark:text-neutral-500"]]),onClick:y(n,["prevent"])},s(e.description),3)):(l(),o("div",{key:0,class:r(["line-clamp-2 cursor-pointer text-xs",[e.modelValue===e.value?"text-neutral-600 dark:text-neutral-400":"text-neutral-500 dark:text-neutral-500"]]),title:e.description,onClick:y(n,["prevent"])},s(e.description),11,q))]),_:1}),e.showExpandCollapse&&e.description.length>e.expandCollapseThreshold?(l(),o("button",{key:0,class:"text-primary-500 dark:text-primary-400 mt-0.5 inline-flex items-center text-xs",onClick:y(n,["prevent"])},[t("span",null,s(c.value?"Show less":"Show more"),1),t("div",{class:r([{"rotate-180":c.value},"transition-transform duration-200"])},u[1]||(u[1]=[t("div",{"i-solar:alt-arrow-down-bold-duotone":"","ml-0.5":"","text-xs":""},null,-1)]),2)])):v("",!0)])):v("",!0),e.showCustomInput&&e.modelValue===e.value?(l(),o("div",M,[t("input",{value:e.customInputValue,type:"text",class:"w-full border border-neutral-300 rounded bg-white px-2 py-1 text-sm dark:border-neutral-700 dark:bg-neutral-900",placeholder:e.customInputPlaceholder,onInput:m},null,40,U)])):v("",!0)])],2))}}),A=w(F,[["__scopeId","data-v-3b099adf"]]),H=["checked","name","value"],J={flex:"~ col","min-h-16":"","w-full":"","items-start":"","justify-center":"","pb-2":"","pl-5":"","pr-4":"","pt-2":""},Q=k({__name:"RadioCardSimple",props:{id:null,name:null,value:null,title:null,description:null,modelValue:null},emits:["update:modelValue"],setup(e){return(f,d)=>(l(),o("label",{key:e.id,border:"2px solid",class:r(["form_radio-card-simple relative",[e.modelValue===e.value?"bg-primary-50 dark:bg-primary-900/20 border-primary-100 dark:border-primary-900 hover:border-primary-500/30 dark:hover:border-primary-400/30":"bg-white dark:bg-neutral-900/20 border-neutral-100 dark:border-neutral-700 hover:border-primary-500/30 dark:hover:border-primary-400/30",e.modelValue===e.value?"form_radio-card-simple-active":""]]),transition:"all duration-200 ease-in-out",flex:"~ col",block:"","min-w-50":"","w-fit":"","cursor-pointer":"","items-start":"","rounded-xl":"","p-4":"","text-left":""},[t("input",{checked:e.modelValue===e.value,type:"radio",name:e.name,value:e.value,class:"[&:checked+div]:border-primary-500 dark:[&:checked+div]:border-primary-400 absolute opacity-0 [&:checked+div_.radio-dot]:opacity-100",onChange:d[0]||(d[0]=c=>f.$emit("update:modelValue",e.value))},null,40,H),d[1]||(d[1]=t("div",{class:"radio-circle absolute left-2 top-2 size-5 rounded-full",border:"2 solid neutral-300 dark:neutral-600",transition:"all duration-200 ease-in-out"},[t("div",{class:"radio-dot absolute left-1/2 top-1/2 size-3 rounded-full opacity-0 -translate-x-1/2 -translate-y-1/2",transition:"all duration-200 ease-in-out",bg:"primary-500 dark:primary-400"})],-1)),t("div",J,[t("span",{class:r(["radio-item-name font-bold",[e.modelValue===e.value?"text-neutral-700 dark:text-neutral-300":"text-neutral-500 dark:text-neutral-500"]]),text:"md",transition:"all duration-200 ease-in-out"},s(e.title),3),e.description?(l(),o("span",{key:0,class:r(["radio-item-description",[e.modelValue===e.value?"text-neutral-600 dark:text-neutral-400":"text-neutral-400 dark:text-neutral-600"]]),transition:"all duration-200 ease-in-out"},s(e.description),3)):v("",!0)]),d[2]||(d[2]=t("div",{class:"bg-dotted-neutral-200/80 dark:bg-dotted-neutral-700/50 [input:checked~&]:bg-dotted-primary-300/50 dark:[input:checked~&]:bg-dotted-primary-200/20",absolute:"","inset-0":"","z--1":"",style:{"background-size":"10px 10px","mask-image":"linear-gradient(165deg, white 30%, transparent 50%)"}},null,-1))],2))}}),oe=w(Q,[["__scopeId","data-v-7daf4ec0"]]),G={class:"radio-card-detail-many-select"},K={key:0,class:"relative"},O=["placeholder"],W={class:"mt-4 space-y-2"},X={key:0,class:"text-sm text-neutral-500 dark:text-neutral-400"},Y={key:1,class:"flex items-center gap-3 border border-2 border-amber-200 rounded-xl bg-amber-50 p-4 dark:border-amber-800 dark:bg-amber-900/20"},Z={class:"flex flex-col"},_={class:"font-medium"},ee={class:"text-sm text-amber-600 dark:text-amber-400"},te={class:"relative"},ne=k({__name:"RadioCardDetailManySelect",props:{items:null,modelValue:null,searchable:{type:Boolean,default:!0},searchPlaceholder:{default:"Search..."},searchNoResultsTitle:{default:"No results found"},searchNoResultsDescription:{default:"Try a different search term"},searchResultsText:{default:"{count} of {total} results"},customInputPlaceholder:{default:"Enter custom value"},expandButtonText:{default:"Show more"},collapseButtonText:{default:"Show less"}},emits:["update:modelValue","update:customValue"],setup(e,{emit:f}){const d=e,c=f,n=b(""),m=b(!1),x=b(""),u=I(()=>{if(!n.value)return d.items;const p=n.value.toLowerCase();return d.items.filter(a=>a.name.toLowerCase().includes(p)||a.description&&a.description.toLowerCase().includes(p))});function g(){n.value=""}function V(p){x.value=p,c("update:customValue",p)}return(p,a)=>(l(),o("div",G,[e.searchable?(l(),o("div",K,[a[5]||(a[5]=t("div",{class:"pointer-events-none absolute inset-y-0 left-0 flex items-center pl-3"},[t("div",{"i-solar:magnifer-line-duotone":"",class:"text-neutral-500 dark:text-neutral-400"})],-1)),B(t("input",{"onUpdate:modelValue":a[0]||(a[0]=i=>n.value=i),type:"search",class:"w-full rounded-xl p-2.5 pl-10 text-sm outline-none",border:"focus:primary-100 dark:focus:primary-900 ~ neutral-200 dark:neutral-800 2",transition:"all duration-200 ease-in-out",ring:"focus:primary-500 dark:focus:primary-400 0 focus:2 focus:offset-0 focus:opacity-50",bg:"white dark:neutral-900",placeholder:e.searchPlaceholder},null,8,O),[[R,n.value]]),n.value?(l(),o("button",{key:0,type:"button",class:"absolute inset-y-0 right-0 flex items-center pr-3",onClick:g},a[4]||(a[4]=[t("div",{"i-solar:close-circle-line-duotone":"",class:"text-neutral-500 dark:text-neutral-400 hover:text-neutral-700 dark:hover:text-neutral-200"},null,-1)]))):v("",!0)])):v("",!0),t("div",W,[n.value?(l(),o("div",X,s(e.searchResultsText.replace("{count}",u.value.length.toString()).replace("{total}",e.items.length.toString())),1)):v("",!0),n.value&&u.value.length===0?(l(),o("div",Y,[a[6]||(a[6]=t("div",{"i-solar:info-circle-line-duotone":"",class:"text-2xl text-amber-500 dark:text-amber-400"},null,-1)),t("div",Z,[t("span",_,s(e.searchNoResultsTitle),1),t("span",ee,s(e.searchNoResultsDescription.replace("{query}",n.value)),1)])])):v("",!0),t("div",te,[t("div",{class:r(["scrollbar-hide grid auto-cols-[350px] grid-flow-col gap-4 overflow-x-auto pb-4",[m.value?"grid-cols-1 md:grid-cols-2 grid-flow-row auto-cols-auto":""]]),transition:"all duration-200 ease-in-out",style:{"scroll-snap-type":"x mandatory"}},[(l(!0),o(S,null,T(u.value,i=>(l(),z(A,{id:i.id,key:i.id,value:i.id,title:i.name,description:i.description,deprecated:i.deprecated,"show-expand-collapse":!0,"expand-collapse-threshold":100,"show-custom-input":i.customizable,"custom-input-value":x.value,"custom-input-placeholder":e.customInputPlaceholder,"model-value":e.modelValue,name:"radio-card-detail-many-select",class:"scroll-snap-align-start","onUpdate:modelValue":a[1]||(a[1]=h=>c("update:modelValue",h)),"onUpdate:customInputValue":a[2]||(a[2]=h=>V(h))},null,8,["id","value","title","description","deprecated","show-custom-input","custom-input-value","custom-input-placeholder","model-value"]))),128))],2),t("div",{bg:"neutral-100 dark:[rgba(0,0,0,0.3)]","rounded-xl":"",class:r([m.value?"fixed bottom-4 left-1/2 translate-x--1/2 z-10 w-full px-9 max-w-screen-lg":"mt-0 w-full rounded-lg"])},[t("button",{"w-full":"",flex:"","items-center":"","justify-center":"","gap-2":"","rounded-lg":"","py-2":"",transition:"all duration-200 ease-in-out",class:r([m.value?"bg-primary-500 hover:bg-primary-600 text-white":"bg-white dark:bg-neutral-900 hover:bg-neutral-100 dark:hover:bg-neutral-800"]),onClick:a[3]||(a[3]=i=>m.value=!m.value)},[t("span",null,s(m.value?e.collapseButtonText:e.expandButtonText),1),t("div",{class:r([m.value?"rotate-180":"","text-lg"]),"i-solar:alt-arrow-down-bold-duotone":"",transition:"transform duration-200 ease-in-out"},null,2)],2)],2)])])]))}});export{oe as R,ne as _}; +import{d as k,g as b,c as o,o as l,q as r,a as t,m as v,t as s,b as C,k as $,J as y,_ as w,h as I,A as B,H as R,F as S,E as T,j as z}from"./index-CGdx-Gsw.js";import"./Stage.vue_vue_type_style_index_0_scoped_cad77b27_lang-BvkGrZE5.js";import{_ as E}from"./TransitionVertical.vue_vue_type_script_setup_true_lang-DIGllfwe.js";const N=["checked","name","value"],D={class:"relative mr-3 mt-0.5 flex-shrink-0"},P={class:"w-full flex flex-col gap-2"},L={class:"flex items-center"},j={key:0,class:"relative"},q=["title"],M={key:1,class:"mt-2"},U=["value","placeholder"],F=k({__name:"RadioCardDetail",props:{id:null,name:null,value:null,title:null,description:null,modelValue:null,deprecated:{type:Boolean,default:!1},showExpandCollapse:{type:Boolean,default:!0},expandCollapseThreshold:{default:100},customInputValue:{default:""},customInputPlaceholder:{default:""},showCustomInput:{type:Boolean,default:!1}},emits:["update:modelValue","update:customInputValue"],setup(e,{emit:f}){const d=f,c=b(!1);function n(){c.value=!c.value}function m(x){const u=x.target;d("update:customInputValue",u.value)}return(x,u)=>(l(),o("label",{key:e.id,class:r(["form_radio-card-detail relative flex cursor-pointer items-start rounded-xl p-3 pr-[20px]",[e.modelValue===e.value?"bg-primary-50 dark:bg-primary-900/20 border-primary-100 dark:border-primary-900 hover:border-primary-500/30 dark:hover:border-primary-400/30":"bg-white dark:bg-neutral-900/20 border-neutral-100 dark:border-neutral-700 hover:border-primary-500/30 dark:hover:border-primary-400/30",e.modelValue===e.value?"form_radio-card-detail-active":"",e.deprecated?"opacity-60":""]]),transition:"all duration-200 ease-in-out",border:"2 solid"},[t("input",{checked:e.modelValue===e.value,type:"radio",name:e.name,value:e.value,class:"absolute opacity-0",onChange:u[0]||(u[0]=g=>x.$emit("update:modelValue",e.value))},null,40,N),t("div",D,[t("div",{class:r(["size-5 border-2 rounded-full transition-colors duration-200",[e.modelValue===e.value?"border-primary-500 dark:border-primary-400":"border-neutral-300 dark:border-neutral-600"]])},[t("div",{class:r(["absolute left-1/2 top-1/2 size-3 rounded-full transition-opacity duration-200 -translate-x-1/2 -translate-y-1/2",[e.modelValue===e.value?"opacity-100 bg-primary-500 dark:bg-primary-400":"opacity-0"]])},null,2)],2)]),t("div",P,[t("div",L,[t("span",{class:r(["line-clamp-1 font-medium",[e.modelValue===e.value?"text-neutral-700 dark:text-neutral-300":"text-neutral-700 dark:text-neutral-400"]])},s(e.title),3)]),e.description?(l(),o("div",j,[C(E,null,{default:$(()=>[c.value?(l(),o("div",{key:1,class:r(["cursor-pointer text-xs",[e.modelValue===e.value?"text-neutral-600 dark:text-neutral-400":"text-neutral-500 dark:text-neutral-500"]]),onClick:y(n,["prevent"])},s(e.description),3)):(l(),o("div",{key:0,class:r(["line-clamp-2 cursor-pointer text-xs",[e.modelValue===e.value?"text-neutral-600 dark:text-neutral-400":"text-neutral-500 dark:text-neutral-500"]]),title:e.description,onClick:y(n,["prevent"])},s(e.description),11,q))]),_:1}),e.showExpandCollapse&&e.description.length>e.expandCollapseThreshold?(l(),o("button",{key:0,class:"text-primary-500 dark:text-primary-400 mt-0.5 inline-flex items-center text-xs",onClick:y(n,["prevent"])},[t("span",null,s(c.value?"Show less":"Show more"),1),t("div",{class:r([{"rotate-180":c.value},"transition-transform duration-200"])},u[1]||(u[1]=[t("div",{"i-solar:alt-arrow-down-bold-duotone":"","ml-0.5":"","text-xs":""},null,-1)]),2)])):v("",!0)])):v("",!0),e.showCustomInput&&e.modelValue===e.value?(l(),o("div",M,[t("input",{value:e.customInputValue,type:"text",class:"w-full border border-neutral-300 rounded bg-white px-2 py-1 text-sm dark:border-neutral-700 dark:bg-neutral-900",placeholder:e.customInputPlaceholder,onInput:m},null,40,U)])):v("",!0)])],2))}}),A=w(F,[["__scopeId","data-v-3b099adf"]]),H=["checked","name","value"],J={flex:"~ col","min-h-16":"","w-full":"","items-start":"","justify-center":"","pb-2":"","pl-5":"","pr-4":"","pt-2":""},Q=k({__name:"RadioCardSimple",props:{id:null,name:null,value:null,title:null,description:null,modelValue:null},emits:["update:modelValue"],setup(e){return(f,d)=>(l(),o("label",{key:e.id,border:"2px solid",class:r(["form_radio-card-simple relative",[e.modelValue===e.value?"bg-primary-50 dark:bg-primary-900/20 border-primary-100 dark:border-primary-900 hover:border-primary-500/30 dark:hover:border-primary-400/30":"bg-white dark:bg-neutral-900/20 border-neutral-100 dark:border-neutral-700 hover:border-primary-500/30 dark:hover:border-primary-400/30",e.modelValue===e.value?"form_radio-card-simple-active":""]]),transition:"all duration-200 ease-in-out",flex:"~ col",block:"","min-w-50":"","w-fit":"","cursor-pointer":"","items-start":"","rounded-xl":"","p-4":"","text-left":""},[t("input",{checked:e.modelValue===e.value,type:"radio",name:e.name,value:e.value,class:"[&:checked+div]:border-primary-500 dark:[&:checked+div]:border-primary-400 absolute opacity-0 [&:checked+div_.radio-dot]:opacity-100",onChange:d[0]||(d[0]=c=>f.$emit("update:modelValue",e.value))},null,40,H),d[1]||(d[1]=t("div",{class:"radio-circle absolute left-2 top-2 size-5 rounded-full",border:"2 solid neutral-300 dark:neutral-600",transition:"all duration-200 ease-in-out"},[t("div",{class:"radio-dot absolute left-1/2 top-1/2 size-3 rounded-full opacity-0 -translate-x-1/2 -translate-y-1/2",transition:"all duration-200 ease-in-out",bg:"primary-500 dark:primary-400"})],-1)),t("div",J,[t("span",{class:r(["radio-item-name font-bold",[e.modelValue===e.value?"text-neutral-700 dark:text-neutral-300":"text-neutral-500 dark:text-neutral-500"]]),text:"md",transition:"all duration-200 ease-in-out"},s(e.title),3),e.description?(l(),o("span",{key:0,class:r(["radio-item-description",[e.modelValue===e.value?"text-neutral-600 dark:text-neutral-400":"text-neutral-400 dark:text-neutral-600"]]),transition:"all duration-200 ease-in-out"},s(e.description),3)):v("",!0)]),d[2]||(d[2]=t("div",{class:"bg-dotted-neutral-200/80 dark:bg-dotted-neutral-700/50 [input:checked~&]:bg-dotted-primary-300/50 dark:[input:checked~&]:bg-dotted-primary-200/20",absolute:"","inset-0":"","z--1":"",style:{"background-size":"10px 10px","mask-image":"linear-gradient(165deg, white 30%, transparent 50%)"}},null,-1))],2))}}),oe=w(Q,[["__scopeId","data-v-7daf4ec0"]]),G={class:"radio-card-detail-many-select"},K={key:0,class:"relative"},O=["placeholder"],W={class:"mt-4 space-y-2"},X={key:0,class:"text-sm text-neutral-500 dark:text-neutral-400"},Y={key:1,class:"flex items-center gap-3 border border-2 border-amber-200 rounded-xl bg-amber-50 p-4 dark:border-amber-800 dark:bg-amber-900/20"},Z={class:"flex flex-col"},_={class:"font-medium"},ee={class:"text-sm text-amber-600 dark:text-amber-400"},te={class:"relative"},ne=k({__name:"RadioCardDetailManySelect",props:{items:null,modelValue:null,searchable:{type:Boolean,default:!0},searchPlaceholder:{default:"Search..."},searchNoResultsTitle:{default:"No results found"},searchNoResultsDescription:{default:"Try a different search term"},searchResultsText:{default:"{count} of {total} results"},customInputPlaceholder:{default:"Enter custom value"},expandButtonText:{default:"Show more"},collapseButtonText:{default:"Show less"}},emits:["update:modelValue","update:customValue"],setup(e,{emit:f}){const d=e,c=f,n=b(""),m=b(!1),x=b(""),u=I(()=>{if(!n.value)return d.items;const p=n.value.toLowerCase();return d.items.filter(a=>a.name.toLowerCase().includes(p)||a.description&&a.description.toLowerCase().includes(p))});function g(){n.value=""}function V(p){x.value=p,c("update:customValue",p)}return(p,a)=>(l(),o("div",G,[e.searchable?(l(),o("div",K,[a[5]||(a[5]=t("div",{class:"pointer-events-none absolute inset-y-0 left-0 flex items-center pl-3"},[t("div",{"i-solar:magnifer-line-duotone":"",class:"text-neutral-500 dark:text-neutral-400"})],-1)),B(t("input",{"onUpdate:modelValue":a[0]||(a[0]=i=>n.value=i),type:"search",class:"w-full rounded-xl p-2.5 pl-10 text-sm outline-none",border:"focus:primary-100 dark:focus:primary-900 ~ neutral-200 dark:neutral-800 2",transition:"all duration-200 ease-in-out",ring:"focus:primary-500 dark:focus:primary-400 0 focus:2 focus:offset-0 focus:opacity-50",bg:"white dark:neutral-900",placeholder:e.searchPlaceholder},null,8,O),[[R,n.value]]),n.value?(l(),o("button",{key:0,type:"button",class:"absolute inset-y-0 right-0 flex items-center pr-3",onClick:g},a[4]||(a[4]=[t("div",{"i-solar:close-circle-line-duotone":"",class:"text-neutral-500 dark:text-neutral-400 hover:text-neutral-700 dark:hover:text-neutral-200"},null,-1)]))):v("",!0)])):v("",!0),t("div",W,[n.value?(l(),o("div",X,s(e.searchResultsText.replace("{count}",u.value.length.toString()).replace("{total}",e.items.length.toString())),1)):v("",!0),n.value&&u.value.length===0?(l(),o("div",Y,[a[6]||(a[6]=t("div",{"i-solar:info-circle-line-duotone":"",class:"text-2xl text-amber-500 dark:text-amber-400"},null,-1)),t("div",Z,[t("span",_,s(e.searchNoResultsTitle),1),t("span",ee,s(e.searchNoResultsDescription.replace("{query}",n.value)),1)])])):v("",!0),t("div",te,[t("div",{class:r(["scrollbar-hide grid auto-cols-[350px] grid-flow-col gap-4 overflow-x-auto pb-4",[m.value?"grid-cols-1 md:grid-cols-2 grid-flow-row auto-cols-auto":""]]),transition:"all duration-200 ease-in-out",style:{"scroll-snap-type":"x mandatory"}},[(l(!0),o(S,null,T(u.value,i=>(l(),z(A,{id:i.id,key:i.id,value:i.id,title:i.name,description:i.description,deprecated:i.deprecated,"show-expand-collapse":!0,"expand-collapse-threshold":100,"show-custom-input":i.customizable,"custom-input-value":x.value,"custom-input-placeholder":e.customInputPlaceholder,"model-value":e.modelValue,name:"radio-card-detail-many-select",class:"scroll-snap-align-start","onUpdate:modelValue":a[1]||(a[1]=h=>c("update:modelValue",h)),"onUpdate:customInputValue":a[2]||(a[2]=h=>V(h))},null,8,["id","value","title","description","deprecated","show-custom-input","custom-input-value","custom-input-placeholder","model-value"]))),128))],2),t("div",{bg:"neutral-100 dark:[rgba(0,0,0,0.3)]","rounded-xl":"",class:r([m.value?"fixed bottom-4 left-1/2 translate-x--1/2 z-10 w-full px-9 max-w-screen-lg":"mt-0 w-full rounded-lg"])},[t("button",{"w-full":"",flex:"","items-center":"","justify-center":"","gap-2":"","rounded-lg":"","py-2":"",transition:"all duration-200 ease-in-out",class:r([m.value?"bg-primary-500 hover:bg-primary-600 text-white":"bg-white dark:bg-neutral-900 hover:bg-neutral-100 dark:hover:bg-neutral-800"]),onClick:a[3]||(a[3]=i=>m.value=!m.value)},[t("span",null,s(m.value?e.collapseButtonText:e.expandButtonText),1),t("div",{class:r([m.value?"rotate-180":"","text-lg"]),"i-solar:alt-arrow-down-bold-duotone":"",transition:"transform duration-200 ease-in-out"},null,2)],2)],2)])])]))}});export{oe as R,ne as _}; diff --git a/assets/Range-DbnEDkbC.js b/assets/Range-py-TYNCE.js similarity index 89% rename from assets/Range-DbnEDkbC.js rename to assets/Range-py-TYNCE.js index 353293c1f2d7bbe6558cca1e85d7babcf82385c4..f35796b84acb1e00b23bd8b21b8f7b785c03baab 100644 --- a/assets/Range-DbnEDkbC.js +++ b/assets/Range-py-TYNCE.js @@ -1 +1 @@ -import{d as f,h as s,g as n,w as x,p as g,A as y,H as _,o as V,c as k,_ as C}from"./index-DCtIztPb.js";import"./Stage.vue_vue_type_style_index_0_scoped_cad77b27_lang-D1cRHv6j.js";const R=["min","max","step"],M=f({__name:"Range",props:{modelValue:null,min:{default:0},max:{default:100},step:{default:1},disabled:{type:Boolean,default:!1},thumbColor:{default:"#9090906e"},trackColor:{default:"gray"},trackValueColor:{default:"red"}},emits:["update:modelValue"],setup(d,{emit:m}){const t=d,i=m,p=s(()=>t.min*1e4),c=s(()=>t.max*1e4),v=s(()=>t.step*1e4),e=n(),o=n(t.modelValue*1e4);x(o,r=>{i("update:modelValue",r/1e4),u()}),g(()=>{u()});function u(){e.value&&(e.value.style.setProperty("--value",e.value.value),e.value.style.setProperty("--min",e.value.min?e.value.min:t.min.toString()),e.value.style.setProperty("--max",e.value.max?e.value.max:t.max.toString()))}return(r,a)=>y((V(),k("input",{ref_key:"sliderRef",ref:e,"onUpdate:modelValue":a[0]||(a[0]=l=>o.value=l),type:"range",min:p.value,max:c.value,step:v.value,class:"data-gui-range slider-progress",onInput:a[1]||(a[1]=l=>{l.target.style.setProperty("--value",l.target.value)})},null,40,R)),[[_,o.value,void 0,{number:!0}]])}}),w=C(M,[["__scopeId","data-v-8d439080"]]);export{w as R}; +import{d as f,h as s,g as n,w as x,p as g,A as y,H as _,o as V,c as k,_ as C}from"./index-CGdx-Gsw.js";import"./Stage.vue_vue_type_style_index_0_scoped_cad77b27_lang-BvkGrZE5.js";const R=["min","max","step"],M=f({__name:"Range",props:{modelValue:null,min:{default:0},max:{default:100},step:{default:1},disabled:{type:Boolean,default:!1},thumbColor:{default:"#9090906e"},trackColor:{default:"gray"},trackValueColor:{default:"red"}},emits:["update:modelValue"],setup(d,{emit:m}){const t=d,i=m,p=s(()=>t.min*1e4),c=s(()=>t.max*1e4),v=s(()=>t.step*1e4),e=n(),o=n(t.modelValue*1e4);x(o,r=>{i("update:modelValue",r/1e4),u()}),g(()=>{u()});function u(){e.value&&(e.value.style.setProperty("--value",e.value.value),e.value.style.setProperty("--min",e.value.min?e.value.min:t.min.toString()),e.value.style.setProperty("--max",e.value.max?e.value.max:t.max.toString()))}return(r,a)=>y((V(),k("input",{ref_key:"sliderRef",ref:e,"onUpdate:modelValue":a[0]||(a[0]=l=>o.value=l),type:"range",min:p.value,max:c.value,step:v.value,class:"data-gui-range slider-progress",onInput:a[1]||(a[1]=l=>{l.target.style.setProperty("--value",l.target.value)})},null,40,R)),[[_,o.value,void 0,{number:!0}]])}}),w=C(M,[["__scopeId","data-v-8d439080"]]);export{w as R}; diff --git a/assets/Stage.vue_vue_type_style_index_0_scoped_cad77b27_lang-D1cRHv6j.js b/assets/Stage.vue_vue_type_style_index_0_scoped_cad77b27_lang-BvkGrZE5.js similarity index 99% rename from assets/Stage.vue_vue_type_style_index_0_scoped_cad77b27_lang-D1cRHv6j.js rename to assets/Stage.vue_vue_type_style_index_0_scoped_cad77b27_lang-BvkGrZE5.js index 3e2afb76feaefea722bf73542c8c14d2697e8d08..b3103fad5e4bb808d456ccc9e82da7d40084df87 100644 --- a/assets/Stage.vue_vue_type_style_index_0_scoped_cad77b27_lang-D1cRHv6j.js +++ b/assets/Stage.vue_vue_type_style_index_0_scoped_cad77b27_lang-BvkGrZE5.js @@ -1,5 +1,5 @@ -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/default-node-Ct8UOs1_.js","assets/index-DCtIztPb.js","assets/index-CZ1gm21t.css","assets/import-url-browser-CPN8ipMD.js","assets/duckdb-mvp-CaaD-olE.js","assets/import-url-node-BfNoxhRr.js"])))=>i.map(i=>d[i]); -var jM=Object.defineProperty;var $M=(r,t,e)=>t in r?jM(r,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):r[t]=e;var W=(r,t,e)=>$M(r,typeof t!="symbol"?t+"":t,e);import{bZ as Xp,cp as $n,bF as GM,aI as WM,aR as Be,at as gt,av as oe,aL as Hs,bN as ea,b6 as wg,aV as Sg,aX as Tg,bG as Bc,bJ as Yp,cq as HM,aH as XM,cr as YM,aJ as qM,cs as pa,ct as On,aD as nn,aM as ti,bB as Ja,b3 as cr,cu as QM,aE as Ki,bK as ZM,bI as KM,cv as Ig,bO as qp,cw as JM,aW as Cu,ax as Ao,bP as tE,bS as eE,bT as rE,b_ as nE,cx as Bi}from"./index-DCtIztPb.js";/*! +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/default-node-CkTSmFLS.js","assets/index-CGdx-Gsw.js","assets/index-DrkuVv50.css","assets/import-url-browser-CPN8ipMD.js","assets/duckdb-mvp-CaaD-olE.js","assets/import-url-node-BfNoxhRr.js"])))=>i.map(i=>d[i]); +var jM=Object.defineProperty;var $M=(r,t,e)=>t in r?jM(r,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):r[t]=e;var W=(r,t,e)=>$M(r,typeof t!="symbol"?t+"":t,e);import{bY as Xp,co as $n,bE as GM,aH as WM,aQ as Be,as as gt,au as oe,aK as Hs,bM as ea,b5 as wg,aU as Sg,aW as Tg,bF as Bc,bI as Yp,cp as HM,aG as XM,cq as YM,aI as qM,cr as pa,cs as On,aC as nn,aL as ti,bA as Ja,b2 as cr,ct as QM,aD as Ki,bJ as ZM,bH as KM,cu as Ig,bN as qp,cv as JM,aV as Cu,aw as Ao,bO as tE,bR as eE,bS as rE,bZ as nE,cw as Bi}from"./index-CGdx-Gsw.js";/*! * @pixi/constants - v6.5.10 * Compiled Thu, 06 Jul 2023 15:25:11 UTC * @@ -4072,13 +4072,13 @@ void main() { */function re(r,t,e,n){function i(s){return s instanceof e?s:new e(function(o){o(s)})}return new(e||(e=Promise))(function(s,o){function a(c){try{u(n.next(c))}catch(h){o(h)}}function l(c){try{u(n.throw(c))}catch(h){o(h)}}function u(c){c.done?s(c.value):i(c.value).then(a,l)}u((n=n.apply(r,t||[])).next())})}function Qv(r){var t=typeof Symbol=="function"&&Symbol.iterator,e=t&&r[t],n=0;if(e)return e.call(r);if(r&&typeof r.length=="number")return{next:function(){return r&&n>=r.length&&(r=void 0),{value:r&&r[n++],done:!r}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function Dt(r){return this instanceof Dt?(this.v=r,this):new Dt(r)}function Ar(r,t,e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=e.apply(r,t||[]),i,s=[];return i=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",o),i[Symbol.asyncIterator]=function(){return this},i;function o(d){return function(m){return Promise.resolve(m).then(d,h)}}function a(d,m){n[d]&&(i[d]=function(g){return new Promise(function(p,y){s.push([d,g,p,y])>1||l(d,g)})},m&&(i[d]=m(i[d])))}function l(d,m){try{u(n[d](m))}catch(g){f(s[0][3],g)}}function u(d){d.value instanceof Dt?Promise.resolve(d.value.v).then(c,h):f(s[0][2],d)}function c(d){l("next",d)}function h(d){l("throw",d)}function f(d,m){d(m),s.shift(),s.length&&l(s[0][0],s[0][1])}}function ks(r){var t,e;return t={},n("next"),n("throw",function(i){throw i}),n("return"),t[Symbol.iterator]=function(){return this},t;function n(i,s){t[i]=r[i]?function(o){return(e=!e)?{value:Dt(r[i](o)),done:!1}:s?s(o):o}:s}}function Hn(r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=r[Symbol.asyncIterator],e;return t?t.call(r):(r=typeof Qv=="function"?Qv(r):r[Symbol.iterator](),e={},n("next"),n("throw"),n("return"),e[Symbol.asyncIterator]=function(){return this},e);function n(s){e[s]=r[s]&&function(o){return new Promise(function(a,l){o=r[s](o),i(a,l,o.done,o.value)})}}function i(s,o,a,l){Promise.resolve(l).then(function(u){s({value:u,done:a})},o)}}const eN=new TextDecoder("utf-8"),pp=r=>eN.decode(r),rN=new TextEncoder,Mm=r=>rN.encode(r),nN=r=>typeof r=="number",o1=r=>typeof r=="boolean",Je=r=>typeof r=="function",Cr=r=>r!=null&&Object(r)===r,zs=r=>Cr(r)&&Je(r.then),Tl=r=>Cr(r)&&Je(r[Symbol.iterator]),oa=r=>Cr(r)&&Je(r[Symbol.asyncIterator]),mp=r=>Cr(r)&&Cr(r.schema),a1=r=>Cr(r)&&"done"in r&&"value"in r,l1=r=>Cr(r)&&Je(r.stat)&&nN(r.fd),u1=r=>Cr(r)&&Em(r.body),Jc=r=>"_getDOMStream"in r&&"_getNodeStream"in r,iN=r=>Cr(r)&&Je(r.abort)&&Je(r.getWriter)&&!Jc(r),Em=r=>Cr(r)&&Je(r.cancel)&&Je(r.getReader)&&!Jc(r),sN=r=>Cr(r)&&Je(r.end)&&Je(r.write)&&o1(r.writable)&&!Jc(r),c1=r=>Cr(r)&&Je(r.read)&&Je(r.pipe)&&o1(r.readable)&&!Jc(r),oN=r=>Cr(r)&&Je(r.clear)&&Je(r.bytes)&&Je(r.position)&&Je(r.setPosition)&&Je(r.capacity)&&Je(r.getBufferIdentifier)&&Je(r.createLong),Am=typeof SharedArrayBuffer<"u"?SharedArrayBuffer:ArrayBuffer;function aN(r){const t=r[0]?[r[0]]:[];let e,n,i,s;for(let o,a,l=0,u=0,c=r.length;++lc+h.byteLength,0);let i,s,o,a=0,l=-1;const u=Math.min(t||Number.POSITIVE_INFINITY,n);for(const c=e.length;++lMe(Int32Array,r),Kv=r=>Me(BigInt64Array,r),fe=r=>Me(Uint8Array,r),gp=r=>(r.next(),r);function*lN(r,t){const e=function*(i){yield i},n=typeof t=="string"||ArrayBuffer.isView(t)||t instanceof ArrayBuffer||t instanceof Am?e(t):Tl(t)?t:e(t);return yield*gp(function*(i){let s=null;do s=i.next(yield Me(r,s));while(!s.done)}(n[Symbol.iterator]())),new r}const uN=r=>lN(Uint8Array,r);function h1(r,t){return Ar(this,arguments,function*(){if(zs(t))return yield Dt(yield Dt(yield*ks(Hn(h1(r,yield Dt(t))))));const n=function(o){return Ar(this,arguments,function*(){yield yield Dt(yield Dt(o))})},i=function(o){return Ar(this,arguments,function*(){yield Dt(yield*ks(Hn(gp(function*(a){let l=null;do l=a.next(yield l==null?void 0:l.value);while(!l.done)}(o[Symbol.iterator]())))))})},s=typeof t=="string"||ArrayBuffer.isView(t)||t instanceof ArrayBuffer||t instanceof Am?n(t):Tl(t)?i(t):oa(t)?t:n(t);return yield Dt(yield*ks(Hn(gp(function(o){return Ar(this,arguments,function*(){let a=null;do a=yield Dt(o.next(yield yield Dt(Me(r,a))));while(!a.done)})}(s[Symbol.asyncIterator]()))))),yield Dt(new r)})}const cN=r=>h1(Uint8Array,r);function d1(r,t,e){if(r!==0){e=e.slice(0,t);for(let n=-1,i=e.length;++n0)do if(r[e]!==t[e])return!1;while(++e(r.next(),r);function*dN(r){let t,e=!1,n=[],i,s,o,a=0;function l(){return s==="peek"?Yn(n,o)[0]:([i,n,a]=Yn(n,o),i)}({cmd:s,size:o}=(yield null)||{cmd:"read",size:0});const u=uN(r)[Symbol.iterator]();try{do if({done:t,value:i}=Number.isNaN(o-a)?u.next():u.next(o-a),!t&&i.byteLength>0&&(n.push(i),a+=i.byteLength),t||o<=a)do({cmd:s,size:o}=yield l());while(o0&&(i.push(s),l+=s.byteLength),e||a<=l)do({cmd:o,size:a}=yield yield Dt(u()));while(a0&&(i.push(fe(s)),l+=s.byteLength),e||a<=l)do({cmd:o,size:a}=yield yield Dt(u()));while(a{})}get closed(){return this.reader?this.reader.closed.catch(()=>{}):Promise.resolve()}releaseLock(){this.reader&&this.reader.releaseLock(),this.reader=null}cancel(t){return re(this,void 0,void 0,function*(){const{reader:e,source:n}=this;e&&(yield e.cancel(t).catch(()=>{})),n&&n.locked&&this.releaseLock()})}read(t){return re(this,void 0,void 0,function*(){if(t===0)return{done:this.reader==null,value:new Uint8Array(0)};const e=yield this.reader.read();return!e.done&&(e.value=fe(e)),e})}}const jd=(r,t)=>{const e=i=>n([t,i]);let n;return[t,e,new Promise(i=>(n=i)&&r.once(t,e))]};function gN(r){return Ar(this,arguments,function*(){const e=[];let n="error",i=!1,s=null,o,a,l=0,u=[],c;function h(){return o==="peek"?Yn(u,a)[0]:([c,u,l]=Yn(u,a),c)}if({cmd:o,size:a}=(yield yield Dt(null))||{cmd:"read",size:0},r.isTTY)return yield yield Dt(new Uint8Array(0)),yield Dt(null);try{e[0]=jd(r,"end"),e[1]=jd(r,"error");do{if(e[2]=jd(r,"readable"),[n,s]=yield Dt(Promise.race(e.map(d=>d[2]))),n==="error")break;if((i=n==="end")||(Number.isFinite(a-l)?(c=fe(r.read(a-l)),c.byteLength0&&(u.push(c),l+=c.byteLength)),i||a<=l)do({cmd:o,size:a}=yield yield Dt(h()));while(a{for(const[y,v]of d)r.off(y,v);try{const y=r.destroy;y&&y.call(r,m),m=void 0}catch(y){m=y||m}finally{m!=null?p(m):g()}})}})}var He;(function(r){r[r.V1=0]="V1",r[r.V2=1]="V2",r[r.V3=2]="V3",r[r.V4=3]="V4",r[r.V5=4]="V5"})(He||(He={}));var gr;(function(r){r[r.Sparse=0]="Sparse",r[r.Dense=1]="Dense"})(gr||(gr={}));var mr;(function(r){r[r.HALF=0]="HALF",r[r.SINGLE=1]="SINGLE",r[r.DOUBLE=2]="DOUBLE"})(mr||(mr={}));var dn;(function(r){r[r.DAY=0]="DAY",r[r.MILLISECOND=1]="MILLISECOND"})(dn||(dn={}));var $t;(function(r){r[r.SECOND=0]="SECOND",r[r.MILLISECOND=1]="MILLISECOND",r[r.MICROSECOND=2]="MICROSECOND",r[r.NANOSECOND=3]="NANOSECOND"})($t||($t={}));var qn;(function(r){r[r.YEAR_MONTH=0]="YEAR_MONTH",r[r.DAY_TIME=1]="DAY_TIME",r[r.MONTH_DAY_NANO=2]="MONTH_DAY_NANO"})(qn||(qn={}));const $d=2,zn=4,mi=4,Se=4,Li=new Int32Array(2),Jv=new Float32Array(Li.buffer),t0=new Float64Array(Li.buffer),cu=new Uint16Array(new Uint8Array([1,0]).buffer)[0]===1;var yp;(function(r){r[r.UTF8_BYTES=1]="UTF8_BYTES",r[r.UTF16_STRING=2]="UTF16_STRING"})(yp||(yp={}));let Xo=class f1{constructor(t){this.bytes_=t,this.position_=0,this.text_decoder_=new TextDecoder}static allocate(t){return new f1(new Uint8Array(t))}clear(){this.position_=0}bytes(){return this.bytes_}position(){return this.position_}setPosition(t){this.position_=t}capacity(){return this.bytes_.length}readInt8(t){return this.readUint8(t)<<24>>24}readUint8(t){return this.bytes_[t]}readInt16(t){return this.readUint16(t)<<16>>16}readUint16(t){return this.bytes_[t]|this.bytes_[t+1]<<8}readInt32(t){return this.bytes_[t]|this.bytes_[t+1]<<8|this.bytes_[t+2]<<16|this.bytes_[t+3]<<24}readUint32(t){return this.readInt32(t)>>>0}readInt64(t){return BigInt.asIntN(64,BigInt(this.readUint32(t))+(BigInt(this.readUint32(t+4))<>8}writeUint16(t,e){this.bytes_[t]=e,this.bytes_[t+1]=e>>8}writeInt32(t,e){this.bytes_[t]=e,this.bytes_[t+1]=e>>8,this.bytes_[t+2]=e>>16,this.bytes_[t+3]=e>>24}writeUint32(t,e){this.bytes_[t]=e,this.bytes_[t+1]=e>>8,this.bytes_[t+2]=e>>16,this.bytes_[t+3]=e>>24}writeInt64(t,e){this.writeInt32(t,Number(BigInt.asIntN(32,e))),this.writeInt32(t+4,Number(BigInt.asIntN(32,e>>BigInt(32))))}writeUint64(t,e){this.writeUint32(t,Number(BigInt.asUintN(32,e))),this.writeUint32(t+4,Number(BigInt.asUintN(32,e>>BigInt(32))))}writeFloat32(t,e){Jv[0]=e,this.writeInt32(t,Li[0])}writeFloat64(t,e){t0[0]=e,this.writeInt32(t,Li[cu?0:1]),this.writeInt32(t+4,Li[cu?1:0])}getBufferIdentifier(){if(this.bytes_.lengththis.minalign&&(this.minalign=t);const n=~(this.bb.capacity()-this.space+e)+1&t-1;for(;this.space=0&&this.vtable[e]==0;e--);const n=e+1;for(;e>=0;e--)this.addInt16(this.vtable[e]!=0?t-this.vtable[e]:0);const i=2;this.addInt16(t-this.object_start);const s=(n+i)*$d;this.addInt16(s);let o=0;const a=this.space;t:for(e=0;e=0;o--)this.writeInt8(s.charCodeAt(o))}this.prep(this.minalign,zn+i),this.addOffset(t),i&&this.addInt32(this.bb.capacity()-this.space),this.bb.setPosition(this.space)}finishSizePrefixed(t,e){this.finish(t,e,!0)}requiredField(t,e){const n=this.bb.capacity()-t,i=n-this.bb.readInt32(n);if(!(e=0;n--)t.addInt32(e[n]);return t.endVector()}static startTypeIdsVector(t,e){t.startVector(4,e,4)}static endUnion(t){return t.endObject()}static createUnion(t,e,n){return Mr.startUnion(t),Mr.addMode(t,e),Mr.addTypeIds(t,n),Mr.endUnion(t)}}let a0=class ja{constructor(){this.bb=null,this.bb_pos=0}__init(t,e){return this.bb_pos=t,this.bb=e,this}static getRootAsUtf8(t,e){return(e||new ja).__init(t.readInt32(t.position())+t.position(),t)}static getSizePrefixedRootAsUtf8(t,e){return t.setPosition(t.position()+Se),(e||new ja).__init(t.readInt32(t.position())+t.position(),t)}static startUtf8(t){t.startObject(0)}static endUtf8(t){return t.endObject()}static createUtf8(t){return ja.startUtf8(t),ja.endUtf8(t)}};var Oe;(function(r){r[r.NONE=0]="NONE",r[r.Null=1]="Null",r[r.Int=2]="Int",r[r.FloatingPoint=3]="FloatingPoint",r[r.Binary=4]="Binary",r[r.Utf8=5]="Utf8",r[r.Bool=6]="Bool",r[r.Decimal=7]="Decimal",r[r.Date=8]="Date",r[r.Time=9]="Time",r[r.Timestamp=10]="Timestamp",r[r.Interval=11]="Interval",r[r.List=12]="List",r[r.Struct_=13]="Struct_",r[r.Union=14]="Union",r[r.FixedSizeBinary=15]="FixedSizeBinary",r[r.FixedSizeList=16]="FixedSizeList",r[r.Map=17]="Map",r[r.Duration=18]="Duration",r[r.LargeBinary=19]="LargeBinary",r[r.LargeUtf8=20]="LargeUtf8",r[r.LargeList=21]="LargeList",r[r.RunEndEncoded=22]="RunEndEncoded"})(Oe||(Oe={}));let Jr=class wu{constructor(){this.bb=null,this.bb_pos=0}__init(t,e){return this.bb_pos=t,this.bb=e,this}static getRootAsField(t,e){return(e||new wu).__init(t.readInt32(t.position())+t.position(),t)}static getSizePrefixedRootAsField(t,e){return t.setPosition(t.position()+Se),(e||new wu).__init(t.readInt32(t.position())+t.position(),t)}name(t){const e=this.bb.__offset(this.bb_pos,4);return e?this.bb.__string(this.bb_pos+e,t):null}nullable(){const t=this.bb.__offset(this.bb_pos,6);return t?!!this.bb.readInt8(this.bb_pos+t):!1}typeType(){const t=this.bb.__offset(this.bb_pos,8);return t?this.bb.readUint8(this.bb_pos+t):Oe.NONE}type(t){const e=this.bb.__offset(this.bb_pos,10);return e?this.bb.__union(t,this.bb_pos+e):null}dictionary(t){const e=this.bb.__offset(this.bb_pos,12);return e?(t||new gi).__init(this.bb.__indirect(this.bb_pos+e),this.bb):null}children(t,e){const n=this.bb.__offset(this.bb_pos,14);return n?(e||new wu).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+n)+t*4),this.bb):null}childrenLength(){const t=this.bb.__offset(this.bb_pos,14);return t?this.bb.__vector_len(this.bb_pos+t):0}customMetadata(t,e){const n=this.bb.__offset(this.bb_pos,16);return n?(e||new tr).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+n)+t*4),this.bb):null}customMetadataLength(){const t=this.bb.__offset(this.bb_pos,16);return t?this.bb.__vector_len(this.bb_pos+t):0}static startField(t){t.startObject(7)}static addName(t,e){t.addFieldOffset(0,e,0)}static addNullable(t,e){t.addFieldInt8(1,+e,0)}static addTypeType(t,e){t.addFieldInt8(2,e,Oe.NONE)}static addType(t,e){t.addFieldOffset(3,e,0)}static addDictionary(t,e){t.addFieldOffset(4,e,0)}static addChildren(t,e){t.addFieldOffset(5,e,0)}static createChildrenVector(t,e){t.startVector(4,e.length,4);for(let n=e.length-1;n>=0;n--)t.addOffset(e[n]);return t.endVector()}static startChildrenVector(t,e){t.startVector(4,e,4)}static addCustomMetadata(t,e){t.addFieldOffset(6,e,0)}static createCustomMetadataVector(t,e){t.startVector(4,e.length,4);for(let n=e.length-1;n>=0;n--)t.addOffset(e[n]);return t.endVector()}static startCustomMetadataVector(t,e){t.startVector(4,e,4)}static endField(t){return t.endObject()}},Fn=class oi{constructor(){this.bb=null,this.bb_pos=0}__init(t,e){return this.bb_pos=t,this.bb=e,this}static getRootAsSchema(t,e){return(e||new oi).__init(t.readInt32(t.position())+t.position(),t)}static getSizePrefixedRootAsSchema(t,e){return t.setPosition(t.position()+Se),(e||new oi).__init(t.readInt32(t.position())+t.position(),t)}endianness(){const t=this.bb.__offset(this.bb_pos,4);return t?this.bb.readInt16(this.bb_pos+t):Yo.Little}fields(t,e){const n=this.bb.__offset(this.bb_pos,6);return n?(e||new Jr).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+n)+t*4),this.bb):null}fieldsLength(){const t=this.bb.__offset(this.bb_pos,6);return t?this.bb.__vector_len(this.bb_pos+t):0}customMetadata(t,e){const n=this.bb.__offset(this.bb_pos,8);return n?(e||new tr).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+n)+t*4),this.bb):null}customMetadataLength(){const t=this.bb.__offset(this.bb_pos,8);return t?this.bb.__vector_len(this.bb_pos+t):0}features(t){const e=this.bb.__offset(this.bb_pos,10);return e?this.bb.readInt64(this.bb.__vector(this.bb_pos+e)+t*8):BigInt(0)}featuresLength(){const t=this.bb.__offset(this.bb_pos,10);return t?this.bb.__vector_len(this.bb_pos+t):0}static startSchema(t){t.startObject(4)}static addEndianness(t,e){t.addFieldInt16(0,e,Yo.Little)}static addFields(t,e){t.addFieldOffset(1,e,0)}static createFieldsVector(t,e){t.startVector(4,e.length,4);for(let n=e.length-1;n>=0;n--)t.addOffset(e[n]);return t.endVector()}static startFieldsVector(t,e){t.startVector(4,e,4)}static addCustomMetadata(t,e){t.addFieldOffset(2,e,0)}static createCustomMetadataVector(t,e){t.startVector(4,e.length,4);for(let n=e.length-1;n>=0;n--)t.addOffset(e[n]);return t.endVector()}static startCustomMetadataVector(t,e){t.startVector(4,e,4)}static addFeatures(t,e){t.addFieldOffset(3,e,0)}static createFeaturesVector(t,e){t.startVector(8,e.length,8);for(let n=e.length-1;n>=0;n--)t.addInt64(e[n]);return t.endVector()}static startFeaturesVector(t,e){t.startVector(8,e,8)}static endSchema(t){return t.endObject()}static finishSchemaBuffer(t,e){t.finish(e)}static finishSizePrefixedSchemaBuffer(t,e){t.finish(e,void 0,!0)}static createSchema(t,e,n,i,s){return oi.startSchema(t),oi.addEndianness(t,e),oi.addFields(t,n),oi.addCustomMetadata(t,i),oi.addFeatures(t,s),oi.endSchema(t)}};var ve;(function(r){r[r.NONE=0]="NONE",r[r.Schema=1]="Schema",r[r.DictionaryBatch=2]="DictionaryBatch",r[r.RecordBatch=3]="RecordBatch",r[r.Tensor=4]="Tensor",r[r.SparseTensor=5]="SparseTensor"})(ve||(ve={}));var z;(function(r){r[r.NONE=0]="NONE",r[r.Null=1]="Null",r[r.Int=2]="Int",r[r.Float=3]="Float",r[r.Binary=4]="Binary",r[r.Utf8=5]="Utf8",r[r.Bool=6]="Bool",r[r.Decimal=7]="Decimal",r[r.Date=8]="Date",r[r.Time=9]="Time",r[r.Timestamp=10]="Timestamp",r[r.Interval=11]="Interval",r[r.List=12]="List",r[r.Struct=13]="Struct",r[r.Union=14]="Union",r[r.FixedSizeBinary=15]="FixedSizeBinary",r[r.FixedSizeList=16]="FixedSizeList",r[r.Map=17]="Map",r[r.Duration=18]="Duration",r[r.LargeBinary=19]="LargeBinary",r[r.LargeUtf8=20]="LargeUtf8",r[r.Dictionary=-1]="Dictionary",r[r.Int8=-2]="Int8",r[r.Int16=-3]="Int16",r[r.Int32=-4]="Int32",r[r.Int64=-5]="Int64",r[r.Uint8=-6]="Uint8",r[r.Uint16=-7]="Uint16",r[r.Uint32=-8]="Uint32",r[r.Uint64=-9]="Uint64",r[r.Float16=-10]="Float16",r[r.Float32=-11]="Float32",r[r.Float64=-12]="Float64",r[r.DateDay=-13]="DateDay",r[r.DateMillisecond=-14]="DateMillisecond",r[r.TimestampSecond=-15]="TimestampSecond",r[r.TimestampMillisecond=-16]="TimestampMillisecond",r[r.TimestampMicrosecond=-17]="TimestampMicrosecond",r[r.TimestampNanosecond=-18]="TimestampNanosecond",r[r.TimeSecond=-19]="TimeSecond",r[r.TimeMillisecond=-20]="TimeMillisecond",r[r.TimeMicrosecond=-21]="TimeMicrosecond",r[r.TimeNanosecond=-22]="TimeNanosecond",r[r.DenseUnion=-23]="DenseUnion",r[r.SparseUnion=-24]="SparseUnion",r[r.IntervalDayTime=-25]="IntervalDayTime",r[r.IntervalYearMonth=-26]="IntervalYearMonth",r[r.DurationSecond=-27]="DurationSecond",r[r.DurationMillisecond=-28]="DurationMillisecond",r[r.DurationMicrosecond=-29]="DurationMicrosecond",r[r.DurationNanosecond=-30]="DurationNanosecond"})(z||(z={}));var di;(function(r){r[r.OFFSET=0]="OFFSET",r[r.DATA=1]="DATA",r[r.VALIDITY=2]="VALIDITY",r[r.TYPE=3]="TYPE"})(di||(di={}));const yN=void 0;function ll(r){if(r===null)return"null";if(r===yN)return"undefined";switch(typeof r){case"number":return`${r}`;case"bigint":return`${r}`;case"string":return`"${r}"`}return typeof r[Symbol.toPrimitive]=="function"?r[Symbol.toPrimitive]("string"):ArrayBuffer.isView(r)?r instanceof BigInt64Array||r instanceof BigUint64Array?`[${[...r].map(t=>ll(t))}]`:`[${r}]`:ArrayBuffer.isView(r)?`[${r}]`:JSON.stringify(r,(t,e)=>typeof e=="bigint"?`${e}`:e)}function Ae(r){if(typeof r=="bigint"&&(rNumber.MAX_SAFE_INTEGER))throw new TypeError(`${r} is not safe to convert to a number.`);return Number(r)}function v1(r,t){return Ae(r/t)+Ae(r%t)/Ae(t)}const vN=Symbol.for("isArrowBigNum");function wn(r,...t){return t.length===0?Object.setPrototypeOf(Me(this.TypedArray,r),this.constructor.prototype):Object.setPrototypeOf(new this.TypedArray(r,...t),this.constructor.prototype)}wn.prototype[vN]=!0;wn.prototype.toJSON=function(){return`"${cl(this)}"`};wn.prototype.valueOf=function(r){return _1(this,r)};wn.prototype.toString=function(){return cl(this)};wn.prototype[Symbol.toPrimitive]=function(r="default"){switch(r){case"number":return _1(this);case"string":return cl(this);case"default":return xN(this)}return cl(this)};function No(...r){return wn.apply(this,r)}function Bo(...r){return wn.apply(this,r)}function ul(...r){return wn.apply(this,r)}Object.setPrototypeOf(No.prototype,Object.create(Int32Array.prototype));Object.setPrototypeOf(Bo.prototype,Object.create(Uint32Array.prototype));Object.setPrototypeOf(ul.prototype,Object.create(Uint32Array.prototype));Object.assign(No.prototype,wn.prototype,{constructor:No,signed:!0,TypedArray:Int32Array,BigIntArray:BigInt64Array});Object.assign(Bo.prototype,wn.prototype,{constructor:Bo,signed:!1,TypedArray:Uint32Array,BigIntArray:BigUint64Array});Object.assign(ul.prototype,wn.prototype,{constructor:ul,signed:!0,TypedArray:Uint32Array,BigIntArray:BigUint64Array});const _N=BigInt(4294967296)*BigInt(4294967296),bN=_N-BigInt(1);function _1(r,t){const{buffer:e,byteOffset:n,byteLength:i,signed:s}=r,o=new BigUint64Array(e,n,i/8),a=s&&o.at(-1)&BigInt(1)<=0)return Gd(r);t=t.slice();let n=1;for(let s=0;s(r.children=null,r.ArrayType=Array,r.OffsetArrayType=Int32Array,r[Symbol.toStringTag]="DataType"))(Rt.prototype);let Hi=class extends Rt{constructor(){super(z.Null)}toString(){return"Null"}};w1=Symbol.toStringTag;Hi[w1]=(r=>r[Symbol.toStringTag]="Null")(Hi.prototype);let Vs=class extends Rt{constructor(t,e){super(z.Int),this.isSigned=t,this.bitWidth=e}get ArrayType(){switch(this.bitWidth){case 8:return this.isSigned?Int8Array:Uint8Array;case 16:return this.isSigned?Int16Array:Uint16Array;case 32:return this.isSigned?Int32Array:Uint32Array;case 64:return this.isSigned?BigInt64Array:BigUint64Array}throw new Error(`Unrecognized ${this[Symbol.toStringTag]} type`)}toString(){return`${this.isSigned?"I":"Ui"}nt${this.bitWidth}`}};S1=Symbol.toStringTag;Vs[S1]=(r=>(r.isSigned=null,r.bitWidth=null,r[Symbol.toStringTag]="Int"))(Vs.prototype);class hl extends Vs{constructor(){super(!0,32)}get ArrayType(){return Int32Array}}Object.defineProperty(hl.prototype,"ArrayType",{value:Int32Array});let Zu=class extends Rt{constructor(t){super(z.Float),this.precision=t}get ArrayType(){switch(this.precision){case mr.HALF:return Uint16Array;case mr.SINGLE:return Float32Array;case mr.DOUBLE:return Float64Array}throw new Error(`Unrecognized ${this[Symbol.toStringTag]} type`)}toString(){return`Float${this.precision<<5||16}`}};T1=Symbol.toStringTag;Zu[T1]=(r=>(r.precision=null,r[Symbol.toStringTag]="Float"))(Zu.prototype);let Ku=class extends Rt{constructor(){super(z.Binary)}toString(){return"Binary"}};I1=Symbol.toStringTag;Ku[I1]=(r=>(r.ArrayType=Uint8Array,r[Symbol.toStringTag]="Binary"))(Ku.prototype);let Ju=class extends Rt{constructor(){super(z.LargeBinary)}toString(){return"LargeBinary"}};M1=Symbol.toStringTag;Ju[M1]=(r=>(r.ArrayType=Uint8Array,r.OffsetArrayType=BigInt64Array,r[Symbol.toStringTag]="LargeBinary"))(Ju.prototype);let tc=class extends Rt{constructor(){super(z.Utf8)}toString(){return"Utf8"}};E1=Symbol.toStringTag;tc[E1]=(r=>(r.ArrayType=Uint8Array,r[Symbol.toStringTag]="Utf8"))(tc.prototype);let ec=class extends Rt{constructor(){super(z.LargeUtf8)}toString(){return"LargeUtf8"}};A1=Symbol.toStringTag;ec[A1]=(r=>(r.ArrayType=Uint8Array,r.OffsetArrayType=BigInt64Array,r[Symbol.toStringTag]="LargeUtf8"))(ec.prototype);let rc=class extends Rt{constructor(){super(z.Bool)}toString(){return"Bool"}};C1=Symbol.toStringTag;rc[C1]=(r=>(r.ArrayType=Uint8Array,r[Symbol.toStringTag]="Bool"))(rc.prototype);let nc=class extends Rt{constructor(t,e,n=128){super(z.Decimal),this.scale=t,this.precision=e,this.bitWidth=n}toString(){return`Decimal[${this.precision}e${this.scale>0?"+":""}${this.scale}]`}};O1=Symbol.toStringTag;nc[O1]=(r=>(r.scale=null,r.precision=null,r.ArrayType=Uint32Array,r[Symbol.toStringTag]="Decimal"))(nc.prototype);let ic=class extends Rt{constructor(t){super(z.Date),this.unit=t}toString(){return`Date${(this.unit+1)*32}<${dn[this.unit]}>`}get ArrayType(){return this.unit===dn.DAY?Int32Array:BigInt64Array}};P1=Symbol.toStringTag;ic[P1]=(r=>(r.unit=null,r[Symbol.toStringTag]="Date"))(ic.prototype);let sc=class extends Rt{constructor(t,e){super(z.Time),this.unit=t,this.bitWidth=e}toString(){return`Time${this.bitWidth}<${$t[this.unit]}>`}get ArrayType(){switch(this.bitWidth){case 32:return Int32Array;case 64:return BigInt64Array}throw new Error(`Unrecognized ${this[Symbol.toStringTag]} type`)}};R1=Symbol.toStringTag;sc[R1]=(r=>(r.unit=null,r.bitWidth=null,r[Symbol.toStringTag]="Time"))(sc.prototype);let oc=class extends Rt{constructor(t,e){super(z.Timestamp),this.unit=t,this.timezone=e}toString(){return`Timestamp<${$t[this.unit]}${this.timezone?`, ${this.timezone}`:""}>`}};F1=Symbol.toStringTag;oc[F1]=(r=>(r.unit=null,r.timezone=null,r.ArrayType=BigInt64Array,r[Symbol.toStringTag]="Timestamp"))(oc.prototype);let ac=class extends Rt{constructor(t){super(z.Interval),this.unit=t}toString(){return`Interval<${qn[this.unit]}>`}};D1=Symbol.toStringTag;ac[D1]=(r=>(r.unit=null,r.ArrayType=Int32Array,r[Symbol.toStringTag]="Interval"))(ac.prototype);let lc=class extends Rt{constructor(t){super(z.Duration),this.unit=t}toString(){return`Duration<${$t[this.unit]}>`}};L1=Symbol.toStringTag;lc[L1]=(r=>(r.unit=null,r.ArrayType=BigInt64Array,r[Symbol.toStringTag]="Duration"))(lc.prototype);let uc=class extends Rt{constructor(t){super(z.List),this.children=[t]}toString(){return`List<${this.valueType}>`}get valueType(){return this.children[0].type}get valueField(){return this.children[0]}get ArrayType(){return this.valueType.ArrayType}};N1=Symbol.toStringTag;uc[N1]=(r=>(r.children=null,r[Symbol.toStringTag]="List"))(uc.prototype);let br=class extends Rt{constructor(t){super(z.Struct),this.children=t}toString(){return`Struct<{${this.children.map(t=>`${t.name}:${t.type}`).join(", ")}}>`}};B1=Symbol.toStringTag;br[B1]=(r=>(r.children=null,r[Symbol.toStringTag]="Struct"))(br.prototype);let cc=class extends Rt{constructor(t,e,n){super(z.Union),this.mode=t,this.children=n,this.typeIds=e=Int32Array.from(e),this.typeIdToChildIndex=e.reduce((i,s,o)=>(i[s]=o)&&i||i,Object.create(null))}toString(){return`${this[Symbol.toStringTag]}<${this.children.map(t=>`${t.type}`).join(" | ")}>`}};k1=Symbol.toStringTag;cc[k1]=(r=>(r.mode=null,r.typeIds=null,r.children=null,r.typeIdToChildIndex=null,r.ArrayType=Int8Array,r[Symbol.toStringTag]="Union"))(cc.prototype);let hc=class extends Rt{constructor(t){super(z.FixedSizeBinary),this.byteWidth=t}toString(){return`FixedSizeBinary[${this.byteWidth}]`}};U1=Symbol.toStringTag;hc[U1]=(r=>(r.byteWidth=null,r.ArrayType=Uint8Array,r[Symbol.toStringTag]="FixedSizeBinary"))(hc.prototype);let dc=class extends Rt{constructor(t,e){super(z.FixedSizeList),this.listSize=t,this.children=[e]}get valueType(){return this.children[0].type}get valueField(){return this.children[0]}get ArrayType(){return this.valueType.ArrayType}toString(){return`FixedSizeList[${this.listSize}]<${this.valueType}>`}};z1=Symbol.toStringTag;dc[z1]=(r=>(r.children=null,r.listSize=null,r[Symbol.toStringTag]="FixedSizeList"))(dc.prototype);let fc=class extends Rt{constructor(t,e=!1){var n,i,s;if(super(z.Map),this.children=[t],this.keysSorted=e,t&&(t.name="entries",!((n=t==null?void 0:t.type)===null||n===void 0)&&n.children)){const o=(i=t==null?void 0:t.type)===null||i===void 0?void 0:i.children[0];o&&(o.name="key");const a=(s=t==null?void 0:t.type)===null||s===void 0?void 0:s.children[1];a&&(a.name="value")}}get keyType(){return this.children[0].type.children[0].type}get valueType(){return this.children[0].type.children[1].type}get childType(){return this.children[0].type}toString(){return`Map<{${this.children[0].type.children.map(t=>`${t.name}:${t.type}`).join(", ")}}>`}};V1=Symbol.toStringTag;fc[V1]=(r=>(r.children=null,r.keysSorted=null,r[Symbol.toStringTag]="Map_"))(fc.prototype);const SN=(r=>()=>++r)(-1);let qo=class extends Rt{constructor(t,e,n,i){super(z.Dictionary),this.indices=e,this.dictionary=t,this.isOrdered=i||!1,this.id=n==null?SN():Ae(n)}get children(){return this.dictionary.children}get valueType(){return this.dictionary}get ArrayType(){return this.dictionary.ArrayType}toString(){return`Dictionary<${this.indices}, ${this.dictionary}>`}};j1=Symbol.toStringTag;qo[j1]=(r=>(r.id=null,r.indices=null,r.isOrdered=null,r.dictionary=null,r[Symbol.toStringTag]="Dictionary"))(qo.prototype);function fi(r){const t=r;switch(r.typeId){case z.Decimal:return r.bitWidth/32;case z.Interval:return 1+t.unit;case z.FixedSizeList:return t.listSize;case z.FixedSizeBinary:return t.byteWidth;default:return 1}}let le=class{visitMany(t,...e){return t.map((n,i)=>this.visit(n,...e.map(s=>s[i])))}visit(...t){return this.getVisitFn(t[0],!1).apply(this,t)}getVisitFn(t,e=!0){return TN(this,t,e)}getVisitFnByTypeId(t,e=!0){return wo(this,t,e)}visitNull(t,...e){return null}visitBool(t,...e){return null}visitInt(t,...e){return null}visitFloat(t,...e){return null}visitUtf8(t,...e){return null}visitLargeUtf8(t,...e){return null}visitBinary(t,...e){return null}visitLargeBinary(t,...e){return null}visitFixedSizeBinary(t,...e){return null}visitDate(t,...e){return null}visitTimestamp(t,...e){return null}visitTime(t,...e){return null}visitDecimal(t,...e){return null}visitList(t,...e){return null}visitStruct(t,...e){return null}visitUnion(t,...e){return null}visitDictionary(t,...e){return null}visitInterval(t,...e){return null}visitDuration(t,...e){return null}visitFixedSizeList(t,...e){return null}visitMap(t,...e){return null}};function TN(r,t,e=!0){return typeof t=="number"?wo(r,t,e):typeof t=="string"&&t in z?wo(r,z[t],e):t&&t instanceof Rt?wo(r,l0(t),e):t!=null&&t.type&&t.type instanceof Rt?wo(r,l0(t.type),e):wo(r,z.NONE,e)}function wo(r,t,e=!0){let n=null;switch(t){case z.Null:n=r.visitNull;break;case z.Bool:n=r.visitBool;break;case z.Int:n=r.visitInt;break;case z.Int8:n=r.visitInt8||r.visitInt;break;case z.Int16:n=r.visitInt16||r.visitInt;break;case z.Int32:n=r.visitInt32||r.visitInt;break;case z.Int64:n=r.visitInt64||r.visitInt;break;case z.Uint8:n=r.visitUint8||r.visitInt;break;case z.Uint16:n=r.visitUint16||r.visitInt;break;case z.Uint32:n=r.visitUint32||r.visitInt;break;case z.Uint64:n=r.visitUint64||r.visitInt;break;case z.Float:n=r.visitFloat;break;case z.Float16:n=r.visitFloat16||r.visitFloat;break;case z.Float32:n=r.visitFloat32||r.visitFloat;break;case z.Float64:n=r.visitFloat64||r.visitFloat;break;case z.Utf8:n=r.visitUtf8;break;case z.LargeUtf8:n=r.visitLargeUtf8;break;case z.Binary:n=r.visitBinary;break;case z.LargeBinary:n=r.visitLargeBinary;break;case z.FixedSizeBinary:n=r.visitFixedSizeBinary;break;case z.Date:n=r.visitDate;break;case z.DateDay:n=r.visitDateDay||r.visitDate;break;case z.DateMillisecond:n=r.visitDateMillisecond||r.visitDate;break;case z.Timestamp:n=r.visitTimestamp;break;case z.TimestampSecond:n=r.visitTimestampSecond||r.visitTimestamp;break;case z.TimestampMillisecond:n=r.visitTimestampMillisecond||r.visitTimestamp;break;case z.TimestampMicrosecond:n=r.visitTimestampMicrosecond||r.visitTimestamp;break;case z.TimestampNanosecond:n=r.visitTimestampNanosecond||r.visitTimestamp;break;case z.Time:n=r.visitTime;break;case z.TimeSecond:n=r.visitTimeSecond||r.visitTime;break;case z.TimeMillisecond:n=r.visitTimeMillisecond||r.visitTime;break;case z.TimeMicrosecond:n=r.visitTimeMicrosecond||r.visitTime;break;case z.TimeNanosecond:n=r.visitTimeNanosecond||r.visitTime;break;case z.Decimal:n=r.visitDecimal;break;case z.List:n=r.visitList;break;case z.Struct:n=r.visitStruct;break;case z.Union:n=r.visitUnion;break;case z.DenseUnion:n=r.visitDenseUnion||r.visitUnion;break;case z.SparseUnion:n=r.visitSparseUnion||r.visitUnion;break;case z.Dictionary:n=r.visitDictionary;break;case z.Interval:n=r.visitInterval;break;case z.IntervalDayTime:n=r.visitIntervalDayTime||r.visitInterval;break;case z.IntervalYearMonth:n=r.visitIntervalYearMonth||r.visitInterval;break;case z.Duration:n=r.visitDuration;break;case z.DurationSecond:n=r.visitDurationSecond||r.visitDuration;break;case z.DurationMillisecond:n=r.visitDurationMillisecond||r.visitDuration;break;case z.DurationMicrosecond:n=r.visitDurationMicrosecond||r.visitDuration;break;case z.DurationNanosecond:n=r.visitDurationNanosecond||r.visitDuration;break;case z.FixedSizeList:n=r.visitFixedSizeList;break;case z.Map:n=r.visitMap;break}if(typeof n=="function")return n;if(!e)return()=>null;throw new Error(`Unrecognized type '${z[t]}'`)}function l0(r){switch(r.typeId){case z.Null:return z.Null;case z.Int:{const{bitWidth:t,isSigned:e}=r;switch(t){case 8:return e?z.Int8:z.Uint8;case 16:return e?z.Int16:z.Uint16;case 32:return e?z.Int32:z.Uint32;case 64:return e?z.Int64:z.Uint64}return z.Int}case z.Float:switch(r.precision){case mr.HALF:return z.Float16;case mr.SINGLE:return z.Float32;case mr.DOUBLE:return z.Float64}return z.Float;case z.Binary:return z.Binary;case z.LargeBinary:return z.LargeBinary;case z.Utf8:return z.Utf8;case z.LargeUtf8:return z.LargeUtf8;case z.Bool:return z.Bool;case z.Decimal:return z.Decimal;case z.Time:switch(r.unit){case $t.SECOND:return z.TimeSecond;case $t.MILLISECOND:return z.TimeMillisecond;case $t.MICROSECOND:return z.TimeMicrosecond;case $t.NANOSECOND:return z.TimeNanosecond}return z.Time;case z.Timestamp:switch(r.unit){case $t.SECOND:return z.TimestampSecond;case $t.MILLISECOND:return z.TimestampMillisecond;case $t.MICROSECOND:return z.TimestampMicrosecond;case $t.NANOSECOND:return z.TimestampNanosecond}return z.Timestamp;case z.Date:switch(r.unit){case dn.DAY:return z.DateDay;case dn.MILLISECOND:return z.DateMillisecond}return z.Date;case z.Interval:switch(r.unit){case qn.DAY_TIME:return z.IntervalDayTime;case qn.YEAR_MONTH:return z.IntervalYearMonth}return z.Interval;case z.Duration:switch(r.unit){case $t.SECOND:return z.DurationSecond;case $t.MILLISECOND:return z.DurationMillisecond;case $t.MICROSECOND:return z.DurationMicrosecond;case $t.NANOSECOND:return z.DurationNanosecond}return z.Duration;case z.Map:return z.Map;case z.List:return z.List;case z.Struct:return z.Struct;case z.Union:switch(r.mode){case gr.Dense:return z.DenseUnion;case gr.Sparse:return z.SparseUnion}return z.Union;case z.FixedSizeBinary:return z.FixedSizeBinary;case z.FixedSizeList:return z.FixedSizeList;case z.Dictionary:return z.Dictionary}throw new Error(`Unrecognized type '${z[r.typeId]}'`)}le.prototype.visitInt8=null;le.prototype.visitInt16=null;le.prototype.visitInt32=null;le.prototype.visitInt64=null;le.prototype.visitUint8=null;le.prototype.visitUint16=null;le.prototype.visitUint32=null;le.prototype.visitUint64=null;le.prototype.visitFloat16=null;le.prototype.visitFloat32=null;le.prototype.visitFloat64=null;le.prototype.visitDateDay=null;le.prototype.visitDateMillisecond=null;le.prototype.visitTimestampSecond=null;le.prototype.visitTimestampMillisecond=null;le.prototype.visitTimestampMicrosecond=null;le.prototype.visitTimestampNanosecond=null;le.prototype.visitTimeSecond=null;le.prototype.visitTimeMillisecond=null;le.prototype.visitTimeMicrosecond=null;le.prototype.visitTimeNanosecond=null;le.prototype.visitDenseUnion=null;le.prototype.visitSparseUnion=null;le.prototype.visitIntervalDayTime=null;le.prototype.visitIntervalYearMonth=null;le.prototype.visitDuration=null;le.prototype.visitDurationSecond=null;le.prototype.visitDurationMillisecond=null;le.prototype.visitDurationMicrosecond=null;le.prototype.visitDurationNanosecond=null;const $1=new Float64Array(1),lo=new Uint32Array($1.buffer);function G1(r){const t=(r&31744)>>10,e=(r&1023)/1024,n=Math.pow(-1,(r&32768)>>15);switch(t){case 31:return n*(e?Number.NaN:1/0);case 0:return n*(e?6103515625e-14*e:0)}return n*Math.pow(2,t-15)*(1+e)}function IN(r){if(r!==r)return 32256;$1[0]=r;const t=(lo[1]&2147483648)>>16&65535;let e=lo[1]&2146435072,n=0;return e>=1089470464?lo[0]>0?e=31744:(e=(e&2080374784)>>16,n=(lo[1]&1048575)>>10):e<=1056964608?(n=1048576+(lo[1]&1048575),n=1048576+(n<<(e>>20)-998)>>21,e=0):(e=e-1056964608>>10,n=(lo[1]&1048575)+512>>10),t|e|n&65535}let Gt=class extends le{};function Zt(r){return(t,e,n)=>{if(t.setValid(e,n!=null))return r(t,e,n)}}const MN=(r,t,e)=>{r[t]=Math.floor(e/864e5)},W1=(r,t,e,n)=>{if(e+1{const i=r+e;n?t[i>>3]|=1<>3]&=~(1<{r[t]=e},Cm=({values:r},t,e)=>{r[t]=e},H1=({values:r},t,e)=>{r[t]=IN(e)},AN=(r,t,e)=>{switch(r.type.precision){case mr.HALF:return H1(r,t,e);case mr.SINGLE:case mr.DOUBLE:return Cm(r,t,e)}},X1=({values:r},t,e)=>{MN(r,t,e.valueOf())},Y1=({values:r},t,e)=>{r[t]=BigInt(e)},CN=({stride:r,values:t},e,n)=>{t.set(n.subarray(0,r),r*e)},q1=({values:r,valueOffsets:t},e,n)=>W1(r,t,e,n),Q1=({values:r,valueOffsets:t},e,n)=>W1(r,t,e,Mm(n)),ON=(r,t,e)=>{r.type.unit===dn.DAY?X1(r,t,e):Y1(r,t,e)},Z1=({values:r},t,e)=>{r[t]=BigInt(e/1e3)},K1=({values:r},t,e)=>{r[t]=BigInt(e)},J1=({values:r},t,e)=>{r[t]=BigInt(e*1e3)},tS=({values:r},t,e)=>{r[t]=BigInt(e*1e6)},PN=(r,t,e)=>{switch(r.type.unit){case $t.SECOND:return Z1(r,t,e);case $t.MILLISECOND:return K1(r,t,e);case $t.MICROSECOND:return J1(r,t,e);case $t.NANOSECOND:return tS(r,t,e)}},eS=({values:r},t,e)=>{r[t]=e},rS=({values:r},t,e)=>{r[t]=e},nS=({values:r},t,e)=>{r[t]=e},iS=({values:r},t,e)=>{r[t]=e},RN=(r,t,e)=>{switch(r.type.unit){case $t.SECOND:return eS(r,t,e);case $t.MILLISECOND:return rS(r,t,e);case $t.MICROSECOND:return nS(r,t,e);case $t.NANOSECOND:return iS(r,t,e)}},FN=({values:r,stride:t},e,n)=>{r.set(n.subarray(0,t),t*e)},DN=(r,t,e)=>{const n=r.children[0],i=r.valueOffsets,s=fn.getVisitFn(n);if(Array.isArray(e))for(let o=-1,a=i[t],l=i[t+1];a{const n=r.children[0],{valueOffsets:i}=r,s=fn.getVisitFn(n);let{[t]:o,[t+1]:a}=i;const l=e instanceof Map?e.entries():Object.entries(e);for(const u of l)if(s(n,o,u),++o>=a)break},NN=(r,t)=>(e,n,i,s)=>n&&e(n,r,t[s]),BN=(r,t)=>(e,n,i,s)=>n&&e(n,r,t.get(s)),kN=(r,t)=>(e,n,i,s)=>n&&e(n,r,t.get(i.name)),UN=(r,t)=>(e,n,i,s)=>n&&e(n,r,t[i.name]),zN=(r,t,e)=>{const n=r.type.children.map(s=>fn.getVisitFn(s.type)),i=e instanceof Map?kN(t,e):e instanceof ze?BN(t,e):Array.isArray(e)?NN(t,e):UN(t,e);r.type.children.forEach((s,o)=>i(n[o],r.children[o],s,o))},VN=(r,t,e)=>{r.type.mode===gr.Dense?sS(r,t,e):oS(r,t,e)},sS=(r,t,e)=>{const n=r.type.typeIdToChildIndex[r.typeIds[t]],i=r.children[n];fn.visit(i,r.valueOffsets[t],e)},oS=(r,t,e)=>{const n=r.type.typeIdToChildIndex[r.typeIds[t]],i=r.children[n];fn.visit(i,t,e)},jN=(r,t,e)=>{var n;(n=r.dictionary)===null||n===void 0||n.set(r.values[t],e)},$N=(r,t,e)=>{r.type.unit===qn.DAY_TIME?aS(r,t,e):lS(r,t,e)},aS=({values:r},t,e)=>{r.set(e.subarray(0,2),2*t)},lS=({values:r},t,e)=>{r[t]=e[0]*12+e[1]%12},uS=({values:r},t,e)=>{r[t]=e},cS=({values:r},t,e)=>{r[t]=e},hS=({values:r},t,e)=>{r[t]=e},dS=({values:r},t,e)=>{r[t]=e},GN=(r,t,e)=>{switch(r.type.unit){case $t.SECOND:return uS(r,t,e);case $t.MILLISECOND:return cS(r,t,e);case $t.MICROSECOND:return hS(r,t,e);case $t.NANOSECOND:return dS(r,t,e)}},WN=(r,t,e)=>{const{stride:n}=r,i=r.children[0],s=fn.getVisitFn(i);if(Array.isArray(e))for(let o=-1,a=t*n;++o`${ll(t)}: ${ll(e)}`).join(", ")}}`}[Symbol.for("nodejs.util.inspect.custom")](){return this.toString()}[Symbol.iterator](){return new HN(this[yn],this[ko])}},HN=class{constructor(t,e){this.childIndex=0,this.children=t.children,this.rowIndex=e,this.childFields=t.type.children,this.numChildren=this.childFields.length}[Symbol.iterator](){return this}next(){const t=this.childIndex;return te.name)}has(t,e){return t[yn].type.children.findIndex(n=>n.name===e)!==-1}getOwnPropertyDescriptor(t,e){if(t[yn].type.children.findIndex(n=>n.name===e)!==-1)return{writable:!0,enumerable:!0,configurable:!0}}get(t,e){if(Reflect.has(t,e))return t[e];const n=t[yn].type.children.findIndex(i=>i.name===e);if(n!==-1){const i=Or.visit(t[yn].children[n],t[ko]);return Reflect.set(t,e,i),i}}set(t,e,n){const i=t[yn].type.children.findIndex(s=>s.name===e);return i!==-1?(fn.visit(t[yn].children[i],t[ko],n),Reflect.set(t,e,n)):Reflect.has(t,e)||typeof e=="symbol"?Reflect.set(t,e,n):!1}},Lt=class extends le{};function Wt(r){return(t,e)=>t.getValid(e)?r(t,e):null}const YN=(r,t)=>864e5*r[t],qN=(r,t)=>null,fS=(r,t,e)=>{if(e+1>=t.length)return null;const n=Ae(t[e]),i=Ae(t[e+1]);return r.subarray(n,i)},QN=({offset:r,values:t},e)=>{const n=r+e;return(t[n>>3]&1<YN(r,t),mS=({values:r},t)=>Ae(r[t]),ts=({stride:r,values:t},e)=>t[r*e],ZN=({stride:r,values:t},e)=>G1(t[r*e]),gS=({values:r},t)=>r[t],KN=({stride:r,values:t},e)=>t.subarray(r*e,r*(e+1)),yS=({values:r,valueOffsets:t},e)=>fS(r,t,e),vS=({values:r,valueOffsets:t},e)=>{const n=fS(r,t,e);return n!==null?pp(n):null},JN=({values:r},t)=>r[t],t3=({type:r,values:t},e)=>r.precision!==mr.HALF?t[e]:G1(t[e]),e3=(r,t)=>r.type.unit===dn.DAY?pS(r,t):mS(r,t),_S=({values:r},t)=>1e3*Ae(r[t]),bS=({values:r},t)=>Ae(r[t]),xS=({values:r},t)=>v1(r[t],BigInt(1e3)),wS=({values:r},t)=>v1(r[t],BigInt(1e6)),r3=(r,t)=>{switch(r.type.unit){case $t.SECOND:return _S(r,t);case $t.MILLISECOND:return bS(r,t);case $t.MICROSECOND:return xS(r,t);case $t.NANOSECOND:return wS(r,t)}},SS=({values:r},t)=>r[t],TS=({values:r},t)=>r[t],IS=({values:r},t)=>r[t],MS=({values:r},t)=>r[t],n3=(r,t)=>{switch(r.type.unit){case $t.SECOND:return SS(r,t);case $t.MILLISECOND:return TS(r,t);case $t.MICROSECOND:return IS(r,t);case $t.NANOSECOND:return MS(r,t)}},i3=({values:r,stride:t},e)=>wN.decimal(r.subarray(t*e,t*(e+1))),s3=(r,t)=>{const{valueOffsets:e,stride:n,children:i}=r,{[t*n]:s,[t*n+1]:o}=e,l=i[0].slice(s,o-s);return new ze([l])},o3=(r,t)=>{const{valueOffsets:e,children:n}=r,{[t]:i,[t+1]:s}=e,o=n[0];return new Pm(o.slice(i,s-i))},a3=(r,t)=>new Om(r,t),l3=(r,t)=>r.type.mode===gr.Dense?ES(r,t):AS(r,t),ES=(r,t)=>{const e=r.type.typeIdToChildIndex[r.typeIds[t]],n=r.children[e];return Or.visit(n,r.valueOffsets[t])},AS=(r,t)=>{const e=r.type.typeIdToChildIndex[r.typeIds[t]],n=r.children[e];return Or.visit(n,t)},u3=(r,t)=>{var e;return(e=r.dictionary)===null||e===void 0?void 0:e.get(r.values[t])},c3=(r,t)=>r.type.unit===qn.DAY_TIME?CS(r,t):OS(r,t),CS=({values:r},t)=>r.subarray(2*t,2*(t+1)),OS=({values:r},t)=>{const e=r[t],n=new Int32Array(2);return n[0]=Math.trunc(e/12),n[1]=Math.trunc(e%12),n},PS=({values:r},t)=>r[t],RS=({values:r},t)=>r[t],FS=({values:r},t)=>r[t],DS=({values:r},t)=>r[t],h3=(r,t)=>{switch(r.type.unit){case $t.SECOND:return PS(r,t);case $t.MILLISECOND:return RS(r,t);case $t.MICROSECOND:return FS(r,t);case $t.NANOSECOND:return DS(r,t)}},d3=(r,t)=>{const{stride:e,children:n}=r,s=n[0].slice(t*e,e);return new ze([s])};Lt.prototype.visitNull=Wt(qN);Lt.prototype.visitBool=Wt(QN);Lt.prototype.visitInt=Wt(JN);Lt.prototype.visitInt8=Wt(ts);Lt.prototype.visitInt16=Wt(ts);Lt.prototype.visitInt32=Wt(ts);Lt.prototype.visitInt64=Wt(gS);Lt.prototype.visitUint8=Wt(ts);Lt.prototype.visitUint16=Wt(ts);Lt.prototype.visitUint32=Wt(ts);Lt.prototype.visitUint64=Wt(gS);Lt.prototype.visitFloat=Wt(t3);Lt.prototype.visitFloat16=Wt(ZN);Lt.prototype.visitFloat32=Wt(ts);Lt.prototype.visitFloat64=Wt(ts);Lt.prototype.visitUtf8=Wt(vS);Lt.prototype.visitLargeUtf8=Wt(vS);Lt.prototype.visitBinary=Wt(yS);Lt.prototype.visitLargeBinary=Wt(yS);Lt.prototype.visitFixedSizeBinary=Wt(KN);Lt.prototype.visitDate=Wt(e3);Lt.prototype.visitDateDay=Wt(pS);Lt.prototype.visitDateMillisecond=Wt(mS);Lt.prototype.visitTimestamp=Wt(r3);Lt.prototype.visitTimestampSecond=Wt(_S);Lt.prototype.visitTimestampMillisecond=Wt(bS);Lt.prototype.visitTimestampMicrosecond=Wt(xS);Lt.prototype.visitTimestampNanosecond=Wt(wS);Lt.prototype.visitTime=Wt(n3);Lt.prototype.visitTimeSecond=Wt(SS);Lt.prototype.visitTimeMillisecond=Wt(TS);Lt.prototype.visitTimeMicrosecond=Wt(IS);Lt.prototype.visitTimeNanosecond=Wt(MS);Lt.prototype.visitDecimal=Wt(i3);Lt.prototype.visitList=Wt(s3);Lt.prototype.visitStruct=Wt(a3);Lt.prototype.visitUnion=Wt(l3);Lt.prototype.visitDenseUnion=Wt(ES);Lt.prototype.visitSparseUnion=Wt(AS);Lt.prototype.visitDictionary=Wt(u3);Lt.prototype.visitInterval=Wt(c3);Lt.prototype.visitIntervalDayTime=Wt(CS);Lt.prototype.visitIntervalYearMonth=Wt(OS);Lt.prototype.visitDuration=Wt(h3);Lt.prototype.visitDurationSecond=Wt(PS);Lt.prototype.visitDurationMillisecond=Wt(RS);Lt.prototype.visitDurationMicrosecond=Wt(FS);Lt.prototype.visitDurationNanosecond=Wt(DS);Lt.prototype.visitFixedSizeList=Wt(d3);Lt.prototype.visitMap=Wt(o3);const Or=new Lt,So=Symbol.for("keys"),Uo=Symbol.for("vals"),To=Symbol.for("kKeysAsStrings"),xp=Symbol.for("_kKeysAsStrings");let Pm=class{constructor(t){return this[So]=new ze([t.children[0]]).memoize(),this[Uo]=t.children[1],new Proxy(this,new p3)}get[To](){return this[xp]||(this[xp]=Array.from(this[So].toArray(),String))}[Symbol.iterator](){return new f3(this[So],this[Uo])}get size(){return this[So].length}toArray(){return Object.values(this.toJSON())}toJSON(){const t=this[So],e=this[Uo],n={};for(let i=-1,s=t.length;++i`${ll(t)}: ${ll(e)}`).join(", ")}}`}[Symbol.for("nodejs.util.inspect.custom")](){return this.toString()}},f3=class{constructor(t,e){this.keys=t,this.vals=e,this.keyIndex=0,this.numKeys=t.length}[Symbol.iterator](){return this}next(){const t=this.keyIndex;return t===this.numKeys?{done:!0,value:null}:(this.keyIndex++,{done:!1,value:[this.keys.get(t),Or.visit(this.vals,t)]})}},p3=class{isExtensible(){return!1}deleteProperty(){return!1}preventExtensions(){return!0}ownKeys(t){return t[To]}has(t,e){return t[To].includes(e)}getOwnPropertyDescriptor(t,e){if(t[To].indexOf(e)!==-1)return{writable:!0,enumerable:!0,configurable:!0}}get(t,e){if(Reflect.has(t,e))return t[e];const n=t[To].indexOf(e);if(n!==-1){const i=Or.visit(Reflect.get(t,Uo),n);return Reflect.set(t,e,i),i}}set(t,e,n){const i=t[To].indexOf(e);return i!==-1?(fn.visit(Reflect.get(t,Uo),i,n),Reflect.set(t,e,n)):Reflect.has(t,e)?Reflect.set(t,e,n):!1}};Object.defineProperties(Pm.prototype,{[Symbol.toStringTag]:{enumerable:!1,configurable:!1,value:"Row"},[So]:{writable:!0,enumerable:!1,configurable:!1,value:null},[Uo]:{writable:!0,enumerable:!1,configurable:!1,value:null},[xp]:{writable:!0,enumerable:!1,configurable:!1,value:null}});let u0;function LS(r,t,e,n){const{length:i=0}=r;let s=typeof t!="number"?0:t,o=typeof e!="number"?i:e;return s<0&&(s=(s%i+i)%i),o<0&&(o=(o%i+i)%i),oi&&(o=i),n?n(r,s,o):[s,o]}const Rm=(r,t)=>r<0?t+r:r,c0=r=>r!==r;function aa(r){if(typeof r!=="object"||r===null)return c0(r)?c0:e=>e===r;if(r instanceof Date){const e=r.valueOf();return n=>n instanceof Date?n.valueOf()===e:!1}return ArrayBuffer.isView(r)?e=>e?hN(r,e):!1:r instanceof Map?g3(r):Array.isArray(r)?m3(r):r instanceof ze?y3(r):v3(r,!0)}function m3(r){const t=[];for(let e=-1,n=r.length;++e!1;const n=[];for(let i=-1,s=e.length;++i{if(!e||typeof e!="object")return!1;switch(e.constructor){case Array:return _3(r,e);case Map:return h0(r,e,e.keys());case Pm:case Om:case Object:case void 0:return h0(r,e,t||Object.keys(e))}return e instanceof ze?b3(r,e):!1}}function _3(r,t){const e=r.length;if(t.length!==e)return!1;for(let n=-1;++n>n}function pc(r,t,e){const n=e.byteLength+7&-8;if(r>0||e.byteLength>3):mc(new Fm(e,r,t,null,NS)).subarray(0,n)),i}return e}function mc(r){const t=[];let e=0,n=0,i=0;for(const o of r)o&&(i|=1<0)&&(t[e++]=i);const s=new Uint8Array(t.length+7&-8);return s.set(t),s}let Fm=class{constructor(t,e,n,i,s){this.bytes=t,this.length=n,this.context=i,this.get=s,this.bit=e%8,this.byteIndex=e>>3,this.byte=t[this.byteIndex++],this.index=0}next(){return this.index>3<<3,i=t+(t%8===0?0:8-t%8);return wp(r,t,i)+wp(r,n,e)+w3(r,i>>3,n-i>>3)}function w3(r,t,e){let n=0,i=Math.trunc(t);const s=new DataView(r.buffer,r.byteOffset,r.byteLength),o=e===void 0?r.byteLength:i+e;for(;o-i>=4;)n+=Wd(s.getUint32(i)),i+=4;for(;o-i>=2;)n+=Wd(s.getUint16(i)),i+=2;for(;o-i>=1;)n+=Wd(s.getUint8(i)),i+=1;return n}function Wd(r){let t=Math.trunc(r);return t=t-(t>>>1&1431655765),t=(t&858993459)+(t>>>2&858993459),(t+(t>>>4)&252645135)*16843009>>>24}const S3=-1;let Pe=class Sp{get typeId(){return this.type.typeId}get ArrayType(){return this.type.ArrayType}get buffers(){return[this.valueOffsets,this.values,this.nullBitmap,this.typeIds]}get nullable(){if(this._nullCount!==0){const{type:t}=this;return Rt.isSparseUnion(t)?this.children.some(e=>e.nullable):Rt.isDenseUnion(t)?this.children.some(e=>e.nullable):this.nullBitmap&&this.nullBitmap.byteLength>0}return!0}get byteLength(){let t=0;const{valueOffsets:e,values:n,nullBitmap:i,typeIds:s}=this;return e&&(t+=e.byteLength),n&&(t+=n.byteLength),i&&(t+=i.byteLength),s&&(t+=s.byteLength),this.children.reduce((o,a)=>o+a.byteLength,t)}get nullCount(){if(Rt.isUnion(this.type))return this.children.reduce((n,i)=>n+i.nullCount,0);let t=this._nullCount,e;return t<=S3&&(e=this.nullBitmap)&&(this._nullCount=t=e.length===0?0:this.length-wp(e,this.offset,this.offset+this.length)),t}constructor(t,e,n,i,s,o=[],a){this.type=t,this.children=o,this.dictionary=a,this.offset=Math.floor(Math.max(e||0,0)),this.length=Math.floor(Math.max(n||0,0)),this._nullCount=Math.floor(Math.max(i||0,-1));let l;s instanceof Sp?(this.stride=s.stride,this.values=s.values,this.typeIds=s.typeIds,this.nullBitmap=s.nullBitmap,this.valueOffsets=s.valueOffsets):(this.stride=fi(t),s&&((l=s[0])&&(this.valueOffsets=l),(l=s[1])&&(this.values=l),(l=s[2])&&(this.nullBitmap=l),(l=s[3])&&(this.typeIds=l)))}getValid(t){const{type:e}=this;if(Rt.isUnion(e)){const n=e,i=this.children[n.typeIdToChildIndex[this.typeIds[t]]],s=n.mode===gr.Dense?this.valueOffsets[t]:t;return i.getValid(s)}if(this.nullable&&this.nullCount>0){const n=this.offset+t;return(this.nullBitmap[n>>3]&1<>3;(!s||s.byteLength<=c)&&(s=new Uint8Array((o+a+63&-64)>>3).fill(255),this.nullCount>0?(s.set(pc(o,a,this.nullBitmap),0),Object.assign(this,{nullBitmap:s})):Object.assign(this,{nullBitmap:s,_nullCount:0}));const h=s[c];n=(h&u)!==0,s[c]=e?h|u:h&~u}return n!==!!e&&(this._nullCount=this.nullCount+(e?-1:1)),e}clone(t=this.type,e=this.offset,n=this.length,i=this._nullCount,s=this,o=this.children){return new Sp(t,e,n,i,s,o,this.dictionary)}slice(t,e){const{stride:n,typeId:i,children:s}=this,o=+(this._nullCount===0)-1,a=i===16?n:1,l=this._sliceBuffers(t,e,n,i);return this.clone(this.type,this.offset+t,e,o,l,s.length===0||this.valueOffsets?s:this._sliceChildren(s,a*t,a*e))}_changeLengthAndBackfillNullBitmap(t){if(this.typeId===z.Null)return this.clone(this.type,0,t,0);const{length:e,nullCount:n}=this,i=new Uint8Array((t+63&-64)>>3).fill(255,0,e>>3);i[e>>3]=(1<0&&i.set(pc(this.offset,e,this.nullBitmap),0);const s=this.buffers;return s[di.VALIDITY]=i,this.clone(this.type,0,t,n+(t-e),s)}_sliceBuffers(t,e,n,i){let s;const{buffers:o}=this;return(s=o[di.TYPE])&&(o[di.TYPE]=s.subarray(t,t+e)),(s=o[di.OFFSET])&&(o[di.OFFSET]=s.subarray(t,t+e+1))||(s=o[di.DATA])&&(o[di.DATA]=i===6?s:s.subarray(n*t,n*(t+e))),o}_sliceChildren(t,e,n){return t.map(i=>i.slice(e,n))}};Pe.prototype.children=Object.freeze([]);class Xa extends le{visit(t){return this.getVisitFn(t.type).call(this,t)}visitNull(t){const{["type"]:e,["offset"]:n=0,["length"]:i=0}=t;return new Pe(e,n,i,i)}visitBool(t){const{["type"]:e,["offset"]:n=0}=t,i=fe(t.nullBitmap),s=Me(e.ArrayType,t.data),{["length"]:o=s.length>>3,["nullCount"]:a=t.nullBitmap?-1:0}=t;return new Pe(e,n,o,a,[void 0,s,i])}visitInt(t){const{["type"]:e,["offset"]:n=0}=t,i=fe(t.nullBitmap),s=Me(e.ArrayType,t.data),{["length"]:o=s.length,["nullCount"]:a=t.nullBitmap?-1:0}=t;return new Pe(e,n,o,a,[void 0,s,i])}visitFloat(t){const{["type"]:e,["offset"]:n=0}=t,i=fe(t.nullBitmap),s=Me(e.ArrayType,t.data),{["length"]:o=s.length,["nullCount"]:a=t.nullBitmap?-1:0}=t;return new Pe(e,n,o,a,[void 0,s,i])}visitUtf8(t){const{["type"]:e,["offset"]:n=0}=t,i=fe(t.data),s=fe(t.nullBitmap),o=Ea(t.valueOffsets),{["length"]:a=o.length-1,["nullCount"]:l=t.nullBitmap?-1:0}=t;return new Pe(e,n,a,l,[o,i,s])}visitLargeUtf8(t){const{["type"]:e,["offset"]:n=0}=t,i=fe(t.data),s=fe(t.nullBitmap),o=Kv(t.valueOffsets),{["length"]:a=o.length-1,["nullCount"]:l=t.nullBitmap?-1:0}=t;return new Pe(e,n,a,l,[o,i,s])}visitBinary(t){const{["type"]:e,["offset"]:n=0}=t,i=fe(t.data),s=fe(t.nullBitmap),o=Ea(t.valueOffsets),{["length"]:a=o.length-1,["nullCount"]:l=t.nullBitmap?-1:0}=t;return new Pe(e,n,a,l,[o,i,s])}visitLargeBinary(t){const{["type"]:e,["offset"]:n=0}=t,i=fe(t.data),s=fe(t.nullBitmap),o=Kv(t.valueOffsets),{["length"]:a=o.length-1,["nullCount"]:l=t.nullBitmap?-1:0}=t;return new Pe(e,n,a,l,[o,i,s])}visitFixedSizeBinary(t){const{["type"]:e,["offset"]:n=0}=t,i=fe(t.nullBitmap),s=Me(e.ArrayType,t.data),{["length"]:o=s.length/fi(e),["nullCount"]:a=t.nullBitmap?-1:0}=t;return new Pe(e,n,o,a,[void 0,s,i])}visitDate(t){const{["type"]:e,["offset"]:n=0}=t,i=fe(t.nullBitmap),s=Me(e.ArrayType,t.data),{["length"]:o=s.length/fi(e),["nullCount"]:a=t.nullBitmap?-1:0}=t;return new Pe(e,n,o,a,[void 0,s,i])}visitTimestamp(t){const{["type"]:e,["offset"]:n=0}=t,i=fe(t.nullBitmap),s=Me(e.ArrayType,t.data),{["length"]:o=s.length/fi(e),["nullCount"]:a=t.nullBitmap?-1:0}=t;return new Pe(e,n,o,a,[void 0,s,i])}visitTime(t){const{["type"]:e,["offset"]:n=0}=t,i=fe(t.nullBitmap),s=Me(e.ArrayType,t.data),{["length"]:o=s.length/fi(e),["nullCount"]:a=t.nullBitmap?-1:0}=t;return new Pe(e,n,o,a,[void 0,s,i])}visitDecimal(t){const{["type"]:e,["offset"]:n=0}=t,i=fe(t.nullBitmap),s=Me(e.ArrayType,t.data),{["length"]:o=s.length/fi(e),["nullCount"]:a=t.nullBitmap?-1:0}=t;return new Pe(e,n,o,a,[void 0,s,i])}visitList(t){const{["type"]:e,["offset"]:n=0,["child"]:i}=t,s=fe(t.nullBitmap),o=Ea(t.valueOffsets),{["length"]:a=o.length-1,["nullCount"]:l=t.nullBitmap?-1:0}=t;return new Pe(e,n,a,l,[o,void 0,s],[i])}visitStruct(t){const{["type"]:e,["offset"]:n=0,["children"]:i=[]}=t,s=fe(t.nullBitmap),{length:o=i.reduce((l,{length:u})=>Math.max(l,u),0),nullCount:a=t.nullBitmap?-1:0}=t;return new Pe(e,n,o,a,[void 0,void 0,s],i)}visitUnion(t){const{["type"]:e,["offset"]:n=0,["children"]:i=[]}=t,s=Me(e.ArrayType,t.typeIds),{["length"]:o=s.length,["nullCount"]:a=-1}=t;if(Rt.isSparseUnion(e))return new Pe(e,n,o,a,[void 0,void 0,void 0,s],i);const l=Ea(t.valueOffsets);return new Pe(e,n,o,a,[l,void 0,void 0,s],i)}visitDictionary(t){const{["type"]:e,["offset"]:n=0}=t,i=fe(t.nullBitmap),s=Me(e.indices.ArrayType,t.data),{["dictionary"]:o=new ze([new Xa().visit({type:e.dictionary})])}=t,{["length"]:a=s.length,["nullCount"]:l=t.nullBitmap?-1:0}=t;return new Pe(e,n,a,l,[void 0,s,i],[],o)}visitInterval(t){const{["type"]:e,["offset"]:n=0}=t,i=fe(t.nullBitmap),s=Me(e.ArrayType,t.data),{["length"]:o=s.length/fi(e),["nullCount"]:a=t.nullBitmap?-1:0}=t;return new Pe(e,n,o,a,[void 0,s,i])}visitDuration(t){const{["type"]:e,["offset"]:n=0}=t,i=fe(t.nullBitmap),s=Me(e.ArrayType,t.data),{["length"]:o=s.length,["nullCount"]:a=t.nullBitmap?-1:0}=t;return new Pe(e,n,o,a,[void 0,s,i])}visitFixedSizeList(t){const{["type"]:e,["offset"]:n=0,["child"]:i=new Xa().visit({type:e.valueType})}=t,s=fe(t.nullBitmap),{["length"]:o=i.length/fi(e),["nullCount"]:a=t.nullBitmap?-1:0}=t;return new Pe(e,n,o,a,[void 0,void 0,s],[i])}visitMap(t){const{["type"]:e,["offset"]:n=0,["child"]:i=new Xa().visit({type:e.childType})}=t,s=fe(t.nullBitmap),o=Ea(t.valueOffsets),{["length"]:a=o.length-1,["nullCount"]:l=t.nullBitmap?-1:0}=t;return new Pe(e,n,a,l,[o,void 0,s],[i])}}const T3=new Xa;function he(r){return T3.visit(r)}let d0=class{constructor(t=0,e){this.numChunks=t,this.getChunkIterator=e,this.chunkIndex=0,this.chunkIterator=this.getChunkIterator(0)}next(){for(;this.chunkIndext.nullable)}function BS(r){return r.reduce((t,e)=>t+e.nullCount,0)}function kS(r){return r.reduce((t,e,n)=>(t[n+1]=t[n]+e.length,t),new Uint32Array(r.length+1))}function US(r,t,e,n){const i=[];for(let s=-1,o=r.length;++s=n)break;if(e>=l+u)continue;if(l>=e&&l+u<=n){i.push(a);continue}const c=Math.max(0,e-l),h=Math.min(n-l,u);i.push(a.slice(c,h-c))}return i.length===0&&i.push(r[0].slice(0,0)),i}function Dm(r,t,e,n){let i=0,s=0,o=t.length-1;do{if(i>=o-1)return e0?0:-1}function E3(r,t){const{nullBitmap:e}=r;if(!e||r.nullCount<=0)return-1;let n=0;for(const i of new Fm(e,r.offset+(t||0),r.length,e,NS)){if(!i)return n;++n}return-1}function te(r,t,e){if(t===void 0)return-1;if(t===null)switch(r.typeId){case z.Union:break;case z.Dictionary:break;default:return E3(r,e)}const n=Or.getVisitFn(r),i=aa(t);for(let s=(e||0)-1,o=r.length;++s{const i=r.data[n];return i.values.subarray(0,i.length)[Symbol.iterator]()});let e=0;return new d0(r.data.length,n=>{const s=r.data[n].length,o=r.slice(e,e+s);return e+=s,new A3(o)})}let A3=class{constructor(t){this.vector=t,this.index=0}next(){return this.indexa.data):t;if(s.length===0||s.some(a=>!(a instanceof Pe)))throw new TypeError("Vector constructor expects an Array of Data instances.");const o=(e=s[0])===null||e===void 0?void 0:e.type;switch(s.length){case 0:this._offsets=[0];break;case 1:{const{get:a,set:l,indexOf:u}=GS[o.typeId],c=s[0];this.isValid=h=>Lm(c,h),this.get=h=>a(c,h),this.set=(h,f)=>l(c,h,f),this.indexOf=h=>u(c,h),this._offsets=[0,c.length];break}default:Object.setPrototypeOf(this,WS[o.typeId]),this._offsets=kS(s);break}this.data=s,this.type=o,this.stride=fi(o),this.numChildren=(i=(n=o.children)===null||n===void 0?void 0:n.length)!==null&&i!==void 0?i:0,this.length=this._offsets.at(-1)}get byteLength(){return this.data.reduce((t,e)=>t+e.byteLength,0)}get nullable(){return I3(this.data)}get nullCount(){return BS(this.data)}get ArrayType(){return this.type.ArrayType}get[Symbol.toStringTag](){return`${this.VectorName}<${this.type[Symbol.toStringTag]}>`}get VectorName(){return`${z[this.type.typeId]}Vector`}isValid(t){return!1}get(t){return null}at(t){return this.get(Rm(t,this.length))}set(t,e){}indexOf(t,e){return-1}includes(t,e){return this.indexOf(t,e)>-1}[Symbol.iterator](){return Nm.visit(this)}concat(...t){return new ws(this.data.concat(t.flatMap(e=>e.data).flat(Number.POSITIVE_INFINITY)))}slice(t,e){return new ws(LS(this,t,e,({data:n,_offsets:i},s,o)=>US(n,i,s,o)))}toJSON(){return[...this]}toArray(){const{type:t,data:e,length:n,stride:i,ArrayType:s}=this;switch(t.typeId){case z.Int:case z.Float:case z.Decimal:case z.Time:case z.Timestamp:switch(e.length){case 0:return new s;case 1:return e[0].values.subarray(0,n*i);default:return e.reduce((o,{values:a,length:l})=>(o.array.set(a.subarray(0,l*i),o.offset),o.offset+=l*i,o),{array:new s(n*i),offset:0}).array}}return[...this]}toString(){return`[${[...this].join(",")}]`}getChild(t){var e;return this.getChildAt((e=this.type.children)===null||e===void 0?void 0:e.findIndex(n=>n.name===t))}getChildAt(t){return t>-1&&te[t])):null}get isMemoized(){return Rt.isDictionary(this.type)?this.data[0].dictionary.isMemoized:!1}memoize(){if(Rt.isDictionary(this.type)){const t=new f0(this.data[0].dictionary),e=this.data.map(n=>{const i=n.clone();return i.dictionary=t,i});return new ws(e)}return new f0(this)}unmemoize(){if(Rt.isDictionary(this.type)&&this.isMemoized){const t=this.data[0].dictionary.unmemoize(),e=this.data.map(n=>{const i=n.clone();return i.dictionary=t,i});return new ws(e)}return this}};$S=Symbol.toStringTag;ze[$S]=(r=>{r.type=Rt.prototype,r.data=[],r.length=0,r.stride=1,r.numChildren=0,r._offsets=new Uint32Array([0]),r[Symbol.isConcatSpreadable]=!0;const t=Object.keys(z).map(e=>z[e]).filter(e=>typeof e=="number"&&e!==z.NONE);for(const e of t){const n=Or.getVisitFnByTypeId(e),i=fn.getVisitFnByTypeId(e),s=yc.getVisitFnByTypeId(e);GS[e]={get:n,set:i,indexOf:s},WS[e]=Object.create(r,{isValid:{value:gc(Lm)},get:{value:gc(Or.getVisitFnByTypeId(e))},set:{value:zS(fn.getVisitFnByTypeId(e))},indexOf:{value:VS(yc.getVisitFnByTypeId(e))}})}return"Vector"})(ze.prototype);let f0=class HS extends ze{constructor(t){super(t.data);const e=this.get,n=this.set,i=this.slice,s=new Array(this.length);Object.defineProperty(this,"get",{value(o){const a=s[o];if(a!==void 0)return a;const l=e.call(this,o);return s[o]=l,l}}),Object.defineProperty(this,"set",{value(o,a){n.call(this,o,a),s[o]=a}}),Object.defineProperty(this,"slice",{value:(o,a)=>new HS(i.call(this,o,a))}),Object.defineProperty(this,"isMemoized",{value:!0}),Object.defineProperty(this,"unmemoize",{value:()=>new ze(this.data)}),Object.defineProperty(this,"memoize",{value:()=>this})}};class Tp{constructor(){this.bb=null,this.bb_pos=0}__init(t,e){return this.bb_pos=t,this.bb=e,this}offset(){return this.bb.readInt64(this.bb_pos)}metaDataLength(){return this.bb.readInt32(this.bb_pos+8)}bodyLength(){return this.bb.readInt64(this.bb_pos+16)}static sizeOf(){return 24}static createBlock(t,e,n,i){return t.prep(8,24),t.writeInt64(BigInt(i??0)),t.pad(4),t.writeInt32(n),t.writeInt64(BigInt(e??0)),t.offset()}}class Dr{constructor(){this.bb=null,this.bb_pos=0}__init(t,e){return this.bb_pos=t,this.bb=e,this}static getRootAsFooter(t,e){return(e||new Dr).__init(t.readInt32(t.position())+t.position(),t)}static getSizePrefixedRootAsFooter(t,e){return t.setPosition(t.position()+Se),(e||new Dr).__init(t.readInt32(t.position())+t.position(),t)}version(){const t=this.bb.__offset(this.bb_pos,4);return t?this.bb.readInt16(this.bb_pos+t):He.V1}schema(t){const e=this.bb.__offset(this.bb_pos,6);return e?(t||new Fn).__init(this.bb.__indirect(this.bb_pos+e),this.bb):null}dictionaries(t,e){const n=this.bb.__offset(this.bb_pos,8);return n?(e||new Tp).__init(this.bb.__vector(this.bb_pos+n)+t*24,this.bb):null}dictionariesLength(){const t=this.bb.__offset(this.bb_pos,8);return t?this.bb.__vector_len(this.bb_pos+t):0}recordBatches(t,e){const n=this.bb.__offset(this.bb_pos,10);return n?(e||new Tp).__init(this.bb.__vector(this.bb_pos+n)+t*24,this.bb):null}recordBatchesLength(){const t=this.bb.__offset(this.bb_pos,10);return t?this.bb.__vector_len(this.bb_pos+t):0}customMetadata(t,e){const n=this.bb.__offset(this.bb_pos,12);return n?(e||new tr).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+n)+t*4),this.bb):null}customMetadataLength(){const t=this.bb.__offset(this.bb_pos,12);return t?this.bb.__vector_len(this.bb_pos+t):0}static startFooter(t){t.startObject(5)}static addVersion(t,e){t.addFieldInt16(0,e,He.V1)}static addSchema(t,e){t.addFieldOffset(1,e,0)}static addDictionaries(t,e){t.addFieldOffset(2,e,0)}static startDictionariesVector(t,e){t.startVector(24,e,8)}static addRecordBatches(t,e){t.addFieldOffset(3,e,0)}static startRecordBatchesVector(t,e){t.startVector(24,e,8)}static addCustomMetadata(t,e){t.addFieldOffset(4,e,0)}static createCustomMetadataVector(t,e){t.startVector(4,e.length,4);for(let n=e.length-1;n>=0;n--)t.addOffset(e[n]);return t.endVector()}static startCustomMetadataVector(t,e){t.startVector(4,e,4)}static endFooter(t){return t.endObject()}static finishFooterBuffer(t,e){t.finish(e)}static finishSizePrefixedFooterBuffer(t,e){t.finish(e,void 0,!0)}}let Ue=class Ss{constructor(t=[],e,n,i=He.V5){this.fields=t||[],this.metadata=e||new Map,n||(n=Ip(this.fields)),this.dictionaries=n,this.metadataVersion=i}get[Symbol.toStringTag](){return"Schema"}get names(){return this.fields.map(t=>t.name)}toString(){return`Schema<{ ${this.fields.map((t,e)=>`${e}: ${t}`).join(", ")} }>`}select(t){const e=new Set(t),n=this.fields.filter(i=>e.has(i.name));return new Ss(n,this.metadata)}selectAt(t){const e=t.map(n=>this.fields[n]).filter(Boolean);return new Ss(e,this.metadata)}assign(...t){const e=t[0]instanceof Ss?t[0]:Array.isArray(t[0])?new Ss(t[0]):new Ss(t),n=[...this.fields],i=hu(hu(new Map,this.metadata),e.metadata),s=e.fields.filter(a=>{const l=n.findIndex(u=>u.name===a.name);return~l?(n[l]=a.clone({metadata:hu(hu(new Map,n[l].metadata),a.metadata)}))&&!1:!0}),o=Ip(s,new Map);return new Ss([...n,...s],i,new Map([...this.dictionaries,...o]))}};Ue.prototype.fields=null;Ue.prototype.metadata=null;Ue.prototype.dictionaries=null;class Le{static new(...t){let[e,n,i,s]=t;return t[0]&&typeof t[0]=="object"&&({name:e}=t[0],n===void 0&&(n=t[0].type),i===void 0&&(i=t[0].nullable),s===void 0&&(s=t[0].metadata)),new Le(`${e}`,n,i,s)}constructor(t,e,n=!1,i){this.name=t,this.type=e,this.nullable=n,this.metadata=i||new Map}get typeId(){return this.type.typeId}get[Symbol.toStringTag](){return"Field"}toString(){return`${this.name}: ${this.type}`}clone(...t){let[e,n,i,s]=t;return!t[0]||typeof t[0]!="object"?[e=this.name,n=this.type,i=this.nullable,s=this.metadata]=t:{name:e=this.name,type:n=this.type,nullable:i=this.nullable,metadata:s=this.metadata}=t[0],Le.new(e,n,i,s)}}Le.prototype.type=null;Le.prototype.name=null;Le.prototype.nullable=null;Le.prototype.metadata=null;function hu(r,t){return new Map([...r||new Map,...t||new Map])}function Ip(r,t=new Map){for(let e=-1,n=r.length;++e0&&Ip(s.children,t)}return t}var C3=p1,O3=Xo;class dl{static decode(t){t=new O3(fe(t));const e=Dr.getRootAsFooter(t),n=Ue.decode(e.schema(),new Map,e.version());return new P3(n,e)}static encode(t){const e=new C3,n=Ue.encode(e,t.schema);Dr.startRecordBatchesVector(e,t.numRecordBatches);for(const o of[...t.recordBatches()].slice().reverse())Xi.encode(e,o);const i=e.endVector();Dr.startDictionariesVector(e,t.numDictionaries);for(const o of[...t.dictionaryBatches()].slice().reverse())Xi.encode(e,o);const s=e.endVector();return Dr.startFooter(e),Dr.addSchema(e,n),Dr.addVersion(e,He.V5),Dr.addRecordBatches(e,i),Dr.addDictionaries(e,s),Dr.finishFooterBuffer(e,Dr.endFooter(e)),e.asUint8Array()}get numRecordBatches(){return this._recordBatches.length}get numDictionaries(){return this._dictionaryBatches.length}constructor(t,e=He.V5,n,i){this.schema=t,this.version=e,n&&(this._recordBatches=n),i&&(this._dictionaryBatches=i)}*recordBatches(){for(let t,e=-1,n=this.numRecordBatches;++e=0&&t=0&&t=0&&t=0&&tthis._closedPromiseResolve=t)}get closed(){return this._closedPromise}cancel(t){return re(this,void 0,void 0,function*(){yield this.return(t)})}write(t){this._ensureOpen()&&(this.resolvers.length<=0?this._values.push(t):this.resolvers.shift().resolve({done:!1,value:t}))}abort(t){this._closedPromiseResolve&&(this.resolvers.length<=0?this._error={error:t}:this.resolvers.shift().reject({done:!0,value:t}))}close(){if(this._closedPromiseResolve){const{resolvers:t}=this;for(;t.length>0;)t.shift().resolve(Ve);this._closedPromiseResolve(),this._closedPromiseResolve=void 0}}[Symbol.asyncIterator](){return this}toDOMStream(t){return rn.toDOMStream(this._closedPromiseResolve||this._error?this:this._values,t)}toNodeStream(t){return rn.toNodeStream(this._closedPromiseResolve||this._error?this:this._values,t)}throw(t){return re(this,void 0,void 0,function*(){return yield this.abort(t),Ve})}return(t){return re(this,void 0,void 0,function*(){return yield this.close(),Ve})}read(t){return re(this,void 0,void 0,function*(){return(yield this.next(t,"read")).value})}peek(t){return re(this,void 0,void 0,function*(){return(yield this.next(t,"peek")).value})}next(...t){return this._values.length>0?Promise.resolve({done:!1,value:this._values.shift()}):this._error?Promise.reject({done:!0,value:this._error.error}):this._closedPromiseResolve?new Promise((e,n)=>{this.resolvers.push({resolve:e,reject:n})}):Promise.resolve(Ve)}_ensureOpen(){if(this._closedPromiseResolve)return!0;throw new Error("AsyncQueue is closed")}}class Su extends R3{write(t){if((t=fe(t)).byteLength>0)return super.write(t)}toString(t=!1){return t?pp(this.toUint8Array(!0)):this.toUint8Array(!1).then(pp)}toUint8Array(t=!1){return t?Yn(this._values)[0]:re(this,void 0,void 0,function*(){var e,n,i,s;const o=[];let a=0;try{for(var l=!0,u=Hn(this),c;c=yield u.next(),e=c.done,!e;l=!0){s=c.value,l=!1;const h=s;o.push(h),a+=h.byteLength}}catch(h){n={error:h}}finally{try{!l&&!e&&(i=u.return)&&(yield i.call(u))}finally{if(n)throw n.error}}return Yn(o,a)[0]})}}class vc{constructor(t){t&&(this.source=new F3(rn.fromIterable(t)))}[Symbol.iterator](){return this}next(t){return this.source.next(t)}throw(t){return this.source.throw(t)}return(t){return this.source.return(t)}peek(t){return this.source.peek(t)}read(t){return this.source.read(t)}}class Qo{constructor(t){t instanceof Qo?this.source=t.source:t instanceof Su?this.source=new ps(rn.fromAsyncIterable(t)):c1(t)?this.source=new ps(rn.fromNodeStream(t)):Em(t)?this.source=new ps(rn.fromDOMStream(t)):u1(t)?this.source=new ps(rn.fromDOMStream(t.body)):Tl(t)?this.source=new ps(rn.fromIterable(t)):zs(t)?this.source=new ps(rn.fromAsyncIterable(t)):oa(t)&&(this.source=new ps(rn.fromAsyncIterable(t)))}[Symbol.asyncIterator](){return this}next(t){return this.source.next(t)}throw(t){return this.source.throw(t)}return(t){return this.source.return(t)}get closed(){return this.source.closed}cancel(t){return this.source.cancel(t)}peek(t){return this.source.peek(t)}read(t){return this.source.read(t)}}class F3{constructor(t){this.source=t}cancel(t){this.return(t)}peek(t){return this.next(t,"peek").value}read(t){return this.next(t,"read").value}next(t,e="read"){return this.source.next({cmd:e,size:t})}throw(t){return Object.create(this.source.throw&&this.source.throw(t)||Ve)}return(t){return Object.create(this.source.return&&this.source.return(t)||Ve)}}class ps{constructor(t){this.source=t,this._closedPromise=new Promise(e=>this._closedPromiseResolve=e)}cancel(t){return re(this,void 0,void 0,function*(){yield this.return(t)})}get closed(){return this._closedPromise}read(t){return re(this,void 0,void 0,function*(){return(yield this.next(t,"read")).value})}peek(t){return re(this,void 0,void 0,function*(){return(yield this.next(t,"peek")).value})}next(t){return re(this,arguments,void 0,function*(e,n="read"){return yield this.source.next({cmd:n,size:e})})}throw(t){return re(this,void 0,void 0,function*(){const e=this.source.throw&&(yield this.source.throw(t))||Ve;return this._closedPromiseResolve&&this._closedPromiseResolve(),this._closedPromiseResolve=void 0,Object.create(e)})}return(t){return re(this,void 0,void 0,function*(){const e=this.source.return&&(yield this.source.return(t))||Ve;return this._closedPromiseResolve&&this._closedPromiseResolve(),this._closedPromiseResolve=void 0,Object.create(e)})}}class m0 extends vc{constructor(t,e){super(),this.position=0,this.buffer=fe(t),this.size=e===void 0?this.buffer.byteLength:e}readInt32(t){const{buffer:e,byteOffset:n}=this.readAt(t,4);return new DataView(e,n).getInt32(0,!0)}seek(t){return this.position=Math.min(t,this.size),t>>16,this.buffer[1]&65535,this.buffer[0]>>>16,this.buffer[0]&65535]),n=new Uint32Array([t.buffer[1]>>>16,t.buffer[1]&65535,t.buffer[0]>>>16,t.buffer[0]&65535]);let i=e[3]*n[3];this.buffer[0]=i&65535;let s=i>>>16;return i=e[2]*n[3],s+=i,i=e[3]*n[2]>>>0,s+=i,this.buffer[0]+=s<<16,this.buffer[1]=s>>>0>>16,this.buffer[1]+=e[1]*n[3]+e[2]*n[2]+e[3]*n[1],this.buffer[1]+=e[0]*n[3]+e[1]*n[2]+e[2]*n[1]+e[3]*n[0]<<16,this}_plus(t){const e=this.buffer[0]+t.buffer[0]>>>0;this.buffer[1]+=t.buffer[1],e>>0&&++this.buffer[1],this.buffer[0]=e}lessThan(t){return this.buffer[1]>>0,e[2]=this.buffer[2]+t.buffer[2]>>>0,e[1]=this.buffer[1]+t.buffer[1]>>>0,e[0]=this.buffer[0]+t.buffer[0]>>>0,e[0]>>0&&++e[1],e[1]>>0&&++e[2],e[2]>>0&&++e[3],this.buffer[3]=e[3],this.buffer[2]=e[2],this.buffer[1]=e[1],this.buffer[0]=e[0],this}hex(){return`${Oo(this.buffer[3])} ${Oo(this.buffer[2])} ${Oo(this.buffer[1])} ${Oo(this.buffer[0])}`}static multiply(t,e){return new ui(new Uint32Array(t.buffer)).times(e)}static add(t,e){return new ui(new Uint32Array(t.buffer)).plus(e)}static from(t,e=new Uint32Array(4)){return ui.fromString(typeof t=="string"?t:t.toString(),e)}static fromNumber(t,e=new Uint32Array(4)){return ui.fromString(t.toString(),e)}static fromString(t,e=new Uint32Array(4)){const n=t.startsWith("-"),i=t.length,s=new ui(e);for(let o=n?1:0;o0&&this.readData(t,n)||new Uint8Array(0)}readOffsets(t,e){return this.readData(t,e)}readTypeIds(t,e){return this.readData(t,e)}readData(t,{length:e,offset:n}=this.nextBufferRange()){return this.bytes.subarray(n,n+e)}readDictionary(t){return this.dictionaries.get(t.id)}}class N3 extends YS{constructor(t,e,n,i,s){super(new Uint8Array(0),e,n,i,s),this.sources=t}readNullBitmap(t,e,{offset:n}=this.nextBufferRange()){return e<=0?new Uint8Array(0):mc(this.sources[n])}readOffsets(t,{offset:e}=this.nextBufferRange()){return Me(Uint8Array,Me(t.OffsetArrayType,this.sources[e]))}readTypeIds(t,{offset:e}=this.nextBufferRange()){return Me(Uint8Array,Me(t.ArrayType,this.sources[e]))}readData(t,{offset:e}=this.nextBufferRange()){const{sources:n}=this;return Rt.isTimestamp(t)||(Rt.isInt(t)||Rt.isTime(t))&&t.bitWidth===64||Rt.isDuration(t)||Rt.isDate(t)&&t.unit===dn.MILLISECOND?Me(Uint8Array,Ya.convertArray(n[e])):Rt.isDecimal(t)?Me(Uint8Array,L3.convertArray(n[e])):Rt.isBinary(t)||Rt.isLargeBinary(t)||Rt.isFixedSizeBinary(t)?B3(n[e]):Rt.isBool(t)?mc(n[e]):Rt.isUtf8(t)||Rt.isLargeUtf8(t)?Mm(n[e].join("")):Me(Uint8Array,Me(t.ArrayType,n[e].map(i=>+i)))}}function B3(r){const t=r.join(""),e=new Uint8Array(t.length/2);for(let n=0;n>1]=Number.parseInt(t.slice(n,n+2),16);return e}let kt=class extends le{compareSchemas(t,e){return t===e||e instanceof t.constructor&&this.compareManyFields(t.fields,e.fields)}compareManyFields(t,e){return t===e||Array.isArray(t)&&Array.isArray(e)&&t.length===e.length&&t.every((n,i)=>this.compareFields(n,e[i]))}compareFields(t,e){return t===e||e instanceof t.constructor&&t.name===e.name&&t.nullable===e.nullable&&this.visit(t.type,e.type)}};function Sr(r,t){return t instanceof r.constructor}function Qs(r,t){return r===t||Sr(r,t)}function Si(r,t){return r===t||Sr(r,t)&&r.bitWidth===t.bitWidth&&r.isSigned===t.isSigned}function eh(r,t){return r===t||Sr(r,t)&&r.precision===t.precision}function k3(r,t){return r===t||Sr(r,t)&&r.byteWidth===t.byteWidth}function Um(r,t){return r===t||Sr(r,t)&&r.unit===t.unit}function Il(r,t){return r===t||Sr(r,t)&&r.unit===t.unit&&r.timezone===t.timezone}function Ml(r,t){return r===t||Sr(r,t)&&r.unit===t.unit&&r.bitWidth===t.bitWidth}function U3(r,t){return r===t||Sr(r,t)&&r.children.length===t.children.length&&Yi.compareManyFields(r.children,t.children)}function z3(r,t){return r===t||Sr(r,t)&&r.children.length===t.children.length&&Yi.compareManyFields(r.children,t.children)}function zm(r,t){return r===t||Sr(r,t)&&r.mode===t.mode&&r.typeIds.every((e,n)=>e===t.typeIds[n])&&Yi.compareManyFields(r.children,t.children)}function V3(r,t){return r===t||Sr(r,t)&&r.id===t.id&&r.isOrdered===t.isOrdered&&Yi.visit(r.indices,t.indices)&&Yi.visit(r.dictionary,t.dictionary)}function Vm(r,t){return r===t||Sr(r,t)&&r.unit===t.unit}function El(r,t){return r===t||Sr(r,t)&&r.unit===t.unit}function j3(r,t){return r===t||Sr(r,t)&&r.listSize===t.listSize&&r.children.length===t.children.length&&Yi.compareManyFields(r.children,t.children)}function $3(r,t){return r===t||Sr(r,t)&&r.keysSorted===t.keysSorted&&r.children.length===t.children.length&&Yi.compareManyFields(r.children,t.children)}kt.prototype.visitNull=Qs;kt.prototype.visitBool=Qs;kt.prototype.visitInt=Si;kt.prototype.visitInt8=Si;kt.prototype.visitInt16=Si;kt.prototype.visitInt32=Si;kt.prototype.visitInt64=Si;kt.prototype.visitUint8=Si;kt.prototype.visitUint16=Si;kt.prototype.visitUint32=Si;kt.prototype.visitUint64=Si;kt.prototype.visitFloat=eh;kt.prototype.visitFloat16=eh;kt.prototype.visitFloat32=eh;kt.prototype.visitFloat64=eh;kt.prototype.visitUtf8=Qs;kt.prototype.visitLargeUtf8=Qs;kt.prototype.visitBinary=Qs;kt.prototype.visitLargeBinary=Qs;kt.prototype.visitFixedSizeBinary=k3;kt.prototype.visitDate=Um;kt.prototype.visitDateDay=Um;kt.prototype.visitDateMillisecond=Um;kt.prototype.visitTimestamp=Il;kt.prototype.visitTimestampSecond=Il;kt.prototype.visitTimestampMillisecond=Il;kt.prototype.visitTimestampMicrosecond=Il;kt.prototype.visitTimestampNanosecond=Il;kt.prototype.visitTime=Ml;kt.prototype.visitTimeSecond=Ml;kt.prototype.visitTimeMillisecond=Ml;kt.prototype.visitTimeMicrosecond=Ml;kt.prototype.visitTimeNanosecond=Ml;kt.prototype.visitDecimal=Qs;kt.prototype.visitList=U3;kt.prototype.visitStruct=z3;kt.prototype.visitUnion=zm;kt.prototype.visitDenseUnion=zm;kt.prototype.visitSparseUnion=zm;kt.prototype.visitDictionary=V3;kt.prototype.visitInterval=Vm;kt.prototype.visitIntervalDayTime=Vm;kt.prototype.visitIntervalYearMonth=Vm;kt.prototype.visitDuration=El;kt.prototype.visitDurationSecond=El;kt.prototype.visitDurationMillisecond=El;kt.prototype.visitDurationMicrosecond=El;kt.prototype.visitDurationNanosecond=El;kt.prototype.visitFixedSizeList=j3;kt.prototype.visitMap=$3;const Yi=new kt;function Mp(r,t){return Yi.compareSchemas(r,t)}function Hd(r,t){return G3(r,t.map(e=>e.data.concat()))}function G3(r,t){const e=[...r.fields],n=[],i={numBatches:t.reduce((h,f)=>Math.max(h,f.length),0)};let s=0,o=0,a=-1;const l=t.length;let u,c=[];for(;i.numBatches-- >0;){for(o=Number.POSITIVE_INFINITY,a=-1;++a0&&(n[s++]=he({type:new br(e),length:o,nullCount:0,children:c.slice()})))}return[r=r.assign(e),n.map(h=>new Er(r,h))]}function W3(r,t,e,n,i){var s;const o=(t+63&-64)>>3;for(let a=-1,l=n.length;++a=t)c===t?e[a]=u:(e[a]=u.slice(0,t),i.numBatches=Math.max(i.numBatches,n[a].unshift(u.slice(t,c-t))));else{const h=r[a];r[a]=h.clone({nullable:!0}),e[a]=(s=u==null?void 0:u._changeLengthAndBackfillNullBitmap(t))!==null&&s!==void 0?s:he({type:h.type,length:t,nullCount:t,nullBitmap:new Uint8Array(o)})}}return e}var qS;let qi=class Ts{constructor(...t){var e,n;if(t.length===0)return this.batches=[],this.schema=new Ue([]),this._offsets=[0],this;let i,s;t[0]instanceof Ue&&(i=t.shift()),t.at(-1)instanceof Uint32Array&&(s=t.pop());const o=l=>{if(l){if(l instanceof Er)return[l];if(l instanceof Ts)return l.batches;if(l instanceof Pe){if(l.type instanceof br)return[new Er(new Ue(l.type.children),l)]}else{if(Array.isArray(l))return l.flatMap(u=>o(u));if(typeof l[Symbol.iterator]=="function")return[...l].flatMap(u=>o(u));if(typeof l=="object"){const u=Object.keys(l),c=u.map(d=>new ze([l[d]])),h=i??new Ue(u.map((d,m)=>new Le(String(d),c[m].type,c[m].nullable))),[,f]=Hd(h,c);return f.length===0?[new Er(l)]:f}}}return[]},a=t.flatMap(l=>o(l));if(i=(n=i??((e=a[0])===null||e===void 0?void 0:e.schema))!==null&&n!==void 0?n:new Ue([]),!(i instanceof Ue))throw new TypeError("Table constructor expects a [Schema, RecordBatch[]] pair.");for(const l of a){if(!(l instanceof Er))throw new TypeError("Table constructor expects a [Schema, RecordBatch[]] pair.");if(!Mp(i,l.schema))throw new TypeError("Table and inner RecordBatch schemas must be equivalent.")}this.schema=i,this.batches=a,this._offsets=s??kS(this.data)}get data(){return this.batches.map(({data:t})=>t)}get numCols(){return this.schema.fields.length}get numRows(){return this.data.reduce((t,e)=>t+e.length,0)}get nullCount(){return this._nullCount===-1&&(this._nullCount=BS(this.data)),this._nullCount}isValid(t){return!1}get(t){return null}at(t){return this.get(Rm(t,this.numRows))}set(t,e){}indexOf(t,e){return-1}[Symbol.iterator](){return this.batches.length>0?Nm.visit(new ze(this.data)):new Array(0)[Symbol.iterator]()}toArray(){return[...this]}toString(){return`[ ${this.toArray().join(`, `)} -]`}concat(...t){const e=this.schema,n=this.data.concat(t.flatMap(({data:i})=>i));return new Ts(e,n.map(i=>new Er(e,i)))}slice(t,e){const n=this.schema;[t,e]=LS({length:this.numRows},t,e);const i=US(this.data,this._offsets,t,e);return new Ts(n,i.map(s=>new Er(n,s)))}getChild(t){return this.getChildAt(this.schema.fields.findIndex(e=>e.name===t))}getChildAt(t){if(t>-1&&tn.children[t]);if(e.length===0){const{type:n}=this.schema.fields[t],i=he({type:n,length:0,nullCount:0});e.push(i._changeLengthAndBackfillNullBitmap(this.numRows))}return new ze(e)}return null}setChild(t,e){var n;return this.setChildAt((n=this.schema.fields)===null||n===void 0?void 0:n.findIndex(i=>i.name===t),e)}setChildAt(t,e){let n=this.schema,i=[...this.batches];if(t>-1&&tthis.getChildAt(u));[s[t],a[t]]=[o,e],[n,i]=Hd(n,a)}return new Ts(n,i)}select(t){const e=this.schema.fields.reduce((n,i,s)=>n.set(i.name,s),new Map);return this.selectAt(t.map(n=>e.get(n)).filter(n=>n>-1))}selectAt(t){const e=this.schema.selectAt(t),n=this.batches.map(i=>i.selectAt(t));return new Ts(e,n)}assign(t){const e=this.schema.fields,[n,i]=t.schema.fields.reduce((a,l,u)=>{const[c,h]=a,f=e.findIndex(d=>d.name===l.name);return~f?h[f]=u:c.push(u),a},[[],[]]),s=this.schema.assign(t.schema),o=[...e.map((a,l)=>[l,i[l]]).map(([a,l])=>l===void 0?this.getChildAt(a):t.getChildAt(l)),...n.map(a=>t.getChildAt(a))].filter(Boolean);return new Ts(...Hd(s,o))}};qS=Symbol.toStringTag;qi[qS]=(r=>(r.schema=null,r.batches=[],r._offsets=new Uint32Array([0]),r._nullCount=-1,r[Symbol.isConcatSpreadable]=!0,r.isValid=gc(Lm),r.get=gc(Or.getVisitFn(z.Struct)),r.set=zS(fn.getVisitFn(z.Struct)),r.indexOf=VS(yc.getVisitFn(z.Struct)),"Table"))(qi.prototype);var QS;let Er=class $a{constructor(...t){switch(t.length){case 2:{if([this.schema]=t,!(this.schema instanceof Ue))throw new TypeError("RecordBatch constructor expects a [Schema, Data] pair.");if([,this.data=he({nullCount:0,type:new br(this.schema.fields),children:this.schema.fields.map(e=>he({type:e.type,nullCount:0}))})]=t,!(this.data instanceof Pe))throw new TypeError("RecordBatch constructor expects a [Schema, Data] pair.");[this.schema,this.data]=g0(this.schema,this.data.children);break}case 1:{const[e]=t,{fields:n,children:i,length:s}=Object.keys(e).reduce((l,u,c)=>(l.children[c]=e[u],l.length=Math.max(l.length,e[u].length),l.fields[c]=Le.new({name:u,type:e[u].type,nullable:!0}),l),{length:0,fields:new Array,children:new Array}),o=new Ue(n),a=he({type:new br(n),length:s,children:i,nullCount:0});[this.schema,this.data]=g0(o,a.children,s);break}default:throw new TypeError("RecordBatch constructor expects an Object mapping names to child Data, or a [Schema, Data] pair.")}}get dictionaries(){return this._dictionaries||(this._dictionaries=ZS(this.schema.fields,this.data.children))}get numCols(){return this.schema.fields.length}get numRows(){return this.data.length}get nullCount(){return this.data.nullCount}isValid(t){return this.data.getValid(t)}get(t){return Or.visit(this.data,t)}at(t){return this.get(Rm(t,this.numRows))}set(t,e){return fn.visit(this.data,t,e)}indexOf(t,e){return yc.visit(this.data,t,e)}[Symbol.iterator](){return Nm.visit(new ze([this.data]))}toArray(){return[...this]}concat(...t){return new qi(this.schema,[this,...t])}slice(t,e){const[n]=new ze([this.data]).slice(t,e).data;return new $a(this.schema,n)}getChild(t){var e;return this.getChildAt((e=this.schema.fields)===null||e===void 0?void 0:e.findIndex(n=>n.name===t))}getChildAt(t){return t>-1&&ti.name===t),e)}setChildAt(t,e){let n=this.schema,i=this.data;if(t>-1&&ta.name===s);~o&&(i[o]=this.data.children[o])}return new $a(e,he({type:n,length:this.numRows,children:i}))}selectAt(t){const e=this.schema.selectAt(t),n=t.map(s=>this.data.children[s]).filter(Boolean),i=he({type:new br(e.fields),length:this.numRows,children:n});return new $a(e,i)}};QS=Symbol.toStringTag;Er[QS]=(r=>(r._nullCount=-1,r[Symbol.isConcatSpreadable]=!0,"RecordBatch"))(Er.prototype);function g0(r,t,e=t.reduce((n,i)=>Math.max(n,i.length),0)){var n;const i=[...r.fields],s=[...t],o=(e+63&-64)>>3;for(const[a,l]of r.fields.entries()){const u=t[a];(!u||u.length!==e)&&(i[a]=l.clone({nullable:!0}),s[a]=(n=u==null?void 0:u._changeLengthAndBackfillNullBitmap(e))!==null&&n!==void 0?n:he({type:l.type,length:e,nullCount:e,nullBitmap:new Uint8Array(o)}))}return[r.assign(i),he({type:new br(i),length:e,children:s})]}function ZS(r,t,e=new Map){var n,i;if(((n=r==null?void 0:r.length)!==null&&n!==void 0?n:0)>0&&(r==null?void 0:r.length)===(t==null?void 0:t.length))for(let s=-1,o=r.length;++she({type:i.type})),n=he({type:new br(t.fields),nullCount:0,children:e});super(t,n)}}let Pi=class Pn{constructor(){this.bb=null,this.bb_pos=0}__init(t,e){return this.bb_pos=t,this.bb=e,this}static getRootAsMessage(t,e){return(e||new Pn).__init(t.readInt32(t.position())+t.position(),t)}static getSizePrefixedRootAsMessage(t,e){return t.setPosition(t.position()+Se),(e||new Pn).__init(t.readInt32(t.position())+t.position(),t)}version(){const t=this.bb.__offset(this.bb_pos,4);return t?this.bb.readInt16(this.bb_pos+t):He.V1}headerType(){const t=this.bb.__offset(this.bb_pos,6);return t?this.bb.readUint8(this.bb_pos+t):ve.NONE}header(t){const e=this.bb.__offset(this.bb_pos,8);return e?this.bb.__union(t,this.bb_pos+e):null}bodyLength(){const t=this.bb.__offset(this.bb_pos,10);return t?this.bb.readInt64(this.bb_pos+t):BigInt("0")}customMetadata(t,e){const n=this.bb.__offset(this.bb_pos,12);return n?(e||new tr).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+n)+t*4),this.bb):null}customMetadataLength(){const t=this.bb.__offset(this.bb_pos,12);return t?this.bb.__vector_len(this.bb_pos+t):0}static startMessage(t){t.startObject(5)}static addVersion(t,e){t.addFieldInt16(0,e,He.V1)}static addHeaderType(t,e){t.addFieldInt8(1,e,ve.NONE)}static addHeader(t,e){t.addFieldOffset(2,e,0)}static addBodyLength(t,e){t.addFieldInt64(3,e,BigInt("0"))}static addCustomMetadata(t,e){t.addFieldOffset(4,e,0)}static createCustomMetadataVector(t,e){t.startVector(4,e.length,4);for(let n=e.length-1;n>=0;n--)t.addOffset(e[n]);return t.endVector()}static startCustomMetadataVector(t,e){t.startVector(4,e,4)}static endMessage(t){return t.endObject()}static finishMessageBuffer(t,e){t.finish(e)}static finishSizePrefixedMessageBuffer(t,e){t.finish(e,void 0,!0)}static createMessage(t,e,n,i,s,o){return Pn.startMessage(t),Pn.addVersion(t,e),Pn.addHeaderType(t,n),Pn.addHeader(t,i),Pn.addBodyLength(t,s),Pn.addCustomMetadata(t,o),Pn.endMessage(t)}};class H3 extends le{visit(t,e){return t==null||e==null?void 0:super.visit(t,e)}visitNull(t,e){return o0.startNull(e),o0.endNull(e)}visitInt(t,e){return Br.startInt(e),Br.addBitWidth(e,t.bitWidth),Br.addIsSigned(e,t.isSigned),Br.endInt(e)}visitFloat(t,e){return Vn.startFloatingPoint(e),Vn.addPrecision(e,t.precision),Vn.endFloatingPoint(e)}visitBinary(t,e){return e0.startBinary(e),e0.endBinary(e)}visitLargeBinary(t,e){return n0.startLargeBinary(e),n0.endLargeBinary(e)}visitBool(t,e){return r0.startBool(e),r0.endBool(e)}visitUtf8(t,e){return a0.startUtf8(e),a0.endUtf8(e)}visitLargeUtf8(t,e){return i0.startLargeUtf8(e),i0.endLargeUtf8(e)}visitDecimal(t,e){return yo.startDecimal(e),yo.addScale(e,t.scale),yo.addPrecision(e,t.precision),yo.addBitWidth(e,t.bitWidth),yo.endDecimal(e)}visitDate(t,e){return yu.startDate(e),yu.addUnit(e,t.unit),yu.endDate(e)}visitTime(t,e){return on.startTime(e),on.addUnit(e,t.unit),on.addBitWidth(e,t.bitWidth),on.endTime(e)}visitTimestamp(t,e){const n=t.timezone&&e.createString(t.timezone)||void 0;return an.startTimestamp(e),an.addUnit(e,t.unit),n!==void 0&&an.addTimezone(e,n),an.endTimestamp(e)}visitInterval(t,e){return jn.startInterval(e),jn.addUnit(e,t.unit),jn.endInterval(e)}visitDuration(t,e){return vu.startDuration(e),vu.addUnit(e,t.unit),vu.endDuration(e)}visitList(t,e){return s0.startList(e),s0.endList(e)}visitStruct(t,e){return Ps.startStruct_(e),Ps.endStruct_(e)}visitUnion(t,e){Mr.startTypeIdsVector(e,t.typeIds.length);const n=Mr.createTypeIdsVector(e,t.typeIds);return Mr.startUnion(e),Mr.addMode(e,t.mode),Mr.addTypeIds(e,n),Mr.endUnion(e)}visitDictionary(t,e){const n=this.visit(t.indices,e);return gi.startDictionaryEncoding(e),gi.addId(e,BigInt(t.id)),gi.addIsOrdered(e,t.isOrdered),n!==void 0&&gi.addIndexType(e,n),gi.endDictionaryEncoding(e)}visitFixedSizeBinary(t,e){return _u.startFixedSizeBinary(e),_u.addByteWidth(e,t.byteWidth),_u.endFixedSizeBinary(e)}visitFixedSizeList(t,e){return bu.startFixedSizeList(e),bu.addListSize(e,t.listSize),bu.endFixedSizeList(e)}visitMap(t,e){return xu.startMap(e),xu.addKeysSorted(e,t.keysSorted),xu.endMap(e)}}const Xd=new H3;function X3(r,t=new Map){return new Ue(q3(r,t),Tu(r.metadata),t)}function KS(r){return new Wr(r.count,JS(r.columns),tT(r.columns))}function Y3(r){return new Qn(KS(r.data),r.id,r.isDelta)}function q3(r,t){return(r.fields||[]).filter(Boolean).map(e=>Le.fromJSON(e,t))}function y0(r,t){return(r.children||[]).filter(Boolean).map(e=>Le.fromJSON(e,t))}function JS(r){return(r||[]).reduce((t,e)=>[...t,new Qi(e.count,Q3(e.VALIDITY)),...JS(e.children)],[])}function tT(r,t=[]){for(let e=-1,n=(r||[]).length;++et+ +(e===0),0)}function Z3(r,t){let e,n,i,s,o,a;return!t||!(s=r.dictionary)?(o=_0(r,y0(r,t)),i=new Le(r.name,o,r.nullable,Tu(r.metadata))):t.has(e=s.id)?(n=(n=s.indexType)?v0(n):new hl,a=new qo(t.get(e),n,e,s.isOrdered),i=new Le(r.name,a,r.nullable,Tu(r.metadata))):(n=(n=s.indexType)?v0(n):new hl,t.set(e,o=_0(r,y0(r,t))),a=new qo(o,n,e,s.isOrdered),i=new Le(r.name,a,r.nullable,Tu(r.metadata))),i||null}function Tu(r=[]){return new Map(r.map(({key:t,value:e})=>[t,e]))}function v0(r){return new Vs(r.isSigned,r.bitWidth)}function _0(r,t){const e=r.type.name;switch(e){case"NONE":return new Hi;case"null":return new Hi;case"binary":return new Ku;case"largebinary":return new Ju;case"utf8":return new tc;case"largeutf8":return new ec;case"bool":return new rc;case"list":return new uc((t||[])[0]);case"struct":return new br(t||[]);case"struct_":return new br(t||[])}switch(e){case"int":{const n=r.type;return new Vs(n.isSigned,n.bitWidth)}case"floatingpoint":{const n=r.type;return new Zu(mr[n.precision])}case"decimal":{const n=r.type;return new nc(n.scale,n.precision,n.bitWidth)}case"date":{const n=r.type;return new ic(dn[n.unit])}case"time":{const n=r.type;return new sc($t[n.unit],n.bitWidth)}case"timestamp":{const n=r.type;return new oc($t[n.unit],n.timezone)}case"interval":{const n=r.type;return new ac(qn[n.unit])}case"duration":{const n=r.type;return new lc($t[n.unit])}case"union":{const n=r.type,[i,...s]=(n.mode+"").toLowerCase(),o=i.toUpperCase()+s.join("");return new cc(gr[o],n.typeIds||[],t||[])}case"fixedsizebinary":{const n=r.type;return new hc(n.byteWidth)}case"fixedsizelist":{const n=r.type;return new dc(n.listSize,(t||[])[0])}case"map":{const n=r.type;return new fc((t||[])[0],n.keysSorted)}}throw new Error(`Unrecognized type: "${e}"`)}var K3=p1,J3=Xo;class xr{static fromJSON(t,e){const n=new xr(0,He.V5,e);return n._createHeader=tB(t,e),n}static decode(t){t=new J3(fe(t));const e=Pi.getRootAsMessage(t),n=e.bodyLength(),i=e.version(),s=e.headerType(),o=new xr(n,i,s);return o._createHeader=eB(e,s),o}static encode(t){const e=new K3;let n=-1;return t.isSchema()?n=Ue.encode(e,t.header()):t.isRecordBatch()?n=Wr.encode(e,t.header()):t.isDictionaryBatch()&&(n=Qn.encode(e,t.header())),Pi.startMessage(e),Pi.addVersion(e,He.V5),Pi.addHeader(e,n),Pi.addHeaderType(e,t.headerType),Pi.addBodyLength(e,BigInt(t.bodyLength)),Pi.finishMessageBuffer(e,Pi.endMessage(e)),e.asUint8Array()}static from(t,e=0){if(t instanceof Ue)return new xr(0,He.V5,ve.Schema,t);if(t instanceof Wr)return new xr(e,He.V5,ve.RecordBatch,t);if(t instanceof Qn)return new xr(e,He.V5,ve.DictionaryBatch,t);throw new Error(`Unrecognized Message header: ${t}`)}get type(){return this.headerType}get version(){return this._version}get headerType(){return this._headerType}get bodyLength(){return this._bodyLength}header(){return this._createHeader()}isSchema(){return this.headerType===ve.Schema}isRecordBatch(){return this.headerType===ve.RecordBatch}isDictionaryBatch(){return this.headerType===ve.DictionaryBatch}constructor(t,e,n,i){this._version=e,this._headerType=n,this.body=new Uint8Array(0),i&&(this._createHeader=()=>i),this._bodyLength=Ae(t)}}class Wr{get nodes(){return this._nodes}get length(){return this._length}get buffers(){return this._buffers}constructor(t,e,n){this._nodes=e,this._buffers=n,this._length=Ae(t)}}class Qn{get id(){return this._id}get data(){return this._data}get isDelta(){return this._isDelta}get length(){return this.data.length}get nodes(){return this.data.nodes}get buffers(){return this.data.buffers}constructor(t,e,n=!1){this._data=t,this._isDelta=n,this._id=Ae(e)}}class Gn{constructor(t,e){this.offset=Ae(t),this.length=Ae(e)}}class Qi{constructor(t,e){this.length=Ae(t),this.nullCount=Ae(e)}}function tB(r,t){return()=>{switch(t){case ve.Schema:return Ue.fromJSON(r);case ve.RecordBatch:return Wr.fromJSON(r);case ve.DictionaryBatch:return Qn.fromJSON(r)}throw new Error(`Unrecognized Message type: { name: ${ve[t]}, type: ${t} }`)}}function eB(r,t){return()=>{switch(t){case ve.Schema:return Ue.decode(r.header(new Fn),new Map,r.version());case ve.RecordBatch:return Wr.decode(r.header(new hi),r.version());case ve.DictionaryBatch:return Qn.decode(r.header(new mo),r.version())}throw new Error(`Unrecognized Message type: { name: ${ve[t]}, type: ${t} }`)}}Le.encode=dB;Le.decode=cB;Le.fromJSON=Z3;Ue.encode=hB;Ue.decode=rB;Ue.fromJSON=X3;Wr.encode=fB;Wr.decode=nB;Wr.fromJSON=KS;Qn.encode=pB;Qn.decode=iB;Qn.fromJSON=Y3;Qi.encode=mB;Qi.decode=oB;Gn.encode=gB;Gn.decode=sB;function rB(r,t=new Map,e=He.V5){const n=uB(r,t);return new Ue(n,Iu(r),t,e)}function nB(r,t=He.V5){if(r.compression()!==null)throw new Error("Record batch compression not implemented");return new Wr(r.length(),aB(r),lB(r,t))}function iB(r,t=He.V5){return new Qn(Wr.decode(r.data(),t),r.id(),r.isDelta())}function sB(r){return new Gn(r.offset(),r.length())}function oB(r){return new Qi(r.length(),r.nullCount())}function aB(r){const t=[];for(let e,n=-1,i=-1,s=r.nodesLength();++nLe.encode(r,s));Fn.startFieldsVector(r,e.length);const n=Fn.createFieldsVector(r,e),i=t.metadata&&t.metadata.size>0?Fn.createCustomMetadataVector(r,[...t.metadata].map(([s,o])=>{const a=r.createString(`${s}`),l=r.createString(`${o}`);return tr.startKeyValue(r),tr.addKey(r,a),tr.addValue(r,l),tr.endKeyValue(r)})):-1;return Fn.startSchema(r),Fn.addFields(r,n),Fn.addEndianness(r,yB?Yo.Little:Yo.Big),i!==-1&&Fn.addCustomMetadata(r,i),Fn.endSchema(r)}function dB(r,t){let e=-1,n=-1,i=-1;const s=t.type;let o=t.typeId;Rt.isDictionary(s)?(o=s.dictionary.typeId,i=Xd.visit(s,r),n=Xd.visit(s.dictionary,r)):n=Xd.visit(s,r);const a=(s.children||[]).map(c=>Le.encode(r,c)),l=Jr.createChildrenVector(r,a),u=t.metadata&&t.metadata.size>0?Jr.createCustomMetadataVector(r,[...t.metadata].map(([c,h])=>{const f=r.createString(`${c}`),d=r.createString(`${h}`);return tr.startKeyValue(r),tr.addKey(r,f),tr.addValue(r,d),tr.endKeyValue(r)})):-1;return t.name&&(e=r.createString(t.name)),Jr.startField(r),Jr.addType(r,n),Jr.addTypeType(r,o),Jr.addChildren(r,l),Jr.addNullable(r,!!t.nullable),e!==-1&&Jr.addName(r,e),i!==-1&&Jr.addDictionary(r,i),u!==-1&&Jr.addCustomMetadata(r,u),Jr.endField(r)}function fB(r,t){const e=t.nodes||[],n=t.buffers||[];hi.startNodesVector(r,e.length);for(const o of e.slice().reverse())Qi.encode(r,o);const i=r.endVector();hi.startBuffersVector(r,n.length);for(const o of n.slice().reverse())Gn.encode(r,o);const s=r.endVector();return hi.startRecordBatch(r),hi.addLength(r,BigInt(t.length)),hi.addNodes(r,i),hi.addBuffers(r,s),hi.endRecordBatch(r)}function pB(r,t){const e=Wr.encode(r,t.data);return mo.startDictionaryBatch(r),mo.addId(r,BigInt(t.id)),mo.addIsDelta(r,t.isDelta),mo.addData(r,e),mo.endDictionaryBatch(r)}function mB(r,t){return y1.createFieldNode(r,BigInt(t.length),BigInt(t.nullCount))}function gB(r,t){return g1.createBuffer(r,BigInt(t.offset),BigInt(t.length))}const yB=(()=>{const r=new ArrayBuffer(2);return new DataView(r).setInt16(0,256,!0),new Int16Array(r)[0]===256})(),$m=r=>`Expected ${ve[r]} Message in stream, but was null or length 0.`,Gm=r=>`Header pointer of flatbuffer-encoded ${ve[r]} Message is null or length 0.`,eT=(r,t)=>`Expected to read ${r} metadata bytes, but only read ${t}.`,rT=(r,t)=>`Expected to read ${r} bytes for message body, but only read ${t}.`;class nT{constructor(t){this.source=t instanceof vc?t:new vc(t)}[Symbol.iterator](){return this}next(){let t;return(t=this.readMetadataLength()).done||t.value===-1&&(t=this.readMetadataLength()).done||(t=this.readMetadata(t.value)).done?Ve:t}throw(t){return this.source.throw(t)}return(t){return this.source.return(t)}readMessage(t){let e;if((e=this.next()).done)return null;if(t!=null&&e.value.headerType!==t)throw new Error($m(t));return e.value}readMessageBody(t){if(t<=0)return new Uint8Array(0);const e=fe(this.source.read(t));if(e.byteLength[...i,...s.VALIDITY&&[s.VALIDITY]||[],...s.TYPE_ID&&[s.TYPE_ID]||[],...s.OFFSET&&[s.OFFSET]||[],...s.DATA&&[s.DATA]||[],...e(s.children)],[])}}readMessage(t){let e;if((e=this.next()).done)return null;if(t!=null&&e.value.headerType!==t)throw new Error($m(t));return e.value}readSchema(){const t=ve.Schema,e=this.readMessage(t),n=e==null?void 0:e.header();if(!e||!n)throw new Error(Gm(t));return n}}const rh=4,Ep="ARROW1",fl=new Uint8Array(Ep.length);for(let r=0;rthis):this}readRecordBatch(t){return this._impl.isFile()?this._impl.readRecordBatch(t):null}[Symbol.iterator](){return this._impl[Symbol.iterator]()}[Symbol.asyncIterator](){return this._impl[Symbol.asyncIterator]()}toDOMStream(){return rn.toDOMStream(this.isSync()?{[Symbol.iterator]:()=>this}:{[Symbol.asyncIterator]:()=>this})}toNodeStream(){return rn.toNodeStream(this.isSync()?{[Symbol.iterator]:()=>this}:{[Symbol.asyncIterator]:()=>this},{objectMode:!0})}static throughNode(t){throw new Error('"throughNode" not available in this environment')}static throughDOM(t,e){throw new Error('"throughDOM" not available in this environment')}static from(t){return t instanceof un?t:mp(t)?TB(t):l1(t)?EB(t):zs(t)?re(this,void 0,void 0,function*(){return yield un.from(yield t)}):u1(t)||Em(t)||c1(t)||oa(t)?MB(new Qo(t)):IB(new vc(t))}static readAll(t){return t instanceof un?t.isSync()?S0(t):T0(t):mp(t)||ArrayBuffer.isView(t)||Tl(t)||a1(t)?S0(t):T0(t)}}class bc extends un{constructor(t){super(t),this._impl=t}readAll(){return[...this]}[Symbol.iterator](){return this._impl[Symbol.iterator]()}[Symbol.asyncIterator](){return Ar(this,arguments,function*(){yield Dt(yield*ks(Hn(this[Symbol.iterator]())))})}}class xc extends un{constructor(t){super(t),this._impl=t}readAll(){return re(this,void 0,void 0,function*(){var t,e,n,i;const s=new Array;try{for(var o=!0,a=Hn(this),l;l=yield a.next(),t=l.done,!t;o=!0){i=l.value,o=!1;const u=i;s.push(u)}}catch(u){e={error:u}}finally{try{!o&&!t&&(n=a.return)&&(yield n.call(a))}finally{if(e)throw e.error}}return s})}[Symbol.iterator](){throw new Error("AsyncRecordBatchStreamReader is not Iterable")}[Symbol.asyncIterator](){return this._impl[Symbol.asyncIterator]()}}class sT extends bc{constructor(t){super(t),this._impl=t}}class xB extends xc{constructor(t){super(t),this._impl=t}}class oT{get numDictionaries(){return this._dictionaryIndex}get numRecordBatches(){return this._recordBatchIndex}constructor(t=new Map){this.closed=!1,this.autoDestroy=!0,this._dictionaryIndex=0,this._recordBatchIndex=0,this.dictionaries=t}isSync(){return!1}isAsync(){return!1}isFile(){return!1}isStream(){return!1}reset(t){return this._dictionaryIndex=0,this._recordBatchIndex=0,this.schema=t,this.dictionaries=new Map,this}_loadRecordBatch(t,e){const n=this._loadVectors(t,e,this.schema.fields),i=he({type:new br(this.schema.fields),length:t.length,children:n});return new Er(this.schema,i)}_loadDictionaryBatch(t,e){const{id:n,isDelta:i}=t,{dictionaries:s,schema:o}=this,a=s.get(n),l=o.dictionaries.get(n),u=this._loadVectors(t.data,e,[l]);return(a&&i?a.concat(new ze(u)):new ze(u)).memoize()}_loadVectors(t,e,n){return new YS(e,t.nodes,t.buffers,this.dictionaries,this.schema.metadataVersion).visitMany(n)}}class wc extends oT{constructor(t,e){super(e),this._reader=mp(t)?new _B(this._handle=t):new nT(this._handle=t)}isSync(){return!0}isStream(){return!0}[Symbol.iterator](){return this}cancel(){!this.closed&&(this.closed=!0)&&(this.reset()._reader.return(),this._reader=null,this.dictionaries=null)}open(t){return this.closed||(this.autoDestroy=lT(this,t),this.schema||(this.schema=this._reader.readSchema())||this.cancel()),this}throw(t){return!this.closed&&this.autoDestroy&&(this.closed=!0)?this.reset()._reader.throw(t):Ve}return(t){return!this.closed&&this.autoDestroy&&(this.closed=!0)?this.reset()._reader.return(t):Ve}next(){if(this.closed)return Ve;let t;const{_reader:e}=this;for(;t=this._readNextMessageAndValidate();)if(t.isSchema())this.reset(t.header());else if(t.isRecordBatch()){this._recordBatchIndex++;const n=t.header(),i=e.readMessageBody(t.bodyLength);return{done:!1,value:this._loadRecordBatch(n,i)}}else if(t.isDictionaryBatch()){this._dictionaryIndex++;const n=t.header(),i=e.readMessageBody(t.bodyLength),s=this._loadDictionaryBatch(n,i);this.dictionaries.set(n.id,s)}return this.schema&&this._recordBatchIndex===0?(this._recordBatchIndex++,{done:!1,value:new jm(this.schema)}):this.return()}_readNextMessageAndValidate(t){return this._reader.readMessage(t)}}class Sc extends oT{constructor(t,e){super(e),this._reader=new vB(this._handle=t)}isAsync(){return!0}isStream(){return!0}[Symbol.asyncIterator](){return this}cancel(){return re(this,void 0,void 0,function*(){!this.closed&&(this.closed=!0)&&(yield this.reset()._reader.return(),this._reader=null,this.dictionaries=null)})}open(t){return re(this,void 0,void 0,function*(){return this.closed||(this.autoDestroy=lT(this,t),this.schema||(this.schema=yield this._reader.readSchema())||(yield this.cancel())),this})}throw(t){return re(this,void 0,void 0,function*(){return!this.closed&&this.autoDestroy&&(this.closed=!0)?yield this.reset()._reader.throw(t):Ve})}return(t){return re(this,void 0,void 0,function*(){return!this.closed&&this.autoDestroy&&(this.closed=!0)?yield this.reset()._reader.return(t):Ve})}next(){return re(this,void 0,void 0,function*(){if(this.closed)return Ve;let t;const{_reader:e}=this;for(;t=yield this._readNextMessageAndValidate();)if(t.isSchema())yield this.reset(t.header());else if(t.isRecordBatch()){this._recordBatchIndex++;const n=t.header(),i=yield e.readMessageBody(t.bodyLength);return{done:!1,value:this._loadRecordBatch(n,i)}}else if(t.isDictionaryBatch()){this._dictionaryIndex++;const n=t.header(),i=yield e.readMessageBody(t.bodyLength),s=this._loadDictionaryBatch(n,i);this.dictionaries.set(n.id,s)}return this.schema&&this._recordBatchIndex===0?(this._recordBatchIndex++,{done:!1,value:new jm(this.schema)}):yield this.return()})}_readNextMessageAndValidate(t){return re(this,void 0,void 0,function*(){return yield this._reader.readMessage(t)})}}class aT extends wc{get footer(){return this._footer}get numDictionaries(){return this._footer?this._footer.numDictionaries:0}get numRecordBatches(){return this._footer?this._footer.numRecordBatches:0}constructor(t,e){super(t instanceof m0?t:new m0(t),e)}isSync(){return!0}isFile(){return!0}open(t){if(!this.closed&&!this._footer){this.schema=(this._footer=this._readFooter()).schema;for(const e of this._footer.dictionaryBatches())e&&this._readDictionaryBatch(this._dictionaryIndex++)}return super.open(t)}readRecordBatch(t){var e;if(this.closed)return null;this._footer||this.open();const n=(e=this._footer)===null||e===void 0?void 0:e.getRecordBatch(t);if(n&&this._handle.seek(n.offset)){const i=this._reader.readMessage(ve.RecordBatch);if(i!=null&&i.isRecordBatch()){const s=i.header(),o=this._reader.readMessageBody(i.bodyLength);return this._loadRecordBatch(s,o)}}return null}_readDictionaryBatch(t){var e;const n=(e=this._footer)===null||e===void 0?void 0:e.getDictionaryBatch(t);if(n&&this._handle.seek(n.offset)){const i=this._reader.readMessage(ve.DictionaryBatch);if(i!=null&&i.isDictionaryBatch()){const s=i.header(),o=this._reader.readMessageBody(i.bodyLength),a=this._loadDictionaryBatch(s,o);this.dictionaries.set(s.id,a)}}}_readFooter(){const{_handle:t}=this,e=t.size-iT,n=t.readInt32(e),i=t.readAt(e-n,n);return dl.decode(i)}_readNextMessageAndValidate(t){var e;if(this._footer||this.open(),this._footer&&this._recordBatchIndexsuper.open}});return re(this,void 0,void 0,function*(){if(!this.closed&&!this._footer){this.schema=(this._footer=yield this._readFooter()).schema;for(const n of this._footer.dictionaryBatches())n&&(yield this._readDictionaryBatch(this._dictionaryIndex++))}return yield e.open.call(this,t)})}readRecordBatch(t){return re(this,void 0,void 0,function*(){var e;if(this.closed)return null;this._footer||(yield this.open());const n=(e=this._footer)===null||e===void 0?void 0:e.getRecordBatch(t);if(n&&(yield this._handle.seek(n.offset))){const i=yield this._reader.readMessage(ve.RecordBatch);if(i!=null&&i.isRecordBatch()){const s=i.header(),o=yield this._reader.readMessageBody(i.bodyLength);return this._loadRecordBatch(s,o)}}return null})}_readDictionaryBatch(t){return re(this,void 0,void 0,function*(){var e;const n=(e=this._footer)===null||e===void 0?void 0:e.getDictionaryBatch(t);if(n&&(yield this._handle.seek(n.offset))){const i=yield this._reader.readMessage(ve.DictionaryBatch);if(i!=null&&i.isDictionaryBatch()){const s=i.header(),o=yield this._reader.readMessageBody(i.bodyLength),a=this._loadDictionaryBatch(s,o);this.dictionaries.set(s.id,a)}}})}_readFooter(){return re(this,void 0,void 0,function*(){const{_handle:t}=this;t._pending&&(yield t._pending);const e=t.size-iT,n=yield t.readInt32(e),i=yield t.readAt(e-n,n);return dl.decode(i)})}_readNextMessageAndValidate(t){return re(this,void 0,void 0,function*(){if(this._footer||(yield this.open()),this._footer&&this._recordBatchIndex=4?Wm(t)?new sT(new aT(r.read())):new bc(new wc(r)):new bc(new wc(function*(){}()))}function MB(r){return re(this,void 0,void 0,function*(){const t=yield r.peek(Al+7&-8);return t&&t.byteLength>=4?Wm(t)?new sT(new aT(yield r.read())):new xc(new Sc(r)):new xc(new Sc(function(){return Ar(this,arguments,function*(){})}()))})}function EB(r){return re(this,void 0,void 0,function*(){const{size:t}=yield r.stat(),e=new _c(r,t);return t>=bB&&Wm(yield e.readAt(0,Al+7&-8))?new xB(new wB(e)):new xc(new Sc(e))})}class $e extends le{static assemble(...t){const e=i=>i.flatMap(s=>Array.isArray(s)?e(s):s instanceof Er?s.data.children:s.data),n=new $e;return n.visitMany(e(t)),n}constructor(){super(),this._byteLength=0,this._nodes=[],this._buffers=[],this._bufferRegions=[]}visit(t){if(t instanceof ze)return this.visitMany(t.data),this;const{type:e}=t;if(!Rt.isDictionary(e)){const{length:n}=t;if(n>2147483647)throw new RangeError("Cannot write arrays larger than 2^31 - 1 in length");if(Rt.isUnion(e))this.nodes.push(new Qi(n,0));else{const{nullCount:i}=t;Rt.isNull(e)||bn.call(this,i<=0?new Uint8Array(0):pc(t.offset,n,t.nullBitmap)),this.nodes.push(new Qi(n,i))}}return super.visit(t)}visitNull(t){return this}visitDictionary(t){return this.visit(t.clone(t.type.indices))}get nodes(){return this._nodes}get buffers(){return this._buffers}get byteLength(){return this._byteLength}get bufferRegions(){return this._bufferRegions}}function bn(r){const t=r.byteLength+7&-8;return this.buffers.push(r),this.bufferRegions.push(new Gn(this._byteLength,t)),this._byteLength+=t,this}function AB(r){var t;const{type:e,length:n,typeIds:i,valueOffsets:s}=r;if(bn.call(this,i),e.mode===gr.Sparse)return Ap.call(this,r);if(e.mode===gr.Dense){if(r.offset<=0)return bn.call(this,s),Ap.call(this,r);{const o=new Int32Array(n),a=Object.create(null),l=Object.create(null);for(let u,c,h=-1;++h{const h=e.typeIds[c],f=a[h],d=l[h];return u.slice(f,Math.min(n,d))}))}}return this}function CB(r){let t;return r.nullCount>=r.length?bn.call(this,new Uint8Array(0)):(t=r.values)instanceof Uint8Array?bn.call(this,pc(r.offset,r.length,t)):bn.call(this,mc(r.values))}function Ti(r){return bn.call(this,r.values.subarray(0,r.length*r.stride))}function nh(r){const{length:t,values:e,valueOffsets:n}=r,i=Ae(n[0]),s=Ae(n[t]),o=Math.min(s-i,e.byteLength-i);return bn.call(this,d1(-i,t+1,n)),bn.call(this,e.subarray(i,i+o)),this}function Hm(r){const{length:t,valueOffsets:e}=r;if(e){const{[0]:n,[t]:i}=e;return bn.call(this,d1(-n,t+1,e)),this.visit(r.children[0].slice(n,i-n))}return this.visit(r.children[0])}function Ap(r){return this.visitMany(r.type.children.map((t,e)=>r.children[e]).filter(Boolean))[0]}$e.prototype.visitBool=CB;$e.prototype.visitInt=Ti;$e.prototype.visitFloat=Ti;$e.prototype.visitUtf8=nh;$e.prototype.visitLargeUtf8=nh;$e.prototype.visitBinary=nh;$e.prototype.visitLargeBinary=nh;$e.prototype.visitFixedSizeBinary=Ti;$e.prototype.visitDate=Ti;$e.prototype.visitTimestamp=Ti;$e.prototype.visitTime=Ti;$e.prototype.visitDecimal=Ti;$e.prototype.visitList=Hm;$e.prototype.visitStruct=Ap;$e.prototype.visitUnion=AB;$e.prototype.visitInterval=Ti;$e.prototype.visitDuration=Ti;$e.prototype.visitFixedSizeList=Hm;$e.prototype.visitMap=Hm;class uT extends Bm{static throughNode(t){throw new Error('"throughNode" not available in this environment')}static throughDOM(t,e){throw new Error('"throughDOM" not available in this environment')}constructor(t){super(),this._position=0,this._started=!1,this._sink=new Su,this._schema=null,this._dictionaryBlocks=[],this._recordBatchBlocks=[],this._seenDictionaries=new Map,this._dictionaryDeltaOffsets=new Map,Cr(t)||(t={autoDestroy:!0,writeLegacyIpcFormat:!1}),this._autoDestroy=typeof t.autoDestroy=="boolean"?t.autoDestroy:!0,this._writeLegacyIpcFormat=typeof t.writeLegacyIpcFormat=="boolean"?t.writeLegacyIpcFormat:!1}toString(t=!1){return this._sink.toString(t)}toUint8Array(t=!1){return this._sink.toUint8Array(t)}writeAll(t){return zs(t)?t.then(e=>this.writeAll(e)):oa(t)?Qm(this,t):qm(this,t)}get closed(){return this._sink.closed}[Symbol.asyncIterator](){return this._sink[Symbol.asyncIterator]()}toDOMStream(t){return this._sink.toDOMStream(t)}toNodeStream(t){return this._sink.toNodeStream(t)}close(){return this.reset()._sink.close()}abort(t){return this.reset()._sink.abort(t)}finish(){return this._autoDestroy?this.close():this.reset(this._sink,this._schema),this}reset(t=this._sink,e=null){return t===this._sink||t instanceof Su?this._sink=t:(this._sink=new Su,t&&iN(t)?this.toDOMStream({type:"bytes"}).pipeTo(t):t&&sN(t)&&this.toNodeStream({objectMode:!1}).pipe(t)),this._started&&this._schema&&this._writeFooter(this._schema),this._started=!1,this._dictionaryBlocks=[],this._recordBatchBlocks=[],this._seenDictionaries=new Map,this._dictionaryDeltaOffsets=new Map,(!e||!Mp(e,this._schema))&&(e==null?(this._position=0,this._schema=null):(this._started=!0,this._schema=e,this._writeSchema(e))),this}write(t){let e=null;if(this._sink){if(t==null)return this.finish()&&void 0;if(t instanceof qi&&!(e=t.schema))return this.finish()&&void 0;if(t instanceof Er&&!(e=t.schema))return this.finish()&&void 0}else throw new Error("RecordBatchWriter is closed");if(e&&!Mp(e,this._schema)){if(this._started&&this._autoDestroy)return this.close();this.reset(this._sink,e)}t instanceof Er?t instanceof jm||this._writeRecordBatch(t):t instanceof qi?this.writeAll(t.batches):Tl(t)&&this.writeAll(t)}_writeMessage(t,e=8){const n=e-1,i=xr.encode(t),s=i.byteLength,o=this._writeLegacyIpcFormat?4:8,a=s+o+n&~n,l=a-s-o;return t.headerType===ve.RecordBatch?this._recordBatchBlocks.push(new Xi(a,t.bodyLength,this._position)):t.headerType===ve.DictionaryBatch&&this._dictionaryBlocks.push(new Xi(a,t.bodyLength,this._position)),this._writeLegacyIpcFormat||this._write(Int32Array.of(-1)),this._write(Int32Array.of(a-o)),s>0&&this._write(i),this._writePadding(l)}_write(t){if(this._started){const e=fe(t);e&&e.byteLength>0&&(this._sink.write(e),this._position+=e.byteLength)}return this}_writeSchema(t){return this._writeMessage(xr.from(t))}_writeFooter(t){return this._writeLegacyIpcFormat?this._write(Int32Array.of(0)):this._write(Int32Array.of(-1,0))}_writeMagic(){return this._write(fl)}_writePadding(t){return t>0?this._write(new Uint8Array(t)):this}_writeRecordBatch(t){const{byteLength:e,nodes:n,bufferRegions:i,buffers:s}=$e.assemble(t),o=new Wr(t.numRows,n,i),a=xr.from(o,e);return this._writeDictionaries(t)._writeMessage(a)._writeBodyBuffers(s)}_writeDictionaryBatch(t,e,n=!1){const{byteLength:i,nodes:s,bufferRegions:o,buffers:a}=$e.assemble(new ze([t])),l=new Wr(t.length,s,o),u=new Qn(l,e,n),c=xr.from(u,i);return this._writeMessage(c)._writeBodyBuffers(a)}_writeBodyBuffers(t){let e,n,i;for(let s=-1,o=t.length;++s0&&(this._write(e),(i=(n+7&-8)-n)>0&&this._writePadding(i));return this}_writeDictionaries(t){var e,n;for(const[i,s]of t.dictionaries){const o=(e=s==null?void 0:s.data)!==null&&e!==void 0?e:[],a=this._seenDictionaries.get(i),l=(n=this._dictionaryDeltaOffsets.get(i))!==null&&n!==void 0?n:0;if(!a||a.data[0]!==o[0])for(const[u,c]of o.entries())this._writeDictionaryBatch(c,i,u>0);else if(ln.writeAll(i)):oa(t)?Qm(n,t):qm(n,t)}}class Ym extends uT{static writeAll(t){const e=new Ym;return zs(t)?t.then(n=>e.writeAll(n)):oa(t)?Qm(e,t):qm(e,t)}constructor(){super(),this._autoDestroy=!0}_writeSchema(t){return this._writeMagic()._writePadding(2)}_writeDictionaryBatch(t,e,n=!1){if(!n&&this._seenDictionaries.has(e))throw new Error("The Arrow File format does not support replacement dictionaries. ");return super._writeDictionaryBatch(t,e,n)}_writeFooter(t){const e=dl.encode(new dl(t,He.V5,this._recordBatchBlocks,this._dictionaryBlocks));return super._writeFooter(t)._write(e)._write(Int32Array.of(e.byteLength))._writeMagic()}}function qm(r,t){let e=t;t instanceof qi&&(e=t.batches,r.reset(void 0,t.schema));for(const n of e)r.write(n);return r.finish()}function Qm(r,t){return re(this,void 0,void 0,function*(){var e,n,i,s,o,a,l;try{for(e=!0,n=Hn(t);i=yield n.next(),s=i.done,!s;e=!0){l=i.value,e=!1;const u=l;r.write(u)}}catch(u){o={error:u}}finally{try{!e&&!s&&(a=n.return)&&(yield a.call(n))}finally{if(o)throw o.error}}return r.finish()})}function OB(r,t="stream"){return(t==="stream"?Xm:Ym).writeAll(r).toUint8Array(!0)}var PB=Object.create,cT=Object.defineProperty,RB=Object.getOwnPropertyDescriptor,FB=Object.getOwnPropertyNames,DB=Object.getPrototypeOf,LB=Object.prototype.hasOwnProperty,NB=(r,t)=>()=>(t||r((t={exports:{}}).exports,t),t.exports),BB=(r,t,e,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of FB(t))!LB.call(r,i)&&i!==e&&cT(r,i,{get:()=>t[i],enumerable:!(n=RB(t,i))||n.enumerable});return r},kB=(r,t,e)=>(e=r!=null?PB(DB(r)):{},BB(!r||!r.__esModule?cT(e,"default",{value:r,enumerable:!0}):e,r)),UB=NB((r,t)=>{t.exports=Worker}),hT=(r=>(r[r.UNDEFINED=0]="UNDEFINED",r[r.AUTOMATIC=1]="AUTOMATIC",r[r.READ_ONLY=2]="READ_ONLY",r[r.READ_WRITE=3]="READ_WRITE",r))(hT||{}),zB=(r=>(r[r.IDENTIFIER=0]="IDENTIFIER",r[r.NUMERIC_CONSTANT=1]="NUMERIC_CONSTANT",r[r.STRING_CONSTANT=2]="STRING_CONSTANT",r[r.OPERATOR=3]="OPERATOR",r[r.KEYWORD=4]="KEYWORD",r[r.COMMENT=5]="COMMENT",r))(zB||{}),VB=(r=>(r[r.NONE=0]="NONE",r[r.DEBUG=1]="DEBUG",r[r.INFO=2]="INFO",r[r.WARNING=3]="WARNING",r[r.ERROR=4]="ERROR",r))(VB||{}),jB=(r=>(r[r.NONE=0]="NONE",r[r.CONNECT=1]="CONNECT",r[r.DISCONNECT=2]="DISCONNECT",r[r.OPEN=3]="OPEN",r[r.QUERY=4]="QUERY",r[r.INSTANTIATE=5]="INSTANTIATE",r))(jB||{}),$B=(r=>(r[r.NONE=0]="NONE",r[r.OK=1]="OK",r[r.ERROR=2]="ERROR",r[r.START=3]="START",r[r.RUN=4]="RUN",r[r.CAPTURE=5]="CAPTURE",r))($B||{}),GB=(r=>(r[r.NONE=0]="NONE",r[r.WEB_WORKER=1]="WEB_WORKER",r[r.NODE_WORKER=2]="NODE_WORKER",r[r.BINDINGS=3]="BINDINGS",r[r.ASYNC_DUCKDB=4]="ASYNC_DUCKDB",r))(GB||{}),WB=class{log(r){}},dT=class{constructor(r=2){this.level=r}log(r){r.level>=this.level&&console.log(r)}},HB=(r=>(r[r.SUCCESS=0]="SUCCESS",r))(HB||{}),XB=class{constructor(r,t){this._bindings=r,this._conn=t}get bindings(){return this._bindings}async close(){return this._bindings.disconnect(this._conn)}useUnsafe(r){return r(this._bindings,this._conn)}async query(r){this._bindings.logger.log({timestamp:new Date,level:2,origin:4,topic:4,event:4,value:r});let t=await this._bindings.runQuery(this._conn,r),e=un.from(t);return console.assert(e.isSync(),"Reader is not sync"),console.assert(e.isFile(),"Reader is not file"),new qi(e)}async send(r,t=!1){this._bindings.logger.log({timestamp:new Date,level:2,origin:4,topic:4,event:4,value:r});let e=await this._bindings.startPendingQuery(this._conn,r,t);for(;e==null;)e=await this._bindings.pollPendingQuery(this._conn);let n=new fT(this._bindings,this._conn,e),i=await un.from(n);return console.assert(i.isAsync()),console.assert(i.isStream()),i}async cancelSent(){return await this._bindings.cancelPendingQuery(this._conn)}async getTableNames(r){return await this._bindings.getTableNames(this._conn,r)}async prepare(r){let t=await this._bindings.createPrepared(this._conn,r);return new YB(this._bindings,this._conn,t)}async insertArrowTable(r,t){let e=OB(r,"stream");await this.insertArrowFromIPCStream(e,t)}async insertArrowFromIPCStream(r,t){await this._bindings.insertArrowFromIPCStream(this._conn,r,t)}async insertCSVFromPath(r,t){await this._bindings.insertCSVFromPath(this._conn,r,t)}async insertJSONFromPath(r,t){await this._bindings.insertJSONFromPath(this._conn,r,t)}},fT=class{constructor(r,t,e){this.db=r,this.conn=t,this.header=e,this._first=!0,this._depleted=!1,this._inFlight=null}async next(){if(this._first)return this._first=!1,{done:!1,value:this.header};if(this._depleted)return{done:!0,value:null};let r;return this._inFlight!=null?(r=await this._inFlight,this._inFlight=null):r=await this.db.fetchQueryResults(this.conn),this._depleted=r.length==0,this._depleted||(this._inFlight=this.db.fetchQueryResults(this.conn)),{done:this._depleted,value:r}}[Symbol.asyncIterator](){return this}},YB=class{constructor(r,t,e){this.bindings=r,this.connectionId=t,this.statementId=e}async close(){await this.bindings.closePrepared(this.connectionId,this.statementId)}async query(...r){let t=await this.bindings.runPrepared(this.connectionId,this.statementId,r),e=un.from(t);return console.assert(e.isSync()),console.assert(e.isFile()),new qi(e)}async send(...r){let t=await this.bindings.sendPrepared(this.connectionId,this.statementId,r),e=new fT(this.bindings,this.connectionId,t),n=await un.from(e);return console.assert(n.isAsync()),console.assert(n.isStream()),n}},qB=(r=>(r.CANCEL_PENDING_QUERY="CANCEL_PENDING_QUERY",r.CLOSE_PREPARED="CLOSE_PREPARED",r.COLLECT_FILE_STATISTICS="COLLECT_FILE_STATISTICS",r.REGISTER_OPFS_FILE_NAME="REGISTER_OPFS_FILE_NAME",r.CONNECT="CONNECT",r.COPY_FILE_TO_BUFFER="COPY_FILE_TO_BUFFER",r.COPY_FILE_TO_PATH="COPY_FILE_TO_PATH",r.CREATE_PREPARED="CREATE_PREPARED",r.DISCONNECT="DISCONNECT",r.DROP_FILE="DROP_FILE",r.DROP_FILES="DROP_FILES",r.EXPORT_FILE_STATISTICS="EXPORT_FILE_STATISTICS",r.FETCH_QUERY_RESULTS="FETCH_QUERY_RESULTS",r.FLUSH_FILES="FLUSH_FILES",r.GET_FEATURE_FLAGS="GET_FEATURE_FLAGS",r.GET_TABLE_NAMES="GET_TABLE_NAMES",r.GET_VERSION="GET_VERSION",r.GLOB_FILE_INFOS="GLOB_FILE_INFOS",r.INSERT_ARROW_FROM_IPC_STREAM="INSERT_ARROW_FROM_IPC_STREAM",r.INSERT_CSV_FROM_PATH="IMPORT_CSV_FROM_PATH",r.INSERT_JSON_FROM_PATH="IMPORT_JSON_FROM_PATH",r.INSTANTIATE="INSTANTIATE",r.OPEN="OPEN",r.PING="PING",r.POLL_PENDING_QUERY="POLL_PENDING_QUERY",r.REGISTER_FILE_BUFFER="REGISTER_FILE_BUFFER",r.REGISTER_FILE_HANDLE="REGISTER_FILE_HANDLE",r.REGISTER_FILE_URL="REGISTER_FILE_URL",r.RESET="RESET",r.RUN_PREPARED="RUN_PREPARED",r.RUN_QUERY="RUN_QUERY",r.SEND_PREPARED="SEND_PREPARED",r.START_PENDING_QUERY="START_PENDING_QUERY",r.TOKENIZE="TOKENIZE",r))(qB||{}),QB=(r=>(r.CONNECTION_INFO="CONNECTION_INFO",r.ERROR="ERROR",r.FEATURE_FLAGS="FEATURE_FLAGS",r.FILE_BUFFER="FILE_BUFFER",r.FILE_INFOS="FILE_INFOS",r.FILE_SIZE="FILE_SIZE",r.FILE_STATISTICS="FILE_STATISTICS",r.INSTANTIATE_PROGRESS="INSTANTIATE_PROGRESS",r.LOG="LOG",r.OK="OK",r.PREPARED_STATEMENT_ID="PREPARED_STATEMENT_ID",r.QUERY_PLAN="QUERY_PLAN",r.QUERY_RESULT="QUERY_RESULT",r.QUERY_RESULT_CHUNK="QUERY_RESULT_CHUNK",r.QUERY_RESULT_HEADER="QUERY_RESULT_HEADER",r.QUERY_RESULT_HEADER_OR_NULL="QUERY_RESULT_HEADER_OR_NULL",r.REGISTERED_FILE="REGISTERED_FILE",r.SCRIPT_TOKENS="SCRIPT_TOKENS",r.SUCCESS="SUCCESS",r.TABLE_NAMES="TABLE_NAMES",r.VERSION_STRING="VERSION_STRING",r))(QB||{}),me=class{constructor(r,t){this.promiseResolver=()=>{},this.promiseRejecter=()=>{},this.type=r,this.data=t,this.promise=new Promise((e,n)=>{this.promiseResolver=e,this.promiseRejecter=n})}};function Mu(r){switch(r.typeId){case z.Binary:return{sqlType:"binary"};case z.Bool:return{sqlType:"bool"};case z.Date:return{sqlType:"date"};case z.DateDay:return{sqlType:"date32[d]"};case z.DateMillisecond:return{sqlType:"date64[ms]"};case z.Decimal:{let t=r;return{sqlType:"decimal",precision:t.precision,scale:t.scale}}case z.Float:return{sqlType:"float"};case z.Float16:return{sqlType:"float16"};case z.Float32:return{sqlType:"float32"};case z.Float64:return{sqlType:"float64"};case z.Int:return{sqlType:"int32"};case z.Int16:return{sqlType:"int16"};case z.Int32:return{sqlType:"int32"};case z.Int64:return{sqlType:"int64"};case z.Uint16:return{sqlType:"uint16"};case z.Uint32:return{sqlType:"uint32"};case z.Uint64:return{sqlType:"uint64"};case z.Uint8:return{sqlType:"uint8"};case z.IntervalDayTime:return{sqlType:"interval[dt]"};case z.IntervalYearMonth:return{sqlType:"interval[m]"};case z.List:return{sqlType:"list",valueType:Mu(r.valueType)};case z.FixedSizeBinary:return{sqlType:"fixedsizebinary",byteWidth:r.byteWidth};case z.Null:return{sqlType:"null"};case z.Utf8:return{sqlType:"utf8"};case z.Struct:return{sqlType:"struct",fields:r.children.map(t=>Cp(t.name,t.type))};case z.Map:{let t=r;return{sqlType:"map",keyType:Mu(t.keyType),valueType:Mu(t.valueType)}}case z.Time:return{sqlType:"time[s]"};case z.TimeMicrosecond:return{sqlType:"time[us]"};case z.TimeMillisecond:return{sqlType:"time[ms]"};case z.TimeNanosecond:return{sqlType:"time[ns]"};case z.TimeSecond:return{sqlType:"time[s]"};case z.Timestamp:return{sqlType:"timestamp",timezone:r.timezone||void 0};case z.TimestampSecond:return{sqlType:"timestamp[s]",timezone:r.timezone||void 0};case z.TimestampMicrosecond:return{sqlType:"timestamp[us]",timezone:r.timezone||void 0};case z.TimestampNanosecond:return{sqlType:"timestamp[ns]",timezone:r.timezone||void 0};case z.TimestampMillisecond:return{sqlType:"timestamp[ms]",timezone:r.timezone||void 0}}throw new Error("unsupported arrow type: ".concat(r.toString()))}function Cp(r,t){let e=Mu(t);return e.name=r,e}var ZB=new TextEncoder,KB=class{constructor(r,t=null){this._onInstantiationProgress=[],this._worker=null,this._workerShutdownPromise=null,this._workerShutdownResolver=()=>{},this._nextMessageId=0,this._pendingRequests=new Map,this._logger=r,this._onMessageHandler=this.onMessage.bind(this),this._onErrorHandler=this.onError.bind(this),this._onCloseHandler=this.onClose.bind(this),t!=null&&this.attach(t)}get logger(){return this._logger}attach(r){this._worker=r,this._worker.addEventListener("message",this._onMessageHandler),this._worker.addEventListener("error",this._onErrorHandler),this._worker.addEventListener("close",this._onCloseHandler),this._workerShutdownPromise=new Promise((t,e)=>{this._workerShutdownResolver=t})}detach(){this._worker&&(this._worker.removeEventListener("message",this._onMessageHandler),this._worker.removeEventListener("error",this._onErrorHandler),this._worker.removeEventListener("close",this._onCloseHandler),this._worker=null,this._workerShutdownResolver(null),this._workerShutdownPromise=null,this._workerShutdownResolver=()=>{})}async terminate(){this._worker&&(this._worker.terminate(),this._worker=null,this._workerShutdownPromise=null,this._workerShutdownResolver=()=>{})}async postTask(r,t=[]){if(!this._worker){console.error("cannot send a message since the worker is not set!");return}let e=this._nextMessageId++;return this._pendingRequests.set(e,r),this._worker.postMessage({messageId:e,type:r.type,data:r.data},t),await r.promise}onMessage(r){var t;let e=r.data;switch(e.type){case"LOG":{this._logger.log(e.data);return}case"INSTANTIATE_PROGRESS":{for(let i of this._onInstantiationProgress)i(e.data);return}}let n=this._pendingRequests.get(e.requestId);if(!n){console.warn("unassociated response: [".concat(e.requestId,", ").concat(e.type.toString(),"]"));return}if(this._pendingRequests.delete(e.requestId),e.type=="ERROR"){let i=new Error(e.data.message);i.name=e.data.name,(t=Object.getOwnPropertyDescriptor(i,"stack"))!=null&&t.writable&&(i.stack=e.data.stack),n.promiseRejecter(i);return}switch(n.type){case"CLOSE_PREPARED":case"COLLECT_FILE_STATISTICS":case"REGISTER_OPFS_FILE_NAME":case"COPY_FILE_TO_PATH":case"DISCONNECT":case"DROP_FILE":case"DROP_FILES":case"FLUSH_FILES":case"INSERT_ARROW_FROM_IPC_STREAM":case"IMPORT_CSV_FROM_PATH":case"IMPORT_JSON_FROM_PATH":case"OPEN":case"PING":case"REGISTER_FILE_BUFFER":case"REGISTER_FILE_HANDLE":case"REGISTER_FILE_URL":case"RESET":if(e.type=="OK"){n.promiseResolver(e.data);return}break;case"INSTANTIATE":if(this._onInstantiationProgress=[],e.type=="OK"){n.promiseResolver(e.data);return}break;case"GLOB_FILE_INFOS":if(e.type=="FILE_INFOS"){n.promiseResolver(e.data);return}break;case"GET_VERSION":if(e.type=="VERSION_STRING"){n.promiseResolver(e.data);return}break;case"GET_FEATURE_FLAGS":if(e.type=="FEATURE_FLAGS"){n.promiseResolver(e.data);return}break;case"GET_TABLE_NAMES":if(e.type=="TABLE_NAMES"){n.promiseResolver(e.data);return}break;case"TOKENIZE":if(e.type=="SCRIPT_TOKENS"){n.promiseResolver(e.data);return}break;case"COPY_FILE_TO_BUFFER":if(e.type=="FILE_BUFFER"){n.promiseResolver(e.data);return}break;case"EXPORT_FILE_STATISTICS":if(e.type=="FILE_STATISTICS"){n.promiseResolver(e.data);return}break;case"CONNECT":if(e.type=="CONNECTION_INFO"){n.promiseResolver(e.data);return}break;case"RUN_PREPARED":case"RUN_QUERY":if(e.type=="QUERY_RESULT"){n.promiseResolver(e.data);return}break;case"SEND_PREPARED":if(e.type=="QUERY_RESULT_HEADER"){n.promiseResolver(e.data);return}break;case"START_PENDING_QUERY":if(e.type=="QUERY_RESULT_HEADER_OR_NULL"){n.promiseResolver(e.data);return}break;case"POLL_PENDING_QUERY":if(e.type=="QUERY_RESULT_HEADER_OR_NULL"){n.promiseResolver(e.data);return}break;case"CANCEL_PENDING_QUERY":if(this._onInstantiationProgress=[],e.type=="SUCCESS"){n.promiseResolver(e.data);return}break;case"FETCH_QUERY_RESULTS":if(e.type=="QUERY_RESULT_CHUNK"){n.promiseResolver(e.data);return}break;case"CREATE_PREPARED":if(e.type=="PREPARED_STATEMENT_ID"){n.promiseResolver(e.data);return}break}n.promiseRejecter(new Error("unexpected response type: ".concat(e.type.toString())))}onError(r){console.error(r),console.error("error in duckdb worker: ".concat(r.message)),this._pendingRequests.clear()}onClose(){if(this._workerShutdownResolver(null),this._pendingRequests.size!=0){console.warn("worker terminated with ".concat(this._pendingRequests.size," pending requests"));return}this._pendingRequests.clear()}async reset(){let r=new me("RESET",null);return await this.postTask(r)}async ping(){let r=new me("PING",null);await this.postTask(r)}async dropFile(r){let t=new me("DROP_FILE",r);return await this.postTask(t)}async dropFiles(){let r=new me("DROP_FILES",null);return await this.postTask(r)}async flushFiles(){let r=new me("FLUSH_FILES",null);return await this.postTask(r)}async instantiate(r,t=null,e=n=>{}){this._onInstantiationProgress.push(e);let n=new me("INSTANTIATE",[r,t]);return await this.postTask(n)}async getVersion(){let r=new me("GET_VERSION",null);return await this.postTask(r)}async getFeatureFlags(){let r=new me("GET_FEATURE_FLAGS",null);return await this.postTask(r)}async open(r){let t=new me("OPEN",r);await this.postTask(t)}async tokenize(r){let t=new me("TOKENIZE",r);return await this.postTask(t)}async connectInternal(){let r=new me("CONNECT",null);return await this.postTask(r)}async connect(){let r=await this.connectInternal();return new XB(this,r)}async disconnect(r){let t=new me("DISCONNECT",r);await this.postTask(t)}async runQuery(r,t){let e=new me("RUN_QUERY",[r,t]);return await this.postTask(e)}async startPendingQuery(r,t,e=!1){let n=new me("START_PENDING_QUERY",[r,t,e]);return await this.postTask(n)}async pollPendingQuery(r){let t=new me("POLL_PENDING_QUERY",r);return await this.postTask(t)}async cancelPendingQuery(r){let t=new me("CANCEL_PENDING_QUERY",r);return await this.postTask(t)}async fetchQueryResults(r){let t=new me("FETCH_QUERY_RESULTS",r);return await this.postTask(t)}async getTableNames(r,t){let e=new me("GET_TABLE_NAMES",[r,t]);return await this.postTask(e)}async createPrepared(r,t){let e=new me("CREATE_PREPARED",[r,t]);return await this.postTask(e)}async closePrepared(r,t){let e=new me("CLOSE_PREPARED",[r,t]);await this.postTask(e)}async runPrepared(r,t,e){let n=new me("RUN_PREPARED",[r,t,e]);return await this.postTask(n)}async sendPrepared(r,t,e){let n=new me("SEND_PREPARED",[r,t,e]);return await this.postTask(n)}async globFiles(r){let t=new me("GLOB_FILE_INFOS",r);return await this.postTask(t)}async registerFileText(r,t){let e=ZB.encode(t);await this.registerFileBuffer(r,e)}async registerFileURL(r,t,e,n){t===void 0&&(t=r);let i=new me("REGISTER_FILE_URL",[r,t,e,n]);await this.postTask(i)}async registerEmptyFileBuffer(r){}async registerFileBuffer(r,t){let e=new me("REGISTER_FILE_BUFFER",[r,t]);await this.postTask(e,[t.buffer])}async registerFileHandle(r,t,e,n){let i=new me("REGISTER_FILE_HANDLE",[r,t,e,n]);await this.postTask(i,[])}async registerOPFSFileName(r){let t=new me("REGISTER_OPFS_FILE_NAME",[r]);await this.postTask(t,[])}async collectFileStatistics(r,t){let e=new me("COLLECT_FILE_STATISTICS",[r,t]);await this.postTask(e,[])}async exportFileStatistics(r){let t=new me("EXPORT_FILE_STATISTICS",r);return await this.postTask(t,[])}async copyFileToBuffer(r){let t=new me("COPY_FILE_TO_BUFFER",r);return await this.postTask(t)}async copyFileToPath(r,t){let e=new me("COPY_FILE_TO_PATH",[r,t]);await this.postTask(e)}async insertArrowFromIPCStream(r,t,e){if(t.length==0)return;let n=new me("INSERT_ARROW_FROM_IPC_STREAM",[r,t,e]);await this.postTask(n,[t.buffer])}async insertCSVFromPath(r,t,e){if(e.columns!==void 0){let i=[];for(let s in e.columns){let o=e.columns[s];i.push(Cp(s,o))}e.columnsFlat=i,delete e.columns}let n=new me("IMPORT_CSV_FROM_PATH",[r,t,e]);await this.postTask(n)}async insertJSONFromPath(r,t,e){if(e.columns!==void 0){let i=[];for(let s in e.columns){let o=e.columns[s];i.push(Cp(s,o))}e.columnsFlat=i,delete e.columns}let n=new me("IMPORT_JSON_FROM_PATH",[r,t,e]);await this.postTask(n)}};function JB(){let r=new TextDecoder;return t=>(typeof SharedArrayBuffer<"u"&&t.buffer instanceof SharedArrayBuffer&&(t=new Uint8Array(t)),r.decode(t))}JB();var tk=(r=>(r[r.BUFFER=0]="BUFFER",r[r.NODE_FS=1]="NODE_FS",r[r.BROWSER_FILEREADER=2]="BROWSER_FILEREADER",r[r.BROWSER_FSACCESS=3]="BROWSER_FSACCESS",r[r.HTTP=4]="HTTP",r[r.S3=5]="S3",r))(tk||{}),ek=async()=>WebAssembly.validate(new Uint8Array([0,97,115,109,1,0,0,0,1,4,1,96,0,0,3,2,1,0,5,3,1,0,1,10,14,1,12,0,65,0,65,0,65,0,252,10,0,0,11])),rk=async()=>WebAssembly.validate(new Uint8Array([0,97,115,109,1,0,0,0,1,4,1,96,0,0,3,2,1,0,10,8,1,6,0,6,64,25,11,11])),nk=async()=>WebAssembly.validate(new Uint8Array([0,97,115,109,1,0,0,0,1,5,1,96,0,1,123,3,2,1,0,10,10,1,8,0,65,0,253,15,253,98,11])),ik=()=>(async r=>{try{return typeof MessageChannel<"u"&&new MessageChannel().port1.postMessage(new SharedArrayBuffer(1)),WebAssembly.validate(r)}catch{return!1}})(new Uint8Array([0,97,115,109,1,0,0,0,1,4,1,96,0,0,3,2,1,0,5,4,1,3,1,1,10,11,1,9,0,65,0,254,16,2,0,26,11])),sk={version:"1.29.1-dev68.0"},Zm=sk.version.split(".");Zm[0];Zm[1];Zm[2];var ok=()=>typeof navigator>"u",Yd=null,qd=null,Qd=null,Zd=null,Kd=null;async function ak(){return Yd==null&&(Yd=typeof BigInt64Array<"u"),qd==null&&(qd=await rk()),Qd==null&&(Qd=await ik()),Zd==null&&(Zd=await nk()),Kd==null&&(Kd=await ek()),{bigInt64Array:Yd,crossOriginIsolated:ok()||globalThis.crossOriginIsolated||!1,wasmExceptions:qd,wasmSIMD:Zd,wasmThreads:Qd,wasmBulkMemory:Kd}}async function I0(r){let t=await ak();if(t.wasmExceptions){if(t.wasmSIMD&&t.wasmThreads&&t.crossOriginIsolated&&r.coi)return{mainModule:r.coi.mainModule,mainWorker:r.coi.mainWorker,pthreadWorker:r.coi.pthreadWorker};if(r.eh)return{mainModule:r.eh.mainModule,mainWorker:r.eh.mainWorker,pthreadWorker:null}}return{mainModule:r.mvp.mainModule,mainWorker:r.mvp.mainWorker,pthreadWorker:null}}kB(UB());const Jd={},Ga={};function qa(r,t){try{const n=(Jd[r]||(Jd[r]=new Intl.DateTimeFormat("en-GB",{timeZone:r,hour:"numeric",timeZoneName:"longOffset"}).format))(t).split("GMT")[1]||"";return n in Ga?Ga[n]:M0(n,n.split(":"))}catch{if(r in Ga)return Ga[r];const e=r==null?void 0:r.match(lk);return e?M0(r,e.slice(1)):NaN}}const lk=/([+-]\d\d):?(\d\d)?/;function M0(r,t){const e=+t[0],n=+(t[1]||0);return Ga[r]=e>0?e*60+n:e*60-n}class Vr extends Date{constructor(...t){super(),t.length>1&&typeof t[t.length-1]=="string"&&(this.timeZone=t.pop()),this.internal=new Date,isNaN(qa(this.timeZone,this))?this.setTime(NaN):t.length?typeof t[0]=="number"&&(t.length===1||t.length===2&&typeof t[1]!="number")?this.setTime(t[0]):typeof t[0]=="string"?this.setTime(+new Date(t[0])):t[0]instanceof Date?this.setTime(+t[0]):(this.setTime(+new Date(...t)),pT(this),Op(this)):this.setTime(Date.now())}static tz(t,...e){return e.length?new Vr(...e,t):new Vr(Date.now(),t)}withTimeZone(t){return new Vr(+this,t)}getTimezoneOffset(){return-qa(this.timeZone,this)}setTime(t){return Date.prototype.setTime.apply(this,arguments),Op(this),+this}[Symbol.for("constructDateFrom")](t){return new Vr(+new Date(t),this.timeZone)}}const E0=/^(get|set)(?!UTC)/;Object.getOwnPropertyNames(Date.prototype).forEach(r=>{if(!E0.test(r))return;const t=r.replace(E0,"$1UTC");Vr.prototype[t]&&(r.startsWith("get")?Vr.prototype[r]=function(){return this.internal[t]()}:(Vr.prototype[r]=function(){return Date.prototype[t].apply(this.internal,arguments),uk(this),+this},Vr.prototype[t]=function(){return Date.prototype[t].apply(this,arguments),Op(this),+this}))});function Op(r){r.internal.setTime(+r),r.internal.setUTCMinutes(r.internal.getUTCMinutes()-r.getTimezoneOffset())}function uk(r){Date.prototype.setFullYear.call(r,r.internal.getUTCFullYear(),r.internal.getUTCMonth(),r.internal.getUTCDate()),Date.prototype.setHours.call(r,r.internal.getUTCHours(),r.internal.getUTCMinutes(),r.internal.getUTCSeconds(),r.internal.getUTCMilliseconds()),pT(r)}function pT(r){const t=qa(r.timeZone,r),e=new Date(+r);e.setUTCHours(e.getUTCHours()-1);const n=-new Date(+r).getTimezoneOffset(),i=-new Date(+e).getTimezoneOffset(),s=n-i,o=Date.prototype.getHours.apply(r)!==r.internal.getUTCHours();s&&o&&r.internal.setUTCMinutes(r.internal.getUTCMinutes()+s);const a=n-t;a&&Date.prototype.setUTCMinutes.call(r,Date.prototype.getUTCMinutes.call(r)+a);const l=qa(r.timeZone,r),c=-new Date(+r).getTimezoneOffset()-l,h=l!==t,f=c-a;if(h&&f){Date.prototype.setUTCMinutes.call(r,Date.prototype.getUTCMinutes.call(r)+f);const d=qa(r.timeZone,r),m=l-d;m&&(r.internal.setUTCMinutes(r.internal.getUTCMinutes()+m),Date.prototype.setUTCMinutes.call(r,Date.prototype.getUTCMinutes.call(r)+m))}}const ck=new TextDecoder("utf-8"),hk=r=>ck.decode(r),dk=new TextEncoder,mT=r=>dk.encode(r),Ln=r=>typeof r=="function",Cl=r=>r!=null&&Object(r)===r,fk=r=>Cl(r)&&Ln(r.then),gT=r=>Cl(r)&&Ln(r[Symbol.iterator]),pk=r=>Cl(r)&&Ln(r[Symbol.asyncIterator]),mk=r=>Cl(r)&&"done"in r&&"value"in r,gk=r=>Cl(r)&&Ln(r.clear)&&Ln(r.bytes)&&Ln(r.position)&&Ln(r.setPosition)&&Ln(r.capacity)&&Ln(r.getBufferIdentifier)&&Ln(r.createLong),Km=typeof SharedArrayBuffer<"u"?SharedArrayBuffer:ArrayBuffer;function yk(r){const t=r[0]?[r[0]]:[];let e,n,i,s;for(let o,a,l=0,u=0,c=r.length;++lc+h.byteLength,0);let i,s,o,a=0,l=-1;const u=Math.min(t||Number.POSITIVE_INFINITY,n);for(const c=e.length;++lyr(Int8Array,r),bk=r=>yr(Int16Array,r),xk=r=>yr(Int32Array,r),wk=r=>yr(BigInt64Array,r),Sk=r=>yr(Uint8Array,r),Tk=r=>yr(Uint16Array,r),Ik=r=>yr(Uint32Array,r),Mk=r=>yr(BigUint64Array,r),Ek=r=>yr(Float32Array,r),Ak=r=>yr(Float64Array,r),Ck=r=>yr(Uint8ClampedArray,r),Rp=r=>(r.next(),r);function*ri(r,t){const e=function*(i){yield i},n=typeof t=="string"||ArrayBuffer.isView(t)||t instanceof ArrayBuffer||t instanceof Km?e(t):gT(t)?t:e(t);return yield*Rp(function*(i){let s=null;do s=i.next(yield yr(r,s));while(!s.done)}(n[Symbol.iterator]())),new r}const Ok=r=>ri(Int8Array,r),Pk=r=>ri(Int16Array,r),Rk=r=>ri(Int32Array,r),Fk=r=>ri(Uint8Array,r),Dk=r=>ri(Uint16Array,r),Lk=r=>ri(Uint32Array,r),Nk=r=>ri(Float32Array,r),Bk=r=>ri(Float64Array,r),kk=r=>ri(Uint8ClampedArray,r);function Sn(r,t){return Ar(this,arguments,function*(){if(fk(t))return yield Dt(yield Dt(yield*ks(Hn(Sn(r,yield Dt(t))))));const n=function(o){return Ar(this,arguments,function*(){yield yield Dt(yield Dt(o))})},i=function(o){return Ar(this,arguments,function*(){yield Dt(yield*ks(Hn(Rp(function*(a){let l=null;do l=a.next(yield l==null?void 0:l.value);while(!l.done)}(o[Symbol.iterator]())))))})},s=typeof t=="string"||ArrayBuffer.isView(t)||t instanceof ArrayBuffer||t instanceof Km?n(t):gT(t)?i(t):pk(t)?t:n(t);return yield Dt(yield*ks(Hn(Rp(function(o){return Ar(this,arguments,function*(){let a=null;do a=yield Dt(o.next(yield yield Dt(yr(r,a))));while(!a.done)})}(s[Symbol.asyncIterator]()))))),yield Dt(new r)})}const Uk=r=>Sn(Int8Array,r),zk=r=>Sn(Int16Array,r),Vk=r=>Sn(Int32Array,r),jk=r=>Sn(Uint8Array,r),$k=r=>Sn(Uint16Array,r),Gk=r=>Sn(Uint32Array,r),Wk=r=>Sn(Float32Array,r),Hk=r=>Sn(Float64Array,r),Xk=r=>Sn(Uint8ClampedArray,r);function Yk(r,t,e){if(r!==0){e=e.slice(0,t);for(let n=-1,i=e.length;++n0)do if(r[e]!==t[e])return!1;while(++eKo(t))}]`:`[${r}]`:ArrayBuffer.isView(r)?`[${r}]`:JSON.stringify(r,(t,e)=>typeof e=="bigint"?`${e}`:e)}const Zk=Object.freeze(Object.defineProperty({__proto__:null,valueToString:Ko},Symbol.toStringTag,{value:"Module"}));function wr(r){if(typeof r=="bigint"&&(rNumber.MAX_SAFE_INTEGER))throw new TypeError(`${r} is not safe to convert to a number.`);return Number(r)}function vT(r,t){return wr(r/t)+wr(r%t)/wr(t)}const _T=Symbol.for("isArrowBigNum");function Tn(r,...t){return t.length===0?Object.setPrototypeOf(yr(this.TypedArray,r),this.constructor.prototype):Object.setPrototypeOf(new this.TypedArray(r,...t),this.constructor.prototype)}Tn.prototype[_T]=!0;Tn.prototype.toJSON=function(){return`"${Jo(this)}"`};Tn.prototype.valueOf=function(r){return Jm(this,r)};Tn.prototype.toString=function(){return Jo(this)};Tn.prototype[Symbol.toPrimitive]=function(r="default"){switch(r){case"number":return Jm(this);case"string":return Jo(this);case"default":return bT(this)}return Jo(this)};function zo(...r){return Tn.apply(this,r)}function Vo(...r){return Tn.apply(this,r)}function pl(...r){return Tn.apply(this,r)}Object.setPrototypeOf(zo.prototype,Object.create(Int32Array.prototype));Object.setPrototypeOf(Vo.prototype,Object.create(Uint32Array.prototype));Object.setPrototypeOf(pl.prototype,Object.create(Uint32Array.prototype));Object.assign(zo.prototype,Tn.prototype,{constructor:zo,signed:!0,TypedArray:Int32Array,BigIntArray:BigInt64Array});Object.assign(Vo.prototype,Tn.prototype,{constructor:Vo,signed:!1,TypedArray:Uint32Array,BigIntArray:BigUint64Array});Object.assign(pl.prototype,Tn.prototype,{constructor:pl,signed:!0,TypedArray:Uint32Array,BigIntArray:BigUint64Array});const Kk=BigInt(4294967296)*BigInt(4294967296),Jk=Kk-BigInt(1);function Jm(r,t){const{buffer:e,byteOffset:n,byteLength:i,signed:s}=r,o=new BigUint64Array(e,n,i/8),a=s&&o.at(-1)&BigInt(1)<=0)return tf(r);t=t.slice();let n=1;for(let s=0;s(r.children=null,r.ArrayType=Array,r.OffsetArrayType=Int32Array,r[Symbol.toStringTag]="DataType"))(Pt.prototype);class A0 extends Pt{constructor(){super(H.Null)}toString(){return"Null"}}wT=Symbol.toStringTag;A0[wT]=(r=>r[Symbol.toStringTag]="Null")(A0.prototype);class C0 extends Pt{constructor(t,e){super(H.Int),this.isSigned=t,this.bitWidth=e}get ArrayType(){switch(this.bitWidth){case 8:return this.isSigned?Int8Array:Uint8Array;case 16:return this.isSigned?Int16Array:Uint16Array;case 32:return this.isSigned?Int32Array:Uint32Array;case 64:return this.isSigned?BigInt64Array:BigUint64Array}throw new Error(`Unrecognized ${this[Symbol.toStringTag]} type`)}toString(){return`${this.isSigned?"I":"Ui"}nt${this.bitWidth}`}}ST=Symbol.toStringTag;C0[ST]=(r=>(r.isSigned=null,r.bitWidth=null,r[Symbol.toStringTag]="Int"))(C0.prototype);class O0 extends Pt{constructor(t){super(H.Float),this.precision=t}get ArrayType(){switch(this.precision){case jr.HALF:return Uint16Array;case jr.SINGLE:return Float32Array;case jr.DOUBLE:return Float64Array}throw new Error(`Unrecognized ${this[Symbol.toStringTag]} type`)}toString(){return`Float${this.precision<<5||16}`}}TT=Symbol.toStringTag;O0[TT]=(r=>(r.precision=null,r[Symbol.toStringTag]="Float"))(O0.prototype);class P0 extends Pt{constructor(){super(H.Binary)}toString(){return"Binary"}}IT=Symbol.toStringTag;P0[IT]=(r=>(r.ArrayType=Uint8Array,r[Symbol.toStringTag]="Binary"))(P0.prototype);class R0 extends Pt{constructor(){super(H.LargeBinary)}toString(){return"LargeBinary"}}MT=Symbol.toStringTag;R0[MT]=(r=>(r.ArrayType=Uint8Array,r.OffsetArrayType=BigInt64Array,r[Symbol.toStringTag]="LargeBinary"))(R0.prototype);class F0 extends Pt{constructor(){super(H.Utf8)}toString(){return"Utf8"}}ET=Symbol.toStringTag;F0[ET]=(r=>(r.ArrayType=Uint8Array,r[Symbol.toStringTag]="Utf8"))(F0.prototype);class D0 extends Pt{constructor(){super(H.LargeUtf8)}toString(){return"LargeUtf8"}}AT=Symbol.toStringTag;D0[AT]=(r=>(r.ArrayType=Uint8Array,r.OffsetArrayType=BigInt64Array,r[Symbol.toStringTag]="LargeUtf8"))(D0.prototype);class L0 extends Pt{constructor(){super(H.Bool)}toString(){return"Bool"}}CT=Symbol.toStringTag;L0[CT]=(r=>(r.ArrayType=Uint8Array,r[Symbol.toStringTag]="Bool"))(L0.prototype);class N0 extends Pt{constructor(t,e,n=128){super(H.Decimal),this.scale=t,this.precision=e,this.bitWidth=n}toString(){return`Decimal[${this.precision}e${this.scale>0?"+":""}${this.scale}]`}}OT=Symbol.toStringTag;N0[OT]=(r=>(r.scale=null,r.precision=null,r.ArrayType=Uint32Array,r[Symbol.toStringTag]="Decimal"))(N0.prototype);class B0 extends Pt{constructor(t){super(H.Date),this.unit=t}toString(){return`Date${(this.unit+1)*32}<${Zi[this.unit]}>`}get ArrayType(){return this.unit===Zi.DAY?Int32Array:BigInt64Array}}PT=Symbol.toStringTag;B0[PT]=(r=>(r.unit=null,r[Symbol.toStringTag]="Date"))(B0.prototype);class k0 extends Pt{constructor(t,e){super(H.Time),this.unit=t,this.bitWidth=e}toString(){return`Time${this.bitWidth}<${ne[this.unit]}>`}get ArrayType(){switch(this.bitWidth){case 32:return Int32Array;case 64:return BigInt64Array}throw new Error(`Unrecognized ${this[Symbol.toStringTag]} type`)}}RT=Symbol.toStringTag;k0[RT]=(r=>(r.unit=null,r.bitWidth=null,r[Symbol.toStringTag]="Time"))(k0.prototype);class U0 extends Pt{constructor(t,e){super(H.Timestamp),this.unit=t,this.timezone=e}toString(){return`Timestamp<${ne[this.unit]}${this.timezone?`, ${this.timezone}`:""}>`}}FT=Symbol.toStringTag;U0[FT]=(r=>(r.unit=null,r.timezone=null,r.ArrayType=BigInt64Array,r[Symbol.toStringTag]="Timestamp"))(U0.prototype);class z0 extends Pt{constructor(t){super(H.Interval),this.unit=t}toString(){return`Interval<${js[this.unit]}>`}}DT=Symbol.toStringTag;z0[DT]=(r=>(r.unit=null,r.ArrayType=Int32Array,r[Symbol.toStringTag]="Interval"))(z0.prototype);class V0 extends Pt{constructor(t){super(H.Duration),this.unit=t}toString(){return`Duration<${ne[this.unit]}>`}}LT=Symbol.toStringTag;V0[LT]=(r=>(r.unit=null,r.ArrayType=BigInt64Array,r[Symbol.toStringTag]="Duration"))(V0.prototype);class j0 extends Pt{constructor(t){super(H.List),this.children=[t]}toString(){return`List<${this.valueType}>`}get valueType(){return this.children[0].type}get valueField(){return this.children[0]}get ArrayType(){return this.valueType.ArrayType}}NT=Symbol.toStringTag;j0[NT]=(r=>(r.children=null,r[Symbol.toStringTag]="List"))(j0.prototype);class Fp extends Pt{constructor(t){super(H.Struct),this.children=t}toString(){return`Struct<{${this.children.map(t=>`${t.name}:${t.type}`).join(", ")}}>`}}BT=Symbol.toStringTag;Fp[BT]=(r=>(r.children=null,r[Symbol.toStringTag]="Struct"))(Fp.prototype);class $0 extends Pt{constructor(t,e,n){super(H.Union),this.mode=t,this.children=n,this.typeIds=e=Int32Array.from(e),this.typeIdToChildIndex=e.reduce((i,s,o)=>(i[s]=o)&&i||i,Object.create(null))}toString(){return`${this[Symbol.toStringTag]}<${this.children.map(t=>`${t.type}`).join(" | ")}>`}}kT=Symbol.toStringTag;$0[kT]=(r=>(r.mode=null,r.typeIds=null,r.children=null,r.typeIdToChildIndex=null,r.ArrayType=Int8Array,r[Symbol.toStringTag]="Union"))($0.prototype);class G0 extends Pt{constructor(t){super(H.FixedSizeBinary),this.byteWidth=t}toString(){return`FixedSizeBinary[${this.byteWidth}]`}}UT=Symbol.toStringTag;G0[UT]=(r=>(r.byteWidth=null,r.ArrayType=Uint8Array,r[Symbol.toStringTag]="FixedSizeBinary"))(G0.prototype);class W0 extends Pt{constructor(t,e){super(H.FixedSizeList),this.listSize=t,this.children=[e]}get valueType(){return this.children[0].type}get valueField(){return this.children[0]}get ArrayType(){return this.valueType.ArrayType}toString(){return`FixedSizeList[${this.listSize}]<${this.valueType}>`}}zT=Symbol.toStringTag;W0[zT]=(r=>(r.children=null,r.listSize=null,r[Symbol.toStringTag]="FixedSizeList"))(W0.prototype);class H0 extends Pt{constructor(t,e=!1){var n,i,s;if(super(H.Map),this.children=[t],this.keysSorted=e,t&&(t.name="entries",!((n=t==null?void 0:t.type)===null||n===void 0)&&n.children)){const o=(i=t==null?void 0:t.type)===null||i===void 0?void 0:i.children[0];o&&(o.name="key");const a=(s=t==null?void 0:t.type)===null||s===void 0?void 0:s.children[1];a&&(a.name="value")}}get keyType(){return this.children[0].type.children[0].type}get valueType(){return this.children[0].type.children[1].type}get childType(){return this.children[0].type}toString(){return`Map<{${this.children[0].type.children.map(t=>`${t.name}:${t.type}`).join(", ")}}>`}}VT=Symbol.toStringTag;H0[VT]=(r=>(r.children=null,r.keysSorted=null,r[Symbol.toStringTag]="Map_"))(H0.prototype);const eU=(r=>()=>++r)(-1);class X0 extends Pt{constructor(t,e,n,i){super(H.Dictionary),this.indices=e,this.dictionary=t,this.isOrdered=i||!1,this.id=n==null?eU():wr(n)}get children(){return this.dictionary.children}get valueType(){return this.dictionary}get ArrayType(){return this.dictionary.ArrayType}toString(){return`Dictionary<${this.indices}, ${this.dictionary}>`}}jT=Symbol.toStringTag;X0[jT]=(r=>(r.id=null,r.indices=null,r.isOrdered=null,r.dictionary=null,r[Symbol.toStringTag]="Dictionary"))(X0.prototype);function $T(r){const t=r;switch(r.typeId){case H.Decimal:return r.bitWidth/32;case H.Interval:return 1+t.unit;case H.FixedSizeList:return t.listSize;case H.FixedSizeBinary:return t.byteWidth;default:return 1}}class pe{visitMany(t,...e){return t.map((n,i)=>this.visit(n,...e.map(s=>s[i])))}visit(...t){return this.getVisitFn(t[0],!1).apply(this,t)}getVisitFn(t,e=!0){return rU(this,t,e)}getVisitFnByTypeId(t,e=!0){return Io(this,t,e)}visitNull(t,...e){return null}visitBool(t,...e){return null}visitInt(t,...e){return null}visitFloat(t,...e){return null}visitUtf8(t,...e){return null}visitLargeUtf8(t,...e){return null}visitBinary(t,...e){return null}visitLargeBinary(t,...e){return null}visitFixedSizeBinary(t,...e){return null}visitDate(t,...e){return null}visitTimestamp(t,...e){return null}visitTime(t,...e){return null}visitDecimal(t,...e){return null}visitList(t,...e){return null}visitStruct(t,...e){return null}visitUnion(t,...e){return null}visitDictionary(t,...e){return null}visitInterval(t,...e){return null}visitDuration(t,...e){return null}visitFixedSizeList(t,...e){return null}visitMap(t,...e){return null}}function rU(r,t,e=!0){return typeof t=="number"?Io(r,t,e):typeof t=="string"&&t in H?Io(r,H[t],e):t&&t instanceof Pt?Io(r,Y0(t),e):t!=null&&t.type&&t.type instanceof Pt?Io(r,Y0(t.type),e):Io(r,H.NONE,e)}function Io(r,t,e=!0){let n=null;switch(t){case H.Null:n=r.visitNull;break;case H.Bool:n=r.visitBool;break;case H.Int:n=r.visitInt;break;case H.Int8:n=r.visitInt8||r.visitInt;break;case H.Int16:n=r.visitInt16||r.visitInt;break;case H.Int32:n=r.visitInt32||r.visitInt;break;case H.Int64:n=r.visitInt64||r.visitInt;break;case H.Uint8:n=r.visitUint8||r.visitInt;break;case H.Uint16:n=r.visitUint16||r.visitInt;break;case H.Uint32:n=r.visitUint32||r.visitInt;break;case H.Uint64:n=r.visitUint64||r.visitInt;break;case H.Float:n=r.visitFloat;break;case H.Float16:n=r.visitFloat16||r.visitFloat;break;case H.Float32:n=r.visitFloat32||r.visitFloat;break;case H.Float64:n=r.visitFloat64||r.visitFloat;break;case H.Utf8:n=r.visitUtf8;break;case H.LargeUtf8:n=r.visitLargeUtf8;break;case H.Binary:n=r.visitBinary;break;case H.LargeBinary:n=r.visitLargeBinary;break;case H.FixedSizeBinary:n=r.visitFixedSizeBinary;break;case H.Date:n=r.visitDate;break;case H.DateDay:n=r.visitDateDay||r.visitDate;break;case H.DateMillisecond:n=r.visitDateMillisecond||r.visitDate;break;case H.Timestamp:n=r.visitTimestamp;break;case H.TimestampSecond:n=r.visitTimestampSecond||r.visitTimestamp;break;case H.TimestampMillisecond:n=r.visitTimestampMillisecond||r.visitTimestamp;break;case H.TimestampMicrosecond:n=r.visitTimestampMicrosecond||r.visitTimestamp;break;case H.TimestampNanosecond:n=r.visitTimestampNanosecond||r.visitTimestamp;break;case H.Time:n=r.visitTime;break;case H.TimeSecond:n=r.visitTimeSecond||r.visitTime;break;case H.TimeMillisecond:n=r.visitTimeMillisecond||r.visitTime;break;case H.TimeMicrosecond:n=r.visitTimeMicrosecond||r.visitTime;break;case H.TimeNanosecond:n=r.visitTimeNanosecond||r.visitTime;break;case H.Decimal:n=r.visitDecimal;break;case H.List:n=r.visitList;break;case H.Struct:n=r.visitStruct;break;case H.Union:n=r.visitUnion;break;case H.DenseUnion:n=r.visitDenseUnion||r.visitUnion;break;case H.SparseUnion:n=r.visitSparseUnion||r.visitUnion;break;case H.Dictionary:n=r.visitDictionary;break;case H.Interval:n=r.visitInterval;break;case H.IntervalDayTime:n=r.visitIntervalDayTime||r.visitInterval;break;case H.IntervalYearMonth:n=r.visitIntervalYearMonth||r.visitInterval;break;case H.Duration:n=r.visitDuration;break;case H.DurationSecond:n=r.visitDurationSecond||r.visitDuration;break;case H.DurationMillisecond:n=r.visitDurationMillisecond||r.visitDuration;break;case H.DurationMicrosecond:n=r.visitDurationMicrosecond||r.visitDuration;break;case H.DurationNanosecond:n=r.visitDurationNanosecond||r.visitDuration;break;case H.FixedSizeList:n=r.visitFixedSizeList;break;case H.Map:n=r.visitMap;break}if(typeof n=="function")return n;if(!e)return()=>null;throw new Error(`Unrecognized type '${H[t]}'`)}function Y0(r){switch(r.typeId){case H.Null:return H.Null;case H.Int:{const{bitWidth:t,isSigned:e}=r;switch(t){case 8:return e?H.Int8:H.Uint8;case 16:return e?H.Int16:H.Uint16;case 32:return e?H.Int32:H.Uint32;case 64:return e?H.Int64:H.Uint64}return H.Int}case H.Float:switch(r.precision){case jr.HALF:return H.Float16;case jr.SINGLE:return H.Float32;case jr.DOUBLE:return H.Float64}return H.Float;case H.Binary:return H.Binary;case H.LargeBinary:return H.LargeBinary;case H.Utf8:return H.Utf8;case H.LargeUtf8:return H.LargeUtf8;case H.Bool:return H.Bool;case H.Decimal:return H.Decimal;case H.Time:switch(r.unit){case ne.SECOND:return H.TimeSecond;case ne.MILLISECOND:return H.TimeMillisecond;case ne.MICROSECOND:return H.TimeMicrosecond;case ne.NANOSECOND:return H.TimeNanosecond}return H.Time;case H.Timestamp:switch(r.unit){case ne.SECOND:return H.TimestampSecond;case ne.MILLISECOND:return H.TimestampMillisecond;case ne.MICROSECOND:return H.TimestampMicrosecond;case ne.NANOSECOND:return H.TimestampNanosecond}return H.Timestamp;case H.Date:switch(r.unit){case Zi.DAY:return H.DateDay;case Zi.MILLISECOND:return H.DateMillisecond}return H.Date;case H.Interval:switch(r.unit){case js.DAY_TIME:return H.IntervalDayTime;case js.YEAR_MONTH:return H.IntervalYearMonth}return H.Interval;case H.Duration:switch(r.unit){case ne.SECOND:return H.DurationSecond;case ne.MILLISECOND:return H.DurationMillisecond;case ne.MICROSECOND:return H.DurationMicrosecond;case ne.NANOSECOND:return H.DurationNanosecond}return H.Duration;case H.Map:return H.Map;case H.List:return H.List;case H.Struct:return H.Struct;case H.Union:switch(r.mode){case Zn.Dense:return H.DenseUnion;case Zn.Sparse:return H.SparseUnion}return H.Union;case H.FixedSizeBinary:return H.FixedSizeBinary;case H.FixedSizeList:return H.FixedSizeList;case H.Dictionary:return H.Dictionary}throw new Error(`Unrecognized type '${H[r.typeId]}'`)}pe.prototype.visitInt8=null;pe.prototype.visitInt16=null;pe.prototype.visitInt32=null;pe.prototype.visitInt64=null;pe.prototype.visitUint8=null;pe.prototype.visitUint16=null;pe.prototype.visitUint32=null;pe.prototype.visitUint64=null;pe.prototype.visitFloat16=null;pe.prototype.visitFloat32=null;pe.prototype.visitFloat64=null;pe.prototype.visitDateDay=null;pe.prototype.visitDateMillisecond=null;pe.prototype.visitTimestampSecond=null;pe.prototype.visitTimestampMillisecond=null;pe.prototype.visitTimestampMicrosecond=null;pe.prototype.visitTimestampNanosecond=null;pe.prototype.visitTimeSecond=null;pe.prototype.visitTimeMillisecond=null;pe.prototype.visitTimeMicrosecond=null;pe.prototype.visitTimeNanosecond=null;pe.prototype.visitDenseUnion=null;pe.prototype.visitSparseUnion=null;pe.prototype.visitIntervalDayTime=null;pe.prototype.visitIntervalYearMonth=null;pe.prototype.visitDuration=null;pe.prototype.visitDurationSecond=null;pe.prototype.visitDurationMillisecond=null;pe.prototype.visitDurationMicrosecond=null;pe.prototype.visitDurationNanosecond=null;const GT=new Float64Array(1),uo=new Uint32Array(GT.buffer);function tg(r){const t=(r&31744)>>10,e=(r&1023)/1024,n=Math.pow(-1,(r&32768)>>15);switch(t){case 31:return n*(e?Number.NaN:1/0);case 0:return n*(e?6103515625e-14*e:0)}return n*Math.pow(2,t-15)*(1+e)}function WT(r){if(r!==r)return 32256;GT[0]=r;const t=(uo[1]&2147483648)>>16&65535;let e=uo[1]&2146435072,n=0;return e>=1089470464?uo[0]>0?e=31744:(e=(e&2080374784)>>16,n=(uo[1]&1048575)>>10):e<=1056964608?(n=1048576+(uo[1]&1048575),n=1048576+(n<<(e>>20)-998)>>21,e=0):(e=e-1056964608>>10,n=(uo[1]&1048575)+512>>10),t|e|n&65535}const nU=Object.freeze(Object.defineProperty({__proto__:null,float64ToUint16:WT,uint16ToFloat64:tg},Symbol.toStringTag,{value:"Module"}));class Xt extends pe{}function Kt(r){return(t,e,n)=>{if(t.setValid(e,n!=null))return r(t,e,n)}}const iU=(r,t,e)=>{r[t]=Math.floor(e/864e5)},HT=(r,t,e,n)=>{if(e+1{const i=r+e;n?t[i>>3]|=1<>3]&=~(1<{r[t]=e},eg=({values:r},t,e)=>{r[t]=e},XT=({values:r},t,e)=>{r[t]=WT(e)},oU=(r,t,e)=>{switch(r.type.precision){case jr.HALF:return XT(r,t,e);case jr.SINGLE:case jr.DOUBLE:return eg(r,t,e)}},YT=({values:r},t,e)=>{iU(r,t,e.valueOf())},qT=({values:r},t,e)=>{r[t]=BigInt(e)},aU=({stride:r,values:t},e,n)=>{t.set(n.subarray(0,r),r*e)},QT=({values:r,valueOffsets:t},e,n)=>HT(r,t,e,n),ZT=({values:r,valueOffsets:t},e,n)=>HT(r,t,e,mT(n)),lU=(r,t,e)=>{r.type.unit===Zi.DAY?YT(r,t,e):qT(r,t,e)},KT=({values:r},t,e)=>{r[t]=BigInt(e/1e3)},JT=({values:r},t,e)=>{r[t]=BigInt(e)},tI=({values:r},t,e)=>{r[t]=BigInt(e*1e3)},eI=({values:r},t,e)=>{r[t]=BigInt(e*1e6)},uU=(r,t,e)=>{switch(r.type.unit){case ne.SECOND:return KT(r,t,e);case ne.MILLISECOND:return JT(r,t,e);case ne.MICROSECOND:return tI(r,t,e);case ne.NANOSECOND:return eI(r,t,e)}},rI=({values:r},t,e)=>{r[t]=e},nI=({values:r},t,e)=>{r[t]=e},iI=({values:r},t,e)=>{r[t]=e},sI=({values:r},t,e)=>{r[t]=e},cU=(r,t,e)=>{switch(r.type.unit){case ne.SECOND:return rI(r,t,e);case ne.MILLISECOND:return nI(r,t,e);case ne.MICROSECOND:return iI(r,t,e);case ne.NANOSECOND:return sI(r,t,e)}},hU=({values:r,stride:t},e,n)=>{r.set(n.subarray(0,t),t*e)},dU=(r,t,e)=>{const n=r.children[0],i=r.valueOffsets,s=Kn.getVisitFn(n);if(Array.isArray(e))for(let o=-1,a=i[t],l=i[t+1];a{const n=r.children[0],{valueOffsets:i}=r,s=Kn.getVisitFn(n);let{[t]:o,[t+1]:a}=i;const l=e instanceof Map?e.entries():Object.entries(e);for(const u of l)if(s(n,o,u),++o>=a)break},pU=(r,t)=>(e,n,i,s)=>n&&e(n,r,t[s]),mU=(r,t)=>(e,n,i,s)=>n&&e(n,r,t.get(s)),gU=(r,t)=>(e,n,i,s)=>n&&e(n,r,t.get(i.name)),yU=(r,t)=>(e,n,i,s)=>n&&e(n,r,t[i.name]),vU=(r,t,e)=>{const n=r.type.children.map(s=>Kn.getVisitFn(s.type)),i=e instanceof Map?gU(t,e):e instanceof lr?mU(t,e):Array.isArray(e)?pU(t,e):yU(t,e);r.type.children.forEach((s,o)=>i(n[o],r.children[o],s,o))},_U=(r,t,e)=>{r.type.mode===Zn.Dense?oI(r,t,e):aI(r,t,e)},oI=(r,t,e)=>{const n=r.type.typeIdToChildIndex[r.typeIds[t]],i=r.children[n];Kn.visit(i,r.valueOffsets[t],e)},aI=(r,t,e)=>{const n=r.type.typeIdToChildIndex[r.typeIds[t]],i=r.children[n];Kn.visit(i,t,e)},bU=(r,t,e)=>{var n;(n=r.dictionary)===null||n===void 0||n.set(r.values[t],e)},xU=(r,t,e)=>{r.type.unit===js.DAY_TIME?lI(r,t,e):uI(r,t,e)},lI=({values:r},t,e)=>{r.set(e.subarray(0,2),2*t)},uI=({values:r},t,e)=>{r[t]=e[0]*12+e[1]%12},cI=({values:r},t,e)=>{r[t]=e},hI=({values:r},t,e)=>{r[t]=e},dI=({values:r},t,e)=>{r[t]=e},fI=({values:r},t,e)=>{r[t]=e},wU=(r,t,e)=>{switch(r.type.unit){case ne.SECOND:return cI(r,t,e);case ne.MILLISECOND:return hI(r,t,e);case ne.MICROSECOND:return dI(r,t,e);case ne.NANOSECOND:return fI(r,t,e)}},SU=(r,t,e)=>{const{stride:n}=r,i=r.children[0],s=Kn.getVisitFn(i);if(Array.isArray(e))for(let o=-1,a=t*n;++o`${Ko(t)}: ${Ko(e)}`).join(", ")}}`}[Symbol.for("nodejs.util.inspect.custom")](){return this.toString()}[Symbol.iterator](){return new TU(this[vn],this[jo])}}class TU{constructor(t,e){this.childIndex=0,this.children=t.children,this.rowIndex=e,this.childFields=t.type.children,this.numChildren=this.childFields.length}[Symbol.iterator](){return this}next(){const t=this.childIndex;return te.name)}has(t,e){return t[vn].type.children.some(n=>n.name===e)}getOwnPropertyDescriptor(t,e){if(t[vn].type.children.some(n=>n.name===e))return{writable:!0,enumerable:!0,configurable:!0}}get(t,e){if(Reflect.has(t,e))return t[e];const n=t[vn].type.children.findIndex(i=>i.name===e);if(n!==-1){const i=pn.visit(t[vn].children[n],t[jo]);return Reflect.set(t,e,i),i}}set(t,e,n){const i=t[vn].type.children.findIndex(s=>s.name===e);return i!==-1?(Kn.visit(t[vn].children[i],t[jo],n),Reflect.set(t,e,n)):Reflect.has(t,e)||typeof e=="symbol"?Reflect.set(t,e,n):!1}}const MU=new IU;class Ut extends pe{}function Yt(r){return(t,e)=>t.getValid(e)?r(t,e):null}const EU=(r,t)=>864e5*r[t],AU=(r,t)=>null,pI=(r,t,e)=>{if(e+1>=t.length)return null;const n=wr(t[e]),i=wr(t[e+1]);return r.subarray(n,i)},CU=({offset:r,values:t},e)=>{const n=r+e;return(t[n>>3]&1<EU(r,t),gI=({values:r},t)=>wr(r[t]),es=({stride:r,values:t},e)=>t[r*e],OU=({stride:r,values:t},e)=>tg(t[r*e]),yI=({values:r},t)=>r[t],PU=({stride:r,values:t},e)=>t.subarray(r*e,r*(e+1)),vI=({values:r,valueOffsets:t},e)=>pI(r,t,e),_I=({values:r,valueOffsets:t},e)=>{const n=pI(r,t,e);return n!==null?hk(n):null},RU=({values:r},t)=>r[t],FU=({type:r,values:t},e)=>r.precision!==jr.HALF?t[e]:tg(t[e]),DU=(r,t)=>r.type.unit===Zi.DAY?mI(r,t):gI(r,t),bI=({values:r},t)=>1e3*wr(r[t]),xI=({values:r},t)=>wr(r[t]),wI=({values:r},t)=>vT(r[t],BigInt(1e3)),SI=({values:r},t)=>vT(r[t],BigInt(1e6)),LU=(r,t)=>{switch(r.type.unit){case ne.SECOND:return bI(r,t);case ne.MILLISECOND:return xI(r,t);case ne.MICROSECOND:return wI(r,t);case ne.NANOSECOND:return SI(r,t)}},TI=({values:r},t)=>r[t],II=({values:r},t)=>r[t],MI=({values:r},t)=>r[t],EI=({values:r},t)=>r[t],NU=(r,t)=>{switch(r.type.unit){case ne.SECOND:return TI(r,t);case ne.MILLISECOND:return II(r,t);case ne.MICROSECOND:return MI(r,t);case ne.NANOSECOND:return EI(r,t)}},BU=({values:r,stride:t},e)=>ih.decimal(r.subarray(t*e,t*(e+1))),kU=(r,t)=>{const{valueOffsets:e,stride:n,children:i}=r,{[t*n]:s,[t*n+1]:o}=e,l=i[0].slice(s,o-s);return new lr([l])},UU=(r,t)=>{const{valueOffsets:e,children:n}=r,{[t]:i,[t+1]:s}=e,o=n[0];return new ng(o.slice(i,s-i))},zU=(r,t)=>new rg(r,t),VU=(r,t)=>r.type.mode===Zn.Dense?AI(r,t):CI(r,t),AI=(r,t)=>{const e=r.type.typeIdToChildIndex[r.typeIds[t]],n=r.children[e];return pn.visit(n,r.valueOffsets[t])},CI=(r,t)=>{const e=r.type.typeIdToChildIndex[r.typeIds[t]],n=r.children[e];return pn.visit(n,t)},jU=(r,t)=>{var e;return(e=r.dictionary)===null||e===void 0?void 0:e.get(r.values[t])},$U=(r,t)=>r.type.unit===js.DAY_TIME?OI(r,t):PI(r,t),OI=({values:r},t)=>r.subarray(2*t,2*(t+1)),PI=({values:r},t)=>{const e=r[t],n=new Int32Array(2);return n[0]=Math.trunc(e/12),n[1]=Math.trunc(e%12),n},RI=({values:r},t)=>r[t],FI=({values:r},t)=>r[t],DI=({values:r},t)=>r[t],LI=({values:r},t)=>r[t],GU=(r,t)=>{switch(r.type.unit){case ne.SECOND:return RI(r,t);case ne.MILLISECOND:return FI(r,t);case ne.MICROSECOND:return DI(r,t);case ne.NANOSECOND:return LI(r,t)}},WU=(r,t)=>{const{stride:e,children:n}=r,s=n[0].slice(t*e,e);return new lr([s])};Ut.prototype.visitNull=Yt(AU);Ut.prototype.visitBool=Yt(CU);Ut.prototype.visitInt=Yt(RU);Ut.prototype.visitInt8=Yt(es);Ut.prototype.visitInt16=Yt(es);Ut.prototype.visitInt32=Yt(es);Ut.prototype.visitInt64=Yt(yI);Ut.prototype.visitUint8=Yt(es);Ut.prototype.visitUint16=Yt(es);Ut.prototype.visitUint32=Yt(es);Ut.prototype.visitUint64=Yt(yI);Ut.prototype.visitFloat=Yt(FU);Ut.prototype.visitFloat16=Yt(OU);Ut.prototype.visitFloat32=Yt(es);Ut.prototype.visitFloat64=Yt(es);Ut.prototype.visitUtf8=Yt(_I);Ut.prototype.visitLargeUtf8=Yt(_I);Ut.prototype.visitBinary=Yt(vI);Ut.prototype.visitLargeBinary=Yt(vI);Ut.prototype.visitFixedSizeBinary=Yt(PU);Ut.prototype.visitDate=Yt(DU);Ut.prototype.visitDateDay=Yt(mI);Ut.prototype.visitDateMillisecond=Yt(gI);Ut.prototype.visitTimestamp=Yt(LU);Ut.prototype.visitTimestampSecond=Yt(bI);Ut.prototype.visitTimestampMillisecond=Yt(xI);Ut.prototype.visitTimestampMicrosecond=Yt(wI);Ut.prototype.visitTimestampNanosecond=Yt(SI);Ut.prototype.visitTime=Yt(NU);Ut.prototype.visitTimeSecond=Yt(TI);Ut.prototype.visitTimeMillisecond=Yt(II);Ut.prototype.visitTimeMicrosecond=Yt(MI);Ut.prototype.visitTimeNanosecond=Yt(EI);Ut.prototype.visitDecimal=Yt(BU);Ut.prototype.visitList=Yt(kU);Ut.prototype.visitStruct=Yt(zU);Ut.prototype.visitUnion=Yt(VU);Ut.prototype.visitDenseUnion=Yt(AI);Ut.prototype.visitSparseUnion=Yt(CI);Ut.prototype.visitDictionary=Yt(jU);Ut.prototype.visitInterval=Yt($U);Ut.prototype.visitIntervalDayTime=Yt(OI);Ut.prototype.visitIntervalYearMonth=Yt(PI);Ut.prototype.visitDuration=Yt(GU);Ut.prototype.visitDurationSecond=Yt(RI);Ut.prototype.visitDurationMillisecond=Yt(FI);Ut.prototype.visitDurationMicrosecond=Yt(DI);Ut.prototype.visitDurationNanosecond=Yt(LI);Ut.prototype.visitFixedSizeList=Yt(WU);Ut.prototype.visitMap=Yt(UU);const pn=new Ut,Mo=Symbol.for("keys"),$o=Symbol.for("vals"),Eo=Symbol.for("kKeysAsStrings"),Dp=Symbol.for("_kKeysAsStrings");class ng{constructor(t){return this[Mo]=new lr([t.children[0]]).memoize(),this[$o]=t.children[1],new Proxy(this,new XU)}get[Eo](){return this[Dp]||(this[Dp]=Array.from(this[Mo].toArray(),String))}[Symbol.iterator](){return new HU(this[Mo],this[$o])}get size(){return this[Mo].length}toArray(){return Object.values(this.toJSON())}toJSON(){const t=this[Mo],e=this[$o],n={};for(let i=-1,s=t.length;++i`${Ko(t)}: ${Ko(e)}`).join(", ")}}`}[Symbol.for("nodejs.util.inspect.custom")](){return this.toString()}}class HU{constructor(t,e){this.keys=t,this.vals=e,this.keyIndex=0,this.numKeys=t.length}[Symbol.iterator](){return this}next(){const t=this.keyIndex;return t===this.numKeys?{done:!0,value:null}:(this.keyIndex++,{done:!1,value:[this.keys.get(t),pn.visit(this.vals,t)]})}}class XU{isExtensible(){return!1}deleteProperty(){return!1}preventExtensions(){return!0}ownKeys(t){return t[Eo]}has(t,e){return t[Eo].includes(e)}getOwnPropertyDescriptor(t,e){if(t[Eo].indexOf(e)!==-1)return{writable:!0,enumerable:!0,configurable:!0}}get(t,e){if(Reflect.has(t,e))return t[e];const n=t[Eo].indexOf(e);if(n!==-1){const i=pn.visit(Reflect.get(t,$o),n);return Reflect.set(t,e,i),i}}set(t,e,n){const i=t[Eo].indexOf(e);return i!==-1?(Kn.visit(Reflect.get(t,$o),i,n),Reflect.set(t,e,n)):Reflect.has(t,e)?Reflect.set(t,e,n):!1}}Object.defineProperties(ng.prototype,{[Symbol.toStringTag]:{enumerable:!1,configurable:!1,value:"Row"},[Mo]:{writable:!0,enumerable:!1,configurable:!1,value:null},[$o]:{writable:!0,enumerable:!1,configurable:!1,value:null},[Dp]:{writable:!0,enumerable:!1,configurable:!1,value:null}});let q0;function NI(r,t,e,n){const{length:i=0}=r;let s=typeof t!="number"?0:t,o=typeof e!="number"?i:e;return s<0&&(s=(s%i+i)%i),o<0&&(o=(o%i+i)%i),oi&&(o=i),n?n(r,s,o):[s,o]}const BI=(r,t)=>r<0?t+r:r,Q0=r=>r!==r;function Zs(r){if(typeof r!=="object"||r===null)return Q0(r)?Q0:e=>e===r;if(r instanceof Date){const e=r.valueOf();return n=>n instanceof Date?n.valueOf()===e:!1}return ArrayBuffer.isView(r)?e=>e?yT(r,e):!1:r instanceof Map?qU(r):Array.isArray(r)?YU(r):r instanceof lr?QU(r):ZU(r,!0)}function YU(r){const t=[];for(let e=-1,n=r.length;++e!1;const n=[];for(let i=-1,s=e.length;++i{if(!e||typeof e!="object")return!1;switch(e.constructor){case Array:return KU(r,e);case Map:return Z0(r,e,e.keys());case ng:case rg:case Object:case void 0:return Z0(r,e,t||Object.keys(e))}return e instanceof lr?JU(r,e):!1}}function KU(r,t){const e=r.length;if(t.length!==e)return!1;for(let n=-1;++n>n}function e4(r,t,e){return e?!!(r[t>>3]|=1<>3]&=~(1<0||e.byteLength>3):UI(new oh(e,r,t,null,ig)).subarray(0,n)),i}return e}function UI(r){const t=[];let e=0,n=0,i=0;for(const o of r)o&&(i|=1<0)&&(t[e++]=i);const s=new Uint8Array(t.length+7&-8);return s.set(t),s}class oh{constructor(t,e,n,i,s){this.bytes=t,this.length=n,this.context=i,this.get=s,this.bit=e%8,this.byteIndex=e>>3,this.byte=t[this.byteIndex++],this.index=0}next(){return this.index>3<<3,i=t+(t%8===0?0:8-t%8);return Tc(r,t,i)+Tc(r,n,e)+zI(r,i>>3,n-i>>3)}function zI(r,t,e){let n=0,i=Math.trunc(t);const s=new DataView(r.buffer,r.byteOffset,r.byteLength),o=e===void 0?r.byteLength:i+e;for(;o-i>=4;)n+=Eu(s.getUint32(i)),i+=4;for(;o-i>=2;)n+=Eu(s.getUint16(i)),i+=2;for(;o-i>=1;)n+=Eu(s.getUint8(i)),i+=1;return n}function Eu(r){let t=Math.trunc(r);return t=t-(t>>>1&1431655765),t=(t&858993459)+(t>>>2&858993459),(t+(t>>>4)&252645135)*16843009>>>24}const r4=Object.freeze(Object.defineProperty({__proto__:null,BitIterator:oh,getBit:kI,getBool:ig,packBools:UI,popcnt_array:zI,popcnt_bit_range:Tc,popcnt_uint32:Eu,setBool:e4,truncateBitmap:Lp},Symbol.toStringTag,{value:"Module"})),n4=-1;class ml{get typeId(){return this.type.typeId}get ArrayType(){return this.type.ArrayType}get buffers(){return[this.valueOffsets,this.values,this.nullBitmap,this.typeIds]}get nullable(){if(this._nullCount!==0){const{type:t}=this;return Pt.isSparseUnion(t)?this.children.some(e=>e.nullable):Pt.isDenseUnion(t)?this.children.some(e=>e.nullable):this.nullBitmap&&this.nullBitmap.byteLength>0}return!0}get byteLength(){let t=0;const{valueOffsets:e,values:n,nullBitmap:i,typeIds:s}=this;return e&&(t+=e.byteLength),n&&(t+=n.byteLength),i&&(t+=i.byteLength),s&&(t+=s.byteLength),this.children.reduce((o,a)=>o+a.byteLength,t)}get nullCount(){if(Pt.isUnion(this.type))return this.children.reduce((n,i)=>n+i.nullCount,0);let t=this._nullCount,e;return t<=n4&&(e=this.nullBitmap)&&(this._nullCount=t=e.length===0?0:this.length-Tc(e,this.offset,this.offset+this.length)),t}constructor(t,e,n,i,s,o=[],a){this.type=t,this.children=o,this.dictionary=a,this.offset=Math.floor(Math.max(e||0,0)),this.length=Math.floor(Math.max(n||0,0)),this._nullCount=Math.floor(Math.max(i||0,-1));let l;s instanceof ml?(this.stride=s.stride,this.values=s.values,this.typeIds=s.typeIds,this.nullBitmap=s.nullBitmap,this.valueOffsets=s.valueOffsets):(this.stride=$T(t),s&&((l=s[0])&&(this.valueOffsets=l),(l=s[1])&&(this.values=l),(l=s[2])&&(this.nullBitmap=l),(l=s[3])&&(this.typeIds=l)))}getValid(t){const{type:e}=this;if(Pt.isUnion(e)){const n=e,i=this.children[n.typeIdToChildIndex[this.typeIds[t]]],s=n.mode===Zn.Dense?this.valueOffsets[t]:t;return i.getValid(s)}if(this.nullable&&this.nullCount>0){const n=this.offset+t;return(this.nullBitmap[n>>3]&1<>3;(!s||s.byteLength<=c)&&(s=new Uint8Array((o+a+63&-64)>>3).fill(255),this.nullCount>0?(s.set(Lp(o,a,this.nullBitmap),0),Object.assign(this,{nullBitmap:s})):Object.assign(this,{nullBitmap:s,_nullCount:0}));const h=s[c];n=(h&u)!==0,s[c]=e?h|u:h&~u}return n!==!!e&&(this._nullCount=this.nullCount+(e?-1:1)),e}clone(t=this.type,e=this.offset,n=this.length,i=this._nullCount,s=this,o=this.children){return new ml(t,e,n,i,s,o,this.dictionary)}slice(t,e){const{stride:n,typeId:i,children:s}=this,o=+(this._nullCount===0)-1,a=i===16?n:1,l=this._sliceBuffers(t,e,n,i);return this.clone(this.type,this.offset+t,e,o,l,s.length===0||this.valueOffsets?s:this._sliceChildren(s,a*t,a*e))}_changeLengthAndBackfillNullBitmap(t){if(this.typeId===H.Null)return this.clone(this.type,0,t,0);const{length:e,nullCount:n}=this,i=new Uint8Array((t+63&-64)>>3).fill(255,0,e>>3);i[e>>3]=(1<0&&i.set(Lp(this.offset,e,this.nullBitmap),0);const s=this.buffers;return s[pi.VALIDITY]=i,this.clone(this.type,0,t,n+(t-e),s)}_sliceBuffers(t,e,n,i){let s;const{buffers:o}=this;return(s=o[pi.TYPE])&&(o[pi.TYPE]=s.subarray(t,t+e)),(s=o[pi.OFFSET])&&(o[pi.OFFSET]=s.subarray(t,t+e+1))||(s=o[pi.DATA])&&(o[pi.DATA]=i===6?s:s.subarray(n*t,n*(t+e))),o}_sliceChildren(t,e,n){return t.map(i=>i.slice(e,n))}}ml.prototype.children=Object.freeze([]);class K0{constructor(t=0,e){this.numChunks=t,this.getChunkIterator=e,this.chunkIndex=0,this.chunkIterator=this.getChunkIterator(0)}next(){for(;this.chunkIndext.nullable)}function s4(r){return r.reduce((t,e)=>t+e.nullCount,0)}function o4(r){return r.reduce((t,e,n)=>(t[n+1]=t[n]+e.length,t),new Uint32Array(r.length+1))}function a4(r,t,e,n){const i=[];for(let s=-1,o=r.length;++s=n)break;if(e>=l+u)continue;if(l>=e&&l+u<=n){i.push(a);continue}const c=Math.max(0,e-l),h=Math.min(n-l,u);i.push(a.slice(c,h-c))}return i.length===0&&i.push(r[0].slice(0,0)),i}function sg(r,t,e,n){let i=0,s=0,o=t.length-1;do{if(i>=o-1)return e0?0:-1}function h4(r,t){const{nullBitmap:e}=r;if(!e||r.nullCount<=0)return-1;let n=0;for(const i of new oh(e,r.offset+(t||0),r.length,e,ig)){if(!i)return n;++n}return-1}function ee(r,t,e){if(t===void 0)return-1;if(t===null)switch(r.typeId){case H.Union:break;case H.Dictionary:break;default:return h4(r,e)}const n=pn.getVisitFn(r),i=Zs(t);for(let s=(e||0)-1,o=r.length;++s{const i=r.data[n];return i.values.subarray(0,i.length)[Symbol.iterator]()});let e=0;return new K0(r.data.length,n=>{const s=r.data[n].length,o=r.slice(e,e+s);return e+=s,new d4(o)})}class d4{constructor(t){this.vector=t,this.index=0}next(){return this.indexa.data):t;if(s.length===0||s.some(a=>!(a instanceof ml)))throw new TypeError("Vector constructor expects an Array of Data instances.");const o=(e=s[0])===null||e===void 0?void 0:e.type;switch(s.length){case 0:this._offsets=[0];break;case 1:{const{get:a,set:l,indexOf:u}=GI[o.typeId],c=s[0];this.isValid=h=>VI(c,h),this.get=h=>a(c,h),this.set=(h,f)=>l(c,h,f),this.indexOf=h=>u(c,h),this._offsets=[0,c.length];break}default:Object.setPrototypeOf(this,WI[o.typeId]),this._offsets=o4(s);break}this.data=s,this.type=o,this.stride=$T(o),this.numChildren=(i=(n=o.children)===null||n===void 0?void 0:n.length)!==null&&i!==void 0?i:0,this.length=this._offsets.at(-1)}get byteLength(){return this.data.reduce((t,e)=>t+e.byteLength,0)}get nullable(){return i4(this.data)}get nullCount(){return s4(this.data)}get ArrayType(){return this.type.ArrayType}get[Symbol.toStringTag](){return`${this.VectorName}<${this.type[Symbol.toStringTag]}>`}get VectorName(){return`${H[this.type.typeId]}Vector`}isValid(t){return!1}get(t){return null}at(t){return this.get(BI(t,this.length))}set(t,e){}indexOf(t,e){return-1}includes(t,e){return this.indexOf(t,e)>-1}[Symbol.iterator](){return f4.visit(this)}concat(...t){return new lr(this.data.concat(t.flatMap(e=>e.data).flat(Number.POSITIVE_INFINITY)))}slice(t,e){return new lr(NI(this,t,e,({data:n,_offsets:i},s,o)=>a4(n,i,s,o)))}toJSON(){return[...this]}toArray(){const{type:t,data:e,length:n,stride:i,ArrayType:s}=this;switch(t.typeId){case H.Int:case H.Float:case H.Decimal:case H.Time:case H.Timestamp:switch(e.length){case 0:return new s;case 1:return e[0].values.subarray(0,n*i);default:return e.reduce((o,{values:a,length:l})=>(o.array.set(a.subarray(0,l*i),o.offset),o.offset+=l*i,o),{array:new s(n*i),offset:0}).array}}return[...this]}toString(){return`[${[...this].join(",")}]`}getChild(t){var e;return this.getChildAt((e=this.type.children)===null||e===void 0?void 0:e.findIndex(n=>n.name===t))}getChildAt(t){return t>-1&&te[t])):null}get isMemoized(){return Pt.isDictionary(this.type)?this.data[0].dictionary.isMemoized:!1}memoize(){if(Pt.isDictionary(this.type)){const t=new Ic(this.data[0].dictionary),e=this.data.map(n=>{const i=n.clone();return i.dictionary=t,i});return new lr(e)}return new Ic(this)}unmemoize(){if(Pt.isDictionary(this.type)&&this.isMemoized){const t=this.data[0].dictionary.unmemoize(),e=this.data.map(n=>{const i=n.clone();return i.dictionary=t,i});return new lr(e)}return this}}$I=Symbol.toStringTag;lr[$I]=(r=>{r.type=Pt.prototype,r.data=[],r.length=0,r.stride=1,r.numChildren=0,r._offsets=new Uint32Array([0]),r[Symbol.isConcatSpreadable]=!0;const t=Object.keys(H).map(e=>H[e]).filter(e=>typeof e=="number"&&e!==H.NONE);for(const e of t){const n=pn.getVisitFnByTypeId(e),i=Kn.getVisitFnByTypeId(e),s=t_.getVisitFnByTypeId(e);GI[e]={get:n,set:i,indexOf:s},WI[e]=Object.create(r,{isValid:{value:J0(VI)},get:{value:J0(pn.getVisitFnByTypeId(e))},set:{value:l4(Kn.getVisitFnByTypeId(e))},indexOf:{value:u4(t_.getVisitFnByTypeId(e))}})}return"Vector"})(lr.prototype);class Ic extends lr{constructor(t){super(t.data);const e=this.get,n=this.set,i=this.slice,s=new Array(this.length);Object.defineProperty(this,"get",{value(o){const a=s[o];if(a!==void 0)return a;const l=e.call(this,o);return s[o]=l,l}}),Object.defineProperty(this,"set",{value(o,a){n.call(this,o,a),s[o]=a}}),Object.defineProperty(this,"slice",{value:(o,a)=>new Ic(i.call(this,o,a))}),Object.defineProperty(this,"isMemoized",{value:!0}),Object.defineProperty(this,"unmemoize",{value:()=>new lr(this.data)}),Object.defineProperty(this,"memoize",{value:()=>this})}}const p4=65536;function Po(r){return r<0&&(r=4294967295+r+1),`0x${r.toString(16)}`}const ta=8,og=[1,10,100,1e3,1e4,1e5,1e6,1e7,1e8];class ag{constructor(t){this.buffer=t}high(){return this.buffer[1]}low(){return this.buffer[0]}_times(t){const e=new Uint32Array([this.buffer[1]>>>16,this.buffer[1]&65535,this.buffer[0]>>>16,this.buffer[0]&65535]),n=new Uint32Array([t.buffer[1]>>>16,t.buffer[1]&65535,t.buffer[0]>>>16,t.buffer[0]&65535]);let i=e[3]*n[3];this.buffer[0]=i&65535;let s=i>>>16;return i=e[2]*n[3],s+=i,i=e[3]*n[2]>>>0,s+=i,this.buffer[0]+=s<<16,this.buffer[1]=s>>>0>>16,this.buffer[1]+=e[1]*n[3]+e[2]*n[2]+e[3]*n[1],this.buffer[1]+=e[0]*n[3]+e[1]*n[2]+e[2]*n[1]+e[3]*n[0]<<16,this}_plus(t){const e=this.buffer[0]+t.buffer[0]>>>0;this.buffer[1]+=t.buffer[1],e>>0&&++this.buffer[1],this.buffer[0]=e}lessThan(t){return this.buffer[1]>>0,e[2]=this.buffer[2]+t.buffer[2]>>>0,e[1]=this.buffer[1]+t.buffer[1]>>>0,e[0]=this.buffer[0]+t.buffer[0]>>>0,e[0]>>0&&++e[1],e[1]>>0&&++e[2],e[2]>>0&&++e[3],this.buffer[3]=e[3],this.buffer[2]=e[2],this.buffer[1]=e[1],this.buffer[0]=e[0],this}hex(){return`${Po(this.buffer[3])} ${Po(this.buffer[2])} ${Po(this.buffer[1])} ${Po(this.buffer[0])}`}static multiply(t,e){return new Dn(new Uint32Array(t.buffer)).times(e)}static add(t,e){return new Dn(new Uint32Array(t.buffer)).plus(e)}static from(t,e=new Uint32Array(4)){return Dn.fromString(typeof t=="string"?t:t.toString(),e)}static fromNumber(t,e=new Uint32Array(4)){return Dn.fromString(t.toString(),e)}static fromString(t,e=new Uint32Array(4)){const n=t.startsWith("-"),i=t.length,s=new Dn(e);for(let o=n?1:0;othis.compareFields(n,e[i]))}compareFields(t,e){return t===e||e instanceof t.constructor&&t.name===e.name&&t.nullable===e.nullable&&this.visit(t.type,e.type)}}function Tr(r,t){return t instanceof r.constructor}function Ks(r,t){return r===t||Tr(r,t)}function Mi(r,t){return r===t||Tr(r,t)&&r.bitWidth===t.bitWidth&&r.isSigned===t.isSigned}function ah(r,t){return r===t||Tr(r,t)&&r.precision===t.precision}function g4(r,t){return r===t||Tr(r,t)&&r.byteWidth===t.byteWidth}function lg(r,t){return r===t||Tr(r,t)&&r.unit===t.unit}function Ol(r,t){return r===t||Tr(r,t)&&r.unit===t.unit&&r.timezone===t.timezone}function Pl(r,t){return r===t||Tr(r,t)&&r.unit===t.unit&&r.bitWidth===t.bitWidth}function y4(r,t){return r===t||Tr(r,t)&&r.children.length===t.children.length&&Jn.compareManyFields(r.children,t.children)}function v4(r,t){return r===t||Tr(r,t)&&r.children.length===t.children.length&&Jn.compareManyFields(r.children,t.children)}function ug(r,t){return r===t||Tr(r,t)&&r.mode===t.mode&&r.typeIds.every((e,n)=>e===t.typeIds[n])&&Jn.compareManyFields(r.children,t.children)}function _4(r,t){return r===t||Tr(r,t)&&r.id===t.id&&r.isOrdered===t.isOrdered&&Jn.visit(r.indices,t.indices)&&Jn.visit(r.dictionary,t.dictionary)}function cg(r,t){return r===t||Tr(r,t)&&r.unit===t.unit}function Rl(r,t){return r===t||Tr(r,t)&&r.unit===t.unit}function b4(r,t){return r===t||Tr(r,t)&&r.listSize===t.listSize&&r.children.length===t.children.length&&Jn.compareManyFields(r.children,t.children)}function x4(r,t){return r===t||Tr(r,t)&&r.keysSorted===t.keysSorted&&r.children.length===t.children.length&&Jn.compareManyFields(r.children,t.children)}jt.prototype.visitNull=Ks;jt.prototype.visitBool=Ks;jt.prototype.visitInt=Mi;jt.prototype.visitInt8=Mi;jt.prototype.visitInt16=Mi;jt.prototype.visitInt32=Mi;jt.prototype.visitInt64=Mi;jt.prototype.visitUint8=Mi;jt.prototype.visitUint16=Mi;jt.prototype.visitUint32=Mi;jt.prototype.visitUint64=Mi;jt.prototype.visitFloat=ah;jt.prototype.visitFloat16=ah;jt.prototype.visitFloat32=ah;jt.prototype.visitFloat64=ah;jt.prototype.visitUtf8=Ks;jt.prototype.visitLargeUtf8=Ks;jt.prototype.visitBinary=Ks;jt.prototype.visitLargeBinary=Ks;jt.prototype.visitFixedSizeBinary=g4;jt.prototype.visitDate=lg;jt.prototype.visitDateDay=lg;jt.prototype.visitDateMillisecond=lg;jt.prototype.visitTimestamp=Ol;jt.prototype.visitTimestampSecond=Ol;jt.prototype.visitTimestampMillisecond=Ol;jt.prototype.visitTimestampMicrosecond=Ol;jt.prototype.visitTimestampNanosecond=Ol;jt.prototype.visitTime=Pl;jt.prototype.visitTimeSecond=Pl;jt.prototype.visitTimeMillisecond=Pl;jt.prototype.visitTimeMicrosecond=Pl;jt.prototype.visitTimeNanosecond=Pl;jt.prototype.visitDecimal=Ks;jt.prototype.visitList=y4;jt.prototype.visitStruct=v4;jt.prototype.visitUnion=ug;jt.prototype.visitDenseUnion=ug;jt.prototype.visitSparseUnion=ug;jt.prototype.visitDictionary=_4;jt.prototype.visitInterval=cg;jt.prototype.visitIntervalDayTime=cg;jt.prototype.visitIntervalYearMonth=cg;jt.prototype.visitDuration=Rl;jt.prototype.visitDurationSecond=Rl;jt.prototype.visitDurationMillisecond=Rl;jt.prototype.visitDurationMicrosecond=Rl;jt.prototype.visitDurationNanosecond=Rl;jt.prototype.visitFixedSizeList=b4;jt.prototype.visitMap=x4;const Jn=new jt;function w4(r,t){return Jn.compareSchemas(r,t)}function S4(r,t){return Jn.compareFields(r,t)}function T4(r,t){return Jn.visit(r,t)}const e_=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},tU),m4),r4),nU),qk),t4),Zk),{compareSchemas:w4,compareFields:S4,compareTypes:T4}),HI=6048e5,I4=864e5,r_=Symbol.for("constructDateFrom");function vi(r,t){return typeof r=="function"?r(t):r&&typeof r=="object"&&r_ in r?r[r_](t):r instanceof Date?new r.constructor(t):new Date(t)}function mn(r,t){return vi(t||r,r)}let M4={};function lh(){return M4}function gl(r,t){var a,l,u,c;const e=lh(),n=(t==null?void 0:t.weekStartsOn)??((l=(a=t==null?void 0:t.locale)==null?void 0:a.options)==null?void 0:l.weekStartsOn)??e.weekStartsOn??((c=(u=e.locale)==null?void 0:u.options)==null?void 0:c.weekStartsOn)??0,i=mn(r,t==null?void 0:t.in),s=i.getDay(),o=(s=s.getTime()?n+1:e.getTime()>=a.getTime()?n:n-1}function n_(r){const t=mn(r),e=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return e.setUTCFullYear(t.getFullYear()),+r-+e}function E4(r,...t){const e=vi.bind(null,t.find(n=>typeof n=="object"));return t.map(e)}function i_(r,t){const e=mn(r,t==null?void 0:t.in);return e.setHours(0,0,0,0),e}function A4(r,t,e){const[n,i]=E4(e==null?void 0:e.in,r,t),s=i_(n),o=i_(i),a=+s-n_(s),l=+o-n_(o);return Math.round((a-l)/I4)}function C4(r,t){const e=XI(r,t),n=vi(r,0);return n.setFullYear(e,0,4),n.setHours(0,0,0,0),Mc(n)}function O4(r){return r instanceof Date||typeof r=="object"&&Object.prototype.toString.call(r)==="[object Date]"}function P4(r){return!(!O4(r)&&typeof r!="number"||isNaN(+mn(r)))}function R4(r,t){const e=mn(r,t==null?void 0:t.in);return e.setFullYear(e.getFullYear(),0,1),e.setHours(0,0,0,0),e}const F4={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},D4=(r,t,e)=>{let n;const i=F4[r];return typeof i=="string"?n=i:t===1?n=i.one:n=i.other.replace("{{count}}",t.toString()),e!=null&&e.addSuffix?e.comparison&&e.comparison>0?"in "+n:n+" ago":n};function ef(r){return(t={})=>{const e=t.width?String(t.width):r.defaultWidth;return r.formats[e]||r.formats[r.defaultWidth]}}const L4={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},N4={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},B4={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},k4={date:ef({formats:L4,defaultWidth:"full"}),time:ef({formats:N4,defaultWidth:"full"}),dateTime:ef({formats:B4,defaultWidth:"full"})},U4={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},z4=(r,t,e,n)=>U4[r];function Aa(r){return(t,e)=>{const n=e!=null&&e.context?String(e.context):"standalone";let i;if(n==="formatting"&&r.formattingValues){const o=r.defaultFormattingWidth||r.defaultWidth,a=e!=null&&e.width?String(e.width):o;i=r.formattingValues[a]||r.formattingValues[o]}else{const o=r.defaultWidth,a=e!=null&&e.width?String(e.width):r.defaultWidth;i=r.values[a]||r.values[o]}const s=r.argumentCallback?r.argumentCallback(t):t;return i[s]}}const V4={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},j4={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},$4={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},G4={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},W4={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},H4={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},X4=(r,t)=>{const e=Number(r),n=e%100;if(n>20||n<10)switch(n%10){case 1:return e+"st";case 2:return e+"nd";case 3:return e+"rd"}return e+"th"},Y4={ordinalNumber:X4,era:Aa({values:V4,defaultWidth:"wide"}),quarter:Aa({values:j4,defaultWidth:"wide",argumentCallback:r=>r-1}),month:Aa({values:$4,defaultWidth:"wide"}),day:Aa({values:G4,defaultWidth:"wide"}),dayPeriod:Aa({values:W4,defaultWidth:"wide",formattingValues:H4,defaultFormattingWidth:"wide"})};function Ca(r){return(t,e={})=>{const n=e.width,i=n&&r.matchPatterns[n]||r.matchPatterns[r.defaultMatchWidth],s=t.match(i);if(!s)return null;const o=s[0],a=n&&r.parsePatterns[n]||r.parsePatterns[r.defaultParseWidth],l=Array.isArray(a)?Q4(a,h=>h.test(o)):q4(a,h=>h.test(o));let u;u=r.valueCallback?r.valueCallback(l):l,u=e.valueCallback?e.valueCallback(u):u;const c=t.slice(o.length);return{value:u,rest:c}}}function q4(r,t){for(const e in r)if(Object.prototype.hasOwnProperty.call(r,e)&&t(r[e]))return e}function Q4(r,t){for(let e=0;e{const n=t.match(r.matchPattern);if(!n)return null;const i=n[0],s=t.match(r.parsePattern);if(!s)return null;let o=r.valueCallback?r.valueCallback(s[0]):s[0];o=e.valueCallback?e.valueCallback(o):o;const a=t.slice(i.length);return{value:o,rest:a}}}const K4=/^(\d+)(th|st|nd|rd)?/i,J4=/\d+/i,t6={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},e6={any:[/^b/i,/^(a|c)/i]},r6={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},n6={any:[/1/i,/2/i,/3/i,/4/i]},i6={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},s6={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},o6={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},a6={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},l6={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},u6={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},c6={ordinalNumber:Z4({matchPattern:K4,parsePattern:J4,valueCallback:r=>parseInt(r,10)}),era:Ca({matchPatterns:t6,defaultMatchWidth:"wide",parsePatterns:e6,defaultParseWidth:"any"}),quarter:Ca({matchPatterns:r6,defaultMatchWidth:"wide",parsePatterns:n6,defaultParseWidth:"any",valueCallback:r=>r+1}),month:Ca({matchPatterns:i6,defaultMatchWidth:"wide",parsePatterns:s6,defaultParseWidth:"any"}),day:Ca({matchPatterns:o6,defaultMatchWidth:"wide",parsePatterns:a6,defaultParseWidth:"any"}),dayPeriod:Ca({matchPatterns:l6,defaultMatchWidth:"any",parsePatterns:u6,defaultParseWidth:"any"})},h6={code:"en-US",formatDistance:D4,formatLong:k4,formatRelative:z4,localize:Y4,match:c6,options:{weekStartsOn:0,firstWeekContainsDate:1}};function d6(r,t){const e=mn(r,t==null?void 0:t.in);return A4(e,R4(e))+1}function f6(r,t){const e=mn(r,t==null?void 0:t.in),n=+Mc(e)-+C4(e);return Math.round(n/HI)+1}function YI(r,t){var c,h,f,d;const e=mn(r,t==null?void 0:t.in),n=e.getFullYear(),i=lh(),s=(t==null?void 0:t.firstWeekContainsDate)??((h=(c=t==null?void 0:t.locale)==null?void 0:c.options)==null?void 0:h.firstWeekContainsDate)??i.firstWeekContainsDate??((d=(f=i.locale)==null?void 0:f.options)==null?void 0:d.firstWeekContainsDate)??1,o=vi((t==null?void 0:t.in)||r,0);o.setFullYear(n+1,0,s),o.setHours(0,0,0,0);const a=gl(o,t),l=vi((t==null?void 0:t.in)||r,0);l.setFullYear(n,0,s),l.setHours(0,0,0,0);const u=gl(l,t);return+e>=+a?n+1:+e>=+u?n:n-1}function p6(r,t){var a,l,u,c;const e=lh(),n=(t==null?void 0:t.firstWeekContainsDate)??((l=(a=t==null?void 0:t.locale)==null?void 0:a.options)==null?void 0:l.firstWeekContainsDate)??e.firstWeekContainsDate??((c=(u=e.locale)==null?void 0:u.options)==null?void 0:c.firstWeekContainsDate)??1,i=YI(r,t),s=vi((t==null?void 0:t.in)||r,0);return s.setFullYear(i,0,n),s.setHours(0,0,0,0),gl(s,t)}function m6(r,t){const e=mn(r,t==null?void 0:t.in),n=+gl(e,t)-+p6(e,t);return Math.round(n/HI)+1}function Ie(r,t){const e=r<0?"-":"",n=Math.abs(r).toString().padStart(t,"0");return e+n}const Ri={y(r,t){const e=r.getFullYear(),n=e>0?e:1-e;return Ie(t==="yy"?n%100:n,t.length)},M(r,t){const e=r.getMonth();return t==="M"?String(e+1):Ie(e+1,2)},d(r,t){return Ie(r.getDate(),t.length)},a(r,t){const e=r.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return e.toUpperCase();case"aaa":return e;case"aaaaa":return e[0];case"aaaa":default:return e==="am"?"a.m.":"p.m."}},h(r,t){return Ie(r.getHours()%12||12,t.length)},H(r,t){return Ie(r.getHours(),t.length)},m(r,t){return Ie(r.getMinutes(),t.length)},s(r,t){return Ie(r.getSeconds(),t.length)},S(r,t){const e=t.length,n=r.getMilliseconds(),i=Math.trunc(n*Math.pow(10,e-3));return Ie(i,t.length)}},co={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},s_={G:function(r,t,e){const n=r.getFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return e.era(n,{width:"abbreviated"});case"GGGGG":return e.era(n,{width:"narrow"});case"GGGG":default:return e.era(n,{width:"wide"})}},y:function(r,t,e){if(t==="yo"){const n=r.getFullYear(),i=n>0?n:1-n;return e.ordinalNumber(i,{unit:"year"})}return Ri.y(r,t)},Y:function(r,t,e,n){const i=YI(r,n),s=i>0?i:1-i;if(t==="YY"){const o=s%100;return Ie(o,2)}return t==="Yo"?e.ordinalNumber(s,{unit:"year"}):Ie(s,t.length)},R:function(r,t){const e=XI(r);return Ie(e,t.length)},u:function(r,t){const e=r.getFullYear();return Ie(e,t.length)},Q:function(r,t,e){const n=Math.ceil((r.getMonth()+1)/3);switch(t){case"Q":return String(n);case"QQ":return Ie(n,2);case"Qo":return e.ordinalNumber(n,{unit:"quarter"});case"QQQ":return e.quarter(n,{width:"abbreviated",context:"formatting"});case"QQQQQ":return e.quarter(n,{width:"narrow",context:"formatting"});case"QQQQ":default:return e.quarter(n,{width:"wide",context:"formatting"})}},q:function(r,t,e){const n=Math.ceil((r.getMonth()+1)/3);switch(t){case"q":return String(n);case"qq":return Ie(n,2);case"qo":return e.ordinalNumber(n,{unit:"quarter"});case"qqq":return e.quarter(n,{width:"abbreviated",context:"standalone"});case"qqqqq":return e.quarter(n,{width:"narrow",context:"standalone"});case"qqqq":default:return e.quarter(n,{width:"wide",context:"standalone"})}},M:function(r,t,e){const n=r.getMonth();switch(t){case"M":case"MM":return Ri.M(r,t);case"Mo":return e.ordinalNumber(n+1,{unit:"month"});case"MMM":return e.month(n,{width:"abbreviated",context:"formatting"});case"MMMMM":return e.month(n,{width:"narrow",context:"formatting"});case"MMMM":default:return e.month(n,{width:"wide",context:"formatting"})}},L:function(r,t,e){const n=r.getMonth();switch(t){case"L":return String(n+1);case"LL":return Ie(n+1,2);case"Lo":return e.ordinalNumber(n+1,{unit:"month"});case"LLL":return e.month(n,{width:"abbreviated",context:"standalone"});case"LLLLL":return e.month(n,{width:"narrow",context:"standalone"});case"LLLL":default:return e.month(n,{width:"wide",context:"standalone"})}},w:function(r,t,e,n){const i=m6(r,n);return t==="wo"?e.ordinalNumber(i,{unit:"week"}):Ie(i,t.length)},I:function(r,t,e){const n=f6(r);return t==="Io"?e.ordinalNumber(n,{unit:"week"}):Ie(n,t.length)},d:function(r,t,e){return t==="do"?e.ordinalNumber(r.getDate(),{unit:"date"}):Ri.d(r,t)},D:function(r,t,e){const n=d6(r);return t==="Do"?e.ordinalNumber(n,{unit:"dayOfYear"}):Ie(n,t.length)},E:function(r,t,e){const n=r.getDay();switch(t){case"E":case"EE":case"EEE":return e.day(n,{width:"abbreviated",context:"formatting"});case"EEEEE":return e.day(n,{width:"narrow",context:"formatting"});case"EEEEEE":return e.day(n,{width:"short",context:"formatting"});case"EEEE":default:return e.day(n,{width:"wide",context:"formatting"})}},e:function(r,t,e,n){const i=r.getDay(),s=(i-n.weekStartsOn+8)%7||7;switch(t){case"e":return String(s);case"ee":return Ie(s,2);case"eo":return e.ordinalNumber(s,{unit:"day"});case"eee":return e.day(i,{width:"abbreviated",context:"formatting"});case"eeeee":return e.day(i,{width:"narrow",context:"formatting"});case"eeeeee":return e.day(i,{width:"short",context:"formatting"});case"eeee":default:return e.day(i,{width:"wide",context:"formatting"})}},c:function(r,t,e,n){const i=r.getDay(),s=(i-n.weekStartsOn+8)%7||7;switch(t){case"c":return String(s);case"cc":return Ie(s,t.length);case"co":return e.ordinalNumber(s,{unit:"day"});case"ccc":return e.day(i,{width:"abbreviated",context:"standalone"});case"ccccc":return e.day(i,{width:"narrow",context:"standalone"});case"cccccc":return e.day(i,{width:"short",context:"standalone"});case"cccc":default:return e.day(i,{width:"wide",context:"standalone"})}},i:function(r,t,e){const n=r.getDay(),i=n===0?7:n;switch(t){case"i":return String(i);case"ii":return Ie(i,t.length);case"io":return e.ordinalNumber(i,{unit:"day"});case"iii":return e.day(n,{width:"abbreviated",context:"formatting"});case"iiiii":return e.day(n,{width:"narrow",context:"formatting"});case"iiiiii":return e.day(n,{width:"short",context:"formatting"});case"iiii":default:return e.day(n,{width:"wide",context:"formatting"})}},a:function(r,t,e){const i=r.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return e.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"aaa":return e.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return e.dayPeriod(i,{width:"narrow",context:"formatting"});case"aaaa":default:return e.dayPeriod(i,{width:"wide",context:"formatting"})}},b:function(r,t,e){const n=r.getHours();let i;switch(n===12?i=co.noon:n===0?i=co.midnight:i=n/12>=1?"pm":"am",t){case"b":case"bb":return e.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"bbb":return e.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return e.dayPeriod(i,{width:"narrow",context:"formatting"});case"bbbb":default:return e.dayPeriod(i,{width:"wide",context:"formatting"})}},B:function(r,t,e){const n=r.getHours();let i;switch(n>=17?i=co.evening:n>=12?i=co.afternoon:n>=4?i=co.morning:i=co.night,t){case"B":case"BB":case"BBB":return e.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"BBBBB":return e.dayPeriod(i,{width:"narrow",context:"formatting"});case"BBBB":default:return e.dayPeriod(i,{width:"wide",context:"formatting"})}},h:function(r,t,e){if(t==="ho"){let n=r.getHours()%12;return n===0&&(n=12),e.ordinalNumber(n,{unit:"hour"})}return Ri.h(r,t)},H:function(r,t,e){return t==="Ho"?e.ordinalNumber(r.getHours(),{unit:"hour"}):Ri.H(r,t)},K:function(r,t,e){const n=r.getHours()%12;return t==="Ko"?e.ordinalNumber(n,{unit:"hour"}):Ie(n,t.length)},k:function(r,t,e){let n=r.getHours();return n===0&&(n=24),t==="ko"?e.ordinalNumber(n,{unit:"hour"}):Ie(n,t.length)},m:function(r,t,e){return t==="mo"?e.ordinalNumber(r.getMinutes(),{unit:"minute"}):Ri.m(r,t)},s:function(r,t,e){return t==="so"?e.ordinalNumber(r.getSeconds(),{unit:"second"}):Ri.s(r,t)},S:function(r,t){return Ri.S(r,t)},X:function(r,t,e){const n=r.getTimezoneOffset();if(n===0)return"Z";switch(t){case"X":return a_(n);case"XXXX":case"XX":return Is(n);case"XXXXX":case"XXX":default:return Is(n,":")}},x:function(r,t,e){const n=r.getTimezoneOffset();switch(t){case"x":return a_(n);case"xxxx":case"xx":return Is(n);case"xxxxx":case"xxx":default:return Is(n,":")}},O:function(r,t,e){const n=r.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+o_(n,":");case"OOOO":default:return"GMT"+Is(n,":")}},z:function(r,t,e){const n=r.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+o_(n,":");case"zzzz":default:return"GMT"+Is(n,":")}},t:function(r,t,e){const n=Math.trunc(+r/1e3);return Ie(n,t.length)},T:function(r,t,e){return Ie(+r,t.length)}};function o_(r,t=""){const e=r>0?"-":"+",n=Math.abs(r),i=Math.trunc(n/60),s=n%60;return s===0?e+String(i):e+String(i)+t+Ie(s,2)}function a_(r,t){return r%60===0?(r>0?"-":"+")+Ie(Math.abs(r)/60,2):Is(r,t)}function Is(r,t=""){const e=r>0?"-":"+",n=Math.abs(r),i=Ie(Math.trunc(n/60),2),s=Ie(n%60,2);return e+i+t+s}const l_=(r,t)=>{switch(r){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});case"PPPP":default:return t.date({width:"full"})}},qI=(r,t)=>{switch(r){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});case"pppp":default:return t.time({width:"full"})}},g6=(r,t)=>{const e=r.match(/(P+)(p+)?/)||[],n=e[1],i=e[2];if(!i)return l_(r,t);let s;switch(n){case"P":s=t.dateTime({width:"short"});break;case"PP":s=t.dateTime({width:"medium"});break;case"PPP":s=t.dateTime({width:"long"});break;case"PPPP":default:s=t.dateTime({width:"full"});break}return s.replace("{{date}}",l_(n,t)).replace("{{time}}",qI(i,t))},y6={p:qI,P:g6},v6=/^D+$/,_6=/^Y+$/,b6=["D","DD","YY","YYYY"];function x6(r){return v6.test(r)}function w6(r){return _6.test(r)}function S6(r,t,e){const n=T6(r,t,e);if(console.warn(n),b6.includes(r))throw new RangeError(n)}function T6(r,t,e){const n=r[0]==="Y"?"years":"days of the month";return`Use \`${r.toLowerCase()}\` instead of \`${r}\` (in \`${t}\`) for formatting ${n} to the input \`${e}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}const I6=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,M6=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,E6=/^'([^]*?)'?$/,A6=/''/g,C6=/[a-zA-Z]/;function QI(r,t,e){var c,h,f,d;const n=lh(),i=n.locale??h6,s=n.firstWeekContainsDate??((h=(c=n.locale)==null?void 0:c.options)==null?void 0:h.firstWeekContainsDate)??1,o=n.weekStartsOn??((d=(f=n.locale)==null?void 0:f.options)==null?void 0:d.weekStartsOn)??0,a=mn(r,e==null?void 0:e.in);if(!P4(a))throw new RangeError("Invalid time value");let l=t.match(M6).map(m=>{const g=m[0];if(g==="p"||g==="P"){const p=y6[g];return p(m,i.formatLong)}return m}).join("").match(I6).map(m=>{if(m==="''")return{isToken:!1,value:"'"};const g=m[0];if(g==="'")return{isToken:!1,value:O6(m)};if(s_[g])return{isToken:!0,value:m};if(g.match(C6))throw new RangeError("Format string contains an unescaped latin alphabet character `"+g+"`");return{isToken:!1,value:m}});i.localize.preprocessor&&(l=i.localize.preprocessor(a,l));const u={firstWeekContainsDate:s,weekStartsOn:o,locale:i};return l.map(m=>{if(!m.isToken)return m.value;const g=m.value;(w6(g)||x6(g))&&S6(g,t,String(r));const p=s_[g[0]];return p(a,g,i.localize,u)}).join("")}function O6(r){const t=r.match(E6);return t?t[1].replace(A6,"'"):r}function P6(r,t){return mn(r*1e3,t==null?void 0:t.in)}function R6(r,t){const e=F6(t)?new t(0):vi(t,0);return e.setFullYear(r.getFullYear(),r.getMonth(),r.getDate()),e.setHours(r.getHours(),r.getMinutes(),r.getSeconds(),r.getMilliseconds()),e}function F6(r){var t;return typeof r=="function"&&((t=r.prototype)==null?void 0:t.constructor)===r}function D6(r,t){let e=r.length;switch("string"){case"string":{for(;e>0&&r[e-1]===t;)e--;break}}return r.substring(0,e)}function Rr(r){return r==null}function L6(r){return r!=null}async function ZI(){if(typeof window<"u"&&window!==null)return"browser";try{const r=await Bi(()=>import("./__vite-browser-external-FmFgRqLi.js"),[]);return typeof r<"u"&&r.versions!=null&&r.versions.node!=null?"node":"unknown"}catch{return"unknown"}}function N6(r){return Rr(r)?!1:Pt.isInt(r.type)&&!KI(r)||B6(r)}function B6(r){return Rr(r)?!1:Pt.isInt(r.type)&&r.type.isSigned===!1}function k6(r){return Rr(r)?!1:Pt.isFloat(r.type)??!1}function U6(r){return Rr(r)?!1:Pt.isDecimal(r.type)}function z6(r){return Rr(r)?!1:Pt.isBool(r.type)}function V6(r){return Rr(r)?!1:Pt.isDuration(r.type)}function KI(r){return Rr(r)?!1:Pt.isInt(r.type)&&r.metadata.get("ARROW:extension:name")==="period"}function j6(r){return Rr(r)?!1:Pt.isTimestamp(r.type)}function $6(r){return Rr(r)?!1:Pt.isDate(r.type)}function G6(r){return Rr(r)?!1:Pt.isTime(r.type)}function W6(r){return Rr(r)?!1:Pt.isList(r.type)||Pt.isFixedSizeList(r.type)}function H6(r){return Rr(r)?!1:Pt.isStruct(r.type)||Pt.isMap(r.type)}function X6(r){return Rr(r)?!1:Pt.isStruct(r.type)&&r.metadata.get("ARROW:extension:name")==="interval"||Pt.isInterval(r.type)}function Y6(r,t){let e;if(t===ne.MILLISECOND)e=1e3;else if(t===ne.MICROSECOND)e=1e3*1e3;else if(t===ne.NANOSECOND)e=1e3*1e3*1e3;else return Number(r);return typeof r=="bigint"&&!Number.isSafeInteger(Number(r))?Number(r/BigInt(e)):Number(r)/e}function q6(r,t){var n;const e=Y6(r,((n=t==null?void 0:t.type)==null?void 0:n.unit)??ne.SECOND);return P6(e)}function Q6(r,t){const e=q6(r,t);return QI(e,e.getMilliseconds()===0?"HH:mm:ss":"HH:mm:ss.SSS")}function Z6(r){const t="yyyy-MM-dd";return r instanceof Date||typeof r=="number"&&Number.isFinite(r)?QI(r,t):(console.warn(`Unsupported date value: ${r}`),String(r))}function K6(r,t){var i;if(!(r instanceof Date||typeof r=="number"&&Number.isFinite(r)))return console.warn(`Unsupported datetime value: ${r}`),null;let e;const n=(i=t==null?void 0:t.type)==null?void 0:i.timezone;return typeof r=="number"?n?e=new Vr(r,n):e=new Vr(r):n?e=new Vr(r,n):e=new Vr(r),R6(e,Date)}function J6(r,t){var a;const e=((a=t==null?void 0:t.type)==null?void 0:a.scale)||0;let n=e_.bigNumToString(new e_.BN(r)).padStart(e,"0");if(e===0)return n;let i="";n.startsWith("-")&&(i="-",n=n.slice(1));const s=n.slice(0,-e)||"0",o=D6(n.slice(-e),"0")||"";return`${i}${s}${o?`.${o}`:""}`}function t5(r){const t=r[0],e=r[1],n=[];return t!==0&&n.push(`${t} year${t>1?"s":""}`),e!==0&&n.push(`${e} month${e>1?"s":""}`),n.length?n.join(" "):"0 months"}function e5(r,t){var n,i,s,o;if(Pt.isInterval(t==null?void 0:t.type))return t5(r);const e=t&&t.metadata.get("ARROW:extension:name");if(e&&e==="pandas.interval"){const a=JSON.parse(t.metadata.get("ARROW:extension:metadata")),{closed:l}=a,u=r.toJSON(),c=l==="both"||l==="left"?"[":"(",h=l==="both"||l==="right"?"]":")",f=Np(u.left,(i=(n=t.type)==null?void 0:n.children)==null?void 0:i[0]),d=Np(u.right,(o=(s=t.type)==null?void 0:s.children)==null?void 0:o[1]);return`${c+f}, ${d+h}`}return String(r)}function r5(r,t){return(t==null?void 0:t.type)instanceof Fp?JSON.parse(JSON.stringify(r,(e,n)=>{if(L6(n))return typeof n=="bigint"?Number(n):n})):JSON.parse(JSON.stringify(r,(e,n)=>typeof n=="bigint"?Number(n):n))}function Np(r,t){if(Rr(r))return null;const e=r instanceof Date||Number.isFinite(r);if(e&&$6(t))return Z6(r);if(typeof r=="bigint"&&G6(t))return Q6(Number(r),t);if(e&&j6(t))return K6(r,t);if(KI(t))throw new Error("Period type is not supported yet");if(X6(t))return e5(r,t);if(V6(t))throw new Error("Duration type is not supported yet");return U6(t)?J6(r,t):k6(t)&&Number.isFinite(r)||N6(t)?r:H6(t)||W6(t)?r5(r,t):z6(t)?!!r:String(r)}function u_(r){return((r.toArray()||[]).map(n=>n.toJSON())||[]).map(n=>(r.schema.fields.forEach(i=>n[i.name]=Np(n[i.name],i)),n))}var yl=(r=>(r.ORIGIN_PRIVATE_FS="origin-private-fs",r.NODE_FS="node-fs",r))(yl||{});async function JI(r){const t=nE(r,{logger:!1});let e,n;const i=await ZI();if(i==="browser"){if(typeof t.bundles>"u"){const{getBundles:l}=await Bi(async()=>{const{getBundles:u}=await import("./default-browser-BrgSDbLD.js");return{getBundles:u}},[]);t.bundles=await l()}n=await I0(await t.bundles),e=new Worker(n.mainWorker)}else if(i==="node"){if(typeof t.bundles>"u"){const{getBundles:c}=await Bi(async()=>{const{getBundles:h}=await import("./default-node-Ct8UOs1_.js");return{getBundles:h}},__vite__mapDeps([0,1,2]));t.bundles=await c()}n=await I0(await t.bundles);let l=n.mainWorker;l.startsWith("/@fs/")&&(l=l.replace("/@fs/","file://"));const u=await Bi(()=>import("./index-Cp8iQ_hy.js"),[]);e=new u.default(l,{type:"module"})}else throw new Error(`Unsupported environment: ${i}`);let s;t.logger===!0?s=new dT:t.logger===!1?s=new WB:s=t.logger;const o=new KB(s,e);if(await o.instantiate(n.mainModule,n.pthreadWorker),t.storage)switch(t.storage.type){case yl.ORIGIN_PRIVATE_FS:{try{let l=t.storage.path;l.startsWith("/")&&(l=l.slice(1)),await o.open({path:`opfs://${l}`,accessMode:t.storage.accessMode})}catch(l){throw await o.terminate(),await e.terminate(),l}break}case yl.NODE_FS:{try{await o.open({path:t.storage.path,accessMode:t.storage.accessMode,useDirectIO:!0})}catch(l){throw await o.terminate(),await e.terminate(),l}break}}const a=await o.connect();return{worker:e,db:o,conn:a,query:async(l,u=[])=>{if(!u||u.length===0){const d=await a.query(l);return u_(d)}const c=await a.prepare(l),h=await c.query(...u),f=u_(h);return c.close(),f},close:async()=>{await a.close(),await o.terminate(),await e.terminate()}}}async function n5(r,t){await(await r).conn.send("BEGIN TRANSACTION");try{const e=await t(r);return await(await r).conn.send("COMMIT"),e}catch(e){throw await(await r).conn.send("ROLLBACK"),e}}async function i5(r,t,e){await(await r).conn.send(`SAVEPOINT ${t}`);try{const n=await e(r);return await(await r).conn.send(`RELEASE SAVEPOINT ${t}`),n}catch(n){throw await(await r).conn.send(`ROLLBACK TO SAVEPOINT ${t}`),n}}const It=Symbol.for("drizzle:entityKind");function lt(r,t){if(!r||typeof r!="object")return!1;if(r instanceof t)return!0;if(!Object.prototype.hasOwnProperty.call(t,It))throw new Error(`Class "${t.name??""}" doesn't look like a Drizzle entity. If this is incorrect and the class is provided by Drizzle, please report this as a bug.`);let e=Object.getPrototypeOf(r).constructor;if(e)for(;e;){if(It in e&&e[It]===t[It])return!0;e=Object.getPrototypeOf(e)}return!1}var b_;b_=It;class ur{constructor(t,e){W(this,"name");W(this,"keyAsName");W(this,"primary");W(this,"notNull");W(this,"default");W(this,"defaultFn");W(this,"onUpdateFn");W(this,"hasDefault");W(this,"isUnique");W(this,"uniqueName");W(this,"uniqueType");W(this,"dataType");W(this,"columnType");W(this,"enumValues");W(this,"generated");W(this,"generatedIdentity");W(this,"config");this.table=t,this.config=e,this.name=e.name,this.keyAsName=e.keyAsName,this.notNull=e.notNull,this.default=e.default,this.defaultFn=e.defaultFn,this.onUpdateFn=e.onUpdateFn,this.hasDefault=e.hasDefault,this.primary=e.primaryKey,this.isUnique=e.isUnique,this.uniqueName=e.uniqueName,this.uniqueType=e.uniqueType,this.dataType=e.dataType,this.columnType=e.columnType,this.generated=e.generated,this.generatedIdentity=e.generatedIdentity}mapFromDriverValue(t){return t}mapToDriverValue(t){return t}shouldDisableInsert(){return this.config.generated!==void 0&&this.config.generated.type!=="byDefault"}}W(ur,b_,"Column");const Go=Symbol.for("drizzle:Name");function s5(r,t){return`${r[Go]}_${t.join("_")}_unique`}var x_,w_;class $r extends(w_=ur,x_=It,w_){constructor(t,e){e.uniqueName||(e.uniqueName=s5(t,[e.name])),super(t,e),this.table=t}}W($r,x_,"PgColumn");const c_=Symbol.for("drizzle:isPgEnum");function o5(r){return!!r&&typeof r=="function"&&c_ in r&&r[c_]===!0}var S_;S_=It;class Gr{constructor(t,e,n,i=!1){this._={brand:"Subquery",sql:t,selectedFields:e,alias:n,isWith:i}}}W(Gr,S_,"Subquery");var T_,I_;class hg extends(I_=Gr,T_=It,I_){}W(hg,T_,"WithSubquery");const Hr={startActiveSpan(r,t){return t()}},er=Symbol.for("drizzle:ViewBaseConfig"),Au=Symbol.for("drizzle:Schema"),Bp=Symbol.for("drizzle:Columns"),h_=Symbol.for("drizzle:ExtraConfigColumns"),rf=Symbol.for("drizzle:OriginalName"),nf=Symbol.for("drizzle:BaseName"),Ec=Symbol.for("drizzle:IsAlias"),d_=Symbol.for("drizzle:ExtraConfigBuilder"),a5=Symbol.for("drizzle:IsDrizzleTable");var M_,E_,A_,C_,O_,P_,R_,F_,D_,L_;L_=It,D_=Go,F_=rf,R_=Au,P_=Bp,O_=h_,C_=nf,A_=Ec,E_=a5,M_=d_;class Mt{constructor(t,e,n){W(this,D_);W(this,F_);W(this,R_);W(this,P_);W(this,O_);W(this,C_);W(this,A_,!1);W(this,E_,!0);W(this,M_);this[Go]=this[rf]=t,this[Au]=e,this[nf]=n}}W(Mt,L_,"Table"),W(Mt,"Symbol",{Name:Go,Schema:Au,OriginalName:rf,Columns:Bp,ExtraConfigColumns:h_,BaseName:nf,IsAlias:Ec,ExtraConfigBuilder:d_});function Rs(r){return r[Go]}function vl(r){return`${r[Au]??"public"}.${r[Go]}`}function tM(r){return r!=null&&typeof r.getSQL=="function"}function l5(r){var e;const t={sql:"",params:[]};for(const n of r)t.sql+=n.sql,t.params.push(...n.params),(e=n.typings)!=null&&e.length&&(t.typings||(t.typings=[]),t.typings.push(...n.typings));return t}var N_;N_=It;class nr{constructor(t){W(this,"value");this.value=Array.isArray(t)?t:[t]}getSQL(){return new Ft([this])}}W(nr,N_,"StringChunk");var B_;B_=It;const As=class As{constructor(t){W(this,"decoder",eM);W(this,"shouldInlineParams",!1);this.queryChunks=t}append(t){return this.queryChunks.push(...t.queryChunks),this}toQuery(t){return Hr.startActiveSpan("drizzle.buildSQL",e=>{const n=this.buildQueryFromSourceParams(this.queryChunks,t);return e==null||e.setAttributes({"drizzle.query.text":n.sql,"drizzle.query.params":JSON.stringify(n.params)}),n})}buildQueryFromSourceParams(t,e){const n=Object.assign({},e,{inlineParams:e.inlineParams||this.shouldInlineParams,paramStartIndex:e.paramStartIndex||{value:0}}),{casing:i,escapeName:s,escapeParam:o,prepareTyping:a,inlineParams:l,paramStartIndex:u}=n;return l5(t.map(c=>{var h;if(lt(c,nr))return{sql:c.value.join(""),params:[]};if(lt(c,Ac))return{sql:s(c.value),params:[]};if(c===void 0)return{sql:"",params:[]};if(Array.isArray(c)){const f=[new nr("(")];for(const[d,m]of c.entries())f.push(m),dr},rM={mapToDriverValue:r=>r};({...eM,...rM});var U_;U_=It;class _i{constructor(t,e=rM){W(this,"brand");this.value=t,this.encoder=e}getSQL(){return new Ft([this])}}W(_i,U_,"Param");function Y(r,...t){const e=[];(t.length>0||r.length>0&&r[0]!=="")&&e.push(new nr(r[0]));for(const[n,i]of t.entries())e.push(i,new nr(r[n+1]));return new Ft(e)}(r=>{function t(){return new Ft([])}r.empty=t;function e(l){return new Ft(l)}r.fromList=e;function n(l){return new Ft([new nr(l)])}r.raw=n;function i(l,u){const c=[];for(const[h,f]of l.entries())h>0&&u!==void 0&&c.push(u),c.push(f);return new Ft(c)}r.join=i;function s(l){return new Ac(l)}r.identifier=s;function o(l){return new $s(l)}r.placeholder=o;function a(l,u){return new _i(l,u)}r.param=a})(Y||(Y={}));(r=>{var e;e=It;const n=class n{constructor(s,o){W(this,"isSelectionField",!1);this.sql=s,this.fieldAlias=o}getSQL(){return this.sql}clone(){return new n(this.sql,this.fieldAlias)}};W(n,e,"SQL.Aliased");let t=n;r.Aliased=t})(Ft||(Ft={}));var z_;z_=It;class $s{constructor(t){this.name=t}getSQL(){return new Ft([this])}}W($s,z_,"Placeholder");function f_(r,t){return r.map(e=>{if(lt(e,$s)){if(!(e.name in t))throw new Error(`No value for placeholder "${e.name}" was provided`);return t[e.name]}if(lt(e,_i)&<(e.value,$s)){if(!(e.value.name in t))throw new Error(`No value for placeholder "${e.value.name}" was provided`);return e.encoder.mapToDriverValue(t[e.value.name])}return e})}const c5=Symbol.for("drizzle:IsDrizzleView");var V_,j_,$_;$_=It,j_=er,V_=c5;class rs{constructor({name:t,schema:e,selectedFields:n,query:i}){W(this,j_);W(this,V_,!0);this[er]={name:t,originalName:t,schema:e,selectedFields:n,query:i,isExisting:!i,isAlias:!1}}getSQL(){return new Ft([this])}}W(rs,$_,"View");ur.prototype.getSQL=function(){return new Ft([this])};Mt.prototype.getSQL=function(){return new Ft([this])};Gr.prototype.getSQL=function(){return new Ft([this])};var G_;G_=It;class _l{constructor(t){this.table=t}get(t,e){return e==="table"?this.table:t[e]}}W(_l,G_,"ColumnAliasProxyHandler");var W_;W_=It;class uh{constructor(t,e){this.alias=t,this.replaceOriginalName=e}get(t,e){if(e===Mt.Symbol.IsAlias)return!0;if(e===Mt.Symbol.Name)return this.alias;if(this.replaceOriginalName&&e===Mt.Symbol.OriginalName)return this.alias;if(e===er)return{...t[er],name:this.alias,isAlias:!0};if(e===Mt.Symbol.Columns){const i=t[Mt.Symbol.Columns];if(!i)return i;const s={};return Object.keys(i).map(o=>{s[o]=new Proxy(i[o],new _l(new Proxy(t,this)))}),s}const n=t[e];return lt(n,ur)?new Proxy(n,new _l(new Proxy(t,this))):n}}W(uh,W_,"TableAliasProxyHandler");function sf(r,t){return new Proxy(r,new uh(t,!1))}function ci(r,t){return new Proxy(r,new _l(new Proxy(r.table,new uh(t,!1))))}function nM(r,t){return new Ft.Aliased(Cc(r.sql,t),r.fieldAlias)}function Cc(r,t){return Y.join(r.queryChunks.map(e=>lt(e,ur)?ci(e,t):lt(e,Ft)?Cc(e,t):lt(e,Ft.Aliased)?nM(e,t):e))}var H_,X_;class dg extends(X_=Error,H_=It,X_){constructor({message:t,cause:e}){super(t),this.name="DrizzleError",this.cause=e}}W(dg,H_,"DrizzleError");var Y_,q_;class iM extends(q_=dg,Y_=It,q_){constructor(){super({message:"Rollback"})}}W(iM,Y_,"TransactionRollbackError");function Pr(r,t){return u5(t)&&!tM(r)&&!lt(r,_i)&&!lt(r,$s)&&!lt(r,ur)&&!lt(r,Mt)&&!lt(r,rs)?new _i(r,t):r}const sM=(r,t)=>Y`${r} = ${Pr(t,r)}`,h5=(r,t)=>Y`${r} <> ${Pr(t,r)}`;function kp(...r){const t=r.filter(e=>e!==void 0);if(t.length!==0)return t.length===1?new Ft(t):new Ft([new nr("("),Y.join(t,new nr(" and ")),new nr(")")])}function d5(...r){const t=r.filter(e=>e!==void 0);if(t.length!==0)return t.length===1?new Ft(t):new Ft([new nr("("),Y.join(t,new nr(" or ")),new nr(")")])}function f5(r){return Y`not ${r}`}const p5=(r,t)=>Y`${r} > ${Pr(t,r)}`,m5=(r,t)=>Y`${r} >= ${Pr(t,r)}`,g5=(r,t)=>Y`${r} < ${Pr(t,r)}`,y5=(r,t)=>Y`${r} <= ${Pr(t,r)}`;function v5(r,t){return Array.isArray(t)?t.length===0?Y`false`:Y`${r} in ${t.map(e=>Pr(e,r))}`:Y`${r} in ${Pr(t,r)}`}function _5(r,t){return Array.isArray(t)?t.length===0?Y`true`:Y`${r} not in ${t.map(e=>Pr(e,r))}`:Y`${r} not in ${Pr(t,r)}`}function b5(r){return Y`${r} is null`}function x5(r){return Y`${r} is not null`}function w5(r){return Y`exists ${r}`}function S5(r){return Y`not exists ${r}`}function T5(r,t,e){return Y`${r} between ${Pr(t,r)} and ${Pr(e,r)}`}function I5(r,t,e){return Y`${r} not between ${Pr(t,r)} and ${Pr(e,r)}`}function M5(r,t){return Y`${r} like ${t}`}function E5(r,t){return Y`${r} not like ${t}`}function A5(r,t){return Y`${r} ilike ${t}`}function C5(r,t){return Y`${r} not ilike ${t}`}function O5(r){return Y`${r} asc`}function P5(r){return Y`${r} desc`}var Q_;Q_=It;class oM{write(t){console.log(t)}}W(oM,Q_,"ConsoleLogWriter");var Z_;Z_=It;class aM{constructor(t){W(this,"writer");this.writer=(t==null?void 0:t.writer)??new oM}logQuery(t,e){const n=e.map(s=>{try{return JSON.stringify(s)}catch{return String(s)}}),i=n.length?` -- params: [${n.join(", ")}]`:"";this.writer.write(`Query: ${t}${i}`)}}W(aM,Z_,"DefaultLogger");var K_;K_=It;class lM{logQuery(){}}W(lM,K_,"NoopLogger");var J_,tb;tb=It,J_=Symbol.toStringTag;class ns{constructor(){W(this,J_,"QueryPromise")}catch(t){return this.then(void 0,t)}finally(t){return this.then(e=>(t==null||t(),e),e=>{throw t==null||t(),e})}then(t,e){return this.execute().then(t,e)}}W(ns,tb,"QueryPromise");function Gs(r,t){return Object.entries(r).reduce((e,[n,i])=>{if(typeof n!="string")return e;const s=t?[...t,n]:[n];return lt(i,ur)||lt(i,Ft)||lt(i,Ft.Aliased)?e.push({path:s,field:i}):lt(i,Mt)?e.push(...Gs(i[Mt.Symbol.Columns],s)):e.push(...Gs(i,s)),e},[])}function fg(r,t){const e=Object.keys(r),n=Object.keys(t);if(e.length!==n.length)return!1;for(const[i,s]of e.entries())if(s!==n[i])return!1;return!0}function uM(r,t){const e=Object.entries(t).filter(([,n])=>n!==void 0).map(([n,i])=>lt(i,Ft)||lt(i,ur)?[n,i]:[n,new _i(i,r[Mt.Symbol.Columns][n])]);if(e.length===0)throw new Error("No values to set");return Object.fromEntries(e)}function R5(r,t){for(const e of t)for(const n of Object.getOwnPropertyNames(e.prototype))n!=="constructor"&&Object.defineProperty(r.prototype,n,Object.getOwnPropertyDescriptor(e.prototype,n)||Object.create(null))}function F5(r){return r[Mt.Symbol.Columns]}function Es(r){return lt(r,Gr)?r._.alias:lt(r,rs)?r[er].name:lt(r,Ft)?void 0:r[Mt.Symbol.IsAlias]?r[Mt.Symbol.Name]:r[Mt.Symbol.BaseName]}function D5(r){if(typeof r!="object"||r===null||r.constructor.name!=="Object")return!1;if("logger"in r){const t=typeof r.logger;return!(t!=="boolean"&&(t!=="object"||typeof r.logger.logQuery!="function")&&t!=="undefined")}if("schema"in r){const t=typeof r.logger;return!(t!=="object"&&t!=="undefined")}if("casing"in r){const t=typeof r.logger;return!(t!=="string"&&t!=="undefined")}if("mode"in r)return!(r.mode!=="default"||r.mode!=="planetscale"||r.mode!==void 0);if("connection"in r){const t=typeof r.connection;return!(t!=="string"&&t!=="object"&&t!=="undefined")}if("client"in r){const t=typeof r.client;return!(t!=="object"&&t!=="function"&&t!=="undefined")}return Object.keys(r).length===0}var eb,rb;class cM extends(rb=$r,eb=It,rb){getSQLType(){return"date"}mapFromDriverValue(t){return new Date(t)}mapToDriverValue(t){return t.toISOString()}}W(cM,eb,"PgDate");var nb,ib;class hM extends(ib=$r,nb=It,ib){getSQLType(){return"date"}}W(hM,nb,"PgDateString");var sb,ob;class dM extends(ob=$r,sb=It,ob){constructor(t,e){super(t,e)}getSQLType(){return"json"}mapToDriverValue(t){return JSON.stringify(t)}mapFromDriverValue(t){if(typeof t=="string")try{return JSON.parse(t)}catch{return t}return t}}W(dM,sb,"PgJson");var ab,lb;class fM extends(lb=$r,ab=It,lb){constructor(t,e){super(t,e)}getSQLType(){return"jsonb"}mapToDriverValue(t){return JSON.stringify(t)}mapFromDriverValue(t){if(typeof t=="string")try{return JSON.parse(t)}catch{return t}return t}}W(fM,ab,"PgJsonb");var ub,cb;class pM extends(cb=$r,ub=It,cb){constructor(e,n){super(e,n);W(this,"precision");W(this,"scale");this.precision=n.precision,this.scale=n.scale}getSQLType(){return this.precision!==void 0&&this.scale!==void 0?`numeric(${this.precision}, ${this.scale})`:this.precision===void 0?"numeric":`numeric(${this.precision})`}}W(pM,ub,"PgNumeric");var hb,db;class mM extends(db=$r,hb=It,db){constructor(e,n){super(e,n);W(this,"withTimezone");W(this,"precision");this.withTimezone=n.withTimezone,this.precision=n.precision}getSQLType(){return`time${this.precision===void 0?"":`(${this.precision})`}${this.withTimezone?" with time zone":""}`}}W(mM,hb,"PgTime");var fb,pb;class gM extends(pb=$r,fb=It,pb){constructor(e,n){super(e,n);W(this,"withTimezone");W(this,"precision");W(this,"mapFromDriverValue",e=>new Date(this.withTimezone?e:e+"+0000"));W(this,"mapToDriverValue",e=>e.toISOString());this.withTimezone=n.withTimezone,this.precision=n.precision}getSQLType(){return`timestamp${this.precision===void 0?"":` (${this.precision})`}${this.withTimezone?" with time zone":""}`}}W(gM,fb,"PgTimestamp");var mb,gb;class yM extends(gb=$r,mb=It,gb){constructor(e,n){super(e,n);W(this,"withTimezone");W(this,"precision");this.withTimezone=n.withTimezone,this.precision=n.precision}getSQLType(){return`timestamp${this.precision===void 0?"":`(${this.precision})`}${this.withTimezone?" with time zone":""}`}}W(yM,mb,"PgTimestampString");var yb,vb;class vM extends(vb=$r,yb=It,vb){getSQLType(){return"uuid"}}W(vM,yb,"PgUUID");const p_=Symbol.for("drizzle:PgInlineForeignKeys"),m_=Symbol.for("drizzle:EnableRLS");var _b,bb,xb,wb,Sb,Tb;class en extends(Tb=Mt,Sb=It,wb=p_,xb=m_,bb=Mt.Symbol.ExtraConfigBuilder,_b=Mt.Symbol.ExtraConfigColumns,Tb){constructor(){super(...arguments);W(this,wb,[]);W(this,xb,!1);W(this,bb);W(this,_b,{})}}W(en,Sb,"PgTable"),W(en,"Symbol",Object.assign({},Mt.Symbol,{InlineForeignKeys:p_,EnableRLS:m_}));var Ib;Ib=It;class _M{constructor(t,e){W(this,"columns");W(this,"name");this.columns=t,this.name=e}build(t){return new bM(t,this.columns,this.name)}}W(_M,Ib,"PgPrimaryKeyBuilder");var Mb;Mb=It;class bM{constructor(t,e,n){W(this,"columns");W(this,"name");this.table=t,this.columns=e,this.name=n}getName(){return this.name??`${this.table[en.Symbol.Name]}_${this.columns.map(t=>t.name).join("_")}_pk`}}W(bM,Mb,"PgPrimaryKey");var Eb;Eb=It;class pg{constructor(t,e,n){W(this,"referencedTableName");W(this,"fieldName");this.sourceTable=t,this.referencedTable=e,this.relationName=n,this.referencedTableName=e[Mt.Symbol.Name]}}W(pg,Eb,"Relation");var Ab;Ab=It;class xM{constructor(t,e){this.table=t,this.config=e}}W(xM,Ab,"Relations");var Cb,Ob;const Rc=class Rc extends(Ob=pg,Cb=It,Ob){constructor(t,e,n,i){super(t,e,n==null?void 0:n.relationName),this.config=n,this.isNullable=i}withFieldName(t){const e=new Rc(this.sourceTable,this.referencedTable,this.config,this.isNullable);return e.fieldName=t,e}};W(Rc,Cb,"One");let Ws=Rc;var Pb,Rb;const Fc=class Fc extends(Rb=pg,Pb=It,Rb){constructor(t,e,n){super(t,e,n==null?void 0:n.relationName),this.config=n}withFieldName(t){const e=new Fc(this.sourceTable,this.referencedTable,this.config);return e.fieldName=t,e}};W(Fc,Pb,"Many");let Oc=Fc;function L5(){return{and:kp,between:T5,eq:sM,exists:w5,gt:p5,gte:m5,ilike:A5,inArray:v5,isNull:b5,isNotNull:x5,like:M5,lt:g5,lte:y5,ne:h5,not:f5,notBetween:I5,notExists:S5,notLike:E5,notIlike:C5,notInArray:_5,or:d5,sql:Y}}function N5(){return{sql:Y,asc:O5,desc:P5}}function B5(r,t){var s;Object.keys(r).length===1&&"default"in r&&!lt(r.default,Mt)&&(r=r.default);const e={},n={},i={};for(const[o,a]of Object.entries(r))if(lt(a,Mt)){const l=vl(a),u=n[l];e[l]=o,i[o]={tsName:o,dbName:a[Mt.Symbol.Name],schema:a[Mt.Symbol.Schema],columns:a[Mt.Symbol.Columns],relations:(u==null?void 0:u.relations)??{},primaryKey:(u==null?void 0:u.primaryKey)??[]};for(const h of Object.values(a[Mt.Symbol.Columns]))h.primary&&i[o].primaryKey.push(h);const c=(s=a[Mt.Symbol.ExtraConfigBuilder])==null?void 0:s.call(a,a[Mt.Symbol.ExtraConfigColumns]);if(c)for(const h of Object.values(c))lt(h,_M)&&i[o].primaryKey.push(...h.columns)}else if(lt(a,xM)){const l=vl(a.table),u=e[l],c=a.config(t(a.table));let h;for(const[f,d]of Object.entries(c))if(u){const m=i[u];m.relations[f]=d}else l in n||(n[l]={relations:{},primaryKey:h}),n[l].relations[f]=d}return{tables:i,tableNamesMap:e}}function k5(r){return function(e,n){return new Ws(r,e,n,(n==null?void 0:n.fields.reduce((i,s)=>i&&s.notNull,!0))??!1)}}function U5(r){return function(e,n){return new Oc(r,e,n)}}function z5(r,t,e){if(lt(e,Ws)&&e.config)return{fields:e.config.fields,references:e.config.references};const n=t[vl(e.referencedTable)];if(!n)throw new Error(`Table "${e.referencedTable[Mt.Symbol.Name]}" not found in schema`);const i=r[n];if(!i)throw new Error(`Table "${n}" not found in schema`);const s=e.sourceTable,o=t[vl(s)];if(!o)throw new Error(`Table "${s[Mt.Symbol.Name]}" not found in schema`);const a=[];for(const l of Object.values(i.relations))(e.relationName&&e!==l&&l.relationName===e.relationName||!e.relationName&&l.referencedTable===e.sourceTable)&&a.push(l);if(a.length>1)throw e.relationName?new Error(`There are multiple relations with name "${e.relationName}" in table "${n}"`):new Error(`There are multiple relations between "${n}" and "${e.sourceTable[Mt.Symbol.Name]}". Please specify relation name`);if(a[0]&<(a[0],Ws)&&a[0].config)return{fields:a[0].config.references,references:a[0].config.fields};throw new Error(`There is not enough information to infer relation "${o}.${e.fieldName}"`)}function V5(r){return{one:k5(r),many:U5(r)}}function Up(r,t,e,n,i=s=>s){const s={};for(const[o,a]of n.entries())if(a.isJson){const l=t.relations[a.tsKey],u=e[o],c=typeof u=="string"?JSON.parse(u):u;s[a.tsKey]=lt(l,Ws)?c&&Up(r,r[a.relationTableTsKey],c,a.selection,i):c.map(h=>Up(r,r[a.relationTableTsKey],h,a.selection,i))}else{const l=i(e[o]),u=a.field;let c;lt(u,ur)?c=u:lt(u,Ft)?c=u.decoder:c=u.sql.decoder,s[a.tsKey]=l===null?null:c.mapFromDriverValue(l)}return s}var Fb;Fb=It;const Dc=class Dc{constructor(t){W(this,"config");this.config={...t}}get(t,e){if(e==="_")return{...t._,selectedFields:new Proxy(t._.selectedFields,this)};if(e===er)return{...t[er],selectedFields:new Proxy(t[er].selectedFields,this)};if(typeof e=="symbol")return t[e];const i=(lt(t,Gr)?t._.selectedFields:lt(t,rs)?t[er].selectedFields:t)[e];if(lt(i,Ft.Aliased)){if(this.config.sqlAliasedBehavior==="sql"&&!i.isSelectionField)return i.sql;const s=i.clone();return s.isSelectionField=!0,s}if(lt(i,Ft)){if(this.config.sqlBehavior==="sql")return i;throw new Error(`You tried to reference "${e}" field from a subquery, which is a raw SQL field, but it doesn't have an alias declared. Please add an alias to the field using ".as('alias')" method.`)}return lt(i,ur)?this.config.alias?new Proxy(i,new _l(new Proxy(i.table,new uh(this.config.alias,this.config.replaceOriginalName??!1)))):i:typeof i!="object"||i===null?i:new Proxy(i,new Dc(this.config))}};W(Dc,Fb,"SelectionProxyHandler");let pr=Dc;var Db,Lb;class zp extends(Lb=ns,Db=It,Lb){constructor(e,n,i,s){super();W(this,"config");W(this,"authToken");W(this,"execute",e=>Hr.startActiveSpan("drizzle.operation",()=>this._prepare().execute(e,this.authToken)));this.session=n,this.dialect=i,this.config={table:e,withList:s}}where(e){return this.config.where=e,this}returning(e=this.config.table[Mt.Symbol.Columns]){return this.config.returningFields=e,this.config.returning=Gs(e),this}getSQL(){return this.dialect.buildDeleteQuery(this.config)}toSQL(){const{typings:e,...n}=this.dialect.sqlToQuery(this.getSQL());return n}_prepare(e){return Hr.startActiveSpan("drizzle.prepareQuery",()=>this.session.prepareQuery(this.dialect.sqlToQuery(this.getSQL()),this.config.returning,e,!0))}prepare(e){return this._prepare(e)}setToken(e){return this.authToken=e,this}getSelectedFields(){return this.config.returningFields?new Proxy(this.config.returningFields,new pr({alias:Rs(this.config.table),sqlAliasedBehavior:"alias",sqlBehavior:"error"})):void 0}$dynamic(){return this}}W(zp,Db,"PgDelete");function j5(r){return(r.replace(/['\u2019]/g,"").match(/[\da-z]+|[A-Z]+(?![a-z])|[A-Z][\da-z]+/g)??[]).map(e=>e.toLowerCase()).join("_")}function $5(r){return(r.replace(/['\u2019]/g,"").match(/[\da-z]+|[A-Z]+(?![a-z])|[A-Z][\da-z]+/g)??[]).reduce((e,n,i)=>{const s=i===0?n.toLowerCase():`${n[0].toUpperCase()}${n.slice(1)}`;return e+s},"")}function G5(r){return r}var Nb;Nb=It;class wM{constructor(t){W(this,"cache",{});W(this,"cachedTables",{});W(this,"convert");this.convert=t==="snake_case"?j5:t==="camelCase"?$5:G5}getColumnCasing(t){if(!t.keyAsName)return t.name;const e=t.table[Mt.Symbol.Schema]??"public",n=t.table[Mt.Symbol.OriginalName],i=`${e}.${n}.${t.name}`;return this.cache[i]||this.cacheTable(t.table),this.cache[i]}cacheTable(t){const e=t[Mt.Symbol.Schema]??"public",n=t[Mt.Symbol.OriginalName],i=`${e}.${n}`;if(!this.cachedTables[i]){for(const s of Object.values(t[Mt.Symbol.Columns])){const o=`${i}.${s.name}`;this.cache[o]=this.convert(s.name)}this.cachedTables[i]=!0}}clearCache(){this.cache={},this.cachedTables={}}}W(wM,Nb,"CasingCache");var Bb,kb;class mg extends(kb=rs,Bb=It,kb){}W(mg,Bb,"PgViewBase");var Ub;Ub=It;class Qa{constructor(t){W(this,"casing");this.casing=new wM(t==null?void 0:t.casing)}async migrate(t,e,n){const i=typeof n=="string"?"__drizzle_migrations":n.migrationsTable??"__drizzle_migrations",s=typeof n=="string"?"drizzle":n.migrationsSchema??"drizzle",o=Y` +]`}concat(...t){const e=this.schema,n=this.data.concat(t.flatMap(({data:i})=>i));return new Ts(e,n.map(i=>new Er(e,i)))}slice(t,e){const n=this.schema;[t,e]=LS({length:this.numRows},t,e);const i=US(this.data,this._offsets,t,e);return new Ts(n,i.map(s=>new Er(n,s)))}getChild(t){return this.getChildAt(this.schema.fields.findIndex(e=>e.name===t))}getChildAt(t){if(t>-1&&tn.children[t]);if(e.length===0){const{type:n}=this.schema.fields[t],i=he({type:n,length:0,nullCount:0});e.push(i._changeLengthAndBackfillNullBitmap(this.numRows))}return new ze(e)}return null}setChild(t,e){var n;return this.setChildAt((n=this.schema.fields)===null||n===void 0?void 0:n.findIndex(i=>i.name===t),e)}setChildAt(t,e){let n=this.schema,i=[...this.batches];if(t>-1&&tthis.getChildAt(u));[s[t],a[t]]=[o,e],[n,i]=Hd(n,a)}return new Ts(n,i)}select(t){const e=this.schema.fields.reduce((n,i,s)=>n.set(i.name,s),new Map);return this.selectAt(t.map(n=>e.get(n)).filter(n=>n>-1))}selectAt(t){const e=this.schema.selectAt(t),n=this.batches.map(i=>i.selectAt(t));return new Ts(e,n)}assign(t){const e=this.schema.fields,[n,i]=t.schema.fields.reduce((a,l,u)=>{const[c,h]=a,f=e.findIndex(d=>d.name===l.name);return~f?h[f]=u:c.push(u),a},[[],[]]),s=this.schema.assign(t.schema),o=[...e.map((a,l)=>[l,i[l]]).map(([a,l])=>l===void 0?this.getChildAt(a):t.getChildAt(l)),...n.map(a=>t.getChildAt(a))].filter(Boolean);return new Ts(...Hd(s,o))}};qS=Symbol.toStringTag;qi[qS]=(r=>(r.schema=null,r.batches=[],r._offsets=new Uint32Array([0]),r._nullCount=-1,r[Symbol.isConcatSpreadable]=!0,r.isValid=gc(Lm),r.get=gc(Or.getVisitFn(z.Struct)),r.set=zS(fn.getVisitFn(z.Struct)),r.indexOf=VS(yc.getVisitFn(z.Struct)),"Table"))(qi.prototype);var QS;let Er=class $a{constructor(...t){switch(t.length){case 2:{if([this.schema]=t,!(this.schema instanceof Ue))throw new TypeError("RecordBatch constructor expects a [Schema, Data] pair.");if([,this.data=he({nullCount:0,type:new br(this.schema.fields),children:this.schema.fields.map(e=>he({type:e.type,nullCount:0}))})]=t,!(this.data instanceof Pe))throw new TypeError("RecordBatch constructor expects a [Schema, Data] pair.");[this.schema,this.data]=g0(this.schema,this.data.children);break}case 1:{const[e]=t,{fields:n,children:i,length:s}=Object.keys(e).reduce((l,u,c)=>(l.children[c]=e[u],l.length=Math.max(l.length,e[u].length),l.fields[c]=Le.new({name:u,type:e[u].type,nullable:!0}),l),{length:0,fields:new Array,children:new Array}),o=new Ue(n),a=he({type:new br(n),length:s,children:i,nullCount:0});[this.schema,this.data]=g0(o,a.children,s);break}default:throw new TypeError("RecordBatch constructor expects an Object mapping names to child Data, or a [Schema, Data] pair.")}}get dictionaries(){return this._dictionaries||(this._dictionaries=ZS(this.schema.fields,this.data.children))}get numCols(){return this.schema.fields.length}get numRows(){return this.data.length}get nullCount(){return this.data.nullCount}isValid(t){return this.data.getValid(t)}get(t){return Or.visit(this.data,t)}at(t){return this.get(Rm(t,this.numRows))}set(t,e){return fn.visit(this.data,t,e)}indexOf(t,e){return yc.visit(this.data,t,e)}[Symbol.iterator](){return Nm.visit(new ze([this.data]))}toArray(){return[...this]}concat(...t){return new qi(this.schema,[this,...t])}slice(t,e){const[n]=new ze([this.data]).slice(t,e).data;return new $a(this.schema,n)}getChild(t){var e;return this.getChildAt((e=this.schema.fields)===null||e===void 0?void 0:e.findIndex(n=>n.name===t))}getChildAt(t){return t>-1&&ti.name===t),e)}setChildAt(t,e){let n=this.schema,i=this.data;if(t>-1&&ta.name===s);~o&&(i[o]=this.data.children[o])}return new $a(e,he({type:n,length:this.numRows,children:i}))}selectAt(t){const e=this.schema.selectAt(t),n=t.map(s=>this.data.children[s]).filter(Boolean),i=he({type:new br(e.fields),length:this.numRows,children:n});return new $a(e,i)}};QS=Symbol.toStringTag;Er[QS]=(r=>(r._nullCount=-1,r[Symbol.isConcatSpreadable]=!0,"RecordBatch"))(Er.prototype);function g0(r,t,e=t.reduce((n,i)=>Math.max(n,i.length),0)){var n;const i=[...r.fields],s=[...t],o=(e+63&-64)>>3;for(const[a,l]of r.fields.entries()){const u=t[a];(!u||u.length!==e)&&(i[a]=l.clone({nullable:!0}),s[a]=(n=u==null?void 0:u._changeLengthAndBackfillNullBitmap(e))!==null&&n!==void 0?n:he({type:l.type,length:e,nullCount:e,nullBitmap:new Uint8Array(o)}))}return[r.assign(i),he({type:new br(i),length:e,children:s})]}function ZS(r,t,e=new Map){var n,i;if(((n=r==null?void 0:r.length)!==null&&n!==void 0?n:0)>0&&(r==null?void 0:r.length)===(t==null?void 0:t.length))for(let s=-1,o=r.length;++she({type:i.type})),n=he({type:new br(t.fields),nullCount:0,children:e});super(t,n)}}let Pi=class Pn{constructor(){this.bb=null,this.bb_pos=0}__init(t,e){return this.bb_pos=t,this.bb=e,this}static getRootAsMessage(t,e){return(e||new Pn).__init(t.readInt32(t.position())+t.position(),t)}static getSizePrefixedRootAsMessage(t,e){return t.setPosition(t.position()+Se),(e||new Pn).__init(t.readInt32(t.position())+t.position(),t)}version(){const t=this.bb.__offset(this.bb_pos,4);return t?this.bb.readInt16(this.bb_pos+t):He.V1}headerType(){const t=this.bb.__offset(this.bb_pos,6);return t?this.bb.readUint8(this.bb_pos+t):ve.NONE}header(t){const e=this.bb.__offset(this.bb_pos,8);return e?this.bb.__union(t,this.bb_pos+e):null}bodyLength(){const t=this.bb.__offset(this.bb_pos,10);return t?this.bb.readInt64(this.bb_pos+t):BigInt("0")}customMetadata(t,e){const n=this.bb.__offset(this.bb_pos,12);return n?(e||new tr).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+n)+t*4),this.bb):null}customMetadataLength(){const t=this.bb.__offset(this.bb_pos,12);return t?this.bb.__vector_len(this.bb_pos+t):0}static startMessage(t){t.startObject(5)}static addVersion(t,e){t.addFieldInt16(0,e,He.V1)}static addHeaderType(t,e){t.addFieldInt8(1,e,ve.NONE)}static addHeader(t,e){t.addFieldOffset(2,e,0)}static addBodyLength(t,e){t.addFieldInt64(3,e,BigInt("0"))}static addCustomMetadata(t,e){t.addFieldOffset(4,e,0)}static createCustomMetadataVector(t,e){t.startVector(4,e.length,4);for(let n=e.length-1;n>=0;n--)t.addOffset(e[n]);return t.endVector()}static startCustomMetadataVector(t,e){t.startVector(4,e,4)}static endMessage(t){return t.endObject()}static finishMessageBuffer(t,e){t.finish(e)}static finishSizePrefixedMessageBuffer(t,e){t.finish(e,void 0,!0)}static createMessage(t,e,n,i,s,o){return Pn.startMessage(t),Pn.addVersion(t,e),Pn.addHeaderType(t,n),Pn.addHeader(t,i),Pn.addBodyLength(t,s),Pn.addCustomMetadata(t,o),Pn.endMessage(t)}};class H3 extends le{visit(t,e){return t==null||e==null?void 0:super.visit(t,e)}visitNull(t,e){return o0.startNull(e),o0.endNull(e)}visitInt(t,e){return Br.startInt(e),Br.addBitWidth(e,t.bitWidth),Br.addIsSigned(e,t.isSigned),Br.endInt(e)}visitFloat(t,e){return Vn.startFloatingPoint(e),Vn.addPrecision(e,t.precision),Vn.endFloatingPoint(e)}visitBinary(t,e){return e0.startBinary(e),e0.endBinary(e)}visitLargeBinary(t,e){return n0.startLargeBinary(e),n0.endLargeBinary(e)}visitBool(t,e){return r0.startBool(e),r0.endBool(e)}visitUtf8(t,e){return a0.startUtf8(e),a0.endUtf8(e)}visitLargeUtf8(t,e){return i0.startLargeUtf8(e),i0.endLargeUtf8(e)}visitDecimal(t,e){return yo.startDecimal(e),yo.addScale(e,t.scale),yo.addPrecision(e,t.precision),yo.addBitWidth(e,t.bitWidth),yo.endDecimal(e)}visitDate(t,e){return yu.startDate(e),yu.addUnit(e,t.unit),yu.endDate(e)}visitTime(t,e){return on.startTime(e),on.addUnit(e,t.unit),on.addBitWidth(e,t.bitWidth),on.endTime(e)}visitTimestamp(t,e){const n=t.timezone&&e.createString(t.timezone)||void 0;return an.startTimestamp(e),an.addUnit(e,t.unit),n!==void 0&&an.addTimezone(e,n),an.endTimestamp(e)}visitInterval(t,e){return jn.startInterval(e),jn.addUnit(e,t.unit),jn.endInterval(e)}visitDuration(t,e){return vu.startDuration(e),vu.addUnit(e,t.unit),vu.endDuration(e)}visitList(t,e){return s0.startList(e),s0.endList(e)}visitStruct(t,e){return Ps.startStruct_(e),Ps.endStruct_(e)}visitUnion(t,e){Mr.startTypeIdsVector(e,t.typeIds.length);const n=Mr.createTypeIdsVector(e,t.typeIds);return Mr.startUnion(e),Mr.addMode(e,t.mode),Mr.addTypeIds(e,n),Mr.endUnion(e)}visitDictionary(t,e){const n=this.visit(t.indices,e);return gi.startDictionaryEncoding(e),gi.addId(e,BigInt(t.id)),gi.addIsOrdered(e,t.isOrdered),n!==void 0&&gi.addIndexType(e,n),gi.endDictionaryEncoding(e)}visitFixedSizeBinary(t,e){return _u.startFixedSizeBinary(e),_u.addByteWidth(e,t.byteWidth),_u.endFixedSizeBinary(e)}visitFixedSizeList(t,e){return bu.startFixedSizeList(e),bu.addListSize(e,t.listSize),bu.endFixedSizeList(e)}visitMap(t,e){return xu.startMap(e),xu.addKeysSorted(e,t.keysSorted),xu.endMap(e)}}const Xd=new H3;function X3(r,t=new Map){return new Ue(q3(r,t),Tu(r.metadata),t)}function KS(r){return new Wr(r.count,JS(r.columns),tT(r.columns))}function Y3(r){return new Qn(KS(r.data),r.id,r.isDelta)}function q3(r,t){return(r.fields||[]).filter(Boolean).map(e=>Le.fromJSON(e,t))}function y0(r,t){return(r.children||[]).filter(Boolean).map(e=>Le.fromJSON(e,t))}function JS(r){return(r||[]).reduce((t,e)=>[...t,new Qi(e.count,Q3(e.VALIDITY)),...JS(e.children)],[])}function tT(r,t=[]){for(let e=-1,n=(r||[]).length;++et+ +(e===0),0)}function Z3(r,t){let e,n,i,s,o,a;return!t||!(s=r.dictionary)?(o=_0(r,y0(r,t)),i=new Le(r.name,o,r.nullable,Tu(r.metadata))):t.has(e=s.id)?(n=(n=s.indexType)?v0(n):new hl,a=new qo(t.get(e),n,e,s.isOrdered),i=new Le(r.name,a,r.nullable,Tu(r.metadata))):(n=(n=s.indexType)?v0(n):new hl,t.set(e,o=_0(r,y0(r,t))),a=new qo(o,n,e,s.isOrdered),i=new Le(r.name,a,r.nullable,Tu(r.metadata))),i||null}function Tu(r=[]){return new Map(r.map(({key:t,value:e})=>[t,e]))}function v0(r){return new Vs(r.isSigned,r.bitWidth)}function _0(r,t){const e=r.type.name;switch(e){case"NONE":return new Hi;case"null":return new Hi;case"binary":return new Ku;case"largebinary":return new Ju;case"utf8":return new tc;case"largeutf8":return new ec;case"bool":return new rc;case"list":return new uc((t||[])[0]);case"struct":return new br(t||[]);case"struct_":return new br(t||[])}switch(e){case"int":{const n=r.type;return new Vs(n.isSigned,n.bitWidth)}case"floatingpoint":{const n=r.type;return new Zu(mr[n.precision])}case"decimal":{const n=r.type;return new nc(n.scale,n.precision,n.bitWidth)}case"date":{const n=r.type;return new ic(dn[n.unit])}case"time":{const n=r.type;return new sc($t[n.unit],n.bitWidth)}case"timestamp":{const n=r.type;return new oc($t[n.unit],n.timezone)}case"interval":{const n=r.type;return new ac(qn[n.unit])}case"duration":{const n=r.type;return new lc($t[n.unit])}case"union":{const n=r.type,[i,...s]=(n.mode+"").toLowerCase(),o=i.toUpperCase()+s.join("");return new cc(gr[o],n.typeIds||[],t||[])}case"fixedsizebinary":{const n=r.type;return new hc(n.byteWidth)}case"fixedsizelist":{const n=r.type;return new dc(n.listSize,(t||[])[0])}case"map":{const n=r.type;return new fc((t||[])[0],n.keysSorted)}}throw new Error(`Unrecognized type: "${e}"`)}var K3=p1,J3=Xo;class xr{static fromJSON(t,e){const n=new xr(0,He.V5,e);return n._createHeader=tB(t,e),n}static decode(t){t=new J3(fe(t));const e=Pi.getRootAsMessage(t),n=e.bodyLength(),i=e.version(),s=e.headerType(),o=new xr(n,i,s);return o._createHeader=eB(e,s),o}static encode(t){const e=new K3;let n=-1;return t.isSchema()?n=Ue.encode(e,t.header()):t.isRecordBatch()?n=Wr.encode(e,t.header()):t.isDictionaryBatch()&&(n=Qn.encode(e,t.header())),Pi.startMessage(e),Pi.addVersion(e,He.V5),Pi.addHeader(e,n),Pi.addHeaderType(e,t.headerType),Pi.addBodyLength(e,BigInt(t.bodyLength)),Pi.finishMessageBuffer(e,Pi.endMessage(e)),e.asUint8Array()}static from(t,e=0){if(t instanceof Ue)return new xr(0,He.V5,ve.Schema,t);if(t instanceof Wr)return new xr(e,He.V5,ve.RecordBatch,t);if(t instanceof Qn)return new xr(e,He.V5,ve.DictionaryBatch,t);throw new Error(`Unrecognized Message header: ${t}`)}get type(){return this.headerType}get version(){return this._version}get headerType(){return this._headerType}get bodyLength(){return this._bodyLength}header(){return this._createHeader()}isSchema(){return this.headerType===ve.Schema}isRecordBatch(){return this.headerType===ve.RecordBatch}isDictionaryBatch(){return this.headerType===ve.DictionaryBatch}constructor(t,e,n,i){this._version=e,this._headerType=n,this.body=new Uint8Array(0),i&&(this._createHeader=()=>i),this._bodyLength=Ae(t)}}class Wr{get nodes(){return this._nodes}get length(){return this._length}get buffers(){return this._buffers}constructor(t,e,n){this._nodes=e,this._buffers=n,this._length=Ae(t)}}class Qn{get id(){return this._id}get data(){return this._data}get isDelta(){return this._isDelta}get length(){return this.data.length}get nodes(){return this.data.nodes}get buffers(){return this.data.buffers}constructor(t,e,n=!1){this._data=t,this._isDelta=n,this._id=Ae(e)}}class Gn{constructor(t,e){this.offset=Ae(t),this.length=Ae(e)}}class Qi{constructor(t,e){this.length=Ae(t),this.nullCount=Ae(e)}}function tB(r,t){return()=>{switch(t){case ve.Schema:return Ue.fromJSON(r);case ve.RecordBatch:return Wr.fromJSON(r);case ve.DictionaryBatch:return Qn.fromJSON(r)}throw new Error(`Unrecognized Message type: { name: ${ve[t]}, type: ${t} }`)}}function eB(r,t){return()=>{switch(t){case ve.Schema:return Ue.decode(r.header(new Fn),new Map,r.version());case ve.RecordBatch:return Wr.decode(r.header(new hi),r.version());case ve.DictionaryBatch:return Qn.decode(r.header(new mo),r.version())}throw new Error(`Unrecognized Message type: { name: ${ve[t]}, type: ${t} }`)}}Le.encode=dB;Le.decode=cB;Le.fromJSON=Z3;Ue.encode=hB;Ue.decode=rB;Ue.fromJSON=X3;Wr.encode=fB;Wr.decode=nB;Wr.fromJSON=KS;Qn.encode=pB;Qn.decode=iB;Qn.fromJSON=Y3;Qi.encode=mB;Qi.decode=oB;Gn.encode=gB;Gn.decode=sB;function rB(r,t=new Map,e=He.V5){const n=uB(r,t);return new Ue(n,Iu(r),t,e)}function nB(r,t=He.V5){if(r.compression()!==null)throw new Error("Record batch compression not implemented");return new Wr(r.length(),aB(r),lB(r,t))}function iB(r,t=He.V5){return new Qn(Wr.decode(r.data(),t),r.id(),r.isDelta())}function sB(r){return new Gn(r.offset(),r.length())}function oB(r){return new Qi(r.length(),r.nullCount())}function aB(r){const t=[];for(let e,n=-1,i=-1,s=r.nodesLength();++nLe.encode(r,s));Fn.startFieldsVector(r,e.length);const n=Fn.createFieldsVector(r,e),i=t.metadata&&t.metadata.size>0?Fn.createCustomMetadataVector(r,[...t.metadata].map(([s,o])=>{const a=r.createString(`${s}`),l=r.createString(`${o}`);return tr.startKeyValue(r),tr.addKey(r,a),tr.addValue(r,l),tr.endKeyValue(r)})):-1;return Fn.startSchema(r),Fn.addFields(r,n),Fn.addEndianness(r,yB?Yo.Little:Yo.Big),i!==-1&&Fn.addCustomMetadata(r,i),Fn.endSchema(r)}function dB(r,t){let e=-1,n=-1,i=-1;const s=t.type;let o=t.typeId;Rt.isDictionary(s)?(o=s.dictionary.typeId,i=Xd.visit(s,r),n=Xd.visit(s.dictionary,r)):n=Xd.visit(s,r);const a=(s.children||[]).map(c=>Le.encode(r,c)),l=Jr.createChildrenVector(r,a),u=t.metadata&&t.metadata.size>0?Jr.createCustomMetadataVector(r,[...t.metadata].map(([c,h])=>{const f=r.createString(`${c}`),d=r.createString(`${h}`);return tr.startKeyValue(r),tr.addKey(r,f),tr.addValue(r,d),tr.endKeyValue(r)})):-1;return t.name&&(e=r.createString(t.name)),Jr.startField(r),Jr.addType(r,n),Jr.addTypeType(r,o),Jr.addChildren(r,l),Jr.addNullable(r,!!t.nullable),e!==-1&&Jr.addName(r,e),i!==-1&&Jr.addDictionary(r,i),u!==-1&&Jr.addCustomMetadata(r,u),Jr.endField(r)}function fB(r,t){const e=t.nodes||[],n=t.buffers||[];hi.startNodesVector(r,e.length);for(const o of e.slice().reverse())Qi.encode(r,o);const i=r.endVector();hi.startBuffersVector(r,n.length);for(const o of n.slice().reverse())Gn.encode(r,o);const s=r.endVector();return hi.startRecordBatch(r),hi.addLength(r,BigInt(t.length)),hi.addNodes(r,i),hi.addBuffers(r,s),hi.endRecordBatch(r)}function pB(r,t){const e=Wr.encode(r,t.data);return mo.startDictionaryBatch(r),mo.addId(r,BigInt(t.id)),mo.addIsDelta(r,t.isDelta),mo.addData(r,e),mo.endDictionaryBatch(r)}function mB(r,t){return y1.createFieldNode(r,BigInt(t.length),BigInt(t.nullCount))}function gB(r,t){return g1.createBuffer(r,BigInt(t.offset),BigInt(t.length))}const yB=(()=>{const r=new ArrayBuffer(2);return new DataView(r).setInt16(0,256,!0),new Int16Array(r)[0]===256})(),$m=r=>`Expected ${ve[r]} Message in stream, but was null or length 0.`,Gm=r=>`Header pointer of flatbuffer-encoded ${ve[r]} Message is null or length 0.`,eT=(r,t)=>`Expected to read ${r} metadata bytes, but only read ${t}.`,rT=(r,t)=>`Expected to read ${r} bytes for message body, but only read ${t}.`;class nT{constructor(t){this.source=t instanceof vc?t:new vc(t)}[Symbol.iterator](){return this}next(){let t;return(t=this.readMetadataLength()).done||t.value===-1&&(t=this.readMetadataLength()).done||(t=this.readMetadata(t.value)).done?Ve:t}throw(t){return this.source.throw(t)}return(t){return this.source.return(t)}readMessage(t){let e;if((e=this.next()).done)return null;if(t!=null&&e.value.headerType!==t)throw new Error($m(t));return e.value}readMessageBody(t){if(t<=0)return new Uint8Array(0);const e=fe(this.source.read(t));if(e.byteLength[...i,...s.VALIDITY&&[s.VALIDITY]||[],...s.TYPE_ID&&[s.TYPE_ID]||[],...s.OFFSET&&[s.OFFSET]||[],...s.DATA&&[s.DATA]||[],...e(s.children)],[])}}readMessage(t){let e;if((e=this.next()).done)return null;if(t!=null&&e.value.headerType!==t)throw new Error($m(t));return e.value}readSchema(){const t=ve.Schema,e=this.readMessage(t),n=e==null?void 0:e.header();if(!e||!n)throw new Error(Gm(t));return n}}const rh=4,Ep="ARROW1",fl=new Uint8Array(Ep.length);for(let r=0;rthis):this}readRecordBatch(t){return this._impl.isFile()?this._impl.readRecordBatch(t):null}[Symbol.iterator](){return this._impl[Symbol.iterator]()}[Symbol.asyncIterator](){return this._impl[Symbol.asyncIterator]()}toDOMStream(){return rn.toDOMStream(this.isSync()?{[Symbol.iterator]:()=>this}:{[Symbol.asyncIterator]:()=>this})}toNodeStream(){return rn.toNodeStream(this.isSync()?{[Symbol.iterator]:()=>this}:{[Symbol.asyncIterator]:()=>this},{objectMode:!0})}static throughNode(t){throw new Error('"throughNode" not available in this environment')}static throughDOM(t,e){throw new Error('"throughDOM" not available in this environment')}static from(t){return t instanceof un?t:mp(t)?TB(t):l1(t)?EB(t):zs(t)?re(this,void 0,void 0,function*(){return yield un.from(yield t)}):u1(t)||Em(t)||c1(t)||oa(t)?MB(new Qo(t)):IB(new vc(t))}static readAll(t){return t instanceof un?t.isSync()?S0(t):T0(t):mp(t)||ArrayBuffer.isView(t)||Tl(t)||a1(t)?S0(t):T0(t)}}class bc extends un{constructor(t){super(t),this._impl=t}readAll(){return[...this]}[Symbol.iterator](){return this._impl[Symbol.iterator]()}[Symbol.asyncIterator](){return Ar(this,arguments,function*(){yield Dt(yield*ks(Hn(this[Symbol.iterator]())))})}}class xc extends un{constructor(t){super(t),this._impl=t}readAll(){return re(this,void 0,void 0,function*(){var t,e,n,i;const s=new Array;try{for(var o=!0,a=Hn(this),l;l=yield a.next(),t=l.done,!t;o=!0){i=l.value,o=!1;const u=i;s.push(u)}}catch(u){e={error:u}}finally{try{!o&&!t&&(n=a.return)&&(yield n.call(a))}finally{if(e)throw e.error}}return s})}[Symbol.iterator](){throw new Error("AsyncRecordBatchStreamReader is not Iterable")}[Symbol.asyncIterator](){return this._impl[Symbol.asyncIterator]()}}class sT extends bc{constructor(t){super(t),this._impl=t}}class xB extends xc{constructor(t){super(t),this._impl=t}}class oT{get numDictionaries(){return this._dictionaryIndex}get numRecordBatches(){return this._recordBatchIndex}constructor(t=new Map){this.closed=!1,this.autoDestroy=!0,this._dictionaryIndex=0,this._recordBatchIndex=0,this.dictionaries=t}isSync(){return!1}isAsync(){return!1}isFile(){return!1}isStream(){return!1}reset(t){return this._dictionaryIndex=0,this._recordBatchIndex=0,this.schema=t,this.dictionaries=new Map,this}_loadRecordBatch(t,e){const n=this._loadVectors(t,e,this.schema.fields),i=he({type:new br(this.schema.fields),length:t.length,children:n});return new Er(this.schema,i)}_loadDictionaryBatch(t,e){const{id:n,isDelta:i}=t,{dictionaries:s,schema:o}=this,a=s.get(n),l=o.dictionaries.get(n),u=this._loadVectors(t.data,e,[l]);return(a&&i?a.concat(new ze(u)):new ze(u)).memoize()}_loadVectors(t,e,n){return new YS(e,t.nodes,t.buffers,this.dictionaries,this.schema.metadataVersion).visitMany(n)}}class wc extends oT{constructor(t,e){super(e),this._reader=mp(t)?new _B(this._handle=t):new nT(this._handle=t)}isSync(){return!0}isStream(){return!0}[Symbol.iterator](){return this}cancel(){!this.closed&&(this.closed=!0)&&(this.reset()._reader.return(),this._reader=null,this.dictionaries=null)}open(t){return this.closed||(this.autoDestroy=lT(this,t),this.schema||(this.schema=this._reader.readSchema())||this.cancel()),this}throw(t){return!this.closed&&this.autoDestroy&&(this.closed=!0)?this.reset()._reader.throw(t):Ve}return(t){return!this.closed&&this.autoDestroy&&(this.closed=!0)?this.reset()._reader.return(t):Ve}next(){if(this.closed)return Ve;let t;const{_reader:e}=this;for(;t=this._readNextMessageAndValidate();)if(t.isSchema())this.reset(t.header());else if(t.isRecordBatch()){this._recordBatchIndex++;const n=t.header(),i=e.readMessageBody(t.bodyLength);return{done:!1,value:this._loadRecordBatch(n,i)}}else if(t.isDictionaryBatch()){this._dictionaryIndex++;const n=t.header(),i=e.readMessageBody(t.bodyLength),s=this._loadDictionaryBatch(n,i);this.dictionaries.set(n.id,s)}return this.schema&&this._recordBatchIndex===0?(this._recordBatchIndex++,{done:!1,value:new jm(this.schema)}):this.return()}_readNextMessageAndValidate(t){return this._reader.readMessage(t)}}class Sc extends oT{constructor(t,e){super(e),this._reader=new vB(this._handle=t)}isAsync(){return!0}isStream(){return!0}[Symbol.asyncIterator](){return this}cancel(){return re(this,void 0,void 0,function*(){!this.closed&&(this.closed=!0)&&(yield this.reset()._reader.return(),this._reader=null,this.dictionaries=null)})}open(t){return re(this,void 0,void 0,function*(){return this.closed||(this.autoDestroy=lT(this,t),this.schema||(this.schema=yield this._reader.readSchema())||(yield this.cancel())),this})}throw(t){return re(this,void 0,void 0,function*(){return!this.closed&&this.autoDestroy&&(this.closed=!0)?yield this.reset()._reader.throw(t):Ve})}return(t){return re(this,void 0,void 0,function*(){return!this.closed&&this.autoDestroy&&(this.closed=!0)?yield this.reset()._reader.return(t):Ve})}next(){return re(this,void 0,void 0,function*(){if(this.closed)return Ve;let t;const{_reader:e}=this;for(;t=yield this._readNextMessageAndValidate();)if(t.isSchema())yield this.reset(t.header());else if(t.isRecordBatch()){this._recordBatchIndex++;const n=t.header(),i=yield e.readMessageBody(t.bodyLength);return{done:!1,value:this._loadRecordBatch(n,i)}}else if(t.isDictionaryBatch()){this._dictionaryIndex++;const n=t.header(),i=yield e.readMessageBody(t.bodyLength),s=this._loadDictionaryBatch(n,i);this.dictionaries.set(n.id,s)}return this.schema&&this._recordBatchIndex===0?(this._recordBatchIndex++,{done:!1,value:new jm(this.schema)}):yield this.return()})}_readNextMessageAndValidate(t){return re(this,void 0,void 0,function*(){return yield this._reader.readMessage(t)})}}class aT extends wc{get footer(){return this._footer}get numDictionaries(){return this._footer?this._footer.numDictionaries:0}get numRecordBatches(){return this._footer?this._footer.numRecordBatches:0}constructor(t,e){super(t instanceof m0?t:new m0(t),e)}isSync(){return!0}isFile(){return!0}open(t){if(!this.closed&&!this._footer){this.schema=(this._footer=this._readFooter()).schema;for(const e of this._footer.dictionaryBatches())e&&this._readDictionaryBatch(this._dictionaryIndex++)}return super.open(t)}readRecordBatch(t){var e;if(this.closed)return null;this._footer||this.open();const n=(e=this._footer)===null||e===void 0?void 0:e.getRecordBatch(t);if(n&&this._handle.seek(n.offset)){const i=this._reader.readMessage(ve.RecordBatch);if(i!=null&&i.isRecordBatch()){const s=i.header(),o=this._reader.readMessageBody(i.bodyLength);return this._loadRecordBatch(s,o)}}return null}_readDictionaryBatch(t){var e;const n=(e=this._footer)===null||e===void 0?void 0:e.getDictionaryBatch(t);if(n&&this._handle.seek(n.offset)){const i=this._reader.readMessage(ve.DictionaryBatch);if(i!=null&&i.isDictionaryBatch()){const s=i.header(),o=this._reader.readMessageBody(i.bodyLength),a=this._loadDictionaryBatch(s,o);this.dictionaries.set(s.id,a)}}}_readFooter(){const{_handle:t}=this,e=t.size-iT,n=t.readInt32(e),i=t.readAt(e-n,n);return dl.decode(i)}_readNextMessageAndValidate(t){var e;if(this._footer||this.open(),this._footer&&this._recordBatchIndexsuper.open}});return re(this,void 0,void 0,function*(){if(!this.closed&&!this._footer){this.schema=(this._footer=yield this._readFooter()).schema;for(const n of this._footer.dictionaryBatches())n&&(yield this._readDictionaryBatch(this._dictionaryIndex++))}return yield e.open.call(this,t)})}readRecordBatch(t){return re(this,void 0,void 0,function*(){var e;if(this.closed)return null;this._footer||(yield this.open());const n=(e=this._footer)===null||e===void 0?void 0:e.getRecordBatch(t);if(n&&(yield this._handle.seek(n.offset))){const i=yield this._reader.readMessage(ve.RecordBatch);if(i!=null&&i.isRecordBatch()){const s=i.header(),o=yield this._reader.readMessageBody(i.bodyLength);return this._loadRecordBatch(s,o)}}return null})}_readDictionaryBatch(t){return re(this,void 0,void 0,function*(){var e;const n=(e=this._footer)===null||e===void 0?void 0:e.getDictionaryBatch(t);if(n&&(yield this._handle.seek(n.offset))){const i=yield this._reader.readMessage(ve.DictionaryBatch);if(i!=null&&i.isDictionaryBatch()){const s=i.header(),o=yield this._reader.readMessageBody(i.bodyLength),a=this._loadDictionaryBatch(s,o);this.dictionaries.set(s.id,a)}}})}_readFooter(){return re(this,void 0,void 0,function*(){const{_handle:t}=this;t._pending&&(yield t._pending);const e=t.size-iT,n=yield t.readInt32(e),i=yield t.readAt(e-n,n);return dl.decode(i)})}_readNextMessageAndValidate(t){return re(this,void 0,void 0,function*(){if(this._footer||(yield this.open()),this._footer&&this._recordBatchIndex=4?Wm(t)?new sT(new aT(r.read())):new bc(new wc(r)):new bc(new wc(function*(){}()))}function MB(r){return re(this,void 0,void 0,function*(){const t=yield r.peek(Al+7&-8);return t&&t.byteLength>=4?Wm(t)?new sT(new aT(yield r.read())):new xc(new Sc(r)):new xc(new Sc(function(){return Ar(this,arguments,function*(){})}()))})}function EB(r){return re(this,void 0,void 0,function*(){const{size:t}=yield r.stat(),e=new _c(r,t);return t>=bB&&Wm(yield e.readAt(0,Al+7&-8))?new xB(new wB(e)):new xc(new Sc(e))})}class $e extends le{static assemble(...t){const e=i=>i.flatMap(s=>Array.isArray(s)?e(s):s instanceof Er?s.data.children:s.data),n=new $e;return n.visitMany(e(t)),n}constructor(){super(),this._byteLength=0,this._nodes=[],this._buffers=[],this._bufferRegions=[]}visit(t){if(t instanceof ze)return this.visitMany(t.data),this;const{type:e}=t;if(!Rt.isDictionary(e)){const{length:n}=t;if(n>2147483647)throw new RangeError("Cannot write arrays larger than 2^31 - 1 in length");if(Rt.isUnion(e))this.nodes.push(new Qi(n,0));else{const{nullCount:i}=t;Rt.isNull(e)||bn.call(this,i<=0?new Uint8Array(0):pc(t.offset,n,t.nullBitmap)),this.nodes.push(new Qi(n,i))}}return super.visit(t)}visitNull(t){return this}visitDictionary(t){return this.visit(t.clone(t.type.indices))}get nodes(){return this._nodes}get buffers(){return this._buffers}get byteLength(){return this._byteLength}get bufferRegions(){return this._bufferRegions}}function bn(r){const t=r.byteLength+7&-8;return this.buffers.push(r),this.bufferRegions.push(new Gn(this._byteLength,t)),this._byteLength+=t,this}function AB(r){var t;const{type:e,length:n,typeIds:i,valueOffsets:s}=r;if(bn.call(this,i),e.mode===gr.Sparse)return Ap.call(this,r);if(e.mode===gr.Dense){if(r.offset<=0)return bn.call(this,s),Ap.call(this,r);{const o=new Int32Array(n),a=Object.create(null),l=Object.create(null);for(let u,c,h=-1;++h{const h=e.typeIds[c],f=a[h],d=l[h];return u.slice(f,Math.min(n,d))}))}}return this}function CB(r){let t;return r.nullCount>=r.length?bn.call(this,new Uint8Array(0)):(t=r.values)instanceof Uint8Array?bn.call(this,pc(r.offset,r.length,t)):bn.call(this,mc(r.values))}function Ti(r){return bn.call(this,r.values.subarray(0,r.length*r.stride))}function nh(r){const{length:t,values:e,valueOffsets:n}=r,i=Ae(n[0]),s=Ae(n[t]),o=Math.min(s-i,e.byteLength-i);return bn.call(this,d1(-i,t+1,n)),bn.call(this,e.subarray(i,i+o)),this}function Hm(r){const{length:t,valueOffsets:e}=r;if(e){const{[0]:n,[t]:i}=e;return bn.call(this,d1(-n,t+1,e)),this.visit(r.children[0].slice(n,i-n))}return this.visit(r.children[0])}function Ap(r){return this.visitMany(r.type.children.map((t,e)=>r.children[e]).filter(Boolean))[0]}$e.prototype.visitBool=CB;$e.prototype.visitInt=Ti;$e.prototype.visitFloat=Ti;$e.prototype.visitUtf8=nh;$e.prototype.visitLargeUtf8=nh;$e.prototype.visitBinary=nh;$e.prototype.visitLargeBinary=nh;$e.prototype.visitFixedSizeBinary=Ti;$e.prototype.visitDate=Ti;$e.prototype.visitTimestamp=Ti;$e.prototype.visitTime=Ti;$e.prototype.visitDecimal=Ti;$e.prototype.visitList=Hm;$e.prototype.visitStruct=Ap;$e.prototype.visitUnion=AB;$e.prototype.visitInterval=Ti;$e.prototype.visitDuration=Ti;$e.prototype.visitFixedSizeList=Hm;$e.prototype.visitMap=Hm;class uT extends Bm{static throughNode(t){throw new Error('"throughNode" not available in this environment')}static throughDOM(t,e){throw new Error('"throughDOM" not available in this environment')}constructor(t){super(),this._position=0,this._started=!1,this._sink=new Su,this._schema=null,this._dictionaryBlocks=[],this._recordBatchBlocks=[],this._seenDictionaries=new Map,this._dictionaryDeltaOffsets=new Map,Cr(t)||(t={autoDestroy:!0,writeLegacyIpcFormat:!1}),this._autoDestroy=typeof t.autoDestroy=="boolean"?t.autoDestroy:!0,this._writeLegacyIpcFormat=typeof t.writeLegacyIpcFormat=="boolean"?t.writeLegacyIpcFormat:!1}toString(t=!1){return this._sink.toString(t)}toUint8Array(t=!1){return this._sink.toUint8Array(t)}writeAll(t){return zs(t)?t.then(e=>this.writeAll(e)):oa(t)?Qm(this,t):qm(this,t)}get closed(){return this._sink.closed}[Symbol.asyncIterator](){return this._sink[Symbol.asyncIterator]()}toDOMStream(t){return this._sink.toDOMStream(t)}toNodeStream(t){return this._sink.toNodeStream(t)}close(){return this.reset()._sink.close()}abort(t){return this.reset()._sink.abort(t)}finish(){return this._autoDestroy?this.close():this.reset(this._sink,this._schema),this}reset(t=this._sink,e=null){return t===this._sink||t instanceof Su?this._sink=t:(this._sink=new Su,t&&iN(t)?this.toDOMStream({type:"bytes"}).pipeTo(t):t&&sN(t)&&this.toNodeStream({objectMode:!1}).pipe(t)),this._started&&this._schema&&this._writeFooter(this._schema),this._started=!1,this._dictionaryBlocks=[],this._recordBatchBlocks=[],this._seenDictionaries=new Map,this._dictionaryDeltaOffsets=new Map,(!e||!Mp(e,this._schema))&&(e==null?(this._position=0,this._schema=null):(this._started=!0,this._schema=e,this._writeSchema(e))),this}write(t){let e=null;if(this._sink){if(t==null)return this.finish()&&void 0;if(t instanceof qi&&!(e=t.schema))return this.finish()&&void 0;if(t instanceof Er&&!(e=t.schema))return this.finish()&&void 0}else throw new Error("RecordBatchWriter is closed");if(e&&!Mp(e,this._schema)){if(this._started&&this._autoDestroy)return this.close();this.reset(this._sink,e)}t instanceof Er?t instanceof jm||this._writeRecordBatch(t):t instanceof qi?this.writeAll(t.batches):Tl(t)&&this.writeAll(t)}_writeMessage(t,e=8){const n=e-1,i=xr.encode(t),s=i.byteLength,o=this._writeLegacyIpcFormat?4:8,a=s+o+n&~n,l=a-s-o;return t.headerType===ve.RecordBatch?this._recordBatchBlocks.push(new Xi(a,t.bodyLength,this._position)):t.headerType===ve.DictionaryBatch&&this._dictionaryBlocks.push(new Xi(a,t.bodyLength,this._position)),this._writeLegacyIpcFormat||this._write(Int32Array.of(-1)),this._write(Int32Array.of(a-o)),s>0&&this._write(i),this._writePadding(l)}_write(t){if(this._started){const e=fe(t);e&&e.byteLength>0&&(this._sink.write(e),this._position+=e.byteLength)}return this}_writeSchema(t){return this._writeMessage(xr.from(t))}_writeFooter(t){return this._writeLegacyIpcFormat?this._write(Int32Array.of(0)):this._write(Int32Array.of(-1,0))}_writeMagic(){return this._write(fl)}_writePadding(t){return t>0?this._write(new Uint8Array(t)):this}_writeRecordBatch(t){const{byteLength:e,nodes:n,bufferRegions:i,buffers:s}=$e.assemble(t),o=new Wr(t.numRows,n,i),a=xr.from(o,e);return this._writeDictionaries(t)._writeMessage(a)._writeBodyBuffers(s)}_writeDictionaryBatch(t,e,n=!1){const{byteLength:i,nodes:s,bufferRegions:o,buffers:a}=$e.assemble(new ze([t])),l=new Wr(t.length,s,o),u=new Qn(l,e,n),c=xr.from(u,i);return this._writeMessage(c)._writeBodyBuffers(a)}_writeBodyBuffers(t){let e,n,i;for(let s=-1,o=t.length;++s0&&(this._write(e),(i=(n+7&-8)-n)>0&&this._writePadding(i));return this}_writeDictionaries(t){var e,n;for(const[i,s]of t.dictionaries){const o=(e=s==null?void 0:s.data)!==null&&e!==void 0?e:[],a=this._seenDictionaries.get(i),l=(n=this._dictionaryDeltaOffsets.get(i))!==null&&n!==void 0?n:0;if(!a||a.data[0]!==o[0])for(const[u,c]of o.entries())this._writeDictionaryBatch(c,i,u>0);else if(ln.writeAll(i)):oa(t)?Qm(n,t):qm(n,t)}}class Ym extends uT{static writeAll(t){const e=new Ym;return zs(t)?t.then(n=>e.writeAll(n)):oa(t)?Qm(e,t):qm(e,t)}constructor(){super(),this._autoDestroy=!0}_writeSchema(t){return this._writeMagic()._writePadding(2)}_writeDictionaryBatch(t,e,n=!1){if(!n&&this._seenDictionaries.has(e))throw new Error("The Arrow File format does not support replacement dictionaries. ");return super._writeDictionaryBatch(t,e,n)}_writeFooter(t){const e=dl.encode(new dl(t,He.V5,this._recordBatchBlocks,this._dictionaryBlocks));return super._writeFooter(t)._write(e)._write(Int32Array.of(e.byteLength))._writeMagic()}}function qm(r,t){let e=t;t instanceof qi&&(e=t.batches,r.reset(void 0,t.schema));for(const n of e)r.write(n);return r.finish()}function Qm(r,t){return re(this,void 0,void 0,function*(){var e,n,i,s,o,a,l;try{for(e=!0,n=Hn(t);i=yield n.next(),s=i.done,!s;e=!0){l=i.value,e=!1;const u=l;r.write(u)}}catch(u){o={error:u}}finally{try{!e&&!s&&(a=n.return)&&(yield a.call(n))}finally{if(o)throw o.error}}return r.finish()})}function OB(r,t="stream"){return(t==="stream"?Xm:Ym).writeAll(r).toUint8Array(!0)}var PB=Object.create,cT=Object.defineProperty,RB=Object.getOwnPropertyDescriptor,FB=Object.getOwnPropertyNames,DB=Object.getPrototypeOf,LB=Object.prototype.hasOwnProperty,NB=(r,t)=>()=>(t||r((t={exports:{}}).exports,t),t.exports),BB=(r,t,e,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of FB(t))!LB.call(r,i)&&i!==e&&cT(r,i,{get:()=>t[i],enumerable:!(n=RB(t,i))||n.enumerable});return r},kB=(r,t,e)=>(e=r!=null?PB(DB(r)):{},BB(!r||!r.__esModule?cT(e,"default",{value:r,enumerable:!0}):e,r)),UB=NB((r,t)=>{t.exports=Worker}),hT=(r=>(r[r.UNDEFINED=0]="UNDEFINED",r[r.AUTOMATIC=1]="AUTOMATIC",r[r.READ_ONLY=2]="READ_ONLY",r[r.READ_WRITE=3]="READ_WRITE",r))(hT||{}),zB=(r=>(r[r.IDENTIFIER=0]="IDENTIFIER",r[r.NUMERIC_CONSTANT=1]="NUMERIC_CONSTANT",r[r.STRING_CONSTANT=2]="STRING_CONSTANT",r[r.OPERATOR=3]="OPERATOR",r[r.KEYWORD=4]="KEYWORD",r[r.COMMENT=5]="COMMENT",r))(zB||{}),VB=(r=>(r[r.NONE=0]="NONE",r[r.DEBUG=1]="DEBUG",r[r.INFO=2]="INFO",r[r.WARNING=3]="WARNING",r[r.ERROR=4]="ERROR",r))(VB||{}),jB=(r=>(r[r.NONE=0]="NONE",r[r.CONNECT=1]="CONNECT",r[r.DISCONNECT=2]="DISCONNECT",r[r.OPEN=3]="OPEN",r[r.QUERY=4]="QUERY",r[r.INSTANTIATE=5]="INSTANTIATE",r))(jB||{}),$B=(r=>(r[r.NONE=0]="NONE",r[r.OK=1]="OK",r[r.ERROR=2]="ERROR",r[r.START=3]="START",r[r.RUN=4]="RUN",r[r.CAPTURE=5]="CAPTURE",r))($B||{}),GB=(r=>(r[r.NONE=0]="NONE",r[r.WEB_WORKER=1]="WEB_WORKER",r[r.NODE_WORKER=2]="NODE_WORKER",r[r.BINDINGS=3]="BINDINGS",r[r.ASYNC_DUCKDB=4]="ASYNC_DUCKDB",r))(GB||{}),WB=class{log(r){}},dT=class{constructor(r=2){this.level=r}log(r){r.level>=this.level&&console.log(r)}},HB=(r=>(r[r.SUCCESS=0]="SUCCESS",r))(HB||{}),XB=class{constructor(r,t){this._bindings=r,this._conn=t}get bindings(){return this._bindings}async close(){return this._bindings.disconnect(this._conn)}useUnsafe(r){return r(this._bindings,this._conn)}async query(r){this._bindings.logger.log({timestamp:new Date,level:2,origin:4,topic:4,event:4,value:r});let t=await this._bindings.runQuery(this._conn,r),e=un.from(t);return console.assert(e.isSync(),"Reader is not sync"),console.assert(e.isFile(),"Reader is not file"),new qi(e)}async send(r,t=!1){this._bindings.logger.log({timestamp:new Date,level:2,origin:4,topic:4,event:4,value:r});let e=await this._bindings.startPendingQuery(this._conn,r,t);for(;e==null;)e=await this._bindings.pollPendingQuery(this._conn);let n=new fT(this._bindings,this._conn,e),i=await un.from(n);return console.assert(i.isAsync()),console.assert(i.isStream()),i}async cancelSent(){return await this._bindings.cancelPendingQuery(this._conn)}async getTableNames(r){return await this._bindings.getTableNames(this._conn,r)}async prepare(r){let t=await this._bindings.createPrepared(this._conn,r);return new YB(this._bindings,this._conn,t)}async insertArrowTable(r,t){let e=OB(r,"stream");await this.insertArrowFromIPCStream(e,t)}async insertArrowFromIPCStream(r,t){await this._bindings.insertArrowFromIPCStream(this._conn,r,t)}async insertCSVFromPath(r,t){await this._bindings.insertCSVFromPath(this._conn,r,t)}async insertJSONFromPath(r,t){await this._bindings.insertJSONFromPath(this._conn,r,t)}},fT=class{constructor(r,t,e){this.db=r,this.conn=t,this.header=e,this._first=!0,this._depleted=!1,this._inFlight=null}async next(){if(this._first)return this._first=!1,{done:!1,value:this.header};if(this._depleted)return{done:!0,value:null};let r;return this._inFlight!=null?(r=await this._inFlight,this._inFlight=null):r=await this.db.fetchQueryResults(this.conn),this._depleted=r.length==0,this._depleted||(this._inFlight=this.db.fetchQueryResults(this.conn)),{done:this._depleted,value:r}}[Symbol.asyncIterator](){return this}},YB=class{constructor(r,t,e){this.bindings=r,this.connectionId=t,this.statementId=e}async close(){await this.bindings.closePrepared(this.connectionId,this.statementId)}async query(...r){let t=await this.bindings.runPrepared(this.connectionId,this.statementId,r),e=un.from(t);return console.assert(e.isSync()),console.assert(e.isFile()),new qi(e)}async send(...r){let t=await this.bindings.sendPrepared(this.connectionId,this.statementId,r),e=new fT(this.bindings,this.connectionId,t),n=await un.from(e);return console.assert(n.isAsync()),console.assert(n.isStream()),n}},qB=(r=>(r.CANCEL_PENDING_QUERY="CANCEL_PENDING_QUERY",r.CLOSE_PREPARED="CLOSE_PREPARED",r.COLLECT_FILE_STATISTICS="COLLECT_FILE_STATISTICS",r.REGISTER_OPFS_FILE_NAME="REGISTER_OPFS_FILE_NAME",r.CONNECT="CONNECT",r.COPY_FILE_TO_BUFFER="COPY_FILE_TO_BUFFER",r.COPY_FILE_TO_PATH="COPY_FILE_TO_PATH",r.CREATE_PREPARED="CREATE_PREPARED",r.DISCONNECT="DISCONNECT",r.DROP_FILE="DROP_FILE",r.DROP_FILES="DROP_FILES",r.EXPORT_FILE_STATISTICS="EXPORT_FILE_STATISTICS",r.FETCH_QUERY_RESULTS="FETCH_QUERY_RESULTS",r.FLUSH_FILES="FLUSH_FILES",r.GET_FEATURE_FLAGS="GET_FEATURE_FLAGS",r.GET_TABLE_NAMES="GET_TABLE_NAMES",r.GET_VERSION="GET_VERSION",r.GLOB_FILE_INFOS="GLOB_FILE_INFOS",r.INSERT_ARROW_FROM_IPC_STREAM="INSERT_ARROW_FROM_IPC_STREAM",r.INSERT_CSV_FROM_PATH="IMPORT_CSV_FROM_PATH",r.INSERT_JSON_FROM_PATH="IMPORT_JSON_FROM_PATH",r.INSTANTIATE="INSTANTIATE",r.OPEN="OPEN",r.PING="PING",r.POLL_PENDING_QUERY="POLL_PENDING_QUERY",r.REGISTER_FILE_BUFFER="REGISTER_FILE_BUFFER",r.REGISTER_FILE_HANDLE="REGISTER_FILE_HANDLE",r.REGISTER_FILE_URL="REGISTER_FILE_URL",r.RESET="RESET",r.RUN_PREPARED="RUN_PREPARED",r.RUN_QUERY="RUN_QUERY",r.SEND_PREPARED="SEND_PREPARED",r.START_PENDING_QUERY="START_PENDING_QUERY",r.TOKENIZE="TOKENIZE",r))(qB||{}),QB=(r=>(r.CONNECTION_INFO="CONNECTION_INFO",r.ERROR="ERROR",r.FEATURE_FLAGS="FEATURE_FLAGS",r.FILE_BUFFER="FILE_BUFFER",r.FILE_INFOS="FILE_INFOS",r.FILE_SIZE="FILE_SIZE",r.FILE_STATISTICS="FILE_STATISTICS",r.INSTANTIATE_PROGRESS="INSTANTIATE_PROGRESS",r.LOG="LOG",r.OK="OK",r.PREPARED_STATEMENT_ID="PREPARED_STATEMENT_ID",r.QUERY_PLAN="QUERY_PLAN",r.QUERY_RESULT="QUERY_RESULT",r.QUERY_RESULT_CHUNK="QUERY_RESULT_CHUNK",r.QUERY_RESULT_HEADER="QUERY_RESULT_HEADER",r.QUERY_RESULT_HEADER_OR_NULL="QUERY_RESULT_HEADER_OR_NULL",r.REGISTERED_FILE="REGISTERED_FILE",r.SCRIPT_TOKENS="SCRIPT_TOKENS",r.SUCCESS="SUCCESS",r.TABLE_NAMES="TABLE_NAMES",r.VERSION_STRING="VERSION_STRING",r))(QB||{}),me=class{constructor(r,t){this.promiseResolver=()=>{},this.promiseRejecter=()=>{},this.type=r,this.data=t,this.promise=new Promise((e,n)=>{this.promiseResolver=e,this.promiseRejecter=n})}};function Mu(r){switch(r.typeId){case z.Binary:return{sqlType:"binary"};case z.Bool:return{sqlType:"bool"};case z.Date:return{sqlType:"date"};case z.DateDay:return{sqlType:"date32[d]"};case z.DateMillisecond:return{sqlType:"date64[ms]"};case z.Decimal:{let t=r;return{sqlType:"decimal",precision:t.precision,scale:t.scale}}case z.Float:return{sqlType:"float"};case z.Float16:return{sqlType:"float16"};case z.Float32:return{sqlType:"float32"};case z.Float64:return{sqlType:"float64"};case z.Int:return{sqlType:"int32"};case z.Int16:return{sqlType:"int16"};case z.Int32:return{sqlType:"int32"};case z.Int64:return{sqlType:"int64"};case z.Uint16:return{sqlType:"uint16"};case z.Uint32:return{sqlType:"uint32"};case z.Uint64:return{sqlType:"uint64"};case z.Uint8:return{sqlType:"uint8"};case z.IntervalDayTime:return{sqlType:"interval[dt]"};case z.IntervalYearMonth:return{sqlType:"interval[m]"};case z.List:return{sqlType:"list",valueType:Mu(r.valueType)};case z.FixedSizeBinary:return{sqlType:"fixedsizebinary",byteWidth:r.byteWidth};case z.Null:return{sqlType:"null"};case z.Utf8:return{sqlType:"utf8"};case z.Struct:return{sqlType:"struct",fields:r.children.map(t=>Cp(t.name,t.type))};case z.Map:{let t=r;return{sqlType:"map",keyType:Mu(t.keyType),valueType:Mu(t.valueType)}}case z.Time:return{sqlType:"time[s]"};case z.TimeMicrosecond:return{sqlType:"time[us]"};case z.TimeMillisecond:return{sqlType:"time[ms]"};case z.TimeNanosecond:return{sqlType:"time[ns]"};case z.TimeSecond:return{sqlType:"time[s]"};case z.Timestamp:return{sqlType:"timestamp",timezone:r.timezone||void 0};case z.TimestampSecond:return{sqlType:"timestamp[s]",timezone:r.timezone||void 0};case z.TimestampMicrosecond:return{sqlType:"timestamp[us]",timezone:r.timezone||void 0};case z.TimestampNanosecond:return{sqlType:"timestamp[ns]",timezone:r.timezone||void 0};case z.TimestampMillisecond:return{sqlType:"timestamp[ms]",timezone:r.timezone||void 0}}throw new Error("unsupported arrow type: ".concat(r.toString()))}function Cp(r,t){let e=Mu(t);return e.name=r,e}var ZB=new TextEncoder,KB=class{constructor(r,t=null){this._onInstantiationProgress=[],this._worker=null,this._workerShutdownPromise=null,this._workerShutdownResolver=()=>{},this._nextMessageId=0,this._pendingRequests=new Map,this._logger=r,this._onMessageHandler=this.onMessage.bind(this),this._onErrorHandler=this.onError.bind(this),this._onCloseHandler=this.onClose.bind(this),t!=null&&this.attach(t)}get logger(){return this._logger}attach(r){this._worker=r,this._worker.addEventListener("message",this._onMessageHandler),this._worker.addEventListener("error",this._onErrorHandler),this._worker.addEventListener("close",this._onCloseHandler),this._workerShutdownPromise=new Promise((t,e)=>{this._workerShutdownResolver=t})}detach(){this._worker&&(this._worker.removeEventListener("message",this._onMessageHandler),this._worker.removeEventListener("error",this._onErrorHandler),this._worker.removeEventListener("close",this._onCloseHandler),this._worker=null,this._workerShutdownResolver(null),this._workerShutdownPromise=null,this._workerShutdownResolver=()=>{})}async terminate(){this._worker&&(this._worker.terminate(),this._worker=null,this._workerShutdownPromise=null,this._workerShutdownResolver=()=>{})}async postTask(r,t=[]){if(!this._worker){console.error("cannot send a message since the worker is not set!");return}let e=this._nextMessageId++;return this._pendingRequests.set(e,r),this._worker.postMessage({messageId:e,type:r.type,data:r.data},t),await r.promise}onMessage(r){var t;let e=r.data;switch(e.type){case"LOG":{this._logger.log(e.data);return}case"INSTANTIATE_PROGRESS":{for(let i of this._onInstantiationProgress)i(e.data);return}}let n=this._pendingRequests.get(e.requestId);if(!n){console.warn("unassociated response: [".concat(e.requestId,", ").concat(e.type.toString(),"]"));return}if(this._pendingRequests.delete(e.requestId),e.type=="ERROR"){let i=new Error(e.data.message);i.name=e.data.name,(t=Object.getOwnPropertyDescriptor(i,"stack"))!=null&&t.writable&&(i.stack=e.data.stack),n.promiseRejecter(i);return}switch(n.type){case"CLOSE_PREPARED":case"COLLECT_FILE_STATISTICS":case"REGISTER_OPFS_FILE_NAME":case"COPY_FILE_TO_PATH":case"DISCONNECT":case"DROP_FILE":case"DROP_FILES":case"FLUSH_FILES":case"INSERT_ARROW_FROM_IPC_STREAM":case"IMPORT_CSV_FROM_PATH":case"IMPORT_JSON_FROM_PATH":case"OPEN":case"PING":case"REGISTER_FILE_BUFFER":case"REGISTER_FILE_HANDLE":case"REGISTER_FILE_URL":case"RESET":if(e.type=="OK"){n.promiseResolver(e.data);return}break;case"INSTANTIATE":if(this._onInstantiationProgress=[],e.type=="OK"){n.promiseResolver(e.data);return}break;case"GLOB_FILE_INFOS":if(e.type=="FILE_INFOS"){n.promiseResolver(e.data);return}break;case"GET_VERSION":if(e.type=="VERSION_STRING"){n.promiseResolver(e.data);return}break;case"GET_FEATURE_FLAGS":if(e.type=="FEATURE_FLAGS"){n.promiseResolver(e.data);return}break;case"GET_TABLE_NAMES":if(e.type=="TABLE_NAMES"){n.promiseResolver(e.data);return}break;case"TOKENIZE":if(e.type=="SCRIPT_TOKENS"){n.promiseResolver(e.data);return}break;case"COPY_FILE_TO_BUFFER":if(e.type=="FILE_BUFFER"){n.promiseResolver(e.data);return}break;case"EXPORT_FILE_STATISTICS":if(e.type=="FILE_STATISTICS"){n.promiseResolver(e.data);return}break;case"CONNECT":if(e.type=="CONNECTION_INFO"){n.promiseResolver(e.data);return}break;case"RUN_PREPARED":case"RUN_QUERY":if(e.type=="QUERY_RESULT"){n.promiseResolver(e.data);return}break;case"SEND_PREPARED":if(e.type=="QUERY_RESULT_HEADER"){n.promiseResolver(e.data);return}break;case"START_PENDING_QUERY":if(e.type=="QUERY_RESULT_HEADER_OR_NULL"){n.promiseResolver(e.data);return}break;case"POLL_PENDING_QUERY":if(e.type=="QUERY_RESULT_HEADER_OR_NULL"){n.promiseResolver(e.data);return}break;case"CANCEL_PENDING_QUERY":if(this._onInstantiationProgress=[],e.type=="SUCCESS"){n.promiseResolver(e.data);return}break;case"FETCH_QUERY_RESULTS":if(e.type=="QUERY_RESULT_CHUNK"){n.promiseResolver(e.data);return}break;case"CREATE_PREPARED":if(e.type=="PREPARED_STATEMENT_ID"){n.promiseResolver(e.data);return}break}n.promiseRejecter(new Error("unexpected response type: ".concat(e.type.toString())))}onError(r){console.error(r),console.error("error in duckdb worker: ".concat(r.message)),this._pendingRequests.clear()}onClose(){if(this._workerShutdownResolver(null),this._pendingRequests.size!=0){console.warn("worker terminated with ".concat(this._pendingRequests.size," pending requests"));return}this._pendingRequests.clear()}async reset(){let r=new me("RESET",null);return await this.postTask(r)}async ping(){let r=new me("PING",null);await this.postTask(r)}async dropFile(r){let t=new me("DROP_FILE",r);return await this.postTask(t)}async dropFiles(){let r=new me("DROP_FILES",null);return await this.postTask(r)}async flushFiles(){let r=new me("FLUSH_FILES",null);return await this.postTask(r)}async instantiate(r,t=null,e=n=>{}){this._onInstantiationProgress.push(e);let n=new me("INSTANTIATE",[r,t]);return await this.postTask(n)}async getVersion(){let r=new me("GET_VERSION",null);return await this.postTask(r)}async getFeatureFlags(){let r=new me("GET_FEATURE_FLAGS",null);return await this.postTask(r)}async open(r){let t=new me("OPEN",r);await this.postTask(t)}async tokenize(r){let t=new me("TOKENIZE",r);return await this.postTask(t)}async connectInternal(){let r=new me("CONNECT",null);return await this.postTask(r)}async connect(){let r=await this.connectInternal();return new XB(this,r)}async disconnect(r){let t=new me("DISCONNECT",r);await this.postTask(t)}async runQuery(r,t){let e=new me("RUN_QUERY",[r,t]);return await this.postTask(e)}async startPendingQuery(r,t,e=!1){let n=new me("START_PENDING_QUERY",[r,t,e]);return await this.postTask(n)}async pollPendingQuery(r){let t=new me("POLL_PENDING_QUERY",r);return await this.postTask(t)}async cancelPendingQuery(r){let t=new me("CANCEL_PENDING_QUERY",r);return await this.postTask(t)}async fetchQueryResults(r){let t=new me("FETCH_QUERY_RESULTS",r);return await this.postTask(t)}async getTableNames(r,t){let e=new me("GET_TABLE_NAMES",[r,t]);return await this.postTask(e)}async createPrepared(r,t){let e=new me("CREATE_PREPARED",[r,t]);return await this.postTask(e)}async closePrepared(r,t){let e=new me("CLOSE_PREPARED",[r,t]);await this.postTask(e)}async runPrepared(r,t,e){let n=new me("RUN_PREPARED",[r,t,e]);return await this.postTask(n)}async sendPrepared(r,t,e){let n=new me("SEND_PREPARED",[r,t,e]);return await this.postTask(n)}async globFiles(r){let t=new me("GLOB_FILE_INFOS",r);return await this.postTask(t)}async registerFileText(r,t){let e=ZB.encode(t);await this.registerFileBuffer(r,e)}async registerFileURL(r,t,e,n){t===void 0&&(t=r);let i=new me("REGISTER_FILE_URL",[r,t,e,n]);await this.postTask(i)}async registerEmptyFileBuffer(r){}async registerFileBuffer(r,t){let e=new me("REGISTER_FILE_BUFFER",[r,t]);await this.postTask(e,[t.buffer])}async registerFileHandle(r,t,e,n){let i=new me("REGISTER_FILE_HANDLE",[r,t,e,n]);await this.postTask(i,[])}async registerOPFSFileName(r){let t=new me("REGISTER_OPFS_FILE_NAME",[r]);await this.postTask(t,[])}async collectFileStatistics(r,t){let e=new me("COLLECT_FILE_STATISTICS",[r,t]);await this.postTask(e,[])}async exportFileStatistics(r){let t=new me("EXPORT_FILE_STATISTICS",r);return await this.postTask(t,[])}async copyFileToBuffer(r){let t=new me("COPY_FILE_TO_BUFFER",r);return await this.postTask(t)}async copyFileToPath(r,t){let e=new me("COPY_FILE_TO_PATH",[r,t]);await this.postTask(e)}async insertArrowFromIPCStream(r,t,e){if(t.length==0)return;let n=new me("INSERT_ARROW_FROM_IPC_STREAM",[r,t,e]);await this.postTask(n,[t.buffer])}async insertCSVFromPath(r,t,e){if(e.columns!==void 0){let i=[];for(let s in e.columns){let o=e.columns[s];i.push(Cp(s,o))}e.columnsFlat=i,delete e.columns}let n=new me("IMPORT_CSV_FROM_PATH",[r,t,e]);await this.postTask(n)}async insertJSONFromPath(r,t,e){if(e.columns!==void 0){let i=[];for(let s in e.columns){let o=e.columns[s];i.push(Cp(s,o))}e.columnsFlat=i,delete e.columns}let n=new me("IMPORT_JSON_FROM_PATH",[r,t,e]);await this.postTask(n)}};function JB(){let r=new TextDecoder;return t=>(typeof SharedArrayBuffer<"u"&&t.buffer instanceof SharedArrayBuffer&&(t=new Uint8Array(t)),r.decode(t))}JB();var tk=(r=>(r[r.BUFFER=0]="BUFFER",r[r.NODE_FS=1]="NODE_FS",r[r.BROWSER_FILEREADER=2]="BROWSER_FILEREADER",r[r.BROWSER_FSACCESS=3]="BROWSER_FSACCESS",r[r.HTTP=4]="HTTP",r[r.S3=5]="S3",r))(tk||{}),ek=async()=>WebAssembly.validate(new Uint8Array([0,97,115,109,1,0,0,0,1,4,1,96,0,0,3,2,1,0,5,3,1,0,1,10,14,1,12,0,65,0,65,0,65,0,252,10,0,0,11])),rk=async()=>WebAssembly.validate(new Uint8Array([0,97,115,109,1,0,0,0,1,4,1,96,0,0,3,2,1,0,10,8,1,6,0,6,64,25,11,11])),nk=async()=>WebAssembly.validate(new Uint8Array([0,97,115,109,1,0,0,0,1,5,1,96,0,1,123,3,2,1,0,10,10,1,8,0,65,0,253,15,253,98,11])),ik=()=>(async r=>{try{return typeof MessageChannel<"u"&&new MessageChannel().port1.postMessage(new SharedArrayBuffer(1)),WebAssembly.validate(r)}catch{return!1}})(new Uint8Array([0,97,115,109,1,0,0,0,1,4,1,96,0,0,3,2,1,0,5,4,1,3,1,1,10,11,1,9,0,65,0,254,16,2,0,26,11])),sk={version:"1.29.1-dev68.0"},Zm=sk.version.split(".");Zm[0];Zm[1];Zm[2];var ok=()=>typeof navigator>"u",Yd=null,qd=null,Qd=null,Zd=null,Kd=null;async function ak(){return Yd==null&&(Yd=typeof BigInt64Array<"u"),qd==null&&(qd=await rk()),Qd==null&&(Qd=await ik()),Zd==null&&(Zd=await nk()),Kd==null&&(Kd=await ek()),{bigInt64Array:Yd,crossOriginIsolated:ok()||globalThis.crossOriginIsolated||!1,wasmExceptions:qd,wasmSIMD:Zd,wasmThreads:Qd,wasmBulkMemory:Kd}}async function I0(r){let t=await ak();if(t.wasmExceptions){if(t.wasmSIMD&&t.wasmThreads&&t.crossOriginIsolated&&r.coi)return{mainModule:r.coi.mainModule,mainWorker:r.coi.mainWorker,pthreadWorker:r.coi.pthreadWorker};if(r.eh)return{mainModule:r.eh.mainModule,mainWorker:r.eh.mainWorker,pthreadWorker:null}}return{mainModule:r.mvp.mainModule,mainWorker:r.mvp.mainWorker,pthreadWorker:null}}kB(UB());const Jd={},Ga={};function qa(r,t){try{const n=(Jd[r]||(Jd[r]=new Intl.DateTimeFormat("en-GB",{timeZone:r,hour:"numeric",timeZoneName:"longOffset"}).format))(t).split("GMT")[1]||"";return n in Ga?Ga[n]:M0(n,n.split(":"))}catch{if(r in Ga)return Ga[r];const e=r==null?void 0:r.match(lk);return e?M0(r,e.slice(1)):NaN}}const lk=/([+-]\d\d):?(\d\d)?/;function M0(r,t){const e=+t[0],n=+(t[1]||0);return Ga[r]=e>0?e*60+n:e*60-n}class Vr extends Date{constructor(...t){super(),t.length>1&&typeof t[t.length-1]=="string"&&(this.timeZone=t.pop()),this.internal=new Date,isNaN(qa(this.timeZone,this))?this.setTime(NaN):t.length?typeof t[0]=="number"&&(t.length===1||t.length===2&&typeof t[1]!="number")?this.setTime(t[0]):typeof t[0]=="string"?this.setTime(+new Date(t[0])):t[0]instanceof Date?this.setTime(+t[0]):(this.setTime(+new Date(...t)),pT(this),Op(this)):this.setTime(Date.now())}static tz(t,...e){return e.length?new Vr(...e,t):new Vr(Date.now(),t)}withTimeZone(t){return new Vr(+this,t)}getTimezoneOffset(){return-qa(this.timeZone,this)}setTime(t){return Date.prototype.setTime.apply(this,arguments),Op(this),+this}[Symbol.for("constructDateFrom")](t){return new Vr(+new Date(t),this.timeZone)}}const E0=/^(get|set)(?!UTC)/;Object.getOwnPropertyNames(Date.prototype).forEach(r=>{if(!E0.test(r))return;const t=r.replace(E0,"$1UTC");Vr.prototype[t]&&(r.startsWith("get")?Vr.prototype[r]=function(){return this.internal[t]()}:(Vr.prototype[r]=function(){return Date.prototype[t].apply(this.internal,arguments),uk(this),+this},Vr.prototype[t]=function(){return Date.prototype[t].apply(this,arguments),Op(this),+this}))});function Op(r){r.internal.setTime(+r),r.internal.setUTCMinutes(r.internal.getUTCMinutes()-r.getTimezoneOffset())}function uk(r){Date.prototype.setFullYear.call(r,r.internal.getUTCFullYear(),r.internal.getUTCMonth(),r.internal.getUTCDate()),Date.prototype.setHours.call(r,r.internal.getUTCHours(),r.internal.getUTCMinutes(),r.internal.getUTCSeconds(),r.internal.getUTCMilliseconds()),pT(r)}function pT(r){const t=qa(r.timeZone,r),e=new Date(+r);e.setUTCHours(e.getUTCHours()-1);const n=-new Date(+r).getTimezoneOffset(),i=-new Date(+e).getTimezoneOffset(),s=n-i,o=Date.prototype.getHours.apply(r)!==r.internal.getUTCHours();s&&o&&r.internal.setUTCMinutes(r.internal.getUTCMinutes()+s);const a=n-t;a&&Date.prototype.setUTCMinutes.call(r,Date.prototype.getUTCMinutes.call(r)+a);const l=qa(r.timeZone,r),c=-new Date(+r).getTimezoneOffset()-l,h=l!==t,f=c-a;if(h&&f){Date.prototype.setUTCMinutes.call(r,Date.prototype.getUTCMinutes.call(r)+f);const d=qa(r.timeZone,r),m=l-d;m&&(r.internal.setUTCMinutes(r.internal.getUTCMinutes()+m),Date.prototype.setUTCMinutes.call(r,Date.prototype.getUTCMinutes.call(r)+m))}}const ck=new TextDecoder("utf-8"),hk=r=>ck.decode(r),dk=new TextEncoder,mT=r=>dk.encode(r),Ln=r=>typeof r=="function",Cl=r=>r!=null&&Object(r)===r,fk=r=>Cl(r)&&Ln(r.then),gT=r=>Cl(r)&&Ln(r[Symbol.iterator]),pk=r=>Cl(r)&&Ln(r[Symbol.asyncIterator]),mk=r=>Cl(r)&&"done"in r&&"value"in r,gk=r=>Cl(r)&&Ln(r.clear)&&Ln(r.bytes)&&Ln(r.position)&&Ln(r.setPosition)&&Ln(r.capacity)&&Ln(r.getBufferIdentifier)&&Ln(r.createLong),Km=typeof SharedArrayBuffer<"u"?SharedArrayBuffer:ArrayBuffer;function yk(r){const t=r[0]?[r[0]]:[];let e,n,i,s;for(let o,a,l=0,u=0,c=r.length;++lc+h.byteLength,0);let i,s,o,a=0,l=-1;const u=Math.min(t||Number.POSITIVE_INFINITY,n);for(const c=e.length;++lyr(Int8Array,r),bk=r=>yr(Int16Array,r),xk=r=>yr(Int32Array,r),wk=r=>yr(BigInt64Array,r),Sk=r=>yr(Uint8Array,r),Tk=r=>yr(Uint16Array,r),Ik=r=>yr(Uint32Array,r),Mk=r=>yr(BigUint64Array,r),Ek=r=>yr(Float32Array,r),Ak=r=>yr(Float64Array,r),Ck=r=>yr(Uint8ClampedArray,r),Rp=r=>(r.next(),r);function*ri(r,t){const e=function*(i){yield i},n=typeof t=="string"||ArrayBuffer.isView(t)||t instanceof ArrayBuffer||t instanceof Km?e(t):gT(t)?t:e(t);return yield*Rp(function*(i){let s=null;do s=i.next(yield yr(r,s));while(!s.done)}(n[Symbol.iterator]())),new r}const Ok=r=>ri(Int8Array,r),Pk=r=>ri(Int16Array,r),Rk=r=>ri(Int32Array,r),Fk=r=>ri(Uint8Array,r),Dk=r=>ri(Uint16Array,r),Lk=r=>ri(Uint32Array,r),Nk=r=>ri(Float32Array,r),Bk=r=>ri(Float64Array,r),kk=r=>ri(Uint8ClampedArray,r);function Sn(r,t){return Ar(this,arguments,function*(){if(fk(t))return yield Dt(yield Dt(yield*ks(Hn(Sn(r,yield Dt(t))))));const n=function(o){return Ar(this,arguments,function*(){yield yield Dt(yield Dt(o))})},i=function(o){return Ar(this,arguments,function*(){yield Dt(yield*ks(Hn(Rp(function*(a){let l=null;do l=a.next(yield l==null?void 0:l.value);while(!l.done)}(o[Symbol.iterator]())))))})},s=typeof t=="string"||ArrayBuffer.isView(t)||t instanceof ArrayBuffer||t instanceof Km?n(t):gT(t)?i(t):pk(t)?t:n(t);return yield Dt(yield*ks(Hn(Rp(function(o){return Ar(this,arguments,function*(){let a=null;do a=yield Dt(o.next(yield yield Dt(yr(r,a))));while(!a.done)})}(s[Symbol.asyncIterator]()))))),yield Dt(new r)})}const Uk=r=>Sn(Int8Array,r),zk=r=>Sn(Int16Array,r),Vk=r=>Sn(Int32Array,r),jk=r=>Sn(Uint8Array,r),$k=r=>Sn(Uint16Array,r),Gk=r=>Sn(Uint32Array,r),Wk=r=>Sn(Float32Array,r),Hk=r=>Sn(Float64Array,r),Xk=r=>Sn(Uint8ClampedArray,r);function Yk(r,t,e){if(r!==0){e=e.slice(0,t);for(let n=-1,i=e.length;++n0)do if(r[e]!==t[e])return!1;while(++eKo(t))}]`:`[${r}]`:ArrayBuffer.isView(r)?`[${r}]`:JSON.stringify(r,(t,e)=>typeof e=="bigint"?`${e}`:e)}const Zk=Object.freeze(Object.defineProperty({__proto__:null,valueToString:Ko},Symbol.toStringTag,{value:"Module"}));function wr(r){if(typeof r=="bigint"&&(rNumber.MAX_SAFE_INTEGER))throw new TypeError(`${r} is not safe to convert to a number.`);return Number(r)}function vT(r,t){return wr(r/t)+wr(r%t)/wr(t)}const _T=Symbol.for("isArrowBigNum");function Tn(r,...t){return t.length===0?Object.setPrototypeOf(yr(this.TypedArray,r),this.constructor.prototype):Object.setPrototypeOf(new this.TypedArray(r,...t),this.constructor.prototype)}Tn.prototype[_T]=!0;Tn.prototype.toJSON=function(){return`"${Jo(this)}"`};Tn.prototype.valueOf=function(r){return Jm(this,r)};Tn.prototype.toString=function(){return Jo(this)};Tn.prototype[Symbol.toPrimitive]=function(r="default"){switch(r){case"number":return Jm(this);case"string":return Jo(this);case"default":return bT(this)}return Jo(this)};function zo(...r){return Tn.apply(this,r)}function Vo(...r){return Tn.apply(this,r)}function pl(...r){return Tn.apply(this,r)}Object.setPrototypeOf(zo.prototype,Object.create(Int32Array.prototype));Object.setPrototypeOf(Vo.prototype,Object.create(Uint32Array.prototype));Object.setPrototypeOf(pl.prototype,Object.create(Uint32Array.prototype));Object.assign(zo.prototype,Tn.prototype,{constructor:zo,signed:!0,TypedArray:Int32Array,BigIntArray:BigInt64Array});Object.assign(Vo.prototype,Tn.prototype,{constructor:Vo,signed:!1,TypedArray:Uint32Array,BigIntArray:BigUint64Array});Object.assign(pl.prototype,Tn.prototype,{constructor:pl,signed:!0,TypedArray:Uint32Array,BigIntArray:BigUint64Array});const Kk=BigInt(4294967296)*BigInt(4294967296),Jk=Kk-BigInt(1);function Jm(r,t){const{buffer:e,byteOffset:n,byteLength:i,signed:s}=r,o=new BigUint64Array(e,n,i/8),a=s&&o.at(-1)&BigInt(1)<=0)return tf(r);t=t.slice();let n=1;for(let s=0;s(r.children=null,r.ArrayType=Array,r.OffsetArrayType=Int32Array,r[Symbol.toStringTag]="DataType"))(Pt.prototype);class A0 extends Pt{constructor(){super(H.Null)}toString(){return"Null"}}wT=Symbol.toStringTag;A0[wT]=(r=>r[Symbol.toStringTag]="Null")(A0.prototype);class C0 extends Pt{constructor(t,e){super(H.Int),this.isSigned=t,this.bitWidth=e}get ArrayType(){switch(this.bitWidth){case 8:return this.isSigned?Int8Array:Uint8Array;case 16:return this.isSigned?Int16Array:Uint16Array;case 32:return this.isSigned?Int32Array:Uint32Array;case 64:return this.isSigned?BigInt64Array:BigUint64Array}throw new Error(`Unrecognized ${this[Symbol.toStringTag]} type`)}toString(){return`${this.isSigned?"I":"Ui"}nt${this.bitWidth}`}}ST=Symbol.toStringTag;C0[ST]=(r=>(r.isSigned=null,r.bitWidth=null,r[Symbol.toStringTag]="Int"))(C0.prototype);class O0 extends Pt{constructor(t){super(H.Float),this.precision=t}get ArrayType(){switch(this.precision){case jr.HALF:return Uint16Array;case jr.SINGLE:return Float32Array;case jr.DOUBLE:return Float64Array}throw new Error(`Unrecognized ${this[Symbol.toStringTag]} type`)}toString(){return`Float${this.precision<<5||16}`}}TT=Symbol.toStringTag;O0[TT]=(r=>(r.precision=null,r[Symbol.toStringTag]="Float"))(O0.prototype);class P0 extends Pt{constructor(){super(H.Binary)}toString(){return"Binary"}}IT=Symbol.toStringTag;P0[IT]=(r=>(r.ArrayType=Uint8Array,r[Symbol.toStringTag]="Binary"))(P0.prototype);class R0 extends Pt{constructor(){super(H.LargeBinary)}toString(){return"LargeBinary"}}MT=Symbol.toStringTag;R0[MT]=(r=>(r.ArrayType=Uint8Array,r.OffsetArrayType=BigInt64Array,r[Symbol.toStringTag]="LargeBinary"))(R0.prototype);class F0 extends Pt{constructor(){super(H.Utf8)}toString(){return"Utf8"}}ET=Symbol.toStringTag;F0[ET]=(r=>(r.ArrayType=Uint8Array,r[Symbol.toStringTag]="Utf8"))(F0.prototype);class D0 extends Pt{constructor(){super(H.LargeUtf8)}toString(){return"LargeUtf8"}}AT=Symbol.toStringTag;D0[AT]=(r=>(r.ArrayType=Uint8Array,r.OffsetArrayType=BigInt64Array,r[Symbol.toStringTag]="LargeUtf8"))(D0.prototype);class L0 extends Pt{constructor(){super(H.Bool)}toString(){return"Bool"}}CT=Symbol.toStringTag;L0[CT]=(r=>(r.ArrayType=Uint8Array,r[Symbol.toStringTag]="Bool"))(L0.prototype);class N0 extends Pt{constructor(t,e,n=128){super(H.Decimal),this.scale=t,this.precision=e,this.bitWidth=n}toString(){return`Decimal[${this.precision}e${this.scale>0?"+":""}${this.scale}]`}}OT=Symbol.toStringTag;N0[OT]=(r=>(r.scale=null,r.precision=null,r.ArrayType=Uint32Array,r[Symbol.toStringTag]="Decimal"))(N0.prototype);class B0 extends Pt{constructor(t){super(H.Date),this.unit=t}toString(){return`Date${(this.unit+1)*32}<${Zi[this.unit]}>`}get ArrayType(){return this.unit===Zi.DAY?Int32Array:BigInt64Array}}PT=Symbol.toStringTag;B0[PT]=(r=>(r.unit=null,r[Symbol.toStringTag]="Date"))(B0.prototype);class k0 extends Pt{constructor(t,e){super(H.Time),this.unit=t,this.bitWidth=e}toString(){return`Time${this.bitWidth}<${ne[this.unit]}>`}get ArrayType(){switch(this.bitWidth){case 32:return Int32Array;case 64:return BigInt64Array}throw new Error(`Unrecognized ${this[Symbol.toStringTag]} type`)}}RT=Symbol.toStringTag;k0[RT]=(r=>(r.unit=null,r.bitWidth=null,r[Symbol.toStringTag]="Time"))(k0.prototype);class U0 extends Pt{constructor(t,e){super(H.Timestamp),this.unit=t,this.timezone=e}toString(){return`Timestamp<${ne[this.unit]}${this.timezone?`, ${this.timezone}`:""}>`}}FT=Symbol.toStringTag;U0[FT]=(r=>(r.unit=null,r.timezone=null,r.ArrayType=BigInt64Array,r[Symbol.toStringTag]="Timestamp"))(U0.prototype);class z0 extends Pt{constructor(t){super(H.Interval),this.unit=t}toString(){return`Interval<${js[this.unit]}>`}}DT=Symbol.toStringTag;z0[DT]=(r=>(r.unit=null,r.ArrayType=Int32Array,r[Symbol.toStringTag]="Interval"))(z0.prototype);class V0 extends Pt{constructor(t){super(H.Duration),this.unit=t}toString(){return`Duration<${ne[this.unit]}>`}}LT=Symbol.toStringTag;V0[LT]=(r=>(r.unit=null,r.ArrayType=BigInt64Array,r[Symbol.toStringTag]="Duration"))(V0.prototype);class j0 extends Pt{constructor(t){super(H.List),this.children=[t]}toString(){return`List<${this.valueType}>`}get valueType(){return this.children[0].type}get valueField(){return this.children[0]}get ArrayType(){return this.valueType.ArrayType}}NT=Symbol.toStringTag;j0[NT]=(r=>(r.children=null,r[Symbol.toStringTag]="List"))(j0.prototype);class Fp extends Pt{constructor(t){super(H.Struct),this.children=t}toString(){return`Struct<{${this.children.map(t=>`${t.name}:${t.type}`).join(", ")}}>`}}BT=Symbol.toStringTag;Fp[BT]=(r=>(r.children=null,r[Symbol.toStringTag]="Struct"))(Fp.prototype);class $0 extends Pt{constructor(t,e,n){super(H.Union),this.mode=t,this.children=n,this.typeIds=e=Int32Array.from(e),this.typeIdToChildIndex=e.reduce((i,s,o)=>(i[s]=o)&&i||i,Object.create(null))}toString(){return`${this[Symbol.toStringTag]}<${this.children.map(t=>`${t.type}`).join(" | ")}>`}}kT=Symbol.toStringTag;$0[kT]=(r=>(r.mode=null,r.typeIds=null,r.children=null,r.typeIdToChildIndex=null,r.ArrayType=Int8Array,r[Symbol.toStringTag]="Union"))($0.prototype);class G0 extends Pt{constructor(t){super(H.FixedSizeBinary),this.byteWidth=t}toString(){return`FixedSizeBinary[${this.byteWidth}]`}}UT=Symbol.toStringTag;G0[UT]=(r=>(r.byteWidth=null,r.ArrayType=Uint8Array,r[Symbol.toStringTag]="FixedSizeBinary"))(G0.prototype);class W0 extends Pt{constructor(t,e){super(H.FixedSizeList),this.listSize=t,this.children=[e]}get valueType(){return this.children[0].type}get valueField(){return this.children[0]}get ArrayType(){return this.valueType.ArrayType}toString(){return`FixedSizeList[${this.listSize}]<${this.valueType}>`}}zT=Symbol.toStringTag;W0[zT]=(r=>(r.children=null,r.listSize=null,r[Symbol.toStringTag]="FixedSizeList"))(W0.prototype);class H0 extends Pt{constructor(t,e=!1){var n,i,s;if(super(H.Map),this.children=[t],this.keysSorted=e,t&&(t.name="entries",!((n=t==null?void 0:t.type)===null||n===void 0)&&n.children)){const o=(i=t==null?void 0:t.type)===null||i===void 0?void 0:i.children[0];o&&(o.name="key");const a=(s=t==null?void 0:t.type)===null||s===void 0?void 0:s.children[1];a&&(a.name="value")}}get keyType(){return this.children[0].type.children[0].type}get valueType(){return this.children[0].type.children[1].type}get childType(){return this.children[0].type}toString(){return`Map<{${this.children[0].type.children.map(t=>`${t.name}:${t.type}`).join(", ")}}>`}}VT=Symbol.toStringTag;H0[VT]=(r=>(r.children=null,r.keysSorted=null,r[Symbol.toStringTag]="Map_"))(H0.prototype);const eU=(r=>()=>++r)(-1);class X0 extends Pt{constructor(t,e,n,i){super(H.Dictionary),this.indices=e,this.dictionary=t,this.isOrdered=i||!1,this.id=n==null?eU():wr(n)}get children(){return this.dictionary.children}get valueType(){return this.dictionary}get ArrayType(){return this.dictionary.ArrayType}toString(){return`Dictionary<${this.indices}, ${this.dictionary}>`}}jT=Symbol.toStringTag;X0[jT]=(r=>(r.id=null,r.indices=null,r.isOrdered=null,r.dictionary=null,r[Symbol.toStringTag]="Dictionary"))(X0.prototype);function $T(r){const t=r;switch(r.typeId){case H.Decimal:return r.bitWidth/32;case H.Interval:return 1+t.unit;case H.FixedSizeList:return t.listSize;case H.FixedSizeBinary:return t.byteWidth;default:return 1}}class pe{visitMany(t,...e){return t.map((n,i)=>this.visit(n,...e.map(s=>s[i])))}visit(...t){return this.getVisitFn(t[0],!1).apply(this,t)}getVisitFn(t,e=!0){return rU(this,t,e)}getVisitFnByTypeId(t,e=!0){return Io(this,t,e)}visitNull(t,...e){return null}visitBool(t,...e){return null}visitInt(t,...e){return null}visitFloat(t,...e){return null}visitUtf8(t,...e){return null}visitLargeUtf8(t,...e){return null}visitBinary(t,...e){return null}visitLargeBinary(t,...e){return null}visitFixedSizeBinary(t,...e){return null}visitDate(t,...e){return null}visitTimestamp(t,...e){return null}visitTime(t,...e){return null}visitDecimal(t,...e){return null}visitList(t,...e){return null}visitStruct(t,...e){return null}visitUnion(t,...e){return null}visitDictionary(t,...e){return null}visitInterval(t,...e){return null}visitDuration(t,...e){return null}visitFixedSizeList(t,...e){return null}visitMap(t,...e){return null}}function rU(r,t,e=!0){return typeof t=="number"?Io(r,t,e):typeof t=="string"&&t in H?Io(r,H[t],e):t&&t instanceof Pt?Io(r,Y0(t),e):t!=null&&t.type&&t.type instanceof Pt?Io(r,Y0(t.type),e):Io(r,H.NONE,e)}function Io(r,t,e=!0){let n=null;switch(t){case H.Null:n=r.visitNull;break;case H.Bool:n=r.visitBool;break;case H.Int:n=r.visitInt;break;case H.Int8:n=r.visitInt8||r.visitInt;break;case H.Int16:n=r.visitInt16||r.visitInt;break;case H.Int32:n=r.visitInt32||r.visitInt;break;case H.Int64:n=r.visitInt64||r.visitInt;break;case H.Uint8:n=r.visitUint8||r.visitInt;break;case H.Uint16:n=r.visitUint16||r.visitInt;break;case H.Uint32:n=r.visitUint32||r.visitInt;break;case H.Uint64:n=r.visitUint64||r.visitInt;break;case H.Float:n=r.visitFloat;break;case H.Float16:n=r.visitFloat16||r.visitFloat;break;case H.Float32:n=r.visitFloat32||r.visitFloat;break;case H.Float64:n=r.visitFloat64||r.visitFloat;break;case H.Utf8:n=r.visitUtf8;break;case H.LargeUtf8:n=r.visitLargeUtf8;break;case H.Binary:n=r.visitBinary;break;case H.LargeBinary:n=r.visitLargeBinary;break;case H.FixedSizeBinary:n=r.visitFixedSizeBinary;break;case H.Date:n=r.visitDate;break;case H.DateDay:n=r.visitDateDay||r.visitDate;break;case H.DateMillisecond:n=r.visitDateMillisecond||r.visitDate;break;case H.Timestamp:n=r.visitTimestamp;break;case H.TimestampSecond:n=r.visitTimestampSecond||r.visitTimestamp;break;case H.TimestampMillisecond:n=r.visitTimestampMillisecond||r.visitTimestamp;break;case H.TimestampMicrosecond:n=r.visitTimestampMicrosecond||r.visitTimestamp;break;case H.TimestampNanosecond:n=r.visitTimestampNanosecond||r.visitTimestamp;break;case H.Time:n=r.visitTime;break;case H.TimeSecond:n=r.visitTimeSecond||r.visitTime;break;case H.TimeMillisecond:n=r.visitTimeMillisecond||r.visitTime;break;case H.TimeMicrosecond:n=r.visitTimeMicrosecond||r.visitTime;break;case H.TimeNanosecond:n=r.visitTimeNanosecond||r.visitTime;break;case H.Decimal:n=r.visitDecimal;break;case H.List:n=r.visitList;break;case H.Struct:n=r.visitStruct;break;case H.Union:n=r.visitUnion;break;case H.DenseUnion:n=r.visitDenseUnion||r.visitUnion;break;case H.SparseUnion:n=r.visitSparseUnion||r.visitUnion;break;case H.Dictionary:n=r.visitDictionary;break;case H.Interval:n=r.visitInterval;break;case H.IntervalDayTime:n=r.visitIntervalDayTime||r.visitInterval;break;case H.IntervalYearMonth:n=r.visitIntervalYearMonth||r.visitInterval;break;case H.Duration:n=r.visitDuration;break;case H.DurationSecond:n=r.visitDurationSecond||r.visitDuration;break;case H.DurationMillisecond:n=r.visitDurationMillisecond||r.visitDuration;break;case H.DurationMicrosecond:n=r.visitDurationMicrosecond||r.visitDuration;break;case H.DurationNanosecond:n=r.visitDurationNanosecond||r.visitDuration;break;case H.FixedSizeList:n=r.visitFixedSizeList;break;case H.Map:n=r.visitMap;break}if(typeof n=="function")return n;if(!e)return()=>null;throw new Error(`Unrecognized type '${H[t]}'`)}function Y0(r){switch(r.typeId){case H.Null:return H.Null;case H.Int:{const{bitWidth:t,isSigned:e}=r;switch(t){case 8:return e?H.Int8:H.Uint8;case 16:return e?H.Int16:H.Uint16;case 32:return e?H.Int32:H.Uint32;case 64:return e?H.Int64:H.Uint64}return H.Int}case H.Float:switch(r.precision){case jr.HALF:return H.Float16;case jr.SINGLE:return H.Float32;case jr.DOUBLE:return H.Float64}return H.Float;case H.Binary:return H.Binary;case H.LargeBinary:return H.LargeBinary;case H.Utf8:return H.Utf8;case H.LargeUtf8:return H.LargeUtf8;case H.Bool:return H.Bool;case H.Decimal:return H.Decimal;case H.Time:switch(r.unit){case ne.SECOND:return H.TimeSecond;case ne.MILLISECOND:return H.TimeMillisecond;case ne.MICROSECOND:return H.TimeMicrosecond;case ne.NANOSECOND:return H.TimeNanosecond}return H.Time;case H.Timestamp:switch(r.unit){case ne.SECOND:return H.TimestampSecond;case ne.MILLISECOND:return H.TimestampMillisecond;case ne.MICROSECOND:return H.TimestampMicrosecond;case ne.NANOSECOND:return H.TimestampNanosecond}return H.Timestamp;case H.Date:switch(r.unit){case Zi.DAY:return H.DateDay;case Zi.MILLISECOND:return H.DateMillisecond}return H.Date;case H.Interval:switch(r.unit){case js.DAY_TIME:return H.IntervalDayTime;case js.YEAR_MONTH:return H.IntervalYearMonth}return H.Interval;case H.Duration:switch(r.unit){case ne.SECOND:return H.DurationSecond;case ne.MILLISECOND:return H.DurationMillisecond;case ne.MICROSECOND:return H.DurationMicrosecond;case ne.NANOSECOND:return H.DurationNanosecond}return H.Duration;case H.Map:return H.Map;case H.List:return H.List;case H.Struct:return H.Struct;case H.Union:switch(r.mode){case Zn.Dense:return H.DenseUnion;case Zn.Sparse:return H.SparseUnion}return H.Union;case H.FixedSizeBinary:return H.FixedSizeBinary;case H.FixedSizeList:return H.FixedSizeList;case H.Dictionary:return H.Dictionary}throw new Error(`Unrecognized type '${H[r.typeId]}'`)}pe.prototype.visitInt8=null;pe.prototype.visitInt16=null;pe.prototype.visitInt32=null;pe.prototype.visitInt64=null;pe.prototype.visitUint8=null;pe.prototype.visitUint16=null;pe.prototype.visitUint32=null;pe.prototype.visitUint64=null;pe.prototype.visitFloat16=null;pe.prototype.visitFloat32=null;pe.prototype.visitFloat64=null;pe.prototype.visitDateDay=null;pe.prototype.visitDateMillisecond=null;pe.prototype.visitTimestampSecond=null;pe.prototype.visitTimestampMillisecond=null;pe.prototype.visitTimestampMicrosecond=null;pe.prototype.visitTimestampNanosecond=null;pe.prototype.visitTimeSecond=null;pe.prototype.visitTimeMillisecond=null;pe.prototype.visitTimeMicrosecond=null;pe.prototype.visitTimeNanosecond=null;pe.prototype.visitDenseUnion=null;pe.prototype.visitSparseUnion=null;pe.prototype.visitIntervalDayTime=null;pe.prototype.visitIntervalYearMonth=null;pe.prototype.visitDuration=null;pe.prototype.visitDurationSecond=null;pe.prototype.visitDurationMillisecond=null;pe.prototype.visitDurationMicrosecond=null;pe.prototype.visitDurationNanosecond=null;const GT=new Float64Array(1),uo=new Uint32Array(GT.buffer);function tg(r){const t=(r&31744)>>10,e=(r&1023)/1024,n=Math.pow(-1,(r&32768)>>15);switch(t){case 31:return n*(e?Number.NaN:1/0);case 0:return n*(e?6103515625e-14*e:0)}return n*Math.pow(2,t-15)*(1+e)}function WT(r){if(r!==r)return 32256;GT[0]=r;const t=(uo[1]&2147483648)>>16&65535;let e=uo[1]&2146435072,n=0;return e>=1089470464?uo[0]>0?e=31744:(e=(e&2080374784)>>16,n=(uo[1]&1048575)>>10):e<=1056964608?(n=1048576+(uo[1]&1048575),n=1048576+(n<<(e>>20)-998)>>21,e=0):(e=e-1056964608>>10,n=(uo[1]&1048575)+512>>10),t|e|n&65535}const nU=Object.freeze(Object.defineProperty({__proto__:null,float64ToUint16:WT,uint16ToFloat64:tg},Symbol.toStringTag,{value:"Module"}));class Xt extends pe{}function Kt(r){return(t,e,n)=>{if(t.setValid(e,n!=null))return r(t,e,n)}}const iU=(r,t,e)=>{r[t]=Math.floor(e/864e5)},HT=(r,t,e,n)=>{if(e+1{const i=r+e;n?t[i>>3]|=1<>3]&=~(1<{r[t]=e},eg=({values:r},t,e)=>{r[t]=e},XT=({values:r},t,e)=>{r[t]=WT(e)},oU=(r,t,e)=>{switch(r.type.precision){case jr.HALF:return XT(r,t,e);case jr.SINGLE:case jr.DOUBLE:return eg(r,t,e)}},YT=({values:r},t,e)=>{iU(r,t,e.valueOf())},qT=({values:r},t,e)=>{r[t]=BigInt(e)},aU=({stride:r,values:t},e,n)=>{t.set(n.subarray(0,r),r*e)},QT=({values:r,valueOffsets:t},e,n)=>HT(r,t,e,n),ZT=({values:r,valueOffsets:t},e,n)=>HT(r,t,e,mT(n)),lU=(r,t,e)=>{r.type.unit===Zi.DAY?YT(r,t,e):qT(r,t,e)},KT=({values:r},t,e)=>{r[t]=BigInt(e/1e3)},JT=({values:r},t,e)=>{r[t]=BigInt(e)},tI=({values:r},t,e)=>{r[t]=BigInt(e*1e3)},eI=({values:r},t,e)=>{r[t]=BigInt(e*1e6)},uU=(r,t,e)=>{switch(r.type.unit){case ne.SECOND:return KT(r,t,e);case ne.MILLISECOND:return JT(r,t,e);case ne.MICROSECOND:return tI(r,t,e);case ne.NANOSECOND:return eI(r,t,e)}},rI=({values:r},t,e)=>{r[t]=e},nI=({values:r},t,e)=>{r[t]=e},iI=({values:r},t,e)=>{r[t]=e},sI=({values:r},t,e)=>{r[t]=e},cU=(r,t,e)=>{switch(r.type.unit){case ne.SECOND:return rI(r,t,e);case ne.MILLISECOND:return nI(r,t,e);case ne.MICROSECOND:return iI(r,t,e);case ne.NANOSECOND:return sI(r,t,e)}},hU=({values:r,stride:t},e,n)=>{r.set(n.subarray(0,t),t*e)},dU=(r,t,e)=>{const n=r.children[0],i=r.valueOffsets,s=Kn.getVisitFn(n);if(Array.isArray(e))for(let o=-1,a=i[t],l=i[t+1];a{const n=r.children[0],{valueOffsets:i}=r,s=Kn.getVisitFn(n);let{[t]:o,[t+1]:a}=i;const l=e instanceof Map?e.entries():Object.entries(e);for(const u of l)if(s(n,o,u),++o>=a)break},pU=(r,t)=>(e,n,i,s)=>n&&e(n,r,t[s]),mU=(r,t)=>(e,n,i,s)=>n&&e(n,r,t.get(s)),gU=(r,t)=>(e,n,i,s)=>n&&e(n,r,t.get(i.name)),yU=(r,t)=>(e,n,i,s)=>n&&e(n,r,t[i.name]),vU=(r,t,e)=>{const n=r.type.children.map(s=>Kn.getVisitFn(s.type)),i=e instanceof Map?gU(t,e):e instanceof lr?mU(t,e):Array.isArray(e)?pU(t,e):yU(t,e);r.type.children.forEach((s,o)=>i(n[o],r.children[o],s,o))},_U=(r,t,e)=>{r.type.mode===Zn.Dense?oI(r,t,e):aI(r,t,e)},oI=(r,t,e)=>{const n=r.type.typeIdToChildIndex[r.typeIds[t]],i=r.children[n];Kn.visit(i,r.valueOffsets[t],e)},aI=(r,t,e)=>{const n=r.type.typeIdToChildIndex[r.typeIds[t]],i=r.children[n];Kn.visit(i,t,e)},bU=(r,t,e)=>{var n;(n=r.dictionary)===null||n===void 0||n.set(r.values[t],e)},xU=(r,t,e)=>{r.type.unit===js.DAY_TIME?lI(r,t,e):uI(r,t,e)},lI=({values:r},t,e)=>{r.set(e.subarray(0,2),2*t)},uI=({values:r},t,e)=>{r[t]=e[0]*12+e[1]%12},cI=({values:r},t,e)=>{r[t]=e},hI=({values:r},t,e)=>{r[t]=e},dI=({values:r},t,e)=>{r[t]=e},fI=({values:r},t,e)=>{r[t]=e},wU=(r,t,e)=>{switch(r.type.unit){case ne.SECOND:return cI(r,t,e);case ne.MILLISECOND:return hI(r,t,e);case ne.MICROSECOND:return dI(r,t,e);case ne.NANOSECOND:return fI(r,t,e)}},SU=(r,t,e)=>{const{stride:n}=r,i=r.children[0],s=Kn.getVisitFn(i);if(Array.isArray(e))for(let o=-1,a=t*n;++o`${Ko(t)}: ${Ko(e)}`).join(", ")}}`}[Symbol.for("nodejs.util.inspect.custom")](){return this.toString()}[Symbol.iterator](){return new TU(this[vn],this[jo])}}class TU{constructor(t,e){this.childIndex=0,this.children=t.children,this.rowIndex=e,this.childFields=t.type.children,this.numChildren=this.childFields.length}[Symbol.iterator](){return this}next(){const t=this.childIndex;return te.name)}has(t,e){return t[vn].type.children.some(n=>n.name===e)}getOwnPropertyDescriptor(t,e){if(t[vn].type.children.some(n=>n.name===e))return{writable:!0,enumerable:!0,configurable:!0}}get(t,e){if(Reflect.has(t,e))return t[e];const n=t[vn].type.children.findIndex(i=>i.name===e);if(n!==-1){const i=pn.visit(t[vn].children[n],t[jo]);return Reflect.set(t,e,i),i}}set(t,e,n){const i=t[vn].type.children.findIndex(s=>s.name===e);return i!==-1?(Kn.visit(t[vn].children[i],t[jo],n),Reflect.set(t,e,n)):Reflect.has(t,e)||typeof e=="symbol"?Reflect.set(t,e,n):!1}}const MU=new IU;class Ut extends pe{}function Yt(r){return(t,e)=>t.getValid(e)?r(t,e):null}const EU=(r,t)=>864e5*r[t],AU=(r,t)=>null,pI=(r,t,e)=>{if(e+1>=t.length)return null;const n=wr(t[e]),i=wr(t[e+1]);return r.subarray(n,i)},CU=({offset:r,values:t},e)=>{const n=r+e;return(t[n>>3]&1<EU(r,t),gI=({values:r},t)=>wr(r[t]),es=({stride:r,values:t},e)=>t[r*e],OU=({stride:r,values:t},e)=>tg(t[r*e]),yI=({values:r},t)=>r[t],PU=({stride:r,values:t},e)=>t.subarray(r*e,r*(e+1)),vI=({values:r,valueOffsets:t},e)=>pI(r,t,e),_I=({values:r,valueOffsets:t},e)=>{const n=pI(r,t,e);return n!==null?hk(n):null},RU=({values:r},t)=>r[t],FU=({type:r,values:t},e)=>r.precision!==jr.HALF?t[e]:tg(t[e]),DU=(r,t)=>r.type.unit===Zi.DAY?mI(r,t):gI(r,t),bI=({values:r},t)=>1e3*wr(r[t]),xI=({values:r},t)=>wr(r[t]),wI=({values:r},t)=>vT(r[t],BigInt(1e3)),SI=({values:r},t)=>vT(r[t],BigInt(1e6)),LU=(r,t)=>{switch(r.type.unit){case ne.SECOND:return bI(r,t);case ne.MILLISECOND:return xI(r,t);case ne.MICROSECOND:return wI(r,t);case ne.NANOSECOND:return SI(r,t)}},TI=({values:r},t)=>r[t],II=({values:r},t)=>r[t],MI=({values:r},t)=>r[t],EI=({values:r},t)=>r[t],NU=(r,t)=>{switch(r.type.unit){case ne.SECOND:return TI(r,t);case ne.MILLISECOND:return II(r,t);case ne.MICROSECOND:return MI(r,t);case ne.NANOSECOND:return EI(r,t)}},BU=({values:r,stride:t},e)=>ih.decimal(r.subarray(t*e,t*(e+1))),kU=(r,t)=>{const{valueOffsets:e,stride:n,children:i}=r,{[t*n]:s,[t*n+1]:o}=e,l=i[0].slice(s,o-s);return new lr([l])},UU=(r,t)=>{const{valueOffsets:e,children:n}=r,{[t]:i,[t+1]:s}=e,o=n[0];return new ng(o.slice(i,s-i))},zU=(r,t)=>new rg(r,t),VU=(r,t)=>r.type.mode===Zn.Dense?AI(r,t):CI(r,t),AI=(r,t)=>{const e=r.type.typeIdToChildIndex[r.typeIds[t]],n=r.children[e];return pn.visit(n,r.valueOffsets[t])},CI=(r,t)=>{const e=r.type.typeIdToChildIndex[r.typeIds[t]],n=r.children[e];return pn.visit(n,t)},jU=(r,t)=>{var e;return(e=r.dictionary)===null||e===void 0?void 0:e.get(r.values[t])},$U=(r,t)=>r.type.unit===js.DAY_TIME?OI(r,t):PI(r,t),OI=({values:r},t)=>r.subarray(2*t,2*(t+1)),PI=({values:r},t)=>{const e=r[t],n=new Int32Array(2);return n[0]=Math.trunc(e/12),n[1]=Math.trunc(e%12),n},RI=({values:r},t)=>r[t],FI=({values:r},t)=>r[t],DI=({values:r},t)=>r[t],LI=({values:r},t)=>r[t],GU=(r,t)=>{switch(r.type.unit){case ne.SECOND:return RI(r,t);case ne.MILLISECOND:return FI(r,t);case ne.MICROSECOND:return DI(r,t);case ne.NANOSECOND:return LI(r,t)}},WU=(r,t)=>{const{stride:e,children:n}=r,s=n[0].slice(t*e,e);return new lr([s])};Ut.prototype.visitNull=Yt(AU);Ut.prototype.visitBool=Yt(CU);Ut.prototype.visitInt=Yt(RU);Ut.prototype.visitInt8=Yt(es);Ut.prototype.visitInt16=Yt(es);Ut.prototype.visitInt32=Yt(es);Ut.prototype.visitInt64=Yt(yI);Ut.prototype.visitUint8=Yt(es);Ut.prototype.visitUint16=Yt(es);Ut.prototype.visitUint32=Yt(es);Ut.prototype.visitUint64=Yt(yI);Ut.prototype.visitFloat=Yt(FU);Ut.prototype.visitFloat16=Yt(OU);Ut.prototype.visitFloat32=Yt(es);Ut.prototype.visitFloat64=Yt(es);Ut.prototype.visitUtf8=Yt(_I);Ut.prototype.visitLargeUtf8=Yt(_I);Ut.prototype.visitBinary=Yt(vI);Ut.prototype.visitLargeBinary=Yt(vI);Ut.prototype.visitFixedSizeBinary=Yt(PU);Ut.prototype.visitDate=Yt(DU);Ut.prototype.visitDateDay=Yt(mI);Ut.prototype.visitDateMillisecond=Yt(gI);Ut.prototype.visitTimestamp=Yt(LU);Ut.prototype.visitTimestampSecond=Yt(bI);Ut.prototype.visitTimestampMillisecond=Yt(xI);Ut.prototype.visitTimestampMicrosecond=Yt(wI);Ut.prototype.visitTimestampNanosecond=Yt(SI);Ut.prototype.visitTime=Yt(NU);Ut.prototype.visitTimeSecond=Yt(TI);Ut.prototype.visitTimeMillisecond=Yt(II);Ut.prototype.visitTimeMicrosecond=Yt(MI);Ut.prototype.visitTimeNanosecond=Yt(EI);Ut.prototype.visitDecimal=Yt(BU);Ut.prototype.visitList=Yt(kU);Ut.prototype.visitStruct=Yt(zU);Ut.prototype.visitUnion=Yt(VU);Ut.prototype.visitDenseUnion=Yt(AI);Ut.prototype.visitSparseUnion=Yt(CI);Ut.prototype.visitDictionary=Yt(jU);Ut.prototype.visitInterval=Yt($U);Ut.prototype.visitIntervalDayTime=Yt(OI);Ut.prototype.visitIntervalYearMonth=Yt(PI);Ut.prototype.visitDuration=Yt(GU);Ut.prototype.visitDurationSecond=Yt(RI);Ut.prototype.visitDurationMillisecond=Yt(FI);Ut.prototype.visitDurationMicrosecond=Yt(DI);Ut.prototype.visitDurationNanosecond=Yt(LI);Ut.prototype.visitFixedSizeList=Yt(WU);Ut.prototype.visitMap=Yt(UU);const pn=new Ut,Mo=Symbol.for("keys"),$o=Symbol.for("vals"),Eo=Symbol.for("kKeysAsStrings"),Dp=Symbol.for("_kKeysAsStrings");class ng{constructor(t){return this[Mo]=new lr([t.children[0]]).memoize(),this[$o]=t.children[1],new Proxy(this,new XU)}get[Eo](){return this[Dp]||(this[Dp]=Array.from(this[Mo].toArray(),String))}[Symbol.iterator](){return new HU(this[Mo],this[$o])}get size(){return this[Mo].length}toArray(){return Object.values(this.toJSON())}toJSON(){const t=this[Mo],e=this[$o],n={};for(let i=-1,s=t.length;++i`${Ko(t)}: ${Ko(e)}`).join(", ")}}`}[Symbol.for("nodejs.util.inspect.custom")](){return this.toString()}}class HU{constructor(t,e){this.keys=t,this.vals=e,this.keyIndex=0,this.numKeys=t.length}[Symbol.iterator](){return this}next(){const t=this.keyIndex;return t===this.numKeys?{done:!0,value:null}:(this.keyIndex++,{done:!1,value:[this.keys.get(t),pn.visit(this.vals,t)]})}}class XU{isExtensible(){return!1}deleteProperty(){return!1}preventExtensions(){return!0}ownKeys(t){return t[Eo]}has(t,e){return t[Eo].includes(e)}getOwnPropertyDescriptor(t,e){if(t[Eo].indexOf(e)!==-1)return{writable:!0,enumerable:!0,configurable:!0}}get(t,e){if(Reflect.has(t,e))return t[e];const n=t[Eo].indexOf(e);if(n!==-1){const i=pn.visit(Reflect.get(t,$o),n);return Reflect.set(t,e,i),i}}set(t,e,n){const i=t[Eo].indexOf(e);return i!==-1?(Kn.visit(Reflect.get(t,$o),i,n),Reflect.set(t,e,n)):Reflect.has(t,e)?Reflect.set(t,e,n):!1}}Object.defineProperties(ng.prototype,{[Symbol.toStringTag]:{enumerable:!1,configurable:!1,value:"Row"},[Mo]:{writable:!0,enumerable:!1,configurable:!1,value:null},[$o]:{writable:!0,enumerable:!1,configurable:!1,value:null},[Dp]:{writable:!0,enumerable:!1,configurable:!1,value:null}});let q0;function NI(r,t,e,n){const{length:i=0}=r;let s=typeof t!="number"?0:t,o=typeof e!="number"?i:e;return s<0&&(s=(s%i+i)%i),o<0&&(o=(o%i+i)%i),oi&&(o=i),n?n(r,s,o):[s,o]}const BI=(r,t)=>r<0?t+r:r,Q0=r=>r!==r;function Zs(r){if(typeof r!=="object"||r===null)return Q0(r)?Q0:e=>e===r;if(r instanceof Date){const e=r.valueOf();return n=>n instanceof Date?n.valueOf()===e:!1}return ArrayBuffer.isView(r)?e=>e?yT(r,e):!1:r instanceof Map?qU(r):Array.isArray(r)?YU(r):r instanceof lr?QU(r):ZU(r,!0)}function YU(r){const t=[];for(let e=-1,n=r.length;++e!1;const n=[];for(let i=-1,s=e.length;++i{if(!e||typeof e!="object")return!1;switch(e.constructor){case Array:return KU(r,e);case Map:return Z0(r,e,e.keys());case ng:case rg:case Object:case void 0:return Z0(r,e,t||Object.keys(e))}return e instanceof lr?JU(r,e):!1}}function KU(r,t){const e=r.length;if(t.length!==e)return!1;for(let n=-1;++n>n}function e4(r,t,e){return e?!!(r[t>>3]|=1<>3]&=~(1<0||e.byteLength>3):UI(new oh(e,r,t,null,ig)).subarray(0,n)),i}return e}function UI(r){const t=[];let e=0,n=0,i=0;for(const o of r)o&&(i|=1<0)&&(t[e++]=i);const s=new Uint8Array(t.length+7&-8);return s.set(t),s}class oh{constructor(t,e,n,i,s){this.bytes=t,this.length=n,this.context=i,this.get=s,this.bit=e%8,this.byteIndex=e>>3,this.byte=t[this.byteIndex++],this.index=0}next(){return this.index>3<<3,i=t+(t%8===0?0:8-t%8);return Tc(r,t,i)+Tc(r,n,e)+zI(r,i>>3,n-i>>3)}function zI(r,t,e){let n=0,i=Math.trunc(t);const s=new DataView(r.buffer,r.byteOffset,r.byteLength),o=e===void 0?r.byteLength:i+e;for(;o-i>=4;)n+=Eu(s.getUint32(i)),i+=4;for(;o-i>=2;)n+=Eu(s.getUint16(i)),i+=2;for(;o-i>=1;)n+=Eu(s.getUint8(i)),i+=1;return n}function Eu(r){let t=Math.trunc(r);return t=t-(t>>>1&1431655765),t=(t&858993459)+(t>>>2&858993459),(t+(t>>>4)&252645135)*16843009>>>24}const r4=Object.freeze(Object.defineProperty({__proto__:null,BitIterator:oh,getBit:kI,getBool:ig,packBools:UI,popcnt_array:zI,popcnt_bit_range:Tc,popcnt_uint32:Eu,setBool:e4,truncateBitmap:Lp},Symbol.toStringTag,{value:"Module"})),n4=-1;class ml{get typeId(){return this.type.typeId}get ArrayType(){return this.type.ArrayType}get buffers(){return[this.valueOffsets,this.values,this.nullBitmap,this.typeIds]}get nullable(){if(this._nullCount!==0){const{type:t}=this;return Pt.isSparseUnion(t)?this.children.some(e=>e.nullable):Pt.isDenseUnion(t)?this.children.some(e=>e.nullable):this.nullBitmap&&this.nullBitmap.byteLength>0}return!0}get byteLength(){let t=0;const{valueOffsets:e,values:n,nullBitmap:i,typeIds:s}=this;return e&&(t+=e.byteLength),n&&(t+=n.byteLength),i&&(t+=i.byteLength),s&&(t+=s.byteLength),this.children.reduce((o,a)=>o+a.byteLength,t)}get nullCount(){if(Pt.isUnion(this.type))return this.children.reduce((n,i)=>n+i.nullCount,0);let t=this._nullCount,e;return t<=n4&&(e=this.nullBitmap)&&(this._nullCount=t=e.length===0?0:this.length-Tc(e,this.offset,this.offset+this.length)),t}constructor(t,e,n,i,s,o=[],a){this.type=t,this.children=o,this.dictionary=a,this.offset=Math.floor(Math.max(e||0,0)),this.length=Math.floor(Math.max(n||0,0)),this._nullCount=Math.floor(Math.max(i||0,-1));let l;s instanceof ml?(this.stride=s.stride,this.values=s.values,this.typeIds=s.typeIds,this.nullBitmap=s.nullBitmap,this.valueOffsets=s.valueOffsets):(this.stride=$T(t),s&&((l=s[0])&&(this.valueOffsets=l),(l=s[1])&&(this.values=l),(l=s[2])&&(this.nullBitmap=l),(l=s[3])&&(this.typeIds=l)))}getValid(t){const{type:e}=this;if(Pt.isUnion(e)){const n=e,i=this.children[n.typeIdToChildIndex[this.typeIds[t]]],s=n.mode===Zn.Dense?this.valueOffsets[t]:t;return i.getValid(s)}if(this.nullable&&this.nullCount>0){const n=this.offset+t;return(this.nullBitmap[n>>3]&1<>3;(!s||s.byteLength<=c)&&(s=new Uint8Array((o+a+63&-64)>>3).fill(255),this.nullCount>0?(s.set(Lp(o,a,this.nullBitmap),0),Object.assign(this,{nullBitmap:s})):Object.assign(this,{nullBitmap:s,_nullCount:0}));const h=s[c];n=(h&u)!==0,s[c]=e?h|u:h&~u}return n!==!!e&&(this._nullCount=this.nullCount+(e?-1:1)),e}clone(t=this.type,e=this.offset,n=this.length,i=this._nullCount,s=this,o=this.children){return new ml(t,e,n,i,s,o,this.dictionary)}slice(t,e){const{stride:n,typeId:i,children:s}=this,o=+(this._nullCount===0)-1,a=i===16?n:1,l=this._sliceBuffers(t,e,n,i);return this.clone(this.type,this.offset+t,e,o,l,s.length===0||this.valueOffsets?s:this._sliceChildren(s,a*t,a*e))}_changeLengthAndBackfillNullBitmap(t){if(this.typeId===H.Null)return this.clone(this.type,0,t,0);const{length:e,nullCount:n}=this,i=new Uint8Array((t+63&-64)>>3).fill(255,0,e>>3);i[e>>3]=(1<0&&i.set(Lp(this.offset,e,this.nullBitmap),0);const s=this.buffers;return s[pi.VALIDITY]=i,this.clone(this.type,0,t,n+(t-e),s)}_sliceBuffers(t,e,n,i){let s;const{buffers:o}=this;return(s=o[pi.TYPE])&&(o[pi.TYPE]=s.subarray(t,t+e)),(s=o[pi.OFFSET])&&(o[pi.OFFSET]=s.subarray(t,t+e+1))||(s=o[pi.DATA])&&(o[pi.DATA]=i===6?s:s.subarray(n*t,n*(t+e))),o}_sliceChildren(t,e,n){return t.map(i=>i.slice(e,n))}}ml.prototype.children=Object.freeze([]);class K0{constructor(t=0,e){this.numChunks=t,this.getChunkIterator=e,this.chunkIndex=0,this.chunkIterator=this.getChunkIterator(0)}next(){for(;this.chunkIndext.nullable)}function s4(r){return r.reduce((t,e)=>t+e.nullCount,0)}function o4(r){return r.reduce((t,e,n)=>(t[n+1]=t[n]+e.length,t),new Uint32Array(r.length+1))}function a4(r,t,e,n){const i=[];for(let s=-1,o=r.length;++s=n)break;if(e>=l+u)continue;if(l>=e&&l+u<=n){i.push(a);continue}const c=Math.max(0,e-l),h=Math.min(n-l,u);i.push(a.slice(c,h-c))}return i.length===0&&i.push(r[0].slice(0,0)),i}function sg(r,t,e,n){let i=0,s=0,o=t.length-1;do{if(i>=o-1)return e0?0:-1}function h4(r,t){const{nullBitmap:e}=r;if(!e||r.nullCount<=0)return-1;let n=0;for(const i of new oh(e,r.offset+(t||0),r.length,e,ig)){if(!i)return n;++n}return-1}function ee(r,t,e){if(t===void 0)return-1;if(t===null)switch(r.typeId){case H.Union:break;case H.Dictionary:break;default:return h4(r,e)}const n=pn.getVisitFn(r),i=Zs(t);for(let s=(e||0)-1,o=r.length;++s{const i=r.data[n];return i.values.subarray(0,i.length)[Symbol.iterator]()});let e=0;return new K0(r.data.length,n=>{const s=r.data[n].length,o=r.slice(e,e+s);return e+=s,new d4(o)})}class d4{constructor(t){this.vector=t,this.index=0}next(){return this.indexa.data):t;if(s.length===0||s.some(a=>!(a instanceof ml)))throw new TypeError("Vector constructor expects an Array of Data instances.");const o=(e=s[0])===null||e===void 0?void 0:e.type;switch(s.length){case 0:this._offsets=[0];break;case 1:{const{get:a,set:l,indexOf:u}=GI[o.typeId],c=s[0];this.isValid=h=>VI(c,h),this.get=h=>a(c,h),this.set=(h,f)=>l(c,h,f),this.indexOf=h=>u(c,h),this._offsets=[0,c.length];break}default:Object.setPrototypeOf(this,WI[o.typeId]),this._offsets=o4(s);break}this.data=s,this.type=o,this.stride=$T(o),this.numChildren=(i=(n=o.children)===null||n===void 0?void 0:n.length)!==null&&i!==void 0?i:0,this.length=this._offsets.at(-1)}get byteLength(){return this.data.reduce((t,e)=>t+e.byteLength,0)}get nullable(){return i4(this.data)}get nullCount(){return s4(this.data)}get ArrayType(){return this.type.ArrayType}get[Symbol.toStringTag](){return`${this.VectorName}<${this.type[Symbol.toStringTag]}>`}get VectorName(){return`${H[this.type.typeId]}Vector`}isValid(t){return!1}get(t){return null}at(t){return this.get(BI(t,this.length))}set(t,e){}indexOf(t,e){return-1}includes(t,e){return this.indexOf(t,e)>-1}[Symbol.iterator](){return f4.visit(this)}concat(...t){return new lr(this.data.concat(t.flatMap(e=>e.data).flat(Number.POSITIVE_INFINITY)))}slice(t,e){return new lr(NI(this,t,e,({data:n,_offsets:i},s,o)=>a4(n,i,s,o)))}toJSON(){return[...this]}toArray(){const{type:t,data:e,length:n,stride:i,ArrayType:s}=this;switch(t.typeId){case H.Int:case H.Float:case H.Decimal:case H.Time:case H.Timestamp:switch(e.length){case 0:return new s;case 1:return e[0].values.subarray(0,n*i);default:return e.reduce((o,{values:a,length:l})=>(o.array.set(a.subarray(0,l*i),o.offset),o.offset+=l*i,o),{array:new s(n*i),offset:0}).array}}return[...this]}toString(){return`[${[...this].join(",")}]`}getChild(t){var e;return this.getChildAt((e=this.type.children)===null||e===void 0?void 0:e.findIndex(n=>n.name===t))}getChildAt(t){return t>-1&&te[t])):null}get isMemoized(){return Pt.isDictionary(this.type)?this.data[0].dictionary.isMemoized:!1}memoize(){if(Pt.isDictionary(this.type)){const t=new Ic(this.data[0].dictionary),e=this.data.map(n=>{const i=n.clone();return i.dictionary=t,i});return new lr(e)}return new Ic(this)}unmemoize(){if(Pt.isDictionary(this.type)&&this.isMemoized){const t=this.data[0].dictionary.unmemoize(),e=this.data.map(n=>{const i=n.clone();return i.dictionary=t,i});return new lr(e)}return this}}$I=Symbol.toStringTag;lr[$I]=(r=>{r.type=Pt.prototype,r.data=[],r.length=0,r.stride=1,r.numChildren=0,r._offsets=new Uint32Array([0]),r[Symbol.isConcatSpreadable]=!0;const t=Object.keys(H).map(e=>H[e]).filter(e=>typeof e=="number"&&e!==H.NONE);for(const e of t){const n=pn.getVisitFnByTypeId(e),i=Kn.getVisitFnByTypeId(e),s=t_.getVisitFnByTypeId(e);GI[e]={get:n,set:i,indexOf:s},WI[e]=Object.create(r,{isValid:{value:J0(VI)},get:{value:J0(pn.getVisitFnByTypeId(e))},set:{value:l4(Kn.getVisitFnByTypeId(e))},indexOf:{value:u4(t_.getVisitFnByTypeId(e))}})}return"Vector"})(lr.prototype);class Ic extends lr{constructor(t){super(t.data);const e=this.get,n=this.set,i=this.slice,s=new Array(this.length);Object.defineProperty(this,"get",{value(o){const a=s[o];if(a!==void 0)return a;const l=e.call(this,o);return s[o]=l,l}}),Object.defineProperty(this,"set",{value(o,a){n.call(this,o,a),s[o]=a}}),Object.defineProperty(this,"slice",{value:(o,a)=>new Ic(i.call(this,o,a))}),Object.defineProperty(this,"isMemoized",{value:!0}),Object.defineProperty(this,"unmemoize",{value:()=>new lr(this.data)}),Object.defineProperty(this,"memoize",{value:()=>this})}}const p4=65536;function Po(r){return r<0&&(r=4294967295+r+1),`0x${r.toString(16)}`}const ta=8,og=[1,10,100,1e3,1e4,1e5,1e6,1e7,1e8];class ag{constructor(t){this.buffer=t}high(){return this.buffer[1]}low(){return this.buffer[0]}_times(t){const e=new Uint32Array([this.buffer[1]>>>16,this.buffer[1]&65535,this.buffer[0]>>>16,this.buffer[0]&65535]),n=new Uint32Array([t.buffer[1]>>>16,t.buffer[1]&65535,t.buffer[0]>>>16,t.buffer[0]&65535]);let i=e[3]*n[3];this.buffer[0]=i&65535;let s=i>>>16;return i=e[2]*n[3],s+=i,i=e[3]*n[2]>>>0,s+=i,this.buffer[0]+=s<<16,this.buffer[1]=s>>>0>>16,this.buffer[1]+=e[1]*n[3]+e[2]*n[2]+e[3]*n[1],this.buffer[1]+=e[0]*n[3]+e[1]*n[2]+e[2]*n[1]+e[3]*n[0]<<16,this}_plus(t){const e=this.buffer[0]+t.buffer[0]>>>0;this.buffer[1]+=t.buffer[1],e>>0&&++this.buffer[1],this.buffer[0]=e}lessThan(t){return this.buffer[1]>>0,e[2]=this.buffer[2]+t.buffer[2]>>>0,e[1]=this.buffer[1]+t.buffer[1]>>>0,e[0]=this.buffer[0]+t.buffer[0]>>>0,e[0]>>0&&++e[1],e[1]>>0&&++e[2],e[2]>>0&&++e[3],this.buffer[3]=e[3],this.buffer[2]=e[2],this.buffer[1]=e[1],this.buffer[0]=e[0],this}hex(){return`${Po(this.buffer[3])} ${Po(this.buffer[2])} ${Po(this.buffer[1])} ${Po(this.buffer[0])}`}static multiply(t,e){return new Dn(new Uint32Array(t.buffer)).times(e)}static add(t,e){return new Dn(new Uint32Array(t.buffer)).plus(e)}static from(t,e=new Uint32Array(4)){return Dn.fromString(typeof t=="string"?t:t.toString(),e)}static fromNumber(t,e=new Uint32Array(4)){return Dn.fromString(t.toString(),e)}static fromString(t,e=new Uint32Array(4)){const n=t.startsWith("-"),i=t.length,s=new Dn(e);for(let o=n?1:0;othis.compareFields(n,e[i]))}compareFields(t,e){return t===e||e instanceof t.constructor&&t.name===e.name&&t.nullable===e.nullable&&this.visit(t.type,e.type)}}function Tr(r,t){return t instanceof r.constructor}function Ks(r,t){return r===t||Tr(r,t)}function Mi(r,t){return r===t||Tr(r,t)&&r.bitWidth===t.bitWidth&&r.isSigned===t.isSigned}function ah(r,t){return r===t||Tr(r,t)&&r.precision===t.precision}function g4(r,t){return r===t||Tr(r,t)&&r.byteWidth===t.byteWidth}function lg(r,t){return r===t||Tr(r,t)&&r.unit===t.unit}function Ol(r,t){return r===t||Tr(r,t)&&r.unit===t.unit&&r.timezone===t.timezone}function Pl(r,t){return r===t||Tr(r,t)&&r.unit===t.unit&&r.bitWidth===t.bitWidth}function y4(r,t){return r===t||Tr(r,t)&&r.children.length===t.children.length&&Jn.compareManyFields(r.children,t.children)}function v4(r,t){return r===t||Tr(r,t)&&r.children.length===t.children.length&&Jn.compareManyFields(r.children,t.children)}function ug(r,t){return r===t||Tr(r,t)&&r.mode===t.mode&&r.typeIds.every((e,n)=>e===t.typeIds[n])&&Jn.compareManyFields(r.children,t.children)}function _4(r,t){return r===t||Tr(r,t)&&r.id===t.id&&r.isOrdered===t.isOrdered&&Jn.visit(r.indices,t.indices)&&Jn.visit(r.dictionary,t.dictionary)}function cg(r,t){return r===t||Tr(r,t)&&r.unit===t.unit}function Rl(r,t){return r===t||Tr(r,t)&&r.unit===t.unit}function b4(r,t){return r===t||Tr(r,t)&&r.listSize===t.listSize&&r.children.length===t.children.length&&Jn.compareManyFields(r.children,t.children)}function x4(r,t){return r===t||Tr(r,t)&&r.keysSorted===t.keysSorted&&r.children.length===t.children.length&&Jn.compareManyFields(r.children,t.children)}jt.prototype.visitNull=Ks;jt.prototype.visitBool=Ks;jt.prototype.visitInt=Mi;jt.prototype.visitInt8=Mi;jt.prototype.visitInt16=Mi;jt.prototype.visitInt32=Mi;jt.prototype.visitInt64=Mi;jt.prototype.visitUint8=Mi;jt.prototype.visitUint16=Mi;jt.prototype.visitUint32=Mi;jt.prototype.visitUint64=Mi;jt.prototype.visitFloat=ah;jt.prototype.visitFloat16=ah;jt.prototype.visitFloat32=ah;jt.prototype.visitFloat64=ah;jt.prototype.visitUtf8=Ks;jt.prototype.visitLargeUtf8=Ks;jt.prototype.visitBinary=Ks;jt.prototype.visitLargeBinary=Ks;jt.prototype.visitFixedSizeBinary=g4;jt.prototype.visitDate=lg;jt.prototype.visitDateDay=lg;jt.prototype.visitDateMillisecond=lg;jt.prototype.visitTimestamp=Ol;jt.prototype.visitTimestampSecond=Ol;jt.prototype.visitTimestampMillisecond=Ol;jt.prototype.visitTimestampMicrosecond=Ol;jt.prototype.visitTimestampNanosecond=Ol;jt.prototype.visitTime=Pl;jt.prototype.visitTimeSecond=Pl;jt.prototype.visitTimeMillisecond=Pl;jt.prototype.visitTimeMicrosecond=Pl;jt.prototype.visitTimeNanosecond=Pl;jt.prototype.visitDecimal=Ks;jt.prototype.visitList=y4;jt.prototype.visitStruct=v4;jt.prototype.visitUnion=ug;jt.prototype.visitDenseUnion=ug;jt.prototype.visitSparseUnion=ug;jt.prototype.visitDictionary=_4;jt.prototype.visitInterval=cg;jt.prototype.visitIntervalDayTime=cg;jt.prototype.visitIntervalYearMonth=cg;jt.prototype.visitDuration=Rl;jt.prototype.visitDurationSecond=Rl;jt.prototype.visitDurationMillisecond=Rl;jt.prototype.visitDurationMicrosecond=Rl;jt.prototype.visitDurationNanosecond=Rl;jt.prototype.visitFixedSizeList=b4;jt.prototype.visitMap=x4;const Jn=new jt;function w4(r,t){return Jn.compareSchemas(r,t)}function S4(r,t){return Jn.compareFields(r,t)}function T4(r,t){return Jn.visit(r,t)}const e_=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},tU),m4),r4),nU),qk),t4),Zk),{compareSchemas:w4,compareFields:S4,compareTypes:T4}),HI=6048e5,I4=864e5,r_=Symbol.for("constructDateFrom");function vi(r,t){return typeof r=="function"?r(t):r&&typeof r=="object"&&r_ in r?r[r_](t):r instanceof Date?new r.constructor(t):new Date(t)}function mn(r,t){return vi(t||r,r)}let M4={};function lh(){return M4}function gl(r,t){var a,l,u,c;const e=lh(),n=(t==null?void 0:t.weekStartsOn)??((l=(a=t==null?void 0:t.locale)==null?void 0:a.options)==null?void 0:l.weekStartsOn)??e.weekStartsOn??((c=(u=e.locale)==null?void 0:u.options)==null?void 0:c.weekStartsOn)??0,i=mn(r,t==null?void 0:t.in),s=i.getDay(),o=(s=s.getTime()?n+1:e.getTime()>=a.getTime()?n:n-1}function n_(r){const t=mn(r),e=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return e.setUTCFullYear(t.getFullYear()),+r-+e}function E4(r,...t){const e=vi.bind(null,t.find(n=>typeof n=="object"));return t.map(e)}function i_(r,t){const e=mn(r,t==null?void 0:t.in);return e.setHours(0,0,0,0),e}function A4(r,t,e){const[n,i]=E4(e==null?void 0:e.in,r,t),s=i_(n),o=i_(i),a=+s-n_(s),l=+o-n_(o);return Math.round((a-l)/I4)}function C4(r,t){const e=XI(r,t),n=vi(r,0);return n.setFullYear(e,0,4),n.setHours(0,0,0,0),Mc(n)}function O4(r){return r instanceof Date||typeof r=="object"&&Object.prototype.toString.call(r)==="[object Date]"}function P4(r){return!(!O4(r)&&typeof r!="number"||isNaN(+mn(r)))}function R4(r,t){const e=mn(r,t==null?void 0:t.in);return e.setFullYear(e.getFullYear(),0,1),e.setHours(0,0,0,0),e}const F4={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},D4=(r,t,e)=>{let n;const i=F4[r];return typeof i=="string"?n=i:t===1?n=i.one:n=i.other.replace("{{count}}",t.toString()),e!=null&&e.addSuffix?e.comparison&&e.comparison>0?"in "+n:n+" ago":n};function ef(r){return(t={})=>{const e=t.width?String(t.width):r.defaultWidth;return r.formats[e]||r.formats[r.defaultWidth]}}const L4={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},N4={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},B4={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},k4={date:ef({formats:L4,defaultWidth:"full"}),time:ef({formats:N4,defaultWidth:"full"}),dateTime:ef({formats:B4,defaultWidth:"full"})},U4={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},z4=(r,t,e,n)=>U4[r];function Aa(r){return(t,e)=>{const n=e!=null&&e.context?String(e.context):"standalone";let i;if(n==="formatting"&&r.formattingValues){const o=r.defaultFormattingWidth||r.defaultWidth,a=e!=null&&e.width?String(e.width):o;i=r.formattingValues[a]||r.formattingValues[o]}else{const o=r.defaultWidth,a=e!=null&&e.width?String(e.width):r.defaultWidth;i=r.values[a]||r.values[o]}const s=r.argumentCallback?r.argumentCallback(t):t;return i[s]}}const V4={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},j4={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},$4={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},G4={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},W4={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},H4={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},X4=(r,t)=>{const e=Number(r),n=e%100;if(n>20||n<10)switch(n%10){case 1:return e+"st";case 2:return e+"nd";case 3:return e+"rd"}return e+"th"},Y4={ordinalNumber:X4,era:Aa({values:V4,defaultWidth:"wide"}),quarter:Aa({values:j4,defaultWidth:"wide",argumentCallback:r=>r-1}),month:Aa({values:$4,defaultWidth:"wide"}),day:Aa({values:G4,defaultWidth:"wide"}),dayPeriod:Aa({values:W4,defaultWidth:"wide",formattingValues:H4,defaultFormattingWidth:"wide"})};function Ca(r){return(t,e={})=>{const n=e.width,i=n&&r.matchPatterns[n]||r.matchPatterns[r.defaultMatchWidth],s=t.match(i);if(!s)return null;const o=s[0],a=n&&r.parsePatterns[n]||r.parsePatterns[r.defaultParseWidth],l=Array.isArray(a)?Q4(a,h=>h.test(o)):q4(a,h=>h.test(o));let u;u=r.valueCallback?r.valueCallback(l):l,u=e.valueCallback?e.valueCallback(u):u;const c=t.slice(o.length);return{value:u,rest:c}}}function q4(r,t){for(const e in r)if(Object.prototype.hasOwnProperty.call(r,e)&&t(r[e]))return e}function Q4(r,t){for(let e=0;e{const n=t.match(r.matchPattern);if(!n)return null;const i=n[0],s=t.match(r.parsePattern);if(!s)return null;let o=r.valueCallback?r.valueCallback(s[0]):s[0];o=e.valueCallback?e.valueCallback(o):o;const a=t.slice(i.length);return{value:o,rest:a}}}const K4=/^(\d+)(th|st|nd|rd)?/i,J4=/\d+/i,t6={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},e6={any:[/^b/i,/^(a|c)/i]},r6={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},n6={any:[/1/i,/2/i,/3/i,/4/i]},i6={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},s6={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},o6={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},a6={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},l6={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},u6={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},c6={ordinalNumber:Z4({matchPattern:K4,parsePattern:J4,valueCallback:r=>parseInt(r,10)}),era:Ca({matchPatterns:t6,defaultMatchWidth:"wide",parsePatterns:e6,defaultParseWidth:"any"}),quarter:Ca({matchPatterns:r6,defaultMatchWidth:"wide",parsePatterns:n6,defaultParseWidth:"any",valueCallback:r=>r+1}),month:Ca({matchPatterns:i6,defaultMatchWidth:"wide",parsePatterns:s6,defaultParseWidth:"any"}),day:Ca({matchPatterns:o6,defaultMatchWidth:"wide",parsePatterns:a6,defaultParseWidth:"any"}),dayPeriod:Ca({matchPatterns:l6,defaultMatchWidth:"any",parsePatterns:u6,defaultParseWidth:"any"})},h6={code:"en-US",formatDistance:D4,formatLong:k4,formatRelative:z4,localize:Y4,match:c6,options:{weekStartsOn:0,firstWeekContainsDate:1}};function d6(r,t){const e=mn(r,t==null?void 0:t.in);return A4(e,R4(e))+1}function f6(r,t){const e=mn(r,t==null?void 0:t.in),n=+Mc(e)-+C4(e);return Math.round(n/HI)+1}function YI(r,t){var c,h,f,d;const e=mn(r,t==null?void 0:t.in),n=e.getFullYear(),i=lh(),s=(t==null?void 0:t.firstWeekContainsDate)??((h=(c=t==null?void 0:t.locale)==null?void 0:c.options)==null?void 0:h.firstWeekContainsDate)??i.firstWeekContainsDate??((d=(f=i.locale)==null?void 0:f.options)==null?void 0:d.firstWeekContainsDate)??1,o=vi((t==null?void 0:t.in)||r,0);o.setFullYear(n+1,0,s),o.setHours(0,0,0,0);const a=gl(o,t),l=vi((t==null?void 0:t.in)||r,0);l.setFullYear(n,0,s),l.setHours(0,0,0,0);const u=gl(l,t);return+e>=+a?n+1:+e>=+u?n:n-1}function p6(r,t){var a,l,u,c;const e=lh(),n=(t==null?void 0:t.firstWeekContainsDate)??((l=(a=t==null?void 0:t.locale)==null?void 0:a.options)==null?void 0:l.firstWeekContainsDate)??e.firstWeekContainsDate??((c=(u=e.locale)==null?void 0:u.options)==null?void 0:c.firstWeekContainsDate)??1,i=YI(r,t),s=vi((t==null?void 0:t.in)||r,0);return s.setFullYear(i,0,n),s.setHours(0,0,0,0),gl(s,t)}function m6(r,t){const e=mn(r,t==null?void 0:t.in),n=+gl(e,t)-+p6(e,t);return Math.round(n/HI)+1}function Ie(r,t){const e=r<0?"-":"",n=Math.abs(r).toString().padStart(t,"0");return e+n}const Ri={y(r,t){const e=r.getFullYear(),n=e>0?e:1-e;return Ie(t==="yy"?n%100:n,t.length)},M(r,t){const e=r.getMonth();return t==="M"?String(e+1):Ie(e+1,2)},d(r,t){return Ie(r.getDate(),t.length)},a(r,t){const e=r.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return e.toUpperCase();case"aaa":return e;case"aaaaa":return e[0];case"aaaa":default:return e==="am"?"a.m.":"p.m."}},h(r,t){return Ie(r.getHours()%12||12,t.length)},H(r,t){return Ie(r.getHours(),t.length)},m(r,t){return Ie(r.getMinutes(),t.length)},s(r,t){return Ie(r.getSeconds(),t.length)},S(r,t){const e=t.length,n=r.getMilliseconds(),i=Math.trunc(n*Math.pow(10,e-3));return Ie(i,t.length)}},co={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},s_={G:function(r,t,e){const n=r.getFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return e.era(n,{width:"abbreviated"});case"GGGGG":return e.era(n,{width:"narrow"});case"GGGG":default:return e.era(n,{width:"wide"})}},y:function(r,t,e){if(t==="yo"){const n=r.getFullYear(),i=n>0?n:1-n;return e.ordinalNumber(i,{unit:"year"})}return Ri.y(r,t)},Y:function(r,t,e,n){const i=YI(r,n),s=i>0?i:1-i;if(t==="YY"){const o=s%100;return Ie(o,2)}return t==="Yo"?e.ordinalNumber(s,{unit:"year"}):Ie(s,t.length)},R:function(r,t){const e=XI(r);return Ie(e,t.length)},u:function(r,t){const e=r.getFullYear();return Ie(e,t.length)},Q:function(r,t,e){const n=Math.ceil((r.getMonth()+1)/3);switch(t){case"Q":return String(n);case"QQ":return Ie(n,2);case"Qo":return e.ordinalNumber(n,{unit:"quarter"});case"QQQ":return e.quarter(n,{width:"abbreviated",context:"formatting"});case"QQQQQ":return e.quarter(n,{width:"narrow",context:"formatting"});case"QQQQ":default:return e.quarter(n,{width:"wide",context:"formatting"})}},q:function(r,t,e){const n=Math.ceil((r.getMonth()+1)/3);switch(t){case"q":return String(n);case"qq":return Ie(n,2);case"qo":return e.ordinalNumber(n,{unit:"quarter"});case"qqq":return e.quarter(n,{width:"abbreviated",context:"standalone"});case"qqqqq":return e.quarter(n,{width:"narrow",context:"standalone"});case"qqqq":default:return e.quarter(n,{width:"wide",context:"standalone"})}},M:function(r,t,e){const n=r.getMonth();switch(t){case"M":case"MM":return Ri.M(r,t);case"Mo":return e.ordinalNumber(n+1,{unit:"month"});case"MMM":return e.month(n,{width:"abbreviated",context:"formatting"});case"MMMMM":return e.month(n,{width:"narrow",context:"formatting"});case"MMMM":default:return e.month(n,{width:"wide",context:"formatting"})}},L:function(r,t,e){const n=r.getMonth();switch(t){case"L":return String(n+1);case"LL":return Ie(n+1,2);case"Lo":return e.ordinalNumber(n+1,{unit:"month"});case"LLL":return e.month(n,{width:"abbreviated",context:"standalone"});case"LLLLL":return e.month(n,{width:"narrow",context:"standalone"});case"LLLL":default:return e.month(n,{width:"wide",context:"standalone"})}},w:function(r,t,e,n){const i=m6(r,n);return t==="wo"?e.ordinalNumber(i,{unit:"week"}):Ie(i,t.length)},I:function(r,t,e){const n=f6(r);return t==="Io"?e.ordinalNumber(n,{unit:"week"}):Ie(n,t.length)},d:function(r,t,e){return t==="do"?e.ordinalNumber(r.getDate(),{unit:"date"}):Ri.d(r,t)},D:function(r,t,e){const n=d6(r);return t==="Do"?e.ordinalNumber(n,{unit:"dayOfYear"}):Ie(n,t.length)},E:function(r,t,e){const n=r.getDay();switch(t){case"E":case"EE":case"EEE":return e.day(n,{width:"abbreviated",context:"formatting"});case"EEEEE":return e.day(n,{width:"narrow",context:"formatting"});case"EEEEEE":return e.day(n,{width:"short",context:"formatting"});case"EEEE":default:return e.day(n,{width:"wide",context:"formatting"})}},e:function(r,t,e,n){const i=r.getDay(),s=(i-n.weekStartsOn+8)%7||7;switch(t){case"e":return String(s);case"ee":return Ie(s,2);case"eo":return e.ordinalNumber(s,{unit:"day"});case"eee":return e.day(i,{width:"abbreviated",context:"formatting"});case"eeeee":return e.day(i,{width:"narrow",context:"formatting"});case"eeeeee":return e.day(i,{width:"short",context:"formatting"});case"eeee":default:return e.day(i,{width:"wide",context:"formatting"})}},c:function(r,t,e,n){const i=r.getDay(),s=(i-n.weekStartsOn+8)%7||7;switch(t){case"c":return String(s);case"cc":return Ie(s,t.length);case"co":return e.ordinalNumber(s,{unit:"day"});case"ccc":return e.day(i,{width:"abbreviated",context:"standalone"});case"ccccc":return e.day(i,{width:"narrow",context:"standalone"});case"cccccc":return e.day(i,{width:"short",context:"standalone"});case"cccc":default:return e.day(i,{width:"wide",context:"standalone"})}},i:function(r,t,e){const n=r.getDay(),i=n===0?7:n;switch(t){case"i":return String(i);case"ii":return Ie(i,t.length);case"io":return e.ordinalNumber(i,{unit:"day"});case"iii":return e.day(n,{width:"abbreviated",context:"formatting"});case"iiiii":return e.day(n,{width:"narrow",context:"formatting"});case"iiiiii":return e.day(n,{width:"short",context:"formatting"});case"iiii":default:return e.day(n,{width:"wide",context:"formatting"})}},a:function(r,t,e){const i=r.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return e.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"aaa":return e.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return e.dayPeriod(i,{width:"narrow",context:"formatting"});case"aaaa":default:return e.dayPeriod(i,{width:"wide",context:"formatting"})}},b:function(r,t,e){const n=r.getHours();let i;switch(n===12?i=co.noon:n===0?i=co.midnight:i=n/12>=1?"pm":"am",t){case"b":case"bb":return e.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"bbb":return e.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return e.dayPeriod(i,{width:"narrow",context:"formatting"});case"bbbb":default:return e.dayPeriod(i,{width:"wide",context:"formatting"})}},B:function(r,t,e){const n=r.getHours();let i;switch(n>=17?i=co.evening:n>=12?i=co.afternoon:n>=4?i=co.morning:i=co.night,t){case"B":case"BB":case"BBB":return e.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"BBBBB":return e.dayPeriod(i,{width:"narrow",context:"formatting"});case"BBBB":default:return e.dayPeriod(i,{width:"wide",context:"formatting"})}},h:function(r,t,e){if(t==="ho"){let n=r.getHours()%12;return n===0&&(n=12),e.ordinalNumber(n,{unit:"hour"})}return Ri.h(r,t)},H:function(r,t,e){return t==="Ho"?e.ordinalNumber(r.getHours(),{unit:"hour"}):Ri.H(r,t)},K:function(r,t,e){const n=r.getHours()%12;return t==="Ko"?e.ordinalNumber(n,{unit:"hour"}):Ie(n,t.length)},k:function(r,t,e){let n=r.getHours();return n===0&&(n=24),t==="ko"?e.ordinalNumber(n,{unit:"hour"}):Ie(n,t.length)},m:function(r,t,e){return t==="mo"?e.ordinalNumber(r.getMinutes(),{unit:"minute"}):Ri.m(r,t)},s:function(r,t,e){return t==="so"?e.ordinalNumber(r.getSeconds(),{unit:"second"}):Ri.s(r,t)},S:function(r,t){return Ri.S(r,t)},X:function(r,t,e){const n=r.getTimezoneOffset();if(n===0)return"Z";switch(t){case"X":return a_(n);case"XXXX":case"XX":return Is(n);case"XXXXX":case"XXX":default:return Is(n,":")}},x:function(r,t,e){const n=r.getTimezoneOffset();switch(t){case"x":return a_(n);case"xxxx":case"xx":return Is(n);case"xxxxx":case"xxx":default:return Is(n,":")}},O:function(r,t,e){const n=r.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+o_(n,":");case"OOOO":default:return"GMT"+Is(n,":")}},z:function(r,t,e){const n=r.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+o_(n,":");case"zzzz":default:return"GMT"+Is(n,":")}},t:function(r,t,e){const n=Math.trunc(+r/1e3);return Ie(n,t.length)},T:function(r,t,e){return Ie(+r,t.length)}};function o_(r,t=""){const e=r>0?"-":"+",n=Math.abs(r),i=Math.trunc(n/60),s=n%60;return s===0?e+String(i):e+String(i)+t+Ie(s,2)}function a_(r,t){return r%60===0?(r>0?"-":"+")+Ie(Math.abs(r)/60,2):Is(r,t)}function Is(r,t=""){const e=r>0?"-":"+",n=Math.abs(r),i=Ie(Math.trunc(n/60),2),s=Ie(n%60,2);return e+i+t+s}const l_=(r,t)=>{switch(r){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});case"PPPP":default:return t.date({width:"full"})}},qI=(r,t)=>{switch(r){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});case"pppp":default:return t.time({width:"full"})}},g6=(r,t)=>{const e=r.match(/(P+)(p+)?/)||[],n=e[1],i=e[2];if(!i)return l_(r,t);let s;switch(n){case"P":s=t.dateTime({width:"short"});break;case"PP":s=t.dateTime({width:"medium"});break;case"PPP":s=t.dateTime({width:"long"});break;case"PPPP":default:s=t.dateTime({width:"full"});break}return s.replace("{{date}}",l_(n,t)).replace("{{time}}",qI(i,t))},y6={p:qI,P:g6},v6=/^D+$/,_6=/^Y+$/,b6=["D","DD","YY","YYYY"];function x6(r){return v6.test(r)}function w6(r){return _6.test(r)}function S6(r,t,e){const n=T6(r,t,e);if(console.warn(n),b6.includes(r))throw new RangeError(n)}function T6(r,t,e){const n=r[0]==="Y"?"years":"days of the month";return`Use \`${r.toLowerCase()}\` instead of \`${r}\` (in \`${t}\`) for formatting ${n} to the input \`${e}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}const I6=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,M6=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,E6=/^'([^]*?)'?$/,A6=/''/g,C6=/[a-zA-Z]/;function QI(r,t,e){var c,h,f,d;const n=lh(),i=n.locale??h6,s=n.firstWeekContainsDate??((h=(c=n.locale)==null?void 0:c.options)==null?void 0:h.firstWeekContainsDate)??1,o=n.weekStartsOn??((d=(f=n.locale)==null?void 0:f.options)==null?void 0:d.weekStartsOn)??0,a=mn(r,e==null?void 0:e.in);if(!P4(a))throw new RangeError("Invalid time value");let l=t.match(M6).map(m=>{const g=m[0];if(g==="p"||g==="P"){const p=y6[g];return p(m,i.formatLong)}return m}).join("").match(I6).map(m=>{if(m==="''")return{isToken:!1,value:"'"};const g=m[0];if(g==="'")return{isToken:!1,value:O6(m)};if(s_[g])return{isToken:!0,value:m};if(g.match(C6))throw new RangeError("Format string contains an unescaped latin alphabet character `"+g+"`");return{isToken:!1,value:m}});i.localize.preprocessor&&(l=i.localize.preprocessor(a,l));const u={firstWeekContainsDate:s,weekStartsOn:o,locale:i};return l.map(m=>{if(!m.isToken)return m.value;const g=m.value;(w6(g)||x6(g))&&S6(g,t,String(r));const p=s_[g[0]];return p(a,g,i.localize,u)}).join("")}function O6(r){const t=r.match(E6);return t?t[1].replace(A6,"'"):r}function P6(r,t){return mn(r*1e3,t==null?void 0:t.in)}function R6(r,t){const e=F6(t)?new t(0):vi(t,0);return e.setFullYear(r.getFullYear(),r.getMonth(),r.getDate()),e.setHours(r.getHours(),r.getMinutes(),r.getSeconds(),r.getMilliseconds()),e}function F6(r){var t;return typeof r=="function"&&((t=r.prototype)==null?void 0:t.constructor)===r}function D6(r,t){let e=r.length;switch("string"){case"string":{for(;e>0&&r[e-1]===t;)e--;break}}return r.substring(0,e)}function Rr(r){return r==null}function L6(r){return r!=null}async function ZI(){if(typeof window<"u"&&window!==null)return"browser";try{const r=await Bi(()=>import("./__vite-browser-external-FmFgRqLi.js"),[]);return typeof r<"u"&&r.versions!=null&&r.versions.node!=null?"node":"unknown"}catch{return"unknown"}}function N6(r){return Rr(r)?!1:Pt.isInt(r.type)&&!KI(r)||B6(r)}function B6(r){return Rr(r)?!1:Pt.isInt(r.type)&&r.type.isSigned===!1}function k6(r){return Rr(r)?!1:Pt.isFloat(r.type)??!1}function U6(r){return Rr(r)?!1:Pt.isDecimal(r.type)}function z6(r){return Rr(r)?!1:Pt.isBool(r.type)}function V6(r){return Rr(r)?!1:Pt.isDuration(r.type)}function KI(r){return Rr(r)?!1:Pt.isInt(r.type)&&r.metadata.get("ARROW:extension:name")==="period"}function j6(r){return Rr(r)?!1:Pt.isTimestamp(r.type)}function $6(r){return Rr(r)?!1:Pt.isDate(r.type)}function G6(r){return Rr(r)?!1:Pt.isTime(r.type)}function W6(r){return Rr(r)?!1:Pt.isList(r.type)||Pt.isFixedSizeList(r.type)}function H6(r){return Rr(r)?!1:Pt.isStruct(r.type)||Pt.isMap(r.type)}function X6(r){return Rr(r)?!1:Pt.isStruct(r.type)&&r.metadata.get("ARROW:extension:name")==="interval"||Pt.isInterval(r.type)}function Y6(r,t){let e;if(t===ne.MILLISECOND)e=1e3;else if(t===ne.MICROSECOND)e=1e3*1e3;else if(t===ne.NANOSECOND)e=1e3*1e3*1e3;else return Number(r);return typeof r=="bigint"&&!Number.isSafeInteger(Number(r))?Number(r/BigInt(e)):Number(r)/e}function q6(r,t){var n;const e=Y6(r,((n=t==null?void 0:t.type)==null?void 0:n.unit)??ne.SECOND);return P6(e)}function Q6(r,t){const e=q6(r,t);return QI(e,e.getMilliseconds()===0?"HH:mm:ss":"HH:mm:ss.SSS")}function Z6(r){const t="yyyy-MM-dd";return r instanceof Date||typeof r=="number"&&Number.isFinite(r)?QI(r,t):(console.warn(`Unsupported date value: ${r}`),String(r))}function K6(r,t){var i;if(!(r instanceof Date||typeof r=="number"&&Number.isFinite(r)))return console.warn(`Unsupported datetime value: ${r}`),null;let e;const n=(i=t==null?void 0:t.type)==null?void 0:i.timezone;return typeof r=="number"?n?e=new Vr(r,n):e=new Vr(r):n?e=new Vr(r,n):e=new Vr(r),R6(e,Date)}function J6(r,t){var a;const e=((a=t==null?void 0:t.type)==null?void 0:a.scale)||0;let n=e_.bigNumToString(new e_.BN(r)).padStart(e,"0");if(e===0)return n;let i="";n.startsWith("-")&&(i="-",n=n.slice(1));const s=n.slice(0,-e)||"0",o=D6(n.slice(-e),"0")||"";return`${i}${s}${o?`.${o}`:""}`}function t5(r){const t=r[0],e=r[1],n=[];return t!==0&&n.push(`${t} year${t>1?"s":""}`),e!==0&&n.push(`${e} month${e>1?"s":""}`),n.length?n.join(" "):"0 months"}function e5(r,t){var n,i,s,o;if(Pt.isInterval(t==null?void 0:t.type))return t5(r);const e=t&&t.metadata.get("ARROW:extension:name");if(e&&e==="pandas.interval"){const a=JSON.parse(t.metadata.get("ARROW:extension:metadata")),{closed:l}=a,u=r.toJSON(),c=l==="both"||l==="left"?"[":"(",h=l==="both"||l==="right"?"]":")",f=Np(u.left,(i=(n=t.type)==null?void 0:n.children)==null?void 0:i[0]),d=Np(u.right,(o=(s=t.type)==null?void 0:s.children)==null?void 0:o[1]);return`${c+f}, ${d+h}`}return String(r)}function r5(r,t){return(t==null?void 0:t.type)instanceof Fp?JSON.parse(JSON.stringify(r,(e,n)=>{if(L6(n))return typeof n=="bigint"?Number(n):n})):JSON.parse(JSON.stringify(r,(e,n)=>typeof n=="bigint"?Number(n):n))}function Np(r,t){if(Rr(r))return null;const e=r instanceof Date||Number.isFinite(r);if(e&&$6(t))return Z6(r);if(typeof r=="bigint"&&G6(t))return Q6(Number(r),t);if(e&&j6(t))return K6(r,t);if(KI(t))throw new Error("Period type is not supported yet");if(X6(t))return e5(r,t);if(V6(t))throw new Error("Duration type is not supported yet");return U6(t)?J6(r,t):k6(t)&&Number.isFinite(r)||N6(t)?r:H6(t)||W6(t)?r5(r,t):z6(t)?!!r:String(r)}function u_(r){return((r.toArray()||[]).map(n=>n.toJSON())||[]).map(n=>(r.schema.fields.forEach(i=>n[i.name]=Np(n[i.name],i)),n))}var yl=(r=>(r.ORIGIN_PRIVATE_FS="origin-private-fs",r.NODE_FS="node-fs",r))(yl||{});async function JI(r){const t=nE(r,{logger:!1});let e,n;const i=await ZI();if(i==="browser"){if(typeof t.bundles>"u"){const{getBundles:l}=await Bi(async()=>{const{getBundles:u}=await import("./default-browser-BrgSDbLD.js");return{getBundles:u}},[]);t.bundles=await l()}n=await I0(await t.bundles),e=new Worker(n.mainWorker)}else if(i==="node"){if(typeof t.bundles>"u"){const{getBundles:c}=await Bi(async()=>{const{getBundles:h}=await import("./default-node-CkTSmFLS.js");return{getBundles:h}},__vite__mapDeps([0,1,2]));t.bundles=await c()}n=await I0(await t.bundles);let l=n.mainWorker;l.startsWith("/@fs/")&&(l=l.replace("/@fs/","file://"));const u=await Bi(()=>import("./index-Cp8iQ_hy.js"),[]);e=new u.default(l,{type:"module"})}else throw new Error(`Unsupported environment: ${i}`);let s;t.logger===!0?s=new dT:t.logger===!1?s=new WB:s=t.logger;const o=new KB(s,e);if(await o.instantiate(n.mainModule,n.pthreadWorker),t.storage)switch(t.storage.type){case yl.ORIGIN_PRIVATE_FS:{try{let l=t.storage.path;l.startsWith("/")&&(l=l.slice(1)),await o.open({path:`opfs://${l}`,accessMode:t.storage.accessMode})}catch(l){throw await o.terminate(),await e.terminate(),l}break}case yl.NODE_FS:{try{await o.open({path:t.storage.path,accessMode:t.storage.accessMode,useDirectIO:!0})}catch(l){throw await o.terminate(),await e.terminate(),l}break}}const a=await o.connect();return{worker:e,db:o,conn:a,query:async(l,u=[])=>{if(!u||u.length===0){const d=await a.query(l);return u_(d)}const c=await a.prepare(l),h=await c.query(...u),f=u_(h);return c.close(),f},close:async()=>{await a.close(),await o.terminate(),await e.terminate()}}}async function n5(r,t){await(await r).conn.send("BEGIN TRANSACTION");try{const e=await t(r);return await(await r).conn.send("COMMIT"),e}catch(e){throw await(await r).conn.send("ROLLBACK"),e}}async function i5(r,t,e){await(await r).conn.send(`SAVEPOINT ${t}`);try{const n=await e(r);return await(await r).conn.send(`RELEASE SAVEPOINT ${t}`),n}catch(n){throw await(await r).conn.send(`ROLLBACK TO SAVEPOINT ${t}`),n}}const It=Symbol.for("drizzle:entityKind");function lt(r,t){if(!r||typeof r!="object")return!1;if(r instanceof t)return!0;if(!Object.prototype.hasOwnProperty.call(t,It))throw new Error(`Class "${t.name??""}" doesn't look like a Drizzle entity. If this is incorrect and the class is provided by Drizzle, please report this as a bug.`);let e=Object.getPrototypeOf(r).constructor;if(e)for(;e;){if(It in e&&e[It]===t[It])return!0;e=Object.getPrototypeOf(e)}return!1}var b_;b_=It;class ur{constructor(t,e){W(this,"name");W(this,"keyAsName");W(this,"primary");W(this,"notNull");W(this,"default");W(this,"defaultFn");W(this,"onUpdateFn");W(this,"hasDefault");W(this,"isUnique");W(this,"uniqueName");W(this,"uniqueType");W(this,"dataType");W(this,"columnType");W(this,"enumValues");W(this,"generated");W(this,"generatedIdentity");W(this,"config");this.table=t,this.config=e,this.name=e.name,this.keyAsName=e.keyAsName,this.notNull=e.notNull,this.default=e.default,this.defaultFn=e.defaultFn,this.onUpdateFn=e.onUpdateFn,this.hasDefault=e.hasDefault,this.primary=e.primaryKey,this.isUnique=e.isUnique,this.uniqueName=e.uniqueName,this.uniqueType=e.uniqueType,this.dataType=e.dataType,this.columnType=e.columnType,this.generated=e.generated,this.generatedIdentity=e.generatedIdentity}mapFromDriverValue(t){return t}mapToDriverValue(t){return t}shouldDisableInsert(){return this.config.generated!==void 0&&this.config.generated.type!=="byDefault"}}W(ur,b_,"Column");const Go=Symbol.for("drizzle:Name");function s5(r,t){return`${r[Go]}_${t.join("_")}_unique`}var x_,w_;class $r extends(w_=ur,x_=It,w_){constructor(t,e){e.uniqueName||(e.uniqueName=s5(t,[e.name])),super(t,e),this.table=t}}W($r,x_,"PgColumn");const c_=Symbol.for("drizzle:isPgEnum");function o5(r){return!!r&&typeof r=="function"&&c_ in r&&r[c_]===!0}var S_;S_=It;class Gr{constructor(t,e,n,i=!1){this._={brand:"Subquery",sql:t,selectedFields:e,alias:n,isWith:i}}}W(Gr,S_,"Subquery");var T_,I_;class hg extends(I_=Gr,T_=It,I_){}W(hg,T_,"WithSubquery");const Hr={startActiveSpan(r,t){return t()}},er=Symbol.for("drizzle:ViewBaseConfig"),Au=Symbol.for("drizzle:Schema"),Bp=Symbol.for("drizzle:Columns"),h_=Symbol.for("drizzle:ExtraConfigColumns"),rf=Symbol.for("drizzle:OriginalName"),nf=Symbol.for("drizzle:BaseName"),Ec=Symbol.for("drizzle:IsAlias"),d_=Symbol.for("drizzle:ExtraConfigBuilder"),a5=Symbol.for("drizzle:IsDrizzleTable");var M_,E_,A_,C_,O_,P_,R_,F_,D_,L_;L_=It,D_=Go,F_=rf,R_=Au,P_=Bp,O_=h_,C_=nf,A_=Ec,E_=a5,M_=d_;class Mt{constructor(t,e,n){W(this,D_);W(this,F_);W(this,R_);W(this,P_);W(this,O_);W(this,C_);W(this,A_,!1);W(this,E_,!0);W(this,M_);this[Go]=this[rf]=t,this[Au]=e,this[nf]=n}}W(Mt,L_,"Table"),W(Mt,"Symbol",{Name:Go,Schema:Au,OriginalName:rf,Columns:Bp,ExtraConfigColumns:h_,BaseName:nf,IsAlias:Ec,ExtraConfigBuilder:d_});function Rs(r){return r[Go]}function vl(r){return`${r[Au]??"public"}.${r[Go]}`}function tM(r){return r!=null&&typeof r.getSQL=="function"}function l5(r){var e;const t={sql:"",params:[]};for(const n of r)t.sql+=n.sql,t.params.push(...n.params),(e=n.typings)!=null&&e.length&&(t.typings||(t.typings=[]),t.typings.push(...n.typings));return t}var N_;N_=It;class nr{constructor(t){W(this,"value");this.value=Array.isArray(t)?t:[t]}getSQL(){return new Ft([this])}}W(nr,N_,"StringChunk");var B_;B_=It;const As=class As{constructor(t){W(this,"decoder",eM);W(this,"shouldInlineParams",!1);this.queryChunks=t}append(t){return this.queryChunks.push(...t.queryChunks),this}toQuery(t){return Hr.startActiveSpan("drizzle.buildSQL",e=>{const n=this.buildQueryFromSourceParams(this.queryChunks,t);return e==null||e.setAttributes({"drizzle.query.text":n.sql,"drizzle.query.params":JSON.stringify(n.params)}),n})}buildQueryFromSourceParams(t,e){const n=Object.assign({},e,{inlineParams:e.inlineParams||this.shouldInlineParams,paramStartIndex:e.paramStartIndex||{value:0}}),{casing:i,escapeName:s,escapeParam:o,prepareTyping:a,inlineParams:l,paramStartIndex:u}=n;return l5(t.map(c=>{var h;if(lt(c,nr))return{sql:c.value.join(""),params:[]};if(lt(c,Ac))return{sql:s(c.value),params:[]};if(c===void 0)return{sql:"",params:[]};if(Array.isArray(c)){const f=[new nr("(")];for(const[d,m]of c.entries())f.push(m),dr},rM={mapToDriverValue:r=>r};({...eM,...rM});var U_;U_=It;class _i{constructor(t,e=rM){W(this,"brand");this.value=t,this.encoder=e}getSQL(){return new Ft([this])}}W(_i,U_,"Param");function Y(r,...t){const e=[];(t.length>0||r.length>0&&r[0]!=="")&&e.push(new nr(r[0]));for(const[n,i]of t.entries())e.push(i,new nr(r[n+1]));return new Ft(e)}(r=>{function t(){return new Ft([])}r.empty=t;function e(l){return new Ft(l)}r.fromList=e;function n(l){return new Ft([new nr(l)])}r.raw=n;function i(l,u){const c=[];for(const[h,f]of l.entries())h>0&&u!==void 0&&c.push(u),c.push(f);return new Ft(c)}r.join=i;function s(l){return new Ac(l)}r.identifier=s;function o(l){return new $s(l)}r.placeholder=o;function a(l,u){return new _i(l,u)}r.param=a})(Y||(Y={}));(r=>{var e;e=It;const n=class n{constructor(s,o){W(this,"isSelectionField",!1);this.sql=s,this.fieldAlias=o}getSQL(){return this.sql}clone(){return new n(this.sql,this.fieldAlias)}};W(n,e,"SQL.Aliased");let t=n;r.Aliased=t})(Ft||(Ft={}));var z_;z_=It;class $s{constructor(t){this.name=t}getSQL(){return new Ft([this])}}W($s,z_,"Placeholder");function f_(r,t){return r.map(e=>{if(lt(e,$s)){if(!(e.name in t))throw new Error(`No value for placeholder "${e.name}" was provided`);return t[e.name]}if(lt(e,_i)&<(e.value,$s)){if(!(e.value.name in t))throw new Error(`No value for placeholder "${e.value.name}" was provided`);return e.encoder.mapToDriverValue(t[e.value.name])}return e})}const c5=Symbol.for("drizzle:IsDrizzleView");var V_,j_,$_;$_=It,j_=er,V_=c5;class rs{constructor({name:t,schema:e,selectedFields:n,query:i}){W(this,j_);W(this,V_,!0);this[er]={name:t,originalName:t,schema:e,selectedFields:n,query:i,isExisting:!i,isAlias:!1}}getSQL(){return new Ft([this])}}W(rs,$_,"View");ur.prototype.getSQL=function(){return new Ft([this])};Mt.prototype.getSQL=function(){return new Ft([this])};Gr.prototype.getSQL=function(){return new Ft([this])};var G_;G_=It;class _l{constructor(t){this.table=t}get(t,e){return e==="table"?this.table:t[e]}}W(_l,G_,"ColumnAliasProxyHandler");var W_;W_=It;class uh{constructor(t,e){this.alias=t,this.replaceOriginalName=e}get(t,e){if(e===Mt.Symbol.IsAlias)return!0;if(e===Mt.Symbol.Name)return this.alias;if(this.replaceOriginalName&&e===Mt.Symbol.OriginalName)return this.alias;if(e===er)return{...t[er],name:this.alias,isAlias:!0};if(e===Mt.Symbol.Columns){const i=t[Mt.Symbol.Columns];if(!i)return i;const s={};return Object.keys(i).map(o=>{s[o]=new Proxy(i[o],new _l(new Proxy(t,this)))}),s}const n=t[e];return lt(n,ur)?new Proxy(n,new _l(new Proxy(t,this))):n}}W(uh,W_,"TableAliasProxyHandler");function sf(r,t){return new Proxy(r,new uh(t,!1))}function ci(r,t){return new Proxy(r,new _l(new Proxy(r.table,new uh(t,!1))))}function nM(r,t){return new Ft.Aliased(Cc(r.sql,t),r.fieldAlias)}function Cc(r,t){return Y.join(r.queryChunks.map(e=>lt(e,ur)?ci(e,t):lt(e,Ft)?Cc(e,t):lt(e,Ft.Aliased)?nM(e,t):e))}var H_,X_;class dg extends(X_=Error,H_=It,X_){constructor({message:t,cause:e}){super(t),this.name="DrizzleError",this.cause=e}}W(dg,H_,"DrizzleError");var Y_,q_;class iM extends(q_=dg,Y_=It,q_){constructor(){super({message:"Rollback"})}}W(iM,Y_,"TransactionRollbackError");function Pr(r,t){return u5(t)&&!tM(r)&&!lt(r,_i)&&!lt(r,$s)&&!lt(r,ur)&&!lt(r,Mt)&&!lt(r,rs)?new _i(r,t):r}const sM=(r,t)=>Y`${r} = ${Pr(t,r)}`,h5=(r,t)=>Y`${r} <> ${Pr(t,r)}`;function kp(...r){const t=r.filter(e=>e!==void 0);if(t.length!==0)return t.length===1?new Ft(t):new Ft([new nr("("),Y.join(t,new nr(" and ")),new nr(")")])}function d5(...r){const t=r.filter(e=>e!==void 0);if(t.length!==0)return t.length===1?new Ft(t):new Ft([new nr("("),Y.join(t,new nr(" or ")),new nr(")")])}function f5(r){return Y`not ${r}`}const p5=(r,t)=>Y`${r} > ${Pr(t,r)}`,m5=(r,t)=>Y`${r} >= ${Pr(t,r)}`,g5=(r,t)=>Y`${r} < ${Pr(t,r)}`,y5=(r,t)=>Y`${r} <= ${Pr(t,r)}`;function v5(r,t){return Array.isArray(t)?t.length===0?Y`false`:Y`${r} in ${t.map(e=>Pr(e,r))}`:Y`${r} in ${Pr(t,r)}`}function _5(r,t){return Array.isArray(t)?t.length===0?Y`true`:Y`${r} not in ${t.map(e=>Pr(e,r))}`:Y`${r} not in ${Pr(t,r)}`}function b5(r){return Y`${r} is null`}function x5(r){return Y`${r} is not null`}function w5(r){return Y`exists ${r}`}function S5(r){return Y`not exists ${r}`}function T5(r,t,e){return Y`${r} between ${Pr(t,r)} and ${Pr(e,r)}`}function I5(r,t,e){return Y`${r} not between ${Pr(t,r)} and ${Pr(e,r)}`}function M5(r,t){return Y`${r} like ${t}`}function E5(r,t){return Y`${r} not like ${t}`}function A5(r,t){return Y`${r} ilike ${t}`}function C5(r,t){return Y`${r} not ilike ${t}`}function O5(r){return Y`${r} asc`}function P5(r){return Y`${r} desc`}var Q_;Q_=It;class oM{write(t){console.log(t)}}W(oM,Q_,"ConsoleLogWriter");var Z_;Z_=It;class aM{constructor(t){W(this,"writer");this.writer=(t==null?void 0:t.writer)??new oM}logQuery(t,e){const n=e.map(s=>{try{return JSON.stringify(s)}catch{return String(s)}}),i=n.length?` -- params: [${n.join(", ")}]`:"";this.writer.write(`Query: ${t}${i}`)}}W(aM,Z_,"DefaultLogger");var K_;K_=It;class lM{logQuery(){}}W(lM,K_,"NoopLogger");var J_,tb;tb=It,J_=Symbol.toStringTag;class ns{constructor(){W(this,J_,"QueryPromise")}catch(t){return this.then(void 0,t)}finally(t){return this.then(e=>(t==null||t(),e),e=>{throw t==null||t(),e})}then(t,e){return this.execute().then(t,e)}}W(ns,tb,"QueryPromise");function Gs(r,t){return Object.entries(r).reduce((e,[n,i])=>{if(typeof n!="string")return e;const s=t?[...t,n]:[n];return lt(i,ur)||lt(i,Ft)||lt(i,Ft.Aliased)?e.push({path:s,field:i}):lt(i,Mt)?e.push(...Gs(i[Mt.Symbol.Columns],s)):e.push(...Gs(i,s)),e},[])}function fg(r,t){const e=Object.keys(r),n=Object.keys(t);if(e.length!==n.length)return!1;for(const[i,s]of e.entries())if(s!==n[i])return!1;return!0}function uM(r,t){const e=Object.entries(t).filter(([,n])=>n!==void 0).map(([n,i])=>lt(i,Ft)||lt(i,ur)?[n,i]:[n,new _i(i,r[Mt.Symbol.Columns][n])]);if(e.length===0)throw new Error("No values to set");return Object.fromEntries(e)}function R5(r,t){for(const e of t)for(const n of Object.getOwnPropertyNames(e.prototype))n!=="constructor"&&Object.defineProperty(r.prototype,n,Object.getOwnPropertyDescriptor(e.prototype,n)||Object.create(null))}function F5(r){return r[Mt.Symbol.Columns]}function Es(r){return lt(r,Gr)?r._.alias:lt(r,rs)?r[er].name:lt(r,Ft)?void 0:r[Mt.Symbol.IsAlias]?r[Mt.Symbol.Name]:r[Mt.Symbol.BaseName]}function D5(r){if(typeof r!="object"||r===null||r.constructor.name!=="Object")return!1;if("logger"in r){const t=typeof r.logger;return!(t!=="boolean"&&(t!=="object"||typeof r.logger.logQuery!="function")&&t!=="undefined")}if("schema"in r){const t=typeof r.logger;return!(t!=="object"&&t!=="undefined")}if("casing"in r){const t=typeof r.logger;return!(t!=="string"&&t!=="undefined")}if("mode"in r)return!(r.mode!=="default"||r.mode!=="planetscale"||r.mode!==void 0);if("connection"in r){const t=typeof r.connection;return!(t!=="string"&&t!=="object"&&t!=="undefined")}if("client"in r){const t=typeof r.client;return!(t!=="object"&&t!=="function"&&t!=="undefined")}return Object.keys(r).length===0}var eb,rb;class cM extends(rb=$r,eb=It,rb){getSQLType(){return"date"}mapFromDriverValue(t){return new Date(t)}mapToDriverValue(t){return t.toISOString()}}W(cM,eb,"PgDate");var nb,ib;class hM extends(ib=$r,nb=It,ib){getSQLType(){return"date"}}W(hM,nb,"PgDateString");var sb,ob;class dM extends(ob=$r,sb=It,ob){constructor(t,e){super(t,e)}getSQLType(){return"json"}mapToDriverValue(t){return JSON.stringify(t)}mapFromDriverValue(t){if(typeof t=="string")try{return JSON.parse(t)}catch{return t}return t}}W(dM,sb,"PgJson");var ab,lb;class fM extends(lb=$r,ab=It,lb){constructor(t,e){super(t,e)}getSQLType(){return"jsonb"}mapToDriverValue(t){return JSON.stringify(t)}mapFromDriverValue(t){if(typeof t=="string")try{return JSON.parse(t)}catch{return t}return t}}W(fM,ab,"PgJsonb");var ub,cb;class pM extends(cb=$r,ub=It,cb){constructor(e,n){super(e,n);W(this,"precision");W(this,"scale");this.precision=n.precision,this.scale=n.scale}getSQLType(){return this.precision!==void 0&&this.scale!==void 0?`numeric(${this.precision}, ${this.scale})`:this.precision===void 0?"numeric":`numeric(${this.precision})`}}W(pM,ub,"PgNumeric");var hb,db;class mM extends(db=$r,hb=It,db){constructor(e,n){super(e,n);W(this,"withTimezone");W(this,"precision");this.withTimezone=n.withTimezone,this.precision=n.precision}getSQLType(){return`time${this.precision===void 0?"":`(${this.precision})`}${this.withTimezone?" with time zone":""}`}}W(mM,hb,"PgTime");var fb,pb;class gM extends(pb=$r,fb=It,pb){constructor(e,n){super(e,n);W(this,"withTimezone");W(this,"precision");W(this,"mapFromDriverValue",e=>new Date(this.withTimezone?e:e+"+0000"));W(this,"mapToDriverValue",e=>e.toISOString());this.withTimezone=n.withTimezone,this.precision=n.precision}getSQLType(){return`timestamp${this.precision===void 0?"":` (${this.precision})`}${this.withTimezone?" with time zone":""}`}}W(gM,fb,"PgTimestamp");var mb,gb;class yM extends(gb=$r,mb=It,gb){constructor(e,n){super(e,n);W(this,"withTimezone");W(this,"precision");this.withTimezone=n.withTimezone,this.precision=n.precision}getSQLType(){return`timestamp${this.precision===void 0?"":`(${this.precision})`}${this.withTimezone?" with time zone":""}`}}W(yM,mb,"PgTimestampString");var yb,vb;class vM extends(vb=$r,yb=It,vb){getSQLType(){return"uuid"}}W(vM,yb,"PgUUID");const p_=Symbol.for("drizzle:PgInlineForeignKeys"),m_=Symbol.for("drizzle:EnableRLS");var _b,bb,xb,wb,Sb,Tb;class en extends(Tb=Mt,Sb=It,wb=p_,xb=m_,bb=Mt.Symbol.ExtraConfigBuilder,_b=Mt.Symbol.ExtraConfigColumns,Tb){constructor(){super(...arguments);W(this,wb,[]);W(this,xb,!1);W(this,bb);W(this,_b,{})}}W(en,Sb,"PgTable"),W(en,"Symbol",Object.assign({},Mt.Symbol,{InlineForeignKeys:p_,EnableRLS:m_}));var Ib;Ib=It;class _M{constructor(t,e){W(this,"columns");W(this,"name");this.columns=t,this.name=e}build(t){return new bM(t,this.columns,this.name)}}W(_M,Ib,"PgPrimaryKeyBuilder");var Mb;Mb=It;class bM{constructor(t,e,n){W(this,"columns");W(this,"name");this.table=t,this.columns=e,this.name=n}getName(){return this.name??`${this.table[en.Symbol.Name]}_${this.columns.map(t=>t.name).join("_")}_pk`}}W(bM,Mb,"PgPrimaryKey");var Eb;Eb=It;class pg{constructor(t,e,n){W(this,"referencedTableName");W(this,"fieldName");this.sourceTable=t,this.referencedTable=e,this.relationName=n,this.referencedTableName=e[Mt.Symbol.Name]}}W(pg,Eb,"Relation");var Ab;Ab=It;class xM{constructor(t,e){this.table=t,this.config=e}}W(xM,Ab,"Relations");var Cb,Ob;const Rc=class Rc extends(Ob=pg,Cb=It,Ob){constructor(t,e,n,i){super(t,e,n==null?void 0:n.relationName),this.config=n,this.isNullable=i}withFieldName(t){const e=new Rc(this.sourceTable,this.referencedTable,this.config,this.isNullable);return e.fieldName=t,e}};W(Rc,Cb,"One");let Ws=Rc;var Pb,Rb;const Fc=class Fc extends(Rb=pg,Pb=It,Rb){constructor(t,e,n){super(t,e,n==null?void 0:n.relationName),this.config=n}withFieldName(t){const e=new Fc(this.sourceTable,this.referencedTable,this.config);return e.fieldName=t,e}};W(Fc,Pb,"Many");let Oc=Fc;function L5(){return{and:kp,between:T5,eq:sM,exists:w5,gt:p5,gte:m5,ilike:A5,inArray:v5,isNull:b5,isNotNull:x5,like:M5,lt:g5,lte:y5,ne:h5,not:f5,notBetween:I5,notExists:S5,notLike:E5,notIlike:C5,notInArray:_5,or:d5,sql:Y}}function N5(){return{sql:Y,asc:O5,desc:P5}}function B5(r,t){var s;Object.keys(r).length===1&&"default"in r&&!lt(r.default,Mt)&&(r=r.default);const e={},n={},i={};for(const[o,a]of Object.entries(r))if(lt(a,Mt)){const l=vl(a),u=n[l];e[l]=o,i[o]={tsName:o,dbName:a[Mt.Symbol.Name],schema:a[Mt.Symbol.Schema],columns:a[Mt.Symbol.Columns],relations:(u==null?void 0:u.relations)??{},primaryKey:(u==null?void 0:u.primaryKey)??[]};for(const h of Object.values(a[Mt.Symbol.Columns]))h.primary&&i[o].primaryKey.push(h);const c=(s=a[Mt.Symbol.ExtraConfigBuilder])==null?void 0:s.call(a,a[Mt.Symbol.ExtraConfigColumns]);if(c)for(const h of Object.values(c))lt(h,_M)&&i[o].primaryKey.push(...h.columns)}else if(lt(a,xM)){const l=vl(a.table),u=e[l],c=a.config(t(a.table));let h;for(const[f,d]of Object.entries(c))if(u){const m=i[u];m.relations[f]=d}else l in n||(n[l]={relations:{},primaryKey:h}),n[l].relations[f]=d}return{tables:i,tableNamesMap:e}}function k5(r){return function(e,n){return new Ws(r,e,n,(n==null?void 0:n.fields.reduce((i,s)=>i&&s.notNull,!0))??!1)}}function U5(r){return function(e,n){return new Oc(r,e,n)}}function z5(r,t,e){if(lt(e,Ws)&&e.config)return{fields:e.config.fields,references:e.config.references};const n=t[vl(e.referencedTable)];if(!n)throw new Error(`Table "${e.referencedTable[Mt.Symbol.Name]}" not found in schema`);const i=r[n];if(!i)throw new Error(`Table "${n}" not found in schema`);const s=e.sourceTable,o=t[vl(s)];if(!o)throw new Error(`Table "${s[Mt.Symbol.Name]}" not found in schema`);const a=[];for(const l of Object.values(i.relations))(e.relationName&&e!==l&&l.relationName===e.relationName||!e.relationName&&l.referencedTable===e.sourceTable)&&a.push(l);if(a.length>1)throw e.relationName?new Error(`There are multiple relations with name "${e.relationName}" in table "${n}"`):new Error(`There are multiple relations between "${n}" and "${e.sourceTable[Mt.Symbol.Name]}". Please specify relation name`);if(a[0]&<(a[0],Ws)&&a[0].config)return{fields:a[0].config.references,references:a[0].config.fields};throw new Error(`There is not enough information to infer relation "${o}.${e.fieldName}"`)}function V5(r){return{one:k5(r),many:U5(r)}}function Up(r,t,e,n,i=s=>s){const s={};for(const[o,a]of n.entries())if(a.isJson){const l=t.relations[a.tsKey],u=e[o],c=typeof u=="string"?JSON.parse(u):u;s[a.tsKey]=lt(l,Ws)?c&&Up(r,r[a.relationTableTsKey],c,a.selection,i):c.map(h=>Up(r,r[a.relationTableTsKey],h,a.selection,i))}else{const l=i(e[o]),u=a.field;let c;lt(u,ur)?c=u:lt(u,Ft)?c=u.decoder:c=u.sql.decoder,s[a.tsKey]=l===null?null:c.mapFromDriverValue(l)}return s}var Fb;Fb=It;const Dc=class Dc{constructor(t){W(this,"config");this.config={...t}}get(t,e){if(e==="_")return{...t._,selectedFields:new Proxy(t._.selectedFields,this)};if(e===er)return{...t[er],selectedFields:new Proxy(t[er].selectedFields,this)};if(typeof e=="symbol")return t[e];const i=(lt(t,Gr)?t._.selectedFields:lt(t,rs)?t[er].selectedFields:t)[e];if(lt(i,Ft.Aliased)){if(this.config.sqlAliasedBehavior==="sql"&&!i.isSelectionField)return i.sql;const s=i.clone();return s.isSelectionField=!0,s}if(lt(i,Ft)){if(this.config.sqlBehavior==="sql")return i;throw new Error(`You tried to reference "${e}" field from a subquery, which is a raw SQL field, but it doesn't have an alias declared. Please add an alias to the field using ".as('alias')" method.`)}return lt(i,ur)?this.config.alias?new Proxy(i,new _l(new Proxy(i.table,new uh(this.config.alias,this.config.replaceOriginalName??!1)))):i:typeof i!="object"||i===null?i:new Proxy(i,new Dc(this.config))}};W(Dc,Fb,"SelectionProxyHandler");let pr=Dc;var Db,Lb;class zp extends(Lb=ns,Db=It,Lb){constructor(e,n,i,s){super();W(this,"config");W(this,"authToken");W(this,"execute",e=>Hr.startActiveSpan("drizzle.operation",()=>this._prepare().execute(e,this.authToken)));this.session=n,this.dialect=i,this.config={table:e,withList:s}}where(e){return this.config.where=e,this}returning(e=this.config.table[Mt.Symbol.Columns]){return this.config.returningFields=e,this.config.returning=Gs(e),this}getSQL(){return this.dialect.buildDeleteQuery(this.config)}toSQL(){const{typings:e,...n}=this.dialect.sqlToQuery(this.getSQL());return n}_prepare(e){return Hr.startActiveSpan("drizzle.prepareQuery",()=>this.session.prepareQuery(this.dialect.sqlToQuery(this.getSQL()),this.config.returning,e,!0))}prepare(e){return this._prepare(e)}setToken(e){return this.authToken=e,this}getSelectedFields(){return this.config.returningFields?new Proxy(this.config.returningFields,new pr({alias:Rs(this.config.table),sqlAliasedBehavior:"alias",sqlBehavior:"error"})):void 0}$dynamic(){return this}}W(zp,Db,"PgDelete");function j5(r){return(r.replace(/['\u2019]/g,"").match(/[\da-z]+|[A-Z]+(?![a-z])|[A-Z][\da-z]+/g)??[]).map(e=>e.toLowerCase()).join("_")}function $5(r){return(r.replace(/['\u2019]/g,"").match(/[\da-z]+|[A-Z]+(?![a-z])|[A-Z][\da-z]+/g)??[]).reduce((e,n,i)=>{const s=i===0?n.toLowerCase():`${n[0].toUpperCase()}${n.slice(1)}`;return e+s},"")}function G5(r){return r}var Nb;Nb=It;class wM{constructor(t){W(this,"cache",{});W(this,"cachedTables",{});W(this,"convert");this.convert=t==="snake_case"?j5:t==="camelCase"?$5:G5}getColumnCasing(t){if(!t.keyAsName)return t.name;const e=t.table[Mt.Symbol.Schema]??"public",n=t.table[Mt.Symbol.OriginalName],i=`${e}.${n}.${t.name}`;return this.cache[i]||this.cacheTable(t.table),this.cache[i]}cacheTable(t){const e=t[Mt.Symbol.Schema]??"public",n=t[Mt.Symbol.OriginalName],i=`${e}.${n}`;if(!this.cachedTables[i]){for(const s of Object.values(t[Mt.Symbol.Columns])){const o=`${i}.${s.name}`;this.cache[o]=this.convert(s.name)}this.cachedTables[i]=!0}}clearCache(){this.cache={},this.cachedTables={}}}W(wM,Nb,"CasingCache");var Bb,kb;class mg extends(kb=rs,Bb=It,kb){}W(mg,Bb,"PgViewBase");var Ub;Ub=It;class Qa{constructor(t){W(this,"casing");this.casing=new wM(t==null?void 0:t.casing)}async migrate(t,e,n){const i=typeof n=="string"?"__drizzle_migrations":n.migrationsTable??"__drizzle_migrations",s=typeof n=="string"?"drizzle":n.migrationsSchema??"drizzle",o=Y` CREATE TABLE IF NOT EXISTS ${Y.identifier(s)}.${Y.identifier(i)} ( id SERIAL PRIMARY KEY, hash text NOT NULL, created_at bigint ) - `;await e.execute(Y`CREATE SCHEMA IF NOT EXISTS ${Y.identifier(s)}`),await e.execute(o);const l=(await e.all(Y`select id, hash, created_at from ${Y.identifier(s)}.${Y.identifier(i)} order by created_at desc limit 1`))[0];await e.transaction(async u=>{for await(const c of t)if(!l||Number(l.created_at){var a;return e[o]!==void 0||((a=n[o])==null?void 0:a.onUpdateFn)!==void 0}),s=i.length;return Y.join(i.flatMap((o,a)=>{const l=n[o],u=e[o]??Y.param(l.onUpdateFn(),l),c=Y`${Y.identifier(this.casing.getColumnCasing(l))} = ${u}`;return a{const a=[];if(lt(s,Ft.Aliased)&&s.isSelectionField)a.push(Y.identifier(s.fieldAlias));else if(lt(s,Ft.Aliased)||lt(s,Ft)){const l=lt(s,Ft.Aliased)?s.sql:s;e?a.push(new Ft(l.queryChunks.map(u=>lt(u,$r)?Y.identifier(this.casing.getColumnCasing(u)):u))):a.push(l),lt(s,Ft.Aliased)&&a.push(Y` as ${Y.identifier(s.fieldAlias)}`)}else lt(s,ur)&&(e?a.push(Y.identifier(this.casing.getColumnCasing(s))):a.push(s));return oa==null?void 0:a.some(({alias:P})=>P===(nt[Mt.Symbol.IsAlias]?Rs(nt):nt[Mt.Symbol.BaseName])))(w.field.table)){const nt=Rs(w.field.table);throw new Error(`Your "${w.path.join("->")}" field references a column "${nt}"."${w.field.name}", but the table "${nt}" is not part of the query! Did you forget to join it?`)}const p=!a||a.length===0,y=this.buildWithCTE(t);let v;d&&(v=d===!0?Y` distinct`:Y` distinct on (${Y.join(d.on,Y`, `)})`);const S=this.buildSelection(g,{isSingleTable:p}),T=this.buildFromTable(o),_=this.buildJoins(a),M=i?Y` where ${i}`:void 0,x=s?Y` having ${s}`:void 0;let N;l&&l.length>0&&(N=Y` order by ${Y.join(l,Y`, `)}`);let L;u&&u.length>0&&(L=Y` group by ${Y.join(u,Y`, `)}`);const j=typeof c=="object"||typeof c=="number"&&c>=0?Y` limit ${c}`:void 0,it=h?Y` offset ${h}`:void 0,I=Y.empty();if(f){const w=Y` for ${Y.raw(f.strength)}`;f.config.of&&w.append(Y` of ${Y.join(Array.isArray(f.config.of)?f.config.of:[f.config.of],Y`, `)}`),f.config.noWait?w.append(Y` no wait`):f.config.skipLocked&&w.append(Y` skip locked`),I.append(w)}const Q=Y`${y}select${v} ${S} from ${T}${_}${M}${L}${x}${N}${j}${it}${I}`;return m.length>0?this.buildSetOperations(Q,m):Q}buildSetOperations(t,e){const[n,...i]=e;if(!n)throw new Error("Cannot pass undefined values to any set operator");return i.length===0?this.buildSetOperationQuery({leftSelect:t,setOperator:n}):this.buildSetOperations(this.buildSetOperationQuery({leftSelect:t,setOperator:n}),i)}buildSetOperationQuery({leftSelect:t,setOperator:{type:e,isAll:n,rightSelect:i,limit:s,orderBy:o,offset:a}}){const l=Y`(${t.getSQL()}) `,u=Y`(${i.getSQL()})`;let c;if(o&&o.length>0){const m=[];for(const g of o)if(lt(g,$r))m.push(Y.identifier(g.name));else if(lt(g,Ft)){for(let p=0;p=0?Y` limit ${s}`:void 0,f=Y.raw(`${e} ${n?"all ":""}`),d=a?Y` offset ${a}`:void 0;return Y`${l}${f}${u}${c}${h}${d}`}buildInsertQuery({table:t,values:e,onConflict:n,returning:i,withList:s,select:o,overridingSystemValue_:a}){const l=[],u=t[Mt.Symbol.Columns],c=Object.entries(u).filter(([y,v])=>!v.shouldDisableInsert()),h=c.map(([,y])=>Y.identifier(this.casing.getColumnCasing(y)));if(o){const y=e;lt(y,Ft)?l.push(y):l.push(y.getSQL())}else{const y=e;l.push(Y.raw("values "));for(const[v,S]of y.entries()){const T=[];for(const[_,M]of c){const x=S[_];if(x===void 0||lt(x,_i)&&x.value===void 0)if(M.defaultFn!==void 0){const N=M.defaultFn(),L=lt(N,Ft)?N:Y.param(N,M);T.push(L)}else if(!M.default&&M.onUpdateFn!==void 0){const N=M.onUpdateFn(),L=lt(N,Ft)?N:Y.param(N,M);T.push(L)}else T.push(Y`default`);else T.push(x)}l.push(T),v({dbKey:S.name,tsKey:v,field:ci(S,a),relationTableTsKey:void 0,isJson:!1,selection:[]}));else{const y=Object.fromEntries(Object.entries(s.columns).map(([x,N])=>[x,ci(N,a)]));if(o.where){const x=typeof o.where=="function"?o.where(y,L5()):o.where;m=x&&Cc(x,a)}const v=[];let S=[];if(o.columns){let x=!1;for(const[N,L]of Object.entries(o.columns))L!==void 0&&N in s.columns&&(!x&&L===!0&&(x=!0),S.push(N));S.length>0&&(S=x?S.filter(N=>{var L;return((L=o.columns)==null?void 0:L[N])===!0}):Object.keys(s.columns).filter(N=>!S.includes(N)))}else S=Object.keys(s.columns);for(const x of S){const N=s.columns[x];v.push({tsKey:x,value:N})}let T=[];o.with&&(T=Object.entries(o.with).filter(x=>!!x[1]).map(([x,N])=>({tsKey:x,queryConfig:N,relation:s.relations[x]})));let _;if(o.extras){_=typeof o.extras=="function"?o.extras(y,{sql:Y}):o.extras;for(const[x,N]of Object.entries(_))v.push({tsKey:x,value:nM(N,a)})}for(const{tsKey:x,value:N}of v)c.push({dbKey:lt(N,Ft.Aliased)?N.fieldAlias:s.columns[x].name,tsKey:x,field:lt(N,ur)?ci(N,a):N,relationTableTsKey:void 0,isJson:!1,selection:[]});let M=typeof o.orderBy=="function"?o.orderBy(y,N5()):o.orderBy??[];Array.isArray(M)||(M=[M]),d=M.map(x=>lt(x,ur)?ci(x,a):Cc(x,a)),h=o.limit,f=o.offset;for(const{tsKey:x,queryConfig:N,relation:L}of T){const j=z5(e,n,L),it=vl(L.referencedTable),I=n[it],Q=`${a}_${x}`,w=kp(...j.fields.map((C,R)=>sM(ci(j.references[R],Q),ci(C,a)))),nt=this.buildRelationalQueryWithoutPK({fullSchema:t,schema:e,tableNamesMap:n,table:t[I],tableConfig:e[I],queryConfig:lt(L,Ws)?N===!0?{limit:1}:{...N,limit:1}:N,tableAlias:Q,joinOn:w,nestedQueryRelation:L}),P=Y`${Y.identifier(Q)}.${Y.identifier("data")}`.as(x);g.push({on:Y`true`,table:new Gr(nt.sql,{},Q),alias:Q,joinType:"left",lateral:!0}),c.push({dbKey:x,tsKey:x,field:P,relationTableTsKey:I,isJson:!0,selection:nt.selection})}}if(c.length===0)throw new dg({message:`No fields selected for table "${s.tsName}" ("${a}")`});let p;if(m=kp(u,m),l){let y=Y`json_build_array(${Y.join(c.map(({field:T,tsKey:_,isJson:M})=>M?Y`${Y.identifier(`${a}_${_}`)}.${Y.identifier("data")}`:lt(T,Ft.Aliased)?T.sql:T),Y`, `)})`;lt(l,Oc)&&(y=Y`coalesce(json_agg(${y}${d.length>0?Y` order by ${Y.join(d,Y`, `)}`:void 0}), '[]'::json)`);const v=[{dbKey:"data",tsKey:"data",field:y.as("data"),isJson:!0,relationTableTsKey:s.tsName,selection:c}];h!==void 0||f!==void 0||d.length>0?(p=this.buildSelectQuery({table:sf(i,a),fields:{},fieldsFlat:[{path:[],field:Y.raw("*")}],where:m,limit:h,offset:f,orderBy:d,setOperators:[]}),m=void 0,h=void 0,f=void 0,d=[]):p=sf(i,a),p=this.buildSelectQuery({table:lt(p,en)?p:new Gr(p,{},a),fields:{},fieldsFlat:v.map(({field:T})=>({path:[],field:lt(T,ur)?ci(T,a):T})),joins:g,where:m,limit:h,offset:f,orderBy:d,setOperators:[]})}else p=this.buildSelectQuery({table:sf(i,a),fields:{},fieldsFlat:c.map(({field:y})=>({path:[],field:lt(y,ur)?ci(y,a):y})),joins:g,where:m,limit:h,offset:f,orderBy:d,setOperators:[]});return{tableTsKey:s.tsName,sql:p,selection:c}}}W(Qa,Ub,"PgDialect");var zb;zb=It;class SM{getSelectedFields(){return this._.selectedFields}}W(SM,zb,"TypedQueryBuilder");var Vb;Vb=It;class kr{constructor(t){W(this,"fields");W(this,"session");W(this,"dialect");W(this,"withList",[]);W(this,"distinct");W(this,"authToken");this.fields=t.fields,this.session=t.session,this.dialect=t.dialect,t.withList&&(this.withList=t.withList),this.distinct=t.distinct}setToken(t){return this.authToken=t,this}from(t){const e=!!this.fields,n=t;let i;return this.fields?i=this.fields:lt(n,Gr)?i=Object.fromEntries(Object.keys(n._.selectedFields).map(s=>[s,n[s]])):lt(n,mg)?i=n[er].selectedFields:lt(n,Ft)?i={}:i=F5(n),new gg({table:n,fields:i,isPartialSelect:e,session:this.session,dialect:this.dialect,withList:this.withList,distinct:this.distinct}).setToken(this.authToken)}}W(kr,Vb,"PgSelectBuilder");var jb,$b;class TM extends($b=SM,jb=It,$b){constructor({table:e,fields:n,isPartialSelect:i,session:s,dialect:o,withList:a,distinct:l}){super();W(this,"_");W(this,"config");W(this,"joinsNotNullableMap");W(this,"tableName");W(this,"isPartialSelect");W(this,"session");W(this,"dialect");W(this,"leftJoin",this.createJoin("left"));W(this,"rightJoin",this.createJoin("right"));W(this,"innerJoin",this.createJoin("inner"));W(this,"fullJoin",this.createJoin("full"));W(this,"union",this.createSetOperator("union",!1));W(this,"unionAll",this.createSetOperator("union",!0));W(this,"intersect",this.createSetOperator("intersect",!1));W(this,"intersectAll",this.createSetOperator("intersect",!0));W(this,"except",this.createSetOperator("except",!1));W(this,"exceptAll",this.createSetOperator("except",!0));this.config={withList:a,table:e,fields:{...n},distinct:l,setOperators:[]},this.isPartialSelect=i,this.session=s,this.dialect=o,this._={selectedFields:n},this.tableName=Es(e),this.joinsNotNullableMap=typeof this.tableName=="string"?{[this.tableName]:!0}:{}}createJoin(e){return(n,i)=>{var a;const s=this.tableName,o=Es(n);if(typeof o=="string"&&((a=this.config.joins)!=null&&a.some(l=>l.alias===o)))throw new Error(`Alias "${o}" is already used in this query`);if(!this.isPartialSelect&&(Object.keys(this.joinsNotNullableMap).length===1&&typeof s=="string"&&(this.config.fields={[s]:this.config.fields}),typeof o=="string"&&!lt(n,Ft))){const l=lt(n,Gr)?n._.selectedFields:lt(n,rs)?n[er].selectedFields:n[Mt.Symbol.Columns];this.config.fields[o]=l}if(typeof i=="function"&&(i=i(new Proxy(this.config.fields,new pr({sqlAliasedBehavior:"sql",sqlBehavior:"sql"})))),this.config.joins||(this.config.joins=[]),this.config.joins.push({on:i,table:n,joinType:e,alias:o}),typeof o=="string")switch(e){case"left":{this.joinsNotNullableMap[o]=!1;break}case"right":{this.joinsNotNullableMap=Object.fromEntries(Object.entries(this.joinsNotNullableMap).map(([l])=>[l,!1])),this.joinsNotNullableMap[o]=!0;break}case"inner":{this.joinsNotNullableMap[o]=!0;break}case"full":{this.joinsNotNullableMap=Object.fromEntries(Object.entries(this.joinsNotNullableMap).map(([l])=>[l,!1])),this.joinsNotNullableMap[o]=!1;break}}return this}}createSetOperator(e,n){return i=>{const s=typeof i=="function"?i(W5()):i;if(!fg(this.getSelectedFields(),s.getSelectedFields()))throw new Error("Set operator error (union / intersect / except): selected fields are not the same or are in a different order");return this.config.setOperators.push({type:e,isAll:n,rightSelect:s}),this}}addSetOperators(e){return this.config.setOperators.push(...e),this}where(e){return typeof e=="function"&&(e=e(new Proxy(this.config.fields,new pr({sqlAliasedBehavior:"sql",sqlBehavior:"sql"})))),this.config.where=e,this}having(e){return typeof e=="function"&&(e=e(new Proxy(this.config.fields,new pr({sqlAliasedBehavior:"sql",sqlBehavior:"sql"})))),this.config.having=e,this}groupBy(...e){if(typeof e[0]=="function"){const n=e[0](new Proxy(this.config.fields,new pr({sqlAliasedBehavior:"alias",sqlBehavior:"sql"})));this.config.groupBy=Array.isArray(n)?n:[n]}else this.config.groupBy=e;return this}orderBy(...e){if(typeof e[0]=="function"){const n=e[0](new Proxy(this.config.fields,new pr({sqlAliasedBehavior:"alias",sqlBehavior:"sql"}))),i=Array.isArray(n)?n:[n];this.config.setOperators.length>0?this.config.setOperators.at(-1).orderBy=i:this.config.orderBy=i}else{const n=e;this.config.setOperators.length>0?this.config.setOperators.at(-1).orderBy=n:this.config.orderBy=n}return this}limit(e){return this.config.setOperators.length>0?this.config.setOperators.at(-1).limit=e:this.config.limit=e,this}offset(e){return this.config.setOperators.length>0?this.config.setOperators.at(-1).offset=e:this.config.offset=e,this}for(e,n={}){return this.config.lockingClause={strength:e,config:n},this}getSQL(){return this.dialect.buildSelectQuery(this.config)}toSQL(){const{typings:e,...n}=this.dialect.sqlToQuery(this.getSQL());return n}as(e){return new Proxy(new Gr(this.getSQL(),this.config.fields,e),new pr({alias:e,sqlAliasedBehavior:"alias",sqlBehavior:"error"}))}getSelectedFields(){return new Proxy(this.config.fields,new pr({alias:this.tableName,sqlAliasedBehavior:"alias",sqlBehavior:"error"}))}$dynamic(){return this}}W(TM,jb,"PgSelectQueryBuilder");var Gb,Wb;class gg extends(Wb=TM,Gb=It,Wb){constructor(){super(...arguments);W(this,"authToken");W(this,"execute",e=>Hr.startActiveSpan("drizzle.operation",()=>this._prepare().execute(e,this.authToken)))}_prepare(e){const{session:n,config:i,dialect:s,joinsNotNullableMap:o,authToken:a}=this;if(!n)throw new Error("Cannot execute a query on a query builder. Please use a database instance instead.");return Hr.startActiveSpan("drizzle.prepareQuery",()=>{const l=Gs(i.fields),u=n.prepareQuery(s.sqlToQuery(this.getSQL()),l,e,!0);return u.joinsNotNullableMap=o,u.setToken(a)})}prepare(e){return this._prepare(e)}setToken(e){return this.authToken=e,this}}W(gg,Gb,"PgSelect");R5(gg,[ns]);function la(r,t){return(e,n,...i)=>{const s=[n,...i].map(o=>({type:r,isAll:t,rightSelect:o}));for(const o of s)if(!fg(e.getSelectedFields(),o.rightSelect.getSelectedFields()))throw new Error("Set operator error (union / intersect / except): selected fields are not the same or are in a different order");return e.addSetOperators(s)}}const W5=()=>({union:H5,unionAll:X5,intersect:Y5,intersectAll:q5,except:Q5,exceptAll:Z5}),H5=la("union",!1),X5=la("union",!0),Y5=la("intersect",!1),q5=la("intersect",!0),Q5=la("except",!1),Z5=la("except",!0);var Hb;Hb=It;class yg{constructor(t){W(this,"dialect");W(this,"dialectConfig");W(this,"$with",(t,e)=>{const n=this;return{as:s=>(typeof s=="function"&&(s=s(n)),new Proxy(new hg(s.getSQL(),e??("getSelectedFields"in s?s.getSelectedFields()??{}:{}),t,!0),new pr({alias:t,sqlAliasedBehavior:"alias",sqlBehavior:"error"})))}});this.dialect=lt(t,Qa)?t:void 0,this.dialectConfig=lt(t,Qa)?void 0:t}with(...t){const e=this;function n(o){return new kr({fields:o??void 0,session:void 0,dialect:e.getDialect(),withList:t})}function i(o){return new kr({fields:o??void 0,session:void 0,dialect:e.getDialect(),distinct:!0})}function s(o,a){return new kr({fields:a??void 0,session:void 0,dialect:e.getDialect(),distinct:{on:o}})}return{select:n,selectDistinct:i,selectDistinctOn:s}}select(t){return new kr({fields:t??void 0,session:void 0,dialect:this.getDialect()})}selectDistinct(t){return new kr({fields:t??void 0,session:void 0,dialect:this.getDialect(),distinct:!0})}selectDistinctOn(t,e){return new kr({fields:e??void 0,session:void 0,dialect:this.getDialect(),distinct:{on:t}})}getDialect(){return this.dialect||(this.dialect=new Qa(this.dialectConfig)),this.dialect}}W(yg,Hb,"PgQueryBuilder");var Xb;Xb=It;class Vp{constructor(t,e,n,i,s){W(this,"authToken");this.table=t,this.session=e,this.dialect=n,this.withList=i,this.overridingSystemValue_=s}setToken(t){return this.authToken=t,this}overridingSystemValue(){return this.overridingSystemValue_=!0,this}values(t){if(t=Array.isArray(t)?t:[t],t.length===0)throw new Error("values() must be called with at least one value");const e=t.map(n=>{const i={},s=this.table[Mt.Symbol.Columns];for(const o of Object.keys(n)){const a=n[o];i[o]=lt(a,Ft)?a:new _i(a,s[o])}return i});return new jp(this.table,e,this.session,this.dialect,this.withList,!1,this.overridingSystemValue_).setToken(this.authToken)}select(t){const e=typeof t=="function"?t(new yg):t;if(!lt(e,Ft)&&!fg(this.table[Bp],e._.selectedFields))throw new Error("Insert select error: selected fields are not the same or are in a different order compared to the table definition");return new jp(this.table,e,this.session,this.dialect,this.withList,!0)}}W(Vp,Xb,"PgInsertBuilder");var Yb,qb;class jp extends(qb=ns,Yb=It,qb){constructor(e,n,i,s,o,a,l){super();W(this,"config");W(this,"authToken");W(this,"execute",e=>Hr.startActiveSpan("drizzle.operation",()=>this._prepare().execute(e,this.authToken)));this.session=i,this.dialect=s,this.config={table:e,values:n,withList:o,select:a,overridingSystemValue_:l}}returning(e=this.config.table[Mt.Symbol.Columns]){return this.config.returningFields=e,this.config.returning=Gs(e),this}onConflictDoNothing(e={}){if(e.target===void 0)this.config.onConflict=Y`do nothing`;else{let n="";n=Array.isArray(e.target)?e.target.map(s=>this.dialect.escapeName(this.dialect.casing.getColumnCasing(s))).join(","):this.dialect.escapeName(this.dialect.casing.getColumnCasing(e.target));const i=e.where?Y` where ${e.where}`:void 0;this.config.onConflict=Y`(${Y.raw(n)})${i} do nothing`}return this}onConflictDoUpdate(e){if(e.where&&(e.targetWhere||e.setWhere))throw new Error('You cannot use both "where" and "targetWhere"/"setWhere" at the same time - "where" is deprecated, use "targetWhere" or "setWhere" instead.');const n=e.where?Y` where ${e.where}`:void 0,i=e.targetWhere?Y` where ${e.targetWhere}`:void 0,s=e.setWhere?Y` where ${e.setWhere}`:void 0,o=this.dialect.buildUpdateSet(this.config.table,uM(this.config.table,e.set));let a="";return a=Array.isArray(e.target)?e.target.map(l=>this.dialect.escapeName(this.dialect.casing.getColumnCasing(l))).join(","):this.dialect.escapeName(this.dialect.casing.getColumnCasing(e.target)),this.config.onConflict=Y`(${Y.raw(a)})${i} do update set ${o}${n}${s}`,this}getSQL(){return this.dialect.buildInsertQuery(this.config)}toSQL(){const{typings:e,...n}=this.dialect.sqlToQuery(this.getSQL());return n}_prepare(e){return Hr.startActiveSpan("drizzle.prepareQuery",()=>this.session.prepareQuery(this.dialect.sqlToQuery(this.getSQL()),this.config.returning,e,!0))}prepare(e){return this._prepare(e)}setToken(e){return this.authToken=e,this}getSelectedFields(){return this.config.returningFields?new Proxy(this.config.returningFields,new pr({alias:Rs(this.config.table),sqlAliasedBehavior:"alias",sqlBehavior:"error"})):void 0}$dynamic(){return this}}W(jp,Yb,"PgInsert");var Qb,Zb;class IM extends(Zb=ns,Qb=It,Zb){constructor(e,n,i){super();W(this,"config");W(this,"authToken");W(this,"execute",e=>Hr.startActiveSpan("drizzle.operation",()=>this._prepare().execute(e,this.authToken)));this.session=n,this.dialect=i,this.config={view:e}}concurrently(){if(this.config.withNoData!==void 0)throw new Error("Cannot use concurrently and withNoData together");return this.config.concurrently=!0,this}withNoData(){if(this.config.concurrently!==void 0)throw new Error("Cannot use concurrently and withNoData together");return this.config.withNoData=!0,this}getSQL(){return this.dialect.buildRefreshMaterializedViewQuery(this.config)}toSQL(){const{typings:e,...n}=this.dialect.sqlToQuery(this.getSQL());return n}_prepare(e){return Hr.startActiveSpan("drizzle.prepareQuery",()=>this.session.prepareQuery(this.dialect.sqlToQuery(this.getSQL()),void 0,e,!0))}prepare(e){return this._prepare(e)}setToken(e){return this.authToken=e,this}}W(IM,Qb,"PgRefreshMaterializedView");var Kb;Kb=It;class $p{constructor(t,e,n,i){W(this,"authToken");this.table=t,this.session=e,this.dialect=n,this.withList=i}setToken(t){return this.authToken=t,this}set(t){return new MM(this.table,uM(this.table,t),this.session,this.dialect,this.withList).setToken(this.authToken)}}W($p,Kb,"PgUpdateBuilder");var Jb,tx;class MM extends(tx=ns,Jb=It,tx){constructor(e,n,i,s,o){super();W(this,"config");W(this,"tableName");W(this,"joinsNotNullableMap");W(this,"leftJoin",this.createJoin("left"));W(this,"rightJoin",this.createJoin("right"));W(this,"innerJoin",this.createJoin("inner"));W(this,"fullJoin",this.createJoin("full"));W(this,"authToken");W(this,"execute",e=>this._prepare().execute(e,this.authToken));this.session=i,this.dialect=s,this.config={set:n,table:e,withList:o,joins:[]},this.tableName=Es(e),this.joinsNotNullableMap=typeof this.tableName=="string"?{[this.tableName]:!0}:{}}from(e){const n=e,i=Es(n);return typeof i=="string"&&(this.joinsNotNullableMap[i]=!0),this.config.from=n,this}getTableLikeFields(e){return lt(e,en)?e[Mt.Symbol.Columns]:lt(e,Gr)?e._.selectedFields:e[er].selectedFields}createJoin(e){return(n,i)=>{const s=Es(n);if(typeof s=="string"&&this.config.joins.some(o=>o.alias===s))throw new Error(`Alias "${s}" is already used in this query`);if(typeof i=="function"){const o=this.config.from&&!lt(this.config.from,Ft)?this.getTableLikeFields(this.config.from):void 0;i=i(new Proxy(this.config.table[Mt.Symbol.Columns],new pr({sqlAliasedBehavior:"sql",sqlBehavior:"sql"})),o&&new Proxy(o,new pr({sqlAliasedBehavior:"sql",sqlBehavior:"sql"})))}if(this.config.joins.push({on:i,table:n,joinType:e,alias:s}),typeof s=="string")switch(e){case"left":{this.joinsNotNullableMap[s]=!1;break}case"right":{this.joinsNotNullableMap=Object.fromEntries(Object.entries(this.joinsNotNullableMap).map(([o])=>[o,!1])),this.joinsNotNullableMap[s]=!0;break}case"inner":{this.joinsNotNullableMap[s]=!0;break}case"full":{this.joinsNotNullableMap=Object.fromEntries(Object.entries(this.joinsNotNullableMap).map(([o])=>[o,!1])),this.joinsNotNullableMap[s]=!1;break}}return this}}where(e){return this.config.where=e,this}returning(e){if(!e&&(e=Object.assign({},this.config.table[Mt.Symbol.Columns]),this.config.from)){const n=Es(this.config.from);if(typeof n=="string"&&this.config.from&&!lt(this.config.from,Ft)){const i=this.getTableLikeFields(this.config.from);e[n]=i}for(const i of this.config.joins){const s=Es(i.table);if(typeof s=="string"&&!lt(i.table,Ft)){const o=this.getTableLikeFields(i.table);e[s]=o}}}return this.config.returningFields=e,this.config.returning=Gs(e),this}getSQL(){return this.dialect.buildUpdateQuery(this.config)}toSQL(){const{typings:e,...n}=this.dialect.sqlToQuery(this.getSQL());return n}_prepare(e){const n=this.session.prepareQuery(this.dialect.sqlToQuery(this.getSQL()),this.config.returning,e,!0);return n.joinsNotNullableMap=this.joinsNotNullableMap,n}prepare(e){return this._prepare(e)}setToken(e){return this.authToken=e,this}getSelectedFields(){return this.config.returningFields?new Proxy(this.config.returningFields,new pr({alias:Rs(this.config.table),sqlAliasedBehavior:"alias",sqlBehavior:"error"})):void 0}$dynamic(){return this}}W(MM,Jb,"PgUpdate");var ex,rx,nx;const Ka=class Ka extends(nx=Ft,rx=It,ex=Symbol.toStringTag,nx){constructor(e){super(Ka.buildEmbeddedCount(e.source,e.filters).queryChunks);W(this,"sql");W(this,"token");W(this,ex,"PgCountBuilder");W(this,"session");this.params=e,this.mapWith(Number),this.session=e.session,this.sql=Ka.buildCount(e.source,e.filters)}static buildEmbeddedCount(e,n){return Y`(select count(*) from ${e}${Y.raw(" where ").if(n)}${n})`}static buildCount(e,n){return Y`select count(*) as count from ${e}${Y.raw(" where ").if(n)}${n};`}setToken(e){return this.token=e,this}then(e,n){return Promise.resolve(this.session.count(this.sql,this.token)).then(e,n)}catch(e){return this.then(void 0,e)}finally(e){return this.then(n=>(e==null||e(),n),n=>{throw e==null||e(),n})}};W(Ka,rx,"PgCountBuilder");let Gp=Ka;var ix;ix=It;class EM{constructor(t,e,n,i,s,o,a){this.fullSchema=t,this.schema=e,this.tableNamesMap=n,this.table=i,this.tableConfig=s,this.dialect=o,this.session=a}findMany(t){return new Wp(this.fullSchema,this.schema,this.tableNamesMap,this.table,this.tableConfig,this.dialect,this.session,t||{},"many")}findFirst(t){return new Wp(this.fullSchema,this.schema,this.tableNamesMap,this.table,this.tableConfig,this.dialect,this.session,t?{...t,limit:1}:{limit:1},"first")}}W(EM,ix,"PgRelationalQueryBuilder");var sx,ox;class Wp extends(ox=ns,sx=It,ox){constructor(e,n,i,s,o,a,l,u,c){super();W(this,"authToken");this.fullSchema=e,this.schema=n,this.tableNamesMap=i,this.table=s,this.tableConfig=o,this.dialect=a,this.session=l,this.config=u,this.mode=c}_prepare(e){return Hr.startActiveSpan("drizzle.prepareQuery",()=>{const{query:n,builtQuery:i}=this._toSQL();return this.session.prepareQuery(i,void 0,e,!0,(s,o)=>{const a=s.map(l=>Up(this.schema,this.tableConfig,l,n.selection,o));return this.mode==="first"?a[0]:a})})}prepare(e){return this._prepare(e)}_getQuery(){return this.dialect.buildRelationalQueryWithoutPK({fullSchema:this.fullSchema,schema:this.schema,tableNamesMap:this.tableNamesMap,table:this.table,tableConfig:this.tableConfig,queryConfig:this.config,tableAlias:this.tableConfig.tsName})}getSQL(){return this._getQuery().sql}_toSQL(){const e=this._getQuery(),n=this.dialect.sqlToQuery(e.sql);return{query:e,builtQuery:n}}toSQL(){return this._toSQL().builtQuery}setToken(e){return this.authToken=e,this}execute(){return Hr.startActiveSpan("drizzle.operation",()=>this._prepare().execute(void 0,this.authToken))}}W(Wp,sx,"PgRelationalQuery");var ax,lx;class AM extends(lx=ns,ax=It,lx){constructor(t,e,n,i){super(),this.execute=t,this.sql=e,this.query=n,this.mapBatchResult=i}getSQL(){return this.sql}getQuery(){return this.query}mapResult(t,e){return e?this.mapBatchResult(t):t}_prepare(){return this}isResponseInArrayMode(){return!1}}W(AM,ax,"PgRaw");var ux;ux=It;class vg{constructor(t,e,n){W(this,"query");W(this,"$with",(t,e)=>{const n=this;return{as:s=>(typeof s=="function"&&(s=s(new yg(n.dialect))),new Proxy(new hg(s.getSQL(),e??("getSelectedFields"in s?s.getSelectedFields()??{}:{}),t,!0),new pr({alias:t,sqlAliasedBehavior:"alias",sqlBehavior:"error"})))}});W(this,"authToken");if(this.dialect=t,this.session=e,this._=n?{schema:n.schema,fullSchema:n.fullSchema,tableNamesMap:n.tableNamesMap,session:e}:{schema:void 0,fullSchema:{},tableNamesMap:{},session:e},this.query={},this._.schema)for(const[i,s]of Object.entries(this._.schema))this.query[i]=new EM(n.fullSchema,this._.schema,this._.tableNamesMap,n.fullSchema[i],s,t,e)}$count(t,e){return new Gp({source:t,filters:e,session:this.session})}with(...t){const e=this;function n(u){return new kr({fields:u??void 0,session:e.session,dialect:e.dialect,withList:t})}function i(u){return new kr({fields:u??void 0,session:e.session,dialect:e.dialect,withList:t,distinct:!0})}function s(u,c){return new kr({fields:c??void 0,session:e.session,dialect:e.dialect,withList:t,distinct:{on:u}})}function o(u){return new $p(u,e.session,e.dialect,t)}function a(u){return new Vp(u,e.session,e.dialect,t)}function l(u){return new zp(u,e.session,e.dialect,t)}return{select:n,selectDistinct:i,selectDistinctOn:s,update:o,insert:a,delete:l}}select(t){return new kr({fields:t??void 0,session:this.session,dialect:this.dialect})}selectDistinct(t){return new kr({fields:t??void 0,session:this.session,dialect:this.dialect,distinct:!0})}selectDistinctOn(t,e){return new kr({fields:e??void 0,session:this.session,dialect:this.dialect,distinct:{on:t}})}update(t){return new $p(t,this.session,this.dialect)}insert(t){return new Vp(t,this.session,this.dialect)}delete(t){return new zp(t,this.session,this.dialect)}refreshMaterializedView(t){return new IM(t,this.session,this.dialect)}execute(t){const e=typeof t=="string"?Y.raw(t):t.getSQL(),n=this.dialect.sqlToQuery(e),i=this.session.prepareQuery(n,void 0,void 0,!1);return new AM(()=>i.execute(void 0,this.authToken),e,n,s=>i.mapResult(s,!0))}transaction(t,e){return this.session.transaction(t,e)}}W(vg,ux,"PgDatabase");var cx;cx=It;class CM{constructor(t){W(this,"authToken");W(this,"joinsNotNullableMap");this.query=t}getQuery(){return this.query}mapResult(t,e){return t}setToken(t){return this.authToken=t,this}}W(CM,cx,"PgPreparedQuery");var hx;hx=It;class OM{constructor(t){this.dialect=t}execute(t,e){return Hr.startActiveSpan("drizzle.operation",()=>Hr.startActiveSpan("drizzle.prepareQuery",()=>this.prepareQuery(this.dialect.sqlToQuery(t),void 0,void 0,!1)).setToken(e).execute(void 0,e))}all(t){return this.prepareQuery(this.dialect.sqlToQuery(t),void 0,void 0,!1).all()}async count(t,e){const n=await this.execute(t,e);return Number(n[0].count)}}W(OM,hx,"PgSession");var dx,fx;class PM extends(fx=vg,dx=It,fx){constructor(t,e,n,i=0){super(t,e,n),this.schema=n,this.nestedIndex=i}rollback(){throw new iM}getTransactionConfigSQL(t){const e=[];return t.isolationLevel&&e.push(`isolation level ${t.isolationLevel}`),t.accessMode&&e.push(t.accessMode),typeof t.deferrable=="boolean"&&e.push(t.deferrable?"deferrable":"not deferrable"),Y.raw(e.join(" "))}setTransaction(t){return this.session.execute(Y`set transaction ${this.getTransactionConfigSQL(t)}`)}}W(PM,dx,"PgTransaction");function g_(r){return typeof r=="string"&&/^true$/i.test(r)}function K5(r){const t={scheme:"duckdb-wasm:"},e=new URL(r);if(!e.protocol.startsWith("duckdb-wasm:"))throw new Error(`Expected scheme to be "duckdb-wasm:" but got "${e.protocol}"`);e.searchParams.get("bundles")==="import-url"&&(t.bundles="import-url");const n=e.searchParams.get("logger");n&&g_(n)&&(t.logger=!0);const i=e.searchParams.get("storage");switch(i){case yl.ORIGIN_PRIVATE_FS:{e.host.length>0&&console.warn(`Host "${e.host}" will be ignored while using Origin Private FS`);const s=e.searchParams.get("write");t.storage={type:yl.ORIGIN_PRIVATE_FS,path:e.pathname.startsWith("/")?e.pathname.slice(1):e.pathname,...s&&g_(s)&&{accessMode:hT.READ_WRITE}};break}case null:break;default:console.warn(`Unknown storage type "${i}"`);break}return t}var px,mx;class RM extends(mx=CM,px=It,mx){constructor(t,e,n,i,s,o){super({sql:e,params:n}),this.client=t,this.queryString=e,this.params=n,this.logger=i,this.fields=s,this.customResultMapper=o}async execute(t={}){const e=f_(this.params,t);this.logger.logQuery(this.queryString,e);const{fields:n,queryString:i,client:s,customResultMapper:o}=this,a=await s;return a.query(i,e)}async all(t={}){const e=f_(this.params,t);return this.logger.logQuery(this.queryString,e),(await this.client).query(this.queryString,e)}}W(RM,px,"DuckDBWasmPreparedQuery");var gx,yx;const Lc=class Lc extends(yx=OM,gx=It,yx){constructor(e,n,i,s={}){super(n);W(this,"logger");this.client=e,this.schema=i,this.options=s,this.logger=s.logger??new lM}prepareQuery(e,n,i,s,o){return new RM(this.client,e.sql,e.params,this.logger,n,o)}async query(e,n){return this.logger.logQuery(e,n),(await this.client).query(e,n)}async queryObjects(e,n){return this.logger.logQuery(e,n),(await this.client).query(e,n)}transaction(e,n){return n5(this.client,async i=>{const s=new Lc(i,this.dialect,this.schema,this.options),o=new Hp(this.dialect,s,this.schema);return n&&await o.setTransaction(n),e(o)})}};W(Lc,gx,"DuckDBWasmSession");let Pc=Lc;var vx,_x;const Nc=class Nc extends(_x=PM,vx=It,_x){constructor(e,n,i,s=0){super(e,n,i,s);W(this,"dialect");W(this,"session");this.dialect=e,this.session=n}async transaction(e){return i5(this.session.client,"",async n=>{const i=new Pc(n,this.dialect,this.schema,this.session.options),s=new Nc(this.dialect,i,this.schema);return e(s)})}};W(Nc,vx,"DuckDBWasmTransaction");let Hp=Nc;var bx,xx;class FM extends(xx=vg,bx=It,xx){}W(FM,bx,"DuckDBWasmDatabase");function Za(r,t={}){const e=new Qa({casing:t.casing});let n;t.logger===!0?n=new aM:t.logger!==!1&&(n=t.logger);let i;if(t.schema){const a=B5(t.schema,V5);i={fullSchema:t.schema,schema:a.tables,tableNamesMap:a.tableNamesMap}}const s=new Pc(r,e,i,{logger:n}),o=new FM(e,s,i);return o.$client=r,o}async function J5(r=!1){const t=await ZI();switch(t){case"browser":return r?(await Bi(async()=>{const{getImportUrlBundles:e}=await import("./import-url-browser-CPN8ipMD.js");return{getImportUrlBundles:e}},__vite__mapDeps([3,4]))).getImportUrlBundles():(await Bi(async()=>{const{getBundles:e}=await import("./default-browser-BrgSDbLD.js");return{getBundles:e}},[])).getBundles();case"node":return r?await(await Bi(async()=>{const{getImportUrlBundles:e}=await import("./import-url-node-BfNoxhRr.js");return{getImportUrlBundles:e}},__vite__mapDeps([5,4]))).getImportUrlBundles():await(await Bi(async()=>{const{getBundles:e}=await import("./default-node-Ct8UOs1_.js");return{getBundles:e}},__vite__mapDeps([0,1,2]))).getBundles();default:throw new Error(`Unsupported environment: "${t}"`)}}function y_(r,t){const e=K5(r);return Za(JI({bundles:J5(e.bundles==="import-url"),logger:e.logger?new dT:void 0,storage:e.storage}),t)}function v_(...r){if(typeof r[0]=="string")return y_(r[0],r[1]);if(D5(r[0])){const{connection:t,client:e,...n}=r[0];if(e)return Za(e,n);if(typeof t=="string")return y_(t,n);if(typeof t>"u")throw new Error("connection option is required");return Za(JI({bundles:t.bundles,logger:t.logger,storage:t.storage}),n)}return Za(r[0],r[1])}(r=>{function t(e){return Za({options:{parsers:{},serializers:{}}},e)}r.mock=t})(v_||(v_={}));var of={exports:{}};/*! + `;await e.execute(Y`CREATE SCHEMA IF NOT EXISTS ${Y.identifier(s)}`),await e.execute(o);const l=(await e.all(Y`select id, hash, created_at from ${Y.identifier(s)}.${Y.identifier(i)} order by created_at desc limit 1`))[0];await e.transaction(async u=>{for await(const c of t)if(!l||Number(l.created_at){var a;return e[o]!==void 0||((a=n[o])==null?void 0:a.onUpdateFn)!==void 0}),s=i.length;return Y.join(i.flatMap((o,a)=>{const l=n[o],u=e[o]??Y.param(l.onUpdateFn(),l),c=Y`${Y.identifier(this.casing.getColumnCasing(l))} = ${u}`;return a{const a=[];if(lt(s,Ft.Aliased)&&s.isSelectionField)a.push(Y.identifier(s.fieldAlias));else if(lt(s,Ft.Aliased)||lt(s,Ft)){const l=lt(s,Ft.Aliased)?s.sql:s;e?a.push(new Ft(l.queryChunks.map(u=>lt(u,$r)?Y.identifier(this.casing.getColumnCasing(u)):u))):a.push(l),lt(s,Ft.Aliased)&&a.push(Y` as ${Y.identifier(s.fieldAlias)}`)}else lt(s,ur)&&(e?a.push(Y.identifier(this.casing.getColumnCasing(s))):a.push(s));return oa==null?void 0:a.some(({alias:P})=>P===(nt[Mt.Symbol.IsAlias]?Rs(nt):nt[Mt.Symbol.BaseName])))(w.field.table)){const nt=Rs(w.field.table);throw new Error(`Your "${w.path.join("->")}" field references a column "${nt}"."${w.field.name}", but the table "${nt}" is not part of the query! Did you forget to join it?`)}const p=!a||a.length===0,y=this.buildWithCTE(t);let v;d&&(v=d===!0?Y` distinct`:Y` distinct on (${Y.join(d.on,Y`, `)})`);const S=this.buildSelection(g,{isSingleTable:p}),T=this.buildFromTable(o),_=this.buildJoins(a),M=i?Y` where ${i}`:void 0,x=s?Y` having ${s}`:void 0;let N;l&&l.length>0&&(N=Y` order by ${Y.join(l,Y`, `)}`);let L;u&&u.length>0&&(L=Y` group by ${Y.join(u,Y`, `)}`);const j=typeof c=="object"||typeof c=="number"&&c>=0?Y` limit ${c}`:void 0,it=h?Y` offset ${h}`:void 0,I=Y.empty();if(f){const w=Y` for ${Y.raw(f.strength)}`;f.config.of&&w.append(Y` of ${Y.join(Array.isArray(f.config.of)?f.config.of:[f.config.of],Y`, `)}`),f.config.noWait?w.append(Y` no wait`):f.config.skipLocked&&w.append(Y` skip locked`),I.append(w)}const Q=Y`${y}select${v} ${S} from ${T}${_}${M}${L}${x}${N}${j}${it}${I}`;return m.length>0?this.buildSetOperations(Q,m):Q}buildSetOperations(t,e){const[n,...i]=e;if(!n)throw new Error("Cannot pass undefined values to any set operator");return i.length===0?this.buildSetOperationQuery({leftSelect:t,setOperator:n}):this.buildSetOperations(this.buildSetOperationQuery({leftSelect:t,setOperator:n}),i)}buildSetOperationQuery({leftSelect:t,setOperator:{type:e,isAll:n,rightSelect:i,limit:s,orderBy:o,offset:a}}){const l=Y`(${t.getSQL()}) `,u=Y`(${i.getSQL()})`;let c;if(o&&o.length>0){const m=[];for(const g of o)if(lt(g,$r))m.push(Y.identifier(g.name));else if(lt(g,Ft)){for(let p=0;p=0?Y` limit ${s}`:void 0,f=Y.raw(`${e} ${n?"all ":""}`),d=a?Y` offset ${a}`:void 0;return Y`${l}${f}${u}${c}${h}${d}`}buildInsertQuery({table:t,values:e,onConflict:n,returning:i,withList:s,select:o,overridingSystemValue_:a}){const l=[],u=t[Mt.Symbol.Columns],c=Object.entries(u).filter(([y,v])=>!v.shouldDisableInsert()),h=c.map(([,y])=>Y.identifier(this.casing.getColumnCasing(y)));if(o){const y=e;lt(y,Ft)?l.push(y):l.push(y.getSQL())}else{const y=e;l.push(Y.raw("values "));for(const[v,S]of y.entries()){const T=[];for(const[_,M]of c){const x=S[_];if(x===void 0||lt(x,_i)&&x.value===void 0)if(M.defaultFn!==void 0){const N=M.defaultFn(),L=lt(N,Ft)?N:Y.param(N,M);T.push(L)}else if(!M.default&&M.onUpdateFn!==void 0){const N=M.onUpdateFn(),L=lt(N,Ft)?N:Y.param(N,M);T.push(L)}else T.push(Y`default`);else T.push(x)}l.push(T),v({dbKey:S.name,tsKey:v,field:ci(S,a),relationTableTsKey:void 0,isJson:!1,selection:[]}));else{const y=Object.fromEntries(Object.entries(s.columns).map(([x,N])=>[x,ci(N,a)]));if(o.where){const x=typeof o.where=="function"?o.where(y,L5()):o.where;m=x&&Cc(x,a)}const v=[];let S=[];if(o.columns){let x=!1;for(const[N,L]of Object.entries(o.columns))L!==void 0&&N in s.columns&&(!x&&L===!0&&(x=!0),S.push(N));S.length>0&&(S=x?S.filter(N=>{var L;return((L=o.columns)==null?void 0:L[N])===!0}):Object.keys(s.columns).filter(N=>!S.includes(N)))}else S=Object.keys(s.columns);for(const x of S){const N=s.columns[x];v.push({tsKey:x,value:N})}let T=[];o.with&&(T=Object.entries(o.with).filter(x=>!!x[1]).map(([x,N])=>({tsKey:x,queryConfig:N,relation:s.relations[x]})));let _;if(o.extras){_=typeof o.extras=="function"?o.extras(y,{sql:Y}):o.extras;for(const[x,N]of Object.entries(_))v.push({tsKey:x,value:nM(N,a)})}for(const{tsKey:x,value:N}of v)c.push({dbKey:lt(N,Ft.Aliased)?N.fieldAlias:s.columns[x].name,tsKey:x,field:lt(N,ur)?ci(N,a):N,relationTableTsKey:void 0,isJson:!1,selection:[]});let M=typeof o.orderBy=="function"?o.orderBy(y,N5()):o.orderBy??[];Array.isArray(M)||(M=[M]),d=M.map(x=>lt(x,ur)?ci(x,a):Cc(x,a)),h=o.limit,f=o.offset;for(const{tsKey:x,queryConfig:N,relation:L}of T){const j=z5(e,n,L),it=vl(L.referencedTable),I=n[it],Q=`${a}_${x}`,w=kp(...j.fields.map((C,R)=>sM(ci(j.references[R],Q),ci(C,a)))),nt=this.buildRelationalQueryWithoutPK({fullSchema:t,schema:e,tableNamesMap:n,table:t[I],tableConfig:e[I],queryConfig:lt(L,Ws)?N===!0?{limit:1}:{...N,limit:1}:N,tableAlias:Q,joinOn:w,nestedQueryRelation:L}),P=Y`${Y.identifier(Q)}.${Y.identifier("data")}`.as(x);g.push({on:Y`true`,table:new Gr(nt.sql,{},Q),alias:Q,joinType:"left",lateral:!0}),c.push({dbKey:x,tsKey:x,field:P,relationTableTsKey:I,isJson:!0,selection:nt.selection})}}if(c.length===0)throw new dg({message:`No fields selected for table "${s.tsName}" ("${a}")`});let p;if(m=kp(u,m),l){let y=Y`json_build_array(${Y.join(c.map(({field:T,tsKey:_,isJson:M})=>M?Y`${Y.identifier(`${a}_${_}`)}.${Y.identifier("data")}`:lt(T,Ft.Aliased)?T.sql:T),Y`, `)})`;lt(l,Oc)&&(y=Y`coalesce(json_agg(${y}${d.length>0?Y` order by ${Y.join(d,Y`, `)}`:void 0}), '[]'::json)`);const v=[{dbKey:"data",tsKey:"data",field:y.as("data"),isJson:!0,relationTableTsKey:s.tsName,selection:c}];h!==void 0||f!==void 0||d.length>0?(p=this.buildSelectQuery({table:sf(i,a),fields:{},fieldsFlat:[{path:[],field:Y.raw("*")}],where:m,limit:h,offset:f,orderBy:d,setOperators:[]}),m=void 0,h=void 0,f=void 0,d=[]):p=sf(i,a),p=this.buildSelectQuery({table:lt(p,en)?p:new Gr(p,{},a),fields:{},fieldsFlat:v.map(({field:T})=>({path:[],field:lt(T,ur)?ci(T,a):T})),joins:g,where:m,limit:h,offset:f,orderBy:d,setOperators:[]})}else p=this.buildSelectQuery({table:sf(i,a),fields:{},fieldsFlat:c.map(({field:y})=>({path:[],field:lt(y,ur)?ci(y,a):y})),joins:g,where:m,limit:h,offset:f,orderBy:d,setOperators:[]});return{tableTsKey:s.tsName,sql:p,selection:c}}}W(Qa,Ub,"PgDialect");var zb;zb=It;class SM{getSelectedFields(){return this._.selectedFields}}W(SM,zb,"TypedQueryBuilder");var Vb;Vb=It;class kr{constructor(t){W(this,"fields");W(this,"session");W(this,"dialect");W(this,"withList",[]);W(this,"distinct");W(this,"authToken");this.fields=t.fields,this.session=t.session,this.dialect=t.dialect,t.withList&&(this.withList=t.withList),this.distinct=t.distinct}setToken(t){return this.authToken=t,this}from(t){const e=!!this.fields,n=t;let i;return this.fields?i=this.fields:lt(n,Gr)?i=Object.fromEntries(Object.keys(n._.selectedFields).map(s=>[s,n[s]])):lt(n,mg)?i=n[er].selectedFields:lt(n,Ft)?i={}:i=F5(n),new gg({table:n,fields:i,isPartialSelect:e,session:this.session,dialect:this.dialect,withList:this.withList,distinct:this.distinct}).setToken(this.authToken)}}W(kr,Vb,"PgSelectBuilder");var jb,$b;class TM extends($b=SM,jb=It,$b){constructor({table:e,fields:n,isPartialSelect:i,session:s,dialect:o,withList:a,distinct:l}){super();W(this,"_");W(this,"config");W(this,"joinsNotNullableMap");W(this,"tableName");W(this,"isPartialSelect");W(this,"session");W(this,"dialect");W(this,"leftJoin",this.createJoin("left"));W(this,"rightJoin",this.createJoin("right"));W(this,"innerJoin",this.createJoin("inner"));W(this,"fullJoin",this.createJoin("full"));W(this,"union",this.createSetOperator("union",!1));W(this,"unionAll",this.createSetOperator("union",!0));W(this,"intersect",this.createSetOperator("intersect",!1));W(this,"intersectAll",this.createSetOperator("intersect",!0));W(this,"except",this.createSetOperator("except",!1));W(this,"exceptAll",this.createSetOperator("except",!0));this.config={withList:a,table:e,fields:{...n},distinct:l,setOperators:[]},this.isPartialSelect=i,this.session=s,this.dialect=o,this._={selectedFields:n},this.tableName=Es(e),this.joinsNotNullableMap=typeof this.tableName=="string"?{[this.tableName]:!0}:{}}createJoin(e){return(n,i)=>{var a;const s=this.tableName,o=Es(n);if(typeof o=="string"&&((a=this.config.joins)!=null&&a.some(l=>l.alias===o)))throw new Error(`Alias "${o}" is already used in this query`);if(!this.isPartialSelect&&(Object.keys(this.joinsNotNullableMap).length===1&&typeof s=="string"&&(this.config.fields={[s]:this.config.fields}),typeof o=="string"&&!lt(n,Ft))){const l=lt(n,Gr)?n._.selectedFields:lt(n,rs)?n[er].selectedFields:n[Mt.Symbol.Columns];this.config.fields[o]=l}if(typeof i=="function"&&(i=i(new Proxy(this.config.fields,new pr({sqlAliasedBehavior:"sql",sqlBehavior:"sql"})))),this.config.joins||(this.config.joins=[]),this.config.joins.push({on:i,table:n,joinType:e,alias:o}),typeof o=="string")switch(e){case"left":{this.joinsNotNullableMap[o]=!1;break}case"right":{this.joinsNotNullableMap=Object.fromEntries(Object.entries(this.joinsNotNullableMap).map(([l])=>[l,!1])),this.joinsNotNullableMap[o]=!0;break}case"inner":{this.joinsNotNullableMap[o]=!0;break}case"full":{this.joinsNotNullableMap=Object.fromEntries(Object.entries(this.joinsNotNullableMap).map(([l])=>[l,!1])),this.joinsNotNullableMap[o]=!1;break}}return this}}createSetOperator(e,n){return i=>{const s=typeof i=="function"?i(W5()):i;if(!fg(this.getSelectedFields(),s.getSelectedFields()))throw new Error("Set operator error (union / intersect / except): selected fields are not the same or are in a different order");return this.config.setOperators.push({type:e,isAll:n,rightSelect:s}),this}}addSetOperators(e){return this.config.setOperators.push(...e),this}where(e){return typeof e=="function"&&(e=e(new Proxy(this.config.fields,new pr({sqlAliasedBehavior:"sql",sqlBehavior:"sql"})))),this.config.where=e,this}having(e){return typeof e=="function"&&(e=e(new Proxy(this.config.fields,new pr({sqlAliasedBehavior:"sql",sqlBehavior:"sql"})))),this.config.having=e,this}groupBy(...e){if(typeof e[0]=="function"){const n=e[0](new Proxy(this.config.fields,new pr({sqlAliasedBehavior:"alias",sqlBehavior:"sql"})));this.config.groupBy=Array.isArray(n)?n:[n]}else this.config.groupBy=e;return this}orderBy(...e){if(typeof e[0]=="function"){const n=e[0](new Proxy(this.config.fields,new pr({sqlAliasedBehavior:"alias",sqlBehavior:"sql"}))),i=Array.isArray(n)?n:[n];this.config.setOperators.length>0?this.config.setOperators.at(-1).orderBy=i:this.config.orderBy=i}else{const n=e;this.config.setOperators.length>0?this.config.setOperators.at(-1).orderBy=n:this.config.orderBy=n}return this}limit(e){return this.config.setOperators.length>0?this.config.setOperators.at(-1).limit=e:this.config.limit=e,this}offset(e){return this.config.setOperators.length>0?this.config.setOperators.at(-1).offset=e:this.config.offset=e,this}for(e,n={}){return this.config.lockingClause={strength:e,config:n},this}getSQL(){return this.dialect.buildSelectQuery(this.config)}toSQL(){const{typings:e,...n}=this.dialect.sqlToQuery(this.getSQL());return n}as(e){return new Proxy(new Gr(this.getSQL(),this.config.fields,e),new pr({alias:e,sqlAliasedBehavior:"alias",sqlBehavior:"error"}))}getSelectedFields(){return new Proxy(this.config.fields,new pr({alias:this.tableName,sqlAliasedBehavior:"alias",sqlBehavior:"error"}))}$dynamic(){return this}}W(TM,jb,"PgSelectQueryBuilder");var Gb,Wb;class gg extends(Wb=TM,Gb=It,Wb){constructor(){super(...arguments);W(this,"authToken");W(this,"execute",e=>Hr.startActiveSpan("drizzle.operation",()=>this._prepare().execute(e,this.authToken)))}_prepare(e){const{session:n,config:i,dialect:s,joinsNotNullableMap:o,authToken:a}=this;if(!n)throw new Error("Cannot execute a query on a query builder. Please use a database instance instead.");return Hr.startActiveSpan("drizzle.prepareQuery",()=>{const l=Gs(i.fields),u=n.prepareQuery(s.sqlToQuery(this.getSQL()),l,e,!0);return u.joinsNotNullableMap=o,u.setToken(a)})}prepare(e){return this._prepare(e)}setToken(e){return this.authToken=e,this}}W(gg,Gb,"PgSelect");R5(gg,[ns]);function la(r,t){return(e,n,...i)=>{const s=[n,...i].map(o=>({type:r,isAll:t,rightSelect:o}));for(const o of s)if(!fg(e.getSelectedFields(),o.rightSelect.getSelectedFields()))throw new Error("Set operator error (union / intersect / except): selected fields are not the same or are in a different order");return e.addSetOperators(s)}}const W5=()=>({union:H5,unionAll:X5,intersect:Y5,intersectAll:q5,except:Q5,exceptAll:Z5}),H5=la("union",!1),X5=la("union",!0),Y5=la("intersect",!1),q5=la("intersect",!0),Q5=la("except",!1),Z5=la("except",!0);var Hb;Hb=It;class yg{constructor(t){W(this,"dialect");W(this,"dialectConfig");W(this,"$with",(t,e)=>{const n=this;return{as:s=>(typeof s=="function"&&(s=s(n)),new Proxy(new hg(s.getSQL(),e??("getSelectedFields"in s?s.getSelectedFields()??{}:{}),t,!0),new pr({alias:t,sqlAliasedBehavior:"alias",sqlBehavior:"error"})))}});this.dialect=lt(t,Qa)?t:void 0,this.dialectConfig=lt(t,Qa)?void 0:t}with(...t){const e=this;function n(o){return new kr({fields:o??void 0,session:void 0,dialect:e.getDialect(),withList:t})}function i(o){return new kr({fields:o??void 0,session:void 0,dialect:e.getDialect(),distinct:!0})}function s(o,a){return new kr({fields:a??void 0,session:void 0,dialect:e.getDialect(),distinct:{on:o}})}return{select:n,selectDistinct:i,selectDistinctOn:s}}select(t){return new kr({fields:t??void 0,session:void 0,dialect:this.getDialect()})}selectDistinct(t){return new kr({fields:t??void 0,session:void 0,dialect:this.getDialect(),distinct:!0})}selectDistinctOn(t,e){return new kr({fields:e??void 0,session:void 0,dialect:this.getDialect(),distinct:{on:t}})}getDialect(){return this.dialect||(this.dialect=new Qa(this.dialectConfig)),this.dialect}}W(yg,Hb,"PgQueryBuilder");var Xb;Xb=It;class Vp{constructor(t,e,n,i,s){W(this,"authToken");this.table=t,this.session=e,this.dialect=n,this.withList=i,this.overridingSystemValue_=s}setToken(t){return this.authToken=t,this}overridingSystemValue(){return this.overridingSystemValue_=!0,this}values(t){if(t=Array.isArray(t)?t:[t],t.length===0)throw new Error("values() must be called with at least one value");const e=t.map(n=>{const i={},s=this.table[Mt.Symbol.Columns];for(const o of Object.keys(n)){const a=n[o];i[o]=lt(a,Ft)?a:new _i(a,s[o])}return i});return new jp(this.table,e,this.session,this.dialect,this.withList,!1,this.overridingSystemValue_).setToken(this.authToken)}select(t){const e=typeof t=="function"?t(new yg):t;if(!lt(e,Ft)&&!fg(this.table[Bp],e._.selectedFields))throw new Error("Insert select error: selected fields are not the same or are in a different order compared to the table definition");return new jp(this.table,e,this.session,this.dialect,this.withList,!0)}}W(Vp,Xb,"PgInsertBuilder");var Yb,qb;class jp extends(qb=ns,Yb=It,qb){constructor(e,n,i,s,o,a,l){super();W(this,"config");W(this,"authToken");W(this,"execute",e=>Hr.startActiveSpan("drizzle.operation",()=>this._prepare().execute(e,this.authToken)));this.session=i,this.dialect=s,this.config={table:e,values:n,withList:o,select:a,overridingSystemValue_:l}}returning(e=this.config.table[Mt.Symbol.Columns]){return this.config.returningFields=e,this.config.returning=Gs(e),this}onConflictDoNothing(e={}){if(e.target===void 0)this.config.onConflict=Y`do nothing`;else{let n="";n=Array.isArray(e.target)?e.target.map(s=>this.dialect.escapeName(this.dialect.casing.getColumnCasing(s))).join(","):this.dialect.escapeName(this.dialect.casing.getColumnCasing(e.target));const i=e.where?Y` where ${e.where}`:void 0;this.config.onConflict=Y`(${Y.raw(n)})${i} do nothing`}return this}onConflictDoUpdate(e){if(e.where&&(e.targetWhere||e.setWhere))throw new Error('You cannot use both "where" and "targetWhere"/"setWhere" at the same time - "where" is deprecated, use "targetWhere" or "setWhere" instead.');const n=e.where?Y` where ${e.where}`:void 0,i=e.targetWhere?Y` where ${e.targetWhere}`:void 0,s=e.setWhere?Y` where ${e.setWhere}`:void 0,o=this.dialect.buildUpdateSet(this.config.table,uM(this.config.table,e.set));let a="";return a=Array.isArray(e.target)?e.target.map(l=>this.dialect.escapeName(this.dialect.casing.getColumnCasing(l))).join(","):this.dialect.escapeName(this.dialect.casing.getColumnCasing(e.target)),this.config.onConflict=Y`(${Y.raw(a)})${i} do update set ${o}${n}${s}`,this}getSQL(){return this.dialect.buildInsertQuery(this.config)}toSQL(){const{typings:e,...n}=this.dialect.sqlToQuery(this.getSQL());return n}_prepare(e){return Hr.startActiveSpan("drizzle.prepareQuery",()=>this.session.prepareQuery(this.dialect.sqlToQuery(this.getSQL()),this.config.returning,e,!0))}prepare(e){return this._prepare(e)}setToken(e){return this.authToken=e,this}getSelectedFields(){return this.config.returningFields?new Proxy(this.config.returningFields,new pr({alias:Rs(this.config.table),sqlAliasedBehavior:"alias",sqlBehavior:"error"})):void 0}$dynamic(){return this}}W(jp,Yb,"PgInsert");var Qb,Zb;class IM extends(Zb=ns,Qb=It,Zb){constructor(e,n,i){super();W(this,"config");W(this,"authToken");W(this,"execute",e=>Hr.startActiveSpan("drizzle.operation",()=>this._prepare().execute(e,this.authToken)));this.session=n,this.dialect=i,this.config={view:e}}concurrently(){if(this.config.withNoData!==void 0)throw new Error("Cannot use concurrently and withNoData together");return this.config.concurrently=!0,this}withNoData(){if(this.config.concurrently!==void 0)throw new Error("Cannot use concurrently and withNoData together");return this.config.withNoData=!0,this}getSQL(){return this.dialect.buildRefreshMaterializedViewQuery(this.config)}toSQL(){const{typings:e,...n}=this.dialect.sqlToQuery(this.getSQL());return n}_prepare(e){return Hr.startActiveSpan("drizzle.prepareQuery",()=>this.session.prepareQuery(this.dialect.sqlToQuery(this.getSQL()),void 0,e,!0))}prepare(e){return this._prepare(e)}setToken(e){return this.authToken=e,this}}W(IM,Qb,"PgRefreshMaterializedView");var Kb;Kb=It;class $p{constructor(t,e,n,i){W(this,"authToken");this.table=t,this.session=e,this.dialect=n,this.withList=i}setToken(t){return this.authToken=t,this}set(t){return new MM(this.table,uM(this.table,t),this.session,this.dialect,this.withList).setToken(this.authToken)}}W($p,Kb,"PgUpdateBuilder");var Jb,tx;class MM extends(tx=ns,Jb=It,tx){constructor(e,n,i,s,o){super();W(this,"config");W(this,"tableName");W(this,"joinsNotNullableMap");W(this,"leftJoin",this.createJoin("left"));W(this,"rightJoin",this.createJoin("right"));W(this,"innerJoin",this.createJoin("inner"));W(this,"fullJoin",this.createJoin("full"));W(this,"authToken");W(this,"execute",e=>this._prepare().execute(e,this.authToken));this.session=i,this.dialect=s,this.config={set:n,table:e,withList:o,joins:[]},this.tableName=Es(e),this.joinsNotNullableMap=typeof this.tableName=="string"?{[this.tableName]:!0}:{}}from(e){const n=e,i=Es(n);return typeof i=="string"&&(this.joinsNotNullableMap[i]=!0),this.config.from=n,this}getTableLikeFields(e){return lt(e,en)?e[Mt.Symbol.Columns]:lt(e,Gr)?e._.selectedFields:e[er].selectedFields}createJoin(e){return(n,i)=>{const s=Es(n);if(typeof s=="string"&&this.config.joins.some(o=>o.alias===s))throw new Error(`Alias "${s}" is already used in this query`);if(typeof i=="function"){const o=this.config.from&&!lt(this.config.from,Ft)?this.getTableLikeFields(this.config.from):void 0;i=i(new Proxy(this.config.table[Mt.Symbol.Columns],new pr({sqlAliasedBehavior:"sql",sqlBehavior:"sql"})),o&&new Proxy(o,new pr({sqlAliasedBehavior:"sql",sqlBehavior:"sql"})))}if(this.config.joins.push({on:i,table:n,joinType:e,alias:s}),typeof s=="string")switch(e){case"left":{this.joinsNotNullableMap[s]=!1;break}case"right":{this.joinsNotNullableMap=Object.fromEntries(Object.entries(this.joinsNotNullableMap).map(([o])=>[o,!1])),this.joinsNotNullableMap[s]=!0;break}case"inner":{this.joinsNotNullableMap[s]=!0;break}case"full":{this.joinsNotNullableMap=Object.fromEntries(Object.entries(this.joinsNotNullableMap).map(([o])=>[o,!1])),this.joinsNotNullableMap[s]=!1;break}}return this}}where(e){return this.config.where=e,this}returning(e){if(!e&&(e=Object.assign({},this.config.table[Mt.Symbol.Columns]),this.config.from)){const n=Es(this.config.from);if(typeof n=="string"&&this.config.from&&!lt(this.config.from,Ft)){const i=this.getTableLikeFields(this.config.from);e[n]=i}for(const i of this.config.joins){const s=Es(i.table);if(typeof s=="string"&&!lt(i.table,Ft)){const o=this.getTableLikeFields(i.table);e[s]=o}}}return this.config.returningFields=e,this.config.returning=Gs(e),this}getSQL(){return this.dialect.buildUpdateQuery(this.config)}toSQL(){const{typings:e,...n}=this.dialect.sqlToQuery(this.getSQL());return n}_prepare(e){const n=this.session.prepareQuery(this.dialect.sqlToQuery(this.getSQL()),this.config.returning,e,!0);return n.joinsNotNullableMap=this.joinsNotNullableMap,n}prepare(e){return this._prepare(e)}setToken(e){return this.authToken=e,this}getSelectedFields(){return this.config.returningFields?new Proxy(this.config.returningFields,new pr({alias:Rs(this.config.table),sqlAliasedBehavior:"alias",sqlBehavior:"error"})):void 0}$dynamic(){return this}}W(MM,Jb,"PgUpdate");var ex,rx,nx;const Ka=class Ka extends(nx=Ft,rx=It,ex=Symbol.toStringTag,nx){constructor(e){super(Ka.buildEmbeddedCount(e.source,e.filters).queryChunks);W(this,"sql");W(this,"token");W(this,ex,"PgCountBuilder");W(this,"session");this.params=e,this.mapWith(Number),this.session=e.session,this.sql=Ka.buildCount(e.source,e.filters)}static buildEmbeddedCount(e,n){return Y`(select count(*) from ${e}${Y.raw(" where ").if(n)}${n})`}static buildCount(e,n){return Y`select count(*) as count from ${e}${Y.raw(" where ").if(n)}${n};`}setToken(e){return this.token=e,this}then(e,n){return Promise.resolve(this.session.count(this.sql,this.token)).then(e,n)}catch(e){return this.then(void 0,e)}finally(e){return this.then(n=>(e==null||e(),n),n=>{throw e==null||e(),n})}};W(Ka,rx,"PgCountBuilder");let Gp=Ka;var ix;ix=It;class EM{constructor(t,e,n,i,s,o,a){this.fullSchema=t,this.schema=e,this.tableNamesMap=n,this.table=i,this.tableConfig=s,this.dialect=o,this.session=a}findMany(t){return new Wp(this.fullSchema,this.schema,this.tableNamesMap,this.table,this.tableConfig,this.dialect,this.session,t||{},"many")}findFirst(t){return new Wp(this.fullSchema,this.schema,this.tableNamesMap,this.table,this.tableConfig,this.dialect,this.session,t?{...t,limit:1}:{limit:1},"first")}}W(EM,ix,"PgRelationalQueryBuilder");var sx,ox;class Wp extends(ox=ns,sx=It,ox){constructor(e,n,i,s,o,a,l,u,c){super();W(this,"authToken");this.fullSchema=e,this.schema=n,this.tableNamesMap=i,this.table=s,this.tableConfig=o,this.dialect=a,this.session=l,this.config=u,this.mode=c}_prepare(e){return Hr.startActiveSpan("drizzle.prepareQuery",()=>{const{query:n,builtQuery:i}=this._toSQL();return this.session.prepareQuery(i,void 0,e,!0,(s,o)=>{const a=s.map(l=>Up(this.schema,this.tableConfig,l,n.selection,o));return this.mode==="first"?a[0]:a})})}prepare(e){return this._prepare(e)}_getQuery(){return this.dialect.buildRelationalQueryWithoutPK({fullSchema:this.fullSchema,schema:this.schema,tableNamesMap:this.tableNamesMap,table:this.table,tableConfig:this.tableConfig,queryConfig:this.config,tableAlias:this.tableConfig.tsName})}getSQL(){return this._getQuery().sql}_toSQL(){const e=this._getQuery(),n=this.dialect.sqlToQuery(e.sql);return{query:e,builtQuery:n}}toSQL(){return this._toSQL().builtQuery}setToken(e){return this.authToken=e,this}execute(){return Hr.startActiveSpan("drizzle.operation",()=>this._prepare().execute(void 0,this.authToken))}}W(Wp,sx,"PgRelationalQuery");var ax,lx;class AM extends(lx=ns,ax=It,lx){constructor(t,e,n,i){super(),this.execute=t,this.sql=e,this.query=n,this.mapBatchResult=i}getSQL(){return this.sql}getQuery(){return this.query}mapResult(t,e){return e?this.mapBatchResult(t):t}_prepare(){return this}isResponseInArrayMode(){return!1}}W(AM,ax,"PgRaw");var ux;ux=It;class vg{constructor(t,e,n){W(this,"query");W(this,"$with",(t,e)=>{const n=this;return{as:s=>(typeof s=="function"&&(s=s(new yg(n.dialect))),new Proxy(new hg(s.getSQL(),e??("getSelectedFields"in s?s.getSelectedFields()??{}:{}),t,!0),new pr({alias:t,sqlAliasedBehavior:"alias",sqlBehavior:"error"})))}});W(this,"authToken");if(this.dialect=t,this.session=e,this._=n?{schema:n.schema,fullSchema:n.fullSchema,tableNamesMap:n.tableNamesMap,session:e}:{schema:void 0,fullSchema:{},tableNamesMap:{},session:e},this.query={},this._.schema)for(const[i,s]of Object.entries(this._.schema))this.query[i]=new EM(n.fullSchema,this._.schema,this._.tableNamesMap,n.fullSchema[i],s,t,e)}$count(t,e){return new Gp({source:t,filters:e,session:this.session})}with(...t){const e=this;function n(u){return new kr({fields:u??void 0,session:e.session,dialect:e.dialect,withList:t})}function i(u){return new kr({fields:u??void 0,session:e.session,dialect:e.dialect,withList:t,distinct:!0})}function s(u,c){return new kr({fields:c??void 0,session:e.session,dialect:e.dialect,withList:t,distinct:{on:u}})}function o(u){return new $p(u,e.session,e.dialect,t)}function a(u){return new Vp(u,e.session,e.dialect,t)}function l(u){return new zp(u,e.session,e.dialect,t)}return{select:n,selectDistinct:i,selectDistinctOn:s,update:o,insert:a,delete:l}}select(t){return new kr({fields:t??void 0,session:this.session,dialect:this.dialect})}selectDistinct(t){return new kr({fields:t??void 0,session:this.session,dialect:this.dialect,distinct:!0})}selectDistinctOn(t,e){return new kr({fields:e??void 0,session:this.session,dialect:this.dialect,distinct:{on:t}})}update(t){return new $p(t,this.session,this.dialect)}insert(t){return new Vp(t,this.session,this.dialect)}delete(t){return new zp(t,this.session,this.dialect)}refreshMaterializedView(t){return new IM(t,this.session,this.dialect)}execute(t){const e=typeof t=="string"?Y.raw(t):t.getSQL(),n=this.dialect.sqlToQuery(e),i=this.session.prepareQuery(n,void 0,void 0,!1);return new AM(()=>i.execute(void 0,this.authToken),e,n,s=>i.mapResult(s,!0))}transaction(t,e){return this.session.transaction(t,e)}}W(vg,ux,"PgDatabase");var cx;cx=It;class CM{constructor(t){W(this,"authToken");W(this,"joinsNotNullableMap");this.query=t}getQuery(){return this.query}mapResult(t,e){return t}setToken(t){return this.authToken=t,this}}W(CM,cx,"PgPreparedQuery");var hx;hx=It;class OM{constructor(t){this.dialect=t}execute(t,e){return Hr.startActiveSpan("drizzle.operation",()=>Hr.startActiveSpan("drizzle.prepareQuery",()=>this.prepareQuery(this.dialect.sqlToQuery(t),void 0,void 0,!1)).setToken(e).execute(void 0,e))}all(t){return this.prepareQuery(this.dialect.sqlToQuery(t),void 0,void 0,!1).all()}async count(t,e){const n=await this.execute(t,e);return Number(n[0].count)}}W(OM,hx,"PgSession");var dx,fx;class PM extends(fx=vg,dx=It,fx){constructor(t,e,n,i=0){super(t,e,n),this.schema=n,this.nestedIndex=i}rollback(){throw new iM}getTransactionConfigSQL(t){const e=[];return t.isolationLevel&&e.push(`isolation level ${t.isolationLevel}`),t.accessMode&&e.push(t.accessMode),typeof t.deferrable=="boolean"&&e.push(t.deferrable?"deferrable":"not deferrable"),Y.raw(e.join(" "))}setTransaction(t){return this.session.execute(Y`set transaction ${this.getTransactionConfigSQL(t)}`)}}W(PM,dx,"PgTransaction");function g_(r){return typeof r=="string"&&/^true$/i.test(r)}function K5(r){const t={scheme:"duckdb-wasm:"},e=new URL(r);if(!e.protocol.startsWith("duckdb-wasm:"))throw new Error(`Expected scheme to be "duckdb-wasm:" but got "${e.protocol}"`);e.searchParams.get("bundles")==="import-url"&&(t.bundles="import-url");const n=e.searchParams.get("logger");n&&g_(n)&&(t.logger=!0);const i=e.searchParams.get("storage");switch(i){case yl.ORIGIN_PRIVATE_FS:{e.host.length>0&&console.warn(`Host "${e.host}" will be ignored while using Origin Private FS`);const s=e.searchParams.get("write");t.storage={type:yl.ORIGIN_PRIVATE_FS,path:e.pathname.startsWith("/")?e.pathname.slice(1):e.pathname,...s&&g_(s)&&{accessMode:hT.READ_WRITE}};break}case null:break;default:console.warn(`Unknown storage type "${i}"`);break}return t}var px,mx;class RM extends(mx=CM,px=It,mx){constructor(t,e,n,i,s,o){super({sql:e,params:n}),this.client=t,this.queryString=e,this.params=n,this.logger=i,this.fields=s,this.customResultMapper=o}async execute(t={}){const e=f_(this.params,t);this.logger.logQuery(this.queryString,e);const{fields:n,queryString:i,client:s,customResultMapper:o}=this,a=await s;return a.query(i,e)}async all(t={}){const e=f_(this.params,t);return this.logger.logQuery(this.queryString,e),(await this.client).query(this.queryString,e)}}W(RM,px,"DuckDBWasmPreparedQuery");var gx,yx;const Lc=class Lc extends(yx=OM,gx=It,yx){constructor(e,n,i,s={}){super(n);W(this,"logger");this.client=e,this.schema=i,this.options=s,this.logger=s.logger??new lM}prepareQuery(e,n,i,s,o){return new RM(this.client,e.sql,e.params,this.logger,n,o)}async query(e,n){return this.logger.logQuery(e,n),(await this.client).query(e,n)}async queryObjects(e,n){return this.logger.logQuery(e,n),(await this.client).query(e,n)}transaction(e,n){return n5(this.client,async i=>{const s=new Lc(i,this.dialect,this.schema,this.options),o=new Hp(this.dialect,s,this.schema);return n&&await o.setTransaction(n),e(o)})}};W(Lc,gx,"DuckDBWasmSession");let Pc=Lc;var vx,_x;const Nc=class Nc extends(_x=PM,vx=It,_x){constructor(e,n,i,s=0){super(e,n,i,s);W(this,"dialect");W(this,"session");this.dialect=e,this.session=n}async transaction(e){return i5(this.session.client,"",async n=>{const i=new Pc(n,this.dialect,this.schema,this.session.options),s=new Nc(this.dialect,i,this.schema);return e(s)})}};W(Nc,vx,"DuckDBWasmTransaction");let Hp=Nc;var bx,xx;class FM extends(xx=vg,bx=It,xx){}W(FM,bx,"DuckDBWasmDatabase");function Za(r,t={}){const e=new Qa({casing:t.casing});let n;t.logger===!0?n=new aM:t.logger!==!1&&(n=t.logger);let i;if(t.schema){const a=B5(t.schema,V5);i={fullSchema:t.schema,schema:a.tables,tableNamesMap:a.tableNamesMap}}const s=new Pc(r,e,i,{logger:n}),o=new FM(e,s,i);return o.$client=r,o}async function J5(r=!1){const t=await ZI();switch(t){case"browser":return r?(await Bi(async()=>{const{getImportUrlBundles:e}=await import("./import-url-browser-CPN8ipMD.js");return{getImportUrlBundles:e}},__vite__mapDeps([3,4]))).getImportUrlBundles():(await Bi(async()=>{const{getBundles:e}=await import("./default-browser-BrgSDbLD.js");return{getBundles:e}},[])).getBundles();case"node":return r?await(await Bi(async()=>{const{getImportUrlBundles:e}=await import("./import-url-node-BfNoxhRr.js");return{getImportUrlBundles:e}},__vite__mapDeps([5,4]))).getImportUrlBundles():await(await Bi(async()=>{const{getBundles:e}=await import("./default-node-CkTSmFLS.js");return{getBundles:e}},__vite__mapDeps([0,1,2]))).getBundles();default:throw new Error(`Unsupported environment: "${t}"`)}}function y_(r,t){const e=K5(r);return Za(JI({bundles:J5(e.bundles==="import-url"),logger:e.logger?new dT:void 0,storage:e.storage}),t)}function v_(...r){if(typeof r[0]=="string")return y_(r[0],r[1]);if(D5(r[0])){const{connection:t,client:e,...n}=r[0];if(e)return Za(e,n);if(typeof t=="string")return y_(t,n);if(typeof t>"u")throw new Error("connection option is required");return Za(JI({bundles:t.bundles,logger:t.logger,storage:t.storage}),n)}return Za(r[0],r[1])}(r=>{function t(e){return Za({options:{parsers:{},serializers:{}}},e)}r.mock=t})(v_||(v_={}));var of={exports:{}};/*! JSZip v3.10.1 - A JavaScript class for generating and reading zip files diff --git a/assets/TransitionVertical.vue_vue_type_script_setup_true_lang-BDRTDJzZ.js b/assets/TransitionVertical.vue_vue_type_script_setup_true_lang-DIGllfwe.js similarity index 93% rename from assets/TransitionVertical.vue_vue_type_script_setup_true_lang-BDRTDJzZ.js rename to assets/TransitionVertical.vue_vue_type_script_setup_true_lang-DIGllfwe.js index 59df00325390dfc92be750c792d6581406d018af..1a93d9b141a956419fc660bc8d969f0e0962bdc8 100644 --- a/assets/TransitionVertical.vue_vue_type_script_setup_true_lang-BDRTDJzZ.js +++ b/assets/TransitionVertical.vue_vue_type_script_setup_true_lang-DIGllfwe.js @@ -1 +1 @@ -import{d as T,j as l,o as m,T as B,k as b,f as v}from"./index-DCtIztPb.js";const n="0px",W=T({__name:"TransitionVertical",props:{duration:{default:250},easingEnter:{default:"ease-in-out"},easingLeave:{default:"ease-in-out"},opacityClosed:{default:0},opacityOpened:{default:1}},setup(c){const r=c;function p(o){return{height:o.style.height,width:o.style.width,position:o.style.position,visibility:o.style.visibility,overflow:o.style.overflow,paddingTop:o.style.paddingTop,paddingBottom:o.style.paddingBottom,borderTopWidth:o.style.borderTopWidth,borderBottomWidth:o.style.borderBottomWidth,marginTop:o.style.marginTop,marginBottom:o.style.marginBottom}}function y(o,t){const{width:i}=getComputedStyle(o);o.style.width=i,o.style.position="absolute",o.style.visibility="hidden",o.style.height="";const{height:s}=getComputedStyle(o);return o.style.width=t.width,o.style.position=t.position,o.style.visibility=t.visibility,o.style.height=n,o.style.overflow="hidden",t.height&&t.height!==n?t.height:s}function h(o,t,i,s,d){const e=o.animate(s,d);o.style.height=t.height,e.onfinish=()=>{o.style.overflow=t.overflow,i()}}function g(o,t){return[{height:n,opacity:r.opacityClosed,paddingTop:n,paddingBottom:n,borderTopWidth:n,borderBottomWidth:n,marginTop:n,marginBottom:n},{height:o,opacity:r.opacityOpened,paddingTop:t.paddingTop,paddingBottom:t.paddingBottom,borderTopWidth:t.borderTopWidth,borderBottomWidth:t.borderBottomWidth,marginTop:t.marginTop,marginBottom:t.marginBottom}]}function u(o,t){const i=o,s=p(i),d=y(i,s),e=g(d,s),a={duration:r.duration,easing:r.easingEnter};h(i,s,t,e,a)}function f(o,t){const i=o,s=p(i),{height:d}=getComputedStyle(i);i.style.height=d,i.style.overflow="hidden";const e=g(d,s).reverse(),a={duration:r.duration,easing:r.easingLeave};h(i,s,t,e,a)}return(o,t)=>(m(),l(B,{css:!1,onEnter:u,onLeave:f},{default:b(()=>[v(o.$slots,"default")]),_:3}))}});export{W as _}; +import{d as T,j as l,o as m,T as B,k as b,f as v}from"./index-CGdx-Gsw.js";const n="0px",W=T({__name:"TransitionVertical",props:{duration:{default:250},easingEnter:{default:"ease-in-out"},easingLeave:{default:"ease-in-out"},opacityClosed:{default:0},opacityOpened:{default:1}},setup(c){const r=c;function p(o){return{height:o.style.height,width:o.style.width,position:o.style.position,visibility:o.style.visibility,overflow:o.style.overflow,paddingTop:o.style.paddingTop,paddingBottom:o.style.paddingBottom,borderTopWidth:o.style.borderTopWidth,borderBottomWidth:o.style.borderBottomWidth,marginTop:o.style.marginTop,marginBottom:o.style.marginBottom}}function y(o,t){const{width:i}=getComputedStyle(o);o.style.width=i,o.style.position="absolute",o.style.visibility="hidden",o.style.height="";const{height:s}=getComputedStyle(o);return o.style.width=t.width,o.style.position=t.position,o.style.visibility=t.visibility,o.style.height=n,o.style.overflow="hidden",t.height&&t.height!==n?t.height:s}function h(o,t,i,s,d){const e=o.animate(s,d);o.style.height=t.height,e.onfinish=()=>{o.style.overflow=t.overflow,i()}}function g(o,t){return[{height:n,opacity:r.opacityClosed,paddingTop:n,paddingBottom:n,borderTopWidth:n,borderBottomWidth:n,marginTop:n,marginBottom:n},{height:o,opacity:r.opacityOpened,paddingTop:t.paddingTop,paddingBottom:t.paddingBottom,borderTopWidth:t.borderTopWidth,borderBottomWidth:t.borderBottomWidth,marginTop:t.marginTop,marginBottom:t.marginBottom}]}function u(o,t){const i=o,s=p(i),d=y(i,s),e=g(d,s),a={duration:r.duration,easing:r.easingEnter};h(i,s,t,e,a)}function f(o,t){const i=o,s=p(i),{height:d}=getComputedStyle(i);i.style.height=d,i.style.overflow="hidden";const e=g(d,s).reverse(),a={duration:r.duration,easing:r.easingLeave};h(i,s,t,e,a)}return(o,t)=>(m(),l(B,{css:!1,onEnter:u,onLeave:f},{default:b(()=>[v(o.$slots,"default")]),_:3}))}});export{W as _}; diff --git a/assets/_...all_-Ca5ZJtgH.js b/assets/_...all_-BYDjmnMZ.js similarity index 64% rename from assets/_...all_-Ca5ZJtgH.js rename to assets/_...all_-BYDjmnMZ.js index 04df255068e264742ae72c19efb13b1537ef1f1d..0878683c18224488146020766b137cb6e9240faa 100644 --- a/assets/_...all_-Ca5ZJtgH.js +++ b/assets/_...all_-BYDjmnMZ.js @@ -1 +1 @@ -import{_ as e,c as _,o as c}from"./index-DCtIztPb.js";const n={};function o(t,r){return c(),_("div",null," 404 - Page not found ")}const s=e(n,[["render",o]]);export{s as default}; +import{_ as e,c as _,o as c}from"./index-CGdx-Gsw.js";const n={};function o(t,r){return c(),_("div",null," 404 - Page not found ")}const s=e(n,[["render",o]]);export{s as default}; diff --git a/assets/audio-ze_3QTB2.js b/assets/audio-CglRpjja.js similarity index 88% rename from assets/audio-ze_3QTB2.js rename to assets/audio-CglRpjja.js index 932b525dd346a321f71442b148fa30f3c6a6295e..f493ed5c9c56b1454c7711255a0a9e213f087265 100644 --- a/assets/audio-ze_3QTB2.js +++ b/assets/audio-CglRpjja.js @@ -1 +1 @@ -import{d as s,g as f,c as d,o as p,a as t}from"./index-DCtIztPb.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)=>(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{R as default}; +import{d as s,g as f,c as d,o as p,a as t}from"./index-CGdx-Gsw.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)=>(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{R as default}; diff --git a/assets/cloudflare-workers-ai-CkfABEE1.js b/assets/cloudflare-workers-ai-CkfABEE1.js new file mode 100644 index 0000000000000000000000000000000000000000..c703b759b63334cb2d49f9cd699badf966e57156 --- /dev/null +++ b/assets/cloudflare-workers-ai-CkfABEE1.js @@ -0,0 +1 @@ +import"./Stage.vue_vue_type_style_index_0_scoped_cad77b27_lang-BvkGrZE5.js";import{d as g,h as p,c as I,o as x,a as i,A as w,K as y,m as A,t as b,H as C,s as D,x as B,p as K,w as N,j as P,k as _,b as c,e as s}from"./index-CGdx-Gsw.js";import{u as $}from"./providers-ztBzqPgb.js";import{_ as M,a as S,b as z,c as R}from"./ProviderSettingsLayout.vue_vue_type_script_setup_true_lang-Cz54lBh2.js";const T={"max-w-full":""},U={flex:"~ col gap-4"},q={class:"flex items-center gap-1 text-sm font-medium"},E={key:0,class:"text-red-500"},Y={class:"text-xs text-neutral-500 dark:text-neutral-400","text-nowrap":""},j=["placeholder"],H=g({__name:"ProviderAccountIdInput",props:{modelValue:null,placeholder:null,required:{type:Boolean},label:null,description:null},emits:["update:modelValue"],setup(r,{emit:v}){const d=r,a=v,u=p({get:()=>d.modelValue,set:o=>a("update:modelValue",o)});return(o,l)=>(x(),I("div",T,[i("label",U,[i("div",null,[i("div",q,[y(b(r.label||"Account ID")+" ",1),r.required!==!1?(x(),I("span",E,"*")):A("",!0)]),i("div",Y,b(r.description||"Account ID"),1)]),w(i("input",{"onUpdate:modelValue":l[0]||(l[0]=m=>u.value=m),type:"text",border:"neutral-200 dark:neutral-800 solid 2 focus:neutral-400 dark:focus:neutral-600",transition:"all duration-250 ease-in-out","w-full":"","rounded-lg":"","px-2":"","py-1":"","text-nowrap":"","text-sm":"","outline-none":"",bg:"neutral-100 dark:neutral-800 focus:white dark:focus:neutral-700",placeholder:r.placeholder},null,8,j),[[C,u.value]])])]))}}),t="cloudflare-workers-ai",L=g({__name:"cloudflare-workers-ai",setup(r){const v=D(),d=$(),{providers:a}=B(d),u=p(()=>d.getProviderMetadata(t)),o=p({get:()=>{var e;return((e=a.value[t])==null?void 0:e.apiKey)||""},set:e=>{a.value[t]||(a.value[t]={}),a.value[t].apiKey=e}}),l=p({get:()=>{var e;return((e=a.value[t])==null?void 0:e.accountId)||""},set:e=>{a.value[t]||(a.value[t]={}),a.value[t].accountId=e}});K(()=>{var e,n;d.initializeProvider(t),o.value=((e=a.value[t])==null?void 0:e.apiKey)||"",l.value=((n=a.value[t])==null?void 0:n.accountId)||""}),N([o,l],()=>{a.value[t]={...a.value[t],apiKey:o.value,accountId:l.value}});function m(){var e;a.value[t]={...(e=u.value)==null?void 0:e.defaultOptions}}return(e,n)=>{var k,V;return x(),P(s(R),{"provider-name":(k=u.value)==null?void 0:k.localizedName,"provider-icon-color":(V=u.value)==null?void 0:V.iconColor,"on-back":()=>s(v).back()},{default:_(()=>[c(s(M),null,{default:_(()=>[c(s(S),{title:"Basic",description:"Essential settings","on-reset":m},{default:_(()=>{var h;return[c(s(z),{modelValue:o.value,"onUpdate:modelValue":n[0]||(n[0]=f=>o.value=f),"provider-name":(h=u.value)==null?void 0:h.localizedName,placeholder:"Your Cloudflare API token"},null,8,["modelValue","provider-name"]),c(s(H),{modelValue:l.value,"onUpdate:modelValue":n[1]||(n[1]=f=>l.value=f),label:"Account ID",description:"Cloudflare Account ID",placeholder:"Your Cloudflare Account ID"},null,8,["modelValue"])]}),_:1})]),_:1})]),_:1},8,["provider-name","provider-icon-color","on-back"])}}});export{L as default}; diff --git a/assets/consciousness-Cwls-Sb6.js b/assets/consciousness-C5ltYV2M.js similarity index 95% rename from assets/consciousness-Cwls-Sb6.js rename to assets/consciousness-C5ltYV2M.js index 93fc2de50e54e78726c75b421a599ba13031ee72..340e3b12fe8dd3da0158b248056dc3603262a7e3 100644 --- a/assets/consciousness-Cwls-Sb6.js +++ b/assets/consciousness-C5ltYV2M.js @@ -1 +1 @@ -import{d as N,x as b,s as R,p as B,z as U,c as i,o as r,A as f,a as e,e as t,m as h,F as k,E as D,b as q,k as z,G as E,j as _,t as n,B as c,H as F}from"./index-DCtIztPb.js";import"./Stage.vue_vue_type_style_index_0_scoped_cad77b27_lang-D1cRHv6j.js";import{_ as j,R as A}from"./RadioCardDetailManySelect.vue_vue_type_script_setup_true_lang-VOFvQ03c.js";import{u as Q}from"./consciousness-vmuqaC3X.js";import{u as T}from"./providers-DAM1M9Uz.js";import{b as y}from"./route-block-B_A1xBdJ.js";import"./TransitionVertical.vue_vue_type_script_setup_true_lang-BDRTDJzZ.js";const G={flex:"~ row","items-center":"","gap-2":"",initial:{opacity:0,x:10},enter:{opacity:1,x:0},leave:{opacity:0,x:-10},duration:250},H={bg:"neutral-50 dark:[rgba(0,0,0,0.3)]","rounded-xl":"","p-4":"",flex:"~ col gap-4"},I={flex:"~ col gap-4"},J={"max-w-full":""},K={key:0,flex:"~ row gap-4",style:{"scrollbar-width":"none"},"min-w-0":"","of-x-scroll":"","scroll-smooth":"",role:"radiogroup"},O={key:1},W={key:0},X={flex:"~ col gap-4"},Y={class:"text-lg md:text-2xl"},Z={text:"neutral-400 dark:neutral-400"},ee={key:0,class:"flex items-center justify-center py-4"},se={key:1,class:"flex items-center gap-3 border border-red-200 rounded-lg bg-red-50 p-4 dark:border-red-800 dark:bg-red-900/20"},te={class:"flex flex-col"},oe={class:"font-medium"},le={class:"text-sm text-red-600 dark:text-red-400"},re={key:2,class:"flex items-center gap-3 border border-amber-200 rounded-lg bg-amber-50 p-4 dark:border-amber-800 dark:bg-amber-900/20"},ne={class:"flex flex-col"},ie={class:"font-medium"},de={class:"text-sm text-amber-600 dark:text-amber-400"},ae={key:1},ue={flex:"~ col gap-4"},ce={class:"text-lg text-neutral-500 md:text-2xl dark:text-neutral-400"},me={text:"neutral-400 dark:neutral-500"},pe={class:"bg-primary-50 border-primary-200 dark:bg-primary-900/20 dark:border-primary-800 flex items-center gap-3 border rounded-lg p-4"},ve={class:"flex flex-col"},xe={class:"font-medium"},ge={class:"dark:text-primary-400 text-primary-600 text-sm"},be={class:"mt-2"},fe={class:"mb-1 block text-sm font-medium"},he=["placeholder"],ke=N({__name:"consciousness",setup(_e){const $=T(),p=Q(),{availableProviders:M,availableProvidersMetadata:w}=b($),{activeProvider:d,activeModel:a,customModelName:V,modelSearchQuery:u,supportsModelListing:v,providerModels:m,isLoadingActiveProviderModels:x,activeProviderModelError:g}=b(p),C=R();B(async()=>{await p.loadModelsForProvider(d.value)});function P(o){V.value=o}return(o,s)=>{const L=U("motion");return r(),i(k,null,[f((r(),i("div",G,[e("button",{onClick:s[0]||(s[0]=l=>t(C).back())},s[5]||(s[5]=[e("div",{"i-solar:alt-arrow-left-line-duotone":"","text-xl":""},null,-1)])),s[6]||(s[6]=e("h1",{relative:""},[e("div",{absolute:"","left-0":"","top-0":"","translate-y":"[-80%]"},[e("span",{text:"neutral-300 dark:neutral-500"},"Modules")]),e("div",{"text-3xl":"","font-semibold":""}," Consciousness ")],-1))])),[[L]]),e("div",H,[e("div",null,[e("div",I,[s[8]||(s[8]=e("div",null,[e("h2",{class:"text-lg text-neutral-500 md:text-2xl dark:text-neutral-500"}," Provider "),e("div",{text:"neutral-400 dark:neutral-400"},[e("span",null,"Select the suitable LLM provider for consciousness")])],-1)),e("div",J,[t(M).length>0?(r(),i("fieldset",K,[(r(!0),i(k,null,D(t(w),l=>(r(),_(t(A),{id:l.id,key:l.id,modelValue:t(d),"onUpdate:modelValue":s[1]||(s[1]=S=>c(d)?d.value=S:null),name:"provider",value:l.id,title:l.localizedName,description:l.localizedDescription},null,8,["id","modelValue","value","title","description"]))),128))])):(r(),i("div",O,[q(t(E),{class:"flex items-center gap-3 rounded-lg p-4",border:"2 dashed neutral-200 dark:neutral-800",bg:"neutral-50 dark:neutral-800",transition:"colors duration-200 ease-in-out",to:"/settings/providers"},{default:z(()=>s[7]||(s[7]=[e("div",{"i-solar:warning-circle-line-duotone":"",class:"text-2xl text-amber-500 dark:text-amber-400"},null,-1),e("div",{class:"flex flex-col"},[e("span",{class:"font-medium"},"No Providers Configured"),e("span",{class:"text-sm text-neutral-400 dark:text-neutral-500"},"Click here to set up your LLM providers")],-1),e("div",{"i-solar:arrow-right-line-duotone":"",class:"ml-auto text-xl text-neutral-400 dark:text-neutral-500"},null,-1)])),_:1})]))])])]),t(d)&&t(v)?(r(),i("div",W,[e("div",X,[e("div",null,[e("h2",Y,n(o.$t("settings.modules.consciousness.provider-model-selection.title")),1),e("div",Z,[e("span",null,n(o.$t("settings.modules.consciousness.provider-model-selection.subtitle")),1)])]),t(x)?(r(),i("div",ee,[s[9]||(s[9]=e("div",{class:"mr-2 animate-spin"},[e("div",{"i-solar:spinner-line-duotone":"","text-xl":""})],-1)),e("span",null,n(o.$t("settings.modules.consciousness.provider-model-selection.loading")),1)])):t(g)?(r(),i("div",se,[s[10]||(s[10]=e("div",{"i-solar:close-circle-line-duotone":"",class:"text-2xl text-red-500 dark:text-red-400"},null,-1)),e("div",te,[e("span",oe,n(o.$t("settings.modules.consciousness.provider-model-selection.error")),1),e("span",le,n(t(g)),1)])])):t(m).length===0&&!t(x)?(r(),i("div",re,[s[11]||(s[11]=e("div",{"i-solar:info-circle-line-duotone":"",class:"text-2xl text-amber-500 dark:text-amber-400"},null,-1)),e("div",ne,[e("span",ie,n(o.$t("settings.modules.consciousness.provider-model-selection.no_models")),1),e("span",de,n(o.$t("settings.modules.consciousness.provider-model-selection.no_models_description")),1)])])):t(m).length>0?(r(),_(t(j),{key:3,modelValue:t(a),"onUpdate:modelValue":s[2]||(s[2]=l=>c(a)?a.value=l:null),"search-query":t(u),"onUpdate:searchQuery":s[3]||(s[3]=l=>c(u)?u.value=l:null),items:t(m),searchable:!0,"search-placeholder":o.$t("settings.modules.consciousness.provider-model-selection.search_placeholder"),"search-no-results-title":o.$t("settings.modules.consciousness.provider-model-selection.no_search_results"),"search-no-results-description":o.$t("settings.modules.consciousness.provider-model-selection.no_search_results_description",{query:t(u)}),"search-results-text":o.$t("settings.modules.consciousness.provider-model-selection.search_results",{count:"{count}",total:"{total}"}),"custom-input-placeholder":o.$t("settings.modules.consciousness.provider-model-selection.custom_model_placeholder"),"expand-button-text":o.$t("settings.modules.consciousness.provider-model-selection.expand"),"collapse-button-text":o.$t("settings.modules.consciousness.provider-model-selection.collapse"),"onUpdate:customValue":P},null,8,["modelValue","search-query","items","search-placeholder","search-no-results-title","search-no-results-description","search-results-text","custom-input-placeholder","expand-button-text","collapse-button-text"])):h("",!0)])])):t(d)&&!t(v)?(r(),i("div",ae,[e("div",ue,[e("div",null,[e("h2",ce,n(o.$t("settings.modules.consciousness.provider-model-selection.title")),1),e("div",me,[e("span",null,n(o.$t("settings.modules.consciousness.provider-model-selection.subtitle")),1)])]),e("div",pe,[s[12]||(s[12]=e("div",{"i-solar:info-circle-line-duotone":"",class:"text-primary-500 dark:text-primary-400 text-2xl"},null,-1)),e("div",ve,[e("span",xe,n(o.$t("settings.modules.consciousness.provider-model-selection.not_supported")),1),e("span",ge,n(o.$t("settings.modules.consciousness.provider-model-selection.not_supported_description")),1)])]),e("div",be,[e("label",fe,n(o.$t("settings.modules.consciousness.provider-model-selection.manual_model_name")),1),f(e("input",{"onUpdate:modelValue":s[4]||(s[4]=l=>c(a)?a.value=l:null),type:"text",class:"w-full border border-neutral-300 rounded bg-white px-3 py-2 dark:border-neutral-700 dark:bg-neutral-900",placeholder:o.$t("settings.modules.consciousness.provider-model-selection.manual_model_placeholder")},null,8,he),[[F,t(a)]])])])])):h("",!0)]),s[13]||(s[13]=e("div",{text:"neutral-100/50 dark:neutral-500/20","pointer-events-none":"",fixed:"","bottom-0":"","right-0":"","translate-x-10":"","translate-y-10":""},[e("div",{text:"40","i-lucide:ghost":""})],-1))],64)}}});typeof y=="function"&&y(ke);export{ke as default}; +import{d as N,x as b,s as R,p as B,z as U,c as i,o as r,A as f,a as e,e as t,m as h,F as k,E as D,b as q,k as z,G as E,j as _,t as n,B as c,H as F}from"./index-CGdx-Gsw.js";import"./Stage.vue_vue_type_style_index_0_scoped_cad77b27_lang-BvkGrZE5.js";import{_ as j,R as A}from"./RadioCardDetailManySelect.vue_vue_type_script_setup_true_lang-BeHCf9lv.js";import{u as Q}from"./consciousness-DlNDB_GZ.js";import{u as T}from"./providers-ztBzqPgb.js";import{b as y}from"./route-block-B_A1xBdJ.js";import"./TransitionVertical.vue_vue_type_script_setup_true_lang-DIGllfwe.js";const G={flex:"~ row","items-center":"","gap-2":"",initial:{opacity:0,x:10},enter:{opacity:1,x:0},leave:{opacity:0,x:-10},duration:250},H={bg:"neutral-50 dark:[rgba(0,0,0,0.3)]","rounded-xl":"","p-4":"",flex:"~ col gap-4"},I={flex:"~ col gap-4"},J={"max-w-full":""},K={key:0,flex:"~ row gap-4",style:{"scrollbar-width":"none"},"min-w-0":"","of-x-scroll":"","scroll-smooth":"",role:"radiogroup"},O={key:1},W={key:0},X={flex:"~ col gap-4"},Y={class:"text-lg md:text-2xl"},Z={text:"neutral-400 dark:neutral-400"},ee={key:0,class:"flex items-center justify-center py-4"},se={key:1,class:"flex items-center gap-3 border border-red-200 rounded-lg bg-red-50 p-4 dark:border-red-800 dark:bg-red-900/20"},te={class:"flex flex-col"},oe={class:"font-medium"},le={class:"text-sm text-red-600 dark:text-red-400"},re={key:2,class:"flex items-center gap-3 border border-amber-200 rounded-lg bg-amber-50 p-4 dark:border-amber-800 dark:bg-amber-900/20"},ne={class:"flex flex-col"},ie={class:"font-medium"},de={class:"text-sm text-amber-600 dark:text-amber-400"},ae={key:1},ue={flex:"~ col gap-4"},ce={class:"text-lg text-neutral-500 md:text-2xl dark:text-neutral-400"},me={text:"neutral-400 dark:neutral-500"},pe={class:"bg-primary-50 border-primary-200 dark:bg-primary-900/20 dark:border-primary-800 flex items-center gap-3 border rounded-lg p-4"},ve={class:"flex flex-col"},xe={class:"font-medium"},ge={class:"dark:text-primary-400 text-primary-600 text-sm"},be={class:"mt-2"},fe={class:"mb-1 block text-sm font-medium"},he=["placeholder"],ke=N({__name:"consciousness",setup(_e){const $=T(),p=Q(),{availableProviders:M,availableProvidersMetadata:w}=b($),{activeProvider:d,activeModel:a,customModelName:V,modelSearchQuery:u,supportsModelListing:v,providerModels:m,isLoadingActiveProviderModels:x,activeProviderModelError:g}=b(p),C=R();B(async()=>{await p.loadModelsForProvider(d.value)});function P(o){V.value=o}return(o,s)=>{const L=U("motion");return r(),i(k,null,[f((r(),i("div",G,[e("button",{onClick:s[0]||(s[0]=l=>t(C).back())},s[5]||(s[5]=[e("div",{"i-solar:alt-arrow-left-line-duotone":"","text-xl":""},null,-1)])),s[6]||(s[6]=e("h1",{relative:""},[e("div",{absolute:"","left-0":"","top-0":"","translate-y":"[-80%]"},[e("span",{text:"neutral-300 dark:neutral-500"},"Modules")]),e("div",{"text-3xl":"","font-semibold":""}," Consciousness ")],-1))])),[[L]]),e("div",H,[e("div",null,[e("div",I,[s[8]||(s[8]=e("div",null,[e("h2",{class:"text-lg text-neutral-500 md:text-2xl dark:text-neutral-500"}," Provider "),e("div",{text:"neutral-400 dark:neutral-400"},[e("span",null,"Select the suitable LLM provider for consciousness")])],-1)),e("div",J,[t(M).length>0?(r(),i("fieldset",K,[(r(!0),i(k,null,D(t(w),l=>(r(),_(t(A),{id:l.id,key:l.id,modelValue:t(d),"onUpdate:modelValue":s[1]||(s[1]=S=>c(d)?d.value=S:null),name:"provider",value:l.id,title:l.localizedName,description:l.localizedDescription},null,8,["id","modelValue","value","title","description"]))),128))])):(r(),i("div",O,[q(t(E),{class:"flex items-center gap-3 rounded-lg p-4",border:"2 dashed neutral-200 dark:neutral-800",bg:"neutral-50 dark:neutral-800",transition:"colors duration-200 ease-in-out",to:"/settings/providers"},{default:z(()=>s[7]||(s[7]=[e("div",{"i-solar:warning-circle-line-duotone":"",class:"text-2xl text-amber-500 dark:text-amber-400"},null,-1),e("div",{class:"flex flex-col"},[e("span",{class:"font-medium"},"No Providers Configured"),e("span",{class:"text-sm text-neutral-400 dark:text-neutral-500"},"Click here to set up your LLM providers")],-1),e("div",{"i-solar:arrow-right-line-duotone":"",class:"ml-auto text-xl text-neutral-400 dark:text-neutral-500"},null,-1)])),_:1})]))])])]),t(d)&&t(v)?(r(),i("div",W,[e("div",X,[e("div",null,[e("h2",Y,n(o.$t("settings.modules.consciousness.provider-model-selection.title")),1),e("div",Z,[e("span",null,n(o.$t("settings.modules.consciousness.provider-model-selection.subtitle")),1)])]),t(x)?(r(),i("div",ee,[s[9]||(s[9]=e("div",{class:"mr-2 animate-spin"},[e("div",{"i-solar:spinner-line-duotone":"","text-xl":""})],-1)),e("span",null,n(o.$t("settings.modules.consciousness.provider-model-selection.loading")),1)])):t(g)?(r(),i("div",se,[s[10]||(s[10]=e("div",{"i-solar:close-circle-line-duotone":"",class:"text-2xl text-red-500 dark:text-red-400"},null,-1)),e("div",te,[e("span",oe,n(o.$t("settings.modules.consciousness.provider-model-selection.error")),1),e("span",le,n(t(g)),1)])])):t(m).length===0&&!t(x)?(r(),i("div",re,[s[11]||(s[11]=e("div",{"i-solar:info-circle-line-duotone":"",class:"text-2xl text-amber-500 dark:text-amber-400"},null,-1)),e("div",ne,[e("span",ie,n(o.$t("settings.modules.consciousness.provider-model-selection.no_models")),1),e("span",de,n(o.$t("settings.modules.consciousness.provider-model-selection.no_models_description")),1)])])):t(m).length>0?(r(),_(t(j),{key:3,modelValue:t(a),"onUpdate:modelValue":s[2]||(s[2]=l=>c(a)?a.value=l:null),"search-query":t(u),"onUpdate:searchQuery":s[3]||(s[3]=l=>c(u)?u.value=l:null),items:t(m),searchable:!0,"search-placeholder":o.$t("settings.modules.consciousness.provider-model-selection.search_placeholder"),"search-no-results-title":o.$t("settings.modules.consciousness.provider-model-selection.no_search_results"),"search-no-results-description":o.$t("settings.modules.consciousness.provider-model-selection.no_search_results_description",{query:t(u)}),"search-results-text":o.$t("settings.modules.consciousness.provider-model-selection.search_results",{count:"{count}",total:"{total}"}),"custom-input-placeholder":o.$t("settings.modules.consciousness.provider-model-selection.custom_model_placeholder"),"expand-button-text":o.$t("settings.modules.consciousness.provider-model-selection.expand"),"collapse-button-text":o.$t("settings.modules.consciousness.provider-model-selection.collapse"),"onUpdate:customValue":P},null,8,["modelValue","search-query","items","search-placeholder","search-no-results-title","search-no-results-description","search-results-text","custom-input-placeholder","expand-button-text","collapse-button-text"])):h("",!0)])])):t(d)&&!t(v)?(r(),i("div",ae,[e("div",ue,[e("div",null,[e("h2",ce,n(o.$t("settings.modules.consciousness.provider-model-selection.title")),1),e("div",me,[e("span",null,n(o.$t("settings.modules.consciousness.provider-model-selection.subtitle")),1)])]),e("div",pe,[s[12]||(s[12]=e("div",{"i-solar:info-circle-line-duotone":"",class:"text-primary-500 dark:text-primary-400 text-2xl"},null,-1)),e("div",ve,[e("span",xe,n(o.$t("settings.modules.consciousness.provider-model-selection.not_supported")),1),e("span",ge,n(o.$t("settings.modules.consciousness.provider-model-selection.not_supported_description")),1)])]),e("div",be,[e("label",fe,n(o.$t("settings.modules.consciousness.provider-model-selection.manual_model_name")),1),f(e("input",{"onUpdate:modelValue":s[4]||(s[4]=l=>c(a)?a.value=l:null),type:"text",class:"w-full border border-neutral-300 rounded bg-white px-3 py-2 dark:border-neutral-700 dark:bg-neutral-900",placeholder:o.$t("settings.modules.consciousness.provider-model-selection.manual_model_placeholder")},null,8,he),[[F,t(a)]])])])])):h("",!0)]),s[13]||(s[13]=e("div",{text:"neutral-100/50 dark:neutral-500/20","pointer-events-none":"",fixed:"","bottom-0":"","right-0":"","translate-x-10":"","translate-y-10":""},[e("div",{text:"40","i-lucide:ghost":""})],-1))],64)}}});typeof y=="function"&&y(ke);export{ke as default}; diff --git a/assets/consciousness-vmuqaC3X.js b/assets/consciousness-DlNDB_GZ.js similarity index 91% rename from assets/consciousness-vmuqaC3X.js rename to assets/consciousness-DlNDB_GZ.js index 06bfde9169df45e19815c57f521a48ed815e59b2..783a80f43c1ef8d10bc9e27b0e229c662f747476 100644 --- a/assets/consciousness-vmuqaC3X.js +++ b/assets/consciousness-DlNDB_GZ.js @@ -1 +1 @@ -import{aj as C,cl as l,g as M,h as i,w as h}from"./index-DCtIztPb.js";import{u as y}from"./providers-DAM1M9Uz.js";const N=C("consciousness",()=>{const s=y(),o=l("settings/consciousness/active-provider",""),a=l("settings/consciousness/active-model",""),n=l("settings/consciousness/active-custom-model",""),u=M({}),r=M(""),f=i(()=>{var e;return((e=s.getProviderMetadata(o.value))==null?void 0:e.capabilities.listModels)!==void 0}),c=i(()=>s.getModelsForProvider(o.value)),m=i(()=>s.isLoadingModels[o.value]||!1),g=i(()=>s.modelLoadError[o.value]||null),p=i(()=>{if(!r.value.trim())return c.value;const e=r.value.toLowerCase().trim();return c.value.filter(t=>t.name.toLowerCase().includes(e)||t.id.toLowerCase().includes(e)||t.description&&t.description.toLowerCase().includes(e))});function P(e){o.value=e}function L(e){a.value=e}function w(e){n.value=e}function S(e){r.value=e}function d(){a.value="",n.value="",u.value={},r.value=""}async function v(e){var t;e&&((t=s.getProviderMetadata(o.value))==null?void 0:t.capabilities.listModels)!==void 0&&s.getModelsForProvider(e).length===0&&await s.fetchModelsForProvider(e)}return h(o,async e=>{await v(e),d()}),{activeProvider:o,activeModel:a,customModelName:n,expandedDescriptions:u,modelSearchQuery:r,supportsModelListing:f,providerModels:c,isLoadingActiveProviderModels:m,activeProviderModelError:g,filteredModels:p,setActiveProvider:P,setActiveModel:L,setCustomModelName:w,setModelSearchQuery:S,resetModelSelection:d,loadModelsForProvider:v}});export{N as u}; +import{ai as C,ck as l,g as M,h as i,w as h}from"./index-CGdx-Gsw.js";import{u as y}from"./providers-ztBzqPgb.js";const N=C("consciousness",()=>{const s=y(),o=l("settings/consciousness/active-provider",""),a=l("settings/consciousness/active-model",""),n=l("settings/consciousness/active-custom-model",""),u=M({}),r=M(""),f=i(()=>{var e;return((e=s.getProviderMetadata(o.value))==null?void 0:e.capabilities.listModels)!==void 0}),c=i(()=>s.getModelsForProvider(o.value)),m=i(()=>s.isLoadingModels[o.value]||!1),g=i(()=>s.modelLoadError[o.value]||null),p=i(()=>{if(!r.value.trim())return c.value;const e=r.value.toLowerCase().trim();return c.value.filter(t=>t.name.toLowerCase().includes(e)||t.id.toLowerCase().includes(e)||t.description&&t.description.toLowerCase().includes(e))});function P(e){o.value=e}function L(e){a.value=e}function w(e){n.value=e}function S(e){r.value=e}function d(){a.value="",n.value="",u.value={},r.value=""}async function v(e){var t;e&&((t=s.getProviderMetadata(o.value))==null?void 0:t.capabilities.listModels)!==void 0&&s.getModelsForProvider(e).length===0&&await s.fetchModelsForProvider(e)}return h(o,async e=>{await v(e),d()}),{activeProvider:o,activeModel:a,customModelName:n,expandedDescriptions:u,modelSearchQuery:r,supportsModelListing:f,providerModels:c,isLoadingActiveProviderModels:m,activeProviderModelError:g,filteredModels:p,setActiveProvider:P,setActiveModel:L,setCustomModelName:w,setModelSearchQuery:S,resetModelSelection:d,loadModelsForProvider:v}});export{N as u}; diff --git a/assets/deepseek-D6RZa5Ut.js b/assets/deepseek-D6RZa5Ut.js new file mode 100644 index 0000000000000000000000000000000000000000..e02a78ea45396a14ea994745f499508a242f5197 --- /dev/null +++ b/assets/deepseek-D6RZa5Ut.js @@ -0,0 +1 @@ +import"./Stage.vue_vue_type_style_index_0_scoped_cad77b27_lang-BvkGrZE5.js";import{d as k,s as U,x as V,h as v,p as $,w as g,j as y,o as K,k as d,b as i,e as t}from"./index-CGdx-Gsw.js";import{u as h}from"./providers-ztBzqPgb.js";import{_ as x,a as w}from"./ProviderBaseUrlInput.vue_vue_type_script_setup_true_lang-Rq7sGR-H.js";import{_ as z,a as B,b as C,c as M}from"./ProviderSettingsLayout.vue_vue_type_script_setup_true_lang-Cz54lBh2.js";import"./Collapsable.vue_vue_type_script_setup_true_lang-t6VABIns.js";import"./TransitionVertical.vue_vue_type_script_setup_true_lang-DIGllfwe.js";const a="deepseek",O=k({__name:"deepseek",setup(N){const f=U(),p=h(),{providers:o}=V(p),u=v(()=>p.getProviderMetadata(a)),s=v({get:()=>{var e;return((e=o.value[a])==null?void 0:e.apiKey)||""},set:e=>{o.value[a]||(o.value[a]={}),o.value[a].apiKey=e}}),r=v({get:()=>{var e;return((e=o.value[a])==null?void 0:e.baseUrl)||""},set:e=>{o.value[a]||(o.value[a]={}),o.value[a].baseUrl=e}});$(()=>{var e,l;p.initializeProvider(a),s.value=((e=o.value[a])==null?void 0:e.apiKey)||"",r.value=((l=o.value[a])==null?void 0:l.baseUrl)||""}),g([s,r],()=>{o.value[a]={...o.value[a],apiKey:s.value,baseUrl:r.value||""}});function _(){var e;o.value[a]={...(e=u.value)==null?void 0:e.defaultOptions}}return(e,l)=>{var c,m;return K(),y(t(M),{"provider-name":(c=u.value)==null?void 0:c.localizedName,"provider-icon-color":(m=u.value)==null?void 0:m.iconColor,"on-back":()=>t(f).back()},{default:d(()=>[i(t(z),null,{default:d(()=>[i(t(B),{title:"Basic",description:"Essential settings","on-reset":_},{default:d(()=>{var n;return[i(t(C),{modelValue:s.value,"onUpdate:modelValue":l[0]||(l[0]=b=>s.value=b),"provider-name":(n=u.value)==null?void 0:n.localizedName,placeholder:"sk-..."},null,8,["modelValue","provider-name"])]}),_:1}),i(t(x),{title:"Advanced"},{default:d(()=>[i(t(w),{modelValue:r.value,"onUpdate:modelValue":l[1]||(l[1]=n=>r.value=n),placeholder:"https://api.deepseek.com/v1/"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1},8,["provider-name","provider-icon-color","on-back"])}}});export{O as default}; diff --git a/assets/default-BSkCC3LH.js b/assets/default-CnWbiEGc.js similarity index 89% rename from assets/default-BSkCC3LH.js rename to assets/default-CnWbiEGc.js index b21156379b67c9b6ceefd1a87c5a391dc8bcc4ef..42491193ec4a443c60e205da75c948a3c21b94f9 100644 --- a/assets/default-BSkCC3LH.js +++ b/assets/default-CnWbiEGc.js @@ -1 +1 @@ -import{d as n,u as r,c,a,b as t,e,n as i,R as m,o as l}from"./index-DCtIztPb.js";import{H as x}from"./HeaderLink-BDfJutS0.js";const f={"mb-4":"","w-full":"","gap-2":"",class:"px-0 py-1 md:px-3 md:py-3"},_={class:"px-3 py-2 md:px-5 md:py-5",flex:"~ col gap-4","mx-auto":"","max-w-screen-lg":""},$=n({__name:"default",setup(u){const{top:o,right:p,bottom:s,left:d}=r();return(g,y)=>(l(),c("div",{"p-2":"",style:i({paddingTop:`${e(o)}px`,paddingRight:`${e(p)}px`,paddingBottom:`${e(s)}px`,paddingLeft:`${e(d)}px`})},[a("div",f,[t(x)]),a("div",_,[t(e(m))])],4))}});export{$ as default}; +import{d as n,u as r,c,a,b as t,e,n as i,R as m,o as l}from"./index-CGdx-Gsw.js";import{H as x}from"./HeaderLink-C4uzPeCq.js";const f={"mb-4":"","w-full":"","gap-2":"",class:"px-0 py-1 md:px-3 md:py-3"},_={class:"px-3 py-2 md:px-5 md:py-5",flex:"~ col gap-4","mx-auto":"","max-w-screen-lg":""},$=n({__name:"default",setup(u){const{top:o,right:p,bottom:s,left:d}=r();return(g,y)=>(l(),c("div",{"p-2":"",style:i({paddingTop:`${e(o)}px`,paddingRight:`${e(p)}px`,paddingBottom:`${e(s)}px`,paddingLeft:`${e(d)}px`})},[a("div",f,[t(x)]),a("div",_,[t(e(m))])],4))}});export{$ as default}; diff --git a/assets/default-node-Ct8UOs1_.js b/assets/default-node-CkTSmFLS.js similarity index 89% rename from assets/default-node-Ct8UOs1_.js rename to assets/default-node-CkTSmFLS.js index ab1192e7071beb6d8e7f3dcb34d1398359bbdaf7..323a915bfdd90f496e2f12d94b985f438b5238f5 100644 --- a/assets/default-node-Ct8UOs1_.js +++ b/assets/default-node-CkTSmFLS.js @@ -1 +1 @@ -import{cx as t}from"./index-DCtIztPb.js";async function s(){const{createRequire:a}=await t(async()=>{const{createRequire:o}=await import("./__vite-browser-external-FmFgRqLi.js");return{createRequire:o}},[]),{dirname:n,resolve:e}=await t(async()=>{const{dirname:o,resolve:c}=await import("./__vite-browser-external-FmFgRqLi.js");return{dirname:o,resolve:c}},[]),d=a(import.meta.url),r=n(d.resolve("@duckdb/duckdb-wasm"));return{mvp:{mainModule:e(r,"./duckdb-mvp.wasm"),mainWorker:e(r,"./duckdb-node-mvp.worker.cjs")},eh:{mainModule:e(r,"./duckdb-eh.wasm"),mainWorker:e(r,"./duckdb-node-eh.worker.cjs")}}}export{s as getBundles}; +import{cw as t}from"./index-CGdx-Gsw.js";async function s(){const{createRequire:a}=await t(async()=>{const{createRequire:o}=await import("./__vite-browser-external-FmFgRqLi.js");return{createRequire:o}},[]),{dirname:n,resolve:e}=await t(async()=>{const{dirname:o,resolve:c}=await import("./__vite-browser-external-FmFgRqLi.js");return{dirname:o,resolve:c}},[]),d=a(import.meta.url),r=n(d.resolve("@duckdb/duckdb-wasm"));return{mvp:{mainModule:e(r,"./duckdb-mvp.wasm"),mainWorker:e(r,"./duckdb-node-mvp.worker.cjs")},eh:{mainModule:e(r,"./duckdb-eh.wasm"),mainWorker:e(r,"./duckdb-node-eh.worker.cjs")}}}export{s as getBundles}; diff --git a/assets/delays-B3_Q2Pu1.js b/assets/delays-DXpMk45q.js similarity index 78% rename from assets/delays-B3_Q2Pu1.js rename to assets/delays-DXpMk45q.js index d01513bc4bc225c6ae22f36cc33f0668f788084f..a5f20fbb4e32e33cd3e0109536a8c273b05da39e 100644 --- a/assets/delays-B3_Q2Pu1.js +++ b/assets/delays-DXpMk45q.js @@ -1 +1 @@ -import{u as v,_,l as k}from"./queues-DYg2fUVu.js";import"./Stage.vue_vue_type_style_index_0_scoped_cad77b27_lang-D1cRHv6j.js";import"./index-D1subIJf.js";import{d as b,g as d,c as s,o as l,a as e,b as y,e as x,t as i,F as f,E as p}from"./index-DCtIztPb.js";import"./queue-DBj3aeDb.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":""},E={"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":""},I=b({__name:"delays",setup(S){const t=d(""),m=d([]),c=d([]),u=d(!1),r=v();r.onHandlerEvent("delay",a=>{c.value.push(a)});function g(){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)=>(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:g},null,8,["modelValue"]),e("button",h,i(u.value?"Processing...":"Send"),1)]),e("div",E,[e("div",M,[n[1]||(n[1]=e("h3",{"font-semibold":""}," Emotion Message ",-1)),(l(!0),s(f,null,p(m.value,o=>(l(),s("div",{key:o},[e("div",null,i(o),1)]))),128))]),e("div",V,[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}; +import{u as v,_,l as k}from"./queues-DxSAefs-.js";import"./Stage.vue_vue_type_style_index_0_scoped_cad77b27_lang-BvkGrZE5.js";import"./index-DeVJLqDu.js";import{d as b,g as d,c as s,o as l,a as e,b as y,e as x,t as i,F as f,E as p}from"./index-CGdx-Gsw.js";import"./queue-6CGaUIQf.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":""},E={"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":""},I=b({__name:"delays",setup(S){const t=d(""),m=d([]),c=d([]),u=d(!1),r=v();r.onHandlerEvent("delay",a=>{c.value.push(a)});function g(){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)=>(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:g},null,8,["modelValue"]),e("button",h,i(u.value?"Processing...":"Send"),1)]),e("div",E,[e("div",M,[n[1]||(n[1]=e("h3",{"font-semibold":""}," Emotion Message ",-1)),(l(!0),s(f,null,p(m.value,o=>(l(),s("div",{key:o},[e("div",null,i(o),1)]))),128))]),e("div",V,[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}; diff --git a/assets/elevenlabs-BGwDjYMD.js b/assets/elevenlabs-BGwDjYMD.js new file mode 100644 index 0000000000000000000000000000000000000000..fb21bac323864159b5225dc76c81bfaf9d4e2bfa --- /dev/null +++ b/assets/elevenlabs-BGwDjYMD.js @@ -0,0 +1 @@ +import{d as N,h as u,c as f,o as p,a as o,t as g,A as F,C as X,b as m,e as n,s as Y,x as Z,g as _,p as ee,w as te,L as le,j as ae,k as T,m as E,H as oe,F as D,E as G,I as H,q as se}from"./index-CGdx-Gsw.js";import"./Stage.vue_vue_type_style_index_0_scoped_cad77b27_lang-BvkGrZE5.js";import{u as ie}from"./providers-ztBzqPgb.js";import{u as ne,v as ue}from"./speech-Bm3HIPgP.js";import{_ as re,a as de}from"./ProviderBaseUrlInput.vue_vue_type_script_setup_true_lang-Rq7sGR-H.js";import{_ as ve,a as ce,b as me,c as pe}from"./ProviderSettingsLayout.vue_vue_type_script_setup_true_lang-Cz54lBh2.js";import{R as fe}from"./Range-py-TYNCE.js";import{g as ge}from"./index-DR07td9u.js";import"./Collapsable.vue_vue_type_script_setup_true_lang-t6VABIns.js";import"./TransitionVertical.vue_vue_type_script_setup_true_lang-DIGllfwe.js";const xe={flex:"~ col gap-4"},be={flex:"~ row","items-center":"","gap-2":""},ye={flex:"1"},Ve={class:"flex items-center gap-1 text-sm font-medium"},Se={class:"text-xs text-neutral-500 dark:text-neutral-400"},_e={"font-mono":""},ke={flex:"~ row","items-center":"","gap-2":""},he=N({__name:"ProviderCheckboxInput",props:{modelValue:{type:Boolean},label:null,description:null},emits:["update:modelValue"],setup(r,{emit:P}){const d=r,x=P,t=u({get:()=>d.modelValue,set:v=>x("update:modelValue",v)});return(v,c)=>(p(),f("label",xe,[o("div",be,[o("div",ye,[o("div",Ve,g(r.label),1),o("div",Se,g(r.description),1)]),o("span",_e,g(t.value?"On":"Off"),1)]),o("div",ke,[F(o("input",{"onUpdate:modelValue":c[0]||(c[0]=i=>t.value=i),type:"checkbox"},null,512),[[X,t.value]])])]))}}),Ue={flex:"~ col gap-4"},we={flex:"~ row","items-center":"","gap-2":""},$e={flex:"1"},Be={class:"flex items-center gap-1 text-sm font-medium"},Le={class:"text-xs text-neutral-500 dark:text-neutral-400"},Pe={"font-mono":""},Re={flex:"~ row","items-center":"","gap-2":""},M=N({__name:"ProviderSliderInput",props:{modelValue:null,min:null,max:null,step:null,label:null,description:null,formatValue:{type:Function}},emits:["update:modelValue"],setup(r,{emit:P}){const d=r,x=P,t=u({get:()=>d.modelValue,set:c=>x("update:modelValue",c)}),v=u(()=>d.formatValue?d.formatValue(t.value):t.value.toFixed(2));return(c,i)=>(p(),f("label",Ue,[o("div",we,[o("div",$e,[o("div",Be,g(r.label),1),o("div",Le,g(r.description),1)]),o("span",Pe,g(v.value),1)]),o("div",Re,[m(n(fe),{modelValue:t.value,"onUpdate:modelValue":i[0]||(i[0]=k=>t.value=k),min:r.min||0,max:r.max||1,step:r.step||.01,"w-full":""},null,8,["modelValue","min","max","step"])])]))}}),Oe={flex:"~ col md:row gap-6"},Ce={flex:"~ col gap-6"},Te={flex:"~ col gap-4"},Ee={flex:"~ col gap-6",class:"w-full md:w-[60%]"},Me={"rounded-xl":""},Fe={flex:"~ col gap-4"},Ie={flex:"~ col gap-6"},Ne={grid:"~ cols-2 gap-4"},ze=["value"],Ae={grid:"~ cols-2 gap-4"},Ke=["value"],je={flex:"~ row","gap-4":""},qe=["disabled"],De={flex:"~ row","items-center":"","gap-2":""},Ge={key:0,class:"mt-2 text-sm text-red-500"},He={key:1,class:"mt-2 text-sm text-red-500"},Je=["src"],l="elevenlabs",st=N({__name:"elevenlabs",setup(r){const P=Y(),d=ie(),x=ne(),{providers:t}=Z(d),v=_("Hello! This is a test of the ElevenLabs voice synthesis."),c=_(!1),i=_(""),k=_(""),h=_(null),b=u(()=>d.getProviderMetadata(l)),y=u({get:()=>{var a;return((a=t.value[l])==null?void 0:a.apiKey)||""},set:a=>{t.value[l]||(t.value[l]={}),t.value[l].apiKey=a}}),R=u({get:()=>{var a,e,V;return((a=t.value[l])==null?void 0:a.baseUrl)||((V=(e=b.value)==null?void 0:e.defaultOptions)==null?void 0:V.baseUrl)||""},set:a=>{t.value[l]||(t.value[l]={}),t.value[l].baseUrl=a}}),U=u({get:()=>{var a,e;return((e=(a=t.value[l])==null?void 0:a.voiceSettings)==null?void 0:e.similarityBoost)??.75},set:a=>{t.value[l]||(t.value[l]={}),t.value[l].voiceSettings||(t.value[l].voiceSettings={}),t.value[l].voiceSettings.similarityBoost=a}}),w=u({get:()=>{var a,e;return((e=(a=t.value[l])==null?void 0:a.voiceSettings)==null?void 0:e.stability)??.5},set:a=>{t.value[l]||(t.value[l]={}),t.value[l].voiceSettings||(t.value[l].voiceSettings={}),t.value[l].voiceSettings.stability=a}}),$=u({get:()=>{var a,e;return((e=(a=t.value[l])==null?void 0:a.voiceSettings)==null?void 0:e.speed)??1},set:a=>{t.value[l]||(t.value[l]={}),t.value[l].voiceSettings||(t.value[l].voiceSettings={}),t.value[l].voiceSettings.speed=a}}),B=u({get:()=>{var a,e;return((e=(a=t.value[l])==null?void 0:a.voiceSettings)==null?void 0:e.style)??0},set:a=>{t.value[l]||(t.value[l]={}),t.value[l].voiceSettings||(t.value[l].voiceSettings={}),t.value[l].style=a}}),L=u({get:()=>{var a,e;return((e=(a=t.value[l])==null?void 0:a.voiceSettings)==null?void 0:e.useSpeakerBoost)!==!1},set:a=>{t.value[l]||(t.value[l]={}),t.value[l].voiceSettings||(t.value[l].voiceSettings={}),t.value[l].voiceSettings.useSpeakerBoost=a}}),z=_(x.selectedLanguage),I=_(x.voiceName),J=u(()=>x.availableVoicesForLanguage);ee(()=>{var a,e,V,O,s,S,C,K,j,q;d.initializeProvider(l),y.value=((a=t.value[l])==null?void 0:a.apiKey)||"",R.value=((e=t.value[l])==null?void 0:e.baseUrl)||((O=(V=b.value)==null?void 0:V.defaultOptions)==null?void 0:O.baseUrl)||"",(s=t.value[l])!=null&&s.voiceSettings&&(U.value=((S=t.value[l].voiceSettings)==null?void 0:S.similarityBoost)??.75,w.value=((C=t.value[l].voiceSettings)==null?void 0:C.stability)??.5,$.value=((K=t.value[l].voiceSettings)==null?void 0:K.speed)??1,B.value=((j=t.value[l].voiceSettings)==null?void 0:j.style)??0,L.value=((q=t.value[l].voiceSettings)==null?void 0:q.useSpeakerBoost)!==!1),d.configuredProviders[l]&&x.loadVoicesForProvider(l)}),te([y,R,U,w,$,B,L],()=>{var a,e;t.value[l]={...t.value[l],apiKey:y.value,baseUrl:R.value||((e=(a=b.value)==null?void 0:a.defaultOptions)==null?void 0:e.baseUrl)||"",voiceSettings:{similarityBoost:U.value,stability:w.value,speed:$.value,style:B.value,useSpeakerBoost:L.value}}});async function Q(){if(!v.value.trim())return;const a=d.getProviderInstance(l);if(!a){console.error("Failed to initialize speech provider");return}c.value=!0,k.value="";try{i.value&&A();const e=await ge({...a.speech("eleven_multilingual_v2",{voiceSettings:{stability:w.value,similarityBoost:U.value,speed:$.value,style:B.value,useSpeakerBoost:L.value}}),input:v.value,voice:ue[I.value]});i.value=URL.createObjectURL(new Blob([e])),setTimeout(()=>{h.value&&h.value.play()},100)}catch(e){console.error("Error generating speech:",e),k.value=e instanceof Error?e.message:"An unknown error occurred"}finally{c.value=!1}}function A(){h.value&&(h.value.pause(),h.value.currentTime=0),i.value&&(URL.revokeObjectURL(i.value),i.value="")}le(()=>{i.value&&URL.revokeObjectURL(i.value)});function W(){var a;t.value[l]={...(a=b.value)==null?void 0:a.defaultOptions}}return(a,e)=>{var V,O;return p(),ae(n(pe),{"provider-name":(V=b.value)==null?void 0:V.localizedName,"provider-icon":(O=b.value)==null?void 0:O.icon,"on-back":()=>n(P).back()},{default:T(()=>[o("div",Oe,[m(n(ve),{class:"w-full md:w-[40%]"},{default:T(()=>[m(n(ce),{title:"Basic",description:"Essential settings","on-reset":W},{default:T(()=>{var s;return[m(n(me),{modelValue:y.value,"onUpdate:modelValue":e[0]||(e[0]=S=>y.value=S),"provider-name":(s=b.value)==null?void 0:s.localizedName,placeholder:"sk-"},null,8,["modelValue","provider-name"])]}),_:1}),o("div",Ce,[e[10]||(e[10]=o("h2",{class:"text-lg text-neutral-500 md:text-2xl dark:text-neutral-400"}," Voice Settings ",-1)),o("div",Te,[m(n(M),{modelValue:U.value,"onUpdate:modelValue":e[1]||(e[1]=s=>U.value=s),label:"Similarity Boost",description:"Voice similarity adherence",min:0,max:1,step:.01},null,8,["modelValue"]),m(n(M),{modelValue:w.value,"onUpdate:modelValue":e[2]||(e[2]=s=>w.value=s),label:"Stability",description:"Voice stability and randomness",min:0,max:1,step:.01},null,8,["modelValue"]),m(n(M),{modelValue:$.value,"onUpdate:modelValue":e[3]||(e[3]=s=>$.value=s),label:"Speed",description:"Speech generation speed",min:.7,max:1.2,step:.01},null,8,["modelValue"]),m(n(M),{modelValue:B.value,"onUpdate:modelValue":e[4]||(e[4]=s=>B.value=s),label:"Style",description:"Voice style exaggeration",min:0,max:1,step:.01},null,8,["modelValue"]),m(n(he),{modelValue:L.value,"onUpdate:modelValue":e[5]||(e[5]=s=>L.value=s),label:"Speaker Boost",description:"Enhance speaker similarity"},null,8,["modelValue"])])]),m(n(re),{title:"Advanced"},{default:T(()=>{var s,S;return[m(n(de),{modelValue:R.value,"onUpdate:modelValue":e[6]||(e[6]=C=>R.value=C),placeholder:((S=(s=b.value)==null?void 0:s.defaultOptions)==null?void 0:S.baseUrl)||"",required:""},null,8,["modelValue","placeholder"])]}),_:1})]),_:1}),o("div",Ee,[o("div",Me,[e[15]||(e[15]=o("h2",{class:"mb-4 text-lg text-neutral-500 md:text-2xl dark:text-neutral-400"}," Voice Playground ",-1)),o("div",Fe,[F(o("textarea",{"onUpdate:modelValue":e[7]||(e[7]=s=>v.value=s),placeholder:"Enter text to test the voice...",border:"neutral-200 dark:neutral-800 solid 2 focus:neutral-400 dark:focus:neutral-600",transition:"all duration-250 ease-in-out","h-24":"","w-full":"","rounded-lg":"","px-3":"","py-2":"","text-sm":"","outline-none":"",bg:"neutral-100 dark:neutral-800 focus:white dark:focus:neutral-700"},null,512),[[oe,v.value]]),o("div",Ie,[o("label",Ne,[e[11]||(e[11]=o("div",null,[o("div",{class:"flex items-center gap-1 text-sm font-medium"}," Language "),o("div",{class:"text-xs text-neutral-500 dark:text-neutral-400"}," Select voice language ")],-1)),F(o("select",{"onUpdate:modelValue":e[8]||(e[8]=s=>z.value=s),border:"neutral-300 dark:neutral-800 solid 2 focus:neutral-400 dark:focus:neutral-600",transition:"border duration-250 ease-in-out","w-full":"","rounded-lg":"","px-2":"","py-1":"","text-nowrap":"","text-sm":"","outline-none":""},[(p(!0),f(D,null,G(n(x).availableLanguages,s=>(p(),f("option",{key:s,value:s},g(s),9,ze))),128))],512),[[H,z.value]])]),o("label",Ae,[e[12]||(e[12]=o("div",null,[o("div",{class:"flex items-center gap-1 text-sm font-medium"}," Voice "),o("div",{class:"text-xs text-neutral-500 dark:text-neutral-400"}," Select preferred voice ")],-1)),F(o("select",{"onUpdate:modelValue":e[9]||(e[9]=s=>I.value=s),border:"neutral-300 dark:neutral-800 solid 2 focus:neutral-400 dark:focus:neutral-600",transition:"border duration-250 ease-in-out","w-full":"","rounded-lg":"","px-2":"","py-1":"","text-nowrap":"","text-sm":"","outline-none":""},[(p(!0),f(D,null,G(J.value,s=>(p(),f("option",{key:s.id,value:s.name},g(s.name),9,Ke))),128))],512),[[H,I.value]])])]),o("div",je,[o("button",{border:"neutral-800 dark:neutral-200 solid 2",transition:"border duration-250 ease-in-out","rounded-lg":"","px-4":"",text:"neutral-100 dark:neutral-900","py-2":"","text-sm":"",disabled:c.value||!v.value.trim()||!y.value,class:se({"opacity-50 cursor-not-allowed":c.value||!v.value.trim()||!y.value}),bg:"neutral-700 dark:neutral-300",onClick:Q},[o("div",De,[e[13]||(e[13]=o("div",{"i-solar:play-circle-bold-duotone":""},null,-1)),o("span",null,g(c.value?"Generating...":"Test Voice"),1)])],10,qe),i.value?(p(),f("button",{key:0,border:"primary-300 dark:primary-800 solid 2",transition:"border duration-250 ease-in-out","rounded-lg":"","px-4":"","py-2":"","text-sm":"",onClick:A},e[14]||(e[14]=[o("div",{flex:"~ row","items-center":"","gap-2":""},[o("div",{"i-solar:stop-circle-bold-duotone":""}),o("span",null,"Stop")],-1)]))):E("",!0)]),y.value?E("",!0):(p(),f("div",Ge," Please enter an API key to test the voice. ")),k.value?(p(),f("div",He,g(k.value),1)):E("",!0),i.value?(p(),f("audio",{key:2,ref_key:"audioPlayer",ref:h,src:i.value,controls:"",class:"mt-2 w-full"},null,8,Je)):E("",!0)])])])])]),_:1},8,["provider-name","provider-icon","on-back"])}}});export{st as default}; diff --git a/assets/elevenlabs-CWszaaNC.js b/assets/elevenlabs-CWszaaNC.js deleted file mode 100644 index 0a0dbc6d65a44b7fa0e1b4468931c05f1643a0ac..0000000000000000000000000000000000000000 --- a/assets/elevenlabs-CWszaaNC.js +++ /dev/null @@ -1 +0,0 @@ -import{d as ee,s as te,x as le,g as p,h as d,K as ae,p as oe,w as se,L as ie,z as ne,c as r,o as u,A as _,a as e,e as x,t as i,M as G,H as K,b as T,C as re,k as H,q as N,m as M,I as $,F as z,E as q}from"./index-DCtIztPb.js";import{_ as ue}from"./Collapsable.vue_vue_type_script_setup_true_lang-CWAVErwd.js";import"./Stage.vue_vue_type_style_index_0_scoped_cad77b27_lang-D1cRHv6j.js";import{R as A}from"./Range-DbnEDkbC.js";import{u as de}from"./providers-DAM1M9Uz.js";import{u as ve,v as ce}from"./speech-DvCNA68i.js";import{g as pe}from"./index-DAkLbdaC.js";import"./TransitionVertical.vue_vue_type_script_setup_true_lang-BDRTDJzZ.js";const xe={flex:"~ row","items-center":"","gap-2":"",initial:{opacity:0,x:10},enter:{opacity:1,x:0},leave:{opacity:0,x:-10},duration:250},me={relative:""},fe={"text-3xl":"","font-semibold":""},ge={flex:"~ col md:row gap-6"},be={bg:"neutral-50 dark:[rgba(0,0,0,0.3)]","rounded-xl":"","p-4":"",flex:"~ col gap-6",w:"full md:40%"},ke={flex:"~ col gap-6"},ye={"max-w-full":""},_e={flex:"~ col gap-4"},we={class:"text-xs text-neutral-500 dark:text-neutral-400","text-nowrap":""},Se={flex:"~ col gap-6"},Ve={flex:"~ col gap-4"},he={flex:"~ col gap-2"},Ue={flex:"~ row","items-center":"","gap-2":""},Be={"font-mono":""},Le={flex:"~ row","items-center":"","gap-2":""},Re={flex:"~ col gap-4"},Ce={flex:"~ row","items-center":"","gap-2":""},Pe={"font-mono":""},Te={flex:"~ row","items-center":"","gap-2":""},Oe={flex:"~ col gap-4"},Fe={flex:"~ row","items-center":"","gap-2":""},Me={"font-mono":""},Ae={flex:"~ row","items-center":"","gap-2":""},Ee={flex:"~ col gap-4"},Ke={flex:"~ row","items-center":"","gap-2":""},Ne={"font-mono":""},ze={flex:"~ row","items-center":"","gap-2":""},Ie={flex:"~ col gap-4"},je={flex:"~ row","items-center":"","gap-2":""},De={"font-mono":""},Ge={flex:"~ row","items-center":"","gap-2":""},He=["onClick"],$e={"mt-4":""},qe={flex:"~ col gap-4"},Je=["placeholder"],Qe={flex:"~ col gap-6",w:"full md:60%"},We={"rounded-xl":""},Xe={flex:"~ col gap-4"},Ye={flex:"~ col gap-6"},Ze={grid:"~ cols-2 gap-4"},et=["value"],tt={grid:"~ cols-2 gap-4"},lt=["value"],at={flex:"~ row","gap-4":""},ot=["disabled"],st={flex:"~ row","items-center":"","gap-2":""},it={key:0,class:"mt-2 text-sm text-red-500"},nt={key:1,class:"mt-2 text-sm text-red-500"},rt=["src"],ut={text:"neutral-100/50 dark:neutral-500/20","pointer-events-none":"",fixed:"","bottom-0":"","right-0":"","translate-x-10":"","translate-y-10":""},l="elevenlabs",kt=ee({__name:"elevenlabs",setup(dt){const J=te(),V=de(),h=ve(),{providers:a}=le(V),w=p("Hello! This is a test of the ElevenLabs voice synthesis."),U=p(!1),n=p(""),O=p(""),S=p(null),v=d(()=>V.getProviderMetadata(l)),c=d({get:()=>{var o;return((o=a.value[l])==null?void 0:o.apiKey)||""},set:o=>{a.value[l]||(a.value[l]={}),a.value[l].apiKey=o}}),B=d({get:()=>{var o,t,y;return((o=a.value[l])==null?void 0:o.baseUrl)||((y=(t=v.value)==null?void 0:t.defaultOptions)==null?void 0:y.baseUrl)||""},set:o=>{a.value[l]||(a.value[l]={}),a.value[l].baseUrl=o}}),m=d({get:()=>{var o,t;return((t=(o=a.value[l])==null?void 0:o.voiceSettings)==null?void 0:t.similarityBoost)??.75},set:o=>{a.value[l]||(a.value[l]={}),a.value[l].voiceSettings||(a.value[l].voiceSettings={}),a.value[l].voiceSettings.similarityBoost=o}}),f=d({get:()=>{var o,t;return((t=(o=a.value[l])==null?void 0:o.voiceSettings)==null?void 0:t.stability)??.5},set:o=>{a.value[l]||(a.value[l]={}),a.value[l].voiceSettings||(a.value[l].voiceSettings={}),a.value[l].voiceSettings.stability=o}}),g=d({get:()=>{var o,t;return((t=(o=a.value[l])==null?void 0:o.voiceSettings)==null?void 0:t.speed)??1},set:o=>{a.value[l]||(a.value[l]={}),a.value[l].voiceSettings||(a.value[l].voiceSettings={}),a.value[l].voiceSettings.speed=o}}),b=d({get:()=>{var o,t;return((t=(o=a.value[l])==null?void 0:o.voiceSettings)==null?void 0:t.style)??0},set:o=>{a.value[l]||(a.value[l]={}),a.value[l].voiceSettings||(a.value[l].voiceSettings={}),a.value[l].style=o}}),k=d({get:()=>{var o,t;return((t=(o=a.value[l])==null?void 0:o.voiceSettings)==null?void 0:t.useSpeakerBoost)!==!1},set:o=>{a.value[l]||(a.value[l]={}),a.value[l].voiceSettings||(a.value[l].voiceSettings={}),a.value[l].voiceSettings.useSpeakerBoost=o}}),I=p(h.selectedLanguage),E=p(h.voiceName),Q=d(()=>h.availableVoicesForLanguage),W=p(!1),X=ae(W);oe(()=>{var o,t,y,L,R,C,s,P,F,D;V.initializeProvider(l),c.value=((o=a.value[l])==null?void 0:o.apiKey)||"",B.value=((t=a.value[l])==null?void 0:t.baseUrl)||((L=(y=v.value)==null?void 0:y.defaultOptions)==null?void 0:L.baseUrl)||"",(R=a.value[l])!=null&&R.voiceSettings&&(m.value=((C=a.value[l].voiceSettings)==null?void 0:C.similarityBoost)??.75,f.value=((s=a.value[l].voiceSettings)==null?void 0:s.stability)??.5,g.value=((P=a.value[l].voiceSettings)==null?void 0:P.speed)??1,b.value=((F=a.value[l].voiceSettings)==null?void 0:F.style)??0,k.value=((D=a.value[l].voiceSettings)==null?void 0:D.useSpeakerBoost)!==!1),V.configuredProviders[l]&&h.loadVoicesForProvider(l)}),se([c,B,m,f,g,b,k],()=>{var o,t;a.value[l]={...a.value[l],apiKey:c.value,baseUrl:B.value||((t=(o=v.value)==null?void 0:o.defaultOptions)==null?void 0:t.baseUrl)||"",voiceSettings:{similarityBoost:m.value,stability:f.value,speed:g.value,style:b.value,useSpeakerBoost:k.value}}});async function Y(){if(!w.value.trim())return;const o=V.getProviderInstance(l);if(!o){console.error("Failed to initialize speech provider");return}U.value=!0,O.value="";try{n.value&&j();const t=await pe({...o.speech("eleven_multilingual_v2",{voiceSettings:{stability:f.value,similarityBoost:m.value,speed:g.value,style:b.value,useSpeakerBoost:k.value}}),input:w.value,voice:ce[E.value]});n.value=URL.createObjectURL(new Blob([t])),setTimeout(()=>{S.value&&S.value.play()},100)}catch(t){console.error("Error generating speech:",t),O.value=t instanceof Error?t.message:"An unknown error occurred"}finally{U.value=!1}}function j(){S.value&&(S.value.pause(),S.value.currentTime=0),n.value&&(URL.revokeObjectURL(n.value),n.value="")}ie(()=>{n.value&&URL.revokeObjectURL(n.value)});function Z(){var o;a.value[l]={...(o=v.value)==null?void 0:o.defaultOptions}}return(o,t)=>{var L,R,C;const y=ne("motion");return u(),r(z,null,[_((u(),r("div",xe,[e("button",{onClick:t[0]||(t[0]=s=>x(J).back())},t[11]||(t[11]=[e("div",{"i-solar:alt-arrow-left-line-duotone":"","text-2xl":""},null,-1)])),e("h1",me,[t[12]||(t[12]=e("div",{absolute:"","left-0":"","top-0":"","translate-y":"[-80%]"},[e("span",{text:"neutral-300 dark:neutral-500"},"Provider")],-1)),e("div",fe,i((L=v.value)==null?void 0:L.localizedName),1)])])),[[y]]),e("div",ge,[e("div",be,[e("div",null,[e("div",ke,[e("div",{flex:"~ row","items-center":"","justify-between":""},[t[14]||(t[14]=e("div",null,[e("h2",{class:"text-lg text-neutral-500 md:text-2xl dark:text-neutral-400"}," Basic "),e("div",{text:"neutral-400 dark:neutral-500"},[e("span",null,"Essential settings")])],-1)),e("button",{title:"Reset settings",flex:"","items-center":"","justify-center":"","rounded-full":"","p-2":"",transition:"all duration-250 ease-in-out",text:"neutral-500 dark:neutral-400",bg:"transparent dark:transparent hover:neutral-200 dark:hover:neutral-800 active:neutral-300 dark:active:neutral-700",onClick:Z},t[13]||(t[13]=[e("div",{"i-solar:refresh-bold-duotone":"","text-xl":""},null,-1)]))]),e("div",ye,[e("label",_e,[e("div",null,[t[15]||(t[15]=e("div",{class:"flex items-center gap-1 text-sm font-medium"},[G(" API Key "),e("span",{class:"text-red-500"},"*")],-1)),e("div",we," API Key for "+i((R=v.value)==null?void 0:R.localizedName),1)]),_(e("input",{"onUpdate:modelValue":t[1]||(t[1]=s=>c.value=s),type:"password",border:"neutral-200 dark:neutral-800 solid 2 focus:neutral-400 dark:focus:neutral-600",transition:"all duration-250 ease-in-out","w-full":"","rounded-lg":"","px-2":"","py-1":"","text-nowrap":"","text-sm":"","outline-none":"",bg:"neutral-100 dark:neutral-800 focus:white dark:focus:neutral-700",placeholder:"sk-"},null,512),[[K,c.value]])])])])]),e("div",Se,[t[21]||(t[21]=e("h2",{class:"text-lg text-neutral-500 md:text-2xl dark:text-neutral-400"}," Voice Settings ",-1)),e("div",Ve,[e("label",he,[e("div",Ue,[t[16]||(t[16]=e("div",{flex:"1"},[e("div",{class:"flex items-center gap-1 text-sm font-medium"}," Similarity Boost "),e("div",{class:"text-xs text-neutral-500 dark:text-neutral-400"}," Voice similarity adherence ")],-1)),e("span",Be,i(m.value.toFixed(2)),1)]),e("div",Le,[T(x(A),{modelValue:m.value,"onUpdate:modelValue":t[2]||(t[2]=s=>m.value=s),min:0,max:1,step:.01,"w-full":""},null,8,["modelValue"])])]),e("label",Re,[e("div",Ce,[t[17]||(t[17]=e("div",{flex:"1"},[e("div",{class:"flex items-center gap-1 text-sm font-medium"}," Stability "),e("div",{class:"text-xs text-neutral-500 dark:text-neutral-400"}," Voice stability and randomness ")],-1)),e("span",Pe,i(f.value.toFixed(2)),1)]),e("div",Te,[T(x(A),{modelValue:f.value,"onUpdate:modelValue":t[3]||(t[3]=s=>f.value=s),min:0,max:1,step:.01,"w-full":""},null,8,["modelValue"])])]),e("label",Oe,[e("div",Fe,[t[18]||(t[18]=e("div",{flex:"1"},[e("div",{class:"flex items-center gap-1 text-sm font-medium"}," Speed "),e("div",{class:"text-xs text-neutral-500 dark:text-neutral-400"}," Speech generation speed ")],-1)),e("span",Me,i(g.value.toFixed(2)),1)]),e("div",Ae,[T(x(A),{modelValue:g.value,"onUpdate:modelValue":t[4]||(t[4]=s=>g.value=s),min:.7,max:1.2,step:.01,"w-full":""},null,8,["modelValue"])])]),e("label",Ee,[e("div",Ke,[t[19]||(t[19]=e("div",{flex:"1"},[e("div",{class:"flex items-center gap-1 text-sm font-medium"}," Style "),e("div",{class:"text-xs text-neutral-500 dark:text-neutral-400"}," Voice style exaggeration ")],-1)),e("span",Ne,i(b.value.toFixed(2)),1)]),e("div",ze,[T(x(A),{modelValue:b.value,"onUpdate:modelValue":t[5]||(t[5]=s=>b.value=s),min:0,max:1,step:.01,"w-full":""},null,8,["modelValue"])])]),e("label",Ie,[e("div",je,[t[20]||(t[20]=e("div",{flex:"1"},[e("div",{class:"flex items-center gap-1 text-sm font-medium"}," Speaker Boost "),e("div",{class:"text-xs text-neutral-500 dark:text-neutral-400"}," Enhance speaker similarity ")],-1)),e("span",De,i(k.value?"On":"Off"),1)]),e("div",Ge,[_(e("input",{"onUpdate:modelValue":t[6]||(t[6]=s=>k.value=s),type:"checkbox"},null,512),[[re,k.value]])])])])]),e("div",null,[T(x(ue),{"w-full":""},{trigger:H(s=>[e("button",{transition:"all ease-in-out duration-250","w-full":"",flex:"","items-center":"","gap-1.5":"","outline-none":"",class:"[&_.provider-icon]:grayscale-100 [&_.provider-icon]:hover:grayscale-0",onClick:()=>s.setVisible(!s.visible)&&x(X)()},[t[23]||(t[23]=e("h2",{class:"text-lg text-neutral-500 md:text-2xl dark:text-neutral-400"},[e("span",null,"Advanced")],-1)),e("div",{transform:"",transition:"transform duration-250",class:N({"rotate-180":s.visible})},t[22]||(t[22]=[e("div",{"i-solar:alt-arrow-down-bold-duotone":""},null,-1)]),2)],8,He)]),default:H(()=>{var s,P;return[e("div",$e,[e("label",qe,[t[24]||(t[24]=e("div",null,[e("div",{class:"flex items-center gap-1 text-sm font-medium"},[G(" Base URL "),e("span",{class:"text-red-500"},"*")]),e("div",{class:"text-xs text-neutral-500 dark:text-neutral-400","text-nowrap":""}," Custom base URL (optional) ")],-1)),_(e("input",{"onUpdate:modelValue":t[7]||(t[7]=F=>B.value=F),border:"neutral-200 dark:neutral-800 solid 2 focus:neutral-400 dark:focus:neutral-600",transition:"all duration-250 ease-in-out","w-full":"","rounded-lg":"","px-2":"","py-1":"","text-nowrap":"","text-sm":"","outline-none":"",bg:"neutral-100 dark:neutral-800 focus:white dark:focus:neutral-700",placeholder:((P=(s=v.value)==null?void 0:s.defaultOptions)==null?void 0:P.baseUrl)||""},null,8,Je),[[K,B.value]])])])]}),_:1})])]),e("div",Qe,[e("div",We,[t[29]||(t[29]=e("h2",{class:"mb-4 text-lg text-neutral-500 md:text-2xl dark:text-neutral-400"}," Voice Playground ",-1)),e("div",Xe,[_(e("textarea",{"onUpdate:modelValue":t[8]||(t[8]=s=>w.value=s),placeholder:"Enter text to test the voice...",border:"neutral-200 dark:neutral-800 solid 2 focus:neutral-400 dark:focus:neutral-600",transition:"all duration-250 ease-in-out","h-24":"","w-full":"","rounded-lg":"","px-3":"","py-2":"","text-sm":"","outline-none":"",bg:"neutral-100 dark:neutral-800 focus:white dark:focus:neutral-700"},null,512),[[K,w.value]]),e("div",Ye,[e("label",Ze,[t[25]||(t[25]=e("div",null,[e("div",{class:"flex items-center gap-1 text-sm font-medium"}," Language "),e("div",{class:"text-xs text-neutral-500 dark:text-neutral-400"}," Select voice language ")],-1)),_(e("select",{"onUpdate:modelValue":t[9]||(t[9]=s=>I.value=s),border:"neutral-300 dark:neutral-800 solid 2 focus:neutral-400 dark:focus:neutral-600",transition:"border duration-250 ease-in-out","w-full":"","rounded-lg":"","px-2":"","py-1":"","text-nowrap":"","text-sm":"","outline-none":""},[(u(!0),r(z,null,q(x(h).availableLanguages,s=>(u(),r("option",{key:s,value:s},i(s),9,et))),128))],512),[[$,I.value]])]),e("label",tt,[t[26]||(t[26]=e("div",null,[e("div",{class:"flex items-center gap-1 text-sm font-medium"}," Voice "),e("div",{class:"text-xs text-neutral-500 dark:text-neutral-400"}," Select preferred voice ")],-1)),_(e("select",{"onUpdate:modelValue":t[10]||(t[10]=s=>E.value=s),border:"neutral-300 dark:neutral-800 solid 2 focus:neutral-400 dark:focus:neutral-600",transition:"border duration-250 ease-in-out","w-full":"","rounded-lg":"","px-2":"","py-1":"","text-nowrap":"","text-sm":"","outline-none":""},[(u(!0),r(z,null,q(Q.value,s=>(u(),r("option",{key:s.id,value:s.name},i(s.name),9,lt))),128))],512),[[$,E.value]])])]),e("div",at,[e("button",{border:"neutral-800 dark:neutral-200 solid 2",transition:"border duration-250 ease-in-out","rounded-lg":"","px-4":"",text:"neutral-100 dark:neutral-900","py-2":"","text-sm":"",disabled:U.value||!w.value.trim()||!c.value,class:N({"opacity-50 cursor-not-allowed":U.value||!w.value.trim()||!c.value}),bg:"neutral-700 dark:neutral-300",onClick:Y},[e("div",st,[t[27]||(t[27]=e("div",{"i-solar:play-circle-bold-duotone":""},null,-1)),e("span",null,i(U.value?"Generating...":"Test Voice"),1)])],10,ot),n.value?(u(),r("button",{key:0,border:"primary-300 dark:primary-800 solid 2",transition:"border duration-250 ease-in-out","rounded-lg":"","px-4":"","py-2":"","text-sm":"",onClick:j},t[28]||(t[28]=[e("div",{flex:"~ row","items-center":"","gap-2":""},[e("div",{"i-solar:stop-circle-bold-duotone":""}),e("span",null,"Stop")],-1)]))):M("",!0)]),c.value?M("",!0):(u(),r("div",it," Please enter an API key to test the voice. ")),O.value?(u(),r("div",nt,i(O.value),1)):M("",!0),n.value?(u(),r("audio",{key:2,ref_key:"audioPlayer",ref:S,src:n.value,controls:"",class:"mt-2 w-full"},null,8,rt)):M("",!0)])])])]),e("div",ut,[e("div",{text:"40",class:N((C=v.value)==null?void 0:C.icon)},null,2)])],64)}}});export{kt as default}; diff --git a/assets/emotions-B8_saL_k.js b/assets/emotions-Bnj-x7_A.js similarity index 82% rename from assets/emotions-B8_saL_k.js rename to assets/emotions-Bnj-x7_A.js index b080b39cb4b5c887c810ca94e76030d8997bef8e..f41cfc6c8434d5942fc1f401d5a34a53d8fdfd82 100644 --- a/assets/emotions-B8_saL_k.js +++ b/assets/emotions-Bnj-x7_A.js @@ -1 +1 @@ -import{a as _,_ as k,l as b}from"./queues-DYg2fUVu.js";import"./Stage.vue_vue_type_style_index_0_scoped_cad77b27_lang-D1cRHv6j.js";import{u as x}from"./queue-DBj3aeDb.js";import{d as z,g as u,c as s,o as t,a as e,b as h,e as w,t as i,F as f,E as m}from"./index-DCtIztPb.js";const E={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":""},Q={"w-full":"","rounded-lg":"",bg:"zinc-100 dark:zinc-700","p-2":""},S={"w-full":"","rounded-lg":"",bg:"zinc-100 dark:zinc-700","p-2":""},N=z({__name:"emotions",setup(B){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(b),l.value="",d.value=!1}return(a,o)=>(t(),s("div",E,[e("div",M,[h(w(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",Q,[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",S,[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}; +import{a as _,_ as k,l as b}from"./queues-DxSAefs-.js";import"./Stage.vue_vue_type_style_index_0_scoped_cad77b27_lang-BvkGrZE5.js";import{u as x}from"./queue-6CGaUIQf.js";import{d as z,g as u,c as s,o as t,a as e,b as h,e as w,t as i,F as f,E as m}from"./index-CGdx-Gsw.js";const E={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":""},Q={"w-full":"","rounded-lg":"",bg:"zinc-100 dark:zinc-700","p-2":""},S={"w-full":"","rounded-lg":"",bg:"zinc-100 dark:zinc-700","p-2":""},N=z({__name:"emotions",setup(B){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(b),l.value="",d.value=!1}return(a,o)=>(t(),s("div",E,[e("div",M,[h(w(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",Q,[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",S,[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}; diff --git a/assets/filter-message-Cd8svVg2.js b/assets/filter-message-Bj529E2Y.js similarity index 95% rename from assets/filter-message-Cd8svVg2.js rename to assets/filter-message-Bj529E2Y.js index 9b6226f907d93f3bbfb567296ebc2d5d660e238b..09cc4b8eaf8c01ec893f8b68c19d0432e47f0a4c 100644 --- a/assets/filter-message-Cd8svVg2.js +++ b/assets/filter-message-Bj529E2Y.js @@ -1 +1 @@ -import{d as g,g as u,r as m,c as v,o as _,a as s,b as x,t as d}from"./index-DCtIztPb.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}; +import{d as g,g as u,r as m,c as v,o as _,a as s,b as x,t as d}from"./index-CGdx-Gsw.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}; diff --git a/assets/fireworks-ai-BbF0z9CY.js b/assets/fireworks-ai-BbF0z9CY.js new file mode 100644 index 0000000000000000000000000000000000000000..89e78e4bbf7b8c8c6d9d588e83c4ff408bb4ff9e --- /dev/null +++ b/assets/fireworks-ai-BbF0z9CY.js @@ -0,0 +1 @@ +import"./Stage.vue_vue_type_style_index_0_scoped_cad77b27_lang-BvkGrZE5.js";import{d as k,s as w,x as U,h as p,p as V,w as $,j as g,o as y,k as d,b as i,e as r}from"./index-CGdx-Gsw.js";import{u as K}from"./providers-ztBzqPgb.js";import{_ as h,a as x}from"./ProviderBaseUrlInput.vue_vue_type_script_setup_true_lang-Rq7sGR-H.js";import{_ as z,a as B,b as M,c as N}from"./ProviderSettingsLayout.vue_vue_type_script_setup_true_lang-Cz54lBh2.js";import"./Collapsable.vue_vue_type_script_setup_true_lang-t6VABIns.js";import"./TransitionVertical.vue_vue_type_script_setup_true_lang-DIGllfwe.js";const a="fireworks-ai",O=k({__name:"fireworks-ai",setup(P){const f=w(),v=K(),{providers:o}=U(v),n=p(()=>v.getProviderMetadata(a)),t=p({get:()=>{var e;return((e=o.value[a])==null?void 0:e.apiKey)||""},set:e=>{o.value[a]||(o.value[a]={}),o.value[a].apiKey=e}}),s=p({get:()=>{var e;return((e=o.value[a])==null?void 0:e.baseUrl)||""},set:e=>{o.value[a]||(o.value[a]={}),o.value[a].baseUrl=e}});V(()=>{var e,l;v.initializeProvider(a),t.value=((e=o.value[a])==null?void 0:e.apiKey)||"",s.value=((l=o.value[a])==null?void 0:l.baseUrl)||""}),$([t,s],()=>{o.value[a]={...o.value[a],apiKey:t.value,baseUrl:s.value||""}});function _(){var e;o.value[a]={...(e=n.value)==null?void 0:e.defaultOptions}}return(e,l)=>{var m,c;return y(),g(r(N),{"provider-name":(m=n.value)==null?void 0:m.localizedName,"provider-icon":(c=n.value)==null?void 0:c.icon,"on-back":()=>r(f).back()},{default:d(()=>[i(r(z),null,{default:d(()=>[i(r(B),{title:"Basic",description:"Essential settings","on-reset":_},{default:d(()=>{var u;return[i(r(M),{modelValue:t.value,"onUpdate:modelValue":l[0]||(l[0]=b=>t.value=b),"provider-name":(u=n.value)==null?void 0:u.localizedName,placeholder:"fw-..."},null,8,["modelValue","provider-name"])]}),_:1}),i(r(h),{title:"Advanced"},{default:d(()=>[i(r(x),{modelValue:s.value,"onUpdate:modelValue":l[1]||(l[1]=u=>s.value=u),placeholder:"https://api.fireworks.ai/inference/v1/"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1},8,["provider-name","provider-icon","on-back"])}}});export{O as default}; diff --git a/assets/image-UOsxnKGS.js b/assets/image-BFK0_KQt.js similarity index 95% rename from assets/image-UOsxnKGS.js rename to assets/image-BFK0_KQt.js index 291e86b5c0adc73766c292e7de796b59a93b4077..e7a569667487b1c69520bb13abadc92b7bcd93ad 100644 --- a/assets/image-UOsxnKGS.js +++ b/assets/image-BFK0_KQt.js @@ -1,2 +1,2 @@ -import{d as _,g as c,l as y,c as d,o as u,a,m as x,t as v,e as w,_ as b}from"./index-DCtIztPb.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(),n=c(""),{copy:g}=y({source:n});async function m(r){return new Promise((e,o)=>{const t=new FileReader;t.onload=s=>{var l,i;e(((i=(l=s.target)==null?void 0:l.result)==null?void 0:i.toString())||"")},t.onerror=s=>{o(s)},t.readAsDataURL(r)})}async function f(r){var t;const o=(t=r.target.files)==null?void 0:t[0];if(o){p.value=o;const s=await m(o);n.value=s}}return(r,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))]),n.value?(u(),d("div",C,[a("img",{src:n.value,alt:"Uploaded Image","w-100":""},null,8,U),a("pre",R," "+v(n.value)+` +import{d as _,g as c,l as y,c as d,o as u,a,m as x,t as v,e as w,_ as b}from"./index-CGdx-Gsw.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(),n=c(""),{copy:g}=y({source:n});async function m(r){return new Promise((e,o)=>{const t=new FileReader;t.onload=s=>{var l,i;e(((i=(l=s.target)==null?void 0:l.result)==null?void 0:i.toString())||"")},t.onerror=s=>{o(s)},t.readAsDataURL(r)})}async function f(r){var t;const o=(t=r.target.files)==null?void 0:t[0];if(o){p.value=o;const s=await m(o);n.value=s}}return(r,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))]),n.value?(u(),d("div",C,[a("img",{src:n.value,alt:"Uploaded Image","w-100":""},null,8,U),a("pre",R," "+v(n.value)+` `,1),a("button",{bg:"primary-500",text:"white","mt-4":"","rounded-lg":"","px-4":"","py-2":"",onClick:e[0]||(e[0]=()=>w(g)())}," Copy Data URL ")])):x("",!0)]))}}),B=b(k,[["__scopeId","data-v-7edd53e6"]]);export{B as default}; diff --git a/assets/index-C7JUNC8w.js b/assets/index-1lpZ5aj4.js similarity index 93% rename from assets/index-C7JUNC8w.js rename to assets/index-1lpZ5aj4.js index b958a492d020f3e443c2b80aa309abacbeec3c0e..1cc151ce17ad67695a802337561c0c76cf0973f9 100644 --- a/assets/index-C7JUNC8w.js +++ b/assets/index-1lpZ5aj4.js @@ -1 +1 @@ -import"./Stage.vue_vue_type_style_index_0_scoped_cad77b27_lang-D1cRHv6j.js";import{I as f}from"./IconStatusItem-D09cRGs1.js";import{d as g,s as p,h as y,z as v,c as n,o as t,A as c,a as i,e as a,F as d,E as h,j as x}from"./index-DCtIztPb.js";import{b as l}from"./route-block-B_A1xBdJ.js";const k={flex:"~ row","items-center":"","gap-2":"",initial:{opacity:0,x:10},enter:{opacity:1,x:0},leave:{opacity:0,x:-10},duration:250},b={grid:"~ cols-1 sm:cols-2 gap-4"},M=g({__name:"index",setup(S){const m=p(),u=y(()=>[{id:"consciousness",name:"Consciousness",description:"Thinking, vision, speech synthesis, gaming, etc.",icon:"i-lucide:ghost",to:"/settings/modules/consciousness",configured:!1},{id:"hearing",name:"Hearing",description:"Hearing, speech recognition, etc.",icon:"i-lucide:ear",to:"",configured:!1},{id:"messaging-discord",name:"Discord",description:"Messaging, notifications, etc.",icon:"i-simple-icons:discord",to:"",configured:!1},{id:"speech",name:"Speech",description:"Speech synthesis, etc.",icon:"i-lucide:mic",to:"/settings/modules/speech",configured:!1},{id:"memory-short-term",name:"Short-Term Memory",description:"Short-term memory, etc.",icon:"i-lucide:book",to:"",configured:!1},{id:"memory-long-term",name:"Long-Term Memory",description:"Long-term memory, etc.",icon:"i-lucide:book-copy",to:"",configured:!1},{id:"vision",name:"Vision",description:"Vision, etc.",icon:"i-lucide:eye",to:"",configured:!1},{id:"game-minecraft",name:"Minecraft",description:"Playing Minecraft with you, etc.",iconColor:"i-vscode-icons:file-type-minecraft",to:"",configured:!1},{id:"game-factorio",name:"Factorio",description:"Playing Factorio with you, etc.",iconImage:"",to:"",configured:!1}]);return(_,o)=>{const s=v("motion");return t(),n(d,null,[c((t(),n("div",k,[i("button",{onClick:o[0]||(o[0]=e=>a(m).back())},o[1]||(o[1]=[i("div",{"i-solar:alt-arrow-left-line-duotone":"","text-2xl":""},null,-1)])),o[2]||(o[2]=i("h1",{relative:""},[i("div",{absolute:"","left-0":"","top-0":"","translate-y":"[-80%]"},[i("span",{text:"neutral-300 dark:neutral-500"},"Settings")]),i("div",{"text-3xl":"","font-semibold":""}," Modules ")],-1))])),[[s]]),i("div",b,[(t(!0),n(d,null,h(u.value,(e,r)=>c((t(),x(a(f),{key:e.id,initial:{opacity:0,y:10},enter:{opacity:1,y:0},duration:250+r*10,delay:r*50,title:e.name,description:e.description,icon:e.icon,"icon-color":e.iconColor,"icon-image":e.iconImage,to:e.to,configured:e.configured},null,8,["duration","delay","title","description","icon","icon-color","icon-image","to","configured"])),[[s]])),128))]),o[3]||(o[3]=i("div",{text:"neutral-100/50 dark:neutral-500/20","pointer-events-none":"",fixed:"","bottom-0":"","right-0":"","translate-x-10":"","translate-y-10":""},[i("div",{text:"40","i-lucide:blocks":""})],-1))],64)}}});typeof l=="function"&&l(M);export{M as default}; +import"./Stage.vue_vue_type_style_index_0_scoped_cad77b27_lang-BvkGrZE5.js";import{I as f}from"./IconStatusItem-DydJwNP6.js";import{d as g,s as p,h as y,z as v,c as n,o as t,A as c,a as i,e as a,F as d,E as h,j as x}from"./index-CGdx-Gsw.js";import{b as l}from"./route-block-B_A1xBdJ.js";const k={flex:"~ row","items-center":"","gap-2":"",initial:{opacity:0,x:10},enter:{opacity:1,x:0},leave:{opacity:0,x:-10},duration:250},b={grid:"~ cols-1 sm:cols-2 gap-4"},M=g({__name:"index",setup(S){const m=p(),u=y(()=>[{id:"consciousness",name:"Consciousness",description:"Thinking, vision, speech synthesis, gaming, etc.",icon:"i-lucide:ghost",to:"/settings/modules/consciousness",configured:!1},{id:"hearing",name:"Hearing",description:"Hearing, speech recognition, etc.",icon:"i-lucide:ear",to:"",configured:!1},{id:"messaging-discord",name:"Discord",description:"Messaging, notifications, etc.",icon:"i-simple-icons:discord",to:"",configured:!1},{id:"speech",name:"Speech",description:"Speech synthesis, etc.",icon:"i-lucide:mic",to:"/settings/modules/speech",configured:!1},{id:"memory-short-term",name:"Short-Term Memory",description:"Short-term memory, etc.",icon:"i-lucide:book",to:"",configured:!1},{id:"memory-long-term",name:"Long-Term Memory",description:"Long-term memory, etc.",icon:"i-lucide:book-copy",to:"",configured:!1},{id:"vision",name:"Vision",description:"Vision, etc.",icon:"i-lucide:eye",to:"",configured:!1},{id:"game-minecraft",name:"Minecraft",description:"Playing Minecraft with you, etc.",iconColor:"i-vscode-icons:file-type-minecraft",to:"",configured:!1},{id:"game-factorio",name:"Factorio",description:"Playing Factorio with you, etc.",iconImage:"",to:"",configured:!1}]);return(_,o)=>{const s=v("motion");return t(),n(d,null,[c((t(),n("div",k,[i("button",{onClick:o[0]||(o[0]=e=>a(m).back())},o[1]||(o[1]=[i("div",{"i-solar:alt-arrow-left-line-duotone":"","text-2xl":""},null,-1)])),o[2]||(o[2]=i("h1",{relative:""},[i("div",{absolute:"","left-0":"","top-0":"","translate-y":"[-80%]"},[i("span",{text:"neutral-300 dark:neutral-500"},"Settings")]),i("div",{"text-3xl":"","font-semibold":""}," Modules ")],-1))])),[[s]]),i("div",b,[(t(!0),n(d,null,h(u.value,(e,r)=>c((t(),x(a(f),{key:e.id,initial:{opacity:0,y:10},enter:{opacity:1,y:0},duration:250+r*10,delay:r*50,title:e.name,description:e.description,icon:e.icon,"icon-color":e.iconColor,"icon-image":e.iconImage,to:e.to,configured:e.configured},null,8,["duration","delay","title","description","icon","icon-color","icon-image","to","configured"])),[[s]])),128))]),o[3]||(o[3]=i("div",{text:"neutral-100/50 dark:neutral-500/20","pointer-events-none":"",fixed:"","bottom-0":"","right-0":"","translate-x-10":"","translate-y-10":""},[i("div",{text:"40","i-lucide:blocks":""})],-1))],64)}}});typeof l=="function"&&l(M);export{M as default}; diff --git a/assets/index-Cb4YXK4c.js b/assets/index-B0UB0qBu.js similarity index 81% rename from assets/index-Cb4YXK4c.js rename to assets/index-B0UB0qBu.js index 9507b1472bd7fff366f453b32f17a3e308285676..4501a540ed98489781c586c7c27307b0e6ca9bab 100644 --- a/assets/index-Cb4YXK4c.js +++ b/assets/index-B0UB0qBu.js @@ -1 +1 @@ -import{_ as m,a as v,b as h}from"./Live2DSettings.vue_vue_type_script_setup_true_lang-BwuKTm2c.js";import{d as x,s as c,g as _,D as g,z as w,c as l,o as d,A as b,a as t,e as i,b as o,k,F as y}from"./index-DCtIztPb.js";import{b as f}from"./route-block-B_A1xBdJ.js";import"./Stage.vue_vue_type_style_index_0_scoped_cad77b27_lang-D1cRHv6j.js";import"./Collapsable.vue_vue_type_script_setup_true_lang-CWAVErwd.js";import"./TransitionVertical.vue_vue_type_script_setup_true_lang-BDRTDJzZ.js";const C={flex:"~ row","items-center":"","gap-2":"",initial:{opacity:0,x:10},enter:{opacity:1,x:0},leave:{opacity:0,x:-10},duration:250},B={flex:""},$=x({__name:"index",setup(D){const u=c(),n=_(),{width:a,height:s}=g(n);return(R,e)=>{const p=w("motion");return d(),l(y,null,[b((d(),l("div",C,[t("button",{onClick:e[0]||(e[0]=r=>i(u).back())},e[1]||(e[1]=[t("div",{"i-solar:alt-arrow-left-line-duotone":"","text-2xl":""},null,-1)])),e[2]||(e[2]=t("h1",{relative:""},[t("div",{absolute:"","left-0":"","top-0":"","translate-y":"[-80%]"},[t("span",{text:"neutral-300 dark:neutral-500"},"Settings")]),t("div",{"text-3xl":"","font-semibold":""}," Models ")],-1))])),[[p]]),t("div",B,[t("div",{ref_key:"live2dContainerRef",ref:n,w:"50%",h:"80vh"},[o(v,{width:i(a),height:i(s)},{default:k(({app:r})=>[o(m,{app:r,"mouth-open-size":0,width:i(a),height:i(s),paused:!1},null,8,["app","width","height"])]),_:1},8,["width","height"])],512),o(h,{w:"50%",h:"80vh"})]),e[3]||(e[3]=t("div",{text:"neutral-100/50 dark:neutral-500/20","pointer-events-none":"",fixed:"","bottom-0":"","right-0":"","translate-x-10":"","translate-y-10":""},[t("div",{text:"40","i-lucide:person-standing":""})],-1))],64)}}});typeof f=="function"&&f($);export{$ as default}; +import{_ as m,a as v,b as h}from"./Live2DSettings.vue_vue_type_script_setup_true_lang-ConbZwCE.js";import{d as x,s as c,g as _,D as g,z as w,c as l,o as d,A as b,a as t,e as i,b as o,k,F as y}from"./index-CGdx-Gsw.js";import{b as f}from"./route-block-B_A1xBdJ.js";import"./Stage.vue_vue_type_style_index_0_scoped_cad77b27_lang-BvkGrZE5.js";import"./Collapsable.vue_vue_type_script_setup_true_lang-t6VABIns.js";import"./TransitionVertical.vue_vue_type_script_setup_true_lang-DIGllfwe.js";const C={flex:"~ row","items-center":"","gap-2":"",initial:{opacity:0,x:10},enter:{opacity:1,x:0},leave:{opacity:0,x:-10},duration:250},B={flex:""},$=x({__name:"index",setup(D){const u=c(),n=_(),{width:a,height:s}=g(n);return(R,e)=>{const p=w("motion");return d(),l(y,null,[b((d(),l("div",C,[t("button",{onClick:e[0]||(e[0]=r=>i(u).back())},e[1]||(e[1]=[t("div",{"i-solar:alt-arrow-left-line-duotone":"","text-2xl":""},null,-1)])),e[2]||(e[2]=t("h1",{relative:""},[t("div",{absolute:"","left-0":"","top-0":"","translate-y":"[-80%]"},[t("span",{text:"neutral-300 dark:neutral-500"},"Settings")]),t("div",{"text-3xl":"","font-semibold":""}," Models ")],-1))])),[[p]]),t("div",B,[t("div",{ref_key:"live2dContainerRef",ref:n,w:"50%",h:"80vh"},[o(v,{width:i(a),height:i(s)},{default:k(({app:r})=>[o(m,{app:r,"mouth-open-size":0,width:i(a),height:i(s),paused:!1},null,8,["app","width","height"])]),_:1},8,["width","height"])],512),o(h,{w:"50%",h:"80vh"})]),e[3]||(e[3]=t("div",{text:"neutral-100/50 dark:neutral-500/20","pointer-events-none":"",fixed:"","bottom-0":"","right-0":"","translate-x-10":"","translate-y-10":""},[t("div",{text:"40","i-lucide:person-standing":""})],-1))],64)}}});typeof f=="function"&&f($);export{$ as default}; diff --git a/assets/index-DCtIztPb.js b/assets/index-CGdx-Gsw.js similarity index 85% rename from assets/index-DCtIztPb.js rename to assets/index-CGdx-Gsw.js index 70ae1ce3ae12d65c5fd0cde3dcf64d085611854b..d94e0d4fded9e9234fa67fafc7fbfb009cb19ead 100644 --- a/assets/index-DCtIztPb.js +++ b/assets/index-CGdx-Gsw.js @@ -1,29 +1,29 @@ -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/default-BSkCC3LH.js","assets/HeaderLink-BDfJutS0.js","assets/HeaderLink-DsxHr3rn.css","assets/index-Z-Un0js8.js","assets/Stage.vue_vue_type_style_index_0_scoped_cad77b27_lang-D1cRHv6j.js","assets/Stage-BPv6budF.css","assets/MobileInteractiveArea.vue_vue_type_script_setup_true_lang-BbyH8rdQ.js","assets/index-DAkLbdaC.js","assets/providers-DAM1M9Uz.js","assets/queue-DBj3aeDb.js","assets/queues-DYg2fUVu.js","assets/speech-DvCNA68i.js","assets/Live2DSettings.vue_vue_type_script_setup_true_lang-BwuKTm2c.js","assets/Collapsable.vue_vue_type_script_setup_true_lang-CWAVErwd.js","assets/TransitionVertical.vue_vue_type_script_setup_true_lang-BDRTDJzZ.js","assets/consciousness-vmuqaC3X.js","assets/index-D1subIJf.js","assets/MobileInteractiveArea-CkhuOcV9.css","assets/route-block-B_A1xBdJ.js","assets/index-CDTMeduu.css","assets/image-UOsxnKGS.js","assets/image-BhuwcwI9.css","assets/queue-Dsx5fEJp.js","assets/index-Cm5Hly6Q.js","assets/index-Cb4YXK4c.js","assets/index-C7JUNC8w.js","assets/IconStatusItem-D09cRGs1.js","assets/consciousness-Cwls-Sb6.js","assets/RadioCardDetailManySelect.vue_vue_type_script_setup_true_lang-VOFvQ03c.js","assets/speech-DZpNI3Yo.js","assets/Range-DbnEDkbC.js","assets/index-Ca6WrnZu.js","assets/elevenlabs-CWszaaNC.js","assets/openai-DtmMCLkg.js","assets/openrouter-ai-psmbjOJ5.js","assets/index-jxEmig3C.js","assets/index-DfgF6wHE.css","assets/delays-B3_Q2Pu1.js","assets/emotions-B8_saL_k.js","assets/messages--7H_Xdln.js","assets/v2-xMa_7BxW.js"])))=>i.map(i=>d[i]); -var uw=Object.defineProperty;var fw=(n,e,t)=>e in n?uw(n,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[e]=t;var ii=(n,e,t)=>fw(n,typeof e!="symbol"?e+"":e,t);(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 hw="modulepreload",dw=function(n){return"/"+n},L_={},kt=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=dw(l),l in L_)return;L_[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":hw,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)})};/** +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/default-CnWbiEGc.js","assets/HeaderLink-C4uzPeCq.js","assets/HeaderLink-DsxHr3rn.css","assets/index-RZLbRnwi.js","assets/Stage.vue_vue_type_style_index_0_scoped_cad77b27_lang-BvkGrZE5.js","assets/Stage-BPv6budF.css","assets/MobileInteractiveArea.vue_vue_type_script_setup_true_lang-BLy5yAnV.js","assets/index-DR07td9u.js","assets/providers-ztBzqPgb.js","assets/queue-6CGaUIQf.js","assets/queues-DxSAefs-.js","assets/speech-Bm3HIPgP.js","assets/Live2DSettings.vue_vue_type_script_setup_true_lang-ConbZwCE.js","assets/Collapsable.vue_vue_type_script_setup_true_lang-t6VABIns.js","assets/TransitionVertical.vue_vue_type_script_setup_true_lang-DIGllfwe.js","assets/consciousness-DlNDB_GZ.js","assets/index-DeVJLqDu.js","assets/MobileInteractiveArea-CkhuOcV9.css","assets/route-block-B_A1xBdJ.js","assets/index-CDTMeduu.css","assets/image-BFK0_KQt.js","assets/image-BhuwcwI9.css","assets/queue-qW-_jKlt.js","assets/index-DRaZTffb.js","assets/index-B0UB0qBu.js","assets/index-1lpZ5aj4.js","assets/IconStatusItem-DydJwNP6.js","assets/consciousness-C5ltYV2M.js","assets/RadioCardDetailManySelect.vue_vue_type_script_setup_true_lang-BeHCf9lv.js","assets/speech-B9jHBLud.js","assets/Range-py-TYNCE.js","assets/index-qBS2d6Vp.js","assets/cloudflare-workers-ai-CkfABEE1.js","assets/ProviderSettingsLayout.vue_vue_type_script_setup_true_lang-Cz54lBh2.js","assets/deepseek-D6RZa5Ut.js","assets/ProviderBaseUrlInput.vue_vue_type_script_setup_true_lang-Rq7sGR-H.js","assets/elevenlabs-BGwDjYMD.js","assets/fireworks-ai-BbF0z9CY.js","assets/mistral-ai-j1To1qN7.js","assets/moonshot-ai-CuFTtj7s.js","assets/novita-ai-NTmrY5rm.js","assets/openai-DudedIoe.js","assets/openrouter-ai-C6uzw4fG.js","assets/together-ai-WlPDiAFs.js","assets/xai-fGRWdwYb.js","assets/index-v53FFL-b.js","assets/index-DfgF6wHE.css","assets/delays-DXpMk45q.js","assets/emotions-Bnj-x7_A.js","assets/messages-ChW4zKHs.js","assets/v2-C1BS9DMI.js"])))=>i.map(i=>d[i]); +var uw=Object.defineProperty;var fw=(n,e,t)=>e in n?uw(n,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[e]=t;var ii=(n,e,t)=>fw(n,typeof e!="symbol"?e+"":e,t);(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 hw="modulepreload",dw=function(n){return"/"+n},L_={},vt=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=dw(l),l in L_)return;L_[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":hw,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)})};/** * @vue/shared v3.5.13 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**//*! #__NO_SIDE_EFFECTS__ */function Hm(n){const e=Object.create(null);for(const t of n.split(","))e[t]=1;return t=>t in e}const pt={},Ko=[],Vi=()=>{},pw=()=>!1,sh=n=>n.charCodeAt(0)===111&&n.charCodeAt(1)===110&&(n.charCodeAt(2)>122||n.charCodeAt(2)<97),Gm=n=>n.startsWith("onUpdate:"),Zt=Object.assign,Wm=(n,e)=>{const t=n.indexOf(e);t>-1&&n.splice(t,1)},mw=Object.prototype.hasOwnProperty,yt=(n,e)=>mw.call(n,e),Be=Array.isArray,Zo=n=>tc(n)==="[object Map]",ma=n=>tc(n)==="[object Set]",D_=n=>tc(n)==="[object Date]",$e=n=>typeof n=="function",It=n=>typeof n=="string",Ai=n=>typeof n=="symbol",wt=n=>n!==null&&typeof n=="object",Px=n=>(wt(n)||$e(n))&&$e(n.then)&&$e(n.catch),Ix=Object.prototype.toString,tc=n=>Ix.call(n),gw=n=>tc(n).slice(8,-1),Lx=n=>tc(n)==="[object Object]",Xm=n=>It(n)&&n!=="NaN"&&n[0]!=="-"&&""+parseInt(n,10)===n,qa=Hm(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),oh=n=>{const e=Object.create(null);return t=>e[t]||(e[t]=n(t))},_w=/-(\w)/g,Qn=oh(n=>n.replace(_w,(e,t)=>t?t.toUpperCase():"")),vw=/\B([A-Z])/g,as=oh(n=>n.replace(vw,"-$1").toLowerCase()),ah=oh(n=>n.charAt(0).toUpperCase()+n.slice(1)),Fu=oh(n=>n?`on${ah(n)}`:""),zn=(n,e)=>!Object.is(n,e),Bu=(n,...e)=>{for(let t=0;t{Object.defineProperty(n,e,{configurable:!0,enumerable:!1,writable:i,value:t})},Qu=n=>{const e=parseFloat(n);return isNaN(e)?n:e},yw=n=>{const e=It(n)?Number(n):NaN;return isNaN(e)?n:e};let O_;const lh=()=>O_||(O_=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function mi(n){if(Be(n)){const e={};for(let t=0;t{if(t){const i=t.split(bw);i.length>1&&(e[i[0].trim()]=i[1].trim())}}),e}function ga(n){let e="";if(It(n))e=n;else if(Be(n))for(let t=0;tro(t,e))}const Nx=n=>!!(n&&n.__v_isRef===!0),Aw=n=>It(n)?n:n==null?"":Be(n)||wt(n)&&(n.toString===Ix||!$e(n.toString))?Nx(n)?Aw(n.value):JSON.stringify(n,Ux,2):String(n),Ux=(n,e)=>Nx(e)?Ux(n,e.value):Zo(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((t,[i,r],s)=>(t[md(i,s)+" =>"]=r,t),{})}:ma(e)?{[`Set(${e.size})`]:[...e.values()].map(t=>md(t))}:Ai(e)?md(e):wt(e)&&!Be(e)&&!Lx(e)?String(e):e,md=(n,e="")=>{var t;return Ai(n)?`Symbol(${(t=n.description)!=null?t:e})`:n};/** +**//*! #__NO_SIDE_EFFECTS__ */function Hm(n){const e=Object.create(null);for(const t of n.split(","))e[t]=1;return t=>t in e}const pt={},Ko=[],zi=()=>{},pw=()=>!1,sh=n=>n.charCodeAt(0)===111&&n.charCodeAt(1)===110&&(n.charCodeAt(2)>122||n.charCodeAt(2)<97),Gm=n=>n.startsWith("onUpdate:"),Zt=Object.assign,Wm=(n,e)=>{const t=n.indexOf(e);t>-1&&n.splice(t,1)},mw=Object.prototype.hasOwnProperty,xt=(n,e)=>mw.call(n,e),Be=Array.isArray,Zo=n=>tc(n)==="[object Map]",ma=n=>tc(n)==="[object Set]",D_=n=>tc(n)==="[object Date]",$e=n=>typeof n=="function",Lt=n=>typeof n=="string",Ai=n=>typeof n=="symbol",At=n=>n!==null&&typeof n=="object",Px=n=>(At(n)||$e(n))&&$e(n.then)&&$e(n.catch),Ix=Object.prototype.toString,tc=n=>Ix.call(n),gw=n=>tc(n).slice(8,-1),Lx=n=>tc(n)==="[object Object]",Xm=n=>Lt(n)&&n!=="NaN"&&n[0]!=="-"&&""+parseInt(n,10)===n,qa=Hm(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),oh=n=>{const e=Object.create(null);return t=>e[t]||(e[t]=n(t))},_w=/-(\w)/g,Qn=oh(n=>n.replace(_w,(e,t)=>t?t.toUpperCase():"")),vw=/\B([A-Z])/g,as=oh(n=>n.replace(vw,"-$1").toLowerCase()),ah=oh(n=>n.charAt(0).toUpperCase()+n.slice(1)),Fu=oh(n=>n?`on${ah(n)}`:""),Vn=(n,e)=>!Object.is(n,e),Bu=(n,...e)=>{for(let t=0;t{Object.defineProperty(n,e,{configurable:!0,enumerable:!1,writable:i,value:t})},Qu=n=>{const e=parseFloat(n);return isNaN(e)?n:e},yw=n=>{const e=Lt(n)?Number(n):NaN;return isNaN(e)?n:e};let O_;const lh=()=>O_||(O_=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function mi(n){if(Be(n)){const e={};for(let t=0;t{if(t){const i=t.split(bw);i.length>1&&(e[i[0].trim()]=i[1].trim())}}),e}function ga(n){let e="";if(Lt(n))e=n;else if(Be(n))for(let t=0;tro(t,e))}const Nx=n=>!!(n&&n.__v_isRef===!0),Aw=n=>Lt(n)?n:n==null?"":Be(n)||At(n)&&(n.toString===Ix||!$e(n.toString))?Nx(n)?Aw(n.value):JSON.stringify(n,Ux,2):String(n),Ux=(n,e)=>Nx(e)?Ux(n,e.value):Zo(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((t,[i,r],s)=>(t[md(i,s)+" =>"]=r,t),{})}:ma(e)?{[`Set(${e.size})`]:[...e.values()].map(t=>md(t))}:Ai(e)?md(e):At(e)&&!Be(e)&&!Lx(e)?String(e):e,md=(n,e="")=>{var t;return Ai(n)?`Symbol(${(t=n.description)!=null?t:e})`:n};/** * @vue/reactivity v3.5.13 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/let An;class Fx{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=An,!e&&An&&(this.index=(An.scopes||(An.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let e,t;if(this.scopes)for(e=0,t=this.scopes.length;e0)return;if(ja){let e=ja;for(ja=void 0;e;){const t=e.next;e.next=void 0,e.flags&=-9,e=t}}let n;for(;Ya;){let e=Ya;for(Ya=void 0;e;){const t=e.next;if(e.next=void 0,e.flags&=-9,e.flags&1)try{e.trigger()}catch(i){n||(n=i)}e=t}}if(n)throw n}function Vx(n){for(let e=n.deps;e;e=e.nextDep)e.version=-1,e.prevActiveLink=e.dep.activeLink,e.dep.activeLink=e}function Hx(n){let e,t=n.depsTail,i=t;for(;i;){const r=i.prevDep;i.version===-1?(i===t&&(t=r),Km(i),Cw(i)):e=i,i.dep.activeLink=i.prevActiveLink,i.prevActiveLink=void 0,i=r}n.deps=e,n.depsTail=t}function Dp(n){for(let e=n.deps;e;e=e.nextDep)if(e.dep.version!==e.version||e.dep.computed&&(Gx(e.dep.computed)||e.dep.version!==e.version))return!0;return!!n._dirty}function Gx(n){if(n.flags&4&&!(n.flags&16)||(n.flags&=-17,n.globalVersion===vl))return;n.globalVersion=vl;const e=n.dep;if(n.flags|=2,e.version>0&&!n.isSSR&&n.deps&&!Dp(n)){n.flags&=-3;return}const t=Ct,i=wi;Ct=n,wi=!0;try{Vx(n);const r=n.fn(n._value);(e.version===0||zn(r,n._value))&&(n._value=r,e.version++)}catch(r){throw e.version++,r}finally{Ct=t,wi=i,Hx(n),n.flags&=-3}}function Km(n,e=!1){const{dep:t,prevSub:i,nextSub:r}=n;if(i&&(i.nextSub=r,n.prevSub=void 0),r&&(r.prevSub=i,n.nextSub=void 0),t.subs===n&&(t.subs=i,!i&&t.computed)){t.computed.flags&=-5;for(let s=t.computed.deps;s;s=s.nextDep)Km(s,!0)}!e&&!--t.sc&&t.map&&t.map.delete(t.key)}function Cw(n){const{prevDep:e,nextDep:t}=n;e&&(e.nextDep=t,n.prevDep=void 0),t&&(t.prevDep=e,n.nextDep=void 0)}let wi=!0;const Wx=[];function ls(){Wx.push(wi),wi=!1}function cs(){const n=Wx.pop();wi=n===void 0?!0:n}function N_(n){const{cleanup:e}=n;if(n.cleanup=void 0,e){const t=Ct;Ct=void 0;try{e()}finally{Ct=t}}}let vl=0;class Rw{constructor(e,t){this.sub=e,this.dep=t,this.version=t.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class uh{constructor(e){this.computed=e,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0}track(e){if(!Ct||!wi||Ct===this.computed)return;let t=this.activeLink;if(t===void 0||t.sub!==Ct)t=this.activeLink=new Rw(Ct,this),Ct.deps?(t.prevDep=Ct.depsTail,Ct.depsTail.nextDep=t,Ct.depsTail=t):Ct.deps=Ct.depsTail=t,Xx(t);else if(t.version===-1&&(t.version=this.version,t.nextDep)){const i=t.nextDep;i.prevDep=t.prevDep,t.prevDep&&(t.prevDep.nextDep=i),t.prevDep=Ct.depsTail,t.nextDep=void 0,Ct.depsTail.nextDep=t,Ct.depsTail=t,Ct.deps===t&&(Ct.deps=i)}return t}trigger(e){this.version++,vl++,this.notify(e)}notify(e){Ym();try{for(let t=this.subs;t;t=t.prevSub)t.sub.notify()&&t.sub.dep.notify()}finally{jm()}}}function Xx(n){if(n.dep.sc++,n.sub.flags&4){const e=n.dep.computed;if(e&&!n.dep.subs){e.flags|=20;for(let i=e.deps;i;i=i.nextDep)Xx(i)}const t=n.dep.subs;t!==n&&(n.prevSub=t,t&&(t.nextSub=n)),n.dep.subs=n}}const ef=new WeakMap,Js=Symbol(""),Op=Symbol(""),yl=Symbol("");function pn(n,e,t){if(wi&&Ct){let i=ef.get(n);i||ef.set(n,i=new Map);let r=i.get(t);r||(i.set(t,r=new uh),r.map=i,r.key=t),r.track()}}function ur(n,e,t,i,r,s){const o=ef.get(n);if(!o){vl++;return}const a=l=>{l&&l.trigger()};if(Ym(),e==="clear")o.forEach(a);else{const l=Be(n),c=l&&Xm(t);if(l&&t==="length"){const u=Number(i);o.forEach((f,h)=>{(h==="length"||h===yl||!Ai(h)&&h>=u)&&a(f)})}else switch((t!==void 0||o.has(void 0))&&a(o.get(t)),c&&a(o.get(yl)),e){case"add":l?c&&a(o.get("length")):(a(o.get(Js)),Zo(n)&&a(o.get(Op)));break;case"delete":l||(a(o.get(Js)),Zo(n)&&a(o.get(Op)));break;case"set":Zo(n)&&a(o.get(Js));break}}jm()}function Pw(n,e){const t=ef.get(n);return t&&t.get(e)}function bo(n){const e=ot(n);return e===n?e:(pn(e,"iterate",yl),ci(n)?e:e.map(mn))}function fh(n){return pn(n=ot(n),"iterate",yl),n}const Iw={__proto__:null,[Symbol.iterator](){return _d(this,Symbol.iterator,mn)},concat(...n){return bo(this).concat(...n.map(e=>Be(e)?bo(e):e))},entries(){return _d(this,"entries",n=>(n[1]=mn(n[1]),n))},every(n,e){return Qi(this,"every",n,e,void 0,arguments)},filter(n,e){return Qi(this,"filter",n,e,t=>t.map(mn),arguments)},find(n,e){return Qi(this,"find",n,e,mn,arguments)},findIndex(n,e){return Qi(this,"findIndex",n,e,void 0,arguments)},findLast(n,e){return Qi(this,"findLast",n,e,mn,arguments)},findLastIndex(n,e){return Qi(this,"findLastIndex",n,e,void 0,arguments)},forEach(n,e){return Qi(this,"forEach",n,e,void 0,arguments)},includes(...n){return vd(this,"includes",n)},indexOf(...n){return vd(this,"indexOf",n)},join(n){return bo(this).join(n)},lastIndexOf(...n){return vd(this,"lastIndexOf",n)},map(n,e){return Qi(this,"map",n,e,void 0,arguments)},pop(){return Ta(this,"pop")},push(...n){return Ta(this,"push",n)},reduce(n,...e){return U_(this,"reduce",n,e)},reduceRight(n,...e){return U_(this,"reduceRight",n,e)},shift(){return Ta(this,"shift")},some(n,e){return Qi(this,"some",n,e,void 0,arguments)},splice(...n){return Ta(this,"splice",n)},toReversed(){return bo(this).toReversed()},toSorted(n){return bo(this).toSorted(n)},toSpliced(...n){return bo(this).toSpliced(...n)},unshift(...n){return Ta(this,"unshift",n)},values(){return _d(this,"values",mn)}};function _d(n,e,t){const i=fh(n),r=i[e]();return i!==n&&!ci(n)&&(r._next=r.next,r.next=()=>{const s=r._next();return s.value&&(s.value=t(s.value)),s}),r}const Lw=Array.prototype;function Qi(n,e,t,i,r,s){const o=fh(n),a=o!==n&&!ci(n),l=o[e];if(l!==Lw[e]){const f=l.apply(n,s);return a?mn(f):f}let c=t;o!==n&&(a?c=function(f,h){return t.call(this,mn(f),h,n)}:t.length>2&&(c=function(f,h){return t.call(this,f,h,n)}));const u=l.call(o,c,i);return a&&r?r(u):u}function U_(n,e,t,i){const r=fh(n);let s=t;return r!==n&&(ci(n)?t.length>3&&(s=function(o,a,l){return t.call(this,o,a,l,n)}):s=function(o,a,l){return t.call(this,o,mn(a),l,n)}),r[e](s,...i)}function vd(n,e,t){const i=ot(n);pn(i,"iterate",yl);const r=i[e](...t);return(r===-1||r===!1)&&Zm(t[0])?(t[0]=ot(t[0]),i[e](...t)):r}function Ta(n,e,t=[]){ls(),Ym();const i=ot(n)[e].apply(n,t);return jm(),cs(),i}const Dw=Hm("__proto__,__v_isRef,__isVue"),$x=new Set(Object.getOwnPropertyNames(Symbol).filter(n=>n!=="arguments"&&n!=="caller").map(n=>Symbol[n]).filter(Ai));function Ow(n){Ai(n)||(n=String(n));const e=ot(this);return pn(e,"has",n),e.hasOwnProperty(n)}class qx{constructor(e=!1,t=!1){this._isReadonly=e,this._isShallow=t}get(e,t,i){if(t==="__v_skip")return e.__v_skip;const r=this._isReadonly,s=this._isShallow;if(t==="__v_isReactive")return!r;if(t==="__v_isReadonly")return r;if(t==="__v_isShallow")return s;if(t==="__v_raw")return i===(r?s?Qx:Jx:s?Zx:Kx).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(i)?e:void 0;const o=Be(e);if(!r){let l;if(o&&(l=Iw[t]))return l;if(t==="hasOwnProperty")return Ow}const a=Reflect.get(e,t,Mt(e)?e:i);return(Ai(t)?$x.has(t):Dw(t))||(r||pn(e,"get",t),s)?a:Mt(a)?o&&Xm(t)?a:a.value:wt(a)?r?di(a):hi(a):a}}class Yx extends qx{constructor(e=!1){super(!1,e)}set(e,t,i,r){let s=e[t];if(!this._isShallow){const l=so(s);if(!ci(i)&&!so(i)&&(s=ot(s),i=ot(i)),!Be(e)&&Mt(s)&&!Mt(i))return l?!1:(s.value=i,!0)}const o=Be(e)&&Xm(t)?Number(t)n,Rc=n=>Reflect.getPrototypeOf(n);function kw(n,e,t){return function(...i){const r=this.__v_raw,s=ot(r),o=Zo(s),a=n==="entries"||n===Symbol.iterator&&o,l=n==="keys"&&o,c=r[n](...i),u=t?Np:e?Up:mn;return!e&&pn(s,"iterate",l?Op:Js),{next(){const{value:f,done:h}=c.next();return h?{value:f,done:h}:{value:a?[u(f[0]),u(f[1])]:u(f),done:h}},[Symbol.iterator](){return this}}}}function Pc(n){return function(...e){return n==="delete"?!1:n==="clear"?void 0:this}}function zw(n,e){const t={get(r){const s=this.__v_raw,o=ot(s),a=ot(r);n||(zn(r,a)&&pn(o,"get",r),pn(o,"get",a));const{has:l}=Rc(o),c=e?Np:n?Up:mn;if(l.call(o,r))return c(s.get(r));if(l.call(o,a))return c(s.get(a));s!==o&&s.get(r)},get size(){const r=this.__v_raw;return!n&&pn(ot(r),"iterate",Js),Reflect.get(r,"size",r)},has(r){const s=this.__v_raw,o=ot(s),a=ot(r);return n||(zn(r,a)&&pn(o,"has",r),pn(o,"has",a)),r===a?s.has(r):s.has(r)||s.has(a)},forEach(r,s){const o=this,a=o.__v_raw,l=ot(a),c=e?Np:n?Up:mn;return!n&&pn(l,"iterate",Js),a.forEach((u,f)=>r.call(s,c(u),c(f),o))}};return Zt(t,n?{add:Pc("add"),set:Pc("set"),delete:Pc("delete"),clear:Pc("clear")}:{add(r){!e&&!ci(r)&&!so(r)&&(r=ot(r));const s=ot(this);return Rc(s).has.call(s,r)||(s.add(r),ur(s,"add",r,r)),this},set(r,s){!e&&!ci(s)&&!so(s)&&(s=ot(s));const o=ot(this),{has:a,get:l}=Rc(o);let c=a.call(o,r);c||(r=ot(r),c=a.call(o,r));const u=l.call(o,r);return o.set(r,s),c?zn(s,u)&&ur(o,"set",r,s):ur(o,"add",r,s),this},delete(r){const s=ot(this),{has:o,get:a}=Rc(s);let l=o.call(s,r);l||(r=ot(r),l=o.call(s,r)),a&&a.call(s,r);const c=s.delete(r);return l&&ur(s,"delete",r,void 0),c},clear(){const r=ot(this),s=r.size!==0,o=r.clear();return s&&ur(r,"clear",void 0,void 0),o}}),["keys","values","entries",Symbol.iterator].forEach(r=>{t[r]=kw(r,n,e)}),t}function hh(n,e){const t=zw(n,e);return(i,r,s)=>r==="__v_isReactive"?!n:r==="__v_isReadonly"?n:r==="__v_raw"?i:Reflect.get(yt(t,r)&&r in i?t:i,r,s)}const Vw={get:hh(!1,!1)},Hw={get:hh(!1,!0)},Gw={get:hh(!0,!1)},Ww={get:hh(!0,!0)},Kx=new WeakMap,Zx=new WeakMap,Jx=new WeakMap,Qx=new WeakMap;function Xw(n){switch(n){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function $w(n){return n.__v_skip||!Object.isExtensible(n)?0:Xw(gw(n))}function hi(n){return so(n)?n:dh(n,!1,Nw,Vw,Kx)}function eb(n){return dh(n,!1,Fw,Hw,Zx)}function di(n){return dh(n,!0,Uw,Gw,Jx)}function w4(n){return dh(n,!0,Bw,Ww,Qx)}function dh(n,e,t,i,r){if(!wt(n)||n.__v_raw&&!(e&&n.__v_isReactive))return n;const s=r.get(n);if(s)return s;const o=$w(n);if(o===0)return n;const a=new Proxy(n,o===2?i:t);return r.set(n,a),a}function yr(n){return so(n)?yr(n.__v_raw):!!(n&&n.__v_isReactive)}function so(n){return!!(n&&n.__v_isReadonly)}function ci(n){return!!(n&&n.__v_isShallow)}function Zm(n){return n?!!n.__v_raw:!1}function ot(n){const e=n&&n.__v_raw;return e?ot(e):n}function Jm(n){return!yt(n,"__v_skip")&&Object.isExtensible(n)&&Dx(n,"__v_skip",!0),n}const mn=n=>wt(n)?hi(n):n,Up=n=>wt(n)?di(n):n;function Mt(n){return n?n.__v_isRef===!0:!1}function Je(n){return tb(n,!1)}function Ie(n){return tb(n,!0)}function tb(n,e){return Mt(n)?n:new qw(n,e)}class qw{constructor(e,t){this.dep=new uh,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=t?e:ot(e),this._value=t?e:mn(e),this.__v_isShallow=t}get value(){return this.dep.track(),this._value}set value(e){const t=this._rawValue,i=this.__v_isShallow||ci(e)||so(e);e=i?e:ot(e),zn(e,t)&&(this._rawValue=e,this._value=i?e:mn(e),this.dep.trigger())}}function Pt(n){return Mt(n)?n.value:n}function qe(n){return $e(n)?n():Pt(n)}const Yw={get:(n,e,t)=>e==="__v_raw"?n:Pt(Reflect.get(n,e,t)),set:(n,e,t,i)=>{const r=n[e];return Mt(r)&&!Mt(t)?(r.value=t,!0):Reflect.set(n,e,t,i)}};function nb(n){return yr(n)?n:new Proxy(n,Yw)}class jw{constructor(e){this.__v_isRef=!0,this._value=void 0;const t=this.dep=new uh,{get:i,set:r}=e(t.track.bind(t),t.trigger.bind(t));this._get=i,this._set=r}get value(){return this._value=this._get()}set value(e){this._set(e)}}function Qm(n){return new jw(n)}function ib(n){const e=Be(n)?new Array(n.length):{};for(const t in n)e[t]=sb(n,t);return e}class Kw{constructor(e,t,i){this._object=e,this._key=t,this._defaultValue=i,this.__v_isRef=!0,this._value=void 0}get value(){const e=this._object[this._key];return this._value=e===void 0?this._defaultValue:e}set value(e){this._object[this._key]=e}get dep(){return Pw(ot(this._object),this._key)}}class Zw{constructor(e){this._getter=e,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function rb(n,e,t){return Mt(n)?n:$e(n)?new Zw(n):wt(n)&&arguments.length>1?sb(n,e,t):Je(n)}function sb(n,e,t){const i=n[e];return Mt(i)?i:new Kw(n,e,t)}class Jw{constructor(e,t,i){this.fn=e,this.setter=t,this._value=void 0,this.dep=new uh(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=vl-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!t,this.isSSR=i}notify(){if(this.flags|=16,!(this.flags&8)&&Ct!==this)return zx(this,!0),!0}get value(){const e=this.dep.track();return Gx(this),e&&(e.version=this.dep.version),this._value}set value(e){this.setter&&this.setter(e)}}function Qw(n,e,t=!1){let i,r;return $e(n)?i=n:(i=n.get,r=n.set),new Jw(i,r,t)}const Ic={},tf=new WeakMap;let ks;function eA(n,e=!1,t=ks){if(t){let i=tf.get(t);i||tf.set(t,i=[]),i.push(n)}}function tA(n,e,t=pt){const{immediate:i,deep:r,once:s,scheduler:o,augmentJob:a,call:l}=t,c=v=>r?v:ci(v)||r===!1||r===0?fr(v,1):fr(v);let u,f,h,d,p=!1,_=!1;if(Mt(n)?(f=()=>n.value,p=ci(n)):yr(n)?(f=()=>c(n),p=!0):Be(n)?(_=!0,p=n.some(v=>yr(v)||ci(v)),f=()=>n.map(v=>{if(Mt(v))return v.value;if(yr(v))return c(v);if($e(v))return l?l(v,2):v()})):$e(n)?e?f=l?()=>l(n,2):n:f=()=>{if(h){ls();try{h()}finally{cs()}}const v=ks;ks=u;try{return l?l(n,3,[d]):n(d)}finally{ks=v}}:f=Vi,e&&r){const v=f,E=r===!0?1/0:r;f=()=>fr(v(),E)}const g=ch(),m=()=>{u.stop(),g&&g.active&&Wm(g.effects,u)};if(s&&e){const v=e;e=(...E)=>{v(...E),m()}}let y=_?new Array(n.length).fill(Ic):Ic;const x=v=>{if(!(!(u.flags&1)||!u.dirty&&!v))if(e){const E=u.run();if(r||p||(_?E.some((T,M)=>zn(T,y[M])):zn(E,y))){h&&h();const T=ks;ks=u;try{const M=[E,y===Ic?void 0:_&&y[0]===Ic?[]:y,d];l?l(e,3,M):e(...M),y=E}finally{ks=T}}}else u.run()};return a&&a(x),u=new Bx(f),u.scheduler=o?()=>o(x,!1):x,d=v=>eA(v,!1,u),h=u.onStop=()=>{const v=tf.get(u);if(v){if(l)l(v,4);else for(const E of v)E();tf.delete(u)}},e?i?x(!0):y=u.run():o?o(x.bind(null,!0),!0):u.run(),m.pause=u.pause.bind(u),m.resume=u.resume.bind(u),m.stop=m,m}function fr(n,e=1/0,t){if(e<=0||!wt(n)||n.__v_skip||(t=t||new Set,t.has(n)))return n;if(t.add(n),e--,Mt(n))fr(n.value,e,t);else if(Be(n))for(let i=0;i{fr(i,e,t)});else if(Lx(n)){for(const i in n)fr(n[i],e,t);for(const i of Object.getOwnPropertySymbols(n))Object.prototype.propertyIsEnumerable.call(n,i)&&fr(n[i],e,t)}return n}/** +**/let An;class Fx{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=An,!e&&An&&(this.index=(An.scopes||(An.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let e,t;if(this.scopes)for(e=0,t=this.scopes.length;e0)return;if(ja){let e=ja;for(ja=void 0;e;){const t=e.next;e.next=void 0,e.flags&=-9,e=t}}let n;for(;Ya;){let e=Ya;for(Ya=void 0;e;){const t=e.next;if(e.next=void 0,e.flags&=-9,e.flags&1)try{e.trigger()}catch(i){n||(n=i)}e=t}}if(n)throw n}function zx(n){for(let e=n.deps;e;e=e.nextDep)e.version=-1,e.prevActiveLink=e.dep.activeLink,e.dep.activeLink=e}function Hx(n){let e,t=n.depsTail,i=t;for(;i;){const r=i.prevDep;i.version===-1?(i===t&&(t=r),Km(i),Cw(i)):e=i,i.dep.activeLink=i.prevActiveLink,i.prevActiveLink=void 0,i=r}n.deps=e,n.depsTail=t}function Dp(n){for(let e=n.deps;e;e=e.nextDep)if(e.dep.version!==e.version||e.dep.computed&&(Gx(e.dep.computed)||e.dep.version!==e.version))return!0;return!!n._dirty}function Gx(n){if(n.flags&4&&!(n.flags&16)||(n.flags&=-17,n.globalVersion===vl))return;n.globalVersion=vl;const e=n.dep;if(n.flags|=2,e.version>0&&!n.isSSR&&n.deps&&!Dp(n)){n.flags&=-3;return}const t=Rt,i=wi;Rt=n,wi=!0;try{zx(n);const r=n.fn(n._value);(e.version===0||Vn(r,n._value))&&(n._value=r,e.version++)}catch(r){throw e.version++,r}finally{Rt=t,wi=i,Hx(n),n.flags&=-3}}function Km(n,e=!1){const{dep:t,prevSub:i,nextSub:r}=n;if(i&&(i.nextSub=r,n.prevSub=void 0),r&&(r.prevSub=i,n.nextSub=void 0),t.subs===n&&(t.subs=i,!i&&t.computed)){t.computed.flags&=-5;for(let s=t.computed.deps;s;s=s.nextDep)Km(s,!0)}!e&&!--t.sc&&t.map&&t.map.delete(t.key)}function Cw(n){const{prevDep:e,nextDep:t}=n;e&&(e.nextDep=t,n.prevDep=void 0),t&&(t.prevDep=e,n.nextDep=void 0)}let wi=!0;const Wx=[];function ls(){Wx.push(wi),wi=!1}function cs(){const n=Wx.pop();wi=n===void 0?!0:n}function N_(n){const{cleanup:e}=n;if(n.cleanup=void 0,e){const t=Rt;Rt=void 0;try{e()}finally{Rt=t}}}let vl=0;class Rw{constructor(e,t){this.sub=e,this.dep=t,this.version=t.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class uh{constructor(e){this.computed=e,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0}track(e){if(!Rt||!wi||Rt===this.computed)return;let t=this.activeLink;if(t===void 0||t.sub!==Rt)t=this.activeLink=new Rw(Rt,this),Rt.deps?(t.prevDep=Rt.depsTail,Rt.depsTail.nextDep=t,Rt.depsTail=t):Rt.deps=Rt.depsTail=t,Xx(t);else if(t.version===-1&&(t.version=this.version,t.nextDep)){const i=t.nextDep;i.prevDep=t.prevDep,t.prevDep&&(t.prevDep.nextDep=i),t.prevDep=Rt.depsTail,t.nextDep=void 0,Rt.depsTail.nextDep=t,Rt.depsTail=t,Rt.deps===t&&(Rt.deps=i)}return t}trigger(e){this.version++,vl++,this.notify(e)}notify(e){Ym();try{for(let t=this.subs;t;t=t.prevSub)t.sub.notify()&&t.sub.dep.notify()}finally{jm()}}}function Xx(n){if(n.dep.sc++,n.sub.flags&4){const e=n.dep.computed;if(e&&!n.dep.subs){e.flags|=20;for(let i=e.deps;i;i=i.nextDep)Xx(i)}const t=n.dep.subs;t!==n&&(n.prevSub=t,t&&(t.nextSub=n)),n.dep.subs=n}}const ef=new WeakMap,Js=Symbol(""),Op=Symbol(""),yl=Symbol("");function pn(n,e,t){if(wi&&Rt){let i=ef.get(n);i||ef.set(n,i=new Map);let r=i.get(t);r||(i.set(t,r=new uh),r.map=i,r.key=t),r.track()}}function ur(n,e,t,i,r,s){const o=ef.get(n);if(!o){vl++;return}const a=l=>{l&&l.trigger()};if(Ym(),e==="clear")o.forEach(a);else{const l=Be(n),c=l&&Xm(t);if(l&&t==="length"){const u=Number(i);o.forEach((f,h)=>{(h==="length"||h===yl||!Ai(h)&&h>=u)&&a(f)})}else switch((t!==void 0||o.has(void 0))&&a(o.get(t)),c&&a(o.get(yl)),e){case"add":l?c&&a(o.get("length")):(a(o.get(Js)),Zo(n)&&a(o.get(Op)));break;case"delete":l||(a(o.get(Js)),Zo(n)&&a(o.get(Op)));break;case"set":Zo(n)&&a(o.get(Js));break}}jm()}function Pw(n,e){const t=ef.get(n);return t&&t.get(e)}function bo(n){const e=ot(n);return e===n?e:(pn(e,"iterate",yl),ci(n)?e:e.map(mn))}function fh(n){return pn(n=ot(n),"iterate",yl),n}const Iw={__proto__:null,[Symbol.iterator](){return _d(this,Symbol.iterator,mn)},concat(...n){return bo(this).concat(...n.map(e=>Be(e)?bo(e):e))},entries(){return _d(this,"entries",n=>(n[1]=mn(n[1]),n))},every(n,e){return Qi(this,"every",n,e,void 0,arguments)},filter(n,e){return Qi(this,"filter",n,e,t=>t.map(mn),arguments)},find(n,e){return Qi(this,"find",n,e,mn,arguments)},findIndex(n,e){return Qi(this,"findIndex",n,e,void 0,arguments)},findLast(n,e){return Qi(this,"findLast",n,e,mn,arguments)},findLastIndex(n,e){return Qi(this,"findLastIndex",n,e,void 0,arguments)},forEach(n,e){return Qi(this,"forEach",n,e,void 0,arguments)},includes(...n){return vd(this,"includes",n)},indexOf(...n){return vd(this,"indexOf",n)},join(n){return bo(this).join(n)},lastIndexOf(...n){return vd(this,"lastIndexOf",n)},map(n,e){return Qi(this,"map",n,e,void 0,arguments)},pop(){return Ta(this,"pop")},push(...n){return Ta(this,"push",n)},reduce(n,...e){return U_(this,"reduce",n,e)},reduceRight(n,...e){return U_(this,"reduceRight",n,e)},shift(){return Ta(this,"shift")},some(n,e){return Qi(this,"some",n,e,void 0,arguments)},splice(...n){return Ta(this,"splice",n)},toReversed(){return bo(this).toReversed()},toSorted(n){return bo(this).toSorted(n)},toSpliced(...n){return bo(this).toSpliced(...n)},unshift(...n){return Ta(this,"unshift",n)},values(){return _d(this,"values",mn)}};function _d(n,e,t){const i=fh(n),r=i[e]();return i!==n&&!ci(n)&&(r._next=r.next,r.next=()=>{const s=r._next();return s.value&&(s.value=t(s.value)),s}),r}const Lw=Array.prototype;function Qi(n,e,t,i,r,s){const o=fh(n),a=o!==n&&!ci(n),l=o[e];if(l!==Lw[e]){const f=l.apply(n,s);return a?mn(f):f}let c=t;o!==n&&(a?c=function(f,h){return t.call(this,mn(f),h,n)}:t.length>2&&(c=function(f,h){return t.call(this,f,h,n)}));const u=l.call(o,c,i);return a&&r?r(u):u}function U_(n,e,t,i){const r=fh(n);let s=t;return r!==n&&(ci(n)?t.length>3&&(s=function(o,a,l){return t.call(this,o,a,l,n)}):s=function(o,a,l){return t.call(this,o,mn(a),l,n)}),r[e](s,...i)}function vd(n,e,t){const i=ot(n);pn(i,"iterate",yl);const r=i[e](...t);return(r===-1||r===!1)&&Zm(t[0])?(t[0]=ot(t[0]),i[e](...t)):r}function Ta(n,e,t=[]){ls(),Ym();const i=ot(n)[e].apply(n,t);return jm(),cs(),i}const Dw=Hm("__proto__,__v_isRef,__isVue"),$x=new Set(Object.getOwnPropertyNames(Symbol).filter(n=>n!=="arguments"&&n!=="caller").map(n=>Symbol[n]).filter(Ai));function Ow(n){Ai(n)||(n=String(n));const e=ot(this);return pn(e,"has",n),e.hasOwnProperty(n)}class qx{constructor(e=!1,t=!1){this._isReadonly=e,this._isShallow=t}get(e,t,i){if(t==="__v_skip")return e.__v_skip;const r=this._isReadonly,s=this._isShallow;if(t==="__v_isReactive")return!r;if(t==="__v_isReadonly")return r;if(t==="__v_isShallow")return s;if(t==="__v_raw")return i===(r?s?Qx:Jx:s?Zx:Kx).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(i)?e:void 0;const o=Be(e);if(!r){let l;if(o&&(l=Iw[t]))return l;if(t==="hasOwnProperty")return Ow}const a=Reflect.get(e,t,wt(e)?e:i);return(Ai(t)?$x.has(t):Dw(t))||(r||pn(e,"get",t),s)?a:wt(a)?o&&Xm(t)?a:a.value:At(a)?r?di(a):hi(a):a}}class Yx extends qx{constructor(e=!1){super(!1,e)}set(e,t,i,r){let s=e[t];if(!this._isShallow){const l=so(s);if(!ci(i)&&!so(i)&&(s=ot(s),i=ot(i)),!Be(e)&&wt(s)&&!wt(i))return l?!1:(s.value=i,!0)}const o=Be(e)&&Xm(t)?Number(t)n,Rc=n=>Reflect.getPrototypeOf(n);function kw(n,e,t){return function(...i){const r=this.__v_raw,s=ot(r),o=Zo(s),a=n==="entries"||n===Symbol.iterator&&o,l=n==="keys"&&o,c=r[n](...i),u=t?Np:e?Up:mn;return!e&&pn(s,"iterate",l?Op:Js),{next(){const{value:f,done:h}=c.next();return h?{value:f,done:h}:{value:a?[u(f[0]),u(f[1])]:u(f),done:h}},[Symbol.iterator](){return this}}}}function Pc(n){return function(...e){return n==="delete"?!1:n==="clear"?void 0:this}}function Vw(n,e){const t={get(r){const s=this.__v_raw,o=ot(s),a=ot(r);n||(Vn(r,a)&&pn(o,"get",r),pn(o,"get",a));const{has:l}=Rc(o),c=e?Np:n?Up:mn;if(l.call(o,r))return c(s.get(r));if(l.call(o,a))return c(s.get(a));s!==o&&s.get(r)},get size(){const r=this.__v_raw;return!n&&pn(ot(r),"iterate",Js),Reflect.get(r,"size",r)},has(r){const s=this.__v_raw,o=ot(s),a=ot(r);return n||(Vn(r,a)&&pn(o,"has",r),pn(o,"has",a)),r===a?s.has(r):s.has(r)||s.has(a)},forEach(r,s){const o=this,a=o.__v_raw,l=ot(a),c=e?Np:n?Up:mn;return!n&&pn(l,"iterate",Js),a.forEach((u,f)=>r.call(s,c(u),c(f),o))}};return Zt(t,n?{add:Pc("add"),set:Pc("set"),delete:Pc("delete"),clear:Pc("clear")}:{add(r){!e&&!ci(r)&&!so(r)&&(r=ot(r));const s=ot(this);return Rc(s).has.call(s,r)||(s.add(r),ur(s,"add",r,r)),this},set(r,s){!e&&!ci(s)&&!so(s)&&(s=ot(s));const o=ot(this),{has:a,get:l}=Rc(o);let c=a.call(o,r);c||(r=ot(r),c=a.call(o,r));const u=l.call(o,r);return o.set(r,s),c?Vn(s,u)&&ur(o,"set",r,s):ur(o,"add",r,s),this},delete(r){const s=ot(this),{has:o,get:a}=Rc(s);let l=o.call(s,r);l||(r=ot(r),l=o.call(s,r)),a&&a.call(s,r);const c=s.delete(r);return l&&ur(s,"delete",r,void 0),c},clear(){const r=ot(this),s=r.size!==0,o=r.clear();return s&&ur(r,"clear",void 0,void 0),o}}),["keys","values","entries",Symbol.iterator].forEach(r=>{t[r]=kw(r,n,e)}),t}function hh(n,e){const t=Vw(n,e);return(i,r,s)=>r==="__v_isReactive"?!n:r==="__v_isReadonly"?n:r==="__v_raw"?i:Reflect.get(xt(t,r)&&r in i?t:i,r,s)}const zw={get:hh(!1,!1)},Hw={get:hh(!1,!0)},Gw={get:hh(!0,!1)},Ww={get:hh(!0,!0)},Kx=new WeakMap,Zx=new WeakMap,Jx=new WeakMap,Qx=new WeakMap;function Xw(n){switch(n){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function $w(n){return n.__v_skip||!Object.isExtensible(n)?0:Xw(gw(n))}function hi(n){return so(n)?n:dh(n,!1,Nw,zw,Kx)}function eb(n){return dh(n,!1,Fw,Hw,Zx)}function di(n){return dh(n,!0,Uw,Gw,Jx)}function w4(n){return dh(n,!0,Bw,Ww,Qx)}function dh(n,e,t,i,r){if(!At(n)||n.__v_raw&&!(e&&n.__v_isReactive))return n;const s=r.get(n);if(s)return s;const o=$w(n);if(o===0)return n;const a=new Proxy(n,o===2?i:t);return r.set(n,a),a}function yr(n){return so(n)?yr(n.__v_raw):!!(n&&n.__v_isReactive)}function so(n){return!!(n&&n.__v_isReadonly)}function ci(n){return!!(n&&n.__v_isShallow)}function Zm(n){return n?!!n.__v_raw:!1}function ot(n){const e=n&&n.__v_raw;return e?ot(e):n}function Jm(n){return!xt(n,"__v_skip")&&Object.isExtensible(n)&&Dx(n,"__v_skip",!0),n}const mn=n=>At(n)?hi(n):n,Up=n=>At(n)?di(n):n;function wt(n){return n?n.__v_isRef===!0:!1}function Ze(n){return tb(n,!1)}function Ie(n){return tb(n,!0)}function tb(n,e){return wt(n)?n:new qw(n,e)}class qw{constructor(e,t){this.dep=new uh,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=t?e:ot(e),this._value=t?e:mn(e),this.__v_isShallow=t}get value(){return this.dep.track(),this._value}set value(e){const t=this._rawValue,i=this.__v_isShallow||ci(e)||so(e);e=i?e:ot(e),Vn(e,t)&&(this._rawValue=e,this._value=i?e:mn(e),this.dep.trigger())}}function It(n){return wt(n)?n.value:n}function Je(n){return $e(n)?n():It(n)}const Yw={get:(n,e,t)=>e==="__v_raw"?n:It(Reflect.get(n,e,t)),set:(n,e,t,i)=>{const r=n[e];return wt(r)&&!wt(t)?(r.value=t,!0):Reflect.set(n,e,t,i)}};function nb(n){return yr(n)?n:new Proxy(n,Yw)}class jw{constructor(e){this.__v_isRef=!0,this._value=void 0;const t=this.dep=new uh,{get:i,set:r}=e(t.track.bind(t),t.trigger.bind(t));this._get=i,this._set=r}get value(){return this._value=this._get()}set value(e){this._set(e)}}function Qm(n){return new jw(n)}function ib(n){const e=Be(n)?new Array(n.length):{};for(const t in n)e[t]=sb(n,t);return e}class Kw{constructor(e,t,i){this._object=e,this._key=t,this._defaultValue=i,this.__v_isRef=!0,this._value=void 0}get value(){const e=this._object[this._key];return this._value=e===void 0?this._defaultValue:e}set value(e){this._object[this._key]=e}get dep(){return Pw(ot(this._object),this._key)}}class Zw{constructor(e){this._getter=e,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function rb(n,e,t){return wt(n)?n:$e(n)?new Zw(n):At(n)&&arguments.length>1?sb(n,e,t):Ze(n)}function sb(n,e,t){const i=n[e];return wt(i)?i:new Kw(n,e,t)}class Jw{constructor(e,t,i){this.fn=e,this.setter=t,this._value=void 0,this.dep=new uh(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=vl-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!t,this.isSSR=i}notify(){if(this.flags|=16,!(this.flags&8)&&Rt!==this)return Vx(this,!0),!0}get value(){const e=this.dep.track();return Gx(this),e&&(e.version=this.dep.version),this._value}set value(e){this.setter&&this.setter(e)}}function Qw(n,e,t=!1){let i,r;return $e(n)?i=n:(i=n.get,r=n.set),new Jw(i,r,t)}const Ic={},tf=new WeakMap;let ks;function eA(n,e=!1,t=ks){if(t){let i=tf.get(t);i||tf.set(t,i=[]),i.push(n)}}function tA(n,e,t=pt){const{immediate:i,deep:r,once:s,scheduler:o,augmentJob:a,call:l}=t,c=v=>r?v:ci(v)||r===!1||r===0?fr(v,1):fr(v);let u,f,h,d,p=!1,_=!1;if(wt(n)?(f=()=>n.value,p=ci(n)):yr(n)?(f=()=>c(n),p=!0):Be(n)?(_=!0,p=n.some(v=>yr(v)||ci(v)),f=()=>n.map(v=>{if(wt(v))return v.value;if(yr(v))return c(v);if($e(v))return l?l(v,2):v()})):$e(n)?e?f=l?()=>l(n,2):n:f=()=>{if(h){ls();try{h()}finally{cs()}}const v=ks;ks=u;try{return l?l(n,3,[d]):n(d)}finally{ks=v}}:f=zi,e&&r){const v=f,E=r===!0?1/0:r;f=()=>fr(v(),E)}const g=ch(),m=()=>{u.stop(),g&&g.active&&Wm(g.effects,u)};if(s&&e){const v=e;e=(...E)=>{v(...E),m()}}let y=_?new Array(n.length).fill(Ic):Ic;const x=v=>{if(!(!(u.flags&1)||!u.dirty&&!v))if(e){const E=u.run();if(r||p||(_?E.some((T,M)=>Vn(T,y[M])):Vn(E,y))){h&&h();const T=ks;ks=u;try{const M=[E,y===Ic?void 0:_&&y[0]===Ic?[]:y,d];l?l(e,3,M):e(...M),y=E}finally{ks=T}}}else u.run()};return a&&a(x),u=new Bx(f),u.scheduler=o?()=>o(x,!1):x,d=v=>eA(v,!1,u),h=u.onStop=()=>{const v=tf.get(u);if(v){if(l)l(v,4);else for(const E of v)E();tf.delete(u)}},e?i?x(!0):y=u.run():o?o(x.bind(null,!0),!0):u.run(),m.pause=u.pause.bind(u),m.resume=u.resume.bind(u),m.stop=m,m}function fr(n,e=1/0,t){if(e<=0||!At(n)||n.__v_skip||(t=t||new Set,t.has(n)))return n;if(t.add(n),e--,wt(n))fr(n.value,e,t);else if(Be(n))for(let i=0;i{fr(i,e,t)});else if(Lx(n)){for(const i in n)fr(n[i],e,t);for(const i of Object.getOwnPropertySymbols(n))Object.prototype.propertyIsEnumerable.call(n,i)&&fr(n[i],e,t)}return n}/** * @vue/runtime-core v3.5.13 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/function ic(n,e,t,i){try{return i?n(...i):n()}catch(r){ph(r,e,t)}}function Ci(n,e,t,i){if($e(n)){const r=ic(n,e,t,i);return r&&Px(r)&&r.catch(s=>{ph(s,e,t)}),r}if(Be(n)){const r=[];for(let s=0;s>>1,r=Rn[i],s=xl(r);s=xl(t)?Rn.push(n):Rn.splice(iA(e),0,n),n.flags|=1,ab()}}function ab(){nf||(nf=ob.then(cb))}function rA(n){Be(n)?Jo.push(...n):Wr&&n.id===-1?Wr.splice(Vo+1,0,n):n.flags&1||(Jo.push(n),n.flags|=1),ab()}function F_(n,e,t=Ui+1){for(;txl(t)-xl(i));if(Jo.length=0,Wr){Wr.push(...e);return}for(Wr=e,Vo=0;Von.id==null?n.flags&2?-1:1/0:n.id;function cb(n){try{for(Ui=0;Ui{i._d&&K_(-1);const s=rf(e);let o;try{o=n(...r)}finally{rf(s),i._d&&K_(1)}return o};return i._n=!0,i._c=!0,i._d=!0,i}function A4(n,e){if(Yt===null)return n;const t=vh(Yt),i=n.dirs||(n.dirs=[]);for(let r=0;rn.__isTeleport,Ka=n=>n&&(n.disabled||n.disabled===""),B_=n=>n&&(n.defer||n.defer===""),k_=n=>typeof SVGElement<"u"&&n instanceof SVGElement,z_=n=>typeof MathMLElement=="function"&&n instanceof MathMLElement,Fp=(n,e)=>{const t=n&&n.to;return It(t)?e?e(t):null:t},pb={name:"Teleport",__isTeleport:!0,process(n,e,t,i,r,s,o,a,l,c){const{mc:u,pc:f,pbc:h,o:{insert:d,querySelector:p,createText:_,createComment:g}}=c,m=Ka(e.props);let{shapeFlag:y,children:x,dynamicChildren:v}=e;if(n==null){const E=e.el=_(""),T=e.anchor=_("");d(E,t,i),d(T,t,i);const M=(b,S)=>{y&16&&(r&&r.isCE&&(r.ce._teleportTarget=b),u(x,b,S,r,s,o,a,l))},P=()=>{const b=e.target=Fp(e.props,p),S=mb(b,e,_,d);b&&(o!=="svg"&&k_(b)?o="svg":o!=="mathml"&&z_(b)&&(o="mathml"),m||(M(b,S),ku(e,!1)))};m&&(M(t,T),ku(e,!0)),B_(e.props)?wn(()=>{P(),e.el.__isMounted=!0},s):P()}else{if(B_(e.props)&&!n.el.__isMounted){wn(()=>{pb.process(n,e,t,i,r,s,o,a,l,c),delete n.el.__isMounted},s);return}e.el=n.el,e.targetStart=n.targetStart;const E=e.anchor=n.anchor,T=e.target=n.target,M=e.targetAnchor=n.targetAnchor,P=Ka(n.props),b=P?t:T,S=P?E:M;if(o==="svg"||k_(T)?o="svg":(o==="mathml"||z_(T))&&(o="mathml"),v?(h(n.dynamicChildren,v,b,r,s,o,a),og(n,e,!0)):l||f(n,e,b,S,r,s,o,a,!1),m)P?e.props&&n.props&&e.props.to!==n.props.to&&(e.props.to=n.props.to):Lc(e,t,E,c,1);else if((e.props&&e.props.to)!==(n.props&&n.props.to)){const D=e.target=Fp(e.props,p);D&&Lc(e,D,null,c,0)}else P&&Lc(e,T,M,c,1);ku(e,m)}},remove(n,e,t,{um:i,o:{remove:r}},s){const{shapeFlag:o,children:a,anchor:l,targetStart:c,targetAnchor:u,target:f,props:h}=n;if(f&&(r(c),r(u)),s&&r(l),o&16){const d=s||!Ka(h);for(let p=0;p{n.isMounted=!0}),tg(()=>{n.isUnmounting=!0}),n}const ri=[Function,Array],gb={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:ri,onEnter:ri,onAfterEnter:ri,onEnterCancelled:ri,onBeforeLeave:ri,onLeave:ri,onAfterLeave:ri,onLeaveCancelled:ri,onBeforeAppear:ri,onAppear:ri,onAfterAppear:ri,onAppearCancelled:ri},_b=n=>{const e=n.subTree;return e.component?_b(e.component):e},aA={name:"BaseTransition",props:gb,setup(n,{slots:e}){const t=vn(),i=oA();return()=>{const r=e.default&&xb(e.default(),!0);if(!r||!r.length)return;const s=vb(r),o=ot(n),{mode:a}=o;if(i.isLeaving)return yd(s);const l=V_(s);if(!l)return yd(s);let c=Bp(l,o,i,t,f=>c=f);l.type!==Pn&&bl(l,c);let u=t.subTree&&V_(t.subTree);if(u&&u.type!==Pn&&!Ws(l,u)&&_b(t).type!==Pn){let f=Bp(u,o,i,t);if(bl(u,f),a==="out-in"&&l.type!==Pn)return i.isLeaving=!0,f.afterLeave=()=>{i.isLeaving=!1,t.job.flags&8||t.update(),delete f.afterLeave,u=void 0},yd(s);a==="in-out"&&l.type!==Pn?f.delayLeave=(h,d,p)=>{const _=yb(i,u);_[String(u.key)]=u,h[Xr]=()=>{d(),h[Xr]=void 0,delete c.delayedLeave,u=void 0},c.delayedLeave=()=>{p(),delete c.delayedLeave,u=void 0}}:u=void 0}else u&&(u=void 0);return s}}};function vb(n){let e=n[0];if(n.length>1){for(const t of n)if(t.type!==Pn){e=t;break}}return e}const lA=aA;function yb(n,e){const{leavingVNodes:t}=n;let i=t.get(e.type);return i||(i=Object.create(null),t.set(e.type,i)),i}function Bp(n,e,t,i,r){const{appear:s,mode:o,persisted:a=!1,onBeforeEnter:l,onEnter:c,onAfterEnter:u,onEnterCancelled:f,onBeforeLeave:h,onLeave:d,onAfterLeave:p,onLeaveCancelled:_,onBeforeAppear:g,onAppear:m,onAfterAppear:y,onAppearCancelled:x}=e,v=String(n.key),E=yb(t,n),T=(b,S)=>{b&&Ci(b,i,9,S)},M=(b,S)=>{const D=S[1];T(b,S),Be(b)?b.every(B=>B.length<=1)&&D():b.length<=1&&D()},P={mode:o,persisted:a,beforeEnter(b){let S=l;if(!t.isMounted)if(s)S=g||l;else return;b[Xr]&&b[Xr](!0);const D=E[v];D&&Ws(n,D)&&D.el[Xr]&&D.el[Xr](),T(S,[b])},enter(b){let S=c,D=u,B=f;if(!t.isMounted)if(s)S=m||c,D=y||u,B=x||f;else return;let H=!1;const $=b[Dc]=ee=>{H||(H=!0,ee?T(B,[b]):T(D,[b]),P.delayedLeave&&P.delayedLeave(),b[Dc]=void 0)};S?M(S,[b,$]):$()},leave(b,S){const D=String(n.key);if(b[Dc]&&b[Dc](!0),t.isUnmounting)return S();T(h,[b]);let B=!1;const H=b[Xr]=$=>{B||(B=!0,S(),$?T(_,[b]):T(p,[b]),b[Xr]=void 0,E[D]===n&&delete E[D])};E[D]=n,d?M(d,[b,H]):H()},clone(b){const S=Bp(b,e,t,i,r);return r&&r(S),S}};return P}function yd(n){if(mh(n))return n=ts(n),n.children=null,n}function V_(n){if(!mh(n))return db(n.type)&&n.children?vb(n.children):n;const{shapeFlag:e,children:t}=n;if(t){if(e&16)return t[0];if(e&32&&$e(t.default))return t.default()}}function bl(n,e){n.shapeFlag&6&&n.component?(n.transition=e,bl(n.component.subTree,e)):n.shapeFlag&128?(n.ssContent.transition=e.clone(n.ssContent),n.ssFallback.transition=e.clone(n.ssFallback)):n.transition=e}function xb(n,e=!1,t){let i=[],r=0;for(let s=0;s1)for(let s=0;ssf(p,e&&(Be(e)?e[_]:e),t,i,r));return}if(Qo(i)&&!r){i.shapeFlag&512&&i.type.__asyncResolved&&i.component.subTree.component&&sf(n,e,t,i.component.subTree);return}const s=i.shapeFlag&4?vh(i.component):i.el,o=r?null:s,{i:a,r:l}=n,c=e&&e.r,u=a.refs===pt?a.refs={}:a.refs,f=a.setupState,h=ot(f),d=f===pt?()=>!1:p=>yt(h,p);if(c!=null&&c!==l&&(It(c)?(u[c]=null,d(c)&&(f[c]=null)):Mt(c)&&(c.value=null)),$e(l))ic(l,a,12,[o,u]);else{const p=It(l),_=Mt(l);if(p||_){const g=()=>{if(n.f){const m=p?d(l)?f[l]:u[l]:l.value;r?Be(m)&&Wm(m,s):Be(m)?m.includes(s)||m.push(s):p?(u[l]=[s],d(l)&&(f[l]=u[l])):(l.value=[s],n.k&&(u[n.k]=l.value))}else p?(u[l]=o,d(l)&&(f[l]=o)):_&&(l.value=o,n.k&&(u[n.k]=o))};o?(g.id=-1,wn(g,t)):g()}}}lh().requestIdleCallback;lh().cancelIdleCallback;const Qo=n=>!!n.type.__asyncLoader,mh=n=>n.type.__isKeepAlive;function cA(n,e){Sb(n,"a",e)}function uA(n,e){Sb(n,"da",e)}function Sb(n,e,t=tn){const i=n.__wdc||(n.__wdc=()=>{let r=t;for(;r;){if(r.isDeactivated)return;r=r.parent}return n()});if(gh(e,i,t),t){let r=t.parent;for(;r&&r.parent;)mh(r.parent.vnode)&&fA(i,e,t,r),r=r.parent}}function fA(n,e,t,i){const r=gh(e,n,i,!0);$i(()=>{Wm(i[e],r)},t)}function gh(n,e,t=tn,i=!1){if(t){const r=t[n]||(t[n]=[]),s=e.__weh||(e.__weh=(...o)=>{ls();const a=lc(t),l=Ci(e,t,n,o);return a(),cs(),l});return i?r.unshift(s):r.push(s),s}}const Rr=n=>(e,t=tn)=>{(!wl||n==="sp")&&gh(n,(...i)=>e(...i),t)},hA=Rr("bm"),yn=Rr("m"),dA=Rr("bu"),pA=Rr("u"),tg=Rr("bum"),$i=Rr("um"),mA=Rr("sp"),gA=Rr("rtg"),_A=Rr("rtc");function vA(n,e=tn){gh("ec",n,e)}const ng="components",yA="directives";function P4(n,e){return ig(ng,n,!0,e)||n}const Mb=Symbol.for("v-ndc");function xA(n){return It(n)?ig(ng,n,!1)||n:n||Mb}function I4(n){return ig(yA,n)}function ig(n,e,t=!0,i=!1){const r=Yt||tn;if(r){const s=r.type;if(n===ng){const a=l1(s,!1);if(a&&(a===e||a===Qn(e)||a===ah(Qn(e))))return s}const o=H_(r[n]||s[n],e)||H_(r.appContext[n],e);return!o&&i?s:o}}function H_(n,e){return n&&(n[e]||n[Qn(e)]||n[ah(Qn(e))])}function bA(n,e,t,i){let r;const s=t,o=Be(n);if(o||It(n)){const a=o&&yr(n);let l=!1;a&&(l=!ci(n),n=fh(n)),r=new Array(n.length);for(let c=0,u=n.length;ce(a,l,void 0,s));else{const a=Object.keys(n);r=new Array(a.length);for(let l=0,c=a.length;lTl(e)?!(e.type===Pn||e.type===Xt&&!Eb(e.children)):!0)?n:null}function L4(n,e){const t={};for(const i in n)t[Fu(i)]=n[i];return t}const kp=n=>n?$b(n)?vh(n):kp(n.parent):null,Za=Zt(Object.create(null),{$:n=>n,$el:n=>n.vnode.el,$data:n=>n.data,$props:n=>n.props,$attrs:n=>n.attrs,$slots:n=>n.slots,$refs:n=>n.refs,$parent:n=>kp(n.parent),$root:n=>kp(n.root),$host:n=>n.ce,$emit:n=>n.emit,$options:n=>Ab(n),$forceUpdate:n=>n.f||(n.f=()=>{eg(n.update)}),$nextTick:n=>n.n||(n.n=us.bind(n.proxy)),$watch:n=>GA.bind(n)}),xd=(n,e)=>n!==pt&&!n.__isScriptSetup&&yt(n,e),MA={get({_:n},e){if(e==="__v_skip")return!0;const{ctx:t,setupState:i,data:r,props:s,accessCache:o,type:a,appContext:l}=n;let c;if(e[0]!=="$"){const d=o[e];if(d!==void 0)switch(d){case 1:return i[e];case 2:return r[e];case 4:return t[e];case 3:return s[e]}else{if(xd(i,e))return o[e]=1,i[e];if(r!==pt&&yt(r,e))return o[e]=2,r[e];if((c=n.propsOptions[0])&&yt(c,e))return o[e]=3,s[e];if(t!==pt&&yt(t,e))return o[e]=4,t[e];zp&&(o[e]=0)}}const u=Za[e];let f,h;if(u)return e==="$attrs"&&pn(n.attrs,"get",""),u(n);if((f=a.__cssModules)&&(f=f[e]))return f;if(t!==pt&&yt(t,e))return o[e]=4,t[e];if(h=l.config.globalProperties,yt(h,e))return h[e]},set({_:n},e,t){const{data:i,setupState:r,ctx:s}=n;return xd(r,e)?(r[e]=t,!0):i!==pt&&yt(i,e)?(i[e]=t,!0):yt(n.props,e)||e[0]==="$"&&e.slice(1)in n?!1:(s[e]=t,!0)},has({_:{data:n,setupState:e,accessCache:t,ctx:i,appContext:r,propsOptions:s}},o){let a;return!!t[o]||n!==pt&&yt(n,o)||xd(e,o)||(a=s[0])&&yt(a,o)||yt(i,o)||yt(Za,o)||yt(r.config.globalProperties,o)},defineProperty(n,e,t){return t.get!=null?n._.accessCache[e]=0:yt(t,"value")&&this.set(n,e,t.value,null),Reflect.defineProperty(n,e,t)}};function rg(){return Tb().slots}function D4(){return Tb().attrs}function Tb(){const n=vn();return n.setupContext||(n.setupContext=Yb(n))}function Sl(n){return Be(n)?n.reduce((e,t)=>(e[t]=null,e),{}):n}function O4(n,e){const t=Sl(n);for(const i in e){if(i.startsWith("__skip"))continue;let r=t[i];r?Be(r)||$e(r)?r=t[i]={type:r,default:e[i]}:r.default=e[i]:r===null&&(r=t[i]={default:e[i]}),r&&e[`__skip_${i}`]&&(r.skipFactory=!0)}return t}function N4(n,e){return!n||!e?n||e:Be(n)&&Be(e)?n.concat(e):Zt({},Sl(n),Sl(e))}let zp=!0;function EA(n){const e=Ab(n),t=n.proxy,i=n.ctx;zp=!1,e.beforeCreate&&G_(e.beforeCreate,n,"bc");const{data:r,computed:s,methods:o,watch:a,provide:l,inject:c,created:u,beforeMount:f,mounted:h,beforeUpdate:d,updated:p,activated:_,deactivated:g,beforeDestroy:m,beforeUnmount:y,destroyed:x,unmounted:v,render:E,renderTracked:T,renderTriggered:M,errorCaptured:P,serverPrefetch:b,expose:S,inheritAttrs:D,components:B,directives:H,filters:$}=e;if(c&&TA(c,i,null),o)for(const te in o){const Q=o[te];$e(Q)&&(i[te]=Q.bind(t))}if(r){const te=r.call(t,t);wt(te)&&(n.data=hi(te))}if(zp=!0,s)for(const te in s){const Q=s[te],pe=$e(Q)?Q.bind(t,t):$e(Q.get)?Q.get.bind(t,t):Vi,ve=!$e(Q)&&$e(Q.set)?Q.set.bind(t):Vi,re=Se({get:pe,set:ve});Object.defineProperty(i,te,{enumerable:!0,configurable:!0,get:()=>re.value,set:xe=>re.value=xe})}if(a)for(const te in a)wb(a[te],i,t,te);if(l){const te=$e(l)?l.call(t):l;Reflect.ownKeys(te).forEach(Q=>{es(Q,te[Q])})}u&&G_(u,n,"c");function Z(te,Q){Be(Q)?Q.forEach(pe=>te(pe.bind(t))):Q&&te(Q.bind(t))}if(Z(hA,f),Z(yn,h),Z(dA,d),Z(pA,p),Z(cA,_),Z(uA,g),Z(vA,P),Z(_A,T),Z(gA,M),Z(tg,y),Z($i,v),Z(mA,b),Be(S))if(S.length){const te=n.exposed||(n.exposed={});S.forEach(Q=>{Object.defineProperty(te,Q,{get:()=>t[Q],set:pe=>t[Q]=pe})})}else n.exposed||(n.exposed={});E&&n.render===Vi&&(n.render=E),D!=null&&(n.inheritAttrs=D),B&&(n.components=B),H&&(n.directives=H),b&&bb(n)}function TA(n,e,t=Vi){Be(n)&&(n=Vp(n));for(const i in n){const r=n[i];let s;wt(r)?"default"in r?s=gn(r.from||i,r.default,!0):s=gn(r.from||i):s=gn(r),Mt(s)?Object.defineProperty(e,i,{enumerable:!0,configurable:!0,get:()=>s.value,set:o=>s.value=o}):e[i]=s}}function G_(n,e,t){Ci(Be(n)?n.map(i=>i.bind(e.proxy)):n.bind(e.proxy),e,t)}function wb(n,e,t,i){let r=i.includes(".")?zb(t,i):()=>t[i];if(It(n)){const s=e[n];$e(s)&&Ge(r,s)}else if($e(n))Ge(r,n.bind(t));else if(wt(n))if(Be(n))n.forEach(s=>wb(s,e,t,i));else{const s=$e(n.handler)?n.handler.bind(t):e[n.handler];$e(s)&&Ge(r,s,n)}}function Ab(n){const e=n.type,{mixins:t,extends:i}=e,{mixins:r,optionsCache:s,config:{optionMergeStrategies:o}}=n.appContext,a=s.get(e);let l;return a?l=a:!r.length&&!t&&!i?l=e:(l={},r.length&&r.forEach(c=>of(l,c,o,!0)),of(l,e,o)),wt(e)&&s.set(e,l),l}function of(n,e,t,i=!1){const{mixins:r,extends:s}=e;s&&of(n,s,t,!0),r&&r.forEach(o=>of(n,o,t,!0));for(const o in e)if(!(i&&o==="expose")){const a=wA[o]||t&&t[o];n[o]=a?a(n[o],e[o]):e[o]}return n}const wA={data:W_,props:X_,emits:X_,methods:Ga,computed:Ga,beforeCreate:Mn,created:Mn,beforeMount:Mn,mounted:Mn,beforeUpdate:Mn,updated:Mn,beforeDestroy:Mn,beforeUnmount:Mn,destroyed:Mn,unmounted:Mn,activated:Mn,deactivated:Mn,errorCaptured:Mn,serverPrefetch:Mn,components:Ga,directives:Ga,watch:CA,provide:W_,inject:AA};function W_(n,e){return e?n?function(){return Zt($e(n)?n.call(this,this):n,$e(e)?e.call(this,this):e)}:e:n}function AA(n,e){return Ga(Vp(n),Vp(e))}function Vp(n){if(Be(n)){const e={};for(let t=0;t1)return t&&$e(e)?e.call(i&&i.proxy):e}}function rc(){return!!(tn||Yt||Qs)}const Rb={},Pb=()=>Object.create(Rb),Ib=n=>Object.getPrototypeOf(n)===Rb;function IA(n,e,t,i=!1){const r={},s=Pb();n.propsDefaults=Object.create(null),Lb(n,e,r,s);for(const o in n.propsOptions[0])o in r||(r[o]=void 0);t?n.props=i?r:eb(r):n.type.props?n.props=r:n.props=s,n.attrs=s}function LA(n,e,t,i){const{props:r,attrs:s,vnode:{patchFlag:o}}=n,a=ot(r),[l]=n.propsOptions;let c=!1;if((i||o>0)&&!(o&16)){if(o&8){const u=n.vnode.dynamicProps;for(let f=0;f{l=!0;const[h,d]=Db(f,e,!0);Zt(o,h),d&&a.push(...d)};!t&&e.mixins.length&&e.mixins.forEach(u),n.extends&&u(n.extends),n.mixins&&n.mixins.forEach(u)}if(!s&&!l)return wt(n)&&i.set(n,Ko),Ko;if(Be(s))for(let u=0;un[0]==="_"||n==="$stable",sg=n=>Be(n)?n.map(ki):[ki(n)],OA=(n,e,t)=>{if(e._n)return e;const i=fb((...r)=>sg(e(...r)),t);return i._c=!1,i},Nb=(n,e,t)=>{const i=n._ctx;for(const r in n){if(Ob(r))continue;const s=n[r];if($e(s))e[r]=OA(r,s,i);else if(s!=null){const o=sg(s);e[r]=()=>o}}},Ub=(n,e)=>{const t=sg(e);n.slots.default=()=>t},Fb=(n,e,t)=>{for(const i in e)(t||i!=="_")&&(n[i]=e[i])},NA=(n,e,t)=>{const i=n.slots=Pb();if(n.vnode.shapeFlag&32){const r=e._;r?(Fb(i,e,t),t&&Dx(i,"_",r,!0)):Nb(e,i)}else e&&Ub(n,e)},UA=(n,e,t)=>{const{vnode:i,slots:r}=n;let s=!0,o=pt;if(i.shapeFlag&32){const a=e._;a?t&&a===1?s=!1:Fb(r,e,t):(s=!e.$stable,Nb(e,r)),o=e}else e&&(Ub(n,e),o={default:1});if(s)for(const a in r)!Ob(a)&&o[a]==null&&delete r[a]},wn=jA;function Bb(n){return FA(n)}function FA(n,e){const t=lh();t.__VUE__=!0;const{insert:i,remove:r,patchProp:s,createElement:o,createText:a,createComment:l,setText:c,setElementText:u,parentNode:f,nextSibling:h,setScopeId:d=Vi,insertStaticContent:p}=n,_=(I,L,w,j=null,G=null,q=null,R=void 0,N=null,z=!!L.dynamicChildren)=>{if(I===L)return;I&&!Ws(I,L)&&(j=W(I),xe(I,G,q,!0),I=null),L.patchFlag===-2&&(z=!1,L.dynamicChildren=null);const{type:A,ref:C,shapeFlag:k}=L;switch(A){case ac:g(I,L,w,j);break;case Pn:m(I,L,w,j);break;case zu:I==null&&y(L,w,j,R);break;case Xt:B(I,L,w,j,G,q,R,N,z);break;default:k&1?E(I,L,w,j,G,q,R,N,z):k&6?H(I,L,w,j,G,q,R,N,z):(k&64||k&128)&&A.process(I,L,w,j,G,q,R,N,z,le)}C!=null&&G&&sf(C,I&&I.ref,q,L||I,!L)},g=(I,L,w,j)=>{if(I==null)i(L.el=a(L.children),w,j);else{const G=L.el=I.el;L.children!==I.children&&c(G,L.children)}},m=(I,L,w,j)=>{I==null?i(L.el=l(L.children||""),w,j):L.el=I.el},y=(I,L,w,j)=>{[I.el,I.anchor]=p(I.children,L,w,j,I.el,I.anchor)},x=({el:I,anchor:L},w,j)=>{let G;for(;I&&I!==L;)G=h(I),i(I,w,j),I=G;i(L,w,j)},v=({el:I,anchor:L})=>{let w;for(;I&&I!==L;)w=h(I),r(I),I=w;r(L)},E=(I,L,w,j,G,q,R,N,z)=>{L.type==="svg"?R="svg":L.type==="math"&&(R="mathml"),I==null?T(L,w,j,G,q,R,N,z):b(I,L,G,q,R,N,z)},T=(I,L,w,j,G,q,R,N)=>{let z,A;const{props:C,shapeFlag:k,transition:U,dirs:V}=I;if(z=I.el=o(I.type,q,C&&C.is,C),k&8?u(z,I.children):k&16&&P(I.children,z,null,j,G,bd(I,q),R,N),V&&xs(I,null,j,"created"),M(z,I,I.scopeId,R,j),C){for(const he in C)he!=="value"&&!qa(he)&&s(z,he,null,C[he],q,j);"value"in C&&s(z,"value",null,C.value,q),(A=C.onVnodeBeforeMount)&&Oi(A,j,I)}V&&xs(I,null,j,"beforeMount");const Y=BA(G,U);Y&&U.beforeEnter(z),i(z,L,w),((A=C&&C.onVnodeMounted)||Y||V)&&wn(()=>{A&&Oi(A,j,I),Y&&U.enter(z),V&&xs(I,null,j,"mounted")},G)},M=(I,L,w,j,G)=>{if(w&&d(I,w),j)for(let q=0;q{for(let A=z;A{const N=L.el=I.el;let{patchFlag:z,dynamicChildren:A,dirs:C}=L;z|=I.patchFlag&16;const k=I.props||pt,U=L.props||pt;let V;if(w&&bs(w,!1),(V=U.onVnodeBeforeUpdate)&&Oi(V,w,L,I),C&&xs(L,I,w,"beforeUpdate"),w&&bs(w,!0),(k.innerHTML&&U.innerHTML==null||k.textContent&&U.textContent==null)&&u(N,""),A?S(I.dynamicChildren,A,N,w,j,bd(L,G),q):R||Q(I,L,N,null,w,j,bd(L,G),q,!1),z>0){if(z&16)D(N,k,U,w,G);else if(z&2&&k.class!==U.class&&s(N,"class",null,U.class,G),z&4&&s(N,"style",k.style,U.style,G),z&8){const Y=L.dynamicProps;for(let he=0;he{V&&Oi(V,w,L,I),C&&xs(L,I,w,"updated")},j)},S=(I,L,w,j,G,q,R)=>{for(let N=0;N{if(L!==w){if(L!==pt)for(const q in L)!qa(q)&&!(q in w)&&s(I,q,L[q],null,G,j);for(const q in w){if(qa(q))continue;const R=w[q],N=L[q];R!==N&&q!=="value"&&s(I,q,N,R,G,j)}"value"in w&&s(I,"value",L.value,w.value,G)}},B=(I,L,w,j,G,q,R,N,z)=>{const A=L.el=I?I.el:a(""),C=L.anchor=I?I.anchor:a("");let{patchFlag:k,dynamicChildren:U,slotScopeIds:V}=L;V&&(N=N?N.concat(V):V),I==null?(i(A,w,j),i(C,w,j),P(L.children||[],w,C,G,q,R,N,z)):k>0&&k&64&&U&&I.dynamicChildren?(S(I.dynamicChildren,U,w,G,q,R,N),(L.key!=null||G&&L===G.subTree)&&og(I,L,!0)):Q(I,L,w,C,G,q,R,N,z)},H=(I,L,w,j,G,q,R,N,z)=>{L.slotScopeIds=N,I==null?L.shapeFlag&512?G.ctx.activate(L,w,j,R,z):$(L,w,j,G,q,R,z):ee(I,L,z)},$=(I,L,w,j,G,q,R)=>{const N=I.component=r1(I,j,G);if(mh(I)&&(N.ctx.renderer=le),s1(N,!1,R),N.asyncDep){if(G&&G.registerDep(N,Z,R),!I.el){const z=N.subTree=an(Pn);m(null,z,L,w)}}else Z(N,I,L,w,G,q,R)},ee=(I,L,w)=>{const j=L.component=I.component;if(qA(I,L,w))if(j.asyncDep&&!j.asyncResolved){te(j,L,w);return}else j.next=L,j.update();else L.el=I.el,j.vnode=L},Z=(I,L,w,j,G,q,R)=>{const N=()=>{if(I.isMounted){let{next:k,bu:U,u:V,parent:Y,vnode:he}=I;{const Te=kb(I);if(Te){k&&(k.el=he.el,te(I,k,R)),Te.asyncDep.then(()=>{I.isUnmounted||N()});return}}let ce=k,ye;bs(I,!1),k?(k.el=he.el,te(I,k,R)):k=he,U&&Bu(U),(ye=k.props&&k.props.onVnodeBeforeUpdate)&&Oi(ye,Y,k,he),bs(I,!0);const Fe=Y_(I),me=I.subTree;I.subTree=Fe,_(me,Fe,f(me.el),W(me),I,G,q),k.el=Fe.el,ce===null&&YA(I,Fe.el),V&&wn(V,G),(ye=k.props&&k.props.onVnodeUpdated)&&wn(()=>Oi(ye,Y,k,he),G)}else{let k;const{el:U,props:V}=L,{bm:Y,m:he,parent:ce,root:ye,type:Fe}=I,me=Qo(L);bs(I,!1),Y&&Bu(Y),!me&&(k=V&&V.onVnodeBeforeMount)&&Oi(k,ce,L),bs(I,!0);{ye.ce&&ye.ce._injectChildStyle(Fe);const Te=I.subTree=Y_(I);_(null,Te,w,j,I,G,q),L.el=Te.el}if(he&&wn(he,G),!me&&(k=V&&V.onVnodeMounted)){const Te=L;wn(()=>Oi(k,ce,Te),G)}(L.shapeFlag&256||ce&&Qo(ce.vnode)&&ce.vnode.shapeFlag&256)&&I.a&&wn(I.a,G),I.isMounted=!0,L=w=j=null}};I.scope.on();const z=I.effect=new Bx(N);I.scope.off();const A=I.update=z.run.bind(z),C=I.job=z.runIfDirty.bind(z);C.i=I,C.id=I.uid,z.scheduler=()=>eg(C),bs(I,!0),A()},te=(I,L,w)=>{L.component=I;const j=I.vnode.props;I.vnode=L,I.next=null,LA(I,L.props,j,w),UA(I,L.children,w),ls(),F_(I),cs()},Q=(I,L,w,j,G,q,R,N,z=!1)=>{const A=I&&I.children,C=I?I.shapeFlag:0,k=L.children,{patchFlag:U,shapeFlag:V}=L;if(U>0){if(U&128){ve(A,k,w,j,G,q,R,N,z);return}else if(U&256){pe(A,k,w,j,G,q,R,N,z);return}}V&8?(C&16&&be(A,G,q),k!==A&&u(w,k)):C&16?V&16?ve(A,k,w,j,G,q,R,N,z):be(A,G,q,!0):(C&8&&u(w,""),V&16&&P(k,w,j,G,q,R,N,z))},pe=(I,L,w,j,G,q,R,N,z)=>{I=I||Ko,L=L||Ko;const A=I.length,C=L.length,k=Math.min(A,C);let U;for(U=0;UC?be(I,G,q,!0,!1,k):P(L,w,j,G,q,R,N,z,k)},ve=(I,L,w,j,G,q,R,N,z)=>{let A=0;const C=L.length;let k=I.length-1,U=C-1;for(;A<=k&&A<=U;){const V=I[A],Y=L[A]=z?qr(L[A]):ki(L[A]);if(Ws(V,Y))_(V,Y,w,null,G,q,R,N,z);else break;A++}for(;A<=k&&A<=U;){const V=I[k],Y=L[U]=z?qr(L[U]):ki(L[U]);if(Ws(V,Y))_(V,Y,w,null,G,q,R,N,z);else break;k--,U--}if(A>k){if(A<=U){const V=U+1,Y=VU)for(;A<=k;)xe(I[A],G,q,!0),A++;else{const V=A,Y=A,he=new Map;for(A=Y;A<=U;A++){const Me=L[A]=z?qr(L[A]):ki(L[A]);Me.key!=null&&he.set(Me.key,A)}let ce,ye=0;const Fe=U-Y+1;let me=!1,Te=0;const ke=new Array(Fe);for(A=0;A=Fe){xe(Me,G,q,!0);continue}let Ye;if(Me.key!=null)Ye=he.get(Me.key);else for(ce=Y;ce<=U;ce++)if(ke[ce-Y]===0&&Ws(Me,L[ce])){Ye=ce;break}Ye===void 0?xe(Me,G,q,!0):(ke[Ye-Y]=A+1,Ye>=Te?Te=Ye:me=!0,_(Me,L[Ye],w,null,G,q,R,N,z),ye++)}const We=me?kA(ke):Ko;for(ce=We.length-1,A=Fe-1;A>=0;A--){const Me=Y+A,Ye=L[Me],Qe=Me+1{const{el:q,type:R,transition:N,children:z,shapeFlag:A}=I;if(A&6){re(I.component.subTree,L,w,j);return}if(A&128){I.suspense.move(L,w,j);return}if(A&64){R.move(I,L,w,le);return}if(R===Xt){i(q,L,w);for(let k=0;kN.enter(q),G);else{const{leave:k,delayLeave:U,afterLeave:V}=N,Y=()=>i(q,L,w),he=()=>{k(q,()=>{Y(),V&&V()})};U?U(q,Y,he):he()}else i(q,L,w)},xe=(I,L,w,j=!1,G=!1)=>{const{type:q,props:R,ref:N,children:z,dynamicChildren:A,shapeFlag:C,patchFlag:k,dirs:U,cacheIndex:V}=I;if(k===-2&&(G=!1),N!=null&&sf(N,null,w,I,!0),V!=null&&(L.renderCache[V]=void 0),C&256){L.ctx.deactivate(I);return}const Y=C&1&&U,he=!Qo(I);let ce;if(he&&(ce=R&&R.onVnodeBeforeUnmount)&&Oi(ce,L,I),C&6)ge(I.component,w,j);else{if(C&128){I.suspense.unmount(w,j);return}Y&&xs(I,null,L,"beforeUnmount"),C&64?I.type.remove(I,L,w,le,j):A&&!A.hasOnce&&(q!==Xt||k>0&&k&64)?be(A,L,w,!1,!0):(q===Xt&&k&384||!G&&C&16)&&be(z,L,w),j&&Ve(I)}(he&&(ce=R&&R.onVnodeUnmounted)||Y)&&wn(()=>{ce&&Oi(ce,L,I),Y&&xs(I,null,L,"unmounted")},w)},Ve=I=>{const{type:L,el:w,anchor:j,transition:G}=I;if(L===Xt){se(w,j);return}if(L===zu){v(I);return}const q=()=>{r(w),G&&!G.persisted&&G.afterLeave&&G.afterLeave()};if(I.shapeFlag&1&&G&&!G.persisted){const{leave:R,delayLeave:N}=G,z=()=>R(w,q);N?N(I.el,q,z):z()}else q()},se=(I,L)=>{let w;for(;I!==L;)w=h(I),r(I),I=w;r(L)},ge=(I,L,w)=>{const{bum:j,scope:G,job:q,subTree:R,um:N,m:z,a:A}=I;q_(z),q_(A),j&&Bu(j),G.stop(),q&&(q.flags|=8,xe(R,I,L,w)),N&&wn(N,L),wn(()=>{I.isUnmounted=!0},L),L&&L.pendingBranch&&!L.isUnmounted&&I.asyncDep&&!I.asyncResolved&&I.suspenseId===L.pendingId&&(L.deps--,L.deps===0&&L.resolve())},be=(I,L,w,j=!1,G=!1,q=0)=>{for(let R=q;R{if(I.shapeFlag&6)return W(I.component.subTree);if(I.shapeFlag&128)return I.suspense.next();const L=h(I.anchor||I.el),w=L&&L[hb];return w?h(w):L};let ae=!1;const ue=(I,L,w)=>{I==null?L._vnode&&xe(L._vnode,null,null,!0):_(L._vnode||null,I,L,null,null,null,w),L._vnode=I,ae||(ae=!0,F_(),lb(),ae=!1)},le={p:_,um:xe,m:re,r:Ve,mt:$,mc:P,pc:Q,pbc:S,n:W,o:n};return{render:ue,hydrate:void 0,createApp:PA(ue)}}function bd({type:n,props:e},t){return t==="svg"&&n==="foreignObject"||t==="mathml"&&n==="annotation-xml"&&e&&e.encoding&&e.encoding.includes("html")?void 0:t}function bs({effect:n,job:e},t){t?(n.flags|=32,e.flags|=4):(n.flags&=-33,e.flags&=-5)}function BA(n,e){return(!n||n&&!n.pendingBranch)&&e&&!e.persisted}function og(n,e,t=!1){const i=n.children,r=e.children;if(Be(i)&&Be(r))for(let s=0;s>1,n[t[a]]0&&(e[i]=t[s-1]),t[s]=i)}}for(s=t.length,o=t[s-1];s-- >0;)t[s]=o,o=e[o];return t}function kb(n){const e=n.subTree.component;if(e)return e.asyncDep&&!e.asyncResolved?e:kb(e)}function q_(n){if(n)for(let e=0;egn(zA);function sc(n,e){return oc(n,null,e)}function U4(n,e){return oc(n,null,{flush:"post"})}function HA(n,e){return oc(n,null,{flush:"sync"})}function Ge(n,e,t){return oc(n,e,t)}function oc(n,e,t=pt){const{immediate:i,deep:r,flush:s,once:o}=t,a=Zt({},t),l=e&&i||!e&&s!=="post";let c;if(wl){if(s==="sync"){const d=VA();c=d.__watcherHandles||(d.__watcherHandles=[])}else if(!l){const d=()=>{};return d.stop=Vi,d.resume=Vi,d.pause=Vi,d}}const u=tn;a.call=(d,p,_)=>Ci(d,u,p,_);let f=!1;s==="post"?a.scheduler=d=>{wn(d,u&&u.suspense)}:s!=="sync"&&(f=!0,a.scheduler=(d,p)=>{p?d():eg(d)}),a.augmentJob=d=>{e&&(d.flags|=4),f&&(d.flags|=2,u&&(d.id=u.uid,d.i=u))};const h=tA(n,e,a);return wl&&(c?c.push(h):l&&h()),h}function GA(n,e,t){const i=this.proxy,r=It(n)?n.includes(".")?zb(i,n):()=>i[n]:n.bind(i,i);let s;$e(e)?s=e:(s=e.handler,t=e);const o=lc(this),a=oc(r,s.bind(i),t);return o(),a}function zb(n,e){const t=e.split(".");return()=>{let i=n;for(let r=0;r{let u,f=pt,h;return HA(()=>{const d=n[r];zn(u,d)&&(u=d,c())}),{get(){return l(),t.get?t.get(u):u},set(d){const p=t.set?t.set(d):d;if(!zn(p,u)&&!(f!==pt&&zn(d,f)))return;const _=i.vnode.props;_&&(e in _||r in _||s in _)&&(`onUpdate:${e}`in _||`onUpdate:${r}`in _||`onUpdate:${s}`in _)||(u=d,c()),i.emit(`update:${e}`,p),zn(d,p)&&zn(d,f)&&!zn(p,h)&&c(),f=d,h=p}}});return a[Symbol.iterator]=()=>{let l=0;return{next(){return l<2?{value:l++?o||pt:a,done:!1}:{done:!0}}}},a}const Vb=(n,e)=>e==="modelValue"||e==="model-value"?n.modelModifiers:n[`${e}Modifiers`]||n[`${Qn(e)}Modifiers`]||n[`${as(e)}Modifiers`];function WA(n,e,...t){if(n.isUnmounted)return;const i=n.vnode.props||pt;let r=t;const s=e.startsWith("update:"),o=s&&Vb(i,e.slice(7));o&&(o.trim&&(r=t.map(u=>It(u)?u.trim():u)),o.number&&(r=t.map(Qu)));let a,l=i[a=Fu(e)]||i[a=Fu(Qn(e))];!l&&s&&(l=i[a=Fu(as(e))]),l&&Ci(l,n,6,r);const c=i[a+"Once"];if(c){if(!n.emitted)n.emitted={};else if(n.emitted[a])return;n.emitted[a]=!0,Ci(c,n,6,r)}}function Hb(n,e,t=!1){const i=e.emitsCache,r=i.get(n);if(r!==void 0)return r;const s=n.emits;let o={},a=!1;if(!$e(n)){const l=c=>{const u=Hb(c,e,!0);u&&(a=!0,Zt(o,u))};!t&&e.mixins.length&&e.mixins.forEach(l),n.extends&&l(n.extends),n.mixins&&n.mixins.forEach(l)}return!s&&!a?(wt(n)&&i.set(n,null),null):(Be(s)?s.forEach(l=>o[l]=null):Zt(o,s),wt(n)&&i.set(n,o),o)}function _h(n,e){return!n||!sh(e)?!1:(e=e.slice(2).replace(/Once$/,""),yt(n,e[0].toLowerCase()+e.slice(1))||yt(n,as(e))||yt(n,e))}function Y_(n){const{type:e,vnode:t,proxy:i,withProxy:r,propsOptions:[s],slots:o,attrs:a,emit:l,render:c,renderCache:u,props:f,data:h,setupState:d,ctx:p,inheritAttrs:_}=n,g=rf(n);let m,y;try{if(t.shapeFlag&4){const v=r||i,E=v;m=ki(c.call(E,v,u,f,d,h,p)),y=a}else{const v=e;m=ki(v.length>1?v(f,{attrs:a,slots:o,emit:l}):v(f,null)),y=e.props?a:XA(a)}}catch(v){Ja.length=0,ph(v,n,1),m=an(Pn)}let x=m;if(y&&_!==!1){const v=Object.keys(y),{shapeFlag:E}=x;v.length&&E&7&&(s&&v.some(Gm)&&(y=$A(y,s)),x=ts(x,y,!1,!0))}return t.dirs&&(x=ts(x,null,!1,!0),x.dirs=x.dirs?x.dirs.concat(t.dirs):t.dirs),t.transition&&bl(x,t.transition),m=x,rf(g),m}const XA=n=>{let e;for(const t in n)(t==="class"||t==="style"||sh(t))&&((e||(e={}))[t]=n[t]);return e},$A=(n,e)=>{const t={};for(const i in n)(!Gm(i)||!(i.slice(9)in e))&&(t[i]=n[i]);return t};function qA(n,e,t){const{props:i,children:r,component:s}=n,{props:o,children:a,patchFlag:l}=e,c=s.emitsOptions;if(e.dirs||e.transition)return!0;if(t&&l>=0){if(l&1024)return!0;if(l&16)return i?j_(i,o,c):!!o;if(l&8){const u=e.dynamicProps;for(let f=0;fn.__isSuspense;function jA(n,e){e&&e.pendingBranch?Be(n)?e.effects.push(...n):e.effects.push(n):rA(n)}const Xt=Symbol.for("v-fgt"),ac=Symbol.for("v-txt"),Pn=Symbol.for("v-cmt"),zu=Symbol.for("v-stc"),Ja=[];let Kn=null;function ln(n=!1){Ja.push(Kn=n?null:[])}function KA(){Ja.pop(),Kn=Ja[Ja.length-1]||null}let Ml=1;function K_(n,e=!1){Ml+=n,n<0&&Kn&&e&&(Kn.hasOnce=!0)}function Wb(n){return n.dynamicChildren=Ml>0?Kn||Ko:null,KA(),Ml>0&&Kn&&Kn.push(n),n}function ui(n,e,t,i,r,s){return Wb($r(n,e,t,i,r,s,!0))}function El(n,e,t,i,r){return Wb(an(n,e,t,i,r,!0))}function Tl(n){return n?n.__v_isVNode===!0:!1}function Ws(n,e){return n.type===e.type&&n.key===e.key}const Xb=({key:n})=>n??null,Vu=({ref:n,ref_key:e,ref_for:t})=>(typeof n=="number"&&(n=""+n),n!=null?It(n)||Mt(n)||$e(n)?{i:Yt,r:n,k:e,f:!!t}:n:null);function $r(n,e=null,t=null,i=0,r=null,s=n===Xt?0:1,o=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:n,props:e,key:e&&Xb(e),ref:e&&Vu(e),scopeId:ub,slotScopeIds:null,children:t,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:i,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:Yt};return a?(ag(l,t),s&128&&n.normalize(l)):t&&(l.shapeFlag|=It(t)?8:16),Ml>0&&!o&&Kn&&(l.patchFlag>0||s&6)&&l.patchFlag!==32&&Kn.push(l),l}const an=ZA;function ZA(n,e=null,t=null,i=0,r=null,s=!1){if((!n||n===Mb)&&(n=Pn),Tl(n)){const a=ts(n,e,!0);return t&&ag(a,t),Ml>0&&!s&&Kn&&(a.shapeFlag&6?Kn[Kn.indexOf(n)]=a:Kn.push(a)),a.patchFlag=-2,a}if(c1(n)&&(n=n.__vccOpts),e){e=JA(e);let{class:a,style:l}=e;a&&!It(a)&&(e.class=ga(a)),wt(l)&&(Zm(l)&&!Be(l)&&(l=Zt({},l)),e.style=mi(l))}const o=It(n)?1:Gb(n)?128:db(n)?64:wt(n)?4:$e(n)?2:0;return $r(n,e,t,i,r,o,s,!0)}function JA(n){return n?Zm(n)||Ib(n)?Zt({},n):n:null}function ts(n,e,t=!1,i=!1){const{props:r,ref:s,patchFlag:o,children:a,transition:l}=n,c=e?t1(r||{},e):r,u={__v_isVNode:!0,__v_skip:!0,type:n.type,props:c,key:c&&Xb(c),ref:e&&e.ref?t&&s?Be(s)?s.concat(Vu(e)):[s,Vu(e)]:Vu(e):s,scopeId:n.scopeId,slotScopeIds:n.slotScopeIds,children:a,target:n.target,targetStart:n.targetStart,targetAnchor:n.targetAnchor,staticCount:n.staticCount,shapeFlag:n.shapeFlag,patchFlag:e&&n.type!==Xt?o===-1?16:o|16:o,dynamicProps:n.dynamicProps,dynamicChildren:n.dynamicChildren,appContext:n.appContext,dirs:n.dirs,transition:l,component:n.component,suspense:n.suspense,ssContent:n.ssContent&&ts(n.ssContent),ssFallback:n.ssFallback&&ts(n.ssFallback),el:n.el,anchor:n.anchor,ctx:n.ctx,ce:n.ce};return l&&i&&bl(u,l.clone(u)),u}function QA(n=" ",e=0){return an(ac,null,n,e)}function e1(n,e){const t=an(zu,null,n);return t.staticCount=e,t}function Z_(n="",e=!1){return e?(ln(),El(Pn,null,n)):an(Pn,null,n)}function ki(n){return n==null||typeof n=="boolean"?an(Pn):Be(n)?an(Xt,null,n.slice()):Tl(n)?qr(n):an(ac,null,String(n))}function qr(n){return n.el===null&&n.patchFlag!==-1||n.memo?n:ts(n)}function ag(n,e){let t=0;const{shapeFlag:i}=n;if(e==null)e=null;else if(Be(e))t=16;else if(typeof e=="object")if(i&65){const r=e.default;r&&(r._c&&(r._d=!1),ag(n,r()),r._c&&(r._d=!0));return}else{t=32;const r=e._;!r&&!Ib(e)?e._ctx=Yt:r===3&&Yt&&(Yt.slots._===1?e._=1:(e._=2,n.patchFlag|=1024))}else $e(e)?(e={default:e,_ctx:Yt},t=32):(e=String(e),i&64?(t=16,e=[QA(e)]):t=8);n.children=e,n.shapeFlag|=t}function t1(...n){const e={};for(let t=0;ttn||Yt;let af,Gp;{const n=lh(),e=(t,i)=>{let r;return(r=n[t])||(r=n[t]=[]),r.push(i),s=>{r.length>1?r.forEach(o=>o(s)):r[0](s)}};af=e("__VUE_INSTANCE_SETTERS__",t=>tn=t),Gp=e("__VUE_SSR_SETTERS__",t=>wl=t)}const lc=n=>{const e=tn;return af(n),n.scope.on(),()=>{n.scope.off(),af(e)}},J_=()=>{tn&&tn.scope.off(),af(null)};function $b(n){return n.vnode.shapeFlag&4}let wl=!1;function s1(n,e=!1,t=!1){e&&Gp(e);const{props:i,children:r}=n.vnode,s=$b(n);IA(n,i,s,e),NA(n,r,t);const o=s?o1(n,e):void 0;return e&&Gp(!1),o}function o1(n,e){const t=n.type;n.accessCache=Object.create(null),n.proxy=new Proxy(n.ctx,MA);const{setup:i}=t;if(i){ls();const r=n.setupContext=i.length>1?Yb(n):null,s=lc(n),o=ic(i,n,0,[n.props,r]),a=Px(o);if(cs(),s(),(a||n.sp)&&!Qo(n)&&bb(n),a){if(o.then(J_,J_),e)return o.then(l=>{Q_(n,l)}).catch(l=>{ph(l,n,0)});n.asyncDep=o}else Q_(n,o)}else qb(n)}function Q_(n,e,t){$e(e)?n.type.__ssrInlineRender?n.ssrRender=e:n.render=e:wt(e)&&(n.setupState=nb(e)),qb(n)}function qb(n,e,t){const i=n.type;n.render||(n.render=i.render||Vi);{const r=lc(n);ls();try{EA(n)}finally{cs(),r()}}}const a1={get(n,e){return pn(n,"get",""),n[e]}};function Yb(n){const e=t=>{n.exposed=t||{}};return{attrs:new Proxy(n.attrs,a1),slots:n.slots,emit:n.emit,expose:e}}function vh(n){return n.exposed?n.exposeProxy||(n.exposeProxy=new Proxy(nb(Jm(n.exposed)),{get(e,t){if(t in e)return e[t];if(t in Za)return Za[t](n)},has(e,t){return t in e||t in Za}})):n.proxy}function l1(n,e=!0){return $e(n)?n.displayName||n.name:n.name||e&&n.__name}function c1(n){return $e(n)&&"__vccOpts"in n}const Se=(n,e)=>Qw(n,e,wl);function Mr(n,e,t){const i=arguments.length;return i===2?wt(e)&&!Be(e)?Tl(e)?an(n,null,[e]):an(n,e):an(n,null,e):(i>3?t=Array.prototype.slice.call(arguments,2):i===3&&Tl(t)&&(t=[t]),an(n,e,t))}const u1="3.5.13";/** +**/function ic(n,e,t,i){try{return i?n(...i):n()}catch(r){ph(r,e,t)}}function Ci(n,e,t,i){if($e(n)){const r=ic(n,e,t,i);return r&&Px(r)&&r.catch(s=>{ph(s,e,t)}),r}if(Be(n)){const r=[];for(let s=0;s>>1,r=Rn[i],s=xl(r);s=xl(t)?Rn.push(n):Rn.splice(iA(e),0,n),n.flags|=1,ab()}}function ab(){nf||(nf=ob.then(cb))}function rA(n){Be(n)?Jo.push(...n):Wr&&n.id===-1?Wr.splice(zo+1,0,n):n.flags&1||(Jo.push(n),n.flags|=1),ab()}function F_(n,e,t=Ui+1){for(;txl(t)-xl(i));if(Jo.length=0,Wr){Wr.push(...e);return}for(Wr=e,zo=0;zon.id==null?n.flags&2?-1:1/0:n.id;function cb(n){try{for(Ui=0;Ui{i._d&&K_(-1);const s=rf(e);let o;try{o=n(...r)}finally{rf(s),i._d&&K_(1)}return o};return i._n=!0,i._c=!0,i._d=!0,i}function A4(n,e){if(Yt===null)return n;const t=vh(Yt),i=n.dirs||(n.dirs=[]);for(let r=0;rn.__isTeleport,Ka=n=>n&&(n.disabled||n.disabled===""),B_=n=>n&&(n.defer||n.defer===""),k_=n=>typeof SVGElement<"u"&&n instanceof SVGElement,V_=n=>typeof MathMLElement=="function"&&n instanceof MathMLElement,Fp=(n,e)=>{const t=n&&n.to;return Lt(t)?e?e(t):null:t},pb={name:"Teleport",__isTeleport:!0,process(n,e,t,i,r,s,o,a,l,c){const{mc:u,pc:f,pbc:h,o:{insert:d,querySelector:p,createText:_,createComment:g}}=c,m=Ka(e.props);let{shapeFlag:y,children:x,dynamicChildren:v}=e;if(n==null){const E=e.el=_(""),T=e.anchor=_("");d(E,t,i),d(T,t,i);const M=(b,S)=>{y&16&&(r&&r.isCE&&(r.ce._teleportTarget=b),u(x,b,S,r,s,o,a,l))},P=()=>{const b=e.target=Fp(e.props,p),S=mb(b,e,_,d);b&&(o!=="svg"&&k_(b)?o="svg":o!=="mathml"&&V_(b)&&(o="mathml"),m||(M(b,S),ku(e,!1)))};m&&(M(t,T),ku(e,!0)),B_(e.props)?wn(()=>{P(),e.el.__isMounted=!0},s):P()}else{if(B_(e.props)&&!n.el.__isMounted){wn(()=>{pb.process(n,e,t,i,r,s,o,a,l,c),delete n.el.__isMounted},s);return}e.el=n.el,e.targetStart=n.targetStart;const E=e.anchor=n.anchor,T=e.target=n.target,M=e.targetAnchor=n.targetAnchor,P=Ka(n.props),b=P?t:T,S=P?E:M;if(o==="svg"||k_(T)?o="svg":(o==="mathml"||V_(T))&&(o="mathml"),v?(h(n.dynamicChildren,v,b,r,s,o,a),og(n,e,!0)):l||f(n,e,b,S,r,s,o,a,!1),m)P?e.props&&n.props&&e.props.to!==n.props.to&&(e.props.to=n.props.to):Lc(e,t,E,c,1);else if((e.props&&e.props.to)!==(n.props&&n.props.to)){const D=e.target=Fp(e.props,p);D&&Lc(e,D,null,c,0)}else P&&Lc(e,T,M,c,1);ku(e,m)}},remove(n,e,t,{um:i,o:{remove:r}},s){const{shapeFlag:o,children:a,anchor:l,targetStart:c,targetAnchor:u,target:f,props:h}=n;if(f&&(r(c),r(u)),s&&r(l),o&16){const d=s||!Ka(h);for(let p=0;p{n.isMounted=!0}),tg(()=>{n.isUnmounting=!0}),n}const ri=[Function,Array],gb={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:ri,onEnter:ri,onAfterEnter:ri,onEnterCancelled:ri,onBeforeLeave:ri,onLeave:ri,onAfterLeave:ri,onLeaveCancelled:ri,onBeforeAppear:ri,onAppear:ri,onAfterAppear:ri,onAppearCancelled:ri},_b=n=>{const e=n.subTree;return e.component?_b(e.component):e},aA={name:"BaseTransition",props:gb,setup(n,{slots:e}){const t=vn(),i=oA();return()=>{const r=e.default&&xb(e.default(),!0);if(!r||!r.length)return;const s=vb(r),o=ot(n),{mode:a}=o;if(i.isLeaving)return yd(s);const l=z_(s);if(!l)return yd(s);let c=Bp(l,o,i,t,f=>c=f);l.type!==Pn&&bl(l,c);let u=t.subTree&&z_(t.subTree);if(u&&u.type!==Pn&&!Ws(l,u)&&_b(t).type!==Pn){let f=Bp(u,o,i,t);if(bl(u,f),a==="out-in"&&l.type!==Pn)return i.isLeaving=!0,f.afterLeave=()=>{i.isLeaving=!1,t.job.flags&8||t.update(),delete f.afterLeave,u=void 0},yd(s);a==="in-out"&&l.type!==Pn?f.delayLeave=(h,d,p)=>{const _=yb(i,u);_[String(u.key)]=u,h[Xr]=()=>{d(),h[Xr]=void 0,delete c.delayedLeave,u=void 0},c.delayedLeave=()=>{p(),delete c.delayedLeave,u=void 0}}:u=void 0}else u&&(u=void 0);return s}}};function vb(n){let e=n[0];if(n.length>1){for(const t of n)if(t.type!==Pn){e=t;break}}return e}const lA=aA;function yb(n,e){const{leavingVNodes:t}=n;let i=t.get(e.type);return i||(i=Object.create(null),t.set(e.type,i)),i}function Bp(n,e,t,i,r){const{appear:s,mode:o,persisted:a=!1,onBeforeEnter:l,onEnter:c,onAfterEnter:u,onEnterCancelled:f,onBeforeLeave:h,onLeave:d,onAfterLeave:p,onLeaveCancelled:_,onBeforeAppear:g,onAppear:m,onAfterAppear:y,onAppearCancelled:x}=e,v=String(n.key),E=yb(t,n),T=(b,S)=>{b&&Ci(b,i,9,S)},M=(b,S)=>{const D=S[1];T(b,S),Be(b)?b.every(B=>B.length<=1)&&D():b.length<=1&&D()},P={mode:o,persisted:a,beforeEnter(b){let S=l;if(!t.isMounted)if(s)S=g||l;else return;b[Xr]&&b[Xr](!0);const D=E[v];D&&Ws(n,D)&&D.el[Xr]&&D.el[Xr](),T(S,[b])},enter(b){let S=c,D=u,B=f;if(!t.isMounted)if(s)S=m||c,D=y||u,B=x||f;else return;let H=!1;const $=b[Dc]=ee=>{H||(H=!0,ee?T(B,[b]):T(D,[b]),P.delayedLeave&&P.delayedLeave(),b[Dc]=void 0)};S?M(S,[b,$]):$()},leave(b,S){const D=String(n.key);if(b[Dc]&&b[Dc](!0),t.isUnmounting)return S();T(h,[b]);let B=!1;const H=b[Xr]=$=>{B||(B=!0,S(),$?T(_,[b]):T(p,[b]),b[Xr]=void 0,E[D]===n&&delete E[D])};E[D]=n,d?M(d,[b,H]):H()},clone(b){const S=Bp(b,e,t,i,r);return r&&r(S),S}};return P}function yd(n){if(mh(n))return n=ts(n),n.children=null,n}function z_(n){if(!mh(n))return db(n.type)&&n.children?vb(n.children):n;const{shapeFlag:e,children:t}=n;if(t){if(e&16)return t[0];if(e&32&&$e(t.default))return t.default()}}function bl(n,e){n.shapeFlag&6&&n.component?(n.transition=e,bl(n.component.subTree,e)):n.shapeFlag&128?(n.ssContent.transition=e.clone(n.ssContent),n.ssFallback.transition=e.clone(n.ssFallback)):n.transition=e}function xb(n,e=!1,t){let i=[],r=0;for(let s=0;s1)for(let s=0;ssf(p,e&&(Be(e)?e[_]:e),t,i,r));return}if(Qo(i)&&!r){i.shapeFlag&512&&i.type.__asyncResolved&&i.component.subTree.component&&sf(n,e,t,i.component.subTree);return}const s=i.shapeFlag&4?vh(i.component):i.el,o=r?null:s,{i:a,r:l}=n,c=e&&e.r,u=a.refs===pt?a.refs={}:a.refs,f=a.setupState,h=ot(f),d=f===pt?()=>!1:p=>xt(h,p);if(c!=null&&c!==l&&(Lt(c)?(u[c]=null,d(c)&&(f[c]=null)):wt(c)&&(c.value=null)),$e(l))ic(l,a,12,[o,u]);else{const p=Lt(l),_=wt(l);if(p||_){const g=()=>{if(n.f){const m=p?d(l)?f[l]:u[l]:l.value;r?Be(m)&&Wm(m,s):Be(m)?m.includes(s)||m.push(s):p?(u[l]=[s],d(l)&&(f[l]=u[l])):(l.value=[s],n.k&&(u[n.k]=l.value))}else p?(u[l]=o,d(l)&&(f[l]=o)):_&&(l.value=o,n.k&&(u[n.k]=o))};o?(g.id=-1,wn(g,t)):g()}}}lh().requestIdleCallback;lh().cancelIdleCallback;const Qo=n=>!!n.type.__asyncLoader,mh=n=>n.type.__isKeepAlive;function cA(n,e){Sb(n,"a",e)}function uA(n,e){Sb(n,"da",e)}function Sb(n,e,t=tn){const i=n.__wdc||(n.__wdc=()=>{let r=t;for(;r;){if(r.isDeactivated)return;r=r.parent}return n()});if(gh(e,i,t),t){let r=t.parent;for(;r&&r.parent;)mh(r.parent.vnode)&&fA(i,e,t,r),r=r.parent}}function fA(n,e,t,i){const r=gh(e,n,i,!0);$i(()=>{Wm(i[e],r)},t)}function gh(n,e,t=tn,i=!1){if(t){const r=t[n]||(t[n]=[]),s=e.__weh||(e.__weh=(...o)=>{ls();const a=lc(t),l=Ci(e,t,n,o);return a(),cs(),l});return i?r.unshift(s):r.push(s),s}}const Rr=n=>(e,t=tn)=>{(!wl||n==="sp")&&gh(n,(...i)=>e(...i),t)},hA=Rr("bm"),yn=Rr("m"),dA=Rr("bu"),pA=Rr("u"),tg=Rr("bum"),$i=Rr("um"),mA=Rr("sp"),gA=Rr("rtg"),_A=Rr("rtc");function vA(n,e=tn){gh("ec",n,e)}const ng="components",yA="directives";function P4(n,e){return ig(ng,n,!0,e)||n}const Mb=Symbol.for("v-ndc");function xA(n){return Lt(n)?ig(ng,n,!1)||n:n||Mb}function I4(n){return ig(yA,n)}function ig(n,e,t=!0,i=!1){const r=Yt||tn;if(r){const s=r.type;if(n===ng){const a=l1(s,!1);if(a&&(a===e||a===Qn(e)||a===ah(Qn(e))))return s}const o=H_(r[n]||s[n],e)||H_(r.appContext[n],e);return!o&&i?s:o}}function H_(n,e){return n&&(n[e]||n[Qn(e)]||n[ah(Qn(e))])}function bA(n,e,t,i){let r;const s=t,o=Be(n);if(o||Lt(n)){const a=o&&yr(n);let l=!1;a&&(l=!ci(n),n=fh(n)),r=new Array(n.length);for(let c=0,u=n.length;ce(a,l,void 0,s));else{const a=Object.keys(n);r=new Array(a.length);for(let l=0,c=a.length;lTl(e)?!(e.type===Pn||e.type===Xt&&!Eb(e.children)):!0)?n:null}function L4(n,e){const t={};for(const i in n)t[Fu(i)]=n[i];return t}const kp=n=>n?$b(n)?vh(n):kp(n.parent):null,Za=Zt(Object.create(null),{$:n=>n,$el:n=>n.vnode.el,$data:n=>n.data,$props:n=>n.props,$attrs:n=>n.attrs,$slots:n=>n.slots,$refs:n=>n.refs,$parent:n=>kp(n.parent),$root:n=>kp(n.root),$host:n=>n.ce,$emit:n=>n.emit,$options:n=>Ab(n),$forceUpdate:n=>n.f||(n.f=()=>{eg(n.update)}),$nextTick:n=>n.n||(n.n=us.bind(n.proxy)),$watch:n=>GA.bind(n)}),xd=(n,e)=>n!==pt&&!n.__isScriptSetup&&xt(n,e),MA={get({_:n},e){if(e==="__v_skip")return!0;const{ctx:t,setupState:i,data:r,props:s,accessCache:o,type:a,appContext:l}=n;let c;if(e[0]!=="$"){const d=o[e];if(d!==void 0)switch(d){case 1:return i[e];case 2:return r[e];case 4:return t[e];case 3:return s[e]}else{if(xd(i,e))return o[e]=1,i[e];if(r!==pt&&xt(r,e))return o[e]=2,r[e];if((c=n.propsOptions[0])&&xt(c,e))return o[e]=3,s[e];if(t!==pt&&xt(t,e))return o[e]=4,t[e];Vp&&(o[e]=0)}}const u=Za[e];let f,h;if(u)return e==="$attrs"&&pn(n.attrs,"get",""),u(n);if((f=a.__cssModules)&&(f=f[e]))return f;if(t!==pt&&xt(t,e))return o[e]=4,t[e];if(h=l.config.globalProperties,xt(h,e))return h[e]},set({_:n},e,t){const{data:i,setupState:r,ctx:s}=n;return xd(r,e)?(r[e]=t,!0):i!==pt&&xt(i,e)?(i[e]=t,!0):xt(n.props,e)||e[0]==="$"&&e.slice(1)in n?!1:(s[e]=t,!0)},has({_:{data:n,setupState:e,accessCache:t,ctx:i,appContext:r,propsOptions:s}},o){let a;return!!t[o]||n!==pt&&xt(n,o)||xd(e,o)||(a=s[0])&&xt(a,o)||xt(i,o)||xt(Za,o)||xt(r.config.globalProperties,o)},defineProperty(n,e,t){return t.get!=null?n._.accessCache[e]=0:xt(t,"value")&&this.set(n,e,t.value,null),Reflect.defineProperty(n,e,t)}};function rg(){return Tb().slots}function D4(){return Tb().attrs}function Tb(){const n=vn();return n.setupContext||(n.setupContext=Yb(n))}function Sl(n){return Be(n)?n.reduce((e,t)=>(e[t]=null,e),{}):n}function O4(n,e){const t=Sl(n);for(const i in e){if(i.startsWith("__skip"))continue;let r=t[i];r?Be(r)||$e(r)?r=t[i]={type:r,default:e[i]}:r.default=e[i]:r===null&&(r=t[i]={default:e[i]}),r&&e[`__skip_${i}`]&&(r.skipFactory=!0)}return t}function N4(n,e){return!n||!e?n||e:Be(n)&&Be(e)?n.concat(e):Zt({},Sl(n),Sl(e))}let Vp=!0;function EA(n){const e=Ab(n),t=n.proxy,i=n.ctx;Vp=!1,e.beforeCreate&&G_(e.beforeCreate,n,"bc");const{data:r,computed:s,methods:o,watch:a,provide:l,inject:c,created:u,beforeMount:f,mounted:h,beforeUpdate:d,updated:p,activated:_,deactivated:g,beforeDestroy:m,beforeUnmount:y,destroyed:x,unmounted:v,render:E,renderTracked:T,renderTriggered:M,errorCaptured:P,serverPrefetch:b,expose:S,inheritAttrs:D,components:B,directives:H,filters:$}=e;if(c&&TA(c,i,null),o)for(const te in o){const Q=o[te];$e(Q)&&(i[te]=Q.bind(t))}if(r){const te=r.call(t,t);At(te)&&(n.data=hi(te))}if(Vp=!0,s)for(const te in s){const Q=s[te],pe=$e(Q)?Q.bind(t,t):$e(Q.get)?Q.get.bind(t,t):zi,ve=!$e(Q)&&$e(Q.set)?Q.set.bind(t):zi,re=Se({get:pe,set:ve});Object.defineProperty(i,te,{enumerable:!0,configurable:!0,get:()=>re.value,set:xe=>re.value=xe})}if(a)for(const te in a)wb(a[te],i,t,te);if(l){const te=$e(l)?l.call(t):l;Reflect.ownKeys(te).forEach(Q=>{es(Q,te[Q])})}u&&G_(u,n,"c");function Z(te,Q){Be(Q)?Q.forEach(pe=>te(pe.bind(t))):Q&&te(Q.bind(t))}if(Z(hA,f),Z(yn,h),Z(dA,d),Z(pA,p),Z(cA,_),Z(uA,g),Z(vA,P),Z(_A,T),Z(gA,M),Z(tg,y),Z($i,v),Z(mA,b),Be(S))if(S.length){const te=n.exposed||(n.exposed={});S.forEach(Q=>{Object.defineProperty(te,Q,{get:()=>t[Q],set:pe=>t[Q]=pe})})}else n.exposed||(n.exposed={});E&&n.render===zi&&(n.render=E),D!=null&&(n.inheritAttrs=D),B&&(n.components=B),H&&(n.directives=H),b&&bb(n)}function TA(n,e,t=zi){Be(n)&&(n=zp(n));for(const i in n){const r=n[i];let s;At(r)?"default"in r?s=gn(r.from||i,r.default,!0):s=gn(r.from||i):s=gn(r),wt(s)?Object.defineProperty(e,i,{enumerable:!0,configurable:!0,get:()=>s.value,set:o=>s.value=o}):e[i]=s}}function G_(n,e,t){Ci(Be(n)?n.map(i=>i.bind(e.proxy)):n.bind(e.proxy),e,t)}function wb(n,e,t,i){let r=i.includes(".")?Vb(t,i):()=>t[i];if(Lt(n)){const s=e[n];$e(s)&&Ge(r,s)}else if($e(n))Ge(r,n.bind(t));else if(At(n))if(Be(n))n.forEach(s=>wb(s,e,t,i));else{const s=$e(n.handler)?n.handler.bind(t):e[n.handler];$e(s)&&Ge(r,s,n)}}function Ab(n){const e=n.type,{mixins:t,extends:i}=e,{mixins:r,optionsCache:s,config:{optionMergeStrategies:o}}=n.appContext,a=s.get(e);let l;return a?l=a:!r.length&&!t&&!i?l=e:(l={},r.length&&r.forEach(c=>of(l,c,o,!0)),of(l,e,o)),At(e)&&s.set(e,l),l}function of(n,e,t,i=!1){const{mixins:r,extends:s}=e;s&&of(n,s,t,!0),r&&r.forEach(o=>of(n,o,t,!0));for(const o in e)if(!(i&&o==="expose")){const a=wA[o]||t&&t[o];n[o]=a?a(n[o],e[o]):e[o]}return n}const wA={data:W_,props:X_,emits:X_,methods:Ga,computed:Ga,beforeCreate:Mn,created:Mn,beforeMount:Mn,mounted:Mn,beforeUpdate:Mn,updated:Mn,beforeDestroy:Mn,beforeUnmount:Mn,destroyed:Mn,unmounted:Mn,activated:Mn,deactivated:Mn,errorCaptured:Mn,serverPrefetch:Mn,components:Ga,directives:Ga,watch:CA,provide:W_,inject:AA};function W_(n,e){return e?n?function(){return Zt($e(n)?n.call(this,this):n,$e(e)?e.call(this,this):e)}:e:n}function AA(n,e){return Ga(zp(n),zp(e))}function zp(n){if(Be(n)){const e={};for(let t=0;t1)return t&&$e(e)?e.call(i&&i.proxy):e}}function rc(){return!!(tn||Yt||Qs)}const Rb={},Pb=()=>Object.create(Rb),Ib=n=>Object.getPrototypeOf(n)===Rb;function IA(n,e,t,i=!1){const r={},s=Pb();n.propsDefaults=Object.create(null),Lb(n,e,r,s);for(const o in n.propsOptions[0])o in r||(r[o]=void 0);t?n.props=i?r:eb(r):n.type.props?n.props=r:n.props=s,n.attrs=s}function LA(n,e,t,i){const{props:r,attrs:s,vnode:{patchFlag:o}}=n,a=ot(r),[l]=n.propsOptions;let c=!1;if((i||o>0)&&!(o&16)){if(o&8){const u=n.vnode.dynamicProps;for(let f=0;f{l=!0;const[h,d]=Db(f,e,!0);Zt(o,h),d&&a.push(...d)};!t&&e.mixins.length&&e.mixins.forEach(u),n.extends&&u(n.extends),n.mixins&&n.mixins.forEach(u)}if(!s&&!l)return At(n)&&i.set(n,Ko),Ko;if(Be(s))for(let u=0;un[0]==="_"||n==="$stable",sg=n=>Be(n)?n.map(ki):[ki(n)],OA=(n,e,t)=>{if(e._n)return e;const i=fb((...r)=>sg(e(...r)),t);return i._c=!1,i},Nb=(n,e,t)=>{const i=n._ctx;for(const r in n){if(Ob(r))continue;const s=n[r];if($e(s))e[r]=OA(r,s,i);else if(s!=null){const o=sg(s);e[r]=()=>o}}},Ub=(n,e)=>{const t=sg(e);n.slots.default=()=>t},Fb=(n,e,t)=>{for(const i in e)(t||i!=="_")&&(n[i]=e[i])},NA=(n,e,t)=>{const i=n.slots=Pb();if(n.vnode.shapeFlag&32){const r=e._;r?(Fb(i,e,t),t&&Dx(i,"_",r,!0)):Nb(e,i)}else e&&Ub(n,e)},UA=(n,e,t)=>{const{vnode:i,slots:r}=n;let s=!0,o=pt;if(i.shapeFlag&32){const a=e._;a?t&&a===1?s=!1:Fb(r,e,t):(s=!e.$stable,Nb(e,r)),o=e}else e&&(Ub(n,e),o={default:1});if(s)for(const a in r)!Ob(a)&&o[a]==null&&delete r[a]},wn=jA;function Bb(n){return FA(n)}function FA(n,e){const t=lh();t.__VUE__=!0;const{insert:i,remove:r,patchProp:s,createElement:o,createText:a,createComment:l,setText:c,setElementText:u,parentNode:f,nextSibling:h,setScopeId:d=zi,insertStaticContent:p}=n,_=(I,L,w,j=null,G=null,q=null,R=void 0,N=null,V=!!L.dynamicChildren)=>{if(I===L)return;I&&!Ws(I,L)&&(j=W(I),xe(I,G,q,!0),I=null),L.patchFlag===-2&&(V=!1,L.dynamicChildren=null);const{type:A,ref:C,shapeFlag:k}=L;switch(A){case ac:g(I,L,w,j);break;case Pn:m(I,L,w,j);break;case Vu:I==null&&y(L,w,j,R);break;case Xt:B(I,L,w,j,G,q,R,N,V);break;default:k&1?E(I,L,w,j,G,q,R,N,V):k&6?H(I,L,w,j,G,q,R,N,V):(k&64||k&128)&&A.process(I,L,w,j,G,q,R,N,V,le)}C!=null&&G&&sf(C,I&&I.ref,q,L||I,!L)},g=(I,L,w,j)=>{if(I==null)i(L.el=a(L.children),w,j);else{const G=L.el=I.el;L.children!==I.children&&c(G,L.children)}},m=(I,L,w,j)=>{I==null?i(L.el=l(L.children||""),w,j):L.el=I.el},y=(I,L,w,j)=>{[I.el,I.anchor]=p(I.children,L,w,j,I.el,I.anchor)},x=({el:I,anchor:L},w,j)=>{let G;for(;I&&I!==L;)G=h(I),i(I,w,j),I=G;i(L,w,j)},v=({el:I,anchor:L})=>{let w;for(;I&&I!==L;)w=h(I),r(I),I=w;r(L)},E=(I,L,w,j,G,q,R,N,V)=>{L.type==="svg"?R="svg":L.type==="math"&&(R="mathml"),I==null?T(L,w,j,G,q,R,N,V):b(I,L,G,q,R,N,V)},T=(I,L,w,j,G,q,R,N)=>{let V,A;const{props:C,shapeFlag:k,transition:U,dirs:z}=I;if(V=I.el=o(I.type,q,C&&C.is,C),k&8?u(V,I.children):k&16&&P(I.children,V,null,j,G,bd(I,q),R,N),z&&xs(I,null,j,"created"),M(V,I,I.scopeId,R,j),C){for(const he in C)he!=="value"&&!qa(he)&&s(V,he,null,C[he],q,j);"value"in C&&s(V,"value",null,C.value,q),(A=C.onVnodeBeforeMount)&&Oi(A,j,I)}z&&xs(I,null,j,"beforeMount");const Y=BA(G,U);Y&&U.beforeEnter(V),i(V,L,w),((A=C&&C.onVnodeMounted)||Y||z)&&wn(()=>{A&&Oi(A,j,I),Y&&U.enter(V),z&&xs(I,null,j,"mounted")},G)},M=(I,L,w,j,G)=>{if(w&&d(I,w),j)for(let q=0;q{for(let A=V;A{const N=L.el=I.el;let{patchFlag:V,dynamicChildren:A,dirs:C}=L;V|=I.patchFlag&16;const k=I.props||pt,U=L.props||pt;let z;if(w&&bs(w,!1),(z=U.onVnodeBeforeUpdate)&&Oi(z,w,L,I),C&&xs(L,I,w,"beforeUpdate"),w&&bs(w,!0),(k.innerHTML&&U.innerHTML==null||k.textContent&&U.textContent==null)&&u(N,""),A?S(I.dynamicChildren,A,N,w,j,bd(L,G),q):R||Q(I,L,N,null,w,j,bd(L,G),q,!1),V>0){if(V&16)D(N,k,U,w,G);else if(V&2&&k.class!==U.class&&s(N,"class",null,U.class,G),V&4&&s(N,"style",k.style,U.style,G),V&8){const Y=L.dynamicProps;for(let he=0;he{z&&Oi(z,w,L,I),C&&xs(L,I,w,"updated")},j)},S=(I,L,w,j,G,q,R)=>{for(let N=0;N{if(L!==w){if(L!==pt)for(const q in L)!qa(q)&&!(q in w)&&s(I,q,L[q],null,G,j);for(const q in w){if(qa(q))continue;const R=w[q],N=L[q];R!==N&&q!=="value"&&s(I,q,N,R,G,j)}"value"in w&&s(I,"value",L.value,w.value,G)}},B=(I,L,w,j,G,q,R,N,V)=>{const A=L.el=I?I.el:a(""),C=L.anchor=I?I.anchor:a("");let{patchFlag:k,dynamicChildren:U,slotScopeIds:z}=L;z&&(N=N?N.concat(z):z),I==null?(i(A,w,j),i(C,w,j),P(L.children||[],w,C,G,q,R,N,V)):k>0&&k&64&&U&&I.dynamicChildren?(S(I.dynamicChildren,U,w,G,q,R,N),(L.key!=null||G&&L===G.subTree)&&og(I,L,!0)):Q(I,L,w,C,G,q,R,N,V)},H=(I,L,w,j,G,q,R,N,V)=>{L.slotScopeIds=N,I==null?L.shapeFlag&512?G.ctx.activate(L,w,j,R,V):$(L,w,j,G,q,R,V):ee(I,L,V)},$=(I,L,w,j,G,q,R)=>{const N=I.component=r1(I,j,G);if(mh(I)&&(N.ctx.renderer=le),s1(N,!1,R),N.asyncDep){if(G&&G.registerDep(N,Z,R),!I.el){const V=N.subTree=an(Pn);m(null,V,L,w)}}else Z(N,I,L,w,G,q,R)},ee=(I,L,w)=>{const j=L.component=I.component;if(qA(I,L,w))if(j.asyncDep&&!j.asyncResolved){te(j,L,w);return}else j.next=L,j.update();else L.el=I.el,j.vnode=L},Z=(I,L,w,j,G,q,R)=>{const N=()=>{if(I.isMounted){let{next:k,bu:U,u:z,parent:Y,vnode:he}=I;{const Te=kb(I);if(Te){k&&(k.el=he.el,te(I,k,R)),Te.asyncDep.then(()=>{I.isUnmounted||N()});return}}let ce=k,ye;bs(I,!1),k?(k.el=he.el,te(I,k,R)):k=he,U&&Bu(U),(ye=k.props&&k.props.onVnodeBeforeUpdate)&&Oi(ye,Y,k,he),bs(I,!0);const Fe=Y_(I),me=I.subTree;I.subTree=Fe,_(me,Fe,f(me.el),W(me),I,G,q),k.el=Fe.el,ce===null&&YA(I,Fe.el),z&&wn(z,G),(ye=k.props&&k.props.onVnodeUpdated)&&wn(()=>Oi(ye,Y,k,he),G)}else{let k;const{el:U,props:z}=L,{bm:Y,m:he,parent:ce,root:ye,type:Fe}=I,me=Qo(L);bs(I,!1),Y&&Bu(Y),!me&&(k=z&&z.onVnodeBeforeMount)&&Oi(k,ce,L),bs(I,!0);{ye.ce&&ye.ce._injectChildStyle(Fe);const Te=I.subTree=Y_(I);_(null,Te,w,j,I,G,q),L.el=Te.el}if(he&&wn(he,G),!me&&(k=z&&z.onVnodeMounted)){const Te=L;wn(()=>Oi(k,ce,Te),G)}(L.shapeFlag&256||ce&&Qo(ce.vnode)&&ce.vnode.shapeFlag&256)&&I.a&&wn(I.a,G),I.isMounted=!0,L=w=j=null}};I.scope.on();const V=I.effect=new Bx(N);I.scope.off();const A=I.update=V.run.bind(V),C=I.job=V.runIfDirty.bind(V);C.i=I,C.id=I.uid,V.scheduler=()=>eg(C),bs(I,!0),A()},te=(I,L,w)=>{L.component=I;const j=I.vnode.props;I.vnode=L,I.next=null,LA(I,L.props,j,w),UA(I,L.children,w),ls(),F_(I),cs()},Q=(I,L,w,j,G,q,R,N,V=!1)=>{const A=I&&I.children,C=I?I.shapeFlag:0,k=L.children,{patchFlag:U,shapeFlag:z}=L;if(U>0){if(U&128){ve(A,k,w,j,G,q,R,N,V);return}else if(U&256){pe(A,k,w,j,G,q,R,N,V);return}}z&8?(C&16&&be(A,G,q),k!==A&&u(w,k)):C&16?z&16?ve(A,k,w,j,G,q,R,N,V):be(A,G,q,!0):(C&8&&u(w,""),z&16&&P(k,w,j,G,q,R,N,V))},pe=(I,L,w,j,G,q,R,N,V)=>{I=I||Ko,L=L||Ko;const A=I.length,C=L.length,k=Math.min(A,C);let U;for(U=0;UC?be(I,G,q,!0,!1,k):P(L,w,j,G,q,R,N,V,k)},ve=(I,L,w,j,G,q,R,N,V)=>{let A=0;const C=L.length;let k=I.length-1,U=C-1;for(;A<=k&&A<=U;){const z=I[A],Y=L[A]=V?qr(L[A]):ki(L[A]);if(Ws(z,Y))_(z,Y,w,null,G,q,R,N,V);else break;A++}for(;A<=k&&A<=U;){const z=I[k],Y=L[U]=V?qr(L[U]):ki(L[U]);if(Ws(z,Y))_(z,Y,w,null,G,q,R,N,V);else break;k--,U--}if(A>k){if(A<=U){const z=U+1,Y=zU)for(;A<=k;)xe(I[A],G,q,!0),A++;else{const z=A,Y=A,he=new Map;for(A=Y;A<=U;A++){const Me=L[A]=V?qr(L[A]):ki(L[A]);Me.key!=null&&he.set(Me.key,A)}let ce,ye=0;const Fe=U-Y+1;let me=!1,Te=0;const ke=new Array(Fe);for(A=0;A=Fe){xe(Me,G,q,!0);continue}let qe;if(Me.key!=null)qe=he.get(Me.key);else for(ce=Y;ce<=U;ce++)if(ke[ce-Y]===0&&Ws(Me,L[ce])){qe=ce;break}qe===void 0?xe(Me,G,q,!0):(ke[qe-Y]=A+1,qe>=Te?Te=qe:me=!0,_(Me,L[qe],w,null,G,q,R,N,V),ye++)}const We=me?kA(ke):Ko;for(ce=We.length-1,A=Fe-1;A>=0;A--){const Me=Y+A,qe=L[Me],Qe=Me+1{const{el:q,type:R,transition:N,children:V,shapeFlag:A}=I;if(A&6){re(I.component.subTree,L,w,j);return}if(A&128){I.suspense.move(L,w,j);return}if(A&64){R.move(I,L,w,le);return}if(R===Xt){i(q,L,w);for(let k=0;kN.enter(q),G);else{const{leave:k,delayLeave:U,afterLeave:z}=N,Y=()=>i(q,L,w),he=()=>{k(q,()=>{Y(),z&&z()})};U?U(q,Y,he):he()}else i(q,L,w)},xe=(I,L,w,j=!1,G=!1)=>{const{type:q,props:R,ref:N,children:V,dynamicChildren:A,shapeFlag:C,patchFlag:k,dirs:U,cacheIndex:z}=I;if(k===-2&&(G=!1),N!=null&&sf(N,null,w,I,!0),z!=null&&(L.renderCache[z]=void 0),C&256){L.ctx.deactivate(I);return}const Y=C&1&&U,he=!Qo(I);let ce;if(he&&(ce=R&&R.onVnodeBeforeUnmount)&&Oi(ce,L,I),C&6)ge(I.component,w,j);else{if(C&128){I.suspense.unmount(w,j);return}Y&&xs(I,null,L,"beforeUnmount"),C&64?I.type.remove(I,L,w,le,j):A&&!A.hasOnce&&(q!==Xt||k>0&&k&64)?be(A,L,w,!1,!0):(q===Xt&&k&384||!G&&C&16)&&be(V,L,w),j&&ze(I)}(he&&(ce=R&&R.onVnodeUnmounted)||Y)&&wn(()=>{ce&&Oi(ce,L,I),Y&&xs(I,null,L,"unmounted")},w)},ze=I=>{const{type:L,el:w,anchor:j,transition:G}=I;if(L===Xt){se(w,j);return}if(L===Vu){v(I);return}const q=()=>{r(w),G&&!G.persisted&&G.afterLeave&&G.afterLeave()};if(I.shapeFlag&1&&G&&!G.persisted){const{leave:R,delayLeave:N}=G,V=()=>R(w,q);N?N(I.el,q,V):V()}else q()},se=(I,L)=>{let w;for(;I!==L;)w=h(I),r(I),I=w;r(L)},ge=(I,L,w)=>{const{bum:j,scope:G,job:q,subTree:R,um:N,m:V,a:A}=I;q_(V),q_(A),j&&Bu(j),G.stop(),q&&(q.flags|=8,xe(R,I,L,w)),N&&wn(N,L),wn(()=>{I.isUnmounted=!0},L),L&&L.pendingBranch&&!L.isUnmounted&&I.asyncDep&&!I.asyncResolved&&I.suspenseId===L.pendingId&&(L.deps--,L.deps===0&&L.resolve())},be=(I,L,w,j=!1,G=!1,q=0)=>{for(let R=q;R{if(I.shapeFlag&6)return W(I.component.subTree);if(I.shapeFlag&128)return I.suspense.next();const L=h(I.anchor||I.el),w=L&&L[hb];return w?h(w):L};let ae=!1;const ue=(I,L,w)=>{I==null?L._vnode&&xe(L._vnode,null,null,!0):_(L._vnode||null,I,L,null,null,null,w),L._vnode=I,ae||(ae=!0,F_(),lb(),ae=!1)},le={p:_,um:xe,m:re,r:ze,mt:$,mc:P,pc:Q,pbc:S,n:W,o:n};return{render:ue,hydrate:void 0,createApp:PA(ue)}}function bd({type:n,props:e},t){return t==="svg"&&n==="foreignObject"||t==="mathml"&&n==="annotation-xml"&&e&&e.encoding&&e.encoding.includes("html")?void 0:t}function bs({effect:n,job:e},t){t?(n.flags|=32,e.flags|=4):(n.flags&=-33,e.flags&=-5)}function BA(n,e){return(!n||n&&!n.pendingBranch)&&e&&!e.persisted}function og(n,e,t=!1){const i=n.children,r=e.children;if(Be(i)&&Be(r))for(let s=0;s>1,n[t[a]]0&&(e[i]=t[s-1]),t[s]=i)}}for(s=t.length,o=t[s-1];s-- >0;)t[s]=o,o=e[o];return t}function kb(n){const e=n.subTree.component;if(e)return e.asyncDep&&!e.asyncResolved?e:kb(e)}function q_(n){if(n)for(let e=0;egn(VA);function sc(n,e){return oc(n,null,e)}function U4(n,e){return oc(n,null,{flush:"post"})}function HA(n,e){return oc(n,null,{flush:"sync"})}function Ge(n,e,t){return oc(n,e,t)}function oc(n,e,t=pt){const{immediate:i,deep:r,flush:s,once:o}=t,a=Zt({},t),l=e&&i||!e&&s!=="post";let c;if(wl){if(s==="sync"){const d=zA();c=d.__watcherHandles||(d.__watcherHandles=[])}else if(!l){const d=()=>{};return d.stop=zi,d.resume=zi,d.pause=zi,d}}const u=tn;a.call=(d,p,_)=>Ci(d,u,p,_);let f=!1;s==="post"?a.scheduler=d=>{wn(d,u&&u.suspense)}:s!=="sync"&&(f=!0,a.scheduler=(d,p)=>{p?d():eg(d)}),a.augmentJob=d=>{e&&(d.flags|=4),f&&(d.flags|=2,u&&(d.id=u.uid,d.i=u))};const h=tA(n,e,a);return wl&&(c?c.push(h):l&&h()),h}function GA(n,e,t){const i=this.proxy,r=Lt(n)?n.includes(".")?Vb(i,n):()=>i[n]:n.bind(i,i);let s;$e(e)?s=e:(s=e.handler,t=e);const o=lc(this),a=oc(r,s.bind(i),t);return o(),a}function Vb(n,e){const t=e.split(".");return()=>{let i=n;for(let r=0;r{let u,f=pt,h;return HA(()=>{const d=n[r];Vn(u,d)&&(u=d,c())}),{get(){return l(),t.get?t.get(u):u},set(d){const p=t.set?t.set(d):d;if(!Vn(p,u)&&!(f!==pt&&Vn(d,f)))return;const _=i.vnode.props;_&&(e in _||r in _||s in _)&&(`onUpdate:${e}`in _||`onUpdate:${r}`in _||`onUpdate:${s}`in _)||(u=d,c()),i.emit(`update:${e}`,p),Vn(d,p)&&Vn(d,f)&&!Vn(p,h)&&c(),f=d,h=p}}});return a[Symbol.iterator]=()=>{let l=0;return{next(){return l<2?{value:l++?o||pt:a,done:!1}:{done:!0}}}},a}const zb=(n,e)=>e==="modelValue"||e==="model-value"?n.modelModifiers:n[`${e}Modifiers`]||n[`${Qn(e)}Modifiers`]||n[`${as(e)}Modifiers`];function WA(n,e,...t){if(n.isUnmounted)return;const i=n.vnode.props||pt;let r=t;const s=e.startsWith("update:"),o=s&&zb(i,e.slice(7));o&&(o.trim&&(r=t.map(u=>Lt(u)?u.trim():u)),o.number&&(r=t.map(Qu)));let a,l=i[a=Fu(e)]||i[a=Fu(Qn(e))];!l&&s&&(l=i[a=Fu(as(e))]),l&&Ci(l,n,6,r);const c=i[a+"Once"];if(c){if(!n.emitted)n.emitted={};else if(n.emitted[a])return;n.emitted[a]=!0,Ci(c,n,6,r)}}function Hb(n,e,t=!1){const i=e.emitsCache,r=i.get(n);if(r!==void 0)return r;const s=n.emits;let o={},a=!1;if(!$e(n)){const l=c=>{const u=Hb(c,e,!0);u&&(a=!0,Zt(o,u))};!t&&e.mixins.length&&e.mixins.forEach(l),n.extends&&l(n.extends),n.mixins&&n.mixins.forEach(l)}return!s&&!a?(At(n)&&i.set(n,null),null):(Be(s)?s.forEach(l=>o[l]=null):Zt(o,s),At(n)&&i.set(n,o),o)}function _h(n,e){return!n||!sh(e)?!1:(e=e.slice(2).replace(/Once$/,""),xt(n,e[0].toLowerCase()+e.slice(1))||xt(n,as(e))||xt(n,e))}function Y_(n){const{type:e,vnode:t,proxy:i,withProxy:r,propsOptions:[s],slots:o,attrs:a,emit:l,render:c,renderCache:u,props:f,data:h,setupState:d,ctx:p,inheritAttrs:_}=n,g=rf(n);let m,y;try{if(t.shapeFlag&4){const v=r||i,E=v;m=ki(c.call(E,v,u,f,d,h,p)),y=a}else{const v=e;m=ki(v.length>1?v(f,{attrs:a,slots:o,emit:l}):v(f,null)),y=e.props?a:XA(a)}}catch(v){Ja.length=0,ph(v,n,1),m=an(Pn)}let x=m;if(y&&_!==!1){const v=Object.keys(y),{shapeFlag:E}=x;v.length&&E&7&&(s&&v.some(Gm)&&(y=$A(y,s)),x=ts(x,y,!1,!0))}return t.dirs&&(x=ts(x,null,!1,!0),x.dirs=x.dirs?x.dirs.concat(t.dirs):t.dirs),t.transition&&bl(x,t.transition),m=x,rf(g),m}const XA=n=>{let e;for(const t in n)(t==="class"||t==="style"||sh(t))&&((e||(e={}))[t]=n[t]);return e},$A=(n,e)=>{const t={};for(const i in n)(!Gm(i)||!(i.slice(9)in e))&&(t[i]=n[i]);return t};function qA(n,e,t){const{props:i,children:r,component:s}=n,{props:o,children:a,patchFlag:l}=e,c=s.emitsOptions;if(e.dirs||e.transition)return!0;if(t&&l>=0){if(l&1024)return!0;if(l&16)return i?j_(i,o,c):!!o;if(l&8){const u=e.dynamicProps;for(let f=0;fn.__isSuspense;function jA(n,e){e&&e.pendingBranch?Be(n)?e.effects.push(...n):e.effects.push(n):rA(n)}const Xt=Symbol.for("v-fgt"),ac=Symbol.for("v-txt"),Pn=Symbol.for("v-cmt"),Vu=Symbol.for("v-stc"),Ja=[];let Kn=null;function ln(n=!1){Ja.push(Kn=n?null:[])}function KA(){Ja.pop(),Kn=Ja[Ja.length-1]||null}let Ml=1;function K_(n,e=!1){Ml+=n,n<0&&Kn&&e&&(Kn.hasOnce=!0)}function Wb(n){return n.dynamicChildren=Ml>0?Kn||Ko:null,KA(),Ml>0&&Kn&&Kn.push(n),n}function ui(n,e,t,i,r,s){return Wb($r(n,e,t,i,r,s,!0))}function El(n,e,t,i,r){return Wb(an(n,e,t,i,r,!0))}function Tl(n){return n?n.__v_isVNode===!0:!1}function Ws(n,e){return n.type===e.type&&n.key===e.key}const Xb=({key:n})=>n??null,zu=({ref:n,ref_key:e,ref_for:t})=>(typeof n=="number"&&(n=""+n),n!=null?Lt(n)||wt(n)||$e(n)?{i:Yt,r:n,k:e,f:!!t}:n:null);function $r(n,e=null,t=null,i=0,r=null,s=n===Xt?0:1,o=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:n,props:e,key:e&&Xb(e),ref:e&&zu(e),scopeId:ub,slotScopeIds:null,children:t,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:i,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:Yt};return a?(ag(l,t),s&128&&n.normalize(l)):t&&(l.shapeFlag|=Lt(t)?8:16),Ml>0&&!o&&Kn&&(l.patchFlag>0||s&6)&&l.patchFlag!==32&&Kn.push(l),l}const an=ZA;function ZA(n,e=null,t=null,i=0,r=null,s=!1){if((!n||n===Mb)&&(n=Pn),Tl(n)){const a=ts(n,e,!0);return t&&ag(a,t),Ml>0&&!s&&Kn&&(a.shapeFlag&6?Kn[Kn.indexOf(n)]=a:Kn.push(a)),a.patchFlag=-2,a}if(c1(n)&&(n=n.__vccOpts),e){e=JA(e);let{class:a,style:l}=e;a&&!Lt(a)&&(e.class=ga(a)),At(l)&&(Zm(l)&&!Be(l)&&(l=Zt({},l)),e.style=mi(l))}const o=Lt(n)?1:Gb(n)?128:db(n)?64:At(n)?4:$e(n)?2:0;return $r(n,e,t,i,r,o,s,!0)}function JA(n){return n?Zm(n)||Ib(n)?Zt({},n):n:null}function ts(n,e,t=!1,i=!1){const{props:r,ref:s,patchFlag:o,children:a,transition:l}=n,c=e?t1(r||{},e):r,u={__v_isVNode:!0,__v_skip:!0,type:n.type,props:c,key:c&&Xb(c),ref:e&&e.ref?t&&s?Be(s)?s.concat(zu(e)):[s,zu(e)]:zu(e):s,scopeId:n.scopeId,slotScopeIds:n.slotScopeIds,children:a,target:n.target,targetStart:n.targetStart,targetAnchor:n.targetAnchor,staticCount:n.staticCount,shapeFlag:n.shapeFlag,patchFlag:e&&n.type!==Xt?o===-1?16:o|16:o,dynamicProps:n.dynamicProps,dynamicChildren:n.dynamicChildren,appContext:n.appContext,dirs:n.dirs,transition:l,component:n.component,suspense:n.suspense,ssContent:n.ssContent&&ts(n.ssContent),ssFallback:n.ssFallback&&ts(n.ssFallback),el:n.el,anchor:n.anchor,ctx:n.ctx,ce:n.ce};return l&&i&&bl(u,l.clone(u)),u}function QA(n=" ",e=0){return an(ac,null,n,e)}function e1(n,e){const t=an(Vu,null,n);return t.staticCount=e,t}function Z_(n="",e=!1){return e?(ln(),El(Pn,null,n)):an(Pn,null,n)}function ki(n){return n==null||typeof n=="boolean"?an(Pn):Be(n)?an(Xt,null,n.slice()):Tl(n)?qr(n):an(ac,null,String(n))}function qr(n){return n.el===null&&n.patchFlag!==-1||n.memo?n:ts(n)}function ag(n,e){let t=0;const{shapeFlag:i}=n;if(e==null)e=null;else if(Be(e))t=16;else if(typeof e=="object")if(i&65){const r=e.default;r&&(r._c&&(r._d=!1),ag(n,r()),r._c&&(r._d=!0));return}else{t=32;const r=e._;!r&&!Ib(e)?e._ctx=Yt:r===3&&Yt&&(Yt.slots._===1?e._=1:(e._=2,n.patchFlag|=1024))}else $e(e)?(e={default:e,_ctx:Yt},t=32):(e=String(e),i&64?(t=16,e=[QA(e)]):t=8);n.children=e,n.shapeFlag|=t}function t1(...n){const e={};for(let t=0;ttn||Yt;let af,Gp;{const n=lh(),e=(t,i)=>{let r;return(r=n[t])||(r=n[t]=[]),r.push(i),s=>{r.length>1?r.forEach(o=>o(s)):r[0](s)}};af=e("__VUE_INSTANCE_SETTERS__",t=>tn=t),Gp=e("__VUE_SSR_SETTERS__",t=>wl=t)}const lc=n=>{const e=tn;return af(n),n.scope.on(),()=>{n.scope.off(),af(e)}},J_=()=>{tn&&tn.scope.off(),af(null)};function $b(n){return n.vnode.shapeFlag&4}let wl=!1;function s1(n,e=!1,t=!1){e&&Gp(e);const{props:i,children:r}=n.vnode,s=$b(n);IA(n,i,s,e),NA(n,r,t);const o=s?o1(n,e):void 0;return e&&Gp(!1),o}function o1(n,e){const t=n.type;n.accessCache=Object.create(null),n.proxy=new Proxy(n.ctx,MA);const{setup:i}=t;if(i){ls();const r=n.setupContext=i.length>1?Yb(n):null,s=lc(n),o=ic(i,n,0,[n.props,r]),a=Px(o);if(cs(),s(),(a||n.sp)&&!Qo(n)&&bb(n),a){if(o.then(J_,J_),e)return o.then(l=>{Q_(n,l)}).catch(l=>{ph(l,n,0)});n.asyncDep=o}else Q_(n,o)}else qb(n)}function Q_(n,e,t){$e(e)?n.type.__ssrInlineRender?n.ssrRender=e:n.render=e:At(e)&&(n.setupState=nb(e)),qb(n)}function qb(n,e,t){const i=n.type;n.render||(n.render=i.render||zi);{const r=lc(n);ls();try{EA(n)}finally{cs(),r()}}}const a1={get(n,e){return pn(n,"get",""),n[e]}};function Yb(n){const e=t=>{n.exposed=t||{}};return{attrs:new Proxy(n.attrs,a1),slots:n.slots,emit:n.emit,expose:e}}function vh(n){return n.exposed?n.exposeProxy||(n.exposeProxy=new Proxy(nb(Jm(n.exposed)),{get(e,t){if(t in e)return e[t];if(t in Za)return Za[t](n)},has(e,t){return t in e||t in Za}})):n.proxy}function l1(n,e=!0){return $e(n)?n.displayName||n.name:n.name||e&&n.__name}function c1(n){return $e(n)&&"__vccOpts"in n}const Se=(n,e)=>Qw(n,e,wl);function Mr(n,e,t){const i=arguments.length;return i===2?At(e)&&!Be(e)?Tl(e)?an(n,null,[e]):an(n,e):an(n,null,e):(i>3?t=Array.prototype.slice.call(arguments,2):i===3&&Tl(t)&&(t=[t]),an(n,e,t))}const u1="3.5.13";/** * @vue/runtime-dom v3.5.13 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/let Wp;const ev=typeof window<"u"&&window.trustedTypes;if(ev)try{Wp=ev.createPolicy("vue",{createHTML:n=>n})}catch{}const jb=Wp?n=>Wp.createHTML(n):n=>n,f1="http://www.w3.org/2000/svg",h1="http://www.w3.org/1998/Math/MathML",cr=typeof document<"u"?document:null,tv=cr&&cr.createElement("template"),d1={insert:(n,e,t)=>{e.insertBefore(n,t||null)},remove:n=>{const e=n.parentNode;e&&e.removeChild(n)},createElement:(n,e,t,i)=>{const r=e==="svg"?cr.createElementNS(f1,n):e==="mathml"?cr.createElementNS(h1,n):t?cr.createElement(n,{is:t}):cr.createElement(n);return n==="select"&&i&&i.multiple!=null&&r.setAttribute("multiple",i.multiple),r},createText:n=>cr.createTextNode(n),createComment:n=>cr.createComment(n),setText:(n,e)=>{n.nodeValue=e},setElementText:(n,e)=>{n.textContent=e},parentNode:n=>n.parentNode,nextSibling:n=>n.nextSibling,querySelector:n=>cr.querySelector(n),setScopeId(n,e){n.setAttribute(e,"")},insertStaticContent(n,e,t,i,r,s){const o=t?t.previousSibling:e.lastChild;if(r&&(r===s||r.nextSibling))for(;e.insertBefore(r.cloneNode(!0),t),!(r===s||!(r=r.nextSibling)););else{tv.innerHTML=jb(i==="svg"?`${n}`:i==="mathml"?`${n}`:n);const a=tv.content;if(i==="svg"||i==="mathml"){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}e.insertBefore(a,t)}return[o?o.nextSibling:e.firstChild,t?t.previousSibling:e.lastChild]}},Lr="transition",wa="animation",Al=Symbol("_vtc"),Kb={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},p1=Zt({},gb,Kb),m1=n=>(n.displayName="Transition",n.props=p1,n),B4=m1((n,{slots:e})=>Mr(lA,g1(n),e)),Ss=(n,e=[])=>{Be(n)?n.forEach(t=>t(...e)):n&&n(...e)},nv=n=>n?Be(n)?n.some(e=>e.length>1):n.length>1:!1;function g1(n){const e={};for(const B in n)B in Kb||(e[B]=n[B]);if(n.css===!1)return e;const{name:t="v",type:i,duration:r,enterFromClass:s=`${t}-enter-from`,enterActiveClass:o=`${t}-enter-active`,enterToClass:a=`${t}-enter-to`,appearFromClass:l=s,appearActiveClass:c=o,appearToClass:u=a,leaveFromClass:f=`${t}-leave-from`,leaveActiveClass:h=`${t}-leave-active`,leaveToClass:d=`${t}-leave-to`}=n,p=_1(r),_=p&&p[0],g=p&&p[1],{onBeforeEnter:m,onEnter:y,onEnterCancelled:x,onLeave:v,onLeaveCancelled:E,onBeforeAppear:T=m,onAppear:M=y,onAppearCancelled:P=x}=e,b=(B,H,$,ee)=>{B._enterCancelled=ee,Ms(B,H?u:a),Ms(B,H?c:o),$&&$()},S=(B,H)=>{B._isLeaving=!1,Ms(B,f),Ms(B,d),Ms(B,h),H&&H()},D=B=>(H,$)=>{const ee=B?M:y,Z=()=>b(H,B,$);Ss(ee,[H,Z]),iv(()=>{Ms(H,B?l:s),er(H,B?u:a),nv(ee)||rv(H,i,_,Z)})};return Zt(e,{onBeforeEnter(B){Ss(m,[B]),er(B,s),er(B,o)},onBeforeAppear(B){Ss(T,[B]),er(B,l),er(B,c)},onEnter:D(!1),onAppear:D(!0),onLeave(B,H){B._isLeaving=!0;const $=()=>S(B,H);er(B,f),B._enterCancelled?(er(B,h),av()):(av(),er(B,h)),iv(()=>{B._isLeaving&&(Ms(B,f),er(B,d),nv(v)||rv(B,i,g,$))}),Ss(v,[B,$])},onEnterCancelled(B){b(B,!1,void 0,!0),Ss(x,[B])},onAppearCancelled(B){b(B,!0,void 0,!0),Ss(P,[B])},onLeaveCancelled(B){S(B),Ss(E,[B])}})}function _1(n){if(n==null)return null;if(wt(n))return[Sd(n.enter),Sd(n.leave)];{const e=Sd(n);return[e,e]}}function Sd(n){return yw(n)}function er(n,e){e.split(/\s+/).forEach(t=>t&&n.classList.add(t)),(n[Al]||(n[Al]=new Set)).add(e)}function Ms(n,e){e.split(/\s+/).forEach(i=>i&&n.classList.remove(i));const t=n[Al];t&&(t.delete(e),t.size||(n[Al]=void 0))}function iv(n){requestAnimationFrame(()=>{requestAnimationFrame(n)})}let v1=0;function rv(n,e,t,i){const r=n._endId=++v1,s=()=>{r===n._endId&&i()};if(t!=null)return setTimeout(s,t);const{type:o,timeout:a,propCount:l}=y1(n,e);if(!o)return i();const c=o+"end";let u=0;const f=()=>{n.removeEventListener(c,h),s()},h=d=>{d.target===n&&++u>=l&&f()};setTimeout(()=>{u(t[p]||"").split(", "),r=i(`${Lr}Delay`),s=i(`${Lr}Duration`),o=sv(r,s),a=i(`${wa}Delay`),l=i(`${wa}Duration`),c=sv(a,l);let u=null,f=0,h=0;e===Lr?o>0&&(u=Lr,f=o,h=s.length):e===wa?c>0&&(u=wa,f=c,h=l.length):(f=Math.max(o,c),u=f>0?o>c?Lr:wa:null,h=u?u===Lr?s.length:l.length:0);const d=u===Lr&&/\b(transform|all)(,|$)/.test(i(`${Lr}Property`).toString());return{type:u,timeout:f,propCount:h,hasTransform:d}}function sv(n,e){for(;n.lengthov(t)+ov(n[i])))}function ov(n){return n==="auto"?0:Number(n.slice(0,-1).replace(",","."))*1e3}function av(){return document.body.offsetHeight}function x1(n,e,t){const i=n[Al];i&&(e=(e?[e,...i]:[...i]).join(" ")),e==null?n.removeAttribute("class"):t?n.setAttribute("class",e):n.className=e}const lv=Symbol("_vod"),b1=Symbol("_vsh"),S1=Symbol(""),M1=/(^|;)\s*display\s*:/;function E1(n,e,t){const i=n.style,r=It(t);let s=!1;if(t&&!r){if(e)if(It(e))for(const o of e.split(";")){const a=o.slice(0,o.indexOf(":")).trim();t[a]==null&&Hu(i,a,"")}else for(const o in e)t[o]==null&&Hu(i,o,"");for(const o in t)o==="display"&&(s=!0),Hu(i,o,t[o])}else if(r){if(e!==t){const o=i[S1];o&&(t+=";"+o),i.cssText=t,s=M1.test(t)}}else e&&n.removeAttribute("style");lv in n&&(n[lv]=s?i.display:"",n[b1]&&(i.display="none"))}const cv=/\s*!important$/;function Hu(n,e,t){if(Be(t))t.forEach(i=>Hu(n,e,i));else if(t==null&&(t=""),e.startsWith("--"))n.setProperty(e,t);else{const i=T1(n,e);cv.test(t)?n.setProperty(as(i),t.replace(cv,""),"important"):n[i]=t}}const uv=["Webkit","Moz","ms"],Md={};function T1(n,e){const t=Md[e];if(t)return t;let i=Qn(e);if(i!=="filter"&&i in n)return Md[e]=i;i=ah(i);for(let r=0;rEd||(R1.then(()=>Ed=0),Ed=Date.now());function I1(n,e){const t=i=>{if(!i._vts)i._vts=Date.now();else if(i._vts<=t.attached)return;Ci(L1(i,t.value),e,5,[i])};return t.value=n,t.attached=P1(),t}function L1(n,e){if(Be(e)){const t=n.stopImmediatePropagation;return n.stopImmediatePropagation=()=>{t.call(n),n._stopped=!0},e.map(i=>r=>!r._stopped&&i&&i(r))}else return e}const gv=n=>n.charCodeAt(0)===111&&n.charCodeAt(1)===110&&n.charCodeAt(2)>96&&n.charCodeAt(2)<123,D1=(n,e,t,i,r,s)=>{const o=r==="svg";e==="class"?x1(n,i,o):e==="style"?E1(n,t,i):sh(e)?Gm(e)||A1(n,e,t,i,s):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):O1(n,e,i,o))?(dv(n,e,i),!n.tagName.includes("-")&&(e==="value"||e==="checked"||e==="selected")&&hv(n,e,i,o,s,e!=="value")):n._isVueCE&&(/[A-Z]/.test(e)||!It(i))?dv(n,Qn(e),i,s,e):(e==="true-value"?n._trueValue=i:e==="false-value"&&(n._falseValue=i),hv(n,e,i,o))};function O1(n,e,t,i){if(i)return!!(e==="innerHTML"||e==="textContent"||e in n&&gv(e)&&$e(t));if(e==="spellcheck"||e==="draggable"||e==="translate"||e==="form"||e==="list"&&n.tagName==="INPUT"||e==="type"&&n.tagName==="TEXTAREA")return!1;if(e==="width"||e==="height"){const r=n.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return gv(e)&&It(t)?!1:e in n}const ns=n=>{const e=n.props["onUpdate:modelValue"]||!1;return Be(e)?t=>Bu(e,t):e};function N1(n){n.target.composing=!0}function _v(n){const e=n.target;e.composing&&(e.composing=!1,e.dispatchEvent(new Event("input")))}const fi=Symbol("_assign"),k4={created(n,{modifiers:{lazy:e,trim:t,number:i}},r){n[fi]=ns(r);const s=i||r.props&&r.props.type==="number";hr(n,e?"change":"input",o=>{if(o.target.composing)return;let a=n.value;t&&(a=a.trim()),s&&(a=Qu(a)),n[fi](a)}),t&&hr(n,"change",()=>{n.value=n.value.trim()}),e||(hr(n,"compositionstart",N1),hr(n,"compositionend",_v),hr(n,"change",_v))},mounted(n,{value:e}){n.value=e??""},beforeUpdate(n,{value:e,oldValue:t,modifiers:{lazy:i,trim:r,number:s}},o){if(n[fi]=ns(o),n.composing)return;const a=(s||n.type==="number")&&!/^0\d/.test(n.value)?Qu(n.value):n.value,l=e??"";a!==l&&(document.activeElement===n&&n.type!=="range"&&(i&&e===t||r&&n.value.trim()===l)||(n.value=l))}},z4={deep:!0,created(n,e,t){n[fi]=ns(t),hr(n,"change",()=>{const i=n._modelValue,r=na(n),s=n.checked,o=n[fi];if(Be(i)){const a=$m(i,r),l=a!==-1;if(s&&!l)o(i.concat(r));else if(!s&&l){const c=[...i];c.splice(a,1),o(c)}}else if(ma(i)){const a=new Set(i);s?a.add(r):a.delete(r),o(a)}else o(Zb(n,s))})},mounted:vv,beforeUpdate(n,e,t){n[fi]=ns(t),vv(n,e,t)}};function vv(n,{value:e,oldValue:t},i){n._modelValue=e;let r;if(Be(e))r=$m(e,i.props.value)>-1;else if(ma(e))r=e.has(i.props.value);else{if(e===t)return;r=ro(e,Zb(n,!0))}n.checked!==r&&(n.checked=r)}const V4={created(n,{value:e},t){n.checked=ro(e,t.props.value),n[fi]=ns(t),hr(n,"change",()=>{n[fi](na(n))})},beforeUpdate(n,{value:e,oldValue:t},i){n[fi]=ns(i),e!==t&&(n.checked=ro(e,i.props.value))}},H4={deep:!0,created(n,{value:e,modifiers:{number:t}},i){const r=ma(e);hr(n,"change",()=>{const s=Array.prototype.filter.call(n.options,o=>o.selected).map(o=>t?Qu(na(o)):na(o));n[fi](n.multiple?r?new Set(s):s:s[0]),n._assigning=!0,us(()=>{n._assigning=!1})}),n[fi]=ns(i)},mounted(n,{value:e}){yv(n,e)},beforeUpdate(n,e,t){n[fi]=ns(t)},updated(n,{value:e}){n._assigning||yv(n,e)}};function yv(n,e){const t=n.multiple,i=Be(e);if(!(t&&!i&&!ma(e))){for(let r=0,s=n.options.length;rString(c)===String(a)):o.selected=$m(e,a)>-1}else o.selected=e.has(a);else if(ro(na(o),e)){n.selectedIndex!==r&&(n.selectedIndex=r);return}}!t&&n.selectedIndex!==-1&&(n.selectedIndex=-1)}}function na(n){return"_value"in n?n._value:n.value}function Zb(n,e){const t=e?"_trueValue":"_falseValue";return t in n?n[t]:e}const U1=["ctrl","shift","alt","meta"],F1={stop:n=>n.stopPropagation(),prevent:n=>n.preventDefault(),self:n=>n.target!==n.currentTarget,ctrl:n=>!n.ctrlKey,shift:n=>!n.shiftKey,alt:n=>!n.altKey,meta:n=>!n.metaKey,left:n=>"button"in n&&n.button!==0,middle:n=>"button"in n&&n.button!==1,right:n=>"button"in n&&n.button!==2,exact:(n,e)=>U1.some(t=>n[`${t}Key`]&&!e.includes(t))},G4=(n,e)=>{const t=n._withMods||(n._withMods={}),i=e.join(".");return t[i]||(t[i]=(r,...s)=>{for(let o=0;o{Jb().render(...n)},k1=(...n)=>{const e=Jb().createApp(...n),{mount:t}=e;return e.mount=i=>{const r=V1(i);if(!r)return;const s=e._component;!$e(s)&&!s.render&&!s.template&&(s.template=r.innerHTML),r.nodeType===1&&(r.textContent="");const o=t(r,!1,z1(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),o},e};function z1(n){if(n instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&n instanceof MathMLElement)return"mathml"}function V1(n){return It(n)?document.querySelector(n):n}const Qb=new Set,Gn=new WeakMap,ia=new WeakMap,oo=new WeakMap,Xp=new WeakMap,H1=new WeakMap,ra=new WeakMap,lf=new WeakMap,Wa=new WeakSet;let is,lg=0,cg=0;const mr="__aa_tgt",Cl="__aa_del",cf="__aa_new",G1=n=>{const e=j1(n);e&&e.forEach(t=>K1(t))},W1=n=>{n.forEach(e=>{e.target===is&&$1(),Gn.has(e.target)&&po(e.target)})};function X1(n){const e=Xp.get(n);e==null||e.disconnect();let t=Gn.get(n),i=0;const r=5;t||(t=sa(n),Gn.set(n,t));const{offsetWidth:s,offsetHeight:o}=is,l=[t.top-r,s-(t.left+r+t.width),o-(t.top+r+t.height),t.left-r].map(u=>`${-1*Math.floor(u)}px`).join(" "),c=new IntersectionObserver(()=>{++i>1&&po(n)},{root:is,threshold:1,rootMargin:l});c.observe(n),Xp.set(n,c)}function po(n){clearTimeout(lf.get(n));const e=yh(n),t=Rl(e)?500:e.duration;lf.set(n,setTimeout(async()=>{const i=oo.get(n);try{await(i==null?void 0:i.finished),Gn.set(n,sa(n)),X1(n)}catch{}},t))}function $1(){clearTimeout(lf.get(is)),lf.set(is,setTimeout(()=>{Qb.forEach(n=>iS(n,e=>eS(()=>po(e))))},100))}function q1(n){setTimeout(()=>{H1.set(n,setInterval(()=>eS(po.bind(null,n)),2e3))},Math.round(2e3*Math.random()))}function eS(n){typeof requestIdleCallback=="function"?requestIdleCallback(()=>n()):requestAnimationFrame(()=>n())}let $p,Wo;const Y1=typeof window<"u"&&"ResizeObserver"in window;Y1&&(is=document.documentElement,$p=new MutationObserver(G1),Wo=new ResizeObserver(W1),window.addEventListener("scroll",()=>{cg=window.scrollY,lg=window.scrollX}),Wo.observe(is));function j1(n){return n.reduce((i,r)=>[...i,...Array.from(r.addedNodes),...Array.from(r.removedNodes)],[]).every(i=>i.nodeName==="#comment")?!1:n.reduce((i,r)=>{if(i===!1)return!1;if(r.target instanceof Element){if(Td(r.target),!i.has(r.target)){i.add(r.target);for(let s=0;st(n,ra.has(n)));for(let t=0;tr(i,ra.has(i)))}}function fg(n){return Array.isArray(n)?n:[n]}function Rl(n){return typeof n=="function"}function J1(n){const e=Gn.get(n),t=sa(n);if(!ug(n))return Gn.set(n,t);let i;if(!e)return;const r=yh(n);if(typeof r!="function"){const s=e.left-t.left,o=e.top-t.top,[a,l,c,u]=tS(n,e,t),f={transform:`translate(${s}px, ${o}px)`},h={transform:"translate(0, 0)"};a!==l&&(f.width=`${a}px`,h.width=`${l}px`),c!==u&&(f.height=`${c}px`,h.height=`${u}px`),i=n.animate([f,h],{duration:r.duration,easing:r.easing})}else{const[s]=fg(r(n,"remain",e,t));i=new Animation(s),i.play()}oo.set(n,i),Gn.set(n,t),i.addEventListener("finish",po.bind(null,n))}function bv(n){cf in n&&delete n[cf];const e=sa(n);Gn.set(n,e);const t=yh(n);if(!ug(n))return;let i;if(typeof t!="function")i=n.animate([{transform:"scale(.98)",opacity:0},{transform:"scale(0.98)",opacity:0,offset:.5},{transform:"scale(1)",opacity:1}],{duration:t.duration*1.5,easing:"ease-in"});else{const[r]=fg(t(n,"add",e));i=new Animation(r),i.play()}oo.set(n,i),i.addEventListener("finish",po.bind(null,n))}function Sv(n,e){var t;n.remove(),Gn.delete(n),ia.delete(n),oo.delete(n),(t=Xp.get(n))===null||t===void 0||t.disconnect(),setTimeout(()=>{if(Cl in n&&delete n[Cl],Object.defineProperty(n,cf,{value:!0,configurable:!0}),e&&n instanceof HTMLElement)for(const i in e)n.style[i]=""},0)}function Q1(n){var e;if(!ia.has(n)||!Gn.has(n))return;const[t,i]=ia.get(n);Object.defineProperty(n,Cl,{value:!0,configurable:!0});const r=window.scrollX,s=window.scrollY;if(i&&i.parentNode&&i.parentNode instanceof Element?i.parentNode.insertBefore(n,i):t&&t.parentNode?t.parentNode.appendChild(n):(e=nS(n))===null||e===void 0||e.appendChild(n),!ug(n))return Sv(n);const[o,a,l,c]=tC(n),u=yh(n),f=Gn.get(n);(r!==lg||s!==cg)&&eC(n,r,s,u);let h,d={position:"absolute",top:`${o}px`,left:`${a}px`,width:`${l}px`,height:`${c}px`,margin:"0",pointerEvents:"none",transformOrigin:"center",zIndex:"100"};if(!Rl(u))Object.assign(n.style,d),h=n.animate([{transform:"scale(1)",opacity:1},{transform:"scale(.98)",opacity:0}],{duration:u.duration,easing:"ease-out"});else{const[p,_]=fg(u(n,"remove",f));(_==null?void 0:_.styleReset)!==!1&&(d=(_==null?void 0:_.styleReset)||d,Object.assign(n.style,d)),h=new Animation(p),h.play()}oo.set(n,h),h.addEventListener("finish",Sv.bind(null,n,d))}function eC(n,e,t,i){const r=lg-e,s=cg-t,o=document.documentElement.style.scrollBehavior;if(getComputedStyle(is).scrollBehavior==="smooth"&&(document.documentElement.style.scrollBehavior="auto"),window.scrollTo(window.scrollX+r,window.scrollY+s),!n.parentElement)return;const l=n.parentElement;let c=l.clientHeight,u=l.clientWidth;const f=performance.now();function h(){requestAnimationFrame(()=>{if(!Rl(i)){const d=c-l.clientHeight,p=u-l.clientWidth;f+i.duration>performance.now()?(window.scrollTo({left:window.scrollX-p,top:window.scrollY-d}),c=l.clientHeight,u=l.clientWidth,h()):document.documentElement.style.scrollBehavior=o}})}h()}function tC(n){const e=Gn.get(n),[t,,i]=tS(n,e,sa(n));let r=n.parentElement;for(;r&&(getComputedStyle(r).position==="static"||r instanceof HTMLBodyElement);)r=r.parentElement;r||(r=document.body);const s=getComputedStyle(r),o=Gn.get(r)||sa(r),a=Math.round(e.top-o.top)-Fi(s.borderTopWidth),l=Math.round(e.left-o.left)-Fi(s.borderLeftWidth);return[a,l,t,i]}function nC(n,e={}){return $p&&Wo&&(window.matchMedia("(prefers-reduced-motion: reduce)").matches&&!Rl(e)&&!e.disrespectUserMotionPreference||(Wa.add(n),getComputedStyle(n).position==="static"&&Object.assign(n.style,{position:"relative"}),iS(n,po,q1,r=>Wo==null?void 0:Wo.observe(r)),Rl(e)?ra.set(n,e):ra.set(n,{duration:250,easing:"ease-in-out",...e}),$p.observe(n,{childList:!0}),Qb.add(n))),Object.freeze({parent:n,enable:()=>{Wa.add(n)},disable:()=>{Wa.delete(n)},isEnabled:()=>Wa.has(n)})}const iC={mounted:(n,e)=>{nC(n,e.value||{})},getSSRProps:()=>({})},rC=iC,sC={install(n){n.directive("auto-animate",rC)}};/** +**/let Wp;const ev=typeof window<"u"&&window.trustedTypes;if(ev)try{Wp=ev.createPolicy("vue",{createHTML:n=>n})}catch{}const jb=Wp?n=>Wp.createHTML(n):n=>n,f1="http://www.w3.org/2000/svg",h1="http://www.w3.org/1998/Math/MathML",cr=typeof document<"u"?document:null,tv=cr&&cr.createElement("template"),d1={insert:(n,e,t)=>{e.insertBefore(n,t||null)},remove:n=>{const e=n.parentNode;e&&e.removeChild(n)},createElement:(n,e,t,i)=>{const r=e==="svg"?cr.createElementNS(f1,n):e==="mathml"?cr.createElementNS(h1,n):t?cr.createElement(n,{is:t}):cr.createElement(n);return n==="select"&&i&&i.multiple!=null&&r.setAttribute("multiple",i.multiple),r},createText:n=>cr.createTextNode(n),createComment:n=>cr.createComment(n),setText:(n,e)=>{n.nodeValue=e},setElementText:(n,e)=>{n.textContent=e},parentNode:n=>n.parentNode,nextSibling:n=>n.nextSibling,querySelector:n=>cr.querySelector(n),setScopeId(n,e){n.setAttribute(e,"")},insertStaticContent(n,e,t,i,r,s){const o=t?t.previousSibling:e.lastChild;if(r&&(r===s||r.nextSibling))for(;e.insertBefore(r.cloneNode(!0),t),!(r===s||!(r=r.nextSibling)););else{tv.innerHTML=jb(i==="svg"?`${n}`:i==="mathml"?`${n}`:n);const a=tv.content;if(i==="svg"||i==="mathml"){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}e.insertBefore(a,t)}return[o?o.nextSibling:e.firstChild,t?t.previousSibling:e.lastChild]}},Lr="transition",wa="animation",Al=Symbol("_vtc"),Kb={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},p1=Zt({},gb,Kb),m1=n=>(n.displayName="Transition",n.props=p1,n),B4=m1((n,{slots:e})=>Mr(lA,g1(n),e)),Ss=(n,e=[])=>{Be(n)?n.forEach(t=>t(...e)):n&&n(...e)},nv=n=>n?Be(n)?n.some(e=>e.length>1):n.length>1:!1;function g1(n){const e={};for(const B in n)B in Kb||(e[B]=n[B]);if(n.css===!1)return e;const{name:t="v",type:i,duration:r,enterFromClass:s=`${t}-enter-from`,enterActiveClass:o=`${t}-enter-active`,enterToClass:a=`${t}-enter-to`,appearFromClass:l=s,appearActiveClass:c=o,appearToClass:u=a,leaveFromClass:f=`${t}-leave-from`,leaveActiveClass:h=`${t}-leave-active`,leaveToClass:d=`${t}-leave-to`}=n,p=_1(r),_=p&&p[0],g=p&&p[1],{onBeforeEnter:m,onEnter:y,onEnterCancelled:x,onLeave:v,onLeaveCancelled:E,onBeforeAppear:T=m,onAppear:M=y,onAppearCancelled:P=x}=e,b=(B,H,$,ee)=>{B._enterCancelled=ee,Ms(B,H?u:a),Ms(B,H?c:o),$&&$()},S=(B,H)=>{B._isLeaving=!1,Ms(B,f),Ms(B,d),Ms(B,h),H&&H()},D=B=>(H,$)=>{const ee=B?M:y,Z=()=>b(H,B,$);Ss(ee,[H,Z]),iv(()=>{Ms(H,B?l:s),er(H,B?u:a),nv(ee)||rv(H,i,_,Z)})};return Zt(e,{onBeforeEnter(B){Ss(m,[B]),er(B,s),er(B,o)},onBeforeAppear(B){Ss(T,[B]),er(B,l),er(B,c)},onEnter:D(!1),onAppear:D(!0),onLeave(B,H){B._isLeaving=!0;const $=()=>S(B,H);er(B,f),B._enterCancelled?(er(B,h),av()):(av(),er(B,h)),iv(()=>{B._isLeaving&&(Ms(B,f),er(B,d),nv(v)||rv(B,i,g,$))}),Ss(v,[B,$])},onEnterCancelled(B){b(B,!1,void 0,!0),Ss(x,[B])},onAppearCancelled(B){b(B,!0,void 0,!0),Ss(P,[B])},onLeaveCancelled(B){S(B),Ss(E,[B])}})}function _1(n){if(n==null)return null;if(At(n))return[Sd(n.enter),Sd(n.leave)];{const e=Sd(n);return[e,e]}}function Sd(n){return yw(n)}function er(n,e){e.split(/\s+/).forEach(t=>t&&n.classList.add(t)),(n[Al]||(n[Al]=new Set)).add(e)}function Ms(n,e){e.split(/\s+/).forEach(i=>i&&n.classList.remove(i));const t=n[Al];t&&(t.delete(e),t.size||(n[Al]=void 0))}function iv(n){requestAnimationFrame(()=>{requestAnimationFrame(n)})}let v1=0;function rv(n,e,t,i){const r=n._endId=++v1,s=()=>{r===n._endId&&i()};if(t!=null)return setTimeout(s,t);const{type:o,timeout:a,propCount:l}=y1(n,e);if(!o)return i();const c=o+"end";let u=0;const f=()=>{n.removeEventListener(c,h),s()},h=d=>{d.target===n&&++u>=l&&f()};setTimeout(()=>{u(t[p]||"").split(", "),r=i(`${Lr}Delay`),s=i(`${Lr}Duration`),o=sv(r,s),a=i(`${wa}Delay`),l=i(`${wa}Duration`),c=sv(a,l);let u=null,f=0,h=0;e===Lr?o>0&&(u=Lr,f=o,h=s.length):e===wa?c>0&&(u=wa,f=c,h=l.length):(f=Math.max(o,c),u=f>0?o>c?Lr:wa:null,h=u?u===Lr?s.length:l.length:0);const d=u===Lr&&/\b(transform|all)(,|$)/.test(i(`${Lr}Property`).toString());return{type:u,timeout:f,propCount:h,hasTransform:d}}function sv(n,e){for(;n.lengthov(t)+ov(n[i])))}function ov(n){return n==="auto"?0:Number(n.slice(0,-1).replace(",","."))*1e3}function av(){return document.body.offsetHeight}function x1(n,e,t){const i=n[Al];i&&(e=(e?[e,...i]:[...i]).join(" ")),e==null?n.removeAttribute("class"):t?n.setAttribute("class",e):n.className=e}const lv=Symbol("_vod"),b1=Symbol("_vsh"),S1=Symbol(""),M1=/(^|;)\s*display\s*:/;function E1(n,e,t){const i=n.style,r=Lt(t);let s=!1;if(t&&!r){if(e)if(Lt(e))for(const o of e.split(";")){const a=o.slice(0,o.indexOf(":")).trim();t[a]==null&&Hu(i,a,"")}else for(const o in e)t[o]==null&&Hu(i,o,"");for(const o in t)o==="display"&&(s=!0),Hu(i,o,t[o])}else if(r){if(e!==t){const o=i[S1];o&&(t+=";"+o),i.cssText=t,s=M1.test(t)}}else e&&n.removeAttribute("style");lv in n&&(n[lv]=s?i.display:"",n[b1]&&(i.display="none"))}const cv=/\s*!important$/;function Hu(n,e,t){if(Be(t))t.forEach(i=>Hu(n,e,i));else if(t==null&&(t=""),e.startsWith("--"))n.setProperty(e,t);else{const i=T1(n,e);cv.test(t)?n.setProperty(as(i),t.replace(cv,""),"important"):n[i]=t}}const uv=["Webkit","Moz","ms"],Md={};function T1(n,e){const t=Md[e];if(t)return t;let i=Qn(e);if(i!=="filter"&&i in n)return Md[e]=i;i=ah(i);for(let r=0;rEd||(R1.then(()=>Ed=0),Ed=Date.now());function I1(n,e){const t=i=>{if(!i._vts)i._vts=Date.now();else if(i._vts<=t.attached)return;Ci(L1(i,t.value),e,5,[i])};return t.value=n,t.attached=P1(),t}function L1(n,e){if(Be(e)){const t=n.stopImmediatePropagation;return n.stopImmediatePropagation=()=>{t.call(n),n._stopped=!0},e.map(i=>r=>!r._stopped&&i&&i(r))}else return e}const gv=n=>n.charCodeAt(0)===111&&n.charCodeAt(1)===110&&n.charCodeAt(2)>96&&n.charCodeAt(2)<123,D1=(n,e,t,i,r,s)=>{const o=r==="svg";e==="class"?x1(n,i,o):e==="style"?E1(n,t,i):sh(e)?Gm(e)||A1(n,e,t,i,s):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):O1(n,e,i,o))?(dv(n,e,i),!n.tagName.includes("-")&&(e==="value"||e==="checked"||e==="selected")&&hv(n,e,i,o,s,e!=="value")):n._isVueCE&&(/[A-Z]/.test(e)||!Lt(i))?dv(n,Qn(e),i,s,e):(e==="true-value"?n._trueValue=i:e==="false-value"&&(n._falseValue=i),hv(n,e,i,o))};function O1(n,e,t,i){if(i)return!!(e==="innerHTML"||e==="textContent"||e in n&&gv(e)&&$e(t));if(e==="spellcheck"||e==="draggable"||e==="translate"||e==="form"||e==="list"&&n.tagName==="INPUT"||e==="type"&&n.tagName==="TEXTAREA")return!1;if(e==="width"||e==="height"){const r=n.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return gv(e)&&Lt(t)?!1:e in n}const ns=n=>{const e=n.props["onUpdate:modelValue"]||!1;return Be(e)?t=>Bu(e,t):e};function N1(n){n.target.composing=!0}function _v(n){const e=n.target;e.composing&&(e.composing=!1,e.dispatchEvent(new Event("input")))}const fi=Symbol("_assign"),k4={created(n,{modifiers:{lazy:e,trim:t,number:i}},r){n[fi]=ns(r);const s=i||r.props&&r.props.type==="number";hr(n,e?"change":"input",o=>{if(o.target.composing)return;let a=n.value;t&&(a=a.trim()),s&&(a=Qu(a)),n[fi](a)}),t&&hr(n,"change",()=>{n.value=n.value.trim()}),e||(hr(n,"compositionstart",N1),hr(n,"compositionend",_v),hr(n,"change",_v))},mounted(n,{value:e}){n.value=e??""},beforeUpdate(n,{value:e,oldValue:t,modifiers:{lazy:i,trim:r,number:s}},o){if(n[fi]=ns(o),n.composing)return;const a=(s||n.type==="number")&&!/^0\d/.test(n.value)?Qu(n.value):n.value,l=e??"";a!==l&&(document.activeElement===n&&n.type!=="range"&&(i&&e===t||r&&n.value.trim()===l)||(n.value=l))}},V4={deep:!0,created(n,e,t){n[fi]=ns(t),hr(n,"change",()=>{const i=n._modelValue,r=na(n),s=n.checked,o=n[fi];if(Be(i)){const a=$m(i,r),l=a!==-1;if(s&&!l)o(i.concat(r));else if(!s&&l){const c=[...i];c.splice(a,1),o(c)}}else if(ma(i)){const a=new Set(i);s?a.add(r):a.delete(r),o(a)}else o(Zb(n,s))})},mounted:vv,beforeUpdate(n,e,t){n[fi]=ns(t),vv(n,e,t)}};function vv(n,{value:e,oldValue:t},i){n._modelValue=e;let r;if(Be(e))r=$m(e,i.props.value)>-1;else if(ma(e))r=e.has(i.props.value);else{if(e===t)return;r=ro(e,Zb(n,!0))}n.checked!==r&&(n.checked=r)}const z4={created(n,{value:e},t){n.checked=ro(e,t.props.value),n[fi]=ns(t),hr(n,"change",()=>{n[fi](na(n))})},beforeUpdate(n,{value:e,oldValue:t},i){n[fi]=ns(i),e!==t&&(n.checked=ro(e,i.props.value))}},H4={deep:!0,created(n,{value:e,modifiers:{number:t}},i){const r=ma(e);hr(n,"change",()=>{const s=Array.prototype.filter.call(n.options,o=>o.selected).map(o=>t?Qu(na(o)):na(o));n[fi](n.multiple?r?new Set(s):s:s[0]),n._assigning=!0,us(()=>{n._assigning=!1})}),n[fi]=ns(i)},mounted(n,{value:e}){yv(n,e)},beforeUpdate(n,e,t){n[fi]=ns(t)},updated(n,{value:e}){n._assigning||yv(n,e)}};function yv(n,e){const t=n.multiple,i=Be(e);if(!(t&&!i&&!ma(e))){for(let r=0,s=n.options.length;rString(c)===String(a)):o.selected=$m(e,a)>-1}else o.selected=e.has(a);else if(ro(na(o),e)){n.selectedIndex!==r&&(n.selectedIndex=r);return}}!t&&n.selectedIndex!==-1&&(n.selectedIndex=-1)}}function na(n){return"_value"in n?n._value:n.value}function Zb(n,e){const t=e?"_trueValue":"_falseValue";return t in n?n[t]:e}const U1=["ctrl","shift","alt","meta"],F1={stop:n=>n.stopPropagation(),prevent:n=>n.preventDefault(),self:n=>n.target!==n.currentTarget,ctrl:n=>!n.ctrlKey,shift:n=>!n.shiftKey,alt:n=>!n.altKey,meta:n=>!n.metaKey,left:n=>"button"in n&&n.button!==0,middle:n=>"button"in n&&n.button!==1,right:n=>"button"in n&&n.button!==2,exact:(n,e)=>U1.some(t=>n[`${t}Key`]&&!e.includes(t))},G4=(n,e)=>{const t=n._withMods||(n._withMods={}),i=e.join(".");return t[i]||(t[i]=(r,...s)=>{for(let o=0;o{Jb().render(...n)},k1=(...n)=>{const e=Jb().createApp(...n),{mount:t}=e;return e.mount=i=>{const r=z1(i);if(!r)return;const s=e._component;!$e(s)&&!s.render&&!s.template&&(s.template=r.innerHTML),r.nodeType===1&&(r.textContent="");const o=t(r,!1,V1(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),o},e};function V1(n){if(n instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&n instanceof MathMLElement)return"mathml"}function z1(n){return Lt(n)?document.querySelector(n):n}const Qb=new Set,Gn=new WeakMap,ia=new WeakMap,oo=new WeakMap,Xp=new WeakMap,H1=new WeakMap,ra=new WeakMap,lf=new WeakMap,Wa=new WeakSet;let is,lg=0,cg=0;const mr="__aa_tgt",Cl="__aa_del",cf="__aa_new",G1=n=>{const e=j1(n);e&&e.forEach(t=>K1(t))},W1=n=>{n.forEach(e=>{e.target===is&&$1(),Gn.has(e.target)&&po(e.target)})};function X1(n){const e=Xp.get(n);e==null||e.disconnect();let t=Gn.get(n),i=0;const r=5;t||(t=sa(n),Gn.set(n,t));const{offsetWidth:s,offsetHeight:o}=is,l=[t.top-r,s-(t.left+r+t.width),o-(t.top+r+t.height),t.left-r].map(u=>`${-1*Math.floor(u)}px`).join(" "),c=new IntersectionObserver(()=>{++i>1&&po(n)},{root:is,threshold:1,rootMargin:l});c.observe(n),Xp.set(n,c)}function po(n){clearTimeout(lf.get(n));const e=yh(n),t=Rl(e)?500:e.duration;lf.set(n,setTimeout(async()=>{const i=oo.get(n);try{await(i==null?void 0:i.finished),Gn.set(n,sa(n)),X1(n)}catch{}},t))}function $1(){clearTimeout(lf.get(is)),lf.set(is,setTimeout(()=>{Qb.forEach(n=>iS(n,e=>eS(()=>po(e))))},100))}function q1(n){setTimeout(()=>{H1.set(n,setInterval(()=>eS(po.bind(null,n)),2e3))},Math.round(2e3*Math.random()))}function eS(n){typeof requestIdleCallback=="function"?requestIdleCallback(()=>n()):requestAnimationFrame(()=>n())}let $p,Wo;const Y1=typeof window<"u"&&"ResizeObserver"in window;Y1&&(is=document.documentElement,$p=new MutationObserver(G1),Wo=new ResizeObserver(W1),window.addEventListener("scroll",()=>{cg=window.scrollY,lg=window.scrollX}),Wo.observe(is));function j1(n){return n.reduce((i,r)=>[...i,...Array.from(r.addedNodes),...Array.from(r.removedNodes)],[]).every(i=>i.nodeName==="#comment")?!1:n.reduce((i,r)=>{if(i===!1)return!1;if(r.target instanceof Element){if(Td(r.target),!i.has(r.target)){i.add(r.target);for(let s=0;st(n,ra.has(n)));for(let t=0;tr(i,ra.has(i)))}}function fg(n){return Array.isArray(n)?n:[n]}function Rl(n){return typeof n=="function"}function J1(n){const e=Gn.get(n),t=sa(n);if(!ug(n))return Gn.set(n,t);let i;if(!e)return;const r=yh(n);if(typeof r!="function"){const s=e.left-t.left,o=e.top-t.top,[a,l,c,u]=tS(n,e,t),f={transform:`translate(${s}px, ${o}px)`},h={transform:"translate(0, 0)"};a!==l&&(f.width=`${a}px`,h.width=`${l}px`),c!==u&&(f.height=`${c}px`,h.height=`${u}px`),i=n.animate([f,h],{duration:r.duration,easing:r.easing})}else{const[s]=fg(r(n,"remain",e,t));i=new Animation(s),i.play()}oo.set(n,i),Gn.set(n,t),i.addEventListener("finish",po.bind(null,n))}function bv(n){cf in n&&delete n[cf];const e=sa(n);Gn.set(n,e);const t=yh(n);if(!ug(n))return;let i;if(typeof t!="function")i=n.animate([{transform:"scale(.98)",opacity:0},{transform:"scale(0.98)",opacity:0,offset:.5},{transform:"scale(1)",opacity:1}],{duration:t.duration*1.5,easing:"ease-in"});else{const[r]=fg(t(n,"add",e));i=new Animation(r),i.play()}oo.set(n,i),i.addEventListener("finish",po.bind(null,n))}function Sv(n,e){var t;n.remove(),Gn.delete(n),ia.delete(n),oo.delete(n),(t=Xp.get(n))===null||t===void 0||t.disconnect(),setTimeout(()=>{if(Cl in n&&delete n[Cl],Object.defineProperty(n,cf,{value:!0,configurable:!0}),e&&n instanceof HTMLElement)for(const i in e)n.style[i]=""},0)}function Q1(n){var e;if(!ia.has(n)||!Gn.has(n))return;const[t,i]=ia.get(n);Object.defineProperty(n,Cl,{value:!0,configurable:!0});const r=window.scrollX,s=window.scrollY;if(i&&i.parentNode&&i.parentNode instanceof Element?i.parentNode.insertBefore(n,i):t&&t.parentNode?t.parentNode.appendChild(n):(e=nS(n))===null||e===void 0||e.appendChild(n),!ug(n))return Sv(n);const[o,a,l,c]=tC(n),u=yh(n),f=Gn.get(n);(r!==lg||s!==cg)&&eC(n,r,s,u);let h,d={position:"absolute",top:`${o}px`,left:`${a}px`,width:`${l}px`,height:`${c}px`,margin:"0",pointerEvents:"none",transformOrigin:"center",zIndex:"100"};if(!Rl(u))Object.assign(n.style,d),h=n.animate([{transform:"scale(1)",opacity:1},{transform:"scale(.98)",opacity:0}],{duration:u.duration,easing:"ease-out"});else{const[p,_]=fg(u(n,"remove",f));(_==null?void 0:_.styleReset)!==!1&&(d=(_==null?void 0:_.styleReset)||d,Object.assign(n.style,d)),h=new Animation(p),h.play()}oo.set(n,h),h.addEventListener("finish",Sv.bind(null,n,d))}function eC(n,e,t,i){const r=lg-e,s=cg-t,o=document.documentElement.style.scrollBehavior;if(getComputedStyle(is).scrollBehavior==="smooth"&&(document.documentElement.style.scrollBehavior="auto"),window.scrollTo(window.scrollX+r,window.scrollY+s),!n.parentElement)return;const l=n.parentElement;let c=l.clientHeight,u=l.clientWidth;const f=performance.now();function h(){requestAnimationFrame(()=>{if(!Rl(i)){const d=c-l.clientHeight,p=u-l.clientWidth;f+i.duration>performance.now()?(window.scrollTo({left:window.scrollX-p,top:window.scrollY-d}),c=l.clientHeight,u=l.clientWidth,h()):document.documentElement.style.scrollBehavior=o}})}h()}function tC(n){const e=Gn.get(n),[t,,i]=tS(n,e,sa(n));let r=n.parentElement;for(;r&&(getComputedStyle(r).position==="static"||r instanceof HTMLBodyElement);)r=r.parentElement;r||(r=document.body);const s=getComputedStyle(r),o=Gn.get(r)||sa(r),a=Math.round(e.top-o.top)-Fi(s.borderTopWidth),l=Math.round(e.left-o.left)-Fi(s.borderLeftWidth);return[a,l,t,i]}function nC(n,e={}){return $p&&Wo&&(window.matchMedia("(prefers-reduced-motion: reduce)").matches&&!Rl(e)&&!e.disrespectUserMotionPreference||(Wa.add(n),getComputedStyle(n).position==="static"&&Object.assign(n.style,{position:"relative"}),iS(n,po,q1,r=>Wo==null?void 0:Wo.observe(r)),Rl(e)?ra.set(n,e):ra.set(n,{duration:250,easing:"ease-in-out",...e}),$p.observe(n,{childList:!0}),Qb.add(n))),Object.freeze({parent:n,enable:()=>{Wa.add(n)},disable:()=>{Wa.delete(n)},isEnabled:()=>Wa.has(n)})}const iC={mounted:(n,e)=>{nC(n,e.value||{})},getSSRProps:()=>({})},rC=iC,sC={install(n){n.directive("auto-animate",rC)}};/** * @license * Copyright 2010-2025 Three.js Authors * SPDX-License-Identifier: MIT - */const cc="174",oC={LEFT:0,MIDDLE:1,RIGHT:2,ROTATE:0,DOLLY:1,PAN:2},aC={ROTATE:0,PAN:1,DOLLY_PAN:2,DOLLY_ROTATE:3},rS=0,qp=1,sS=2,lC=3,cC=0,hg=1,dg=2,Bi=3,Er=0,Dn=1,Si=2,xr=0,eo=1,Yp=2,jp=3,Kp=4,oS=5,Kr=100,aS=101,lS=102,cS=103,uS=104,fS=200,hS=201,dS=202,pS=203,uf=204,ff=205,mS=206,gS=207,_S=208,vS=209,yS=210,xS=211,bS=212,SS=213,MS=214,hf=0,df=1,pf=2,ao=3,mf=4,gf=5,_f=6,vf=7,uc=0,ES=1,TS=2,Hi=0,wS=1,AS=2,CS=3,xh=4,RS=5,PS=6,IS=7,Zp="attached",LS="detached",bh=300,Tr=301,rs=302,Pl=303,Il=304,_a=306,Ll=1e3,li=1001,Dl=1002,cn=1003,pg=1004,uC=1004,Xo=1005,fC=1005,jt=1006,Qa=1007,hC=1007,zi=1008,dC=1008,qi=1009,mg=1010,gg=1011,oa=1012,Sh=1013,wr=1014,Hn=1015,va=1016,Mh=1017,Eh=1018,lo=1020,_g=35902,vg=1021,yg=1022,Ln=1023,xg=1024,bg=1025,to=1026,co=1027,Th=1028,fc=1029,Sg=1030,wh=1031,pC=1032,Ah=1033,el=33776,tl=33777,nl=33778,il=33779,yf=35840,xf=35841,bf=35842,Sf=35843,Mf=36196,Ef=37492,Tf=37496,wf=37808,Af=37809,Cf=37810,Rf=37811,Pf=37812,If=37813,Lf=37814,Df=37815,Of=37816,Nf=37817,Uf=37818,Ff=37819,Bf=37820,kf=37821,rl=36492,zf=36494,Vf=36495,Mg=36283,Hf=36284,Gf=36285,Wf=36286,DS=2200,OS=2201,NS=2202,Ol=2300,Xf=2301,Gu=2302,Ys=2400,js=2401,Nl=2402,Ch=2500,Eg=2501,mC=0,gC=1,_C=2,US=3200,FS=3201,vC=3202,yC=3203,fs=0,BS=1,dr="",Cn="srgb",uo="srgb-linear",Ul="linear",bt="srgb",xC=0,zs=7680,bC=7681,SC=7682,MC=7683,EC=34055,TC=34056,wC=5386,AC=512,CC=513,RC=514,PC=515,IC=516,LC=517,DC=518,Jp=519,kS=512,zS=513,VS=514,Tg=515,HS=516,GS=517,WS=518,XS=519,Fl=35044,OC=35048,NC=35040,UC=35045,FC=35049,BC=35041,kC=35046,zC=35050,VC=35042,HC="100",Qp="300 es",Mi=2e3,Bl=2001,GC={COMPUTE:"compute",RENDER:"render"};class ji{addEventListener(e,t){this._listeners===void 0&&(this._listeners={});const i=this._listeners;i[e]===void 0&&(i[e]=[]),i[e].indexOf(t)===-1&&i[e].push(t)}hasEventListener(e,t){const i=this._listeners;return i===void 0?!1:i[e]!==void 0&&i[e].indexOf(t)!==-1}removeEventListener(e,t){const i=this._listeners;if(i===void 0)return;const r=i[e];if(r!==void 0){const s=r.indexOf(t);s!==-1&&r.splice(s,1)}}dispatchEvent(e){const t=this._listeners;if(t===void 0)return;const i=t[e.type];if(i!==void 0){e.target=this;const r=i.slice(0);for(let s=0,o=r.length;s>8&255]+fn[n>>16&255]+fn[n>>24&255]+"-"+fn[e&255]+fn[e>>8&255]+"-"+fn[e>>16&15|64]+fn[e>>24&255]+"-"+fn[t&63|128]+fn[t>>8&255]+"-"+fn[t>>16&255]+fn[t>>24&255]+fn[i&255]+fn[i>>8&255]+fn[i>>16&255]+fn[i>>24&255]).toLowerCase()}function Ze(n,e,t){return Math.max(e,Math.min(t,n))}function wg(n,e){return(n%e+e)%e}function WC(n,e,t,i,r){return i+(n-e)*(r-i)/(t-e)}function XC(n,e,t){return n!==e?(t-n)/(e-n):0}function sl(n,e,t){return(1-t)*n+t*e}function $C(n,e,t,i){return sl(n,e,1-Math.exp(-t*i))}function qC(n,e=1){return e-Math.abs(wg(n,e*2)-e)}function YC(n,e,t){return n<=e?0:n>=t?1:(n=(n-e)/(t-e),n*n*(3-2*n))}function jC(n,e,t){return n<=e?0:n>=t?1:(n=(n-e)/(t-e),n*n*n*(n*(n*6-15)+10))}function KC(n,e){return n+Math.floor(Math.random()*(e-n+1))}function ZC(n,e){return n+Math.random()*(e-n)}function JC(n){return n*(.5-Math.random())}function QC(n){n!==void 0&&(Mv=n);let e=Mv+=1831565813;return e=Math.imul(e^e>>>15,e|1),e^=e+Math.imul(e^e>>>7,e|61),((e^e>>>14)>>>0)/4294967296}function eR(n){return n*no}function tR(n){return n*aa}function nR(n){return(n&n-1)===0&&n!==0}function iR(n){return Math.pow(2,Math.ceil(Math.log(n)/Math.LN2))}function rR(n){return Math.pow(2,Math.floor(Math.log(n)/Math.LN2))}function sR(n,e,t,i,r){const s=Math.cos,o=Math.sin,a=s(t/2),l=o(t/2),c=s((e+i)/2),u=o((e+i)/2),f=s((e-i)/2),h=o((e-i)/2),d=s((i-e)/2),p=o((i-e)/2);switch(r){case"XYX":n.set(a*u,l*f,l*h,a*c);break;case"YZY":n.set(l*h,a*u,l*f,a*c);break;case"ZXZ":n.set(l*f,l*h,a*u,a*c);break;case"XZX":n.set(a*u,l*p,l*d,a*c);break;case"YXY":n.set(l*d,a*u,l*p,a*c);break;case"ZYZ":n.set(l*p,l*d,a*u,a*c);break;default:console.warn("THREE.MathUtils: .setQuaternionFromProperEuler() encountered an unknown order: "+r)}}function In(n,e){switch(e.constructor){case Float32Array:return n;case Uint32Array:return n/4294967295;case Uint16Array:return n/65535;case Uint8Array:return n/255;case Int32Array:return Math.max(n/2147483647,-1);case Int16Array:return Math.max(n/32767,-1);case Int8Array:return Math.max(n/127,-1);default:throw new Error("Invalid component type.")}}function tt(n,e){switch(e.constructor){case Float32Array:return n;case Uint32Array:return Math.round(n*4294967295);case Uint16Array:return Math.round(n*65535);case Uint8Array:return Math.round(n*255);case Int32Array:return Math.round(n*2147483647);case Int16Array:return Math.round(n*32767);case Int8Array:return Math.round(n*127);default:throw new Error("Invalid component type.")}}const Ag={DEG2RAD:no,RAD2DEG:aa,generateUUID:Zn,clamp:Ze,euclideanModulo:wg,mapLinear:WC,inverseLerp:XC,lerp:sl,damp:$C,pingpong:qC,smoothstep:YC,smootherstep:jC,randInt:KC,randFloat:ZC,randFloatSpread:JC,seededRandom:QC,degToRad:eR,radToDeg:tR,isPowerOfTwo:nR,ceilPowerOfTwo:iR,floorPowerOfTwo:rR,setQuaternionFromProperEuler:sR,normalize:tt,denormalize:In};class fe{constructor(e=0,t=0){fe.prototype.isVector2=!0,this.x=e,this.y=t}get width(){return this.x}set width(e){this.x=e}get height(){return this.y}set height(e){this.y=e}set(e,t){return this.x=e,this.y=t,this}setScalar(e){return this.x=e,this.y=e,this}setX(e){return this.x=e,this}setY(e){return this.y=e,this}setComponent(e,t){switch(e){case 0:this.x=t;break;case 1:this.y=t;break;default:throw new Error("index is out of range: "+e)}return this}getComponent(e){switch(e){case 0:return this.x;case 1:return this.y;default:throw new Error("index is out of range: "+e)}}clone(){return new this.constructor(this.x,this.y)}copy(e){return this.x=e.x,this.y=e.y,this}add(e){return this.x+=e.x,this.y+=e.y,this}addScalar(e){return this.x+=e,this.y+=e,this}addVectors(e,t){return this.x=e.x+t.x,this.y=e.y+t.y,this}addScaledVector(e,t){return this.x+=e.x*t,this.y+=e.y*t,this}sub(e){return this.x-=e.x,this.y-=e.y,this}subScalar(e){return this.x-=e,this.y-=e,this}subVectors(e,t){return this.x=e.x-t.x,this.y=e.y-t.y,this}multiply(e){return this.x*=e.x,this.y*=e.y,this}multiplyScalar(e){return this.x*=e,this.y*=e,this}divide(e){return this.x/=e.x,this.y/=e.y,this}divideScalar(e){return this.multiplyScalar(1/e)}applyMatrix3(e){const t=this.x,i=this.y,r=e.elements;return this.x=r[0]*t+r[3]*i+r[6],this.y=r[1]*t+r[4]*i+r[7],this}min(e){return this.x=Math.min(this.x,e.x),this.y=Math.min(this.y,e.y),this}max(e){return this.x=Math.max(this.x,e.x),this.y=Math.max(this.y,e.y),this}clamp(e,t){return this.x=Ze(this.x,e.x,t.x),this.y=Ze(this.y,e.y,t.y),this}clampScalar(e,t){return this.x=Ze(this.x,e,t),this.y=Ze(this.y,e,t),this}clampLength(e,t){const i=this.length();return this.divideScalar(i||1).multiplyScalar(Ze(i,e,t))}floor(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this}ceil(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this}round(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this}roundToZero(){return this.x=Math.trunc(this.x),this.y=Math.trunc(this.y),this}negate(){return this.x=-this.x,this.y=-this.y,this}dot(e){return this.x*e.x+this.y*e.y}cross(e){return this.x*e.y-this.y*e.x}lengthSq(){return this.x*this.x+this.y*this.y}length(){return Math.sqrt(this.x*this.x+this.y*this.y)}manhattanLength(){return Math.abs(this.x)+Math.abs(this.y)}normalize(){return this.divideScalar(this.length()||1)}angle(){return Math.atan2(-this.y,-this.x)+Math.PI}angleTo(e){const t=Math.sqrt(this.lengthSq()*e.lengthSq());if(t===0)return Math.PI/2;const i=this.dot(e)/t;return Math.acos(Ze(i,-1,1))}distanceTo(e){return Math.sqrt(this.distanceToSquared(e))}distanceToSquared(e){const t=this.x-e.x,i=this.y-e.y;return t*t+i*i}manhattanDistanceTo(e){return Math.abs(this.x-e.x)+Math.abs(this.y-e.y)}setLength(e){return this.normalize().multiplyScalar(e)}lerp(e,t){return this.x+=(e.x-this.x)*t,this.y+=(e.y-this.y)*t,this}lerpVectors(e,t,i){return this.x=e.x+(t.x-e.x)*i,this.y=e.y+(t.y-e.y)*i,this}equals(e){return e.x===this.x&&e.y===this.y}fromArray(e,t=0){return this.x=e[t],this.y=e[t+1],this}toArray(e=[],t=0){return e[t]=this.x,e[t+1]=this.y,e}fromBufferAttribute(e,t){return this.x=e.getX(t),this.y=e.getY(t),this}rotateAround(e,t){const i=Math.cos(t),r=Math.sin(t),s=this.x-e.x,o=this.y-e.y;return this.x=s*i-o*r+e.x,this.y=s*r+o*i+e.y,this}random(){return this.x=Math.random(),this.y=Math.random(),this}*[Symbol.iterator](){yield this.x,yield this.y}}class et{constructor(e,t,i,r,s,o,a,l,c){et.prototype.isMatrix3=!0,this.elements=[1,0,0,0,1,0,0,0,1],e!==void 0&&this.set(e,t,i,r,s,o,a,l,c)}set(e,t,i,r,s,o,a,l,c){const u=this.elements;return u[0]=e,u[1]=r,u[2]=a,u[3]=t,u[4]=s,u[5]=l,u[6]=i,u[7]=o,u[8]=c,this}identity(){return this.set(1,0,0,0,1,0,0,0,1),this}copy(e){const t=this.elements,i=e.elements;return t[0]=i[0],t[1]=i[1],t[2]=i[2],t[3]=i[3],t[4]=i[4],t[5]=i[5],t[6]=i[6],t[7]=i[7],t[8]=i[8],this}extractBasis(e,t,i){return e.setFromMatrix3Column(this,0),t.setFromMatrix3Column(this,1),i.setFromMatrix3Column(this,2),this}setFromMatrix4(e){const t=e.elements;return this.set(t[0],t[4],t[8],t[1],t[5],t[9],t[2],t[6],t[10]),this}multiply(e){return this.multiplyMatrices(this,e)}premultiply(e){return this.multiplyMatrices(e,this)}multiplyMatrices(e,t){const i=e.elements,r=t.elements,s=this.elements,o=i[0],a=i[3],l=i[6],c=i[1],u=i[4],f=i[7],h=i[2],d=i[5],p=i[8],_=r[0],g=r[3],m=r[6],y=r[1],x=r[4],v=r[7],E=r[2],T=r[5],M=r[8];return s[0]=o*_+a*y+l*E,s[3]=o*g+a*x+l*T,s[6]=o*m+a*v+l*M,s[1]=c*_+u*y+f*E,s[4]=c*g+u*x+f*T,s[7]=c*m+u*v+f*M,s[2]=h*_+d*y+p*E,s[5]=h*g+d*x+p*T,s[8]=h*m+d*v+p*M,this}multiplyScalar(e){const t=this.elements;return t[0]*=e,t[3]*=e,t[6]*=e,t[1]*=e,t[4]*=e,t[7]*=e,t[2]*=e,t[5]*=e,t[8]*=e,this}determinant(){const e=this.elements,t=e[0],i=e[1],r=e[2],s=e[3],o=e[4],a=e[5],l=e[6],c=e[7],u=e[8];return t*o*u-t*a*c-i*s*u+i*a*l+r*s*c-r*o*l}invert(){const e=this.elements,t=e[0],i=e[1],r=e[2],s=e[3],o=e[4],a=e[5],l=e[6],c=e[7],u=e[8],f=u*o-a*c,h=a*l-u*s,d=c*s-o*l,p=t*f+i*h+r*d;if(p===0)return this.set(0,0,0,0,0,0,0,0,0);const _=1/p;return e[0]=f*_,e[1]=(r*c-u*i)*_,e[2]=(a*i-r*o)*_,e[3]=h*_,e[4]=(u*t-r*l)*_,e[5]=(r*s-a*t)*_,e[6]=d*_,e[7]=(i*l-c*t)*_,e[8]=(o*t-i*s)*_,this}transpose(){let e;const t=this.elements;return e=t[1],t[1]=t[3],t[3]=e,e=t[2],t[2]=t[6],t[6]=e,e=t[5],t[5]=t[7],t[7]=e,this}getNormalMatrix(e){return this.setFromMatrix4(e).invert().transpose()}transposeIntoArray(e){const t=this.elements;return e[0]=t[0],e[1]=t[3],e[2]=t[6],e[3]=t[1],e[4]=t[4],e[5]=t[7],e[6]=t[2],e[7]=t[5],e[8]=t[8],this}setUvTransform(e,t,i,r,s,o,a){const l=Math.cos(s),c=Math.sin(s);return this.set(i*l,i*c,-i*(l*o+c*a)+o+e,-r*c,r*l,-r*(-c*o+l*a)+a+t,0,0,1),this}scale(e,t){return this.premultiply(wd.makeScale(e,t)),this}rotate(e){return this.premultiply(wd.makeRotation(-e)),this}translate(e,t){return this.premultiply(wd.makeTranslation(e,t)),this}makeTranslation(e,t){return e.isVector2?this.set(1,0,e.x,0,1,e.y,0,0,1):this.set(1,0,e,0,1,t,0,0,1),this}makeRotation(e){const t=Math.cos(e),i=Math.sin(e);return this.set(t,-i,0,i,t,0,0,0,1),this}makeScale(e,t){return this.set(e,0,0,0,t,0,0,0,1),this}equals(e){const t=this.elements,i=e.elements;for(let r=0;r<9;r++)if(t[r]!==i[r])return!1;return!0}fromArray(e,t=0){for(let i=0;i<9;i++)this.elements[i]=e[i+t];return this}toArray(e=[],t=0){const i=this.elements;return e[t]=i[0],e[t+1]=i[1],e[t+2]=i[2],e[t+3]=i[3],e[t+4]=i[4],e[t+5]=i[5],e[t+6]=i[6],e[t+7]=i[7],e[t+8]=i[8],e}clone(){return new this.constructor().fromArray(this.elements)}}const wd=new et;function $S(n){for(let e=n.length-1;e>=0;--e)if(n[e]>=65535)return!0;return!1}const oR={Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array};function $o(n,e){return new oR[n](e)}function kl(n){return document.createElementNS("http://www.w3.org/1999/xhtml",n)}function qS(){const n=kl("canvas");return n.style.display="block",n}const Ev={};function Vs(n){n in Ev||(Ev[n]=!0,console.warn(n))}function aR(n,e,t){return new Promise(function(i,r){function s(){switch(n.clientWaitSync(e,n.SYNC_FLUSH_COMMANDS_BIT,0)){case n.WAIT_FAILED:r();break;case n.TIMEOUT_EXPIRED:setTimeout(s,t);break;default:i()}}setTimeout(s,t)})}function lR(n){const e=n.elements;e[2]=.5*e[2]+.5*e[3],e[6]=.5*e[6]+.5*e[7],e[10]=.5*e[10]+.5*e[11],e[14]=.5*e[14]+.5*e[15]}function cR(n){const e=n.elements;e[11]===-1?(e[10]=-e[10]-1,e[14]=-e[14]):(e[10]=-e[10],e[14]=-e[14]+1)}const Tv=new et().set(.4123908,.3575843,.1804808,.212639,.7151687,.0721923,.0193308,.1191948,.9505322),wv=new et().set(3.2409699,-1.5373832,-.4986108,-.9692436,1.8759675,.0415551,.0556301,-.203977,1.0569715);function uR(){const n={enabled:!0,workingColorSpace:uo,spaces:{},convert:function(r,s,o){return this.enabled===!1||s===o||!s||!o||(this.spaces[s].transfer===bt&&(r.r=br(r.r),r.g=br(r.g),r.b=br(r.b)),this.spaces[s].primaries!==this.spaces[o].primaries&&(r.applyMatrix3(this.spaces[s].toXYZ),r.applyMatrix3(this.spaces[o].fromXYZ)),this.spaces[o].transfer===bt&&(r.r=ea(r.r),r.g=ea(r.g),r.b=ea(r.b))),r},fromWorkingColorSpace:function(r,s){return this.convert(r,this.workingColorSpace,s)},toWorkingColorSpace:function(r,s){return this.convert(r,s,this.workingColorSpace)},getPrimaries:function(r){return this.spaces[r].primaries},getTransfer:function(r){return r===dr?Ul:this.spaces[r].transfer},getLuminanceCoefficients:function(r,s=this.workingColorSpace){return r.fromArray(this.spaces[s].luminanceCoefficients)},define:function(r){Object.assign(this.spaces,r)},_getMatrix:function(r,s,o){return r.copy(this.spaces[s].toXYZ).multiply(this.spaces[o].fromXYZ)},_getDrawingBufferColorSpace:function(r){return this.spaces[r].outputColorSpaceConfig.drawingBufferColorSpace},_getUnpackColorSpace:function(r=this.workingColorSpace){return this.spaces[r].workingColorSpaceConfig.unpackColorSpace}},e=[.64,.33,.3,.6,.15,.06],t=[.2126,.7152,.0722],i=[.3127,.329];return n.define({[uo]:{primaries:e,whitePoint:i,transfer:Ul,toXYZ:Tv,fromXYZ:wv,luminanceCoefficients:t,workingColorSpaceConfig:{unpackColorSpace:Cn},outputColorSpaceConfig:{drawingBufferColorSpace:Cn}},[Cn]:{primaries:e,whitePoint:i,transfer:bt,toXYZ:Tv,fromXYZ:wv,luminanceCoefficients:t,outputColorSpaceConfig:{drawingBufferColorSpace:Cn}}}),n}const at=uR();function br(n){return n<.04045?n*.0773993808:Math.pow(n*.9478672986+.0521327014,2.4)}function ea(n){return n<.0031308?n*12.92:1.055*Math.pow(n,.41666)-.055}let So;class YS{static getDataURL(e){if(/^data:/i.test(e.src)||typeof HTMLCanvasElement>"u")return e.src;let t;if(e instanceof HTMLCanvasElement)t=e;else{So===void 0&&(So=kl("canvas")),So.width=e.width,So.height=e.height;const i=So.getContext("2d");e instanceof ImageData?i.putImageData(e,0,0):i.drawImage(e,0,0,e.width,e.height),t=So}return t.toDataURL("image/png")}static sRGBToLinear(e){if(typeof HTMLImageElement<"u"&&e instanceof HTMLImageElement||typeof HTMLCanvasElement<"u"&&e instanceof HTMLCanvasElement||typeof ImageBitmap<"u"&&e instanceof ImageBitmap){const t=kl("canvas");t.width=e.width,t.height=e.height;const i=t.getContext("2d");i.drawImage(e,0,0,e.width,e.height);const r=i.getImageData(0,0,e.width,e.height),s=r.data;for(let o=0;o0&&(i.userData=this.userData),t||(e.textures[this.uuid]=i),i}dispose(){this.dispatchEvent({type:"dispose"})}transformUv(e){if(this.mapping!==bh)return e;if(e.applyMatrix3(this.matrix),e.x<0||e.x>1)switch(this.wrapS){case Ll:e.x=e.x-Math.floor(e.x);break;case li:e.x=e.x<0?0:1;break;case Dl:Math.abs(Math.floor(e.x)%2)===1?e.x=Math.ceil(e.x)-e.x:e.x=e.x-Math.floor(e.x);break}if(e.y<0||e.y>1)switch(this.wrapT){case Ll:e.y=e.y-Math.floor(e.y);break;case li:e.y=e.y<0?0:1;break;case Dl:Math.abs(Math.floor(e.y)%2)===1?e.y=Math.ceil(e.y)-e.y:e.y=e.y-Math.floor(e.y);break}return this.flipY&&(e.y=1-e.y),e}set needsUpdate(e){e===!0&&(this.version++,this.source.needsUpdate=!0)}set needsPMREMUpdate(e){e===!0&&this.pmremVersion++}}zt.DEFAULT_IMAGE=null;zt.DEFAULT_MAPPING=bh;zt.DEFAULT_ANISOTROPY=1;class ht{constructor(e=0,t=0,i=0,r=1){ht.prototype.isVector4=!0,this.x=e,this.y=t,this.z=i,this.w=r}get width(){return this.z}set width(e){this.z=e}get height(){return this.w}set height(e){this.w=e}set(e,t,i,r){return this.x=e,this.y=t,this.z=i,this.w=r,this}setScalar(e){return this.x=e,this.y=e,this.z=e,this.w=e,this}setX(e){return this.x=e,this}setY(e){return this.y=e,this}setZ(e){return this.z=e,this}setW(e){return this.w=e,this}setComponent(e,t){switch(e){case 0:this.x=t;break;case 1:this.y=t;break;case 2:this.z=t;break;case 3:this.w=t;break;default:throw new Error("index is out of range: "+e)}return this}getComponent(e){switch(e){case 0:return this.x;case 1:return this.y;case 2:return this.z;case 3:return this.w;default:throw new Error("index is out of range: "+e)}}clone(){return new this.constructor(this.x,this.y,this.z,this.w)}copy(e){return this.x=e.x,this.y=e.y,this.z=e.z,this.w=e.w!==void 0?e.w:1,this}add(e){return this.x+=e.x,this.y+=e.y,this.z+=e.z,this.w+=e.w,this}addScalar(e){return this.x+=e,this.y+=e,this.z+=e,this.w+=e,this}addVectors(e,t){return this.x=e.x+t.x,this.y=e.y+t.y,this.z=e.z+t.z,this.w=e.w+t.w,this}addScaledVector(e,t){return this.x+=e.x*t,this.y+=e.y*t,this.z+=e.z*t,this.w+=e.w*t,this}sub(e){return this.x-=e.x,this.y-=e.y,this.z-=e.z,this.w-=e.w,this}subScalar(e){return this.x-=e,this.y-=e,this.z-=e,this.w-=e,this}subVectors(e,t){return this.x=e.x-t.x,this.y=e.y-t.y,this.z=e.z-t.z,this.w=e.w-t.w,this}multiply(e){return this.x*=e.x,this.y*=e.y,this.z*=e.z,this.w*=e.w,this}multiplyScalar(e){return this.x*=e,this.y*=e,this.z*=e,this.w*=e,this}applyMatrix4(e){const t=this.x,i=this.y,r=this.z,s=this.w,o=e.elements;return this.x=o[0]*t+o[4]*i+o[8]*r+o[12]*s,this.y=o[1]*t+o[5]*i+o[9]*r+o[13]*s,this.z=o[2]*t+o[6]*i+o[10]*r+o[14]*s,this.w=o[3]*t+o[7]*i+o[11]*r+o[15]*s,this}divide(e){return this.x/=e.x,this.y/=e.y,this.z/=e.z,this.w/=e.w,this}divideScalar(e){return this.multiplyScalar(1/e)}setAxisAngleFromQuaternion(e){this.w=2*Math.acos(e.w);const t=Math.sqrt(1-e.w*e.w);return t<1e-4?(this.x=1,this.y=0,this.z=0):(this.x=e.x/t,this.y=e.y/t,this.z=e.z/t),this}setAxisAngleFromRotationMatrix(e){let t,i,r,s;const l=e.elements,c=l[0],u=l[4],f=l[8],h=l[1],d=l[5],p=l[9],_=l[2],g=l[6],m=l[10];if(Math.abs(u-h)<.01&&Math.abs(f-_)<.01&&Math.abs(p-g)<.01){if(Math.abs(u+h)<.1&&Math.abs(f+_)<.1&&Math.abs(p+g)<.1&&Math.abs(c+d+m-3)<.1)return this.set(1,0,0,0),this;t=Math.PI;const x=(c+1)/2,v=(d+1)/2,E=(m+1)/2,T=(u+h)/4,M=(f+_)/4,P=(p+g)/4;return x>v&&x>E?x<.01?(i=0,r=.707106781,s=.707106781):(i=Math.sqrt(x),r=T/i,s=M/i):v>E?v<.01?(i=.707106781,r=0,s=.707106781):(r=Math.sqrt(v),i=T/r,s=P/r):E<.01?(i=.707106781,r=.707106781,s=0):(s=Math.sqrt(E),i=M/s,r=P/s),this.set(i,r,s,t),this}let y=Math.sqrt((g-p)*(g-p)+(f-_)*(f-_)+(h-u)*(h-u));return Math.abs(y)<.001&&(y=1),this.x=(g-p)/y,this.y=(f-_)/y,this.z=(h-u)/y,this.w=Math.acos((c+d+m-1)/2),this}setFromMatrixPosition(e){const t=e.elements;return this.x=t[12],this.y=t[13],this.z=t[14],this.w=t[15],this}min(e){return this.x=Math.min(this.x,e.x),this.y=Math.min(this.y,e.y),this.z=Math.min(this.z,e.z),this.w=Math.min(this.w,e.w),this}max(e){return this.x=Math.max(this.x,e.x),this.y=Math.max(this.y,e.y),this.z=Math.max(this.z,e.z),this.w=Math.max(this.w,e.w),this}clamp(e,t){return this.x=Ze(this.x,e.x,t.x),this.y=Ze(this.y,e.y,t.y),this.z=Ze(this.z,e.z,t.z),this.w=Ze(this.w,e.w,t.w),this}clampScalar(e,t){return this.x=Ze(this.x,e,t),this.y=Ze(this.y,e,t),this.z=Ze(this.z,e,t),this.w=Ze(this.w,e,t),this}clampLength(e,t){const i=this.length();return this.divideScalar(i||1).multiplyScalar(Ze(i,e,t))}floor(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this.z=Math.floor(this.z),this.w=Math.floor(this.w),this}ceil(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this.z=Math.ceil(this.z),this.w=Math.ceil(this.w),this}round(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this.z=Math.round(this.z),this.w=Math.round(this.w),this}roundToZero(){return this.x=Math.trunc(this.x),this.y=Math.trunc(this.y),this.z=Math.trunc(this.z),this.w=Math.trunc(this.w),this}negate(){return this.x=-this.x,this.y=-this.y,this.z=-this.z,this.w=-this.w,this}dot(e){return this.x*e.x+this.y*e.y+this.z*e.z+this.w*e.w}lengthSq(){return this.x*this.x+this.y*this.y+this.z*this.z+this.w*this.w}length(){return Math.sqrt(this.x*this.x+this.y*this.y+this.z*this.z+this.w*this.w)}manhattanLength(){return Math.abs(this.x)+Math.abs(this.y)+Math.abs(this.z)+Math.abs(this.w)}normalize(){return this.divideScalar(this.length()||1)}setLength(e){return this.normalize().multiplyScalar(e)}lerp(e,t){return this.x+=(e.x-this.x)*t,this.y+=(e.y-this.y)*t,this.z+=(e.z-this.z)*t,this.w+=(e.w-this.w)*t,this}lerpVectors(e,t,i){return this.x=e.x+(t.x-e.x)*i,this.y=e.y+(t.y-e.y)*i,this.z=e.z+(t.z-e.z)*i,this.w=e.w+(t.w-e.w)*i,this}equals(e){return e.x===this.x&&e.y===this.y&&e.z===this.z&&e.w===this.w}fromArray(e,t=0){return this.x=e[t],this.y=e[t+1],this.z=e[t+2],this.w=e[t+3],this}toArray(e=[],t=0){return e[t]=this.x,e[t+1]=this.y,e[t+2]=this.z,e[t+3]=this.w,e}fromBufferAttribute(e,t){return this.x=e.getX(t),this.y=e.getY(t),this.z=e.getZ(t),this.w=e.getW(t),this}random(){return this.x=Math.random(),this.y=Math.random(),this.z=Math.random(),this.w=Math.random(),this}*[Symbol.iterator](){yield this.x,yield this.y,yield this.z,yield this.w}}class Rh extends ji{constructor(e=1,t=1,i={}){super(),this.isRenderTarget=!0,this.width=e,this.height=t,this.depth=1,this.scissor=new ht(0,0,e,t),this.scissorTest=!1,this.viewport=new ht(0,0,e,t);const r={width:e,height:t,depth:1};i=Object.assign({generateMipmaps:!1,internalFormat:null,minFilter:jt,depthBuffer:!0,stencilBuffer:!1,resolveDepthBuffer:!0,resolveStencilBuffer:!0,depthTexture:null,samples:0,count:1},i);const s=new zt(r,i.mapping,i.wrapS,i.wrapT,i.magFilter,i.minFilter,i.format,i.type,i.anisotropy,i.colorSpace);s.flipY=!1,s.generateMipmaps=i.generateMipmaps,s.internalFormat=i.internalFormat,this.textures=[];const o=i.count;for(let a=0;a=0?1:-1,x=1-m*m;if(x>Number.EPSILON){const E=Math.sqrt(x),T=Math.atan2(E,m*y);g=Math.sin(g*T)/E,a=Math.sin(a*T)/E}const v=a*y;if(l=l*g+h*v,c=c*g+d*v,u=u*g+p*v,f=f*g+_*v,g===1-a){const E=1/Math.sqrt(l*l+c*c+u*u+f*f);l*=E,c*=E,u*=E,f*=E}}e[t]=l,e[t+1]=c,e[t+2]=u,e[t+3]=f}static multiplyQuaternionsFlat(e,t,i,r,s,o){const a=i[r],l=i[r+1],c=i[r+2],u=i[r+3],f=s[o],h=s[o+1],d=s[o+2],p=s[o+3];return e[t]=a*p+u*f+l*d-c*h,e[t+1]=l*p+u*h+c*f-a*d,e[t+2]=c*p+u*d+a*h-l*f,e[t+3]=u*p-a*f-l*h-c*d,e}get x(){return this._x}set x(e){this._x=e,this._onChangeCallback()}get y(){return this._y}set y(e){this._y=e,this._onChangeCallback()}get z(){return this._z}set z(e){this._z=e,this._onChangeCallback()}get w(){return this._w}set w(e){this._w=e,this._onChangeCallback()}set(e,t,i,r){return this._x=e,this._y=t,this._z=i,this._w=r,this._onChangeCallback(),this}clone(){return new this.constructor(this._x,this._y,this._z,this._w)}copy(e){return this._x=e.x,this._y=e.y,this._z=e.z,this._w=e.w,this._onChangeCallback(),this}setFromEuler(e,t=!0){const i=e._x,r=e._y,s=e._z,o=e._order,a=Math.cos,l=Math.sin,c=a(i/2),u=a(r/2),f=a(s/2),h=l(i/2),d=l(r/2),p=l(s/2);switch(o){case"XYZ":this._x=h*u*f+c*d*p,this._y=c*d*f-h*u*p,this._z=c*u*p+h*d*f,this._w=c*u*f-h*d*p;break;case"YXZ":this._x=h*u*f+c*d*p,this._y=c*d*f-h*u*p,this._z=c*u*p-h*d*f,this._w=c*u*f+h*d*p;break;case"ZXY":this._x=h*u*f-c*d*p,this._y=c*d*f+h*u*p,this._z=c*u*p+h*d*f,this._w=c*u*f-h*d*p;break;case"ZYX":this._x=h*u*f-c*d*p,this._y=c*d*f+h*u*p,this._z=c*u*p-h*d*f,this._w=c*u*f+h*d*p;break;case"YZX":this._x=h*u*f+c*d*p,this._y=c*d*f+h*u*p,this._z=c*u*p-h*d*f,this._w=c*u*f-h*d*p;break;case"XZY":this._x=h*u*f-c*d*p,this._y=c*d*f-h*u*p,this._z=c*u*p+h*d*f,this._w=c*u*f+h*d*p;break;default:console.warn("THREE.Quaternion: .setFromEuler() encountered an unknown order: "+o)}return t===!0&&this._onChangeCallback(),this}setFromAxisAngle(e,t){const i=t/2,r=Math.sin(i);return this._x=e.x*r,this._y=e.y*r,this._z=e.z*r,this._w=Math.cos(i),this._onChangeCallback(),this}setFromRotationMatrix(e){const t=e.elements,i=t[0],r=t[4],s=t[8],o=t[1],a=t[5],l=t[9],c=t[2],u=t[6],f=t[10],h=i+a+f;if(h>0){const d=.5/Math.sqrt(h+1);this._w=.25/d,this._x=(u-l)*d,this._y=(s-c)*d,this._z=(o-r)*d}else if(i>a&&i>f){const d=2*Math.sqrt(1+i-a-f);this._w=(u-l)/d,this._x=.25*d,this._y=(r+o)/d,this._z=(s+c)/d}else if(a>f){const d=2*Math.sqrt(1+a-i-f);this._w=(s-c)/d,this._x=(r+o)/d,this._y=.25*d,this._z=(l+u)/d}else{const d=2*Math.sqrt(1+f-i-a);this._w=(o-r)/d,this._x=(s+c)/d,this._y=(l+u)/d,this._z=.25*d}return this._onChangeCallback(),this}setFromUnitVectors(e,t){let i=e.dot(t)+1;return iMath.abs(e.z)?(this._x=-e.y,this._y=e.x,this._z=0,this._w=i):(this._x=0,this._y=-e.z,this._z=e.y,this._w=i)):(this._x=e.y*t.z-e.z*t.y,this._y=e.z*t.x-e.x*t.z,this._z=e.x*t.y-e.y*t.x,this._w=i),this.normalize()}angleTo(e){return 2*Math.acos(Math.abs(Ze(this.dot(e),-1,1)))}rotateTowards(e,t){const i=this.angleTo(e);if(i===0)return this;const r=Math.min(1,t/i);return this.slerp(e,r),this}identity(){return this.set(0,0,0,1)}invert(){return this.conjugate()}conjugate(){return this._x*=-1,this._y*=-1,this._z*=-1,this._onChangeCallback(),this}dot(e){return this._x*e._x+this._y*e._y+this._z*e._z+this._w*e._w}lengthSq(){return this._x*this._x+this._y*this._y+this._z*this._z+this._w*this._w}length(){return Math.sqrt(this._x*this._x+this._y*this._y+this._z*this._z+this._w*this._w)}normalize(){let e=this.length();return e===0?(this._x=0,this._y=0,this._z=0,this._w=1):(e=1/e,this._x=this._x*e,this._y=this._y*e,this._z=this._z*e,this._w=this._w*e),this._onChangeCallback(),this}multiply(e){return this.multiplyQuaternions(this,e)}premultiply(e){return this.multiplyQuaternions(e,this)}multiplyQuaternions(e,t){const i=e._x,r=e._y,s=e._z,o=e._w,a=t._x,l=t._y,c=t._z,u=t._w;return this._x=i*u+o*a+r*c-s*l,this._y=r*u+o*l+s*a-i*c,this._z=s*u+o*c+i*l-r*a,this._w=o*u-i*a-r*l-s*c,this._onChangeCallback(),this}slerp(e,t){if(t===0)return this;if(t===1)return this.copy(e);const i=this._x,r=this._y,s=this._z,o=this._w;let a=o*e._w+i*e._x+r*e._y+s*e._z;if(a<0?(this._w=-e._w,this._x=-e._x,this._y=-e._y,this._z=-e._z,a=-a):this.copy(e),a>=1)return this._w=o,this._x=i,this._y=r,this._z=s,this;const l=1-a*a;if(l<=Number.EPSILON){const d=1-t;return this._w=d*o+t*this._w,this._x=d*i+t*this._x,this._y=d*r+t*this._y,this._z=d*s+t*this._z,this.normalize(),this}const c=Math.sqrt(l),u=Math.atan2(c,a),f=Math.sin((1-t)*u)/c,h=Math.sin(t*u)/c;return this._w=o*f+this._w*h,this._x=i*f+this._x*h,this._y=r*f+this._y*h,this._z=s*f+this._z*h,this._onChangeCallback(),this}slerpQuaternions(e,t,i){return this.copy(e).slerp(t,i)}random(){const e=2*Math.PI*Math.random(),t=2*Math.PI*Math.random(),i=Math.random(),r=Math.sqrt(1-i),s=Math.sqrt(i);return this.set(r*Math.sin(e),r*Math.cos(e),s*Math.sin(t),s*Math.cos(t))}equals(e){return e._x===this._x&&e._y===this._y&&e._z===this._z&&e._w===this._w}fromArray(e,t=0){return this._x=e[t],this._y=e[t+1],this._z=e[t+2],this._w=e[t+3],this._onChangeCallback(),this}toArray(e=[],t=0){return e[t]=this._x,e[t+1]=this._y,e[t+2]=this._z,e[t+3]=this._w,e}fromBufferAttribute(e,t){return this._x=e.getX(t),this._y=e.getY(t),this._z=e.getZ(t),this._w=e.getW(t),this._onChangeCallback(),this}toJSON(){return this.toArray()}_onChange(e){return this._onChangeCallback=e,this}_onChangeCallback(){}*[Symbol.iterator](){yield this._x,yield this._y,yield this._z,yield this._w}}class F{constructor(e=0,t=0,i=0){F.prototype.isVector3=!0,this.x=e,this.y=t,this.z=i}set(e,t,i){return i===void 0&&(i=this.z),this.x=e,this.y=t,this.z=i,this}setScalar(e){return this.x=e,this.y=e,this.z=e,this}setX(e){return this.x=e,this}setY(e){return this.y=e,this}setZ(e){return this.z=e,this}setComponent(e,t){switch(e){case 0:this.x=t;break;case 1:this.y=t;break;case 2:this.z=t;break;default:throw new Error("index is out of range: "+e)}return this}getComponent(e){switch(e){case 0:return this.x;case 1:return this.y;case 2:return this.z;default:throw new Error("index is out of range: "+e)}}clone(){return new this.constructor(this.x,this.y,this.z)}copy(e){return this.x=e.x,this.y=e.y,this.z=e.z,this}add(e){return this.x+=e.x,this.y+=e.y,this.z+=e.z,this}addScalar(e){return this.x+=e,this.y+=e,this.z+=e,this}addVectors(e,t){return this.x=e.x+t.x,this.y=e.y+t.y,this.z=e.z+t.z,this}addScaledVector(e,t){return this.x+=e.x*t,this.y+=e.y*t,this.z+=e.z*t,this}sub(e){return this.x-=e.x,this.y-=e.y,this.z-=e.z,this}subScalar(e){return this.x-=e,this.y-=e,this.z-=e,this}subVectors(e,t){return this.x=e.x-t.x,this.y=e.y-t.y,this.z=e.z-t.z,this}multiply(e){return this.x*=e.x,this.y*=e.y,this.z*=e.z,this}multiplyScalar(e){return this.x*=e,this.y*=e,this.z*=e,this}multiplyVectors(e,t){return this.x=e.x*t.x,this.y=e.y*t.y,this.z=e.z*t.z,this}applyEuler(e){return this.applyQuaternion(Av.setFromEuler(e))}applyAxisAngle(e,t){return this.applyQuaternion(Av.setFromAxisAngle(e,t))}applyMatrix3(e){const t=this.x,i=this.y,r=this.z,s=e.elements;return this.x=s[0]*t+s[3]*i+s[6]*r,this.y=s[1]*t+s[4]*i+s[7]*r,this.z=s[2]*t+s[5]*i+s[8]*r,this}applyNormalMatrix(e){return this.applyMatrix3(e).normalize()}applyMatrix4(e){const t=this.x,i=this.y,r=this.z,s=e.elements,o=1/(s[3]*t+s[7]*i+s[11]*r+s[15]);return this.x=(s[0]*t+s[4]*i+s[8]*r+s[12])*o,this.y=(s[1]*t+s[5]*i+s[9]*r+s[13])*o,this.z=(s[2]*t+s[6]*i+s[10]*r+s[14])*o,this}applyQuaternion(e){const t=this.x,i=this.y,r=this.z,s=e.x,o=e.y,a=e.z,l=e.w,c=2*(o*r-a*i),u=2*(a*t-s*r),f=2*(s*i-o*t);return this.x=t+l*c+o*f-a*u,this.y=i+l*u+a*c-s*f,this.z=r+l*f+s*u-o*c,this}project(e){return this.applyMatrix4(e.matrixWorldInverse).applyMatrix4(e.projectionMatrix)}unproject(e){return this.applyMatrix4(e.projectionMatrixInverse).applyMatrix4(e.matrixWorld)}transformDirection(e){const t=this.x,i=this.y,r=this.z,s=e.elements;return this.x=s[0]*t+s[4]*i+s[8]*r,this.y=s[1]*t+s[5]*i+s[9]*r,this.z=s[2]*t+s[6]*i+s[10]*r,this.normalize()}divide(e){return this.x/=e.x,this.y/=e.y,this.z/=e.z,this}divideScalar(e){return this.multiplyScalar(1/e)}min(e){return this.x=Math.min(this.x,e.x),this.y=Math.min(this.y,e.y),this.z=Math.min(this.z,e.z),this}max(e){return this.x=Math.max(this.x,e.x),this.y=Math.max(this.y,e.y),this.z=Math.max(this.z,e.z),this}clamp(e,t){return this.x=Ze(this.x,e.x,t.x),this.y=Ze(this.y,e.y,t.y),this.z=Ze(this.z,e.z,t.z),this}clampScalar(e,t){return this.x=Ze(this.x,e,t),this.y=Ze(this.y,e,t),this.z=Ze(this.z,e,t),this}clampLength(e,t){const i=this.length();return this.divideScalar(i||1).multiplyScalar(Ze(i,e,t))}floor(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this.z=Math.floor(this.z),this}ceil(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this.z=Math.ceil(this.z),this}round(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this.z=Math.round(this.z),this}roundToZero(){return this.x=Math.trunc(this.x),this.y=Math.trunc(this.y),this.z=Math.trunc(this.z),this}negate(){return this.x=-this.x,this.y=-this.y,this.z=-this.z,this}dot(e){return this.x*e.x+this.y*e.y+this.z*e.z}lengthSq(){return this.x*this.x+this.y*this.y+this.z*this.z}length(){return Math.sqrt(this.x*this.x+this.y*this.y+this.z*this.z)}manhattanLength(){return Math.abs(this.x)+Math.abs(this.y)+Math.abs(this.z)}normalize(){return this.divideScalar(this.length()||1)}setLength(e){return this.normalize().multiplyScalar(e)}lerp(e,t){return this.x+=(e.x-this.x)*t,this.y+=(e.y-this.y)*t,this.z+=(e.z-this.z)*t,this}lerpVectors(e,t,i){return this.x=e.x+(t.x-e.x)*i,this.y=e.y+(t.y-e.y)*i,this.z=e.z+(t.z-e.z)*i,this}cross(e){return this.crossVectors(this,e)}crossVectors(e,t){const i=e.x,r=e.y,s=e.z,o=t.x,a=t.y,l=t.z;return this.x=r*l-s*a,this.y=s*o-i*l,this.z=i*a-r*o,this}projectOnVector(e){const t=e.lengthSq();if(t===0)return this.set(0,0,0);const i=e.dot(this)/t;return this.copy(e).multiplyScalar(i)}projectOnPlane(e){return Cd.copy(this).projectOnVector(e),this.sub(Cd)}reflect(e){return this.sub(Cd.copy(e).multiplyScalar(2*this.dot(e)))}angleTo(e){const t=Math.sqrt(this.lengthSq()*e.lengthSq());if(t===0)return Math.PI/2;const i=this.dot(e)/t;return Math.acos(Ze(i,-1,1))}distanceTo(e){return Math.sqrt(this.distanceToSquared(e))}distanceToSquared(e){const t=this.x-e.x,i=this.y-e.y,r=this.z-e.z;return t*t+i*i+r*r}manhattanDistanceTo(e){return Math.abs(this.x-e.x)+Math.abs(this.y-e.y)+Math.abs(this.z-e.z)}setFromSpherical(e){return this.setFromSphericalCoords(e.radius,e.phi,e.theta)}setFromSphericalCoords(e,t,i){const r=Math.sin(t)*e;return this.x=r*Math.sin(i),this.y=Math.cos(t)*e,this.z=r*Math.cos(i),this}setFromCylindrical(e){return this.setFromCylindricalCoords(e.radius,e.theta,e.y)}setFromCylindricalCoords(e,t,i){return this.x=e*Math.sin(t),this.y=i,this.z=e*Math.cos(t),this}setFromMatrixPosition(e){const t=e.elements;return this.x=t[12],this.y=t[13],this.z=t[14],this}setFromMatrixScale(e){const t=this.setFromMatrixColumn(e,0).length(),i=this.setFromMatrixColumn(e,1).length(),r=this.setFromMatrixColumn(e,2).length();return this.x=t,this.y=i,this.z=r,this}setFromMatrixColumn(e,t){return this.fromArray(e.elements,t*4)}setFromMatrix3Column(e,t){return this.fromArray(e.elements,t*3)}setFromEuler(e){return this.x=e._x,this.y=e._y,this.z=e._z,this}setFromColor(e){return this.x=e.r,this.y=e.g,this.z=e.b,this}equals(e){return e.x===this.x&&e.y===this.y&&e.z===this.z}fromArray(e,t=0){return this.x=e[t],this.y=e[t+1],this.z=e[t+2],this}toArray(e=[],t=0){return e[t]=this.x,e[t+1]=this.y,e[t+2]=this.z,e}fromBufferAttribute(e,t){return this.x=e.getX(t),this.y=e.getY(t),this.z=e.getZ(t),this}random(){return this.x=Math.random(),this.y=Math.random(),this.z=Math.random(),this}randomDirection(){const e=Math.random()*Math.PI*2,t=Math.random()*2-1,i=Math.sqrt(1-t*t);return this.x=i*Math.cos(e),this.y=t,this.z=i*Math.sin(e),this}*[Symbol.iterator](){yield this.x,yield this.y,yield this.z}}const Cd=new F,Av=new Wn;class On{constructor(e=new F(1/0,1/0,1/0),t=new F(-1/0,-1/0,-1/0)){this.isBox3=!0,this.min=e,this.max=t}set(e,t){return this.min.copy(e),this.max.copy(t),this}setFromArray(e){this.makeEmpty();for(let t=0,i=e.length;t=this.min.x&&e.x<=this.max.x&&e.y>=this.min.y&&e.y<=this.max.y&&e.z>=this.min.z&&e.z<=this.max.z}containsBox(e){return this.min.x<=e.min.x&&e.max.x<=this.max.x&&this.min.y<=e.min.y&&e.max.y<=this.max.y&&this.min.z<=e.min.z&&e.max.z<=this.max.z}getParameter(e,t){return t.set((e.x-this.min.x)/(this.max.x-this.min.x),(e.y-this.min.y)/(this.max.y-this.min.y),(e.z-this.min.z)/(this.max.z-this.min.z))}intersectsBox(e){return e.max.x>=this.min.x&&e.min.x<=this.max.x&&e.max.y>=this.min.y&&e.min.y<=this.max.y&&e.max.z>=this.min.z&&e.min.z<=this.max.z}intersectsSphere(e){return this.clampPoint(e.center,vi),vi.distanceToSquared(e.center)<=e.radius*e.radius}intersectsPlane(e){let t,i;return e.normal.x>0?(t=e.normal.x*this.min.x,i=e.normal.x*this.max.x):(t=e.normal.x*this.max.x,i=e.normal.x*this.min.x),e.normal.y>0?(t+=e.normal.y*this.min.y,i+=e.normal.y*this.max.y):(t+=e.normal.y*this.max.y,i+=e.normal.y*this.min.y),e.normal.z>0?(t+=e.normal.z*this.min.z,i+=e.normal.z*this.max.z):(t+=e.normal.z*this.max.z,i+=e.normal.z*this.min.z),t<=-e.constant&&i>=-e.constant}intersectsTriangle(e){if(this.isEmpty())return!1;this.getCenter(Aa),Nc.subVectors(this.max,Aa),Mo.subVectors(e.a,Aa),Eo.subVectors(e.b,Aa),To.subVectors(e.c,Aa),Dr.subVectors(Eo,Mo),Or.subVectors(To,Eo),Es.subVectors(Mo,To);let t=[0,-Dr.z,Dr.y,0,-Or.z,Or.y,0,-Es.z,Es.y,Dr.z,0,-Dr.x,Or.z,0,-Or.x,Es.z,0,-Es.x,-Dr.y,Dr.x,0,-Or.y,Or.x,0,-Es.y,Es.x,0];return!Rd(t,Mo,Eo,To,Nc)||(t=[1,0,0,0,1,0,0,0,1],!Rd(t,Mo,Eo,To,Nc))?!1:(Uc.crossVectors(Dr,Or),t=[Uc.x,Uc.y,Uc.z],Rd(t,Mo,Eo,To,Nc))}clampPoint(e,t){return t.copy(e).clamp(this.min,this.max)}distanceToPoint(e){return this.clampPoint(e,vi).distanceTo(e)}getBoundingSphere(e){return this.isEmpty()?e.makeEmpty():(this.getCenter(e.center),e.radius=this.getSize(vi).length()*.5),e}intersect(e){return this.min.max(e.min),this.max.min(e.max),this.isEmpty()&&this.makeEmpty(),this}union(e){return this.min.min(e.min),this.max.max(e.max),this}applyMatrix4(e){return this.isEmpty()?this:(tr[0].set(this.min.x,this.min.y,this.min.z).applyMatrix4(e),tr[1].set(this.min.x,this.min.y,this.max.z).applyMatrix4(e),tr[2].set(this.min.x,this.max.y,this.min.z).applyMatrix4(e),tr[3].set(this.min.x,this.max.y,this.max.z).applyMatrix4(e),tr[4].set(this.max.x,this.min.y,this.min.z).applyMatrix4(e),tr[5].set(this.max.x,this.min.y,this.max.z).applyMatrix4(e),tr[6].set(this.max.x,this.max.y,this.min.z).applyMatrix4(e),tr[7].set(this.max.x,this.max.y,this.max.z).applyMatrix4(e),this.setFromPoints(tr),this)}translate(e){return this.min.add(e),this.max.add(e),this}equals(e){return e.min.equals(this.min)&&e.max.equals(this.max)}}const tr=[new F,new F,new F,new F,new F,new F,new F,new F],vi=new F,Oc=new On,Mo=new F,Eo=new F,To=new F,Dr=new F,Or=new F,Es=new F,Aa=new F,Nc=new F,Uc=new F,Ts=new F;function Rd(n,e,t,i,r){for(let s=0,o=n.length-3;s<=o;s+=3){Ts.fromArray(n,s);const a=r.x*Math.abs(Ts.x)+r.y*Math.abs(Ts.y)+r.z*Math.abs(Ts.z),l=e.dot(Ts),c=t.dot(Ts),u=i.dot(Ts);if(Math.max(-Math.max(l,c,u),Math.min(l,c,u))>a)return!1}return!0}const mR=new On,Ca=new F,Pd=new F;class _n{constructor(e=new F,t=-1){this.isSphere=!0,this.center=e,this.radius=t}set(e,t){return this.center.copy(e),this.radius=t,this}setFromPoints(e,t){const i=this.center;t!==void 0?i.copy(t):mR.setFromPoints(e).getCenter(i);let r=0;for(let s=0,o=e.length;sthis.radius*this.radius&&(t.sub(this.center).normalize(),t.multiplyScalar(this.radius).add(this.center)),t}getBoundingBox(e){return this.isEmpty()?(e.makeEmpty(),e):(e.set(this.center,this.center),e.expandByScalar(this.radius),e)}applyMatrix4(e){return this.center.applyMatrix4(e),this.radius=this.radius*e.getMaxScaleOnAxis(),this}translate(e){return this.center.add(e),this}expandByPoint(e){if(this.isEmpty())return this.center.copy(e),this.radius=0,this;Ca.subVectors(e,this.center);const t=Ca.lengthSq();if(t>this.radius*this.radius){const i=Math.sqrt(t),r=(i-this.radius)*.5;this.center.addScaledVector(Ca,r/i),this.radius+=r}return this}union(e){return e.isEmpty()?this:this.isEmpty()?(this.copy(e),this):(this.center.equals(e.center)===!0?this.radius=Math.max(this.radius,e.radius):(Pd.subVectors(e.center,this.center).setLength(e.radius),this.expandByPoint(Ca.copy(e.center).add(Pd)),this.expandByPoint(Ca.copy(e.center).sub(Pd))),this)}equals(e){return e.center.equals(this.center)&&e.radius===this.radius}clone(){return new this.constructor().copy(this)}}const nr=new F,Id=new F,Fc=new F,Nr=new F,Ld=new F,Bc=new F,Dd=new F;class ya{constructor(e=new F,t=new F(0,0,-1)){this.origin=e,this.direction=t}set(e,t){return this.origin.copy(e),this.direction.copy(t),this}copy(e){return this.origin.copy(e.origin),this.direction.copy(e.direction),this}at(e,t){return t.copy(this.origin).addScaledVector(this.direction,e)}lookAt(e){return this.direction.copy(e).sub(this.origin).normalize(),this}recast(e){return this.origin.copy(this.at(e,nr)),this}closestPointToPoint(e,t){t.subVectors(e,this.origin);const i=t.dot(this.direction);return i<0?t.copy(this.origin):t.copy(this.origin).addScaledVector(this.direction,i)}distanceToPoint(e){return Math.sqrt(this.distanceSqToPoint(e))}distanceSqToPoint(e){const t=nr.subVectors(e,this.origin).dot(this.direction);return t<0?this.origin.distanceToSquared(e):(nr.copy(this.origin).addScaledVector(this.direction,t),nr.distanceToSquared(e))}distanceSqToSegment(e,t,i,r){Id.copy(e).add(t).multiplyScalar(.5),Fc.copy(t).sub(e).normalize(),Nr.copy(this.origin).sub(Id);const s=e.distanceTo(t)*.5,o=-this.direction.dot(Fc),a=Nr.dot(this.direction),l=-Nr.dot(Fc),c=Nr.lengthSq(),u=Math.abs(1-o*o);let f,h,d,p;if(u>0)if(f=o*l-a,h=o*a-l,p=s*u,f>=0)if(h>=-p)if(h<=p){const _=1/u;f*=_,h*=_,d=f*(f+o*h+2*a)+h*(o*f+h+2*l)+c}else h=s,f=Math.max(0,-(o*h+a)),d=-f*f+h*(h+2*l)+c;else h=-s,f=Math.max(0,-(o*h+a)),d=-f*f+h*(h+2*l)+c;else h<=-p?(f=Math.max(0,-(-o*s+a)),h=f>0?-s:Math.min(Math.max(-s,-l),s),d=-f*f+h*(h+2*l)+c):h<=p?(f=0,h=Math.min(Math.max(-s,-l),s),d=h*(h+2*l)+c):(f=Math.max(0,-(o*s+a)),h=f>0?s:Math.min(Math.max(-s,-l),s),d=-f*f+h*(h+2*l)+c);else h=o>0?-s:s,f=Math.max(0,-(o*h+a)),d=-f*f+h*(h+2*l)+c;return i&&i.copy(this.origin).addScaledVector(this.direction,f),r&&r.copy(Id).addScaledVector(Fc,h),d}intersectSphere(e,t){nr.subVectors(e.center,this.origin);const i=nr.dot(this.direction),r=nr.dot(nr)-i*i,s=e.radius*e.radius;if(r>s)return null;const o=Math.sqrt(s-r),a=i-o,l=i+o;return l<0?null:a<0?this.at(l,t):this.at(a,t)}intersectsSphere(e){return this.distanceSqToPoint(e.center)<=e.radius*e.radius}distanceToPlane(e){const t=e.normal.dot(this.direction);if(t===0)return e.distanceToPoint(this.origin)===0?0:null;const i=-(this.origin.dot(e.normal)+e.constant)/t;return i>=0?i:null}intersectPlane(e,t){const i=this.distanceToPlane(e);return i===null?null:this.at(i,t)}intersectsPlane(e){const t=e.distanceToPoint(this.origin);return t===0||e.normal.dot(this.direction)*t<0}intersectBox(e,t){let i,r,s,o,a,l;const c=1/this.direction.x,u=1/this.direction.y,f=1/this.direction.z,h=this.origin;return c>=0?(i=(e.min.x-h.x)*c,r=(e.max.x-h.x)*c):(i=(e.max.x-h.x)*c,r=(e.min.x-h.x)*c),u>=0?(s=(e.min.y-h.y)*u,o=(e.max.y-h.y)*u):(s=(e.max.y-h.y)*u,o=(e.min.y-h.y)*u),i>o||s>r||((s>i||isNaN(i))&&(i=s),(o=0?(a=(e.min.z-h.z)*f,l=(e.max.z-h.z)*f):(a=(e.max.z-h.z)*f,l=(e.min.z-h.z)*f),i>l||a>r)||((a>i||i!==i)&&(i=a),(l=0?i:r,t)}intersectsBox(e){return this.intersectBox(e,nr)!==null}intersectTriangle(e,t,i,r,s){Ld.subVectors(t,e),Bc.subVectors(i,e),Dd.crossVectors(Ld,Bc);let o=this.direction.dot(Dd),a;if(o>0){if(r)return null;a=1}else if(o<0)a=-1,o=-o;else return null;Nr.subVectors(this.origin,e);const l=a*this.direction.dot(Bc.crossVectors(Nr,Bc));if(l<0)return null;const c=a*this.direction.dot(Ld.cross(Nr));if(c<0||l+c>o)return null;const u=-a*Nr.dot(Dd);return u<0?null:this.at(u/o,s)}applyMatrix4(e){return this.origin.applyMatrix4(e),this.direction.transformDirection(e),this}equals(e){return e.origin.equals(this.origin)&&e.direction.equals(this.direction)}clone(){return new this.constructor().copy(this)}}class Xe{constructor(e,t,i,r,s,o,a,l,c,u,f,h,d,p,_,g){Xe.prototype.isMatrix4=!0,this.elements=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1],e!==void 0&&this.set(e,t,i,r,s,o,a,l,c,u,f,h,d,p,_,g)}set(e,t,i,r,s,o,a,l,c,u,f,h,d,p,_,g){const m=this.elements;return m[0]=e,m[4]=t,m[8]=i,m[12]=r,m[1]=s,m[5]=o,m[9]=a,m[13]=l,m[2]=c,m[6]=u,m[10]=f,m[14]=h,m[3]=d,m[7]=p,m[11]=_,m[15]=g,this}identity(){return this.set(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1),this}clone(){return new Xe().fromArray(this.elements)}copy(e){const t=this.elements,i=e.elements;return t[0]=i[0],t[1]=i[1],t[2]=i[2],t[3]=i[3],t[4]=i[4],t[5]=i[5],t[6]=i[6],t[7]=i[7],t[8]=i[8],t[9]=i[9],t[10]=i[10],t[11]=i[11],t[12]=i[12],t[13]=i[13],t[14]=i[14],t[15]=i[15],this}copyPosition(e){const t=this.elements,i=e.elements;return t[12]=i[12],t[13]=i[13],t[14]=i[14],this}setFromMatrix3(e){const t=e.elements;return this.set(t[0],t[3],t[6],0,t[1],t[4],t[7],0,t[2],t[5],t[8],0,0,0,0,1),this}extractBasis(e,t,i){return e.setFromMatrixColumn(this,0),t.setFromMatrixColumn(this,1),i.setFromMatrixColumn(this,2),this}makeBasis(e,t,i){return this.set(e.x,t.x,i.x,0,e.y,t.y,i.y,0,e.z,t.z,i.z,0,0,0,0,1),this}extractRotation(e){const t=this.elements,i=e.elements,r=1/wo.setFromMatrixColumn(e,0).length(),s=1/wo.setFromMatrixColumn(e,1).length(),o=1/wo.setFromMatrixColumn(e,2).length();return t[0]=i[0]*r,t[1]=i[1]*r,t[2]=i[2]*r,t[3]=0,t[4]=i[4]*s,t[5]=i[5]*s,t[6]=i[6]*s,t[7]=0,t[8]=i[8]*o,t[9]=i[9]*o,t[10]=i[10]*o,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,this}makeRotationFromEuler(e){const t=this.elements,i=e.x,r=e.y,s=e.z,o=Math.cos(i),a=Math.sin(i),l=Math.cos(r),c=Math.sin(r),u=Math.cos(s),f=Math.sin(s);if(e.order==="XYZ"){const h=o*u,d=o*f,p=a*u,_=a*f;t[0]=l*u,t[4]=-l*f,t[8]=c,t[1]=d+p*c,t[5]=h-_*c,t[9]=-a*l,t[2]=_-h*c,t[6]=p+d*c,t[10]=o*l}else if(e.order==="YXZ"){const h=l*u,d=l*f,p=c*u,_=c*f;t[0]=h+_*a,t[4]=p*a-d,t[8]=o*c,t[1]=o*f,t[5]=o*u,t[9]=-a,t[2]=d*a-p,t[6]=_+h*a,t[10]=o*l}else if(e.order==="ZXY"){const h=l*u,d=l*f,p=c*u,_=c*f;t[0]=h-_*a,t[4]=-o*f,t[8]=p+d*a,t[1]=d+p*a,t[5]=o*u,t[9]=_-h*a,t[2]=-o*c,t[6]=a,t[10]=o*l}else if(e.order==="ZYX"){const h=o*u,d=o*f,p=a*u,_=a*f;t[0]=l*u,t[4]=p*c-d,t[8]=h*c+_,t[1]=l*f,t[5]=_*c+h,t[9]=d*c-p,t[2]=-c,t[6]=a*l,t[10]=o*l}else if(e.order==="YZX"){const h=o*l,d=o*c,p=a*l,_=a*c;t[0]=l*u,t[4]=_-h*f,t[8]=p*f+d,t[1]=f,t[5]=o*u,t[9]=-a*u,t[2]=-c*u,t[6]=d*f+p,t[10]=h-_*f}else if(e.order==="XZY"){const h=o*l,d=o*c,p=a*l,_=a*c;t[0]=l*u,t[4]=-f,t[8]=c*u,t[1]=h*f+_,t[5]=o*u,t[9]=d*f-p,t[2]=p*f-d,t[6]=a*u,t[10]=_*f+h}return t[3]=0,t[7]=0,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,this}makeRotationFromQuaternion(e){return this.compose(gR,e,_R)}lookAt(e,t,i){const r=this.elements;return Yn.subVectors(e,t),Yn.lengthSq()===0&&(Yn.z=1),Yn.normalize(),Ur.crossVectors(i,Yn),Ur.lengthSq()===0&&(Math.abs(i.z)===1?Yn.x+=1e-4:Yn.z+=1e-4,Yn.normalize(),Ur.crossVectors(i,Yn)),Ur.normalize(),kc.crossVectors(Yn,Ur),r[0]=Ur.x,r[4]=kc.x,r[8]=Yn.x,r[1]=Ur.y,r[5]=kc.y,r[9]=Yn.y,r[2]=Ur.z,r[6]=kc.z,r[10]=Yn.z,this}multiply(e){return this.multiplyMatrices(this,e)}premultiply(e){return this.multiplyMatrices(e,this)}multiplyMatrices(e,t){const i=e.elements,r=t.elements,s=this.elements,o=i[0],a=i[4],l=i[8],c=i[12],u=i[1],f=i[5],h=i[9],d=i[13],p=i[2],_=i[6],g=i[10],m=i[14],y=i[3],x=i[7],v=i[11],E=i[15],T=r[0],M=r[4],P=r[8],b=r[12],S=r[1],D=r[5],B=r[9],H=r[13],$=r[2],ee=r[6],Z=r[10],te=r[14],Q=r[3],pe=r[7],ve=r[11],re=r[15];return s[0]=o*T+a*S+l*$+c*Q,s[4]=o*M+a*D+l*ee+c*pe,s[8]=o*P+a*B+l*Z+c*ve,s[12]=o*b+a*H+l*te+c*re,s[1]=u*T+f*S+h*$+d*Q,s[5]=u*M+f*D+h*ee+d*pe,s[9]=u*P+f*B+h*Z+d*ve,s[13]=u*b+f*H+h*te+d*re,s[2]=p*T+_*S+g*$+m*Q,s[6]=p*M+_*D+g*ee+m*pe,s[10]=p*P+_*B+g*Z+m*ve,s[14]=p*b+_*H+g*te+m*re,s[3]=y*T+x*S+v*$+E*Q,s[7]=y*M+x*D+v*ee+E*pe,s[11]=y*P+x*B+v*Z+E*ve,s[15]=y*b+x*H+v*te+E*re,this}multiplyScalar(e){const t=this.elements;return t[0]*=e,t[4]*=e,t[8]*=e,t[12]*=e,t[1]*=e,t[5]*=e,t[9]*=e,t[13]*=e,t[2]*=e,t[6]*=e,t[10]*=e,t[14]*=e,t[3]*=e,t[7]*=e,t[11]*=e,t[15]*=e,this}determinant(){const e=this.elements,t=e[0],i=e[4],r=e[8],s=e[12],o=e[1],a=e[5],l=e[9],c=e[13],u=e[2],f=e[6],h=e[10],d=e[14],p=e[3],_=e[7],g=e[11],m=e[15];return p*(+s*l*f-r*c*f-s*a*h+i*c*h+r*a*d-i*l*d)+_*(+t*l*d-t*c*h+s*o*h-r*o*d+r*c*u-s*l*u)+g*(+t*c*f-t*a*d-s*o*f+i*o*d+s*a*u-i*c*u)+m*(-r*a*u-t*l*f+t*a*h+r*o*f-i*o*h+i*l*u)}transpose(){const e=this.elements;let t;return t=e[1],e[1]=e[4],e[4]=t,t=e[2],e[2]=e[8],e[8]=t,t=e[6],e[6]=e[9],e[9]=t,t=e[3],e[3]=e[12],e[12]=t,t=e[7],e[7]=e[13],e[13]=t,t=e[11],e[11]=e[14],e[14]=t,this}setPosition(e,t,i){const r=this.elements;return e.isVector3?(r[12]=e.x,r[13]=e.y,r[14]=e.z):(r[12]=e,r[13]=t,r[14]=i),this}invert(){const e=this.elements,t=e[0],i=e[1],r=e[2],s=e[3],o=e[4],a=e[5],l=e[6],c=e[7],u=e[8],f=e[9],h=e[10],d=e[11],p=e[12],_=e[13],g=e[14],m=e[15],y=f*g*c-_*h*c+_*l*d-a*g*d-f*l*m+a*h*m,x=p*h*c-u*g*c-p*l*d+o*g*d+u*l*m-o*h*m,v=u*_*c-p*f*c+p*a*d-o*_*d-u*a*m+o*f*m,E=p*f*l-u*_*l-p*a*h+o*_*h+u*a*g-o*f*g,T=t*y+i*x+r*v+s*E;if(T===0)return this.set(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);const M=1/T;return e[0]=y*M,e[1]=(_*h*s-f*g*s-_*r*d+i*g*d+f*r*m-i*h*m)*M,e[2]=(a*g*s-_*l*s+_*r*c-i*g*c-a*r*m+i*l*m)*M,e[3]=(f*l*s-a*h*s-f*r*c+i*h*c+a*r*d-i*l*d)*M,e[4]=x*M,e[5]=(u*g*s-p*h*s+p*r*d-t*g*d-u*r*m+t*h*m)*M,e[6]=(p*l*s-o*g*s-p*r*c+t*g*c+o*r*m-t*l*m)*M,e[7]=(o*h*s-u*l*s+u*r*c-t*h*c-o*r*d+t*l*d)*M,e[8]=v*M,e[9]=(p*f*s-u*_*s-p*i*d+t*_*d+u*i*m-t*f*m)*M,e[10]=(o*_*s-p*a*s+p*i*c-t*_*c-o*i*m+t*a*m)*M,e[11]=(u*a*s-o*f*s-u*i*c+t*f*c+o*i*d-t*a*d)*M,e[12]=E*M,e[13]=(u*_*r-p*f*r+p*i*h-t*_*h-u*i*g+t*f*g)*M,e[14]=(p*a*r-o*_*r-p*i*l+t*_*l+o*i*g-t*a*g)*M,e[15]=(o*f*r-u*a*r+u*i*l-t*f*l-o*i*h+t*a*h)*M,this}scale(e){const t=this.elements,i=e.x,r=e.y,s=e.z;return t[0]*=i,t[4]*=r,t[8]*=s,t[1]*=i,t[5]*=r,t[9]*=s,t[2]*=i,t[6]*=r,t[10]*=s,t[3]*=i,t[7]*=r,t[11]*=s,this}getMaxScaleOnAxis(){const e=this.elements,t=e[0]*e[0]+e[1]*e[1]+e[2]*e[2],i=e[4]*e[4]+e[5]*e[5]+e[6]*e[6],r=e[8]*e[8]+e[9]*e[9]+e[10]*e[10];return Math.sqrt(Math.max(t,i,r))}makeTranslation(e,t,i){return e.isVector3?this.set(1,0,0,e.x,0,1,0,e.y,0,0,1,e.z,0,0,0,1):this.set(1,0,0,e,0,1,0,t,0,0,1,i,0,0,0,1),this}makeRotationX(e){const t=Math.cos(e),i=Math.sin(e);return this.set(1,0,0,0,0,t,-i,0,0,i,t,0,0,0,0,1),this}makeRotationY(e){const t=Math.cos(e),i=Math.sin(e);return this.set(t,0,i,0,0,1,0,0,-i,0,t,0,0,0,0,1),this}makeRotationZ(e){const t=Math.cos(e),i=Math.sin(e);return this.set(t,-i,0,0,i,t,0,0,0,0,1,0,0,0,0,1),this}makeRotationAxis(e,t){const i=Math.cos(t),r=Math.sin(t),s=1-i,o=e.x,a=e.y,l=e.z,c=s*o,u=s*a;return this.set(c*o+i,c*a-r*l,c*l+r*a,0,c*a+r*l,u*a+i,u*l-r*o,0,c*l-r*a,u*l+r*o,s*l*l+i,0,0,0,0,1),this}makeScale(e,t,i){return this.set(e,0,0,0,0,t,0,0,0,0,i,0,0,0,0,1),this}makeShear(e,t,i,r,s,o){return this.set(1,i,s,0,e,1,o,0,t,r,1,0,0,0,0,1),this}compose(e,t,i){const r=this.elements,s=t._x,o=t._y,a=t._z,l=t._w,c=s+s,u=o+o,f=a+a,h=s*c,d=s*u,p=s*f,_=o*u,g=o*f,m=a*f,y=l*c,x=l*u,v=l*f,E=i.x,T=i.y,M=i.z;return r[0]=(1-(_+m))*E,r[1]=(d+v)*E,r[2]=(p-x)*E,r[3]=0,r[4]=(d-v)*T,r[5]=(1-(h+m))*T,r[6]=(g+y)*T,r[7]=0,r[8]=(p+x)*M,r[9]=(g-y)*M,r[10]=(1-(h+_))*M,r[11]=0,r[12]=e.x,r[13]=e.y,r[14]=e.z,r[15]=1,this}decompose(e,t,i){const r=this.elements;let s=wo.set(r[0],r[1],r[2]).length();const o=wo.set(r[4],r[5],r[6]).length(),a=wo.set(r[8],r[9],r[10]).length();this.determinant()<0&&(s=-s),e.x=r[12],e.y=r[13],e.z=r[14],yi.copy(this);const c=1/s,u=1/o,f=1/a;return yi.elements[0]*=c,yi.elements[1]*=c,yi.elements[2]*=c,yi.elements[4]*=u,yi.elements[5]*=u,yi.elements[6]*=u,yi.elements[8]*=f,yi.elements[9]*=f,yi.elements[10]*=f,t.setFromRotationMatrix(yi),i.x=s,i.y=o,i.z=a,this}makePerspective(e,t,i,r,s,o,a=Mi){const l=this.elements,c=2*s/(t-e),u=2*s/(i-r),f=(t+e)/(t-e),h=(i+r)/(i-r);let d,p;if(a===Mi)d=-(o+s)/(o-s),p=-2*o*s/(o-s);else if(a===Bl)d=-o/(o-s),p=-o*s/(o-s);else throw new Error("THREE.Matrix4.makePerspective(): Invalid coordinate system: "+a);return l[0]=c,l[4]=0,l[8]=f,l[12]=0,l[1]=0,l[5]=u,l[9]=h,l[13]=0,l[2]=0,l[6]=0,l[10]=d,l[14]=p,l[3]=0,l[7]=0,l[11]=-1,l[15]=0,this}makeOrthographic(e,t,i,r,s,o,a=Mi){const l=this.elements,c=1/(t-e),u=1/(i-r),f=1/(o-s),h=(t+e)*c,d=(i+r)*u;let p,_;if(a===Mi)p=(o+s)*f,_=-2*f;else if(a===Bl)p=s*f,_=-1*f;else throw new Error("THREE.Matrix4.makeOrthographic(): Invalid coordinate system: "+a);return l[0]=2*c,l[4]=0,l[8]=0,l[12]=-h,l[1]=0,l[5]=2*u,l[9]=0,l[13]=-d,l[2]=0,l[6]=0,l[10]=_,l[14]=-p,l[3]=0,l[7]=0,l[11]=0,l[15]=1,this}equals(e){const t=this.elements,i=e.elements;for(let r=0;r<16;r++)if(t[r]!==i[r])return!1;return!0}fromArray(e,t=0){for(let i=0;i<16;i++)this.elements[i]=e[i+t];return this}toArray(e=[],t=0){const i=this.elements;return e[t]=i[0],e[t+1]=i[1],e[t+2]=i[2],e[t+3]=i[3],e[t+4]=i[4],e[t+5]=i[5],e[t+6]=i[6],e[t+7]=i[7],e[t+8]=i[8],e[t+9]=i[9],e[t+10]=i[10],e[t+11]=i[11],e[t+12]=i[12],e[t+13]=i[13],e[t+14]=i[14],e[t+15]=i[15],e}}const wo=new F,yi=new Xe,gR=new F(0,0,0),_R=new F(1,1,1),Ur=new F,kc=new F,Yn=new F,Cv=new Xe,Rv=new Wn;class ei{constructor(e=0,t=0,i=0,r=ei.DEFAULT_ORDER){this.isEuler=!0,this._x=e,this._y=t,this._z=i,this._order=r}get x(){return this._x}set x(e){this._x=e,this._onChangeCallback()}get y(){return this._y}set y(e){this._y=e,this._onChangeCallback()}get z(){return this._z}set z(e){this._z=e,this._onChangeCallback()}get order(){return this._order}set order(e){this._order=e,this._onChangeCallback()}set(e,t,i,r=this._order){return this._x=e,this._y=t,this._z=i,this._order=r,this._onChangeCallback(),this}clone(){return new this.constructor(this._x,this._y,this._z,this._order)}copy(e){return this._x=e._x,this._y=e._y,this._z=e._z,this._order=e._order,this._onChangeCallback(),this}setFromRotationMatrix(e,t=this._order,i=!0){const r=e.elements,s=r[0],o=r[4],a=r[8],l=r[1],c=r[5],u=r[9],f=r[2],h=r[6],d=r[10];switch(t){case"XYZ":this._y=Math.asin(Ze(a,-1,1)),Math.abs(a)<.9999999?(this._x=Math.atan2(-u,d),this._z=Math.atan2(-o,s)):(this._x=Math.atan2(h,c),this._z=0);break;case"YXZ":this._x=Math.asin(-Ze(u,-1,1)),Math.abs(u)<.9999999?(this._y=Math.atan2(a,d),this._z=Math.atan2(l,c)):(this._y=Math.atan2(-f,s),this._z=0);break;case"ZXY":this._x=Math.asin(Ze(h,-1,1)),Math.abs(h)<.9999999?(this._y=Math.atan2(-f,d),this._z=Math.atan2(-o,c)):(this._y=0,this._z=Math.atan2(l,s));break;case"ZYX":this._y=Math.asin(-Ze(f,-1,1)),Math.abs(f)<.9999999?(this._x=Math.atan2(h,d),this._z=Math.atan2(l,s)):(this._x=0,this._z=Math.atan2(-o,c));break;case"YZX":this._z=Math.asin(Ze(l,-1,1)),Math.abs(l)<.9999999?(this._x=Math.atan2(-u,c),this._y=Math.atan2(-f,s)):(this._x=0,this._y=Math.atan2(a,d));break;case"XZY":this._z=Math.asin(-Ze(o,-1,1)),Math.abs(o)<.9999999?(this._x=Math.atan2(h,c),this._y=Math.atan2(a,s)):(this._x=Math.atan2(-u,d),this._y=0);break;default:console.warn("THREE.Euler: .setFromRotationMatrix() encountered an unknown order: "+t)}return this._order=t,i===!0&&this._onChangeCallback(),this}setFromQuaternion(e,t,i){return Cv.makeRotationFromQuaternion(e),this.setFromRotationMatrix(Cv,t,i)}setFromVector3(e,t=this._order){return this.set(e.x,e.y,e.z,t)}reorder(e){return Rv.setFromEuler(this),this.setFromQuaternion(Rv,e)}equals(e){return e._x===this._x&&e._y===this._y&&e._z===this._z&&e._order===this._order}fromArray(e){return this._x=e[0],this._y=e[1],this._z=e[2],e[3]!==void 0&&(this._order=e[3]),this._onChangeCallback(),this}toArray(e=[],t=0){return e[t]=this._x,e[t+1]=this._y,e[t+2]=this._z,e[t+3]=this._order,e}_onChange(e){return this._onChangeCallback=e,this}_onChangeCallback(){}*[Symbol.iterator](){yield this._x,yield this._y,yield this._z,yield this._order}}ei.DEFAULT_ORDER="XYZ";class Ih{constructor(){this.mask=1}set(e){this.mask=(1<>>0}enable(e){this.mask|=1<1){for(let t=0;t1){for(let i=0;i0&&(r.userData=this.userData),r.layers=this.layers.mask,r.matrix=this.matrix.toArray(),r.up=this.up.toArray(),this.matrixAutoUpdate===!1&&(r.matrixAutoUpdate=!1),this.isInstancedMesh&&(r.type="InstancedMesh",r.count=this.count,r.instanceMatrix=this.instanceMatrix.toJSON(),this.instanceColor!==null&&(r.instanceColor=this.instanceColor.toJSON())),this.isBatchedMesh&&(r.type="BatchedMesh",r.perObjectFrustumCulled=this.perObjectFrustumCulled,r.sortObjects=this.sortObjects,r.drawRanges=this._drawRanges,r.reservedRanges=this._reservedRanges,r.visibility=this._visibility,r.active=this._active,r.bounds=this._bounds.map(a=>({boxInitialized:a.boxInitialized,boxMin:a.box.min.toArray(),boxMax:a.box.max.toArray(),sphereInitialized:a.sphereInitialized,sphereRadius:a.sphere.radius,sphereCenter:a.sphere.center.toArray()})),r.maxInstanceCount=this._maxInstanceCount,r.maxVertexCount=this._maxVertexCount,r.maxIndexCount=this._maxIndexCount,r.geometryInitialized=this._geometryInitialized,r.geometryCount=this._geometryCount,r.matricesTexture=this._matricesTexture.toJSON(e),this._colorsTexture!==null&&(r.colorsTexture=this._colorsTexture.toJSON(e)),this.boundingSphere!==null&&(r.boundingSphere={center:r.boundingSphere.center.toArray(),radius:r.boundingSphere.radius}),this.boundingBox!==null&&(r.boundingBox={min:r.boundingBox.min.toArray(),max:r.boundingBox.max.toArray()}));function s(a,l){return a[l.uuid]===void 0&&(a[l.uuid]=l.toJSON(e)),l.uuid}if(this.isScene)this.background&&(this.background.isColor?r.background=this.background.toJSON():this.background.isTexture&&(r.background=this.background.toJSON(e).uuid)),this.environment&&this.environment.isTexture&&this.environment.isRenderTargetTexture!==!0&&(r.environment=this.environment.toJSON(e).uuid);else if(this.isMesh||this.isLine||this.isPoints){r.geometry=s(e.geometries,this.geometry);const a=this.geometry.parameters;if(a!==void 0&&a.shapes!==void 0){const l=a.shapes;if(Array.isArray(l))for(let c=0,u=l.length;c0){r.children=[];for(let a=0;a0){r.animations=[];for(let a=0;a0&&(i.geometries=a),l.length>0&&(i.materials=l),c.length>0&&(i.textures=c),u.length>0&&(i.images=u),f.length>0&&(i.shapes=f),h.length>0&&(i.skeletons=h),d.length>0&&(i.animations=d),p.length>0&&(i.nodes=p)}return i.object=r,i;function o(a){const l=[];for(const c in a){const u=a[c];delete u.metadata,l.push(u)}return l}}clone(e){return new this.constructor().copy(this,e)}copy(e,t=!0){if(this.name=e.name,this.up.copy(e.up),this.position.copy(e.position),this.rotation.order=e.rotation.order,this.quaternion.copy(e.quaternion),this.scale.copy(e.scale),this.matrix.copy(e.matrix),this.matrixWorld.copy(e.matrixWorld),this.matrixAutoUpdate=e.matrixAutoUpdate,this.matrixWorldAutoUpdate=e.matrixWorldAutoUpdate,this.matrixWorldNeedsUpdate=e.matrixWorldNeedsUpdate,this.layers.mask=e.layers.mask,this.visible=e.visible,this.castShadow=e.castShadow,this.receiveShadow=e.receiveShadow,this.frustumCulled=e.frustumCulled,this.renderOrder=e.renderOrder,this.animations=e.animations.slice(),this.userData=JSON.parse(JSON.stringify(e.userData)),t===!0)for(let i=0;i0?r.multiplyScalar(1/Math.sqrt(s)):r.set(0,0,0)}static getBarycoord(e,t,i,r,s){xi.subVectors(r,t),rr.subVectors(i,t),Nd.subVectors(e,t);const o=xi.dot(xi),a=xi.dot(rr),l=xi.dot(Nd),c=rr.dot(rr),u=rr.dot(Nd),f=o*c-a*a;if(f===0)return s.set(0,0,0),null;const h=1/f,d=(c*l-a*u)*h,p=(o*u-a*l)*h;return s.set(1-d-p,p,d)}static containsPoint(e,t,i,r){return this.getBarycoord(e,t,i,r,sr)===null?!1:sr.x>=0&&sr.y>=0&&sr.x+sr.y<=1}static getInterpolation(e,t,i,r,s,o,a,l){return this.getBarycoord(e,t,i,r,sr)===null?(l.x=0,l.y=0,"z"in l&&(l.z=0),"w"in l&&(l.w=0),null):(l.setScalar(0),l.addScaledVector(s,sr.x),l.addScaledVector(o,sr.y),l.addScaledVector(a,sr.z),l)}static getInterpolatedAttribute(e,t,i,r,s,o){return kd.setScalar(0),zd.setScalar(0),Vd.setScalar(0),kd.fromBufferAttribute(e,t),zd.fromBufferAttribute(e,i),Vd.fromBufferAttribute(e,r),o.setScalar(0),o.addScaledVector(kd,s.x),o.addScaledVector(zd,s.y),o.addScaledVector(Vd,s.z),o}static isFrontFacing(e,t,i,r){return xi.subVectors(i,t),rr.subVectors(e,t),xi.cross(rr).dot(r)<0}set(e,t,i){return this.a.copy(e),this.b.copy(t),this.c.copy(i),this}setFromPointsAndIndices(e,t,i,r){return this.a.copy(e[t]),this.b.copy(e[i]),this.c.copy(e[r]),this}setFromAttributeAndIndices(e,t,i,r){return this.a.fromBufferAttribute(e,t),this.b.fromBufferAttribute(e,i),this.c.fromBufferAttribute(e,r),this}clone(){return new this.constructor().copy(this)}copy(e){return this.a.copy(e.a),this.b.copy(e.b),this.c.copy(e.c),this}getArea(){return xi.subVectors(this.c,this.b),rr.subVectors(this.a,this.b),xi.cross(rr).length()*.5}getMidpoint(e){return e.addVectors(this.a,this.b).add(this.c).multiplyScalar(1/3)}getNormal(e){return Vn.getNormal(this.a,this.b,this.c,e)}getPlane(e){return e.setFromCoplanarPoints(this.a,this.b,this.c)}getBarycoord(e,t){return Vn.getBarycoord(e,this.a,this.b,this.c,t)}getInterpolation(e,t,i,r,s){return Vn.getInterpolation(e,this.a,this.b,this.c,t,i,r,s)}containsPoint(e){return Vn.containsPoint(e,this.a,this.b,this.c)}isFrontFacing(e){return Vn.isFrontFacing(this.a,this.b,this.c,e)}intersectsBox(e){return e.intersectsTriangle(this)}closestPointToPoint(e,t){const i=this.a,r=this.b,s=this.c;let o,a;Ro.subVectors(r,i),Po.subVectors(s,i),Ud.subVectors(e,i);const l=Ro.dot(Ud),c=Po.dot(Ud);if(l<=0&&c<=0)return t.copy(i);Fd.subVectors(e,r);const u=Ro.dot(Fd),f=Po.dot(Fd);if(u>=0&&f<=u)return t.copy(r);const h=l*f-u*c;if(h<=0&&l>=0&&u<=0)return o=l/(l-u),t.copy(i).addScaledVector(Ro,o);Bd.subVectors(e,s);const d=Ro.dot(Bd),p=Po.dot(Bd);if(p>=0&&d<=p)return t.copy(s);const _=d*c-l*p;if(_<=0&&c>=0&&p<=0)return a=c/(c-p),t.copy(i).addScaledVector(Po,a);const g=u*p-d*f;if(g<=0&&f-u>=0&&d-p>=0)return Nv.subVectors(s,r),a=(f-u)/(f-u+(d-p)),t.copy(r).addScaledVector(Nv,a);const m=1/(g+_+h);return o=_*m,a=h*m,t.copy(i).addScaledVector(Ro,o).addScaledVector(Po,a)}equals(e){return e.a.equals(this.a)&&e.b.equals(this.b)&&e.c.equals(this.c)}}const jS={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074},Fr={h:0,s:0,l:0},Vc={h:0,s:0,l:0};function Hd(n,e,t){return t<0&&(t+=1),t>1&&(t-=1),t<1/6?n+(e-n)*6*t:t<1/2?e:t<2/3?n+(e-n)*6*(2/3-t):n}class we{constructor(e,t,i){return this.isColor=!0,this.r=1,this.g=1,this.b=1,this.set(e,t,i)}set(e,t,i){if(t===void 0&&i===void 0){const r=e;r&&r.isColor?this.copy(r):typeof r=="number"?this.setHex(r):typeof r=="string"&&this.setStyle(r)}else this.setRGB(e,t,i);return this}setScalar(e){return this.r=e,this.g=e,this.b=e,this}setHex(e,t=Cn){return e=Math.floor(e),this.r=(e>>16&255)/255,this.g=(e>>8&255)/255,this.b=(e&255)/255,at.toWorkingColorSpace(this,t),this}setRGB(e,t,i,r=at.workingColorSpace){return this.r=e,this.g=t,this.b=i,at.toWorkingColorSpace(this,r),this}setHSL(e,t,i,r=at.workingColorSpace){if(e=wg(e,1),t=Ze(t,0,1),i=Ze(i,0,1),t===0)this.r=this.g=this.b=i;else{const s=i<=.5?i*(1+t):i+t-i*t,o=2*i-s;this.r=Hd(o,s,e+1/3),this.g=Hd(o,s,e),this.b=Hd(o,s,e-1/3)}return at.toWorkingColorSpace(this,r),this}setStyle(e,t=Cn){function i(s){s!==void 0&&parseFloat(s)<1&&console.warn("THREE.Color: Alpha component of "+e+" will be ignored.")}let r;if(r=/^(\w+)\(([^\)]*)\)/.exec(e)){let s;const o=r[1],a=r[2];switch(o){case"rgb":case"rgba":if(s=/^\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*(?:,\s*(\d*\.?\d+)\s*)?$/.exec(a))return i(s[4]),this.setRGB(Math.min(255,parseInt(s[1],10))/255,Math.min(255,parseInt(s[2],10))/255,Math.min(255,parseInt(s[3],10))/255,t);if(s=/^\s*(\d+)\%\s*,\s*(\d+)\%\s*,\s*(\d+)\%\s*(?:,\s*(\d*\.?\d+)\s*)?$/.exec(a))return i(s[4]),this.setRGB(Math.min(100,parseInt(s[1],10))/100,Math.min(100,parseInt(s[2],10))/100,Math.min(100,parseInt(s[3],10))/100,t);break;case"hsl":case"hsla":if(s=/^\s*(\d*\.?\d+)\s*,\s*(\d*\.?\d+)\%\s*,\s*(\d*\.?\d+)\%\s*(?:,\s*(\d*\.?\d+)\s*)?$/.exec(a))return i(s[4]),this.setHSL(parseFloat(s[1])/360,parseFloat(s[2])/100,parseFloat(s[3])/100,t);break;default:console.warn("THREE.Color: Unknown color model "+e)}}else if(r=/^\#([A-Fa-f\d]+)$/.exec(e)){const s=r[1],o=s.length;if(o===3)return this.setRGB(parseInt(s.charAt(0),16)/15,parseInt(s.charAt(1),16)/15,parseInt(s.charAt(2),16)/15,t);if(o===6)return this.setHex(parseInt(s,16),t);console.warn("THREE.Color: Invalid hex color "+e)}else if(e&&e.length>0)return this.setColorName(e,t);return this}setColorName(e,t=Cn){const i=jS[e.toLowerCase()];return i!==void 0?this.setHex(i,t):console.warn("THREE.Color: Unknown color "+e),this}clone(){return new this.constructor(this.r,this.g,this.b)}copy(e){return this.r=e.r,this.g=e.g,this.b=e.b,this}copySRGBToLinear(e){return this.r=br(e.r),this.g=br(e.g),this.b=br(e.b),this}copyLinearToSRGB(e){return this.r=ea(e.r),this.g=ea(e.g),this.b=ea(e.b),this}convertSRGBToLinear(){return this.copySRGBToLinear(this),this}convertLinearToSRGB(){return this.copyLinearToSRGB(this),this}getHex(e=Cn){return at.fromWorkingColorSpace(hn.copy(this),e),Math.round(Ze(hn.r*255,0,255))*65536+Math.round(Ze(hn.g*255,0,255))*256+Math.round(Ze(hn.b*255,0,255))}getHexString(e=Cn){return("000000"+this.getHex(e).toString(16)).slice(-6)}getHSL(e,t=at.workingColorSpace){at.fromWorkingColorSpace(hn.copy(this),t);const i=hn.r,r=hn.g,s=hn.b,o=Math.max(i,r,s),a=Math.min(i,r,s);let l,c;const u=(a+o)/2;if(a===o)l=0,c=0;else{const f=o-a;switch(c=u<=.5?f/(o+a):f/(2-o-a),o){case i:l=(r-s)/f+(r0!=e>0&&this.version++,this._alphaTest=e}onBeforeRender(){}onBeforeCompile(){}customProgramCacheKey(){return this.onBeforeCompile.toString()}setValues(e){if(e!==void 0)for(const t in e){const i=e[t];if(i===void 0){console.warn(`THREE.Material: parameter '${t}' has value of undefined.`);continue}const r=this[t];if(r===void 0){console.warn(`THREE.Material: '${t}' is not a property of THREE.${this.type}.`);continue}r&&r.isColor?r.set(i):r&&r.isVector3&&i&&i.isVector3?r.copy(i):this[t]=i}}toJSON(e){const t=e===void 0||typeof e=="string";t&&(e={textures:{},images:{}});const i={metadata:{version:4.6,type:"Material",generator:"Material.toJSON"}};i.uuid=this.uuid,i.type=this.type,this.name!==""&&(i.name=this.name),this.color&&this.color.isColor&&(i.color=this.color.getHex()),this.roughness!==void 0&&(i.roughness=this.roughness),this.metalness!==void 0&&(i.metalness=this.metalness),this.sheen!==void 0&&(i.sheen=this.sheen),this.sheenColor&&this.sheenColor.isColor&&(i.sheenColor=this.sheenColor.getHex()),this.sheenRoughness!==void 0&&(i.sheenRoughness=this.sheenRoughness),this.emissive&&this.emissive.isColor&&(i.emissive=this.emissive.getHex()),this.emissiveIntensity!==void 0&&this.emissiveIntensity!==1&&(i.emissiveIntensity=this.emissiveIntensity),this.specular&&this.specular.isColor&&(i.specular=this.specular.getHex()),this.specularIntensity!==void 0&&(i.specularIntensity=this.specularIntensity),this.specularColor&&this.specularColor.isColor&&(i.specularColor=this.specularColor.getHex()),this.shininess!==void 0&&(i.shininess=this.shininess),this.clearcoat!==void 0&&(i.clearcoat=this.clearcoat),this.clearcoatRoughness!==void 0&&(i.clearcoatRoughness=this.clearcoatRoughness),this.clearcoatMap&&this.clearcoatMap.isTexture&&(i.clearcoatMap=this.clearcoatMap.toJSON(e).uuid),this.clearcoatRoughnessMap&&this.clearcoatRoughnessMap.isTexture&&(i.clearcoatRoughnessMap=this.clearcoatRoughnessMap.toJSON(e).uuid),this.clearcoatNormalMap&&this.clearcoatNormalMap.isTexture&&(i.clearcoatNormalMap=this.clearcoatNormalMap.toJSON(e).uuid,i.clearcoatNormalScale=this.clearcoatNormalScale.toArray()),this.dispersion!==void 0&&(i.dispersion=this.dispersion),this.iridescence!==void 0&&(i.iridescence=this.iridescence),this.iridescenceIOR!==void 0&&(i.iridescenceIOR=this.iridescenceIOR),this.iridescenceThicknessRange!==void 0&&(i.iridescenceThicknessRange=this.iridescenceThicknessRange),this.iridescenceMap&&this.iridescenceMap.isTexture&&(i.iridescenceMap=this.iridescenceMap.toJSON(e).uuid),this.iridescenceThicknessMap&&this.iridescenceThicknessMap.isTexture&&(i.iridescenceThicknessMap=this.iridescenceThicknessMap.toJSON(e).uuid),this.anisotropy!==void 0&&(i.anisotropy=this.anisotropy),this.anisotropyRotation!==void 0&&(i.anisotropyRotation=this.anisotropyRotation),this.anisotropyMap&&this.anisotropyMap.isTexture&&(i.anisotropyMap=this.anisotropyMap.toJSON(e).uuid),this.map&&this.map.isTexture&&(i.map=this.map.toJSON(e).uuid),this.matcap&&this.matcap.isTexture&&(i.matcap=this.matcap.toJSON(e).uuid),this.alphaMap&&this.alphaMap.isTexture&&(i.alphaMap=this.alphaMap.toJSON(e).uuid),this.lightMap&&this.lightMap.isTexture&&(i.lightMap=this.lightMap.toJSON(e).uuid,i.lightMapIntensity=this.lightMapIntensity),this.aoMap&&this.aoMap.isTexture&&(i.aoMap=this.aoMap.toJSON(e).uuid,i.aoMapIntensity=this.aoMapIntensity),this.bumpMap&&this.bumpMap.isTexture&&(i.bumpMap=this.bumpMap.toJSON(e).uuid,i.bumpScale=this.bumpScale),this.normalMap&&this.normalMap.isTexture&&(i.normalMap=this.normalMap.toJSON(e).uuid,i.normalMapType=this.normalMapType,i.normalScale=this.normalScale.toArray()),this.displacementMap&&this.displacementMap.isTexture&&(i.displacementMap=this.displacementMap.toJSON(e).uuid,i.displacementScale=this.displacementScale,i.displacementBias=this.displacementBias),this.roughnessMap&&this.roughnessMap.isTexture&&(i.roughnessMap=this.roughnessMap.toJSON(e).uuid),this.metalnessMap&&this.metalnessMap.isTexture&&(i.metalnessMap=this.metalnessMap.toJSON(e).uuid),this.emissiveMap&&this.emissiveMap.isTexture&&(i.emissiveMap=this.emissiveMap.toJSON(e).uuid),this.specularMap&&this.specularMap.isTexture&&(i.specularMap=this.specularMap.toJSON(e).uuid),this.specularIntensityMap&&this.specularIntensityMap.isTexture&&(i.specularIntensityMap=this.specularIntensityMap.toJSON(e).uuid),this.specularColorMap&&this.specularColorMap.isTexture&&(i.specularColorMap=this.specularColorMap.toJSON(e).uuid),this.envMap&&this.envMap.isTexture&&(i.envMap=this.envMap.toJSON(e).uuid,this.combine!==void 0&&(i.combine=this.combine)),this.envMapRotation!==void 0&&(i.envMapRotation=this.envMapRotation.toArray()),this.envMapIntensity!==void 0&&(i.envMapIntensity=this.envMapIntensity),this.reflectivity!==void 0&&(i.reflectivity=this.reflectivity),this.refractionRatio!==void 0&&(i.refractionRatio=this.refractionRatio),this.gradientMap&&this.gradientMap.isTexture&&(i.gradientMap=this.gradientMap.toJSON(e).uuid),this.transmission!==void 0&&(i.transmission=this.transmission),this.transmissionMap&&this.transmissionMap.isTexture&&(i.transmissionMap=this.transmissionMap.toJSON(e).uuid),this.thickness!==void 0&&(i.thickness=this.thickness),this.thicknessMap&&this.thicknessMap.isTexture&&(i.thicknessMap=this.thicknessMap.toJSON(e).uuid),this.attenuationDistance!==void 0&&this.attenuationDistance!==1/0&&(i.attenuationDistance=this.attenuationDistance),this.attenuationColor!==void 0&&(i.attenuationColor=this.attenuationColor.getHex()),this.size!==void 0&&(i.size=this.size),this.shadowSide!==null&&(i.shadowSide=this.shadowSide),this.sizeAttenuation!==void 0&&(i.sizeAttenuation=this.sizeAttenuation),this.blending!==eo&&(i.blending=this.blending),this.side!==Er&&(i.side=this.side),this.vertexColors===!0&&(i.vertexColors=!0),this.opacity<1&&(i.opacity=this.opacity),this.transparent===!0&&(i.transparent=!0),this.blendSrc!==uf&&(i.blendSrc=this.blendSrc),this.blendDst!==ff&&(i.blendDst=this.blendDst),this.blendEquation!==Kr&&(i.blendEquation=this.blendEquation),this.blendSrcAlpha!==null&&(i.blendSrcAlpha=this.blendSrcAlpha),this.blendDstAlpha!==null&&(i.blendDstAlpha=this.blendDstAlpha),this.blendEquationAlpha!==null&&(i.blendEquationAlpha=this.blendEquationAlpha),this.blendColor&&this.blendColor.isColor&&(i.blendColor=this.blendColor.getHex()),this.blendAlpha!==0&&(i.blendAlpha=this.blendAlpha),this.depthFunc!==ao&&(i.depthFunc=this.depthFunc),this.depthTest===!1&&(i.depthTest=this.depthTest),this.depthWrite===!1&&(i.depthWrite=this.depthWrite),this.colorWrite===!1&&(i.colorWrite=this.colorWrite),this.stencilWriteMask!==255&&(i.stencilWriteMask=this.stencilWriteMask),this.stencilFunc!==Jp&&(i.stencilFunc=this.stencilFunc),this.stencilRef!==0&&(i.stencilRef=this.stencilRef),this.stencilFuncMask!==255&&(i.stencilFuncMask=this.stencilFuncMask),this.stencilFail!==zs&&(i.stencilFail=this.stencilFail),this.stencilZFail!==zs&&(i.stencilZFail=this.stencilZFail),this.stencilZPass!==zs&&(i.stencilZPass=this.stencilZPass),this.stencilWrite===!0&&(i.stencilWrite=this.stencilWrite),this.rotation!==void 0&&this.rotation!==0&&(i.rotation=this.rotation),this.polygonOffset===!0&&(i.polygonOffset=!0),this.polygonOffsetFactor!==0&&(i.polygonOffsetFactor=this.polygonOffsetFactor),this.polygonOffsetUnits!==0&&(i.polygonOffsetUnits=this.polygonOffsetUnits),this.linewidth!==void 0&&this.linewidth!==1&&(i.linewidth=this.linewidth),this.dashSize!==void 0&&(i.dashSize=this.dashSize),this.gapSize!==void 0&&(i.gapSize=this.gapSize),this.scale!==void 0&&(i.scale=this.scale),this.dithering===!0&&(i.dithering=!0),this.alphaTest>0&&(i.alphaTest=this.alphaTest),this.alphaHash===!0&&(i.alphaHash=!0),this.alphaToCoverage===!0&&(i.alphaToCoverage=!0),this.premultipliedAlpha===!0&&(i.premultipliedAlpha=!0),this.forceSinglePass===!0&&(i.forceSinglePass=!0),this.wireframe===!0&&(i.wireframe=!0),this.wireframeLinewidth>1&&(i.wireframeLinewidth=this.wireframeLinewidth),this.wireframeLinecap!=="round"&&(i.wireframeLinecap=this.wireframeLinecap),this.wireframeLinejoin!=="round"&&(i.wireframeLinejoin=this.wireframeLinejoin),this.flatShading===!0&&(i.flatShading=!0),this.visible===!1&&(i.visible=!1),this.toneMapped===!1&&(i.toneMapped=!1),this.fog===!1&&(i.fog=!1),Object.keys(this.userData).length>0&&(i.userData=this.userData);function r(s){const o=[];for(const a in s){const l=s[a];delete l.metadata,o.push(l)}return o}if(t){const s=r(e.textures),o=r(e.images);s.length>0&&(i.textures=s),o.length>0&&(i.images=o)}return i}clone(){return new this.constructor().copy(this)}copy(e){this.name=e.name,this.blending=e.blending,this.side=e.side,this.vertexColors=e.vertexColors,this.opacity=e.opacity,this.transparent=e.transparent,this.blendSrc=e.blendSrc,this.blendDst=e.blendDst,this.blendEquation=e.blendEquation,this.blendSrcAlpha=e.blendSrcAlpha,this.blendDstAlpha=e.blendDstAlpha,this.blendEquationAlpha=e.blendEquationAlpha,this.blendColor.copy(e.blendColor),this.blendAlpha=e.blendAlpha,this.depthFunc=e.depthFunc,this.depthTest=e.depthTest,this.depthWrite=e.depthWrite,this.stencilWriteMask=e.stencilWriteMask,this.stencilFunc=e.stencilFunc,this.stencilRef=e.stencilRef,this.stencilFuncMask=e.stencilFuncMask,this.stencilFail=e.stencilFail,this.stencilZFail=e.stencilZFail,this.stencilZPass=e.stencilZPass,this.stencilWrite=e.stencilWrite;const t=e.clippingPlanes;let i=null;if(t!==null){const r=t.length;i=new Array(r);for(let s=0;s!==r;++s)i[s]=t[s].clone()}return this.clippingPlanes=i,this.clipIntersection=e.clipIntersection,this.clipShadows=e.clipShadows,this.shadowSide=e.shadowSide,this.colorWrite=e.colorWrite,this.precision=e.precision,this.polygonOffset=e.polygonOffset,this.polygonOffsetFactor=e.polygonOffsetFactor,this.polygonOffsetUnits=e.polygonOffsetUnits,this.dithering=e.dithering,this.alphaTest=e.alphaTest,this.alphaHash=e.alphaHash,this.alphaToCoverage=e.alphaToCoverage,this.premultipliedAlpha=e.premultipliedAlpha,this.forceSinglePass=e.forceSinglePass,this.visible=e.visible,this.toneMapped=e.toneMapped,this.userData=JSON.parse(JSON.stringify(e.userData)),this}dispose(){this.dispatchEvent({type:"dispose"})}set needsUpdate(e){e===!0&&this.version++}onBuild(){console.warn("Material: onBuild() has been removed.")}}class Pr extends xn{constructor(e){super(),this.isMeshBasicMaterial=!0,this.type="MeshBasicMaterial",this.color=new we(16777215),this.map=null,this.lightMap=null,this.lightMapIntensity=1,this.aoMap=null,this.aoMapIntensity=1,this.specularMap=null,this.alphaMap=null,this.envMap=null,this.envMapRotation=new ei,this.combine=uc,this.reflectivity=1,this.refractionRatio=.98,this.wireframe=!1,this.wireframeLinewidth=1,this.wireframeLinecap="round",this.wireframeLinejoin="round",this.fog=!0,this.setValues(e)}copy(e){return super.copy(e),this.color.copy(e.color),this.map=e.map,this.lightMap=e.lightMap,this.lightMapIntensity=e.lightMapIntensity,this.aoMap=e.aoMap,this.aoMapIntensity=e.aoMapIntensity,this.specularMap=e.specularMap,this.alphaMap=e.alphaMap,this.envMap=e.envMap,this.envMapRotation.copy(e.envMapRotation),this.combine=e.combine,this.reflectivity=e.reflectivity,this.refractionRatio=e.refractionRatio,this.wireframe=e.wireframe,this.wireframeLinewidth=e.wireframeLinewidth,this.wireframeLinecap=e.wireframeLinecap,this.wireframeLinejoin=e.wireframeLinejoin,this.fog=e.fog,this}}const pr=MR();function MR(){const n=new ArrayBuffer(4),e=new Float32Array(n),t=new Uint32Array(n),i=new Uint32Array(512),r=new Uint32Array(512);for(let l=0;l<256;++l){const c=l-127;c<-27?(i[l]=0,i[l|256]=32768,r[l]=24,r[l|256]=24):c<-14?(i[l]=1024>>-c-14,i[l|256]=1024>>-c-14|32768,r[l]=-c-1,r[l|256]=-c-1):c<=15?(i[l]=c+15<<10,i[l|256]=c+15<<10|32768,r[l]=13,r[l|256]=13):c<128?(i[l]=31744,i[l|256]=64512,r[l]=24,r[l|256]=24):(i[l]=31744,i[l|256]=64512,r[l]=13,r[l|256]=13)}const s=new Uint32Array(2048),o=new Uint32Array(64),a=new Uint32Array(64);for(let l=1;l<1024;++l){let c=l<<13,u=0;for(;(c&8388608)===0;)c<<=1,u-=8388608;c&=-8388609,u+=947912704,s[l]=c|u}for(let l=1024;l<2048;++l)s[l]=939524096+(l-1024<<13);for(let l=1;l<31;++l)o[l]=l<<23;o[31]=1199570944,o[32]=2147483648;for(let l=33;l<63;++l)o[l]=2147483648+(l-32<<23);o[63]=3347054592;for(let l=1;l<64;++l)l!==32&&(a[l]=1024);return{floatView:e,uint32View:t,baseTable:i,shiftTable:r,mantissaTable:s,exponentTable:o,offsetTable:a}}function Bn(n){Math.abs(n)>65504&&console.warn("THREE.DataUtils.toHalfFloat(): Value out of range."),n=Ze(n,-65504,65504),pr.floatView[0]=n;const e=pr.uint32View[0],t=e>>23&511;return pr.baseTable[t]+((e&8388607)>>pr.shiftTable[t])}function Xa(n){const e=n>>10;return pr.uint32View[0]=pr.mantissaTable[pr.offsetTable[e]+(n&1023)]+pr.exponentTable[e],pr.floatView[0]}class ER{static toHalfFloat(e){return Bn(e)}static fromHalfFloat(e){return Xa(e)}}const Wt=new F,Hc=new fe;let TR=0;class Et{constructor(e,t,i=!1){if(Array.isArray(e))throw new TypeError("THREE.BufferAttribute: array should be a Typed Array.");this.isBufferAttribute=!0,Object.defineProperty(this,"id",{value:TR++}),this.name="",this.array=e,this.itemSize=t,this.count=e!==void 0?e.length/t:0,this.normalized=i,this.usage=Fl,this.updateRanges=[],this.gpuType=Hn,this.version=0}onUploadCallback(){}set needsUpdate(e){e===!0&&this.version++}setUsage(e){return this.usage=e,this}addUpdateRange(e,t){this.updateRanges.push({start:e,count:t})}clearUpdateRanges(){this.updateRanges.length=0}copy(e){return this.name=e.name,this.array=new e.array.constructor(e.array),this.itemSize=e.itemSize,this.count=e.count,this.normalized=e.normalized,this.usage=e.usage,this.gpuType=e.gpuType,this}copyAt(e,t,i){e*=this.itemSize,i*=t.itemSize;for(let r=0,s=this.itemSize;rt.count&&console.warn("THREE.BufferGeometry: Buffer size too small for points data. Use .dispose() and create a new geometry."),t.needsUpdate=!0}return this}computeBoundingBox(){this.boundingBox===null&&(this.boundingBox=new On);const e=this.attributes.position,t=this.morphAttributes.position;if(e&&e.isGLBufferAttribute){console.error("THREE.BufferGeometry.computeBoundingBox(): GLBufferAttribute requires a manual bounding box.",this),this.boundingBox.set(new F(-1/0,-1/0,-1/0),new F(1/0,1/0,1/0));return}if(e!==void 0){if(this.boundingBox.setFromBufferAttribute(e),t)for(let i=0,r=t.length;i0&&(e.userData=this.userData),this.parameters!==void 0){const l=this.parameters;for(const c in l)l[c]!==void 0&&(e[c]=l[c]);return e}e.data={attributes:{}};const t=this.index;t!==null&&(e.data.index={type:t.array.constructor.name,array:Array.prototype.slice.call(t.array)});const i=this.attributes;for(const l in i){const c=i[l];e.data.attributes[l]=c.toJSON(e.data)}const r={};let s=!1;for(const l in this.morphAttributes){const c=this.morphAttributes[l],u=[];for(let f=0,h=c.length;f0&&(r[l]=u,s=!0)}s&&(e.data.morphAttributes=r,e.data.morphTargetsRelative=this.morphTargetsRelative);const o=this.groups;o.length>0&&(e.data.groups=JSON.parse(JSON.stringify(o)));const a=this.boundingSphere;return a!==null&&(e.data.boundingSphere={center:a.center.toArray(),radius:a.radius}),e}clone(){return new this.constructor().copy(this)}copy(e){this.index=null,this.attributes={},this.morphAttributes={},this.groups=[],this.boundingBox=null,this.boundingSphere=null;const t={};this.name=e.name;const i=e.index;i!==null&&this.setIndex(i.clone(t));const r=e.attributes;for(const c in r){const u=r[c];this.setAttribute(c,u.clone(t))}const s=e.morphAttributes;for(const c in s){const u=[],f=s[c];for(let h=0,d=f.length;h0){const r=t[i[0]];if(r!==void 0){this.morphTargetInfluences=[],this.morphTargetDictionary={};for(let s=0,o=r.length;s(e.far-e.near)**2))&&(Uv.copy(s).invert(),ws.copy(e.ray).applyMatrix4(Uv),!(i.boundingBox!==null&&ws.intersectsBox(i.boundingBox)===!1)&&this._computeIntersections(e,t,ws)))}_computeIntersections(e,t,i){let r;const s=this.geometry,o=this.material,a=s.index,l=s.attributes.position,c=s.attributes.uv,u=s.attributes.uv1,f=s.attributes.normal,h=s.groups,d=s.drawRange;if(a!==null)if(Array.isArray(o))for(let p=0,_=h.length;p<_;p++){const g=h[p],m=o[g.materialIndex],y=Math.max(g.start,d.start),x=Math.min(a.count,Math.min(g.start+g.count,d.start+d.count));for(let v=y,E=x;vt.far?null:{distance:c,point:Yc.clone(),object:n}}function jc(n,e,t,i,r,s,o,a,l,c){n.getVertexPosition(a,Wc),n.getVertexPosition(l,Xc),n.getVertexPosition(c,$c);const u=DR(n,e,t,i,Wc,Xc,$c,Bv);if(u){const f=new F;Vn.getBarycoord(Bv,Wc,Xc,$c,f),r&&(u.uv=Vn.getInterpolatedAttribute(r,a,l,c,f,new fe)),s&&(u.uv1=Vn.getInterpolatedAttribute(s,a,l,c,f,new fe)),o&&(u.normal=Vn.getInterpolatedAttribute(o,a,l,c,f,new F),u.normal.dot(i.direction)>0&&u.normal.multiplyScalar(-1));const h={a,b:l,c,normal:new F,materialIndex:0};Vn.getNormal(Wc,Xc,$c,h.normal),u.face=h,u.barycoord=f}return u}class mo extends st{constructor(e=1,t=1,i=1,r=1,s=1,o=1){super(),this.type="BoxGeometry",this.parameters={width:e,height:t,depth:i,widthSegments:r,heightSegments:s,depthSegments:o};const a=this;r=Math.floor(r),s=Math.floor(s),o=Math.floor(o);const l=[],c=[],u=[],f=[];let h=0,d=0;p("z","y","x",-1,-1,i,t,e,o,s,0),p("z","y","x",1,-1,i,t,-e,o,s,1),p("x","z","y",1,1,e,i,t,r,o,2),p("x","z","y",1,-1,e,i,-t,r,o,3),p("x","y","z",1,-1,e,t,i,r,s,4),p("x","y","z",-1,-1,e,t,-i,r,s,5),this.setIndex(l),this.setAttribute("position",new Ue(c,3)),this.setAttribute("normal",new Ue(u,3)),this.setAttribute("uv",new Ue(f,2));function p(_,g,m,y,x,v,E,T,M,P,b){const S=v/M,D=E/P,B=v/2,H=E/2,$=T/2,ee=M+1,Z=P+1;let te=0,Q=0;const pe=new F;for(let ve=0;ve0?1:-1,u.push(pe.x,pe.y,pe.z),f.push(xe/M),f.push(1-ve/P),te+=1}}for(let ve=0;ve>8&255]+fn[n>>16&255]+fn[n>>24&255]+"-"+fn[e&255]+fn[e>>8&255]+"-"+fn[e>>16&15|64]+fn[e>>24&255]+"-"+fn[t&63|128]+fn[t>>8&255]+"-"+fn[t>>16&255]+fn[t>>24&255]+fn[i&255]+fn[i>>8&255]+fn[i>>16&255]+fn[i>>24&255]).toLowerCase()}function Ke(n,e,t){return Math.max(e,Math.min(t,n))}function wg(n,e){return(n%e+e)%e}function WC(n,e,t,i,r){return i+(n-e)*(r-i)/(t-e)}function XC(n,e,t){return n!==e?(t-n)/(e-n):0}function sl(n,e,t){return(1-t)*n+t*e}function $C(n,e,t,i){return sl(n,e,1-Math.exp(-t*i))}function qC(n,e=1){return e-Math.abs(wg(n,e*2)-e)}function YC(n,e,t){return n<=e?0:n>=t?1:(n=(n-e)/(t-e),n*n*(3-2*n))}function jC(n,e,t){return n<=e?0:n>=t?1:(n=(n-e)/(t-e),n*n*n*(n*(n*6-15)+10))}function KC(n,e){return n+Math.floor(Math.random()*(e-n+1))}function ZC(n,e){return n+Math.random()*(e-n)}function JC(n){return n*(.5-Math.random())}function QC(n){n!==void 0&&(Mv=n);let e=Mv+=1831565813;return e=Math.imul(e^e>>>15,e|1),e^=e+Math.imul(e^e>>>7,e|61),((e^e>>>14)>>>0)/4294967296}function eR(n){return n*no}function tR(n){return n*aa}function nR(n){return(n&n-1)===0&&n!==0}function iR(n){return Math.pow(2,Math.ceil(Math.log(n)/Math.LN2))}function rR(n){return Math.pow(2,Math.floor(Math.log(n)/Math.LN2))}function sR(n,e,t,i,r){const s=Math.cos,o=Math.sin,a=s(t/2),l=o(t/2),c=s((e+i)/2),u=o((e+i)/2),f=s((e-i)/2),h=o((e-i)/2),d=s((i-e)/2),p=o((i-e)/2);switch(r){case"XYX":n.set(a*u,l*f,l*h,a*c);break;case"YZY":n.set(l*h,a*u,l*f,a*c);break;case"ZXZ":n.set(l*f,l*h,a*u,a*c);break;case"XZX":n.set(a*u,l*p,l*d,a*c);break;case"YXY":n.set(l*d,a*u,l*p,a*c);break;case"ZYZ":n.set(l*p,l*d,a*u,a*c);break;default:console.warn("THREE.MathUtils: .setQuaternionFromProperEuler() encountered an unknown order: "+r)}}function In(n,e){switch(e.constructor){case Float32Array:return n;case Uint32Array:return n/4294967295;case Uint16Array:return n/65535;case Uint8Array:return n/255;case Int32Array:return Math.max(n/2147483647,-1);case Int16Array:return Math.max(n/32767,-1);case Int8Array:return Math.max(n/127,-1);default:throw new Error("Invalid component type.")}}function tt(n,e){switch(e.constructor){case Float32Array:return n;case Uint32Array:return Math.round(n*4294967295);case Uint16Array:return Math.round(n*65535);case Uint8Array:return Math.round(n*255);case Int32Array:return Math.round(n*2147483647);case Int16Array:return Math.round(n*32767);case Int8Array:return Math.round(n*127);default:throw new Error("Invalid component type.")}}const Ag={DEG2RAD:no,RAD2DEG:aa,generateUUID:Zn,clamp:Ke,euclideanModulo:wg,mapLinear:WC,inverseLerp:XC,lerp:sl,damp:$C,pingpong:qC,smoothstep:YC,smootherstep:jC,randInt:KC,randFloat:ZC,randFloatSpread:JC,seededRandom:QC,degToRad:eR,radToDeg:tR,isPowerOfTwo:nR,ceilPowerOfTwo:iR,floorPowerOfTwo:rR,setQuaternionFromProperEuler:sR,normalize:tt,denormalize:In};class fe{constructor(e=0,t=0){fe.prototype.isVector2=!0,this.x=e,this.y=t}get width(){return this.x}set width(e){this.x=e}get height(){return this.y}set height(e){this.y=e}set(e,t){return this.x=e,this.y=t,this}setScalar(e){return this.x=e,this.y=e,this}setX(e){return this.x=e,this}setY(e){return this.y=e,this}setComponent(e,t){switch(e){case 0:this.x=t;break;case 1:this.y=t;break;default:throw new Error("index is out of range: "+e)}return this}getComponent(e){switch(e){case 0:return this.x;case 1:return this.y;default:throw new Error("index is out of range: "+e)}}clone(){return new this.constructor(this.x,this.y)}copy(e){return this.x=e.x,this.y=e.y,this}add(e){return this.x+=e.x,this.y+=e.y,this}addScalar(e){return this.x+=e,this.y+=e,this}addVectors(e,t){return this.x=e.x+t.x,this.y=e.y+t.y,this}addScaledVector(e,t){return this.x+=e.x*t,this.y+=e.y*t,this}sub(e){return this.x-=e.x,this.y-=e.y,this}subScalar(e){return this.x-=e,this.y-=e,this}subVectors(e,t){return this.x=e.x-t.x,this.y=e.y-t.y,this}multiply(e){return this.x*=e.x,this.y*=e.y,this}multiplyScalar(e){return this.x*=e,this.y*=e,this}divide(e){return this.x/=e.x,this.y/=e.y,this}divideScalar(e){return this.multiplyScalar(1/e)}applyMatrix3(e){const t=this.x,i=this.y,r=e.elements;return this.x=r[0]*t+r[3]*i+r[6],this.y=r[1]*t+r[4]*i+r[7],this}min(e){return this.x=Math.min(this.x,e.x),this.y=Math.min(this.y,e.y),this}max(e){return this.x=Math.max(this.x,e.x),this.y=Math.max(this.y,e.y),this}clamp(e,t){return this.x=Ke(this.x,e.x,t.x),this.y=Ke(this.y,e.y,t.y),this}clampScalar(e,t){return this.x=Ke(this.x,e,t),this.y=Ke(this.y,e,t),this}clampLength(e,t){const i=this.length();return this.divideScalar(i||1).multiplyScalar(Ke(i,e,t))}floor(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this}ceil(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this}round(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this}roundToZero(){return this.x=Math.trunc(this.x),this.y=Math.trunc(this.y),this}negate(){return this.x=-this.x,this.y=-this.y,this}dot(e){return this.x*e.x+this.y*e.y}cross(e){return this.x*e.y-this.y*e.x}lengthSq(){return this.x*this.x+this.y*this.y}length(){return Math.sqrt(this.x*this.x+this.y*this.y)}manhattanLength(){return Math.abs(this.x)+Math.abs(this.y)}normalize(){return this.divideScalar(this.length()||1)}angle(){return Math.atan2(-this.y,-this.x)+Math.PI}angleTo(e){const t=Math.sqrt(this.lengthSq()*e.lengthSq());if(t===0)return Math.PI/2;const i=this.dot(e)/t;return Math.acos(Ke(i,-1,1))}distanceTo(e){return Math.sqrt(this.distanceToSquared(e))}distanceToSquared(e){const t=this.x-e.x,i=this.y-e.y;return t*t+i*i}manhattanDistanceTo(e){return Math.abs(this.x-e.x)+Math.abs(this.y-e.y)}setLength(e){return this.normalize().multiplyScalar(e)}lerp(e,t){return this.x+=(e.x-this.x)*t,this.y+=(e.y-this.y)*t,this}lerpVectors(e,t,i){return this.x=e.x+(t.x-e.x)*i,this.y=e.y+(t.y-e.y)*i,this}equals(e){return e.x===this.x&&e.y===this.y}fromArray(e,t=0){return this.x=e[t],this.y=e[t+1],this}toArray(e=[],t=0){return e[t]=this.x,e[t+1]=this.y,e}fromBufferAttribute(e,t){return this.x=e.getX(t),this.y=e.getY(t),this}rotateAround(e,t){const i=Math.cos(t),r=Math.sin(t),s=this.x-e.x,o=this.y-e.y;return this.x=s*i-o*r+e.x,this.y=s*r+o*i+e.y,this}random(){return this.x=Math.random(),this.y=Math.random(),this}*[Symbol.iterator](){yield this.x,yield this.y}}class et{constructor(e,t,i,r,s,o,a,l,c){et.prototype.isMatrix3=!0,this.elements=[1,0,0,0,1,0,0,0,1],e!==void 0&&this.set(e,t,i,r,s,o,a,l,c)}set(e,t,i,r,s,o,a,l,c){const u=this.elements;return u[0]=e,u[1]=r,u[2]=a,u[3]=t,u[4]=s,u[5]=l,u[6]=i,u[7]=o,u[8]=c,this}identity(){return this.set(1,0,0,0,1,0,0,0,1),this}copy(e){const t=this.elements,i=e.elements;return t[0]=i[0],t[1]=i[1],t[2]=i[2],t[3]=i[3],t[4]=i[4],t[5]=i[5],t[6]=i[6],t[7]=i[7],t[8]=i[8],this}extractBasis(e,t,i){return e.setFromMatrix3Column(this,0),t.setFromMatrix3Column(this,1),i.setFromMatrix3Column(this,2),this}setFromMatrix4(e){const t=e.elements;return this.set(t[0],t[4],t[8],t[1],t[5],t[9],t[2],t[6],t[10]),this}multiply(e){return this.multiplyMatrices(this,e)}premultiply(e){return this.multiplyMatrices(e,this)}multiplyMatrices(e,t){const i=e.elements,r=t.elements,s=this.elements,o=i[0],a=i[3],l=i[6],c=i[1],u=i[4],f=i[7],h=i[2],d=i[5],p=i[8],_=r[0],g=r[3],m=r[6],y=r[1],x=r[4],v=r[7],E=r[2],T=r[5],M=r[8];return s[0]=o*_+a*y+l*E,s[3]=o*g+a*x+l*T,s[6]=o*m+a*v+l*M,s[1]=c*_+u*y+f*E,s[4]=c*g+u*x+f*T,s[7]=c*m+u*v+f*M,s[2]=h*_+d*y+p*E,s[5]=h*g+d*x+p*T,s[8]=h*m+d*v+p*M,this}multiplyScalar(e){const t=this.elements;return t[0]*=e,t[3]*=e,t[6]*=e,t[1]*=e,t[4]*=e,t[7]*=e,t[2]*=e,t[5]*=e,t[8]*=e,this}determinant(){const e=this.elements,t=e[0],i=e[1],r=e[2],s=e[3],o=e[4],a=e[5],l=e[6],c=e[7],u=e[8];return t*o*u-t*a*c-i*s*u+i*a*l+r*s*c-r*o*l}invert(){const e=this.elements,t=e[0],i=e[1],r=e[2],s=e[3],o=e[4],a=e[5],l=e[6],c=e[7],u=e[8],f=u*o-a*c,h=a*l-u*s,d=c*s-o*l,p=t*f+i*h+r*d;if(p===0)return this.set(0,0,0,0,0,0,0,0,0);const _=1/p;return e[0]=f*_,e[1]=(r*c-u*i)*_,e[2]=(a*i-r*o)*_,e[3]=h*_,e[4]=(u*t-r*l)*_,e[5]=(r*s-a*t)*_,e[6]=d*_,e[7]=(i*l-c*t)*_,e[8]=(o*t-i*s)*_,this}transpose(){let e;const t=this.elements;return e=t[1],t[1]=t[3],t[3]=e,e=t[2],t[2]=t[6],t[6]=e,e=t[5],t[5]=t[7],t[7]=e,this}getNormalMatrix(e){return this.setFromMatrix4(e).invert().transpose()}transposeIntoArray(e){const t=this.elements;return e[0]=t[0],e[1]=t[3],e[2]=t[6],e[3]=t[1],e[4]=t[4],e[5]=t[7],e[6]=t[2],e[7]=t[5],e[8]=t[8],this}setUvTransform(e,t,i,r,s,o,a){const l=Math.cos(s),c=Math.sin(s);return this.set(i*l,i*c,-i*(l*o+c*a)+o+e,-r*c,r*l,-r*(-c*o+l*a)+a+t,0,0,1),this}scale(e,t){return this.premultiply(wd.makeScale(e,t)),this}rotate(e){return this.premultiply(wd.makeRotation(-e)),this}translate(e,t){return this.premultiply(wd.makeTranslation(e,t)),this}makeTranslation(e,t){return e.isVector2?this.set(1,0,e.x,0,1,e.y,0,0,1):this.set(1,0,e,0,1,t,0,0,1),this}makeRotation(e){const t=Math.cos(e),i=Math.sin(e);return this.set(t,-i,0,i,t,0,0,0,1),this}makeScale(e,t){return this.set(e,0,0,0,t,0,0,0,1),this}equals(e){const t=this.elements,i=e.elements;for(let r=0;r<9;r++)if(t[r]!==i[r])return!1;return!0}fromArray(e,t=0){for(let i=0;i<9;i++)this.elements[i]=e[i+t];return this}toArray(e=[],t=0){const i=this.elements;return e[t]=i[0],e[t+1]=i[1],e[t+2]=i[2],e[t+3]=i[3],e[t+4]=i[4],e[t+5]=i[5],e[t+6]=i[6],e[t+7]=i[7],e[t+8]=i[8],e}clone(){return new this.constructor().fromArray(this.elements)}}const wd=new et;function $S(n){for(let e=n.length-1;e>=0;--e)if(n[e]>=65535)return!0;return!1}const oR={Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array};function $o(n,e){return new oR[n](e)}function kl(n){return document.createElementNS("http://www.w3.org/1999/xhtml",n)}function qS(){const n=kl("canvas");return n.style.display="block",n}const Ev={};function zs(n){n in Ev||(Ev[n]=!0,console.warn(n))}function aR(n,e,t){return new Promise(function(i,r){function s(){switch(n.clientWaitSync(e,n.SYNC_FLUSH_COMMANDS_BIT,0)){case n.WAIT_FAILED:r();break;case n.TIMEOUT_EXPIRED:setTimeout(s,t);break;default:i()}}setTimeout(s,t)})}function lR(n){const e=n.elements;e[2]=.5*e[2]+.5*e[3],e[6]=.5*e[6]+.5*e[7],e[10]=.5*e[10]+.5*e[11],e[14]=.5*e[14]+.5*e[15]}function cR(n){const e=n.elements;e[11]===-1?(e[10]=-e[10]-1,e[14]=-e[14]):(e[10]=-e[10],e[14]=-e[14]+1)}const Tv=new et().set(.4123908,.3575843,.1804808,.212639,.7151687,.0721923,.0193308,.1191948,.9505322),wv=new et().set(3.2409699,-1.5373832,-.4986108,-.9692436,1.8759675,.0415551,.0556301,-.203977,1.0569715);function uR(){const n={enabled:!0,workingColorSpace:uo,spaces:{},convert:function(r,s,o){return this.enabled===!1||s===o||!s||!o||(this.spaces[s].transfer===St&&(r.r=br(r.r),r.g=br(r.g),r.b=br(r.b)),this.spaces[s].primaries!==this.spaces[o].primaries&&(r.applyMatrix3(this.spaces[s].toXYZ),r.applyMatrix3(this.spaces[o].fromXYZ)),this.spaces[o].transfer===St&&(r.r=ea(r.r),r.g=ea(r.g),r.b=ea(r.b))),r},fromWorkingColorSpace:function(r,s){return this.convert(r,this.workingColorSpace,s)},toWorkingColorSpace:function(r,s){return this.convert(r,s,this.workingColorSpace)},getPrimaries:function(r){return this.spaces[r].primaries},getTransfer:function(r){return r===dr?Ul:this.spaces[r].transfer},getLuminanceCoefficients:function(r,s=this.workingColorSpace){return r.fromArray(this.spaces[s].luminanceCoefficients)},define:function(r){Object.assign(this.spaces,r)},_getMatrix:function(r,s,o){return r.copy(this.spaces[s].toXYZ).multiply(this.spaces[o].fromXYZ)},_getDrawingBufferColorSpace:function(r){return this.spaces[r].outputColorSpaceConfig.drawingBufferColorSpace},_getUnpackColorSpace:function(r=this.workingColorSpace){return this.spaces[r].workingColorSpaceConfig.unpackColorSpace}},e=[.64,.33,.3,.6,.15,.06],t=[.2126,.7152,.0722],i=[.3127,.329];return n.define({[uo]:{primaries:e,whitePoint:i,transfer:Ul,toXYZ:Tv,fromXYZ:wv,luminanceCoefficients:t,workingColorSpaceConfig:{unpackColorSpace:Cn},outputColorSpaceConfig:{drawingBufferColorSpace:Cn}},[Cn]:{primaries:e,whitePoint:i,transfer:St,toXYZ:Tv,fromXYZ:wv,luminanceCoefficients:t,outputColorSpaceConfig:{drawingBufferColorSpace:Cn}}}),n}const at=uR();function br(n){return n<.04045?n*.0773993808:Math.pow(n*.9478672986+.0521327014,2.4)}function ea(n){return n<.0031308?n*12.92:1.055*Math.pow(n,.41666)-.055}let So;class YS{static getDataURL(e){if(/^data:/i.test(e.src)||typeof HTMLCanvasElement>"u")return e.src;let t;if(e instanceof HTMLCanvasElement)t=e;else{So===void 0&&(So=kl("canvas")),So.width=e.width,So.height=e.height;const i=So.getContext("2d");e instanceof ImageData?i.putImageData(e,0,0):i.drawImage(e,0,0,e.width,e.height),t=So}return t.toDataURL("image/png")}static sRGBToLinear(e){if(typeof HTMLImageElement<"u"&&e instanceof HTMLImageElement||typeof HTMLCanvasElement<"u"&&e instanceof HTMLCanvasElement||typeof ImageBitmap<"u"&&e instanceof ImageBitmap){const t=kl("canvas");t.width=e.width,t.height=e.height;const i=t.getContext("2d");i.drawImage(e,0,0,e.width,e.height);const r=i.getImageData(0,0,e.width,e.height),s=r.data;for(let o=0;o0&&(i.userData=this.userData),t||(e.textures[this.uuid]=i),i}dispose(){this.dispatchEvent({type:"dispose"})}transformUv(e){if(this.mapping!==bh)return e;if(e.applyMatrix3(this.matrix),e.x<0||e.x>1)switch(this.wrapS){case Ll:e.x=e.x-Math.floor(e.x);break;case li:e.x=e.x<0?0:1;break;case Dl:Math.abs(Math.floor(e.x)%2)===1?e.x=Math.ceil(e.x)-e.x:e.x=e.x-Math.floor(e.x);break}if(e.y<0||e.y>1)switch(this.wrapT){case Ll:e.y=e.y-Math.floor(e.y);break;case li:e.y=e.y<0?0:1;break;case Dl:Math.abs(Math.floor(e.y)%2)===1?e.y=Math.ceil(e.y)-e.y:e.y=e.y-Math.floor(e.y);break}return this.flipY&&(e.y=1-e.y),e}set needsUpdate(e){e===!0&&(this.version++,this.source.needsUpdate=!0)}set needsPMREMUpdate(e){e===!0&&this.pmremVersion++}}Vt.DEFAULT_IMAGE=null;Vt.DEFAULT_MAPPING=bh;Vt.DEFAULT_ANISOTROPY=1;class ht{constructor(e=0,t=0,i=0,r=1){ht.prototype.isVector4=!0,this.x=e,this.y=t,this.z=i,this.w=r}get width(){return this.z}set width(e){this.z=e}get height(){return this.w}set height(e){this.w=e}set(e,t,i,r){return this.x=e,this.y=t,this.z=i,this.w=r,this}setScalar(e){return this.x=e,this.y=e,this.z=e,this.w=e,this}setX(e){return this.x=e,this}setY(e){return this.y=e,this}setZ(e){return this.z=e,this}setW(e){return this.w=e,this}setComponent(e,t){switch(e){case 0:this.x=t;break;case 1:this.y=t;break;case 2:this.z=t;break;case 3:this.w=t;break;default:throw new Error("index is out of range: "+e)}return this}getComponent(e){switch(e){case 0:return this.x;case 1:return this.y;case 2:return this.z;case 3:return this.w;default:throw new Error("index is out of range: "+e)}}clone(){return new this.constructor(this.x,this.y,this.z,this.w)}copy(e){return this.x=e.x,this.y=e.y,this.z=e.z,this.w=e.w!==void 0?e.w:1,this}add(e){return this.x+=e.x,this.y+=e.y,this.z+=e.z,this.w+=e.w,this}addScalar(e){return this.x+=e,this.y+=e,this.z+=e,this.w+=e,this}addVectors(e,t){return this.x=e.x+t.x,this.y=e.y+t.y,this.z=e.z+t.z,this.w=e.w+t.w,this}addScaledVector(e,t){return this.x+=e.x*t,this.y+=e.y*t,this.z+=e.z*t,this.w+=e.w*t,this}sub(e){return this.x-=e.x,this.y-=e.y,this.z-=e.z,this.w-=e.w,this}subScalar(e){return this.x-=e,this.y-=e,this.z-=e,this.w-=e,this}subVectors(e,t){return this.x=e.x-t.x,this.y=e.y-t.y,this.z=e.z-t.z,this.w=e.w-t.w,this}multiply(e){return this.x*=e.x,this.y*=e.y,this.z*=e.z,this.w*=e.w,this}multiplyScalar(e){return this.x*=e,this.y*=e,this.z*=e,this.w*=e,this}applyMatrix4(e){const t=this.x,i=this.y,r=this.z,s=this.w,o=e.elements;return this.x=o[0]*t+o[4]*i+o[8]*r+o[12]*s,this.y=o[1]*t+o[5]*i+o[9]*r+o[13]*s,this.z=o[2]*t+o[6]*i+o[10]*r+o[14]*s,this.w=o[3]*t+o[7]*i+o[11]*r+o[15]*s,this}divide(e){return this.x/=e.x,this.y/=e.y,this.z/=e.z,this.w/=e.w,this}divideScalar(e){return this.multiplyScalar(1/e)}setAxisAngleFromQuaternion(e){this.w=2*Math.acos(e.w);const t=Math.sqrt(1-e.w*e.w);return t<1e-4?(this.x=1,this.y=0,this.z=0):(this.x=e.x/t,this.y=e.y/t,this.z=e.z/t),this}setAxisAngleFromRotationMatrix(e){let t,i,r,s;const l=e.elements,c=l[0],u=l[4],f=l[8],h=l[1],d=l[5],p=l[9],_=l[2],g=l[6],m=l[10];if(Math.abs(u-h)<.01&&Math.abs(f-_)<.01&&Math.abs(p-g)<.01){if(Math.abs(u+h)<.1&&Math.abs(f+_)<.1&&Math.abs(p+g)<.1&&Math.abs(c+d+m-3)<.1)return this.set(1,0,0,0),this;t=Math.PI;const x=(c+1)/2,v=(d+1)/2,E=(m+1)/2,T=(u+h)/4,M=(f+_)/4,P=(p+g)/4;return x>v&&x>E?x<.01?(i=0,r=.707106781,s=.707106781):(i=Math.sqrt(x),r=T/i,s=M/i):v>E?v<.01?(i=.707106781,r=0,s=.707106781):(r=Math.sqrt(v),i=T/r,s=P/r):E<.01?(i=.707106781,r=.707106781,s=0):(s=Math.sqrt(E),i=M/s,r=P/s),this.set(i,r,s,t),this}let y=Math.sqrt((g-p)*(g-p)+(f-_)*(f-_)+(h-u)*(h-u));return Math.abs(y)<.001&&(y=1),this.x=(g-p)/y,this.y=(f-_)/y,this.z=(h-u)/y,this.w=Math.acos((c+d+m-1)/2),this}setFromMatrixPosition(e){const t=e.elements;return this.x=t[12],this.y=t[13],this.z=t[14],this.w=t[15],this}min(e){return this.x=Math.min(this.x,e.x),this.y=Math.min(this.y,e.y),this.z=Math.min(this.z,e.z),this.w=Math.min(this.w,e.w),this}max(e){return this.x=Math.max(this.x,e.x),this.y=Math.max(this.y,e.y),this.z=Math.max(this.z,e.z),this.w=Math.max(this.w,e.w),this}clamp(e,t){return this.x=Ke(this.x,e.x,t.x),this.y=Ke(this.y,e.y,t.y),this.z=Ke(this.z,e.z,t.z),this.w=Ke(this.w,e.w,t.w),this}clampScalar(e,t){return this.x=Ke(this.x,e,t),this.y=Ke(this.y,e,t),this.z=Ke(this.z,e,t),this.w=Ke(this.w,e,t),this}clampLength(e,t){const i=this.length();return this.divideScalar(i||1).multiplyScalar(Ke(i,e,t))}floor(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this.z=Math.floor(this.z),this.w=Math.floor(this.w),this}ceil(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this.z=Math.ceil(this.z),this.w=Math.ceil(this.w),this}round(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this.z=Math.round(this.z),this.w=Math.round(this.w),this}roundToZero(){return this.x=Math.trunc(this.x),this.y=Math.trunc(this.y),this.z=Math.trunc(this.z),this.w=Math.trunc(this.w),this}negate(){return this.x=-this.x,this.y=-this.y,this.z=-this.z,this.w=-this.w,this}dot(e){return this.x*e.x+this.y*e.y+this.z*e.z+this.w*e.w}lengthSq(){return this.x*this.x+this.y*this.y+this.z*this.z+this.w*this.w}length(){return Math.sqrt(this.x*this.x+this.y*this.y+this.z*this.z+this.w*this.w)}manhattanLength(){return Math.abs(this.x)+Math.abs(this.y)+Math.abs(this.z)+Math.abs(this.w)}normalize(){return this.divideScalar(this.length()||1)}setLength(e){return this.normalize().multiplyScalar(e)}lerp(e,t){return this.x+=(e.x-this.x)*t,this.y+=(e.y-this.y)*t,this.z+=(e.z-this.z)*t,this.w+=(e.w-this.w)*t,this}lerpVectors(e,t,i){return this.x=e.x+(t.x-e.x)*i,this.y=e.y+(t.y-e.y)*i,this.z=e.z+(t.z-e.z)*i,this.w=e.w+(t.w-e.w)*i,this}equals(e){return e.x===this.x&&e.y===this.y&&e.z===this.z&&e.w===this.w}fromArray(e,t=0){return this.x=e[t],this.y=e[t+1],this.z=e[t+2],this.w=e[t+3],this}toArray(e=[],t=0){return e[t]=this.x,e[t+1]=this.y,e[t+2]=this.z,e[t+3]=this.w,e}fromBufferAttribute(e,t){return this.x=e.getX(t),this.y=e.getY(t),this.z=e.getZ(t),this.w=e.getW(t),this}random(){return this.x=Math.random(),this.y=Math.random(),this.z=Math.random(),this.w=Math.random(),this}*[Symbol.iterator](){yield this.x,yield this.y,yield this.z,yield this.w}}class Rh extends ji{constructor(e=1,t=1,i={}){super(),this.isRenderTarget=!0,this.width=e,this.height=t,this.depth=1,this.scissor=new ht(0,0,e,t),this.scissorTest=!1,this.viewport=new ht(0,0,e,t);const r={width:e,height:t,depth:1};i=Object.assign({generateMipmaps:!1,internalFormat:null,minFilter:jt,depthBuffer:!0,stencilBuffer:!1,resolveDepthBuffer:!0,resolveStencilBuffer:!0,depthTexture:null,samples:0,count:1},i);const s=new Vt(r,i.mapping,i.wrapS,i.wrapT,i.magFilter,i.minFilter,i.format,i.type,i.anisotropy,i.colorSpace);s.flipY=!1,s.generateMipmaps=i.generateMipmaps,s.internalFormat=i.internalFormat,this.textures=[];const o=i.count;for(let a=0;a=0?1:-1,x=1-m*m;if(x>Number.EPSILON){const E=Math.sqrt(x),T=Math.atan2(E,m*y);g=Math.sin(g*T)/E,a=Math.sin(a*T)/E}const v=a*y;if(l=l*g+h*v,c=c*g+d*v,u=u*g+p*v,f=f*g+_*v,g===1-a){const E=1/Math.sqrt(l*l+c*c+u*u+f*f);l*=E,c*=E,u*=E,f*=E}}e[t]=l,e[t+1]=c,e[t+2]=u,e[t+3]=f}static multiplyQuaternionsFlat(e,t,i,r,s,o){const a=i[r],l=i[r+1],c=i[r+2],u=i[r+3],f=s[o],h=s[o+1],d=s[o+2],p=s[o+3];return e[t]=a*p+u*f+l*d-c*h,e[t+1]=l*p+u*h+c*f-a*d,e[t+2]=c*p+u*d+a*h-l*f,e[t+3]=u*p-a*f-l*h-c*d,e}get x(){return this._x}set x(e){this._x=e,this._onChangeCallback()}get y(){return this._y}set y(e){this._y=e,this._onChangeCallback()}get z(){return this._z}set z(e){this._z=e,this._onChangeCallback()}get w(){return this._w}set w(e){this._w=e,this._onChangeCallback()}set(e,t,i,r){return this._x=e,this._y=t,this._z=i,this._w=r,this._onChangeCallback(),this}clone(){return new this.constructor(this._x,this._y,this._z,this._w)}copy(e){return this._x=e.x,this._y=e.y,this._z=e.z,this._w=e.w,this._onChangeCallback(),this}setFromEuler(e,t=!0){const i=e._x,r=e._y,s=e._z,o=e._order,a=Math.cos,l=Math.sin,c=a(i/2),u=a(r/2),f=a(s/2),h=l(i/2),d=l(r/2),p=l(s/2);switch(o){case"XYZ":this._x=h*u*f+c*d*p,this._y=c*d*f-h*u*p,this._z=c*u*p+h*d*f,this._w=c*u*f-h*d*p;break;case"YXZ":this._x=h*u*f+c*d*p,this._y=c*d*f-h*u*p,this._z=c*u*p-h*d*f,this._w=c*u*f+h*d*p;break;case"ZXY":this._x=h*u*f-c*d*p,this._y=c*d*f+h*u*p,this._z=c*u*p+h*d*f,this._w=c*u*f-h*d*p;break;case"ZYX":this._x=h*u*f-c*d*p,this._y=c*d*f+h*u*p,this._z=c*u*p-h*d*f,this._w=c*u*f+h*d*p;break;case"YZX":this._x=h*u*f+c*d*p,this._y=c*d*f+h*u*p,this._z=c*u*p-h*d*f,this._w=c*u*f-h*d*p;break;case"XZY":this._x=h*u*f-c*d*p,this._y=c*d*f-h*u*p,this._z=c*u*p+h*d*f,this._w=c*u*f+h*d*p;break;default:console.warn("THREE.Quaternion: .setFromEuler() encountered an unknown order: "+o)}return t===!0&&this._onChangeCallback(),this}setFromAxisAngle(e,t){const i=t/2,r=Math.sin(i);return this._x=e.x*r,this._y=e.y*r,this._z=e.z*r,this._w=Math.cos(i),this._onChangeCallback(),this}setFromRotationMatrix(e){const t=e.elements,i=t[0],r=t[4],s=t[8],o=t[1],a=t[5],l=t[9],c=t[2],u=t[6],f=t[10],h=i+a+f;if(h>0){const d=.5/Math.sqrt(h+1);this._w=.25/d,this._x=(u-l)*d,this._y=(s-c)*d,this._z=(o-r)*d}else if(i>a&&i>f){const d=2*Math.sqrt(1+i-a-f);this._w=(u-l)/d,this._x=.25*d,this._y=(r+o)/d,this._z=(s+c)/d}else if(a>f){const d=2*Math.sqrt(1+a-i-f);this._w=(s-c)/d,this._x=(r+o)/d,this._y=.25*d,this._z=(l+u)/d}else{const d=2*Math.sqrt(1+f-i-a);this._w=(o-r)/d,this._x=(s+c)/d,this._y=(l+u)/d,this._z=.25*d}return this._onChangeCallback(),this}setFromUnitVectors(e,t){let i=e.dot(t)+1;return iMath.abs(e.z)?(this._x=-e.y,this._y=e.x,this._z=0,this._w=i):(this._x=0,this._y=-e.z,this._z=e.y,this._w=i)):(this._x=e.y*t.z-e.z*t.y,this._y=e.z*t.x-e.x*t.z,this._z=e.x*t.y-e.y*t.x,this._w=i),this.normalize()}angleTo(e){return 2*Math.acos(Math.abs(Ke(this.dot(e),-1,1)))}rotateTowards(e,t){const i=this.angleTo(e);if(i===0)return this;const r=Math.min(1,t/i);return this.slerp(e,r),this}identity(){return this.set(0,0,0,1)}invert(){return this.conjugate()}conjugate(){return this._x*=-1,this._y*=-1,this._z*=-1,this._onChangeCallback(),this}dot(e){return this._x*e._x+this._y*e._y+this._z*e._z+this._w*e._w}lengthSq(){return this._x*this._x+this._y*this._y+this._z*this._z+this._w*this._w}length(){return Math.sqrt(this._x*this._x+this._y*this._y+this._z*this._z+this._w*this._w)}normalize(){let e=this.length();return e===0?(this._x=0,this._y=0,this._z=0,this._w=1):(e=1/e,this._x=this._x*e,this._y=this._y*e,this._z=this._z*e,this._w=this._w*e),this._onChangeCallback(),this}multiply(e){return this.multiplyQuaternions(this,e)}premultiply(e){return this.multiplyQuaternions(e,this)}multiplyQuaternions(e,t){const i=e._x,r=e._y,s=e._z,o=e._w,a=t._x,l=t._y,c=t._z,u=t._w;return this._x=i*u+o*a+r*c-s*l,this._y=r*u+o*l+s*a-i*c,this._z=s*u+o*c+i*l-r*a,this._w=o*u-i*a-r*l-s*c,this._onChangeCallback(),this}slerp(e,t){if(t===0)return this;if(t===1)return this.copy(e);const i=this._x,r=this._y,s=this._z,o=this._w;let a=o*e._w+i*e._x+r*e._y+s*e._z;if(a<0?(this._w=-e._w,this._x=-e._x,this._y=-e._y,this._z=-e._z,a=-a):this.copy(e),a>=1)return this._w=o,this._x=i,this._y=r,this._z=s,this;const l=1-a*a;if(l<=Number.EPSILON){const d=1-t;return this._w=d*o+t*this._w,this._x=d*i+t*this._x,this._y=d*r+t*this._y,this._z=d*s+t*this._z,this.normalize(),this}const c=Math.sqrt(l),u=Math.atan2(c,a),f=Math.sin((1-t)*u)/c,h=Math.sin(t*u)/c;return this._w=o*f+this._w*h,this._x=i*f+this._x*h,this._y=r*f+this._y*h,this._z=s*f+this._z*h,this._onChangeCallback(),this}slerpQuaternions(e,t,i){return this.copy(e).slerp(t,i)}random(){const e=2*Math.PI*Math.random(),t=2*Math.PI*Math.random(),i=Math.random(),r=Math.sqrt(1-i),s=Math.sqrt(i);return this.set(r*Math.sin(e),r*Math.cos(e),s*Math.sin(t),s*Math.cos(t))}equals(e){return e._x===this._x&&e._y===this._y&&e._z===this._z&&e._w===this._w}fromArray(e,t=0){return this._x=e[t],this._y=e[t+1],this._z=e[t+2],this._w=e[t+3],this._onChangeCallback(),this}toArray(e=[],t=0){return e[t]=this._x,e[t+1]=this._y,e[t+2]=this._z,e[t+3]=this._w,e}fromBufferAttribute(e,t){return this._x=e.getX(t),this._y=e.getY(t),this._z=e.getZ(t),this._w=e.getW(t),this._onChangeCallback(),this}toJSON(){return this.toArray()}_onChange(e){return this._onChangeCallback=e,this}_onChangeCallback(){}*[Symbol.iterator](){yield this._x,yield this._y,yield this._z,yield this._w}}class F{constructor(e=0,t=0,i=0){F.prototype.isVector3=!0,this.x=e,this.y=t,this.z=i}set(e,t,i){return i===void 0&&(i=this.z),this.x=e,this.y=t,this.z=i,this}setScalar(e){return this.x=e,this.y=e,this.z=e,this}setX(e){return this.x=e,this}setY(e){return this.y=e,this}setZ(e){return this.z=e,this}setComponent(e,t){switch(e){case 0:this.x=t;break;case 1:this.y=t;break;case 2:this.z=t;break;default:throw new Error("index is out of range: "+e)}return this}getComponent(e){switch(e){case 0:return this.x;case 1:return this.y;case 2:return this.z;default:throw new Error("index is out of range: "+e)}}clone(){return new this.constructor(this.x,this.y,this.z)}copy(e){return this.x=e.x,this.y=e.y,this.z=e.z,this}add(e){return this.x+=e.x,this.y+=e.y,this.z+=e.z,this}addScalar(e){return this.x+=e,this.y+=e,this.z+=e,this}addVectors(e,t){return this.x=e.x+t.x,this.y=e.y+t.y,this.z=e.z+t.z,this}addScaledVector(e,t){return this.x+=e.x*t,this.y+=e.y*t,this.z+=e.z*t,this}sub(e){return this.x-=e.x,this.y-=e.y,this.z-=e.z,this}subScalar(e){return this.x-=e,this.y-=e,this.z-=e,this}subVectors(e,t){return this.x=e.x-t.x,this.y=e.y-t.y,this.z=e.z-t.z,this}multiply(e){return this.x*=e.x,this.y*=e.y,this.z*=e.z,this}multiplyScalar(e){return this.x*=e,this.y*=e,this.z*=e,this}multiplyVectors(e,t){return this.x=e.x*t.x,this.y=e.y*t.y,this.z=e.z*t.z,this}applyEuler(e){return this.applyQuaternion(Av.setFromEuler(e))}applyAxisAngle(e,t){return this.applyQuaternion(Av.setFromAxisAngle(e,t))}applyMatrix3(e){const t=this.x,i=this.y,r=this.z,s=e.elements;return this.x=s[0]*t+s[3]*i+s[6]*r,this.y=s[1]*t+s[4]*i+s[7]*r,this.z=s[2]*t+s[5]*i+s[8]*r,this}applyNormalMatrix(e){return this.applyMatrix3(e).normalize()}applyMatrix4(e){const t=this.x,i=this.y,r=this.z,s=e.elements,o=1/(s[3]*t+s[7]*i+s[11]*r+s[15]);return this.x=(s[0]*t+s[4]*i+s[8]*r+s[12])*o,this.y=(s[1]*t+s[5]*i+s[9]*r+s[13])*o,this.z=(s[2]*t+s[6]*i+s[10]*r+s[14])*o,this}applyQuaternion(e){const t=this.x,i=this.y,r=this.z,s=e.x,o=e.y,a=e.z,l=e.w,c=2*(o*r-a*i),u=2*(a*t-s*r),f=2*(s*i-o*t);return this.x=t+l*c+o*f-a*u,this.y=i+l*u+a*c-s*f,this.z=r+l*f+s*u-o*c,this}project(e){return this.applyMatrix4(e.matrixWorldInverse).applyMatrix4(e.projectionMatrix)}unproject(e){return this.applyMatrix4(e.projectionMatrixInverse).applyMatrix4(e.matrixWorld)}transformDirection(e){const t=this.x,i=this.y,r=this.z,s=e.elements;return this.x=s[0]*t+s[4]*i+s[8]*r,this.y=s[1]*t+s[5]*i+s[9]*r,this.z=s[2]*t+s[6]*i+s[10]*r,this.normalize()}divide(e){return this.x/=e.x,this.y/=e.y,this.z/=e.z,this}divideScalar(e){return this.multiplyScalar(1/e)}min(e){return this.x=Math.min(this.x,e.x),this.y=Math.min(this.y,e.y),this.z=Math.min(this.z,e.z),this}max(e){return this.x=Math.max(this.x,e.x),this.y=Math.max(this.y,e.y),this.z=Math.max(this.z,e.z),this}clamp(e,t){return this.x=Ke(this.x,e.x,t.x),this.y=Ke(this.y,e.y,t.y),this.z=Ke(this.z,e.z,t.z),this}clampScalar(e,t){return this.x=Ke(this.x,e,t),this.y=Ke(this.y,e,t),this.z=Ke(this.z,e,t),this}clampLength(e,t){const i=this.length();return this.divideScalar(i||1).multiplyScalar(Ke(i,e,t))}floor(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this.z=Math.floor(this.z),this}ceil(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this.z=Math.ceil(this.z),this}round(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this.z=Math.round(this.z),this}roundToZero(){return this.x=Math.trunc(this.x),this.y=Math.trunc(this.y),this.z=Math.trunc(this.z),this}negate(){return this.x=-this.x,this.y=-this.y,this.z=-this.z,this}dot(e){return this.x*e.x+this.y*e.y+this.z*e.z}lengthSq(){return this.x*this.x+this.y*this.y+this.z*this.z}length(){return Math.sqrt(this.x*this.x+this.y*this.y+this.z*this.z)}manhattanLength(){return Math.abs(this.x)+Math.abs(this.y)+Math.abs(this.z)}normalize(){return this.divideScalar(this.length()||1)}setLength(e){return this.normalize().multiplyScalar(e)}lerp(e,t){return this.x+=(e.x-this.x)*t,this.y+=(e.y-this.y)*t,this.z+=(e.z-this.z)*t,this}lerpVectors(e,t,i){return this.x=e.x+(t.x-e.x)*i,this.y=e.y+(t.y-e.y)*i,this.z=e.z+(t.z-e.z)*i,this}cross(e){return this.crossVectors(this,e)}crossVectors(e,t){const i=e.x,r=e.y,s=e.z,o=t.x,a=t.y,l=t.z;return this.x=r*l-s*a,this.y=s*o-i*l,this.z=i*a-r*o,this}projectOnVector(e){const t=e.lengthSq();if(t===0)return this.set(0,0,0);const i=e.dot(this)/t;return this.copy(e).multiplyScalar(i)}projectOnPlane(e){return Cd.copy(this).projectOnVector(e),this.sub(Cd)}reflect(e){return this.sub(Cd.copy(e).multiplyScalar(2*this.dot(e)))}angleTo(e){const t=Math.sqrt(this.lengthSq()*e.lengthSq());if(t===0)return Math.PI/2;const i=this.dot(e)/t;return Math.acos(Ke(i,-1,1))}distanceTo(e){return Math.sqrt(this.distanceToSquared(e))}distanceToSquared(e){const t=this.x-e.x,i=this.y-e.y,r=this.z-e.z;return t*t+i*i+r*r}manhattanDistanceTo(e){return Math.abs(this.x-e.x)+Math.abs(this.y-e.y)+Math.abs(this.z-e.z)}setFromSpherical(e){return this.setFromSphericalCoords(e.radius,e.phi,e.theta)}setFromSphericalCoords(e,t,i){const r=Math.sin(t)*e;return this.x=r*Math.sin(i),this.y=Math.cos(t)*e,this.z=r*Math.cos(i),this}setFromCylindrical(e){return this.setFromCylindricalCoords(e.radius,e.theta,e.y)}setFromCylindricalCoords(e,t,i){return this.x=e*Math.sin(t),this.y=i,this.z=e*Math.cos(t),this}setFromMatrixPosition(e){const t=e.elements;return this.x=t[12],this.y=t[13],this.z=t[14],this}setFromMatrixScale(e){const t=this.setFromMatrixColumn(e,0).length(),i=this.setFromMatrixColumn(e,1).length(),r=this.setFromMatrixColumn(e,2).length();return this.x=t,this.y=i,this.z=r,this}setFromMatrixColumn(e,t){return this.fromArray(e.elements,t*4)}setFromMatrix3Column(e,t){return this.fromArray(e.elements,t*3)}setFromEuler(e){return this.x=e._x,this.y=e._y,this.z=e._z,this}setFromColor(e){return this.x=e.r,this.y=e.g,this.z=e.b,this}equals(e){return e.x===this.x&&e.y===this.y&&e.z===this.z}fromArray(e,t=0){return this.x=e[t],this.y=e[t+1],this.z=e[t+2],this}toArray(e=[],t=0){return e[t]=this.x,e[t+1]=this.y,e[t+2]=this.z,e}fromBufferAttribute(e,t){return this.x=e.getX(t),this.y=e.getY(t),this.z=e.getZ(t),this}random(){return this.x=Math.random(),this.y=Math.random(),this.z=Math.random(),this}randomDirection(){const e=Math.random()*Math.PI*2,t=Math.random()*2-1,i=Math.sqrt(1-t*t);return this.x=i*Math.cos(e),this.y=t,this.z=i*Math.sin(e),this}*[Symbol.iterator](){yield this.x,yield this.y,yield this.z}}const Cd=new F,Av=new Wn;class On{constructor(e=new F(1/0,1/0,1/0),t=new F(-1/0,-1/0,-1/0)){this.isBox3=!0,this.min=e,this.max=t}set(e,t){return this.min.copy(e),this.max.copy(t),this}setFromArray(e){this.makeEmpty();for(let t=0,i=e.length;t=this.min.x&&e.x<=this.max.x&&e.y>=this.min.y&&e.y<=this.max.y&&e.z>=this.min.z&&e.z<=this.max.z}containsBox(e){return this.min.x<=e.min.x&&e.max.x<=this.max.x&&this.min.y<=e.min.y&&e.max.y<=this.max.y&&this.min.z<=e.min.z&&e.max.z<=this.max.z}getParameter(e,t){return t.set((e.x-this.min.x)/(this.max.x-this.min.x),(e.y-this.min.y)/(this.max.y-this.min.y),(e.z-this.min.z)/(this.max.z-this.min.z))}intersectsBox(e){return e.max.x>=this.min.x&&e.min.x<=this.max.x&&e.max.y>=this.min.y&&e.min.y<=this.max.y&&e.max.z>=this.min.z&&e.min.z<=this.max.z}intersectsSphere(e){return this.clampPoint(e.center,vi),vi.distanceToSquared(e.center)<=e.radius*e.radius}intersectsPlane(e){let t,i;return e.normal.x>0?(t=e.normal.x*this.min.x,i=e.normal.x*this.max.x):(t=e.normal.x*this.max.x,i=e.normal.x*this.min.x),e.normal.y>0?(t+=e.normal.y*this.min.y,i+=e.normal.y*this.max.y):(t+=e.normal.y*this.max.y,i+=e.normal.y*this.min.y),e.normal.z>0?(t+=e.normal.z*this.min.z,i+=e.normal.z*this.max.z):(t+=e.normal.z*this.max.z,i+=e.normal.z*this.min.z),t<=-e.constant&&i>=-e.constant}intersectsTriangle(e){if(this.isEmpty())return!1;this.getCenter(Aa),Nc.subVectors(this.max,Aa),Mo.subVectors(e.a,Aa),Eo.subVectors(e.b,Aa),To.subVectors(e.c,Aa),Dr.subVectors(Eo,Mo),Or.subVectors(To,Eo),Es.subVectors(Mo,To);let t=[0,-Dr.z,Dr.y,0,-Or.z,Or.y,0,-Es.z,Es.y,Dr.z,0,-Dr.x,Or.z,0,-Or.x,Es.z,0,-Es.x,-Dr.y,Dr.x,0,-Or.y,Or.x,0,-Es.y,Es.x,0];return!Rd(t,Mo,Eo,To,Nc)||(t=[1,0,0,0,1,0,0,0,1],!Rd(t,Mo,Eo,To,Nc))?!1:(Uc.crossVectors(Dr,Or),t=[Uc.x,Uc.y,Uc.z],Rd(t,Mo,Eo,To,Nc))}clampPoint(e,t){return t.copy(e).clamp(this.min,this.max)}distanceToPoint(e){return this.clampPoint(e,vi).distanceTo(e)}getBoundingSphere(e){return this.isEmpty()?e.makeEmpty():(this.getCenter(e.center),e.radius=this.getSize(vi).length()*.5),e}intersect(e){return this.min.max(e.min),this.max.min(e.max),this.isEmpty()&&this.makeEmpty(),this}union(e){return this.min.min(e.min),this.max.max(e.max),this}applyMatrix4(e){return this.isEmpty()?this:(tr[0].set(this.min.x,this.min.y,this.min.z).applyMatrix4(e),tr[1].set(this.min.x,this.min.y,this.max.z).applyMatrix4(e),tr[2].set(this.min.x,this.max.y,this.min.z).applyMatrix4(e),tr[3].set(this.min.x,this.max.y,this.max.z).applyMatrix4(e),tr[4].set(this.max.x,this.min.y,this.min.z).applyMatrix4(e),tr[5].set(this.max.x,this.min.y,this.max.z).applyMatrix4(e),tr[6].set(this.max.x,this.max.y,this.min.z).applyMatrix4(e),tr[7].set(this.max.x,this.max.y,this.max.z).applyMatrix4(e),this.setFromPoints(tr),this)}translate(e){return this.min.add(e),this.max.add(e),this}equals(e){return e.min.equals(this.min)&&e.max.equals(this.max)}}const tr=[new F,new F,new F,new F,new F,new F,new F,new F],vi=new F,Oc=new On,Mo=new F,Eo=new F,To=new F,Dr=new F,Or=new F,Es=new F,Aa=new F,Nc=new F,Uc=new F,Ts=new F;function Rd(n,e,t,i,r){for(let s=0,o=n.length-3;s<=o;s+=3){Ts.fromArray(n,s);const a=r.x*Math.abs(Ts.x)+r.y*Math.abs(Ts.y)+r.z*Math.abs(Ts.z),l=e.dot(Ts),c=t.dot(Ts),u=i.dot(Ts);if(Math.max(-Math.max(l,c,u),Math.min(l,c,u))>a)return!1}return!0}const mR=new On,Ca=new F,Pd=new F;class _n{constructor(e=new F,t=-1){this.isSphere=!0,this.center=e,this.radius=t}set(e,t){return this.center.copy(e),this.radius=t,this}setFromPoints(e,t){const i=this.center;t!==void 0?i.copy(t):mR.setFromPoints(e).getCenter(i);let r=0;for(let s=0,o=e.length;sthis.radius*this.radius&&(t.sub(this.center).normalize(),t.multiplyScalar(this.radius).add(this.center)),t}getBoundingBox(e){return this.isEmpty()?(e.makeEmpty(),e):(e.set(this.center,this.center),e.expandByScalar(this.radius),e)}applyMatrix4(e){return this.center.applyMatrix4(e),this.radius=this.radius*e.getMaxScaleOnAxis(),this}translate(e){return this.center.add(e),this}expandByPoint(e){if(this.isEmpty())return this.center.copy(e),this.radius=0,this;Ca.subVectors(e,this.center);const t=Ca.lengthSq();if(t>this.radius*this.radius){const i=Math.sqrt(t),r=(i-this.radius)*.5;this.center.addScaledVector(Ca,r/i),this.radius+=r}return this}union(e){return e.isEmpty()?this:this.isEmpty()?(this.copy(e),this):(this.center.equals(e.center)===!0?this.radius=Math.max(this.radius,e.radius):(Pd.subVectors(e.center,this.center).setLength(e.radius),this.expandByPoint(Ca.copy(e.center).add(Pd)),this.expandByPoint(Ca.copy(e.center).sub(Pd))),this)}equals(e){return e.center.equals(this.center)&&e.radius===this.radius}clone(){return new this.constructor().copy(this)}}const nr=new F,Id=new F,Fc=new F,Nr=new F,Ld=new F,Bc=new F,Dd=new F;class ya{constructor(e=new F,t=new F(0,0,-1)){this.origin=e,this.direction=t}set(e,t){return this.origin.copy(e),this.direction.copy(t),this}copy(e){return this.origin.copy(e.origin),this.direction.copy(e.direction),this}at(e,t){return t.copy(this.origin).addScaledVector(this.direction,e)}lookAt(e){return this.direction.copy(e).sub(this.origin).normalize(),this}recast(e){return this.origin.copy(this.at(e,nr)),this}closestPointToPoint(e,t){t.subVectors(e,this.origin);const i=t.dot(this.direction);return i<0?t.copy(this.origin):t.copy(this.origin).addScaledVector(this.direction,i)}distanceToPoint(e){return Math.sqrt(this.distanceSqToPoint(e))}distanceSqToPoint(e){const t=nr.subVectors(e,this.origin).dot(this.direction);return t<0?this.origin.distanceToSquared(e):(nr.copy(this.origin).addScaledVector(this.direction,t),nr.distanceToSquared(e))}distanceSqToSegment(e,t,i,r){Id.copy(e).add(t).multiplyScalar(.5),Fc.copy(t).sub(e).normalize(),Nr.copy(this.origin).sub(Id);const s=e.distanceTo(t)*.5,o=-this.direction.dot(Fc),a=Nr.dot(this.direction),l=-Nr.dot(Fc),c=Nr.lengthSq(),u=Math.abs(1-o*o);let f,h,d,p;if(u>0)if(f=o*l-a,h=o*a-l,p=s*u,f>=0)if(h>=-p)if(h<=p){const _=1/u;f*=_,h*=_,d=f*(f+o*h+2*a)+h*(o*f+h+2*l)+c}else h=s,f=Math.max(0,-(o*h+a)),d=-f*f+h*(h+2*l)+c;else h=-s,f=Math.max(0,-(o*h+a)),d=-f*f+h*(h+2*l)+c;else h<=-p?(f=Math.max(0,-(-o*s+a)),h=f>0?-s:Math.min(Math.max(-s,-l),s),d=-f*f+h*(h+2*l)+c):h<=p?(f=0,h=Math.min(Math.max(-s,-l),s),d=h*(h+2*l)+c):(f=Math.max(0,-(o*s+a)),h=f>0?s:Math.min(Math.max(-s,-l),s),d=-f*f+h*(h+2*l)+c);else h=o>0?-s:s,f=Math.max(0,-(o*h+a)),d=-f*f+h*(h+2*l)+c;return i&&i.copy(this.origin).addScaledVector(this.direction,f),r&&r.copy(Id).addScaledVector(Fc,h),d}intersectSphere(e,t){nr.subVectors(e.center,this.origin);const i=nr.dot(this.direction),r=nr.dot(nr)-i*i,s=e.radius*e.radius;if(r>s)return null;const o=Math.sqrt(s-r),a=i-o,l=i+o;return l<0?null:a<0?this.at(l,t):this.at(a,t)}intersectsSphere(e){return this.distanceSqToPoint(e.center)<=e.radius*e.radius}distanceToPlane(e){const t=e.normal.dot(this.direction);if(t===0)return e.distanceToPoint(this.origin)===0?0:null;const i=-(this.origin.dot(e.normal)+e.constant)/t;return i>=0?i:null}intersectPlane(e,t){const i=this.distanceToPlane(e);return i===null?null:this.at(i,t)}intersectsPlane(e){const t=e.distanceToPoint(this.origin);return t===0||e.normal.dot(this.direction)*t<0}intersectBox(e,t){let i,r,s,o,a,l;const c=1/this.direction.x,u=1/this.direction.y,f=1/this.direction.z,h=this.origin;return c>=0?(i=(e.min.x-h.x)*c,r=(e.max.x-h.x)*c):(i=(e.max.x-h.x)*c,r=(e.min.x-h.x)*c),u>=0?(s=(e.min.y-h.y)*u,o=(e.max.y-h.y)*u):(s=(e.max.y-h.y)*u,o=(e.min.y-h.y)*u),i>o||s>r||((s>i||isNaN(i))&&(i=s),(o=0?(a=(e.min.z-h.z)*f,l=(e.max.z-h.z)*f):(a=(e.max.z-h.z)*f,l=(e.min.z-h.z)*f),i>l||a>r)||((a>i||i!==i)&&(i=a),(l=0?i:r,t)}intersectsBox(e){return this.intersectBox(e,nr)!==null}intersectTriangle(e,t,i,r,s){Ld.subVectors(t,e),Bc.subVectors(i,e),Dd.crossVectors(Ld,Bc);let o=this.direction.dot(Dd),a;if(o>0){if(r)return null;a=1}else if(o<0)a=-1,o=-o;else return null;Nr.subVectors(this.origin,e);const l=a*this.direction.dot(Bc.crossVectors(Nr,Bc));if(l<0)return null;const c=a*this.direction.dot(Ld.cross(Nr));if(c<0||l+c>o)return null;const u=-a*Nr.dot(Dd);return u<0?null:this.at(u/o,s)}applyMatrix4(e){return this.origin.applyMatrix4(e),this.direction.transformDirection(e),this}equals(e){return e.origin.equals(this.origin)&&e.direction.equals(this.direction)}clone(){return new this.constructor().copy(this)}}class Xe{constructor(e,t,i,r,s,o,a,l,c,u,f,h,d,p,_,g){Xe.prototype.isMatrix4=!0,this.elements=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1],e!==void 0&&this.set(e,t,i,r,s,o,a,l,c,u,f,h,d,p,_,g)}set(e,t,i,r,s,o,a,l,c,u,f,h,d,p,_,g){const m=this.elements;return m[0]=e,m[4]=t,m[8]=i,m[12]=r,m[1]=s,m[5]=o,m[9]=a,m[13]=l,m[2]=c,m[6]=u,m[10]=f,m[14]=h,m[3]=d,m[7]=p,m[11]=_,m[15]=g,this}identity(){return this.set(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1),this}clone(){return new Xe().fromArray(this.elements)}copy(e){const t=this.elements,i=e.elements;return t[0]=i[0],t[1]=i[1],t[2]=i[2],t[3]=i[3],t[4]=i[4],t[5]=i[5],t[6]=i[6],t[7]=i[7],t[8]=i[8],t[9]=i[9],t[10]=i[10],t[11]=i[11],t[12]=i[12],t[13]=i[13],t[14]=i[14],t[15]=i[15],this}copyPosition(e){const t=this.elements,i=e.elements;return t[12]=i[12],t[13]=i[13],t[14]=i[14],this}setFromMatrix3(e){const t=e.elements;return this.set(t[0],t[3],t[6],0,t[1],t[4],t[7],0,t[2],t[5],t[8],0,0,0,0,1),this}extractBasis(e,t,i){return e.setFromMatrixColumn(this,0),t.setFromMatrixColumn(this,1),i.setFromMatrixColumn(this,2),this}makeBasis(e,t,i){return this.set(e.x,t.x,i.x,0,e.y,t.y,i.y,0,e.z,t.z,i.z,0,0,0,0,1),this}extractRotation(e){const t=this.elements,i=e.elements,r=1/wo.setFromMatrixColumn(e,0).length(),s=1/wo.setFromMatrixColumn(e,1).length(),o=1/wo.setFromMatrixColumn(e,2).length();return t[0]=i[0]*r,t[1]=i[1]*r,t[2]=i[2]*r,t[3]=0,t[4]=i[4]*s,t[5]=i[5]*s,t[6]=i[6]*s,t[7]=0,t[8]=i[8]*o,t[9]=i[9]*o,t[10]=i[10]*o,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,this}makeRotationFromEuler(e){const t=this.elements,i=e.x,r=e.y,s=e.z,o=Math.cos(i),a=Math.sin(i),l=Math.cos(r),c=Math.sin(r),u=Math.cos(s),f=Math.sin(s);if(e.order==="XYZ"){const h=o*u,d=o*f,p=a*u,_=a*f;t[0]=l*u,t[4]=-l*f,t[8]=c,t[1]=d+p*c,t[5]=h-_*c,t[9]=-a*l,t[2]=_-h*c,t[6]=p+d*c,t[10]=o*l}else if(e.order==="YXZ"){const h=l*u,d=l*f,p=c*u,_=c*f;t[0]=h+_*a,t[4]=p*a-d,t[8]=o*c,t[1]=o*f,t[5]=o*u,t[9]=-a,t[2]=d*a-p,t[6]=_+h*a,t[10]=o*l}else if(e.order==="ZXY"){const h=l*u,d=l*f,p=c*u,_=c*f;t[0]=h-_*a,t[4]=-o*f,t[8]=p+d*a,t[1]=d+p*a,t[5]=o*u,t[9]=_-h*a,t[2]=-o*c,t[6]=a,t[10]=o*l}else if(e.order==="ZYX"){const h=o*u,d=o*f,p=a*u,_=a*f;t[0]=l*u,t[4]=p*c-d,t[8]=h*c+_,t[1]=l*f,t[5]=_*c+h,t[9]=d*c-p,t[2]=-c,t[6]=a*l,t[10]=o*l}else if(e.order==="YZX"){const h=o*l,d=o*c,p=a*l,_=a*c;t[0]=l*u,t[4]=_-h*f,t[8]=p*f+d,t[1]=f,t[5]=o*u,t[9]=-a*u,t[2]=-c*u,t[6]=d*f+p,t[10]=h-_*f}else if(e.order==="XZY"){const h=o*l,d=o*c,p=a*l,_=a*c;t[0]=l*u,t[4]=-f,t[8]=c*u,t[1]=h*f+_,t[5]=o*u,t[9]=d*f-p,t[2]=p*f-d,t[6]=a*u,t[10]=_*f+h}return t[3]=0,t[7]=0,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,this}makeRotationFromQuaternion(e){return this.compose(gR,e,_R)}lookAt(e,t,i){const r=this.elements;return Yn.subVectors(e,t),Yn.lengthSq()===0&&(Yn.z=1),Yn.normalize(),Ur.crossVectors(i,Yn),Ur.lengthSq()===0&&(Math.abs(i.z)===1?Yn.x+=1e-4:Yn.z+=1e-4,Yn.normalize(),Ur.crossVectors(i,Yn)),Ur.normalize(),kc.crossVectors(Yn,Ur),r[0]=Ur.x,r[4]=kc.x,r[8]=Yn.x,r[1]=Ur.y,r[5]=kc.y,r[9]=Yn.y,r[2]=Ur.z,r[6]=kc.z,r[10]=Yn.z,this}multiply(e){return this.multiplyMatrices(this,e)}premultiply(e){return this.multiplyMatrices(e,this)}multiplyMatrices(e,t){const i=e.elements,r=t.elements,s=this.elements,o=i[0],a=i[4],l=i[8],c=i[12],u=i[1],f=i[5],h=i[9],d=i[13],p=i[2],_=i[6],g=i[10],m=i[14],y=i[3],x=i[7],v=i[11],E=i[15],T=r[0],M=r[4],P=r[8],b=r[12],S=r[1],D=r[5],B=r[9],H=r[13],$=r[2],ee=r[6],Z=r[10],te=r[14],Q=r[3],pe=r[7],ve=r[11],re=r[15];return s[0]=o*T+a*S+l*$+c*Q,s[4]=o*M+a*D+l*ee+c*pe,s[8]=o*P+a*B+l*Z+c*ve,s[12]=o*b+a*H+l*te+c*re,s[1]=u*T+f*S+h*$+d*Q,s[5]=u*M+f*D+h*ee+d*pe,s[9]=u*P+f*B+h*Z+d*ve,s[13]=u*b+f*H+h*te+d*re,s[2]=p*T+_*S+g*$+m*Q,s[6]=p*M+_*D+g*ee+m*pe,s[10]=p*P+_*B+g*Z+m*ve,s[14]=p*b+_*H+g*te+m*re,s[3]=y*T+x*S+v*$+E*Q,s[7]=y*M+x*D+v*ee+E*pe,s[11]=y*P+x*B+v*Z+E*ve,s[15]=y*b+x*H+v*te+E*re,this}multiplyScalar(e){const t=this.elements;return t[0]*=e,t[4]*=e,t[8]*=e,t[12]*=e,t[1]*=e,t[5]*=e,t[9]*=e,t[13]*=e,t[2]*=e,t[6]*=e,t[10]*=e,t[14]*=e,t[3]*=e,t[7]*=e,t[11]*=e,t[15]*=e,this}determinant(){const e=this.elements,t=e[0],i=e[4],r=e[8],s=e[12],o=e[1],a=e[5],l=e[9],c=e[13],u=e[2],f=e[6],h=e[10],d=e[14],p=e[3],_=e[7],g=e[11],m=e[15];return p*(+s*l*f-r*c*f-s*a*h+i*c*h+r*a*d-i*l*d)+_*(+t*l*d-t*c*h+s*o*h-r*o*d+r*c*u-s*l*u)+g*(+t*c*f-t*a*d-s*o*f+i*o*d+s*a*u-i*c*u)+m*(-r*a*u-t*l*f+t*a*h+r*o*f-i*o*h+i*l*u)}transpose(){const e=this.elements;let t;return t=e[1],e[1]=e[4],e[4]=t,t=e[2],e[2]=e[8],e[8]=t,t=e[6],e[6]=e[9],e[9]=t,t=e[3],e[3]=e[12],e[12]=t,t=e[7],e[7]=e[13],e[13]=t,t=e[11],e[11]=e[14],e[14]=t,this}setPosition(e,t,i){const r=this.elements;return e.isVector3?(r[12]=e.x,r[13]=e.y,r[14]=e.z):(r[12]=e,r[13]=t,r[14]=i),this}invert(){const e=this.elements,t=e[0],i=e[1],r=e[2],s=e[3],o=e[4],a=e[5],l=e[6],c=e[7],u=e[8],f=e[9],h=e[10],d=e[11],p=e[12],_=e[13],g=e[14],m=e[15],y=f*g*c-_*h*c+_*l*d-a*g*d-f*l*m+a*h*m,x=p*h*c-u*g*c-p*l*d+o*g*d+u*l*m-o*h*m,v=u*_*c-p*f*c+p*a*d-o*_*d-u*a*m+o*f*m,E=p*f*l-u*_*l-p*a*h+o*_*h+u*a*g-o*f*g,T=t*y+i*x+r*v+s*E;if(T===0)return this.set(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);const M=1/T;return e[0]=y*M,e[1]=(_*h*s-f*g*s-_*r*d+i*g*d+f*r*m-i*h*m)*M,e[2]=(a*g*s-_*l*s+_*r*c-i*g*c-a*r*m+i*l*m)*M,e[3]=(f*l*s-a*h*s-f*r*c+i*h*c+a*r*d-i*l*d)*M,e[4]=x*M,e[5]=(u*g*s-p*h*s+p*r*d-t*g*d-u*r*m+t*h*m)*M,e[6]=(p*l*s-o*g*s-p*r*c+t*g*c+o*r*m-t*l*m)*M,e[7]=(o*h*s-u*l*s+u*r*c-t*h*c-o*r*d+t*l*d)*M,e[8]=v*M,e[9]=(p*f*s-u*_*s-p*i*d+t*_*d+u*i*m-t*f*m)*M,e[10]=(o*_*s-p*a*s+p*i*c-t*_*c-o*i*m+t*a*m)*M,e[11]=(u*a*s-o*f*s-u*i*c+t*f*c+o*i*d-t*a*d)*M,e[12]=E*M,e[13]=(u*_*r-p*f*r+p*i*h-t*_*h-u*i*g+t*f*g)*M,e[14]=(p*a*r-o*_*r-p*i*l+t*_*l+o*i*g-t*a*g)*M,e[15]=(o*f*r-u*a*r+u*i*l-t*f*l-o*i*h+t*a*h)*M,this}scale(e){const t=this.elements,i=e.x,r=e.y,s=e.z;return t[0]*=i,t[4]*=r,t[8]*=s,t[1]*=i,t[5]*=r,t[9]*=s,t[2]*=i,t[6]*=r,t[10]*=s,t[3]*=i,t[7]*=r,t[11]*=s,this}getMaxScaleOnAxis(){const e=this.elements,t=e[0]*e[0]+e[1]*e[1]+e[2]*e[2],i=e[4]*e[4]+e[5]*e[5]+e[6]*e[6],r=e[8]*e[8]+e[9]*e[9]+e[10]*e[10];return Math.sqrt(Math.max(t,i,r))}makeTranslation(e,t,i){return e.isVector3?this.set(1,0,0,e.x,0,1,0,e.y,0,0,1,e.z,0,0,0,1):this.set(1,0,0,e,0,1,0,t,0,0,1,i,0,0,0,1),this}makeRotationX(e){const t=Math.cos(e),i=Math.sin(e);return this.set(1,0,0,0,0,t,-i,0,0,i,t,0,0,0,0,1),this}makeRotationY(e){const t=Math.cos(e),i=Math.sin(e);return this.set(t,0,i,0,0,1,0,0,-i,0,t,0,0,0,0,1),this}makeRotationZ(e){const t=Math.cos(e),i=Math.sin(e);return this.set(t,-i,0,0,i,t,0,0,0,0,1,0,0,0,0,1),this}makeRotationAxis(e,t){const i=Math.cos(t),r=Math.sin(t),s=1-i,o=e.x,a=e.y,l=e.z,c=s*o,u=s*a;return this.set(c*o+i,c*a-r*l,c*l+r*a,0,c*a+r*l,u*a+i,u*l-r*o,0,c*l-r*a,u*l+r*o,s*l*l+i,0,0,0,0,1),this}makeScale(e,t,i){return this.set(e,0,0,0,0,t,0,0,0,0,i,0,0,0,0,1),this}makeShear(e,t,i,r,s,o){return this.set(1,i,s,0,e,1,o,0,t,r,1,0,0,0,0,1),this}compose(e,t,i){const r=this.elements,s=t._x,o=t._y,a=t._z,l=t._w,c=s+s,u=o+o,f=a+a,h=s*c,d=s*u,p=s*f,_=o*u,g=o*f,m=a*f,y=l*c,x=l*u,v=l*f,E=i.x,T=i.y,M=i.z;return r[0]=(1-(_+m))*E,r[1]=(d+v)*E,r[2]=(p-x)*E,r[3]=0,r[4]=(d-v)*T,r[5]=(1-(h+m))*T,r[6]=(g+y)*T,r[7]=0,r[8]=(p+x)*M,r[9]=(g-y)*M,r[10]=(1-(h+_))*M,r[11]=0,r[12]=e.x,r[13]=e.y,r[14]=e.z,r[15]=1,this}decompose(e,t,i){const r=this.elements;let s=wo.set(r[0],r[1],r[2]).length();const o=wo.set(r[4],r[5],r[6]).length(),a=wo.set(r[8],r[9],r[10]).length();this.determinant()<0&&(s=-s),e.x=r[12],e.y=r[13],e.z=r[14],yi.copy(this);const c=1/s,u=1/o,f=1/a;return yi.elements[0]*=c,yi.elements[1]*=c,yi.elements[2]*=c,yi.elements[4]*=u,yi.elements[5]*=u,yi.elements[6]*=u,yi.elements[8]*=f,yi.elements[9]*=f,yi.elements[10]*=f,t.setFromRotationMatrix(yi),i.x=s,i.y=o,i.z=a,this}makePerspective(e,t,i,r,s,o,a=Mi){const l=this.elements,c=2*s/(t-e),u=2*s/(i-r),f=(t+e)/(t-e),h=(i+r)/(i-r);let d,p;if(a===Mi)d=-(o+s)/(o-s),p=-2*o*s/(o-s);else if(a===Bl)d=-o/(o-s),p=-o*s/(o-s);else throw new Error("THREE.Matrix4.makePerspective(): Invalid coordinate system: "+a);return l[0]=c,l[4]=0,l[8]=f,l[12]=0,l[1]=0,l[5]=u,l[9]=h,l[13]=0,l[2]=0,l[6]=0,l[10]=d,l[14]=p,l[3]=0,l[7]=0,l[11]=-1,l[15]=0,this}makeOrthographic(e,t,i,r,s,o,a=Mi){const l=this.elements,c=1/(t-e),u=1/(i-r),f=1/(o-s),h=(t+e)*c,d=(i+r)*u;let p,_;if(a===Mi)p=(o+s)*f,_=-2*f;else if(a===Bl)p=s*f,_=-1*f;else throw new Error("THREE.Matrix4.makeOrthographic(): Invalid coordinate system: "+a);return l[0]=2*c,l[4]=0,l[8]=0,l[12]=-h,l[1]=0,l[5]=2*u,l[9]=0,l[13]=-d,l[2]=0,l[6]=0,l[10]=_,l[14]=-p,l[3]=0,l[7]=0,l[11]=0,l[15]=1,this}equals(e){const t=this.elements,i=e.elements;for(let r=0;r<16;r++)if(t[r]!==i[r])return!1;return!0}fromArray(e,t=0){for(let i=0;i<16;i++)this.elements[i]=e[i+t];return this}toArray(e=[],t=0){const i=this.elements;return e[t]=i[0],e[t+1]=i[1],e[t+2]=i[2],e[t+3]=i[3],e[t+4]=i[4],e[t+5]=i[5],e[t+6]=i[6],e[t+7]=i[7],e[t+8]=i[8],e[t+9]=i[9],e[t+10]=i[10],e[t+11]=i[11],e[t+12]=i[12],e[t+13]=i[13],e[t+14]=i[14],e[t+15]=i[15],e}}const wo=new F,yi=new Xe,gR=new F(0,0,0),_R=new F(1,1,1),Ur=new F,kc=new F,Yn=new F,Cv=new Xe,Rv=new Wn;class ei{constructor(e=0,t=0,i=0,r=ei.DEFAULT_ORDER){this.isEuler=!0,this._x=e,this._y=t,this._z=i,this._order=r}get x(){return this._x}set x(e){this._x=e,this._onChangeCallback()}get y(){return this._y}set y(e){this._y=e,this._onChangeCallback()}get z(){return this._z}set z(e){this._z=e,this._onChangeCallback()}get order(){return this._order}set order(e){this._order=e,this._onChangeCallback()}set(e,t,i,r=this._order){return this._x=e,this._y=t,this._z=i,this._order=r,this._onChangeCallback(),this}clone(){return new this.constructor(this._x,this._y,this._z,this._order)}copy(e){return this._x=e._x,this._y=e._y,this._z=e._z,this._order=e._order,this._onChangeCallback(),this}setFromRotationMatrix(e,t=this._order,i=!0){const r=e.elements,s=r[0],o=r[4],a=r[8],l=r[1],c=r[5],u=r[9],f=r[2],h=r[6],d=r[10];switch(t){case"XYZ":this._y=Math.asin(Ke(a,-1,1)),Math.abs(a)<.9999999?(this._x=Math.atan2(-u,d),this._z=Math.atan2(-o,s)):(this._x=Math.atan2(h,c),this._z=0);break;case"YXZ":this._x=Math.asin(-Ke(u,-1,1)),Math.abs(u)<.9999999?(this._y=Math.atan2(a,d),this._z=Math.atan2(l,c)):(this._y=Math.atan2(-f,s),this._z=0);break;case"ZXY":this._x=Math.asin(Ke(h,-1,1)),Math.abs(h)<.9999999?(this._y=Math.atan2(-f,d),this._z=Math.atan2(-o,c)):(this._y=0,this._z=Math.atan2(l,s));break;case"ZYX":this._y=Math.asin(-Ke(f,-1,1)),Math.abs(f)<.9999999?(this._x=Math.atan2(h,d),this._z=Math.atan2(l,s)):(this._x=0,this._z=Math.atan2(-o,c));break;case"YZX":this._z=Math.asin(Ke(l,-1,1)),Math.abs(l)<.9999999?(this._x=Math.atan2(-u,c),this._y=Math.atan2(-f,s)):(this._x=0,this._y=Math.atan2(a,d));break;case"XZY":this._z=Math.asin(-Ke(o,-1,1)),Math.abs(o)<.9999999?(this._x=Math.atan2(h,c),this._y=Math.atan2(a,s)):(this._x=Math.atan2(-u,d),this._y=0);break;default:console.warn("THREE.Euler: .setFromRotationMatrix() encountered an unknown order: "+t)}return this._order=t,i===!0&&this._onChangeCallback(),this}setFromQuaternion(e,t,i){return Cv.makeRotationFromQuaternion(e),this.setFromRotationMatrix(Cv,t,i)}setFromVector3(e,t=this._order){return this.set(e.x,e.y,e.z,t)}reorder(e){return Rv.setFromEuler(this),this.setFromQuaternion(Rv,e)}equals(e){return e._x===this._x&&e._y===this._y&&e._z===this._z&&e._order===this._order}fromArray(e){return this._x=e[0],this._y=e[1],this._z=e[2],e[3]!==void 0&&(this._order=e[3]),this._onChangeCallback(),this}toArray(e=[],t=0){return e[t]=this._x,e[t+1]=this._y,e[t+2]=this._z,e[t+3]=this._order,e}_onChange(e){return this._onChangeCallback=e,this}_onChangeCallback(){}*[Symbol.iterator](){yield this._x,yield this._y,yield this._z,yield this._order}}ei.DEFAULT_ORDER="XYZ";class Ih{constructor(){this.mask=1}set(e){this.mask=(1<>>0}enable(e){this.mask|=1<1){for(let t=0;t1){for(let i=0;i0&&(r.userData=this.userData),r.layers=this.layers.mask,r.matrix=this.matrix.toArray(),r.up=this.up.toArray(),this.matrixAutoUpdate===!1&&(r.matrixAutoUpdate=!1),this.isInstancedMesh&&(r.type="InstancedMesh",r.count=this.count,r.instanceMatrix=this.instanceMatrix.toJSON(),this.instanceColor!==null&&(r.instanceColor=this.instanceColor.toJSON())),this.isBatchedMesh&&(r.type="BatchedMesh",r.perObjectFrustumCulled=this.perObjectFrustumCulled,r.sortObjects=this.sortObjects,r.drawRanges=this._drawRanges,r.reservedRanges=this._reservedRanges,r.visibility=this._visibility,r.active=this._active,r.bounds=this._bounds.map(a=>({boxInitialized:a.boxInitialized,boxMin:a.box.min.toArray(),boxMax:a.box.max.toArray(),sphereInitialized:a.sphereInitialized,sphereRadius:a.sphere.radius,sphereCenter:a.sphere.center.toArray()})),r.maxInstanceCount=this._maxInstanceCount,r.maxVertexCount=this._maxVertexCount,r.maxIndexCount=this._maxIndexCount,r.geometryInitialized=this._geometryInitialized,r.geometryCount=this._geometryCount,r.matricesTexture=this._matricesTexture.toJSON(e),this._colorsTexture!==null&&(r.colorsTexture=this._colorsTexture.toJSON(e)),this.boundingSphere!==null&&(r.boundingSphere={center:r.boundingSphere.center.toArray(),radius:r.boundingSphere.radius}),this.boundingBox!==null&&(r.boundingBox={min:r.boundingBox.min.toArray(),max:r.boundingBox.max.toArray()}));function s(a,l){return a[l.uuid]===void 0&&(a[l.uuid]=l.toJSON(e)),l.uuid}if(this.isScene)this.background&&(this.background.isColor?r.background=this.background.toJSON():this.background.isTexture&&(r.background=this.background.toJSON(e).uuid)),this.environment&&this.environment.isTexture&&this.environment.isRenderTargetTexture!==!0&&(r.environment=this.environment.toJSON(e).uuid);else if(this.isMesh||this.isLine||this.isPoints){r.geometry=s(e.geometries,this.geometry);const a=this.geometry.parameters;if(a!==void 0&&a.shapes!==void 0){const l=a.shapes;if(Array.isArray(l))for(let c=0,u=l.length;c0){r.children=[];for(let a=0;a0){r.animations=[];for(let a=0;a0&&(i.geometries=a),l.length>0&&(i.materials=l),c.length>0&&(i.textures=c),u.length>0&&(i.images=u),f.length>0&&(i.shapes=f),h.length>0&&(i.skeletons=h),d.length>0&&(i.animations=d),p.length>0&&(i.nodes=p)}return i.object=r,i;function o(a){const l=[];for(const c in a){const u=a[c];delete u.metadata,l.push(u)}return l}}clone(e){return new this.constructor().copy(this,e)}copy(e,t=!0){if(this.name=e.name,this.up.copy(e.up),this.position.copy(e.position),this.rotation.order=e.rotation.order,this.quaternion.copy(e.quaternion),this.scale.copy(e.scale),this.matrix.copy(e.matrix),this.matrixWorld.copy(e.matrixWorld),this.matrixAutoUpdate=e.matrixAutoUpdate,this.matrixWorldAutoUpdate=e.matrixWorldAutoUpdate,this.matrixWorldNeedsUpdate=e.matrixWorldNeedsUpdate,this.layers.mask=e.layers.mask,this.visible=e.visible,this.castShadow=e.castShadow,this.receiveShadow=e.receiveShadow,this.frustumCulled=e.frustumCulled,this.renderOrder=e.renderOrder,this.animations=e.animations.slice(),this.userData=JSON.parse(JSON.stringify(e.userData)),t===!0)for(let i=0;i0?r.multiplyScalar(1/Math.sqrt(s)):r.set(0,0,0)}static getBarycoord(e,t,i,r,s){xi.subVectors(r,t),rr.subVectors(i,t),Nd.subVectors(e,t);const o=xi.dot(xi),a=xi.dot(rr),l=xi.dot(Nd),c=rr.dot(rr),u=rr.dot(Nd),f=o*c-a*a;if(f===0)return s.set(0,0,0),null;const h=1/f,d=(c*l-a*u)*h,p=(o*u-a*l)*h;return s.set(1-d-p,p,d)}static containsPoint(e,t,i,r){return this.getBarycoord(e,t,i,r,sr)===null?!1:sr.x>=0&&sr.y>=0&&sr.x+sr.y<=1}static getInterpolation(e,t,i,r,s,o,a,l){return this.getBarycoord(e,t,i,r,sr)===null?(l.x=0,l.y=0,"z"in l&&(l.z=0),"w"in l&&(l.w=0),null):(l.setScalar(0),l.addScaledVector(s,sr.x),l.addScaledVector(o,sr.y),l.addScaledVector(a,sr.z),l)}static getInterpolatedAttribute(e,t,i,r,s,o){return kd.setScalar(0),Vd.setScalar(0),zd.setScalar(0),kd.fromBufferAttribute(e,t),Vd.fromBufferAttribute(e,i),zd.fromBufferAttribute(e,r),o.setScalar(0),o.addScaledVector(kd,s.x),o.addScaledVector(Vd,s.y),o.addScaledVector(zd,s.z),o}static isFrontFacing(e,t,i,r){return xi.subVectors(i,t),rr.subVectors(e,t),xi.cross(rr).dot(r)<0}set(e,t,i){return this.a.copy(e),this.b.copy(t),this.c.copy(i),this}setFromPointsAndIndices(e,t,i,r){return this.a.copy(e[t]),this.b.copy(e[i]),this.c.copy(e[r]),this}setFromAttributeAndIndices(e,t,i,r){return this.a.fromBufferAttribute(e,t),this.b.fromBufferAttribute(e,i),this.c.fromBufferAttribute(e,r),this}clone(){return new this.constructor().copy(this)}copy(e){return this.a.copy(e.a),this.b.copy(e.b),this.c.copy(e.c),this}getArea(){return xi.subVectors(this.c,this.b),rr.subVectors(this.a,this.b),xi.cross(rr).length()*.5}getMidpoint(e){return e.addVectors(this.a,this.b).add(this.c).multiplyScalar(1/3)}getNormal(e){return zn.getNormal(this.a,this.b,this.c,e)}getPlane(e){return e.setFromCoplanarPoints(this.a,this.b,this.c)}getBarycoord(e,t){return zn.getBarycoord(e,this.a,this.b,this.c,t)}getInterpolation(e,t,i,r,s){return zn.getInterpolation(e,this.a,this.b,this.c,t,i,r,s)}containsPoint(e){return zn.containsPoint(e,this.a,this.b,this.c)}isFrontFacing(e){return zn.isFrontFacing(this.a,this.b,this.c,e)}intersectsBox(e){return e.intersectsTriangle(this)}closestPointToPoint(e,t){const i=this.a,r=this.b,s=this.c;let o,a;Ro.subVectors(r,i),Po.subVectors(s,i),Ud.subVectors(e,i);const l=Ro.dot(Ud),c=Po.dot(Ud);if(l<=0&&c<=0)return t.copy(i);Fd.subVectors(e,r);const u=Ro.dot(Fd),f=Po.dot(Fd);if(u>=0&&f<=u)return t.copy(r);const h=l*f-u*c;if(h<=0&&l>=0&&u<=0)return o=l/(l-u),t.copy(i).addScaledVector(Ro,o);Bd.subVectors(e,s);const d=Ro.dot(Bd),p=Po.dot(Bd);if(p>=0&&d<=p)return t.copy(s);const _=d*c-l*p;if(_<=0&&c>=0&&p<=0)return a=c/(c-p),t.copy(i).addScaledVector(Po,a);const g=u*p-d*f;if(g<=0&&f-u>=0&&d-p>=0)return Nv.subVectors(s,r),a=(f-u)/(f-u+(d-p)),t.copy(r).addScaledVector(Nv,a);const m=1/(g+_+h);return o=_*m,a=h*m,t.copy(i).addScaledVector(Ro,o).addScaledVector(Po,a)}equals(e){return e.a.equals(this.a)&&e.b.equals(this.b)&&e.c.equals(this.c)}}const jS={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074},Fr={h:0,s:0,l:0},zc={h:0,s:0,l:0};function Hd(n,e,t){return t<0&&(t+=1),t>1&&(t-=1),t<1/6?n+(e-n)*6*t:t<1/2?e:t<2/3?n+(e-n)*6*(2/3-t):n}class we{constructor(e,t,i){return this.isColor=!0,this.r=1,this.g=1,this.b=1,this.set(e,t,i)}set(e,t,i){if(t===void 0&&i===void 0){const r=e;r&&r.isColor?this.copy(r):typeof r=="number"?this.setHex(r):typeof r=="string"&&this.setStyle(r)}else this.setRGB(e,t,i);return this}setScalar(e){return this.r=e,this.g=e,this.b=e,this}setHex(e,t=Cn){return e=Math.floor(e),this.r=(e>>16&255)/255,this.g=(e>>8&255)/255,this.b=(e&255)/255,at.toWorkingColorSpace(this,t),this}setRGB(e,t,i,r=at.workingColorSpace){return this.r=e,this.g=t,this.b=i,at.toWorkingColorSpace(this,r),this}setHSL(e,t,i,r=at.workingColorSpace){if(e=wg(e,1),t=Ke(t,0,1),i=Ke(i,0,1),t===0)this.r=this.g=this.b=i;else{const s=i<=.5?i*(1+t):i+t-i*t,o=2*i-s;this.r=Hd(o,s,e+1/3),this.g=Hd(o,s,e),this.b=Hd(o,s,e-1/3)}return at.toWorkingColorSpace(this,r),this}setStyle(e,t=Cn){function i(s){s!==void 0&&parseFloat(s)<1&&console.warn("THREE.Color: Alpha component of "+e+" will be ignored.")}let r;if(r=/^(\w+)\(([^\)]*)\)/.exec(e)){let s;const o=r[1],a=r[2];switch(o){case"rgb":case"rgba":if(s=/^\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*(?:,\s*(\d*\.?\d+)\s*)?$/.exec(a))return i(s[4]),this.setRGB(Math.min(255,parseInt(s[1],10))/255,Math.min(255,parseInt(s[2],10))/255,Math.min(255,parseInt(s[3],10))/255,t);if(s=/^\s*(\d+)\%\s*,\s*(\d+)\%\s*,\s*(\d+)\%\s*(?:,\s*(\d*\.?\d+)\s*)?$/.exec(a))return i(s[4]),this.setRGB(Math.min(100,parseInt(s[1],10))/100,Math.min(100,parseInt(s[2],10))/100,Math.min(100,parseInt(s[3],10))/100,t);break;case"hsl":case"hsla":if(s=/^\s*(\d*\.?\d+)\s*,\s*(\d*\.?\d+)\%\s*,\s*(\d*\.?\d+)\%\s*(?:,\s*(\d*\.?\d+)\s*)?$/.exec(a))return i(s[4]),this.setHSL(parseFloat(s[1])/360,parseFloat(s[2])/100,parseFloat(s[3])/100,t);break;default:console.warn("THREE.Color: Unknown color model "+e)}}else if(r=/^\#([A-Fa-f\d]+)$/.exec(e)){const s=r[1],o=s.length;if(o===3)return this.setRGB(parseInt(s.charAt(0),16)/15,parseInt(s.charAt(1),16)/15,parseInt(s.charAt(2),16)/15,t);if(o===6)return this.setHex(parseInt(s,16),t);console.warn("THREE.Color: Invalid hex color "+e)}else if(e&&e.length>0)return this.setColorName(e,t);return this}setColorName(e,t=Cn){const i=jS[e.toLowerCase()];return i!==void 0?this.setHex(i,t):console.warn("THREE.Color: Unknown color "+e),this}clone(){return new this.constructor(this.r,this.g,this.b)}copy(e){return this.r=e.r,this.g=e.g,this.b=e.b,this}copySRGBToLinear(e){return this.r=br(e.r),this.g=br(e.g),this.b=br(e.b),this}copyLinearToSRGB(e){return this.r=ea(e.r),this.g=ea(e.g),this.b=ea(e.b),this}convertSRGBToLinear(){return this.copySRGBToLinear(this),this}convertLinearToSRGB(){return this.copyLinearToSRGB(this),this}getHex(e=Cn){return at.fromWorkingColorSpace(hn.copy(this),e),Math.round(Ke(hn.r*255,0,255))*65536+Math.round(Ke(hn.g*255,0,255))*256+Math.round(Ke(hn.b*255,0,255))}getHexString(e=Cn){return("000000"+this.getHex(e).toString(16)).slice(-6)}getHSL(e,t=at.workingColorSpace){at.fromWorkingColorSpace(hn.copy(this),t);const i=hn.r,r=hn.g,s=hn.b,o=Math.max(i,r,s),a=Math.min(i,r,s);let l,c;const u=(a+o)/2;if(a===o)l=0,c=0;else{const f=o-a;switch(c=u<=.5?f/(o+a):f/(2-o-a),o){case i:l=(r-s)/f+(r0!=e>0&&this.version++,this._alphaTest=e}onBeforeRender(){}onBeforeCompile(){}customProgramCacheKey(){return this.onBeforeCompile.toString()}setValues(e){if(e!==void 0)for(const t in e){const i=e[t];if(i===void 0){console.warn(`THREE.Material: parameter '${t}' has value of undefined.`);continue}const r=this[t];if(r===void 0){console.warn(`THREE.Material: '${t}' is not a property of THREE.${this.type}.`);continue}r&&r.isColor?r.set(i):r&&r.isVector3&&i&&i.isVector3?r.copy(i):this[t]=i}}toJSON(e){const t=e===void 0||typeof e=="string";t&&(e={textures:{},images:{}});const i={metadata:{version:4.6,type:"Material",generator:"Material.toJSON"}};i.uuid=this.uuid,i.type=this.type,this.name!==""&&(i.name=this.name),this.color&&this.color.isColor&&(i.color=this.color.getHex()),this.roughness!==void 0&&(i.roughness=this.roughness),this.metalness!==void 0&&(i.metalness=this.metalness),this.sheen!==void 0&&(i.sheen=this.sheen),this.sheenColor&&this.sheenColor.isColor&&(i.sheenColor=this.sheenColor.getHex()),this.sheenRoughness!==void 0&&(i.sheenRoughness=this.sheenRoughness),this.emissive&&this.emissive.isColor&&(i.emissive=this.emissive.getHex()),this.emissiveIntensity!==void 0&&this.emissiveIntensity!==1&&(i.emissiveIntensity=this.emissiveIntensity),this.specular&&this.specular.isColor&&(i.specular=this.specular.getHex()),this.specularIntensity!==void 0&&(i.specularIntensity=this.specularIntensity),this.specularColor&&this.specularColor.isColor&&(i.specularColor=this.specularColor.getHex()),this.shininess!==void 0&&(i.shininess=this.shininess),this.clearcoat!==void 0&&(i.clearcoat=this.clearcoat),this.clearcoatRoughness!==void 0&&(i.clearcoatRoughness=this.clearcoatRoughness),this.clearcoatMap&&this.clearcoatMap.isTexture&&(i.clearcoatMap=this.clearcoatMap.toJSON(e).uuid),this.clearcoatRoughnessMap&&this.clearcoatRoughnessMap.isTexture&&(i.clearcoatRoughnessMap=this.clearcoatRoughnessMap.toJSON(e).uuid),this.clearcoatNormalMap&&this.clearcoatNormalMap.isTexture&&(i.clearcoatNormalMap=this.clearcoatNormalMap.toJSON(e).uuid,i.clearcoatNormalScale=this.clearcoatNormalScale.toArray()),this.dispersion!==void 0&&(i.dispersion=this.dispersion),this.iridescence!==void 0&&(i.iridescence=this.iridescence),this.iridescenceIOR!==void 0&&(i.iridescenceIOR=this.iridescenceIOR),this.iridescenceThicknessRange!==void 0&&(i.iridescenceThicknessRange=this.iridescenceThicknessRange),this.iridescenceMap&&this.iridescenceMap.isTexture&&(i.iridescenceMap=this.iridescenceMap.toJSON(e).uuid),this.iridescenceThicknessMap&&this.iridescenceThicknessMap.isTexture&&(i.iridescenceThicknessMap=this.iridescenceThicknessMap.toJSON(e).uuid),this.anisotropy!==void 0&&(i.anisotropy=this.anisotropy),this.anisotropyRotation!==void 0&&(i.anisotropyRotation=this.anisotropyRotation),this.anisotropyMap&&this.anisotropyMap.isTexture&&(i.anisotropyMap=this.anisotropyMap.toJSON(e).uuid),this.map&&this.map.isTexture&&(i.map=this.map.toJSON(e).uuid),this.matcap&&this.matcap.isTexture&&(i.matcap=this.matcap.toJSON(e).uuid),this.alphaMap&&this.alphaMap.isTexture&&(i.alphaMap=this.alphaMap.toJSON(e).uuid),this.lightMap&&this.lightMap.isTexture&&(i.lightMap=this.lightMap.toJSON(e).uuid,i.lightMapIntensity=this.lightMapIntensity),this.aoMap&&this.aoMap.isTexture&&(i.aoMap=this.aoMap.toJSON(e).uuid,i.aoMapIntensity=this.aoMapIntensity),this.bumpMap&&this.bumpMap.isTexture&&(i.bumpMap=this.bumpMap.toJSON(e).uuid,i.bumpScale=this.bumpScale),this.normalMap&&this.normalMap.isTexture&&(i.normalMap=this.normalMap.toJSON(e).uuid,i.normalMapType=this.normalMapType,i.normalScale=this.normalScale.toArray()),this.displacementMap&&this.displacementMap.isTexture&&(i.displacementMap=this.displacementMap.toJSON(e).uuid,i.displacementScale=this.displacementScale,i.displacementBias=this.displacementBias),this.roughnessMap&&this.roughnessMap.isTexture&&(i.roughnessMap=this.roughnessMap.toJSON(e).uuid),this.metalnessMap&&this.metalnessMap.isTexture&&(i.metalnessMap=this.metalnessMap.toJSON(e).uuid),this.emissiveMap&&this.emissiveMap.isTexture&&(i.emissiveMap=this.emissiveMap.toJSON(e).uuid),this.specularMap&&this.specularMap.isTexture&&(i.specularMap=this.specularMap.toJSON(e).uuid),this.specularIntensityMap&&this.specularIntensityMap.isTexture&&(i.specularIntensityMap=this.specularIntensityMap.toJSON(e).uuid),this.specularColorMap&&this.specularColorMap.isTexture&&(i.specularColorMap=this.specularColorMap.toJSON(e).uuid),this.envMap&&this.envMap.isTexture&&(i.envMap=this.envMap.toJSON(e).uuid,this.combine!==void 0&&(i.combine=this.combine)),this.envMapRotation!==void 0&&(i.envMapRotation=this.envMapRotation.toArray()),this.envMapIntensity!==void 0&&(i.envMapIntensity=this.envMapIntensity),this.reflectivity!==void 0&&(i.reflectivity=this.reflectivity),this.refractionRatio!==void 0&&(i.refractionRatio=this.refractionRatio),this.gradientMap&&this.gradientMap.isTexture&&(i.gradientMap=this.gradientMap.toJSON(e).uuid),this.transmission!==void 0&&(i.transmission=this.transmission),this.transmissionMap&&this.transmissionMap.isTexture&&(i.transmissionMap=this.transmissionMap.toJSON(e).uuid),this.thickness!==void 0&&(i.thickness=this.thickness),this.thicknessMap&&this.thicknessMap.isTexture&&(i.thicknessMap=this.thicknessMap.toJSON(e).uuid),this.attenuationDistance!==void 0&&this.attenuationDistance!==1/0&&(i.attenuationDistance=this.attenuationDistance),this.attenuationColor!==void 0&&(i.attenuationColor=this.attenuationColor.getHex()),this.size!==void 0&&(i.size=this.size),this.shadowSide!==null&&(i.shadowSide=this.shadowSide),this.sizeAttenuation!==void 0&&(i.sizeAttenuation=this.sizeAttenuation),this.blending!==eo&&(i.blending=this.blending),this.side!==Er&&(i.side=this.side),this.vertexColors===!0&&(i.vertexColors=!0),this.opacity<1&&(i.opacity=this.opacity),this.transparent===!0&&(i.transparent=!0),this.blendSrc!==uf&&(i.blendSrc=this.blendSrc),this.blendDst!==ff&&(i.blendDst=this.blendDst),this.blendEquation!==Kr&&(i.blendEquation=this.blendEquation),this.blendSrcAlpha!==null&&(i.blendSrcAlpha=this.blendSrcAlpha),this.blendDstAlpha!==null&&(i.blendDstAlpha=this.blendDstAlpha),this.blendEquationAlpha!==null&&(i.blendEquationAlpha=this.blendEquationAlpha),this.blendColor&&this.blendColor.isColor&&(i.blendColor=this.blendColor.getHex()),this.blendAlpha!==0&&(i.blendAlpha=this.blendAlpha),this.depthFunc!==ao&&(i.depthFunc=this.depthFunc),this.depthTest===!1&&(i.depthTest=this.depthTest),this.depthWrite===!1&&(i.depthWrite=this.depthWrite),this.colorWrite===!1&&(i.colorWrite=this.colorWrite),this.stencilWriteMask!==255&&(i.stencilWriteMask=this.stencilWriteMask),this.stencilFunc!==Jp&&(i.stencilFunc=this.stencilFunc),this.stencilRef!==0&&(i.stencilRef=this.stencilRef),this.stencilFuncMask!==255&&(i.stencilFuncMask=this.stencilFuncMask),this.stencilFail!==Vs&&(i.stencilFail=this.stencilFail),this.stencilZFail!==Vs&&(i.stencilZFail=this.stencilZFail),this.stencilZPass!==Vs&&(i.stencilZPass=this.stencilZPass),this.stencilWrite===!0&&(i.stencilWrite=this.stencilWrite),this.rotation!==void 0&&this.rotation!==0&&(i.rotation=this.rotation),this.polygonOffset===!0&&(i.polygonOffset=!0),this.polygonOffsetFactor!==0&&(i.polygonOffsetFactor=this.polygonOffsetFactor),this.polygonOffsetUnits!==0&&(i.polygonOffsetUnits=this.polygonOffsetUnits),this.linewidth!==void 0&&this.linewidth!==1&&(i.linewidth=this.linewidth),this.dashSize!==void 0&&(i.dashSize=this.dashSize),this.gapSize!==void 0&&(i.gapSize=this.gapSize),this.scale!==void 0&&(i.scale=this.scale),this.dithering===!0&&(i.dithering=!0),this.alphaTest>0&&(i.alphaTest=this.alphaTest),this.alphaHash===!0&&(i.alphaHash=!0),this.alphaToCoverage===!0&&(i.alphaToCoverage=!0),this.premultipliedAlpha===!0&&(i.premultipliedAlpha=!0),this.forceSinglePass===!0&&(i.forceSinglePass=!0),this.wireframe===!0&&(i.wireframe=!0),this.wireframeLinewidth>1&&(i.wireframeLinewidth=this.wireframeLinewidth),this.wireframeLinecap!=="round"&&(i.wireframeLinecap=this.wireframeLinecap),this.wireframeLinejoin!=="round"&&(i.wireframeLinejoin=this.wireframeLinejoin),this.flatShading===!0&&(i.flatShading=!0),this.visible===!1&&(i.visible=!1),this.toneMapped===!1&&(i.toneMapped=!1),this.fog===!1&&(i.fog=!1),Object.keys(this.userData).length>0&&(i.userData=this.userData);function r(s){const o=[];for(const a in s){const l=s[a];delete l.metadata,o.push(l)}return o}if(t){const s=r(e.textures),o=r(e.images);s.length>0&&(i.textures=s),o.length>0&&(i.images=o)}return i}clone(){return new this.constructor().copy(this)}copy(e){this.name=e.name,this.blending=e.blending,this.side=e.side,this.vertexColors=e.vertexColors,this.opacity=e.opacity,this.transparent=e.transparent,this.blendSrc=e.blendSrc,this.blendDst=e.blendDst,this.blendEquation=e.blendEquation,this.blendSrcAlpha=e.blendSrcAlpha,this.blendDstAlpha=e.blendDstAlpha,this.blendEquationAlpha=e.blendEquationAlpha,this.blendColor.copy(e.blendColor),this.blendAlpha=e.blendAlpha,this.depthFunc=e.depthFunc,this.depthTest=e.depthTest,this.depthWrite=e.depthWrite,this.stencilWriteMask=e.stencilWriteMask,this.stencilFunc=e.stencilFunc,this.stencilRef=e.stencilRef,this.stencilFuncMask=e.stencilFuncMask,this.stencilFail=e.stencilFail,this.stencilZFail=e.stencilZFail,this.stencilZPass=e.stencilZPass,this.stencilWrite=e.stencilWrite;const t=e.clippingPlanes;let i=null;if(t!==null){const r=t.length;i=new Array(r);for(let s=0;s!==r;++s)i[s]=t[s].clone()}return this.clippingPlanes=i,this.clipIntersection=e.clipIntersection,this.clipShadows=e.clipShadows,this.shadowSide=e.shadowSide,this.colorWrite=e.colorWrite,this.precision=e.precision,this.polygonOffset=e.polygonOffset,this.polygonOffsetFactor=e.polygonOffsetFactor,this.polygonOffsetUnits=e.polygonOffsetUnits,this.dithering=e.dithering,this.alphaTest=e.alphaTest,this.alphaHash=e.alphaHash,this.alphaToCoverage=e.alphaToCoverage,this.premultipliedAlpha=e.premultipliedAlpha,this.forceSinglePass=e.forceSinglePass,this.visible=e.visible,this.toneMapped=e.toneMapped,this.userData=JSON.parse(JSON.stringify(e.userData)),this}dispose(){this.dispatchEvent({type:"dispose"})}set needsUpdate(e){e===!0&&this.version++}onBuild(){console.warn("Material: onBuild() has been removed.")}}class Pr extends xn{constructor(e){super(),this.isMeshBasicMaterial=!0,this.type="MeshBasicMaterial",this.color=new we(16777215),this.map=null,this.lightMap=null,this.lightMapIntensity=1,this.aoMap=null,this.aoMapIntensity=1,this.specularMap=null,this.alphaMap=null,this.envMap=null,this.envMapRotation=new ei,this.combine=uc,this.reflectivity=1,this.refractionRatio=.98,this.wireframe=!1,this.wireframeLinewidth=1,this.wireframeLinecap="round",this.wireframeLinejoin="round",this.fog=!0,this.setValues(e)}copy(e){return super.copy(e),this.color.copy(e.color),this.map=e.map,this.lightMap=e.lightMap,this.lightMapIntensity=e.lightMapIntensity,this.aoMap=e.aoMap,this.aoMapIntensity=e.aoMapIntensity,this.specularMap=e.specularMap,this.alphaMap=e.alphaMap,this.envMap=e.envMap,this.envMapRotation.copy(e.envMapRotation),this.combine=e.combine,this.reflectivity=e.reflectivity,this.refractionRatio=e.refractionRatio,this.wireframe=e.wireframe,this.wireframeLinewidth=e.wireframeLinewidth,this.wireframeLinecap=e.wireframeLinecap,this.wireframeLinejoin=e.wireframeLinejoin,this.fog=e.fog,this}}const pr=MR();function MR(){const n=new ArrayBuffer(4),e=new Float32Array(n),t=new Uint32Array(n),i=new Uint32Array(512),r=new Uint32Array(512);for(let l=0;l<256;++l){const c=l-127;c<-27?(i[l]=0,i[l|256]=32768,r[l]=24,r[l|256]=24):c<-14?(i[l]=1024>>-c-14,i[l|256]=1024>>-c-14|32768,r[l]=-c-1,r[l|256]=-c-1):c<=15?(i[l]=c+15<<10,i[l|256]=c+15<<10|32768,r[l]=13,r[l|256]=13):c<128?(i[l]=31744,i[l|256]=64512,r[l]=24,r[l|256]=24):(i[l]=31744,i[l|256]=64512,r[l]=13,r[l|256]=13)}const s=new Uint32Array(2048),o=new Uint32Array(64),a=new Uint32Array(64);for(let l=1;l<1024;++l){let c=l<<13,u=0;for(;(c&8388608)===0;)c<<=1,u-=8388608;c&=-8388609,u+=947912704,s[l]=c|u}for(let l=1024;l<2048;++l)s[l]=939524096+(l-1024<<13);for(let l=1;l<31;++l)o[l]=l<<23;o[31]=1199570944,o[32]=2147483648;for(let l=33;l<63;++l)o[l]=2147483648+(l-32<<23);o[63]=3347054592;for(let l=1;l<64;++l)l!==32&&(a[l]=1024);return{floatView:e,uint32View:t,baseTable:i,shiftTable:r,mantissaTable:s,exponentTable:o,offsetTable:a}}function Bn(n){Math.abs(n)>65504&&console.warn("THREE.DataUtils.toHalfFloat(): Value out of range."),n=Ke(n,-65504,65504),pr.floatView[0]=n;const e=pr.uint32View[0],t=e>>23&511;return pr.baseTable[t]+((e&8388607)>>pr.shiftTable[t])}function Xa(n){const e=n>>10;return pr.uint32View[0]=pr.mantissaTable[pr.offsetTable[e]+(n&1023)]+pr.exponentTable[e],pr.floatView[0]}class ER{static toHalfFloat(e){return Bn(e)}static fromHalfFloat(e){return Xa(e)}}const Wt=new F,Hc=new fe;let TR=0;class Et{constructor(e,t,i=!1){if(Array.isArray(e))throw new TypeError("THREE.BufferAttribute: array should be a Typed Array.");this.isBufferAttribute=!0,Object.defineProperty(this,"id",{value:TR++}),this.name="",this.array=e,this.itemSize=t,this.count=e!==void 0?e.length/t:0,this.normalized=i,this.usage=Fl,this.updateRanges=[],this.gpuType=Hn,this.version=0}onUploadCallback(){}set needsUpdate(e){e===!0&&this.version++}setUsage(e){return this.usage=e,this}addUpdateRange(e,t){this.updateRanges.push({start:e,count:t})}clearUpdateRanges(){this.updateRanges.length=0}copy(e){return this.name=e.name,this.array=new e.array.constructor(e.array),this.itemSize=e.itemSize,this.count=e.count,this.normalized=e.normalized,this.usage=e.usage,this.gpuType=e.gpuType,this}copyAt(e,t,i){e*=this.itemSize,i*=t.itemSize;for(let r=0,s=this.itemSize;rt.count&&console.warn("THREE.BufferGeometry: Buffer size too small for points data. Use .dispose() and create a new geometry."),t.needsUpdate=!0}return this}computeBoundingBox(){this.boundingBox===null&&(this.boundingBox=new On);const e=this.attributes.position,t=this.morphAttributes.position;if(e&&e.isGLBufferAttribute){console.error("THREE.BufferGeometry.computeBoundingBox(): GLBufferAttribute requires a manual bounding box.",this),this.boundingBox.set(new F(-1/0,-1/0,-1/0),new F(1/0,1/0,1/0));return}if(e!==void 0){if(this.boundingBox.setFromBufferAttribute(e),t)for(let i=0,r=t.length;i0&&(e.userData=this.userData),this.parameters!==void 0){const l=this.parameters;for(const c in l)l[c]!==void 0&&(e[c]=l[c]);return e}e.data={attributes:{}};const t=this.index;t!==null&&(e.data.index={type:t.array.constructor.name,array:Array.prototype.slice.call(t.array)});const i=this.attributes;for(const l in i){const c=i[l];e.data.attributes[l]=c.toJSON(e.data)}const r={};let s=!1;for(const l in this.morphAttributes){const c=this.morphAttributes[l],u=[];for(let f=0,h=c.length;f0&&(r[l]=u,s=!0)}s&&(e.data.morphAttributes=r,e.data.morphTargetsRelative=this.morphTargetsRelative);const o=this.groups;o.length>0&&(e.data.groups=JSON.parse(JSON.stringify(o)));const a=this.boundingSphere;return a!==null&&(e.data.boundingSphere={center:a.center.toArray(),radius:a.radius}),e}clone(){return new this.constructor().copy(this)}copy(e){this.index=null,this.attributes={},this.morphAttributes={},this.groups=[],this.boundingBox=null,this.boundingSphere=null;const t={};this.name=e.name;const i=e.index;i!==null&&this.setIndex(i.clone(t));const r=e.attributes;for(const c in r){const u=r[c];this.setAttribute(c,u.clone(t))}const s=e.morphAttributes;for(const c in s){const u=[],f=s[c];for(let h=0,d=f.length;h0){const r=t[i[0]];if(r!==void 0){this.morphTargetInfluences=[],this.morphTargetDictionary={};for(let s=0,o=r.length;s(e.far-e.near)**2))&&(Uv.copy(s).invert(),ws.copy(e.ray).applyMatrix4(Uv),!(i.boundingBox!==null&&ws.intersectsBox(i.boundingBox)===!1)&&this._computeIntersections(e,t,ws)))}_computeIntersections(e,t,i){let r;const s=this.geometry,o=this.material,a=s.index,l=s.attributes.position,c=s.attributes.uv,u=s.attributes.uv1,f=s.attributes.normal,h=s.groups,d=s.drawRange;if(a!==null)if(Array.isArray(o))for(let p=0,_=h.length;p<_;p++){const g=h[p],m=o[g.materialIndex],y=Math.max(g.start,d.start),x=Math.min(a.count,Math.min(g.start+g.count,d.start+d.count));for(let v=y,E=x;vt.far?null:{distance:c,point:Yc.clone(),object:n}}function jc(n,e,t,i,r,s,o,a,l,c){n.getVertexPosition(a,Wc),n.getVertexPosition(l,Xc),n.getVertexPosition(c,$c);const u=DR(n,e,t,i,Wc,Xc,$c,Bv);if(u){const f=new F;zn.getBarycoord(Bv,Wc,Xc,$c,f),r&&(u.uv=zn.getInterpolatedAttribute(r,a,l,c,f,new fe)),s&&(u.uv1=zn.getInterpolatedAttribute(s,a,l,c,f,new fe)),o&&(u.normal=zn.getInterpolatedAttribute(o,a,l,c,f,new F),u.normal.dot(i.direction)>0&&u.normal.multiplyScalar(-1));const h={a,b:l,c,normal:new F,materialIndex:0};zn.getNormal(Wc,Xc,$c,h.normal),u.face=h,u.barycoord=f}return u}class mo extends st{constructor(e=1,t=1,i=1,r=1,s=1,o=1){super(),this.type="BoxGeometry",this.parameters={width:e,height:t,depth:i,widthSegments:r,heightSegments:s,depthSegments:o};const a=this;r=Math.floor(r),s=Math.floor(s),o=Math.floor(o);const l=[],c=[],u=[],f=[];let h=0,d=0;p("z","y","x",-1,-1,i,t,e,o,s,0),p("z","y","x",1,-1,i,t,-e,o,s,1),p("x","z","y",1,1,e,i,t,r,o,2),p("x","z","y",1,-1,e,i,-t,r,o,3),p("x","y","z",1,-1,e,t,i,r,s,4),p("x","y","z",-1,-1,e,t,-i,r,s,5),this.setIndex(l),this.setAttribute("position",new Ue(c,3)),this.setAttribute("normal",new Ue(u,3)),this.setAttribute("uv",new Ue(f,2));function p(_,g,m,y,x,v,E,T,M,P,b){const S=v/M,D=E/P,B=v/2,H=E/2,$=T/2,ee=M+1,Z=P+1;let te=0,Q=0;const pe=new F;for(let ve=0;ve0?1:-1,u.push(pe.x,pe.y,pe.z),f.push(xe/M),f.push(1-ve/P),te+=1}}for(let ve=0;ve0&&(t.defines=this.defines),t.vertexShader=this.vertexShader,t.fragmentShader=this.fragmentShader,t.lights=this.lights,t.clipping=this.clipping;const i={};for(const r in this.extensions)this.extensions[r]===!0&&(i[r]=!0);return Object.keys(i).length>0&&(t.extensions=i),t}}class dc extends ct{constructor(){super(),this.isCamera=!0,this.type="Camera",this.matrixWorldInverse=new Xe,this.projectionMatrix=new Xe,this.projectionMatrixInverse=new Xe,this.coordinateSystem=Mi}copy(e,t){return super.copy(e,t),this.matrixWorldInverse.copy(e.matrixWorldInverse),this.projectionMatrix.copy(e.projectionMatrix),this.projectionMatrixInverse.copy(e.projectionMatrixInverse),this.coordinateSystem=e.coordinateSystem,this}getWorldDirection(e){return super.getWorldDirection(e).negate()}updateMatrixWorld(e){super.updateMatrixWorld(e),this.matrixWorldInverse.copy(this.matrixWorld).invert()}updateWorldMatrix(e,t){super.updateWorldMatrix(e,t),this.matrixWorldInverse.copy(this.matrixWorld).invert()}clone(){return new this.constructor().copy(this)}}const Br=new F,kv=new fe,zv=new fe;class $t extends dc{constructor(e=50,t=1,i=.1,r=2e3){super(),this.isPerspectiveCamera=!0,this.type="PerspectiveCamera",this.fov=e,this.zoom=1,this.near=i,this.far=r,this.focus=10,this.aspect=t,this.view=null,this.filmGauge=35,this.filmOffset=0,this.updateProjectionMatrix()}copy(e,t){return super.copy(e,t),this.fov=e.fov,this.zoom=e.zoom,this.near=e.near,this.far=e.far,this.focus=e.focus,this.aspect=e.aspect,this.view=e.view===null?null:Object.assign({},e.view),this.filmGauge=e.filmGauge,this.filmOffset=e.filmOffset,this}setFocalLength(e){const t=.5*this.getFilmHeight()/e;this.fov=aa*2*Math.atan(t),this.updateProjectionMatrix()}getFocalLength(){const e=Math.tan(no*.5*this.fov);return .5*this.getFilmHeight()/e}getEffectiveFOV(){return aa*2*Math.atan(Math.tan(no*.5*this.fov)/this.zoom)}getFilmWidth(){return this.filmGauge*Math.min(this.aspect,1)}getFilmHeight(){return this.filmGauge/Math.max(this.aspect,1)}getViewBounds(e,t,i){Br.set(-1,-1,.5).applyMatrix4(this.projectionMatrixInverse),t.set(Br.x,Br.y).multiplyScalar(-e/Br.z),Br.set(1,1,.5).applyMatrix4(this.projectionMatrixInverse),i.set(Br.x,Br.y).multiplyScalar(-e/Br.z)}getViewSize(e,t){return this.getViewBounds(e,kv,zv),t.subVectors(zv,kv)}setViewOffset(e,t,i,r,s,o){this.aspect=e/t,this.view===null&&(this.view={enabled:!0,fullWidth:1,fullHeight:1,offsetX:0,offsetY:0,width:1,height:1}),this.view.enabled=!0,this.view.fullWidth=e,this.view.fullHeight=t,this.view.offsetX=i,this.view.offsetY=r,this.view.width=s,this.view.height=o,this.updateProjectionMatrix()}clearViewOffset(){this.view!==null&&(this.view.enabled=!1),this.updateProjectionMatrix()}updateProjectionMatrix(){const e=this.near;let t=e*Math.tan(no*.5*this.fov)/this.zoom,i=2*t,r=this.aspect*i,s=-.5*r;const o=this.view;if(this.view!==null&&this.view.enabled){const l=o.fullWidth,c=o.fullHeight;s+=o.offsetX*r/l,t-=o.offsetY*i/c,r*=o.width/l,i*=o.height/c}const a=this.filmOffset;a!==0&&(s+=e*a/this.getFilmWidth()),this.projectionMatrix.makePerspective(s,s+r,t,t-i,e,this.far,this.coordinateSystem),this.projectionMatrixInverse.copy(this.projectionMatrix).invert()}toJSON(e){const t=super.toJSON(e);return t.object.fov=this.fov,t.object.zoom=this.zoom,t.object.near=this.near,t.object.far=this.far,t.object.focus=this.focus,t.object.aspect=this.aspect,this.view!==null&&(t.object.view=Object.assign({},this.view)),t.object.filmGauge=this.filmGauge,t.object.filmOffset=this.filmOffset,t}}const Lo=-90,Do=1;class JS extends ct{constructor(e,t,i){super(),this.type="CubeCamera",this.renderTarget=i,this.coordinateSystem=null,this.activeMipmapLevel=0;const r=new $t(Lo,Do,e,t);r.layers=this.layers,this.add(r);const s=new $t(Lo,Do,e,t);s.layers=this.layers,this.add(s);const o=new $t(Lo,Do,e,t);o.layers=this.layers,this.add(o);const a=new $t(Lo,Do,e,t);a.layers=this.layers,this.add(a);const l=new $t(Lo,Do,e,t);l.layers=this.layers,this.add(l);const c=new $t(Lo,Do,e,t);c.layers=this.layers,this.add(c)}updateCoordinateSystem(){const e=this.coordinateSystem,t=this.children.concat(),[i,r,s,o,a,l]=t;for(const c of t)this.remove(c);if(e===Mi)i.up.set(0,1,0),i.lookAt(1,0,0),r.up.set(0,1,0),r.lookAt(-1,0,0),s.up.set(0,0,-1),s.lookAt(0,1,0),o.up.set(0,0,1),o.lookAt(0,-1,0),a.up.set(0,1,0),a.lookAt(0,0,1),l.up.set(0,1,0),l.lookAt(0,0,-1);else if(e===Bl)i.up.set(0,-1,0),i.lookAt(-1,0,0),r.up.set(0,-1,0),r.lookAt(1,0,0),s.up.set(0,0,1),s.lookAt(0,1,0),o.up.set(0,0,-1),o.lookAt(0,-1,0),a.up.set(0,-1,0),a.lookAt(0,0,1),l.up.set(0,-1,0),l.lookAt(0,0,-1);else throw new Error("THREE.CubeCamera.updateCoordinateSystem(): Invalid coordinate system: "+e);for(const c of t)this.add(c),c.updateMatrixWorld()}update(e,t){this.parent===null&&this.updateMatrixWorld();const{renderTarget:i,activeMipmapLevel:r}=this;this.coordinateSystem!==e.coordinateSystem&&(this.coordinateSystem=e.coordinateSystem,this.updateCoordinateSystem());const[s,o,a,l,c,u]=this.children,f=e.getRenderTarget(),h=e.getActiveCubeFace(),d=e.getActiveMipmapLevel(),p=e.xr.enabled;e.xr.enabled=!1;const _=i.texture.generateMipmaps;i.texture.generateMipmaps=!1,e.setRenderTarget(i,0,r),e.render(t,s),e.setRenderTarget(i,1,r),e.render(t,o),e.setRenderTarget(i,2,r),e.render(t,a),e.setRenderTarget(i,3,r),e.render(t,l),e.setRenderTarget(i,4,r),e.render(t,c),i.texture.generateMipmaps=_,e.setRenderTarget(i,5,r),e.render(t,u),e.setRenderTarget(f,h,d),e.xr.enabled=p,i.texture.needsPMREMUpdate=!0}}class pc extends zt{constructor(e,t,i,r,s,o,a,l,c,u){e=e!==void 0?e:[],t=t!==void 0?t:Tr,super(e,t,i,r,s,o,a,l,c,u),this.isCubeTexture=!0,this.flipY=!1}get images(){return this.image}set images(e){this.image=e}}class QS extends Yi{constructor(e=1,t={}){super(e,e,t),this.isWebGLCubeRenderTarget=!0;const i={width:e,height:e,depth:1},r=[i,i,i,i,i,i];this.texture=new pc(r,t.mapping,t.wrapS,t.wrapT,t.magFilter,t.minFilter,t.format,t.type,t.anisotropy,t.colorSpace),this.texture.isRenderTargetTexture=!0,this.texture.generateMipmaps=t.generateMipmaps!==void 0?t.generateMipmaps:!1,this.texture.minFilter=t.minFilter!==void 0?t.minFilter:jt}fromEquirectangularTexture(e,t){this.texture.type=t.type,this.texture.colorSpace=t.colorSpace,this.texture.generateMipmaps=t.generateMipmaps,this.texture.minFilter=t.minFilter,this.texture.magFilter=t.magFilter;const i={uniforms:{tEquirect:{value:null}},vertexShader:` +}`;class Ri extends xn{constructor(e){super(),this.isShaderMaterial=!0,this.type="ShaderMaterial",this.defines={},this.uniforms={},this.uniformsGroups=[],this.vertexShader=NR,this.fragmentShader=UR,this.linewidth=1,this.wireframe=!1,this.wireframeLinewidth=1,this.fog=!1,this.lights=!1,this.clipping=!1,this.forceSinglePass=!0,this.extensions={clipCullDistance:!1,multiDraw:!1},this.defaultAttributeValues={color:[1,1,1],uv:[0,0],uv1:[0,0]},this.index0AttributeName=void 0,this.uniformsNeedUpdate=!1,this.glslVersion=null,e!==void 0&&this.setValues(e)}copy(e){return super.copy(e),this.fragmentShader=e.fragmentShader,this.vertexShader=e.vertexShader,this.uniforms=la(e.uniforms),this.uniformsGroups=OR(e.uniformsGroups),this.defines=Object.assign({},e.defines),this.wireframe=e.wireframe,this.wireframeLinewidth=e.wireframeLinewidth,this.fog=e.fog,this.lights=e.lights,this.clipping=e.clipping,this.extensions=Object.assign({},e.extensions),this.glslVersion=e.glslVersion,this}toJSON(e){const t=super.toJSON(e);t.glslVersion=this.glslVersion,t.uniforms={};for(const r in this.uniforms){const o=this.uniforms[r].value;o&&o.isTexture?t.uniforms[r]={type:"t",value:o.toJSON(e).uuid}:o&&o.isColor?t.uniforms[r]={type:"c",value:o.getHex()}:o&&o.isVector2?t.uniforms[r]={type:"v2",value:o.toArray()}:o&&o.isVector3?t.uniforms[r]={type:"v3",value:o.toArray()}:o&&o.isVector4?t.uniforms[r]={type:"v4",value:o.toArray()}:o&&o.isMatrix3?t.uniforms[r]={type:"m3",value:o.toArray()}:o&&o.isMatrix4?t.uniforms[r]={type:"m4",value:o.toArray()}:t.uniforms[r]={value:o}}Object.keys(this.defines).length>0&&(t.defines=this.defines),t.vertexShader=this.vertexShader,t.fragmentShader=this.fragmentShader,t.lights=this.lights,t.clipping=this.clipping;const i={};for(const r in this.extensions)this.extensions[r]===!0&&(i[r]=!0);return Object.keys(i).length>0&&(t.extensions=i),t}}class dc extends ct{constructor(){super(),this.isCamera=!0,this.type="Camera",this.matrixWorldInverse=new Xe,this.projectionMatrix=new Xe,this.projectionMatrixInverse=new Xe,this.coordinateSystem=Mi}copy(e,t){return super.copy(e,t),this.matrixWorldInverse.copy(e.matrixWorldInverse),this.projectionMatrix.copy(e.projectionMatrix),this.projectionMatrixInverse.copy(e.projectionMatrixInverse),this.coordinateSystem=e.coordinateSystem,this}getWorldDirection(e){return super.getWorldDirection(e).negate()}updateMatrixWorld(e){super.updateMatrixWorld(e),this.matrixWorldInverse.copy(this.matrixWorld).invert()}updateWorldMatrix(e,t){super.updateWorldMatrix(e,t),this.matrixWorldInverse.copy(this.matrixWorld).invert()}clone(){return new this.constructor().copy(this)}}const Br=new F,kv=new fe,Vv=new fe;class $t extends dc{constructor(e=50,t=1,i=.1,r=2e3){super(),this.isPerspectiveCamera=!0,this.type="PerspectiveCamera",this.fov=e,this.zoom=1,this.near=i,this.far=r,this.focus=10,this.aspect=t,this.view=null,this.filmGauge=35,this.filmOffset=0,this.updateProjectionMatrix()}copy(e,t){return super.copy(e,t),this.fov=e.fov,this.zoom=e.zoom,this.near=e.near,this.far=e.far,this.focus=e.focus,this.aspect=e.aspect,this.view=e.view===null?null:Object.assign({},e.view),this.filmGauge=e.filmGauge,this.filmOffset=e.filmOffset,this}setFocalLength(e){const t=.5*this.getFilmHeight()/e;this.fov=aa*2*Math.atan(t),this.updateProjectionMatrix()}getFocalLength(){const e=Math.tan(no*.5*this.fov);return .5*this.getFilmHeight()/e}getEffectiveFOV(){return aa*2*Math.atan(Math.tan(no*.5*this.fov)/this.zoom)}getFilmWidth(){return this.filmGauge*Math.min(this.aspect,1)}getFilmHeight(){return this.filmGauge/Math.max(this.aspect,1)}getViewBounds(e,t,i){Br.set(-1,-1,.5).applyMatrix4(this.projectionMatrixInverse),t.set(Br.x,Br.y).multiplyScalar(-e/Br.z),Br.set(1,1,.5).applyMatrix4(this.projectionMatrixInverse),i.set(Br.x,Br.y).multiplyScalar(-e/Br.z)}getViewSize(e,t){return this.getViewBounds(e,kv,Vv),t.subVectors(Vv,kv)}setViewOffset(e,t,i,r,s,o){this.aspect=e/t,this.view===null&&(this.view={enabled:!0,fullWidth:1,fullHeight:1,offsetX:0,offsetY:0,width:1,height:1}),this.view.enabled=!0,this.view.fullWidth=e,this.view.fullHeight=t,this.view.offsetX=i,this.view.offsetY=r,this.view.width=s,this.view.height=o,this.updateProjectionMatrix()}clearViewOffset(){this.view!==null&&(this.view.enabled=!1),this.updateProjectionMatrix()}updateProjectionMatrix(){const e=this.near;let t=e*Math.tan(no*.5*this.fov)/this.zoom,i=2*t,r=this.aspect*i,s=-.5*r;const o=this.view;if(this.view!==null&&this.view.enabled){const l=o.fullWidth,c=o.fullHeight;s+=o.offsetX*r/l,t-=o.offsetY*i/c,r*=o.width/l,i*=o.height/c}const a=this.filmOffset;a!==0&&(s+=e*a/this.getFilmWidth()),this.projectionMatrix.makePerspective(s,s+r,t,t-i,e,this.far,this.coordinateSystem),this.projectionMatrixInverse.copy(this.projectionMatrix).invert()}toJSON(e){const t=super.toJSON(e);return t.object.fov=this.fov,t.object.zoom=this.zoom,t.object.near=this.near,t.object.far=this.far,t.object.focus=this.focus,t.object.aspect=this.aspect,this.view!==null&&(t.object.view=Object.assign({},this.view)),t.object.filmGauge=this.filmGauge,t.object.filmOffset=this.filmOffset,t}}const Lo=-90,Do=1;class JS extends ct{constructor(e,t,i){super(),this.type="CubeCamera",this.renderTarget=i,this.coordinateSystem=null,this.activeMipmapLevel=0;const r=new $t(Lo,Do,e,t);r.layers=this.layers,this.add(r);const s=new $t(Lo,Do,e,t);s.layers=this.layers,this.add(s);const o=new $t(Lo,Do,e,t);o.layers=this.layers,this.add(o);const a=new $t(Lo,Do,e,t);a.layers=this.layers,this.add(a);const l=new $t(Lo,Do,e,t);l.layers=this.layers,this.add(l);const c=new $t(Lo,Do,e,t);c.layers=this.layers,this.add(c)}updateCoordinateSystem(){const e=this.coordinateSystem,t=this.children.concat(),[i,r,s,o,a,l]=t;for(const c of t)this.remove(c);if(e===Mi)i.up.set(0,1,0),i.lookAt(1,0,0),r.up.set(0,1,0),r.lookAt(-1,0,0),s.up.set(0,0,-1),s.lookAt(0,1,0),o.up.set(0,0,1),o.lookAt(0,-1,0),a.up.set(0,1,0),a.lookAt(0,0,1),l.up.set(0,1,0),l.lookAt(0,0,-1);else if(e===Bl)i.up.set(0,-1,0),i.lookAt(-1,0,0),r.up.set(0,-1,0),r.lookAt(1,0,0),s.up.set(0,0,1),s.lookAt(0,1,0),o.up.set(0,0,-1),o.lookAt(0,-1,0),a.up.set(0,-1,0),a.lookAt(0,0,1),l.up.set(0,-1,0),l.lookAt(0,0,-1);else throw new Error("THREE.CubeCamera.updateCoordinateSystem(): Invalid coordinate system: "+e);for(const c of t)this.add(c),c.updateMatrixWorld()}update(e,t){this.parent===null&&this.updateMatrixWorld();const{renderTarget:i,activeMipmapLevel:r}=this;this.coordinateSystem!==e.coordinateSystem&&(this.coordinateSystem=e.coordinateSystem,this.updateCoordinateSystem());const[s,o,a,l,c,u]=this.children,f=e.getRenderTarget(),h=e.getActiveCubeFace(),d=e.getActiveMipmapLevel(),p=e.xr.enabled;e.xr.enabled=!1;const _=i.texture.generateMipmaps;i.texture.generateMipmaps=!1,e.setRenderTarget(i,0,r),e.render(t,s),e.setRenderTarget(i,1,r),e.render(t,o),e.setRenderTarget(i,2,r),e.render(t,a),e.setRenderTarget(i,3,r),e.render(t,l),e.setRenderTarget(i,4,r),e.render(t,c),i.texture.generateMipmaps=_,e.setRenderTarget(i,5,r),e.render(t,u),e.setRenderTarget(f,h,d),e.xr.enabled=p,i.texture.needsPMREMUpdate=!0}}class pc extends Vt{constructor(e,t,i,r,s,o,a,l,c,u){e=e!==void 0?e:[],t=t!==void 0?t:Tr,super(e,t,i,r,s,o,a,l,c,u),this.isCubeTexture=!0,this.flipY=!1}get images(){return this.image}set images(e){this.image=e}}class QS extends Yi{constructor(e=1,t={}){super(e,e,t),this.isWebGLCubeRenderTarget=!0;const i={width:e,height:e,depth:1},r=[i,i,i,i,i,i];this.texture=new pc(r,t.mapping,t.wrapS,t.wrapT,t.magFilter,t.minFilter,t.format,t.type,t.anisotropy,t.colorSpace),this.texture.isRenderTargetTexture=!0,this.texture.generateMipmaps=t.generateMipmaps!==void 0?t.generateMipmaps:!1,this.texture.minFilter=t.minFilter!==void 0?t.minFilter:jt}fromEquirectangularTexture(e,t){this.texture.type=t.type,this.texture.colorSpace=t.colorSpace,this.texture.generateMipmaps=t.generateMipmaps,this.texture.minFilter=t.minFilter,this.texture.magFilter=t.magFilter;const i={uniforms:{tEquirect:{value:null}},vertexShader:` varying vec3 vWorldDirection; @@ -58,11 +58,11 @@ var uw=Object.defineProperty;var fw=(n,e,t)=>e in n?uw(n,e,{enumerable:!0,config gl_FragColor = texture2D( tEquirect, sampleUV ); } - `},r=new mo(5,5,5),s=new Ri({name:"CubemapFromEquirect",uniforms:la(i.uniforms),vertexShader:i.vertexShader,fragmentShader:i.fragmentShader,side:Dn,blending:xr});s.uniforms.tEquirect.value=t;const o=new Ht(r,s),a=t.minFilter;return t.minFilter===zi&&(t.minFilter=jt),new JS(1,10,this).update(e,o),t.minFilter=a,o.geometry.dispose(),o.material.dispose(),this}clear(e,t,i,r){const s=e.getRenderTarget();for(let o=0;o<6;o++)e.setRenderTarget(this,o),e.clear(t,i,r);e.setRenderTarget(s)}}class qo extends ct{constructor(){super(),this.isGroup=!0,this.type="Group"}}const FR={type:"move"};class Wu{constructor(){this._targetRay=null,this._grip=null,this._hand=null}getHandSpace(){return this._hand===null&&(this._hand=new qo,this._hand.matrixAutoUpdate=!1,this._hand.visible=!1,this._hand.joints={},this._hand.inputState={pinching:!1}),this._hand}getTargetRaySpace(){return this._targetRay===null&&(this._targetRay=new qo,this._targetRay.matrixAutoUpdate=!1,this._targetRay.visible=!1,this._targetRay.hasLinearVelocity=!1,this._targetRay.linearVelocity=new F,this._targetRay.hasAngularVelocity=!1,this._targetRay.angularVelocity=new F),this._targetRay}getGripSpace(){return this._grip===null&&(this._grip=new qo,this._grip.matrixAutoUpdate=!1,this._grip.visible=!1,this._grip.hasLinearVelocity=!1,this._grip.linearVelocity=new F,this._grip.hasAngularVelocity=!1,this._grip.angularVelocity=new F),this._grip}dispatchEvent(e){return this._targetRay!==null&&this._targetRay.dispatchEvent(e),this._grip!==null&&this._grip.dispatchEvent(e),this._hand!==null&&this._hand.dispatchEvent(e),this}connect(e){if(e&&e.hand){const t=this._hand;if(t)for(const i of e.hand.values())this._getHandJoint(t,i)}return this.dispatchEvent({type:"connected",data:e}),this}disconnect(e){return this.dispatchEvent({type:"disconnected",data:e}),this._targetRay!==null&&(this._targetRay.visible=!1),this._grip!==null&&(this._grip.visible=!1),this._hand!==null&&(this._hand.visible=!1),this}update(e,t,i){let r=null,s=null,o=null;const a=this._targetRay,l=this._grip,c=this._hand;if(e&&t.session.visibilityState!=="visible-blurred"){if(c&&e.hand){o=!0;for(const _ of e.hand.values()){const g=t.getJointPose(_,i),m=this._getHandJoint(c,_);g!==null&&(m.matrix.fromArray(g.transform.matrix),m.matrix.decompose(m.position,m.rotation,m.scale),m.matrixWorldNeedsUpdate=!0,m.jointRadius=g.radius),m.visible=g!==null}const u=c.joints["index-finger-tip"],f=c.joints["thumb-tip"],h=u.position.distanceTo(f.position),d=.02,p=.005;c.inputState.pinching&&h>d+p?(c.inputState.pinching=!1,this.dispatchEvent({type:"pinchend",handedness:e.handedness,target:this})):!c.inputState.pinching&&h<=d-p&&(c.inputState.pinching=!0,this.dispatchEvent({type:"pinchstart",handedness:e.handedness,target:this}))}else l!==null&&e.gripSpace&&(s=t.getPose(e.gripSpace,i),s!==null&&(l.matrix.fromArray(s.transform.matrix),l.matrix.decompose(l.position,l.rotation,l.scale),l.matrixWorldNeedsUpdate=!0,s.linearVelocity?(l.hasLinearVelocity=!0,l.linearVelocity.copy(s.linearVelocity)):l.hasLinearVelocity=!1,s.angularVelocity?(l.hasAngularVelocity=!0,l.angularVelocity.copy(s.angularVelocity)):l.hasAngularVelocity=!1));a!==null&&(r=t.getPose(e.targetRaySpace,i),r===null&&s!==null&&(r=s),r!==null&&(a.matrix.fromArray(r.transform.matrix),a.matrix.decompose(a.position,a.rotation,a.scale),a.matrixWorldNeedsUpdate=!0,r.linearVelocity?(a.hasLinearVelocity=!0,a.linearVelocity.copy(r.linearVelocity)):a.hasLinearVelocity=!1,r.angularVelocity?(a.hasAngularVelocity=!0,a.angularVelocity.copy(r.angularVelocity)):a.hasAngularVelocity=!1,this.dispatchEvent(FR)))}return a!==null&&(a.visible=r!==null),l!==null&&(l.visible=s!==null),c!==null&&(c.visible=o!==null),this}_getHandJoint(e,t){if(e.joints[t.jointName]===void 0){const i=new qo;i.matrixAutoUpdate=!1,i.visible=!1,e.joints[t.jointName]=i,e.add(i)}return e.joints[t.jointName]}}class Lh{constructor(e,t=25e-5){this.isFogExp2=!0,this.name="",this.color=new we(e),this.density=t}clone(){return new Lh(this.color,this.density)}toJSON(){return{type:"FogExp2",name:this.name,color:this.color.getHex(),density:this.density}}}class Dh{constructor(e,t=1,i=1e3){this.isFog=!0,this.name="",this.color=new we(e),this.near=t,this.far=i}clone(){return new Dh(this.color,this.near,this.far)}toJSON(){return{type:"Fog",name:this.name,color:this.color.getHex(),near:this.near,far:this.far}}}class Oh extends ct{constructor(){super(),this.isScene=!0,this.type="Scene",this.background=null,this.environment=null,this.fog=null,this.backgroundBlurriness=0,this.backgroundIntensity=1,this.backgroundRotation=new ei,this.environmentIntensity=1,this.environmentRotation=new ei,this.overrideMaterial=null,typeof __THREE_DEVTOOLS__<"u"&&__THREE_DEVTOOLS__.dispatchEvent(new CustomEvent("observe",{detail:this}))}copy(e,t){return super.copy(e,t),e.background!==null&&(this.background=e.background.clone()),e.environment!==null&&(this.environment=e.environment.clone()),e.fog!==null&&(this.fog=e.fog.clone()),this.backgroundBlurriness=e.backgroundBlurriness,this.backgroundIntensity=e.backgroundIntensity,this.backgroundRotation.copy(e.backgroundRotation),this.environmentIntensity=e.environmentIntensity,this.environmentRotation.copy(e.environmentRotation),e.overrideMaterial!==null&&(this.overrideMaterial=e.overrideMaterial.clone()),this.matrixAutoUpdate=e.matrixAutoUpdate,this}toJSON(e){const t=super.toJSON(e);return this.fog!==null&&(t.object.fog=this.fog.toJSON()),this.backgroundBlurriness>0&&(t.object.backgroundBlurriness=this.backgroundBlurriness),this.backgroundIntensity!==1&&(t.object.backgroundIntensity=this.backgroundIntensity),t.object.backgroundRotation=this.backgroundRotation.toArray(),this.environmentIntensity!==1&&(t.object.environmentIntensity=this.environmentIntensity),t.object.environmentRotation=this.environmentRotation.toArray(),t}}class Nh{constructor(e,t){this.isInterleavedBuffer=!0,this.array=e,this.stride=t,this.count=e!==void 0?e.length/t:0,this.usage=Fl,this.updateRanges=[],this.version=0,this.uuid=Zn()}onUploadCallback(){}set needsUpdate(e){e===!0&&this.version++}setUsage(e){return this.usage=e,this}addUpdateRange(e,t){this.updateRanges.push({start:e,count:t})}clearUpdateRanges(){this.updateRanges.length=0}copy(e){return this.array=new e.array.constructor(e.array),this.count=e.count,this.stride=e.stride,this.usage=e.usage,this}copyAt(e,t,i){e*=this.stride,i*=t.stride;for(let r=0,s=this.stride;re.far||t.push({distance:l,point:Ia.clone(),uv:Vn.getInterpolation(Ia,Kc,Da,Zc,Vv,Xd,Hv,new fe),face:null,object:this})}copy(e,t){return super.copy(e,t),e.center!==void 0&&this.center.copy(e.center),this.material=e.material,this}}function Jc(n,e,t,i,r,s){Fo.subVectors(n,t).addScalar(.5).multiply(i),r!==void 0?(La.x=s*Fo.x-r*Fo.y,La.y=r*Fo.x+s*Fo.y):La.copy(Fo),n.copy(e),n.x+=La.x,n.y+=La.y,n.applyMatrix4(eM)}const Qc=new F,Gv=new F;class nM extends ct{constructor(){super(),this.isLOD=!0,this._currentLevel=0,this.type="LOD",Object.defineProperties(this,{levels:{enumerable:!0,value:[]}}),this.autoUpdate=!0}copy(e){super.copy(e,!1);const t=e.levels;for(let i=0,r=t.length;i0){let i,r;for(i=1,r=t.length;i0){Qc.setFromMatrixPosition(this.matrixWorld);const r=e.ray.origin.distanceTo(Qc);this.getObjectForDistance(r).raycast(e,t)}}update(e){const t=this.levels;if(t.length>1){Qc.setFromMatrixPosition(e.matrixWorld),Gv.setFromMatrixPosition(this.matrixWorld);const i=Qc.distanceTo(Gv)/e.zoom;t[0].object.visible=!0;let r,s;for(r=1,s=t.length;r=o)t[r-1].object.visible=!1,t[r].object.visible=!0;else break}for(this._currentLevel=r-1;r1?null:t.copy(e.start).addScaledVector(i,s)}intersectsLine(e){const t=this.distanceToPoint(e.start),i=this.distanceToPoint(e.end);return t<0&&i>0||i<0&&t>0}intersectsBox(e){return e.intersectsPlane(this)}intersectsSphere(e){return e.intersectsPlane(this)}coplanarPoint(e){return e.copy(this.normal).multiplyScalar(-this.constant)}applyMatrix4(e,t){const i=t||HR.getNormalMatrix(e),r=this.coplanarPoint(Yd).applyMatrix4(e),s=this.normal.applyMatrix3(i).normalize();return this.constant=-r.dot(s),this}translate(e){return this.constant-=e.dot(this.normal),this}equals(e){return e.normal.equals(this.normal)&&e.constant===this.constant}clone(){return new this.constructor().copy(this)}}const As=new _n,nu=new F;class mc{constructor(e=new Yr,t=new Yr,i=new Yr,r=new Yr,s=new Yr,o=new Yr){this.planes=[e,t,i,r,s,o]}set(e,t,i,r,s,o){const a=this.planes;return a[0].copy(e),a[1].copy(t),a[2].copy(i),a[3].copy(r),a[4].copy(s),a[5].copy(o),this}copy(e){const t=this.planes;for(let i=0;i<6;i++)t[i].copy(e.planes[i]);return this}setFromProjectionMatrix(e,t=Mi){const i=this.planes,r=e.elements,s=r[0],o=r[1],a=r[2],l=r[3],c=r[4],u=r[5],f=r[6],h=r[7],d=r[8],p=r[9],_=r[10],g=r[11],m=r[12],y=r[13],x=r[14],v=r[15];if(i[0].setComponents(l-s,h-c,g-d,v-m).normalize(),i[1].setComponents(l+s,h+c,g+d,v+m).normalize(),i[2].setComponents(l+o,h+u,g+p,v+y).normalize(),i[3].setComponents(l-o,h-u,g-p,v-y).normalize(),i[4].setComponents(l-a,h-f,g-_,v-x).normalize(),t===Mi)i[5].setComponents(l+a,h+f,g+_,v+x).normalize();else if(t===Bl)i[5].setComponents(a,f,_,x).normalize();else throw new Error("THREE.Frustum.setFromProjectionMatrix(): Invalid coordinate system: "+t);return this}intersectsObject(e){if(e.boundingSphere!==void 0)e.boundingSphere===null&&e.computeBoundingSphere(),As.copy(e.boundingSphere).applyMatrix4(e.matrixWorld);else{const t=e.geometry;t.boundingSphere===null&&t.computeBoundingSphere(),As.copy(t.boundingSphere).applyMatrix4(e.matrixWorld)}return this.intersectsSphere(As)}intersectsSprite(e){return As.center.set(0,0,0),As.radius=.7071067811865476,As.applyMatrix4(e.matrixWorld),this.intersectsSphere(As)}intersectsSphere(e){const t=this.planes,i=e.center,r=-e.radius;for(let s=0;s<6;s++)if(t[s].distanceToPoint(i)0?e.max.x:e.min.x,nu.y=r.normal.y>0?e.max.y:e.min.y,nu.z=r.normal.z>0?e.max.z:e.min.z,r.distanceToPoint(nu)<0)return!1}return!0}containsPoint(e){const t=this.planes;for(let i=0;i<6;i++)if(t[i].distanceToPoint(e)<0)return!1;return!0}clone(){return new this.constructor().copy(this)}}function jd(n,e){return n-e}function GR(n,e){return n.z-e.z}function WR(n,e){return e.z-n.z}class XR{constructor(){this.index=0,this.pool=[],this.list=[]}push(e,t,i,r){const s=this.pool,o=this.list;this.index>=s.length&&s.push({start:-1,count:-1,z:-1,index:-1});const a=s[this.index];o.push(a),this.index++,a.start=e,a.count=t,a.z=i,a.index=r}reset(){this.list.length=0,this.index=0}}const Fn=new Xe,$R=new we(1,1,1),Kd=new mc,iu=new On,Cs=new _n,Ua=new F,Jv=new F,qR=new F,Zd=new XR,dn=new Ht,ru=[];function YR(n,e,t=0){const i=e.itemSize;if(n.isInterleavedBufferAttribute||n.array.constructor!==e.array.constructor){const r=n.count;for(let s=0;s65535?new Uint32Array(r):new Uint16Array(r);t.setIndex(new Et(s,1))}this._geometryInitialized=!0}}_validateGeometry(e){const t=this.geometry;if(!!e.getIndex()!=!!t.getIndex())throw new Error('THREE.BatchedMesh: All geometries must consistently have "index".');for(const i in t.attributes){if(!e.hasAttribute(i))throw new Error(`THREE.BatchedMesh: Added geometry missing "${i}". All geometries must have consistent attributes.`);const r=e.getAttribute(i),s=t.getAttribute(i);if(r.itemSize!==s.itemSize||r.normalized!==s.normalized)throw new Error("THREE.BatchedMesh: All attributes must have a consistent itemSize and normalized value.")}}validateInstanceId(e){const t=this._instanceInfo;if(e<0||e>=t.length||t[e].active===!1)throw new Error(`THREE.BatchedMesh: Invalid instanceId ${e}. Instance is either out of range or has been deleted.`)}validateGeometryId(e){const t=this._geometryInfo;if(e<0||e>=t.length||t[e].active===!1)throw new Error(`THREE.BatchedMesh: Invalid geometryId ${e}. Geometry is either out of range or has been deleted.`)}setCustomSort(e){return this.customSort=e,this}computeBoundingBox(){this.boundingBox===null&&(this.boundingBox=new On);const e=this.boundingBox,t=this._instanceInfo;e.makeEmpty();for(let i=0,r=t.length;i=this.maxInstanceCount&&this._availableInstanceIds.length===0)throw new Error("THREE.BatchedMesh: Maximum item count reached.");const i={visible:!0,active:!0,geometryIndex:e};let r=null;this._availableInstanceIds.length>0?(this._availableInstanceIds.sort(jd),r=this._availableInstanceIds.shift(),this._instanceInfo[r]=i):(r=this._instanceInfo.length,this._instanceInfo.push(i));const s=this._matricesTexture;Fn.identity().toArray(s.image.data,r*16),s.needsUpdate=!0;const o=this._colorsTexture;return o&&($R.toArray(o.image.data,r*4),o.needsUpdate=!0),this._visibilityChanged=!0,r}addGeometry(e,t=-1,i=-1){this._initializeGeometry(e),this._validateGeometry(e);const r={vertexStart:-1,vertexCount:-1,reservedVertexCount:-1,indexStart:-1,indexCount:-1,reservedIndexCount:-1,start:-1,count:-1,boundingBox:null,boundingSphere:null,active:!0},s=this._geometryInfo;r.vertexStart=this._nextVertexStart,r.reservedVertexCount=t===-1?e.getAttribute("position").count:t;const o=e.getIndex();if(o!==null&&(r.indexStart=this._nextIndexStart,r.reservedIndexCount=i===-1?o.count:i),r.indexStart!==-1&&r.indexStart+r.reservedIndexCount>this._maxIndexCount||r.vertexStart+r.reservedVertexCount>this._maxVertexCount)throw new Error("THREE.BatchedMesh: Reserved space request exceeds the maximum buffer size.");let l;return this._availableGeometryIds.length>0?(this._availableGeometryIds.sort(jd),l=this._availableGeometryIds.shift(),s[l]=r):(l=this._geometryCount,this._geometryCount++,s.push(r)),this.setGeometryAt(l,e),this._nextIndexStart=r.indexStart+r.reservedIndexCount,this._nextVertexStart=r.vertexStart+r.reservedVertexCount,l}setGeometryAt(e,t){if(e>=this._geometryCount)throw new Error("THREE.BatchedMesh: Maximum geometry count reached.");this._validateGeometry(t);const i=this.geometry,r=i.getIndex()!==null,s=i.getIndex(),o=t.getIndex(),a=this._geometryInfo[e];if(r&&o.count>a.reservedIndexCount||t.attributes.position.count>a.reservedVertexCount)throw new Error("THREE.BatchedMesh: Reserved space not large enough for provided geometry.");const l=a.vertexStart,c=a.reservedVertexCount;a.vertexCount=t.getAttribute("position").count;for(const u in i.attributes){const f=t.getAttribute(u),h=i.getAttribute(u);YR(f,h,l);const d=f.itemSize;for(let p=f.count,_=c;p<_;p++){const g=l+p;for(let m=0;m=t.length||t[e].active===!1)return this;const i=this._instanceInfo;for(let r=0,s=i.length;ra).sort((o,a)=>i[o].vertexStart-i[a].vertexStart),s=this.geometry;for(let o=0,a=i.length;o=this._geometryCount)return null;const i=this.geometry,r=this._geometryInfo[e];if(r.boundingBox===null){const s=new On,o=i.index,a=i.attributes.position;for(let l=r.start,c=r.start+r.count;l=this._geometryCount)return null;const i=this.geometry,r=this._geometryInfo[e];if(r.boundingSphere===null){const s=new _n;this.getBoundingBoxAt(e,iu),iu.getCenter(s.center);const o=i.index,a=i.attributes.position;let l=0;for(let c=r.start,u=r.start+r.count;ca.active);if(Math.max(...i.map(a=>a.vertexStart+a.reservedVertexCount))>e)throw new Error(`BatchedMesh: Geometry vertex values are being used outside the range ${t}. Cannot shrink further.`);if(this.geometry.index&&Math.max(...i.map(l=>l.indexStart+l.reservedIndexCount))>t)throw new Error(`BatchedMesh: Geometry index values are being used outside the range ${t}. Cannot shrink further.`);const s=this.geometry;s.dispose(),this._maxVertexCount=e,this._maxIndexCount=t,this._geometryInitialized&&(this._geometryInitialized=!1,this.geometry=new st,this._initializeGeometry(s));const o=this.geometry;s.index&&Rs(s.index.array,o.index.array);for(const a in s.attributes)Rs(s.attributes[a].array,o.attributes[a].array)}raycast(e,t){const i=this._instanceInfo,r=this._geometryInfo,s=this.matrixWorld,o=this.geometry;dn.material=this.material,dn.geometry.index=o.index,dn.geometry.attributes=o.attributes,dn.geometry.boundingBox===null&&(dn.geometry.boundingBox=new On),dn.geometry.boundingSphere===null&&(dn.geometry.boundingSphere=new _n);for(let a=0,l=i.length;a({...t,boundingBox:t.boundingBox!==null?t.boundingBox.clone():null,boundingSphere:t.boundingSphere!==null?t.boundingSphere.clone():null})),this._instanceInfo=e._instanceInfo.map(t=>({...t})),this._maxInstanceCount=e._maxInstanceCount,this._maxVertexCount=e._maxVertexCount,this._maxIndexCount=e._maxIndexCount,this._geometryInitialized=e._geometryInitialized,this._geometryCount=e._geometryCount,this._multiDrawCounts=e._multiDrawCounts.slice(),this._multiDrawStarts=e._multiDrawStarts.slice(),this._matricesTexture=e._matricesTexture.clone(),this._matricesTexture.image.data=this._matricesTexture.image.data.slice(),this._colorsTexture!==null&&(this._colorsTexture=e._colorsTexture.clone(),this._colorsTexture.image.data=this._colorsTexture.image.data.slice()),this}dispose(){this.geometry.dispose(),this._matricesTexture.dispose(),this._matricesTexture=null,this._indirectTexture.dispose(),this._indirectTexture=null,this._colorsTexture!==null&&(this._colorsTexture.dispose(),this._colorsTexture=null)}onBeforeRender(e,t,i,r,s){if(!this._visibilityChanged&&!this.perObjectFrustumCulled&&!this.sortObjects)return;const o=r.getIndex(),a=o===null?1:o.array.BYTES_PER_ELEMENT,l=this._instanceInfo,c=this._multiDrawStarts,u=this._multiDrawCounts,f=this._geometryInfo,h=this.perObjectFrustumCulled,d=this._indirectTexture,p=d.image.data;h&&(Fn.multiplyMatrices(i.projectionMatrix,i.matrixWorldInverse).multiply(this.matrixWorld),Kd.setFromProjectionMatrix(Fn,e.coordinateSystem));let _=0;if(this.sortObjects){Fn.copy(this.matrixWorld).invert(),Ua.setFromMatrixPosition(i.matrixWorld).applyMatrix4(Fn),Jv.set(0,0,-1).transformDirection(i.matrixWorld).transformDirection(Fn);for(let y=0,x=l.length;y0){const r=t[i[0]];if(r!==void 0){this.morphTargetInfluences=[],this.morphTargetDictionary={};for(let s=0,o=r.length;si)return;Jd.applyMatrix4(n.matrixWorld);const c=e.ray.origin.distanceTo(Jd);if(!(ce.far))return{distance:c,point:e0.clone().applyMatrix4(n.matrixWorld),index:o,face:null,faceIndex:null,barycoord:null,object:n}}const t0=new F,n0=new F;class Ki extends ss{constructor(e,t){super(e,t),this.isLineSegments=!0,this.type="LineSegments"}computeLineDistances(){const e=this.geometry;if(e.index===null){const t=e.attributes.position,i=[];for(let r=0,s=t.count;r0){const r=t[i[0]];if(r!==void 0){this.morphTargetInfluences=[],this.morphTargetDictionary={};for(let s=0,o=r.length;sr.far)return;s.push({distance:c,distanceToRay:Math.sqrt(a),point:l,index:e,face:null,faceIndex:null,barycoord:null,object:o})}}class lM extends zt{constructor(e,t,i,r,s,o,a,l,c){super(e,t,i,r,s,o,a,l,c),this.isVideoTexture=!0,this.minFilter=o!==void 0?o:jt,this.magFilter=s!==void 0?s:jt,this.generateMipmaps=!1;const u=this;function f(){u.needsUpdate=!0,e.requestVideoFrameCallback(f)}"requestVideoFrameCallback"in e&&e.requestVideoFrameCallback(f)}clone(){return new this.constructor(this.image).copy(this)}update(){const e=this.image;"requestVideoFrameCallback"in e===!1&&e.readyState>=e.HAVE_CURRENT_DATA&&(this.needsUpdate=!0)}}class jR extends lM{constructor(e,t,i,r,s,o,a,l){super({},e,t,i,r,s,o,a,l),this.isVideoFrameTexture=!0}update(){}clone(){return new this.constructor().copy(this)}setFrame(e){this.image=e,this.needsUpdate=!0}}class KR extends zt{constructor(e,t){super({width:e,height:t}),this.isFramebufferTexture=!0,this.magFilter=cn,this.minFilter=cn,this.generateMipmaps=!1,this.needsUpdate=!0}}class Fh extends zt{constructor(e,t,i,r,s,o,a,l,c,u,f,h){super(null,o,a,l,c,u,r,s,f,h),this.isCompressedTexture=!0,this.image={width:t,height:i},this.mipmaps=e,this.flipY=!1,this.generateMipmaps=!1}}class ZR extends Fh{constructor(e,t,i,r,s,o){super(e,t,i,s,o),this.isCompressedArrayTexture=!0,this.image.depth=r,this.wrapR=li,this.layerUpdates=new Set}addLayerUpdate(e){this.layerUpdates.add(e)}clearLayerUpdates(){this.layerUpdates.clear()}}class JR extends Fh{constructor(e,t,i){super(void 0,e[0].width,e[0].height,t,i,Tr),this.isCompressedCubeTexture=!0,this.isCubeTexture=!0,this.image=e}}class QR extends zt{constructor(e,t,i,r,s,o,a,l,c){super(e,t,i,r,s,o,a,l,c),this.isCanvasTexture=!0,this.needsUpdate=!0}}class Dg extends zt{constructor(e,t,i,r,s,o,a,l,c,u=to){if(u!==to&&u!==co)throw new Error("DepthTexture format must be either THREE.DepthFormat or THREE.DepthStencilFormat");i===void 0&&u===to&&(i=wr),i===void 0&&u===co&&(i=lo),super(null,r,s,o,a,l,u,i,c),this.isDepthTexture=!0,this.image={width:e,height:t},this.magFilter=a!==void 0?a:cn,this.minFilter=l!==void 0?l:cn,this.flipY=!1,this.generateMipmaps=!1,this.compareFunction=null}copy(e){return super.copy(e),this.source=new Zr(Object.assign({},e.image)),this.compareFunction=e.compareFunction,this}toJSON(e){const t=super.toJSON(e);return this.compareFunction!==null&&(t.compareFunction=this.compareFunction),t}}class Li{constructor(){this.type="Curve",this.arcLengthDivisions=200,this.needsUpdate=!1,this.cacheArcLengths=null}getPoint(){console.warn("THREE.Curve: .getPoint() not implemented.")}getPointAt(e,t){const i=this.getUtoTmapping(e);return this.getPoint(i,t)}getPoints(e=5){const t=[];for(let i=0;i<=e;i++)t.push(this.getPoint(i/e));return t}getSpacedPoints(e=5){const t=[];for(let i=0;i<=e;i++)t.push(this.getPointAt(i/e));return t}getLength(){const e=this.getLengths();return e[e.length-1]}getLengths(e=this.arcLengthDivisions){if(this.cacheArcLengths&&this.cacheArcLengths.length===e+1&&!this.needsUpdate)return this.cacheArcLengths;this.needsUpdate=!1;const t=[];let i,r=this.getPoint(0),s=0;t.push(0);for(let o=1;o<=e;o++)i=this.getPoint(o/e),s+=i.distanceTo(r),t.push(s),r=i;return this.cacheArcLengths=t,t}updateArcLengths(){this.needsUpdate=!0,this.getLengths()}getUtoTmapping(e,t=null){const i=this.getLengths();let r=0;const s=i.length;let o;t?o=t:o=e*i[s-1];let a=0,l=s-1,c;for(;a<=l;)if(r=Math.floor(a+(l-a)/2),c=i[r]-o,c<0)a=r+1;else if(c>0)l=r-1;else{l=r;break}if(r=l,i[r]===o)return r/(s-1);const u=i[r],h=i[r+1]-u,d=(o-u)/h;return(r+d)/(s-1)}getTangent(e,t){let r=e-1e-4,s=e+1e-4;r<0&&(r=0),s>1&&(s=1);const o=this.getPoint(r),a=this.getPoint(s),l=t||(o.isVector2?new fe:new F);return l.copy(a).sub(o).normalize(),l}getTangentAt(e,t){const i=this.getUtoTmapping(e);return this.getTangent(i,t)}computeFrenetFrames(e,t=!1){const i=new F,r=[],s=[],o=[],a=new F,l=new Xe;for(let d=0;d<=e;d++){const p=d/e;r[d]=this.getTangentAt(p,new F)}s[0]=new F,o[0]=new F;let c=Number.MAX_VALUE;const u=Math.abs(r[0].x),f=Math.abs(r[0].y),h=Math.abs(r[0].z);u<=c&&(c=u,i.set(1,0,0)),f<=c&&(c=f,i.set(0,1,0)),h<=c&&i.set(0,0,1),a.crossVectors(r[0],i).normalize(),s[0].crossVectors(r[0],a),o[0].crossVectors(r[0],s[0]);for(let d=1;d<=e;d++){if(s[d]=s[d-1].clone(),o[d]=o[d-1].clone(),a.crossVectors(r[d-1],r[d]),a.length()>Number.EPSILON){a.normalize();const p=Math.acos(Ze(r[d-1].dot(r[d]),-1,1));s[d].applyMatrix4(l.makeRotationAxis(a,p))}o[d].crossVectors(r[d],s[d])}if(t===!0){let d=Math.acos(Ze(s[0].dot(s[e]),-1,1));d/=e,r[0].dot(a.crossVectors(s[0],s[e]))>0&&(d=-d);for(let p=1;p<=e;p++)s[p].applyMatrix4(l.makeRotationAxis(r[p],d*p)),o[p].crossVectors(r[p],s[p])}return{tangents:r,normals:s,binormals:o}}clone(){return new this.constructor().copy(this)}copy(e){return this.arcLengthDivisions=e.arcLengthDivisions,this}toJSON(){const e={metadata:{version:4.6,type:"Curve",generator:"Curve.toJSON"}};return e.arcLengthDivisions=this.arcLengthDivisions,e.type=this.type,e}fromJSON(e){return this.arcLengthDivisions=e.arcLengthDivisions,this}}class Bh extends Li{constructor(e=0,t=0,i=1,r=1,s=0,o=Math.PI*2,a=!1,l=0){super(),this.isEllipseCurve=!0,this.type="EllipseCurve",this.aX=e,this.aY=t,this.xRadius=i,this.yRadius=r,this.aStartAngle=s,this.aEndAngle=o,this.aClockwise=a,this.aRotation=l}getPoint(e,t=new fe){const i=t,r=Math.PI*2;let s=this.aEndAngle-this.aStartAngle;const o=Math.abs(s)r;)s-=r;s0?0:(Math.floor(Math.abs(a)/s)+1)*s:l===0&&a===s-1&&(a=s-2,l=1);let c,u;this.closed||a>0?c=r[(a-1)%s]:(cu.subVectors(r[0],r[1]).add(r[0]),c=cu);const f=r[a%s],h=r[(a+1)%s];if(this.closed||a+2r.length-2?r.length-1:o+1],f=r[o>r.length-3?r.length-1:o+2];return i.set(s0(a,l.x,c.x,u.x,f.x),s0(a,l.y,c.y,u.y,f.y)),i}copy(e){super.copy(e),this.points=[];for(let t=0,i=e.points.length;t=i){const o=r[s]-i,a=this.curves[s],l=a.getLength(),c=l===0?0:1-o/l;return a.getPointAt(c,t)}s++}return null}getLength(){const e=this.getCurveLengths();return e[e.length-1]}updateArcLengths(){this.needsUpdate=!0,this.cacheLengths=null,this.getCurveLengths()}getCurveLengths(){if(this.cacheLengths&&this.cacheLengths.length===this.curves.length)return this.cacheLengths;const e=[];let t=0;for(let i=0,r=this.curves.length;i1&&!t[t.length-1].equals(t[0])&&t.push(t[0]),t}copy(e){super.copy(e),this.curves=[];for(let t=0,i=e.curves.length;t0){const f=c.getPoint(0);f.equals(this.currentPoint)||this.lineTo(f.x,f.y)}this.curves.push(c);const u=c.getPoint(1);return this.currentPoint.copy(u),this}copy(e){return super.copy(e),this.currentPoint.copy(e.currentPoint),this}toJSON(){const e=super.toJSON();return e.currentPoint=this.currentPoint.toArray(),e}fromJSON(e){return super.fromJSON(e),this.currentPoint.fromArray(e.currentPoint),this}}class gc extends st{constructor(e=[new fe(0,-.5),new fe(.5,0),new fe(0,.5)],t=12,i=0,r=Math.PI*2){super(),this.type="LatheGeometry",this.parameters={points:e,segments:t,phiStart:i,phiLength:r},t=Math.floor(t),r=Ze(r,0,Math.PI*2);const s=[],o=[],a=[],l=[],c=[],u=1/t,f=new F,h=new fe,d=new F,p=new F,_=new F;let g=0,m=0;for(let y=0;y<=e.length-1;y++)switch(y){case 0:g=e[y+1].x-e[y].x,m=e[y+1].y-e[y].y,d.x=m*1,d.y=-g,d.z=m*0,_.copy(d),d.normalize(),l.push(d.x,d.y,d.z);break;case e.length-1:l.push(_.x,_.y,_.z);break;default:g=e[y+1].x-e[y].x,m=e[y+1].y-e[y].y,d.x=m*1,d.y=-g,d.z=m*0,p.copy(d),d.x+=_.x,d.y+=_.y,d.z+=_.z,d.normalize(),l.push(d.x,d.y,d.z),_.copy(p)}for(let y=0;y<=t;y++){const x=i+y*u*r,v=Math.sin(x),E=Math.cos(x);for(let T=0;T<=e.length-1;T++){f.x=e[T].x*v,f.y=e[T].y,f.z=e[T].x*E,o.push(f.x,f.y,f.z),h.x=y/t,h.y=T/(e.length-1),a.push(h.x,h.y);const M=l[3*T+0]*v,P=l[3*T+1],b=l[3*T+0]*E;c.push(M,P,b)}}for(let y=0;y0&&x(!0),t>0&&x(!1)),this.setIndex(u),this.setAttribute("position",new Ue(f,3)),this.setAttribute("normal",new Ue(h,3)),this.setAttribute("uv",new Ue(d,2));function y(){const v=new F,E=new F;let T=0;const M=(t-e)/i;for(let P=0;P<=s;P++){const b=[],S=P/s,D=S*(t-e)+e;for(let B=0;B<=r;B++){const H=B/r,$=H*l+a,ee=Math.sin($),Z=Math.cos($);E.x=D*ee,E.y=-S*i+g,E.z=D*Z,f.push(E.x,E.y,E.z),v.set(ee,M,Z).normalize(),h.push(v.x,v.y,v.z),d.push(H,1-S),b.push(p++)}_.push(b)}for(let P=0;P0||b!==0)&&(u.push(S,D,H),T+=3),(t>0||b!==s-1)&&(u.push(D,B,H),T+=3)}c.addGroup(m,T,0),m+=T}function x(v){const E=p,T=new fe,M=new F;let P=0;const b=v===!0?e:t,S=v===!0?1:-1;for(let B=1;B<=r;B++)f.push(0,g*S,0),h.push(0,S,0),d.push(.5,.5),p++;const D=p;for(let B=0;B<=r;B++){const $=B/r*l+a,ee=Math.cos($),Z=Math.sin($);M.x=b*Z,M.y=g*S,M.z=b*ee,f.push(M.x,M.y,M.z),h.push(0,S,0),T.x=ee*.5+.5,T.y=Z*.5*S+.5,d.push(T.x,T.y),p++}for(let B=0;B.9&&M<.1&&(x<.2&&(o[y+0]+=1),v<.2&&(o[y+2]+=1),E<.2&&(o[y+4]+=1))}}function h(y){s.push(y.x,y.y,y.z)}function d(y,x){const v=y*3;x.x=e[v+0],x.y=e[v+1],x.z=e[v+2]}function p(){const y=new F,x=new F,v=new F,E=new F,T=new fe,M=new fe,P=new fe;for(let b=0,S=0;b80*i){l=u=e[0],c=f=e[1];for(let _=i;_u&&(u=h),d>f&&(f=d);p=Math.max(u-l,f-c),p=p!==0?32767/p:0}return Vl(o,a,i,l,c,p,0),a}}function mM(n,e,t,i,r){let s,o;if(r===MP(n,e,t,i)>0)for(s=e;s=e;s-=i)o=o0(s,n[s],n[s+1],o);return o&&Gh(o,o.next)&&(Gl(o),o=o.next),o}function ho(n,e){if(!n)return n;e||(e=n);let t=n,i;do if(i=!1,!t.steiner&&(Gh(t,t.next)||Nt(t.prev,t,t.next)===0)){if(Gl(t),t=e=t.prev,t===t.next)break;i=!0}else t=t.next;while(i||t!==e);return e}function Vl(n,e,t,i,r,s,o){if(!n)return;!o&&s&&_P(n,i,r,s);let a=n,l,c;for(;n.prev!==n.next;){if(l=n.prev,c=n.next,s?cP(n,i,r,s):lP(n)){e.push(l.i/t|0),e.push(n.i/t|0),e.push(c.i/t|0),Gl(n),n=c.next,a=c.next;continue}if(n=c,n===a){o?o===1?(n=uP(ho(n),e,t),Vl(n,e,t,i,r,s,2)):o===2&&fP(n,e,t,i,r,s):Vl(ho(n),e,t,i,r,s,1);break}}}function lP(n){const e=n.prev,t=n,i=n.next;if(Nt(e,t,i)>=0)return!1;const r=e.x,s=t.x,o=i.x,a=e.y,l=t.y,c=i.y,u=rs?r>o?r:o:s>o?s:o,d=a>l?a>c?a:c:l>c?l:c;let p=i.next;for(;p!==e;){if(p.x>=u&&p.x<=h&&p.y>=f&&p.y<=d&&Yo(r,a,s,l,o,c,p.x,p.y)&&Nt(p.prev,p,p.next)>=0)return!1;p=p.next}return!0}function cP(n,e,t,i){const r=n.prev,s=n,o=n.next;if(Nt(r,s,o)>=0)return!1;const a=r.x,l=s.x,c=o.x,u=r.y,f=s.y,h=o.y,d=al?a>c?a:c:l>c?l:c,g=u>f?u>h?u:h:f>h?f:h,m=tm(d,p,e,t,i),y=tm(_,g,e,t,i);let x=n.prevZ,v=n.nextZ;for(;x&&x.z>=m&&v&&v.z<=y;){if(x.x>=d&&x.x<=_&&x.y>=p&&x.y<=g&&x!==r&&x!==o&&Yo(a,u,l,f,c,h,x.x,x.y)&&Nt(x.prev,x,x.next)>=0||(x=x.prevZ,v.x>=d&&v.x<=_&&v.y>=p&&v.y<=g&&v!==r&&v!==o&&Yo(a,u,l,f,c,h,v.x,v.y)&&Nt(v.prev,v,v.next)>=0))return!1;v=v.nextZ}for(;x&&x.z>=m;){if(x.x>=d&&x.x<=_&&x.y>=p&&x.y<=g&&x!==r&&x!==o&&Yo(a,u,l,f,c,h,x.x,x.y)&&Nt(x.prev,x,x.next)>=0)return!1;x=x.prevZ}for(;v&&v.z<=y;){if(v.x>=d&&v.x<=_&&v.y>=p&&v.y<=g&&v!==r&&v!==o&&Yo(a,u,l,f,c,h,v.x,v.y)&&Nt(v.prev,v,v.next)>=0)return!1;v=v.nextZ}return!0}function uP(n,e,t){let i=n;do{const r=i.prev,s=i.next.next;!Gh(r,s)&&gM(r,i,i.next,s)&&Hl(r,s)&&Hl(s,r)&&(e.push(r.i/t|0),e.push(i.i/t|0),e.push(s.i/t|0),Gl(i),Gl(i.next),i=n=s),i=i.next}while(i!==n);return ho(i)}function fP(n,e,t,i,r,s){let o=n;do{let a=o.next.next;for(;a!==o.prev;){if(o.i!==a.i&&xP(o,a)){let l=_M(o,a);o=ho(o,o.next),l=ho(l,l.next),Vl(o,e,t,i,r,s,0),Vl(l,e,t,i,r,s,0);return}a=a.next}o=o.next}while(o!==n)}function hP(n,e,t,i){const r=[];let s,o,a,l,c;for(s=0,o=e.length;s=t.next.y&&t.next.y!==t.y){const h=t.x+(o-t.y)*(t.next.x-t.x)/(t.next.y-t.y);if(h<=s&&h>i&&(i=h,r=t.x=t.x&&t.x>=l&&s!==t.x&&Yo(or.x||t.x===r.x&&gP(r,t)))&&(r=t,u=f)),t=t.next;while(t!==a);return r}function gP(n,e){return Nt(n.prev,n,e.prev)<0&&Nt(e.next,n,n.next)<0}function _P(n,e,t,i){let r=n;do r.z===0&&(r.z=tm(r.x,r.y,e,t,i)),r.prevZ=r.prev,r.nextZ=r.next,r=r.next;while(r!==n);r.prevZ.nextZ=null,r.prevZ=null,vP(r)}function vP(n){let e,t,i,r,s,o,a,l,c=1;do{for(t=n,n=null,s=null,o=0;t;){for(o++,i=t,a=0,e=0;e0||l>0&&i;)a!==0&&(l===0||!i||t.z<=i.z)?(r=t,t=t.nextZ,a--):(r=i,i=i.nextZ,l--),s?s.nextZ=r:n=r,r.prevZ=s,s=r;t=i}s.nextZ=null,c*=2}while(o>1);return n}function tm(n,e,t,i,r){return n=(n-t)*r|0,e=(e-i)*r|0,n=(n|n<<8)&16711935,n=(n|n<<4)&252645135,n=(n|n<<2)&858993459,n=(n|n<<1)&1431655765,e=(e|e<<8)&16711935,e=(e|e<<4)&252645135,e=(e|e<<2)&858993459,e=(e|e<<1)&1431655765,n|e<<1}function yP(n){let e=n,t=n;do(e.x=(n-o)*(s-a)&&(n-o)*(i-a)>=(t-o)*(e-a)&&(t-o)*(s-a)>=(r-o)*(i-a)}function xP(n,e){return n.next.i!==e.i&&n.prev.i!==e.i&&!bP(n,e)&&(Hl(n,e)&&Hl(e,n)&&SP(n,e)&&(Nt(n.prev,n,e.prev)||Nt(n,e.prev,e))||Gh(n,e)&&Nt(n.prev,n,n.next)>0&&Nt(e.prev,e,e.next)>0)}function Nt(n,e,t){return(e.y-n.y)*(t.x-e.x)-(e.x-n.x)*(t.y-e.y)}function Gh(n,e){return n.x===e.x&&n.y===e.y}function gM(n,e,t,i){const r=pu(Nt(n,e,t)),s=pu(Nt(n,e,i)),o=pu(Nt(t,i,n)),a=pu(Nt(t,i,e));return!!(r!==s&&o!==a||r===0&&du(n,t,e)||s===0&&du(n,i,e)||o===0&&du(t,n,i)||a===0&&du(t,e,i))}function du(n,e,t){return e.x<=Math.max(n.x,t.x)&&e.x>=Math.min(n.x,t.x)&&e.y<=Math.max(n.y,t.y)&&e.y>=Math.min(n.y,t.y)}function pu(n){return n>0?1:n<0?-1:0}function bP(n,e){let t=n;do{if(t.i!==n.i&&t.next.i!==n.i&&t.i!==e.i&&t.next.i!==e.i&&gM(t,t.next,n,e))return!0;t=t.next}while(t!==n);return!1}function Hl(n,e){return Nt(n.prev,n,n.next)<0?Nt(n,e,n.next)>=0&&Nt(n,n.prev,e)>=0:Nt(n,e,n.prev)<0||Nt(n,n.next,e)<0}function SP(n,e){let t=n,i=!1;const r=(n.x+e.x)/2,s=(n.y+e.y)/2;do t.y>s!=t.next.y>s&&t.next.y!==t.y&&r<(t.next.x-t.x)*(s-t.y)/(t.next.y-t.y)+t.x&&(i=!i),t=t.next;while(t!==n);return i}function _M(n,e){const t=new nm(n.i,n.x,n.y),i=new nm(e.i,e.x,e.y),r=n.next,s=e.prev;return n.next=e,e.prev=n,t.next=r,r.prev=t,i.next=t,t.prev=i,s.next=i,i.prev=s,i}function o0(n,e,t,i){const r=new nm(n,e,t);return i?(r.next=i.next,r.prev=i,i.next.prev=r,i.next=r):(r.prev=r,r.next=r),r}function Gl(n){n.next.prev=n.prev,n.prev.next=n.next,n.prevZ&&(n.prevZ.nextZ=n.nextZ),n.nextZ&&(n.nextZ.prevZ=n.prevZ)}function nm(n,e,t){this.i=n,this.x=e,this.y=t,this.prev=null,this.next=null,this.z=0,this.prevZ=null,this.nextZ=null,this.steiner=!1}function MP(n,e,t,i){let r=0;for(let s=e,o=t-i;s2&&n[e-1].equals(n[0])&&n.pop()}function l0(n,e){for(let t=0;tNumber.EPSILON){const U=Math.sqrt(C),V=Math.sqrt(z*z+A*A),Y=L.x-N/U,he=L.y+R/U,ce=w.x-A/V,ye=w.y+z/V,Fe=((ce-Y)*A-(ye-he)*z)/(R*A-N*z);j=Y+R*Fe-I.x,G=he+N*Fe-I.y;const me=j*j+G*G;if(me<=2)return new fe(j,G);q=Math.sqrt(me/2)}else{let U=!1;R>Number.EPSILON?z>Number.EPSILON&&(U=!0):R<-Number.EPSILON?z<-Number.EPSILON&&(U=!0):Math.sign(N)===Math.sign(A)&&(U=!0),U?(j=-N,G=R,q=Math.sqrt(C)):(j=R,G=N,q=Math.sqrt(C/2))}return new fe(j/q,G/q)}const pe=[];for(let I=0,L=$.length,w=L-1,j=I+1;I=0;I--){const L=I/g,w=d*Math.cos(L*Math.PI/2),j=p*Math.sin(L*Math.PI/2)+_;for(let G=0,q=$.length;G=0;){const j=w;let G=w-1;G<0&&(G=I.length-1);for(let q=0,R=u+g*2;q0)&&d.push(x,v,T),(m!==i-1||l0!=e>0&&this.version++,this._anisotropy=e}get clearcoat(){return this._clearcoat}set clearcoat(e){this._clearcoat>0!=e>0&&this.version++,this._clearcoat=e}get iridescence(){return this._iridescence}set iridescence(e){this._iridescence>0!=e>0&&this.version++,this._iridescence=e}get dispersion(){return this._dispersion}set dispersion(e){this._dispersion>0!=e>0&&this.version++,this._dispersion=e}get sheen(){return this._sheen}set sheen(e){this._sheen>0!=e>0&&this.version++,this._sheen=e}get transmission(){return this._transmission}set transmission(e){this._transmission>0!=e>0&&this.version++,this._transmission=e}copy(e){return super.copy(e),this.defines={STANDARD:"",PHYSICAL:""},this.anisotropy=e.anisotropy,this.anisotropyRotation=e.anisotropyRotation,this.anisotropyMap=e.anisotropyMap,this.clearcoat=e.clearcoat,this.clearcoatMap=e.clearcoatMap,this.clearcoatRoughness=e.clearcoatRoughness,this.clearcoatRoughnessMap=e.clearcoatRoughnessMap,this.clearcoatNormalMap=e.clearcoatNormalMap,this.clearcoatNormalScale.copy(e.clearcoatNormalScale),this.dispersion=e.dispersion,this.ior=e.ior,this.iridescence=e.iridescence,this.iridescenceMap=e.iridescenceMap,this.iridescenceIOR=e.iridescenceIOR,this.iridescenceThicknessRange=[...e.iridescenceThicknessRange],this.iridescenceThicknessMap=e.iridescenceThicknessMap,this.sheen=e.sheen,this.sheenColor.copy(e.sheenColor),this.sheenColorMap=e.sheenColorMap,this.sheenRoughness=e.sheenRoughness,this.sheenRoughnessMap=e.sheenRoughnessMap,this.transmission=e.transmission,this.transmissionMap=e.transmissionMap,this.thickness=e.thickness,this.thicknessMap=e.thicknessMap,this.attenuationDistance=e.attenuationDistance,this.attenuationColor.copy(e.attenuationColor),this.specularIntensity=e.specularIntensity,this.specularIntensityMap=e.specularIntensityMap,this.specularColor.copy(e.specularColor),this.specularColorMap=e.specularColorMap,this}}class SM extends xn{constructor(e){super(),this.isMeshPhongMaterial=!0,this.type="MeshPhongMaterial",this.color=new we(16777215),this.specular=new we(1118481),this.shininess=30,this.map=null,this.lightMap=null,this.lightMapIntensity=1,this.aoMap=null,this.aoMapIntensity=1,this.emissive=new we(0),this.emissiveIntensity=1,this.emissiveMap=null,this.bumpMap=null,this.bumpScale=1,this.normalMap=null,this.normalMapType=fs,this.normalScale=new fe(1,1),this.displacementMap=null,this.displacementScale=1,this.displacementBias=0,this.specularMap=null,this.alphaMap=null,this.envMap=null,this.envMapRotation=new ei,this.combine=uc,this.reflectivity=1,this.refractionRatio=.98,this.wireframe=!1,this.wireframeLinewidth=1,this.wireframeLinecap="round",this.wireframeLinejoin="round",this.flatShading=!1,this.fog=!0,this.setValues(e)}copy(e){return super.copy(e),this.color.copy(e.color),this.specular.copy(e.specular),this.shininess=e.shininess,this.map=e.map,this.lightMap=e.lightMap,this.lightMapIntensity=e.lightMapIntensity,this.aoMap=e.aoMap,this.aoMapIntensity=e.aoMapIntensity,this.emissive.copy(e.emissive),this.emissiveMap=e.emissiveMap,this.emissiveIntensity=e.emissiveIntensity,this.bumpMap=e.bumpMap,this.bumpScale=e.bumpScale,this.normalMap=e.normalMap,this.normalMapType=e.normalMapType,this.normalScale.copy(e.normalScale),this.displacementMap=e.displacementMap,this.displacementScale=e.displacementScale,this.displacementBias=e.displacementBias,this.specularMap=e.specularMap,this.alphaMap=e.alphaMap,this.envMap=e.envMap,this.envMapRotation.copy(e.envMapRotation),this.combine=e.combine,this.reflectivity=e.reflectivity,this.refractionRatio=e.refractionRatio,this.wireframe=e.wireframe,this.wireframeLinewidth=e.wireframeLinewidth,this.wireframeLinecap=e.wireframeLinecap,this.wireframeLinejoin=e.wireframeLinejoin,this.flatShading=e.flatShading,this.fog=e.fog,this}}class MM extends xn{constructor(e){super(),this.isMeshToonMaterial=!0,this.defines={TOON:""},this.type="MeshToonMaterial",this.color=new we(16777215),this.map=null,this.gradientMap=null,this.lightMap=null,this.lightMapIntensity=1,this.aoMap=null,this.aoMapIntensity=1,this.emissive=new we(0),this.emissiveIntensity=1,this.emissiveMap=null,this.bumpMap=null,this.bumpScale=1,this.normalMap=null,this.normalMapType=fs,this.normalScale=new fe(1,1),this.displacementMap=null,this.displacementScale=1,this.displacementBias=0,this.alphaMap=null,this.wireframe=!1,this.wireframeLinewidth=1,this.wireframeLinecap="round",this.wireframeLinejoin="round",this.fog=!0,this.setValues(e)}copy(e){return super.copy(e),this.color.copy(e.color),this.map=e.map,this.gradientMap=e.gradientMap,this.lightMap=e.lightMap,this.lightMapIntensity=e.lightMapIntensity,this.aoMap=e.aoMap,this.aoMapIntensity=e.aoMapIntensity,this.emissive.copy(e.emissive),this.emissiveMap=e.emissiveMap,this.emissiveIntensity=e.emissiveIntensity,this.bumpMap=e.bumpMap,this.bumpScale=e.bumpScale,this.normalMap=e.normalMap,this.normalMapType=e.normalMapType,this.normalScale.copy(e.normalScale),this.displacementMap=e.displacementMap,this.displacementScale=e.displacementScale,this.displacementBias=e.displacementBias,this.alphaMap=e.alphaMap,this.wireframe=e.wireframe,this.wireframeLinewidth=e.wireframeLinewidth,this.wireframeLinecap=e.wireframeLinecap,this.wireframeLinejoin=e.wireframeLinejoin,this.fog=e.fog,this}}class EM extends xn{constructor(e){super(),this.isMeshNormalMaterial=!0,this.type="MeshNormalMaterial",this.bumpMap=null,this.bumpScale=1,this.normalMap=null,this.normalMapType=fs,this.normalScale=new fe(1,1),this.displacementMap=null,this.displacementScale=1,this.displacementBias=0,this.wireframe=!1,this.wireframeLinewidth=1,this.flatShading=!1,this.setValues(e)}copy(e){return super.copy(e),this.bumpMap=e.bumpMap,this.bumpScale=e.bumpScale,this.normalMap=e.normalMap,this.normalMapType=e.normalMapType,this.normalScale.copy(e.normalScale),this.displacementMap=e.displacementMap,this.displacementScale=e.displacementScale,this.displacementBias=e.displacementBias,this.wireframe=e.wireframe,this.wireframeLinewidth=e.wireframeLinewidth,this.flatShading=e.flatShading,this}}class TM extends xn{constructor(e){super(),this.isMeshLambertMaterial=!0,this.type="MeshLambertMaterial",this.color=new we(16777215),this.map=null,this.lightMap=null,this.lightMapIntensity=1,this.aoMap=null,this.aoMapIntensity=1,this.emissive=new we(0),this.emissiveIntensity=1,this.emissiveMap=null,this.bumpMap=null,this.bumpScale=1,this.normalMap=null,this.normalMapType=fs,this.normalScale=new fe(1,1),this.displacementMap=null,this.displacementScale=1,this.displacementBias=0,this.specularMap=null,this.alphaMap=null,this.envMap=null,this.envMapRotation=new ei,this.combine=uc,this.reflectivity=1,this.refractionRatio=.98,this.wireframe=!1,this.wireframeLinewidth=1,this.wireframeLinecap="round",this.wireframeLinejoin="round",this.flatShading=!1,this.fog=!0,this.setValues(e)}copy(e){return super.copy(e),this.color.copy(e.color),this.map=e.map,this.lightMap=e.lightMap,this.lightMapIntensity=e.lightMapIntensity,this.aoMap=e.aoMap,this.aoMapIntensity=e.aoMapIntensity,this.emissive.copy(e.emissive),this.emissiveMap=e.emissiveMap,this.emissiveIntensity=e.emissiveIntensity,this.bumpMap=e.bumpMap,this.bumpScale=e.bumpScale,this.normalMap=e.normalMap,this.normalMapType=e.normalMapType,this.normalScale.copy(e.normalScale),this.displacementMap=e.displacementMap,this.displacementScale=e.displacementScale,this.displacementBias=e.displacementBias,this.specularMap=e.specularMap,this.alphaMap=e.alphaMap,this.envMap=e.envMap,this.envMapRotation.copy(e.envMapRotation),this.combine=e.combine,this.reflectivity=e.reflectivity,this.refractionRatio=e.refractionRatio,this.wireframe=e.wireframe,this.wireframeLinewidth=e.wireframeLinewidth,this.wireframeLinecap=e.wireframeLinecap,this.wireframeLinejoin=e.wireframeLinejoin,this.flatShading=e.flatShading,this.fog=e.fog,this}}class Vg extends xn{constructor(e){super(),this.isMeshDepthMaterial=!0,this.type="MeshDepthMaterial",this.depthPacking=US,this.map=null,this.alphaMap=null,this.displacementMap=null,this.displacementScale=1,this.displacementBias=0,this.wireframe=!1,this.wireframeLinewidth=1,this.setValues(e)}copy(e){return super.copy(e),this.depthPacking=e.depthPacking,this.map=e.map,this.alphaMap=e.alphaMap,this.displacementMap=e.displacementMap,this.displacementScale=e.displacementScale,this.displacementBias=e.displacementBias,this.wireframe=e.wireframe,this.wireframeLinewidth=e.wireframeLinewidth,this}}class Hg extends xn{constructor(e){super(),this.isMeshDistanceMaterial=!0,this.type="MeshDistanceMaterial",this.map=null,this.alphaMap=null,this.displacementMap=null,this.displacementScale=1,this.displacementBias=0,this.setValues(e)}copy(e){return super.copy(e),this.map=e.map,this.alphaMap=e.alphaMap,this.displacementMap=e.displacementMap,this.displacementScale=e.displacementScale,this.displacementBias=e.displacementBias,this}}class wM extends xn{constructor(e){super(),this.isMeshMatcapMaterial=!0,this.defines={MATCAP:""},this.type="MeshMatcapMaterial",this.color=new we(16777215),this.matcap=null,this.map=null,this.bumpMap=null,this.bumpScale=1,this.normalMap=null,this.normalMapType=fs,this.normalScale=new fe(1,1),this.displacementMap=null,this.displacementScale=1,this.displacementBias=0,this.alphaMap=null,this.flatShading=!1,this.fog=!0,this.setValues(e)}copy(e){return super.copy(e),this.defines={MATCAP:""},this.color.copy(e.color),this.matcap=e.matcap,this.map=e.map,this.bumpMap=e.bumpMap,this.bumpScale=e.bumpScale,this.normalMap=e.normalMap,this.normalMapType=e.normalMapType,this.normalScale.copy(e.normalScale),this.displacementMap=e.displacementMap,this.displacementScale=e.displacementScale,this.displacementBias=e.displacementBias,this.alphaMap=e.alphaMap,this.flatShading=e.flatShading,this.fog=e.fog,this}}class AM extends Nn{constructor(e){super(),this.isLineDashedMaterial=!0,this.type="LineDashedMaterial",this.scale=1,this.dashSize=3,this.gapSize=1,this.setValues(e)}copy(e){return super.copy(e),this.scale=e.scale,this.dashSize=e.dashSize,this.gapSize=e.gapSize,this}}function Ks(n,e,t){return!n||!t&&n.constructor===e?n:typeof e.BYTES_PER_ELEMENT=="number"?new e(n):Array.prototype.slice.call(n)}function CM(n){return ArrayBuffer.isView(n)&&!(n instanceof DataView)}function RM(n){function e(r,s){return n[r]-n[s]}const t=n.length,i=new Array(t);for(let r=0;r!==t;++r)i[r]=r;return i.sort(e),i}function im(n,e,t){const i=n.length,r=new n.constructor(i);for(let s=0,o=0;o!==i;++s){const a=t[s]*e;for(let l=0;l!==e;++l)r[o++]=n[a+l]}return r}function Gg(n,e,t,i){let r=1,s=n[0];for(;s!==void 0&&s[i]===void 0;)s=n[r++];if(s===void 0)return;let o=s[i];if(o!==void 0)if(Array.isArray(o))do o=s[i],o!==void 0&&(e.push(s.time),t.push(...o)),s=n[r++];while(s!==void 0);else if(o.toArray!==void 0)do o=s[i],o!==void 0&&(e.push(s.time),o.toArray(t,t.length)),s=n[r++];while(s!==void 0);else do o=s[i],o!==void 0&&(e.push(s.time),t.push(o)),s=n[r++];while(s!==void 0)}function AP(n,e,t,i,r=30){const s=n.clone();s.name=e;const o=[];for(let l=0;l=i)){f.push(c.times[d]);for(let _=0;_s.tracks[l].times[0]&&(a=s.tracks[l].times[0]);for(let l=0;l=a.times[p]){const m=p*f+u,y=m+f-u;_=a.values.slice(m,y)}else{const m=a.createInterpolant(),y=u,x=f-u;m.evaluate(s),_=m.resultBuffer.slice(y,x)}l==="quaternion"&&new Wn().fromArray(_).normalize().conjugate().toArray(_);const g=c.times.length;for(let m=0;m=s)){const a=t[1];e=s)break t}o=i,i=0;break n}break e}for(;i>>1;et;)--o;if(++o,s!==0||o!==r){s>=o&&(o=Math.max(o,1),s=o-1);const a=this.getValueSize();this.times=i.slice(s,o),this.values=this.values.slice(s*a,o*a)}return this}validate(){let e=!0;const t=this.getValueSize();t-Math.floor(t)!==0&&(console.error("THREE.KeyframeTrack: Invalid value size in track.",this),e=!1);const i=this.times,r=this.values,s=i.length;s===0&&(console.error("THREE.KeyframeTrack: Track is empty.",this),e=!1);let o=null;for(let a=0;a!==s;a++){const l=i[a];if(typeof l=="number"&&isNaN(l)){console.error("THREE.KeyframeTrack: Time is not a valid number.",this,a,l),e=!1;break}if(o!==null&&o>l){console.error("THREE.KeyframeTrack: Out of order keys.",this,a,l,o),e=!1;break}o=l}if(r!==void 0&&CM(r))for(let a=0,l=r.length;a!==l;++a){const c=r[a];if(isNaN(c)){console.error("THREE.KeyframeTrack: Value is not a valid number.",this,a,c),e=!1;break}}return e}optimize(){const e=this.times.slice(),t=this.values.slice(),i=this.getValueSize(),r=this.getInterpolation()===Gu,s=e.length-1;let o=1;for(let a=1;a0){e[o]=e[s];for(let a=s*i,l=o*i,c=0;c!==i;++c)t[l+c]=t[a+c];++o}return o!==e.length?(this.times=e.slice(0,o),this.values=t.slice(0,o*i)):(this.times=e,this.values=t),this}clone(){const e=this.times.slice(),t=this.values.slice(),i=this.constructor,r=new i(this.name,e,t);return r.createInterpolant=this.createInterpolant,r}}Di.prototype.TimeBufferType=Float32Array;Di.prototype.ValueBufferType=Float32Array;Di.prototype.DefaultInterpolation=Xf;class go extends Di{constructor(e,t,i){super(e,t,i)}}go.prototype.ValueTypeName="bool";go.prototype.ValueBufferType=Array;go.prototype.DefaultInterpolation=Ol;go.prototype.InterpolantFactoryMethodLinear=void 0;go.prototype.InterpolantFactoryMethodSmooth=void 0;class Xg extends Di{}Xg.prototype.ValueTypeName="color";class Wl extends Di{}Wl.prototype.ValueTypeName="number";class LM extends yc{constructor(e,t,i,r){super(e,t,i,r)}interpolate_(e,t,i,r){const s=this.resultBuffer,o=this.sampleValues,a=this.valueSize,l=(i-t)/(r-t);let c=e*a;for(let u=c+a;c!==u;c+=4)Wn.slerpFlat(s,0,o,c-a,o,c,l);return s}}class xc extends Di{InterpolantFactoryMethodLinear(e){return new LM(this.times,this.values,this.getValueSize(),e)}}xc.prototype.ValueTypeName="quaternion";xc.prototype.InterpolantFactoryMethodSmooth=void 0;class _o extends Di{constructor(e,t,i){super(e,t,i)}}_o.prototype.ValueTypeName="string";_o.prototype.ValueBufferType=Array;_o.prototype.DefaultInterpolation=Ol;_o.prototype.InterpolantFactoryMethodLinear=void 0;_o.prototype.InterpolantFactoryMethodSmooth=void 0;class Xl extends Di{}Xl.prototype.ValueTypeName="vector";class $l{constructor(e="",t=-1,i=[],r=Ch){this.name=e,this.tracks=i,this.duration=t,this.blendMode=r,this.uuid=Zn(),this.duration<0&&this.resetDuration()}static parse(e){const t=[],i=e.tracks,r=1/(e.fps||1);for(let o=0,a=i.length;o!==a;++o)t.push(IP(i[o]).scale(r));const s=new this(e.name,e.duration,t,e.blendMode);return s.uuid=e.uuid,s}static toJSON(e){const t=[],i=e.tracks,r={name:e.name,duration:e.duration,tracks:t,uuid:e.uuid,blendMode:e.blendMode};for(let s=0,o=i.length;s!==o;++s)t.push(Di.toJSON(i[s]));return r}static CreateFromMorphTargetSequence(e,t,i,r){const s=t.length,o=[];for(let a=0;a1){const f=u[1];let h=r[f];h||(r[f]=h=[]),h.push(c)}}const o=[];for(const a in r)o.push(this.CreateFromMorphTargetSequence(a,r[a],t,i));return o}static parseAnimation(e,t){if(!e)return console.error("THREE.AnimationClip: No animation in JSONLoader data."),null;const i=function(f,h,d,p,_){if(d.length!==0){const g=[],m=[];Gg(d,g,m,p),g.length!==0&&_.push(new f(h,g,m))}},r=[],s=e.name||"default",o=e.fps||30,a=e.blendMode;let l=e.length||-1;const c=e.hierarchy||[];for(let f=0;f{t&&t(s),this.manager.itemEnd(e)},0),s;if(or[e]!==void 0){or[e].push({onLoad:t,onProgress:i,onError:r});return}or[e]=[],or[e].push({onLoad:t,onProgress:i,onError:r});const o=new Request(e,{headers:new Headers(this.requestHeader),credentials:this.withCredentials?"include":"same-origin"}),a=this.mimeType,l=this.responseType;fetch(o).then(c=>{if(c.status===200||c.status===0){if(c.status===0&&console.warn("THREE.FileLoader: HTTP Status 0 received."),typeof ReadableStream>"u"||c.body===void 0||c.body.getReader===void 0)return c;const u=or[e],f=c.body.getReader(),h=c.headers.get("X-File-Size")||c.headers.get("Content-Length"),d=h?parseInt(h):0,p=d!==0;let _=0;const g=new ReadableStream({start(m){y();function y(){f.read().then(({done:x,value:v})=>{if(x)m.close();else{_+=v.byteLength;const E=new ProgressEvent("progress",{lengthComputable:p,loaded:_,total:d});for(let T=0,M=u.length;T{m.error(x)})}}});return new Response(g)}else throw new LP(`fetch for "${c.url}" responded with ${c.status}: ${c.statusText}`,c)}).then(c=>{switch(l){case"arraybuffer":return c.arrayBuffer();case"blob":return c.blob();case"document":return c.text().then(u=>new DOMParser().parseFromString(u,a));case"json":return c.json();default:if(a===void 0)return c.text();{const f=/charset="?([^;"\s]*)"?/i.exec(a),h=f&&f[1]?f[1].toLowerCase():void 0,d=new TextDecoder(h);return c.arrayBuffer().then(p=>d.decode(p))}}}).then(c=>{gr.add(e,c);const u=or[e];delete or[e];for(let f=0,h=u.length;f{const u=or[e];if(u===void 0)throw this.manager.itemError(e),c;delete or[e];for(let f=0,h=u.length;f{this.manager.itemEnd(e)}),this.manager.itemStart(e)}setResponseType(e){return this.responseType=e,this}setMimeType(e){return this.mimeType=e,this}}class DP extends $n{constructor(e){super(e)}load(e,t,i,r){const s=this,o=new Ar(this.manager);o.setPath(this.path),o.setRequestHeader(this.requestHeader),o.setWithCredentials(this.withCredentials),o.load(e,function(a){try{t(s.parse(JSON.parse(a)))}catch(l){r?r(l):console.error(l),s.manager.itemError(e)}},i,r)}parse(e){const t=[];for(let i=0;i0:r.vertexColors=e.vertexColors),e.uniforms!==void 0)for(const s in e.uniforms){const o=e.uniforms[s];switch(r.uniforms[s]={},o.type){case"t":r.uniforms[s].value=i(o.value);break;case"c":r.uniforms[s].value=new we().setHex(o.value);break;case"v2":r.uniforms[s].value=new fe().fromArray(o.value);break;case"v3":r.uniforms[s].value=new F().fromArray(o.value);break;case"v4":r.uniforms[s].value=new ht().fromArray(o.value);break;case"m3":r.uniforms[s].value=new et().fromArray(o.value);break;case"m4":r.uniforms[s].value=new Xe().fromArray(o.value);break;default:r.uniforms[s].value=o.value}}if(e.defines!==void 0&&(r.defines=e.defines),e.vertexShader!==void 0&&(r.vertexShader=e.vertexShader),e.fragmentShader!==void 0&&(r.fragmentShader=e.fragmentShader),e.glslVersion!==void 0&&(r.glslVersion=e.glslVersion),e.extensions!==void 0)for(const s in e.extensions)r.extensions[s]=e.extensions[s];if(e.lights!==void 0&&(r.lights=e.lights),e.clipping!==void 0&&(r.clipping=e.clipping),e.size!==void 0&&(r.size=e.size),e.sizeAttenuation!==void 0&&(r.sizeAttenuation=e.sizeAttenuation),e.map!==void 0&&(r.map=i(e.map)),e.matcap!==void 0&&(r.matcap=i(e.matcap)),e.alphaMap!==void 0&&(r.alphaMap=i(e.alphaMap)),e.bumpMap!==void 0&&(r.bumpMap=i(e.bumpMap)),e.bumpScale!==void 0&&(r.bumpScale=e.bumpScale),e.normalMap!==void 0&&(r.normalMap=i(e.normalMap)),e.normalMapType!==void 0&&(r.normalMapType=e.normalMapType),e.normalScale!==void 0){let s=e.normalScale;Array.isArray(s)===!1&&(s=[s,s]),r.normalScale=new fe().fromArray(s)}return e.displacementMap!==void 0&&(r.displacementMap=i(e.displacementMap)),e.displacementScale!==void 0&&(r.displacementScale=e.displacementScale),e.displacementBias!==void 0&&(r.displacementBias=e.displacementBias),e.roughnessMap!==void 0&&(r.roughnessMap=i(e.roughnessMap)),e.metalnessMap!==void 0&&(r.metalnessMap=i(e.metalnessMap)),e.emissiveMap!==void 0&&(r.emissiveMap=i(e.emissiveMap)),e.emissiveIntensity!==void 0&&(r.emissiveIntensity=e.emissiveIntensity),e.specularMap!==void 0&&(r.specularMap=i(e.specularMap)),e.specularIntensityMap!==void 0&&(r.specularIntensityMap=i(e.specularIntensityMap)),e.specularColorMap!==void 0&&(r.specularColorMap=i(e.specularColorMap)),e.envMap!==void 0&&(r.envMap=i(e.envMap)),e.envMapRotation!==void 0&&r.envMapRotation.fromArray(e.envMapRotation),e.envMapIntensity!==void 0&&(r.envMapIntensity=e.envMapIntensity),e.reflectivity!==void 0&&(r.reflectivity=e.reflectivity),e.refractionRatio!==void 0&&(r.refractionRatio=e.refractionRatio),e.lightMap!==void 0&&(r.lightMap=i(e.lightMap)),e.lightMapIntensity!==void 0&&(r.lightMapIntensity=e.lightMapIntensity),e.aoMap!==void 0&&(r.aoMap=i(e.aoMap)),e.aoMapIntensity!==void 0&&(r.aoMapIntensity=e.aoMapIntensity),e.gradientMap!==void 0&&(r.gradientMap=i(e.gradientMap)),e.clearcoatMap!==void 0&&(r.clearcoatMap=i(e.clearcoatMap)),e.clearcoatRoughnessMap!==void 0&&(r.clearcoatRoughnessMap=i(e.clearcoatRoughnessMap)),e.clearcoatNormalMap!==void 0&&(r.clearcoatNormalMap=i(e.clearcoatNormalMap)),e.clearcoatNormalScale!==void 0&&(r.clearcoatNormalScale=new fe().fromArray(e.clearcoatNormalScale)),e.iridescenceMap!==void 0&&(r.iridescenceMap=i(e.iridescenceMap)),e.iridescenceThicknessMap!==void 0&&(r.iridescenceThicknessMap=i(e.iridescenceThicknessMap)),e.transmissionMap!==void 0&&(r.transmissionMap=i(e.transmissionMap)),e.thicknessMap!==void 0&&(r.thicknessMap=i(e.thicknessMap)),e.anisotropyMap!==void 0&&(r.anisotropyMap=i(e.anisotropyMap)),e.sheenColorMap!==void 0&&(r.sheenColorMap=i(e.sheenColorMap)),e.sheenRoughnessMap!==void 0&&(r.sheenRoughnessMap=i(e.sheenRoughnessMap)),r}setTextures(e){return this.textures=e,this}createMaterialFromType(e){return Qh.createMaterialFromType(e)}static createMaterialFromType(e){const t={ShadowMaterial:yM,SpriteMaterial:Pg,RawShaderMaterial:xM,ShaderMaterial:Ri,PointsMaterial:Lg,MeshPhysicalMaterial:bM,MeshStandardMaterial:zg,MeshPhongMaterial:SM,MeshToonMaterial:MM,MeshNormalMaterial:EM,MeshLambertMaterial:TM,MeshDepthMaterial:Vg,MeshDistanceMaterial:Hg,MeshBasicMaterial:Pr,MeshMatcapMaterial:wM,LineDashedMaterial:AM,LineBasicMaterial:Nn,Material:xn};return new t[e]}}class rm{static decodeText(e){if(console.warn("THREE.LoaderUtils: decodeText() has been deprecated with r165 and will be removed with r175. Use TextDecoder instead."),typeof TextDecoder<"u")return new TextDecoder().decode(e);let t="";for(let i=0,r=e.length;i0){const l=new $g(t);s=new ql(l),s.setCrossOrigin(this.crossOrigin);for(let c=0,u=e.length;c0){r=new ql(this.manager),r.setCrossOrigin(this.crossOrigin);for(let o=0,a=e.length;o{const g=new On;g.min.fromArray(_.boxMin),g.max.fromArray(_.boxMax);const m=new _n;return m.radius=_.sphereRadius,m.center.fromArray(_.sphereCenter),{boxInitialized:_.boxInitialized,box:g,sphereInitialized:_.sphereInitialized,sphere:m}}),o._maxInstanceCount=e.maxInstanceCount,o._maxVertexCount=e.maxVertexCount,o._maxIndexCount=e.maxIndexCount,o._geometryInitialized=e.geometryInitialized,o._geometryCount=e.geometryCount,o._matricesTexture=c(e.matricesTexture.uuid),e.colorsTexture!==void 0&&(o._colorsTexture=c(e.colorsTexture.uuid));break;case"LOD":o=new nM;break;case"Line":o=new ss(a(e.geometry),l(e.material));break;case"LineLoop":o=new oM(a(e.geometry),l(e.material));break;case"LineSegments":o=new Ki(a(e.geometry),l(e.material));break;case"PointCloud":case"Points":o=new aM(a(e.geometry),l(e.material));break;case"Sprite":o=new tM(l(e.material));break;case"Group":o=new qo;break;case"Bone":o=new Ig;break;default:o=new ct}if(o.uuid=e.uuid,e.name!==void 0&&(o.name=e.name),e.matrix!==void 0?(o.matrix.fromArray(e.matrix),e.matrixAutoUpdate!==void 0&&(o.matrixAutoUpdate=e.matrixAutoUpdate),o.matrixAutoUpdate&&o.matrix.decompose(o.position,o.quaternion,o.scale)):(e.position!==void 0&&o.position.fromArray(e.position),e.rotation!==void 0&&o.rotation.fromArray(e.rotation),e.quaternion!==void 0&&o.quaternion.fromArray(e.quaternion),e.scale!==void 0&&o.scale.fromArray(e.scale)),e.up!==void 0&&o.up.fromArray(e.up),e.castShadow!==void 0&&(o.castShadow=e.castShadow),e.receiveShadow!==void 0&&(o.receiveShadow=e.receiveShadow),e.shadow&&(e.shadow.intensity!==void 0&&(o.shadow.intensity=e.shadow.intensity),e.shadow.bias!==void 0&&(o.shadow.bias=e.shadow.bias),e.shadow.normalBias!==void 0&&(o.shadow.normalBias=e.shadow.normalBias),e.shadow.radius!==void 0&&(o.shadow.radius=e.shadow.radius),e.shadow.mapSize!==void 0&&o.shadow.mapSize.fromArray(e.shadow.mapSize),e.shadow.camera!==void 0&&(o.shadow.camera=this.parseObject(e.shadow.camera))),e.visible!==void 0&&(o.visible=e.visible),e.frustumCulled!==void 0&&(o.frustumCulled=e.frustumCulled),e.renderOrder!==void 0&&(o.renderOrder=e.renderOrder),e.userData!==void 0&&(o.userData=e.userData),e.layers!==void 0&&(o.layers.mask=e.layers),e.children!==void 0){const h=e.children;for(let d=0;d"u"&&console.warn("THREE.ImageBitmapLoader: createImageBitmap() not supported."),typeof fetch>"u"&&console.warn("THREE.ImageBitmapLoader: fetch() not supported."),this.options={premultiplyAlpha:"none"}}setOptions(e){return this.options=e,this}load(e,t,i,r){e===void 0&&(e=""),this.path!==void 0&&(e=this.path+e),e=this.manager.resolveURL(e);const s=this,o=gr.get(e);if(o!==void 0){if(s.manager.itemStart(e),o.then){o.then(c=>{t&&t(c),s.manager.itemEnd(e)}).catch(c=>{r&&r(c)});return}return setTimeout(function(){t&&t(o),s.manager.itemEnd(e)},0),o}const a={};a.credentials=this.crossOrigin==="anonymous"?"same-origin":"include",a.headers=this.requestHeader;const l=fetch(e,a).then(function(c){return c.blob()}).then(function(c){return createImageBitmap(c,Object.assign(s.options,{colorSpaceConversion:"none"}))}).then(function(c){return gr.add(e,c),t&&t(c),s.manager.itemEnd(e),c}).catch(function(c){r&&r(c),gr.remove(e),s.manager.itemError(e),s.manager.itemEnd(e)});gr.add(e,l),s.manager.itemStart(e)}}let mu;class Yg{static getContext(){return mu===void 0&&(mu=new(window.AudioContext||window.webkitAudioContext)),mu}static setContext(e){mu=e}}class WP extends $n{constructor(e){super(e)}load(e,t,i,r){const s=this,o=new Ar(this.manager);o.setResponseType("arraybuffer"),o.setPath(this.path),o.setRequestHeader(this.requestHeader),o.setWithCredentials(this.withCredentials),o.load(e,function(l){try{const c=l.slice(0);Yg.getContext().decodeAudioData(c,function(f){t(f)}).catch(a)}catch(c){a(c)}},i,r);function a(l){r?r(l):console.error(l),s.manager.itemError(e)}}}const g0=new Xe,_0=new Xe,Ps=new Xe;class XP{constructor(){this.type="StereoCamera",this.aspect=1,this.eyeSep=.064,this.cameraL=new $t,this.cameraL.layers.enable(1),this.cameraL.matrixAutoUpdate=!1,this.cameraR=new $t,this.cameraR.layers.enable(2),this.cameraR.matrixAutoUpdate=!1,this._cache={focus:null,fov:null,aspect:null,near:null,far:null,zoom:null,eyeSep:null}}update(e){const t=this._cache;if(t.focus!==e.focus||t.fov!==e.fov||t.aspect!==e.aspect*this.aspect||t.near!==e.near||t.far!==e.far||t.zoom!==e.zoom||t.eyeSep!==this.eyeSep){t.focus=e.focus,t.fov=e.fov,t.aspect=e.aspect*this.aspect,t.near=e.near,t.far=e.far,t.zoom=e.zoom,t.eyeSep=this.eyeSep,Ps.copy(e.projectionMatrix);const r=t.eyeSep/2,s=r*t.near/t.focus,o=t.near*Math.tan(no*t.fov*.5)/t.zoom;let a,l;_0.elements[12]=-r,g0.elements[12]=r,a=-o*t.aspect+s,l=o*t.aspect+s,Ps.elements[0]=2*t.near/(l-a),Ps.elements[8]=(l+a)/(l-a),this.cameraL.projectionMatrix.copy(Ps),a=-o*t.aspect-s,l=o*t.aspect-s,Ps.elements[0]=2*t.near/(l-a),Ps.elements[8]=(l+a)/(l-a),this.cameraR.projectionMatrix.copy(Ps)}this.cameraL.matrixWorld.copy(e.matrixWorld).multiply(_0),this.cameraR.matrixWorld.copy(e.matrixWorld).multiply(g0)}}class WM extends $t{constructor(e=[]){super(),this.isArrayCamera=!0,this.cameras=e,this.index=0}}class ed{constructor(e=!0){this.autoStart=e,this.startTime=0,this.oldTime=0,this.elapsedTime=0,this.running=!1}start(){this.startTime=v0(),this.oldTime=this.startTime,this.elapsedTime=0,this.running=!0}stop(){this.getElapsedTime(),this.running=!1,this.autoStart=!1}getElapsedTime(){return this.getDelta(),this.elapsedTime}getDelta(){let e=0;if(this.autoStart&&!this.running)return this.start(),0;if(this.running){const t=v0();e=(t-this.oldTime)/1e3,this.oldTime=t,this.elapsedTime+=e}return e}}function v0(){return performance.now()}const Is=new F,y0=new Wn,$P=new F,Ls=new F;class qP extends ct{constructor(){super(),this.type="AudioListener",this.context=Yg.getContext(),this.gain=this.context.createGain(),this.gain.connect(this.context.destination),this.filter=null,this.timeDelta=0,this._clock=new ed}getInput(){return this.gain}removeFilter(){return this.filter!==null&&(this.gain.disconnect(this.filter),this.filter.disconnect(this.context.destination),this.gain.connect(this.context.destination),this.filter=null),this}getFilter(){return this.filter}setFilter(e){return this.filter!==null?(this.gain.disconnect(this.filter),this.filter.disconnect(this.context.destination)):this.gain.disconnect(this.context.destination),this.filter=e,this.gain.connect(this.filter),this.filter.connect(this.context.destination),this}getMasterVolume(){return this.gain.gain.value}setMasterVolume(e){return this.gain.gain.setTargetAtTime(e,this.context.currentTime,.01),this}updateMatrixWorld(e){super.updateMatrixWorld(e);const t=this.context.listener,i=this.up;if(this.timeDelta=this._clock.getDelta(),this.matrixWorld.decompose(Is,y0,$P),Ls.set(0,0,-1).applyQuaternion(y0),t.positionX){const r=this.context.currentTime+this.timeDelta;t.positionX.linearRampToValueAtTime(Is.x,r),t.positionY.linearRampToValueAtTime(Is.y,r),t.positionZ.linearRampToValueAtTime(Is.z,r),t.forwardX.linearRampToValueAtTime(Ls.x,r),t.forwardY.linearRampToValueAtTime(Ls.y,r),t.forwardZ.linearRampToValueAtTime(Ls.z,r),t.upX.linearRampToValueAtTime(i.x,r),t.upY.linearRampToValueAtTime(i.y,r),t.upZ.linearRampToValueAtTime(i.z,r)}else t.setPosition(Is.x,Is.y,Is.z),t.setOrientation(Ls.x,Ls.y,Ls.z,i.x,i.y,i.z)}}class XM extends ct{constructor(e){super(),this.type="Audio",this.listener=e,this.context=e.context,this.gain=this.context.createGain(),this.gain.connect(e.getInput()),this.autoplay=!1,this.buffer=null,this.detune=0,this.loop=!1,this.loopStart=0,this.loopEnd=0,this.offset=0,this.duration=void 0,this.playbackRate=1,this.isPlaying=!1,this.hasPlaybackControl=!0,this.source=null,this.sourceType="empty",this._startedAt=0,this._progress=0,this._connected=!1,this.filters=[]}getOutput(){return this.gain}setNodeSource(e){return this.hasPlaybackControl=!1,this.sourceType="audioNode",this.source=e,this.connect(),this}setMediaElementSource(e){return this.hasPlaybackControl=!1,this.sourceType="mediaNode",this.source=this.context.createMediaElementSource(e),this.connect(),this}setMediaStreamSource(e){return this.hasPlaybackControl=!1,this.sourceType="mediaStreamNode",this.source=this.context.createMediaStreamSource(e),this.connect(),this}setBuffer(e){return this.buffer=e,this.sourceType="buffer",this.autoplay&&this.play(),this}play(e=0){if(this.isPlaying===!0){console.warn("THREE.Audio: Audio is already playing.");return}if(this.hasPlaybackControl===!1){console.warn("THREE.Audio: this Audio has no playback control.");return}this._startedAt=this.context.currentTime+e;const t=this.context.createBufferSource();return t.buffer=this.buffer,t.loop=this.loop,t.loopStart=this.loopStart,t.loopEnd=this.loopEnd,t.onended=this.onEnded.bind(this),t.start(this._startedAt,this._progress+this.offset,this.duration),this.isPlaying=!0,this.source=t,this.setDetune(this.detune),this.setPlaybackRate(this.playbackRate),this.connect()}pause(){if(this.hasPlaybackControl===!1){console.warn("THREE.Audio: this Audio has no playback control.");return}return this.isPlaying===!0&&(this._progress+=Math.max(this.context.currentTime-this._startedAt,0)*this.playbackRate,this.loop===!0&&(this._progress=this._progress%(this.duration||this.buffer.duration)),this.source.stop(),this.source.onended=null,this.isPlaying=!1),this}stop(e=0){if(this.hasPlaybackControl===!1){console.warn("THREE.Audio: this Audio has no playback control.");return}return this._progress=0,this.source!==null&&(this.source.stop(this.context.currentTime+e),this.source.onended=null),this.isPlaying=!1,this}connect(){if(this.filters.length>0){this.source.connect(this.filters[0]);for(let e=1,t=this.filters.length;e0){this.source.disconnect(this.filters[0]);for(let e=1,t=this.filters.length;e0&&this._mixBufferRegionAdditive(i,r,this._addIndex*t,1,t);for(let l=t,c=t+t;l!==c;++l)if(i[l]!==i[l+t]){a.setValue(i,r);break}}saveOriginalState(){const e=this.binding,t=this.buffer,i=this.valueSize,r=i*this._origIndex;e.getValue(t,r);for(let s=i,o=r;s!==o;++s)t[s]=t[r+s%i];this._setIdentity(),this.cumulativeWeight=0,this.cumulativeWeightAdditive=0}restoreOriginalState(){const e=this.valueSize*3;this.binding.setValue(this.buffer,e)}_setAdditiveIdentityNumeric(){const e=this._addIndex*this.valueSize,t=e+this.valueSize;for(let i=e;i=.5)for(let o=0;o!==s;++o)e[t+o]=e[i+o]}_slerp(e,t,i,r){Wn.slerpFlat(e,t,e,t,e,i,r)}_slerpAdditive(e,t,i,r,s){const o=this._workIndex*s;Wn.multiplyQuaternionsFlat(e,o,e,t,e,i),Wn.slerpFlat(e,t,e,t,e,o,r)}_lerp(e,t,i,r,s){const o=1-r;for(let a=0;a!==s;++a){const l=t+a;e[l]=e[l]*o+e[i+a]*r}}_lerpAdditive(e,t,i,r,s){for(let o=0;o!==s;++o){const a=t+o;e[a]=e[a]+e[i+o]*r}}}const jg="\\[\\]\\.:\\/",ZP=new RegExp("["+jg+"]","g"),Kg="[^"+jg+"]",JP="[^"+jg.replace("\\.","")+"]",QP=/((?:WC+[\/:])*)/.source.replace("WC",Kg),eI=/(WCOD+)?/.source.replace("WCOD",JP),tI=/(?:\.(WC+)(?:\[(.+)\])?)?/.source.replace("WC",Kg),nI=/\.(WC+)(?:\[(.+)\])?/.source.replace("WC",Kg),iI=new RegExp("^"+QP+eI+tI+nI+"$"),rI=["material","materials","bones","map"];class sI{constructor(e,t,i){const r=i||ft.parseTrackName(t);this._targetGroup=e,this._bindings=e.subscribe_(t,r)}getValue(e,t){this.bind();const i=this._targetGroup.nCachedObjects_,r=this._bindings[i];r!==void 0&&r.getValue(e,t)}setValue(e,t){const i=this._bindings;for(let r=this._targetGroup.nCachedObjects_,s=i.length;r!==s;++r)i[r].setValue(e,t)}bind(){const e=this._bindings;for(let t=this._targetGroup.nCachedObjects_,i=e.length;t!==i;++t)e[t].bind()}unbind(){const e=this._bindings;for(let t=this._targetGroup.nCachedObjects_,i=e.length;t!==i;++t)e[t].unbind()}}class ft{constructor(e,t,i){this.path=t,this.parsedPath=i||ft.parseTrackName(t),this.node=ft.findNode(e,this.parsedPath.nodeName),this.rootNode=e,this.getValue=this._getValue_unbound,this.setValue=this._setValue_unbound}static create(e,t,i){return e&&e.isAnimationObjectGroup?new ft.Composite(e,t,i):new ft(e,t,i)}static sanitizeNodeName(e){return e.replace(/\s/g,"_").replace(ZP,"")}static parseTrackName(e){const t=iI.exec(e);if(t===null)throw new Error("PropertyBinding: Cannot parse trackName: "+e);const i={nodeName:t[2],objectName:t[3],objectIndex:t[4],propertyName:t[5],propertyIndex:t[6]},r=i.nodeName&&i.nodeName.lastIndexOf(".");if(r!==void 0&&r!==-1){const s=i.nodeName.substring(r+1);rI.indexOf(s)!==-1&&(i.nodeName=i.nodeName.substring(0,r),i.objectName=s)}if(i.propertyName===null||i.propertyName.length===0)throw new Error("PropertyBinding: can not parse propertyName from trackName: "+e);return i}static findNode(e,t){if(t===void 0||t===""||t==="."||t===-1||t===e.name||t===e.uuid)return e;if(e.skeleton){const i=e.skeleton.getBoneByName(t);if(i!==void 0)return i}if(e.children){const i=function(s){for(let o=0;o=s){const f=s++,h=e[f];t[h.uuid]=u,e[u]=h,t[c]=f,e[f]=l;for(let d=0,p=r;d!==p;++d){const _=i[d],g=_[f],m=_[u];_[u]=g,_[f]=m}}}this.nCachedObjects_=s}uncache(){const e=this._objects,t=this._indicesByUUID,i=this._bindings,r=i.length;let s=this.nCachedObjects_,o=e.length;for(let a=0,l=arguments.length;a!==l;++a){const c=arguments[a],u=c.uuid,f=t[u];if(f!==void 0)if(delete t[u],f0&&(t[d.uuid]=f),e[f]=d,e.pop();for(let p=0,_=r;p!==_;++p){const g=i[p];g[f]=g[h],g.pop()}}}this.nCachedObjects_=s}subscribe_(e,t){const i=this._bindingsIndicesByPath;let r=i[e];const s=this._bindings;if(r!==void 0)return s[r];const o=this._paths,a=this._parsedPaths,l=this._objects,c=l.length,u=this.nCachedObjects_,f=new Array(c);r=s.length,i[e]=r,o.push(e),a.push(t),s.push(f);for(let h=u,d=l.length;h!==d;++h){const p=l[h];f[h]=new ft(p,e,t)}return f}unsubscribe_(e){const t=this._bindingsIndicesByPath,i=t[e];if(i!==void 0){const r=this._paths,s=this._parsedPaths,o=this._bindings,a=o.length-1,l=o[a],c=e[a];t[c]=i,o[i]=l,o.pop(),s[i]=s[a],s.pop(),r[i]=r[a],r.pop()}}}class qM{constructor(e,t,i=null,r=t.blendMode){this._mixer=e,this._clip=t,this._localRoot=i,this.blendMode=r;const s=t.tracks,o=s.length,a=new Array(o),l={endingStart:Ys,endingEnd:Ys};for(let c=0;c!==o;++c){const u=s[c].createInterpolant(null);a[c]=u,u.settings=l}this._interpolantSettings=l,this._interpolants=a,this._propertyBindings=new Array(o),this._cacheIndex=null,this._byClipCacheIndex=null,this._timeScaleInterpolant=null,this._weightInterpolant=null,this.loop=OS,this._loopCount=-1,this._startTime=null,this.time=0,this.timeScale=1,this._effectiveTimeScale=1,this.weight=1,this._effectiveWeight=1,this.repetitions=1/0,this.paused=!1,this.enabled=!0,this.clampWhenFinished=!1,this.zeroSlopeAtStart=!0,this.zeroSlopeAtEnd=!0}play(){return this._mixer._activateAction(this),this}stop(){return this._mixer._deactivateAction(this),this.reset()}reset(){return this.paused=!1,this.enabled=!0,this.time=0,this._loopCount=-1,this._startTime=null,this.stopFading().stopWarping()}isRunning(){return this.enabled&&!this.paused&&this.timeScale!==0&&this._startTime===null&&this._mixer._isActiveAction(this)}isScheduled(){return this._mixer._isActiveAction(this)}startAt(e){return this._startTime=e,this}setLoop(e,t){return this.loop=e,this.repetitions=t,this}setEffectiveWeight(e){return this.weight=e,this._effectiveWeight=this.enabled?e:0,this.stopFading()}getEffectiveWeight(){return this._effectiveWeight}fadeIn(e){return this._scheduleFading(e,0,1)}fadeOut(e){return this._scheduleFading(e,1,0)}crossFadeFrom(e,t,i){if(e.fadeOut(t),this.fadeIn(t),i){const r=this._clip.duration,s=e._clip.duration,o=s/r,a=r/s;e.warp(1,o,t),this.warp(a,1,t)}return this}crossFadeTo(e,t,i){return e.crossFadeFrom(this,t,i)}stopFading(){const e=this._weightInterpolant;return e!==null&&(this._weightInterpolant=null,this._mixer._takeBackControlInterpolant(e)),this}setEffectiveTimeScale(e){return this.timeScale=e,this._effectiveTimeScale=this.paused?0:e,this.stopWarping()}getEffectiveTimeScale(){return this._effectiveTimeScale}setDuration(e){return this.timeScale=this._clip.duration/e,this.stopWarping()}syncWith(e){return this.time=e.time,this.timeScale=e.timeScale,this.stopWarping()}halt(e){return this.warp(this._effectiveTimeScale,0,e)}warp(e,t,i){const r=this._mixer,s=r.time,o=this.timeScale;let a=this._timeScaleInterpolant;a===null&&(a=r._lendControlInterpolant(),this._timeScaleInterpolant=a);const l=a.parameterPositions,c=a.sampleValues;return l[0]=s,l[1]=s+i,c[0]=e/o,c[1]=t/o,this}stopWarping(){const e=this._timeScaleInterpolant;return e!==null&&(this._timeScaleInterpolant=null,this._mixer._takeBackControlInterpolant(e)),this}getMixer(){return this._mixer}getClip(){return this._clip}getRoot(){return this._localRoot||this._mixer._root}_update(e,t,i,r){if(!this.enabled){this._updateWeight(e);return}const s=this._startTime;if(s!==null){const l=(e-s)*i;l<0||i===0?t=0:(this._startTime=null,t=i*l)}t*=this._updateTimeScale(e);const o=this._updateTime(t),a=this._updateWeight(e);if(a>0){const l=this._interpolants,c=this._propertyBindings;switch(this.blendMode){case Eg:for(let u=0,f=l.length;u!==f;++u)l[u].evaluate(o),c[u].accumulateAdditive(a);break;case Ch:default:for(let u=0,f=l.length;u!==f;++u)l[u].evaluate(o),c[u].accumulate(r,a)}}}_updateWeight(e){let t=0;if(this.enabled){t=this.weight;const i=this._weightInterpolant;if(i!==null){const r=i.evaluate(e)[0];t*=r,e>i.parameterPositions[1]&&(this.stopFading(),r===0&&(this.enabled=!1))}}return this._effectiveWeight=t,t}_updateTimeScale(e){let t=0;if(!this.paused){t=this.timeScale;const i=this._timeScaleInterpolant;if(i!==null){const r=i.evaluate(e)[0];t*=r,e>i.parameterPositions[1]&&(this.stopWarping(),t===0?this.paused=!0:this.timeScale=t)}}return this._effectiveTimeScale=t,t}_updateTime(e){const t=this._clip.duration,i=this.loop;let r=this.time+e,s=this._loopCount;const o=i===NS;if(e===0)return s===-1?r:o&&(s&1)===1?t-r:r;if(i===DS){s===-1&&(this._loopCount=0,this._setEndings(!0,!0,!1));e:{if(r>=t)r=t;else if(r<0)r=0;else{this.time=r;break e}this.clampWhenFinished?this.paused=!0:this.enabled=!1,this.time=r,this._mixer.dispatchEvent({type:"finished",action:this,direction:e<0?-1:1})}}else{if(s===-1&&(e>=0?(s=0,this._setEndings(!0,this.repetitions===0,o)):this._setEndings(this.repetitions===0,!0,o)),r>=t||r<0){const a=Math.floor(r/t);r-=t*a,s+=Math.abs(a);const l=this.repetitions-s;if(l<=0)this.clampWhenFinished?this.paused=!0:this.enabled=!1,r=e>0?t:0,this.time=r,this._mixer.dispatchEvent({type:"finished",action:this,direction:e>0?1:-1});else{if(l===1){const c=e<0;this._setEndings(c,!c,o)}else this._setEndings(!1,!1,o);this._loopCount=s,this.time=r,this._mixer.dispatchEvent({type:"loop",action:this,loopDelta:a})}}else this.time=r;if(o&&(s&1)===1)return t-r}return r}_setEndings(e,t,i){const r=this._interpolantSettings;i?(r.endingStart=js,r.endingEnd=js):(e?r.endingStart=this.zeroSlopeAtStart?js:Ys:r.endingStart=Nl,t?r.endingEnd=this.zeroSlopeAtEnd?js:Ys:r.endingEnd=Nl)}_scheduleFading(e,t,i){const r=this._mixer,s=r.time;let o=this._weightInterpolant;o===null&&(o=r._lendControlInterpolant(),this._weightInterpolant=o);const a=o.parameterPositions,l=o.sampleValues;return a[0]=s,l[0]=t,a[1]=s+e,l[1]=i,this}}const aI=new Float32Array(1);class lI extends ji{constructor(e){super(),this._root=e,this._initMemoryManager(),this._accuIndex=0,this.time=0,this.timeScale=1}_bindAction(e,t){const i=e._localRoot||this._root,r=e._clip.tracks,s=r.length,o=e._propertyBindings,a=e._interpolants,l=i.uuid,c=this._bindingsByRootAndName;let u=c[l];u===void 0&&(u={},c[l]=u);for(let f=0;f!==s;++f){const h=r[f],d=h.name;let p=u[d];if(p!==void 0)++p.referenceCount,o[f]=p;else{if(p=o[f],p!==void 0){p._cacheIndex===null&&(++p.referenceCount,this._addInactiveBinding(p,l,d));continue}const _=t&&t._propertyBindings[f].binding.parsedPath;p=new $M(ft.create(i,d,_),h.ValueTypeName,h.getValueSize()),++p.referenceCount,this._addInactiveBinding(p,l,d),o[f]=p}a[f].resultBuffer=p.buffer}}_activateAction(e){if(!this._isActiveAction(e)){if(e._cacheIndex===null){const i=(e._localRoot||this._root).uuid,r=e._clip.uuid,s=this._actionsByClip[r];this._bindAction(e,s&&s.knownActions[0]),this._addInactiveAction(e,r,i)}const t=e._propertyBindings;for(let i=0,r=t.length;i!==r;++i){const s=t[i];s.useCount++===0&&(this._lendBinding(s),s.saveOriginalState())}this._lendAction(e)}}_deactivateAction(e){if(this._isActiveAction(e)){const t=e._propertyBindings;for(let i=0,r=t.length;i!==r;++i){const s=t[i];--s.useCount===0&&(s.restoreOriginalState(),this._takeBackBinding(s))}this._takeBackAction(e)}}_initMemoryManager(){this._actions=[],this._nActiveActions=0,this._actionsByClip={},this._bindings=[],this._nActiveBindings=0,this._bindingsByRootAndName={},this._controlInterpolants=[],this._nActiveControlInterpolants=0;const e=this;this.stats={actions:{get total(){return e._actions.length},get inUse(){return e._nActiveActions}},bindings:{get total(){return e._bindings.length},get inUse(){return e._nActiveBindings}},controlInterpolants:{get total(){return e._controlInterpolants.length},get inUse(){return e._nActiveControlInterpolants}}}}_isActiveAction(e){const t=e._cacheIndex;return t!==null&&t=0;--i)e[i].stop();return this}update(e){e*=this.timeScale;const t=this._actions,i=this._nActiveActions,r=this.time+=e,s=Math.sign(e),o=this._accuIndex^=1;for(let c=0;c!==i;++c)t[c]._update(r,e,s,o);const a=this._bindings,l=this._nActiveBindings;for(let c=0;c!==l;++c)a[c].apply(o);return this}setTime(e){this.time=0;for(let t=0;t=this.min.x&&e.x<=this.max.x&&e.y>=this.min.y&&e.y<=this.max.y}containsBox(e){return this.min.x<=e.min.x&&e.max.x<=this.max.x&&this.min.y<=e.min.y&&e.max.y<=this.max.y}getParameter(e,t){return t.set((e.x-this.min.x)/(this.max.x-this.min.x),(e.y-this.min.y)/(this.max.y-this.min.y))}intersectsBox(e){return e.max.x>=this.min.x&&e.min.x<=this.max.x&&e.max.y>=this.min.y&&e.min.y<=this.max.y}clampPoint(e,t){return t.copy(e).clamp(this.min,this.max)}distanceToPoint(e){return this.clampPoint(e,M0).distanceTo(e)}intersect(e){return this.min.max(e.min),this.max.min(e.max),this.isEmpty()&&this.makeEmpty(),this}union(e){return this.min.min(e.min),this.max.max(e.max),this}translate(e){return this.min.add(e),this.max.add(e),this}equals(e){return e.min.equals(this.min)&&e.max.equals(this.max)}}const E0=new F,gu=new F;class vI{constructor(e=new F,t=new F){this.start=e,this.end=t}set(e,t){return this.start.copy(e),this.end.copy(t),this}copy(e){return this.start.copy(e.start),this.end.copy(e.end),this}getCenter(e){return e.addVectors(this.start,this.end).multiplyScalar(.5)}delta(e){return e.subVectors(this.end,this.start)}distanceSq(){return this.start.distanceToSquared(this.end)}distance(){return this.start.distanceTo(this.end)}at(e,t){return this.delta(t).multiplyScalar(e).add(this.start)}closestPointToPointParameter(e,t){E0.subVectors(e,this.start),gu.subVectors(this.end,this.start);const i=gu.dot(gu);let s=gu.dot(E0)/i;return t&&(s=Ze(s,0,1)),s}closestPointToPoint(e,t,i){const r=this.closestPointToPointParameter(e,t);return this.delta(i).multiplyScalar(r).add(this.start)}applyMatrix4(e){return this.start.applyMatrix4(e),this.end.applyMatrix4(e),this}equals(e){return e.start.equals(this.start)&&e.end.equals(this.end)}clone(){return new this.constructor().copy(this)}}const T0=new F;class yI extends ct{constructor(e,t){super(),this.light=e,this.matrixAutoUpdate=!1,this.color=t,this.type="SpotLightHelper";const i=new st,r=[0,0,0,0,0,1,0,0,0,1,0,1,0,0,0,-1,0,1,0,0,0,0,1,1,0,0,0,0,-1,1];for(let o=0,a=1,l=32;o1)for(let f=0;f.99999)this.quaternion.set(0,0,0,1);else if(e.y<-.99999)this.quaternion.set(1,0,0,0);else{P0.set(e.z,0,-e.x).normalize();const t=Math.acos(e.y);this.quaternion.setFromAxisAngle(P0,t)}}setLength(e,t=e*.2,i=t*.2){this.line.scale.set(1,Math.max(1e-4,e-t),1),this.line.updateMatrix(),this.cone.scale.set(i,t,i),this.cone.position.y=e,this.cone.updateMatrix()}setColor(e){this.line.material.color.set(e),this.cone.material.color.set(e)}copy(e){return super.copy(e,!1),this.line.copy(e.line),this.cone.copy(e.cone),this}dispose(){this.line.geometry.dispose(),this.line.material.dispose(),this.cone.geometry.dispose(),this.cone.material.dispose()}}class LI extends Ki{constructor(e=1){const t=[0,0,0,e,0,0,0,0,0,0,e,0,0,0,0,0,0,e],i=[1,0,0,1,.6,0,0,1,0,.6,1,0,0,0,1,0,.6,1],r=new st;r.setAttribute("position",new Ue(t,3)),r.setAttribute("color",new Ue(i,3));const s=new Nn({vertexColors:!0,toneMapped:!1});super(r,s),this.type="AxesHelper"}setColors(e,t,i){const r=new we,s=this.geometry.attributes.color.array;return r.set(e),r.toArray(s,0),r.toArray(s,3),r.set(t),r.toArray(s,6),r.toArray(s,9),r.set(i),r.toArray(s,12),r.toArray(s,15),this.geometry.attributes.color.needsUpdate=!0,this}dispose(){this.geometry.dispose(),this.material.dispose()}}class DI{constructor(){this.type="ShapePath",this.color=new we,this.subPaths=[],this.currentPath=null}moveTo(e,t){return this.currentPath=new zl,this.subPaths.push(this.currentPath),this.currentPath.moveTo(e,t),this}lineTo(e,t){return this.currentPath.lineTo(e,t),this}quadraticCurveTo(e,t,i,r){return this.currentPath.quadraticCurveTo(e,t,i,r),this}bezierCurveTo(e,t,i,r,s,o){return this.currentPath.bezierCurveTo(e,t,i,r,s,o),this}splineThru(e){return this.currentPath.splineThru(e),this}toShapes(e){function t(m){const y=[];for(let x=0,v=m.length;xNumber.EPSILON){if(S<0&&(M=y[T],b=-b,P=y[E],S=-S),m.yP.y)continue;if(m.y===M.y){if(m.x===M.x)return!0}else{const D=S*(m.x-M.x)-b*(m.y-M.y);if(D===0)return!0;if(D<0)continue;v=!v}}else{if(m.y!==M.y)continue;if(P.x<=m.x&&m.x<=M.x||M.x<=m.x&&m.x<=P.x)return!0}}return v}const r=Wi.isClockWise,s=this.subPaths;if(s.length===0)return[];let o,a,l;const c=[];if(s.length===1)return a=s[0],l=new io,l.curves=a.curves,c.push(l),c;let u=!r(s[0].getPoints());u=e?!u:u;const f=[],h=[];let d=[],p=0,_;h[p]=void 0,d[p]=[];for(let m=0,y=s.length;m1){let m=!1,y=0;for(let x=0,v=h.length;x0&&m===!1&&(d=f)}let g;for(let m=0,y=h.length;me?(n.repeat.x=1,n.repeat.y=t/e,n.offset.x=0,n.offset.y=(1-n.repeat.y)/2):(n.repeat.x=e/t,n.repeat.y=1,n.offset.x=(1-n.repeat.x)/2,n.offset.y=0),n}function UI(n,e){const t=n.image&&n.image.width?n.image.width/n.image.height:1;return t>e?(n.repeat.x=e/t,n.repeat.y=1,n.offset.x=(1-n.repeat.x)/2,n.offset.y=0):(n.repeat.x=1,n.repeat.y=t/e,n.offset.x=0,n.offset.y=(1-n.repeat.y)/2),n}function FI(n){return n.repeat.x=1,n.repeat.y=1,n.offset.x=0,n.offset.y=0,n}function om(n,e,t,i){const r=BI(i);switch(t){case vg:return n*e;case xg:return n*e;case bg:return n*e*2;case Th:return n*e/r.components*r.byteLength;case fc:return n*e/r.components*r.byteLength;case Sg:return n*e*2/r.components*r.byteLength;case wh:return n*e*2/r.components*r.byteLength;case yg:return n*e*3/r.components*r.byteLength;case Ln:return n*e*4/r.components*r.byteLength;case Ah:return n*e*4/r.components*r.byteLength;case el:case tl:return Math.floor((n+3)/4)*Math.floor((e+3)/4)*8;case nl:case il:return Math.floor((n+3)/4)*Math.floor((e+3)/4)*16;case xf:case Sf:return Math.max(n,16)*Math.max(e,8)/4;case yf:case bf:return Math.max(n,8)*Math.max(e,8)/2;case Mf:case Ef:return Math.floor((n+3)/4)*Math.floor((e+3)/4)*8;case Tf:return Math.floor((n+3)/4)*Math.floor((e+3)/4)*16;case wf:return Math.floor((n+3)/4)*Math.floor((e+3)/4)*16;case Af:return Math.floor((n+4)/5)*Math.floor((e+3)/4)*16;case Cf:return Math.floor((n+4)/5)*Math.floor((e+4)/5)*16;case Rf:return Math.floor((n+5)/6)*Math.floor((e+4)/5)*16;case Pf:return Math.floor((n+5)/6)*Math.floor((e+5)/6)*16;case If:return Math.floor((n+7)/8)*Math.floor((e+4)/5)*16;case Lf:return Math.floor((n+7)/8)*Math.floor((e+5)/6)*16;case Df:return Math.floor((n+7)/8)*Math.floor((e+7)/8)*16;case Of:return Math.floor((n+9)/10)*Math.floor((e+4)/5)*16;case Nf:return Math.floor((n+9)/10)*Math.floor((e+5)/6)*16;case Uf:return Math.floor((n+9)/10)*Math.floor((e+7)/8)*16;case Ff:return Math.floor((n+9)/10)*Math.floor((e+9)/10)*16;case Bf:return Math.floor((n+11)/12)*Math.floor((e+9)/10)*16;case kf:return Math.floor((n+11)/12)*Math.floor((e+11)/12)*16;case rl:case zf:case Vf:return Math.ceil(n/4)*Math.ceil(e/4)*16;case Mg:case Hf:return Math.ceil(n/4)*Math.ceil(e/4)*8;case Gf:case Wf:return Math.ceil(n/4)*Math.ceil(e/4)*16}throw new Error(`Unable to determine texture byte length for ${t} format.`)}function BI(n){switch(n){case qi:case mg:return{byteLength:1,components:1};case oa:case gg:case va:return{byteLength:2,components:1};case Mh:case Eh:return{byteLength:2,components:4};case wr:case Sh:case Hn:return{byteLength:4,components:1};case _g:return{byteLength:4,components:3}}throw new Error(`Unknown texture type ${n}.`)}class kI{static contain(e,t){return NI(e,t)}static cover(e,t){return UI(e,t)}static fill(e){return FI(e)}static getByteLength(e,t,i,r){return om(e,t,i,r)}}typeof __THREE_DEVTOOLS__<"u"&&__THREE_DEVTOOLS__.dispatchEvent(new CustomEvent("register",{detail:{revision:cc}}));typeof window<"u"&&(window.__THREE__?console.warn("WARNING: Multiple instances of Three.js being imported."):window.__THREE__=cc);/** + `},r=new mo(5,5,5),s=new Ri({name:"CubemapFromEquirect",uniforms:la(i.uniforms),vertexShader:i.vertexShader,fragmentShader:i.fragmentShader,side:Dn,blending:xr});s.uniforms.tEquirect.value=t;const o=new Ht(r,s),a=t.minFilter;return t.minFilter===Vi&&(t.minFilter=jt),new JS(1,10,this).update(e,o),t.minFilter=a,o.geometry.dispose(),o.material.dispose(),this}clear(e,t,i,r){const s=e.getRenderTarget();for(let o=0;o<6;o++)e.setRenderTarget(this,o),e.clear(t,i,r);e.setRenderTarget(s)}}class qo extends ct{constructor(){super(),this.isGroup=!0,this.type="Group"}}const FR={type:"move"};class Wu{constructor(){this._targetRay=null,this._grip=null,this._hand=null}getHandSpace(){return this._hand===null&&(this._hand=new qo,this._hand.matrixAutoUpdate=!1,this._hand.visible=!1,this._hand.joints={},this._hand.inputState={pinching:!1}),this._hand}getTargetRaySpace(){return this._targetRay===null&&(this._targetRay=new qo,this._targetRay.matrixAutoUpdate=!1,this._targetRay.visible=!1,this._targetRay.hasLinearVelocity=!1,this._targetRay.linearVelocity=new F,this._targetRay.hasAngularVelocity=!1,this._targetRay.angularVelocity=new F),this._targetRay}getGripSpace(){return this._grip===null&&(this._grip=new qo,this._grip.matrixAutoUpdate=!1,this._grip.visible=!1,this._grip.hasLinearVelocity=!1,this._grip.linearVelocity=new F,this._grip.hasAngularVelocity=!1,this._grip.angularVelocity=new F),this._grip}dispatchEvent(e){return this._targetRay!==null&&this._targetRay.dispatchEvent(e),this._grip!==null&&this._grip.dispatchEvent(e),this._hand!==null&&this._hand.dispatchEvent(e),this}connect(e){if(e&&e.hand){const t=this._hand;if(t)for(const i of e.hand.values())this._getHandJoint(t,i)}return this.dispatchEvent({type:"connected",data:e}),this}disconnect(e){return this.dispatchEvent({type:"disconnected",data:e}),this._targetRay!==null&&(this._targetRay.visible=!1),this._grip!==null&&(this._grip.visible=!1),this._hand!==null&&(this._hand.visible=!1),this}update(e,t,i){let r=null,s=null,o=null;const a=this._targetRay,l=this._grip,c=this._hand;if(e&&t.session.visibilityState!=="visible-blurred"){if(c&&e.hand){o=!0;for(const _ of e.hand.values()){const g=t.getJointPose(_,i),m=this._getHandJoint(c,_);g!==null&&(m.matrix.fromArray(g.transform.matrix),m.matrix.decompose(m.position,m.rotation,m.scale),m.matrixWorldNeedsUpdate=!0,m.jointRadius=g.radius),m.visible=g!==null}const u=c.joints["index-finger-tip"],f=c.joints["thumb-tip"],h=u.position.distanceTo(f.position),d=.02,p=.005;c.inputState.pinching&&h>d+p?(c.inputState.pinching=!1,this.dispatchEvent({type:"pinchend",handedness:e.handedness,target:this})):!c.inputState.pinching&&h<=d-p&&(c.inputState.pinching=!0,this.dispatchEvent({type:"pinchstart",handedness:e.handedness,target:this}))}else l!==null&&e.gripSpace&&(s=t.getPose(e.gripSpace,i),s!==null&&(l.matrix.fromArray(s.transform.matrix),l.matrix.decompose(l.position,l.rotation,l.scale),l.matrixWorldNeedsUpdate=!0,s.linearVelocity?(l.hasLinearVelocity=!0,l.linearVelocity.copy(s.linearVelocity)):l.hasLinearVelocity=!1,s.angularVelocity?(l.hasAngularVelocity=!0,l.angularVelocity.copy(s.angularVelocity)):l.hasAngularVelocity=!1));a!==null&&(r=t.getPose(e.targetRaySpace,i),r===null&&s!==null&&(r=s),r!==null&&(a.matrix.fromArray(r.transform.matrix),a.matrix.decompose(a.position,a.rotation,a.scale),a.matrixWorldNeedsUpdate=!0,r.linearVelocity?(a.hasLinearVelocity=!0,a.linearVelocity.copy(r.linearVelocity)):a.hasLinearVelocity=!1,r.angularVelocity?(a.hasAngularVelocity=!0,a.angularVelocity.copy(r.angularVelocity)):a.hasAngularVelocity=!1,this.dispatchEvent(FR)))}return a!==null&&(a.visible=r!==null),l!==null&&(l.visible=s!==null),c!==null&&(c.visible=o!==null),this}_getHandJoint(e,t){if(e.joints[t.jointName]===void 0){const i=new qo;i.matrixAutoUpdate=!1,i.visible=!1,e.joints[t.jointName]=i,e.add(i)}return e.joints[t.jointName]}}class Lh{constructor(e,t=25e-5){this.isFogExp2=!0,this.name="",this.color=new we(e),this.density=t}clone(){return new Lh(this.color,this.density)}toJSON(){return{type:"FogExp2",name:this.name,color:this.color.getHex(),density:this.density}}}class Dh{constructor(e,t=1,i=1e3){this.isFog=!0,this.name="",this.color=new we(e),this.near=t,this.far=i}clone(){return new Dh(this.color,this.near,this.far)}toJSON(){return{type:"Fog",name:this.name,color:this.color.getHex(),near:this.near,far:this.far}}}class Oh extends ct{constructor(){super(),this.isScene=!0,this.type="Scene",this.background=null,this.environment=null,this.fog=null,this.backgroundBlurriness=0,this.backgroundIntensity=1,this.backgroundRotation=new ei,this.environmentIntensity=1,this.environmentRotation=new ei,this.overrideMaterial=null,typeof __THREE_DEVTOOLS__<"u"&&__THREE_DEVTOOLS__.dispatchEvent(new CustomEvent("observe",{detail:this}))}copy(e,t){return super.copy(e,t),e.background!==null&&(this.background=e.background.clone()),e.environment!==null&&(this.environment=e.environment.clone()),e.fog!==null&&(this.fog=e.fog.clone()),this.backgroundBlurriness=e.backgroundBlurriness,this.backgroundIntensity=e.backgroundIntensity,this.backgroundRotation.copy(e.backgroundRotation),this.environmentIntensity=e.environmentIntensity,this.environmentRotation.copy(e.environmentRotation),e.overrideMaterial!==null&&(this.overrideMaterial=e.overrideMaterial.clone()),this.matrixAutoUpdate=e.matrixAutoUpdate,this}toJSON(e){const t=super.toJSON(e);return this.fog!==null&&(t.object.fog=this.fog.toJSON()),this.backgroundBlurriness>0&&(t.object.backgroundBlurriness=this.backgroundBlurriness),this.backgroundIntensity!==1&&(t.object.backgroundIntensity=this.backgroundIntensity),t.object.backgroundRotation=this.backgroundRotation.toArray(),this.environmentIntensity!==1&&(t.object.environmentIntensity=this.environmentIntensity),t.object.environmentRotation=this.environmentRotation.toArray(),t}}class Nh{constructor(e,t){this.isInterleavedBuffer=!0,this.array=e,this.stride=t,this.count=e!==void 0?e.length/t:0,this.usage=Fl,this.updateRanges=[],this.version=0,this.uuid=Zn()}onUploadCallback(){}set needsUpdate(e){e===!0&&this.version++}setUsage(e){return this.usage=e,this}addUpdateRange(e,t){this.updateRanges.push({start:e,count:t})}clearUpdateRanges(){this.updateRanges.length=0}copy(e){return this.array=new e.array.constructor(e.array),this.count=e.count,this.stride=e.stride,this.usage=e.usage,this}copyAt(e,t,i){e*=this.stride,i*=t.stride;for(let r=0,s=this.stride;re.far||t.push({distance:l,point:Ia.clone(),uv:zn.getInterpolation(Ia,Kc,Da,Zc,zv,Xd,Hv,new fe),face:null,object:this})}copy(e,t){return super.copy(e,t),e.center!==void 0&&this.center.copy(e.center),this.material=e.material,this}}function Jc(n,e,t,i,r,s){Fo.subVectors(n,t).addScalar(.5).multiply(i),r!==void 0?(La.x=s*Fo.x-r*Fo.y,La.y=r*Fo.x+s*Fo.y):La.copy(Fo),n.copy(e),n.x+=La.x,n.y+=La.y,n.applyMatrix4(eM)}const Qc=new F,Gv=new F;class nM extends ct{constructor(){super(),this.isLOD=!0,this._currentLevel=0,this.type="LOD",Object.defineProperties(this,{levels:{enumerable:!0,value:[]}}),this.autoUpdate=!0}copy(e){super.copy(e,!1);const t=e.levels;for(let i=0,r=t.length;i0){let i,r;for(i=1,r=t.length;i0){Qc.setFromMatrixPosition(this.matrixWorld);const r=e.ray.origin.distanceTo(Qc);this.getObjectForDistance(r).raycast(e,t)}}update(e){const t=this.levels;if(t.length>1){Qc.setFromMatrixPosition(e.matrixWorld),Gv.setFromMatrixPosition(this.matrixWorld);const i=Qc.distanceTo(Gv)/e.zoom;t[0].object.visible=!0;let r,s;for(r=1,s=t.length;r=o)t[r-1].object.visible=!1,t[r].object.visible=!0;else break}for(this._currentLevel=r-1;r1?null:t.copy(e.start).addScaledVector(i,s)}intersectsLine(e){const t=this.distanceToPoint(e.start),i=this.distanceToPoint(e.end);return t<0&&i>0||i<0&&t>0}intersectsBox(e){return e.intersectsPlane(this)}intersectsSphere(e){return e.intersectsPlane(this)}coplanarPoint(e){return e.copy(this.normal).multiplyScalar(-this.constant)}applyMatrix4(e,t){const i=t||HR.getNormalMatrix(e),r=this.coplanarPoint(Yd).applyMatrix4(e),s=this.normal.applyMatrix3(i).normalize();return this.constant=-r.dot(s),this}translate(e){return this.constant-=e.dot(this.normal),this}equals(e){return e.normal.equals(this.normal)&&e.constant===this.constant}clone(){return new this.constructor().copy(this)}}const As=new _n,nu=new F;class mc{constructor(e=new Yr,t=new Yr,i=new Yr,r=new Yr,s=new Yr,o=new Yr){this.planes=[e,t,i,r,s,o]}set(e,t,i,r,s,o){const a=this.planes;return a[0].copy(e),a[1].copy(t),a[2].copy(i),a[3].copy(r),a[4].copy(s),a[5].copy(o),this}copy(e){const t=this.planes;for(let i=0;i<6;i++)t[i].copy(e.planes[i]);return this}setFromProjectionMatrix(e,t=Mi){const i=this.planes,r=e.elements,s=r[0],o=r[1],a=r[2],l=r[3],c=r[4],u=r[5],f=r[6],h=r[7],d=r[8],p=r[9],_=r[10],g=r[11],m=r[12],y=r[13],x=r[14],v=r[15];if(i[0].setComponents(l-s,h-c,g-d,v-m).normalize(),i[1].setComponents(l+s,h+c,g+d,v+m).normalize(),i[2].setComponents(l+o,h+u,g+p,v+y).normalize(),i[3].setComponents(l-o,h-u,g-p,v-y).normalize(),i[4].setComponents(l-a,h-f,g-_,v-x).normalize(),t===Mi)i[5].setComponents(l+a,h+f,g+_,v+x).normalize();else if(t===Bl)i[5].setComponents(a,f,_,x).normalize();else throw new Error("THREE.Frustum.setFromProjectionMatrix(): Invalid coordinate system: "+t);return this}intersectsObject(e){if(e.boundingSphere!==void 0)e.boundingSphere===null&&e.computeBoundingSphere(),As.copy(e.boundingSphere).applyMatrix4(e.matrixWorld);else{const t=e.geometry;t.boundingSphere===null&&t.computeBoundingSphere(),As.copy(t.boundingSphere).applyMatrix4(e.matrixWorld)}return this.intersectsSphere(As)}intersectsSprite(e){return As.center.set(0,0,0),As.radius=.7071067811865476,As.applyMatrix4(e.matrixWorld),this.intersectsSphere(As)}intersectsSphere(e){const t=this.planes,i=e.center,r=-e.radius;for(let s=0;s<6;s++)if(t[s].distanceToPoint(i)0?e.max.x:e.min.x,nu.y=r.normal.y>0?e.max.y:e.min.y,nu.z=r.normal.z>0?e.max.z:e.min.z,r.distanceToPoint(nu)<0)return!1}return!0}containsPoint(e){const t=this.planes;for(let i=0;i<6;i++)if(t[i].distanceToPoint(e)<0)return!1;return!0}clone(){return new this.constructor().copy(this)}}function jd(n,e){return n-e}function GR(n,e){return n.z-e.z}function WR(n,e){return e.z-n.z}class XR{constructor(){this.index=0,this.pool=[],this.list=[]}push(e,t,i,r){const s=this.pool,o=this.list;this.index>=s.length&&s.push({start:-1,count:-1,z:-1,index:-1});const a=s[this.index];o.push(a),this.index++,a.start=e,a.count=t,a.z=i,a.index=r}reset(){this.list.length=0,this.index=0}}const Fn=new Xe,$R=new we(1,1,1),Kd=new mc,iu=new On,Cs=new _n,Ua=new F,Jv=new F,qR=new F,Zd=new XR,dn=new Ht,ru=[];function YR(n,e,t=0){const i=e.itemSize;if(n.isInterleavedBufferAttribute||n.array.constructor!==e.array.constructor){const r=n.count;for(let s=0;s65535?new Uint32Array(r):new Uint16Array(r);t.setIndex(new Et(s,1))}this._geometryInitialized=!0}}_validateGeometry(e){const t=this.geometry;if(!!e.getIndex()!=!!t.getIndex())throw new Error('THREE.BatchedMesh: All geometries must consistently have "index".');for(const i in t.attributes){if(!e.hasAttribute(i))throw new Error(`THREE.BatchedMesh: Added geometry missing "${i}". All geometries must have consistent attributes.`);const r=e.getAttribute(i),s=t.getAttribute(i);if(r.itemSize!==s.itemSize||r.normalized!==s.normalized)throw new Error("THREE.BatchedMesh: All attributes must have a consistent itemSize and normalized value.")}}validateInstanceId(e){const t=this._instanceInfo;if(e<0||e>=t.length||t[e].active===!1)throw new Error(`THREE.BatchedMesh: Invalid instanceId ${e}. Instance is either out of range or has been deleted.`)}validateGeometryId(e){const t=this._geometryInfo;if(e<0||e>=t.length||t[e].active===!1)throw new Error(`THREE.BatchedMesh: Invalid geometryId ${e}. Geometry is either out of range or has been deleted.`)}setCustomSort(e){return this.customSort=e,this}computeBoundingBox(){this.boundingBox===null&&(this.boundingBox=new On);const e=this.boundingBox,t=this._instanceInfo;e.makeEmpty();for(let i=0,r=t.length;i=this.maxInstanceCount&&this._availableInstanceIds.length===0)throw new Error("THREE.BatchedMesh: Maximum item count reached.");const i={visible:!0,active:!0,geometryIndex:e};let r=null;this._availableInstanceIds.length>0?(this._availableInstanceIds.sort(jd),r=this._availableInstanceIds.shift(),this._instanceInfo[r]=i):(r=this._instanceInfo.length,this._instanceInfo.push(i));const s=this._matricesTexture;Fn.identity().toArray(s.image.data,r*16),s.needsUpdate=!0;const o=this._colorsTexture;return o&&($R.toArray(o.image.data,r*4),o.needsUpdate=!0),this._visibilityChanged=!0,r}addGeometry(e,t=-1,i=-1){this._initializeGeometry(e),this._validateGeometry(e);const r={vertexStart:-1,vertexCount:-1,reservedVertexCount:-1,indexStart:-1,indexCount:-1,reservedIndexCount:-1,start:-1,count:-1,boundingBox:null,boundingSphere:null,active:!0},s=this._geometryInfo;r.vertexStart=this._nextVertexStart,r.reservedVertexCount=t===-1?e.getAttribute("position").count:t;const o=e.getIndex();if(o!==null&&(r.indexStart=this._nextIndexStart,r.reservedIndexCount=i===-1?o.count:i),r.indexStart!==-1&&r.indexStart+r.reservedIndexCount>this._maxIndexCount||r.vertexStart+r.reservedVertexCount>this._maxVertexCount)throw new Error("THREE.BatchedMesh: Reserved space request exceeds the maximum buffer size.");let l;return this._availableGeometryIds.length>0?(this._availableGeometryIds.sort(jd),l=this._availableGeometryIds.shift(),s[l]=r):(l=this._geometryCount,this._geometryCount++,s.push(r)),this.setGeometryAt(l,e),this._nextIndexStart=r.indexStart+r.reservedIndexCount,this._nextVertexStart=r.vertexStart+r.reservedVertexCount,l}setGeometryAt(e,t){if(e>=this._geometryCount)throw new Error("THREE.BatchedMesh: Maximum geometry count reached.");this._validateGeometry(t);const i=this.geometry,r=i.getIndex()!==null,s=i.getIndex(),o=t.getIndex(),a=this._geometryInfo[e];if(r&&o.count>a.reservedIndexCount||t.attributes.position.count>a.reservedVertexCount)throw new Error("THREE.BatchedMesh: Reserved space not large enough for provided geometry.");const l=a.vertexStart,c=a.reservedVertexCount;a.vertexCount=t.getAttribute("position").count;for(const u in i.attributes){const f=t.getAttribute(u),h=i.getAttribute(u);YR(f,h,l);const d=f.itemSize;for(let p=f.count,_=c;p<_;p++){const g=l+p;for(let m=0;m=t.length||t[e].active===!1)return this;const i=this._instanceInfo;for(let r=0,s=i.length;ra).sort((o,a)=>i[o].vertexStart-i[a].vertexStart),s=this.geometry;for(let o=0,a=i.length;o=this._geometryCount)return null;const i=this.geometry,r=this._geometryInfo[e];if(r.boundingBox===null){const s=new On,o=i.index,a=i.attributes.position;for(let l=r.start,c=r.start+r.count;l=this._geometryCount)return null;const i=this.geometry,r=this._geometryInfo[e];if(r.boundingSphere===null){const s=new _n;this.getBoundingBoxAt(e,iu),iu.getCenter(s.center);const o=i.index,a=i.attributes.position;let l=0;for(let c=r.start,u=r.start+r.count;ca.active);if(Math.max(...i.map(a=>a.vertexStart+a.reservedVertexCount))>e)throw new Error(`BatchedMesh: Geometry vertex values are being used outside the range ${t}. Cannot shrink further.`);if(this.geometry.index&&Math.max(...i.map(l=>l.indexStart+l.reservedIndexCount))>t)throw new Error(`BatchedMesh: Geometry index values are being used outside the range ${t}. Cannot shrink further.`);const s=this.geometry;s.dispose(),this._maxVertexCount=e,this._maxIndexCount=t,this._geometryInitialized&&(this._geometryInitialized=!1,this.geometry=new st,this._initializeGeometry(s));const o=this.geometry;s.index&&Rs(s.index.array,o.index.array);for(const a in s.attributes)Rs(s.attributes[a].array,o.attributes[a].array)}raycast(e,t){const i=this._instanceInfo,r=this._geometryInfo,s=this.matrixWorld,o=this.geometry;dn.material=this.material,dn.geometry.index=o.index,dn.geometry.attributes=o.attributes,dn.geometry.boundingBox===null&&(dn.geometry.boundingBox=new On),dn.geometry.boundingSphere===null&&(dn.geometry.boundingSphere=new _n);for(let a=0,l=i.length;a({...t,boundingBox:t.boundingBox!==null?t.boundingBox.clone():null,boundingSphere:t.boundingSphere!==null?t.boundingSphere.clone():null})),this._instanceInfo=e._instanceInfo.map(t=>({...t})),this._maxInstanceCount=e._maxInstanceCount,this._maxVertexCount=e._maxVertexCount,this._maxIndexCount=e._maxIndexCount,this._geometryInitialized=e._geometryInitialized,this._geometryCount=e._geometryCount,this._multiDrawCounts=e._multiDrawCounts.slice(),this._multiDrawStarts=e._multiDrawStarts.slice(),this._matricesTexture=e._matricesTexture.clone(),this._matricesTexture.image.data=this._matricesTexture.image.data.slice(),this._colorsTexture!==null&&(this._colorsTexture=e._colorsTexture.clone(),this._colorsTexture.image.data=this._colorsTexture.image.data.slice()),this}dispose(){this.geometry.dispose(),this._matricesTexture.dispose(),this._matricesTexture=null,this._indirectTexture.dispose(),this._indirectTexture=null,this._colorsTexture!==null&&(this._colorsTexture.dispose(),this._colorsTexture=null)}onBeforeRender(e,t,i,r,s){if(!this._visibilityChanged&&!this.perObjectFrustumCulled&&!this.sortObjects)return;const o=r.getIndex(),a=o===null?1:o.array.BYTES_PER_ELEMENT,l=this._instanceInfo,c=this._multiDrawStarts,u=this._multiDrawCounts,f=this._geometryInfo,h=this.perObjectFrustumCulled,d=this._indirectTexture,p=d.image.data;h&&(Fn.multiplyMatrices(i.projectionMatrix,i.matrixWorldInverse).multiply(this.matrixWorld),Kd.setFromProjectionMatrix(Fn,e.coordinateSystem));let _=0;if(this.sortObjects){Fn.copy(this.matrixWorld).invert(),Ua.setFromMatrixPosition(i.matrixWorld).applyMatrix4(Fn),Jv.set(0,0,-1).transformDirection(i.matrixWorld).transformDirection(Fn);for(let y=0,x=l.length;y0){const r=t[i[0]];if(r!==void 0){this.morphTargetInfluences=[],this.morphTargetDictionary={};for(let s=0,o=r.length;si)return;Jd.applyMatrix4(n.matrixWorld);const c=e.ray.origin.distanceTo(Jd);if(!(ce.far))return{distance:c,point:e0.clone().applyMatrix4(n.matrixWorld),index:o,face:null,faceIndex:null,barycoord:null,object:n}}const t0=new F,n0=new F;class Ki extends ss{constructor(e,t){super(e,t),this.isLineSegments=!0,this.type="LineSegments"}computeLineDistances(){const e=this.geometry;if(e.index===null){const t=e.attributes.position,i=[];for(let r=0,s=t.count;r0){const r=t[i[0]];if(r!==void 0){this.morphTargetInfluences=[],this.morphTargetDictionary={};for(let s=0,o=r.length;sr.far)return;s.push({distance:c,distanceToRay:Math.sqrt(a),point:l,index:e,face:null,faceIndex:null,barycoord:null,object:o})}}class lM extends Vt{constructor(e,t,i,r,s,o,a,l,c){super(e,t,i,r,s,o,a,l,c),this.isVideoTexture=!0,this.minFilter=o!==void 0?o:jt,this.magFilter=s!==void 0?s:jt,this.generateMipmaps=!1;const u=this;function f(){u.needsUpdate=!0,e.requestVideoFrameCallback(f)}"requestVideoFrameCallback"in e&&e.requestVideoFrameCallback(f)}clone(){return new this.constructor(this.image).copy(this)}update(){const e=this.image;"requestVideoFrameCallback"in e===!1&&e.readyState>=e.HAVE_CURRENT_DATA&&(this.needsUpdate=!0)}}class jR extends lM{constructor(e,t,i,r,s,o,a,l){super({},e,t,i,r,s,o,a,l),this.isVideoFrameTexture=!0}update(){}clone(){return new this.constructor().copy(this)}setFrame(e){this.image=e,this.needsUpdate=!0}}class KR extends Vt{constructor(e,t){super({width:e,height:t}),this.isFramebufferTexture=!0,this.magFilter=cn,this.minFilter=cn,this.generateMipmaps=!1,this.needsUpdate=!0}}class Fh extends Vt{constructor(e,t,i,r,s,o,a,l,c,u,f,h){super(null,o,a,l,c,u,r,s,f,h),this.isCompressedTexture=!0,this.image={width:t,height:i},this.mipmaps=e,this.flipY=!1,this.generateMipmaps=!1}}class ZR extends Fh{constructor(e,t,i,r,s,o){super(e,t,i,s,o),this.isCompressedArrayTexture=!0,this.image.depth=r,this.wrapR=li,this.layerUpdates=new Set}addLayerUpdate(e){this.layerUpdates.add(e)}clearLayerUpdates(){this.layerUpdates.clear()}}class JR extends Fh{constructor(e,t,i){super(void 0,e[0].width,e[0].height,t,i,Tr),this.isCompressedCubeTexture=!0,this.isCubeTexture=!0,this.image=e}}class QR extends Vt{constructor(e,t,i,r,s,o,a,l,c){super(e,t,i,r,s,o,a,l,c),this.isCanvasTexture=!0,this.needsUpdate=!0}}class Dg extends Vt{constructor(e,t,i,r,s,o,a,l,c,u=to){if(u!==to&&u!==co)throw new Error("DepthTexture format must be either THREE.DepthFormat or THREE.DepthStencilFormat");i===void 0&&u===to&&(i=wr),i===void 0&&u===co&&(i=lo),super(null,r,s,o,a,l,u,i,c),this.isDepthTexture=!0,this.image={width:e,height:t},this.magFilter=a!==void 0?a:cn,this.minFilter=l!==void 0?l:cn,this.flipY=!1,this.generateMipmaps=!1,this.compareFunction=null}copy(e){return super.copy(e),this.source=new Zr(Object.assign({},e.image)),this.compareFunction=e.compareFunction,this}toJSON(e){const t=super.toJSON(e);return this.compareFunction!==null&&(t.compareFunction=this.compareFunction),t}}class Li{constructor(){this.type="Curve",this.arcLengthDivisions=200,this.needsUpdate=!1,this.cacheArcLengths=null}getPoint(){console.warn("THREE.Curve: .getPoint() not implemented.")}getPointAt(e,t){const i=this.getUtoTmapping(e);return this.getPoint(i,t)}getPoints(e=5){const t=[];for(let i=0;i<=e;i++)t.push(this.getPoint(i/e));return t}getSpacedPoints(e=5){const t=[];for(let i=0;i<=e;i++)t.push(this.getPointAt(i/e));return t}getLength(){const e=this.getLengths();return e[e.length-1]}getLengths(e=this.arcLengthDivisions){if(this.cacheArcLengths&&this.cacheArcLengths.length===e+1&&!this.needsUpdate)return this.cacheArcLengths;this.needsUpdate=!1;const t=[];let i,r=this.getPoint(0),s=0;t.push(0);for(let o=1;o<=e;o++)i=this.getPoint(o/e),s+=i.distanceTo(r),t.push(s),r=i;return this.cacheArcLengths=t,t}updateArcLengths(){this.needsUpdate=!0,this.getLengths()}getUtoTmapping(e,t=null){const i=this.getLengths();let r=0;const s=i.length;let o;t?o=t:o=e*i[s-1];let a=0,l=s-1,c;for(;a<=l;)if(r=Math.floor(a+(l-a)/2),c=i[r]-o,c<0)a=r+1;else if(c>0)l=r-1;else{l=r;break}if(r=l,i[r]===o)return r/(s-1);const u=i[r],h=i[r+1]-u,d=(o-u)/h;return(r+d)/(s-1)}getTangent(e,t){let r=e-1e-4,s=e+1e-4;r<0&&(r=0),s>1&&(s=1);const o=this.getPoint(r),a=this.getPoint(s),l=t||(o.isVector2?new fe:new F);return l.copy(a).sub(o).normalize(),l}getTangentAt(e,t){const i=this.getUtoTmapping(e);return this.getTangent(i,t)}computeFrenetFrames(e,t=!1){const i=new F,r=[],s=[],o=[],a=new F,l=new Xe;for(let d=0;d<=e;d++){const p=d/e;r[d]=this.getTangentAt(p,new F)}s[0]=new F,o[0]=new F;let c=Number.MAX_VALUE;const u=Math.abs(r[0].x),f=Math.abs(r[0].y),h=Math.abs(r[0].z);u<=c&&(c=u,i.set(1,0,0)),f<=c&&(c=f,i.set(0,1,0)),h<=c&&i.set(0,0,1),a.crossVectors(r[0],i).normalize(),s[0].crossVectors(r[0],a),o[0].crossVectors(r[0],s[0]);for(let d=1;d<=e;d++){if(s[d]=s[d-1].clone(),o[d]=o[d-1].clone(),a.crossVectors(r[d-1],r[d]),a.length()>Number.EPSILON){a.normalize();const p=Math.acos(Ke(r[d-1].dot(r[d]),-1,1));s[d].applyMatrix4(l.makeRotationAxis(a,p))}o[d].crossVectors(r[d],s[d])}if(t===!0){let d=Math.acos(Ke(s[0].dot(s[e]),-1,1));d/=e,r[0].dot(a.crossVectors(s[0],s[e]))>0&&(d=-d);for(let p=1;p<=e;p++)s[p].applyMatrix4(l.makeRotationAxis(r[p],d*p)),o[p].crossVectors(r[p],s[p])}return{tangents:r,normals:s,binormals:o}}clone(){return new this.constructor().copy(this)}copy(e){return this.arcLengthDivisions=e.arcLengthDivisions,this}toJSON(){const e={metadata:{version:4.6,type:"Curve",generator:"Curve.toJSON"}};return e.arcLengthDivisions=this.arcLengthDivisions,e.type=this.type,e}fromJSON(e){return this.arcLengthDivisions=e.arcLengthDivisions,this}}class Bh extends Li{constructor(e=0,t=0,i=1,r=1,s=0,o=Math.PI*2,a=!1,l=0){super(),this.isEllipseCurve=!0,this.type="EllipseCurve",this.aX=e,this.aY=t,this.xRadius=i,this.yRadius=r,this.aStartAngle=s,this.aEndAngle=o,this.aClockwise=a,this.aRotation=l}getPoint(e,t=new fe){const i=t,r=Math.PI*2;let s=this.aEndAngle-this.aStartAngle;const o=Math.abs(s)r;)s-=r;s0?0:(Math.floor(Math.abs(a)/s)+1)*s:l===0&&a===s-1&&(a=s-2,l=1);let c,u;this.closed||a>0?c=r[(a-1)%s]:(cu.subVectors(r[0],r[1]).add(r[0]),c=cu);const f=r[a%s],h=r[(a+1)%s];if(this.closed||a+2r.length-2?r.length-1:o+1],f=r[o>r.length-3?r.length-1:o+2];return i.set(s0(a,l.x,c.x,u.x,f.x),s0(a,l.y,c.y,u.y,f.y)),i}copy(e){super.copy(e),this.points=[];for(let t=0,i=e.points.length;t=i){const o=r[s]-i,a=this.curves[s],l=a.getLength(),c=l===0?0:1-o/l;return a.getPointAt(c,t)}s++}return null}getLength(){const e=this.getCurveLengths();return e[e.length-1]}updateArcLengths(){this.needsUpdate=!0,this.cacheLengths=null,this.getCurveLengths()}getCurveLengths(){if(this.cacheLengths&&this.cacheLengths.length===this.curves.length)return this.cacheLengths;const e=[];let t=0;for(let i=0,r=this.curves.length;i1&&!t[t.length-1].equals(t[0])&&t.push(t[0]),t}copy(e){super.copy(e),this.curves=[];for(let t=0,i=e.curves.length;t0){const f=c.getPoint(0);f.equals(this.currentPoint)||this.lineTo(f.x,f.y)}this.curves.push(c);const u=c.getPoint(1);return this.currentPoint.copy(u),this}copy(e){return super.copy(e),this.currentPoint.copy(e.currentPoint),this}toJSON(){const e=super.toJSON();return e.currentPoint=this.currentPoint.toArray(),e}fromJSON(e){return super.fromJSON(e),this.currentPoint.fromArray(e.currentPoint),this}}class gc extends st{constructor(e=[new fe(0,-.5),new fe(.5,0),new fe(0,.5)],t=12,i=0,r=Math.PI*2){super(),this.type="LatheGeometry",this.parameters={points:e,segments:t,phiStart:i,phiLength:r},t=Math.floor(t),r=Ke(r,0,Math.PI*2);const s=[],o=[],a=[],l=[],c=[],u=1/t,f=new F,h=new fe,d=new F,p=new F,_=new F;let g=0,m=0;for(let y=0;y<=e.length-1;y++)switch(y){case 0:g=e[y+1].x-e[y].x,m=e[y+1].y-e[y].y,d.x=m*1,d.y=-g,d.z=m*0,_.copy(d),d.normalize(),l.push(d.x,d.y,d.z);break;case e.length-1:l.push(_.x,_.y,_.z);break;default:g=e[y+1].x-e[y].x,m=e[y+1].y-e[y].y,d.x=m*1,d.y=-g,d.z=m*0,p.copy(d),d.x+=_.x,d.y+=_.y,d.z+=_.z,d.normalize(),l.push(d.x,d.y,d.z),_.copy(p)}for(let y=0;y<=t;y++){const x=i+y*u*r,v=Math.sin(x),E=Math.cos(x);for(let T=0;T<=e.length-1;T++){f.x=e[T].x*v,f.y=e[T].y,f.z=e[T].x*E,o.push(f.x,f.y,f.z),h.x=y/t,h.y=T/(e.length-1),a.push(h.x,h.y);const M=l[3*T+0]*v,P=l[3*T+1],b=l[3*T+0]*E;c.push(M,P,b)}}for(let y=0;y0&&x(!0),t>0&&x(!1)),this.setIndex(u),this.setAttribute("position",new Ue(f,3)),this.setAttribute("normal",new Ue(h,3)),this.setAttribute("uv",new Ue(d,2));function y(){const v=new F,E=new F;let T=0;const M=(t-e)/i;for(let P=0;P<=s;P++){const b=[],S=P/s,D=S*(t-e)+e;for(let B=0;B<=r;B++){const H=B/r,$=H*l+a,ee=Math.sin($),Z=Math.cos($);E.x=D*ee,E.y=-S*i+g,E.z=D*Z,f.push(E.x,E.y,E.z),v.set(ee,M,Z).normalize(),h.push(v.x,v.y,v.z),d.push(H,1-S),b.push(p++)}_.push(b)}for(let P=0;P0||b!==0)&&(u.push(S,D,H),T+=3),(t>0||b!==s-1)&&(u.push(D,B,H),T+=3)}c.addGroup(m,T,0),m+=T}function x(v){const E=p,T=new fe,M=new F;let P=0;const b=v===!0?e:t,S=v===!0?1:-1;for(let B=1;B<=r;B++)f.push(0,g*S,0),h.push(0,S,0),d.push(.5,.5),p++;const D=p;for(let B=0;B<=r;B++){const $=B/r*l+a,ee=Math.cos($),Z=Math.sin($);M.x=b*Z,M.y=g*S,M.z=b*ee,f.push(M.x,M.y,M.z),h.push(0,S,0),T.x=ee*.5+.5,T.y=Z*.5*S+.5,d.push(T.x,T.y),p++}for(let B=0;B.9&&M<.1&&(x<.2&&(o[y+0]+=1),v<.2&&(o[y+2]+=1),E<.2&&(o[y+4]+=1))}}function h(y){s.push(y.x,y.y,y.z)}function d(y,x){const v=y*3;x.x=e[v+0],x.y=e[v+1],x.z=e[v+2]}function p(){const y=new F,x=new F,v=new F,E=new F,T=new fe,M=new fe,P=new fe;for(let b=0,S=0;b80*i){l=u=e[0],c=f=e[1];for(let _=i;_u&&(u=h),d>f&&(f=d);p=Math.max(u-l,f-c),p=p!==0?32767/p:0}return zl(o,a,i,l,c,p,0),a}}function mM(n,e,t,i,r){let s,o;if(r===MP(n,e,t,i)>0)for(s=e;s=e;s-=i)o=o0(s,n[s],n[s+1],o);return o&&Gh(o,o.next)&&(Gl(o),o=o.next),o}function ho(n,e){if(!n)return n;e||(e=n);let t=n,i;do if(i=!1,!t.steiner&&(Gh(t,t.next)||Ut(t.prev,t,t.next)===0)){if(Gl(t),t=e=t.prev,t===t.next)break;i=!0}else t=t.next;while(i||t!==e);return e}function zl(n,e,t,i,r,s,o){if(!n)return;!o&&s&&_P(n,i,r,s);let a=n,l,c;for(;n.prev!==n.next;){if(l=n.prev,c=n.next,s?cP(n,i,r,s):lP(n)){e.push(l.i/t|0),e.push(n.i/t|0),e.push(c.i/t|0),Gl(n),n=c.next,a=c.next;continue}if(n=c,n===a){o?o===1?(n=uP(ho(n),e,t),zl(n,e,t,i,r,s,2)):o===2&&fP(n,e,t,i,r,s):zl(ho(n),e,t,i,r,s,1);break}}}function lP(n){const e=n.prev,t=n,i=n.next;if(Ut(e,t,i)>=0)return!1;const r=e.x,s=t.x,o=i.x,a=e.y,l=t.y,c=i.y,u=rs?r>o?r:o:s>o?s:o,d=a>l?a>c?a:c:l>c?l:c;let p=i.next;for(;p!==e;){if(p.x>=u&&p.x<=h&&p.y>=f&&p.y<=d&&Yo(r,a,s,l,o,c,p.x,p.y)&&Ut(p.prev,p,p.next)>=0)return!1;p=p.next}return!0}function cP(n,e,t,i){const r=n.prev,s=n,o=n.next;if(Ut(r,s,o)>=0)return!1;const a=r.x,l=s.x,c=o.x,u=r.y,f=s.y,h=o.y,d=al?a>c?a:c:l>c?l:c,g=u>f?u>h?u:h:f>h?f:h,m=tm(d,p,e,t,i),y=tm(_,g,e,t,i);let x=n.prevZ,v=n.nextZ;for(;x&&x.z>=m&&v&&v.z<=y;){if(x.x>=d&&x.x<=_&&x.y>=p&&x.y<=g&&x!==r&&x!==o&&Yo(a,u,l,f,c,h,x.x,x.y)&&Ut(x.prev,x,x.next)>=0||(x=x.prevZ,v.x>=d&&v.x<=_&&v.y>=p&&v.y<=g&&v!==r&&v!==o&&Yo(a,u,l,f,c,h,v.x,v.y)&&Ut(v.prev,v,v.next)>=0))return!1;v=v.nextZ}for(;x&&x.z>=m;){if(x.x>=d&&x.x<=_&&x.y>=p&&x.y<=g&&x!==r&&x!==o&&Yo(a,u,l,f,c,h,x.x,x.y)&&Ut(x.prev,x,x.next)>=0)return!1;x=x.prevZ}for(;v&&v.z<=y;){if(v.x>=d&&v.x<=_&&v.y>=p&&v.y<=g&&v!==r&&v!==o&&Yo(a,u,l,f,c,h,v.x,v.y)&&Ut(v.prev,v,v.next)>=0)return!1;v=v.nextZ}return!0}function uP(n,e,t){let i=n;do{const r=i.prev,s=i.next.next;!Gh(r,s)&&gM(r,i,i.next,s)&&Hl(r,s)&&Hl(s,r)&&(e.push(r.i/t|0),e.push(i.i/t|0),e.push(s.i/t|0),Gl(i),Gl(i.next),i=n=s),i=i.next}while(i!==n);return ho(i)}function fP(n,e,t,i,r,s){let o=n;do{let a=o.next.next;for(;a!==o.prev;){if(o.i!==a.i&&xP(o,a)){let l=_M(o,a);o=ho(o,o.next),l=ho(l,l.next),zl(o,e,t,i,r,s,0),zl(l,e,t,i,r,s,0);return}a=a.next}o=o.next}while(o!==n)}function hP(n,e,t,i){const r=[];let s,o,a,l,c;for(s=0,o=e.length;s=t.next.y&&t.next.y!==t.y){const h=t.x+(o-t.y)*(t.next.x-t.x)/(t.next.y-t.y);if(h<=s&&h>i&&(i=h,r=t.x=t.x&&t.x>=l&&s!==t.x&&Yo(or.x||t.x===r.x&&gP(r,t)))&&(r=t,u=f)),t=t.next;while(t!==a);return r}function gP(n,e){return Ut(n.prev,n,e.prev)<0&&Ut(e.next,n,n.next)<0}function _P(n,e,t,i){let r=n;do r.z===0&&(r.z=tm(r.x,r.y,e,t,i)),r.prevZ=r.prev,r.nextZ=r.next,r=r.next;while(r!==n);r.prevZ.nextZ=null,r.prevZ=null,vP(r)}function vP(n){let e,t,i,r,s,o,a,l,c=1;do{for(t=n,n=null,s=null,o=0;t;){for(o++,i=t,a=0,e=0;e0||l>0&&i;)a!==0&&(l===0||!i||t.z<=i.z)?(r=t,t=t.nextZ,a--):(r=i,i=i.nextZ,l--),s?s.nextZ=r:n=r,r.prevZ=s,s=r;t=i}s.nextZ=null,c*=2}while(o>1);return n}function tm(n,e,t,i,r){return n=(n-t)*r|0,e=(e-i)*r|0,n=(n|n<<8)&16711935,n=(n|n<<4)&252645135,n=(n|n<<2)&858993459,n=(n|n<<1)&1431655765,e=(e|e<<8)&16711935,e=(e|e<<4)&252645135,e=(e|e<<2)&858993459,e=(e|e<<1)&1431655765,n|e<<1}function yP(n){let e=n,t=n;do(e.x=(n-o)*(s-a)&&(n-o)*(i-a)>=(t-o)*(e-a)&&(t-o)*(s-a)>=(r-o)*(i-a)}function xP(n,e){return n.next.i!==e.i&&n.prev.i!==e.i&&!bP(n,e)&&(Hl(n,e)&&Hl(e,n)&&SP(n,e)&&(Ut(n.prev,n,e.prev)||Ut(n,e.prev,e))||Gh(n,e)&&Ut(n.prev,n,n.next)>0&&Ut(e.prev,e,e.next)>0)}function Ut(n,e,t){return(e.y-n.y)*(t.x-e.x)-(e.x-n.x)*(t.y-e.y)}function Gh(n,e){return n.x===e.x&&n.y===e.y}function gM(n,e,t,i){const r=pu(Ut(n,e,t)),s=pu(Ut(n,e,i)),o=pu(Ut(t,i,n)),a=pu(Ut(t,i,e));return!!(r!==s&&o!==a||r===0&&du(n,t,e)||s===0&&du(n,i,e)||o===0&&du(t,n,i)||a===0&&du(t,e,i))}function du(n,e,t){return e.x<=Math.max(n.x,t.x)&&e.x>=Math.min(n.x,t.x)&&e.y<=Math.max(n.y,t.y)&&e.y>=Math.min(n.y,t.y)}function pu(n){return n>0?1:n<0?-1:0}function bP(n,e){let t=n;do{if(t.i!==n.i&&t.next.i!==n.i&&t.i!==e.i&&t.next.i!==e.i&&gM(t,t.next,n,e))return!0;t=t.next}while(t!==n);return!1}function Hl(n,e){return Ut(n.prev,n,n.next)<0?Ut(n,e,n.next)>=0&&Ut(n,n.prev,e)>=0:Ut(n,e,n.prev)<0||Ut(n,n.next,e)<0}function SP(n,e){let t=n,i=!1;const r=(n.x+e.x)/2,s=(n.y+e.y)/2;do t.y>s!=t.next.y>s&&t.next.y!==t.y&&r<(t.next.x-t.x)*(s-t.y)/(t.next.y-t.y)+t.x&&(i=!i),t=t.next;while(t!==n);return i}function _M(n,e){const t=new nm(n.i,n.x,n.y),i=new nm(e.i,e.x,e.y),r=n.next,s=e.prev;return n.next=e,e.prev=n,t.next=r,r.prev=t,i.next=t,t.prev=i,s.next=i,i.prev=s,i}function o0(n,e,t,i){const r=new nm(n,e,t);return i?(r.next=i.next,r.prev=i,i.next.prev=r,i.next=r):(r.prev=r,r.next=r),r}function Gl(n){n.next.prev=n.prev,n.prev.next=n.next,n.prevZ&&(n.prevZ.nextZ=n.nextZ),n.nextZ&&(n.nextZ.prevZ=n.prevZ)}function nm(n,e,t){this.i=n,this.x=e,this.y=t,this.prev=null,this.next=null,this.z=0,this.prevZ=null,this.nextZ=null,this.steiner=!1}function MP(n,e,t,i){let r=0;for(let s=e,o=t-i;s2&&n[e-1].equals(n[0])&&n.pop()}function l0(n,e){for(let t=0;tNumber.EPSILON){const U=Math.sqrt(C),z=Math.sqrt(V*V+A*A),Y=L.x-N/U,he=L.y+R/U,ce=w.x-A/z,ye=w.y+V/z,Fe=((ce-Y)*A-(ye-he)*V)/(R*A-N*V);j=Y+R*Fe-I.x,G=he+N*Fe-I.y;const me=j*j+G*G;if(me<=2)return new fe(j,G);q=Math.sqrt(me/2)}else{let U=!1;R>Number.EPSILON?V>Number.EPSILON&&(U=!0):R<-Number.EPSILON?V<-Number.EPSILON&&(U=!0):Math.sign(N)===Math.sign(A)&&(U=!0),U?(j=-N,G=R,q=Math.sqrt(C)):(j=R,G=N,q=Math.sqrt(C/2))}return new fe(j/q,G/q)}const pe=[];for(let I=0,L=$.length,w=L-1,j=I+1;I=0;I--){const L=I/g,w=d*Math.cos(L*Math.PI/2),j=p*Math.sin(L*Math.PI/2)+_;for(let G=0,q=$.length;G=0;){const j=w;let G=w-1;G<0&&(G=I.length-1);for(let q=0,R=u+g*2;q0)&&d.push(x,v,T),(m!==i-1||l0!=e>0&&this.version++,this._anisotropy=e}get clearcoat(){return this._clearcoat}set clearcoat(e){this._clearcoat>0!=e>0&&this.version++,this._clearcoat=e}get iridescence(){return this._iridescence}set iridescence(e){this._iridescence>0!=e>0&&this.version++,this._iridescence=e}get dispersion(){return this._dispersion}set dispersion(e){this._dispersion>0!=e>0&&this.version++,this._dispersion=e}get sheen(){return this._sheen}set sheen(e){this._sheen>0!=e>0&&this.version++,this._sheen=e}get transmission(){return this._transmission}set transmission(e){this._transmission>0!=e>0&&this.version++,this._transmission=e}copy(e){return super.copy(e),this.defines={STANDARD:"",PHYSICAL:""},this.anisotropy=e.anisotropy,this.anisotropyRotation=e.anisotropyRotation,this.anisotropyMap=e.anisotropyMap,this.clearcoat=e.clearcoat,this.clearcoatMap=e.clearcoatMap,this.clearcoatRoughness=e.clearcoatRoughness,this.clearcoatRoughnessMap=e.clearcoatRoughnessMap,this.clearcoatNormalMap=e.clearcoatNormalMap,this.clearcoatNormalScale.copy(e.clearcoatNormalScale),this.dispersion=e.dispersion,this.ior=e.ior,this.iridescence=e.iridescence,this.iridescenceMap=e.iridescenceMap,this.iridescenceIOR=e.iridescenceIOR,this.iridescenceThicknessRange=[...e.iridescenceThicknessRange],this.iridescenceThicknessMap=e.iridescenceThicknessMap,this.sheen=e.sheen,this.sheenColor.copy(e.sheenColor),this.sheenColorMap=e.sheenColorMap,this.sheenRoughness=e.sheenRoughness,this.sheenRoughnessMap=e.sheenRoughnessMap,this.transmission=e.transmission,this.transmissionMap=e.transmissionMap,this.thickness=e.thickness,this.thicknessMap=e.thicknessMap,this.attenuationDistance=e.attenuationDistance,this.attenuationColor.copy(e.attenuationColor),this.specularIntensity=e.specularIntensity,this.specularIntensityMap=e.specularIntensityMap,this.specularColor.copy(e.specularColor),this.specularColorMap=e.specularColorMap,this}}class SM extends xn{constructor(e){super(),this.isMeshPhongMaterial=!0,this.type="MeshPhongMaterial",this.color=new we(16777215),this.specular=new we(1118481),this.shininess=30,this.map=null,this.lightMap=null,this.lightMapIntensity=1,this.aoMap=null,this.aoMapIntensity=1,this.emissive=new we(0),this.emissiveIntensity=1,this.emissiveMap=null,this.bumpMap=null,this.bumpScale=1,this.normalMap=null,this.normalMapType=fs,this.normalScale=new fe(1,1),this.displacementMap=null,this.displacementScale=1,this.displacementBias=0,this.specularMap=null,this.alphaMap=null,this.envMap=null,this.envMapRotation=new ei,this.combine=uc,this.reflectivity=1,this.refractionRatio=.98,this.wireframe=!1,this.wireframeLinewidth=1,this.wireframeLinecap="round",this.wireframeLinejoin="round",this.flatShading=!1,this.fog=!0,this.setValues(e)}copy(e){return super.copy(e),this.color.copy(e.color),this.specular.copy(e.specular),this.shininess=e.shininess,this.map=e.map,this.lightMap=e.lightMap,this.lightMapIntensity=e.lightMapIntensity,this.aoMap=e.aoMap,this.aoMapIntensity=e.aoMapIntensity,this.emissive.copy(e.emissive),this.emissiveMap=e.emissiveMap,this.emissiveIntensity=e.emissiveIntensity,this.bumpMap=e.bumpMap,this.bumpScale=e.bumpScale,this.normalMap=e.normalMap,this.normalMapType=e.normalMapType,this.normalScale.copy(e.normalScale),this.displacementMap=e.displacementMap,this.displacementScale=e.displacementScale,this.displacementBias=e.displacementBias,this.specularMap=e.specularMap,this.alphaMap=e.alphaMap,this.envMap=e.envMap,this.envMapRotation.copy(e.envMapRotation),this.combine=e.combine,this.reflectivity=e.reflectivity,this.refractionRatio=e.refractionRatio,this.wireframe=e.wireframe,this.wireframeLinewidth=e.wireframeLinewidth,this.wireframeLinecap=e.wireframeLinecap,this.wireframeLinejoin=e.wireframeLinejoin,this.flatShading=e.flatShading,this.fog=e.fog,this}}class MM extends xn{constructor(e){super(),this.isMeshToonMaterial=!0,this.defines={TOON:""},this.type="MeshToonMaterial",this.color=new we(16777215),this.map=null,this.gradientMap=null,this.lightMap=null,this.lightMapIntensity=1,this.aoMap=null,this.aoMapIntensity=1,this.emissive=new we(0),this.emissiveIntensity=1,this.emissiveMap=null,this.bumpMap=null,this.bumpScale=1,this.normalMap=null,this.normalMapType=fs,this.normalScale=new fe(1,1),this.displacementMap=null,this.displacementScale=1,this.displacementBias=0,this.alphaMap=null,this.wireframe=!1,this.wireframeLinewidth=1,this.wireframeLinecap="round",this.wireframeLinejoin="round",this.fog=!0,this.setValues(e)}copy(e){return super.copy(e),this.color.copy(e.color),this.map=e.map,this.gradientMap=e.gradientMap,this.lightMap=e.lightMap,this.lightMapIntensity=e.lightMapIntensity,this.aoMap=e.aoMap,this.aoMapIntensity=e.aoMapIntensity,this.emissive.copy(e.emissive),this.emissiveMap=e.emissiveMap,this.emissiveIntensity=e.emissiveIntensity,this.bumpMap=e.bumpMap,this.bumpScale=e.bumpScale,this.normalMap=e.normalMap,this.normalMapType=e.normalMapType,this.normalScale.copy(e.normalScale),this.displacementMap=e.displacementMap,this.displacementScale=e.displacementScale,this.displacementBias=e.displacementBias,this.alphaMap=e.alphaMap,this.wireframe=e.wireframe,this.wireframeLinewidth=e.wireframeLinewidth,this.wireframeLinecap=e.wireframeLinecap,this.wireframeLinejoin=e.wireframeLinejoin,this.fog=e.fog,this}}class EM extends xn{constructor(e){super(),this.isMeshNormalMaterial=!0,this.type="MeshNormalMaterial",this.bumpMap=null,this.bumpScale=1,this.normalMap=null,this.normalMapType=fs,this.normalScale=new fe(1,1),this.displacementMap=null,this.displacementScale=1,this.displacementBias=0,this.wireframe=!1,this.wireframeLinewidth=1,this.flatShading=!1,this.setValues(e)}copy(e){return super.copy(e),this.bumpMap=e.bumpMap,this.bumpScale=e.bumpScale,this.normalMap=e.normalMap,this.normalMapType=e.normalMapType,this.normalScale.copy(e.normalScale),this.displacementMap=e.displacementMap,this.displacementScale=e.displacementScale,this.displacementBias=e.displacementBias,this.wireframe=e.wireframe,this.wireframeLinewidth=e.wireframeLinewidth,this.flatShading=e.flatShading,this}}class TM extends xn{constructor(e){super(),this.isMeshLambertMaterial=!0,this.type="MeshLambertMaterial",this.color=new we(16777215),this.map=null,this.lightMap=null,this.lightMapIntensity=1,this.aoMap=null,this.aoMapIntensity=1,this.emissive=new we(0),this.emissiveIntensity=1,this.emissiveMap=null,this.bumpMap=null,this.bumpScale=1,this.normalMap=null,this.normalMapType=fs,this.normalScale=new fe(1,1),this.displacementMap=null,this.displacementScale=1,this.displacementBias=0,this.specularMap=null,this.alphaMap=null,this.envMap=null,this.envMapRotation=new ei,this.combine=uc,this.reflectivity=1,this.refractionRatio=.98,this.wireframe=!1,this.wireframeLinewidth=1,this.wireframeLinecap="round",this.wireframeLinejoin="round",this.flatShading=!1,this.fog=!0,this.setValues(e)}copy(e){return super.copy(e),this.color.copy(e.color),this.map=e.map,this.lightMap=e.lightMap,this.lightMapIntensity=e.lightMapIntensity,this.aoMap=e.aoMap,this.aoMapIntensity=e.aoMapIntensity,this.emissive.copy(e.emissive),this.emissiveMap=e.emissiveMap,this.emissiveIntensity=e.emissiveIntensity,this.bumpMap=e.bumpMap,this.bumpScale=e.bumpScale,this.normalMap=e.normalMap,this.normalMapType=e.normalMapType,this.normalScale.copy(e.normalScale),this.displacementMap=e.displacementMap,this.displacementScale=e.displacementScale,this.displacementBias=e.displacementBias,this.specularMap=e.specularMap,this.alphaMap=e.alphaMap,this.envMap=e.envMap,this.envMapRotation.copy(e.envMapRotation),this.combine=e.combine,this.reflectivity=e.reflectivity,this.refractionRatio=e.refractionRatio,this.wireframe=e.wireframe,this.wireframeLinewidth=e.wireframeLinewidth,this.wireframeLinecap=e.wireframeLinecap,this.wireframeLinejoin=e.wireframeLinejoin,this.flatShading=e.flatShading,this.fog=e.fog,this}}class zg extends xn{constructor(e){super(),this.isMeshDepthMaterial=!0,this.type="MeshDepthMaterial",this.depthPacking=US,this.map=null,this.alphaMap=null,this.displacementMap=null,this.displacementScale=1,this.displacementBias=0,this.wireframe=!1,this.wireframeLinewidth=1,this.setValues(e)}copy(e){return super.copy(e),this.depthPacking=e.depthPacking,this.map=e.map,this.alphaMap=e.alphaMap,this.displacementMap=e.displacementMap,this.displacementScale=e.displacementScale,this.displacementBias=e.displacementBias,this.wireframe=e.wireframe,this.wireframeLinewidth=e.wireframeLinewidth,this}}class Hg extends xn{constructor(e){super(),this.isMeshDistanceMaterial=!0,this.type="MeshDistanceMaterial",this.map=null,this.alphaMap=null,this.displacementMap=null,this.displacementScale=1,this.displacementBias=0,this.setValues(e)}copy(e){return super.copy(e),this.map=e.map,this.alphaMap=e.alphaMap,this.displacementMap=e.displacementMap,this.displacementScale=e.displacementScale,this.displacementBias=e.displacementBias,this}}class wM extends xn{constructor(e){super(),this.isMeshMatcapMaterial=!0,this.defines={MATCAP:""},this.type="MeshMatcapMaterial",this.color=new we(16777215),this.matcap=null,this.map=null,this.bumpMap=null,this.bumpScale=1,this.normalMap=null,this.normalMapType=fs,this.normalScale=new fe(1,1),this.displacementMap=null,this.displacementScale=1,this.displacementBias=0,this.alphaMap=null,this.flatShading=!1,this.fog=!0,this.setValues(e)}copy(e){return super.copy(e),this.defines={MATCAP:""},this.color.copy(e.color),this.matcap=e.matcap,this.map=e.map,this.bumpMap=e.bumpMap,this.bumpScale=e.bumpScale,this.normalMap=e.normalMap,this.normalMapType=e.normalMapType,this.normalScale.copy(e.normalScale),this.displacementMap=e.displacementMap,this.displacementScale=e.displacementScale,this.displacementBias=e.displacementBias,this.alphaMap=e.alphaMap,this.flatShading=e.flatShading,this.fog=e.fog,this}}class AM extends Nn{constructor(e){super(),this.isLineDashedMaterial=!0,this.type="LineDashedMaterial",this.scale=1,this.dashSize=3,this.gapSize=1,this.setValues(e)}copy(e){return super.copy(e),this.scale=e.scale,this.dashSize=e.dashSize,this.gapSize=e.gapSize,this}}function Ks(n,e,t){return!n||!t&&n.constructor===e?n:typeof e.BYTES_PER_ELEMENT=="number"?new e(n):Array.prototype.slice.call(n)}function CM(n){return ArrayBuffer.isView(n)&&!(n instanceof DataView)}function RM(n){function e(r,s){return n[r]-n[s]}const t=n.length,i=new Array(t);for(let r=0;r!==t;++r)i[r]=r;return i.sort(e),i}function im(n,e,t){const i=n.length,r=new n.constructor(i);for(let s=0,o=0;o!==i;++s){const a=t[s]*e;for(let l=0;l!==e;++l)r[o++]=n[a+l]}return r}function Gg(n,e,t,i){let r=1,s=n[0];for(;s!==void 0&&s[i]===void 0;)s=n[r++];if(s===void 0)return;let o=s[i];if(o!==void 0)if(Array.isArray(o))do o=s[i],o!==void 0&&(e.push(s.time),t.push(...o)),s=n[r++];while(s!==void 0);else if(o.toArray!==void 0)do o=s[i],o!==void 0&&(e.push(s.time),o.toArray(t,t.length)),s=n[r++];while(s!==void 0);else do o=s[i],o!==void 0&&(e.push(s.time),t.push(o)),s=n[r++];while(s!==void 0)}function AP(n,e,t,i,r=30){const s=n.clone();s.name=e;const o=[];for(let l=0;l=i)){f.push(c.times[d]);for(let _=0;_s.tracks[l].times[0]&&(a=s.tracks[l].times[0]);for(let l=0;l=a.times[p]){const m=p*f+u,y=m+f-u;_=a.values.slice(m,y)}else{const m=a.createInterpolant(),y=u,x=f-u;m.evaluate(s),_=m.resultBuffer.slice(y,x)}l==="quaternion"&&new Wn().fromArray(_).normalize().conjugate().toArray(_);const g=c.times.length;for(let m=0;m=s)){const a=t[1];e=s)break t}o=i,i=0;break n}break e}for(;i>>1;et;)--o;if(++o,s!==0||o!==r){s>=o&&(o=Math.max(o,1),s=o-1);const a=this.getValueSize();this.times=i.slice(s,o),this.values=this.values.slice(s*a,o*a)}return this}validate(){let e=!0;const t=this.getValueSize();t-Math.floor(t)!==0&&(console.error("THREE.KeyframeTrack: Invalid value size in track.",this),e=!1);const i=this.times,r=this.values,s=i.length;s===0&&(console.error("THREE.KeyframeTrack: Track is empty.",this),e=!1);let o=null;for(let a=0;a!==s;a++){const l=i[a];if(typeof l=="number"&&isNaN(l)){console.error("THREE.KeyframeTrack: Time is not a valid number.",this,a,l),e=!1;break}if(o!==null&&o>l){console.error("THREE.KeyframeTrack: Out of order keys.",this,a,l,o),e=!1;break}o=l}if(r!==void 0&&CM(r))for(let a=0,l=r.length;a!==l;++a){const c=r[a];if(isNaN(c)){console.error("THREE.KeyframeTrack: Value is not a valid number.",this,a,c),e=!1;break}}return e}optimize(){const e=this.times.slice(),t=this.values.slice(),i=this.getValueSize(),r=this.getInterpolation()===Gu,s=e.length-1;let o=1;for(let a=1;a0){e[o]=e[s];for(let a=s*i,l=o*i,c=0;c!==i;++c)t[l+c]=t[a+c];++o}return o!==e.length?(this.times=e.slice(0,o),this.values=t.slice(0,o*i)):(this.times=e,this.values=t),this}clone(){const e=this.times.slice(),t=this.values.slice(),i=this.constructor,r=new i(this.name,e,t);return r.createInterpolant=this.createInterpolant,r}}Di.prototype.TimeBufferType=Float32Array;Di.prototype.ValueBufferType=Float32Array;Di.prototype.DefaultInterpolation=Xf;class go extends Di{constructor(e,t,i){super(e,t,i)}}go.prototype.ValueTypeName="bool";go.prototype.ValueBufferType=Array;go.prototype.DefaultInterpolation=Ol;go.prototype.InterpolantFactoryMethodLinear=void 0;go.prototype.InterpolantFactoryMethodSmooth=void 0;class Xg extends Di{}Xg.prototype.ValueTypeName="color";class Wl extends Di{}Wl.prototype.ValueTypeName="number";class LM extends yc{constructor(e,t,i,r){super(e,t,i,r)}interpolate_(e,t,i,r){const s=this.resultBuffer,o=this.sampleValues,a=this.valueSize,l=(i-t)/(r-t);let c=e*a;for(let u=c+a;c!==u;c+=4)Wn.slerpFlat(s,0,o,c-a,o,c,l);return s}}class xc extends Di{InterpolantFactoryMethodLinear(e){return new LM(this.times,this.values,this.getValueSize(),e)}}xc.prototype.ValueTypeName="quaternion";xc.prototype.InterpolantFactoryMethodSmooth=void 0;class _o extends Di{constructor(e,t,i){super(e,t,i)}}_o.prototype.ValueTypeName="string";_o.prototype.ValueBufferType=Array;_o.prototype.DefaultInterpolation=Ol;_o.prototype.InterpolantFactoryMethodLinear=void 0;_o.prototype.InterpolantFactoryMethodSmooth=void 0;class Xl extends Di{}Xl.prototype.ValueTypeName="vector";class $l{constructor(e="",t=-1,i=[],r=Ch){this.name=e,this.tracks=i,this.duration=t,this.blendMode=r,this.uuid=Zn(),this.duration<0&&this.resetDuration()}static parse(e){const t=[],i=e.tracks,r=1/(e.fps||1);for(let o=0,a=i.length;o!==a;++o)t.push(IP(i[o]).scale(r));const s=new this(e.name,e.duration,t,e.blendMode);return s.uuid=e.uuid,s}static toJSON(e){const t=[],i=e.tracks,r={name:e.name,duration:e.duration,tracks:t,uuid:e.uuid,blendMode:e.blendMode};for(let s=0,o=i.length;s!==o;++s)t.push(Di.toJSON(i[s]));return r}static CreateFromMorphTargetSequence(e,t,i,r){const s=t.length,o=[];for(let a=0;a1){const f=u[1];let h=r[f];h||(r[f]=h=[]),h.push(c)}}const o=[];for(const a in r)o.push(this.CreateFromMorphTargetSequence(a,r[a],t,i));return o}static parseAnimation(e,t){if(!e)return console.error("THREE.AnimationClip: No animation in JSONLoader data."),null;const i=function(f,h,d,p,_){if(d.length!==0){const g=[],m=[];Gg(d,g,m,p),g.length!==0&&_.push(new f(h,g,m))}},r=[],s=e.name||"default",o=e.fps||30,a=e.blendMode;let l=e.length||-1;const c=e.hierarchy||[];for(let f=0;f{t&&t(s),this.manager.itemEnd(e)},0),s;if(or[e]!==void 0){or[e].push({onLoad:t,onProgress:i,onError:r});return}or[e]=[],or[e].push({onLoad:t,onProgress:i,onError:r});const o=new Request(e,{headers:new Headers(this.requestHeader),credentials:this.withCredentials?"include":"same-origin"}),a=this.mimeType,l=this.responseType;fetch(o).then(c=>{if(c.status===200||c.status===0){if(c.status===0&&console.warn("THREE.FileLoader: HTTP Status 0 received."),typeof ReadableStream>"u"||c.body===void 0||c.body.getReader===void 0)return c;const u=or[e],f=c.body.getReader(),h=c.headers.get("X-File-Size")||c.headers.get("Content-Length"),d=h?parseInt(h):0,p=d!==0;let _=0;const g=new ReadableStream({start(m){y();function y(){f.read().then(({done:x,value:v})=>{if(x)m.close();else{_+=v.byteLength;const E=new ProgressEvent("progress",{lengthComputable:p,loaded:_,total:d});for(let T=0,M=u.length;T{m.error(x)})}}});return new Response(g)}else throw new LP(`fetch for "${c.url}" responded with ${c.status}: ${c.statusText}`,c)}).then(c=>{switch(l){case"arraybuffer":return c.arrayBuffer();case"blob":return c.blob();case"document":return c.text().then(u=>new DOMParser().parseFromString(u,a));case"json":return c.json();default:if(a===void 0)return c.text();{const f=/charset="?([^;"\s]*)"?/i.exec(a),h=f&&f[1]?f[1].toLowerCase():void 0,d=new TextDecoder(h);return c.arrayBuffer().then(p=>d.decode(p))}}}).then(c=>{gr.add(e,c);const u=or[e];delete or[e];for(let f=0,h=u.length;f{const u=or[e];if(u===void 0)throw this.manager.itemError(e),c;delete or[e];for(let f=0,h=u.length;f{this.manager.itemEnd(e)}),this.manager.itemStart(e)}setResponseType(e){return this.responseType=e,this}setMimeType(e){return this.mimeType=e,this}}class DP extends $n{constructor(e){super(e)}load(e,t,i,r){const s=this,o=new Ar(this.manager);o.setPath(this.path),o.setRequestHeader(this.requestHeader),o.setWithCredentials(this.withCredentials),o.load(e,function(a){try{t(s.parse(JSON.parse(a)))}catch(l){r?r(l):console.error(l),s.manager.itemError(e)}},i,r)}parse(e){const t=[];for(let i=0;i0:r.vertexColors=e.vertexColors),e.uniforms!==void 0)for(const s in e.uniforms){const o=e.uniforms[s];switch(r.uniforms[s]={},o.type){case"t":r.uniforms[s].value=i(o.value);break;case"c":r.uniforms[s].value=new we().setHex(o.value);break;case"v2":r.uniforms[s].value=new fe().fromArray(o.value);break;case"v3":r.uniforms[s].value=new F().fromArray(o.value);break;case"v4":r.uniforms[s].value=new ht().fromArray(o.value);break;case"m3":r.uniforms[s].value=new et().fromArray(o.value);break;case"m4":r.uniforms[s].value=new Xe().fromArray(o.value);break;default:r.uniforms[s].value=o.value}}if(e.defines!==void 0&&(r.defines=e.defines),e.vertexShader!==void 0&&(r.vertexShader=e.vertexShader),e.fragmentShader!==void 0&&(r.fragmentShader=e.fragmentShader),e.glslVersion!==void 0&&(r.glslVersion=e.glslVersion),e.extensions!==void 0)for(const s in e.extensions)r.extensions[s]=e.extensions[s];if(e.lights!==void 0&&(r.lights=e.lights),e.clipping!==void 0&&(r.clipping=e.clipping),e.size!==void 0&&(r.size=e.size),e.sizeAttenuation!==void 0&&(r.sizeAttenuation=e.sizeAttenuation),e.map!==void 0&&(r.map=i(e.map)),e.matcap!==void 0&&(r.matcap=i(e.matcap)),e.alphaMap!==void 0&&(r.alphaMap=i(e.alphaMap)),e.bumpMap!==void 0&&(r.bumpMap=i(e.bumpMap)),e.bumpScale!==void 0&&(r.bumpScale=e.bumpScale),e.normalMap!==void 0&&(r.normalMap=i(e.normalMap)),e.normalMapType!==void 0&&(r.normalMapType=e.normalMapType),e.normalScale!==void 0){let s=e.normalScale;Array.isArray(s)===!1&&(s=[s,s]),r.normalScale=new fe().fromArray(s)}return e.displacementMap!==void 0&&(r.displacementMap=i(e.displacementMap)),e.displacementScale!==void 0&&(r.displacementScale=e.displacementScale),e.displacementBias!==void 0&&(r.displacementBias=e.displacementBias),e.roughnessMap!==void 0&&(r.roughnessMap=i(e.roughnessMap)),e.metalnessMap!==void 0&&(r.metalnessMap=i(e.metalnessMap)),e.emissiveMap!==void 0&&(r.emissiveMap=i(e.emissiveMap)),e.emissiveIntensity!==void 0&&(r.emissiveIntensity=e.emissiveIntensity),e.specularMap!==void 0&&(r.specularMap=i(e.specularMap)),e.specularIntensityMap!==void 0&&(r.specularIntensityMap=i(e.specularIntensityMap)),e.specularColorMap!==void 0&&(r.specularColorMap=i(e.specularColorMap)),e.envMap!==void 0&&(r.envMap=i(e.envMap)),e.envMapRotation!==void 0&&r.envMapRotation.fromArray(e.envMapRotation),e.envMapIntensity!==void 0&&(r.envMapIntensity=e.envMapIntensity),e.reflectivity!==void 0&&(r.reflectivity=e.reflectivity),e.refractionRatio!==void 0&&(r.refractionRatio=e.refractionRatio),e.lightMap!==void 0&&(r.lightMap=i(e.lightMap)),e.lightMapIntensity!==void 0&&(r.lightMapIntensity=e.lightMapIntensity),e.aoMap!==void 0&&(r.aoMap=i(e.aoMap)),e.aoMapIntensity!==void 0&&(r.aoMapIntensity=e.aoMapIntensity),e.gradientMap!==void 0&&(r.gradientMap=i(e.gradientMap)),e.clearcoatMap!==void 0&&(r.clearcoatMap=i(e.clearcoatMap)),e.clearcoatRoughnessMap!==void 0&&(r.clearcoatRoughnessMap=i(e.clearcoatRoughnessMap)),e.clearcoatNormalMap!==void 0&&(r.clearcoatNormalMap=i(e.clearcoatNormalMap)),e.clearcoatNormalScale!==void 0&&(r.clearcoatNormalScale=new fe().fromArray(e.clearcoatNormalScale)),e.iridescenceMap!==void 0&&(r.iridescenceMap=i(e.iridescenceMap)),e.iridescenceThicknessMap!==void 0&&(r.iridescenceThicknessMap=i(e.iridescenceThicknessMap)),e.transmissionMap!==void 0&&(r.transmissionMap=i(e.transmissionMap)),e.thicknessMap!==void 0&&(r.thicknessMap=i(e.thicknessMap)),e.anisotropyMap!==void 0&&(r.anisotropyMap=i(e.anisotropyMap)),e.sheenColorMap!==void 0&&(r.sheenColorMap=i(e.sheenColorMap)),e.sheenRoughnessMap!==void 0&&(r.sheenRoughnessMap=i(e.sheenRoughnessMap)),r}setTextures(e){return this.textures=e,this}createMaterialFromType(e){return Qh.createMaterialFromType(e)}static createMaterialFromType(e){const t={ShadowMaterial:yM,SpriteMaterial:Pg,RawShaderMaterial:xM,ShaderMaterial:Ri,PointsMaterial:Lg,MeshPhysicalMaterial:bM,MeshStandardMaterial:Vg,MeshPhongMaterial:SM,MeshToonMaterial:MM,MeshNormalMaterial:EM,MeshLambertMaterial:TM,MeshDepthMaterial:zg,MeshDistanceMaterial:Hg,MeshBasicMaterial:Pr,MeshMatcapMaterial:wM,LineDashedMaterial:AM,LineBasicMaterial:Nn,Material:xn};return new t[e]}}class rm{static decodeText(e){if(console.warn("THREE.LoaderUtils: decodeText() has been deprecated with r165 and will be removed with r175. Use TextDecoder instead."),typeof TextDecoder<"u")return new TextDecoder().decode(e);let t="";for(let i=0,r=e.length;i0){const l=new $g(t);s=new ql(l),s.setCrossOrigin(this.crossOrigin);for(let c=0,u=e.length;c0){r=new ql(this.manager),r.setCrossOrigin(this.crossOrigin);for(let o=0,a=e.length;o{const g=new On;g.min.fromArray(_.boxMin),g.max.fromArray(_.boxMax);const m=new _n;return m.radius=_.sphereRadius,m.center.fromArray(_.sphereCenter),{boxInitialized:_.boxInitialized,box:g,sphereInitialized:_.sphereInitialized,sphere:m}}),o._maxInstanceCount=e.maxInstanceCount,o._maxVertexCount=e.maxVertexCount,o._maxIndexCount=e.maxIndexCount,o._geometryInitialized=e.geometryInitialized,o._geometryCount=e.geometryCount,o._matricesTexture=c(e.matricesTexture.uuid),e.colorsTexture!==void 0&&(o._colorsTexture=c(e.colorsTexture.uuid));break;case"LOD":o=new nM;break;case"Line":o=new ss(a(e.geometry),l(e.material));break;case"LineLoop":o=new oM(a(e.geometry),l(e.material));break;case"LineSegments":o=new Ki(a(e.geometry),l(e.material));break;case"PointCloud":case"Points":o=new aM(a(e.geometry),l(e.material));break;case"Sprite":o=new tM(l(e.material));break;case"Group":o=new qo;break;case"Bone":o=new Ig;break;default:o=new ct}if(o.uuid=e.uuid,e.name!==void 0&&(o.name=e.name),e.matrix!==void 0?(o.matrix.fromArray(e.matrix),e.matrixAutoUpdate!==void 0&&(o.matrixAutoUpdate=e.matrixAutoUpdate),o.matrixAutoUpdate&&o.matrix.decompose(o.position,o.quaternion,o.scale)):(e.position!==void 0&&o.position.fromArray(e.position),e.rotation!==void 0&&o.rotation.fromArray(e.rotation),e.quaternion!==void 0&&o.quaternion.fromArray(e.quaternion),e.scale!==void 0&&o.scale.fromArray(e.scale)),e.up!==void 0&&o.up.fromArray(e.up),e.castShadow!==void 0&&(o.castShadow=e.castShadow),e.receiveShadow!==void 0&&(o.receiveShadow=e.receiveShadow),e.shadow&&(e.shadow.intensity!==void 0&&(o.shadow.intensity=e.shadow.intensity),e.shadow.bias!==void 0&&(o.shadow.bias=e.shadow.bias),e.shadow.normalBias!==void 0&&(o.shadow.normalBias=e.shadow.normalBias),e.shadow.radius!==void 0&&(o.shadow.radius=e.shadow.radius),e.shadow.mapSize!==void 0&&o.shadow.mapSize.fromArray(e.shadow.mapSize),e.shadow.camera!==void 0&&(o.shadow.camera=this.parseObject(e.shadow.camera))),e.visible!==void 0&&(o.visible=e.visible),e.frustumCulled!==void 0&&(o.frustumCulled=e.frustumCulled),e.renderOrder!==void 0&&(o.renderOrder=e.renderOrder),e.userData!==void 0&&(o.userData=e.userData),e.layers!==void 0&&(o.layers.mask=e.layers),e.children!==void 0){const h=e.children;for(let d=0;d"u"&&console.warn("THREE.ImageBitmapLoader: createImageBitmap() not supported."),typeof fetch>"u"&&console.warn("THREE.ImageBitmapLoader: fetch() not supported."),this.options={premultiplyAlpha:"none"}}setOptions(e){return this.options=e,this}load(e,t,i,r){e===void 0&&(e=""),this.path!==void 0&&(e=this.path+e),e=this.manager.resolveURL(e);const s=this,o=gr.get(e);if(o!==void 0){if(s.manager.itemStart(e),o.then){o.then(c=>{t&&t(c),s.manager.itemEnd(e)}).catch(c=>{r&&r(c)});return}return setTimeout(function(){t&&t(o),s.manager.itemEnd(e)},0),o}const a={};a.credentials=this.crossOrigin==="anonymous"?"same-origin":"include",a.headers=this.requestHeader;const l=fetch(e,a).then(function(c){return c.blob()}).then(function(c){return createImageBitmap(c,Object.assign(s.options,{colorSpaceConversion:"none"}))}).then(function(c){return gr.add(e,c),t&&t(c),s.manager.itemEnd(e),c}).catch(function(c){r&&r(c),gr.remove(e),s.manager.itemError(e),s.manager.itemEnd(e)});gr.add(e,l),s.manager.itemStart(e)}}let mu;class Yg{static getContext(){return mu===void 0&&(mu=new(window.AudioContext||window.webkitAudioContext)),mu}static setContext(e){mu=e}}class WP extends $n{constructor(e){super(e)}load(e,t,i,r){const s=this,o=new Ar(this.manager);o.setResponseType("arraybuffer"),o.setPath(this.path),o.setRequestHeader(this.requestHeader),o.setWithCredentials(this.withCredentials),o.load(e,function(l){try{const c=l.slice(0);Yg.getContext().decodeAudioData(c,function(f){t(f)}).catch(a)}catch(c){a(c)}},i,r);function a(l){r?r(l):console.error(l),s.manager.itemError(e)}}}const g0=new Xe,_0=new Xe,Ps=new Xe;class XP{constructor(){this.type="StereoCamera",this.aspect=1,this.eyeSep=.064,this.cameraL=new $t,this.cameraL.layers.enable(1),this.cameraL.matrixAutoUpdate=!1,this.cameraR=new $t,this.cameraR.layers.enable(2),this.cameraR.matrixAutoUpdate=!1,this._cache={focus:null,fov:null,aspect:null,near:null,far:null,zoom:null,eyeSep:null}}update(e){const t=this._cache;if(t.focus!==e.focus||t.fov!==e.fov||t.aspect!==e.aspect*this.aspect||t.near!==e.near||t.far!==e.far||t.zoom!==e.zoom||t.eyeSep!==this.eyeSep){t.focus=e.focus,t.fov=e.fov,t.aspect=e.aspect*this.aspect,t.near=e.near,t.far=e.far,t.zoom=e.zoom,t.eyeSep=this.eyeSep,Ps.copy(e.projectionMatrix);const r=t.eyeSep/2,s=r*t.near/t.focus,o=t.near*Math.tan(no*t.fov*.5)/t.zoom;let a,l;_0.elements[12]=-r,g0.elements[12]=r,a=-o*t.aspect+s,l=o*t.aspect+s,Ps.elements[0]=2*t.near/(l-a),Ps.elements[8]=(l+a)/(l-a),this.cameraL.projectionMatrix.copy(Ps),a=-o*t.aspect-s,l=o*t.aspect-s,Ps.elements[0]=2*t.near/(l-a),Ps.elements[8]=(l+a)/(l-a),this.cameraR.projectionMatrix.copy(Ps)}this.cameraL.matrixWorld.copy(e.matrixWorld).multiply(_0),this.cameraR.matrixWorld.copy(e.matrixWorld).multiply(g0)}}class WM extends $t{constructor(e=[]){super(),this.isArrayCamera=!0,this.cameras=e,this.index=0}}class ed{constructor(e=!0){this.autoStart=e,this.startTime=0,this.oldTime=0,this.elapsedTime=0,this.running=!1}start(){this.startTime=v0(),this.oldTime=this.startTime,this.elapsedTime=0,this.running=!0}stop(){this.getElapsedTime(),this.running=!1,this.autoStart=!1}getElapsedTime(){return this.getDelta(),this.elapsedTime}getDelta(){let e=0;if(this.autoStart&&!this.running)return this.start(),0;if(this.running){const t=v0();e=(t-this.oldTime)/1e3,this.oldTime=t,this.elapsedTime+=e}return e}}function v0(){return performance.now()}const Is=new F,y0=new Wn,$P=new F,Ls=new F;class qP extends ct{constructor(){super(),this.type="AudioListener",this.context=Yg.getContext(),this.gain=this.context.createGain(),this.gain.connect(this.context.destination),this.filter=null,this.timeDelta=0,this._clock=new ed}getInput(){return this.gain}removeFilter(){return this.filter!==null&&(this.gain.disconnect(this.filter),this.filter.disconnect(this.context.destination),this.gain.connect(this.context.destination),this.filter=null),this}getFilter(){return this.filter}setFilter(e){return this.filter!==null?(this.gain.disconnect(this.filter),this.filter.disconnect(this.context.destination)):this.gain.disconnect(this.context.destination),this.filter=e,this.gain.connect(this.filter),this.filter.connect(this.context.destination),this}getMasterVolume(){return this.gain.gain.value}setMasterVolume(e){return this.gain.gain.setTargetAtTime(e,this.context.currentTime,.01),this}updateMatrixWorld(e){super.updateMatrixWorld(e);const t=this.context.listener,i=this.up;if(this.timeDelta=this._clock.getDelta(),this.matrixWorld.decompose(Is,y0,$P),Ls.set(0,0,-1).applyQuaternion(y0),t.positionX){const r=this.context.currentTime+this.timeDelta;t.positionX.linearRampToValueAtTime(Is.x,r),t.positionY.linearRampToValueAtTime(Is.y,r),t.positionZ.linearRampToValueAtTime(Is.z,r),t.forwardX.linearRampToValueAtTime(Ls.x,r),t.forwardY.linearRampToValueAtTime(Ls.y,r),t.forwardZ.linearRampToValueAtTime(Ls.z,r),t.upX.linearRampToValueAtTime(i.x,r),t.upY.linearRampToValueAtTime(i.y,r),t.upZ.linearRampToValueAtTime(i.z,r)}else t.setPosition(Is.x,Is.y,Is.z),t.setOrientation(Ls.x,Ls.y,Ls.z,i.x,i.y,i.z)}}class XM extends ct{constructor(e){super(),this.type="Audio",this.listener=e,this.context=e.context,this.gain=this.context.createGain(),this.gain.connect(e.getInput()),this.autoplay=!1,this.buffer=null,this.detune=0,this.loop=!1,this.loopStart=0,this.loopEnd=0,this.offset=0,this.duration=void 0,this.playbackRate=1,this.isPlaying=!1,this.hasPlaybackControl=!0,this.source=null,this.sourceType="empty",this._startedAt=0,this._progress=0,this._connected=!1,this.filters=[]}getOutput(){return this.gain}setNodeSource(e){return this.hasPlaybackControl=!1,this.sourceType="audioNode",this.source=e,this.connect(),this}setMediaElementSource(e){return this.hasPlaybackControl=!1,this.sourceType="mediaNode",this.source=this.context.createMediaElementSource(e),this.connect(),this}setMediaStreamSource(e){return this.hasPlaybackControl=!1,this.sourceType="mediaStreamNode",this.source=this.context.createMediaStreamSource(e),this.connect(),this}setBuffer(e){return this.buffer=e,this.sourceType="buffer",this.autoplay&&this.play(),this}play(e=0){if(this.isPlaying===!0){console.warn("THREE.Audio: Audio is already playing.");return}if(this.hasPlaybackControl===!1){console.warn("THREE.Audio: this Audio has no playback control.");return}this._startedAt=this.context.currentTime+e;const t=this.context.createBufferSource();return t.buffer=this.buffer,t.loop=this.loop,t.loopStart=this.loopStart,t.loopEnd=this.loopEnd,t.onended=this.onEnded.bind(this),t.start(this._startedAt,this._progress+this.offset,this.duration),this.isPlaying=!0,this.source=t,this.setDetune(this.detune),this.setPlaybackRate(this.playbackRate),this.connect()}pause(){if(this.hasPlaybackControl===!1){console.warn("THREE.Audio: this Audio has no playback control.");return}return this.isPlaying===!0&&(this._progress+=Math.max(this.context.currentTime-this._startedAt,0)*this.playbackRate,this.loop===!0&&(this._progress=this._progress%(this.duration||this.buffer.duration)),this.source.stop(),this.source.onended=null,this.isPlaying=!1),this}stop(e=0){if(this.hasPlaybackControl===!1){console.warn("THREE.Audio: this Audio has no playback control.");return}return this._progress=0,this.source!==null&&(this.source.stop(this.context.currentTime+e),this.source.onended=null),this.isPlaying=!1,this}connect(){if(this.filters.length>0){this.source.connect(this.filters[0]);for(let e=1,t=this.filters.length;e0){this.source.disconnect(this.filters[0]);for(let e=1,t=this.filters.length;e0&&this._mixBufferRegionAdditive(i,r,this._addIndex*t,1,t);for(let l=t,c=t+t;l!==c;++l)if(i[l]!==i[l+t]){a.setValue(i,r);break}}saveOriginalState(){const e=this.binding,t=this.buffer,i=this.valueSize,r=i*this._origIndex;e.getValue(t,r);for(let s=i,o=r;s!==o;++s)t[s]=t[r+s%i];this._setIdentity(),this.cumulativeWeight=0,this.cumulativeWeightAdditive=0}restoreOriginalState(){const e=this.valueSize*3;this.binding.setValue(this.buffer,e)}_setAdditiveIdentityNumeric(){const e=this._addIndex*this.valueSize,t=e+this.valueSize;for(let i=e;i=.5)for(let o=0;o!==s;++o)e[t+o]=e[i+o]}_slerp(e,t,i,r){Wn.slerpFlat(e,t,e,t,e,i,r)}_slerpAdditive(e,t,i,r,s){const o=this._workIndex*s;Wn.multiplyQuaternionsFlat(e,o,e,t,e,i),Wn.slerpFlat(e,t,e,t,e,o,r)}_lerp(e,t,i,r,s){const o=1-r;for(let a=0;a!==s;++a){const l=t+a;e[l]=e[l]*o+e[i+a]*r}}_lerpAdditive(e,t,i,r,s){for(let o=0;o!==s;++o){const a=t+o;e[a]=e[a]+e[i+o]*r}}}const jg="\\[\\]\\.:\\/",ZP=new RegExp("["+jg+"]","g"),Kg="[^"+jg+"]",JP="[^"+jg.replace("\\.","")+"]",QP=/((?:WC+[\/:])*)/.source.replace("WC",Kg),eI=/(WCOD+)?/.source.replace("WCOD",JP),tI=/(?:\.(WC+)(?:\[(.+)\])?)?/.source.replace("WC",Kg),nI=/\.(WC+)(?:\[(.+)\])?/.source.replace("WC",Kg),iI=new RegExp("^"+QP+eI+tI+nI+"$"),rI=["material","materials","bones","map"];class sI{constructor(e,t,i){const r=i||ft.parseTrackName(t);this._targetGroup=e,this._bindings=e.subscribe_(t,r)}getValue(e,t){this.bind();const i=this._targetGroup.nCachedObjects_,r=this._bindings[i];r!==void 0&&r.getValue(e,t)}setValue(e,t){const i=this._bindings;for(let r=this._targetGroup.nCachedObjects_,s=i.length;r!==s;++r)i[r].setValue(e,t)}bind(){const e=this._bindings;for(let t=this._targetGroup.nCachedObjects_,i=e.length;t!==i;++t)e[t].bind()}unbind(){const e=this._bindings;for(let t=this._targetGroup.nCachedObjects_,i=e.length;t!==i;++t)e[t].unbind()}}class ft{constructor(e,t,i){this.path=t,this.parsedPath=i||ft.parseTrackName(t),this.node=ft.findNode(e,this.parsedPath.nodeName),this.rootNode=e,this.getValue=this._getValue_unbound,this.setValue=this._setValue_unbound}static create(e,t,i){return e&&e.isAnimationObjectGroup?new ft.Composite(e,t,i):new ft(e,t,i)}static sanitizeNodeName(e){return e.replace(/\s/g,"_").replace(ZP,"")}static parseTrackName(e){const t=iI.exec(e);if(t===null)throw new Error("PropertyBinding: Cannot parse trackName: "+e);const i={nodeName:t[2],objectName:t[3],objectIndex:t[4],propertyName:t[5],propertyIndex:t[6]},r=i.nodeName&&i.nodeName.lastIndexOf(".");if(r!==void 0&&r!==-1){const s=i.nodeName.substring(r+1);rI.indexOf(s)!==-1&&(i.nodeName=i.nodeName.substring(0,r),i.objectName=s)}if(i.propertyName===null||i.propertyName.length===0)throw new Error("PropertyBinding: can not parse propertyName from trackName: "+e);return i}static findNode(e,t){if(t===void 0||t===""||t==="."||t===-1||t===e.name||t===e.uuid)return e;if(e.skeleton){const i=e.skeleton.getBoneByName(t);if(i!==void 0)return i}if(e.children){const i=function(s){for(let o=0;o=s){const f=s++,h=e[f];t[h.uuid]=u,e[u]=h,t[c]=f,e[f]=l;for(let d=0,p=r;d!==p;++d){const _=i[d],g=_[f],m=_[u];_[u]=g,_[f]=m}}}this.nCachedObjects_=s}uncache(){const e=this._objects,t=this._indicesByUUID,i=this._bindings,r=i.length;let s=this.nCachedObjects_,o=e.length;for(let a=0,l=arguments.length;a!==l;++a){const c=arguments[a],u=c.uuid,f=t[u];if(f!==void 0)if(delete t[u],f0&&(t[d.uuid]=f),e[f]=d,e.pop();for(let p=0,_=r;p!==_;++p){const g=i[p];g[f]=g[h],g.pop()}}}this.nCachedObjects_=s}subscribe_(e,t){const i=this._bindingsIndicesByPath;let r=i[e];const s=this._bindings;if(r!==void 0)return s[r];const o=this._paths,a=this._parsedPaths,l=this._objects,c=l.length,u=this.nCachedObjects_,f=new Array(c);r=s.length,i[e]=r,o.push(e),a.push(t),s.push(f);for(let h=u,d=l.length;h!==d;++h){const p=l[h];f[h]=new ft(p,e,t)}return f}unsubscribe_(e){const t=this._bindingsIndicesByPath,i=t[e];if(i!==void 0){const r=this._paths,s=this._parsedPaths,o=this._bindings,a=o.length-1,l=o[a],c=e[a];t[c]=i,o[i]=l,o.pop(),s[i]=s[a],s.pop(),r[i]=r[a],r.pop()}}}class qM{constructor(e,t,i=null,r=t.blendMode){this._mixer=e,this._clip=t,this._localRoot=i,this.blendMode=r;const s=t.tracks,o=s.length,a=new Array(o),l={endingStart:Ys,endingEnd:Ys};for(let c=0;c!==o;++c){const u=s[c].createInterpolant(null);a[c]=u,u.settings=l}this._interpolantSettings=l,this._interpolants=a,this._propertyBindings=new Array(o),this._cacheIndex=null,this._byClipCacheIndex=null,this._timeScaleInterpolant=null,this._weightInterpolant=null,this.loop=OS,this._loopCount=-1,this._startTime=null,this.time=0,this.timeScale=1,this._effectiveTimeScale=1,this.weight=1,this._effectiveWeight=1,this.repetitions=1/0,this.paused=!1,this.enabled=!0,this.clampWhenFinished=!1,this.zeroSlopeAtStart=!0,this.zeroSlopeAtEnd=!0}play(){return this._mixer._activateAction(this),this}stop(){return this._mixer._deactivateAction(this),this.reset()}reset(){return this.paused=!1,this.enabled=!0,this.time=0,this._loopCount=-1,this._startTime=null,this.stopFading().stopWarping()}isRunning(){return this.enabled&&!this.paused&&this.timeScale!==0&&this._startTime===null&&this._mixer._isActiveAction(this)}isScheduled(){return this._mixer._isActiveAction(this)}startAt(e){return this._startTime=e,this}setLoop(e,t){return this.loop=e,this.repetitions=t,this}setEffectiveWeight(e){return this.weight=e,this._effectiveWeight=this.enabled?e:0,this.stopFading()}getEffectiveWeight(){return this._effectiveWeight}fadeIn(e){return this._scheduleFading(e,0,1)}fadeOut(e){return this._scheduleFading(e,1,0)}crossFadeFrom(e,t,i){if(e.fadeOut(t),this.fadeIn(t),i){const r=this._clip.duration,s=e._clip.duration,o=s/r,a=r/s;e.warp(1,o,t),this.warp(a,1,t)}return this}crossFadeTo(e,t,i){return e.crossFadeFrom(this,t,i)}stopFading(){const e=this._weightInterpolant;return e!==null&&(this._weightInterpolant=null,this._mixer._takeBackControlInterpolant(e)),this}setEffectiveTimeScale(e){return this.timeScale=e,this._effectiveTimeScale=this.paused?0:e,this.stopWarping()}getEffectiveTimeScale(){return this._effectiveTimeScale}setDuration(e){return this.timeScale=this._clip.duration/e,this.stopWarping()}syncWith(e){return this.time=e.time,this.timeScale=e.timeScale,this.stopWarping()}halt(e){return this.warp(this._effectiveTimeScale,0,e)}warp(e,t,i){const r=this._mixer,s=r.time,o=this.timeScale;let a=this._timeScaleInterpolant;a===null&&(a=r._lendControlInterpolant(),this._timeScaleInterpolant=a);const l=a.parameterPositions,c=a.sampleValues;return l[0]=s,l[1]=s+i,c[0]=e/o,c[1]=t/o,this}stopWarping(){const e=this._timeScaleInterpolant;return e!==null&&(this._timeScaleInterpolant=null,this._mixer._takeBackControlInterpolant(e)),this}getMixer(){return this._mixer}getClip(){return this._clip}getRoot(){return this._localRoot||this._mixer._root}_update(e,t,i,r){if(!this.enabled){this._updateWeight(e);return}const s=this._startTime;if(s!==null){const l=(e-s)*i;l<0||i===0?t=0:(this._startTime=null,t=i*l)}t*=this._updateTimeScale(e);const o=this._updateTime(t),a=this._updateWeight(e);if(a>0){const l=this._interpolants,c=this._propertyBindings;switch(this.blendMode){case Eg:for(let u=0,f=l.length;u!==f;++u)l[u].evaluate(o),c[u].accumulateAdditive(a);break;case Ch:default:for(let u=0,f=l.length;u!==f;++u)l[u].evaluate(o),c[u].accumulate(r,a)}}}_updateWeight(e){let t=0;if(this.enabled){t=this.weight;const i=this._weightInterpolant;if(i!==null){const r=i.evaluate(e)[0];t*=r,e>i.parameterPositions[1]&&(this.stopFading(),r===0&&(this.enabled=!1))}}return this._effectiveWeight=t,t}_updateTimeScale(e){let t=0;if(!this.paused){t=this.timeScale;const i=this._timeScaleInterpolant;if(i!==null){const r=i.evaluate(e)[0];t*=r,e>i.parameterPositions[1]&&(this.stopWarping(),t===0?this.paused=!0:this.timeScale=t)}}return this._effectiveTimeScale=t,t}_updateTime(e){const t=this._clip.duration,i=this.loop;let r=this.time+e,s=this._loopCount;const o=i===NS;if(e===0)return s===-1?r:o&&(s&1)===1?t-r:r;if(i===DS){s===-1&&(this._loopCount=0,this._setEndings(!0,!0,!1));e:{if(r>=t)r=t;else if(r<0)r=0;else{this.time=r;break e}this.clampWhenFinished?this.paused=!0:this.enabled=!1,this.time=r,this._mixer.dispatchEvent({type:"finished",action:this,direction:e<0?-1:1})}}else{if(s===-1&&(e>=0?(s=0,this._setEndings(!0,this.repetitions===0,o)):this._setEndings(this.repetitions===0,!0,o)),r>=t||r<0){const a=Math.floor(r/t);r-=t*a,s+=Math.abs(a);const l=this.repetitions-s;if(l<=0)this.clampWhenFinished?this.paused=!0:this.enabled=!1,r=e>0?t:0,this.time=r,this._mixer.dispatchEvent({type:"finished",action:this,direction:e>0?1:-1});else{if(l===1){const c=e<0;this._setEndings(c,!c,o)}else this._setEndings(!1,!1,o);this._loopCount=s,this.time=r,this._mixer.dispatchEvent({type:"loop",action:this,loopDelta:a})}}else this.time=r;if(o&&(s&1)===1)return t-r}return r}_setEndings(e,t,i){const r=this._interpolantSettings;i?(r.endingStart=js,r.endingEnd=js):(e?r.endingStart=this.zeroSlopeAtStart?js:Ys:r.endingStart=Nl,t?r.endingEnd=this.zeroSlopeAtEnd?js:Ys:r.endingEnd=Nl)}_scheduleFading(e,t,i){const r=this._mixer,s=r.time;let o=this._weightInterpolant;o===null&&(o=r._lendControlInterpolant(),this._weightInterpolant=o);const a=o.parameterPositions,l=o.sampleValues;return a[0]=s,l[0]=t,a[1]=s+e,l[1]=i,this}}const aI=new Float32Array(1);class lI extends ji{constructor(e){super(),this._root=e,this._initMemoryManager(),this._accuIndex=0,this.time=0,this.timeScale=1}_bindAction(e,t){const i=e._localRoot||this._root,r=e._clip.tracks,s=r.length,o=e._propertyBindings,a=e._interpolants,l=i.uuid,c=this._bindingsByRootAndName;let u=c[l];u===void 0&&(u={},c[l]=u);for(let f=0;f!==s;++f){const h=r[f],d=h.name;let p=u[d];if(p!==void 0)++p.referenceCount,o[f]=p;else{if(p=o[f],p!==void 0){p._cacheIndex===null&&(++p.referenceCount,this._addInactiveBinding(p,l,d));continue}const _=t&&t._propertyBindings[f].binding.parsedPath;p=new $M(ft.create(i,d,_),h.ValueTypeName,h.getValueSize()),++p.referenceCount,this._addInactiveBinding(p,l,d),o[f]=p}a[f].resultBuffer=p.buffer}}_activateAction(e){if(!this._isActiveAction(e)){if(e._cacheIndex===null){const i=(e._localRoot||this._root).uuid,r=e._clip.uuid,s=this._actionsByClip[r];this._bindAction(e,s&&s.knownActions[0]),this._addInactiveAction(e,r,i)}const t=e._propertyBindings;for(let i=0,r=t.length;i!==r;++i){const s=t[i];s.useCount++===0&&(this._lendBinding(s),s.saveOriginalState())}this._lendAction(e)}}_deactivateAction(e){if(this._isActiveAction(e)){const t=e._propertyBindings;for(let i=0,r=t.length;i!==r;++i){const s=t[i];--s.useCount===0&&(s.restoreOriginalState(),this._takeBackBinding(s))}this._takeBackAction(e)}}_initMemoryManager(){this._actions=[],this._nActiveActions=0,this._actionsByClip={},this._bindings=[],this._nActiveBindings=0,this._bindingsByRootAndName={},this._controlInterpolants=[],this._nActiveControlInterpolants=0;const e=this;this.stats={actions:{get total(){return e._actions.length},get inUse(){return e._nActiveActions}},bindings:{get total(){return e._bindings.length},get inUse(){return e._nActiveBindings}},controlInterpolants:{get total(){return e._controlInterpolants.length},get inUse(){return e._nActiveControlInterpolants}}}}_isActiveAction(e){const t=e._cacheIndex;return t!==null&&t=0;--i)e[i].stop();return this}update(e){e*=this.timeScale;const t=this._actions,i=this._nActiveActions,r=this.time+=e,s=Math.sign(e),o=this._accuIndex^=1;for(let c=0;c!==i;++c)t[c]._update(r,e,s,o);const a=this._bindings,l=this._nActiveBindings;for(let c=0;c!==l;++c)a[c].apply(o);return this}setTime(e){this.time=0;for(let t=0;t=this.min.x&&e.x<=this.max.x&&e.y>=this.min.y&&e.y<=this.max.y}containsBox(e){return this.min.x<=e.min.x&&e.max.x<=this.max.x&&this.min.y<=e.min.y&&e.max.y<=this.max.y}getParameter(e,t){return t.set((e.x-this.min.x)/(this.max.x-this.min.x),(e.y-this.min.y)/(this.max.y-this.min.y))}intersectsBox(e){return e.max.x>=this.min.x&&e.min.x<=this.max.x&&e.max.y>=this.min.y&&e.min.y<=this.max.y}clampPoint(e,t){return t.copy(e).clamp(this.min,this.max)}distanceToPoint(e){return this.clampPoint(e,M0).distanceTo(e)}intersect(e){return this.min.max(e.min),this.max.min(e.max),this.isEmpty()&&this.makeEmpty(),this}union(e){return this.min.min(e.min),this.max.max(e.max),this}translate(e){return this.min.add(e),this.max.add(e),this}equals(e){return e.min.equals(this.min)&&e.max.equals(this.max)}}const E0=new F,gu=new F;class vI{constructor(e=new F,t=new F){this.start=e,this.end=t}set(e,t){return this.start.copy(e),this.end.copy(t),this}copy(e){return this.start.copy(e.start),this.end.copy(e.end),this}getCenter(e){return e.addVectors(this.start,this.end).multiplyScalar(.5)}delta(e){return e.subVectors(this.end,this.start)}distanceSq(){return this.start.distanceToSquared(this.end)}distance(){return this.start.distanceTo(this.end)}at(e,t){return this.delta(t).multiplyScalar(e).add(this.start)}closestPointToPointParameter(e,t){E0.subVectors(e,this.start),gu.subVectors(this.end,this.start);const i=gu.dot(gu);let s=gu.dot(E0)/i;return t&&(s=Ke(s,0,1)),s}closestPointToPoint(e,t,i){const r=this.closestPointToPointParameter(e,t);return this.delta(i).multiplyScalar(r).add(this.start)}applyMatrix4(e){return this.start.applyMatrix4(e),this.end.applyMatrix4(e),this}equals(e){return e.start.equals(this.start)&&e.end.equals(this.end)}clone(){return new this.constructor().copy(this)}}const T0=new F;class yI extends ct{constructor(e,t){super(),this.light=e,this.matrixAutoUpdate=!1,this.color=t,this.type="SpotLightHelper";const i=new st,r=[0,0,0,0,0,1,0,0,0,1,0,1,0,0,0,-1,0,1,0,0,0,0,1,1,0,0,0,0,-1,1];for(let o=0,a=1,l=32;o1)for(let f=0;f.99999)this.quaternion.set(0,0,0,1);else if(e.y<-.99999)this.quaternion.set(1,0,0,0);else{P0.set(e.z,0,-e.x).normalize();const t=Math.acos(e.y);this.quaternion.setFromAxisAngle(P0,t)}}setLength(e,t=e*.2,i=t*.2){this.line.scale.set(1,Math.max(1e-4,e-t),1),this.line.updateMatrix(),this.cone.scale.set(i,t,i),this.cone.position.y=e,this.cone.updateMatrix()}setColor(e){this.line.material.color.set(e),this.cone.material.color.set(e)}copy(e){return super.copy(e,!1),this.line.copy(e.line),this.cone.copy(e.cone),this}dispose(){this.line.geometry.dispose(),this.line.material.dispose(),this.cone.geometry.dispose(),this.cone.material.dispose()}}class LI extends Ki{constructor(e=1){const t=[0,0,0,e,0,0,0,0,0,0,e,0,0,0,0,0,0,e],i=[1,0,0,1,.6,0,0,1,0,.6,1,0,0,0,1,0,.6,1],r=new st;r.setAttribute("position",new Ue(t,3)),r.setAttribute("color",new Ue(i,3));const s=new Nn({vertexColors:!0,toneMapped:!1});super(r,s),this.type="AxesHelper"}setColors(e,t,i){const r=new we,s=this.geometry.attributes.color.array;return r.set(e),r.toArray(s,0),r.toArray(s,3),r.set(t),r.toArray(s,6),r.toArray(s,9),r.set(i),r.toArray(s,12),r.toArray(s,15),this.geometry.attributes.color.needsUpdate=!0,this}dispose(){this.geometry.dispose(),this.material.dispose()}}class DI{constructor(){this.type="ShapePath",this.color=new we,this.subPaths=[],this.currentPath=null}moveTo(e,t){return this.currentPath=new Vl,this.subPaths.push(this.currentPath),this.currentPath.moveTo(e,t),this}lineTo(e,t){return this.currentPath.lineTo(e,t),this}quadraticCurveTo(e,t,i,r){return this.currentPath.quadraticCurveTo(e,t,i,r),this}bezierCurveTo(e,t,i,r,s,o){return this.currentPath.bezierCurveTo(e,t,i,r,s,o),this}splineThru(e){return this.currentPath.splineThru(e),this}toShapes(e){function t(m){const y=[];for(let x=0,v=m.length;xNumber.EPSILON){if(S<0&&(M=y[T],b=-b,P=y[E],S=-S),m.yP.y)continue;if(m.y===M.y){if(m.x===M.x)return!0}else{const D=S*(m.x-M.x)-b*(m.y-M.y);if(D===0)return!0;if(D<0)continue;v=!v}}else{if(m.y!==M.y)continue;if(P.x<=m.x&&m.x<=M.x||M.x<=m.x&&m.x<=P.x)return!0}}return v}const r=Wi.isClockWise,s=this.subPaths;if(s.length===0)return[];let o,a,l;const c=[];if(s.length===1)return a=s[0],l=new io,l.curves=a.curves,c.push(l),c;let u=!r(s[0].getPoints());u=e?!u:u;const f=[],h=[];let d=[],p=0,_;h[p]=void 0,d[p]=[];for(let m=0,y=s.length;m1){let m=!1,y=0;for(let x=0,v=h.length;x0&&m===!1&&(d=f)}let g;for(let m=0,y=h.length;me?(n.repeat.x=1,n.repeat.y=t/e,n.offset.x=0,n.offset.y=(1-n.repeat.y)/2):(n.repeat.x=e/t,n.repeat.y=1,n.offset.x=(1-n.repeat.x)/2,n.offset.y=0),n}function UI(n,e){const t=n.image&&n.image.width?n.image.width/n.image.height:1;return t>e?(n.repeat.x=e/t,n.repeat.y=1,n.offset.x=(1-n.repeat.x)/2,n.offset.y=0):(n.repeat.x=1,n.repeat.y=t/e,n.offset.x=0,n.offset.y=(1-n.repeat.y)/2),n}function FI(n){return n.repeat.x=1,n.repeat.y=1,n.offset.x=0,n.offset.y=0,n}function om(n,e,t,i){const r=BI(i);switch(t){case vg:return n*e;case xg:return n*e;case bg:return n*e*2;case Th:return n*e/r.components*r.byteLength;case fc:return n*e/r.components*r.byteLength;case Sg:return n*e*2/r.components*r.byteLength;case wh:return n*e*2/r.components*r.byteLength;case yg:return n*e*3/r.components*r.byteLength;case Ln:return n*e*4/r.components*r.byteLength;case Ah:return n*e*4/r.components*r.byteLength;case el:case tl:return Math.floor((n+3)/4)*Math.floor((e+3)/4)*8;case nl:case il:return Math.floor((n+3)/4)*Math.floor((e+3)/4)*16;case xf:case Sf:return Math.max(n,16)*Math.max(e,8)/4;case yf:case bf:return Math.max(n,8)*Math.max(e,8)/2;case Mf:case Ef:return Math.floor((n+3)/4)*Math.floor((e+3)/4)*8;case Tf:return Math.floor((n+3)/4)*Math.floor((e+3)/4)*16;case wf:return Math.floor((n+3)/4)*Math.floor((e+3)/4)*16;case Af:return Math.floor((n+4)/5)*Math.floor((e+3)/4)*16;case Cf:return Math.floor((n+4)/5)*Math.floor((e+4)/5)*16;case Rf:return Math.floor((n+5)/6)*Math.floor((e+4)/5)*16;case Pf:return Math.floor((n+5)/6)*Math.floor((e+5)/6)*16;case If:return Math.floor((n+7)/8)*Math.floor((e+4)/5)*16;case Lf:return Math.floor((n+7)/8)*Math.floor((e+5)/6)*16;case Df:return Math.floor((n+7)/8)*Math.floor((e+7)/8)*16;case Of:return Math.floor((n+9)/10)*Math.floor((e+4)/5)*16;case Nf:return Math.floor((n+9)/10)*Math.floor((e+5)/6)*16;case Uf:return Math.floor((n+9)/10)*Math.floor((e+7)/8)*16;case Ff:return Math.floor((n+9)/10)*Math.floor((e+9)/10)*16;case Bf:return Math.floor((n+11)/12)*Math.floor((e+9)/10)*16;case kf:return Math.floor((n+11)/12)*Math.floor((e+11)/12)*16;case rl:case Vf:case zf:return Math.ceil(n/4)*Math.ceil(e/4)*16;case Mg:case Hf:return Math.ceil(n/4)*Math.ceil(e/4)*8;case Gf:case Wf:return Math.ceil(n/4)*Math.ceil(e/4)*16}throw new Error(`Unable to determine texture byte length for ${t} format.`)}function BI(n){switch(n){case qi:case mg:return{byteLength:1,components:1};case oa:case gg:case va:return{byteLength:2,components:1};case Mh:case Eh:return{byteLength:2,components:4};case wr:case Sh:case Hn:return{byteLength:4,components:1};case _g:return{byteLength:4,components:3}}throw new Error(`Unknown texture type ${n}.`)}class kI{static contain(e,t){return NI(e,t)}static cover(e,t){return UI(e,t)}static fill(e){return FI(e)}static getByteLength(e,t,i,r){return om(e,t,i,r)}}typeof __THREE_DEVTOOLS__<"u"&&__THREE_DEVTOOLS__.dispatchEvent(new CustomEvent("register",{detail:{revision:cc}}));typeof window<"u"&&(window.__THREE__?console.warn("WARNING: Multiple instances of Three.js being imported."):window.__THREE__=cc);/** * @license * Copyright 2010-2025 Three.js Authors * SPDX-License-Identifier: MIT - */function KM(){let n=null,e=!1,t=null,i=null;function r(s,o){t(s,o),i=n.requestAnimationFrame(r)}return{start:function(){e!==!0&&t!==null&&(i=n.requestAnimationFrame(r),e=!0)},stop:function(){n.cancelAnimationFrame(i),e=!1},setAnimationLoop:function(s){t=s},setContext:function(s){n=s}}}function zI(n){const e=new WeakMap;function t(a,l){const c=a.array,u=a.usage,f=c.byteLength,h=n.createBuffer();n.bindBuffer(l,h),n.bufferData(l,c,u),a.onUploadCallback();let d;if(c instanceof Float32Array)d=n.FLOAT;else if(c instanceof Uint16Array)a.isFloat16BufferAttribute?d=n.HALF_FLOAT:d=n.UNSIGNED_SHORT;else if(c instanceof Int16Array)d=n.SHORT;else if(c instanceof Uint32Array)d=n.UNSIGNED_INT;else if(c instanceof Int32Array)d=n.INT;else if(c instanceof Int8Array)d=n.BYTE;else if(c instanceof Uint8Array)d=n.UNSIGNED_BYTE;else if(c instanceof Uint8ClampedArray)d=n.UNSIGNED_BYTE;else throw new Error("THREE.WebGLAttributes: Unsupported buffer data format: "+c);return{buffer:h,type:d,bytesPerElement:c.BYTES_PER_ELEMENT,version:a.version,size:f}}function i(a,l,c){const u=l.array,f=l.updateRanges;if(n.bindBuffer(c,a),f.length===0)n.bufferSubData(c,0,u);else{f.sort((d,p)=>d.start-p.start);let h=0;for(let d=1;dd.start-p.start);let h=0;for(let d=1;d #include #include -}`,rt={alphahash_fragment:VI,alphahash_pars_fragment:HI,alphamap_fragment:GI,alphamap_pars_fragment:WI,alphatest_fragment:XI,alphatest_pars_fragment:$I,aomap_fragment:qI,aomap_pars_fragment:YI,batching_pars_vertex:jI,batching_vertex:KI,begin_vertex:ZI,beginnormal_vertex:JI,bsdfs:QI,iridescence_fragment:eL,bumpmap_pars_fragment:tL,clipping_planes_fragment:nL,clipping_planes_pars_fragment:iL,clipping_planes_pars_vertex:rL,clipping_planes_vertex:sL,color_fragment:oL,color_pars_fragment:aL,color_pars_vertex:lL,color_vertex:cL,common:uL,cube_uv_reflection_fragment:fL,defaultnormal_vertex:hL,displacementmap_pars_vertex:dL,displacementmap_vertex:pL,emissivemap_fragment:mL,emissivemap_pars_fragment:gL,colorspace_fragment:_L,colorspace_pars_fragment:vL,envmap_fragment:yL,envmap_common_pars_fragment:xL,envmap_pars_fragment:bL,envmap_pars_vertex:SL,envmap_physical_pars_fragment:DL,envmap_vertex:ML,fog_vertex:EL,fog_pars_vertex:TL,fog_fragment:wL,fog_pars_fragment:AL,gradientmap_pars_fragment:CL,lightmap_pars_fragment:RL,lights_lambert_fragment:PL,lights_lambert_pars_fragment:IL,lights_pars_begin:LL,lights_toon_fragment:OL,lights_toon_pars_fragment:NL,lights_phong_fragment:UL,lights_phong_pars_fragment:FL,lights_physical_fragment:BL,lights_physical_pars_fragment:kL,lights_fragment_begin:zL,lights_fragment_maps:VL,lights_fragment_end:HL,logdepthbuf_fragment:GL,logdepthbuf_pars_fragment:WL,logdepthbuf_pars_vertex:XL,logdepthbuf_vertex:$L,map_fragment:qL,map_pars_fragment:YL,map_particle_fragment:jL,map_particle_pars_fragment:KL,metalnessmap_fragment:ZL,metalnessmap_pars_fragment:JL,morphinstance_vertex:QL,morphcolor_vertex:eD,morphnormal_vertex:tD,morphtarget_pars_vertex:nD,morphtarget_vertex:iD,normal_fragment_begin:rD,normal_fragment_maps:sD,normal_pars_fragment:oD,normal_pars_vertex:aD,normal_vertex:lD,normalmap_pars_fragment:cD,clearcoat_normal_fragment_begin:uD,clearcoat_normal_fragment_maps:fD,clearcoat_pars_fragment:hD,iridescence_pars_fragment:dD,opaque_fragment:pD,packing:mD,premultiplied_alpha_fragment:gD,project_vertex:_D,dithering_fragment:vD,dithering_pars_fragment:yD,roughnessmap_fragment:xD,roughnessmap_pars_fragment:bD,shadowmap_pars_fragment:SD,shadowmap_pars_vertex:MD,shadowmap_vertex:ED,shadowmask_pars_fragment:TD,skinbase_vertex:wD,skinning_pars_vertex:AD,skinning_vertex:CD,skinnormal_vertex:RD,specularmap_fragment:PD,specularmap_pars_fragment:ID,tonemapping_fragment:LD,tonemapping_pars_fragment:DD,transmission_fragment:OD,transmission_pars_fragment:ND,uv_pars_fragment:UD,uv_pars_vertex:FD,uv_vertex:BD,worldpos_vertex:kD,background_vert:zD,background_frag:VD,backgroundCube_vert:HD,backgroundCube_frag:GD,cube_vert:WD,cube_frag:XD,depth_vert:$D,depth_frag:qD,distanceRGBA_vert:YD,distanceRGBA_frag:jD,equirect_vert:KD,equirect_frag:ZD,linedashed_vert:JD,linedashed_frag:QD,meshbasic_vert:eO,meshbasic_frag:tO,meshlambert_vert:nO,meshlambert_frag:iO,meshmatcap_vert:rO,meshmatcap_frag:sO,meshnormal_vert:oO,meshnormal_frag:aO,meshphong_vert:lO,meshphong_frag:cO,meshphysical_vert:uO,meshphysical_frag:fO,meshtoon_vert:hO,meshtoon_frag:dO,points_vert:pO,points_frag:mO,shadow_vert:gO,shadow_frag:_O,sprite_vert:vO,sprite_frag:yO},Ee={common:{diffuse:{value:new we(16777215)},opacity:{value:1},map:{value:null},mapTransform:{value:new et},alphaMap:{value:null},alphaMapTransform:{value:new et},alphaTest:{value:0}},specularmap:{specularMap:{value:null},specularMapTransform:{value:new et}},envmap:{envMap:{value:null},envMapRotation:{value:new et},flipEnvMap:{value:-1},reflectivity:{value:1},ior:{value:1.5},refractionRatio:{value:.98}},aomap:{aoMap:{value:null},aoMapIntensity:{value:1},aoMapTransform:{value:new et}},lightmap:{lightMap:{value:null},lightMapIntensity:{value:1},lightMapTransform:{value:new et}},bumpmap:{bumpMap:{value:null},bumpMapTransform:{value:new et},bumpScale:{value:1}},normalmap:{normalMap:{value:null},normalMapTransform:{value:new et},normalScale:{value:new fe(1,1)}},displacementmap:{displacementMap:{value:null},displacementMapTransform:{value:new et},displacementScale:{value:1},displacementBias:{value:0}},emissivemap:{emissiveMap:{value:null},emissiveMapTransform:{value:new et}},metalnessmap:{metalnessMap:{value:null},metalnessMapTransform:{value:new et}},roughnessmap:{roughnessMap:{value:null},roughnessMapTransform:{value:new et}},gradientmap:{gradientMap:{value:null}},fog:{fogDensity:{value:25e-5},fogNear:{value:1},fogFar:{value:2e3},fogColor:{value:new we(16777215)}},lights:{ambientLightColor:{value:[]},lightProbe:{value:[]},directionalLights:{value:[],properties:{direction:{},color:{}}},directionalLightShadows:{value:[],properties:{shadowIntensity:1,shadowBias:{},shadowNormalBias:{},shadowRadius:{},shadowMapSize:{}}},directionalShadowMap:{value:[]},directionalShadowMatrix:{value:[]},spotLights:{value:[],properties:{color:{},position:{},direction:{},distance:{},coneCos:{},penumbraCos:{},decay:{}}},spotLightShadows:{value:[],properties:{shadowIntensity:1,shadowBias:{},shadowNormalBias:{},shadowRadius:{},shadowMapSize:{}}},spotLightMap:{value:[]},spotShadowMap:{value:[]},spotLightMatrix:{value:[]},pointLights:{value:[],properties:{color:{},position:{},decay:{},distance:{}}},pointLightShadows:{value:[],properties:{shadowIntensity:1,shadowBias:{},shadowNormalBias:{},shadowRadius:{},shadowMapSize:{},shadowCameraNear:{},shadowCameraFar:{}}},pointShadowMap:{value:[]},pointShadowMatrix:{value:[]},hemisphereLights:{value:[],properties:{direction:{},skyColor:{},groundColor:{}}},rectAreaLights:{value:[],properties:{color:{},position:{},width:{},height:{}}},ltc_1:{value:null},ltc_2:{value:null}},points:{diffuse:{value:new we(16777215)},opacity:{value:1},size:{value:1},scale:{value:1},map:{value:null},alphaMap:{value:null},alphaMapTransform:{value:new et},alphaTest:{value:0},uvTransform:{value:new et}},sprite:{diffuse:{value:new we(16777215)},opacity:{value:1},center:{value:new fe(.5,.5)},rotation:{value:0},map:{value:null},mapTransform:{value:new et},alphaMap:{value:null},alphaMapTransform:{value:new et},alphaTest:{value:0}}},bi={basic:{uniforms:En([Ee.common,Ee.specularmap,Ee.envmap,Ee.aomap,Ee.lightmap,Ee.fog]),vertexShader:rt.meshbasic_vert,fragmentShader:rt.meshbasic_frag},lambert:{uniforms:En([Ee.common,Ee.specularmap,Ee.envmap,Ee.aomap,Ee.lightmap,Ee.emissivemap,Ee.bumpmap,Ee.normalmap,Ee.displacementmap,Ee.fog,Ee.lights,{emissive:{value:new we(0)}}]),vertexShader:rt.meshlambert_vert,fragmentShader:rt.meshlambert_frag},phong:{uniforms:En([Ee.common,Ee.specularmap,Ee.envmap,Ee.aomap,Ee.lightmap,Ee.emissivemap,Ee.bumpmap,Ee.normalmap,Ee.displacementmap,Ee.fog,Ee.lights,{emissive:{value:new we(0)},specular:{value:new we(1118481)},shininess:{value:30}}]),vertexShader:rt.meshphong_vert,fragmentShader:rt.meshphong_frag},standard:{uniforms:En([Ee.common,Ee.envmap,Ee.aomap,Ee.lightmap,Ee.emissivemap,Ee.bumpmap,Ee.normalmap,Ee.displacementmap,Ee.roughnessmap,Ee.metalnessmap,Ee.fog,Ee.lights,{emissive:{value:new we(0)},roughness:{value:1},metalness:{value:0},envMapIntensity:{value:1}}]),vertexShader:rt.meshphysical_vert,fragmentShader:rt.meshphysical_frag},toon:{uniforms:En([Ee.common,Ee.aomap,Ee.lightmap,Ee.emissivemap,Ee.bumpmap,Ee.normalmap,Ee.displacementmap,Ee.gradientmap,Ee.fog,Ee.lights,{emissive:{value:new we(0)}}]),vertexShader:rt.meshtoon_vert,fragmentShader:rt.meshtoon_frag},matcap:{uniforms:En([Ee.common,Ee.bumpmap,Ee.normalmap,Ee.displacementmap,Ee.fog,{matcap:{value:null}}]),vertexShader:rt.meshmatcap_vert,fragmentShader:rt.meshmatcap_frag},points:{uniforms:En([Ee.points,Ee.fog]),vertexShader:rt.points_vert,fragmentShader:rt.points_frag},dashed:{uniforms:En([Ee.common,Ee.fog,{scale:{value:1},dashSize:{value:1},totalSize:{value:2}}]),vertexShader:rt.linedashed_vert,fragmentShader:rt.linedashed_frag},depth:{uniforms:En([Ee.common,Ee.displacementmap]),vertexShader:rt.depth_vert,fragmentShader:rt.depth_frag},normal:{uniforms:En([Ee.common,Ee.bumpmap,Ee.normalmap,Ee.displacementmap,{opacity:{value:1}}]),vertexShader:rt.meshnormal_vert,fragmentShader:rt.meshnormal_frag},sprite:{uniforms:En([Ee.sprite,Ee.fog]),vertexShader:rt.sprite_vert,fragmentShader:rt.sprite_frag},background:{uniforms:{uvTransform:{value:new et},t2D:{value:null},backgroundIntensity:{value:1}},vertexShader:rt.background_vert,fragmentShader:rt.background_frag},backgroundCube:{uniforms:{envMap:{value:null},flipEnvMap:{value:-1},backgroundBlurriness:{value:0},backgroundIntensity:{value:1},backgroundRotation:{value:new et}},vertexShader:rt.backgroundCube_vert,fragmentShader:rt.backgroundCube_frag},cube:{uniforms:{tCube:{value:null},tFlip:{value:-1},opacity:{value:1}},vertexShader:rt.cube_vert,fragmentShader:rt.cube_frag},equirect:{uniforms:{tEquirect:{value:null}},vertexShader:rt.equirect_vert,fragmentShader:rt.equirect_frag},distanceRGBA:{uniforms:En([Ee.common,Ee.displacementmap,{referencePosition:{value:new F},nearDistance:{value:1},farDistance:{value:1e3}}]),vertexShader:rt.distanceRGBA_vert,fragmentShader:rt.distanceRGBA_frag},shadow:{uniforms:En([Ee.lights,Ee.fog,{color:{value:new we(0)},opacity:{value:1}}]),vertexShader:rt.shadow_vert,fragmentShader:rt.shadow_frag}};bi.physical={uniforms:En([bi.standard.uniforms,{clearcoat:{value:0},clearcoatMap:{value:null},clearcoatMapTransform:{value:new et},clearcoatNormalMap:{value:null},clearcoatNormalMapTransform:{value:new et},clearcoatNormalScale:{value:new fe(1,1)},clearcoatRoughness:{value:0},clearcoatRoughnessMap:{value:null},clearcoatRoughnessMapTransform:{value:new et},dispersion:{value:0},iridescence:{value:0},iridescenceMap:{value:null},iridescenceMapTransform:{value:new et},iridescenceIOR:{value:1.3},iridescenceThicknessMinimum:{value:100},iridescenceThicknessMaximum:{value:400},iridescenceThicknessMap:{value:null},iridescenceThicknessMapTransform:{value:new et},sheen:{value:0},sheenColor:{value:new we(0)},sheenColorMap:{value:null},sheenColorMapTransform:{value:new et},sheenRoughness:{value:1},sheenRoughnessMap:{value:null},sheenRoughnessMapTransform:{value:new et},transmission:{value:0},transmissionMap:{value:null},transmissionMapTransform:{value:new et},transmissionSamplerSize:{value:new fe},transmissionSamplerMap:{value:null},thickness:{value:0},thicknessMap:{value:null},thicknessMapTransform:{value:new et},attenuationDistance:{value:0},attenuationColor:{value:new we(0)},specularColor:{value:new we(1,1,1)},specularColorMap:{value:null},specularColorMapTransform:{value:new et},specularIntensity:{value:1},specularIntensityMap:{value:null},specularIntensityMapTransform:{value:new et},anisotropyVector:{value:new fe},anisotropyMap:{value:null},anisotropyMapTransform:{value:new et}}]),vertexShader:rt.meshphysical_vert,fragmentShader:rt.meshphysical_frag};const Su={r:0,b:0,g:0},Ns=new ei,xO=new Xe;function bO(n,e,t,i,r,s,o){const a=new we(0);let l=s===!0?0:1,c,u,f=null,h=0,d=null;function p(x){let v=x.isScene===!0?x.background:null;return v&&v.isTexture&&(v=(x.backgroundBlurriness>0?t:e).get(v)),v}function _(x){let v=!1;const E=p(x);E===null?m(a,l):E&&E.isColor&&(m(E,1),v=!0);const T=n.xr.getEnvironmentBlendMode();T==="additive"?i.buffers.color.setClear(0,0,0,1,o):T==="alpha-blend"&&i.buffers.color.setClear(0,0,0,0,o),(n.autoClear||v)&&(i.buffers.depth.setTest(!0),i.buffers.depth.setMask(!0),i.buffers.color.setMask(!0),n.clear(n.autoClearColor,n.autoClearDepth,n.autoClearStencil))}function g(x,v){const E=p(v);E&&(E.isCubeTexture||E.mapping===_a)?(u===void 0&&(u=new Ht(new mo(1,1,1),new Ri({name:"BackgroundCubeMaterial",uniforms:la(bi.backgroundCube.uniforms),vertexShader:bi.backgroundCube.vertexShader,fragmentShader:bi.backgroundCube.fragmentShader,side:Dn,depthTest:!1,depthWrite:!1,fog:!1})),u.geometry.deleteAttribute("normal"),u.geometry.deleteAttribute("uv"),u.onBeforeRender=function(T,M,P){this.matrixWorld.copyPosition(P.matrixWorld)},Object.defineProperty(u.material,"envMap",{get:function(){return this.uniforms.envMap.value}}),r.update(u)),Ns.copy(v.backgroundRotation),Ns.x*=-1,Ns.y*=-1,Ns.z*=-1,E.isCubeTexture&&E.isRenderTargetTexture===!1&&(Ns.y*=-1,Ns.z*=-1),u.material.uniforms.envMap.value=E,u.material.uniforms.flipEnvMap.value=E.isCubeTexture&&E.isRenderTargetTexture===!1?-1:1,u.material.uniforms.backgroundBlurriness.value=v.backgroundBlurriness,u.material.uniforms.backgroundIntensity.value=v.backgroundIntensity,u.material.uniforms.backgroundRotation.value.setFromMatrix4(xO.makeRotationFromEuler(Ns)),u.material.toneMapped=at.getTransfer(E.colorSpace)!==bt,(f!==E||h!==E.version||d!==n.toneMapping)&&(u.material.needsUpdate=!0,f=E,h=E.version,d=n.toneMapping),u.layers.enableAll(),x.unshift(u,u.geometry,u.material,0,0,null)):E&&E.isTexture&&(c===void 0&&(c=new Ht(new ba(2,2),new Ri({name:"BackgroundMaterial",uniforms:la(bi.background.uniforms),vertexShader:bi.background.vertexShader,fragmentShader:bi.background.fragmentShader,side:Er,depthTest:!1,depthWrite:!1,fog:!1})),c.geometry.deleteAttribute("normal"),Object.defineProperty(c.material,"map",{get:function(){return this.uniforms.t2D.value}}),r.update(c)),c.material.uniforms.t2D.value=E,c.material.uniforms.backgroundIntensity.value=v.backgroundIntensity,c.material.toneMapped=at.getTransfer(E.colorSpace)!==bt,E.matrixAutoUpdate===!0&&E.updateMatrix(),c.material.uniforms.uvTransform.value.copy(E.matrix),(f!==E||h!==E.version||d!==n.toneMapping)&&(c.material.needsUpdate=!0,f=E,h=E.version,d=n.toneMapping),c.layers.enableAll(),x.unshift(c,c.geometry,c.material,0,0,null))}function m(x,v){x.getRGB(Su,KS(n)),i.buffers.color.setClear(Su.r,Su.g,Su.b,v,o)}function y(){u!==void 0&&(u.geometry.dispose(),u.material.dispose(),u=void 0),c!==void 0&&(c.geometry.dispose(),c.material.dispose(),c=void 0)}return{getClearColor:function(){return a},setClearColor:function(x,v=1){a.set(x),l=v,m(a,l)},getClearAlpha:function(){return l},setClearAlpha:function(x){l=x,m(a,l)},render:_,addToRenderList:g,dispose:y}}function SO(n,e){const t=n.getParameter(n.MAX_VERTEX_ATTRIBS),i={},r=h(null);let s=r,o=!1;function a(S,D,B,H,$){let ee=!1;const Z=f(H,B,D);s!==Z&&(s=Z,c(s.object)),ee=d(S,H,B,$),ee&&p(S,H,B,$),$!==null&&e.update($,n.ELEMENT_ARRAY_BUFFER),(ee||o)&&(o=!1,v(S,D,B,H),$!==null&&n.bindBuffer(n.ELEMENT_ARRAY_BUFFER,e.get($).buffer))}function l(){return n.createVertexArray()}function c(S){return n.bindVertexArray(S)}function u(S){return n.deleteVertexArray(S)}function f(S,D,B){const H=B.wireframe===!0;let $=i[S.id];$===void 0&&($={},i[S.id]=$);let ee=$[D.id];ee===void 0&&(ee={},$[D.id]=ee);let Z=ee[H];return Z===void 0&&(Z=h(l()),ee[H]=Z),Z}function h(S){const D=[],B=[],H=[];for(let $=0;$=0){const ve=$[Q];let re=ee[Q];if(re===void 0&&(Q==="instanceMatrix"&&S.instanceMatrix&&(re=S.instanceMatrix),Q==="instanceColor"&&S.instanceColor&&(re=S.instanceColor)),ve===void 0||ve.attribute!==re||re&&ve.data!==re.data)return!0;Z++}return s.attributesNum!==Z||s.index!==H}function p(S,D,B,H){const $={},ee=D.attributes;let Z=0;const te=B.getAttributes();for(const Q in te)if(te[Q].location>=0){let ve=ee[Q];ve===void 0&&(Q==="instanceMatrix"&&S.instanceMatrix&&(ve=S.instanceMatrix),Q==="instanceColor"&&S.instanceColor&&(ve=S.instanceColor));const re={};re.attribute=ve,ve&&ve.data&&(re.data=ve.data),$[Q]=re,Z++}s.attributes=$,s.attributesNum=Z,s.index=H}function _(){const S=s.newAttributes;for(let D=0,B=S.length;D=0){let pe=$[te];if(pe===void 0&&(te==="instanceMatrix"&&S.instanceMatrix&&(pe=S.instanceMatrix),te==="instanceColor"&&S.instanceColor&&(pe=S.instanceColor)),pe!==void 0){const ve=pe.normalized,re=pe.itemSize,xe=e.get(pe);if(xe===void 0)continue;const Ve=xe.buffer,se=xe.type,ge=xe.bytesPerElement,be=se===n.INT||se===n.UNSIGNED_INT||pe.gpuType===Sh;if(pe.isInterleavedBufferAttribute){const W=pe.data,ae=W.stride,ue=pe.offset;if(W.isInstancedInterleavedBuffer){for(let le=0;le0&&n.getShaderPrecisionFormat(n.FRAGMENT_SHADER,n.HIGH_FLOAT).precision>0)return"highp";M="mediump"}return M==="mediump"&&n.getShaderPrecisionFormat(n.VERTEX_SHADER,n.MEDIUM_FLOAT).precision>0&&n.getShaderPrecisionFormat(n.FRAGMENT_SHADER,n.MEDIUM_FLOAT).precision>0?"mediump":"lowp"}let c=t.precision!==void 0?t.precision:"highp";const u=l(c);u!==c&&(console.warn("THREE.WebGLRenderer:",c,"not supported, using",u,"instead."),c=u);const f=t.logarithmicDepthBuffer===!0,h=t.reverseDepthBuffer===!0&&e.has("EXT_clip_control"),d=n.getParameter(n.MAX_TEXTURE_IMAGE_UNITS),p=n.getParameter(n.MAX_VERTEX_TEXTURE_IMAGE_UNITS),_=n.getParameter(n.MAX_TEXTURE_SIZE),g=n.getParameter(n.MAX_CUBE_MAP_TEXTURE_SIZE),m=n.getParameter(n.MAX_VERTEX_ATTRIBS),y=n.getParameter(n.MAX_VERTEX_UNIFORM_VECTORS),x=n.getParameter(n.MAX_VARYING_VECTORS),v=n.getParameter(n.MAX_FRAGMENT_UNIFORM_VECTORS),E=p>0,T=n.getParameter(n.MAX_SAMPLES);return{isWebGL2:!0,getMaxAnisotropy:s,getMaxPrecision:l,textureFormatReadable:o,textureTypeReadable:a,precision:c,logarithmicDepthBuffer:f,reverseDepthBuffer:h,maxTextures:d,maxVertexTextures:p,maxTextureSize:_,maxCubemapSize:g,maxAttributes:m,maxVertexUniforms:y,maxVaryings:x,maxFragmentUniforms:v,vertexTextures:E,maxSamples:T}}function TO(n){const e=this;let t=null,i=0,r=!1,s=!1;const o=new Yr,a=new et,l={value:null,needsUpdate:!1};this.uniform=l,this.numPlanes=0,this.numIntersection=0,this.init=function(f,h){const d=f.length!==0||h||i!==0||r;return r=h,i=f.length,d},this.beginShadows=function(){s=!0,u(null)},this.endShadows=function(){s=!1},this.setGlobalState=function(f,h){t=u(f,h,0)},this.setState=function(f,h,d){const p=f.clippingPlanes,_=f.clipIntersection,g=f.clipShadows,m=n.get(f);if(!r||p===null||p.length===0||s&&!g)s?u(null):c();else{const y=s?0:i,x=y*4;let v=m.clippingState||null;l.value=v,v=u(p,h,x,d);for(let E=0;E!==x;++E)v[E]=t[E];m.clippingState=v,this.numIntersection=_?this.numPlanes:0,this.numPlanes+=y}};function c(){l.value!==t&&(l.value=t,l.needsUpdate=i>0),e.numPlanes=i,e.numIntersection=0}function u(f,h,d,p){const _=f!==null?f.length:0;let g=null;if(_!==0){if(g=l.value,p!==!0||g===null){const m=d+_*4,y=h.matrixWorldInverse;a.getNormalMatrix(y),(g===null||g.length0){const c=new QS(l.height);return c.fromEquirectangularTexture(n,o),e.set(o,c),o.addEventListener("dispose",r),t(c.texture,o.mapping)}else return null}}return o}function r(o){const a=o.target;a.removeEventListener("dispose",r);const l=e.get(a);l!==void 0&&(e.delete(a),l.dispose())}function s(){e=new WeakMap}return{get:i,dispose:s}}const jo=4,I0=[.125,.215,.35,.446,.526,.582],Xs=20,ap=new Jh,L0=new we;let lp=null,cp=0,up=0,fp=!1;const Hs=(1+Math.sqrt(5))/2,ko=1/Hs,D0=[new F(-Hs,ko,0),new F(Hs,ko,0),new F(-ko,0,Hs),new F(ko,0,Hs),new F(0,Hs,-ko),new F(0,Hs,ko),new F(-1,1,-1),new F(1,1,-1),new F(-1,1,1),new F(1,1,1)],AO=new F;class am{constructor(e){this._renderer=e,this._pingPongRenderTarget=null,this._lodMax=0,this._cubeSize=0,this._lodPlanes=[],this._sizeLods=[],this._sigmas=[],this._blurMaterial=null,this._cubemapMaterial=null,this._equirectMaterial=null,this._compileMaterial(this._blurMaterial)}fromScene(e,t=0,i=.1,r=100,s={}){const{size:o=256,position:a=AO}=s;lp=this._renderer.getRenderTarget(),cp=this._renderer.getActiveCubeFace(),up=this._renderer.getActiveMipmapLevel(),fp=this._renderer.xr.enabled,this._renderer.xr.enabled=!1,this._setSize(o);const l=this._allocateTargets();return l.depthBuffer=!0,this._sceneToCubeUV(e,i,r,l,a),t>0&&this._blur(l,0,0,t),this._applyPMREM(l),this._cleanup(l),l}fromEquirectangular(e,t=null){return this._fromTexture(e,t)}fromCubemap(e,t=null){return this._fromTexture(e,t)}compileCubemapShader(){this._cubemapMaterial===null&&(this._cubemapMaterial=U0(),this._compileMaterial(this._cubemapMaterial))}compileEquirectangularShader(){this._equirectMaterial===null&&(this._equirectMaterial=N0(),this._compileMaterial(this._equirectMaterial))}dispose(){this._dispose(),this._cubemapMaterial!==null&&this._cubemapMaterial.dispose(),this._equirectMaterial!==null&&this._equirectMaterial.dispose()}_setSize(e){this._lodMax=Math.floor(Math.log2(e)),this._cubeSize=Math.pow(2,this._lodMax)}_dispose(){this._blurMaterial!==null&&this._blurMaterial.dispose(),this._pingPongRenderTarget!==null&&this._pingPongRenderTarget.dispose();for(let e=0;e2?v:0,v,v),f.setRenderTarget(r),g&&f.render(_,l),f.render(e,l)}_.geometry.dispose(),_.material.dispose(),f.toneMapping=d,f.autoClear=h,e.background=m}_textureToCubeUV(e,t){const i=this._renderer,r=e.mapping===Tr||e.mapping===rs;r?(this._cubemapMaterial===null&&(this._cubemapMaterial=U0()),this._cubemapMaterial.uniforms.flipEnvMap.value=e.isRenderTargetTexture===!1?-1:1):this._equirectMaterial===null&&(this._equirectMaterial=N0());const s=r?this._cubemapMaterial:this._equirectMaterial,o=new Ht(this._lodPlanes[0],s),a=s.uniforms;a.envMap.value=e;const l=this._cubeSize;Mu(t,0,0,3*l,2*l),i.setRenderTarget(t),i.render(o,ap)}_applyPMREM(e){const t=this._renderer,i=t.autoClear;t.autoClear=!1;const r=this._lodPlanes.length;for(let s=1;sXs&&console.warn(`sigmaRadians, ${s}, is too large and will clip, as it requested ${g} samples when the maximum is set to ${Xs}`);const m=[];let y=0;for(let M=0;Mx-jo?r-x+jo:0),T=4*(this._cubeSize-v);Mu(t,E,T,3*v,2*v),l.setRenderTarget(t),l.render(f,ap)}}function CO(n){const e=[],t=[],i=[];let r=n;const s=n-jo+1+I0.length;for(let o=0;on-jo?l=I0[o-n+jo-1]:o===0&&(l=0),i.push(l);const c=1/(a-2),u=-c,f=1+c,h=[u,u,f,u,f,f,u,u,f,f,u,f],d=6,p=6,_=3,g=2,m=1,y=new Float32Array(_*p*d),x=new Float32Array(g*p*d),v=new Float32Array(m*p*d);for(let T=0;T2?0:-1,b=[M,P,0,M+2/3,P,0,M+2/3,P+1,0,M,P,0,M+2/3,P+1,0,M,P+1,0];y.set(b,_*p*T),x.set(h,g*p*T);const S=[T,T,T,T,T,T];v.set(S,m*p*T)}const E=new st;E.setAttribute("position",new Et(y,_)),E.setAttribute("uv",new Et(x,g)),E.setAttribute("faceIndex",new Et(v,m)),e.push(E),r>jo&&r--}return{lodPlanes:e,sizeLods:t,sigmas:i}}function O0(n,e,t){const i=new Yi(n,e,t);return i.texture.mapping=_a,i.texture.name="PMREM.cubeUv",i.scissorTest=!0,i}function Mu(n,e,t,i,r){n.viewport.set(e,t,i,r),n.scissor.set(e,t,i,r)}function RO(n,e,t){const i=new Float32Array(Xs),r=new F(0,1,0);return new Ri({name:"SphericalGaussianBlur",defines:{n:Xs,CUBEUV_TEXEL_WIDTH:1/e,CUBEUV_TEXEL_HEIGHT:1/t,CUBEUV_MAX_MIP:`${n}.0`},uniforms:{envMap:{value:null},samples:{value:1},weights:{value:i},latitudinal:{value:!1},dTheta:{value:0},mipInt:{value:0},poleAxis:{value:r}},vertexShader:Qg(),fragmentShader:` +}`,rt={alphahash_fragment:zI,alphahash_pars_fragment:HI,alphamap_fragment:GI,alphamap_pars_fragment:WI,alphatest_fragment:XI,alphatest_pars_fragment:$I,aomap_fragment:qI,aomap_pars_fragment:YI,batching_pars_vertex:jI,batching_vertex:KI,begin_vertex:ZI,beginnormal_vertex:JI,bsdfs:QI,iridescence_fragment:eL,bumpmap_pars_fragment:tL,clipping_planes_fragment:nL,clipping_planes_pars_fragment:iL,clipping_planes_pars_vertex:rL,clipping_planes_vertex:sL,color_fragment:oL,color_pars_fragment:aL,color_pars_vertex:lL,color_vertex:cL,common:uL,cube_uv_reflection_fragment:fL,defaultnormal_vertex:hL,displacementmap_pars_vertex:dL,displacementmap_vertex:pL,emissivemap_fragment:mL,emissivemap_pars_fragment:gL,colorspace_fragment:_L,colorspace_pars_fragment:vL,envmap_fragment:yL,envmap_common_pars_fragment:xL,envmap_pars_fragment:bL,envmap_pars_vertex:SL,envmap_physical_pars_fragment:DL,envmap_vertex:ML,fog_vertex:EL,fog_pars_vertex:TL,fog_fragment:wL,fog_pars_fragment:AL,gradientmap_pars_fragment:CL,lightmap_pars_fragment:RL,lights_lambert_fragment:PL,lights_lambert_pars_fragment:IL,lights_pars_begin:LL,lights_toon_fragment:OL,lights_toon_pars_fragment:NL,lights_phong_fragment:UL,lights_phong_pars_fragment:FL,lights_physical_fragment:BL,lights_physical_pars_fragment:kL,lights_fragment_begin:VL,lights_fragment_maps:zL,lights_fragment_end:HL,logdepthbuf_fragment:GL,logdepthbuf_pars_fragment:WL,logdepthbuf_pars_vertex:XL,logdepthbuf_vertex:$L,map_fragment:qL,map_pars_fragment:YL,map_particle_fragment:jL,map_particle_pars_fragment:KL,metalnessmap_fragment:ZL,metalnessmap_pars_fragment:JL,morphinstance_vertex:QL,morphcolor_vertex:eD,morphnormal_vertex:tD,morphtarget_pars_vertex:nD,morphtarget_vertex:iD,normal_fragment_begin:rD,normal_fragment_maps:sD,normal_pars_fragment:oD,normal_pars_vertex:aD,normal_vertex:lD,normalmap_pars_fragment:cD,clearcoat_normal_fragment_begin:uD,clearcoat_normal_fragment_maps:fD,clearcoat_pars_fragment:hD,iridescence_pars_fragment:dD,opaque_fragment:pD,packing:mD,premultiplied_alpha_fragment:gD,project_vertex:_D,dithering_fragment:vD,dithering_pars_fragment:yD,roughnessmap_fragment:xD,roughnessmap_pars_fragment:bD,shadowmap_pars_fragment:SD,shadowmap_pars_vertex:MD,shadowmap_vertex:ED,shadowmask_pars_fragment:TD,skinbase_vertex:wD,skinning_pars_vertex:AD,skinning_vertex:CD,skinnormal_vertex:RD,specularmap_fragment:PD,specularmap_pars_fragment:ID,tonemapping_fragment:LD,tonemapping_pars_fragment:DD,transmission_fragment:OD,transmission_pars_fragment:ND,uv_pars_fragment:UD,uv_pars_vertex:FD,uv_vertex:BD,worldpos_vertex:kD,background_vert:VD,background_frag:zD,backgroundCube_vert:HD,backgroundCube_frag:GD,cube_vert:WD,cube_frag:XD,depth_vert:$D,depth_frag:qD,distanceRGBA_vert:YD,distanceRGBA_frag:jD,equirect_vert:KD,equirect_frag:ZD,linedashed_vert:JD,linedashed_frag:QD,meshbasic_vert:eO,meshbasic_frag:tO,meshlambert_vert:nO,meshlambert_frag:iO,meshmatcap_vert:rO,meshmatcap_frag:sO,meshnormal_vert:oO,meshnormal_frag:aO,meshphong_vert:lO,meshphong_frag:cO,meshphysical_vert:uO,meshphysical_frag:fO,meshtoon_vert:hO,meshtoon_frag:dO,points_vert:pO,points_frag:mO,shadow_vert:gO,shadow_frag:_O,sprite_vert:vO,sprite_frag:yO},Ee={common:{diffuse:{value:new we(16777215)},opacity:{value:1},map:{value:null},mapTransform:{value:new et},alphaMap:{value:null},alphaMapTransform:{value:new et},alphaTest:{value:0}},specularmap:{specularMap:{value:null},specularMapTransform:{value:new et}},envmap:{envMap:{value:null},envMapRotation:{value:new et},flipEnvMap:{value:-1},reflectivity:{value:1},ior:{value:1.5},refractionRatio:{value:.98}},aomap:{aoMap:{value:null},aoMapIntensity:{value:1},aoMapTransform:{value:new et}},lightmap:{lightMap:{value:null},lightMapIntensity:{value:1},lightMapTransform:{value:new et}},bumpmap:{bumpMap:{value:null},bumpMapTransform:{value:new et},bumpScale:{value:1}},normalmap:{normalMap:{value:null},normalMapTransform:{value:new et},normalScale:{value:new fe(1,1)}},displacementmap:{displacementMap:{value:null},displacementMapTransform:{value:new et},displacementScale:{value:1},displacementBias:{value:0}},emissivemap:{emissiveMap:{value:null},emissiveMapTransform:{value:new et}},metalnessmap:{metalnessMap:{value:null},metalnessMapTransform:{value:new et}},roughnessmap:{roughnessMap:{value:null},roughnessMapTransform:{value:new et}},gradientmap:{gradientMap:{value:null}},fog:{fogDensity:{value:25e-5},fogNear:{value:1},fogFar:{value:2e3},fogColor:{value:new we(16777215)}},lights:{ambientLightColor:{value:[]},lightProbe:{value:[]},directionalLights:{value:[],properties:{direction:{},color:{}}},directionalLightShadows:{value:[],properties:{shadowIntensity:1,shadowBias:{},shadowNormalBias:{},shadowRadius:{},shadowMapSize:{}}},directionalShadowMap:{value:[]},directionalShadowMatrix:{value:[]},spotLights:{value:[],properties:{color:{},position:{},direction:{},distance:{},coneCos:{},penumbraCos:{},decay:{}}},spotLightShadows:{value:[],properties:{shadowIntensity:1,shadowBias:{},shadowNormalBias:{},shadowRadius:{},shadowMapSize:{}}},spotLightMap:{value:[]},spotShadowMap:{value:[]},spotLightMatrix:{value:[]},pointLights:{value:[],properties:{color:{},position:{},decay:{},distance:{}}},pointLightShadows:{value:[],properties:{shadowIntensity:1,shadowBias:{},shadowNormalBias:{},shadowRadius:{},shadowMapSize:{},shadowCameraNear:{},shadowCameraFar:{}}},pointShadowMap:{value:[]},pointShadowMatrix:{value:[]},hemisphereLights:{value:[],properties:{direction:{},skyColor:{},groundColor:{}}},rectAreaLights:{value:[],properties:{color:{},position:{},width:{},height:{}}},ltc_1:{value:null},ltc_2:{value:null}},points:{diffuse:{value:new we(16777215)},opacity:{value:1},size:{value:1},scale:{value:1},map:{value:null},alphaMap:{value:null},alphaMapTransform:{value:new et},alphaTest:{value:0},uvTransform:{value:new et}},sprite:{diffuse:{value:new we(16777215)},opacity:{value:1},center:{value:new fe(.5,.5)},rotation:{value:0},map:{value:null},mapTransform:{value:new et},alphaMap:{value:null},alphaMapTransform:{value:new et},alphaTest:{value:0}}},bi={basic:{uniforms:En([Ee.common,Ee.specularmap,Ee.envmap,Ee.aomap,Ee.lightmap,Ee.fog]),vertexShader:rt.meshbasic_vert,fragmentShader:rt.meshbasic_frag},lambert:{uniforms:En([Ee.common,Ee.specularmap,Ee.envmap,Ee.aomap,Ee.lightmap,Ee.emissivemap,Ee.bumpmap,Ee.normalmap,Ee.displacementmap,Ee.fog,Ee.lights,{emissive:{value:new we(0)}}]),vertexShader:rt.meshlambert_vert,fragmentShader:rt.meshlambert_frag},phong:{uniforms:En([Ee.common,Ee.specularmap,Ee.envmap,Ee.aomap,Ee.lightmap,Ee.emissivemap,Ee.bumpmap,Ee.normalmap,Ee.displacementmap,Ee.fog,Ee.lights,{emissive:{value:new we(0)},specular:{value:new we(1118481)},shininess:{value:30}}]),vertexShader:rt.meshphong_vert,fragmentShader:rt.meshphong_frag},standard:{uniforms:En([Ee.common,Ee.envmap,Ee.aomap,Ee.lightmap,Ee.emissivemap,Ee.bumpmap,Ee.normalmap,Ee.displacementmap,Ee.roughnessmap,Ee.metalnessmap,Ee.fog,Ee.lights,{emissive:{value:new we(0)},roughness:{value:1},metalness:{value:0},envMapIntensity:{value:1}}]),vertexShader:rt.meshphysical_vert,fragmentShader:rt.meshphysical_frag},toon:{uniforms:En([Ee.common,Ee.aomap,Ee.lightmap,Ee.emissivemap,Ee.bumpmap,Ee.normalmap,Ee.displacementmap,Ee.gradientmap,Ee.fog,Ee.lights,{emissive:{value:new we(0)}}]),vertexShader:rt.meshtoon_vert,fragmentShader:rt.meshtoon_frag},matcap:{uniforms:En([Ee.common,Ee.bumpmap,Ee.normalmap,Ee.displacementmap,Ee.fog,{matcap:{value:null}}]),vertexShader:rt.meshmatcap_vert,fragmentShader:rt.meshmatcap_frag},points:{uniforms:En([Ee.points,Ee.fog]),vertexShader:rt.points_vert,fragmentShader:rt.points_frag},dashed:{uniforms:En([Ee.common,Ee.fog,{scale:{value:1},dashSize:{value:1},totalSize:{value:2}}]),vertexShader:rt.linedashed_vert,fragmentShader:rt.linedashed_frag},depth:{uniforms:En([Ee.common,Ee.displacementmap]),vertexShader:rt.depth_vert,fragmentShader:rt.depth_frag},normal:{uniforms:En([Ee.common,Ee.bumpmap,Ee.normalmap,Ee.displacementmap,{opacity:{value:1}}]),vertexShader:rt.meshnormal_vert,fragmentShader:rt.meshnormal_frag},sprite:{uniforms:En([Ee.sprite,Ee.fog]),vertexShader:rt.sprite_vert,fragmentShader:rt.sprite_frag},background:{uniforms:{uvTransform:{value:new et},t2D:{value:null},backgroundIntensity:{value:1}},vertexShader:rt.background_vert,fragmentShader:rt.background_frag},backgroundCube:{uniforms:{envMap:{value:null},flipEnvMap:{value:-1},backgroundBlurriness:{value:0},backgroundIntensity:{value:1},backgroundRotation:{value:new et}},vertexShader:rt.backgroundCube_vert,fragmentShader:rt.backgroundCube_frag},cube:{uniforms:{tCube:{value:null},tFlip:{value:-1},opacity:{value:1}},vertexShader:rt.cube_vert,fragmentShader:rt.cube_frag},equirect:{uniforms:{tEquirect:{value:null}},vertexShader:rt.equirect_vert,fragmentShader:rt.equirect_frag},distanceRGBA:{uniforms:En([Ee.common,Ee.displacementmap,{referencePosition:{value:new F},nearDistance:{value:1},farDistance:{value:1e3}}]),vertexShader:rt.distanceRGBA_vert,fragmentShader:rt.distanceRGBA_frag},shadow:{uniforms:En([Ee.lights,Ee.fog,{color:{value:new we(0)},opacity:{value:1}}]),vertexShader:rt.shadow_vert,fragmentShader:rt.shadow_frag}};bi.physical={uniforms:En([bi.standard.uniforms,{clearcoat:{value:0},clearcoatMap:{value:null},clearcoatMapTransform:{value:new et},clearcoatNormalMap:{value:null},clearcoatNormalMapTransform:{value:new et},clearcoatNormalScale:{value:new fe(1,1)},clearcoatRoughness:{value:0},clearcoatRoughnessMap:{value:null},clearcoatRoughnessMapTransform:{value:new et},dispersion:{value:0},iridescence:{value:0},iridescenceMap:{value:null},iridescenceMapTransform:{value:new et},iridescenceIOR:{value:1.3},iridescenceThicknessMinimum:{value:100},iridescenceThicknessMaximum:{value:400},iridescenceThicknessMap:{value:null},iridescenceThicknessMapTransform:{value:new et},sheen:{value:0},sheenColor:{value:new we(0)},sheenColorMap:{value:null},sheenColorMapTransform:{value:new et},sheenRoughness:{value:1},sheenRoughnessMap:{value:null},sheenRoughnessMapTransform:{value:new et},transmission:{value:0},transmissionMap:{value:null},transmissionMapTransform:{value:new et},transmissionSamplerSize:{value:new fe},transmissionSamplerMap:{value:null},thickness:{value:0},thicknessMap:{value:null},thicknessMapTransform:{value:new et},attenuationDistance:{value:0},attenuationColor:{value:new we(0)},specularColor:{value:new we(1,1,1)},specularColorMap:{value:null},specularColorMapTransform:{value:new et},specularIntensity:{value:1},specularIntensityMap:{value:null},specularIntensityMapTransform:{value:new et},anisotropyVector:{value:new fe},anisotropyMap:{value:null},anisotropyMapTransform:{value:new et}}]),vertexShader:rt.meshphysical_vert,fragmentShader:rt.meshphysical_frag};const Su={r:0,b:0,g:0},Ns=new ei,xO=new Xe;function bO(n,e,t,i,r,s,o){const a=new we(0);let l=s===!0?0:1,c,u,f=null,h=0,d=null;function p(x){let v=x.isScene===!0?x.background:null;return v&&v.isTexture&&(v=(x.backgroundBlurriness>0?t:e).get(v)),v}function _(x){let v=!1;const E=p(x);E===null?m(a,l):E&&E.isColor&&(m(E,1),v=!0);const T=n.xr.getEnvironmentBlendMode();T==="additive"?i.buffers.color.setClear(0,0,0,1,o):T==="alpha-blend"&&i.buffers.color.setClear(0,0,0,0,o),(n.autoClear||v)&&(i.buffers.depth.setTest(!0),i.buffers.depth.setMask(!0),i.buffers.color.setMask(!0),n.clear(n.autoClearColor,n.autoClearDepth,n.autoClearStencil))}function g(x,v){const E=p(v);E&&(E.isCubeTexture||E.mapping===_a)?(u===void 0&&(u=new Ht(new mo(1,1,1),new Ri({name:"BackgroundCubeMaterial",uniforms:la(bi.backgroundCube.uniforms),vertexShader:bi.backgroundCube.vertexShader,fragmentShader:bi.backgroundCube.fragmentShader,side:Dn,depthTest:!1,depthWrite:!1,fog:!1})),u.geometry.deleteAttribute("normal"),u.geometry.deleteAttribute("uv"),u.onBeforeRender=function(T,M,P){this.matrixWorld.copyPosition(P.matrixWorld)},Object.defineProperty(u.material,"envMap",{get:function(){return this.uniforms.envMap.value}}),r.update(u)),Ns.copy(v.backgroundRotation),Ns.x*=-1,Ns.y*=-1,Ns.z*=-1,E.isCubeTexture&&E.isRenderTargetTexture===!1&&(Ns.y*=-1,Ns.z*=-1),u.material.uniforms.envMap.value=E,u.material.uniforms.flipEnvMap.value=E.isCubeTexture&&E.isRenderTargetTexture===!1?-1:1,u.material.uniforms.backgroundBlurriness.value=v.backgroundBlurriness,u.material.uniforms.backgroundIntensity.value=v.backgroundIntensity,u.material.uniforms.backgroundRotation.value.setFromMatrix4(xO.makeRotationFromEuler(Ns)),u.material.toneMapped=at.getTransfer(E.colorSpace)!==St,(f!==E||h!==E.version||d!==n.toneMapping)&&(u.material.needsUpdate=!0,f=E,h=E.version,d=n.toneMapping),u.layers.enableAll(),x.unshift(u,u.geometry,u.material,0,0,null)):E&&E.isTexture&&(c===void 0&&(c=new Ht(new ba(2,2),new Ri({name:"BackgroundMaterial",uniforms:la(bi.background.uniforms),vertexShader:bi.background.vertexShader,fragmentShader:bi.background.fragmentShader,side:Er,depthTest:!1,depthWrite:!1,fog:!1})),c.geometry.deleteAttribute("normal"),Object.defineProperty(c.material,"map",{get:function(){return this.uniforms.t2D.value}}),r.update(c)),c.material.uniforms.t2D.value=E,c.material.uniforms.backgroundIntensity.value=v.backgroundIntensity,c.material.toneMapped=at.getTransfer(E.colorSpace)!==St,E.matrixAutoUpdate===!0&&E.updateMatrix(),c.material.uniforms.uvTransform.value.copy(E.matrix),(f!==E||h!==E.version||d!==n.toneMapping)&&(c.material.needsUpdate=!0,f=E,h=E.version,d=n.toneMapping),c.layers.enableAll(),x.unshift(c,c.geometry,c.material,0,0,null))}function m(x,v){x.getRGB(Su,KS(n)),i.buffers.color.setClear(Su.r,Su.g,Su.b,v,o)}function y(){u!==void 0&&(u.geometry.dispose(),u.material.dispose(),u=void 0),c!==void 0&&(c.geometry.dispose(),c.material.dispose(),c=void 0)}return{getClearColor:function(){return a},setClearColor:function(x,v=1){a.set(x),l=v,m(a,l)},getClearAlpha:function(){return l},setClearAlpha:function(x){l=x,m(a,l)},render:_,addToRenderList:g,dispose:y}}function SO(n,e){const t=n.getParameter(n.MAX_VERTEX_ATTRIBS),i={},r=h(null);let s=r,o=!1;function a(S,D,B,H,$){let ee=!1;const Z=f(H,B,D);s!==Z&&(s=Z,c(s.object)),ee=d(S,H,B,$),ee&&p(S,H,B,$),$!==null&&e.update($,n.ELEMENT_ARRAY_BUFFER),(ee||o)&&(o=!1,v(S,D,B,H),$!==null&&n.bindBuffer(n.ELEMENT_ARRAY_BUFFER,e.get($).buffer))}function l(){return n.createVertexArray()}function c(S){return n.bindVertexArray(S)}function u(S){return n.deleteVertexArray(S)}function f(S,D,B){const H=B.wireframe===!0;let $=i[S.id];$===void 0&&($={},i[S.id]=$);let ee=$[D.id];ee===void 0&&(ee={},$[D.id]=ee);let Z=ee[H];return Z===void 0&&(Z=h(l()),ee[H]=Z),Z}function h(S){const D=[],B=[],H=[];for(let $=0;$=0){const ve=$[Q];let re=ee[Q];if(re===void 0&&(Q==="instanceMatrix"&&S.instanceMatrix&&(re=S.instanceMatrix),Q==="instanceColor"&&S.instanceColor&&(re=S.instanceColor)),ve===void 0||ve.attribute!==re||re&&ve.data!==re.data)return!0;Z++}return s.attributesNum!==Z||s.index!==H}function p(S,D,B,H){const $={},ee=D.attributes;let Z=0;const te=B.getAttributes();for(const Q in te)if(te[Q].location>=0){let ve=ee[Q];ve===void 0&&(Q==="instanceMatrix"&&S.instanceMatrix&&(ve=S.instanceMatrix),Q==="instanceColor"&&S.instanceColor&&(ve=S.instanceColor));const re={};re.attribute=ve,ve&&ve.data&&(re.data=ve.data),$[Q]=re,Z++}s.attributes=$,s.attributesNum=Z,s.index=H}function _(){const S=s.newAttributes;for(let D=0,B=S.length;D=0){let pe=$[te];if(pe===void 0&&(te==="instanceMatrix"&&S.instanceMatrix&&(pe=S.instanceMatrix),te==="instanceColor"&&S.instanceColor&&(pe=S.instanceColor)),pe!==void 0){const ve=pe.normalized,re=pe.itemSize,xe=e.get(pe);if(xe===void 0)continue;const ze=xe.buffer,se=xe.type,ge=xe.bytesPerElement,be=se===n.INT||se===n.UNSIGNED_INT||pe.gpuType===Sh;if(pe.isInterleavedBufferAttribute){const W=pe.data,ae=W.stride,ue=pe.offset;if(W.isInstancedInterleavedBuffer){for(let le=0;le0&&n.getShaderPrecisionFormat(n.FRAGMENT_SHADER,n.HIGH_FLOAT).precision>0)return"highp";M="mediump"}return M==="mediump"&&n.getShaderPrecisionFormat(n.VERTEX_SHADER,n.MEDIUM_FLOAT).precision>0&&n.getShaderPrecisionFormat(n.FRAGMENT_SHADER,n.MEDIUM_FLOAT).precision>0?"mediump":"lowp"}let c=t.precision!==void 0?t.precision:"highp";const u=l(c);u!==c&&(console.warn("THREE.WebGLRenderer:",c,"not supported, using",u,"instead."),c=u);const f=t.logarithmicDepthBuffer===!0,h=t.reverseDepthBuffer===!0&&e.has("EXT_clip_control"),d=n.getParameter(n.MAX_TEXTURE_IMAGE_UNITS),p=n.getParameter(n.MAX_VERTEX_TEXTURE_IMAGE_UNITS),_=n.getParameter(n.MAX_TEXTURE_SIZE),g=n.getParameter(n.MAX_CUBE_MAP_TEXTURE_SIZE),m=n.getParameter(n.MAX_VERTEX_ATTRIBS),y=n.getParameter(n.MAX_VERTEX_UNIFORM_VECTORS),x=n.getParameter(n.MAX_VARYING_VECTORS),v=n.getParameter(n.MAX_FRAGMENT_UNIFORM_VECTORS),E=p>0,T=n.getParameter(n.MAX_SAMPLES);return{isWebGL2:!0,getMaxAnisotropy:s,getMaxPrecision:l,textureFormatReadable:o,textureTypeReadable:a,precision:c,logarithmicDepthBuffer:f,reverseDepthBuffer:h,maxTextures:d,maxVertexTextures:p,maxTextureSize:_,maxCubemapSize:g,maxAttributes:m,maxVertexUniforms:y,maxVaryings:x,maxFragmentUniforms:v,vertexTextures:E,maxSamples:T}}function TO(n){const e=this;let t=null,i=0,r=!1,s=!1;const o=new Yr,a=new et,l={value:null,needsUpdate:!1};this.uniform=l,this.numPlanes=0,this.numIntersection=0,this.init=function(f,h){const d=f.length!==0||h||i!==0||r;return r=h,i=f.length,d},this.beginShadows=function(){s=!0,u(null)},this.endShadows=function(){s=!1},this.setGlobalState=function(f,h){t=u(f,h,0)},this.setState=function(f,h,d){const p=f.clippingPlanes,_=f.clipIntersection,g=f.clipShadows,m=n.get(f);if(!r||p===null||p.length===0||s&&!g)s?u(null):c();else{const y=s?0:i,x=y*4;let v=m.clippingState||null;l.value=v,v=u(p,h,x,d);for(let E=0;E!==x;++E)v[E]=t[E];m.clippingState=v,this.numIntersection=_?this.numPlanes:0,this.numPlanes+=y}};function c(){l.value!==t&&(l.value=t,l.needsUpdate=i>0),e.numPlanes=i,e.numIntersection=0}function u(f,h,d,p){const _=f!==null?f.length:0;let g=null;if(_!==0){if(g=l.value,p!==!0||g===null){const m=d+_*4,y=h.matrixWorldInverse;a.getNormalMatrix(y),(g===null||g.length0){const c=new QS(l.height);return c.fromEquirectangularTexture(n,o),e.set(o,c),o.addEventListener("dispose",r),t(c.texture,o.mapping)}else return null}}return o}function r(o){const a=o.target;a.removeEventListener("dispose",r);const l=e.get(a);l!==void 0&&(e.delete(a),l.dispose())}function s(){e=new WeakMap}return{get:i,dispose:s}}const jo=4,I0=[.125,.215,.35,.446,.526,.582],Xs=20,ap=new Jh,L0=new we;let lp=null,cp=0,up=0,fp=!1;const Hs=(1+Math.sqrt(5))/2,ko=1/Hs,D0=[new F(-Hs,ko,0),new F(Hs,ko,0),new F(-ko,0,Hs),new F(ko,0,Hs),new F(0,Hs,-ko),new F(0,Hs,ko),new F(-1,1,-1),new F(1,1,-1),new F(-1,1,1),new F(1,1,1)],AO=new F;class am{constructor(e){this._renderer=e,this._pingPongRenderTarget=null,this._lodMax=0,this._cubeSize=0,this._lodPlanes=[],this._sizeLods=[],this._sigmas=[],this._blurMaterial=null,this._cubemapMaterial=null,this._equirectMaterial=null,this._compileMaterial(this._blurMaterial)}fromScene(e,t=0,i=.1,r=100,s={}){const{size:o=256,position:a=AO}=s;lp=this._renderer.getRenderTarget(),cp=this._renderer.getActiveCubeFace(),up=this._renderer.getActiveMipmapLevel(),fp=this._renderer.xr.enabled,this._renderer.xr.enabled=!1,this._setSize(o);const l=this._allocateTargets();return l.depthBuffer=!0,this._sceneToCubeUV(e,i,r,l,a),t>0&&this._blur(l,0,0,t),this._applyPMREM(l),this._cleanup(l),l}fromEquirectangular(e,t=null){return this._fromTexture(e,t)}fromCubemap(e,t=null){return this._fromTexture(e,t)}compileCubemapShader(){this._cubemapMaterial===null&&(this._cubemapMaterial=U0(),this._compileMaterial(this._cubemapMaterial))}compileEquirectangularShader(){this._equirectMaterial===null&&(this._equirectMaterial=N0(),this._compileMaterial(this._equirectMaterial))}dispose(){this._dispose(),this._cubemapMaterial!==null&&this._cubemapMaterial.dispose(),this._equirectMaterial!==null&&this._equirectMaterial.dispose()}_setSize(e){this._lodMax=Math.floor(Math.log2(e)),this._cubeSize=Math.pow(2,this._lodMax)}_dispose(){this._blurMaterial!==null&&this._blurMaterial.dispose(),this._pingPongRenderTarget!==null&&this._pingPongRenderTarget.dispose();for(let e=0;e2?v:0,v,v),f.setRenderTarget(r),g&&f.render(_,l),f.render(e,l)}_.geometry.dispose(),_.material.dispose(),f.toneMapping=d,f.autoClear=h,e.background=m}_textureToCubeUV(e,t){const i=this._renderer,r=e.mapping===Tr||e.mapping===rs;r?(this._cubemapMaterial===null&&(this._cubemapMaterial=U0()),this._cubemapMaterial.uniforms.flipEnvMap.value=e.isRenderTargetTexture===!1?-1:1):this._equirectMaterial===null&&(this._equirectMaterial=N0());const s=r?this._cubemapMaterial:this._equirectMaterial,o=new Ht(this._lodPlanes[0],s),a=s.uniforms;a.envMap.value=e;const l=this._cubeSize;Mu(t,0,0,3*l,2*l),i.setRenderTarget(t),i.render(o,ap)}_applyPMREM(e){const t=this._renderer,i=t.autoClear;t.autoClear=!1;const r=this._lodPlanes.length;for(let s=1;sXs&&console.warn(`sigmaRadians, ${s}, is too large and will clip, as it requested ${g} samples when the maximum is set to ${Xs}`);const m=[];let y=0;for(let M=0;Mx-jo?r-x+jo:0),T=4*(this._cubeSize-v);Mu(t,E,T,3*v,2*v),l.setRenderTarget(t),l.render(f,ap)}}function CO(n){const e=[],t=[],i=[];let r=n;const s=n-jo+1+I0.length;for(let o=0;on-jo?l=I0[o-n+jo-1]:o===0&&(l=0),i.push(l);const c=1/(a-2),u=-c,f=1+c,h=[u,u,f,u,f,f,u,u,f,f,u,f],d=6,p=6,_=3,g=2,m=1,y=new Float32Array(_*p*d),x=new Float32Array(g*p*d),v=new Float32Array(m*p*d);for(let T=0;T2?0:-1,b=[M,P,0,M+2/3,P,0,M+2/3,P+1,0,M,P,0,M+2/3,P+1,0,M,P+1,0];y.set(b,_*p*T),x.set(h,g*p*T);const S=[T,T,T,T,T,T];v.set(S,m*p*T)}const E=new st;E.setAttribute("position",new Et(y,_)),E.setAttribute("uv",new Et(x,g)),E.setAttribute("faceIndex",new Et(v,m)),e.push(E),r>jo&&r--}return{lodPlanes:e,sizeLods:t,sigmas:i}}function O0(n,e,t){const i=new Yi(n,e,t);return i.texture.mapping=_a,i.texture.name="PMREM.cubeUv",i.scissorTest=!0,i}function Mu(n,e,t,i,r){n.viewport.set(e,t,i,r),n.scissor.set(e,t,i,r)}function RO(n,e,t){const i=new Float32Array(Xs),r=new F(0,1,0);return new Ri({name:"SphericalGaussianBlur",defines:{n:Xs,CUBEUV_TEXEL_WIDTH:1/e,CUBEUV_TEXEL_HEIGHT:1/t,CUBEUV_MAX_MIP:`${n}.0`},uniforms:{envMap:{value:null},samples:{value:1},weights:{value:i},latitudinal:{value:!1},dTheta:{value:0},mipInt:{value:0},poleAxis:{value:r}},vertexShader:Qg(),fragmentShader:` precision mediump float; precision mediump int; @@ -3738,9 +3738,9 @@ void main() { gl_Position = vec4( position, 1.0 ); } - `}function PO(n){let e=new WeakMap,t=null;function i(a){if(a&&a.isTexture){const l=a.mapping,c=l===Pl||l===Il,u=l===Tr||l===rs;if(c||u){let f=e.get(a);const h=f!==void 0?f.texture.pmremVersion:0;if(a.isRenderTargetTexture&&a.pmremVersion!==h)return t===null&&(t=new am(n)),f=c?t.fromEquirectangular(a,f):t.fromCubemap(a,f),f.texture.pmremVersion=a.pmremVersion,e.set(a,f),f.texture;if(f!==void 0)return f.texture;{const d=a.image;return c&&d&&d.height>0||u&&d&&r(d)?(t===null&&(t=new am(n)),f=c?t.fromEquirectangular(a):t.fromCubemap(a),f.texture.pmremVersion=a.pmremVersion,e.set(a,f),a.addEventListener("dispose",s),f.texture):null}}}return a}function r(a){let l=0;const c=6;for(let u=0;ue.maxTextureSize&&(E=Math.ceil(v/e.maxTextureSize),v=e.maxTextureSize);const T=new Float32Array(v*E*4*f),M=new hc(T,v,E,f);M.type=Hn,M.needsUpdate=!0;const P=x*4;for(let S=0;S0)return n;const r=e*t;let s=B0[r];if(s===void 0&&(s=new Float32Array(r),B0[r]=s),e!==0){i.toArray(s,0);for(let o=1,a=0;o!==e;++o)a+=t,n[o].toArray(s,a)}return s}function Jt(n,e){if(n.length!==e.length)return!1;for(let t=0,i=n.length;t0||u&&d&&r(d)?(t===null&&(t=new am(n)),f=c?t.fromEquirectangular(a):t.fromCubemap(a),f.texture.pmremVersion=a.pmremVersion,e.set(a,f),a.addEventListener("dispose",s),f.texture):null}}}return a}function r(a){let l=0;const c=6;for(let u=0;ue.maxTextureSize&&(E=Math.ceil(v/e.maxTextureSize),v=e.maxTextureSize);const T=new Float32Array(v*E*4*f),M=new hc(T,v,E,f);M.type=Hn,M.needsUpdate=!0;const P=x*4;for(let S=0;S0)return n;const r=e*t;let s=B0[r];if(s===void 0&&(s=new Float32Array(r),B0[r]=s),e!==0){i.toArray(s,0);for(let o=1,a=0;o!==e;++o)a+=t,n[o].toArray(s,a)}return s}function Jt(n,e){if(n.length!==e.length)return!1;for(let t=0,i=n.length;t":" "} ${a}: ${t[o]}`)}return i.join(` -`)}const X0=new et;function P2(n){at._getMatrix(X0,at.workingColorSpace,n);const e=`mat3( ${X0.elements.map(t=>t.toFixed(4))} )`;switch(at.getTransfer(n)){case Ul:return[e,"LinearTransferOETF"];case bt:return[e,"sRGBTransferOETF"];default:return console.warn("THREE.WebGLProgram: Unsupported color space: ",n),[e,"LinearTransferOETF"]}}function $0(n,e,t){const i=n.getShaderParameter(e,n.COMPILE_STATUS),r=n.getShaderInfoLog(e).trim();if(i&&r==="")return"";const s=/ERROR: 0:(\d+)/.exec(r);if(s){const o=parseInt(s[1]);return t.toUpperCase()+` +`)}const X0=new et;function P2(n){at._getMatrix(X0,at.workingColorSpace,n);const e=`mat3( ${X0.elements.map(t=>t.toFixed(4))} )`;switch(at.getTransfer(n)){case Ul:return[e,"LinearTransferOETF"];case St:return[e,"sRGBTransferOETF"];default:return console.warn("THREE.WebGLProgram: Unsupported color space: ",n),[e,"LinearTransferOETF"]}}function $0(n,e,t){const i=n.getShaderParameter(e,n.COMPILE_STATUS),r=n.getShaderInfoLog(e).trim();if(i&&r==="")return"";const s=/ERROR: 0:(\d+)/.exec(r);if(s){const o=parseInt(s[1]);return t.toUpperCase()+` `+r+` @@ -3748,7 +3748,7 @@ void main() { `)}function L2(n,e){let t;switch(e){case wS:t="Linear";break;case AS:t="Reinhard";break;case CS:t="Cineon";break;case xh:t="ACESFilmic";break;case PS:t="AgX";break;case IS:t="Neutral";break;case RS:t="Custom";break;default:console.warn("THREE.WebGLProgram: Unsupported toneMapping:",e),t="Linear"}return"vec3 "+n+"( vec3 color ) { return "+t+"ToneMapping( color ); }"}const Eu=new F;function D2(){at.getLuminanceCoefficients(Eu);const n=Eu.x.toFixed(4),e=Eu.y.toFixed(4),t=Eu.z.toFixed(4);return["float luminance( const in vec3 rgb ) {",` const vec3 weights = vec3( ${n}, ${e}, ${t} );`," return dot( weights, rgb );","}"].join(` `)}function O2(n){return[n.extensionClipCullDistance?"#extension GL_ANGLE_clip_cull_distance : require":"",n.extensionMultiDraw?"#extension GL_ANGLE_multi_draw : require":""].filter($a).join(` `)}function N2(n){const e=[];for(const t in n){const i=n[t];i!==!1&&e.push("#define "+t+" "+i)}return e.join(` -`)}function U2(n,e){const t={},i=n.getProgramParameter(e,n.ACTIVE_ATTRIBUTES);for(let r=0;r/gm;function lm(n){return n.replace(F2,k2)}const B2=new Map;function k2(n,e){let t=rt[e];if(t===void 0){const i=B2.get(e);if(i!==void 0)t=rt[i],console.warn('THREE.WebGLRenderer: Shader chunk "%s" has been deprecated. Use "%s" instead.',e,i);else throw new Error("Can not resolve #include <"+e+">")}return lm(t)}const z2=/#pragma unroll_loop_start\s+for\s*\(\s*int\s+i\s*=\s*(\d+)\s*;\s*i\s*<\s*(\d+)\s*;\s*i\s*\+\+\s*\)\s*{([\s\S]+?)}\s+#pragma unroll_loop_end/g;function j0(n){return n.replace(z2,V2)}function V2(n,e,t,i){let r="";for(let s=parseInt(e);s/gm;function lm(n){return n.replace(F2,k2)}const B2=new Map;function k2(n,e){let t=rt[e];if(t===void 0){const i=B2.get(e);if(i!==void 0)t=rt[i],console.warn('THREE.WebGLRenderer: Shader chunk "%s" has been deprecated. Use "%s" instead.',e,i);else throw new Error("Can not resolve #include <"+e+">")}return lm(t)}const V2=/#pragma unroll_loop_start\s+for\s*\(\s*int\s+i\s*=\s*(\d+)\s*;\s*i\s*<\s*(\d+)\s*;\s*i\s*\+\+\s*\)\s*{([\s\S]+?)}\s+#pragma unroll_loop_end/g;function j0(n){return n.replace(V2,z2)}function z2(n,e,t,i){let r="";for(let s=parseInt(e);s0,k=b.clearcoat>0,U=b.dispersion>0,V=b.iridescence>0,Y=b.sheen>0,he=b.transmission>0,ce=C&&!!b.anisotropyMap,ye=k&&!!b.clearcoatMap,Fe=k&&!!b.clearcoatNormalMap,me=k&&!!b.clearcoatRoughnessMap,Te=V&&!!b.iridescenceMap,ke=V&&!!b.iridescenceThicknessMap,We=Y&&!!b.sheenColorMap,Me=Y&&!!b.sheenRoughnessMap,Ye=!!b.specularMap,Qe=!!b.specularColorMap,At=!!b.specularIntensityMap,X=he&&!!b.transmissionMap,Ae=he&&!!b.thicknessMap,oe=!!b.gradientMap,de=!!b.alphaMap,Pe=b.alphaTest>0,Re=!!b.alphaHash,nt=!!b.extensions;let Ut=Hi;b.toneMapped&&(W===null||W.isXRRenderTarget===!0)&&(Ut=n.toneMapping);const un={shaderID:pe,shaderType:b.type,shaderName:b.name,vertexShader:Ve,fragmentShader:se,defines:b.defines,customVertexShaderID:ge,customFragmentShaderID:be,isRawShaderMaterial:b.isRawShaderMaterial===!0,glslVersion:b.glslVersion,precision:d,batching:le,batchingColor:le&&H._colorsTexture!==null,instancing:ue,instancingColor:ue&&H.instanceColor!==null,instancingMorph:ue&&H.morphTexture!==null,supportsVertexTextures:h,outputColorSpace:W===null?n.outputColorSpace:W.isXRRenderTarget===!0?W.texture.colorSpace:uo,alphaToCoverage:!!b.alphaToCoverage,map:Oe,matcap:I,envMap:L,envMapMode:L&&te.mapping,envMapCubeUVHeight:Q,aoMap:w,lightMap:j,bumpMap:G,normalMap:q,displacementMap:h&&R,emissiveMap:N,normalMapObjectSpace:q&&b.normalMapType===BS,normalMapTangentSpace:q&&b.normalMapType===fs,metalnessMap:z,roughnessMap:A,anisotropy:C,anisotropyMap:ce,clearcoat:k,clearcoatMap:ye,clearcoatNormalMap:Fe,clearcoatRoughnessMap:me,dispersion:U,iridescence:V,iridescenceMap:Te,iridescenceThicknessMap:ke,sheen:Y,sheenColorMap:We,sheenRoughnessMap:Me,specularMap:Ye,specularColorMap:Qe,specularIntensityMap:At,transmission:he,transmissionMap:X,thicknessMap:Ae,gradientMap:oe,opaque:b.transparent===!1&&b.blending===eo&&b.alphaToCoverage===!1,alphaMap:de,alphaTest:Pe,alphaHash:Re,combine:b.combine,mapUv:Oe&&_(b.map.channel),aoMapUv:w&&_(b.aoMap.channel),lightMapUv:j&&_(b.lightMap.channel),bumpMapUv:G&&_(b.bumpMap.channel),normalMapUv:q&&_(b.normalMap.channel),displacementMapUv:R&&_(b.displacementMap.channel),emissiveMapUv:N&&_(b.emissiveMap.channel),metalnessMapUv:z&&_(b.metalnessMap.channel),roughnessMapUv:A&&_(b.roughnessMap.channel),anisotropyMapUv:ce&&_(b.anisotropyMap.channel),clearcoatMapUv:ye&&_(b.clearcoatMap.channel),clearcoatNormalMapUv:Fe&&_(b.clearcoatNormalMap.channel),clearcoatRoughnessMapUv:me&&_(b.clearcoatRoughnessMap.channel),iridescenceMapUv:Te&&_(b.iridescenceMap.channel),iridescenceThicknessMapUv:ke&&_(b.iridescenceThicknessMap.channel),sheenColorMapUv:We&&_(b.sheenColorMap.channel),sheenRoughnessMapUv:Me&&_(b.sheenRoughnessMap.channel),specularMapUv:Ye&&_(b.specularMap.channel),specularColorMapUv:Qe&&_(b.specularColorMap.channel),specularIntensityMapUv:At&&_(b.specularIntensityMap.channel),transmissionMapUv:X&&_(b.transmissionMap.channel),thicknessMapUv:Ae&&_(b.thicknessMap.channel),alphaMapUv:de&&_(b.alphaMap.channel),vertexTangents:!!ee.attributes.tangent&&(q||C),vertexColors:b.vertexColors,vertexAlphas:b.vertexColors===!0&&!!ee.attributes.color&&ee.attributes.color.itemSize===4,pointsUvs:H.isPoints===!0&&!!ee.attributes.uv&&(Oe||de),fog:!!$,useFog:b.fog===!0,fogExp2:!!$&&$.isFogExp2,flatShading:b.flatShading===!0,sizeAttenuation:b.sizeAttenuation===!0,logarithmicDepthBuffer:f,reverseDepthBuffer:ae,skinning:H.isSkinnedMesh===!0,morphTargets:ee.morphAttributes.position!==void 0,morphNormals:ee.morphAttributes.normal!==void 0,morphColors:ee.morphAttributes.color!==void 0,morphTargetsCount:re,morphTextureStride:xe,numDirLights:S.directional.length,numPointLights:S.point.length,numSpotLights:S.spot.length,numSpotLightMaps:S.spotLightMap.length,numRectAreaLights:S.rectArea.length,numHemiLights:S.hemi.length,numDirLightShadows:S.directionalShadowMap.length,numPointLightShadows:S.pointShadowMap.length,numSpotLightShadows:S.spotShadowMap.length,numSpotLightShadowsWithMaps:S.numSpotLightShadowsWithMaps,numLightProbes:S.numLightProbes,numClippingPlanes:o.numPlanes,numClipIntersection:o.numIntersection,dithering:b.dithering,shadowMapEnabled:n.shadowMap.enabled&&D.length>0,shadowMapType:n.shadowMap.type,toneMapping:Ut,decodeVideoTexture:Oe&&b.map.isVideoTexture===!0&&at.getTransfer(b.map.colorSpace)===bt,decodeVideoTextureEmissive:N&&b.emissiveMap.isVideoTexture===!0&&at.getTransfer(b.emissiveMap.colorSpace)===bt,premultipliedAlpha:b.premultipliedAlpha,doubleSided:b.side===Si,flipSided:b.side===Dn,useDepthPacking:b.depthPacking>=0,depthPacking:b.depthPacking||0,index0AttributeName:b.index0AttributeName,extensionClipCullDistance:nt&&b.extensions.clipCullDistance===!0&&i.has("WEBGL_clip_cull_distance"),extensionMultiDraw:(nt&&b.extensions.multiDraw===!0||le)&&i.has("WEBGL_multi_draw"),rendererExtensionParallelShaderCompile:i.has("KHR_parallel_shader_compile"),customProgramCacheKey:b.customProgramCacheKey()};return un.vertexUv1s=c.has(1),un.vertexUv2s=c.has(2),un.vertexUv3s=c.has(3),c.clear(),un}function m(b){const S=[];if(b.shaderID?S.push(b.shaderID):(S.push(b.customVertexShaderID),S.push(b.customFragmentShaderID)),b.defines!==void 0)for(const D in b.defines)S.push(D),S.push(b.defines[D]);return b.isRawShaderMaterial===!1&&(y(S,b),x(S,b),S.push(n.outputColorSpace)),S.push(b.customProgramCacheKey),S.join()}function y(b,S){b.push(S.precision),b.push(S.outputColorSpace),b.push(S.envMapMode),b.push(S.envMapCubeUVHeight),b.push(S.mapUv),b.push(S.alphaMapUv),b.push(S.lightMapUv),b.push(S.aoMapUv),b.push(S.bumpMapUv),b.push(S.normalMapUv),b.push(S.displacementMapUv),b.push(S.emissiveMapUv),b.push(S.metalnessMapUv),b.push(S.roughnessMapUv),b.push(S.anisotropyMapUv),b.push(S.clearcoatMapUv),b.push(S.clearcoatNormalMapUv),b.push(S.clearcoatRoughnessMapUv),b.push(S.iridescenceMapUv),b.push(S.iridescenceThicknessMapUv),b.push(S.sheenColorMapUv),b.push(S.sheenRoughnessMapUv),b.push(S.specularMapUv),b.push(S.specularColorMapUv),b.push(S.specularIntensityMapUv),b.push(S.transmissionMapUv),b.push(S.thicknessMapUv),b.push(S.combine),b.push(S.fogExp2),b.push(S.sizeAttenuation),b.push(S.morphTargetsCount),b.push(S.morphAttributeCount),b.push(S.numDirLights),b.push(S.numPointLights),b.push(S.numSpotLights),b.push(S.numSpotLightMaps),b.push(S.numHemiLights),b.push(S.numRectAreaLights),b.push(S.numDirLightShadows),b.push(S.numPointLightShadows),b.push(S.numSpotLightShadows),b.push(S.numSpotLightShadowsWithMaps),b.push(S.numLightProbes),b.push(S.shadowMapType),b.push(S.toneMapping),b.push(S.numClippingPlanes),b.push(S.numClipIntersection),b.push(S.depthPacking)}function x(b,S){a.disableAll(),S.supportsVertexTextures&&a.enable(0),S.instancing&&a.enable(1),S.instancingColor&&a.enable(2),S.instancingMorph&&a.enable(3),S.matcap&&a.enable(4),S.envMap&&a.enable(5),S.normalMapObjectSpace&&a.enable(6),S.normalMapTangentSpace&&a.enable(7),S.clearcoat&&a.enable(8),S.iridescence&&a.enable(9),S.alphaTest&&a.enable(10),S.vertexColors&&a.enable(11),S.vertexAlphas&&a.enable(12),S.vertexUv1s&&a.enable(13),S.vertexUv2s&&a.enable(14),S.vertexUv3s&&a.enable(15),S.vertexTangents&&a.enable(16),S.anisotropy&&a.enable(17),S.alphaHash&&a.enable(18),S.batching&&a.enable(19),S.dispersion&&a.enable(20),S.batchingColor&&a.enable(21),b.push(a.mask),a.disableAll(),S.fog&&a.enable(0),S.useFog&&a.enable(1),S.flatShading&&a.enable(2),S.logarithmicDepthBuffer&&a.enable(3),S.reverseDepthBuffer&&a.enable(4),S.skinning&&a.enable(5),S.morphTargets&&a.enable(6),S.morphNormals&&a.enable(7),S.morphColors&&a.enable(8),S.premultipliedAlpha&&a.enable(9),S.shadowMapEnabled&&a.enable(10),S.doubleSided&&a.enable(11),S.flipSided&&a.enable(12),S.useDepthPacking&&a.enable(13),S.dithering&&a.enable(14),S.transmission&&a.enable(15),S.sheen&&a.enable(16),S.opaque&&a.enable(17),S.pointsUvs&&a.enable(18),S.decodeVideoTexture&&a.enable(19),S.decodeVideoTextureEmissive&&a.enable(20),S.alphaToCoverage&&a.enable(21),b.push(a.mask)}function v(b){const S=p[b.type];let D;if(S){const B=bi[S];D=ZS.clone(B.uniforms)}else D=b.uniforms;return D}function E(b,S){let D;for(let B=0,H=u.length;B0?i.push(m):d.transparent===!0?r.push(m):t.push(m)}function l(f,h,d,p,_,g){const m=o(f,h,d,p,_,g);d.transmission>0?i.unshift(m):d.transparent===!0?r.unshift(m):t.unshift(m)}function c(f,h){t.length>1&&t.sort(f||Q2),i.length>1&&i.sort(h||Z0),r.length>1&&r.sort(h||Z0)}function u(){for(let f=e,h=n.length;f=s.length?(o=new J0,s.push(o)):o=s[r],o}function t(){n=new WeakMap}return{get:e,dispose:t}}function tN(){const n={};return{get:function(e){if(n[e.id]!==void 0)return n[e.id];let t;switch(e.type){case"DirectionalLight":t={direction:new F,color:new we};break;case"SpotLight":t={position:new F,direction:new F,color:new we,distance:0,coneCos:0,penumbraCos:0,decay:0};break;case"PointLight":t={position:new F,color:new we,distance:0,decay:0};break;case"HemisphereLight":t={direction:new F,skyColor:new we,groundColor:new we};break;case"RectAreaLight":t={color:new we,position:new F,halfWidth:new F,halfHeight:new F};break}return n[e.id]=t,t}}}function nN(){const n={};return{get:function(e){if(n[e.id]!==void 0)return n[e.id];let t;switch(e.type){case"DirectionalLight":t={shadowIntensity:1,shadowBias:0,shadowNormalBias:0,shadowRadius:1,shadowMapSize:new fe};break;case"SpotLight":t={shadowIntensity:1,shadowBias:0,shadowNormalBias:0,shadowRadius:1,shadowMapSize:new fe};break;case"PointLight":t={shadowIntensity:1,shadowBias:0,shadowNormalBias:0,shadowRadius:1,shadowMapSize:new fe,shadowCameraNear:1,shadowCameraFar:1e3};break}return n[e.id]=t,t}}}let iN=0;function rN(n,e){return(e.castShadow?2:0)-(n.castShadow?2:0)+(e.map?1:0)-(n.map?1:0)}function sN(n){const e=new tN,t=nN(),i={version:0,hash:{directionalLength:-1,pointLength:-1,spotLength:-1,rectAreaLength:-1,hemiLength:-1,numDirectionalShadows:-1,numPointShadows:-1,numSpotShadows:-1,numSpotMaps:-1,numLightProbes:-1},ambient:[0,0,0],probe:[],directional:[],directionalShadow:[],directionalShadowMap:[],directionalShadowMatrix:[],spot:[],spotLightMap:[],spotShadow:[],spotShadowMap:[],spotLightMatrix:[],rectArea:[],rectAreaLTC1:null,rectAreaLTC2:null,point:[],pointShadow:[],pointShadowMap:[],pointShadowMatrix:[],hemi:[],numSpotLightShadowsWithMaps:0,numLightProbes:0};for(let c=0;c<9;c++)i.probe.push(new F);const r=new F,s=new Xe,o=new Xe;function a(c){let u=0,f=0,h=0;for(let b=0;b<9;b++)i.probe[b].set(0,0,0);let d=0,p=0,_=0,g=0,m=0,y=0,x=0,v=0,E=0,T=0,M=0;c.sort(rN);for(let b=0,S=c.length;b0&&(n.has("OES_texture_float_linear")===!0?(i.rectAreaLTC1=Ee.LTC_FLOAT_1,i.rectAreaLTC2=Ee.LTC_FLOAT_2):(i.rectAreaLTC1=Ee.LTC_HALF_1,i.rectAreaLTC2=Ee.LTC_HALF_2)),i.ambient[0]=u,i.ambient[1]=f,i.ambient[2]=h;const P=i.hash;(P.directionalLength!==d||P.pointLength!==p||P.spotLength!==_||P.rectAreaLength!==g||P.hemiLength!==m||P.numDirectionalShadows!==y||P.numPointShadows!==x||P.numSpotShadows!==v||P.numSpotMaps!==E||P.numLightProbes!==M)&&(i.directional.length=d,i.spot.length=_,i.rectArea.length=g,i.point.length=p,i.hemi.length=m,i.directionalShadow.length=y,i.directionalShadowMap.length=y,i.pointShadow.length=x,i.pointShadowMap.length=x,i.spotShadow.length=v,i.spotShadowMap.length=v,i.directionalShadowMatrix.length=y,i.pointShadowMatrix.length=x,i.spotLightMatrix.length=v+E-T,i.spotLightMap.length=E,i.numSpotLightShadowsWithMaps=T,i.numLightProbes=M,P.directionalLength=d,P.pointLength=p,P.spotLength=_,P.rectAreaLength=g,P.hemiLength=m,P.numDirectionalShadows=y,P.numPointShadows=x,P.numSpotShadows=v,P.numSpotMaps=E,P.numLightProbes=M,i.version=iN++)}function l(c,u){let f=0,h=0,d=0,p=0,_=0;const g=u.matrixWorldInverse;for(let m=0,y=c.length;m=o.length?(a=new Q0(n),o.push(a)):a=o[s],a}function i(){e=new WeakMap}return{get:t,dispose:i}}const aN=`void main() { +`+Q)}else B!==""?console.warn("THREE.WebGLProgram: Program Info Log:",B):(H===""||$==="")&&(Z=!1);Z&&(D.diagnostics={runnable:ee,programLog:B,vertexShader:{log:H,prefix:g},fragmentShader:{log:$,prefix:m}})}r.deleteShader(E),r.deleteShader(T),P=new Xu(r,_),b=U2(r,_)}let P;this.getUniforms=function(){return P===void 0&&M(this),P};let b;this.getAttributes=function(){return b===void 0&&M(this),b};let S=t.rendererExtensionParallelShaderCompile===!1;return this.isReady=function(){return S===!1&&(S=r.getProgramParameter(_,A2)),S},this.destroy=function(){i.releaseStatesOfProgram(this),r.deleteProgram(_),this.program=void 0},this.type=t.shaderType,this.name=t.shaderName,this.id=C2++,this.cacheKey=e,this.usedTimes=1,this.program=_,this.vertexShader=E,this.fragmentShader=T,this}let Y2=0;class j2{constructor(){this.shaderCache=new Map,this.materialCache=new Map}update(e){const t=e.vertexShader,i=e.fragmentShader,r=this._getShaderStage(t),s=this._getShaderStage(i),o=this._getShaderCacheForMaterial(e);return o.has(r)===!1&&(o.add(r),r.usedTimes++),o.has(s)===!1&&(o.add(s),s.usedTimes++),this}remove(e){const t=this.materialCache.get(e);for(const i of t)i.usedTimes--,i.usedTimes===0&&this.shaderCache.delete(i.code);return this.materialCache.delete(e),this}getVertexShaderID(e){return this._getShaderStage(e.vertexShader).id}getFragmentShaderID(e){return this._getShaderStage(e.fragmentShader).id}dispose(){this.shaderCache.clear(),this.materialCache.clear()}_getShaderCacheForMaterial(e){const t=this.materialCache;let i=t.get(e);return i===void 0&&(i=new Set,t.set(e,i)),i}_getShaderStage(e){const t=this.shaderCache;let i=t.get(e);return i===void 0&&(i=new K2(e),t.set(e,i)),i}}class K2{constructor(e){this.id=Y2++,this.code=e,this.usedTimes=0}}function Z2(n,e,t,i,r,s,o){const a=new Ih,l=new j2,c=new Set,u=[],f=r.logarithmicDepthBuffer,h=r.vertexTextures;let d=r.precision;const p={MeshDepthMaterial:"depth",MeshDistanceMaterial:"distanceRGBA",MeshNormalMaterial:"normal",MeshBasicMaterial:"basic",MeshLambertMaterial:"lambert",MeshPhongMaterial:"phong",MeshToonMaterial:"toon",MeshStandardMaterial:"physical",MeshPhysicalMaterial:"physical",MeshMatcapMaterial:"matcap",LineBasicMaterial:"basic",LineDashedMaterial:"dashed",PointsMaterial:"points",ShadowMaterial:"shadow",SpriteMaterial:"sprite"};function _(b){return c.add(b),b===0?"uv":`uv${b}`}function g(b,S,D,B,H){const $=B.fog,ee=H.geometry,Z=b.isMeshStandardMaterial?B.environment:null,te=(b.isMeshStandardMaterial?t:e).get(b.envMap||Z),Q=te&&te.mapping===_a?te.image.height:null,pe=p[b.type];b.precision!==null&&(d=r.getMaxPrecision(b.precision),d!==b.precision&&console.warn("THREE.WebGLProgram.getParameters:",b.precision,"not supported, using",d,"instead."));const ve=ee.morphAttributes.position||ee.morphAttributes.normal||ee.morphAttributes.color,re=ve!==void 0?ve.length:0;let xe=0;ee.morphAttributes.position!==void 0&&(xe=1),ee.morphAttributes.normal!==void 0&&(xe=2),ee.morphAttributes.color!==void 0&&(xe=3);let ze,se,ge,be;if(pe){const bt=bi[pe];ze=bt.vertexShader,se=bt.fragmentShader}else ze=b.vertexShader,se=b.fragmentShader,l.update(b),ge=l.getVertexShaderID(b),be=l.getFragmentShaderID(b);const W=n.getRenderTarget(),ae=n.state.buffers.depth.getReversed(),ue=H.isInstancedMesh===!0,le=H.isBatchedMesh===!0,Oe=!!b.map,I=!!b.matcap,L=!!te,w=!!b.aoMap,j=!!b.lightMap,G=!!b.bumpMap,q=!!b.normalMap,R=!!b.displacementMap,N=!!b.emissiveMap,V=!!b.metalnessMap,A=!!b.roughnessMap,C=b.anisotropy>0,k=b.clearcoat>0,U=b.dispersion>0,z=b.iridescence>0,Y=b.sheen>0,he=b.transmission>0,ce=C&&!!b.anisotropyMap,ye=k&&!!b.clearcoatMap,Fe=k&&!!b.clearcoatNormalMap,me=k&&!!b.clearcoatRoughnessMap,Te=z&&!!b.iridescenceMap,ke=z&&!!b.iridescenceThicknessMap,We=Y&&!!b.sheenColorMap,Me=Y&&!!b.sheenRoughnessMap,qe=!!b.specularMap,Qe=!!b.specularColorMap,Ct=!!b.specularIntensityMap,X=he&&!!b.transmissionMap,Ae=he&&!!b.thicknessMap,oe=!!b.gradientMap,de=!!b.alphaMap,Pe=b.alphaTest>0,Re=!!b.alphaHash,nt=!!b.extensions;let Ft=Hi;b.toneMapped&&(W===null||W.isXRRenderTarget===!0)&&(Ft=n.toneMapping);const un={shaderID:pe,shaderType:b.type,shaderName:b.name,vertexShader:ze,fragmentShader:se,defines:b.defines,customVertexShaderID:ge,customFragmentShaderID:be,isRawShaderMaterial:b.isRawShaderMaterial===!0,glslVersion:b.glslVersion,precision:d,batching:le,batchingColor:le&&H._colorsTexture!==null,instancing:ue,instancingColor:ue&&H.instanceColor!==null,instancingMorph:ue&&H.morphTexture!==null,supportsVertexTextures:h,outputColorSpace:W===null?n.outputColorSpace:W.isXRRenderTarget===!0?W.texture.colorSpace:uo,alphaToCoverage:!!b.alphaToCoverage,map:Oe,matcap:I,envMap:L,envMapMode:L&&te.mapping,envMapCubeUVHeight:Q,aoMap:w,lightMap:j,bumpMap:G,normalMap:q,displacementMap:h&&R,emissiveMap:N,normalMapObjectSpace:q&&b.normalMapType===BS,normalMapTangentSpace:q&&b.normalMapType===fs,metalnessMap:V,roughnessMap:A,anisotropy:C,anisotropyMap:ce,clearcoat:k,clearcoatMap:ye,clearcoatNormalMap:Fe,clearcoatRoughnessMap:me,dispersion:U,iridescence:z,iridescenceMap:Te,iridescenceThicknessMap:ke,sheen:Y,sheenColorMap:We,sheenRoughnessMap:Me,specularMap:qe,specularColorMap:Qe,specularIntensityMap:Ct,transmission:he,transmissionMap:X,thicknessMap:Ae,gradientMap:oe,opaque:b.transparent===!1&&b.blending===eo&&b.alphaToCoverage===!1,alphaMap:de,alphaTest:Pe,alphaHash:Re,combine:b.combine,mapUv:Oe&&_(b.map.channel),aoMapUv:w&&_(b.aoMap.channel),lightMapUv:j&&_(b.lightMap.channel),bumpMapUv:G&&_(b.bumpMap.channel),normalMapUv:q&&_(b.normalMap.channel),displacementMapUv:R&&_(b.displacementMap.channel),emissiveMapUv:N&&_(b.emissiveMap.channel),metalnessMapUv:V&&_(b.metalnessMap.channel),roughnessMapUv:A&&_(b.roughnessMap.channel),anisotropyMapUv:ce&&_(b.anisotropyMap.channel),clearcoatMapUv:ye&&_(b.clearcoatMap.channel),clearcoatNormalMapUv:Fe&&_(b.clearcoatNormalMap.channel),clearcoatRoughnessMapUv:me&&_(b.clearcoatRoughnessMap.channel),iridescenceMapUv:Te&&_(b.iridescenceMap.channel),iridescenceThicknessMapUv:ke&&_(b.iridescenceThicknessMap.channel),sheenColorMapUv:We&&_(b.sheenColorMap.channel),sheenRoughnessMapUv:Me&&_(b.sheenRoughnessMap.channel),specularMapUv:qe&&_(b.specularMap.channel),specularColorMapUv:Qe&&_(b.specularColorMap.channel),specularIntensityMapUv:Ct&&_(b.specularIntensityMap.channel),transmissionMapUv:X&&_(b.transmissionMap.channel),thicknessMapUv:Ae&&_(b.thicknessMap.channel),alphaMapUv:de&&_(b.alphaMap.channel),vertexTangents:!!ee.attributes.tangent&&(q||C),vertexColors:b.vertexColors,vertexAlphas:b.vertexColors===!0&&!!ee.attributes.color&&ee.attributes.color.itemSize===4,pointsUvs:H.isPoints===!0&&!!ee.attributes.uv&&(Oe||de),fog:!!$,useFog:b.fog===!0,fogExp2:!!$&&$.isFogExp2,flatShading:b.flatShading===!0,sizeAttenuation:b.sizeAttenuation===!0,logarithmicDepthBuffer:f,reverseDepthBuffer:ae,skinning:H.isSkinnedMesh===!0,morphTargets:ee.morphAttributes.position!==void 0,morphNormals:ee.morphAttributes.normal!==void 0,morphColors:ee.morphAttributes.color!==void 0,morphTargetsCount:re,morphTextureStride:xe,numDirLights:S.directional.length,numPointLights:S.point.length,numSpotLights:S.spot.length,numSpotLightMaps:S.spotLightMap.length,numRectAreaLights:S.rectArea.length,numHemiLights:S.hemi.length,numDirLightShadows:S.directionalShadowMap.length,numPointLightShadows:S.pointShadowMap.length,numSpotLightShadows:S.spotShadowMap.length,numSpotLightShadowsWithMaps:S.numSpotLightShadowsWithMaps,numLightProbes:S.numLightProbes,numClippingPlanes:o.numPlanes,numClipIntersection:o.numIntersection,dithering:b.dithering,shadowMapEnabled:n.shadowMap.enabled&&D.length>0,shadowMapType:n.shadowMap.type,toneMapping:Ft,decodeVideoTexture:Oe&&b.map.isVideoTexture===!0&&at.getTransfer(b.map.colorSpace)===St,decodeVideoTextureEmissive:N&&b.emissiveMap.isVideoTexture===!0&&at.getTransfer(b.emissiveMap.colorSpace)===St,premultipliedAlpha:b.premultipliedAlpha,doubleSided:b.side===Si,flipSided:b.side===Dn,useDepthPacking:b.depthPacking>=0,depthPacking:b.depthPacking||0,index0AttributeName:b.index0AttributeName,extensionClipCullDistance:nt&&b.extensions.clipCullDistance===!0&&i.has("WEBGL_clip_cull_distance"),extensionMultiDraw:(nt&&b.extensions.multiDraw===!0||le)&&i.has("WEBGL_multi_draw"),rendererExtensionParallelShaderCompile:i.has("KHR_parallel_shader_compile"),customProgramCacheKey:b.customProgramCacheKey()};return un.vertexUv1s=c.has(1),un.vertexUv2s=c.has(2),un.vertexUv3s=c.has(3),c.clear(),un}function m(b){const S=[];if(b.shaderID?S.push(b.shaderID):(S.push(b.customVertexShaderID),S.push(b.customFragmentShaderID)),b.defines!==void 0)for(const D in b.defines)S.push(D),S.push(b.defines[D]);return b.isRawShaderMaterial===!1&&(y(S,b),x(S,b),S.push(n.outputColorSpace)),S.push(b.customProgramCacheKey),S.join()}function y(b,S){b.push(S.precision),b.push(S.outputColorSpace),b.push(S.envMapMode),b.push(S.envMapCubeUVHeight),b.push(S.mapUv),b.push(S.alphaMapUv),b.push(S.lightMapUv),b.push(S.aoMapUv),b.push(S.bumpMapUv),b.push(S.normalMapUv),b.push(S.displacementMapUv),b.push(S.emissiveMapUv),b.push(S.metalnessMapUv),b.push(S.roughnessMapUv),b.push(S.anisotropyMapUv),b.push(S.clearcoatMapUv),b.push(S.clearcoatNormalMapUv),b.push(S.clearcoatRoughnessMapUv),b.push(S.iridescenceMapUv),b.push(S.iridescenceThicknessMapUv),b.push(S.sheenColorMapUv),b.push(S.sheenRoughnessMapUv),b.push(S.specularMapUv),b.push(S.specularColorMapUv),b.push(S.specularIntensityMapUv),b.push(S.transmissionMapUv),b.push(S.thicknessMapUv),b.push(S.combine),b.push(S.fogExp2),b.push(S.sizeAttenuation),b.push(S.morphTargetsCount),b.push(S.morphAttributeCount),b.push(S.numDirLights),b.push(S.numPointLights),b.push(S.numSpotLights),b.push(S.numSpotLightMaps),b.push(S.numHemiLights),b.push(S.numRectAreaLights),b.push(S.numDirLightShadows),b.push(S.numPointLightShadows),b.push(S.numSpotLightShadows),b.push(S.numSpotLightShadowsWithMaps),b.push(S.numLightProbes),b.push(S.shadowMapType),b.push(S.toneMapping),b.push(S.numClippingPlanes),b.push(S.numClipIntersection),b.push(S.depthPacking)}function x(b,S){a.disableAll(),S.supportsVertexTextures&&a.enable(0),S.instancing&&a.enable(1),S.instancingColor&&a.enable(2),S.instancingMorph&&a.enable(3),S.matcap&&a.enable(4),S.envMap&&a.enable(5),S.normalMapObjectSpace&&a.enable(6),S.normalMapTangentSpace&&a.enable(7),S.clearcoat&&a.enable(8),S.iridescence&&a.enable(9),S.alphaTest&&a.enable(10),S.vertexColors&&a.enable(11),S.vertexAlphas&&a.enable(12),S.vertexUv1s&&a.enable(13),S.vertexUv2s&&a.enable(14),S.vertexUv3s&&a.enable(15),S.vertexTangents&&a.enable(16),S.anisotropy&&a.enable(17),S.alphaHash&&a.enable(18),S.batching&&a.enable(19),S.dispersion&&a.enable(20),S.batchingColor&&a.enable(21),b.push(a.mask),a.disableAll(),S.fog&&a.enable(0),S.useFog&&a.enable(1),S.flatShading&&a.enable(2),S.logarithmicDepthBuffer&&a.enable(3),S.reverseDepthBuffer&&a.enable(4),S.skinning&&a.enable(5),S.morphTargets&&a.enable(6),S.morphNormals&&a.enable(7),S.morphColors&&a.enable(8),S.premultipliedAlpha&&a.enable(9),S.shadowMapEnabled&&a.enable(10),S.doubleSided&&a.enable(11),S.flipSided&&a.enable(12),S.useDepthPacking&&a.enable(13),S.dithering&&a.enable(14),S.transmission&&a.enable(15),S.sheen&&a.enable(16),S.opaque&&a.enable(17),S.pointsUvs&&a.enable(18),S.decodeVideoTexture&&a.enable(19),S.decodeVideoTextureEmissive&&a.enable(20),S.alphaToCoverage&&a.enable(21),b.push(a.mask)}function v(b){const S=p[b.type];let D;if(S){const B=bi[S];D=ZS.clone(B.uniforms)}else D=b.uniforms;return D}function E(b,S){let D;for(let B=0,H=u.length;B0?i.push(m):d.transparent===!0?r.push(m):t.push(m)}function l(f,h,d,p,_,g){const m=o(f,h,d,p,_,g);d.transmission>0?i.unshift(m):d.transparent===!0?r.unshift(m):t.unshift(m)}function c(f,h){t.length>1&&t.sort(f||Q2),i.length>1&&i.sort(h||Z0),r.length>1&&r.sort(h||Z0)}function u(){for(let f=e,h=n.length;f=s.length?(o=new J0,s.push(o)):o=s[r],o}function t(){n=new WeakMap}return{get:e,dispose:t}}function tN(){const n={};return{get:function(e){if(n[e.id]!==void 0)return n[e.id];let t;switch(e.type){case"DirectionalLight":t={direction:new F,color:new we};break;case"SpotLight":t={position:new F,direction:new F,color:new we,distance:0,coneCos:0,penumbraCos:0,decay:0};break;case"PointLight":t={position:new F,color:new we,distance:0,decay:0};break;case"HemisphereLight":t={direction:new F,skyColor:new we,groundColor:new we};break;case"RectAreaLight":t={color:new we,position:new F,halfWidth:new F,halfHeight:new F};break}return n[e.id]=t,t}}}function nN(){const n={};return{get:function(e){if(n[e.id]!==void 0)return n[e.id];let t;switch(e.type){case"DirectionalLight":t={shadowIntensity:1,shadowBias:0,shadowNormalBias:0,shadowRadius:1,shadowMapSize:new fe};break;case"SpotLight":t={shadowIntensity:1,shadowBias:0,shadowNormalBias:0,shadowRadius:1,shadowMapSize:new fe};break;case"PointLight":t={shadowIntensity:1,shadowBias:0,shadowNormalBias:0,shadowRadius:1,shadowMapSize:new fe,shadowCameraNear:1,shadowCameraFar:1e3};break}return n[e.id]=t,t}}}let iN=0;function rN(n,e){return(e.castShadow?2:0)-(n.castShadow?2:0)+(e.map?1:0)-(n.map?1:0)}function sN(n){const e=new tN,t=nN(),i={version:0,hash:{directionalLength:-1,pointLength:-1,spotLength:-1,rectAreaLength:-1,hemiLength:-1,numDirectionalShadows:-1,numPointShadows:-1,numSpotShadows:-1,numSpotMaps:-1,numLightProbes:-1},ambient:[0,0,0],probe:[],directional:[],directionalShadow:[],directionalShadowMap:[],directionalShadowMatrix:[],spot:[],spotLightMap:[],spotShadow:[],spotShadowMap:[],spotLightMatrix:[],rectArea:[],rectAreaLTC1:null,rectAreaLTC2:null,point:[],pointShadow:[],pointShadowMap:[],pointShadowMatrix:[],hemi:[],numSpotLightShadowsWithMaps:0,numLightProbes:0};for(let c=0;c<9;c++)i.probe.push(new F);const r=new F,s=new Xe,o=new Xe;function a(c){let u=0,f=0,h=0;for(let b=0;b<9;b++)i.probe[b].set(0,0,0);let d=0,p=0,_=0,g=0,m=0,y=0,x=0,v=0,E=0,T=0,M=0;c.sort(rN);for(let b=0,S=c.length;b0&&(n.has("OES_texture_float_linear")===!0?(i.rectAreaLTC1=Ee.LTC_FLOAT_1,i.rectAreaLTC2=Ee.LTC_FLOAT_2):(i.rectAreaLTC1=Ee.LTC_HALF_1,i.rectAreaLTC2=Ee.LTC_HALF_2)),i.ambient[0]=u,i.ambient[1]=f,i.ambient[2]=h;const P=i.hash;(P.directionalLength!==d||P.pointLength!==p||P.spotLength!==_||P.rectAreaLength!==g||P.hemiLength!==m||P.numDirectionalShadows!==y||P.numPointShadows!==x||P.numSpotShadows!==v||P.numSpotMaps!==E||P.numLightProbes!==M)&&(i.directional.length=d,i.spot.length=_,i.rectArea.length=g,i.point.length=p,i.hemi.length=m,i.directionalShadow.length=y,i.directionalShadowMap.length=y,i.pointShadow.length=x,i.pointShadowMap.length=x,i.spotShadow.length=v,i.spotShadowMap.length=v,i.directionalShadowMatrix.length=y,i.pointShadowMatrix.length=x,i.spotLightMatrix.length=v+E-T,i.spotLightMap.length=E,i.numSpotLightShadowsWithMaps=T,i.numLightProbes=M,P.directionalLength=d,P.pointLength=p,P.spotLength=_,P.rectAreaLength=g,P.hemiLength=m,P.numDirectionalShadows=y,P.numPointShadows=x,P.numSpotShadows=v,P.numSpotMaps=E,P.numLightProbes=M,i.version=iN++)}function l(c,u){let f=0,h=0,d=0,p=0,_=0;const g=u.matrixWorldInverse;for(let m=0,y=c.length;m=o.length?(a=new Q0(n),o.push(a)):a=o[s],a}function i(){e=new WeakMap}return{get:t,dispose:i}}const aN=`void main() { gl_Position = vec4( position, 1.0 ); }`,lN=`uniform sampler2D shadow_pass; uniform vec2 resolution; @@ -3817,7 +3817,7 @@ void main() { squared_mean = squared_mean / samples; float std_dev = sqrt( squared_mean - mean * mean ); gl_FragColor = pack2HalfToRGBA( vec2( mean, std_dev ) ); -}`;function cN(n,e,t){let i=new mc;const r=new fe,s=new fe,o=new ht,a=new Vg({depthPacking:FS}),l=new Hg,c={},u=t.maxTextureSize,f={[Er]:Dn,[Dn]:Er,[Si]:Si},h=new Ri({defines:{VSM_SAMPLES:8},uniforms:{shadow_pass:{value:null},resolution:{value:new fe},radius:{value:4}},vertexShader:aN,fragmentShader:lN}),d=h.clone();d.defines.HORIZONTAL_PASS=1;const p=new st;p.setAttribute("position",new Et(new Float32Array([-1,-1,.5,3,-1,.5,-1,3,.5]),3));const _=new Ht(p,h),g=this;this.enabled=!1,this.autoUpdate=!0,this.needsUpdate=!1,this.type=hg;let m=this.type;this.render=function(T,M,P){if(g.enabled===!1||g.autoUpdate===!1&&g.needsUpdate===!1||T.length===0)return;const b=n.getRenderTarget(),S=n.getActiveCubeFace(),D=n.getActiveMipmapLevel(),B=n.state;B.setBlending(xr),B.buffers.color.setClear(1,1,1,1),B.buffers.depth.setTest(!0),B.setScissorTest(!1);const H=m!==Bi&&this.type===Bi,$=m===Bi&&this.type!==Bi;for(let ee=0,Z=T.length;eeu||r.y>u)&&(r.x>u&&(s.x=Math.floor(u/pe.x),r.x=s.x*pe.x,Q.mapSize.x=s.x),r.y>u&&(s.y=Math.floor(u/pe.y),r.y=s.y*pe.y,Q.mapSize.y=s.y)),Q.map===null||H===!0||$===!0){const re=this.type!==Bi?{minFilter:cn,magFilter:cn}:{};Q.map!==null&&Q.map.dispose(),Q.map=new Yi(r.x,r.y,re),Q.map.texture.name=te.name+".shadowMap",Q.camera.updateProjectionMatrix()}n.setRenderTarget(Q.map),n.clear();const ve=Q.getViewportCount();for(let re=0;re0||M.map&&M.alphaTest>0){const B=S.uuid,H=M.uuid;let $=c[B];$===void 0&&($={},c[B]=$);let ee=$[H];ee===void 0&&(ee=S.clone(),$[H]=ee,M.addEventListener("dispose",E)),S=ee}if(S.visible=M.visible,S.wireframe=M.wireframe,b===Bi?S.side=M.shadowSide!==null?M.shadowSide:M.side:S.side=M.shadowSide!==null?M.shadowSide:f[M.side],S.alphaMap=M.alphaMap,S.alphaTest=M.alphaTest,S.map=M.map,S.clipShadows=M.clipShadows,S.clippingPlanes=M.clippingPlanes,S.clipIntersection=M.clipIntersection,S.displacementMap=M.displacementMap,S.displacementScale=M.displacementScale,S.displacementBias=M.displacementBias,S.wireframeLinewidth=M.wireframeLinewidth,S.linewidth=M.linewidth,P.isPointLight===!0&&S.isMeshDistanceMaterial===!0){const B=n.properties.get(S);B.light=P}return S}function v(T,M,P,b,S){if(T.visible===!1)return;if(T.layers.test(M.layers)&&(T.isMesh||T.isLine||T.isPoints)&&(T.castShadow||T.receiveShadow&&S===Bi)&&(!T.frustumCulled||i.intersectsObject(T))){T.modelViewMatrix.multiplyMatrices(P.matrixWorldInverse,T.matrixWorld);const H=e.update(T),$=T.material;if(Array.isArray($)){const ee=H.groups;for(let Z=0,te=ee.length;Z=1):Q.indexOf("OpenGL ES")!==-1&&(te=parseFloat(/^OpenGL ES (\d)/.exec(Q)[1]),Z=te>=2);let pe=null,ve={};const re=n.getParameter(n.SCISSOR_BOX),xe=n.getParameter(n.VIEWPORT),Ve=new ht().fromArray(re),se=new ht().fromArray(xe);function ge(X,Ae,oe,de){const Pe=new Uint8Array(4),Re=n.createTexture();n.bindTexture(X,Re),n.texParameteri(X,n.TEXTURE_MIN_FILTER,n.NEAREST),n.texParameteri(X,n.TEXTURE_MAG_FILTER,n.NEAREST);for(let nt=0;nt"u"?!1:/OculusBrowser/g.test(navigator.userAgent),c=new fe,u=new WeakMap;let f;const h=new WeakMap;let d=!1;try{d=typeof OffscreenCanvas<"u"&&new OffscreenCanvas(1,1).getContext("2d")!==null}catch{}function p(A,C){return d?new OffscreenCanvas(A,C):kl("canvas")}function _(A,C,k){let U=1;const V=z(A);if((V.width>k||V.height>k)&&(U=k/Math.max(V.width,V.height)),U<1)if(typeof HTMLImageElement<"u"&&A instanceof HTMLImageElement||typeof HTMLCanvasElement<"u"&&A instanceof HTMLCanvasElement||typeof ImageBitmap<"u"&&A instanceof ImageBitmap||typeof VideoFrame<"u"&&A instanceof VideoFrame){const Y=Math.floor(U*V.width),he=Math.floor(U*V.height);f===void 0&&(f=p(Y,he));const ce=C?p(Y,he):f;return ce.width=Y,ce.height=he,ce.getContext("2d").drawImage(A,0,0,Y,he),console.warn("THREE.WebGLRenderer: Texture has been resized from ("+V.width+"x"+V.height+") to ("+Y+"x"+he+")."),ce}else return"data"in A&&console.warn("THREE.WebGLRenderer: Image in DataTexture is too big ("+V.width+"x"+V.height+")."),A;return A}function g(A){return A.generateMipmaps}function m(A){n.generateMipmap(A)}function y(A){return A.isWebGLCubeRenderTarget?n.TEXTURE_CUBE_MAP:A.isWebGL3DRenderTarget?n.TEXTURE_3D:A.isWebGLArrayRenderTarget||A.isCompressedArrayTexture?n.TEXTURE_2D_ARRAY:n.TEXTURE_2D}function x(A,C,k,U,V=!1){if(A!==null){if(n[A]!==void 0)return n[A];console.warn("THREE.WebGLRenderer: Attempt to use non-existing WebGL internal format '"+A+"'")}let Y=C;if(C===n.RED&&(k===n.FLOAT&&(Y=n.R32F),k===n.HALF_FLOAT&&(Y=n.R16F),k===n.UNSIGNED_BYTE&&(Y=n.R8)),C===n.RED_INTEGER&&(k===n.UNSIGNED_BYTE&&(Y=n.R8UI),k===n.UNSIGNED_SHORT&&(Y=n.R16UI),k===n.UNSIGNED_INT&&(Y=n.R32UI),k===n.BYTE&&(Y=n.R8I),k===n.SHORT&&(Y=n.R16I),k===n.INT&&(Y=n.R32I)),C===n.RG&&(k===n.FLOAT&&(Y=n.RG32F),k===n.HALF_FLOAT&&(Y=n.RG16F),k===n.UNSIGNED_BYTE&&(Y=n.RG8)),C===n.RG_INTEGER&&(k===n.UNSIGNED_BYTE&&(Y=n.RG8UI),k===n.UNSIGNED_SHORT&&(Y=n.RG16UI),k===n.UNSIGNED_INT&&(Y=n.RG32UI),k===n.BYTE&&(Y=n.RG8I),k===n.SHORT&&(Y=n.RG16I),k===n.INT&&(Y=n.RG32I)),C===n.RGB_INTEGER&&(k===n.UNSIGNED_BYTE&&(Y=n.RGB8UI),k===n.UNSIGNED_SHORT&&(Y=n.RGB16UI),k===n.UNSIGNED_INT&&(Y=n.RGB32UI),k===n.BYTE&&(Y=n.RGB8I),k===n.SHORT&&(Y=n.RGB16I),k===n.INT&&(Y=n.RGB32I)),C===n.RGBA_INTEGER&&(k===n.UNSIGNED_BYTE&&(Y=n.RGBA8UI),k===n.UNSIGNED_SHORT&&(Y=n.RGBA16UI),k===n.UNSIGNED_INT&&(Y=n.RGBA32UI),k===n.BYTE&&(Y=n.RGBA8I),k===n.SHORT&&(Y=n.RGBA16I),k===n.INT&&(Y=n.RGBA32I)),C===n.RGB&&k===n.UNSIGNED_INT_5_9_9_9_REV&&(Y=n.RGB9_E5),C===n.RGBA){const he=V?Ul:at.getTransfer(U);k===n.FLOAT&&(Y=n.RGBA32F),k===n.HALF_FLOAT&&(Y=n.RGBA16F),k===n.UNSIGNED_BYTE&&(Y=he===bt?n.SRGB8_ALPHA8:n.RGBA8),k===n.UNSIGNED_SHORT_4_4_4_4&&(Y=n.RGBA4),k===n.UNSIGNED_SHORT_5_5_5_1&&(Y=n.RGB5_A1)}return(Y===n.R16F||Y===n.R32F||Y===n.RG16F||Y===n.RG32F||Y===n.RGBA16F||Y===n.RGBA32F)&&e.get("EXT_color_buffer_float"),Y}function v(A,C){let k;return A?C===null||C===wr||C===lo?k=n.DEPTH24_STENCIL8:C===Hn?k=n.DEPTH32F_STENCIL8:C===oa&&(k=n.DEPTH24_STENCIL8,console.warn("DepthTexture: 16 bit depth attachment is not supported with stencil. Using 24-bit attachment.")):C===null||C===wr||C===lo?k=n.DEPTH_COMPONENT24:C===Hn?k=n.DEPTH_COMPONENT32F:C===oa&&(k=n.DEPTH_COMPONENT16),k}function E(A,C){return g(A)===!0||A.isFramebufferTexture&&A.minFilter!==cn&&A.minFilter!==jt?Math.log2(Math.max(C.width,C.height))+1:A.mipmaps!==void 0&&A.mipmaps.length>0?A.mipmaps.length:A.isCompressedTexture&&Array.isArray(A.image)?C.mipmaps.length:1}function T(A){const C=A.target;C.removeEventListener("dispose",T),P(C),C.isVideoTexture&&u.delete(C)}function M(A){const C=A.target;C.removeEventListener("dispose",M),S(C)}function P(A){const C=i.get(A);if(C.__webglInit===void 0)return;const k=A.source,U=h.get(k);if(U){const V=U[C.__cacheKey];V.usedTimes--,V.usedTimes===0&&b(A),Object.keys(U).length===0&&h.delete(k)}i.remove(A)}function b(A){const C=i.get(A);n.deleteTexture(C.__webglTexture);const k=A.source,U=h.get(k);delete U[C.__cacheKey],o.memory.textures--}function S(A){const C=i.get(A);if(A.depthTexture&&(A.depthTexture.dispose(),i.remove(A.depthTexture)),A.isWebGLCubeRenderTarget)for(let U=0;U<6;U++){if(Array.isArray(C.__webglFramebuffer[U]))for(let V=0;V=r.maxTextures&&console.warn("THREE.WebGLTextures: Trying to use "+A+" texture units while this GPU supports only "+r.maxTextures),D+=1,A}function $(A){const C=[];return C.push(A.wrapS),C.push(A.wrapT),C.push(A.wrapR||0),C.push(A.magFilter),C.push(A.minFilter),C.push(A.anisotropy),C.push(A.internalFormat),C.push(A.format),C.push(A.type),C.push(A.generateMipmaps),C.push(A.premultiplyAlpha),C.push(A.flipY),C.push(A.unpackAlignment),C.push(A.colorSpace),C.join()}function ee(A,C){const k=i.get(A);if(A.isVideoTexture&&R(A),A.isRenderTargetTexture===!1&&A.version>0&&k.__version!==A.version){const U=A.image;if(U===null)console.warn("THREE.WebGLRenderer: Texture marked for update but no image data found.");else if(U.complete===!1)console.warn("THREE.WebGLRenderer: Texture marked for update but image is incomplete");else{se(k,A,C);return}}t.bindTexture(n.TEXTURE_2D,k.__webglTexture,n.TEXTURE0+C)}function Z(A,C){const k=i.get(A);if(A.version>0&&k.__version!==A.version){se(k,A,C);return}t.bindTexture(n.TEXTURE_2D_ARRAY,k.__webglTexture,n.TEXTURE0+C)}function te(A,C){const k=i.get(A);if(A.version>0&&k.__version!==A.version){se(k,A,C);return}t.bindTexture(n.TEXTURE_3D,k.__webglTexture,n.TEXTURE0+C)}function Q(A,C){const k=i.get(A);if(A.version>0&&k.__version!==A.version){ge(k,A,C);return}t.bindTexture(n.TEXTURE_CUBE_MAP,k.__webglTexture,n.TEXTURE0+C)}const pe={[Ll]:n.REPEAT,[li]:n.CLAMP_TO_EDGE,[Dl]:n.MIRRORED_REPEAT},ve={[cn]:n.NEAREST,[pg]:n.NEAREST_MIPMAP_NEAREST,[Xo]:n.NEAREST_MIPMAP_LINEAR,[jt]:n.LINEAR,[Qa]:n.LINEAR_MIPMAP_NEAREST,[zi]:n.LINEAR_MIPMAP_LINEAR},re={[kS]:n.NEVER,[XS]:n.ALWAYS,[zS]:n.LESS,[Tg]:n.LEQUAL,[VS]:n.EQUAL,[WS]:n.GEQUAL,[HS]:n.GREATER,[GS]:n.NOTEQUAL};function xe(A,C){if(C.type===Hn&&e.has("OES_texture_float_linear")===!1&&(C.magFilter===jt||C.magFilter===Qa||C.magFilter===Xo||C.magFilter===zi||C.minFilter===jt||C.minFilter===Qa||C.minFilter===Xo||C.minFilter===zi)&&console.warn("THREE.WebGLRenderer: Unable to use linear filtering with floating point textures. OES_texture_float_linear not supported on this device."),n.texParameteri(A,n.TEXTURE_WRAP_S,pe[C.wrapS]),n.texParameteri(A,n.TEXTURE_WRAP_T,pe[C.wrapT]),(A===n.TEXTURE_3D||A===n.TEXTURE_2D_ARRAY)&&n.texParameteri(A,n.TEXTURE_WRAP_R,pe[C.wrapR]),n.texParameteri(A,n.TEXTURE_MAG_FILTER,ve[C.magFilter]),n.texParameteri(A,n.TEXTURE_MIN_FILTER,ve[C.minFilter]),C.compareFunction&&(n.texParameteri(A,n.TEXTURE_COMPARE_MODE,n.COMPARE_REF_TO_TEXTURE),n.texParameteri(A,n.TEXTURE_COMPARE_FUNC,re[C.compareFunction])),e.has("EXT_texture_filter_anisotropic")===!0){if(C.magFilter===cn||C.minFilter!==Xo&&C.minFilter!==zi||C.type===Hn&&e.has("OES_texture_float_linear")===!1)return;if(C.anisotropy>1||i.get(C).__currentAnisotropy){const k=e.get("EXT_texture_filter_anisotropic");n.texParameterf(A,k.TEXTURE_MAX_ANISOTROPY_EXT,Math.min(C.anisotropy,r.getMaxAnisotropy())),i.get(C).__currentAnisotropy=C.anisotropy}}}function Ve(A,C){let k=!1;A.__webglInit===void 0&&(A.__webglInit=!0,C.addEventListener("dispose",T));const U=C.source;let V=h.get(U);V===void 0&&(V={},h.set(U,V));const Y=$(C);if(Y!==A.__cacheKey){V[Y]===void 0&&(V[Y]={texture:n.createTexture(),usedTimes:0},o.memory.textures++,k=!0),V[Y].usedTimes++;const he=V[A.__cacheKey];he!==void 0&&(V[A.__cacheKey].usedTimes--,he.usedTimes===0&&b(C)),A.__cacheKey=Y,A.__webglTexture=V[Y].texture}return k}function se(A,C,k){let U=n.TEXTURE_2D;(C.isDataArrayTexture||C.isCompressedArrayTexture)&&(U=n.TEXTURE_2D_ARRAY),C.isData3DTexture&&(U=n.TEXTURE_3D);const V=Ve(A,C),Y=C.source;t.bindTexture(U,A.__webglTexture,n.TEXTURE0+k);const he=i.get(Y);if(Y.version!==he.__version||V===!0){t.activeTexture(n.TEXTURE0+k);const ce=at.getPrimaries(at.workingColorSpace),ye=C.colorSpace===dr?null:at.getPrimaries(C.colorSpace),Fe=C.colorSpace===dr||ce===ye?n.NONE:n.BROWSER_DEFAULT_WEBGL;n.pixelStorei(n.UNPACK_FLIP_Y_WEBGL,C.flipY),n.pixelStorei(n.UNPACK_PREMULTIPLY_ALPHA_WEBGL,C.premultiplyAlpha),n.pixelStorei(n.UNPACK_ALIGNMENT,C.unpackAlignment),n.pixelStorei(n.UNPACK_COLORSPACE_CONVERSION_WEBGL,Fe);let me=_(C.image,!1,r.maxTextureSize);me=N(C,me);const Te=s.convert(C.format,C.colorSpace),ke=s.convert(C.type);let We=x(C.internalFormat,Te,ke,C.colorSpace,C.isVideoTexture);xe(U,C);let Me;const Ye=C.mipmaps,Qe=C.isVideoTexture!==!0,At=he.__version===void 0||V===!0,X=Y.dataReady,Ae=E(C,me);if(C.isDepthTexture)We=v(C.format===co,C.type),At&&(Qe?t.texStorage2D(n.TEXTURE_2D,1,We,me.width,me.height):t.texImage2D(n.TEXTURE_2D,0,We,me.width,me.height,0,Te,ke,null));else if(C.isDataTexture)if(Ye.length>0){Qe&&At&&t.texStorage2D(n.TEXTURE_2D,Ae,We,Ye[0].width,Ye[0].height);for(let oe=0,de=Ye.length;oe0){const Pe=om(Me.width,Me.height,C.format,C.type);for(const Re of C.layerUpdates){const nt=Me.data.subarray(Re*Pe/Me.data.BYTES_PER_ELEMENT,(Re+1)*Pe/Me.data.BYTES_PER_ELEMENT);t.compressedTexSubImage3D(n.TEXTURE_2D_ARRAY,oe,0,0,Re,Me.width,Me.height,1,Te,nt)}C.clearLayerUpdates()}else t.compressedTexSubImage3D(n.TEXTURE_2D_ARRAY,oe,0,0,0,Me.width,Me.height,me.depth,Te,Me.data)}else t.compressedTexImage3D(n.TEXTURE_2D_ARRAY,oe,We,Me.width,Me.height,me.depth,0,Me.data,0,0);else console.warn("THREE.WebGLRenderer: Attempt to load unsupported compressed texture format in .uploadTexture()");else Qe?X&&t.texSubImage3D(n.TEXTURE_2D_ARRAY,oe,0,0,0,Me.width,Me.height,me.depth,Te,ke,Me.data):t.texImage3D(n.TEXTURE_2D_ARRAY,oe,We,Me.width,Me.height,me.depth,0,Te,ke,Me.data)}else{Qe&&At&&t.texStorage2D(n.TEXTURE_2D,Ae,We,Ye[0].width,Ye[0].height);for(let oe=0,de=Ye.length;oe0){const oe=om(me.width,me.height,C.format,C.type);for(const de of C.layerUpdates){const Pe=me.data.subarray(de*oe/me.data.BYTES_PER_ELEMENT,(de+1)*oe/me.data.BYTES_PER_ELEMENT);t.texSubImage3D(n.TEXTURE_2D_ARRAY,0,0,0,de,me.width,me.height,1,Te,ke,Pe)}C.clearLayerUpdates()}else t.texSubImage3D(n.TEXTURE_2D_ARRAY,0,0,0,0,me.width,me.height,me.depth,Te,ke,me.data)}else t.texImage3D(n.TEXTURE_2D_ARRAY,0,We,me.width,me.height,me.depth,0,Te,ke,me.data);else if(C.isData3DTexture)Qe?(At&&t.texStorage3D(n.TEXTURE_3D,Ae,We,me.width,me.height,me.depth),X&&t.texSubImage3D(n.TEXTURE_3D,0,0,0,0,me.width,me.height,me.depth,Te,ke,me.data)):t.texImage3D(n.TEXTURE_3D,0,We,me.width,me.height,me.depth,0,Te,ke,me.data);else if(C.isFramebufferTexture){if(At)if(Qe)t.texStorage2D(n.TEXTURE_2D,Ae,We,me.width,me.height);else{let oe=me.width,de=me.height;for(let Pe=0;Pe>=1,de>>=1}}else if(Ye.length>0){if(Qe&&At){const oe=z(Ye[0]);t.texStorage2D(n.TEXTURE_2D,Ae,We,oe.width,oe.height)}for(let oe=0,de=Ye.length;oe0&&Ae++;const de=z(Te[0]);t.texStorage2D(n.TEXTURE_CUBE_MAP,Ae,Ye,de.width,de.height)}for(let de=0;de<6;de++)if(me){Qe?X&&t.texSubImage2D(n.TEXTURE_CUBE_MAP_POSITIVE_X+de,0,0,0,Te[de].width,Te[de].height,We,Me,Te[de].data):t.texImage2D(n.TEXTURE_CUBE_MAP_POSITIVE_X+de,0,Ye,Te[de].width,Te[de].height,0,We,Me,Te[de].data);for(let Pe=0;Pe>Y),ke=Math.max(1,C.height>>Y);V===n.TEXTURE_3D||V===n.TEXTURE_2D_ARRAY?t.texImage3D(V,Y,ye,Te,ke,C.depth,0,he,ce,null):t.texImage2D(V,Y,ye,Te,ke,0,he,ce,null)}t.bindFramebuffer(n.FRAMEBUFFER,A),q(C)?a.framebufferTexture2DMultisampleEXT(n.FRAMEBUFFER,U,V,me.__webglTexture,0,G(C)):(V===n.TEXTURE_2D||V>=n.TEXTURE_CUBE_MAP_POSITIVE_X&&V<=n.TEXTURE_CUBE_MAP_NEGATIVE_Z)&&n.framebufferTexture2D(n.FRAMEBUFFER,U,V,me.__webglTexture,Y),t.bindFramebuffer(n.FRAMEBUFFER,null)}function W(A,C,k){if(n.bindRenderbuffer(n.RENDERBUFFER,A),C.depthBuffer){const U=C.depthTexture,V=U&&U.isDepthTexture?U.type:null,Y=v(C.stencilBuffer,V),he=C.stencilBuffer?n.DEPTH_STENCIL_ATTACHMENT:n.DEPTH_ATTACHMENT,ce=G(C);q(C)?a.renderbufferStorageMultisampleEXT(n.RENDERBUFFER,ce,Y,C.width,C.height):k?n.renderbufferStorageMultisample(n.RENDERBUFFER,ce,Y,C.width,C.height):n.renderbufferStorage(n.RENDERBUFFER,Y,C.width,C.height),n.framebufferRenderbuffer(n.FRAMEBUFFER,he,n.RENDERBUFFER,A)}else{const U=C.textures;for(let V=0;V{delete C.__boundDepthTexture,delete C.__depthDisposeCallback,U.removeEventListener("dispose",V)};U.addEventListener("dispose",V),C.__depthDisposeCallback=V}C.__boundDepthTexture=U}if(A.depthTexture&&!C.__autoAllocateDepthBuffer){if(k)throw new Error("target.depthTexture not supported in Cube render targets");ae(C.__webglFramebuffer,A)}else if(k){C.__webglDepthbuffer=[];for(let U=0;U<6;U++)if(t.bindFramebuffer(n.FRAMEBUFFER,C.__webglFramebuffer[U]),C.__webglDepthbuffer[U]===void 0)C.__webglDepthbuffer[U]=n.createRenderbuffer(),W(C.__webglDepthbuffer[U],A,!1);else{const V=A.stencilBuffer?n.DEPTH_STENCIL_ATTACHMENT:n.DEPTH_ATTACHMENT,Y=C.__webglDepthbuffer[U];n.bindRenderbuffer(n.RENDERBUFFER,Y),n.framebufferRenderbuffer(n.FRAMEBUFFER,V,n.RENDERBUFFER,Y)}}else if(t.bindFramebuffer(n.FRAMEBUFFER,C.__webglFramebuffer),C.__webglDepthbuffer===void 0)C.__webglDepthbuffer=n.createRenderbuffer(),W(C.__webglDepthbuffer,A,!1);else{const U=A.stencilBuffer?n.DEPTH_STENCIL_ATTACHMENT:n.DEPTH_ATTACHMENT,V=C.__webglDepthbuffer;n.bindRenderbuffer(n.RENDERBUFFER,V),n.framebufferRenderbuffer(n.FRAMEBUFFER,U,n.RENDERBUFFER,V)}t.bindFramebuffer(n.FRAMEBUFFER,null)}function le(A,C,k){const U=i.get(A);C!==void 0&&be(U.__webglFramebuffer,A,A.texture,n.COLOR_ATTACHMENT0,n.TEXTURE_2D,0),k!==void 0&&ue(A)}function Oe(A){const C=A.texture,k=i.get(A),U=i.get(C);A.addEventListener("dispose",M);const V=A.textures,Y=A.isWebGLCubeRenderTarget===!0,he=V.length>1;if(he||(U.__webglTexture===void 0&&(U.__webglTexture=n.createTexture()),U.__version=C.version,o.memory.textures++),Y){k.__webglFramebuffer=[];for(let ce=0;ce<6;ce++)if(C.mipmaps&&C.mipmaps.length>0){k.__webglFramebuffer[ce]=[];for(let ye=0;ye0){k.__webglFramebuffer=[];for(let ce=0;ce0&&q(A)===!1){k.__webglMultisampledFramebuffer=n.createFramebuffer(),k.__webglColorRenderbuffer=[],t.bindFramebuffer(n.FRAMEBUFFER,k.__webglMultisampledFramebuffer);for(let ce=0;ce0)for(let ye=0;ye0)for(let ye=0;ye0){if(q(A)===!1){const C=A.textures,k=A.width,U=A.height;let V=n.COLOR_BUFFER_BIT;const Y=A.stencilBuffer?n.DEPTH_STENCIL_ATTACHMENT:n.DEPTH_ATTACHMENT,he=i.get(A),ce=C.length>1;if(ce)for(let ye=0;ye0&&e.has("WEBGL_multisampled_render_to_texture")===!0&&C.__useRenderToTexture!==!1}function R(A){const C=o.render.frame;u.get(A)!==C&&(u.set(A,C),A.update())}function N(A,C){const k=A.colorSpace,U=A.format,V=A.type;return A.isCompressedTexture===!0||A.isVideoTexture===!0||k!==uo&&k!==dr&&(at.getTransfer(k)===bt?(U!==Ln||V!==qi)&&console.warn("THREE.WebGLTextures: sRGB encoded textures have to use RGBAFormat and UnsignedByteType."):console.error("THREE.WebGLTextures: Unsupported texture color space:",k)),C}function z(A){return typeof HTMLImageElement<"u"&&A instanceof HTMLImageElement?(c.width=A.naturalWidth||A.width,c.height=A.naturalHeight||A.height):typeof VideoFrame<"u"&&A instanceof VideoFrame?(c.width=A.displayWidth,c.height=A.displayHeight):(c.width=A.width,c.height=A.height),c}this.allocateTextureUnit=H,this.resetTextureUnits=B,this.setTexture2D=ee,this.setTexture2DArray=Z,this.setTexture3D=te,this.setTextureCube=Q,this.rebindTextures=le,this.setupRenderTarget=Oe,this.updateRenderTargetMipmap=I,this.updateMultisampleRenderTarget=j,this.setupDepthRenderbuffer=ue,this.setupFrameBufferTexture=be,this.useMultisampledRTT=q}function tE(n,e){function t(i,r=dr){let s;const o=at.getTransfer(r);if(i===qi)return n.UNSIGNED_BYTE;if(i===Mh)return n.UNSIGNED_SHORT_4_4_4_4;if(i===Eh)return n.UNSIGNED_SHORT_5_5_5_1;if(i===_g)return n.UNSIGNED_INT_5_9_9_9_REV;if(i===mg)return n.BYTE;if(i===gg)return n.SHORT;if(i===oa)return n.UNSIGNED_SHORT;if(i===Sh)return n.INT;if(i===wr)return n.UNSIGNED_INT;if(i===Hn)return n.FLOAT;if(i===va)return n.HALF_FLOAT;if(i===vg)return n.ALPHA;if(i===yg)return n.RGB;if(i===Ln)return n.RGBA;if(i===xg)return n.LUMINANCE;if(i===bg)return n.LUMINANCE_ALPHA;if(i===to)return n.DEPTH_COMPONENT;if(i===co)return n.DEPTH_STENCIL;if(i===Th)return n.RED;if(i===fc)return n.RED_INTEGER;if(i===Sg)return n.RG;if(i===wh)return n.RG_INTEGER;if(i===Ah)return n.RGBA_INTEGER;if(i===el||i===tl||i===nl||i===il)if(o===bt)if(s=e.get("WEBGL_compressed_texture_s3tc_srgb"),s!==null){if(i===el)return s.COMPRESSED_SRGB_S3TC_DXT1_EXT;if(i===tl)return s.COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT;if(i===nl)return s.COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT;if(i===il)return s.COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT}else return null;else if(s=e.get("WEBGL_compressed_texture_s3tc"),s!==null){if(i===el)return s.COMPRESSED_RGB_S3TC_DXT1_EXT;if(i===tl)return s.COMPRESSED_RGBA_S3TC_DXT1_EXT;if(i===nl)return s.COMPRESSED_RGBA_S3TC_DXT3_EXT;if(i===il)return s.COMPRESSED_RGBA_S3TC_DXT5_EXT}else return null;if(i===yf||i===xf||i===bf||i===Sf)if(s=e.get("WEBGL_compressed_texture_pvrtc"),s!==null){if(i===yf)return s.COMPRESSED_RGB_PVRTC_4BPPV1_IMG;if(i===xf)return s.COMPRESSED_RGB_PVRTC_2BPPV1_IMG;if(i===bf)return s.COMPRESSED_RGBA_PVRTC_4BPPV1_IMG;if(i===Sf)return s.COMPRESSED_RGBA_PVRTC_2BPPV1_IMG}else return null;if(i===Mf||i===Ef||i===Tf)if(s=e.get("WEBGL_compressed_texture_etc"),s!==null){if(i===Mf||i===Ef)return o===bt?s.COMPRESSED_SRGB8_ETC2:s.COMPRESSED_RGB8_ETC2;if(i===Tf)return o===bt?s.COMPRESSED_SRGB8_ALPHA8_ETC2_EAC:s.COMPRESSED_RGBA8_ETC2_EAC}else return null;if(i===wf||i===Af||i===Cf||i===Rf||i===Pf||i===If||i===Lf||i===Df||i===Of||i===Nf||i===Uf||i===Ff||i===Bf||i===kf)if(s=e.get("WEBGL_compressed_texture_astc"),s!==null){if(i===wf)return o===bt?s.COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR:s.COMPRESSED_RGBA_ASTC_4x4_KHR;if(i===Af)return o===bt?s.COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR:s.COMPRESSED_RGBA_ASTC_5x4_KHR;if(i===Cf)return o===bt?s.COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR:s.COMPRESSED_RGBA_ASTC_5x5_KHR;if(i===Rf)return o===bt?s.COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR:s.COMPRESSED_RGBA_ASTC_6x5_KHR;if(i===Pf)return o===bt?s.COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR:s.COMPRESSED_RGBA_ASTC_6x6_KHR;if(i===If)return o===bt?s.COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR:s.COMPRESSED_RGBA_ASTC_8x5_KHR;if(i===Lf)return o===bt?s.COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR:s.COMPRESSED_RGBA_ASTC_8x6_KHR;if(i===Df)return o===bt?s.COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR:s.COMPRESSED_RGBA_ASTC_8x8_KHR;if(i===Of)return o===bt?s.COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR:s.COMPRESSED_RGBA_ASTC_10x5_KHR;if(i===Nf)return o===bt?s.COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR:s.COMPRESSED_RGBA_ASTC_10x6_KHR;if(i===Uf)return o===bt?s.COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR:s.COMPRESSED_RGBA_ASTC_10x8_KHR;if(i===Ff)return o===bt?s.COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR:s.COMPRESSED_RGBA_ASTC_10x10_KHR;if(i===Bf)return o===bt?s.COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR:s.COMPRESSED_RGBA_ASTC_12x10_KHR;if(i===kf)return o===bt?s.COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR:s.COMPRESSED_RGBA_ASTC_12x12_KHR}else return null;if(i===rl||i===zf||i===Vf)if(s=e.get("EXT_texture_compression_bptc"),s!==null){if(i===rl)return o===bt?s.COMPRESSED_SRGB_ALPHA_BPTC_UNORM_EXT:s.COMPRESSED_RGBA_BPTC_UNORM_EXT;if(i===zf)return s.COMPRESSED_RGB_BPTC_SIGNED_FLOAT_EXT;if(i===Vf)return s.COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT_EXT}else return null;if(i===Mg||i===Hf||i===Gf||i===Wf)if(s=e.get("EXT_texture_compression_rgtc"),s!==null){if(i===rl)return s.COMPRESSED_RED_RGTC1_EXT;if(i===Hf)return s.COMPRESSED_SIGNED_RED_RGTC1_EXT;if(i===Gf)return s.COMPRESSED_RED_GREEN_RGTC2_EXT;if(i===Wf)return s.COMPRESSED_SIGNED_RED_GREEN_RGTC2_EXT}else return null;return i===lo?n.UNSIGNED_INT_24_8:n[i]!==void 0?n[i]:null}return{convert:t}}const dN=` +}`;function cN(n,e,t){let i=new mc;const r=new fe,s=new fe,o=new ht,a=new zg({depthPacking:FS}),l=new Hg,c={},u=t.maxTextureSize,f={[Er]:Dn,[Dn]:Er,[Si]:Si},h=new Ri({defines:{VSM_SAMPLES:8},uniforms:{shadow_pass:{value:null},resolution:{value:new fe},radius:{value:4}},vertexShader:aN,fragmentShader:lN}),d=h.clone();d.defines.HORIZONTAL_PASS=1;const p=new st;p.setAttribute("position",new Et(new Float32Array([-1,-1,.5,3,-1,.5,-1,3,.5]),3));const _=new Ht(p,h),g=this;this.enabled=!1,this.autoUpdate=!0,this.needsUpdate=!1,this.type=hg;let m=this.type;this.render=function(T,M,P){if(g.enabled===!1||g.autoUpdate===!1&&g.needsUpdate===!1||T.length===0)return;const b=n.getRenderTarget(),S=n.getActiveCubeFace(),D=n.getActiveMipmapLevel(),B=n.state;B.setBlending(xr),B.buffers.color.setClear(1,1,1,1),B.buffers.depth.setTest(!0),B.setScissorTest(!1);const H=m!==Bi&&this.type===Bi,$=m===Bi&&this.type!==Bi;for(let ee=0,Z=T.length;eeu||r.y>u)&&(r.x>u&&(s.x=Math.floor(u/pe.x),r.x=s.x*pe.x,Q.mapSize.x=s.x),r.y>u&&(s.y=Math.floor(u/pe.y),r.y=s.y*pe.y,Q.mapSize.y=s.y)),Q.map===null||H===!0||$===!0){const re=this.type!==Bi?{minFilter:cn,magFilter:cn}:{};Q.map!==null&&Q.map.dispose(),Q.map=new Yi(r.x,r.y,re),Q.map.texture.name=te.name+".shadowMap",Q.camera.updateProjectionMatrix()}n.setRenderTarget(Q.map),n.clear();const ve=Q.getViewportCount();for(let re=0;re0||M.map&&M.alphaTest>0){const B=S.uuid,H=M.uuid;let $=c[B];$===void 0&&($={},c[B]=$);let ee=$[H];ee===void 0&&(ee=S.clone(),$[H]=ee,M.addEventListener("dispose",E)),S=ee}if(S.visible=M.visible,S.wireframe=M.wireframe,b===Bi?S.side=M.shadowSide!==null?M.shadowSide:M.side:S.side=M.shadowSide!==null?M.shadowSide:f[M.side],S.alphaMap=M.alphaMap,S.alphaTest=M.alphaTest,S.map=M.map,S.clipShadows=M.clipShadows,S.clippingPlanes=M.clippingPlanes,S.clipIntersection=M.clipIntersection,S.displacementMap=M.displacementMap,S.displacementScale=M.displacementScale,S.displacementBias=M.displacementBias,S.wireframeLinewidth=M.wireframeLinewidth,S.linewidth=M.linewidth,P.isPointLight===!0&&S.isMeshDistanceMaterial===!0){const B=n.properties.get(S);B.light=P}return S}function v(T,M,P,b,S){if(T.visible===!1)return;if(T.layers.test(M.layers)&&(T.isMesh||T.isLine||T.isPoints)&&(T.castShadow||T.receiveShadow&&S===Bi)&&(!T.frustumCulled||i.intersectsObject(T))){T.modelViewMatrix.multiplyMatrices(P.matrixWorldInverse,T.matrixWorld);const H=e.update(T),$=T.material;if(Array.isArray($)){const ee=H.groups;for(let Z=0,te=ee.length;Z=1):Q.indexOf("OpenGL ES")!==-1&&(te=parseFloat(/^OpenGL ES (\d)/.exec(Q)[1]),Z=te>=2);let pe=null,ve={};const re=n.getParameter(n.SCISSOR_BOX),xe=n.getParameter(n.VIEWPORT),ze=new ht().fromArray(re),se=new ht().fromArray(xe);function ge(X,Ae,oe,de){const Pe=new Uint8Array(4),Re=n.createTexture();n.bindTexture(X,Re),n.texParameteri(X,n.TEXTURE_MIN_FILTER,n.NEAREST),n.texParameteri(X,n.TEXTURE_MAG_FILTER,n.NEAREST);for(let nt=0;nt"u"?!1:/OculusBrowser/g.test(navigator.userAgent),c=new fe,u=new WeakMap;let f;const h=new WeakMap;let d=!1;try{d=typeof OffscreenCanvas<"u"&&new OffscreenCanvas(1,1).getContext("2d")!==null}catch{}function p(A,C){return d?new OffscreenCanvas(A,C):kl("canvas")}function _(A,C,k){let U=1;const z=V(A);if((z.width>k||z.height>k)&&(U=k/Math.max(z.width,z.height)),U<1)if(typeof HTMLImageElement<"u"&&A instanceof HTMLImageElement||typeof HTMLCanvasElement<"u"&&A instanceof HTMLCanvasElement||typeof ImageBitmap<"u"&&A instanceof ImageBitmap||typeof VideoFrame<"u"&&A instanceof VideoFrame){const Y=Math.floor(U*z.width),he=Math.floor(U*z.height);f===void 0&&(f=p(Y,he));const ce=C?p(Y,he):f;return ce.width=Y,ce.height=he,ce.getContext("2d").drawImage(A,0,0,Y,he),console.warn("THREE.WebGLRenderer: Texture has been resized from ("+z.width+"x"+z.height+") to ("+Y+"x"+he+")."),ce}else return"data"in A&&console.warn("THREE.WebGLRenderer: Image in DataTexture is too big ("+z.width+"x"+z.height+")."),A;return A}function g(A){return A.generateMipmaps}function m(A){n.generateMipmap(A)}function y(A){return A.isWebGLCubeRenderTarget?n.TEXTURE_CUBE_MAP:A.isWebGL3DRenderTarget?n.TEXTURE_3D:A.isWebGLArrayRenderTarget||A.isCompressedArrayTexture?n.TEXTURE_2D_ARRAY:n.TEXTURE_2D}function x(A,C,k,U,z=!1){if(A!==null){if(n[A]!==void 0)return n[A];console.warn("THREE.WebGLRenderer: Attempt to use non-existing WebGL internal format '"+A+"'")}let Y=C;if(C===n.RED&&(k===n.FLOAT&&(Y=n.R32F),k===n.HALF_FLOAT&&(Y=n.R16F),k===n.UNSIGNED_BYTE&&(Y=n.R8)),C===n.RED_INTEGER&&(k===n.UNSIGNED_BYTE&&(Y=n.R8UI),k===n.UNSIGNED_SHORT&&(Y=n.R16UI),k===n.UNSIGNED_INT&&(Y=n.R32UI),k===n.BYTE&&(Y=n.R8I),k===n.SHORT&&(Y=n.R16I),k===n.INT&&(Y=n.R32I)),C===n.RG&&(k===n.FLOAT&&(Y=n.RG32F),k===n.HALF_FLOAT&&(Y=n.RG16F),k===n.UNSIGNED_BYTE&&(Y=n.RG8)),C===n.RG_INTEGER&&(k===n.UNSIGNED_BYTE&&(Y=n.RG8UI),k===n.UNSIGNED_SHORT&&(Y=n.RG16UI),k===n.UNSIGNED_INT&&(Y=n.RG32UI),k===n.BYTE&&(Y=n.RG8I),k===n.SHORT&&(Y=n.RG16I),k===n.INT&&(Y=n.RG32I)),C===n.RGB_INTEGER&&(k===n.UNSIGNED_BYTE&&(Y=n.RGB8UI),k===n.UNSIGNED_SHORT&&(Y=n.RGB16UI),k===n.UNSIGNED_INT&&(Y=n.RGB32UI),k===n.BYTE&&(Y=n.RGB8I),k===n.SHORT&&(Y=n.RGB16I),k===n.INT&&(Y=n.RGB32I)),C===n.RGBA_INTEGER&&(k===n.UNSIGNED_BYTE&&(Y=n.RGBA8UI),k===n.UNSIGNED_SHORT&&(Y=n.RGBA16UI),k===n.UNSIGNED_INT&&(Y=n.RGBA32UI),k===n.BYTE&&(Y=n.RGBA8I),k===n.SHORT&&(Y=n.RGBA16I),k===n.INT&&(Y=n.RGBA32I)),C===n.RGB&&k===n.UNSIGNED_INT_5_9_9_9_REV&&(Y=n.RGB9_E5),C===n.RGBA){const he=z?Ul:at.getTransfer(U);k===n.FLOAT&&(Y=n.RGBA32F),k===n.HALF_FLOAT&&(Y=n.RGBA16F),k===n.UNSIGNED_BYTE&&(Y=he===St?n.SRGB8_ALPHA8:n.RGBA8),k===n.UNSIGNED_SHORT_4_4_4_4&&(Y=n.RGBA4),k===n.UNSIGNED_SHORT_5_5_5_1&&(Y=n.RGB5_A1)}return(Y===n.R16F||Y===n.R32F||Y===n.RG16F||Y===n.RG32F||Y===n.RGBA16F||Y===n.RGBA32F)&&e.get("EXT_color_buffer_float"),Y}function v(A,C){let k;return A?C===null||C===wr||C===lo?k=n.DEPTH24_STENCIL8:C===Hn?k=n.DEPTH32F_STENCIL8:C===oa&&(k=n.DEPTH24_STENCIL8,console.warn("DepthTexture: 16 bit depth attachment is not supported with stencil. Using 24-bit attachment.")):C===null||C===wr||C===lo?k=n.DEPTH_COMPONENT24:C===Hn?k=n.DEPTH_COMPONENT32F:C===oa&&(k=n.DEPTH_COMPONENT16),k}function E(A,C){return g(A)===!0||A.isFramebufferTexture&&A.minFilter!==cn&&A.minFilter!==jt?Math.log2(Math.max(C.width,C.height))+1:A.mipmaps!==void 0&&A.mipmaps.length>0?A.mipmaps.length:A.isCompressedTexture&&Array.isArray(A.image)?C.mipmaps.length:1}function T(A){const C=A.target;C.removeEventListener("dispose",T),P(C),C.isVideoTexture&&u.delete(C)}function M(A){const C=A.target;C.removeEventListener("dispose",M),S(C)}function P(A){const C=i.get(A);if(C.__webglInit===void 0)return;const k=A.source,U=h.get(k);if(U){const z=U[C.__cacheKey];z.usedTimes--,z.usedTimes===0&&b(A),Object.keys(U).length===0&&h.delete(k)}i.remove(A)}function b(A){const C=i.get(A);n.deleteTexture(C.__webglTexture);const k=A.source,U=h.get(k);delete U[C.__cacheKey],o.memory.textures--}function S(A){const C=i.get(A);if(A.depthTexture&&(A.depthTexture.dispose(),i.remove(A.depthTexture)),A.isWebGLCubeRenderTarget)for(let U=0;U<6;U++){if(Array.isArray(C.__webglFramebuffer[U]))for(let z=0;z=r.maxTextures&&console.warn("THREE.WebGLTextures: Trying to use "+A+" texture units while this GPU supports only "+r.maxTextures),D+=1,A}function $(A){const C=[];return C.push(A.wrapS),C.push(A.wrapT),C.push(A.wrapR||0),C.push(A.magFilter),C.push(A.minFilter),C.push(A.anisotropy),C.push(A.internalFormat),C.push(A.format),C.push(A.type),C.push(A.generateMipmaps),C.push(A.premultiplyAlpha),C.push(A.flipY),C.push(A.unpackAlignment),C.push(A.colorSpace),C.join()}function ee(A,C){const k=i.get(A);if(A.isVideoTexture&&R(A),A.isRenderTargetTexture===!1&&A.version>0&&k.__version!==A.version){const U=A.image;if(U===null)console.warn("THREE.WebGLRenderer: Texture marked for update but no image data found.");else if(U.complete===!1)console.warn("THREE.WebGLRenderer: Texture marked for update but image is incomplete");else{se(k,A,C);return}}t.bindTexture(n.TEXTURE_2D,k.__webglTexture,n.TEXTURE0+C)}function Z(A,C){const k=i.get(A);if(A.version>0&&k.__version!==A.version){se(k,A,C);return}t.bindTexture(n.TEXTURE_2D_ARRAY,k.__webglTexture,n.TEXTURE0+C)}function te(A,C){const k=i.get(A);if(A.version>0&&k.__version!==A.version){se(k,A,C);return}t.bindTexture(n.TEXTURE_3D,k.__webglTexture,n.TEXTURE0+C)}function Q(A,C){const k=i.get(A);if(A.version>0&&k.__version!==A.version){ge(k,A,C);return}t.bindTexture(n.TEXTURE_CUBE_MAP,k.__webglTexture,n.TEXTURE0+C)}const pe={[Ll]:n.REPEAT,[li]:n.CLAMP_TO_EDGE,[Dl]:n.MIRRORED_REPEAT},ve={[cn]:n.NEAREST,[pg]:n.NEAREST_MIPMAP_NEAREST,[Xo]:n.NEAREST_MIPMAP_LINEAR,[jt]:n.LINEAR,[Qa]:n.LINEAR_MIPMAP_NEAREST,[Vi]:n.LINEAR_MIPMAP_LINEAR},re={[kS]:n.NEVER,[XS]:n.ALWAYS,[VS]:n.LESS,[Tg]:n.LEQUAL,[zS]:n.EQUAL,[WS]:n.GEQUAL,[HS]:n.GREATER,[GS]:n.NOTEQUAL};function xe(A,C){if(C.type===Hn&&e.has("OES_texture_float_linear")===!1&&(C.magFilter===jt||C.magFilter===Qa||C.magFilter===Xo||C.magFilter===Vi||C.minFilter===jt||C.minFilter===Qa||C.minFilter===Xo||C.minFilter===Vi)&&console.warn("THREE.WebGLRenderer: Unable to use linear filtering with floating point textures. OES_texture_float_linear not supported on this device."),n.texParameteri(A,n.TEXTURE_WRAP_S,pe[C.wrapS]),n.texParameteri(A,n.TEXTURE_WRAP_T,pe[C.wrapT]),(A===n.TEXTURE_3D||A===n.TEXTURE_2D_ARRAY)&&n.texParameteri(A,n.TEXTURE_WRAP_R,pe[C.wrapR]),n.texParameteri(A,n.TEXTURE_MAG_FILTER,ve[C.magFilter]),n.texParameteri(A,n.TEXTURE_MIN_FILTER,ve[C.minFilter]),C.compareFunction&&(n.texParameteri(A,n.TEXTURE_COMPARE_MODE,n.COMPARE_REF_TO_TEXTURE),n.texParameteri(A,n.TEXTURE_COMPARE_FUNC,re[C.compareFunction])),e.has("EXT_texture_filter_anisotropic")===!0){if(C.magFilter===cn||C.minFilter!==Xo&&C.minFilter!==Vi||C.type===Hn&&e.has("OES_texture_float_linear")===!1)return;if(C.anisotropy>1||i.get(C).__currentAnisotropy){const k=e.get("EXT_texture_filter_anisotropic");n.texParameterf(A,k.TEXTURE_MAX_ANISOTROPY_EXT,Math.min(C.anisotropy,r.getMaxAnisotropy())),i.get(C).__currentAnisotropy=C.anisotropy}}}function ze(A,C){let k=!1;A.__webglInit===void 0&&(A.__webglInit=!0,C.addEventListener("dispose",T));const U=C.source;let z=h.get(U);z===void 0&&(z={},h.set(U,z));const Y=$(C);if(Y!==A.__cacheKey){z[Y]===void 0&&(z[Y]={texture:n.createTexture(),usedTimes:0},o.memory.textures++,k=!0),z[Y].usedTimes++;const he=z[A.__cacheKey];he!==void 0&&(z[A.__cacheKey].usedTimes--,he.usedTimes===0&&b(C)),A.__cacheKey=Y,A.__webglTexture=z[Y].texture}return k}function se(A,C,k){let U=n.TEXTURE_2D;(C.isDataArrayTexture||C.isCompressedArrayTexture)&&(U=n.TEXTURE_2D_ARRAY),C.isData3DTexture&&(U=n.TEXTURE_3D);const z=ze(A,C),Y=C.source;t.bindTexture(U,A.__webglTexture,n.TEXTURE0+k);const he=i.get(Y);if(Y.version!==he.__version||z===!0){t.activeTexture(n.TEXTURE0+k);const ce=at.getPrimaries(at.workingColorSpace),ye=C.colorSpace===dr?null:at.getPrimaries(C.colorSpace),Fe=C.colorSpace===dr||ce===ye?n.NONE:n.BROWSER_DEFAULT_WEBGL;n.pixelStorei(n.UNPACK_FLIP_Y_WEBGL,C.flipY),n.pixelStorei(n.UNPACK_PREMULTIPLY_ALPHA_WEBGL,C.premultiplyAlpha),n.pixelStorei(n.UNPACK_ALIGNMENT,C.unpackAlignment),n.pixelStorei(n.UNPACK_COLORSPACE_CONVERSION_WEBGL,Fe);let me=_(C.image,!1,r.maxTextureSize);me=N(C,me);const Te=s.convert(C.format,C.colorSpace),ke=s.convert(C.type);let We=x(C.internalFormat,Te,ke,C.colorSpace,C.isVideoTexture);xe(U,C);let Me;const qe=C.mipmaps,Qe=C.isVideoTexture!==!0,Ct=he.__version===void 0||z===!0,X=Y.dataReady,Ae=E(C,me);if(C.isDepthTexture)We=v(C.format===co,C.type),Ct&&(Qe?t.texStorage2D(n.TEXTURE_2D,1,We,me.width,me.height):t.texImage2D(n.TEXTURE_2D,0,We,me.width,me.height,0,Te,ke,null));else if(C.isDataTexture)if(qe.length>0){Qe&&Ct&&t.texStorage2D(n.TEXTURE_2D,Ae,We,qe[0].width,qe[0].height);for(let oe=0,de=qe.length;oe0){const Pe=om(Me.width,Me.height,C.format,C.type);for(const Re of C.layerUpdates){const nt=Me.data.subarray(Re*Pe/Me.data.BYTES_PER_ELEMENT,(Re+1)*Pe/Me.data.BYTES_PER_ELEMENT);t.compressedTexSubImage3D(n.TEXTURE_2D_ARRAY,oe,0,0,Re,Me.width,Me.height,1,Te,nt)}C.clearLayerUpdates()}else t.compressedTexSubImage3D(n.TEXTURE_2D_ARRAY,oe,0,0,0,Me.width,Me.height,me.depth,Te,Me.data)}else t.compressedTexImage3D(n.TEXTURE_2D_ARRAY,oe,We,Me.width,Me.height,me.depth,0,Me.data,0,0);else console.warn("THREE.WebGLRenderer: Attempt to load unsupported compressed texture format in .uploadTexture()");else Qe?X&&t.texSubImage3D(n.TEXTURE_2D_ARRAY,oe,0,0,0,Me.width,Me.height,me.depth,Te,ke,Me.data):t.texImage3D(n.TEXTURE_2D_ARRAY,oe,We,Me.width,Me.height,me.depth,0,Te,ke,Me.data)}else{Qe&&Ct&&t.texStorage2D(n.TEXTURE_2D,Ae,We,qe[0].width,qe[0].height);for(let oe=0,de=qe.length;oe0){const oe=om(me.width,me.height,C.format,C.type);for(const de of C.layerUpdates){const Pe=me.data.subarray(de*oe/me.data.BYTES_PER_ELEMENT,(de+1)*oe/me.data.BYTES_PER_ELEMENT);t.texSubImage3D(n.TEXTURE_2D_ARRAY,0,0,0,de,me.width,me.height,1,Te,ke,Pe)}C.clearLayerUpdates()}else t.texSubImage3D(n.TEXTURE_2D_ARRAY,0,0,0,0,me.width,me.height,me.depth,Te,ke,me.data)}else t.texImage3D(n.TEXTURE_2D_ARRAY,0,We,me.width,me.height,me.depth,0,Te,ke,me.data);else if(C.isData3DTexture)Qe?(Ct&&t.texStorage3D(n.TEXTURE_3D,Ae,We,me.width,me.height,me.depth),X&&t.texSubImage3D(n.TEXTURE_3D,0,0,0,0,me.width,me.height,me.depth,Te,ke,me.data)):t.texImage3D(n.TEXTURE_3D,0,We,me.width,me.height,me.depth,0,Te,ke,me.data);else if(C.isFramebufferTexture){if(Ct)if(Qe)t.texStorage2D(n.TEXTURE_2D,Ae,We,me.width,me.height);else{let oe=me.width,de=me.height;for(let Pe=0;Pe>=1,de>>=1}}else if(qe.length>0){if(Qe&&Ct){const oe=V(qe[0]);t.texStorage2D(n.TEXTURE_2D,Ae,We,oe.width,oe.height)}for(let oe=0,de=qe.length;oe0&&Ae++;const de=V(Te[0]);t.texStorage2D(n.TEXTURE_CUBE_MAP,Ae,qe,de.width,de.height)}for(let de=0;de<6;de++)if(me){Qe?X&&t.texSubImage2D(n.TEXTURE_CUBE_MAP_POSITIVE_X+de,0,0,0,Te[de].width,Te[de].height,We,Me,Te[de].data):t.texImage2D(n.TEXTURE_CUBE_MAP_POSITIVE_X+de,0,qe,Te[de].width,Te[de].height,0,We,Me,Te[de].data);for(let Pe=0;Pe>Y),ke=Math.max(1,C.height>>Y);z===n.TEXTURE_3D||z===n.TEXTURE_2D_ARRAY?t.texImage3D(z,Y,ye,Te,ke,C.depth,0,he,ce,null):t.texImage2D(z,Y,ye,Te,ke,0,he,ce,null)}t.bindFramebuffer(n.FRAMEBUFFER,A),q(C)?a.framebufferTexture2DMultisampleEXT(n.FRAMEBUFFER,U,z,me.__webglTexture,0,G(C)):(z===n.TEXTURE_2D||z>=n.TEXTURE_CUBE_MAP_POSITIVE_X&&z<=n.TEXTURE_CUBE_MAP_NEGATIVE_Z)&&n.framebufferTexture2D(n.FRAMEBUFFER,U,z,me.__webglTexture,Y),t.bindFramebuffer(n.FRAMEBUFFER,null)}function W(A,C,k){if(n.bindRenderbuffer(n.RENDERBUFFER,A),C.depthBuffer){const U=C.depthTexture,z=U&&U.isDepthTexture?U.type:null,Y=v(C.stencilBuffer,z),he=C.stencilBuffer?n.DEPTH_STENCIL_ATTACHMENT:n.DEPTH_ATTACHMENT,ce=G(C);q(C)?a.renderbufferStorageMultisampleEXT(n.RENDERBUFFER,ce,Y,C.width,C.height):k?n.renderbufferStorageMultisample(n.RENDERBUFFER,ce,Y,C.width,C.height):n.renderbufferStorage(n.RENDERBUFFER,Y,C.width,C.height),n.framebufferRenderbuffer(n.FRAMEBUFFER,he,n.RENDERBUFFER,A)}else{const U=C.textures;for(let z=0;z{delete C.__boundDepthTexture,delete C.__depthDisposeCallback,U.removeEventListener("dispose",z)};U.addEventListener("dispose",z),C.__depthDisposeCallback=z}C.__boundDepthTexture=U}if(A.depthTexture&&!C.__autoAllocateDepthBuffer){if(k)throw new Error("target.depthTexture not supported in Cube render targets");ae(C.__webglFramebuffer,A)}else if(k){C.__webglDepthbuffer=[];for(let U=0;U<6;U++)if(t.bindFramebuffer(n.FRAMEBUFFER,C.__webglFramebuffer[U]),C.__webglDepthbuffer[U]===void 0)C.__webglDepthbuffer[U]=n.createRenderbuffer(),W(C.__webglDepthbuffer[U],A,!1);else{const z=A.stencilBuffer?n.DEPTH_STENCIL_ATTACHMENT:n.DEPTH_ATTACHMENT,Y=C.__webglDepthbuffer[U];n.bindRenderbuffer(n.RENDERBUFFER,Y),n.framebufferRenderbuffer(n.FRAMEBUFFER,z,n.RENDERBUFFER,Y)}}else if(t.bindFramebuffer(n.FRAMEBUFFER,C.__webglFramebuffer),C.__webglDepthbuffer===void 0)C.__webglDepthbuffer=n.createRenderbuffer(),W(C.__webglDepthbuffer,A,!1);else{const U=A.stencilBuffer?n.DEPTH_STENCIL_ATTACHMENT:n.DEPTH_ATTACHMENT,z=C.__webglDepthbuffer;n.bindRenderbuffer(n.RENDERBUFFER,z),n.framebufferRenderbuffer(n.FRAMEBUFFER,U,n.RENDERBUFFER,z)}t.bindFramebuffer(n.FRAMEBUFFER,null)}function le(A,C,k){const U=i.get(A);C!==void 0&&be(U.__webglFramebuffer,A,A.texture,n.COLOR_ATTACHMENT0,n.TEXTURE_2D,0),k!==void 0&&ue(A)}function Oe(A){const C=A.texture,k=i.get(A),U=i.get(C);A.addEventListener("dispose",M);const z=A.textures,Y=A.isWebGLCubeRenderTarget===!0,he=z.length>1;if(he||(U.__webglTexture===void 0&&(U.__webglTexture=n.createTexture()),U.__version=C.version,o.memory.textures++),Y){k.__webglFramebuffer=[];for(let ce=0;ce<6;ce++)if(C.mipmaps&&C.mipmaps.length>0){k.__webglFramebuffer[ce]=[];for(let ye=0;ye0){k.__webglFramebuffer=[];for(let ce=0;ce0&&q(A)===!1){k.__webglMultisampledFramebuffer=n.createFramebuffer(),k.__webglColorRenderbuffer=[],t.bindFramebuffer(n.FRAMEBUFFER,k.__webglMultisampledFramebuffer);for(let ce=0;ce0)for(let ye=0;ye0)for(let ye=0;ye0){if(q(A)===!1){const C=A.textures,k=A.width,U=A.height;let z=n.COLOR_BUFFER_BIT;const Y=A.stencilBuffer?n.DEPTH_STENCIL_ATTACHMENT:n.DEPTH_ATTACHMENT,he=i.get(A),ce=C.length>1;if(ce)for(let ye=0;ye0&&e.has("WEBGL_multisampled_render_to_texture")===!0&&C.__useRenderToTexture!==!1}function R(A){const C=o.render.frame;u.get(A)!==C&&(u.set(A,C),A.update())}function N(A,C){const k=A.colorSpace,U=A.format,z=A.type;return A.isCompressedTexture===!0||A.isVideoTexture===!0||k!==uo&&k!==dr&&(at.getTransfer(k)===St?(U!==Ln||z!==qi)&&console.warn("THREE.WebGLTextures: sRGB encoded textures have to use RGBAFormat and UnsignedByteType."):console.error("THREE.WebGLTextures: Unsupported texture color space:",k)),C}function V(A){return typeof HTMLImageElement<"u"&&A instanceof HTMLImageElement?(c.width=A.naturalWidth||A.width,c.height=A.naturalHeight||A.height):typeof VideoFrame<"u"&&A instanceof VideoFrame?(c.width=A.displayWidth,c.height=A.displayHeight):(c.width=A.width,c.height=A.height),c}this.allocateTextureUnit=H,this.resetTextureUnits=B,this.setTexture2D=ee,this.setTexture2DArray=Z,this.setTexture3D=te,this.setTextureCube=Q,this.rebindTextures=le,this.setupRenderTarget=Oe,this.updateRenderTargetMipmap=I,this.updateMultisampleRenderTarget=j,this.setupDepthRenderbuffer=ue,this.setupFrameBufferTexture=be,this.useMultisampledRTT=q}function tE(n,e){function t(i,r=dr){let s;const o=at.getTransfer(r);if(i===qi)return n.UNSIGNED_BYTE;if(i===Mh)return n.UNSIGNED_SHORT_4_4_4_4;if(i===Eh)return n.UNSIGNED_SHORT_5_5_5_1;if(i===_g)return n.UNSIGNED_INT_5_9_9_9_REV;if(i===mg)return n.BYTE;if(i===gg)return n.SHORT;if(i===oa)return n.UNSIGNED_SHORT;if(i===Sh)return n.INT;if(i===wr)return n.UNSIGNED_INT;if(i===Hn)return n.FLOAT;if(i===va)return n.HALF_FLOAT;if(i===vg)return n.ALPHA;if(i===yg)return n.RGB;if(i===Ln)return n.RGBA;if(i===xg)return n.LUMINANCE;if(i===bg)return n.LUMINANCE_ALPHA;if(i===to)return n.DEPTH_COMPONENT;if(i===co)return n.DEPTH_STENCIL;if(i===Th)return n.RED;if(i===fc)return n.RED_INTEGER;if(i===Sg)return n.RG;if(i===wh)return n.RG_INTEGER;if(i===Ah)return n.RGBA_INTEGER;if(i===el||i===tl||i===nl||i===il)if(o===St)if(s=e.get("WEBGL_compressed_texture_s3tc_srgb"),s!==null){if(i===el)return s.COMPRESSED_SRGB_S3TC_DXT1_EXT;if(i===tl)return s.COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT;if(i===nl)return s.COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT;if(i===il)return s.COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT}else return null;else if(s=e.get("WEBGL_compressed_texture_s3tc"),s!==null){if(i===el)return s.COMPRESSED_RGB_S3TC_DXT1_EXT;if(i===tl)return s.COMPRESSED_RGBA_S3TC_DXT1_EXT;if(i===nl)return s.COMPRESSED_RGBA_S3TC_DXT3_EXT;if(i===il)return s.COMPRESSED_RGBA_S3TC_DXT5_EXT}else return null;if(i===yf||i===xf||i===bf||i===Sf)if(s=e.get("WEBGL_compressed_texture_pvrtc"),s!==null){if(i===yf)return s.COMPRESSED_RGB_PVRTC_4BPPV1_IMG;if(i===xf)return s.COMPRESSED_RGB_PVRTC_2BPPV1_IMG;if(i===bf)return s.COMPRESSED_RGBA_PVRTC_4BPPV1_IMG;if(i===Sf)return s.COMPRESSED_RGBA_PVRTC_2BPPV1_IMG}else return null;if(i===Mf||i===Ef||i===Tf)if(s=e.get("WEBGL_compressed_texture_etc"),s!==null){if(i===Mf||i===Ef)return o===St?s.COMPRESSED_SRGB8_ETC2:s.COMPRESSED_RGB8_ETC2;if(i===Tf)return o===St?s.COMPRESSED_SRGB8_ALPHA8_ETC2_EAC:s.COMPRESSED_RGBA8_ETC2_EAC}else return null;if(i===wf||i===Af||i===Cf||i===Rf||i===Pf||i===If||i===Lf||i===Df||i===Of||i===Nf||i===Uf||i===Ff||i===Bf||i===kf)if(s=e.get("WEBGL_compressed_texture_astc"),s!==null){if(i===wf)return o===St?s.COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR:s.COMPRESSED_RGBA_ASTC_4x4_KHR;if(i===Af)return o===St?s.COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR:s.COMPRESSED_RGBA_ASTC_5x4_KHR;if(i===Cf)return o===St?s.COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR:s.COMPRESSED_RGBA_ASTC_5x5_KHR;if(i===Rf)return o===St?s.COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR:s.COMPRESSED_RGBA_ASTC_6x5_KHR;if(i===Pf)return o===St?s.COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR:s.COMPRESSED_RGBA_ASTC_6x6_KHR;if(i===If)return o===St?s.COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR:s.COMPRESSED_RGBA_ASTC_8x5_KHR;if(i===Lf)return o===St?s.COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR:s.COMPRESSED_RGBA_ASTC_8x6_KHR;if(i===Df)return o===St?s.COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR:s.COMPRESSED_RGBA_ASTC_8x8_KHR;if(i===Of)return o===St?s.COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR:s.COMPRESSED_RGBA_ASTC_10x5_KHR;if(i===Nf)return o===St?s.COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR:s.COMPRESSED_RGBA_ASTC_10x6_KHR;if(i===Uf)return o===St?s.COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR:s.COMPRESSED_RGBA_ASTC_10x8_KHR;if(i===Ff)return o===St?s.COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR:s.COMPRESSED_RGBA_ASTC_10x10_KHR;if(i===Bf)return o===St?s.COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR:s.COMPRESSED_RGBA_ASTC_12x10_KHR;if(i===kf)return o===St?s.COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR:s.COMPRESSED_RGBA_ASTC_12x12_KHR}else return null;if(i===rl||i===Vf||i===zf)if(s=e.get("EXT_texture_compression_bptc"),s!==null){if(i===rl)return o===St?s.COMPRESSED_SRGB_ALPHA_BPTC_UNORM_EXT:s.COMPRESSED_RGBA_BPTC_UNORM_EXT;if(i===Vf)return s.COMPRESSED_RGB_BPTC_SIGNED_FLOAT_EXT;if(i===zf)return s.COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT_EXT}else return null;if(i===Mg||i===Hf||i===Gf||i===Wf)if(s=e.get("EXT_texture_compression_rgtc"),s!==null){if(i===rl)return s.COMPRESSED_RED_RGTC1_EXT;if(i===Hf)return s.COMPRESSED_SIGNED_RED_RGTC1_EXT;if(i===Gf)return s.COMPRESSED_RED_GREEN_RGTC2_EXT;if(i===Wf)return s.COMPRESSED_SIGNED_RED_GREEN_RGTC2_EXT}else return null;return i===lo?n.UNSIGNED_INT_24_8:n[i]!==void 0?n[i]:null}return{convert:t}}const dN=` void main() { gl_Position = vec4( position, 1.0 ); @@ -3841,34 +3841,34 @@ void main() { } -}`;class mN{constructor(){this.texture=null,this.mesh=null,this.depthNear=0,this.depthFar=0}init(e,t,i){if(this.texture===null){const r=new zt,s=e.properties.get(r);s.__webglTexture=t.texture,(t.depthNear!==i.depthNear||t.depthFar!==i.depthFar)&&(this.depthNear=t.depthNear,this.depthFar=t.depthFar),this.texture=r}}getMesh(e){if(this.texture!==null&&this.mesh===null){const t=e.cameras[0].viewport,i=new Ri({vertexShader:dN,fragmentShader:pN,uniforms:{depthColor:{value:this.texture},depthWidth:{value:t.z},depthHeight:{value:t.w}}});this.mesh=new Ht(new ba(20,20),i)}return this.mesh}reset(){this.texture=null,this.mesh=null}getDepthTexture(){return this.texture}}class gN extends ji{constructor(e,t){super();const i=this;let r=null,s=1,o=null,a="local-floor",l=1,c=null,u=null,f=null,h=null,d=null,p=null;const _=new mN,g=t.getContextAttributes();let m=null,y=null;const x=[],v=[],E=new fe;let T=null;const M=new $t;M.viewport=new ht;const P=new $t;P.viewport=new ht;const b=[M,P],S=new WM;let D=null,B=null;this.cameraAutoUpdate=!0,this.enabled=!1,this.isPresenting=!1,this.getController=function(se){let ge=x[se];return ge===void 0&&(ge=new Wu,x[se]=ge),ge.getTargetRaySpace()},this.getControllerGrip=function(se){let ge=x[se];return ge===void 0&&(ge=new Wu,x[se]=ge),ge.getGripSpace()},this.getHand=function(se){let ge=x[se];return ge===void 0&&(ge=new Wu,x[se]=ge),ge.getHandSpace()};function H(se){const ge=v.indexOf(se.inputSource);if(ge===-1)return;const be=x[ge];be!==void 0&&(be.update(se.inputSource,se.frame,c||o),be.dispatchEvent({type:se.type,data:se.inputSource}))}function $(){r.removeEventListener("select",H),r.removeEventListener("selectstart",H),r.removeEventListener("selectend",H),r.removeEventListener("squeeze",H),r.removeEventListener("squeezestart",H),r.removeEventListener("squeezeend",H),r.removeEventListener("end",$),r.removeEventListener("inputsourceschange",ee);for(let se=0;se=0&&(v[W]=null,x[W].disconnect(be))}for(let ge=0;ge=v.length){v.push(be),W=ue;break}else if(v[ue]===null){v[ue]=be,W=ue;break}if(W===-1)break}const ae=x[W];ae&&ae.connect(be)}}const Z=new F,te=new F;function Q(se,ge,be){Z.setFromMatrixPosition(ge.matrixWorld),te.setFromMatrixPosition(be.matrixWorld);const W=Z.distanceTo(te),ae=ge.projectionMatrix.elements,ue=be.projectionMatrix.elements,le=ae[14]/(ae[10]-1),Oe=ae[14]/(ae[10]+1),I=(ae[9]+1)/ae[5],L=(ae[9]-1)/ae[5],w=(ae[8]-1)/ae[0],j=(ue[8]+1)/ue[0],G=le*w,q=le*j,R=W/(-w+j),N=R*-w;if(ge.matrixWorld.decompose(se.position,se.quaternion,se.scale),se.translateX(N),se.translateZ(R),se.matrixWorld.compose(se.position,se.quaternion,se.scale),se.matrixWorldInverse.copy(se.matrixWorld).invert(),ae[10]===-1)se.projectionMatrix.copy(ge.projectionMatrix),se.projectionMatrixInverse.copy(ge.projectionMatrixInverse);else{const z=le+R,A=Oe+R,C=G-N,k=q+(W-N),U=I*Oe/A*z,V=L*Oe/A*z;se.projectionMatrix.makePerspective(C,k,U,V,z,A),se.projectionMatrixInverse.copy(se.projectionMatrix).invert()}}function pe(se,ge){ge===null?se.matrixWorld.copy(se.matrix):se.matrixWorld.multiplyMatrices(ge.matrixWorld,se.matrix),se.matrixWorldInverse.copy(se.matrixWorld).invert()}this.updateCamera=function(se){if(r===null)return;let ge=se.near,be=se.far;_.texture!==null&&(_.depthNear>0&&(ge=_.depthNear),_.depthFar>0&&(be=_.depthFar)),S.near=P.near=M.near=ge,S.far=P.far=M.far=be,(D!==S.near||B!==S.far)&&(r.updateRenderState({depthNear:S.near,depthFar:S.far}),D=S.near,B=S.far),M.layers.mask=se.layers.mask|2,P.layers.mask=se.layers.mask|4,S.layers.mask=M.layers.mask|P.layers.mask;const W=se.parent,ae=S.cameras;pe(S,W);for(let ue=0;ue0&&(g.alphaTest.value=m.alphaTest);const y=e.get(m),x=y.envMap,v=y.envMapRotation;x&&(g.envMap.value=x,Us.copy(v),Us.x*=-1,Us.y*=-1,Us.z*=-1,x.isCubeTexture&&x.isRenderTargetTexture===!1&&(Us.y*=-1,Us.z*=-1),g.envMapRotation.value.setFromMatrix4(_N.makeRotationFromEuler(Us)),g.flipEnvMap.value=x.isCubeTexture&&x.isRenderTargetTexture===!1?-1:1,g.reflectivity.value=m.reflectivity,g.ior.value=m.ior,g.refractionRatio.value=m.refractionRatio),m.lightMap&&(g.lightMap.value=m.lightMap,g.lightMapIntensity.value=m.lightMapIntensity,t(m.lightMap,g.lightMapTransform)),m.aoMap&&(g.aoMap.value=m.aoMap,g.aoMapIntensity.value=m.aoMapIntensity,t(m.aoMap,g.aoMapTransform))}function o(g,m){g.diffuse.value.copy(m.color),g.opacity.value=m.opacity,m.map&&(g.map.value=m.map,t(m.map,g.mapTransform))}function a(g,m){g.dashSize.value=m.dashSize,g.totalSize.value=m.dashSize+m.gapSize,g.scale.value=m.scale}function l(g,m,y,x){g.diffuse.value.copy(m.color),g.opacity.value=m.opacity,g.size.value=m.size*y,g.scale.value=x*.5,m.map&&(g.map.value=m.map,t(m.map,g.uvTransform)),m.alphaMap&&(g.alphaMap.value=m.alphaMap,t(m.alphaMap,g.alphaMapTransform)),m.alphaTest>0&&(g.alphaTest.value=m.alphaTest)}function c(g,m){g.diffuse.value.copy(m.color),g.opacity.value=m.opacity,g.rotation.value=m.rotation,m.map&&(g.map.value=m.map,t(m.map,g.mapTransform)),m.alphaMap&&(g.alphaMap.value=m.alphaMap,t(m.alphaMap,g.alphaMapTransform)),m.alphaTest>0&&(g.alphaTest.value=m.alphaTest)}function u(g,m){g.specular.value.copy(m.specular),g.shininess.value=Math.max(m.shininess,1e-4)}function f(g,m){m.gradientMap&&(g.gradientMap.value=m.gradientMap)}function h(g,m){g.metalness.value=m.metalness,m.metalnessMap&&(g.metalnessMap.value=m.metalnessMap,t(m.metalnessMap,g.metalnessMapTransform)),g.roughness.value=m.roughness,m.roughnessMap&&(g.roughnessMap.value=m.roughnessMap,t(m.roughnessMap,g.roughnessMapTransform)),m.envMap&&(g.envMapIntensity.value=m.envMapIntensity)}function d(g,m,y){g.ior.value=m.ior,m.sheen>0&&(g.sheenColor.value.copy(m.sheenColor).multiplyScalar(m.sheen),g.sheenRoughness.value=m.sheenRoughness,m.sheenColorMap&&(g.sheenColorMap.value=m.sheenColorMap,t(m.sheenColorMap,g.sheenColorMapTransform)),m.sheenRoughnessMap&&(g.sheenRoughnessMap.value=m.sheenRoughnessMap,t(m.sheenRoughnessMap,g.sheenRoughnessMapTransform))),m.clearcoat>0&&(g.clearcoat.value=m.clearcoat,g.clearcoatRoughness.value=m.clearcoatRoughness,m.clearcoatMap&&(g.clearcoatMap.value=m.clearcoatMap,t(m.clearcoatMap,g.clearcoatMapTransform)),m.clearcoatRoughnessMap&&(g.clearcoatRoughnessMap.value=m.clearcoatRoughnessMap,t(m.clearcoatRoughnessMap,g.clearcoatRoughnessMapTransform)),m.clearcoatNormalMap&&(g.clearcoatNormalMap.value=m.clearcoatNormalMap,t(m.clearcoatNormalMap,g.clearcoatNormalMapTransform),g.clearcoatNormalScale.value.copy(m.clearcoatNormalScale),m.side===Dn&&g.clearcoatNormalScale.value.negate())),m.dispersion>0&&(g.dispersion.value=m.dispersion),m.iridescence>0&&(g.iridescence.value=m.iridescence,g.iridescenceIOR.value=m.iridescenceIOR,g.iridescenceThicknessMinimum.value=m.iridescenceThicknessRange[0],g.iridescenceThicknessMaximum.value=m.iridescenceThicknessRange[1],m.iridescenceMap&&(g.iridescenceMap.value=m.iridescenceMap,t(m.iridescenceMap,g.iridescenceMapTransform)),m.iridescenceThicknessMap&&(g.iridescenceThicknessMap.value=m.iridescenceThicknessMap,t(m.iridescenceThicknessMap,g.iridescenceThicknessMapTransform))),m.transmission>0&&(g.transmission.value=m.transmission,g.transmissionSamplerMap.value=y.texture,g.transmissionSamplerSize.value.set(y.width,y.height),m.transmissionMap&&(g.transmissionMap.value=m.transmissionMap,t(m.transmissionMap,g.transmissionMapTransform)),g.thickness.value=m.thickness,m.thicknessMap&&(g.thicknessMap.value=m.thicknessMap,t(m.thicknessMap,g.thicknessMapTransform)),g.attenuationDistance.value=m.attenuationDistance,g.attenuationColor.value.copy(m.attenuationColor)),m.anisotropy>0&&(g.anisotropyVector.value.set(m.anisotropy*Math.cos(m.anisotropyRotation),m.anisotropy*Math.sin(m.anisotropyRotation)),m.anisotropyMap&&(g.anisotropyMap.value=m.anisotropyMap,t(m.anisotropyMap,g.anisotropyMapTransform))),g.specularIntensity.value=m.specularIntensity,g.specularColor.value.copy(m.specularColor),m.specularColorMap&&(g.specularColorMap.value=m.specularColorMap,t(m.specularColorMap,g.specularColorMapTransform)),m.specularIntensityMap&&(g.specularIntensityMap.value=m.specularIntensityMap,t(m.specularIntensityMap,g.specularIntensityMapTransform))}function p(g,m){m.matcap&&(g.matcap.value=m.matcap)}function _(g,m){const y=e.get(m).light;g.referencePosition.value.setFromMatrixPosition(y.matrixWorld),g.nearDistance.value=y.shadow.camera.near,g.farDistance.value=y.shadow.camera.far}return{refreshFogUniforms:i,refreshMaterialUniforms:r}}function yN(n,e,t,i){let r={},s={},o=[];const a=n.getParameter(n.MAX_UNIFORM_BUFFER_BINDINGS);function l(y,x){const v=x.program;i.uniformBlockBinding(y,v)}function c(y,x){let v=r[y.id];v===void 0&&(p(y),v=u(y),r[y.id]=v,y.addEventListener("dispose",g));const E=x.program;i.updateUBOMapping(y,E);const T=e.render.frame;s[y.id]!==T&&(h(y),s[y.id]=T)}function u(y){const x=f();y.__bindingPointIndex=x;const v=n.createBuffer(),E=y.__size,T=y.usage;return n.bindBuffer(n.UNIFORM_BUFFER,v),n.bufferData(n.UNIFORM_BUFFER,E,T),n.bindBuffer(n.UNIFORM_BUFFER,null),n.bindBufferBase(n.UNIFORM_BUFFER,x,v),v}function f(){for(let y=0;y0&&(v+=E-T),y.__size=v,y.__cache={},this}function _(y){const x={boundary:0,storage:0};return typeof y=="number"||typeof y=="boolean"?(x.boundary=4,x.storage=4):y.isVector2?(x.boundary=8,x.storage=8):y.isVector3||y.isColor?(x.boundary=16,x.storage=12):y.isVector4?(x.boundary=16,x.storage=16):y.isMatrix3?(x.boundary=48,x.storage=48):y.isMatrix4?(x.boundary=64,x.storage=64):y.isTexture?console.warn("THREE.WebGLRenderer: Texture samplers can not be part of an uniforms group."):console.warn("THREE.WebGLRenderer: Unsupported uniform value type.",y),x}function g(y){const x=y.target;x.removeEventListener("dispose",g);const v=o.indexOf(x.__bindingPointIndex);o.splice(v,1),n.deleteBuffer(r[x.id]),delete r[x.id],delete s[x.id]}function m(){for(const y in r)n.deleteBuffer(r[y]);o=[],r={},s={}}return{bind:l,update:c,dispose:m}}class $u{constructor(e={}){const{canvas:t=qS(),context:i=null,depth:r=!0,stencil:s=!1,alpha:o=!1,antialias:a=!1,premultipliedAlpha:l=!0,preserveDrawingBuffer:c=!1,powerPreference:u="default",failIfMajorPerformanceCaveat:f=!1,reverseDepthBuffer:h=!1}=e;this.isWebGLRenderer=!0;let d;if(i!==null){if(typeof WebGLRenderingContext<"u"&&i instanceof WebGLRenderingContext)throw new Error("THREE.WebGLRenderer: WebGL 1 is not supported since r163.");d=i.getContextAttributes().alpha}else d=o;const p=new Uint32Array(4),_=new Int32Array(4);let g=null,m=null;const y=[],x=[];this.domElement=t,this.debug={checkShaderErrors:!0,onShaderError:null},this.autoClear=!0,this.autoClearColor=!0,this.autoClearDepth=!0,this.autoClearStencil=!0,this.sortObjects=!0,this.clippingPlanes=[],this.localClippingEnabled=!1,this._outputColorSpace=Cn,this.toneMapping=Hi,this.toneMappingExposure=1;const v=this;let E=!1,T=0,M=0,P=null,b=-1,S=null;const D=new ht,B=new ht;let H=null;const $=new we(0);let ee=0,Z=t.width,te=t.height,Q=1,pe=null,ve=null;const re=new ht(0,0,Z,te),xe=new ht(0,0,Z,te);let Ve=!1;const se=new mc;let ge=!1,be=!1;this.transmissionResolutionScale=1;const W=new Xe,ae=new Xe,ue=new F,le=new ht,Oe={background:null,fog:null,environment:null,overrideMaterial:null,isScene:!0};let I=!1;function L(){return P===null?Q:1}let w=i;function j(O,K){return t.getContext(O,K)}try{const O={alpha:!0,depth:r,stencil:s,antialias:a,premultipliedAlpha:l,preserveDrawingBuffer:c,powerPreference:u,failIfMajorPerformanceCaveat:f};if("setAttribute"in t&&t.setAttribute("data-engine",`three.js r${cc}`),t.addEventListener("webglcontextlost",de,!1),t.addEventListener("webglcontextrestored",Pe,!1),t.addEventListener("webglcontextcreationerror",Re,!1),w===null){const K="webgl2";if(w=j(K,O),w===null)throw j(K)?new Error("Error creating WebGL context with your selected attributes."):new Error("Error creating WebGL context.")}}catch(O){throw console.error("THREE.WebGLRenderer: "+O.message),O}let G,q,R,N,z,A,C,k,U,V,Y,he,ce,ye,Fe,me,Te,ke,We,Me,Ye,Qe,At,X;function Ae(){G=new IO(w),G.init(),Qe=new tE(w,G),q=new EO(w,G,e,Qe),R=new fN(w,G),q.reverseDepthBuffer&&h&&R.buffers.depth.setReversed(!0),N=new OO(w),z=new J2,A=new hN(w,G,R,z,q,Qe,N),C=new wO(v),k=new PO(v),U=new zI(w),At=new SO(w,U),V=new LO(w,U,N,At),Y=new UO(w,V,U,N),We=new NO(w,q,A),me=new TO(z),he=new Z2(v,C,k,G,q,At,me),ce=new vN(v,z),ye=new eN,Fe=new oN(G),ke=new bO(v,C,k,R,Y,d,l),Te=new cN(v,Y,q),X=new yN(w,N,q,R),Me=new MO(w,G,N),Ye=new DO(w,G,N),N.programs=he.programs,v.capabilities=q,v.extensions=G,v.properties=z,v.renderLists=ye,v.shadowMap=Te,v.state=R,v.info=N}Ae();const oe=new gN(v,w);this.xr=oe,this.getContext=function(){return w},this.getContextAttributes=function(){return w.getContextAttributes()},this.forceContextLoss=function(){const O=G.get("WEBGL_lose_context");O&&O.loseContext()},this.forceContextRestore=function(){const O=G.get("WEBGL_lose_context");O&&O.restoreContext()},this.getPixelRatio=function(){return Q},this.setPixelRatio=function(O){O!==void 0&&(Q=O,this.setSize(Z,te,!1))},this.getSize=function(O){return O.set(Z,te)},this.setSize=function(O,K,ne=!0){if(oe.isPresenting){console.warn("THREE.WebGLRenderer: Can't change size while VR device is presenting.");return}Z=O,te=K,t.width=Math.floor(O*Q),t.height=Math.floor(K*Q),ne===!0&&(t.style.width=O+"px",t.style.height=K+"px"),this.setViewport(0,0,O,K)},this.getDrawingBufferSize=function(O){return O.set(Z*Q,te*Q).floor()},this.setDrawingBufferSize=function(O,K,ne){Z=O,te=K,Q=ne,t.width=Math.floor(O*ne),t.height=Math.floor(K*ne),this.setViewport(0,0,O,K)},this.getCurrentViewport=function(O){return O.copy(D)},this.getViewport=function(O){return O.copy(re)},this.setViewport=function(O,K,ne,ie){O.isVector4?re.set(O.x,O.y,O.z,O.w):re.set(O,K,ne,ie),R.viewport(D.copy(re).multiplyScalar(Q).round())},this.getScissor=function(O){return O.copy(xe)},this.setScissor=function(O,K,ne,ie){O.isVector4?xe.set(O.x,O.y,O.z,O.w):xe.set(O,K,ne,ie),R.scissor(B.copy(xe).multiplyScalar(Q).round())},this.getScissorTest=function(){return Ve},this.setScissorTest=function(O){R.setScissorTest(Ve=O)},this.setOpaqueSort=function(O){pe=O},this.setTransparentSort=function(O){ve=O},this.getClearColor=function(O){return O.copy(ke.getClearColor())},this.setClearColor=function(){ke.setClearColor(...arguments)},this.getClearAlpha=function(){return ke.getClearAlpha()},this.setClearAlpha=function(){ke.setClearAlpha(...arguments)},this.clear=function(O=!0,K=!0,ne=!0){let ie=0;if(O){let J=!1;if(P!==null){const _e=P.texture.format;J=_e===Ah||_e===wh||_e===fc}if(J){const _e=P.texture.type,Ce=_e===qi||_e===wr||_e===oa||_e===lo||_e===Mh||_e===Eh,Le=ke.getClearColor(),Ne=ke.getClearAlpha(),je=Le.r,Ke=Le.g,ze=Le.b;Ce?(p[0]=je,p[1]=Ke,p[2]=ze,p[3]=Ne,w.clearBufferuiv(w.COLOR,0,p)):(_[0]=je,_[1]=Ke,_[2]=ze,_[3]=Ne,w.clearBufferiv(w.COLOR,0,_))}else ie|=w.COLOR_BUFFER_BIT}K&&(ie|=w.DEPTH_BUFFER_BIT),ne&&(ie|=w.STENCIL_BUFFER_BIT,this.state.buffers.stencil.setMask(4294967295)),w.clear(ie)},this.clearColor=function(){this.clear(!0,!1,!1)},this.clearDepth=function(){this.clear(!1,!0,!1)},this.clearStencil=function(){this.clear(!1,!1,!0)},this.dispose=function(){t.removeEventListener("webglcontextlost",de,!1),t.removeEventListener("webglcontextrestored",Pe,!1),t.removeEventListener("webglcontextcreationerror",Re,!1),ke.dispose(),ye.dispose(),Fe.dispose(),z.dispose(),C.dispose(),k.dispose(),Y.dispose(),At.dispose(),X.dispose(),he.dispose(),oe.dispose(),oe.removeEventListener("sessionstart",T_),oe.removeEventListener("sessionend",w_),vs.stop()};function de(O){O.preventDefault(),console.log("THREE.WebGLRenderer: Context Lost."),E=!0}function Pe(){console.log("THREE.WebGLRenderer: Context Restored."),E=!1;const O=N.autoReset,K=Te.enabled,ne=Te.autoUpdate,ie=Te.needsUpdate,J=Te.type;Ae(),N.autoReset=O,Te.enabled=K,Te.autoUpdate=ne,Te.needsUpdate=ie,Te.type=J}function Re(O){console.error("THREE.WebGLRenderer: A WebGL context could not be created. Reason: ",O.statusMessage)}function nt(O){const K=O.target;K.removeEventListener("dispose",nt),Ut(K)}function Ut(O){un(O),z.remove(O)}function un(O){const K=z.get(O).programs;K!==void 0&&(K.forEach(function(ne){he.releaseProgram(ne)}),O.isShaderMaterial&&he.releaseShaderCache(O))}this.renderBufferDirect=function(O,K,ne,ie,J,_e){K===null&&(K=Oe);const Ce=J.isMesh&&J.matrixWorld.determinant()<0,Le=rw(O,K,ne,ie,J);R.setMaterial(ie,Ce);let Ne=ne.index,je=1;if(ie.wireframe===!0){if(Ne=V.getWireframeAttribute(ne),Ne===void 0)return;je=2}const Ke=ne.drawRange,ze=ne.attributes.position;let ut=Ke.start*je,gt=(Ke.start+Ke.count)*je;_e!==null&&(ut=Math.max(ut,_e.start*je),gt=Math.min(gt,(_e.start+_e.count)*je)),Ne!==null?(ut=Math.max(ut,0),gt=Math.min(gt,Ne.count)):ze!=null&&(ut=Math.max(ut,0),gt=Math.min(gt,ze.count));const Gt=gt-ut;if(Gt<0||Gt===1/0)return;At.setup(J,ie,Le,ne,Ne);let Ft,dt=Me;if(Ne!==null&&(Ft=U.get(Ne),dt=Ye,dt.setIndex(Ft)),J.isMesh)ie.wireframe===!0?(R.setLineWidth(ie.wireframeLinewidth*L()),dt.setMode(w.LINES)):dt.setMode(w.TRIANGLES);else if(J.isLine){let He=ie.linewidth;He===void 0&&(He=1),R.setLineWidth(He*L()),J.isLineSegments?dt.setMode(w.LINES):J.isLineLoop?dt.setMode(w.LINE_LOOP):dt.setMode(w.LINE_STRIP)}else J.isPoints?dt.setMode(w.POINTS):J.isSprite&&dt.setMode(w.TRIANGLES);if(J.isBatchedMesh)if(J._multiDrawInstances!==null)Vs("THREE.WebGLRenderer: renderMultiDrawInstances has been deprecated and will be removed in r184. Append to renderMultiDraw arguments and use indirection."),dt.renderMultiDrawInstances(J._multiDrawStarts,J._multiDrawCounts,J._multiDrawCount,J._multiDrawInstances);else if(G.get("WEBGL_multi_draw"))dt.renderMultiDraw(J._multiDrawStarts,J._multiDrawCounts,J._multiDrawCount);else{const He=J._multiDrawStarts,sn=J._multiDrawCounts,_t=J._multiDrawCount,_i=Ne?U.get(Ne).bytesPerElement:1,xo=z.get(ie).currentProgram.getUniforms();for(let qn=0;qn<_t;qn++)xo.setValue(w,"_gl_DrawID",qn),dt.render(He[qn]/_i,sn[qn])}else if(J.isInstancedMesh)dt.renderInstances(ut,Gt,J.count);else if(ne.isInstancedBufferGeometry){const He=ne._maxInstanceCount!==void 0?ne._maxInstanceCount:1/0,sn=Math.min(ne.instanceCount,He);dt.renderInstances(ut,Gt,sn)}else dt.render(ut,Gt)};function xt(O,K,ne){O.transparent===!0&&O.side===Si&&O.forceSinglePass===!1?(O.side=Dn,O.needsUpdate=!0,Cc(O,K,ne),O.side=Er,O.needsUpdate=!0,Cc(O,K,ne),O.side=Si):Cc(O,K,ne)}this.compile=function(O,K,ne=null){ne===null&&(ne=O),m=Fe.get(ne),m.init(K),x.push(m),ne.traverseVisible(function(J){J.isLight&&J.layers.test(K.layers)&&(m.pushLight(J),J.castShadow&&m.pushShadow(J))}),O!==ne&&O.traverseVisible(function(J){J.isLight&&J.layers.test(K.layers)&&(m.pushLight(J),J.castShadow&&m.pushShadow(J))}),m.setupLights();const ie=new Set;return O.traverse(function(J){if(!(J.isMesh||J.isPoints||J.isLine||J.isSprite))return;const _e=J.material;if(_e)if(Array.isArray(_e))for(let Ce=0;Ce<_e.length;Ce++){const Le=_e[Ce];xt(Le,ne,J),ie.add(Le)}else xt(_e,ne,J),ie.add(_e)}),m=x.pop(),ie},this.compileAsync=function(O,K,ne=null){const ie=this.compile(O,K,ne);return new Promise(J=>{function _e(){if(ie.forEach(function(Ce){z.get(Ce).currentProgram.isReady()&&ie.delete(Ce)}),ie.size===0){J(O);return}setTimeout(_e,10)}G.get("KHR_parallel_shader_compile")!==null?_e():setTimeout(_e,10)})};let gi=null;function Ji(O){gi&&gi(O)}function T_(){vs.stop()}function w_(){vs.start()}const vs=new KM;vs.setAnimationLoop(Ji),typeof self<"u"&&vs.setContext(self),this.setAnimationLoop=function(O){gi=O,oe.setAnimationLoop(O),O===null?vs.stop():vs.start()},oe.addEventListener("sessionstart",T_),oe.addEventListener("sessionend",w_),this.render=function(O,K){if(K!==void 0&&K.isCamera!==!0){console.error("THREE.WebGLRenderer.render: camera is not an instance of THREE.Camera.");return}if(E===!0)return;if(O.matrixWorldAutoUpdate===!0&&O.updateMatrixWorld(),K.parent===null&&K.matrixWorldAutoUpdate===!0&&K.updateMatrixWorld(),oe.enabled===!0&&oe.isPresenting===!0&&(oe.cameraAutoUpdate===!0&&oe.updateCamera(K),K=oe.getCamera()),O.isScene===!0&&O.onBeforeRender(v,O,K,P),m=Fe.get(O,x.length),m.init(K),x.push(m),ae.multiplyMatrices(K.projectionMatrix,K.matrixWorldInverse),se.setFromProjectionMatrix(ae),be=this.localClippingEnabled,ge=me.init(this.clippingPlanes,be),g=ye.get(O,y.length),g.init(),y.push(g),oe.enabled===!0&&oe.isPresenting===!0){const _e=v.xr.getDepthSensingMesh();_e!==null&&dd(_e,K,-1/0,v.sortObjects)}dd(O,K,0,v.sortObjects),g.finish(),v.sortObjects===!0&&g.sort(pe,ve),I=oe.enabled===!1||oe.isPresenting===!1||oe.hasDepthSensing()===!1,I&&ke.addToRenderList(g,O),this.info.render.frame++,ge===!0&&me.beginShadows();const ne=m.state.shadowsArray;Te.render(ne,O,K),ge===!0&&me.endShadows(),this.info.autoReset===!0&&this.info.reset();const ie=g.opaque,J=g.transmissive;if(m.setupLights(),K.isArrayCamera){const _e=K.cameras;if(J.length>0)for(let Ce=0,Le=_e.length;Ce0&&C_(ie,J,O,K),I&&ke.render(O),A_(g,O,K);P!==null&&M===0&&(A.updateMultisampleRenderTarget(P),A.updateRenderTargetMipmap(P)),O.isScene===!0&&O.onAfterRender(v,O,K),At.resetDefaultState(),b=-1,S=null,x.pop(),x.length>0?(m=x[x.length-1],ge===!0&&me.setGlobalState(v.clippingPlanes,m.state.camera)):m=null,y.pop(),y.length>0?g=y[y.length-1]:g=null};function dd(O,K,ne,ie){if(O.visible===!1)return;if(O.layers.test(K.layers)){if(O.isGroup)ne=O.renderOrder;else if(O.isLOD)O.autoUpdate===!0&&O.update(K);else if(O.isLight)m.pushLight(O),O.castShadow&&m.pushShadow(O);else if(O.isSprite){if(!O.frustumCulled||se.intersectsSprite(O)){ie&&le.setFromMatrixPosition(O.matrixWorld).applyMatrix4(ae);const Ce=Y.update(O),Le=O.material;Le.visible&&g.push(O,Ce,Le,ne,le.z,null)}}else if((O.isMesh||O.isLine||O.isPoints)&&(!O.frustumCulled||se.intersectsObject(O))){const Ce=Y.update(O),Le=O.material;if(ie&&(O.boundingSphere!==void 0?(O.boundingSphere===null&&O.computeBoundingSphere(),le.copy(O.boundingSphere.center)):(Ce.boundingSphere===null&&Ce.computeBoundingSphere(),le.copy(Ce.boundingSphere.center)),le.applyMatrix4(O.matrixWorld).applyMatrix4(ae)),Array.isArray(Le)){const Ne=Ce.groups;for(let je=0,Ke=Ne.length;je0&&Ac(J,K,ne),_e.length>0&&Ac(_e,K,ne),Ce.length>0&&Ac(Ce,K,ne),R.buffers.depth.setTest(!0),R.buffers.depth.setMask(!0),R.buffers.color.setMask(!0),R.setPolygonOffset(!1)}function C_(O,K,ne,ie){if((ne.isScene===!0?ne.overrideMaterial:null)!==null)return;m.state.transmissionRenderTarget[ie.id]===void 0&&(m.state.transmissionRenderTarget[ie.id]=new Yi(1,1,{generateMipmaps:!0,type:G.has("EXT_color_buffer_half_float")||G.has("EXT_color_buffer_float")?va:qi,minFilter:zi,samples:4,stencilBuffer:s,resolveDepthBuffer:!1,resolveStencilBuffer:!1,colorSpace:at.workingColorSpace}));const _e=m.state.transmissionRenderTarget[ie.id],Ce=ie.viewport||D;_e.setSize(Ce.z*v.transmissionResolutionScale,Ce.w*v.transmissionResolutionScale);const Le=v.getRenderTarget();v.setRenderTarget(_e),v.getClearColor($),ee=v.getClearAlpha(),ee<1&&v.setClearColor(16777215,.5),v.clear(),I&&ke.render(ne);const Ne=v.toneMapping;v.toneMapping=Hi;const je=ie.viewport;if(ie.viewport!==void 0&&(ie.viewport=void 0),m.setupLightsView(ie),ge===!0&&me.setGlobalState(v.clippingPlanes,ie),Ac(O,ne,ie),A.updateMultisampleRenderTarget(_e),A.updateRenderTargetMipmap(_e),G.has("WEBGL_multisampled_render_to_texture")===!1){let Ke=!1;for(let ze=0,ut=K.length;ze0),ze=!!ne.morphAttributes.position,ut=!!ne.morphAttributes.normal,gt=!!ne.morphAttributes.color;let Gt=Hi;ie.toneMapped&&(P===null||P.isXRRenderTarget===!0)&&(Gt=v.toneMapping);const Ft=ne.morphAttributes.position||ne.morphAttributes.normal||ne.morphAttributes.color,dt=Ft!==void 0?Ft.length:0,He=z.get(ie),sn=m.state.lights;if(ge===!0&&(be===!0||O!==S)){const bn=O===S&&ie.id===b;me.setState(ie,O,bn)}let _t=!1;ie.version===He.__version?(He.needsLights&&He.lightsStateVersion!==sn.state.version||He.outputColorSpace!==Le||J.isBatchedMesh&&He.batching===!1||!J.isBatchedMesh&&He.batching===!0||J.isBatchedMesh&&He.batchingColor===!0&&J.colorTexture===null||J.isBatchedMesh&&He.batchingColor===!1&&J.colorTexture!==null||J.isInstancedMesh&&He.instancing===!1||!J.isInstancedMesh&&He.instancing===!0||J.isSkinnedMesh&&He.skinning===!1||!J.isSkinnedMesh&&He.skinning===!0||J.isInstancedMesh&&He.instancingColor===!0&&J.instanceColor===null||J.isInstancedMesh&&He.instancingColor===!1&&J.instanceColor!==null||J.isInstancedMesh&&He.instancingMorph===!0&&J.morphTexture===null||J.isInstancedMesh&&He.instancingMorph===!1&&J.morphTexture!==null||He.envMap!==Ne||ie.fog===!0&&He.fog!==_e||He.numClippingPlanes!==void 0&&(He.numClippingPlanes!==me.numPlanes||He.numIntersection!==me.numIntersection)||He.vertexAlphas!==je||He.vertexTangents!==Ke||He.morphTargets!==ze||He.morphNormals!==ut||He.morphColors!==gt||He.toneMapping!==Gt||He.morphTargetsCount!==dt)&&(_t=!0):(_t=!0,He.__version=ie.version);let _i=He.currentProgram;_t===!0&&(_i=Cc(ie,K,J));let xo=!1,qn=!1,Ea=!1;const Rt=_i.getUniforms(),ti=He.uniforms;if(R.useProgram(_i.program)&&(xo=!0,qn=!0,Ea=!0),ie.id!==b&&(b=ie.id,qn=!0),xo||S!==O){R.buffers.depth.getReversed()?(W.copy(O.projectionMatrix),lR(W),cR(W),Rt.setValue(w,"projectionMatrix",W)):Rt.setValue(w,"projectionMatrix",O.projectionMatrix),Rt.setValue(w,"viewMatrix",O.matrixWorldInverse);const Un=Rt.map.cameraPosition;Un!==void 0&&Un.setValue(w,ue.setFromMatrixPosition(O.matrixWorld)),q.logarithmicDepthBuffer&&Rt.setValue(w,"logDepthBufFC",2/(Math.log(O.far+1)/Math.LN2)),(ie.isMeshPhongMaterial||ie.isMeshToonMaterial||ie.isMeshLambertMaterial||ie.isMeshBasicMaterial||ie.isMeshStandardMaterial||ie.isShaderMaterial)&&Rt.setValue(w,"isOrthographic",O.isOrthographicCamera===!0),S!==O&&(S=O,qn=!0,Ea=!0)}if(J.isSkinnedMesh){Rt.setOptional(w,J,"bindMatrix"),Rt.setOptional(w,J,"bindMatrixInverse");const bn=J.skeleton;bn&&(bn.boneTexture===null&&bn.computeBoneTexture(),Rt.setValue(w,"boneTexture",bn.boneTexture,A))}J.isBatchedMesh&&(Rt.setOptional(w,J,"batchingTexture"),Rt.setValue(w,"batchingTexture",J._matricesTexture,A),Rt.setOptional(w,J,"batchingIdTexture"),Rt.setValue(w,"batchingIdTexture",J._indirectTexture,A),Rt.setOptional(w,J,"batchingColorTexture"),J._colorsTexture!==null&&Rt.setValue(w,"batchingColorTexture",J._colorsTexture,A));const ni=ne.morphAttributes;if((ni.position!==void 0||ni.normal!==void 0||ni.color!==void 0)&&We.update(J,ne,_i),(qn||He.receiveShadow!==J.receiveShadow)&&(He.receiveShadow=J.receiveShadow,Rt.setValue(w,"receiveShadow",J.receiveShadow)),ie.isMeshGouraudMaterial&&ie.envMap!==null&&(ti.envMap.value=Ne,ti.flipEnvMap.value=Ne.isCubeTexture&&Ne.isRenderTargetTexture===!1?-1:1),ie.isMeshStandardMaterial&&ie.envMap===null&&K.environment!==null&&(ti.envMapIntensity.value=K.environmentIntensity),qn&&(Rt.setValue(w,"toneMappingExposure",v.toneMappingExposure),He.needsLights&&sw(ti,Ea),_e&&ie.fog===!0&&ce.refreshFogUniforms(ti,_e),ce.refreshMaterialUniforms(ti,ie,Q,te,m.state.transmissionRenderTarget[O.id]),Xu.upload(w,P_(He),ti,A)),ie.isShaderMaterial&&ie.uniformsNeedUpdate===!0&&(Xu.upload(w,P_(He),ti,A),ie.uniformsNeedUpdate=!1),ie.isSpriteMaterial&&Rt.setValue(w,"center",J.center),Rt.setValue(w,"modelViewMatrix",J.modelViewMatrix),Rt.setValue(w,"normalMatrix",J.normalMatrix),Rt.setValue(w,"modelMatrix",J.matrixWorld),ie.isShaderMaterial||ie.isRawShaderMaterial){const bn=ie.uniformsGroups;for(let Un=0,pd=bn.length;Un0&&A.useMultisampledRTT(O)===!1?J=z.get(O).__webglMultisampledFramebuffer:Array.isArray(Ke)?J=Ke[ne]:J=Ke,D.copy(O.viewport),B.copy(O.scissor),H=O.scissorTest}else D.copy(re).multiplyScalar(Q).floor(),B.copy(xe).multiplyScalar(Q).floor(),H=Ve;if(ne!==0&&(J=aw),R.bindFramebuffer(w.FRAMEBUFFER,J)&&ie&&R.drawBuffers(O,J),R.viewport(D),R.scissor(B),R.setScissorTest(H),_e){const Ne=z.get(O.texture);w.framebufferTexture2D(w.FRAMEBUFFER,w.COLOR_ATTACHMENT0,w.TEXTURE_CUBE_MAP_POSITIVE_X+K,Ne.__webglTexture,ne)}else if(Ce){const Ne=z.get(O.texture),je=K;w.framebufferTextureLayer(w.FRAMEBUFFER,w.COLOR_ATTACHMENT0,Ne.__webglTexture,ne,je)}else if(O!==null&&ne!==0){const Ne=z.get(O.texture);w.framebufferTexture2D(w.FRAMEBUFFER,w.COLOR_ATTACHMENT0,w.TEXTURE_2D,Ne.__webglTexture,ne)}b=-1},this.readRenderTargetPixels=function(O,K,ne,ie,J,_e,Ce){if(!(O&&O.isWebGLRenderTarget)){console.error("THREE.WebGLRenderer.readRenderTargetPixels: renderTarget is not THREE.WebGLRenderTarget.");return}let Le=z.get(O).__webglFramebuffer;if(O.isWebGLCubeRenderTarget&&Ce!==void 0&&(Le=Le[Ce]),Le){R.bindFramebuffer(w.FRAMEBUFFER,Le);try{const Ne=O.texture,je=Ne.format,Ke=Ne.type;if(!q.textureFormatReadable(je)){console.error("THREE.WebGLRenderer.readRenderTargetPixels: renderTarget is not in RGBA or implementation defined format.");return}if(!q.textureTypeReadable(Ke)){console.error("THREE.WebGLRenderer.readRenderTargetPixels: renderTarget is not in UnsignedByteType or implementation defined type.");return}K>=0&&K<=O.width-ie&&ne>=0&&ne<=O.height-J&&w.readPixels(K,ne,ie,J,Qe.convert(je),Qe.convert(Ke),_e)}finally{const Ne=P!==null?z.get(P).__webglFramebuffer:null;R.bindFramebuffer(w.FRAMEBUFFER,Ne)}}},this.readRenderTargetPixelsAsync=async function(O,K,ne,ie,J,_e,Ce){if(!(O&&O.isWebGLRenderTarget))throw new Error("THREE.WebGLRenderer.readRenderTargetPixels: renderTarget is not THREE.WebGLRenderTarget.");let Le=z.get(O).__webglFramebuffer;if(O.isWebGLCubeRenderTarget&&Ce!==void 0&&(Le=Le[Ce]),Le){const Ne=O.texture,je=Ne.format,Ke=Ne.type;if(!q.textureFormatReadable(je))throw new Error("THREE.WebGLRenderer.readRenderTargetPixelsAsync: renderTarget is not in RGBA or implementation defined format.");if(!q.textureTypeReadable(Ke))throw new Error("THREE.WebGLRenderer.readRenderTargetPixelsAsync: renderTarget is not in UnsignedByteType or implementation defined type.");if(K>=0&&K<=O.width-ie&&ne>=0&&ne<=O.height-J){R.bindFramebuffer(w.FRAMEBUFFER,Le);const ze=w.createBuffer();w.bindBuffer(w.PIXEL_PACK_BUFFER,ze),w.bufferData(w.PIXEL_PACK_BUFFER,_e.byteLength,w.STREAM_READ),w.readPixels(K,ne,ie,J,Qe.convert(je),Qe.convert(Ke),0);const ut=P!==null?z.get(P).__webglFramebuffer:null;R.bindFramebuffer(w.FRAMEBUFFER,ut);const gt=w.fenceSync(w.SYNC_GPU_COMMANDS_COMPLETE,0);return w.flush(),await aR(w,gt,4),w.bindBuffer(w.PIXEL_PACK_BUFFER,ze),w.getBufferSubData(w.PIXEL_PACK_BUFFER,0,_e),w.deleteBuffer(ze),w.deleteSync(gt),_e}else throw new Error("THREE.WebGLRenderer.readRenderTargetPixelsAsync: requested read bounds are out of range.")}},this.copyFramebufferToTexture=function(O,K=null,ne=0){O.isTexture!==!0&&(Vs("WebGLRenderer: copyFramebufferToTexture function signature has changed."),K=arguments[0]||null,O=arguments[1]);const ie=Math.pow(2,-ne),J=Math.floor(O.image.width*ie),_e=Math.floor(O.image.height*ie),Ce=K!==null?K.x:0,Le=K!==null?K.y:0;A.setTexture2D(O,0),w.copyTexSubImage2D(w.TEXTURE_2D,ne,0,0,Ce,Le,J,_e),R.unbindTexture()};const lw=w.createFramebuffer(),cw=w.createFramebuffer();this.copyTextureToTexture=function(O,K,ne=null,ie=null,J=0,_e=null){O.isTexture!==!0&&(Vs("WebGLRenderer: copyTextureToTexture function signature has changed."),ie=arguments[0]||null,O=arguments[1],K=arguments[2],_e=arguments[3]||0,ne=null),_e===null&&(J!==0?(Vs("WebGLRenderer: copyTextureToTexture function signature has changed to support src and dst mipmap levels."),_e=J,J=0):_e=0);let Ce,Le,Ne,je,Ke,ze,ut,gt,Gt;const Ft=O.isCompressedTexture?O.mipmaps[_e]:O.image;if(ne!==null)Ce=ne.max.x-ne.min.x,Le=ne.max.y-ne.min.y,Ne=ne.isBox3?ne.max.z-ne.min.z:1,je=ne.min.x,Ke=ne.min.y,ze=ne.isBox3?ne.min.z:0;else{const ni=Math.pow(2,-J);Ce=Math.floor(Ft.width*ni),Le=Math.floor(Ft.height*ni),O.isDataArrayTexture?Ne=Ft.depth:O.isData3DTexture?Ne=Math.floor(Ft.depth*ni):Ne=1,je=0,Ke=0,ze=0}ie!==null?(ut=ie.x,gt=ie.y,Gt=ie.z):(ut=0,gt=0,Gt=0);const dt=Qe.convert(K.format),He=Qe.convert(K.type);let sn;K.isData3DTexture?(A.setTexture3D(K,0),sn=w.TEXTURE_3D):K.isDataArrayTexture||K.isCompressedArrayTexture?(A.setTexture2DArray(K,0),sn=w.TEXTURE_2D_ARRAY):(A.setTexture2D(K,0),sn=w.TEXTURE_2D),w.pixelStorei(w.UNPACK_FLIP_Y_WEBGL,K.flipY),w.pixelStorei(w.UNPACK_PREMULTIPLY_ALPHA_WEBGL,K.premultiplyAlpha),w.pixelStorei(w.UNPACK_ALIGNMENT,K.unpackAlignment);const _t=w.getParameter(w.UNPACK_ROW_LENGTH),_i=w.getParameter(w.UNPACK_IMAGE_HEIGHT),xo=w.getParameter(w.UNPACK_SKIP_PIXELS),qn=w.getParameter(w.UNPACK_SKIP_ROWS),Ea=w.getParameter(w.UNPACK_SKIP_IMAGES);w.pixelStorei(w.UNPACK_ROW_LENGTH,Ft.width),w.pixelStorei(w.UNPACK_IMAGE_HEIGHT,Ft.height),w.pixelStorei(w.UNPACK_SKIP_PIXELS,je),w.pixelStorei(w.UNPACK_SKIP_ROWS,Ke),w.pixelStorei(w.UNPACK_SKIP_IMAGES,ze);const Rt=O.isDataArrayTexture||O.isData3DTexture,ti=K.isDataArrayTexture||K.isData3DTexture;if(O.isDepthTexture){const ni=z.get(O),bn=z.get(K),Un=z.get(ni.__renderTarget),pd=z.get(bn.__renderTarget);R.bindFramebuffer(w.READ_FRAMEBUFFER,Un.__webglFramebuffer),R.bindFramebuffer(w.DRAW_FRAMEBUFFER,pd.__webglFramebuffer);for(let ys=0;ys{n.delete(s)};return{on:s=>{n.add(s);const o=()=>e(s);return Cr(o),{off:o}},off:e,trigger:(...s)=>Promise.all(Array.from(n).map(o=>o(...s))),clear:()=>{n.clear()}}}function X4(n){let e=!1,t;const i=nc(!0);return(...r)=>(e||(t=i.run(()=>n(...r)),e=!0),t)}const dp=new WeakMap,bN=(...n)=>{var e;const t=n[0],i=(e=vn())==null?void 0:e.proxy;if(i==null&&!rc())throw new Error("injectLocal must be called in setup");return i&&dp.has(i)&&t in dp.get(i)?dp.get(i)[t]:gn(...n)};function $4(n){let e=0,t,i;const r=()=>{e-=1,i&&e<=0&&(i.stop(),t=void 0,i=void 0)};return(...s)=>(e+=1,i||(i=nc(!0),t=i.run(()=>n(...s))),Cr(r),t)}const jf=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const SN=n=>typeof n<"u",MN=n=>n!=null,EN=Object.prototype.toString,TN=n=>EN.call(n)==="[object Object]",cm=()=>{},q4=wN();function wN(){var n,e;return jf&&((n=window==null?void 0:window.navigator)==null?void 0:n.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((e=window==null?void 0:window.navigator)==null?void 0:e.maxTouchPoints)>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}function AN(n,e){function t(...i){return new Promise((r,s)=>{Promise.resolve(n(()=>e.apply(this,i),{fn:e,thisArg:this,args:i})).then(r).catch(s)})}return t}function CN(n,e={}){let t,i,r=cm;const s=l=>{clearTimeout(l),r(),r=cm};let o;return l=>{const c=qe(n),u=qe(e.maxWait);return t&&s(t),c<=0||u!==void 0&&u<=0?(i&&(s(i),i=null),Promise.resolve(l())):new Promise((f,h)=>{r=e.rejectOnCancel?h:f,o=l,u&&!i&&(i=setTimeout(()=>{t&&s(t),i=null,f(o())},u)),t=setTimeout(()=>{i&&s(i),i=null,f(l())},c)})}}function ey(n){return n.endsWith("rem")?Number.parseFloat(n)*16:Number.parseFloat(n)}function RN(n,e,t=!1){return e.reduce((i,r)=>(r in n&&(!t||n[r]!==void 0)&&(i[r]=n[r]),i),{})}function nE(n){return vn()}function ll(n){return Array.isArray(n)?n:[n]}function PN(n,e=200,t={}){return AN(CN(e,t),n)}function ty(n,e=200,t={}){const i=Je(n.value),r=PN(()=>{i.value=n.value},e,t);return Ge(n,()=>r()),i}function IN(n,e={}){if(!Mt(n))return ib(n);const t=Array.isArray(n.value)?Array.from({length:n.value.length}):{};for(const i in n.value)t[i]=Qm(()=>({get(){return n.value[i]},set(r){var s;if((s=qe(e.replaceRef))!=null?s:!0)if(Array.isArray(n.value)){const a=[...n.value];a[i]=r,n.value=a}else{const a={...n.value,[i]:r};Object.setPrototypeOf(a,Object.getPrototypeOf(n.value)),n.value=a}else n.value[i]=r}}));return t}const on=qe;function Y4(n,e){nE()&&tg(n,e)}function e_(n,e=!0,t){nE()?yn(n,t):e?n():us(n)}function LN(n,e=1e3,t={}){const{immediate:i=!0,immediateCallback:r=!1}=t;let s=null;const o=Ie(!1);function a(){s&&(clearInterval(s),s=null)}function l(){o.value=!1,a()}function c(){const u=qe(e);u<=0||(o.value=!0,r&&n(),a(),o.value&&(s=setInterval(n,u)))}if(i&&jf&&c(),Mt(e)||typeof e=="function"){const u=Ge(e,()=>{o.value&&jf&&c()});Cr(u)}return Cr(l),{isActive:o,pause:l,resume:c}}function iE(n,e,t){return Ge(n,e,{...t,immediate:!0})}const Zi=jf?window:void 0;function Ei(n){var e;const t=qe(n);return(e=t==null?void 0:t.$el)!=null?e:t}function os(...n){const e=[],t=()=>{e.forEach(a=>a()),e.length=0},i=(a,l,c,u)=>(a.addEventListener(l,c,u),()=>a.removeEventListener(l,c,u)),r=Se(()=>{const a=ll(qe(n[0])).filter(l=>l!=null);return a.every(l=>typeof l!="string")?a:void 0}),s=iE(()=>{var a,l;return[(l=(a=r.value)==null?void 0:a.map(c=>Ei(c)))!=null?l:[Zi].filter(c=>c!=null),ll(qe(r.value?n[1]:n[0])),ll(Pt(r.value?n[2]:n[1])),qe(r.value?n[3]:n[2])]},([a,l,c,u])=>{if(t(),!(a!=null&&a.length)||!(l!=null&&l.length)||!(c!=null&&c.length))return;const f=TN(u)?{...u}:u;e.push(...a.flatMap(h=>l.flatMap(d=>c.map(p=>i(h,d,p,f)))))},{flush:"post"}),o=()=>{s(),t()};return Cr(t),o}function DN(){const n=Ie(!1),e=vn();return e&&yn(()=>{n.value=!0},e),n}function nd(n){const e=DN();return Se(()=>(e.value,!!n()))}function ON(n,e,t={}){const{window:i=Zi,...r}=t;let s;const o=nd(()=>i&&"MutationObserver"in i),a=()=>{s&&(s.disconnect(),s=void 0)},l=Se(()=>{const h=qe(n),d=ll(h).map(Ei).filter(MN);return new Set(d)}),c=Ge(()=>l.value,h=>{a(),o.value&&h.size&&(s=new MutationObserver(e),h.forEach(d=>s.observe(d,r)))},{immediate:!0,flush:"post"}),u=()=>s==null?void 0:s.takeRecords(),f=()=>{c(),a()};return Cr(f),{isSupported:o,stop:f,takeRecords:u}}function NN(n){return typeof n=="function"?n:typeof n=="string"?e=>e.key===n:Array.isArray(n)?e=>n.includes(e.key):()=>!0}function j4(...n){let e,t,i={};n.length===3?(e=n[0],t=n[1],i=n[2]):n.length===2?typeof n[1]=="object"?(e=!0,t=n[0],i=n[1]):(e=n[0],t=n[1]):(e=!0,t=n[0]);const{target:r=Zi,eventName:s="keydown",passive:o=!1,dedupe:a=!1}=i,l=NN(e);return os(r,s,u=>{u.repeat&&qe(a)||l(u)&&t(u)},o)}function t_(n,e={}){const{immediate:t=!0,fpsLimit:i=void 0,window:r=Zi,once:s=!1}=e,o=Ie(!1),a=Se(()=>i?1e3/qe(i):null);let l=0,c=null;function u(d){if(!o.value||!r)return;l||(l=d);const p=d-l;if(a.value&&pt&&"matchMedia"in t&&typeof t.matchMedia=="function"),s=Ie(typeof i=="number"),o=Ie(),a=Ie(!1),l=c=>{a.value=c.matches};return sc(()=>{if(s.value){s.value=!r.value;const c=qe(n).split(",");a.value=c.some(u=>{const f=u.includes("not all"),h=u.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),d=u.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);let p=!!(h||d);return h&&p&&(p=i>=ey(h[1])),d&&p&&(p=i<=ey(d[1])),f?!p:p});return}r.value&&(o.value=t.matchMedia(qe(n)),a.value=o.value.matches)}),os(o,"change",l,{passive:!0}),Se(()=>a.value)}function BN(n){return JSON.parse(JSON.stringify(n))}function kN(n={}){const{window:e=Zi}=n,t=Ie(1),i=rE(()=>`(resolution: ${t.value}dppx)`,n);let r=cm;return e&&(r=iE(i,()=>t.value=e.devicePixelRatio)),{pixelRatio:di(t),stop:r}}function sE(n,e,t={}){const{window:i=Zi,...r}=t;let s;const o=nd(()=>i&&"ResizeObserver"in i),a=()=>{s&&(s.disconnect(),s=void 0)},l=Se(()=>{const f=qe(n);return Array.isArray(f)?f.map(h=>Ei(h)):[Ei(f)]}),c=Ge(l,f=>{if(a(),o.value&&i){s=new ResizeObserver(e);for(const h of f)h&&s.observe(h,r)}},{immediate:!0,flush:"post"}),u=()=>{a(),c()};return Cr(u),{isSupported:o,stop:u}}function zN(n,e={}){const{reset:t=!0,windowResize:i=!0,windowScroll:r=!0,immediate:s=!0,updateTiming:o="sync"}=e,a=Ie(0),l=Ie(0),c=Ie(0),u=Ie(0),f=Ie(0),h=Ie(0),d=Ie(0),p=Ie(0);function _(){const m=Ei(n);if(!m){t&&(a.value=0,l.value=0,c.value=0,u.value=0,f.value=0,h.value=0,d.value=0,p.value=0);return}const y=m.getBoundingClientRect();a.value=y.height,l.value=y.bottom,c.value=y.left,u.value=y.right,f.value=y.top,h.value=y.width,d.value=y.x,p.value=y.y}function g(){o==="sync"?_():o==="next-frame"&&requestAnimationFrame(()=>_())}return sE(n,g),Ge(()=>Ei(n),m=>!m&&g()),ON(n,g,{attributeFilter:["style","class"]}),r&&os("scroll",g,{capture:!0,passive:!0}),i&&os("resize",g,{passive:!0}),e_(()=>{s&&g()}),{height:a,bottom:l,left:c,right:u,top:f,width:h,x:d,y:p,update:g}}function VN(n,e={width:0,height:0},t={}){const{window:i=Zi,box:r="content-box"}=t,s=Se(()=>{var f,h;return(h=(f=Ei(n))==null?void 0:f.namespaceURI)==null?void 0:h.includes("svg")}),o=Ie(e.width),a=Ie(e.height),{stop:l}=sE(n,([f])=>{const h=r==="border-box"?f.borderBoxSize:r==="content-box"?f.contentBoxSize:f.devicePixelContentBoxSize;if(i&&s.value){const d=Ei(n);if(d){const p=d.getBoundingClientRect();o.value=p.width,a.value=p.height}}else if(h){const d=ll(h);o.value=d.reduce((p,{inlineSize:_})=>p+_,0),a.value=d.reduce((p,{blockSize:_})=>p+_,0)}else o.value=f.contentRect.width,a.value=f.contentRect.height},t);e_(()=>{const f=Ei(n);f&&(o.value="offsetWidth"in f?f.offsetWidth:e.width,a.value="offsetHeight"in f?f.offsetHeight:e.height)});const c=Ge(()=>Ei(n),f=>{o.value=f?e.width:0,a.value=f?e.height:0});function u(){l(),c()}return{width:o,height:a,stop:u}}function HN(n){var e;const t=Ie(0);if(typeof performance>"u")return t;const i=(e=n==null?void 0:n.every)!=null?e:10;let r=performance.now(),s=0;return t_(()=>{if(s+=1,s>=i){const o=performance.now(),a=o-r;t.value=Math.round(1e3/(a/s)),r=o,s=0}}),t}function GN(n={}){const e=Je(),t=nd(()=>typeof performance<"u"&&"memory"in performance);if(t.value){const{interval:i=1e3}=n;LN(()=>{e.value=performance.memory},i,{immediate:n.immediate,immediateCallback:n.immediateCallback})}return{isSupported:t,memory:e}}const oE={x:0,y:0,pointerId:0,pressure:0,tiltX:0,tiltY:0,width:0,height:0,twist:0,pointerType:null},WN=Object.keys(oE);function XN(n={}){const{target:e=Zi}=n,t=Ie(!1),i=Je(n.initialValue||{});Object.assign(i.value,oE,i.value);const r=s=>{t.value=!0,!(n.pointerTypes&&!n.pointerTypes.includes(s.pointerType))&&(i.value=RN(s,WN,!1))};if(e){const s={passive:!0};os(e,["pointerdown","pointermove","pointerup"],r,s),os(e,"pointerleave",()=>t.value=!1,s)}return{...IN(i),isInside:t}}function K4(n,e,t,i={}){var r,s,o;const{clone:a=!1,passive:l=!1,eventName:c,deep:u=!1,defaultValue:f,shouldEmit:h}=i,d=vn(),p=t||(d==null?void 0:d.emit)||((r=d==null?void 0:d.$emit)==null?void 0:r.bind(d))||((o=(s=d==null?void 0:d.proxy)==null?void 0:s.$emit)==null?void 0:o.bind(d==null?void 0:d.proxy));let _=c;_=_||`update:${e.toString()}`;const g=x=>a?typeof a=="function"?a(x):BN(x):x,m=()=>SN(n[e])?g(n[e]):f,y=x=>{h?h(x)&&p(_,x):p(_,x)};if(l){const x=m(),v=Je(x);let E=!1;return Ge(()=>n[e],T=>{E||(E=!0,v.value=g(T),us(()=>E=!1))}),Ge(v,T=>{!E&&(T!==n[e]||u)&&y(T)},{deep:u}),v}else return Se({get(){return m()},set(x){y(x)}})}function $N(n={}){const{window:e=Zi,initialWidth:t=Number.POSITIVE_INFINITY,initialHeight:i=Number.POSITIVE_INFINITY,listenOrientation:r=!0,includeScrollbar:s=!0,type:o="inner"}=n,a=Ie(t),l=Ie(i),c=()=>{if(e)if(o==="outer")a.value=e.outerWidth,l.value=e.outerHeight;else if(o==="visual"&&e.visualViewport){const{width:f,height:h,scale:d}=e.visualViewport;a.value=Math.round(f*d),l.value=Math.round(h*d)}else s?(a.value=e.innerWidth,l.value=e.innerHeight):(a.value=e.document.documentElement.clientWidth,l.value=e.document.documentElement.clientHeight)};c(),e_(c);const u={passive:!0};if(os("resize",c,u),e&&o==="visual"&&e.visualViewport&&os(e.visualViewport,"resize",c,u),r){const f=rE("(orientation: portrait)");Ge(f,()=>c())}return{width:a,height:l}}var qN=Object.defineProperty,YN=(n,e,t)=>e in n?qN(n,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[e]=t,ny=(n,e,t)=>YN(n,typeof e!="symbol"?e+"":e,t);const jN="@tresjs/core",KN="module",ZN="4.3.3",JN="pnpm@9.15.5",QN="Declarative ThreeJS using Vue Components",e3="Alvaro Saburido (https://github.com/alvarosabu/)",t3="MIT",n3={type:"git",url:"git+https://github.com/Tresjs/tres.git"},i3=["vue","3d","threejs","three","threejs-vue"],r3=!1,s3={".":{types:"./dist/index.d.ts",import:"./dist/tres.js",require:"./dist/tres.umd.cjs"},"./components":{types:"./dist/src/components/index.d.ts"},"./composables":{types:"./dist/src/composables/index.d.ts"},"./types":{types:"./dist/src/types/index.d.ts"},"./utils":{types:"./dist/src/utils/index.d.ts"},"./*":"./*"},o3="./dist/tres.js",a3="./dist/tres.js",l3="./dist/index.d.ts",c3=["*.d.ts","dist"],u3={access:"public"},f3={dev:"pnpm --filter='./playground/vue' dev","dev:nuxt":"pnpm --filter='./playground/nuxt' dev",build:"vite build",test:"vitest","test:ci":"vitest run","test:ui":"vitest --ui --coverage.enabled=true",release:"release-it",coverage:"vitest run --coverage",lint:"eslint .","lint:fix":"eslint . --fix","docs:dev":"vitepress dev docs","docs:build":"vitepress build docs","docs:serve":"vitepress serve docs","docs:preview":"vitepress preview docs","docs:contributors":"esno scripts/update-contributors.ts"},h3={three:">=0.133",vue:">=3.4"},d3={"@alvarosabu/utils":"^3.2.0","@vue/devtools-api":"^6.6.3","@vueuse/core":"^12.5.0"},p3={"@release-it/conventional-changelog":"^10.0.0","@stackblitz/sdk":"^1.11.0","@tresjs/cientos":"4.1.0","@tresjs/eslint-config":"^1.4.0","@types/three":"^0.173.0","@typescript-eslint/eslint-plugin":"^8.23.0","@typescript-eslint/parser":"^8.23.0","@vitejs/plugin-vue":"^5.2.1","@vitest/coverage-c8":"^0.33.0","@vitest/coverage-v8":"^3.0.5","@vitest/ui":"^3.0.5","@vue/test-utils":"^2.4.6",eslint:"^9.19.0","eslint-plugin-vue":"^9.32.0",esno:"^4.8.0",gsap:"^3.12.7",jsdom:"^26.0.0",kolorist:"^1.8.0",ohmyfetch:"^0.4.21",pathe:"^2.0.2","release-it":"^18.1.2","rollup-plugin-analyzer":"^4.0.0","rollup-plugin-copy":"^3.5.0","rollup-plugin-visualizer":"^5.14.0",sponsorkit:"^16.3.0",three:"^0.173.0",unocss:"^65.4.3",unplugin:"^2.1.2","unplugin-vue-components":"^28.0.0",vite:"^6.1.0","vite-plugin-banner":"^0.8.0","vite-plugin-dts":"4.5.0","vite-plugin-inspect":"^10.1.0","vite-plugin-require-transform":"^1.0.21","vite-svg-loader":"^5.1.0",vitepress:"1.6.3",vitest:"3.0.5",vue:"3.5.13","vue-demi":"^0.14.10"},m3={name:jN,type:KN,version:ZN,packageManager:JN,description:QN,author:e3,license:t3,repository:n3,keywords:i3,sideEffects:r3,exports:s3,main:o3,module:a3,types:l3,files:c3,publishConfig:u3,scripts:f3,peerDependencies:h3,dependencies:d3,devDependencies:p3};class g3 extends Ht{constructor(...e){super(...e),ny(this,"type","HightlightMesh"),ny(this,"createTime"),this.createTime=Date.now()}onBeforeRender(){const e=(Date.now()-this.createTime)/1e3,t=1+.07*Math.sin(2.5*e);this.scale.set(t,t,t)}}function um(n){return typeof n>"u"}function Kf(n){return Array.isArray(n)}function _3(n){return typeof n=="number"}function aE(n){return typeof n=="string"}function $s(n){return typeof n=="function"}function Ir(n){return n===Object(n)&&!Kf(n)&&!$s(n)}function Jr(n){return Ir(n)&&"isObject3D"in n&&!!n.isObject3D}function iy(n){return Ir(n)&&"isCamera"in n&&!!n.isCamera}function v3(n){return Ir(n)&&"isBufferGeometry"in n&&!!n.isBufferGeometry}function y3(n){return Ir(n)&&"isMaterial"in n&&!!n.isMaterial}function x3(n){return Ir(n)&&"isLight"in n&&!!n.isLight}function b3(n){return Ir(n)&&"isFog"in n&&!!n.isFog}function S3(n){return Ir(n)&&"isScene"in n&&!!n.isScene}function Tu(n){return Jr(n)||v3(n)||y3(n)||b3(n)}function M3(n){return Ir(n)&&!!n.isPrimitive}const lE=(n,e)=>{for(const t of Object.keys(e))e[t]instanceof Object&&Object.assign(e[t],lE(n[t],e[t]));return Object.assign(n||{},e),n},E3="html,body,base,head,link,meta,style,title,address,article,aside,footer,header,hgroup,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot",T3=C3(E3);function ry(n){return n&&n.nodeType===1}function wu(n){return n.replace(/-([a-z])/g,(e,t)=>t.toUpperCase())}const w3=/\B([A-Z])/g;function A3(n){return n.replace(w3,"-$1").toLowerCase()}function C3(n,e){const t=Object.create(null),i=n.split(",");for(let r=0;r!!t[r.toLowerCase()]:r=>!!t[r]}const sy=(n,e)=>{if(!e)return;const t=Array.isArray(e)?e:e.match(/([^[.\]])+/g);return t==null?void 0:t.reduce((i,r)=>i&&i[r],n)},R3=(n,e,t)=>{const i=Array.isArray(e)?e:e.match(/([^[.\]])+/g);i&&i.reduce((r,s,o)=>(r[s]===void 0&&(r[s]={}),o===i.length-1&&(r[s]=t),r[s]),n)};function cE(n,e){if(ry(n)&&ry(e)){const r=n.attributes,s=e.attributes;return r.length!==s.length?!1:Array.from(r).every(({name:o,value:a})=>e.getAttribute(o)===a)}if(n===e)return!0;if(n===null||typeof n!="object"||e===null||typeof e!="object")return!1;const t=Object.keys(n),i=Object.keys(e);if(t.length!==i.length)return!1;for(const r of t)if(!i.includes(r)||!cE(n[r],e[r]))return!1;return!0}function P3(n,e){if(!Array.isArray(n)||!Array.isArray(e)||n.length!==e.length)return!1;for(let t=0;t{if(l.uuid===e)return l;for(const c of l.children){const u=r(c);if(u)return u}},s=r(n);if(!s){console.warn("Object with UUID not found in the scene.");return}let o=s;for(let l=0;luE(i)),!(n instanceof Oh)){const i=n;n&&((t=n.dispose)==null||t.call(n)),i.geometry&&i.geometry.dispose(),Array.isArray(i.material)?i.material.forEach(r=>oy(r)):i.material&&oy(i.material)}}function O3(n,e){let t=0;for(let i=0;it===0?e:e.charAt(0).toUpperCase()+e.slice(1)).join("")}const ly=/-\d+$/;function N3(n,e,t){if(aE(t)){if(ly.test(t)){const s=t.replace(ly,""),{target:o,key:a}=fm(n,s);if(!Array.isArray(o[a])){const l=o[a],c=[];c.__tresDetach=()=>{c.every(u=>um(u))&&(o[a]=l)},o[a]=c}}const{target:i,key:r}=fm(n,t);e.__tres.previousAttach=i[r],i[r]=ua(e)}else e.__tres.previousAttach=t(n,e)}function U3(n,e,t){var i,r,s;if(aE(t)){const{target:o,key:a}=fm(n,t),l=e.__tres.previousAttach;l===void 0?delete o[a]:o[a]=l,"__tresDetach"in o&&o.__tresDetach()}else(r=(i=e.__tres)==null?void 0:i.previousAttach)==null||r.call(i,n,e);(s=e.__tres)==null||delete s.previousAttach}function Gs(n,e,t){const i=n;return i.__tres={type:"unknown",eventCount:0,root:t,handlers:{},memoizedProps:{},objects:[],parent:null,previousAttach:null,...e},i.__tres.attach||(i.isMaterial?i.__tres.attach="material":i.isBufferGeometry?i.__tres.attach="geometry":i.isFog&&(i.__tres.attach="fog")),i}function fE(n){var e;const t=(e=n==null?void 0:n.__tres)==null?void 0:e.root;t&&t.render&&t.render.canBeInvalidated.value&&t.invalidate()}function F3(n,e,t){var i;if(!$s(n.setPixelRatio))return;let r=0;if(t&&Kf(t)){const s=t;if(s.length>=2){const[o,a]=s;r=Ag.clamp(e,o,a)}}else _3(t)?r=t:r=e;r!==((i=n.getPixelRatio)==null?void 0:i.call(n))&&n.setPixelRatio(r)}function B3(n,e,t,i,r){const s=[...e.__tres.objects],o=ua(e);if(n=ua(n),o===n)return!0;const a=Gs(n,e.__tres??{},r),l=e.parent??e.__tres.parent??null,c={...e.__tres.memoizedProps};delete c.object;for(const u of s)hE(u,r),dE(u,r);o.__tres.objects=[],i.remove(e);for(const[u,f]of Object.entries(c))i.patchProp(a,u,a[u],f);t(n),i.insert(e,l);for(const u of s)i.insert(u,e);return!0}function ua(n){return M3(n)?(n.object.__tres=n.__tres,n.object):n}function hE(n,e){var t,i,r,s;const o=((t=n.__tres)==null?void 0:t.parent)||e.scene.value;n.__tres&&(n.__tres.parent=null),o&&o.__tres&&"objects"in o.__tres&&O3(o.__tres.objects,a=>a!==n),(i=n.__tres)!=null&&i.attach?U3(o,n,n.__tres.attach):((s=(r=n.parent)==null?void 0:r.remove)==null||s.call(r,ua(n)),n.parent=null)}function dE(n,e){var t;(t=n.traverse)==null||t.call(n,i=>{var r;e.deregisterCamera(i),(r=e.eventManager)==null||r.deregisterPointerMissedObject(i)}),e.deregisterCamera(n),fE(n)}const k3=({sizes:n})=>{const e=Je([]),t=Se(()=>e.value[0]),i=o=>{const a=o instanceof dc?o:e.value.find(c=>c.uuid===o);if(!a)return;const l=e.value.filter(({uuid:c})=>c!==a.uuid);e.value=[a,...l]},r=(o,a=!1)=>{if(iy(o)){const l=o;if(e.value.some(({uuid:c})=>c===l.uuid))return;a?i(l):e.value.push(l)}},s=o=>{if(iy(o)){const a=o;e.value=e.value.filter(({uuid:l})=>l!==a.uuid)}};return sc(()=>{n.aspectRatio.value&&e.value.forEach(o=>{!o.manual&&(o instanceof $t||z3(o))&&(o instanceof $t?o.aspect=n.aspectRatio.value:(o.left=n.width.value*-.5,o.right=n.width.value*.5,o.top=n.height.value*.5,o.bottom=n.height.value*-.5),o.updateProjectionMatrix())})}),$i(()=>{e.value=[]}),{camera:t,cameras:e,registerCamera:r,deregisterCamera:s,setCameraActive:i}};function z3(n){return n.hasOwnProperty("isOrthographicCamera")&&n.isOrthographicCamera}const Zf="[TresJS ▲ ■ ●] ";function V3(...n){typeof n[0]=="string"?n[0]=Zf+n[0]:n.unshift(Zf),console.error(...n)}function H3(...n){typeof n[0]=="string"?n[0]=Zf+n[0]:n.unshift(Zf),console.warn(...n)}function G3(n,e){}function pE(){return{logError:V3,logWarning:H3,logMessage:G3}}const hm=Je({}),dm=n=>Object.assign(hm.value,n);function pp(){const n=new Map,e=new Set;let t=0,i=!1;const r=()=>{const o=Array.from(n.entries()).sort((a,l)=>{const c=a[1].priority-l[1].priority;return c===0?a[1].addI-l[1].addI:c});e.clear(),o.forEach(a=>e.add(a[0]))},s=o=>{n.delete(o),e.delete(o)};return{on:(o,a=0)=>{n.set(o,{priority:a,addI:t++});const l=()=>s(o);return Cr(l),i=!0,{off:l}},off:s,trigger:(...o)=>{i&&(r(),i=!1),e.forEach(a=>a(...o))},dispose:()=>{n.clear(),e.clear()},get count(){return n.size}}}function W3(){let n=!0,e=!0,t=!1;const i=new ed(!1),r=Je(i.running),s=Je(!1);let o;const a=Ag.generateUUID();let l=null;const c=pp(),u=pp(),f=pp();T();let h={};function d(M){h=M}function p(M,P,b=0){switch(P){case"before":return c.on(M,b);case"render":return l||(l=M),u.dispose(),u.on(M);case"after":return f.on(M,b)}}function _(){e&&(e=!1,T(),E())}function g(){e=!0,T(),cancelAnimationFrame(o)}function m(){t=!1,T()}function y(){t=!0,T()}function x(){s.value=!0}function v(){s.value=!1}function E(){if(!n){o=requestAnimationFrame(E);return}const M=i.getDelta(),P=i.getElapsedTime(),b={camera:Pt(h.camera),scene:Pt(h.scene),renderer:Pt(h.renderer),raycaster:Pt(h.raycaster),controls:Pt(h.controls),invalidate:h.invalidate,advance:h.advance},S={delta:M,elapsed:P,clock:i,...b};r.value&&c.trigger(S),s.value||(u.count?u.trigger(S):l&&l(S)),r.value&&f.trigger(S),o=requestAnimationFrame(E)}function T(){const M=!e&&!t;i.running!==M&&(i.running?i.stop():i.start()),r.value=i.running}return{loopId:a,register:(M,P,b)=>p(M,P,b),start:_,stop:g,pause:y,resume:m,pauseRender:x,resumeRender:v,isRenderPaused:s,isActive:r,setContext:d,setReady:M=>n=M}}function n_(n){let e=0;return n.traverse(t=>{if(t.isMesh&&t.geometry&&t.type!=="HightlightMesh"){const i=t.geometry,r=i.attributes.position.count*3*Float32Array.BYTES_PER_ELEMENT,s=i.index?i.index.count*Uint32Array.BYTES_PER_ELEMENT:0,o=i.attributes.normal?i.attributes.normal.count*3*Float32Array.BYTES_PER_ELEMENT:0,a=i.attributes.uv?i.attributes.uv.count*2*Float32Array.BYTES_PER_ELEMENT:0,l=r+s+o+a;e+=l}}),e}function X3(n){return(n/1024).toFixed(2)}const $3=Number.parseInt(cc.replace("dev",""));function q3(n){return n instanceof we?n:Array.isArray(n)?new we(...n):new we(n)}const Au={realistic:{shadows:!0,physicallyCorrectLights:!0,outputColorSpace:Cn,toneMapping:xh,toneMappingExposure:3,shadowMap:{enabled:!0,type:dg}},flat:{toneMapping:Hi,toneMappingExposure:1}};function Y3({canvas:n,options:e,contextParts:{sizes:t,render:i,invalidate:r,advance:s}}){const o=Se(()=>({alpha:on(e.alpha)??!0,depth:on(e.depth),canvas:Ei(n),context:on(e.context),stencil:on(e.stencil),antialias:on(e.antialias)??!0,precision:on(e.precision),powerPreference:on(e.powerPreference),premultipliedAlpha:on(e.premultipliedAlpha),preserveDrawingBuffer:on(e.preserveDrawingBuffer),logarithmicDepthBuffer:on(e.logarithmicDepthBuffer),failIfMajorPerformanceCaveat:on(e.failIfMajorPerformanceCaveat)})),a=Ie(new $u(o.value));function l(){e.renderMode==="on-demand"&&r()}Ge(o,()=>{a.value.dispose(),a.value=new $u(o.value),l()}),Ge([t.width,t.height],()=>{a.value.setSize(t.width.value,t.height.value),l()},{immediate:!0}),Ge(()=>e.clearColor,l);const{pixelRatio:c}=kN(),{logError:u}=pE(),f=(()=>{const d=new $u,p={shadowMap:{enabled:d.shadowMap.enabled,type:d.shadowMap.type},toneMapping:d.toneMapping,toneMappingExposure:d.toneMappingExposure,outputColorSpace:d.outputColorSpace};return d.dispose(),p})(),h=on(e.renderMode);return h==="on-demand"&&r(),h==="manual"&&setTimeout(()=>{s()},100),sc(()=>{const d=on(e.preset);d&&(d in Au||u(`Renderer Preset must be one of these: ${Object.keys(Au).join(", ")}`),lE(a.value,Au[d])),F3(a.value,c.value,on(e.dpr)),h==="always"&&(i.frames.value=Math.max(1,i.frames.value));const p=(m,y)=>{const x=on(m),v=()=>{if(d)return sy(Au[d],y)};if(x!==void 0)return x;const E=v();return E!==void 0?E:sy(f,y)},_=(m,y)=>R3(a.value,y,p(m,y));_(e.shadows,"shadowMap.enabled"),_(e.toneMapping??xh,"toneMapping"),_(e.shadowMapType,"shadowMap.type"),$3<150&&_(!e.useLegacyLights,"physicallyCorrectLights"),_(e.outputColorSpace,"outputColorSpace"),_(e.toneMappingExposure,"toneMappingExposure");const g=p(e.clearColor,"clearColor");g&&a.value.setClearColor(g?q3(g):new we(0))}),$i(()=>{a.value.dispose(),a.value.forceContextLoss()}),{renderer:a}}function j3(n,e,t=10){const i=on(n)?$N():VN(Se(()=>on(e).parentElement)),r=di(ty(i.width,t)),s=di(ty(i.height,t)),o=Se(()=>r.value/s.value);return{height:s,width:r,aspectRatio:o}}const K3=(n,e)=>{const t=Se(()=>e.renderer.value.domElement),i=Ie([]),{x:r,y:s}=XN({target:t});let o=0;const{width:a,height:l,top:c,left:u}=zN(t),f=({x:re,y:xe})=>{if(t.value)return{x:(re-u.value)/a.value*2-1,y:-((xe-c.value)/l.value)*2+1}},h=({x:re,y:xe})=>{if(e.camera.value)return e.raycaster.value.setFromCamera(new fe(re,xe),e.camera.value),i.value=e.raycaster.value.intersectObjects(n.value,!0),i.value},d=re=>{const xe=f({x:(re==null?void 0:re.clientX)??r.value,y:(re==null?void 0:re.clientY)??s.value});return xe?h(xe)||[]:[]},p=oi(),_=oi(),g=oi(),m=oi(),y=oi(),x=oi(),v=oi(),E=oi();function T(re){const xe={};for(const Ve in re)typeof Ve!="function"&&(xe[Ve]=re[Ve]);return xe}const M=(re,xe)=>{var Ve,se,ge;const be=T(xe),W=new F(xe==null?void 0:xe.clientX,xe==null?void 0:xe.clientY,0).unproject((Ve=e.camera)==null?void 0:Ve.value);re.trigger({...be,intersections:i.value,unprojectedPoint:W,ray:(se=e.raycaster)==null?void 0:se.value.ray,camera:(ge=e.camera)==null?void 0:ge.value,sourceEvent:xe,delta:o,stopPropagating:!1})};let P;const b=re=>{d(re),M(g,re),P=re},S=()=>{P&&b(P)};let D,B,H;const $=re=>{var xe;D=(xe=i.value[0])==null?void 0:xe.object,o=0,B=new fe((re==null?void 0:re.clientX)??r.value,(re==null?void 0:re.clientY)??s.value),M(y,re)};let ee,Z=!1;const te=re=>{var xe,Ve,se;re instanceof PointerEvent&&(i.value.length===0&&M(x,re),D===((xe=i.value[0])==null?void 0:xe.object)&&(H=new fe((re==null?void 0:re.clientX)??r.value,(re==null?void 0:re.clientY)??s.value),o=B==null?void 0:B.distanceTo(H),re.button===0?(M(p,re),ee===((Ve=i.value[0])==null?void 0:Ve.object)?Z=!0:(ee=(se=i.value[0])==null?void 0:se.object,Z=!1)):re.button===2&&M(v,re)),M(m,re))},Q=re=>{Z&&(M(_,re),ee=void 0,Z=!1)},pe=re=>M(g,re),ve=re=>M(E,re);return t.value.addEventListener("pointerup",te),t.value.addEventListener("pointerdown",$),t.value.addEventListener("pointermove",b),t.value.addEventListener("pointerleave",pe),t.value.addEventListener("dblclick",Q),t.value.addEventListener("wheel",ve),$i(()=>{t!=null&&t.value&&(t.value.removeEventListener("pointerup",te),t.value.removeEventListener("pointerdown",$),t.value.removeEventListener("pointermove",b),t.value.removeEventListener("pointerleave",pe),t.value.removeEventListener("dblclick",Q),t.value.removeEventListener("wheel",ve))}),{intersects:i,onClick:re=>p.on(re).off,onDblClick:re=>_.on(re).off,onContextMenu:re=>v.on(re).off,onPointerMove:re=>g.on(re).off,onPointerUp:re=>m.on(re).off,onPointerDown:re=>y.on(re).off,onPointerMissed:re=>x.on(re).off,onWheel:re=>E.on(re).off,forceUpdate:S}};function mp(n,e){if(Array.isArray(n))for(const t of n)t(e);typeof n=="function"&&n(e)}function Z3(n,e,t){var i;const r=Ie(),s=Ie();n&&(r.value=n),e&&(s.value=e);const o=b=>{var S;return((S=b.__tres)==null?void 0:S.eventCount)>0},a=b=>{var S;return((S=b.children)==null?void 0:S.some(D=>a(D)))||o(b)},l=Ie(((i=r.value)==null?void 0:i.children).filter(a)||[]);function c(b,S){const D=[],B=()=>S.stopPropagating=!0;S.stopPropagation=B;for(const H of S==null?void 0:S.intersections){if(S.stopPropagating)return;S={...S,...H};const{object:$}=H;S.eventObject=$,mp($[b],S),D.push($);let ee=$.parent;for(;ee!==null&&!S.stopPropagating&&!D.includes(ee);)S.eventObject=ee,mp(ee[b],S),D.push(ee),ee=ee.parent;const Z=A3(b.slice(2));t(Z,{intersection:H,event:S})}}const{onClick:u,onDblClick:f,onContextMenu:h,onPointerMove:d,onPointerDown:p,onPointerUp:_,onPointerMissed:g,onWheel:m,forceUpdate:y}=K3(l,e);_(b=>c("onPointerUp",b)),p(b=>c("onPointerDown",b)),u(b=>c("onClick",b)),f(b=>c("onDoubleClick",b)),h(b=>c("onContextMenu",b)),m(b=>c("onWheel",b));let x=[];d(b=>{const S=b.intersections.map(({object:B})=>B),D=b.intersections;x.forEach(({object:B})=>{S.includes(B)||(b.intersections=x,c("onPointerLeave",b),c("onPointerOut",b))}),b.intersections=D,b.intersections.forEach(({object:B})=>{x.includes(B)||(c("onPointerEnter",b),c("onPointerOver",b))}),c("onPointerMove",b),x=b.intersections});const v=[];g(b=>{const S=()=>b.stopPropagating=!0;b.stopPropagation=S,v.forEach(D=>{b.stopPropagating||(b.eventObject=D,mp(D.onPointerMissed,b))}),t("pointer-missed",{event:b})});function E(b){Tu(b)&&Jr(b)&&l.value.push(b)}function T(b){if(Tu(b)&&Jr(b)){const S=l.value.indexOf(b);S>-1&&l.value.splice(S,1)}}function M(b){Tu(b)&&Jr(b)&&b.onPointerMissed&&v.push(b)}function P(b){if(Tu(b)&&Jr(b)){const S=v.indexOf(b);S>-1&&v.splice(S,1)}}return e.eventManager={forceUpdate:y,registerObject:E,deregisterObject:T,registerPointerMissedObject:M,deregisterPointerMissedObject:P},{forceUpdate:y,registerObject:E,deregisterObject:T,registerPointerMissedObject:M,deregisterPointerMissedObject:P}}function J3(n,e,t=100){t=t<=0?100:t;const i=oi(),r=new Set;let s=!1,o=!1,a=null;function l(){a&&clearTimeout(a),!o&&!s&&n()?(i.trigger(e),r.forEach(f=>f()),r.clear(),s=!0):!o&&!s&&(a=setTimeout(l,t))}function c(){o=!0,a&&clearTimeout(a)}l();const u=(f,...h)=>{f(...h)};return{on:f=>{if(s)return u(f,e),{off:()=>{}};{const h=i.on(f);return r.add(h.off),i.on(f)}},off:i.off,trigger:i.trigger,clear:i.clear,cancel:c}}const gp=new WeakMap;function Q3(n){if(n=n||mE(),gp.has(n))return gp.get(n);const e=100,t=Date.now(),i=J3(()=>{if(Date.now()-t>=e)return!0;{const r=n.renderer.value,s=(r==null?void 0:r.domElement)||{width:0,height:0};return!!(r&&s.width>0&&s.height>0)}},n);return gp.set(n,i),i}function eU({scene:n,canvas:e,windowSize:t,rendererOptions:i,emit:r}){const s=Ie(n),o=j3(t,e),{camera:a,cameras:l,registerCamera:c,deregisterCamera:u,setCameraActive:f}=k3({sizes:o}),h={mode:Je(i.renderMode||"always"),priority:Je(0),frames:Je(0),maxFrames:60,canBeInvalidated:Se(()=>h.mode.value==="on-demand"&&h.frames.value===0)};function d(H=1){i.renderMode==="on-demand"&&(h.frames.value=Math.min(h.maxFrames,h.frames.value+H))}function p(){i.renderMode==="manual"&&(h.frames.value=1)}const{renderer:_}=Y3({canvas:e,options:i,contextParts:{sizes:o,render:h,invalidate:d,advance:p}}),g={sizes:o,scene:s,camera:a,cameras:di(l),renderer:_,raycaster:Ie(new YM),controls:Je(null),perf:{maxFrames:160,fps:{value:0,accumulator:[]},memory:{currentMem:0,allocatedMem:0,accumulator:[]}},render:h,advance:p,extend:dm,invalidate:d,registerCamera:c,setCameraActive:f,deregisterCamera:u,loop:W3()};es("useTres",g),g.scene.value.__tres={root:g},g.loop.register(()=>{a.value&&h.frames.value>0&&(_.value.render(n,a.value),r("render",g.renderer.value)),h.priority.value=0,h.mode.value==="always"?h.frames.value=1:h.frames.value=Math.max(0,h.frames.value-1)},"render");const{on:m,cancel:y}=Q3(g);g.loop.setReady(!1),g.loop.start(),m(()=>{r("ready",g),g.loop.setReady(!0),Z3(n,g,r)}),$i(()=>{y(),g.loop.stop()});const x=100,v=HN({every:x}),{isSupported:E,memory:T}=GN({interval:x}),M=160;let P=performance.now();const b=({timestamp:H})=>{g.scene.value&&(g.perf.memory.allocatedMem=n_(g.scene.value)),H-P>=x&&(P=H,g.perf.fps.accumulator.push(v.value),g.perf.fps.accumulator.length>M&&g.perf.fps.accumulator.shift(),g.perf.fps.value=v.value,E.value&&T.value&&(g.perf.memory.accumulator.push(T.value.usedJSHeapSize/1024/1024),g.perf.memory.accumulator.length>M&&g.perf.memory.accumulator.shift(),g.perf.memory.currentMem=g.perf.memory.accumulator.reduce(($,ee)=>$+ee,0)/g.perf.memory.accumulator.length))};let S=0;const D=1,{pause:B}=t_(({delta:H})=>{window.__TRES__DEVTOOLS__&&(b({timestamp:performance.now()}),S+=H,S>=D&&(window.__TRES__DEVTOOLS__.cb(g),S=0))},{immediate:!0});return $i(()=>{B()}),g}function mE(){const n=gn("useTres");if(!n)throw new Error("useTresContext must be used together with useTresContextProvider");return n}function Z4(){const{camera:n,scene:e,renderer:t,loop:i,raycaster:r,controls:s,invalidate:o,advance:a}=mE();i.setContext({camera:n,scene:e,renderer:t,raycaster:r,controls:s,invalidate:o,advance:a});function l(f,h=0){return i.register(f,"before",h)}function c(f){return i.register(f,"render")}function u(f,h=0){return i.register(f,"after",h)}return{pause:i.pause,resume:i.resume,pauseRender:i.pauseRender,resumeRender:i.resumeRender,isActive:i.isActive,onBeforeRender:l,render:c,onAfterRender:u}}const tU=oi(),nU=oi(),gE=oi(),cl=new ed;let qu=0,Yu=0;t_(()=>{tU.trigger({delta:qu,elapsed:Yu,clock:cl}),nU.trigger({delta:qu,elapsed:Yu,clock:cl}),gE.trigger({delta:qu,elapsed:Yu,clock:cl})},{immediate:!1});gE.on(()=>{qu=cl.getDelta(),Yu=cl.getElapsedTime()});function iU(n,e={},t={}){let i=n;const r=a=>{i=a};let s=new Proxy({},{});const o={has(a,l){return l in e||l in i},get(a,l,c){return l in e?e[l](i):i[l]},set(a,l,c){const u=t[l];return u&&typeof u=="function"?u(c,i,s,r):i[l]=c,!0}};return s=new Proxy({},o),s}const{logError:cy}=pE(),uy=["onClick","onContextMenu","onPointerMove","onPointerEnter","onPointerLeave","onPointerOver","onPointerOut","onDoubleClick","onPointerDown","onPointerUp","onPointerCancel","onPointerMissed","onLostPointerCapture","onWheel"],rU=n=>{const e=n.scene.value;function t(c,u,f,h){if(h||(h={}),h.args||(h.args=[]),c==="template"||T3(c))return null;let d=c.replace("Tres",""),p;if(c==="primitive"){(!Ir(h.object)||Mt(h.object))&&cy("Tres primitives need an 'object' prop, whose value is an object or shallowRef"),d=h.object.type;const _={};p=iU(h.object,{object:g=>g,isPrimitive:()=>!0,__tres:()=>_},{object:(g,m,y,x)=>{B3(g,y,x,{patchProp:s,remove:r,insert:i},n)},__tres:g=>{Object.assign(_,g)}})}else{const _=hm.value[d];_||cy(`${d} is not defined on the THREE namespace. Use extend to add it to the catalog.`),p=new _(...h.args)}return p?(p.isCamera&&(h!=null&&h.position||p.position.set(3,3,3),h!=null&&h.lookAt||p.lookAt(0,0,0)),p=Gs(p,{...p.__tres,type:d,memoizedProps:h,eventCount:0,primitive:c==="primitive",attach:h.attach},n),p):null}function i(c,u){var f,h,d;if(!c)return;u=u||e;const p=c.__tres?c:Gs(c,{},n),_=u.__tres?u:Gs(u,{},n);c=ua(p),u=ua(_),c.__tres&&((f=c.__tres)==null?void 0:f.eventCount)>0&&((h=n.eventManager)==null||h.registerObject(c)),n.registerCamera(c),(d=n.eventManager)==null||d.registerPointerMissedObject(c),p.__tres.attach?N3(_,p,p.__tres.attach):Jr(c)&&Jr(_)&&(_.add(c),c.dispatchEvent({type:"added"})),p.__tres.parent=_,_.__tres.objects&&!_.__tres.objects.includes(p)&&_.__tres.objects.push(p)}function r(c,u){var f,h,d,p;if(!c)return;c!=null&&c.__tres&&((f=c.__tres)==null?void 0:f.eventCount)>0&&((h=n.eventManager)==null||h.deregisterObject(c)),u=um(u)?"default":u;const _=(d=c.__tres)==null?void 0:d.dispose;um(_)||(_===null?u=!1:u=_);const g=(p=c.__tres)==null?void 0:p.primitive,m=u==="default"?!g:!!u;if(c.__tres&&"objects"in c.__tres&&[...c.__tres.objects].forEach(y=>r(y,u)),m&&c.children&&[...c.children].forEach(y=>r(y,u)),hE(c,n),dE(c,n),m&&!S3(c)){if($s(u))u(c);else if($s(c.dispose))try{c.dispose()}catch{}}"__tres"in c&&delete c.__tres}function s(c,u,f,h){var d,p;if(!c)return;let _=c,g=u;if(c.__tres&&(c.__tres.memoizedProps[u]=h),u==="attach"){const v=((d=c.__tres)==null?void 0:d.parent)||c.parent;r(c),Gs(c,{attach:h},n),v&&i(c,v);return}if(u==="dispose"){c.__tres||(c=Gs(c,{},n)),c.__tres.dispose=h;return}if(Jr(c)&&g==="blocks-pointer-events"){h||h===""?c[g]=h:delete c[g];return}uy.includes(u)&&c.__tres&&(c.__tres.eventCount+=1);let m=wu(g),y=_==null?void 0:_[m];if(g==="args"){const v=c,E=f??[],T=h??[],M=((p=c.__tres)==null?void 0:p.type)||c.type;M&&E.length&&!P3(E,T)&&(_=Object.assign(v,new hm.value[M](...h)));return}if(_.type==="BufferGeometry"){if(g==="args")return;_.setAttribute(wu(g),new Et(...h));return}if(g.includes("-")&&y===void 0){const v=g.split("-");y=v.reduce((E,T)=>E[wu(T)],_),g=v.pop(),m=g,y!=null&&y.set||(_=v.reduce((E,T)=>E[wu(T)],_))}let x=h;if(x===""&&(x=!0),$s(y)){uy.includes(u)||(Kf(x)?c[m](...x):c[m](x)),m.startsWith("on")&&$s(x)&&(_[m]=x);return}!(y!=null&&y.set)&&!$s(y)?_[m]=x:y.constructor===x.constructor&&y!=null&&y.copy?y==null||y.copy(x):Kf(x)?y.set(...x):!y.isColor&&y.setScalar?y.setScalar(x):y.set(x),fE(c)}function o(c){var u;return((u=c==null?void 0:c.__tres)==null?void 0:u.parent)||null}function a(c){const u=Gs(new ct,{type:"Comment"},n);return u.name=c,u}function l(c){var u;const f=o(c),h=((u=f==null?void 0:f.__tres)==null?void 0:u.objects)||[],d=h.indexOf(c);return d<0||d>=h.length-1?null:h[d+1]}return{insert:i,remove:r,createElement:t,patchProp:s,parentNode:o,createText:()=>{},createComment:a,setText:()=>{},setElementText:()=>{},nextSibling:l,querySelector:()=>{},setScopeId:()=>{},cloneNode:()=>{},insertStaticContent:()=>{}}};function sU(){return _E().__VUE_DEVTOOLS_GLOBAL_HOOK__}function _E(){return typeof navigator<"u"&&typeof window<"u"?window:typeof globalThis<"u"?globalThis:{}}const oU=typeof Proxy=="function",aU="devtools-plugin:setup",lU="plugin:settings:set";let ka,pm;function cU(){var n;return ka!==void 0||(typeof window<"u"&&window.performance?(ka=!0,pm=window.performance):typeof globalThis<"u"&&!((n=globalThis.perf_hooks)===null||n===void 0)&&n.performance?(ka=!0,pm=globalThis.perf_hooks.performance):ka=!1),ka}function uU(){return cU()?pm.now():Date.now()}class fU{constructor(e,t){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=e,this.hook=t;const i={};if(e.settings)for(const o in e.settings){const a=e.settings[o];i[o]=a.defaultValue}const r=`__vue-devtools-plugin-settings__${e.id}`;let s=Object.assign({},i);try{const o=localStorage.getItem(r),a=JSON.parse(o);Object.assign(s,a)}catch{}this.fallbacks={getSettings(){return s},setSettings(o){try{localStorage.setItem(r,JSON.stringify(o))}catch{}s=o},now(){return uU()}},t&&t.on(lU,(o,a)=>{o===this.plugin.id&&this.fallbacks.setSettings(a)}),this.proxiedOn=new Proxy({},{get:(o,a)=>this.target?this.target.on[a]:(...l)=>{this.onQueue.push({method:a,args:l})}}),this.proxiedTarget=new Proxy({},{get:(o,a)=>this.target?this.target[a]:a==="on"?this.proxiedOn:Object.keys(this.fallbacks).includes(a)?(...l)=>(this.targetQueue.push({method:a,args:l,resolve:()=>{}}),this.fallbacks[a](...l)):(...l)=>new Promise(c=>{this.targetQueue.push({method:a,args:l,resolve:c})})})}async setRealTarget(e){this.target=e;for(const t of this.onQueue)this.target.on[t.method](...t.args);for(const t of this.targetQueue)t.resolve(await this.target[t.method](...t.args))}}function hU(n,e){const t=n,i=_E(),r=sU(),s=oU&&t.enableEarlyProxy;if(r&&(i.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__||!s))r.emit(aU,n,e);else{const o=s?new fU(t,r):null;(i.__VUE_DEVTOOLS_PLUGINS__=i.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:t,setupFn:e,proxy:o}),o&&e(o.proxiedTarget)}}function dU(n,e){const t=`▲ ■ ●${n}`;typeof fy=="function"?fy(t,e):console.log(t)}function fy(n,e){throw new Error(n+e)}const vE=n=>{const e={id:n.uuid,label:n.type,children:[],tags:[]};n.name!==""&&e.tags.push({label:n.name,textColor:5750629,backgroundColor:15793395});const t=n_(n);return t>0&&e.tags.push({label:`${X3(t)} KB`,textColor:15707189,backgroundColor:16775644,tooltip:"Memory usage"}),n.type.includes("Light")&&(x3(n)&&e.tags.push({label:`${n.intensity}`,textColor:9738662,backgroundColor:16316922,tooltip:"Intensity"}),e.tags.push({label:`#${new we(n.color).getHexString()}`,textColor:9738662,backgroundColor:16316922,tooltip:"Color"})),n.type.includes("Camera")&&(e.tags.push({label:`${n.fov}°`,textColor:9738662,backgroundColor:16316922,tooltip:"Field of view"}),e.tags.push({label:`x: ${Math.round(n.position.x)} y: ${Math.round(n.position.y)} z: ${Math.round(n.position.z)}`,textColor:9738662,backgroundColor:16316922,tooltip:"Position"})),e};function yE(n,e,t=""){n.children.forEach(i=>{if(i.type==="HightlightMesh"||t&&!i.type.includes(t)&&!i.name.includes(t))return;const r=vE(i);e.children.push(r),yE(i,r,t)})}const pU=[],za="tres:inspector",mU=hi({sceneGraph:null});function gU(n,e){hU({id:"dev.esm.tres",label:"TresJS 🪐",logo:"https://raw.githubusercontent.com/Tresjs/tres/main/public/favicon.svg",packageName:"tresjs",homepage:"https://tresjs.org",componentStateTypes:pU,app:n},t=>{typeof t.now!="function"&&dU("You seem to be using an outdated version of Vue Devtools. Are you still using the Beta release instead of the stable one? You can find the links at https://devtools.vuejs.org/guide/installation.html."),t.addInspector({id:za,label:"TresJS 🪐",icon:"account_tree",treeFilterPlaceholder:"Search instances"}),setInterval(()=>{t.sendInspectorTree(za)},1e3),setInterval(()=>{t.notifyComponentUpdate()},5e3),t.on.getInspectorTree(s=>{if(s.inspectorId===za){const o=vE(e.scene.value);yE(e.scene.value,o,s.filter),mU.sceneGraph=o,s.rootNodes=[o]}});let i=null,r=null;t.on.getInspectorState(s=>{var o;if(s.inspectorId===za){const[a]=e.scene.value.getObjectsByProperty("uuid",s.nodeId);if(!a)return;if(r&&i&&i.parent&&r.remove(i),a.isMesh){const l=L3(a);a.add(l),i=l,r=a}s.state={object:Object.entries(a).map(([l,c])=>l==="children"?{key:l,value:c.filter(u=>u.type!=="HightlightMesh")}:{key:l,value:c,editable:!0}).filter(({key:l})=>l!=="parent")},a.isScene&&(s.state={...s.state,state:[{key:"Scene Info",value:{objects:a.children.length,memory:n_(a),calls:e.renderer.value.info.render.calls,triangles:e.renderer.value.info.render.triangles,points:e.renderer.value.info.render.points,lines:e.renderer.value.info.render.lines}},{key:"Programs",value:((o=e.renderer.value.info.programs)==null?void 0:o.map(l=>({...l,programName:l.name})))||[]}]})}}),t.on.editInspectorState(s=>{s.inspectorId===za&&I3(e.scene.value,s.nodeId,s.path,s.state.value)})})}const _U=["data-scene","data-tres"],vU=rn({__name:"TresCanvas",props:{shadows:{type:Boolean,default:void 0},clearColor:{},toneMapping:{},shadowMapType:{},useLegacyLights:{type:Boolean,default:void 0},outputColorSpace:{},toneMappingExposure:{},renderMode:{default:"always"},dpr:{},camera:{},preset:{},windowSize:{type:Boolean,default:void 0},enableProvideBridge:{type:Boolean,default:!0},context:{},alpha:{type:Boolean,default:void 0},premultipliedAlpha:{type:Boolean},antialias:{type:Boolean,default:void 0},stencil:{type:Boolean,default:void 0},preserveDrawingBuffer:{type:Boolean,default:void 0},powerPreference:{},depth:{type:Boolean,default:void 0},failIfMajorPerformanceCaveat:{type:Boolean,default:void 0},precision:{},logarithmicDepthBuffer:{type:Boolean,default:void 0},reverseDepthBuffer:{type:Boolean}},emits:["render","click","double-click","context-menu","pointer-move","pointer-up","pointer-down","pointer-enter","pointer-leave","pointer-over","pointer-out","pointer-missed","wheel","ready"],setup(n,{expose:e,emit:t}){const i=n,r=t,s=rg(),o=Je(),a=Ie(new Oh),l=vn();dm(xN);const c=(p,_=!1)=>rn({setup(){var g;const m=(g=vn())==null?void 0:g.appContext;m&&(m.app=l==null?void 0:l.appContext.app);const y={};function x(v){v&&(v.parent&&x(v.parent),v.provides&&Object.assign(y,v.provides))}return l!=null&&l.parent&&i.enableProvideBridge&&(x(l.parent),Reflect.ownKeys(y).forEach(v=>{es(v,y[v])})),es("useTres",p),es("extend",dm),typeof window<"u"&&gU(m==null?void 0:m.app,p),()=>Mr(Xt,null,_?[]:s.default())}}),u=(p,_=!1)=>{const g=c(p,_),{render:m}=Bb(rU(p));m(Mr(g),a.value)},f=(p,_=!1)=>{uE(p.scene.value),_&&(p.renderer.value.dispose(),p.renderer.value.renderLists.dispose(),p.renderer.value.forceContextLoss()),a.value.__tres={root:p}},h=Ie(null);e({context:h,dispose:()=>f(h.value,!0)});const d=()=>{f(h.value),u(h.value,!0)};return yn(()=>{const p=o;h.value=eU({scene:a.value,canvas:p,windowSize:i.windowSize??!1,rendererOptions:i,emit:r});const{registerCamera:_,camera:g,cameras:m,deregisterCamera:y}=h.value;u(h.value);const x=()=>{const v=new $t(45,window.innerWidth/window.innerHeight,.1,1e3);v.position.set(3,3,3),v.lookAt(0,0,0),_(v);const E=sc(()=>{m.value.length>=2&&(v.removeFromParent(),y(v),E==null||E())})};Ge(()=>i.camera,(v,E)=>{v&&_(v),E&&(E.removeFromParent(),y(E))},{immediate:!0}),g.value||x()}),$i(d),(p,_)=>(ln(),ui("canvas",{ref_key:"canvas",ref:o,"data-scene":a.value.uuid,class:ga(p.$attrs.class),"data-tres":`tresjs ${Pt(m3).version}`,style:mi({display:"block",width:"100%",height:"100%",position:p.windowSize?"fixed":"relative",top:0,left:0,pointerEvents:"auto",touchAction:"none",...p.$attrs.style})},null,14,_U))}}),yU={install(n){n.component("TresCanvas",vU)}};function _p(n){if(n===null||typeof n!="object")return!1;const e=Object.getPrototypeOf(n);return e!==null&&e!==Object.prototype&&Object.getPrototypeOf(e)!==null||Symbol.iterator in n?!1:Symbol.toStringTag in n?Object.prototype.toString.call(n)==="[object Module]":!0}function mm(n,e,t=".",i){if(!_p(e))return mm(n,{},t,i);const r=Object.assign({},e);for(const s in n){if(s==="__proto__"||s==="constructor")continue;const o=n[s];o!=null&&(i&&i(r,s,o,t)||(Array.isArray(o)&&Array.isArray(r[s])?r[s]=[...o,...r[s]]:_p(o)&&_p(r[s])?r[s]=mm(o,r[s],(t?`${t}.`:"")+s.toString(),i):r[s]=o))}return r}function xU(n){return(...e)=>e.reduce((t,i)=>mm(t,i,"",n),{})}const xE=xU();function ps(n){return ch()?(qm(n),!0):!1}function hy(){const n=new Set,e=s=>{n.delete(s)};return{on:s=>{n.add(s);const o=()=>e(s);return ps(o),{off:o}},off:e,trigger:(...s)=>Promise.all(Array.from(n).map(o=>o(...s))),clear:()=>{n.clear()}}}const vp=new WeakMap,bU=(...n)=>{var e;const t=n[0],i=(e=vn())==null?void 0:e.proxy;if(i==null&&!rc())throw new Error("injectLocal must be called in setup");return i&&vp.has(i)&&t in vp.get(i)?vp.get(i)[t]:gn(...n)},bc=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const bE=n=>n!=null,SU=Object.prototype.toString,Jf=n=>SU.call(n)==="[object Object]",Xi=()=>{},MU=(n,e)=>Object.prototype.hasOwnProperty.call(n,e);function SE(...n){if(n.length!==1)return rb(...n);const e=n[0];return typeof e=="function"?di(Qm(()=>({get:e,set:Xi}))):Je(e)}function i_(n,e){function t(...i){return new Promise((r,s)=>{Promise.resolve(n(()=>e.apply(this,i),{fn:e,thisArg:this,args:i})).then(r).catch(s)})}return t}const ME=n=>n();function EE(n,e={}){let t,i,r=Xi;const s=l=>{clearTimeout(l),r(),r=Xi};let o;return l=>{const c=qe(n),u=qe(e.maxWait);return t&&s(t),c<=0||u!==void 0&&u<=0?(i&&(s(i),i=null),Promise.resolve(l())):new Promise((f,h)=>{r=e.rejectOnCancel?h:f,o=l,u&&!i&&(i=setTimeout(()=>{t&&s(t),i=null,f(o())},u)),t=setTimeout(()=>{i&&s(i),i=null,f(l())},c)})}}function EU(...n){let e=0,t,i=!0,r=Xi,s,o,a,l,c;!Mt(n[0])&&typeof n[0]=="object"?{delay:o,trailing:a=!0,leading:l=!0,rejectOnCancel:c=!1}=n[0]:[o,a=!0,l=!0,c=!1]=n;const u=()=>{t&&(clearTimeout(t),t=void 0,r(),r=Xi)};return h=>{const d=qe(o),p=Date.now()-e,_=()=>s=h();return u(),d<=0?(e=Date.now(),_()):(p>d&&(l||!i)?(e=Date.now(),_()):a&&(s=new Promise((g,m)=>{r=c?m:g,t=setTimeout(()=>{e=Date.now(),i=!0,g(_()),u()},Math.max(0,d-p))})),!l&&!t&&(t=setTimeout(()=>i=!0,d)),i=!1,s)}}function TU(n=ME,e={}){const{initialState:t="active"}=e,i=SE(t==="active");function r(){i.value=!1}function s(){i.value=!0}const o=(...a)=>{i.value&&n(...a)};return{isActive:di(i),pause:r,resume:s,eventFilter:o}}function wU(n){let e;function t(){return e||(e=n()),e}return t.reset=async()=>{const i=e;e=void 0,i&&await i},t}function AU(n,e){var t;if(typeof n=="number")return n+e;const i=((t=n.match(/^-?\d+\.?\d*/))==null?void 0:t[0])||"",r=n.slice(i.length),s=Number.parseFloat(i)+e;return Number.isNaN(s)?n:s+r}function ul(n){return n.endsWith("rem")?Number.parseFloat(n)*16:Number.parseFloat(n)}function fl(n){return Array.isArray(n)?n:[n]}function TE(n){return vn()}function wE(n,e=200,t={}){return i_(EE(e,t),n)}function CU(n,e=200,t=!1,i=!0,r=!1){return i_(EU(e,t,i,r),n)}function AE(n,e,t={}){const{eventFilter:i=ME,...r}=t;return Ge(n,i_(i,e),r)}function RU(n,e,t={}){const{eventFilter:i,initialState:r="active",...s}=t,{eventFilter:o,pause:a,resume:l,isActive:c}=TU(i,{initialState:r});return{stop:AE(n,e,{...s,eventFilter:o}),pause:a,resume:l,isActive:c}}function Ma(n,e=!0,t){TE()?yn(n,t):e?n():us(n)}function PU(n,e){TE()&&$i(n,e)}function IU(n,e,t={}){const{immediate:i=!0,immediateCallback:r=!1}=t,s=Ie(!1);let o=null;function a(){o&&(clearTimeout(o),o=null)}function l(){s.value=!1,a()}function c(...u){r&&n(),a(),s.value=!0,o=setTimeout(()=>{s.value=!1,o=null,n(...u)},qe(e))}return i&&(s.value=!0,bc&&c()),ps(l),{isPending:di(s),start:c,stop:l}}function J4(n=!1,e={}){const{truthyValue:t=!0,falsyValue:i=!1}=e,r=Mt(n),s=Ie(n);function o(a){if(arguments.length)return s.value=a,s.value;{const l=qe(t);return s.value=s.value===l?qe(i):l,s.value}}return r?o:[s,o]}function Q4(n,e,t={}){const{debounce:i=0,maxWait:r=void 0,...s}=t;return AE(n,e,{...s,eventFilter:EE(i,{maxWait:r})})}function LU(n,e,t){return Ge(n,e,{...t,immediate:!0})}const Xn=bc?window:void 0,DU=bc?window.document:void 0,r_=bc?window.navigator:void 0;function Jn(n){var e;const t=qe(n);return(e=t==null?void 0:t.$el)!=null?e:t}function Lt(...n){const e=[],t=()=>{e.forEach(a=>a()),e.length=0},i=(a,l,c,u)=>(a.addEventListener(l,c,u),()=>a.removeEventListener(l,c,u)),r=Se(()=>{const a=fl(qe(n[0])).filter(l=>l!=null);return a.every(l=>typeof l!="string")?a:void 0}),s=LU(()=>{var a,l;return[(l=(a=r.value)==null?void 0:a.map(c=>Jn(c)))!=null?l:[Xn].filter(c=>c!=null),fl(qe(r.value?n[1]:n[0])),fl(Pt(r.value?n[2]:n[1])),qe(r.value?n[3]:n[2])]},([a,l,c,u])=>{if(t(),!(a!=null&&a.length)||!(l!=null&&l.length)||!(c!=null&&c.length))return;const f=Jf(u)?{...u}:u;e.push(...a.flatMap(h=>l.flatMap(d=>c.map(p=>i(h,d,p,f)))))},{flush:"post"}),o=()=>{s(),t()};return ps(t),o}function OU(){const n=Ie(!1),e=vn();return e&&yn(()=>{n.value=!0},e),n}function vo(n){const e=OU();return Se(()=>(e.value,!!n()))}function CE(n,e,t={}){const{window:i=Xn,...r}=t;let s;const o=vo(()=>i&&"MutationObserver"in i),a=()=>{s&&(s.disconnect(),s=void 0)},l=Se(()=>{const h=qe(n),d=fl(h).map(Jn).filter(bE);return new Set(d)}),c=Ge(()=>l.value,h=>{a(),o.value&&h.size&&(s=new MutationObserver(e),h.forEach(d=>s.observe(d,r)))},{immediate:!0,flush:"post"}),u=()=>s==null?void 0:s.takeRecords(),f=()=>{c(),a()};return ps(f),{isSupported:o,stop:f,takeRecords:u}}const NU=Symbol("vueuse-ssr-width");function RE(){const n=rc()?bU(NU,null):null;return typeof n=="number"?n:void 0}function qs(n,e={}){const{window:t=Xn,ssrWidth:i=RE()}=e,r=vo(()=>t&&"matchMedia"in t&&typeof t.matchMedia=="function"),s=Ie(typeof i=="number"),o=Ie(),a=Ie(!1),l=c=>{a.value=c.matches};return sc(()=>{if(s.value){s.value=!r.value;const c=qe(n).split(",");a.value=c.some(u=>{const f=u.includes("not all"),h=u.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),d=u.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);let p=!!(h||d);return h&&p&&(p=i>=ul(h[1])),d&&p&&(p=i<=ul(d[1])),f?!p:p});return}r.value&&(o.value=t.matchMedia(qe(n)),a.value=o.value.matches)}),Lt(o,"change",l,{passive:!0}),Se(()=>a.value)}const eG={sm:640,md:768,lg:1024,xl:1280,"2xl":1536};function tG(n,e={}){function t(d,p){let _=qe(n[qe(d)]);return p!=null&&(_=AU(_,p)),typeof _=="number"&&(_=`${_}px`),_}const{window:i=Xn,strategy:r="min-width",ssrWidth:s=RE()}=e,o=typeof s=="number",a=o?Ie(!1):{value:!0};o&&Ma(()=>a.value=!!i);function l(d,p){return!a.value&&o?d==="min"?s>=ul(p):s<=ul(p):i?i.matchMedia(`(${d}-width: ${p})`).matches:!1}const c=d=>qs(()=>`(min-width: ${t(d)})`,e),u=d=>qs(()=>`(max-width: ${t(d)})`,e),f=Object.keys(n).reduce((d,p)=>(Object.defineProperty(d,p,{get:()=>r==="min-width"?c(p):u(p),enumerable:!0,configurable:!0}),d),{});function h(){const d=Object.keys(n).map(p=>[p,f[p],ul(t(p))]).sort((p,_)=>p[2]-_[2]);return Se(()=>d.filter(([,p])=>p.value).map(([p])=>p))}return Object.assign(f,{greaterOrEqual:c,smallerOrEqual:u,greater(d){return qs(()=>`(min-width: ${t(d,.1)})`,e)},smaller(d){return qs(()=>`(max-width: ${t(d,-.1)})`,e)},between(d,p){return qs(()=>`(min-width: ${t(d)}) and (max-width: ${t(p,-.1)})`,e)},isGreater(d){return l("min",t(d,.1))},isGreaterOrEqual(d){return l("min",t(d))},isSmaller(d){return l("max",t(d,-.1))},isSmallerOrEqual(d){return l("max",t(d))},isInBetween(d,p){return l("min",t(d))&&l("max",t(p,-.1))},current:h,active(){const d=h();return Se(()=>d.value.length===0?"":d.value.at(r==="min-width"?-1:0))}})}function gm(n,e={}){const{controls:t=!1,navigator:i=r_}=e,r=vo(()=>i&&"permissions"in i),s=Ie(),o=typeof n=="string"?{name:n}:n,a=Ie(),l=()=>{var u,f;a.value=(f=(u=s.value)==null?void 0:u.state)!=null?f:"prompt"};Lt(s,"change",l,{passive:!0});const c=wU(async()=>{if(r.value){if(!s.value)try{s.value=await i.permissions.query(o)}catch{s.value=void 0}finally{l()}if(t)return ot(s.value)}});return c(),t?{state:a,isSupported:r,query:c}:a}function nG(n={}){const{navigator:e=r_,read:t=!1,source:i,copiedDuring:r=1500,legacy:s=!1}=n,o=vo(()=>e&&"clipboard"in e),a=gm("clipboard-read"),l=gm("clipboard-write"),c=Se(()=>o.value||s),u=Ie(""),f=Ie(!1),h=IU(()=>f.value=!1,r,{immediate:!1});async function d(){let y=!(o.value&&m(a.value));if(!y)try{u.value=await e.clipboard.readText()}catch{y=!0}y&&(u.value=g())}c.value&&t&&Lt(["copy","cut"],d,{passive:!0});async function p(y=qe(i)){if(c.value&&y!=null){let x=!(o.value&&m(l.value));if(!x)try{await e.clipboard.writeText(y)}catch{x=!0}x&&_(y),u.value=y,f.value=!0,h.start()}}function _(y){const x=document.createElement("textarea");x.value=y??"",x.style.position="absolute",x.style.opacity="0",document.body.appendChild(x),x.select(),document.execCommand("copy"),x.remove()}function g(){var y,x,v;return(v=(x=(y=document==null?void 0:document.getSelection)==null?void 0:y.call(document))==null?void 0:x.toString())!=null?v:""}function m(y){return y==="granted"||y==="prompt"}return{isSupported:c,text:u,copied:f,copy:p}}const Cu=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Ru="__vueuse_ssr_handlers__",UU=FU();function FU(){return Ru in Cu||(Cu[Ru]=Cu[Ru]||{}),Cu[Ru]}function PE(n,e){return UU[n]||e}function BU(n){return qs("(prefers-color-scheme: dark)",n)}function kU(n){return n==null?"any":n instanceof Set?"set":n instanceof Map?"map":n instanceof Date?"date":typeof n=="boolean"?"boolean":typeof n=="string"?"string":typeof n=="object"?"object":Number.isNaN(n)?"any":"number"}const zU={boolean:{read:n=>n==="true",write:n=>String(n)},object:{read:n=>JSON.parse(n),write:n=>JSON.stringify(n)},number:{read:n=>Number.parseFloat(n),write:n=>String(n)},any:{read:n=>n,write:n=>String(n)},string:{read:n=>n,write:n=>String(n)},map:{read:n=>new Map(JSON.parse(n)),write:n=>JSON.stringify(Array.from(n.entries()))},set:{read:n=>new Set(JSON.parse(n)),write:n=>JSON.stringify(Array.from(n))},date:{read:n=>new Date(n),write:n=>n.toISOString()}},dy="vueuse-storage";function IE(n,e,t,i={}){var r;const{flush:s="pre",deep:o=!0,listenToStorageChanges:a=!0,writeDefaults:l=!0,mergeDefaults:c=!1,shallow:u,window:f=Xn,eventFilter:h,onError:d=D=>{console.error(D)},initOnMounted:p}=i,_=(u?Ie:Je)(typeof e=="function"?e():e),g=Se(()=>qe(n));if(!t)try{t=PE("getDefaultStorage",()=>{var D;return(D=Xn)==null?void 0:D.localStorage})()}catch(D){d(D)}if(!t)return _;const m=qe(e),y=kU(m),x=(r=i.serializer)!=null?r:zU[y],{pause:v,resume:E}=RU(_,()=>M(_.value),{flush:s,deep:o,eventFilter:h});Ge(g,()=>b(),{flush:s}),f&&a&&Ma(()=>{t instanceof Storage?Lt(f,"storage",b,{passive:!0}):Lt(f,dy,S),p&&b()}),p||b();function T(D,B){if(f){const H={key:g.value,oldValue:D,newValue:B,storageArea:t};f.dispatchEvent(t instanceof Storage?new StorageEvent("storage",H):new CustomEvent(dy,{detail:H}))}}function M(D){try{const B=t.getItem(g.value);if(D==null)T(B,null),t.removeItem(g.value);else{const H=x.write(D);B!==H&&(t.setItem(g.value,H),T(B,H))}}catch(B){d(B)}}function P(D){const B=D?D.newValue:t.getItem(g.value);if(B==null)return l&&m!=null&&t.setItem(g.value,x.write(m)),m;if(!D&&c){const H=x.read(B);return typeof c=="function"?c(H,m):y==="object"&&!Array.isArray(H)?{...m,...H}:H}else return typeof B!="string"?B:x.read(B)}function b(D){if(!(D&&D.storageArea!==t)){if(D&&D.key==null){_.value=m;return}if(!(D&&D.key!==g.value)){v();try{(D==null?void 0:D.newValue)!==x.write(_.value)&&(_.value=P(D))}catch(B){d(B)}finally{D?us(E):E()}}}}function S(D){b(D.detail)}return _}const VU="*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function HU(n={}){const{selector:e="html",attribute:t="class",initialValue:i="auto",window:r=Xn,storage:s,storageKey:o="vueuse-color-scheme",listenToStorageChanges:a=!0,storageRef:l,emitAuto:c,disableTransition:u=!0}=n,f={auto:"",light:"light",dark:"dark",...n.modes||{}},h=BU({window:r}),d=Se(()=>h.value?"dark":"light"),p=l||(o==null?SE(i):IE(o,i,s,{window:r,listenToStorageChanges:a})),_=Se(()=>p.value==="auto"?d.value:p.value),g=PE("updateHTMLAttrs",(v,E,T)=>{const M=typeof v=="string"?r==null?void 0:r.document.querySelector(v):Jn(v);if(!M)return;const P=new Set,b=new Set;let S=null;if(E==="class"){const B=T.split(/\s/g);Object.values(f).flatMap(H=>(H||"").split(/\s/g)).filter(Boolean).forEach(H=>{B.includes(H)?P.add(H):b.add(H)})}else S={key:E,value:T};if(P.size===0&&b.size===0&&S===null)return;let D;u&&(D=r.document.createElement("style"),D.appendChild(document.createTextNode(VU)),r.document.head.appendChild(D));for(const B of P)M.classList.add(B);for(const B of b)M.classList.remove(B);S&&M.setAttribute(S.key,S.value),u&&(r.getComputedStyle(D).opacity,document.head.removeChild(D))});function m(v){var E;g(e,t,(E=f[v])!=null?E:v)}function y(v){n.onChanged?n.onChanged(v,m):m(v)}Ge(_,y,{flush:"post",immediate:!0}),Ma(()=>y(_.value));const x=Se({get(){return c?p.value:_.value},set(v){p.value=v}});return Object.assign(x,{store:p,system:d,state:_})}function Pu(n,e,t={}){const{window:i=Xn,initialValue:r,observe:s=!1}=t,o=Ie(r),a=Se(()=>{var c;return Jn(e)||((c=i==null?void 0:i.document)==null?void 0:c.documentElement)});function l(){var c;const u=qe(n),f=qe(a);if(f&&i&&u){const h=(c=i.getComputedStyle(f).getPropertyValue(u))==null?void 0:c.trim();o.value=h||o.value||r}}return s&&CE(a,l,{attributeFilter:["style","class"],window:i}),Ge([a,()=>qe(n)],(c,u)=>{u[0]&&u[1]&&u[0].style.removeProperty(u[1]),l()},{immediate:!0}),Ge([o,a],([c,u])=>{const f=qe(n);u!=null&&u.style&&f&&(c==null?u.style.removeProperty(f):u.style.setProperty(f,c))},{immediate:!0}),o}function GU(n={}){const{valueDark:e="dark",valueLight:t=""}=n,i=HU({...n,onChanged:(o,a)=>{var l;n.onChanged?(l=n.onChanged)==null||l.call(n,o==="dark",a,o):a(o)},modes:{dark:e,light:t}}),r=Se(()=>i.system.value);return Se({get(){return i.value==="dark"},set(o){const a=o?"dark":"light";r.value===a?i.value="auto":i.value=a}})}function WU(n={}){const{navigator:e=r_,requestPermissions:t=!1,constraints:i={audio:!0,video:!0},onUpdated:r}=n,s=Je([]),o=Se(()=>s.value.filter(p=>p.kind==="videoinput")),a=Se(()=>s.value.filter(p=>p.kind==="audioinput")),l=Se(()=>s.value.filter(p=>p.kind==="audiooutput")),c=vo(()=>e&&e.mediaDevices&&e.mediaDevices.enumerateDevices),u=Ie(!1);let f;async function h(){c.value&&(s.value=await e.mediaDevices.enumerateDevices(),r==null||r(s.value),f&&(f.getTracks().forEach(p=>p.stop()),f=null))}async function d(){const p=i.video?"camera":"microphone";if(!c.value)return!1;if(u.value)return!0;const{state:_,query:g}=gm(p,{controls:!0});if(await g(),_.value!=="granted"){let m=!0;try{f=await e.mediaDevices.getUserMedia(i)}catch{f=null,m=!1}h(),u.value=m}else u.value=!0;return u.value}return c.value&&(t&&d(),Lt(e.mediaDevices,"devicechange",h,{passive:!0}),h()),{devices:s,ensurePermissions:d,permissionGranted:u,videoInputs:o,audioInputs:a,audioOutputs:l,isSupported:c}}function XU(n,e,t={}){const{window:i=Xn,...r}=t;let s;const o=vo(()=>i&&"ResizeObserver"in i),a=()=>{s&&(s.disconnect(),s=void 0)},l=Se(()=>{const f=qe(n);return Array.isArray(f)?f.map(h=>Jn(h)):[Jn(f)]}),c=Ge(l,f=>{if(a(),o.value&&i){s=new ResizeObserver(e);for(const h of f)h&&s.observe(h,r)}},{immediate:!0,flush:"post"}),u=()=>{a(),c()};return ps(u),{isSupported:o,stop:u}}function iG(n,e={}){const{reset:t=!0,windowResize:i=!0,windowScroll:r=!0,immediate:s=!0,updateTiming:o="sync"}=e,a=Ie(0),l=Ie(0),c=Ie(0),u=Ie(0),f=Ie(0),h=Ie(0),d=Ie(0),p=Ie(0);function _(){const m=Jn(n);if(!m){t&&(a.value=0,l.value=0,c.value=0,u.value=0,f.value=0,h.value=0,d.value=0,p.value=0);return}const y=m.getBoundingClientRect();a.value=y.height,l.value=y.bottom,c.value=y.left,u.value=y.right,f.value=y.top,h.value=y.width,d.value=y.x,p.value=y.y}function g(){o==="sync"?_():o==="next-frame"&&requestAnimationFrame(()=>_())}return XU(n,g),Ge(()=>Jn(n),m=>!m&&g()),CE(n,g,{attributeFilter:["style","class"]}),r&&Lt("scroll",g,{capture:!0,passive:!0}),i&&Lt("resize",g,{passive:!0}),Ma(()=>{s&&g()}),{height:a,bottom:l,left:c,right:u,top:f,width:h,x:d,y:p,update:g}}function $U(n,e,t={}){const{root:i,rootMargin:r="0px",threshold:s=0,window:o=Xn,immediate:a=!0}=t,l=vo(()=>o&&"IntersectionObserver"in o),c=Se(()=>{const p=qe(n);return fl(p).map(Jn).filter(bE)});let u=Xi;const f=Ie(a),h=l.value?Ge(()=>[c.value,Jn(i),f.value],([p,_])=>{if(u(),!f.value||!p.length)return;const g=new IntersectionObserver(e,{root:Jn(_),rootMargin:r,threshold:s});p.forEach(m=>m&&g.observe(m)),u=()=>{g.disconnect(),u=Xi}},{immediate:a,flush:"post"}):Xi,d=()=>{u(),h(),f.value=!1};return ps(d),{isSupported:l,isActive:f,pause(){u(),f.value=!1},resume(){f.value=!0},stop:d}}const qU={multiple:!0,accept:"*",reset:!1,directory:!1};function YU(n){if(!n)return null;if(n instanceof FileList)return n;const e=new DataTransfer;for(const t of n)e.items.add(t);return e.files}function rG(n={}){const{document:e=DU}=n,t=Je(YU(n.initialFiles)),{on:i,trigger:r}=hy(),{on:s,trigger:o}=hy();let a;e&&(a=e.createElement("input"),a.type="file",a.onchange=u=>{const f=u.target;t.value=f.files,r(t.value)},a.oncancel=()=>{o()});const l=()=>{t.value=null,a&&a.value&&(a.value="",r(null))},c=u=>{if(!a)return;const f={...qU,...n,...u};a.multiple=f.multiple,a.accept=f.accept,a.webkitdirectory=f.directory,MU(f,"capture")&&(a.capture=f.capture),f.reset&&l(),a.click()};return{files:di(t),open:c,reset:l,onCancel:s,onChange:i}}const py=1;function sG(n,e={}){const{throttle:t=0,idle:i=200,onStop:r=Xi,onScroll:s=Xi,offset:o={left:0,right:0,top:0,bottom:0},eventListenerOptions:a={capture:!1,passive:!0},behavior:l="auto",window:c=Xn,onError:u=M=>{console.error(M)}}=e,f=Ie(0),h=Ie(0),d=Se({get(){return f.value},set(M){_(M,void 0)}}),p=Se({get(){return h.value},set(M){_(void 0,M)}});function _(M,P){var b,S,D,B;if(!c)return;const H=qe(n);if(!H)return;(D=H instanceof Document?c.document.body:H)==null||D.scrollTo({top:(b=qe(P))!=null?b:p.value,left:(S=qe(M))!=null?S:d.value,behavior:qe(l)});const $=((B=H==null?void 0:H.document)==null?void 0:B.documentElement)||(H==null?void 0:H.documentElement)||H;d!=null&&(f.value=$.scrollLeft),p!=null&&(h.value=$.scrollTop)}const g=Ie(!1),m=hi({left:!0,right:!1,top:!0,bottom:!1}),y=hi({left:!1,right:!1,top:!1,bottom:!1}),x=M=>{g.value&&(g.value=!1,y.left=!1,y.right=!1,y.top=!1,y.bottom=!1,r(M))},v=wE(x,t+i),E=M=>{var P;if(!c)return;const b=((P=M==null?void 0:M.document)==null?void 0:P.documentElement)||(M==null?void 0:M.documentElement)||Jn(M),{display:S,flexDirection:D,direction:B}=getComputedStyle(b),H=B==="rtl"?-1:1,$=b.scrollLeft;y.left=$f.value;const ee=Math.abs($*H)<=(o.left||0),Z=Math.abs($*H)+b.clientWidth>=b.scrollWidth-(o.right||0)-py;S==="flex"&&D==="row-reverse"?(m.left=Z,m.right=ee):(m.left=ee,m.right=Z),f.value=$;let te=b.scrollTop;M===c.document&&!te&&(te=c.document.body.scrollTop),y.top=teh.value;const Q=Math.abs(te)<=(o.top||0),pe=Math.abs(te)+b.clientHeight>=b.scrollHeight-(o.bottom||0)-py;S==="flex"&&D==="column-reverse"?(m.top=pe,m.bottom=Q):(m.top=Q,m.bottom=pe),h.value=te},T=M=>{var P;if(!c)return;const b=(P=M.target.documentElement)!=null?P:M.target;E(b),g.value=!0,v(M),s(M)};return Lt(n,"scroll",t?CU(T,t,!0,!1):T,a),Ma(()=>{try{const M=qe(n);if(!M)return;E(M)}catch(M){u(M)}}),Lt(n,"scrollend",x,a),{x:d,y:p,isScrolling:g,arrivedState:m,directions:y,measure(){const M=qe(n);c&&M&&E(M)}}}function zr(n,e,t={}){const{window:i=Xn}=t;return IE(n,e,i==null?void 0:i.localStorage,t)}function oG(n){const e=Ie(),t=()=>{e.value&&URL.revokeObjectURL(e.value),e.value=void 0};return Ge(()=>qe(n),i=>{t(),i&&(e.value=URL.createObjectURL(i))},{immediate:!0}),ps(t),di(e)}const my="--vueuse-safe-area-top",gy="--vueuse-safe-area-right",_y="--vueuse-safe-area-bottom",vy="--vueuse-safe-area-left";function aG(){const n=Ie(""),e=Ie(""),t=Ie(""),i=Ie("");if(bc){const s=Pu(my),o=Pu(gy),a=Pu(_y),l=Pu(vy);s.value="env(safe-area-inset-top, 0px)",o.value="env(safe-area-inset-right, 0px)",a.value="env(safe-area-inset-bottom, 0px)",l.value="env(safe-area-inset-left, 0px)",r(),Lt("resize",wE(r),{passive:!0})}function r(){n.value=Iu(my),e.value=Iu(gy),t.value=Iu(_y),i.value=Iu(vy)}return{top:n,right:e,bottom:t,left:i,update:r}}function Iu(n){return getComputedStyle(document.documentElement).getPropertyValue(n)}function lG(n,e,t){const{window:i=Xn}={},r=Je(null),s=Ie(),o=(...l)=>{s.value&&s.value.postMessage(...l)},a=function(){s.value&&s.value.terminate()};return i&&(s.value=new Worker(n,e),s.value.onmessage=l=>{r.value=l.data},ps(()=>{s.value&&s.value.terminate()})),{data:r,post:o,terminate:a,worker:s}}function cG(n={}){const{window:e=Xn,initialWidth:t=Number.POSITIVE_INFINITY,initialHeight:i=Number.POSITIVE_INFINITY,listenOrientation:r=!0,includeScrollbar:s=!0,type:o="inner"}=n,a=Ie(t),l=Ie(i),c=()=>{if(e)if(o==="outer")a.value=e.outerWidth,l.value=e.outerHeight;else if(o==="visual"&&e.visualViewport){const{width:f,height:h,scale:d}=e.visualViewport;a.value=Math.round(f*d),l.value=Math.round(h*d)}else s?(a.value=e.innerWidth,l.value=e.innerHeight):(a.value=e.document.documentElement.clientWidth,l.value=e.document.documentElement.clientHeight)};c(),Ma(c);const u={passive:!0};if(Lt("resize",c,u),e&&o==="visual"&&e.visualViewport&&Lt(e.visualViewport,"resize",c,u),r){const f=qs("(orientation: portrait)");Ge(f,()=>c())}return{width:a,height:l}}const LE=1/60*1e3,jU=typeof performance<"u"?()=>performance.now():()=>Date.now(),DE=typeof window<"u"?n=>window.requestAnimationFrame(n):n=>setTimeout(()=>n(jU()),LE);function KU(n){let e=[],t=[],i=0,r=!1,s=!1;const o=new WeakSet,a={schedule:(l,c=!1,u=!1)=>{const f=u&&r,h=f?e:t;return c&&o.add(l),h.indexOf(l)===-1&&(h.push(l),f&&r&&(i=e.length)),l},cancel:l=>{const c=t.indexOf(l);c!==-1&&t.splice(c,1),o.delete(l)},process:l=>{if(r){s=!0;return}if(r=!0,[e,t]=[t,e],t.length=0,i=e.length,i)for(let c=0;c(n[e]=KU(()=>Yl=!0),n),{}),ym=Sc.reduce((n,e)=>{const t=id[e];return n[e]=(i,r=!1,s=!1)=>(Yl||eF(),t.schedule(i,r,s)),n},{}),JU=Sc.reduce((n,e)=>(n[e]=id[e].cancel,n),{});Sc.reduce((n,e)=>(n[e]=()=>id[e].process(ta),n),{});const QU=n=>id[n].process(ta),OE=n=>{Yl=!1,ta.delta=_m?LE:Math.max(Math.min(n-ta.timestamp,ZU),1),ta.timestamp=n,vm=!0,Sc.forEach(QU),vm=!1,Yl&&(_m=!1,DE(OE))},eF=()=>{Yl=!0,_m=!0,vm||DE(OE)},NE=()=>ta;function UE(n,e){var t={};for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&e.indexOf(i)<0&&(t[i]=n[i]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,i=Object.getOwnPropertySymbols(n);rMath.min(Math.max(t,n),e),xy=.001,tF=.01,nF=10,iF=.05,rF=1;function sF({duration:n=800,bounce:e=.25,velocity:t=0,mass:i=1}){let r,s,o=1-e;o=xm(iF,rF,o),n=xm(tF,nF,n/1e3),o<1?(r=c=>{const u=c*o,f=u*n,h=u-t,d=bm(c,o),p=Math.exp(-f);return xy-h/d*p},s=c=>{const f=c*o*n,h=f*t+t,d=Math.pow(o,2)*Math.pow(c,2)*n,p=Math.exp(-f),_=bm(Math.pow(c,2),o);return(-r(c)+xy>0?-1:1)*((h-d)*p)/_}):(r=c=>{const u=Math.exp(-c*n),f=(c-t)*n+1;return-.001+u*f},s=c=>{const u=Math.exp(-c*n),f=(t-c)*(n*n);return u*f});const a=5/n,l=aF(r,s,a);if(n=n*1e3,isNaN(l))return{stiffness:100,damping:10,duration:n};{const c=Math.pow(l,2)*i;return{stiffness:c,damping:o*2*Math.sqrt(i*c),duration:n}}}const oF=12;function aF(n,e,t){let i=t;for(let r=1;rn[t]!==void 0)}function uF(n){let e=Object.assign({velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1},n);if(!by(n,cF)&&by(n,lF)){const t=sF(n);e=Object.assign(Object.assign(Object.assign({},e),t),{velocity:0,mass:1}),e.isResolvedFromDuration=!0}return e}function s_(n){var{from:e=0,to:t=1,restSpeed:i=2,restDelta:r}=n,s=UE(n,["from","to","restSpeed","restDelta"]);const o={done:!1,value:e};let{stiffness:a,damping:l,mass:c,velocity:u,duration:f,isResolvedFromDuration:h}=uF(s),d=Sy,p=Sy;function _(){const g=u?-(u/1e3):0,m=t-e,y=l/(2*Math.sqrt(a*c)),x=Math.sqrt(a/c)/1e3;if(r===void 0&&(r=Math.min(Math.abs(t-e)/100,.4)),y<1){const v=bm(x,y);d=E=>{const T=Math.exp(-y*x*E);return t-T*((g+y*x*m)/v*Math.sin(v*E)+m*Math.cos(v*E))},p=E=>{const T=Math.exp(-y*x*E);return y*x*T*(Math.sin(v*E)*(g+y*x*m)/v+m*Math.cos(v*E))-T*(Math.cos(v*E)*(g+y*x*m)-v*m*Math.sin(v*E))}}else if(y===1)d=v=>t-Math.exp(-x*v)*(m+(g+x*m)*v);else{const v=x*Math.sqrt(y*y-1);d=E=>{const T=Math.exp(-y*x*E),M=Math.min(v*E,300);return t-T*((g+y*x*m)*Math.sinh(M)+v*m*Math.cosh(M))/v}}}return _(),{next:g=>{const m=d(g);if(h)o.done=g>=f;else{const y=p(g)*1e3,x=Math.abs(y)<=i,v=Math.abs(t-m)<=r;o.done=x&&v}return o.value=o.done?t:m,o},flipTarget:()=>{u=-u,[e,t]=[t,e],_()}}}s_.needsInterpolation=(n,e)=>typeof n=="string"||typeof e=="string";const Sy=n=>0,FE=(n,e,t)=>{const i=e-n;return i===0?1:(t-n)/i},o_=(n,e,t)=>-t*n+t*e+n,BE=(n,e)=>t=>Math.max(Math.min(t,e),n),hl=n=>n%1?Number(n.toFixed(5)):n,jl=/(-)?([\d]*\.?[\d])+/g,Sm=/(#[0-9a-f]{6}|#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,fF=/^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function Mc(n){return typeof n=="string"}const Ec={test:n=>typeof n=="number",parse:parseFloat,transform:n=>n},dl=Object.assign(Object.assign({},Ec),{transform:BE(0,1)}),Lu=Object.assign(Object.assign({},Ec),{default:1}),a_=n=>({test:e=>Mc(e)&&e.endsWith(n)&&e.split(" ").length===1,parse:parseFloat,transform:e=>`${e}${n}`}),Fs=a_("deg"),pl=a_("%"),it=a_("px"),My=Object.assign(Object.assign({},pl),{parse:n=>pl.parse(n)/100,transform:n=>pl.transform(n*100)}),l_=(n,e)=>t=>!!(Mc(t)&&fF.test(t)&&t.startsWith(n)||e&&Object.prototype.hasOwnProperty.call(t,e)),kE=(n,e,t)=>i=>{if(!Mc(i))return i;const[r,s,o,a]=i.match(jl);return{[n]:parseFloat(r),[e]:parseFloat(s),[t]:parseFloat(o),alpha:a!==void 0?parseFloat(a):1}},Zs={test:l_("hsl","hue"),parse:kE("hue","saturation","lightness"),transform:({hue:n,saturation:e,lightness:t,alpha:i=1})=>"hsla("+Math.round(n)+", "+pl.transform(hl(e))+", "+pl.transform(hl(t))+", "+hl(dl.transform(i))+")"},hF=BE(0,255),yp=Object.assign(Object.assign({},Ec),{transform:n=>Math.round(hF(n))}),Qr={test:l_("rgb","red"),parse:kE("red","green","blue"),transform:({red:n,green:e,blue:t,alpha:i=1})=>"rgba("+yp.transform(n)+", "+yp.transform(e)+", "+yp.transform(t)+", "+hl(dl.transform(i))+")"};function dF(n){let e="",t="",i="",r="";return n.length>5?(e=n.substr(1,2),t=n.substr(3,2),i=n.substr(5,2),r=n.substr(7,2)):(e=n.substr(1,1),t=n.substr(2,1),i=n.substr(3,1),r=n.substr(4,1),e+=e,t+=t,i+=i,r+=r),{red:parseInt(e,16),green:parseInt(t,16),blue:parseInt(i,16),alpha:r?parseInt(r,16)/255:1}}const Mm={test:l_("#"),parse:dF,transform:Qr.transform},kn={test:n=>Qr.test(n)||Mm.test(n)||Zs.test(n),parse:n=>Qr.test(n)?Qr.parse(n):Zs.test(n)?Zs.parse(n):Mm.parse(n),transform:n=>Mc(n)?n:n.hasOwnProperty("red")?Qr.transform(n):Zs.transform(n)},zE="${c}",VE="${n}";function pF(n){var e,t,i,r;return isNaN(n)&&Mc(n)&&((t=(e=n.match(jl))===null||e===void 0?void 0:e.length)!==null&&t!==void 0?t:0)+((r=(i=n.match(Sm))===null||i===void 0?void 0:i.length)!==null&&r!==void 0?r:0)>0}function HE(n){typeof n=="number"&&(n=`${n}`);const e=[];let t=0;const i=n.match(Sm);i&&(t=i.length,n=n.replace(Sm,zE),e.push(...i.map(kn.parse)));const r=n.match(jl);return r&&(n=n.replace(jl,VE),e.push(...r.map(Ec.parse))),{values:e,numColors:t,tokenised:n}}function GE(n){return HE(n).values}function WE(n){const{values:e,numColors:t,tokenised:i}=HE(n),r=e.length;return s=>{let o=i;for(let a=0;atypeof n=="number"?0:n;function gF(n){const e=GE(n);return WE(n)(e.map(mF))}const Tc={test:pF,parse:GE,createTransformer:WE,getAnimatableNone:gF},_F=new Set(["brightness","contrast","saturate","opacity"]);function vF(n){let[e,t]=n.slice(0,-1).split("(");if(e==="drop-shadow")return n;const[i]=t.match(jl)||[];if(!i)return n;const r=t.replace(i,"");let s=_F.has(e)?1:0;return i!==t&&(s*=100),e+"("+s+r+")"}const yF=/([a-z-]*)\(.*?\)/g,Em=Object.assign(Object.assign({},Tc),{getAnimatableNone:n=>{const e=n.match(yF);return e?e.map(vF).join(" "):n}});function xp(n,e,t){return t<0&&(t+=1),t>1&&(t-=1),t<1/6?n+(e-n)*6*t:t<1/2?e:t<2/3?n+(e-n)*(2/3-t)*6:n}function Ey({hue:n,saturation:e,lightness:t,alpha:i}){n/=360,e/=100,t/=100;let r=0,s=0,o=0;if(!e)r=s=o=t;else{const a=t<.5?t*(1+e):t+e-t*e,l=2*t-a;r=xp(l,a,n+1/3),s=xp(l,a,n),o=xp(l,a,n-1/3)}return{red:Math.round(r*255),green:Math.round(s*255),blue:Math.round(o*255),alpha:i}}const xF=(n,e,t)=>{const i=n*n,r=e*e;return Math.sqrt(Math.max(0,t*(r-i)+i))},bF=[Mm,Qr,Zs],Ty=n=>bF.find(e=>e.test(n)),XE=(n,e)=>{let t=Ty(n),i=Ty(e),r=t.parse(n),s=i.parse(e);t===Zs&&(r=Ey(r),t=Qr),i===Zs&&(s=Ey(s),i=Qr);const o=Object.assign({},r);return a=>{for(const l in o)l!=="alpha"&&(o[l]=xF(r[l],s[l],a));return o.alpha=o_(r.alpha,s.alpha,a),t.transform(o)}},SF=n=>typeof n=="number",MF=(n,e)=>t=>e(n(t)),$E=(...n)=>n.reduce(MF);function qE(n,e){return SF(n)?t=>o_(n,e,t):kn.test(n)?XE(n,e):jE(n,e)}const YE=(n,e)=>{const t=[...n],i=t.length,r=n.map((s,o)=>qE(s,e[o]));return s=>{for(let o=0;o{const t=Object.assign(Object.assign({},n),e),i={};for(const r in t)n[r]!==void 0&&e[r]!==void 0&&(i[r]=qE(n[r],e[r]));return r=>{for(const s in i)t[s]=i[s](r);return t}};function wy(n){const e=Tc.parse(n),t=e.length;let i=0,r=0,s=0;for(let o=0;o{const t=Tc.createTransformer(e),i=wy(n),r=wy(e);return i.numHSL===r.numHSL&&i.numRGB===r.numRGB&&i.numNumbers>=r.numNumbers?$E(YE(i.parsed,r.parsed),t):o=>`${o>0?e:n}`},TF=(n,e)=>t=>o_(n,e,t);function wF(n){if(typeof n=="number")return TF;if(typeof n=="string")return kn.test(n)?XE:jE;if(Array.isArray(n))return YE;if(typeof n=="object")return EF}function AF(n,e,t){const i=[],r=t||wF(n[0]),s=n.length-1;for(let o=0;ot(FE(n,e,i))}function RF(n,e){const t=n.length,i=t-1;return r=>{let s=0,o=!1;if(r<=n[0]?o=!0:r>=n[i]&&(s=i-1,o=!0),!o){let l=1;for(;lr||l===i);l++);s=l-1}const a=FE(n[s],n[s+1],r);return e[s](a)}}function KE(n,e,{clamp:t=!0,ease:i,mixer:r}={}){const s=n.length;yy(s===e.length),yy(!i||!Array.isArray(i)||i.length===s-1),n[0]>n[s-1]&&(n=[].concat(n),e=[].concat(e),n.reverse(),e.reverse());const o=AF(e,i,r),a=s===2?CF(n,o):RF(n,o);return t?l=>a(xm(n[0],n[s-1],l)):a}const rd=n=>e=>1-n(1-e),c_=n=>e=>e<=.5?n(2*e)/2:(2-n(2*(1-e)))/2,PF=n=>e=>Math.pow(e,n),ZE=n=>e=>e*e*((n+1)*e-n),IF=n=>{const e=ZE(n);return t=>(t*=2)<1?.5*e(t):.5*(2-Math.pow(2,-10*(t-1)))},JE=1.525,LF=4/11,DF=8/11,OF=9/10,QE=n=>n,u_=PF(2),NF=rd(u_),eT=c_(u_),tT=n=>1-Math.sin(Math.acos(n)),nT=rd(tT),UF=c_(nT),f_=ZE(JE),FF=rd(f_),BF=c_(f_),kF=IF(JE),zF=4356/361,VF=35442/1805,HF=16061/1805,Qf=n=>{if(n===1||n===0)return n;const e=n*n;return nn<.5?.5*(1-Qf(1-n*2)):.5*Qf(n*2-1)+.5;function XF(n,e){return n.map(()=>e||eT).splice(0,n.length-1)}function $F(n){const e=n.length;return n.map((t,i)=>i!==0?i/(e-1):0)}function qF(n,e){return n.map(t=>t*e)}function ju({from:n=0,to:e=1,ease:t,offset:i,duration:r=300}){const s={done:!1,value:n},o=Array.isArray(e)?e:[n,e],a=qF(i&&i.length===o.length?i:$F(o),r);function l(){return KE(a,o,{ease:Array.isArray(t)?t:XF(o,t)})}let c=l();return{next:u=>(s.value=c(u),s.done=u>=r,s),flipTarget:()=>{o.reverse(),c=l()}}}function YF({velocity:n=0,from:e=0,power:t=.8,timeConstant:i=350,restDelta:r=.5,modifyTarget:s}){const o={done:!1,value:e};let a=t*n;const l=e+a,c=s===void 0?l:s(l);return c!==l&&(a=c-e),{next:u=>{const f=-a*Math.exp(-u/i);return o.done=!(f>r||f<-r),o.value=o.done?c:c+f,o},flipTarget:()=>{}}}const Ay={keyframes:ju,spring:s_,decay:YF};function jF(n){if(Array.isArray(n.to))return ju;if(Ay[n.type])return Ay[n.type];const e=new Set(Object.keys(n));return e.has("ease")||e.has("duration")&&!e.has("dampingRatio")?ju:e.has("dampingRatio")||e.has("stiffness")||e.has("mass")||e.has("damping")||e.has("restSpeed")||e.has("restDelta")?s_:ju}function iT(n,e,t=0){return n-e-t}function KF(n,e,t=0,i=!0){return i?iT(e+-n,e,t):e-(n-e)+t}function ZF(n,e,t,i){return i?n>=e+t:n<=-t}const JF=n=>{const e=({delta:t})=>n(t);return{start:()=>ym.update(e,!0),stop:()=>JU.update(e)}};function rT(n){var e,t,{from:i,autoplay:r=!0,driver:s=JF,elapsed:o=0,repeat:a=0,repeatType:l="loop",repeatDelay:c=0,onPlay:u,onStop:f,onComplete:h,onRepeat:d,onUpdate:p}=n,_=UE(n,["from","autoplay","driver","elapsed","repeat","repeatType","repeatDelay","onPlay","onStop","onComplete","onRepeat","onUpdate"]);let{to:g}=_,m,y=0,x=_.duration,v,E=!1,T=!0,M;const P=jF(_);!((t=(e=P).needsInterpolation)===null||t===void 0)&&t.call(e,i,g)&&(M=KE([0,100],[i,g],{clamp:!1}),i=0,g=100);const b=P(Object.assign(Object.assign({},_),{from:i,to:g}));function S(){y++,l==="reverse"?(T=y%2===0,o=KF(o,x,c,T)):(o=iT(o,x,c),l==="mirror"&&b.flipTarget()),E=!1,d&&d()}function D(){m.stop(),h&&h()}function B($){if(T||($=-$),o+=$,!E){const ee=b.next(Math.max(0,o));v=ee.value,M&&(v=M(v)),E=T?ee.done:o<=0}p==null||p(v),E&&(y===0&&(x??(x=o)),y{f==null||f(),m.stop()}}}function sT(n,e){return e?n*(1e3/e):0}function QF({from:n=0,velocity:e=0,min:t,max:i,power:r=.8,timeConstant:s=750,bounceStiffness:o=500,bounceDamping:a=10,restDelta:l=1,modifyTarget:c,driver:u,onUpdate:f,onComplete:h,onStop:d}){let p;function _(x){return t!==void 0&&xi}function g(x){return t===void 0?i:i===void 0||Math.abs(t-x){var E;f==null||f(v),(E=x.onUpdate)===null||E===void 0||E.call(x,v)},onComplete:h,onStop:d}))}function y(x){m(Object.assign({type:"spring",stiffness:o,damping:a,restDelta:l},x))}if(_(n))y({from:n,velocity:e,to:g(n)});else{let x=r*e+n;typeof c<"u"&&(x=c(x));const v=g(x),E=v===t?-1:1;let T,M;const P=b=>{T=M,M=b,e=sT(b-T,NE().delta),(E===1&&b>v||E===-1&&bp==null?void 0:p.stop()}}const oT=(n,e)=>1-3*e+3*n,aT=(n,e)=>3*e-6*n,lT=n=>3*n,eh=(n,e,t)=>((oT(e,t)*n+aT(e,t))*n+lT(e))*n,cT=(n,e,t)=>3*oT(e,t)*n*n+2*aT(e,t)*n+lT(e),eB=1e-7,tB=10;function nB(n,e,t,i,r){let s,o,a=0;do o=e+(t-e)/2,s=eh(o,i,r)-n,s>0?t=o:e=o;while(Math.abs(s)>eB&&++a=rB?sB(o,f,n,t):h===0?f:nB(o,a,a+Du,n,t)}return o=>o===0||o===1?o:eh(s(o),e,i)}const Sr={},bp={};class aB{constructor(){ii(this,"subscriptions",new Set)}add(e){return this.subscriptions.add(e),()=>this.subscriptions.delete(e)}notify(e,t,i){if(this.subscriptions.size)for(const r of this.subscriptions)r(e,t,i)}clear(){this.subscriptions.clear()}}function Cy(n){return!Number.isNaN(Number.parseFloat(n))}class lB{constructor(e){ii(this,"current");ii(this,"prev");ii(this,"timeDelta",0);ii(this,"lastUpdated",0);ii(this,"updateSubscribers",new aB);ii(this,"stopAnimation");ii(this,"canTrackVelocity",!1);ii(this,"updateAndNotify",e=>{this.prev=this.current,this.current=e;const{delta:t,timestamp:i}=NE();this.lastUpdated!==i&&(this.timeDelta=t,this.lastUpdated=i),ym.postRender(this.scheduleVelocityCheck),this.updateSubscribers.notify(this.current)});ii(this,"scheduleVelocityCheck",()=>ym.postRender(this.velocityCheck));ii(this,"velocityCheck",({timestamp:e})=>{this.canTrackVelocity||(this.canTrackVelocity=Cy(this.current)),e!==this.lastUpdated&&(this.prev=this.current)});this.prev=this.current=e,this.canTrackVelocity=Cy(this.current)}onChange(e){return this.updateSubscribers.add(e)}clearListeners(){this.updateSubscribers.clear()}set(e){this.updateAndNotify(e)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){return this.canTrackVelocity?sT(Number.parseFloat(this.current)-Number.parseFloat(this.prev),this.timeDelta):0}start(e){return this.stop(),new Promise(t=>{const{stop:i}=e(t);this.stopAnimation=i}).then(()=>this.clearAnimation())}stop(){this.stopAnimation&&this.stopAnimation(),this.clearAnimation()}isAnimating(){return!!this.stopAnimation}clearAnimation(){this.stopAnimation=null}destroy(){this.updateSubscribers.clear(),this.stop()}}function cB(n){return new lB(n)}const{isArray:uB}=Array;function fB(){const n=Je({}),e=i=>{const r=s=>{n.value[s]&&(n.value[s].stop(),n.value[s].destroy(),delete n.value[s])};i?uB(i)?i.forEach(r):r(i):Object.keys(n.value).forEach(r)},t=(i,r,s)=>{if(n.value[i])return n.value[i];const o=cB(r);return o.onChange(a=>s[i]=a),n.value[i]=o,o};return PU(e),{motionValues:n,get:t,stop:e}}function hB(n){return Array.isArray(n)}function Bs(){return{type:"spring",stiffness:500,damping:25,restDelta:.5,restSpeed:10}}function Sp(n){return{type:"spring",stiffness:550,damping:n===0?2*Math.sqrt(550):30,restDelta:.01,restSpeed:10}}function dB(n){return{type:"spring",stiffness:550,damping:n===0?100:30,restDelta:.01,restSpeed:10}}function Mp(){return{type:"keyframes",ease:"linear",duration:300}}function pB(n){return{type:"keyframes",duration:800,values:n}}const Ry={default:dB,x:Bs,y:Bs,z:Bs,rotate:Bs,rotateX:Bs,rotateY:Bs,rotateZ:Bs,scaleX:Sp,scaleY:Sp,scale:Sp,backgroundColor:Mp,color:Mp,opacity:Mp};function uT(n,e){let t;return hB(e)?t=pB:t=Ry[n]||Ry.default,{to:e,...t(e)}}const Py={...Ec,transform:Math.round},fT={color:kn,backgroundColor:kn,outlineColor:kn,fill:kn,stroke:kn,borderColor:kn,borderTopColor:kn,borderRightColor:kn,borderBottomColor:kn,borderLeftColor:kn,borderWidth:it,borderTopWidth:it,borderRightWidth:it,borderBottomWidth:it,borderLeftWidth:it,borderRadius:it,radius:it,borderTopLeftRadius:it,borderTopRightRadius:it,borderBottomRightRadius:it,borderBottomLeftRadius:it,width:it,maxWidth:it,height:it,maxHeight:it,size:it,top:it,right:it,bottom:it,left:it,padding:it,paddingTop:it,paddingRight:it,paddingBottom:it,paddingLeft:it,margin:it,marginTop:it,marginRight:it,marginBottom:it,marginLeft:it,rotate:Fs,rotateX:Fs,rotateY:Fs,rotateZ:Fs,scale:Lu,scaleX:Lu,scaleY:Lu,scaleZ:Lu,skew:Fs,skewX:Fs,skewY:Fs,distance:it,translateX:it,translateY:it,translateZ:it,x:it,y:it,z:it,perspective:it,transformPerspective:it,opacity:dl,originX:My,originY:My,originZ:it,zIndex:Py,filter:Em,WebkitFilter:Em,fillOpacity:dl,strokeOpacity:dl,numOctaves:Py},h_=n=>fT[n];function Tm(n,e){return e&&typeof n=="number"&&e.transform?e.transform(n):n}function mB(n,e){let t=h_(n);return t!==Em&&(t=Tc),t.getAnimatableNone?t.getAnimatableNone(e):void 0}const gB={linear:QE,easeIn:u_,easeInOut:eT,easeOut:NF,circIn:tT,circInOut:UF,circOut:nT,backIn:f_,backInOut:BF,backOut:FF,anticipate:kF,bounceIn:GF,bounceInOut:WF,bounceOut:Qf};function Iy(n){if(Array.isArray(n)){const[e,t,i,r]=n;return oB(e,t,i,r)}else if(typeof n=="string")return gB[n];return n}function _B(n){return Array.isArray(n)&&typeof n[0]!="number"}function Ly(n,e){return n==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&Tc.test(e)&&!e.startsWith("url("))}function vB(n){return Array.isArray(n.to)&&n.to[0]===null&&(n.to=[...n.to],n.to[0]=n.from),n}function yB({ease:n,times:e,delay:t,...i}){const r={...i};return e&&(r.offset=e),n&&(r.ease=_B(n)?n.map(Iy):Iy(n)),t&&(r.elapsed=-t),r}function xB(n,e,t){return Array.isArray(e.to)&&(n.duration||(n.duration=800)),vB(e),bB(n)||(n={...n,...uT(t,e.to)}),{...e,...yB(n)}}function bB({delay:n,repeat:e,repeatType:t,repeatDelay:i,from:r,...s}){return!!Object.keys(s).length}function SB(n,e){return n[e]||n.default||n}function MB(n,e,t,i,r){const s=SB(i,n);let o=s.from===null||s.from===void 0?e.get():s.from;const a=Ly(n,t);o==="none"&&a&&typeof t=="string"&&(o=mB(n,t));const l=Ly(n,o);function c(f){const h={from:o,to:t,velocity:i.velocity?i.velocity:e.getVelocity(),onUpdate:d=>e.set(d)};return s.type==="inertia"||s.type==="decay"?QF({...h,...s}):rT({...xB(s,h,n),onUpdate:d=>{h.onUpdate(d),s.onUpdate&&s.onUpdate(d)},onComplete:()=>{r&&r(),f&&f()}})}function u(f){return e.set(t),r&&r(),f&&f(),{stop:()=>{}}}return!l||!a||s.type===!1?u:c}function EB(){const{motionValues:n,stop:e,get:t}=fB();return{motionValues:n,stop:e,push:(r,s,o,a={},l)=>{const c=o[r],u=t(r,c,o);if(a&&a.immediate){u.set(s);return}const f=MB(r,u,s,a,l);u.start(f)}}}function TB(n,e={},{motionValues:t,push:i,stop:r}=EB()){const s=Pt(e),o=Je(!1);Ge(t,f=>{o.value=Object.values(f).filter(h=>h.isAnimating()).length>0},{immediate:!0,deep:!0});const a=f=>{if(!s||!s[f])throw new Error(`The variant ${f} does not exist.`);return s[f]},l=f=>{typeof f=="string"&&(f=a(f));const h=Object.entries(f).map(([p,_])=>{if(p!=="transition")return new Promise(g=>i(p,_,n,f.transition||uT(p,f[p]),g))}).filter(Boolean);async function d(){var p,_;await Promise.all(h),(_=(p=f.transition)==null?void 0:p.onComplete)==null||_.call(p)}return Promise.all([d()])};return{isAnimating:o,apply:l,set:f=>{const h=Jf(f)?f:a(f);Object.entries(h).forEach(([d,p])=>{d!=="transition"&&i(d,p,n,{immediate:!0})})},leave:async f=>{let h;if(s&&(s.leave&&(h=s.leave),!s.leave&&s.initial&&(h=s.initial)),!h){f();return}await l(h),f()},stop:r}}const d_=typeof window<"u",wB=()=>d_&&(window.onpointerdown===null||(Sr==null?void 0:Sr.TEST)),AB=()=>d_&&(window.ontouchstart===null||(Sr==null?void 0:Sr.TEST)),CB=()=>d_&&(window.onmousedown===null||(Sr==null?void 0:Sr.TEST));function RB({target:n,state:e,variants:t,apply:i}){const r=Pt(t),s=Je(!1),o=Je(!1),a=Je(!1),l=Se(()=>{let u=[...Object.keys(e.value||{})];return r&&(r.hovered&&(u=[...u,...Object.keys(r.hovered)]),r.tapped&&(u=[...u,...Object.keys(r.tapped)]),r.focused&&(u=[...u,...Object.keys(r.focused)])),u}),c=Se(()=>{const u={};Object.assign(u,e.value),s.value&&r.hovered&&Object.assign(u,r.hovered),o.value&&r.tapped&&Object.assign(u,r.tapped),a.value&&r.focused&&Object.assign(u,r.focused);for(const f in u)l.value.includes(f)||delete u[f];return u});r.hovered&&(Lt(n,"mouseenter",()=>s.value=!0),Lt(n,"mouseleave",()=>{s.value=!1,o.value=!1})),r.tapped&&(CB()&&(Lt(n,"mousedown",()=>o.value=!0),Lt(n,"mouseup",()=>o.value=!1)),wB()&&(Lt(n,"pointerdown",()=>o.value=!0),Lt(n,"pointerup",()=>o.value=!1)),AB()&&(Lt(n,"touchstart",()=>o.value=!0),Lt(n,"touchend",()=>o.value=!1))),r.focused&&(Lt(n,"focus",()=>a.value=!0),Lt(n,"blur",()=>a.value=!1)),Ge([s,o,a],()=>{i(c.value)})}function PB({set:n,target:e,variants:t,variant:i}){const r=Pt(t);Ge(()=>e,()=>{r&&(r.initial&&(n("initial"),i.value="initial"),r.enter&&(i.value="enter"))},{immediate:!0,flush:"pre"})}function IB({state:n,apply:e}){Ge(n,t=>{t&&e(t)},{immediate:!0})}function hT({target:n,variants:e,variant:t}){const i=Pt(e);i&&(i.visible||i.visibleOnce)&&$U(n,([{isIntersecting:r}])=>{i.visible?r?t.value="visible":t.value="initial":i.visibleOnce&&(r&&t.value!=="visibleOnce"?t.value="visibleOnce":t.value||(t.value="initial"))})}function LB(n,e={syncVariants:!0,lifeCycleHooks:!0,visibilityHooks:!0,eventListeners:!0}){e.lifeCycleHooks&&PB(n),e.syncVariants&&IB(n),e.visibilityHooks&&hT(n),e.eventListeners&&RB(n)}function dT(n={}){const e=hi({...n}),t=Je({});return Ge(e,()=>{const i={};for(const[r,s]of Object.entries(e)){const o=h_(r),a=Tm(s,o);i[r]=a}t.value=i},{immediate:!0,deep:!0}),{state:e,style:t}}function p_(n,e){Ge(()=>Jn(n),t=>{t&&e(t)},{immediate:!0})}const DB={x:"translateX",y:"translateY",z:"translateZ"};function pT(n={},e=!0){const t=hi({...n}),i=Je("");return Ge(t,r=>{let s="",o=!1;if(e&&(r.x||r.y||r.z)){const a=[r.x||0,r.y||0,r.z||0].map(l=>Tm(l,it)).join(",");s+=`translate3d(${a}) `,o=!0}for(const[a,l]of Object.entries(r)){if(e&&(a==="x"||a==="y"||a==="z"))continue;const c=h_(a),u=Tm(l,c);s+=`${DB[a]||a}(${u}) `}e&&!o&&(s+="translateZ(0px) "),i.value=s.trim()},{immediate:!0,deep:!0}),{state:t,transform:i}}const OB=["","X","Y","Z"],NB=["perspective","translate","scale","rotate","skew"],mT=["transformPerspective","x","y","z"];NB.forEach(n=>{OB.forEach(e=>{const t=n+e;mT.push(t)})});const UB=new Set(mT);function m_(n){return UB.has(n)}const FB=new Set(["originX","originY","originZ"]);function gT(n){return FB.has(n)}function BB(n){const e={},t={};return Object.entries(n).forEach(([i,r])=>{m_(i)||gT(i)?e[i]=r:t[i]=r}),{transform:e,style:t}}function sd(n){const{transform:e,style:t}=BB(n),{transform:i}=pT(e),{style:r}=dT(t);return i.value&&(r.value.transform=i.value),r.value}function kB(n,e){let t,i;const{state:r,style:s}=dT();return p_(n,o=>{i=o;for(const a of Object.keys(fT))o.style[a]===null||o.style[a]===""||m_(a)||gT(a)||(r[a]=o.style[a]);t&&Object.entries(t).forEach(([a,l])=>o.style[a]=l),e&&e(r)}),Ge(s,o=>{if(!i){t=o;return}for(const a in o)i.style[a]=o[a]},{immediate:!0}),{style:r}}function zB(n){const e=n.trim().split(/\) |\)/);if(e.length===1)return{};const t=i=>i.endsWith("px")||i.endsWith("deg")?Number.parseFloat(i):Number.isNaN(Number(i))?Number(i):i;return e.reduce((i,r)=>{if(!r)return i;const[s,o]=r.split("("),l=o.split(",").map(u=>t(u.endsWith(")")?u.replace(")",""):u.trim())),c=l.length===1?l[0]:l;return{...i,[s]:c}},{})}function VB(n,e){Object.entries(zB(e)).forEach(([t,i])=>{const r=["x","y","z"];if(t==="translate3d"){if(i===0){r.forEach(s=>n[s]=0);return}i.forEach((s,o)=>n[r[o]]=s);return}if(i=Number.parseFloat(`${i}`),t==="translateX"){n.x=i;return}if(t==="translateY"){n.y=i;return}if(t==="translateZ"){n.z=i;return}n[t]=i})}function HB(n,e){let t,i;const{state:r,transform:s}=pT();return p_(n,o=>{i=o,o.style.transform&&VB(r,o.style.transform),t&&(o.style.transform=t),e&&e(r)}),Ge(s,o=>{if(!i){t=o;return}i.style.transform=o},{immediate:!0}),{transform:r}}function GB(n){return Object.entries(n)}function WB(n,e){const t=hi({}),i=o=>Object.entries(o).forEach(([a,l])=>t[a]=l),{style:r}=kB(n,i),{transform:s}=HB(n,i);return Ge(t,o=>{GB(o).forEach(([a,l])=>{const c=m_(a)?s:r;c[a]&&c[a]===l||(c[a]=l)})},{immediate:!0,deep:!0}),p_(n,()=>e),{motionProperties:t,style:r,transform:s}}function XB(n={}){const e=Pt(n),t=Je();return{state:Se(()=>{if(t.value)return e[t.value]}),variant:t}}function _T(n,e={},t){const{motionProperties:i}=WB(n),{variant:r,state:s}=XB(e),o=TB(i,e),a={target:n,variant:r,variants:e,state:s,motionProperties:i,...o};return LB(a,t),a}const vT=["delay","duration"],$B=["initial","enter","leave","visible","visible-once","visibleOnce","hovered","tapped","focused",...vT];function qB(n){return vT.includes(n)}function YB(n,e){const t=n.props?n.props:n.data&&n.data.attrs?n.data.attrs:{};if(t){t.variants&&Jf(t.variants)&&(e.value={...e.value,...t.variants});for(let i of $B)if(!(!t||!t[i])){if(qB(i)&&typeof t[i]=="number"){for(const r of["enter","visible","visibleOnce"]){const s=e.value[r];s!=null&&(s.transition??(s.transition={}),s.transition[i]=t[i])}continue}if(Jf(t[i])){const r=t[i];i==="visible-once"&&(i="visibleOnce"),e.value[i]=r}}}}function Ep(n,e=!1){return{created:(r,s,o)=>{const a=s.value&&typeof s.value=="string"?s.value:o.key;a&&bp[a]&&bp[a].stop();const l=e?structuredClone(ot(n)||{}):n||{},c=Je(l);typeof s.value=="object"&&(c.value=s.value),YB(o,c);const f=_T(r,c,{eventListeners:!0,lifeCycleHooks:!0,syncVariants:!0,visibilityHooks:!1});r.motionInstance=f,a&&(bp[a]=f)},mounted:(r,s,o)=>{r.motionInstance&&hT(r.motionInstance)},getSSRProps(r,s){let{initial:o}=r.value||s&&(s==null?void 0:s.props)||{};o=Pt(o);const a=xE({},(n==null?void 0:n.initial)||{},o||{});return!a||Object.keys(a).length===0?void 0:{style:sd(a)}}}}const jB={initial:{opacity:0},enter:{opacity:1}},KB={initial:{opacity:0},visible:{opacity:1}},ZB={initial:{opacity:0},visibleOnce:{opacity:1}},JB={initial:{scale:0,opacity:0},enter:{scale:1,opacity:1}},QB={initial:{scale:0,opacity:0},visible:{scale:1,opacity:1}},ek={initial:{scale:0,opacity:0},visibleOnce:{scale:1,opacity:1}},tk={initial:{x:-100,rotate:90,opacity:0},enter:{x:0,rotate:0,opacity:1}},nk={initial:{x:-100,rotate:90,opacity:0},visible:{x:0,rotate:0,opacity:1}},ik={initial:{x:-100,rotate:90,opacity:0},visibleOnce:{x:0,rotate:0,opacity:1}},rk={initial:{x:100,rotate:-90,opacity:0},enter:{x:0,rotate:0,opacity:1}},sk={initial:{x:100,rotate:-90,opacity:0},visible:{x:0,rotate:0,opacity:1}},ok={initial:{x:100,rotate:-90,opacity:0},visibleOnce:{x:0,rotate:0,opacity:1}},ak={initial:{y:-100,rotate:-90,opacity:0},enter:{y:0,rotate:0,opacity:1}},lk={initial:{y:-100,rotate:-90,opacity:0},visible:{y:0,rotate:0,opacity:1}},ck={initial:{y:-100,rotate:-90,opacity:0},visibleOnce:{y:0,rotate:0,opacity:1}},uk={initial:{y:100,rotate:90,opacity:0},enter:{y:0,rotate:0,opacity:1}},fk={initial:{y:100,rotate:90,opacity:0},visible:{y:0,rotate:0,opacity:1}},hk={initial:{y:100,rotate:90,opacity:0},visibleOnce:{y:0,rotate:0,opacity:1}},dk={initial:{x:-100,opacity:0},enter:{x:0,opacity:1}},pk={initial:{x:-100,opacity:0},visible:{x:0,opacity:1}},mk={initial:{x:-100,opacity:0},visibleOnce:{x:0,opacity:1}},gk={initial:{x:100,opacity:0},enter:{x:0,opacity:1}},_k={initial:{x:100,opacity:0},visible:{x:0,opacity:1}},vk={initial:{x:100,opacity:0},visibleOnce:{x:0,opacity:1}},yk={initial:{y:-100,opacity:0},enter:{y:0,opacity:1}},xk={initial:{y:-100,opacity:0},visible:{y:0,opacity:1}},bk={initial:{y:-100,opacity:0},visibleOnce:{y:0,opacity:1}},Sk={initial:{y:100,opacity:0},enter:{y:0,opacity:1}},Mk={initial:{y:100,opacity:0},visible:{y:0,opacity:1}},Ek={initial:{y:100,opacity:0},visibleOnce:{y:0,opacity:1}},th={__proto__:null,fade:jB,fadeVisible:KB,fadeVisibleOnce:ZB,pop:JB,popVisible:QB,popVisibleOnce:ek,rollBottom:uk,rollLeft:tk,rollRight:rk,rollTop:ak,rollVisibleBottom:fk,rollVisibleLeft:nk,rollVisibleOnceBottom:hk,rollVisibleOnceLeft:ik,rollVisibleOnceRight:ok,rollVisibleOnceTop:ck,rollVisibleRight:sk,rollVisibleTop:lk,slideBottom:Sk,slideLeft:dk,slideRight:gk,slideTop:yk,slideVisibleBottom:Mk,slideVisibleLeft:pk,slideVisibleOnceBottom:Ek,slideVisibleOnceLeft:mk,slideVisibleOnceRight:vk,slideVisibleOnceTop:bk,slideVisibleRight:_k,slideVisibleTop:xk};function Tk(n){const e="àáâäæãåāăąçćčđďèéêëēėęěğǵḧîïíīįìłḿñńǹňôöòóœøōõőṕŕřßśšşșťțûüùúūǘůűųẃẍÿýžźż·/_,:;",t="aaaaaaaaaacccddeeeeeeeegghiiiiiilmnnnnoooooooooprrsssssttuuuuuuuuuwxyyzzz------",i=new RegExp(e.split("").join("|"),"g");return n.toString().replace(/[A-Z]/g,r=>`-${r}`).toLowerCase().replace(/\s+/g,"-").replace(i,r=>t.charAt(e.indexOf(r))).replace(/&/g,"-and-").replace(/[^\w\-]+/g,"").replace(/-{2,}/g,"-").replace(/^-+/,"").replace(/-+$/,"")}const yT=Symbol(""),xT={preset:{type:String,required:!1},instance:{type:Object,required:!1},variants:{type:Object,required:!1},initial:{type:Object,required:!1},enter:{type:Object,required:!1},leave:{type:Object,required:!1},visible:{type:Object,required:!1},visibleOnce:{type:Object,required:!1},hovered:{type:Object,required:!1},tapped:{type:Object,required:!1},focused:{type:Object,required:!1},delay:{type:[Number,String],required:!1},duration:{type:[Number,String],required:!1}};function wk(n){return Object.prototype.toString.call(n)==="[object Object]"}function wm(n){if(Array.isArray(n))return n.map(wm);if(wk(n)){const e={};for(const t in n)e[t]=wm(n[t]);return e}return n}function bT(n){const e=hi({}),t=gn(yT,{}),i=Se(()=>n.preset==null?{}:t!=null&&n.preset in t?structuredClone(ot(t)[n.preset]):n.preset in th?structuredClone(th[n.preset]):{}),r=Se(()=>({initial:n.initial,enter:n.enter,leave:n.leave,visible:n.visible,visibleOnce:n.visibleOnce,hovered:n.hovered,tapped:n.tapped,focused:n.focused}));function s(l,c){for(const u of["delay","duration"]){if(c[u]==null)continue;const f=Number.parseInt(c[u]);for(const h of["enter","visible","visibleOnce"]){const d=l[h];d!=null&&(d.transition??(d.transition={}),d.transition[u]=f)}}return l}const o=Se(()=>{const l=xE({},r.value,i.value,n.variants||{});return s({...l},n)});function a(l,c,u){var h;l.props??(l.props={}),(h=l.props).style??(h.style={}),l.props.style={...l.props.style,...u};const f=s(wm(o.value),l.props);return l.props.onVnodeMounted=({el:d})=>{e[c]=_T(d,f)},l.props.onVnodeUpdated=({el:d})=>{const p=sd(e[c].state);for(const[_,g]of Object.entries(p))d.style[_]=g},l}return{motionConfig:o,setNodeInstance:a}}const Ak=rn({name:"Motion",props:{...xT,is:{type:[String,Object],default:"div"}},setup(n){const e=rg(),{motionConfig:t,setNodeInstance:i}=bT(n);return()=>{const r=sd(t.value.initial||{}),s=Mr(n.is,void 0,e);return i(s,0,r),s}}}),Ck=rn({name:"MotionGroup",props:{...xT,is:{type:[String,Object],required:!1}},setup(n){const e=rg(),{motionConfig:t,setNodeInstance:i}=bT(n);return()=>{var o;const r=sd(t.value.initial||{}),s=((o=e.default)==null?void 0:o.call(e))||[];for(let a=0;a=0&&(v[W]=null,x[W].disconnect(be))}for(let ge=0;ge=v.length){v.push(be),W=ue;break}else if(v[ue]===null){v[ue]=be,W=ue;break}if(W===-1)break}const ae=x[W];ae&&ae.connect(be)}}const Z=new F,te=new F;function Q(se,ge,be){Z.setFromMatrixPosition(ge.matrixWorld),te.setFromMatrixPosition(be.matrixWorld);const W=Z.distanceTo(te),ae=ge.projectionMatrix.elements,ue=be.projectionMatrix.elements,le=ae[14]/(ae[10]-1),Oe=ae[14]/(ae[10]+1),I=(ae[9]+1)/ae[5],L=(ae[9]-1)/ae[5],w=(ae[8]-1)/ae[0],j=(ue[8]+1)/ue[0],G=le*w,q=le*j,R=W/(-w+j),N=R*-w;if(ge.matrixWorld.decompose(se.position,se.quaternion,se.scale),se.translateX(N),se.translateZ(R),se.matrixWorld.compose(se.position,se.quaternion,se.scale),se.matrixWorldInverse.copy(se.matrixWorld).invert(),ae[10]===-1)se.projectionMatrix.copy(ge.projectionMatrix),se.projectionMatrixInverse.copy(ge.projectionMatrixInverse);else{const V=le+R,A=Oe+R,C=G-N,k=q+(W-N),U=I*Oe/A*V,z=L*Oe/A*V;se.projectionMatrix.makePerspective(C,k,U,z,V,A),se.projectionMatrixInverse.copy(se.projectionMatrix).invert()}}function pe(se,ge){ge===null?se.matrixWorld.copy(se.matrix):se.matrixWorld.multiplyMatrices(ge.matrixWorld,se.matrix),se.matrixWorldInverse.copy(se.matrixWorld).invert()}this.updateCamera=function(se){if(r===null)return;let ge=se.near,be=se.far;_.texture!==null&&(_.depthNear>0&&(ge=_.depthNear),_.depthFar>0&&(be=_.depthFar)),S.near=P.near=M.near=ge,S.far=P.far=M.far=be,(D!==S.near||B!==S.far)&&(r.updateRenderState({depthNear:S.near,depthFar:S.far}),D=S.near,B=S.far),M.layers.mask=se.layers.mask|2,P.layers.mask=se.layers.mask|4,S.layers.mask=M.layers.mask|P.layers.mask;const W=se.parent,ae=S.cameras;pe(S,W);for(let ue=0;ue0&&(g.alphaTest.value=m.alphaTest);const y=e.get(m),x=y.envMap,v=y.envMapRotation;x&&(g.envMap.value=x,Us.copy(v),Us.x*=-1,Us.y*=-1,Us.z*=-1,x.isCubeTexture&&x.isRenderTargetTexture===!1&&(Us.y*=-1,Us.z*=-1),g.envMapRotation.value.setFromMatrix4(_N.makeRotationFromEuler(Us)),g.flipEnvMap.value=x.isCubeTexture&&x.isRenderTargetTexture===!1?-1:1,g.reflectivity.value=m.reflectivity,g.ior.value=m.ior,g.refractionRatio.value=m.refractionRatio),m.lightMap&&(g.lightMap.value=m.lightMap,g.lightMapIntensity.value=m.lightMapIntensity,t(m.lightMap,g.lightMapTransform)),m.aoMap&&(g.aoMap.value=m.aoMap,g.aoMapIntensity.value=m.aoMapIntensity,t(m.aoMap,g.aoMapTransform))}function o(g,m){g.diffuse.value.copy(m.color),g.opacity.value=m.opacity,m.map&&(g.map.value=m.map,t(m.map,g.mapTransform))}function a(g,m){g.dashSize.value=m.dashSize,g.totalSize.value=m.dashSize+m.gapSize,g.scale.value=m.scale}function l(g,m,y,x){g.diffuse.value.copy(m.color),g.opacity.value=m.opacity,g.size.value=m.size*y,g.scale.value=x*.5,m.map&&(g.map.value=m.map,t(m.map,g.uvTransform)),m.alphaMap&&(g.alphaMap.value=m.alphaMap,t(m.alphaMap,g.alphaMapTransform)),m.alphaTest>0&&(g.alphaTest.value=m.alphaTest)}function c(g,m){g.diffuse.value.copy(m.color),g.opacity.value=m.opacity,g.rotation.value=m.rotation,m.map&&(g.map.value=m.map,t(m.map,g.mapTransform)),m.alphaMap&&(g.alphaMap.value=m.alphaMap,t(m.alphaMap,g.alphaMapTransform)),m.alphaTest>0&&(g.alphaTest.value=m.alphaTest)}function u(g,m){g.specular.value.copy(m.specular),g.shininess.value=Math.max(m.shininess,1e-4)}function f(g,m){m.gradientMap&&(g.gradientMap.value=m.gradientMap)}function h(g,m){g.metalness.value=m.metalness,m.metalnessMap&&(g.metalnessMap.value=m.metalnessMap,t(m.metalnessMap,g.metalnessMapTransform)),g.roughness.value=m.roughness,m.roughnessMap&&(g.roughnessMap.value=m.roughnessMap,t(m.roughnessMap,g.roughnessMapTransform)),m.envMap&&(g.envMapIntensity.value=m.envMapIntensity)}function d(g,m,y){g.ior.value=m.ior,m.sheen>0&&(g.sheenColor.value.copy(m.sheenColor).multiplyScalar(m.sheen),g.sheenRoughness.value=m.sheenRoughness,m.sheenColorMap&&(g.sheenColorMap.value=m.sheenColorMap,t(m.sheenColorMap,g.sheenColorMapTransform)),m.sheenRoughnessMap&&(g.sheenRoughnessMap.value=m.sheenRoughnessMap,t(m.sheenRoughnessMap,g.sheenRoughnessMapTransform))),m.clearcoat>0&&(g.clearcoat.value=m.clearcoat,g.clearcoatRoughness.value=m.clearcoatRoughness,m.clearcoatMap&&(g.clearcoatMap.value=m.clearcoatMap,t(m.clearcoatMap,g.clearcoatMapTransform)),m.clearcoatRoughnessMap&&(g.clearcoatRoughnessMap.value=m.clearcoatRoughnessMap,t(m.clearcoatRoughnessMap,g.clearcoatRoughnessMapTransform)),m.clearcoatNormalMap&&(g.clearcoatNormalMap.value=m.clearcoatNormalMap,t(m.clearcoatNormalMap,g.clearcoatNormalMapTransform),g.clearcoatNormalScale.value.copy(m.clearcoatNormalScale),m.side===Dn&&g.clearcoatNormalScale.value.negate())),m.dispersion>0&&(g.dispersion.value=m.dispersion),m.iridescence>0&&(g.iridescence.value=m.iridescence,g.iridescenceIOR.value=m.iridescenceIOR,g.iridescenceThicknessMinimum.value=m.iridescenceThicknessRange[0],g.iridescenceThicknessMaximum.value=m.iridescenceThicknessRange[1],m.iridescenceMap&&(g.iridescenceMap.value=m.iridescenceMap,t(m.iridescenceMap,g.iridescenceMapTransform)),m.iridescenceThicknessMap&&(g.iridescenceThicknessMap.value=m.iridescenceThicknessMap,t(m.iridescenceThicknessMap,g.iridescenceThicknessMapTransform))),m.transmission>0&&(g.transmission.value=m.transmission,g.transmissionSamplerMap.value=y.texture,g.transmissionSamplerSize.value.set(y.width,y.height),m.transmissionMap&&(g.transmissionMap.value=m.transmissionMap,t(m.transmissionMap,g.transmissionMapTransform)),g.thickness.value=m.thickness,m.thicknessMap&&(g.thicknessMap.value=m.thicknessMap,t(m.thicknessMap,g.thicknessMapTransform)),g.attenuationDistance.value=m.attenuationDistance,g.attenuationColor.value.copy(m.attenuationColor)),m.anisotropy>0&&(g.anisotropyVector.value.set(m.anisotropy*Math.cos(m.anisotropyRotation),m.anisotropy*Math.sin(m.anisotropyRotation)),m.anisotropyMap&&(g.anisotropyMap.value=m.anisotropyMap,t(m.anisotropyMap,g.anisotropyMapTransform))),g.specularIntensity.value=m.specularIntensity,g.specularColor.value.copy(m.specularColor),m.specularColorMap&&(g.specularColorMap.value=m.specularColorMap,t(m.specularColorMap,g.specularColorMapTransform)),m.specularIntensityMap&&(g.specularIntensityMap.value=m.specularIntensityMap,t(m.specularIntensityMap,g.specularIntensityMapTransform))}function p(g,m){m.matcap&&(g.matcap.value=m.matcap)}function _(g,m){const y=e.get(m).light;g.referencePosition.value.setFromMatrixPosition(y.matrixWorld),g.nearDistance.value=y.shadow.camera.near,g.farDistance.value=y.shadow.camera.far}return{refreshFogUniforms:i,refreshMaterialUniforms:r}}function yN(n,e,t,i){let r={},s={},o=[];const a=n.getParameter(n.MAX_UNIFORM_BUFFER_BINDINGS);function l(y,x){const v=x.program;i.uniformBlockBinding(y,v)}function c(y,x){let v=r[y.id];v===void 0&&(p(y),v=u(y),r[y.id]=v,y.addEventListener("dispose",g));const E=x.program;i.updateUBOMapping(y,E);const T=e.render.frame;s[y.id]!==T&&(h(y),s[y.id]=T)}function u(y){const x=f();y.__bindingPointIndex=x;const v=n.createBuffer(),E=y.__size,T=y.usage;return n.bindBuffer(n.UNIFORM_BUFFER,v),n.bufferData(n.UNIFORM_BUFFER,E,T),n.bindBuffer(n.UNIFORM_BUFFER,null),n.bindBufferBase(n.UNIFORM_BUFFER,x,v),v}function f(){for(let y=0;y0&&(v+=E-T),y.__size=v,y.__cache={},this}function _(y){const x={boundary:0,storage:0};return typeof y=="number"||typeof y=="boolean"?(x.boundary=4,x.storage=4):y.isVector2?(x.boundary=8,x.storage=8):y.isVector3||y.isColor?(x.boundary=16,x.storage=12):y.isVector4?(x.boundary=16,x.storage=16):y.isMatrix3?(x.boundary=48,x.storage=48):y.isMatrix4?(x.boundary=64,x.storage=64):y.isTexture?console.warn("THREE.WebGLRenderer: Texture samplers can not be part of an uniforms group."):console.warn("THREE.WebGLRenderer: Unsupported uniform value type.",y),x}function g(y){const x=y.target;x.removeEventListener("dispose",g);const v=o.indexOf(x.__bindingPointIndex);o.splice(v,1),n.deleteBuffer(r[x.id]),delete r[x.id],delete s[x.id]}function m(){for(const y in r)n.deleteBuffer(r[y]);o=[],r={},s={}}return{bind:l,update:c,dispose:m}}class $u{constructor(e={}){const{canvas:t=qS(),context:i=null,depth:r=!0,stencil:s=!1,alpha:o=!1,antialias:a=!1,premultipliedAlpha:l=!0,preserveDrawingBuffer:c=!1,powerPreference:u="default",failIfMajorPerformanceCaveat:f=!1,reverseDepthBuffer:h=!1}=e;this.isWebGLRenderer=!0;let d;if(i!==null){if(typeof WebGLRenderingContext<"u"&&i instanceof WebGLRenderingContext)throw new Error("THREE.WebGLRenderer: WebGL 1 is not supported since r163.");d=i.getContextAttributes().alpha}else d=o;const p=new Uint32Array(4),_=new Int32Array(4);let g=null,m=null;const y=[],x=[];this.domElement=t,this.debug={checkShaderErrors:!0,onShaderError:null},this.autoClear=!0,this.autoClearColor=!0,this.autoClearDepth=!0,this.autoClearStencil=!0,this.sortObjects=!0,this.clippingPlanes=[],this.localClippingEnabled=!1,this._outputColorSpace=Cn,this.toneMapping=Hi,this.toneMappingExposure=1;const v=this;let E=!1,T=0,M=0,P=null,b=-1,S=null;const D=new ht,B=new ht;let H=null;const $=new we(0);let ee=0,Z=t.width,te=t.height,Q=1,pe=null,ve=null;const re=new ht(0,0,Z,te),xe=new ht(0,0,Z,te);let ze=!1;const se=new mc;let ge=!1,be=!1;this.transmissionResolutionScale=1;const W=new Xe,ae=new Xe,ue=new F,le=new ht,Oe={background:null,fog:null,environment:null,overrideMaterial:null,isScene:!0};let I=!1;function L(){return P===null?Q:1}let w=i;function j(O,K){return t.getContext(O,K)}try{const O={alpha:!0,depth:r,stencil:s,antialias:a,premultipliedAlpha:l,preserveDrawingBuffer:c,powerPreference:u,failIfMajorPerformanceCaveat:f};if("setAttribute"in t&&t.setAttribute("data-engine",`three.js r${cc}`),t.addEventListener("webglcontextlost",de,!1),t.addEventListener("webglcontextrestored",Pe,!1),t.addEventListener("webglcontextcreationerror",Re,!1),w===null){const K="webgl2";if(w=j(K,O),w===null)throw j(K)?new Error("Error creating WebGL context with your selected attributes."):new Error("Error creating WebGL context.")}}catch(O){throw console.error("THREE.WebGLRenderer: "+O.message),O}let G,q,R,N,V,A,C,k,U,z,Y,he,ce,ye,Fe,me,Te,ke,We,Me,qe,Qe,Ct,X;function Ae(){G=new IO(w),G.init(),Qe=new tE(w,G),q=new EO(w,G,e,Qe),R=new fN(w,G),q.reverseDepthBuffer&&h&&R.buffers.depth.setReversed(!0),N=new OO(w),V=new J2,A=new hN(w,G,R,V,q,Qe,N),C=new wO(v),k=new PO(v),U=new VI(w),Ct=new SO(w,U),z=new LO(w,U,N,Ct),Y=new UO(w,z,U,N),We=new NO(w,q,A),me=new TO(V),he=new Z2(v,C,k,G,q,Ct,me),ce=new vN(v,V),ye=new eN,Fe=new oN(G),ke=new bO(v,C,k,R,Y,d,l),Te=new cN(v,Y,q),X=new yN(w,N,q,R),Me=new MO(w,G,N),qe=new DO(w,G,N),N.programs=he.programs,v.capabilities=q,v.extensions=G,v.properties=V,v.renderLists=ye,v.shadowMap=Te,v.state=R,v.info=N}Ae();const oe=new gN(v,w);this.xr=oe,this.getContext=function(){return w},this.getContextAttributes=function(){return w.getContextAttributes()},this.forceContextLoss=function(){const O=G.get("WEBGL_lose_context");O&&O.loseContext()},this.forceContextRestore=function(){const O=G.get("WEBGL_lose_context");O&&O.restoreContext()},this.getPixelRatio=function(){return Q},this.setPixelRatio=function(O){O!==void 0&&(Q=O,this.setSize(Z,te,!1))},this.getSize=function(O){return O.set(Z,te)},this.setSize=function(O,K,ne=!0){if(oe.isPresenting){console.warn("THREE.WebGLRenderer: Can't change size while VR device is presenting.");return}Z=O,te=K,t.width=Math.floor(O*Q),t.height=Math.floor(K*Q),ne===!0&&(t.style.width=O+"px",t.style.height=K+"px"),this.setViewport(0,0,O,K)},this.getDrawingBufferSize=function(O){return O.set(Z*Q,te*Q).floor()},this.setDrawingBufferSize=function(O,K,ne){Z=O,te=K,Q=ne,t.width=Math.floor(O*ne),t.height=Math.floor(K*ne),this.setViewport(0,0,O,K)},this.getCurrentViewport=function(O){return O.copy(D)},this.getViewport=function(O){return O.copy(re)},this.setViewport=function(O,K,ne,ie){O.isVector4?re.set(O.x,O.y,O.z,O.w):re.set(O,K,ne,ie),R.viewport(D.copy(re).multiplyScalar(Q).round())},this.getScissor=function(O){return O.copy(xe)},this.setScissor=function(O,K,ne,ie){O.isVector4?xe.set(O.x,O.y,O.z,O.w):xe.set(O,K,ne,ie),R.scissor(B.copy(xe).multiplyScalar(Q).round())},this.getScissorTest=function(){return ze},this.setScissorTest=function(O){R.setScissorTest(ze=O)},this.setOpaqueSort=function(O){pe=O},this.setTransparentSort=function(O){ve=O},this.getClearColor=function(O){return O.copy(ke.getClearColor())},this.setClearColor=function(){ke.setClearColor(...arguments)},this.getClearAlpha=function(){return ke.getClearAlpha()},this.setClearAlpha=function(){ke.setClearAlpha(...arguments)},this.clear=function(O=!0,K=!0,ne=!0){let ie=0;if(O){let J=!1;if(P!==null){const _e=P.texture.format;J=_e===Ah||_e===wh||_e===fc}if(J){const _e=P.texture.type,Ce=_e===qi||_e===wr||_e===oa||_e===lo||_e===Mh||_e===Eh,Le=ke.getClearColor(),Ne=ke.getClearAlpha(),Ye=Le.r,je=Le.g,Ve=Le.b;Ce?(p[0]=Ye,p[1]=je,p[2]=Ve,p[3]=Ne,w.clearBufferuiv(w.COLOR,0,p)):(_[0]=Ye,_[1]=je,_[2]=Ve,_[3]=Ne,w.clearBufferiv(w.COLOR,0,_))}else ie|=w.COLOR_BUFFER_BIT}K&&(ie|=w.DEPTH_BUFFER_BIT),ne&&(ie|=w.STENCIL_BUFFER_BIT,this.state.buffers.stencil.setMask(4294967295)),w.clear(ie)},this.clearColor=function(){this.clear(!0,!1,!1)},this.clearDepth=function(){this.clear(!1,!0,!1)},this.clearStencil=function(){this.clear(!1,!1,!0)},this.dispose=function(){t.removeEventListener("webglcontextlost",de,!1),t.removeEventListener("webglcontextrestored",Pe,!1),t.removeEventListener("webglcontextcreationerror",Re,!1),ke.dispose(),ye.dispose(),Fe.dispose(),V.dispose(),C.dispose(),k.dispose(),Y.dispose(),Ct.dispose(),X.dispose(),he.dispose(),oe.dispose(),oe.removeEventListener("sessionstart",T_),oe.removeEventListener("sessionend",w_),vs.stop()};function de(O){O.preventDefault(),console.log("THREE.WebGLRenderer: Context Lost."),E=!0}function Pe(){console.log("THREE.WebGLRenderer: Context Restored."),E=!1;const O=N.autoReset,K=Te.enabled,ne=Te.autoUpdate,ie=Te.needsUpdate,J=Te.type;Ae(),N.autoReset=O,Te.enabled=K,Te.autoUpdate=ne,Te.needsUpdate=ie,Te.type=J}function Re(O){console.error("THREE.WebGLRenderer: A WebGL context could not be created. Reason: ",O.statusMessage)}function nt(O){const K=O.target;K.removeEventListener("dispose",nt),Ft(K)}function Ft(O){un(O),V.remove(O)}function un(O){const K=V.get(O).programs;K!==void 0&&(K.forEach(function(ne){he.releaseProgram(ne)}),O.isShaderMaterial&&he.releaseShaderCache(O))}this.renderBufferDirect=function(O,K,ne,ie,J,_e){K===null&&(K=Oe);const Ce=J.isMesh&&J.matrixWorld.determinant()<0,Le=rw(O,K,ne,ie,J);R.setMaterial(ie,Ce);let Ne=ne.index,Ye=1;if(ie.wireframe===!0){if(Ne=z.getWireframeAttribute(ne),Ne===void 0)return;Ye=2}const je=ne.drawRange,Ve=ne.attributes.position;let ut=je.start*Ye,gt=(je.start+je.count)*Ye;_e!==null&&(ut=Math.max(ut,_e.start*Ye),gt=Math.min(gt,(_e.start+_e.count)*Ye)),Ne!==null?(ut=Math.max(ut,0),gt=Math.min(gt,Ne.count)):Ve!=null&&(ut=Math.max(ut,0),gt=Math.min(gt,Ve.count));const Gt=gt-ut;if(Gt<0||Gt===1/0)return;Ct.setup(J,ie,Le,ne,Ne);let Bt,dt=Me;if(Ne!==null&&(Bt=U.get(Ne),dt=qe,dt.setIndex(Bt)),J.isMesh)ie.wireframe===!0?(R.setLineWidth(ie.wireframeLinewidth*L()),dt.setMode(w.LINES)):dt.setMode(w.TRIANGLES);else if(J.isLine){let He=ie.linewidth;He===void 0&&(He=1),R.setLineWidth(He*L()),J.isLineSegments?dt.setMode(w.LINES):J.isLineLoop?dt.setMode(w.LINE_LOOP):dt.setMode(w.LINE_STRIP)}else J.isPoints?dt.setMode(w.POINTS):J.isSprite&&dt.setMode(w.TRIANGLES);if(J.isBatchedMesh)if(J._multiDrawInstances!==null)zs("THREE.WebGLRenderer: renderMultiDrawInstances has been deprecated and will be removed in r184. Append to renderMultiDraw arguments and use indirection."),dt.renderMultiDrawInstances(J._multiDrawStarts,J._multiDrawCounts,J._multiDrawCount,J._multiDrawInstances);else if(G.get("WEBGL_multi_draw"))dt.renderMultiDraw(J._multiDrawStarts,J._multiDrawCounts,J._multiDrawCount);else{const He=J._multiDrawStarts,sn=J._multiDrawCounts,_t=J._multiDrawCount,_i=Ne?U.get(Ne).bytesPerElement:1,xo=V.get(ie).currentProgram.getUniforms();for(let qn=0;qn<_t;qn++)xo.setValue(w,"_gl_DrawID",qn),dt.render(He[qn]/_i,sn[qn])}else if(J.isInstancedMesh)dt.renderInstances(ut,Gt,J.count);else if(ne.isInstancedBufferGeometry){const He=ne._maxInstanceCount!==void 0?ne._maxInstanceCount:1/0,sn=Math.min(ne.instanceCount,He);dt.renderInstances(ut,Gt,sn)}else dt.render(ut,Gt)};function bt(O,K,ne){O.transparent===!0&&O.side===Si&&O.forceSinglePass===!1?(O.side=Dn,O.needsUpdate=!0,Cc(O,K,ne),O.side=Er,O.needsUpdate=!0,Cc(O,K,ne),O.side=Si):Cc(O,K,ne)}this.compile=function(O,K,ne=null){ne===null&&(ne=O),m=Fe.get(ne),m.init(K),x.push(m),ne.traverseVisible(function(J){J.isLight&&J.layers.test(K.layers)&&(m.pushLight(J),J.castShadow&&m.pushShadow(J))}),O!==ne&&O.traverseVisible(function(J){J.isLight&&J.layers.test(K.layers)&&(m.pushLight(J),J.castShadow&&m.pushShadow(J))}),m.setupLights();const ie=new Set;return O.traverse(function(J){if(!(J.isMesh||J.isPoints||J.isLine||J.isSprite))return;const _e=J.material;if(_e)if(Array.isArray(_e))for(let Ce=0;Ce<_e.length;Ce++){const Le=_e[Ce];bt(Le,ne,J),ie.add(Le)}else bt(_e,ne,J),ie.add(_e)}),m=x.pop(),ie},this.compileAsync=function(O,K,ne=null){const ie=this.compile(O,K,ne);return new Promise(J=>{function _e(){if(ie.forEach(function(Ce){V.get(Ce).currentProgram.isReady()&&ie.delete(Ce)}),ie.size===0){J(O);return}setTimeout(_e,10)}G.get("KHR_parallel_shader_compile")!==null?_e():setTimeout(_e,10)})};let gi=null;function Ji(O){gi&&gi(O)}function T_(){vs.stop()}function w_(){vs.start()}const vs=new KM;vs.setAnimationLoop(Ji),typeof self<"u"&&vs.setContext(self),this.setAnimationLoop=function(O){gi=O,oe.setAnimationLoop(O),O===null?vs.stop():vs.start()},oe.addEventListener("sessionstart",T_),oe.addEventListener("sessionend",w_),this.render=function(O,K){if(K!==void 0&&K.isCamera!==!0){console.error("THREE.WebGLRenderer.render: camera is not an instance of THREE.Camera.");return}if(E===!0)return;if(O.matrixWorldAutoUpdate===!0&&O.updateMatrixWorld(),K.parent===null&&K.matrixWorldAutoUpdate===!0&&K.updateMatrixWorld(),oe.enabled===!0&&oe.isPresenting===!0&&(oe.cameraAutoUpdate===!0&&oe.updateCamera(K),K=oe.getCamera()),O.isScene===!0&&O.onBeforeRender(v,O,K,P),m=Fe.get(O,x.length),m.init(K),x.push(m),ae.multiplyMatrices(K.projectionMatrix,K.matrixWorldInverse),se.setFromProjectionMatrix(ae),be=this.localClippingEnabled,ge=me.init(this.clippingPlanes,be),g=ye.get(O,y.length),g.init(),y.push(g),oe.enabled===!0&&oe.isPresenting===!0){const _e=v.xr.getDepthSensingMesh();_e!==null&&dd(_e,K,-1/0,v.sortObjects)}dd(O,K,0,v.sortObjects),g.finish(),v.sortObjects===!0&&g.sort(pe,ve),I=oe.enabled===!1||oe.isPresenting===!1||oe.hasDepthSensing()===!1,I&&ke.addToRenderList(g,O),this.info.render.frame++,ge===!0&&me.beginShadows();const ne=m.state.shadowsArray;Te.render(ne,O,K),ge===!0&&me.endShadows(),this.info.autoReset===!0&&this.info.reset();const ie=g.opaque,J=g.transmissive;if(m.setupLights(),K.isArrayCamera){const _e=K.cameras;if(J.length>0)for(let Ce=0,Le=_e.length;Ce0&&C_(ie,J,O,K),I&&ke.render(O),A_(g,O,K);P!==null&&M===0&&(A.updateMultisampleRenderTarget(P),A.updateRenderTargetMipmap(P)),O.isScene===!0&&O.onAfterRender(v,O,K),Ct.resetDefaultState(),b=-1,S=null,x.pop(),x.length>0?(m=x[x.length-1],ge===!0&&me.setGlobalState(v.clippingPlanes,m.state.camera)):m=null,y.pop(),y.length>0?g=y[y.length-1]:g=null};function dd(O,K,ne,ie){if(O.visible===!1)return;if(O.layers.test(K.layers)){if(O.isGroup)ne=O.renderOrder;else if(O.isLOD)O.autoUpdate===!0&&O.update(K);else if(O.isLight)m.pushLight(O),O.castShadow&&m.pushShadow(O);else if(O.isSprite){if(!O.frustumCulled||se.intersectsSprite(O)){ie&&le.setFromMatrixPosition(O.matrixWorld).applyMatrix4(ae);const Ce=Y.update(O),Le=O.material;Le.visible&&g.push(O,Ce,Le,ne,le.z,null)}}else if((O.isMesh||O.isLine||O.isPoints)&&(!O.frustumCulled||se.intersectsObject(O))){const Ce=Y.update(O),Le=O.material;if(ie&&(O.boundingSphere!==void 0?(O.boundingSphere===null&&O.computeBoundingSphere(),le.copy(O.boundingSphere.center)):(Ce.boundingSphere===null&&Ce.computeBoundingSphere(),le.copy(Ce.boundingSphere.center)),le.applyMatrix4(O.matrixWorld).applyMatrix4(ae)),Array.isArray(Le)){const Ne=Ce.groups;for(let Ye=0,je=Ne.length;Ye0&&Ac(J,K,ne),_e.length>0&&Ac(_e,K,ne),Ce.length>0&&Ac(Ce,K,ne),R.buffers.depth.setTest(!0),R.buffers.depth.setMask(!0),R.buffers.color.setMask(!0),R.setPolygonOffset(!1)}function C_(O,K,ne,ie){if((ne.isScene===!0?ne.overrideMaterial:null)!==null)return;m.state.transmissionRenderTarget[ie.id]===void 0&&(m.state.transmissionRenderTarget[ie.id]=new Yi(1,1,{generateMipmaps:!0,type:G.has("EXT_color_buffer_half_float")||G.has("EXT_color_buffer_float")?va:qi,minFilter:Vi,samples:4,stencilBuffer:s,resolveDepthBuffer:!1,resolveStencilBuffer:!1,colorSpace:at.workingColorSpace}));const _e=m.state.transmissionRenderTarget[ie.id],Ce=ie.viewport||D;_e.setSize(Ce.z*v.transmissionResolutionScale,Ce.w*v.transmissionResolutionScale);const Le=v.getRenderTarget();v.setRenderTarget(_e),v.getClearColor($),ee=v.getClearAlpha(),ee<1&&v.setClearColor(16777215,.5),v.clear(),I&&ke.render(ne);const Ne=v.toneMapping;v.toneMapping=Hi;const Ye=ie.viewport;if(ie.viewport!==void 0&&(ie.viewport=void 0),m.setupLightsView(ie),ge===!0&&me.setGlobalState(v.clippingPlanes,ie),Ac(O,ne,ie),A.updateMultisampleRenderTarget(_e),A.updateRenderTargetMipmap(_e),G.has("WEBGL_multisampled_render_to_texture")===!1){let je=!1;for(let Ve=0,ut=K.length;Ve0),Ve=!!ne.morphAttributes.position,ut=!!ne.morphAttributes.normal,gt=!!ne.morphAttributes.color;let Gt=Hi;ie.toneMapped&&(P===null||P.isXRRenderTarget===!0)&&(Gt=v.toneMapping);const Bt=ne.morphAttributes.position||ne.morphAttributes.normal||ne.morphAttributes.color,dt=Bt!==void 0?Bt.length:0,He=V.get(ie),sn=m.state.lights;if(ge===!0&&(be===!0||O!==S)){const bn=O===S&&ie.id===b;me.setState(ie,O,bn)}let _t=!1;ie.version===He.__version?(He.needsLights&&He.lightsStateVersion!==sn.state.version||He.outputColorSpace!==Le||J.isBatchedMesh&&He.batching===!1||!J.isBatchedMesh&&He.batching===!0||J.isBatchedMesh&&He.batchingColor===!0&&J.colorTexture===null||J.isBatchedMesh&&He.batchingColor===!1&&J.colorTexture!==null||J.isInstancedMesh&&He.instancing===!1||!J.isInstancedMesh&&He.instancing===!0||J.isSkinnedMesh&&He.skinning===!1||!J.isSkinnedMesh&&He.skinning===!0||J.isInstancedMesh&&He.instancingColor===!0&&J.instanceColor===null||J.isInstancedMesh&&He.instancingColor===!1&&J.instanceColor!==null||J.isInstancedMesh&&He.instancingMorph===!0&&J.morphTexture===null||J.isInstancedMesh&&He.instancingMorph===!1&&J.morphTexture!==null||He.envMap!==Ne||ie.fog===!0&&He.fog!==_e||He.numClippingPlanes!==void 0&&(He.numClippingPlanes!==me.numPlanes||He.numIntersection!==me.numIntersection)||He.vertexAlphas!==Ye||He.vertexTangents!==je||He.morphTargets!==Ve||He.morphNormals!==ut||He.morphColors!==gt||He.toneMapping!==Gt||He.morphTargetsCount!==dt)&&(_t=!0):(_t=!0,He.__version=ie.version);let _i=He.currentProgram;_t===!0&&(_i=Cc(ie,K,J));let xo=!1,qn=!1,Ea=!1;const Pt=_i.getUniforms(),ti=He.uniforms;if(R.useProgram(_i.program)&&(xo=!0,qn=!0,Ea=!0),ie.id!==b&&(b=ie.id,qn=!0),xo||S!==O){R.buffers.depth.getReversed()?(W.copy(O.projectionMatrix),lR(W),cR(W),Pt.setValue(w,"projectionMatrix",W)):Pt.setValue(w,"projectionMatrix",O.projectionMatrix),Pt.setValue(w,"viewMatrix",O.matrixWorldInverse);const Un=Pt.map.cameraPosition;Un!==void 0&&Un.setValue(w,ue.setFromMatrixPosition(O.matrixWorld)),q.logarithmicDepthBuffer&&Pt.setValue(w,"logDepthBufFC",2/(Math.log(O.far+1)/Math.LN2)),(ie.isMeshPhongMaterial||ie.isMeshToonMaterial||ie.isMeshLambertMaterial||ie.isMeshBasicMaterial||ie.isMeshStandardMaterial||ie.isShaderMaterial)&&Pt.setValue(w,"isOrthographic",O.isOrthographicCamera===!0),S!==O&&(S=O,qn=!0,Ea=!0)}if(J.isSkinnedMesh){Pt.setOptional(w,J,"bindMatrix"),Pt.setOptional(w,J,"bindMatrixInverse");const bn=J.skeleton;bn&&(bn.boneTexture===null&&bn.computeBoneTexture(),Pt.setValue(w,"boneTexture",bn.boneTexture,A))}J.isBatchedMesh&&(Pt.setOptional(w,J,"batchingTexture"),Pt.setValue(w,"batchingTexture",J._matricesTexture,A),Pt.setOptional(w,J,"batchingIdTexture"),Pt.setValue(w,"batchingIdTexture",J._indirectTexture,A),Pt.setOptional(w,J,"batchingColorTexture"),J._colorsTexture!==null&&Pt.setValue(w,"batchingColorTexture",J._colorsTexture,A));const ni=ne.morphAttributes;if((ni.position!==void 0||ni.normal!==void 0||ni.color!==void 0)&&We.update(J,ne,_i),(qn||He.receiveShadow!==J.receiveShadow)&&(He.receiveShadow=J.receiveShadow,Pt.setValue(w,"receiveShadow",J.receiveShadow)),ie.isMeshGouraudMaterial&&ie.envMap!==null&&(ti.envMap.value=Ne,ti.flipEnvMap.value=Ne.isCubeTexture&&Ne.isRenderTargetTexture===!1?-1:1),ie.isMeshStandardMaterial&&ie.envMap===null&&K.environment!==null&&(ti.envMapIntensity.value=K.environmentIntensity),qn&&(Pt.setValue(w,"toneMappingExposure",v.toneMappingExposure),He.needsLights&&sw(ti,Ea),_e&&ie.fog===!0&&ce.refreshFogUniforms(ti,_e),ce.refreshMaterialUniforms(ti,ie,Q,te,m.state.transmissionRenderTarget[O.id]),Xu.upload(w,P_(He),ti,A)),ie.isShaderMaterial&&ie.uniformsNeedUpdate===!0&&(Xu.upload(w,P_(He),ti,A),ie.uniformsNeedUpdate=!1),ie.isSpriteMaterial&&Pt.setValue(w,"center",J.center),Pt.setValue(w,"modelViewMatrix",J.modelViewMatrix),Pt.setValue(w,"normalMatrix",J.normalMatrix),Pt.setValue(w,"modelMatrix",J.matrixWorld),ie.isShaderMaterial||ie.isRawShaderMaterial){const bn=ie.uniformsGroups;for(let Un=0,pd=bn.length;Un0&&A.useMultisampledRTT(O)===!1?J=V.get(O).__webglMultisampledFramebuffer:Array.isArray(je)?J=je[ne]:J=je,D.copy(O.viewport),B.copy(O.scissor),H=O.scissorTest}else D.copy(re).multiplyScalar(Q).floor(),B.copy(xe).multiplyScalar(Q).floor(),H=ze;if(ne!==0&&(J=aw),R.bindFramebuffer(w.FRAMEBUFFER,J)&&ie&&R.drawBuffers(O,J),R.viewport(D),R.scissor(B),R.setScissorTest(H),_e){const Ne=V.get(O.texture);w.framebufferTexture2D(w.FRAMEBUFFER,w.COLOR_ATTACHMENT0,w.TEXTURE_CUBE_MAP_POSITIVE_X+K,Ne.__webglTexture,ne)}else if(Ce){const Ne=V.get(O.texture),Ye=K;w.framebufferTextureLayer(w.FRAMEBUFFER,w.COLOR_ATTACHMENT0,Ne.__webglTexture,ne,Ye)}else if(O!==null&&ne!==0){const Ne=V.get(O.texture);w.framebufferTexture2D(w.FRAMEBUFFER,w.COLOR_ATTACHMENT0,w.TEXTURE_2D,Ne.__webglTexture,ne)}b=-1},this.readRenderTargetPixels=function(O,K,ne,ie,J,_e,Ce){if(!(O&&O.isWebGLRenderTarget)){console.error("THREE.WebGLRenderer.readRenderTargetPixels: renderTarget is not THREE.WebGLRenderTarget.");return}let Le=V.get(O).__webglFramebuffer;if(O.isWebGLCubeRenderTarget&&Ce!==void 0&&(Le=Le[Ce]),Le){R.bindFramebuffer(w.FRAMEBUFFER,Le);try{const Ne=O.texture,Ye=Ne.format,je=Ne.type;if(!q.textureFormatReadable(Ye)){console.error("THREE.WebGLRenderer.readRenderTargetPixels: renderTarget is not in RGBA or implementation defined format.");return}if(!q.textureTypeReadable(je)){console.error("THREE.WebGLRenderer.readRenderTargetPixels: renderTarget is not in UnsignedByteType or implementation defined type.");return}K>=0&&K<=O.width-ie&&ne>=0&&ne<=O.height-J&&w.readPixels(K,ne,ie,J,Qe.convert(Ye),Qe.convert(je),_e)}finally{const Ne=P!==null?V.get(P).__webglFramebuffer:null;R.bindFramebuffer(w.FRAMEBUFFER,Ne)}}},this.readRenderTargetPixelsAsync=async function(O,K,ne,ie,J,_e,Ce){if(!(O&&O.isWebGLRenderTarget))throw new Error("THREE.WebGLRenderer.readRenderTargetPixels: renderTarget is not THREE.WebGLRenderTarget.");let Le=V.get(O).__webglFramebuffer;if(O.isWebGLCubeRenderTarget&&Ce!==void 0&&(Le=Le[Ce]),Le){const Ne=O.texture,Ye=Ne.format,je=Ne.type;if(!q.textureFormatReadable(Ye))throw new Error("THREE.WebGLRenderer.readRenderTargetPixelsAsync: renderTarget is not in RGBA or implementation defined format.");if(!q.textureTypeReadable(je))throw new Error("THREE.WebGLRenderer.readRenderTargetPixelsAsync: renderTarget is not in UnsignedByteType or implementation defined type.");if(K>=0&&K<=O.width-ie&&ne>=0&&ne<=O.height-J){R.bindFramebuffer(w.FRAMEBUFFER,Le);const Ve=w.createBuffer();w.bindBuffer(w.PIXEL_PACK_BUFFER,Ve),w.bufferData(w.PIXEL_PACK_BUFFER,_e.byteLength,w.STREAM_READ),w.readPixels(K,ne,ie,J,Qe.convert(Ye),Qe.convert(je),0);const ut=P!==null?V.get(P).__webglFramebuffer:null;R.bindFramebuffer(w.FRAMEBUFFER,ut);const gt=w.fenceSync(w.SYNC_GPU_COMMANDS_COMPLETE,0);return w.flush(),await aR(w,gt,4),w.bindBuffer(w.PIXEL_PACK_BUFFER,Ve),w.getBufferSubData(w.PIXEL_PACK_BUFFER,0,_e),w.deleteBuffer(Ve),w.deleteSync(gt),_e}else throw new Error("THREE.WebGLRenderer.readRenderTargetPixelsAsync: requested read bounds are out of range.")}},this.copyFramebufferToTexture=function(O,K=null,ne=0){O.isTexture!==!0&&(zs("WebGLRenderer: copyFramebufferToTexture function signature has changed."),K=arguments[0]||null,O=arguments[1]);const ie=Math.pow(2,-ne),J=Math.floor(O.image.width*ie),_e=Math.floor(O.image.height*ie),Ce=K!==null?K.x:0,Le=K!==null?K.y:0;A.setTexture2D(O,0),w.copyTexSubImage2D(w.TEXTURE_2D,ne,0,0,Ce,Le,J,_e),R.unbindTexture()};const lw=w.createFramebuffer(),cw=w.createFramebuffer();this.copyTextureToTexture=function(O,K,ne=null,ie=null,J=0,_e=null){O.isTexture!==!0&&(zs("WebGLRenderer: copyTextureToTexture function signature has changed."),ie=arguments[0]||null,O=arguments[1],K=arguments[2],_e=arguments[3]||0,ne=null),_e===null&&(J!==0?(zs("WebGLRenderer: copyTextureToTexture function signature has changed to support src and dst mipmap levels."),_e=J,J=0):_e=0);let Ce,Le,Ne,Ye,je,Ve,ut,gt,Gt;const Bt=O.isCompressedTexture?O.mipmaps[_e]:O.image;if(ne!==null)Ce=ne.max.x-ne.min.x,Le=ne.max.y-ne.min.y,Ne=ne.isBox3?ne.max.z-ne.min.z:1,Ye=ne.min.x,je=ne.min.y,Ve=ne.isBox3?ne.min.z:0;else{const ni=Math.pow(2,-J);Ce=Math.floor(Bt.width*ni),Le=Math.floor(Bt.height*ni),O.isDataArrayTexture?Ne=Bt.depth:O.isData3DTexture?Ne=Math.floor(Bt.depth*ni):Ne=1,Ye=0,je=0,Ve=0}ie!==null?(ut=ie.x,gt=ie.y,Gt=ie.z):(ut=0,gt=0,Gt=0);const dt=Qe.convert(K.format),He=Qe.convert(K.type);let sn;K.isData3DTexture?(A.setTexture3D(K,0),sn=w.TEXTURE_3D):K.isDataArrayTexture||K.isCompressedArrayTexture?(A.setTexture2DArray(K,0),sn=w.TEXTURE_2D_ARRAY):(A.setTexture2D(K,0),sn=w.TEXTURE_2D),w.pixelStorei(w.UNPACK_FLIP_Y_WEBGL,K.flipY),w.pixelStorei(w.UNPACK_PREMULTIPLY_ALPHA_WEBGL,K.premultiplyAlpha),w.pixelStorei(w.UNPACK_ALIGNMENT,K.unpackAlignment);const _t=w.getParameter(w.UNPACK_ROW_LENGTH),_i=w.getParameter(w.UNPACK_IMAGE_HEIGHT),xo=w.getParameter(w.UNPACK_SKIP_PIXELS),qn=w.getParameter(w.UNPACK_SKIP_ROWS),Ea=w.getParameter(w.UNPACK_SKIP_IMAGES);w.pixelStorei(w.UNPACK_ROW_LENGTH,Bt.width),w.pixelStorei(w.UNPACK_IMAGE_HEIGHT,Bt.height),w.pixelStorei(w.UNPACK_SKIP_PIXELS,Ye),w.pixelStorei(w.UNPACK_SKIP_ROWS,je),w.pixelStorei(w.UNPACK_SKIP_IMAGES,Ve);const Pt=O.isDataArrayTexture||O.isData3DTexture,ti=K.isDataArrayTexture||K.isData3DTexture;if(O.isDepthTexture){const ni=V.get(O),bn=V.get(K),Un=V.get(ni.__renderTarget),pd=V.get(bn.__renderTarget);R.bindFramebuffer(w.READ_FRAMEBUFFER,Un.__webglFramebuffer),R.bindFramebuffer(w.DRAW_FRAMEBUFFER,pd.__webglFramebuffer);for(let ys=0;ys{n.delete(s)};return{on:s=>{n.add(s);const o=()=>e(s);return Cr(o),{off:o}},off:e,trigger:(...s)=>Promise.all(Array.from(n).map(o=>o(...s))),clear:()=>{n.clear()}}}function X4(n){let e=!1,t;const i=nc(!0);return(...r)=>(e||(t=i.run(()=>n(...r)),e=!0),t)}const dp=new WeakMap,bN=(...n)=>{var e;const t=n[0],i=(e=vn())==null?void 0:e.proxy;if(i==null&&!rc())throw new Error("injectLocal must be called in setup");return i&&dp.has(i)&&t in dp.get(i)?dp.get(i)[t]:gn(...n)};function $4(n){let e=0,t,i;const r=()=>{e-=1,i&&e<=0&&(i.stop(),t=void 0,i=void 0)};return(...s)=>(e+=1,i||(i=nc(!0),t=i.run(()=>n(...s))),Cr(r),t)}const jf=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const SN=n=>typeof n<"u",MN=n=>n!=null,EN=Object.prototype.toString,TN=n=>EN.call(n)==="[object Object]",cm=()=>{},q4=wN();function wN(){var n,e;return jf&&((n=window==null?void 0:window.navigator)==null?void 0:n.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((e=window==null?void 0:window.navigator)==null?void 0:e.maxTouchPoints)>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}function AN(n,e){function t(...i){return new Promise((r,s)=>{Promise.resolve(n(()=>e.apply(this,i),{fn:e,thisArg:this,args:i})).then(r).catch(s)})}return t}function CN(n,e={}){let t,i,r=cm;const s=l=>{clearTimeout(l),r(),r=cm};let o;return l=>{const c=Je(n),u=Je(e.maxWait);return t&&s(t),c<=0||u!==void 0&&u<=0?(i&&(s(i),i=null),Promise.resolve(l())):new Promise((f,h)=>{r=e.rejectOnCancel?h:f,o=l,u&&!i&&(i=setTimeout(()=>{t&&s(t),i=null,f(o())},u)),t=setTimeout(()=>{i&&s(i),i=null,f(l())},c)})}}function ey(n){return n.endsWith("rem")?Number.parseFloat(n)*16:Number.parseFloat(n)}function RN(n,e,t=!1){return e.reduce((i,r)=>(r in n&&(!t||n[r]!==void 0)&&(i[r]=n[r]),i),{})}function nE(n){return vn()}function ll(n){return Array.isArray(n)?n:[n]}function PN(n,e=200,t={}){return AN(CN(e,t),n)}function ty(n,e=200,t={}){const i=Ze(n.value),r=PN(()=>{i.value=n.value},e,t);return Ge(n,()=>r()),i}function IN(n,e={}){if(!wt(n))return ib(n);const t=Array.isArray(n.value)?Array.from({length:n.value.length}):{};for(const i in n.value)t[i]=Qm(()=>({get(){return n.value[i]},set(r){var s;if((s=Je(e.replaceRef))!=null?s:!0)if(Array.isArray(n.value)){const a=[...n.value];a[i]=r,n.value=a}else{const a={...n.value,[i]:r};Object.setPrototypeOf(a,Object.getPrototypeOf(n.value)),n.value=a}else n.value[i]=r}}));return t}const on=Je;function Y4(n,e){nE()&&tg(n,e)}function e_(n,e=!0,t){nE()?yn(n,t):e?n():us(n)}function LN(n,e=1e3,t={}){const{immediate:i=!0,immediateCallback:r=!1}=t;let s=null;const o=Ie(!1);function a(){s&&(clearInterval(s),s=null)}function l(){o.value=!1,a()}function c(){const u=Je(e);u<=0||(o.value=!0,r&&n(),a(),o.value&&(s=setInterval(n,u)))}if(i&&jf&&c(),wt(e)||typeof e=="function"){const u=Ge(e,()=>{o.value&&jf&&c()});Cr(u)}return Cr(l),{isActive:o,pause:l,resume:c}}function iE(n,e,t){return Ge(n,e,{...t,immediate:!0})}const Zi=jf?window:void 0;function Ei(n){var e;const t=Je(n);return(e=t==null?void 0:t.$el)!=null?e:t}function os(...n){const e=[],t=()=>{e.forEach(a=>a()),e.length=0},i=(a,l,c,u)=>(a.addEventListener(l,c,u),()=>a.removeEventListener(l,c,u)),r=Se(()=>{const a=ll(Je(n[0])).filter(l=>l!=null);return a.every(l=>typeof l!="string")?a:void 0}),s=iE(()=>{var a,l;return[(l=(a=r.value)==null?void 0:a.map(c=>Ei(c)))!=null?l:[Zi].filter(c=>c!=null),ll(Je(r.value?n[1]:n[0])),ll(It(r.value?n[2]:n[1])),Je(r.value?n[3]:n[2])]},([a,l,c,u])=>{if(t(),!(a!=null&&a.length)||!(l!=null&&l.length)||!(c!=null&&c.length))return;const f=TN(u)?{...u}:u;e.push(...a.flatMap(h=>l.flatMap(d=>c.map(p=>i(h,d,p,f)))))},{flush:"post"}),o=()=>{s(),t()};return Cr(t),o}function DN(){const n=Ie(!1),e=vn();return e&&yn(()=>{n.value=!0},e),n}function nd(n){const e=DN();return Se(()=>(e.value,!!n()))}function ON(n,e,t={}){const{window:i=Zi,...r}=t;let s;const o=nd(()=>i&&"MutationObserver"in i),a=()=>{s&&(s.disconnect(),s=void 0)},l=Se(()=>{const h=Je(n),d=ll(h).map(Ei).filter(MN);return new Set(d)}),c=Ge(()=>l.value,h=>{a(),o.value&&h.size&&(s=new MutationObserver(e),h.forEach(d=>s.observe(d,r)))},{immediate:!0,flush:"post"}),u=()=>s==null?void 0:s.takeRecords(),f=()=>{c(),a()};return Cr(f),{isSupported:o,stop:f,takeRecords:u}}function NN(n){return typeof n=="function"?n:typeof n=="string"?e=>e.key===n:Array.isArray(n)?e=>n.includes(e.key):()=>!0}function j4(...n){let e,t,i={};n.length===3?(e=n[0],t=n[1],i=n[2]):n.length===2?typeof n[1]=="object"?(e=!0,t=n[0],i=n[1]):(e=n[0],t=n[1]):(e=!0,t=n[0]);const{target:r=Zi,eventName:s="keydown",passive:o=!1,dedupe:a=!1}=i,l=NN(e);return os(r,s,u=>{u.repeat&&Je(a)||l(u)&&t(u)},o)}function t_(n,e={}){const{immediate:t=!0,fpsLimit:i=void 0,window:r=Zi,once:s=!1}=e,o=Ie(!1),a=Se(()=>i?1e3/Je(i):null);let l=0,c=null;function u(d){if(!o.value||!r)return;l||(l=d);const p=d-l;if(a.value&&pt&&"matchMedia"in t&&typeof t.matchMedia=="function"),s=Ie(typeof i=="number"),o=Ie(),a=Ie(!1),l=c=>{a.value=c.matches};return sc(()=>{if(s.value){s.value=!r.value;const c=Je(n).split(",");a.value=c.some(u=>{const f=u.includes("not all"),h=u.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),d=u.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);let p=!!(h||d);return h&&p&&(p=i>=ey(h[1])),d&&p&&(p=i<=ey(d[1])),f?!p:p});return}r.value&&(o.value=t.matchMedia(Je(n)),a.value=o.value.matches)}),os(o,"change",l,{passive:!0}),Se(()=>a.value)}function BN(n){return JSON.parse(JSON.stringify(n))}function kN(n={}){const{window:e=Zi}=n,t=Ie(1),i=rE(()=>`(resolution: ${t.value}dppx)`,n);let r=cm;return e&&(r=iE(i,()=>t.value=e.devicePixelRatio)),{pixelRatio:di(t),stop:r}}function sE(n,e,t={}){const{window:i=Zi,...r}=t;let s;const o=nd(()=>i&&"ResizeObserver"in i),a=()=>{s&&(s.disconnect(),s=void 0)},l=Se(()=>{const f=Je(n);return Array.isArray(f)?f.map(h=>Ei(h)):[Ei(f)]}),c=Ge(l,f=>{if(a(),o.value&&i){s=new ResizeObserver(e);for(const h of f)h&&s.observe(h,r)}},{immediate:!0,flush:"post"}),u=()=>{a(),c()};return Cr(u),{isSupported:o,stop:u}}function VN(n,e={}){const{reset:t=!0,windowResize:i=!0,windowScroll:r=!0,immediate:s=!0,updateTiming:o="sync"}=e,a=Ie(0),l=Ie(0),c=Ie(0),u=Ie(0),f=Ie(0),h=Ie(0),d=Ie(0),p=Ie(0);function _(){const m=Ei(n);if(!m){t&&(a.value=0,l.value=0,c.value=0,u.value=0,f.value=0,h.value=0,d.value=0,p.value=0);return}const y=m.getBoundingClientRect();a.value=y.height,l.value=y.bottom,c.value=y.left,u.value=y.right,f.value=y.top,h.value=y.width,d.value=y.x,p.value=y.y}function g(){o==="sync"?_():o==="next-frame"&&requestAnimationFrame(()=>_())}return sE(n,g),Ge(()=>Ei(n),m=>!m&&g()),ON(n,g,{attributeFilter:["style","class"]}),r&&os("scroll",g,{capture:!0,passive:!0}),i&&os("resize",g,{passive:!0}),e_(()=>{s&&g()}),{height:a,bottom:l,left:c,right:u,top:f,width:h,x:d,y:p,update:g}}function zN(n,e={width:0,height:0},t={}){const{window:i=Zi,box:r="content-box"}=t,s=Se(()=>{var f,h;return(h=(f=Ei(n))==null?void 0:f.namespaceURI)==null?void 0:h.includes("svg")}),o=Ie(e.width),a=Ie(e.height),{stop:l}=sE(n,([f])=>{const h=r==="border-box"?f.borderBoxSize:r==="content-box"?f.contentBoxSize:f.devicePixelContentBoxSize;if(i&&s.value){const d=Ei(n);if(d){const p=d.getBoundingClientRect();o.value=p.width,a.value=p.height}}else if(h){const d=ll(h);o.value=d.reduce((p,{inlineSize:_})=>p+_,0),a.value=d.reduce((p,{blockSize:_})=>p+_,0)}else o.value=f.contentRect.width,a.value=f.contentRect.height},t);e_(()=>{const f=Ei(n);f&&(o.value="offsetWidth"in f?f.offsetWidth:e.width,a.value="offsetHeight"in f?f.offsetHeight:e.height)});const c=Ge(()=>Ei(n),f=>{o.value=f?e.width:0,a.value=f?e.height:0});function u(){l(),c()}return{width:o,height:a,stop:u}}function HN(n){var e;const t=Ie(0);if(typeof performance>"u")return t;const i=(e=n==null?void 0:n.every)!=null?e:10;let r=performance.now(),s=0;return t_(()=>{if(s+=1,s>=i){const o=performance.now(),a=o-r;t.value=Math.round(1e3/(a/s)),r=o,s=0}}),t}function GN(n={}){const e=Ze(),t=nd(()=>typeof performance<"u"&&"memory"in performance);if(t.value){const{interval:i=1e3}=n;LN(()=>{e.value=performance.memory},i,{immediate:n.immediate,immediateCallback:n.immediateCallback})}return{isSupported:t,memory:e}}const oE={x:0,y:0,pointerId:0,pressure:0,tiltX:0,tiltY:0,width:0,height:0,twist:0,pointerType:null},WN=Object.keys(oE);function XN(n={}){const{target:e=Zi}=n,t=Ie(!1),i=Ze(n.initialValue||{});Object.assign(i.value,oE,i.value);const r=s=>{t.value=!0,!(n.pointerTypes&&!n.pointerTypes.includes(s.pointerType))&&(i.value=RN(s,WN,!1))};if(e){const s={passive:!0};os(e,["pointerdown","pointermove","pointerup"],r,s),os(e,"pointerleave",()=>t.value=!1,s)}return{...IN(i),isInside:t}}function K4(n,e,t,i={}){var r,s,o;const{clone:a=!1,passive:l=!1,eventName:c,deep:u=!1,defaultValue:f,shouldEmit:h}=i,d=vn(),p=t||(d==null?void 0:d.emit)||((r=d==null?void 0:d.$emit)==null?void 0:r.bind(d))||((o=(s=d==null?void 0:d.proxy)==null?void 0:s.$emit)==null?void 0:o.bind(d==null?void 0:d.proxy));let _=c;_=_||`update:${e.toString()}`;const g=x=>a?typeof a=="function"?a(x):BN(x):x,m=()=>SN(n[e])?g(n[e]):f,y=x=>{h?h(x)&&p(_,x):p(_,x)};if(l){const x=m(),v=Ze(x);let E=!1;return Ge(()=>n[e],T=>{E||(E=!0,v.value=g(T),us(()=>E=!1))}),Ge(v,T=>{!E&&(T!==n[e]||u)&&y(T)},{deep:u}),v}else return Se({get(){return m()},set(x){y(x)}})}function $N(n={}){const{window:e=Zi,initialWidth:t=Number.POSITIVE_INFINITY,initialHeight:i=Number.POSITIVE_INFINITY,listenOrientation:r=!0,includeScrollbar:s=!0,type:o="inner"}=n,a=Ie(t),l=Ie(i),c=()=>{if(e)if(o==="outer")a.value=e.outerWidth,l.value=e.outerHeight;else if(o==="visual"&&e.visualViewport){const{width:f,height:h,scale:d}=e.visualViewport;a.value=Math.round(f*d),l.value=Math.round(h*d)}else s?(a.value=e.innerWidth,l.value=e.innerHeight):(a.value=e.document.documentElement.clientWidth,l.value=e.document.documentElement.clientHeight)};c(),e_(c);const u={passive:!0};if(os("resize",c,u),e&&o==="visual"&&e.visualViewport&&os(e.visualViewport,"resize",c,u),r){const f=rE("(orientation: portrait)");Ge(f,()=>c())}return{width:a,height:l}}var qN=Object.defineProperty,YN=(n,e,t)=>e in n?qN(n,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[e]=t,ny=(n,e,t)=>YN(n,typeof e!="symbol"?e+"":e,t);const jN="@tresjs/core",KN="module",ZN="4.3.3",JN="pnpm@9.15.5",QN="Declarative ThreeJS using Vue Components",e3="Alvaro Saburido (https://github.com/alvarosabu/)",t3="MIT",n3={type:"git",url:"git+https://github.com/Tresjs/tres.git"},i3=["vue","3d","threejs","three","threejs-vue"],r3=!1,s3={".":{types:"./dist/index.d.ts",import:"./dist/tres.js",require:"./dist/tres.umd.cjs"},"./components":{types:"./dist/src/components/index.d.ts"},"./composables":{types:"./dist/src/composables/index.d.ts"},"./types":{types:"./dist/src/types/index.d.ts"},"./utils":{types:"./dist/src/utils/index.d.ts"},"./*":"./*"},o3="./dist/tres.js",a3="./dist/tres.js",l3="./dist/index.d.ts",c3=["*.d.ts","dist"],u3={access:"public"},f3={dev:"pnpm --filter='./playground/vue' dev","dev:nuxt":"pnpm --filter='./playground/nuxt' dev",build:"vite build",test:"vitest","test:ci":"vitest run","test:ui":"vitest --ui --coverage.enabled=true",release:"release-it",coverage:"vitest run --coverage",lint:"eslint .","lint:fix":"eslint . --fix","docs:dev":"vitepress dev docs","docs:build":"vitepress build docs","docs:serve":"vitepress serve docs","docs:preview":"vitepress preview docs","docs:contributors":"esno scripts/update-contributors.ts"},h3={three:">=0.133",vue:">=3.4"},d3={"@alvarosabu/utils":"^3.2.0","@vue/devtools-api":"^6.6.3","@vueuse/core":"^12.5.0"},p3={"@release-it/conventional-changelog":"^10.0.0","@stackblitz/sdk":"^1.11.0","@tresjs/cientos":"4.1.0","@tresjs/eslint-config":"^1.4.0","@types/three":"^0.173.0","@typescript-eslint/eslint-plugin":"^8.23.0","@typescript-eslint/parser":"^8.23.0","@vitejs/plugin-vue":"^5.2.1","@vitest/coverage-c8":"^0.33.0","@vitest/coverage-v8":"^3.0.5","@vitest/ui":"^3.0.5","@vue/test-utils":"^2.4.6",eslint:"^9.19.0","eslint-plugin-vue":"^9.32.0",esno:"^4.8.0",gsap:"^3.12.7",jsdom:"^26.0.0",kolorist:"^1.8.0",ohmyfetch:"^0.4.21",pathe:"^2.0.2","release-it":"^18.1.2","rollup-plugin-analyzer":"^4.0.0","rollup-plugin-copy":"^3.5.0","rollup-plugin-visualizer":"^5.14.0",sponsorkit:"^16.3.0",three:"^0.173.0",unocss:"^65.4.3",unplugin:"^2.1.2","unplugin-vue-components":"^28.0.0",vite:"^6.1.0","vite-plugin-banner":"^0.8.0","vite-plugin-dts":"4.5.0","vite-plugin-inspect":"^10.1.0","vite-plugin-require-transform":"^1.0.21","vite-svg-loader":"^5.1.0",vitepress:"1.6.3",vitest:"3.0.5",vue:"3.5.13","vue-demi":"^0.14.10"},m3={name:jN,type:KN,version:ZN,packageManager:JN,description:QN,author:e3,license:t3,repository:n3,keywords:i3,sideEffects:r3,exports:s3,main:o3,module:a3,types:l3,files:c3,publishConfig:u3,scripts:f3,peerDependencies:h3,dependencies:d3,devDependencies:p3};class g3 extends Ht{constructor(...e){super(...e),ny(this,"type","HightlightMesh"),ny(this,"createTime"),this.createTime=Date.now()}onBeforeRender(){const e=(Date.now()-this.createTime)/1e3,t=1+.07*Math.sin(2.5*e);this.scale.set(t,t,t)}}function um(n){return typeof n>"u"}function Kf(n){return Array.isArray(n)}function _3(n){return typeof n=="number"}function aE(n){return typeof n=="string"}function $s(n){return typeof n=="function"}function Ir(n){return n===Object(n)&&!Kf(n)&&!$s(n)}function Jr(n){return Ir(n)&&"isObject3D"in n&&!!n.isObject3D}function iy(n){return Ir(n)&&"isCamera"in n&&!!n.isCamera}function v3(n){return Ir(n)&&"isBufferGeometry"in n&&!!n.isBufferGeometry}function y3(n){return Ir(n)&&"isMaterial"in n&&!!n.isMaterial}function x3(n){return Ir(n)&&"isLight"in n&&!!n.isLight}function b3(n){return Ir(n)&&"isFog"in n&&!!n.isFog}function S3(n){return Ir(n)&&"isScene"in n&&!!n.isScene}function Tu(n){return Jr(n)||v3(n)||y3(n)||b3(n)}function M3(n){return Ir(n)&&!!n.isPrimitive}const lE=(n,e)=>{for(const t of Object.keys(e))e[t]instanceof Object&&Object.assign(e[t],lE(n[t],e[t]));return Object.assign(n||{},e),n},E3="html,body,base,head,link,meta,style,title,address,article,aside,footer,header,hgroup,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot",T3=C3(E3);function ry(n){return n&&n.nodeType===1}function wu(n){return n.replace(/-([a-z])/g,(e,t)=>t.toUpperCase())}const w3=/\B([A-Z])/g;function A3(n){return n.replace(w3,"-$1").toLowerCase()}function C3(n,e){const t=Object.create(null),i=n.split(",");for(let r=0;r!!t[r.toLowerCase()]:r=>!!t[r]}const sy=(n,e)=>{if(!e)return;const t=Array.isArray(e)?e:e.match(/([^[.\]])+/g);return t==null?void 0:t.reduce((i,r)=>i&&i[r],n)},R3=(n,e,t)=>{const i=Array.isArray(e)?e:e.match(/([^[.\]])+/g);i&&i.reduce((r,s,o)=>(r[s]===void 0&&(r[s]={}),o===i.length-1&&(r[s]=t),r[s]),n)};function cE(n,e){if(ry(n)&&ry(e)){const r=n.attributes,s=e.attributes;return r.length!==s.length?!1:Array.from(r).every(({name:o,value:a})=>e.getAttribute(o)===a)}if(n===e)return!0;if(n===null||typeof n!="object"||e===null||typeof e!="object")return!1;const t=Object.keys(n),i=Object.keys(e);if(t.length!==i.length)return!1;for(const r of t)if(!i.includes(r)||!cE(n[r],e[r]))return!1;return!0}function P3(n,e){if(!Array.isArray(n)||!Array.isArray(e)||n.length!==e.length)return!1;for(let t=0;t{if(l.uuid===e)return l;for(const c of l.children){const u=r(c);if(u)return u}},s=r(n);if(!s){console.warn("Object with UUID not found in the scene.");return}let o=s;for(let l=0;luE(i)),!(n instanceof Oh)){const i=n;n&&((t=n.dispose)==null||t.call(n)),i.geometry&&i.geometry.dispose(),Array.isArray(i.material)?i.material.forEach(r=>oy(r)):i.material&&oy(i.material)}}function O3(n,e){let t=0;for(let i=0;it===0?e:e.charAt(0).toUpperCase()+e.slice(1)).join("")}const ly=/-\d+$/;function N3(n,e,t){if(aE(t)){if(ly.test(t)){const s=t.replace(ly,""),{target:o,key:a}=fm(n,s);if(!Array.isArray(o[a])){const l=o[a],c=[];c.__tresDetach=()=>{c.every(u=>um(u))&&(o[a]=l)},o[a]=c}}const{target:i,key:r}=fm(n,t);e.__tres.previousAttach=i[r],i[r]=ua(e)}else e.__tres.previousAttach=t(n,e)}function U3(n,e,t){var i,r,s;if(aE(t)){const{target:o,key:a}=fm(n,t),l=e.__tres.previousAttach;l===void 0?delete o[a]:o[a]=l,"__tresDetach"in o&&o.__tresDetach()}else(r=(i=e.__tres)==null?void 0:i.previousAttach)==null||r.call(i,n,e);(s=e.__tres)==null||delete s.previousAttach}function Gs(n,e,t){const i=n;return i.__tres={type:"unknown",eventCount:0,root:t,handlers:{},memoizedProps:{},objects:[],parent:null,previousAttach:null,...e},i.__tres.attach||(i.isMaterial?i.__tres.attach="material":i.isBufferGeometry?i.__tres.attach="geometry":i.isFog&&(i.__tres.attach="fog")),i}function fE(n){var e;const t=(e=n==null?void 0:n.__tres)==null?void 0:e.root;t&&t.render&&t.render.canBeInvalidated.value&&t.invalidate()}function F3(n,e,t){var i;if(!$s(n.setPixelRatio))return;let r=0;if(t&&Kf(t)){const s=t;if(s.length>=2){const[o,a]=s;r=Ag.clamp(e,o,a)}}else _3(t)?r=t:r=e;r!==((i=n.getPixelRatio)==null?void 0:i.call(n))&&n.setPixelRatio(r)}function B3(n,e,t,i,r){const s=[...e.__tres.objects],o=ua(e);if(n=ua(n),o===n)return!0;const a=Gs(n,e.__tres??{},r),l=e.parent??e.__tres.parent??null,c={...e.__tres.memoizedProps};delete c.object;for(const u of s)hE(u,r),dE(u,r);o.__tres.objects=[],i.remove(e);for(const[u,f]of Object.entries(c))i.patchProp(a,u,a[u],f);t(n),i.insert(e,l);for(const u of s)i.insert(u,e);return!0}function ua(n){return M3(n)?(n.object.__tres=n.__tres,n.object):n}function hE(n,e){var t,i,r,s;const o=((t=n.__tres)==null?void 0:t.parent)||e.scene.value;n.__tres&&(n.__tres.parent=null),o&&o.__tres&&"objects"in o.__tres&&O3(o.__tres.objects,a=>a!==n),(i=n.__tres)!=null&&i.attach?U3(o,n,n.__tres.attach):((s=(r=n.parent)==null?void 0:r.remove)==null||s.call(r,ua(n)),n.parent=null)}function dE(n,e){var t;(t=n.traverse)==null||t.call(n,i=>{var r;e.deregisterCamera(i),(r=e.eventManager)==null||r.deregisterPointerMissedObject(i)}),e.deregisterCamera(n),fE(n)}const k3=({sizes:n})=>{const e=Ze([]),t=Se(()=>e.value[0]),i=o=>{const a=o instanceof dc?o:e.value.find(c=>c.uuid===o);if(!a)return;const l=e.value.filter(({uuid:c})=>c!==a.uuid);e.value=[a,...l]},r=(o,a=!1)=>{if(iy(o)){const l=o;if(e.value.some(({uuid:c})=>c===l.uuid))return;a?i(l):e.value.push(l)}},s=o=>{if(iy(o)){const a=o;e.value=e.value.filter(({uuid:l})=>l!==a.uuid)}};return sc(()=>{n.aspectRatio.value&&e.value.forEach(o=>{!o.manual&&(o instanceof $t||V3(o))&&(o instanceof $t?o.aspect=n.aspectRatio.value:(o.left=n.width.value*-.5,o.right=n.width.value*.5,o.top=n.height.value*.5,o.bottom=n.height.value*-.5),o.updateProjectionMatrix())})}),$i(()=>{e.value=[]}),{camera:t,cameras:e,registerCamera:r,deregisterCamera:s,setCameraActive:i}};function V3(n){return n.hasOwnProperty("isOrthographicCamera")&&n.isOrthographicCamera}const Zf="[TresJS ▲ ■ ●] ";function z3(...n){typeof n[0]=="string"?n[0]=Zf+n[0]:n.unshift(Zf),console.error(...n)}function H3(...n){typeof n[0]=="string"?n[0]=Zf+n[0]:n.unshift(Zf),console.warn(...n)}function G3(n,e){}function pE(){return{logError:z3,logWarning:H3,logMessage:G3}}const hm=Ze({}),dm=n=>Object.assign(hm.value,n);function pp(){const n=new Map,e=new Set;let t=0,i=!1;const r=()=>{const o=Array.from(n.entries()).sort((a,l)=>{const c=a[1].priority-l[1].priority;return c===0?a[1].addI-l[1].addI:c});e.clear(),o.forEach(a=>e.add(a[0]))},s=o=>{n.delete(o),e.delete(o)};return{on:(o,a=0)=>{n.set(o,{priority:a,addI:t++});const l=()=>s(o);return Cr(l),i=!0,{off:l}},off:s,trigger:(...o)=>{i&&(r(),i=!1),e.forEach(a=>a(...o))},dispose:()=>{n.clear(),e.clear()},get count(){return n.size}}}function W3(){let n=!0,e=!0,t=!1;const i=new ed(!1),r=Ze(i.running),s=Ze(!1);let o;const a=Ag.generateUUID();let l=null;const c=pp(),u=pp(),f=pp();T();let h={};function d(M){h=M}function p(M,P,b=0){switch(P){case"before":return c.on(M,b);case"render":return l||(l=M),u.dispose(),u.on(M);case"after":return f.on(M,b)}}function _(){e&&(e=!1,T(),E())}function g(){e=!0,T(),cancelAnimationFrame(o)}function m(){t=!1,T()}function y(){t=!0,T()}function x(){s.value=!0}function v(){s.value=!1}function E(){if(!n){o=requestAnimationFrame(E);return}const M=i.getDelta(),P=i.getElapsedTime(),b={camera:It(h.camera),scene:It(h.scene),renderer:It(h.renderer),raycaster:It(h.raycaster),controls:It(h.controls),invalidate:h.invalidate,advance:h.advance},S={delta:M,elapsed:P,clock:i,...b};r.value&&c.trigger(S),s.value||(u.count?u.trigger(S):l&&l(S)),r.value&&f.trigger(S),o=requestAnimationFrame(E)}function T(){const M=!e&&!t;i.running!==M&&(i.running?i.stop():i.start()),r.value=i.running}return{loopId:a,register:(M,P,b)=>p(M,P,b),start:_,stop:g,pause:y,resume:m,pauseRender:x,resumeRender:v,isRenderPaused:s,isActive:r,setContext:d,setReady:M=>n=M}}function n_(n){let e=0;return n.traverse(t=>{if(t.isMesh&&t.geometry&&t.type!=="HightlightMesh"){const i=t.geometry,r=i.attributes.position.count*3*Float32Array.BYTES_PER_ELEMENT,s=i.index?i.index.count*Uint32Array.BYTES_PER_ELEMENT:0,o=i.attributes.normal?i.attributes.normal.count*3*Float32Array.BYTES_PER_ELEMENT:0,a=i.attributes.uv?i.attributes.uv.count*2*Float32Array.BYTES_PER_ELEMENT:0,l=r+s+o+a;e+=l}}),e}function X3(n){return(n/1024).toFixed(2)}const $3=Number.parseInt(cc.replace("dev",""));function q3(n){return n instanceof we?n:Array.isArray(n)?new we(...n):new we(n)}const Au={realistic:{shadows:!0,physicallyCorrectLights:!0,outputColorSpace:Cn,toneMapping:xh,toneMappingExposure:3,shadowMap:{enabled:!0,type:dg}},flat:{toneMapping:Hi,toneMappingExposure:1}};function Y3({canvas:n,options:e,contextParts:{sizes:t,render:i,invalidate:r,advance:s}}){const o=Se(()=>({alpha:on(e.alpha)??!0,depth:on(e.depth),canvas:Ei(n),context:on(e.context),stencil:on(e.stencil),antialias:on(e.antialias)??!0,precision:on(e.precision),powerPreference:on(e.powerPreference),premultipliedAlpha:on(e.premultipliedAlpha),preserveDrawingBuffer:on(e.preserveDrawingBuffer),logarithmicDepthBuffer:on(e.logarithmicDepthBuffer),failIfMajorPerformanceCaveat:on(e.failIfMajorPerformanceCaveat)})),a=Ie(new $u(o.value));function l(){e.renderMode==="on-demand"&&r()}Ge(o,()=>{a.value.dispose(),a.value=new $u(o.value),l()}),Ge([t.width,t.height],()=>{a.value.setSize(t.width.value,t.height.value),l()},{immediate:!0}),Ge(()=>e.clearColor,l);const{pixelRatio:c}=kN(),{logError:u}=pE(),f=(()=>{const d=new $u,p={shadowMap:{enabled:d.shadowMap.enabled,type:d.shadowMap.type},toneMapping:d.toneMapping,toneMappingExposure:d.toneMappingExposure,outputColorSpace:d.outputColorSpace};return d.dispose(),p})(),h=on(e.renderMode);return h==="on-demand"&&r(),h==="manual"&&setTimeout(()=>{s()},100),sc(()=>{const d=on(e.preset);d&&(d in Au||u(`Renderer Preset must be one of these: ${Object.keys(Au).join(", ")}`),lE(a.value,Au[d])),F3(a.value,c.value,on(e.dpr)),h==="always"&&(i.frames.value=Math.max(1,i.frames.value));const p=(m,y)=>{const x=on(m),v=()=>{if(d)return sy(Au[d],y)};if(x!==void 0)return x;const E=v();return E!==void 0?E:sy(f,y)},_=(m,y)=>R3(a.value,y,p(m,y));_(e.shadows,"shadowMap.enabled"),_(e.toneMapping??xh,"toneMapping"),_(e.shadowMapType,"shadowMap.type"),$3<150&&_(!e.useLegacyLights,"physicallyCorrectLights"),_(e.outputColorSpace,"outputColorSpace"),_(e.toneMappingExposure,"toneMappingExposure");const g=p(e.clearColor,"clearColor");g&&a.value.setClearColor(g?q3(g):new we(0))}),$i(()=>{a.value.dispose(),a.value.forceContextLoss()}),{renderer:a}}function j3(n,e,t=10){const i=on(n)?$N():zN(Se(()=>on(e).parentElement)),r=di(ty(i.width,t)),s=di(ty(i.height,t)),o=Se(()=>r.value/s.value);return{height:s,width:r,aspectRatio:o}}const K3=(n,e)=>{const t=Se(()=>e.renderer.value.domElement),i=Ie([]),{x:r,y:s}=XN({target:t});let o=0;const{width:a,height:l,top:c,left:u}=VN(t),f=({x:re,y:xe})=>{if(t.value)return{x:(re-u.value)/a.value*2-1,y:-((xe-c.value)/l.value)*2+1}},h=({x:re,y:xe})=>{if(e.camera.value)return e.raycaster.value.setFromCamera(new fe(re,xe),e.camera.value),i.value=e.raycaster.value.intersectObjects(n.value,!0),i.value},d=re=>{const xe=f({x:(re==null?void 0:re.clientX)??r.value,y:(re==null?void 0:re.clientY)??s.value});return xe?h(xe)||[]:[]},p=oi(),_=oi(),g=oi(),m=oi(),y=oi(),x=oi(),v=oi(),E=oi();function T(re){const xe={};for(const ze in re)typeof ze!="function"&&(xe[ze]=re[ze]);return xe}const M=(re,xe)=>{var ze,se,ge;const be=T(xe),W=new F(xe==null?void 0:xe.clientX,xe==null?void 0:xe.clientY,0).unproject((ze=e.camera)==null?void 0:ze.value);re.trigger({...be,intersections:i.value,unprojectedPoint:W,ray:(se=e.raycaster)==null?void 0:se.value.ray,camera:(ge=e.camera)==null?void 0:ge.value,sourceEvent:xe,delta:o,stopPropagating:!1})};let P;const b=re=>{d(re),M(g,re),P=re},S=()=>{P&&b(P)};let D,B,H;const $=re=>{var xe;D=(xe=i.value[0])==null?void 0:xe.object,o=0,B=new fe((re==null?void 0:re.clientX)??r.value,(re==null?void 0:re.clientY)??s.value),M(y,re)};let ee,Z=!1;const te=re=>{var xe,ze,se;re instanceof PointerEvent&&(i.value.length===0&&M(x,re),D===((xe=i.value[0])==null?void 0:xe.object)&&(H=new fe((re==null?void 0:re.clientX)??r.value,(re==null?void 0:re.clientY)??s.value),o=B==null?void 0:B.distanceTo(H),re.button===0?(M(p,re),ee===((ze=i.value[0])==null?void 0:ze.object)?Z=!0:(ee=(se=i.value[0])==null?void 0:se.object,Z=!1)):re.button===2&&M(v,re)),M(m,re))},Q=re=>{Z&&(M(_,re),ee=void 0,Z=!1)},pe=re=>M(g,re),ve=re=>M(E,re);return t.value.addEventListener("pointerup",te),t.value.addEventListener("pointerdown",$),t.value.addEventListener("pointermove",b),t.value.addEventListener("pointerleave",pe),t.value.addEventListener("dblclick",Q),t.value.addEventListener("wheel",ve),$i(()=>{t!=null&&t.value&&(t.value.removeEventListener("pointerup",te),t.value.removeEventListener("pointerdown",$),t.value.removeEventListener("pointermove",b),t.value.removeEventListener("pointerleave",pe),t.value.removeEventListener("dblclick",Q),t.value.removeEventListener("wheel",ve))}),{intersects:i,onClick:re=>p.on(re).off,onDblClick:re=>_.on(re).off,onContextMenu:re=>v.on(re).off,onPointerMove:re=>g.on(re).off,onPointerUp:re=>m.on(re).off,onPointerDown:re=>y.on(re).off,onPointerMissed:re=>x.on(re).off,onWheel:re=>E.on(re).off,forceUpdate:S}};function mp(n,e){if(Array.isArray(n))for(const t of n)t(e);typeof n=="function"&&n(e)}function Z3(n,e,t){var i;const r=Ie(),s=Ie();n&&(r.value=n),e&&(s.value=e);const o=b=>{var S;return((S=b.__tres)==null?void 0:S.eventCount)>0},a=b=>{var S;return((S=b.children)==null?void 0:S.some(D=>a(D)))||o(b)},l=Ie(((i=r.value)==null?void 0:i.children).filter(a)||[]);function c(b,S){const D=[],B=()=>S.stopPropagating=!0;S.stopPropagation=B;for(const H of S==null?void 0:S.intersections){if(S.stopPropagating)return;S={...S,...H};const{object:$}=H;S.eventObject=$,mp($[b],S),D.push($);let ee=$.parent;for(;ee!==null&&!S.stopPropagating&&!D.includes(ee);)S.eventObject=ee,mp(ee[b],S),D.push(ee),ee=ee.parent;const Z=A3(b.slice(2));t(Z,{intersection:H,event:S})}}const{onClick:u,onDblClick:f,onContextMenu:h,onPointerMove:d,onPointerDown:p,onPointerUp:_,onPointerMissed:g,onWheel:m,forceUpdate:y}=K3(l,e);_(b=>c("onPointerUp",b)),p(b=>c("onPointerDown",b)),u(b=>c("onClick",b)),f(b=>c("onDoubleClick",b)),h(b=>c("onContextMenu",b)),m(b=>c("onWheel",b));let x=[];d(b=>{const S=b.intersections.map(({object:B})=>B),D=b.intersections;x.forEach(({object:B})=>{S.includes(B)||(b.intersections=x,c("onPointerLeave",b),c("onPointerOut",b))}),b.intersections=D,b.intersections.forEach(({object:B})=>{x.includes(B)||(c("onPointerEnter",b),c("onPointerOver",b))}),c("onPointerMove",b),x=b.intersections});const v=[];g(b=>{const S=()=>b.stopPropagating=!0;b.stopPropagation=S,v.forEach(D=>{b.stopPropagating||(b.eventObject=D,mp(D.onPointerMissed,b))}),t("pointer-missed",{event:b})});function E(b){Tu(b)&&Jr(b)&&l.value.push(b)}function T(b){if(Tu(b)&&Jr(b)){const S=l.value.indexOf(b);S>-1&&l.value.splice(S,1)}}function M(b){Tu(b)&&Jr(b)&&b.onPointerMissed&&v.push(b)}function P(b){if(Tu(b)&&Jr(b)){const S=v.indexOf(b);S>-1&&v.splice(S,1)}}return e.eventManager={forceUpdate:y,registerObject:E,deregisterObject:T,registerPointerMissedObject:M,deregisterPointerMissedObject:P},{forceUpdate:y,registerObject:E,deregisterObject:T,registerPointerMissedObject:M,deregisterPointerMissedObject:P}}function J3(n,e,t=100){t=t<=0?100:t;const i=oi(),r=new Set;let s=!1,o=!1,a=null;function l(){a&&clearTimeout(a),!o&&!s&&n()?(i.trigger(e),r.forEach(f=>f()),r.clear(),s=!0):!o&&!s&&(a=setTimeout(l,t))}function c(){o=!0,a&&clearTimeout(a)}l();const u=(f,...h)=>{f(...h)};return{on:f=>{if(s)return u(f,e),{off:()=>{}};{const h=i.on(f);return r.add(h.off),i.on(f)}},off:i.off,trigger:i.trigger,clear:i.clear,cancel:c}}const gp=new WeakMap;function Q3(n){if(n=n||mE(),gp.has(n))return gp.get(n);const e=100,t=Date.now(),i=J3(()=>{if(Date.now()-t>=e)return!0;{const r=n.renderer.value,s=(r==null?void 0:r.domElement)||{width:0,height:0};return!!(r&&s.width>0&&s.height>0)}},n);return gp.set(n,i),i}function eU({scene:n,canvas:e,windowSize:t,rendererOptions:i,emit:r}){const s=Ie(n),o=j3(t,e),{camera:a,cameras:l,registerCamera:c,deregisterCamera:u,setCameraActive:f}=k3({sizes:o}),h={mode:Ze(i.renderMode||"always"),priority:Ze(0),frames:Ze(0),maxFrames:60,canBeInvalidated:Se(()=>h.mode.value==="on-demand"&&h.frames.value===0)};function d(H=1){i.renderMode==="on-demand"&&(h.frames.value=Math.min(h.maxFrames,h.frames.value+H))}function p(){i.renderMode==="manual"&&(h.frames.value=1)}const{renderer:_}=Y3({canvas:e,options:i,contextParts:{sizes:o,render:h,invalidate:d,advance:p}}),g={sizes:o,scene:s,camera:a,cameras:di(l),renderer:_,raycaster:Ie(new YM),controls:Ze(null),perf:{maxFrames:160,fps:{value:0,accumulator:[]},memory:{currentMem:0,allocatedMem:0,accumulator:[]}},render:h,advance:p,extend:dm,invalidate:d,registerCamera:c,setCameraActive:f,deregisterCamera:u,loop:W3()};es("useTres",g),g.scene.value.__tres={root:g},g.loop.register(()=>{a.value&&h.frames.value>0&&(_.value.render(n,a.value),r("render",g.renderer.value)),h.priority.value=0,h.mode.value==="always"?h.frames.value=1:h.frames.value=Math.max(0,h.frames.value-1)},"render");const{on:m,cancel:y}=Q3(g);g.loop.setReady(!1),g.loop.start(),m(()=>{r("ready",g),g.loop.setReady(!0),Z3(n,g,r)}),$i(()=>{y(),g.loop.stop()});const x=100,v=HN({every:x}),{isSupported:E,memory:T}=GN({interval:x}),M=160;let P=performance.now();const b=({timestamp:H})=>{g.scene.value&&(g.perf.memory.allocatedMem=n_(g.scene.value)),H-P>=x&&(P=H,g.perf.fps.accumulator.push(v.value),g.perf.fps.accumulator.length>M&&g.perf.fps.accumulator.shift(),g.perf.fps.value=v.value,E.value&&T.value&&(g.perf.memory.accumulator.push(T.value.usedJSHeapSize/1024/1024),g.perf.memory.accumulator.length>M&&g.perf.memory.accumulator.shift(),g.perf.memory.currentMem=g.perf.memory.accumulator.reduce(($,ee)=>$+ee,0)/g.perf.memory.accumulator.length))};let S=0;const D=1,{pause:B}=t_(({delta:H})=>{window.__TRES__DEVTOOLS__&&(b({timestamp:performance.now()}),S+=H,S>=D&&(window.__TRES__DEVTOOLS__.cb(g),S=0))},{immediate:!0});return $i(()=>{B()}),g}function mE(){const n=gn("useTres");if(!n)throw new Error("useTresContext must be used together with useTresContextProvider");return n}function Z4(){const{camera:n,scene:e,renderer:t,loop:i,raycaster:r,controls:s,invalidate:o,advance:a}=mE();i.setContext({camera:n,scene:e,renderer:t,raycaster:r,controls:s,invalidate:o,advance:a});function l(f,h=0){return i.register(f,"before",h)}function c(f){return i.register(f,"render")}function u(f,h=0){return i.register(f,"after",h)}return{pause:i.pause,resume:i.resume,pauseRender:i.pauseRender,resumeRender:i.resumeRender,isActive:i.isActive,onBeforeRender:l,render:c,onAfterRender:u}}const tU=oi(),nU=oi(),gE=oi(),cl=new ed;let qu=0,Yu=0;t_(()=>{tU.trigger({delta:qu,elapsed:Yu,clock:cl}),nU.trigger({delta:qu,elapsed:Yu,clock:cl}),gE.trigger({delta:qu,elapsed:Yu,clock:cl})},{immediate:!1});gE.on(()=>{qu=cl.getDelta(),Yu=cl.getElapsedTime()});function iU(n,e={},t={}){let i=n;const r=a=>{i=a};let s=new Proxy({},{});const o={has(a,l){return l in e||l in i},get(a,l,c){return l in e?e[l](i):i[l]},set(a,l,c){const u=t[l];return u&&typeof u=="function"?u(c,i,s,r):i[l]=c,!0}};return s=new Proxy({},o),s}const{logError:cy}=pE(),uy=["onClick","onContextMenu","onPointerMove","onPointerEnter","onPointerLeave","onPointerOver","onPointerOut","onDoubleClick","onPointerDown","onPointerUp","onPointerCancel","onPointerMissed","onLostPointerCapture","onWheel"],rU=n=>{const e=n.scene.value;function t(c,u,f,h){if(h||(h={}),h.args||(h.args=[]),c==="template"||T3(c))return null;let d=c.replace("Tres",""),p;if(c==="primitive"){(!Ir(h.object)||wt(h.object))&&cy("Tres primitives need an 'object' prop, whose value is an object or shallowRef"),d=h.object.type;const _={};p=iU(h.object,{object:g=>g,isPrimitive:()=>!0,__tres:()=>_},{object:(g,m,y,x)=>{B3(g,y,x,{patchProp:s,remove:r,insert:i},n)},__tres:g=>{Object.assign(_,g)}})}else{const _=hm.value[d];_||cy(`${d} is not defined on the THREE namespace. Use extend to add it to the catalog.`),p=new _(...h.args)}return p?(p.isCamera&&(h!=null&&h.position||p.position.set(3,3,3),h!=null&&h.lookAt||p.lookAt(0,0,0)),p=Gs(p,{...p.__tres,type:d,memoizedProps:h,eventCount:0,primitive:c==="primitive",attach:h.attach},n),p):null}function i(c,u){var f,h,d;if(!c)return;u=u||e;const p=c.__tres?c:Gs(c,{},n),_=u.__tres?u:Gs(u,{},n);c=ua(p),u=ua(_),c.__tres&&((f=c.__tres)==null?void 0:f.eventCount)>0&&((h=n.eventManager)==null||h.registerObject(c)),n.registerCamera(c),(d=n.eventManager)==null||d.registerPointerMissedObject(c),p.__tres.attach?N3(_,p,p.__tres.attach):Jr(c)&&Jr(_)&&(_.add(c),c.dispatchEvent({type:"added"})),p.__tres.parent=_,_.__tres.objects&&!_.__tres.objects.includes(p)&&_.__tres.objects.push(p)}function r(c,u){var f,h,d,p;if(!c)return;c!=null&&c.__tres&&((f=c.__tres)==null?void 0:f.eventCount)>0&&((h=n.eventManager)==null||h.deregisterObject(c)),u=um(u)?"default":u;const _=(d=c.__tres)==null?void 0:d.dispose;um(_)||(_===null?u=!1:u=_);const g=(p=c.__tres)==null?void 0:p.primitive,m=u==="default"?!g:!!u;if(c.__tres&&"objects"in c.__tres&&[...c.__tres.objects].forEach(y=>r(y,u)),m&&c.children&&[...c.children].forEach(y=>r(y,u)),hE(c,n),dE(c,n),m&&!S3(c)){if($s(u))u(c);else if($s(c.dispose))try{c.dispose()}catch{}}"__tres"in c&&delete c.__tres}function s(c,u,f,h){var d,p;if(!c)return;let _=c,g=u;if(c.__tres&&(c.__tres.memoizedProps[u]=h),u==="attach"){const v=((d=c.__tres)==null?void 0:d.parent)||c.parent;r(c),Gs(c,{attach:h},n),v&&i(c,v);return}if(u==="dispose"){c.__tres||(c=Gs(c,{},n)),c.__tres.dispose=h;return}if(Jr(c)&&g==="blocks-pointer-events"){h||h===""?c[g]=h:delete c[g];return}uy.includes(u)&&c.__tres&&(c.__tres.eventCount+=1);let m=wu(g),y=_==null?void 0:_[m];if(g==="args"){const v=c,E=f??[],T=h??[],M=((p=c.__tres)==null?void 0:p.type)||c.type;M&&E.length&&!P3(E,T)&&(_=Object.assign(v,new hm.value[M](...h)));return}if(_.type==="BufferGeometry"){if(g==="args")return;_.setAttribute(wu(g),new Et(...h));return}if(g.includes("-")&&y===void 0){const v=g.split("-");y=v.reduce((E,T)=>E[wu(T)],_),g=v.pop(),m=g,y!=null&&y.set||(_=v.reduce((E,T)=>E[wu(T)],_))}let x=h;if(x===""&&(x=!0),$s(y)){uy.includes(u)||(Kf(x)?c[m](...x):c[m](x)),m.startsWith("on")&&$s(x)&&(_[m]=x);return}!(y!=null&&y.set)&&!$s(y)?_[m]=x:y.constructor===x.constructor&&y!=null&&y.copy?y==null||y.copy(x):Kf(x)?y.set(...x):!y.isColor&&y.setScalar?y.setScalar(x):y.set(x),fE(c)}function o(c){var u;return((u=c==null?void 0:c.__tres)==null?void 0:u.parent)||null}function a(c){const u=Gs(new ct,{type:"Comment"},n);return u.name=c,u}function l(c){var u;const f=o(c),h=((u=f==null?void 0:f.__tres)==null?void 0:u.objects)||[],d=h.indexOf(c);return d<0||d>=h.length-1?null:h[d+1]}return{insert:i,remove:r,createElement:t,patchProp:s,parentNode:o,createText:()=>{},createComment:a,setText:()=>{},setElementText:()=>{},nextSibling:l,querySelector:()=>{},setScopeId:()=>{},cloneNode:()=>{},insertStaticContent:()=>{}}};function sU(){return _E().__VUE_DEVTOOLS_GLOBAL_HOOK__}function _E(){return typeof navigator<"u"&&typeof window<"u"?window:typeof globalThis<"u"?globalThis:{}}const oU=typeof Proxy=="function",aU="devtools-plugin:setup",lU="plugin:settings:set";let ka,pm;function cU(){var n;return ka!==void 0||(typeof window<"u"&&window.performance?(ka=!0,pm=window.performance):typeof globalThis<"u"&&!((n=globalThis.perf_hooks)===null||n===void 0)&&n.performance?(ka=!0,pm=globalThis.perf_hooks.performance):ka=!1),ka}function uU(){return cU()?pm.now():Date.now()}class fU{constructor(e,t){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=e,this.hook=t;const i={};if(e.settings)for(const o in e.settings){const a=e.settings[o];i[o]=a.defaultValue}const r=`__vue-devtools-plugin-settings__${e.id}`;let s=Object.assign({},i);try{const o=localStorage.getItem(r),a=JSON.parse(o);Object.assign(s,a)}catch{}this.fallbacks={getSettings(){return s},setSettings(o){try{localStorage.setItem(r,JSON.stringify(o))}catch{}s=o},now(){return uU()}},t&&t.on(lU,(o,a)=>{o===this.plugin.id&&this.fallbacks.setSettings(a)}),this.proxiedOn=new Proxy({},{get:(o,a)=>this.target?this.target.on[a]:(...l)=>{this.onQueue.push({method:a,args:l})}}),this.proxiedTarget=new Proxy({},{get:(o,a)=>this.target?this.target[a]:a==="on"?this.proxiedOn:Object.keys(this.fallbacks).includes(a)?(...l)=>(this.targetQueue.push({method:a,args:l,resolve:()=>{}}),this.fallbacks[a](...l)):(...l)=>new Promise(c=>{this.targetQueue.push({method:a,args:l,resolve:c})})})}async setRealTarget(e){this.target=e;for(const t of this.onQueue)this.target.on[t.method](...t.args);for(const t of this.targetQueue)t.resolve(await this.target[t.method](...t.args))}}function hU(n,e){const t=n,i=_E(),r=sU(),s=oU&&t.enableEarlyProxy;if(r&&(i.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__||!s))r.emit(aU,n,e);else{const o=s?new fU(t,r):null;(i.__VUE_DEVTOOLS_PLUGINS__=i.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:t,setupFn:e,proxy:o}),o&&e(o.proxiedTarget)}}function dU(n,e){const t=`▲ ■ ●${n}`;typeof fy=="function"?fy(t,e):console.log(t)}function fy(n,e){throw new Error(n+e)}const vE=n=>{const e={id:n.uuid,label:n.type,children:[],tags:[]};n.name!==""&&e.tags.push({label:n.name,textColor:5750629,backgroundColor:15793395});const t=n_(n);return t>0&&e.tags.push({label:`${X3(t)} KB`,textColor:15707189,backgroundColor:16775644,tooltip:"Memory usage"}),n.type.includes("Light")&&(x3(n)&&e.tags.push({label:`${n.intensity}`,textColor:9738662,backgroundColor:16316922,tooltip:"Intensity"}),e.tags.push({label:`#${new we(n.color).getHexString()}`,textColor:9738662,backgroundColor:16316922,tooltip:"Color"})),n.type.includes("Camera")&&(e.tags.push({label:`${n.fov}°`,textColor:9738662,backgroundColor:16316922,tooltip:"Field of view"}),e.tags.push({label:`x: ${Math.round(n.position.x)} y: ${Math.round(n.position.y)} z: ${Math.round(n.position.z)}`,textColor:9738662,backgroundColor:16316922,tooltip:"Position"})),e};function yE(n,e,t=""){n.children.forEach(i=>{if(i.type==="HightlightMesh"||t&&!i.type.includes(t)&&!i.name.includes(t))return;const r=vE(i);e.children.push(r),yE(i,r,t)})}const pU=[],Va="tres:inspector",mU=hi({sceneGraph:null});function gU(n,e){hU({id:"dev.esm.tres",label:"TresJS 🪐",logo:"https://raw.githubusercontent.com/Tresjs/tres/main/public/favicon.svg",packageName:"tresjs",homepage:"https://tresjs.org",componentStateTypes:pU,app:n},t=>{typeof t.now!="function"&&dU("You seem to be using an outdated version of Vue Devtools. Are you still using the Beta release instead of the stable one? You can find the links at https://devtools.vuejs.org/guide/installation.html."),t.addInspector({id:Va,label:"TresJS 🪐",icon:"account_tree",treeFilterPlaceholder:"Search instances"}),setInterval(()=>{t.sendInspectorTree(Va)},1e3),setInterval(()=>{t.notifyComponentUpdate()},5e3),t.on.getInspectorTree(s=>{if(s.inspectorId===Va){const o=vE(e.scene.value);yE(e.scene.value,o,s.filter),mU.sceneGraph=o,s.rootNodes=[o]}});let i=null,r=null;t.on.getInspectorState(s=>{var o;if(s.inspectorId===Va){const[a]=e.scene.value.getObjectsByProperty("uuid",s.nodeId);if(!a)return;if(r&&i&&i.parent&&r.remove(i),a.isMesh){const l=L3(a);a.add(l),i=l,r=a}s.state={object:Object.entries(a).map(([l,c])=>l==="children"?{key:l,value:c.filter(u=>u.type!=="HightlightMesh")}:{key:l,value:c,editable:!0}).filter(({key:l})=>l!=="parent")},a.isScene&&(s.state={...s.state,state:[{key:"Scene Info",value:{objects:a.children.length,memory:n_(a),calls:e.renderer.value.info.render.calls,triangles:e.renderer.value.info.render.triangles,points:e.renderer.value.info.render.points,lines:e.renderer.value.info.render.lines}},{key:"Programs",value:((o=e.renderer.value.info.programs)==null?void 0:o.map(l=>({...l,programName:l.name})))||[]}]})}}),t.on.editInspectorState(s=>{s.inspectorId===Va&&I3(e.scene.value,s.nodeId,s.path,s.state.value)})})}const _U=["data-scene","data-tres"],vU=rn({__name:"TresCanvas",props:{shadows:{type:Boolean,default:void 0},clearColor:{},toneMapping:{},shadowMapType:{},useLegacyLights:{type:Boolean,default:void 0},outputColorSpace:{},toneMappingExposure:{},renderMode:{default:"always"},dpr:{},camera:{},preset:{},windowSize:{type:Boolean,default:void 0},enableProvideBridge:{type:Boolean,default:!0},context:{},alpha:{type:Boolean,default:void 0},premultipliedAlpha:{type:Boolean},antialias:{type:Boolean,default:void 0},stencil:{type:Boolean,default:void 0},preserveDrawingBuffer:{type:Boolean,default:void 0},powerPreference:{},depth:{type:Boolean,default:void 0},failIfMajorPerformanceCaveat:{type:Boolean,default:void 0},precision:{},logarithmicDepthBuffer:{type:Boolean,default:void 0},reverseDepthBuffer:{type:Boolean}},emits:["render","click","double-click","context-menu","pointer-move","pointer-up","pointer-down","pointer-enter","pointer-leave","pointer-over","pointer-out","pointer-missed","wheel","ready"],setup(n,{expose:e,emit:t}){const i=n,r=t,s=rg(),o=Ze(),a=Ie(new Oh),l=vn();dm(xN);const c=(p,_=!1)=>rn({setup(){var g;const m=(g=vn())==null?void 0:g.appContext;m&&(m.app=l==null?void 0:l.appContext.app);const y={};function x(v){v&&(v.parent&&x(v.parent),v.provides&&Object.assign(y,v.provides))}return l!=null&&l.parent&&i.enableProvideBridge&&(x(l.parent),Reflect.ownKeys(y).forEach(v=>{es(v,y[v])})),es("useTres",p),es("extend",dm),typeof window<"u"&&gU(m==null?void 0:m.app,p),()=>Mr(Xt,null,_?[]:s.default())}}),u=(p,_=!1)=>{const g=c(p,_),{render:m}=Bb(rU(p));m(Mr(g),a.value)},f=(p,_=!1)=>{uE(p.scene.value),_&&(p.renderer.value.dispose(),p.renderer.value.renderLists.dispose(),p.renderer.value.forceContextLoss()),a.value.__tres={root:p}},h=Ie(null);e({context:h,dispose:()=>f(h.value,!0)});const d=()=>{f(h.value),u(h.value,!0)};return yn(()=>{const p=o;h.value=eU({scene:a.value,canvas:p,windowSize:i.windowSize??!1,rendererOptions:i,emit:r});const{registerCamera:_,camera:g,cameras:m,deregisterCamera:y}=h.value;u(h.value);const x=()=>{const v=new $t(45,window.innerWidth/window.innerHeight,.1,1e3);v.position.set(3,3,3),v.lookAt(0,0,0),_(v);const E=sc(()=>{m.value.length>=2&&(v.removeFromParent(),y(v),E==null||E())})};Ge(()=>i.camera,(v,E)=>{v&&_(v),E&&(E.removeFromParent(),y(E))},{immediate:!0}),g.value||x()}),$i(d),(p,_)=>(ln(),ui("canvas",{ref_key:"canvas",ref:o,"data-scene":a.value.uuid,class:ga(p.$attrs.class),"data-tres":`tresjs ${It(m3).version}`,style:mi({display:"block",width:"100%",height:"100%",position:p.windowSize?"fixed":"relative",top:0,left:0,pointerEvents:"auto",touchAction:"none",...p.$attrs.style})},null,14,_U))}}),yU={install(n){n.component("TresCanvas",vU)}};function _p(n){if(n===null||typeof n!="object")return!1;const e=Object.getPrototypeOf(n);return e!==null&&e!==Object.prototype&&Object.getPrototypeOf(e)!==null||Symbol.iterator in n?!1:Symbol.toStringTag in n?Object.prototype.toString.call(n)==="[object Module]":!0}function mm(n,e,t=".",i){if(!_p(e))return mm(n,{},t,i);const r=Object.assign({},e);for(const s in n){if(s==="__proto__"||s==="constructor")continue;const o=n[s];o!=null&&(i&&i(r,s,o,t)||(Array.isArray(o)&&Array.isArray(r[s])?r[s]=[...o,...r[s]]:_p(o)&&_p(r[s])?r[s]=mm(o,r[s],(t?`${t}.`:"")+s.toString(),i):r[s]=o))}return r}function xU(n){return(...e)=>e.reduce((t,i)=>mm(t,i,"",n),{})}const xE=xU();function ps(n){return ch()?(qm(n),!0):!1}function hy(){const n=new Set,e=s=>{n.delete(s)};return{on:s=>{n.add(s);const o=()=>e(s);return ps(o),{off:o}},off:e,trigger:(...s)=>Promise.all(Array.from(n).map(o=>o(...s))),clear:()=>{n.clear()}}}const vp=new WeakMap,bU=(...n)=>{var e;const t=n[0],i=(e=vn())==null?void 0:e.proxy;if(i==null&&!rc())throw new Error("injectLocal must be called in setup");return i&&vp.has(i)&&t in vp.get(i)?vp.get(i)[t]:gn(...n)},bc=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const bE=n=>n!=null,SU=Object.prototype.toString,Jf=n=>SU.call(n)==="[object Object]",Xi=()=>{},MU=(n,e)=>Object.prototype.hasOwnProperty.call(n,e);function SE(...n){if(n.length!==1)return rb(...n);const e=n[0];return typeof e=="function"?di(Qm(()=>({get:e,set:Xi}))):Ze(e)}function i_(n,e){function t(...i){return new Promise((r,s)=>{Promise.resolve(n(()=>e.apply(this,i),{fn:e,thisArg:this,args:i})).then(r).catch(s)})}return t}const ME=n=>n();function EE(n,e={}){let t,i,r=Xi;const s=l=>{clearTimeout(l),r(),r=Xi};let o;return l=>{const c=Je(n),u=Je(e.maxWait);return t&&s(t),c<=0||u!==void 0&&u<=0?(i&&(s(i),i=null),Promise.resolve(l())):new Promise((f,h)=>{r=e.rejectOnCancel?h:f,o=l,u&&!i&&(i=setTimeout(()=>{t&&s(t),i=null,f(o())},u)),t=setTimeout(()=>{i&&s(i),i=null,f(l())},c)})}}function EU(...n){let e=0,t,i=!0,r=Xi,s,o,a,l,c;!wt(n[0])&&typeof n[0]=="object"?{delay:o,trailing:a=!0,leading:l=!0,rejectOnCancel:c=!1}=n[0]:[o,a=!0,l=!0,c=!1]=n;const u=()=>{t&&(clearTimeout(t),t=void 0,r(),r=Xi)};return h=>{const d=Je(o),p=Date.now()-e,_=()=>s=h();return u(),d<=0?(e=Date.now(),_()):(p>d&&(l||!i)?(e=Date.now(),_()):a&&(s=new Promise((g,m)=>{r=c?m:g,t=setTimeout(()=>{e=Date.now(),i=!0,g(_()),u()},Math.max(0,d-p))})),!l&&!t&&(t=setTimeout(()=>i=!0,d)),i=!1,s)}}function TU(n=ME,e={}){const{initialState:t="active"}=e,i=SE(t==="active");function r(){i.value=!1}function s(){i.value=!0}const o=(...a)=>{i.value&&n(...a)};return{isActive:di(i),pause:r,resume:s,eventFilter:o}}function wU(n){let e;function t(){return e||(e=n()),e}return t.reset=async()=>{const i=e;e=void 0,i&&await i},t}function AU(n,e){var t;if(typeof n=="number")return n+e;const i=((t=n.match(/^-?\d+\.?\d*/))==null?void 0:t[0])||"",r=n.slice(i.length),s=Number.parseFloat(i)+e;return Number.isNaN(s)?n:s+r}function ul(n){return n.endsWith("rem")?Number.parseFloat(n)*16:Number.parseFloat(n)}function fl(n){return Array.isArray(n)?n:[n]}function TE(n){return vn()}function wE(n,e=200,t={}){return i_(EE(e,t),n)}function CU(n,e=200,t=!1,i=!0,r=!1){return i_(EU(e,t,i,r),n)}function AE(n,e,t={}){const{eventFilter:i=ME,...r}=t;return Ge(n,i_(i,e),r)}function RU(n,e,t={}){const{eventFilter:i,initialState:r="active",...s}=t,{eventFilter:o,pause:a,resume:l,isActive:c}=TU(i,{initialState:r});return{stop:AE(n,e,{...s,eventFilter:o}),pause:a,resume:l,isActive:c}}function Ma(n,e=!0,t){TE()?yn(n,t):e?n():us(n)}function PU(n,e){TE()&&$i(n,e)}function IU(n,e,t={}){const{immediate:i=!0,immediateCallback:r=!1}=t,s=Ie(!1);let o=null;function a(){o&&(clearTimeout(o),o=null)}function l(){s.value=!1,a()}function c(...u){r&&n(),a(),s.value=!0,o=setTimeout(()=>{s.value=!1,o=null,n(...u)},Je(e))}return i&&(s.value=!0,bc&&c()),ps(l),{isPending:di(s),start:c,stop:l}}function J4(n,e,t={}){const{debounce:i=0,maxWait:r=void 0,...s}=t;return AE(n,e,{...s,eventFilter:EE(i,{maxWait:r})})}function LU(n,e,t){return Ge(n,e,{...t,immediate:!0})}const Xn=bc?window:void 0,DU=bc?window.document:void 0,r_=bc?window.navigator:void 0;function Jn(n){var e;const t=Je(n);return(e=t==null?void 0:t.$el)!=null?e:t}function Dt(...n){const e=[],t=()=>{e.forEach(a=>a()),e.length=0},i=(a,l,c,u)=>(a.addEventListener(l,c,u),()=>a.removeEventListener(l,c,u)),r=Se(()=>{const a=fl(Je(n[0])).filter(l=>l!=null);return a.every(l=>typeof l!="string")?a:void 0}),s=LU(()=>{var a,l;return[(l=(a=r.value)==null?void 0:a.map(c=>Jn(c)))!=null?l:[Xn].filter(c=>c!=null),fl(Je(r.value?n[1]:n[0])),fl(It(r.value?n[2]:n[1])),Je(r.value?n[3]:n[2])]},([a,l,c,u])=>{if(t(),!(a!=null&&a.length)||!(l!=null&&l.length)||!(c!=null&&c.length))return;const f=Jf(u)?{...u}:u;e.push(...a.flatMap(h=>l.flatMap(d=>c.map(p=>i(h,d,p,f)))))},{flush:"post"}),o=()=>{s(),t()};return ps(t),o}function OU(){const n=Ie(!1),e=vn();return e&&yn(()=>{n.value=!0},e),n}function vo(n){const e=OU();return Se(()=>(e.value,!!n()))}function CE(n,e,t={}){const{window:i=Xn,...r}=t;let s;const o=vo(()=>i&&"MutationObserver"in i),a=()=>{s&&(s.disconnect(),s=void 0)},l=Se(()=>{const h=Je(n),d=fl(h).map(Jn).filter(bE);return new Set(d)}),c=Ge(()=>l.value,h=>{a(),o.value&&h.size&&(s=new MutationObserver(e),h.forEach(d=>s.observe(d,r)))},{immediate:!0,flush:"post"}),u=()=>s==null?void 0:s.takeRecords(),f=()=>{c(),a()};return ps(f),{isSupported:o,stop:f,takeRecords:u}}const NU=Symbol("vueuse-ssr-width");function RE(){const n=rc()?bU(NU,null):null;return typeof n=="number"?n:void 0}function qs(n,e={}){const{window:t=Xn,ssrWidth:i=RE()}=e,r=vo(()=>t&&"matchMedia"in t&&typeof t.matchMedia=="function"),s=Ie(typeof i=="number"),o=Ie(),a=Ie(!1),l=c=>{a.value=c.matches};return sc(()=>{if(s.value){s.value=!r.value;const c=Je(n).split(",");a.value=c.some(u=>{const f=u.includes("not all"),h=u.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),d=u.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);let p=!!(h||d);return h&&p&&(p=i>=ul(h[1])),d&&p&&(p=i<=ul(d[1])),f?!p:p});return}r.value&&(o.value=t.matchMedia(Je(n)),a.value=o.value.matches)}),Dt(o,"change",l,{passive:!0}),Se(()=>a.value)}const Q4={sm:640,md:768,lg:1024,xl:1280,"2xl":1536};function eG(n,e={}){function t(d,p){let _=Je(n[Je(d)]);return p!=null&&(_=AU(_,p)),typeof _=="number"&&(_=`${_}px`),_}const{window:i=Xn,strategy:r="min-width",ssrWidth:s=RE()}=e,o=typeof s=="number",a=o?Ie(!1):{value:!0};o&&Ma(()=>a.value=!!i);function l(d,p){return!a.value&&o?d==="min"?s>=ul(p):s<=ul(p):i?i.matchMedia(`(${d}-width: ${p})`).matches:!1}const c=d=>qs(()=>`(min-width: ${t(d)})`,e),u=d=>qs(()=>`(max-width: ${t(d)})`,e),f=Object.keys(n).reduce((d,p)=>(Object.defineProperty(d,p,{get:()=>r==="min-width"?c(p):u(p),enumerable:!0,configurable:!0}),d),{});function h(){const d=Object.keys(n).map(p=>[p,f[p],ul(t(p))]).sort((p,_)=>p[2]-_[2]);return Se(()=>d.filter(([,p])=>p.value).map(([p])=>p))}return Object.assign(f,{greaterOrEqual:c,smallerOrEqual:u,greater(d){return qs(()=>`(min-width: ${t(d,.1)})`,e)},smaller(d){return qs(()=>`(max-width: ${t(d,-.1)})`,e)},between(d,p){return qs(()=>`(min-width: ${t(d)}) and (max-width: ${t(p,-.1)})`,e)},isGreater(d){return l("min",t(d,.1))},isGreaterOrEqual(d){return l("min",t(d))},isSmaller(d){return l("max",t(d,-.1))},isSmallerOrEqual(d){return l("max",t(d))},isInBetween(d,p){return l("min",t(d))&&l("max",t(p,-.1))},current:h,active(){const d=h();return Se(()=>d.value.length===0?"":d.value.at(r==="min-width"?-1:0))}})}function gm(n,e={}){const{controls:t=!1,navigator:i=r_}=e,r=vo(()=>i&&"permissions"in i),s=Ie(),o=typeof n=="string"?{name:n}:n,a=Ie(),l=()=>{var u,f;a.value=(f=(u=s.value)==null?void 0:u.state)!=null?f:"prompt"};Dt(s,"change",l,{passive:!0});const c=wU(async()=>{if(r.value){if(!s.value)try{s.value=await i.permissions.query(o)}catch{s.value=void 0}finally{l()}if(t)return ot(s.value)}});return c(),t?{state:a,isSupported:r,query:c}:a}function tG(n={}){const{navigator:e=r_,read:t=!1,source:i,copiedDuring:r=1500,legacy:s=!1}=n,o=vo(()=>e&&"clipboard"in e),a=gm("clipboard-read"),l=gm("clipboard-write"),c=Se(()=>o.value||s),u=Ie(""),f=Ie(!1),h=IU(()=>f.value=!1,r,{immediate:!1});async function d(){let y=!(o.value&&m(a.value));if(!y)try{u.value=await e.clipboard.readText()}catch{y=!0}y&&(u.value=g())}c.value&&t&&Dt(["copy","cut"],d,{passive:!0});async function p(y=Je(i)){if(c.value&&y!=null){let x=!(o.value&&m(l.value));if(!x)try{await e.clipboard.writeText(y)}catch{x=!0}x&&_(y),u.value=y,f.value=!0,h.start()}}function _(y){const x=document.createElement("textarea");x.value=y??"",x.style.position="absolute",x.style.opacity="0",document.body.appendChild(x),x.select(),document.execCommand("copy"),x.remove()}function g(){var y,x,v;return(v=(x=(y=document==null?void 0:document.getSelection)==null?void 0:y.call(document))==null?void 0:x.toString())!=null?v:""}function m(y){return y==="granted"||y==="prompt"}return{isSupported:c,text:u,copied:f,copy:p}}const Cu=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Ru="__vueuse_ssr_handlers__",UU=FU();function FU(){return Ru in Cu||(Cu[Ru]=Cu[Ru]||{}),Cu[Ru]}function PE(n,e){return UU[n]||e}function BU(n){return qs("(prefers-color-scheme: dark)",n)}function kU(n){return n==null?"any":n instanceof Set?"set":n instanceof Map?"map":n instanceof Date?"date":typeof n=="boolean"?"boolean":typeof n=="string"?"string":typeof n=="object"?"object":Number.isNaN(n)?"any":"number"}const VU={boolean:{read:n=>n==="true",write:n=>String(n)},object:{read:n=>JSON.parse(n),write:n=>JSON.stringify(n)},number:{read:n=>Number.parseFloat(n),write:n=>String(n)},any:{read:n=>n,write:n=>String(n)},string:{read:n=>n,write:n=>String(n)},map:{read:n=>new Map(JSON.parse(n)),write:n=>JSON.stringify(Array.from(n.entries()))},set:{read:n=>new Set(JSON.parse(n)),write:n=>JSON.stringify(Array.from(n))},date:{read:n=>new Date(n),write:n=>n.toISOString()}},dy="vueuse-storage";function IE(n,e,t,i={}){var r;const{flush:s="pre",deep:o=!0,listenToStorageChanges:a=!0,writeDefaults:l=!0,mergeDefaults:c=!1,shallow:u,window:f=Xn,eventFilter:h,onError:d=D=>{console.error(D)},initOnMounted:p}=i,_=(u?Ie:Ze)(typeof e=="function"?e():e),g=Se(()=>Je(n));if(!t)try{t=PE("getDefaultStorage",()=>{var D;return(D=Xn)==null?void 0:D.localStorage})()}catch(D){d(D)}if(!t)return _;const m=Je(e),y=kU(m),x=(r=i.serializer)!=null?r:VU[y],{pause:v,resume:E}=RU(_,()=>M(_.value),{flush:s,deep:o,eventFilter:h});Ge(g,()=>b(),{flush:s}),f&&a&&Ma(()=>{t instanceof Storage?Dt(f,"storage",b,{passive:!0}):Dt(f,dy,S),p&&b()}),p||b();function T(D,B){if(f){const H={key:g.value,oldValue:D,newValue:B,storageArea:t};f.dispatchEvent(t instanceof Storage?new StorageEvent("storage",H):new CustomEvent(dy,{detail:H}))}}function M(D){try{const B=t.getItem(g.value);if(D==null)T(B,null),t.removeItem(g.value);else{const H=x.write(D);B!==H&&(t.setItem(g.value,H),T(B,H))}}catch(B){d(B)}}function P(D){const B=D?D.newValue:t.getItem(g.value);if(B==null)return l&&m!=null&&t.setItem(g.value,x.write(m)),m;if(!D&&c){const H=x.read(B);return typeof c=="function"?c(H,m):y==="object"&&!Array.isArray(H)?{...m,...H}:H}else return typeof B!="string"?B:x.read(B)}function b(D){if(!(D&&D.storageArea!==t)){if(D&&D.key==null){_.value=m;return}if(!(D&&D.key!==g.value)){v();try{(D==null?void 0:D.newValue)!==x.write(_.value)&&(_.value=P(D))}catch(B){d(B)}finally{D?us(E):E()}}}}function S(D){b(D.detail)}return _}const zU="*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function HU(n={}){const{selector:e="html",attribute:t="class",initialValue:i="auto",window:r=Xn,storage:s,storageKey:o="vueuse-color-scheme",listenToStorageChanges:a=!0,storageRef:l,emitAuto:c,disableTransition:u=!0}=n,f={auto:"",light:"light",dark:"dark",...n.modes||{}},h=BU({window:r}),d=Se(()=>h.value?"dark":"light"),p=l||(o==null?SE(i):IE(o,i,s,{window:r,listenToStorageChanges:a})),_=Se(()=>p.value==="auto"?d.value:p.value),g=PE("updateHTMLAttrs",(v,E,T)=>{const M=typeof v=="string"?r==null?void 0:r.document.querySelector(v):Jn(v);if(!M)return;const P=new Set,b=new Set;let S=null;if(E==="class"){const B=T.split(/\s/g);Object.values(f).flatMap(H=>(H||"").split(/\s/g)).filter(Boolean).forEach(H=>{B.includes(H)?P.add(H):b.add(H)})}else S={key:E,value:T};if(P.size===0&&b.size===0&&S===null)return;let D;u&&(D=r.document.createElement("style"),D.appendChild(document.createTextNode(zU)),r.document.head.appendChild(D));for(const B of P)M.classList.add(B);for(const B of b)M.classList.remove(B);S&&M.setAttribute(S.key,S.value),u&&(r.getComputedStyle(D).opacity,document.head.removeChild(D))});function m(v){var E;g(e,t,(E=f[v])!=null?E:v)}function y(v){n.onChanged?n.onChanged(v,m):m(v)}Ge(_,y,{flush:"post",immediate:!0}),Ma(()=>y(_.value));const x=Se({get(){return c?p.value:_.value},set(v){p.value=v}});return Object.assign(x,{store:p,system:d,state:_})}function Pu(n,e,t={}){const{window:i=Xn,initialValue:r,observe:s=!1}=t,o=Ie(r),a=Se(()=>{var c;return Jn(e)||((c=i==null?void 0:i.document)==null?void 0:c.documentElement)});function l(){var c;const u=Je(n),f=Je(a);if(f&&i&&u){const h=(c=i.getComputedStyle(f).getPropertyValue(u))==null?void 0:c.trim();o.value=h||o.value||r}}return s&&CE(a,l,{attributeFilter:["style","class"],window:i}),Ge([a,()=>Je(n)],(c,u)=>{u[0]&&u[1]&&u[0].style.removeProperty(u[1]),l()},{immediate:!0}),Ge([o,a],([c,u])=>{const f=Je(n);u!=null&&u.style&&f&&(c==null?u.style.removeProperty(f):u.style.setProperty(f,c))},{immediate:!0}),o}function GU(n={}){const{valueDark:e="dark",valueLight:t=""}=n,i=HU({...n,onChanged:(o,a)=>{var l;n.onChanged?(l=n.onChanged)==null||l.call(n,o==="dark",a,o):a(o)},modes:{dark:e,light:t}}),r=Se(()=>i.system.value);return Se({get(){return i.value==="dark"},set(o){const a=o?"dark":"light";r.value===a?i.value="auto":i.value=a}})}function WU(n={}){const{navigator:e=r_,requestPermissions:t=!1,constraints:i={audio:!0,video:!0},onUpdated:r}=n,s=Ze([]),o=Se(()=>s.value.filter(p=>p.kind==="videoinput")),a=Se(()=>s.value.filter(p=>p.kind==="audioinput")),l=Se(()=>s.value.filter(p=>p.kind==="audiooutput")),c=vo(()=>e&&e.mediaDevices&&e.mediaDevices.enumerateDevices),u=Ie(!1);let f;async function h(){c.value&&(s.value=await e.mediaDevices.enumerateDevices(),r==null||r(s.value),f&&(f.getTracks().forEach(p=>p.stop()),f=null))}async function d(){const p=i.video?"camera":"microphone";if(!c.value)return!1;if(u.value)return!0;const{state:_,query:g}=gm(p,{controls:!0});if(await g(),_.value!=="granted"){let m=!0;try{f=await e.mediaDevices.getUserMedia(i)}catch{f=null,m=!1}h(),u.value=m}else u.value=!0;return u.value}return c.value&&(t&&d(),Dt(e.mediaDevices,"devicechange",h,{passive:!0}),h()),{devices:s,ensurePermissions:d,permissionGranted:u,videoInputs:o,audioInputs:a,audioOutputs:l,isSupported:c}}function XU(n,e,t={}){const{window:i=Xn,...r}=t;let s;const o=vo(()=>i&&"ResizeObserver"in i),a=()=>{s&&(s.disconnect(),s=void 0)},l=Se(()=>{const f=Je(n);return Array.isArray(f)?f.map(h=>Jn(h)):[Jn(f)]}),c=Ge(l,f=>{if(a(),o.value&&i){s=new ResizeObserver(e);for(const h of f)h&&s.observe(h,r)}},{immediate:!0,flush:"post"}),u=()=>{a(),c()};return ps(u),{isSupported:o,stop:u}}function nG(n,e={}){const{reset:t=!0,windowResize:i=!0,windowScroll:r=!0,immediate:s=!0,updateTiming:o="sync"}=e,a=Ie(0),l=Ie(0),c=Ie(0),u=Ie(0),f=Ie(0),h=Ie(0),d=Ie(0),p=Ie(0);function _(){const m=Jn(n);if(!m){t&&(a.value=0,l.value=0,c.value=0,u.value=0,f.value=0,h.value=0,d.value=0,p.value=0);return}const y=m.getBoundingClientRect();a.value=y.height,l.value=y.bottom,c.value=y.left,u.value=y.right,f.value=y.top,h.value=y.width,d.value=y.x,p.value=y.y}function g(){o==="sync"?_():o==="next-frame"&&requestAnimationFrame(()=>_())}return XU(n,g),Ge(()=>Jn(n),m=>!m&&g()),CE(n,g,{attributeFilter:["style","class"]}),r&&Dt("scroll",g,{capture:!0,passive:!0}),i&&Dt("resize",g,{passive:!0}),Ma(()=>{s&&g()}),{height:a,bottom:l,left:c,right:u,top:f,width:h,x:d,y:p,update:g}}function $U(n,e,t={}){const{root:i,rootMargin:r="0px",threshold:s=0,window:o=Xn,immediate:a=!0}=t,l=vo(()=>o&&"IntersectionObserver"in o),c=Se(()=>{const p=Je(n);return fl(p).map(Jn).filter(bE)});let u=Xi;const f=Ie(a),h=l.value?Ge(()=>[c.value,Jn(i),f.value],([p,_])=>{if(u(),!f.value||!p.length)return;const g=new IntersectionObserver(e,{root:Jn(_),rootMargin:r,threshold:s});p.forEach(m=>m&&g.observe(m)),u=()=>{g.disconnect(),u=Xi}},{immediate:a,flush:"post"}):Xi,d=()=>{u(),h(),f.value=!1};return ps(d),{isSupported:l,isActive:f,pause(){u(),f.value=!1},resume(){f.value=!0},stop:d}}const qU={multiple:!0,accept:"*",reset:!1,directory:!1};function YU(n){if(!n)return null;if(n instanceof FileList)return n;const e=new DataTransfer;for(const t of n)e.items.add(t);return e.files}function iG(n={}){const{document:e=DU}=n,t=Ze(YU(n.initialFiles)),{on:i,trigger:r}=hy(),{on:s,trigger:o}=hy();let a;e&&(a=e.createElement("input"),a.type="file",a.onchange=u=>{const f=u.target;t.value=f.files,r(t.value)},a.oncancel=()=>{o()});const l=()=>{t.value=null,a&&a.value&&(a.value="",r(null))},c=u=>{if(!a)return;const f={...qU,...n,...u};a.multiple=f.multiple,a.accept=f.accept,a.webkitdirectory=f.directory,MU(f,"capture")&&(a.capture=f.capture),f.reset&&l(),a.click()};return{files:di(t),open:c,reset:l,onCancel:s,onChange:i}}const py=1;function rG(n,e={}){const{throttle:t=0,idle:i=200,onStop:r=Xi,onScroll:s=Xi,offset:o={left:0,right:0,top:0,bottom:0},eventListenerOptions:a={capture:!1,passive:!0},behavior:l="auto",window:c=Xn,onError:u=M=>{console.error(M)}}=e,f=Ie(0),h=Ie(0),d=Se({get(){return f.value},set(M){_(M,void 0)}}),p=Se({get(){return h.value},set(M){_(void 0,M)}});function _(M,P){var b,S,D,B;if(!c)return;const H=Je(n);if(!H)return;(D=H instanceof Document?c.document.body:H)==null||D.scrollTo({top:(b=Je(P))!=null?b:p.value,left:(S=Je(M))!=null?S:d.value,behavior:Je(l)});const $=((B=H==null?void 0:H.document)==null?void 0:B.documentElement)||(H==null?void 0:H.documentElement)||H;d!=null&&(f.value=$.scrollLeft),p!=null&&(h.value=$.scrollTop)}const g=Ie(!1),m=hi({left:!0,right:!1,top:!0,bottom:!1}),y=hi({left:!1,right:!1,top:!1,bottom:!1}),x=M=>{g.value&&(g.value=!1,y.left=!1,y.right=!1,y.top=!1,y.bottom=!1,r(M))},v=wE(x,t+i),E=M=>{var P;if(!c)return;const b=((P=M==null?void 0:M.document)==null?void 0:P.documentElement)||(M==null?void 0:M.documentElement)||Jn(M),{display:S,flexDirection:D,direction:B}=getComputedStyle(b),H=B==="rtl"?-1:1,$=b.scrollLeft;y.left=$f.value;const ee=Math.abs($*H)<=(o.left||0),Z=Math.abs($*H)+b.clientWidth>=b.scrollWidth-(o.right||0)-py;S==="flex"&&D==="row-reverse"?(m.left=Z,m.right=ee):(m.left=ee,m.right=Z),f.value=$;let te=b.scrollTop;M===c.document&&!te&&(te=c.document.body.scrollTop),y.top=teh.value;const Q=Math.abs(te)<=(o.top||0),pe=Math.abs(te)+b.clientHeight>=b.scrollHeight-(o.bottom||0)-py;S==="flex"&&D==="column-reverse"?(m.top=pe,m.bottom=Q):(m.top=Q,m.bottom=pe),h.value=te},T=M=>{var P;if(!c)return;const b=(P=M.target.documentElement)!=null?P:M.target;E(b),g.value=!0,v(M),s(M)};return Dt(n,"scroll",t?CU(T,t,!0,!1):T,a),Ma(()=>{try{const M=Je(n);if(!M)return;E(M)}catch(M){u(M)}}),Dt(n,"scrollend",x,a),{x:d,y:p,isScrolling:g,arrivedState:m,directions:y,measure(){const M=Je(n);c&&M&&E(M)}}}function Vr(n,e,t={}){const{window:i=Xn}=t;return IE(n,e,i==null?void 0:i.localStorage,t)}function sG(n){const e=Ie(),t=()=>{e.value&&URL.revokeObjectURL(e.value),e.value=void 0};return Ge(()=>Je(n),i=>{t(),i&&(e.value=URL.createObjectURL(i))},{immediate:!0}),ps(t),di(e)}const my="--vueuse-safe-area-top",gy="--vueuse-safe-area-right",_y="--vueuse-safe-area-bottom",vy="--vueuse-safe-area-left";function oG(){const n=Ie(""),e=Ie(""),t=Ie(""),i=Ie("");if(bc){const s=Pu(my),o=Pu(gy),a=Pu(_y),l=Pu(vy);s.value="env(safe-area-inset-top, 0px)",o.value="env(safe-area-inset-right, 0px)",a.value="env(safe-area-inset-bottom, 0px)",l.value="env(safe-area-inset-left, 0px)",r(),Dt("resize",wE(r),{passive:!0})}function r(){n.value=Iu(my),e.value=Iu(gy),t.value=Iu(_y),i.value=Iu(vy)}return{top:n,right:e,bottom:t,left:i,update:r}}function Iu(n){return getComputedStyle(document.documentElement).getPropertyValue(n)}function aG(n,e,t){const{window:i=Xn}={},r=Ze(null),s=Ie(),o=(...l)=>{s.value&&s.value.postMessage(...l)},a=function(){s.value&&s.value.terminate()};return i&&(s.value=new Worker(n,e),s.value.onmessage=l=>{r.value=l.data},ps(()=>{s.value&&s.value.terminate()})),{data:r,post:o,terminate:a,worker:s}}function lG(n={}){const{window:e=Xn,initialWidth:t=Number.POSITIVE_INFINITY,initialHeight:i=Number.POSITIVE_INFINITY,listenOrientation:r=!0,includeScrollbar:s=!0,type:o="inner"}=n,a=Ie(t),l=Ie(i),c=()=>{if(e)if(o==="outer")a.value=e.outerWidth,l.value=e.outerHeight;else if(o==="visual"&&e.visualViewport){const{width:f,height:h,scale:d}=e.visualViewport;a.value=Math.round(f*d),l.value=Math.round(h*d)}else s?(a.value=e.innerWidth,l.value=e.innerHeight):(a.value=e.document.documentElement.clientWidth,l.value=e.document.documentElement.clientHeight)};c(),Ma(c);const u={passive:!0};if(Dt("resize",c,u),e&&o==="visual"&&e.visualViewport&&Dt(e.visualViewport,"resize",c,u),r){const f=qs("(orientation: portrait)");Ge(f,()=>c())}return{width:a,height:l}}const LE=1/60*1e3,jU=typeof performance<"u"?()=>performance.now():()=>Date.now(),DE=typeof window<"u"?n=>window.requestAnimationFrame(n):n=>setTimeout(()=>n(jU()),LE);function KU(n){let e=[],t=[],i=0,r=!1,s=!1;const o=new WeakSet,a={schedule:(l,c=!1,u=!1)=>{const f=u&&r,h=f?e:t;return c&&o.add(l),h.indexOf(l)===-1&&(h.push(l),f&&r&&(i=e.length)),l},cancel:l=>{const c=t.indexOf(l);c!==-1&&t.splice(c,1),o.delete(l)},process:l=>{if(r){s=!0;return}if(r=!0,[e,t]=[t,e],t.length=0,i=e.length,i)for(let c=0;c(n[e]=KU(()=>Yl=!0),n),{}),ym=Sc.reduce((n,e)=>{const t=id[e];return n[e]=(i,r=!1,s=!1)=>(Yl||eF(),t.schedule(i,r,s)),n},{}),JU=Sc.reduce((n,e)=>(n[e]=id[e].cancel,n),{});Sc.reduce((n,e)=>(n[e]=()=>id[e].process(ta),n),{});const QU=n=>id[n].process(ta),OE=n=>{Yl=!1,ta.delta=_m?LE:Math.max(Math.min(n-ta.timestamp,ZU),1),ta.timestamp=n,vm=!0,Sc.forEach(QU),vm=!1,Yl&&(_m=!1,DE(OE))},eF=()=>{Yl=!0,_m=!0,vm||DE(OE)},NE=()=>ta;function UE(n,e){var t={};for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&e.indexOf(i)<0&&(t[i]=n[i]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,i=Object.getOwnPropertySymbols(n);rMath.min(Math.max(t,n),e),xy=.001,tF=.01,nF=10,iF=.05,rF=1;function sF({duration:n=800,bounce:e=.25,velocity:t=0,mass:i=1}){let r,s,o=1-e;o=xm(iF,rF,o),n=xm(tF,nF,n/1e3),o<1?(r=c=>{const u=c*o,f=u*n,h=u-t,d=bm(c,o),p=Math.exp(-f);return xy-h/d*p},s=c=>{const f=c*o*n,h=f*t+t,d=Math.pow(o,2)*Math.pow(c,2)*n,p=Math.exp(-f),_=bm(Math.pow(c,2),o);return(-r(c)+xy>0?-1:1)*((h-d)*p)/_}):(r=c=>{const u=Math.exp(-c*n),f=(c-t)*n+1;return-.001+u*f},s=c=>{const u=Math.exp(-c*n),f=(t-c)*(n*n);return u*f});const a=5/n,l=aF(r,s,a);if(n=n*1e3,isNaN(l))return{stiffness:100,damping:10,duration:n};{const c=Math.pow(l,2)*i;return{stiffness:c,damping:o*2*Math.sqrt(i*c),duration:n}}}const oF=12;function aF(n,e,t){let i=t;for(let r=1;rn[t]!==void 0)}function uF(n){let e=Object.assign({velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1},n);if(!by(n,cF)&&by(n,lF)){const t=sF(n);e=Object.assign(Object.assign(Object.assign({},e),t),{velocity:0,mass:1}),e.isResolvedFromDuration=!0}return e}function s_(n){var{from:e=0,to:t=1,restSpeed:i=2,restDelta:r}=n,s=UE(n,["from","to","restSpeed","restDelta"]);const o={done:!1,value:e};let{stiffness:a,damping:l,mass:c,velocity:u,duration:f,isResolvedFromDuration:h}=uF(s),d=Sy,p=Sy;function _(){const g=u?-(u/1e3):0,m=t-e,y=l/(2*Math.sqrt(a*c)),x=Math.sqrt(a/c)/1e3;if(r===void 0&&(r=Math.min(Math.abs(t-e)/100,.4)),y<1){const v=bm(x,y);d=E=>{const T=Math.exp(-y*x*E);return t-T*((g+y*x*m)/v*Math.sin(v*E)+m*Math.cos(v*E))},p=E=>{const T=Math.exp(-y*x*E);return y*x*T*(Math.sin(v*E)*(g+y*x*m)/v+m*Math.cos(v*E))-T*(Math.cos(v*E)*(g+y*x*m)-v*m*Math.sin(v*E))}}else if(y===1)d=v=>t-Math.exp(-x*v)*(m+(g+x*m)*v);else{const v=x*Math.sqrt(y*y-1);d=E=>{const T=Math.exp(-y*x*E),M=Math.min(v*E,300);return t-T*((g+y*x*m)*Math.sinh(M)+v*m*Math.cosh(M))/v}}}return _(),{next:g=>{const m=d(g);if(h)o.done=g>=f;else{const y=p(g)*1e3,x=Math.abs(y)<=i,v=Math.abs(t-m)<=r;o.done=x&&v}return o.value=o.done?t:m,o},flipTarget:()=>{u=-u,[e,t]=[t,e],_()}}}s_.needsInterpolation=(n,e)=>typeof n=="string"||typeof e=="string";const Sy=n=>0,FE=(n,e,t)=>{const i=e-n;return i===0?1:(t-n)/i},o_=(n,e,t)=>-t*n+t*e+n,BE=(n,e)=>t=>Math.max(Math.min(t,e),n),hl=n=>n%1?Number(n.toFixed(5)):n,jl=/(-)?([\d]*\.?[\d])+/g,Sm=/(#[0-9a-f]{6}|#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,fF=/^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function Mc(n){return typeof n=="string"}const Ec={test:n=>typeof n=="number",parse:parseFloat,transform:n=>n},dl=Object.assign(Object.assign({},Ec),{transform:BE(0,1)}),Lu=Object.assign(Object.assign({},Ec),{default:1}),a_=n=>({test:e=>Mc(e)&&e.endsWith(n)&&e.split(" ").length===1,parse:parseFloat,transform:e=>`${e}${n}`}),Fs=a_("deg"),pl=a_("%"),it=a_("px"),My=Object.assign(Object.assign({},pl),{parse:n=>pl.parse(n)/100,transform:n=>pl.transform(n*100)}),l_=(n,e)=>t=>!!(Mc(t)&&fF.test(t)&&t.startsWith(n)||e&&Object.prototype.hasOwnProperty.call(t,e)),kE=(n,e,t)=>i=>{if(!Mc(i))return i;const[r,s,o,a]=i.match(jl);return{[n]:parseFloat(r),[e]:parseFloat(s),[t]:parseFloat(o),alpha:a!==void 0?parseFloat(a):1}},Zs={test:l_("hsl","hue"),parse:kE("hue","saturation","lightness"),transform:({hue:n,saturation:e,lightness:t,alpha:i=1})=>"hsla("+Math.round(n)+", "+pl.transform(hl(e))+", "+pl.transform(hl(t))+", "+hl(dl.transform(i))+")"},hF=BE(0,255),yp=Object.assign(Object.assign({},Ec),{transform:n=>Math.round(hF(n))}),Qr={test:l_("rgb","red"),parse:kE("red","green","blue"),transform:({red:n,green:e,blue:t,alpha:i=1})=>"rgba("+yp.transform(n)+", "+yp.transform(e)+", "+yp.transform(t)+", "+hl(dl.transform(i))+")"};function dF(n){let e="",t="",i="",r="";return n.length>5?(e=n.substr(1,2),t=n.substr(3,2),i=n.substr(5,2),r=n.substr(7,2)):(e=n.substr(1,1),t=n.substr(2,1),i=n.substr(3,1),r=n.substr(4,1),e+=e,t+=t,i+=i,r+=r),{red:parseInt(e,16),green:parseInt(t,16),blue:parseInt(i,16),alpha:r?parseInt(r,16)/255:1}}const Mm={test:l_("#"),parse:dF,transform:Qr.transform},kn={test:n=>Qr.test(n)||Mm.test(n)||Zs.test(n),parse:n=>Qr.test(n)?Qr.parse(n):Zs.test(n)?Zs.parse(n):Mm.parse(n),transform:n=>Mc(n)?n:n.hasOwnProperty("red")?Qr.transform(n):Zs.transform(n)},VE="${c}",zE="${n}";function pF(n){var e,t,i,r;return isNaN(n)&&Mc(n)&&((t=(e=n.match(jl))===null||e===void 0?void 0:e.length)!==null&&t!==void 0?t:0)+((r=(i=n.match(Sm))===null||i===void 0?void 0:i.length)!==null&&r!==void 0?r:0)>0}function HE(n){typeof n=="number"&&(n=`${n}`);const e=[];let t=0;const i=n.match(Sm);i&&(t=i.length,n=n.replace(Sm,VE),e.push(...i.map(kn.parse)));const r=n.match(jl);return r&&(n=n.replace(jl,zE),e.push(...r.map(Ec.parse))),{values:e,numColors:t,tokenised:n}}function GE(n){return HE(n).values}function WE(n){const{values:e,numColors:t,tokenised:i}=HE(n),r=e.length;return s=>{let o=i;for(let a=0;atypeof n=="number"?0:n;function gF(n){const e=GE(n);return WE(n)(e.map(mF))}const Tc={test:pF,parse:GE,createTransformer:WE,getAnimatableNone:gF},_F=new Set(["brightness","contrast","saturate","opacity"]);function vF(n){let[e,t]=n.slice(0,-1).split("(");if(e==="drop-shadow")return n;const[i]=t.match(jl)||[];if(!i)return n;const r=t.replace(i,"");let s=_F.has(e)?1:0;return i!==t&&(s*=100),e+"("+s+r+")"}const yF=/([a-z-]*)\(.*?\)/g,Em=Object.assign(Object.assign({},Tc),{getAnimatableNone:n=>{const e=n.match(yF);return e?e.map(vF).join(" "):n}});function xp(n,e,t){return t<0&&(t+=1),t>1&&(t-=1),t<1/6?n+(e-n)*6*t:t<1/2?e:t<2/3?n+(e-n)*(2/3-t)*6:n}function Ey({hue:n,saturation:e,lightness:t,alpha:i}){n/=360,e/=100,t/=100;let r=0,s=0,o=0;if(!e)r=s=o=t;else{const a=t<.5?t*(1+e):t+e-t*e,l=2*t-a;r=xp(l,a,n+1/3),s=xp(l,a,n),o=xp(l,a,n-1/3)}return{red:Math.round(r*255),green:Math.round(s*255),blue:Math.round(o*255),alpha:i}}const xF=(n,e,t)=>{const i=n*n,r=e*e;return Math.sqrt(Math.max(0,t*(r-i)+i))},bF=[Mm,Qr,Zs],Ty=n=>bF.find(e=>e.test(n)),XE=(n,e)=>{let t=Ty(n),i=Ty(e),r=t.parse(n),s=i.parse(e);t===Zs&&(r=Ey(r),t=Qr),i===Zs&&(s=Ey(s),i=Qr);const o=Object.assign({},r);return a=>{for(const l in o)l!=="alpha"&&(o[l]=xF(r[l],s[l],a));return o.alpha=o_(r.alpha,s.alpha,a),t.transform(o)}},SF=n=>typeof n=="number",MF=(n,e)=>t=>e(n(t)),$E=(...n)=>n.reduce(MF);function qE(n,e){return SF(n)?t=>o_(n,e,t):kn.test(n)?XE(n,e):jE(n,e)}const YE=(n,e)=>{const t=[...n],i=t.length,r=n.map((s,o)=>qE(s,e[o]));return s=>{for(let o=0;o{const t=Object.assign(Object.assign({},n),e),i={};for(const r in t)n[r]!==void 0&&e[r]!==void 0&&(i[r]=qE(n[r],e[r]));return r=>{for(const s in i)t[s]=i[s](r);return t}};function wy(n){const e=Tc.parse(n),t=e.length;let i=0,r=0,s=0;for(let o=0;o{const t=Tc.createTransformer(e),i=wy(n),r=wy(e);return i.numHSL===r.numHSL&&i.numRGB===r.numRGB&&i.numNumbers>=r.numNumbers?$E(YE(i.parsed,r.parsed),t):o=>`${o>0?e:n}`},TF=(n,e)=>t=>o_(n,e,t);function wF(n){if(typeof n=="number")return TF;if(typeof n=="string")return kn.test(n)?XE:jE;if(Array.isArray(n))return YE;if(typeof n=="object")return EF}function AF(n,e,t){const i=[],r=t||wF(n[0]),s=n.length-1;for(let o=0;ot(FE(n,e,i))}function RF(n,e){const t=n.length,i=t-1;return r=>{let s=0,o=!1;if(r<=n[0]?o=!0:r>=n[i]&&(s=i-1,o=!0),!o){let l=1;for(;lr||l===i);l++);s=l-1}const a=FE(n[s],n[s+1],r);return e[s](a)}}function KE(n,e,{clamp:t=!0,ease:i,mixer:r}={}){const s=n.length;yy(s===e.length),yy(!i||!Array.isArray(i)||i.length===s-1),n[0]>n[s-1]&&(n=[].concat(n),e=[].concat(e),n.reverse(),e.reverse());const o=AF(e,i,r),a=s===2?CF(n,o):RF(n,o);return t?l=>a(xm(n[0],n[s-1],l)):a}const rd=n=>e=>1-n(1-e),c_=n=>e=>e<=.5?n(2*e)/2:(2-n(2*(1-e)))/2,PF=n=>e=>Math.pow(e,n),ZE=n=>e=>e*e*((n+1)*e-n),IF=n=>{const e=ZE(n);return t=>(t*=2)<1?.5*e(t):.5*(2-Math.pow(2,-10*(t-1)))},JE=1.525,LF=4/11,DF=8/11,OF=9/10,QE=n=>n,u_=PF(2),NF=rd(u_),eT=c_(u_),tT=n=>1-Math.sin(Math.acos(n)),nT=rd(tT),UF=c_(nT),f_=ZE(JE),FF=rd(f_),BF=c_(f_),kF=IF(JE),VF=4356/361,zF=35442/1805,HF=16061/1805,Qf=n=>{if(n===1||n===0)return n;const e=n*n;return nn<.5?.5*(1-Qf(1-n*2)):.5*Qf(n*2-1)+.5;function XF(n,e){return n.map(()=>e||eT).splice(0,n.length-1)}function $F(n){const e=n.length;return n.map((t,i)=>i!==0?i/(e-1):0)}function qF(n,e){return n.map(t=>t*e)}function ju({from:n=0,to:e=1,ease:t,offset:i,duration:r=300}){const s={done:!1,value:n},o=Array.isArray(e)?e:[n,e],a=qF(i&&i.length===o.length?i:$F(o),r);function l(){return KE(a,o,{ease:Array.isArray(t)?t:XF(o,t)})}let c=l();return{next:u=>(s.value=c(u),s.done=u>=r,s),flipTarget:()=>{o.reverse(),c=l()}}}function YF({velocity:n=0,from:e=0,power:t=.8,timeConstant:i=350,restDelta:r=.5,modifyTarget:s}){const o={done:!1,value:e};let a=t*n;const l=e+a,c=s===void 0?l:s(l);return c!==l&&(a=c-e),{next:u=>{const f=-a*Math.exp(-u/i);return o.done=!(f>r||f<-r),o.value=o.done?c:c+f,o},flipTarget:()=>{}}}const Ay={keyframes:ju,spring:s_,decay:YF};function jF(n){if(Array.isArray(n.to))return ju;if(Ay[n.type])return Ay[n.type];const e=new Set(Object.keys(n));return e.has("ease")||e.has("duration")&&!e.has("dampingRatio")?ju:e.has("dampingRatio")||e.has("stiffness")||e.has("mass")||e.has("damping")||e.has("restSpeed")||e.has("restDelta")?s_:ju}function iT(n,e,t=0){return n-e-t}function KF(n,e,t=0,i=!0){return i?iT(e+-n,e,t):e-(n-e)+t}function ZF(n,e,t,i){return i?n>=e+t:n<=-t}const JF=n=>{const e=({delta:t})=>n(t);return{start:()=>ym.update(e,!0),stop:()=>JU.update(e)}};function rT(n){var e,t,{from:i,autoplay:r=!0,driver:s=JF,elapsed:o=0,repeat:a=0,repeatType:l="loop",repeatDelay:c=0,onPlay:u,onStop:f,onComplete:h,onRepeat:d,onUpdate:p}=n,_=UE(n,["from","autoplay","driver","elapsed","repeat","repeatType","repeatDelay","onPlay","onStop","onComplete","onRepeat","onUpdate"]);let{to:g}=_,m,y=0,x=_.duration,v,E=!1,T=!0,M;const P=jF(_);!((t=(e=P).needsInterpolation)===null||t===void 0)&&t.call(e,i,g)&&(M=KE([0,100],[i,g],{clamp:!1}),i=0,g=100);const b=P(Object.assign(Object.assign({},_),{from:i,to:g}));function S(){y++,l==="reverse"?(T=y%2===0,o=KF(o,x,c,T)):(o=iT(o,x,c),l==="mirror"&&b.flipTarget()),E=!1,d&&d()}function D(){m.stop(),h&&h()}function B($){if(T||($=-$),o+=$,!E){const ee=b.next(Math.max(0,o));v=ee.value,M&&(v=M(v)),E=T?ee.done:o<=0}p==null||p(v),E&&(y===0&&(x??(x=o)),y{f==null||f(),m.stop()}}}function sT(n,e){return e?n*(1e3/e):0}function QF({from:n=0,velocity:e=0,min:t,max:i,power:r=.8,timeConstant:s=750,bounceStiffness:o=500,bounceDamping:a=10,restDelta:l=1,modifyTarget:c,driver:u,onUpdate:f,onComplete:h,onStop:d}){let p;function _(x){return t!==void 0&&xi}function g(x){return t===void 0?i:i===void 0||Math.abs(t-x){var E;f==null||f(v),(E=x.onUpdate)===null||E===void 0||E.call(x,v)},onComplete:h,onStop:d}))}function y(x){m(Object.assign({type:"spring",stiffness:o,damping:a,restDelta:l},x))}if(_(n))y({from:n,velocity:e,to:g(n)});else{let x=r*e+n;typeof c<"u"&&(x=c(x));const v=g(x),E=v===t?-1:1;let T,M;const P=b=>{T=M,M=b,e=sT(b-T,NE().delta),(E===1&&b>v||E===-1&&bp==null?void 0:p.stop()}}const oT=(n,e)=>1-3*e+3*n,aT=(n,e)=>3*e-6*n,lT=n=>3*n,eh=(n,e,t)=>((oT(e,t)*n+aT(e,t))*n+lT(e))*n,cT=(n,e,t)=>3*oT(e,t)*n*n+2*aT(e,t)*n+lT(e),eB=1e-7,tB=10;function nB(n,e,t,i,r){let s,o,a=0;do o=e+(t-e)/2,s=eh(o,i,r)-n,s>0?t=o:e=o;while(Math.abs(s)>eB&&++a=rB?sB(o,f,n,t):h===0?f:nB(o,a,a+Du,n,t)}return o=>o===0||o===1?o:eh(s(o),e,i)}const Sr={},bp={};class aB{constructor(){ii(this,"subscriptions",new Set)}add(e){return this.subscriptions.add(e),()=>this.subscriptions.delete(e)}notify(e,t,i){if(this.subscriptions.size)for(const r of this.subscriptions)r(e,t,i)}clear(){this.subscriptions.clear()}}function Cy(n){return!Number.isNaN(Number.parseFloat(n))}class lB{constructor(e){ii(this,"current");ii(this,"prev");ii(this,"timeDelta",0);ii(this,"lastUpdated",0);ii(this,"updateSubscribers",new aB);ii(this,"stopAnimation");ii(this,"canTrackVelocity",!1);ii(this,"updateAndNotify",e=>{this.prev=this.current,this.current=e;const{delta:t,timestamp:i}=NE();this.lastUpdated!==i&&(this.timeDelta=t,this.lastUpdated=i),ym.postRender(this.scheduleVelocityCheck),this.updateSubscribers.notify(this.current)});ii(this,"scheduleVelocityCheck",()=>ym.postRender(this.velocityCheck));ii(this,"velocityCheck",({timestamp:e})=>{this.canTrackVelocity||(this.canTrackVelocity=Cy(this.current)),e!==this.lastUpdated&&(this.prev=this.current)});this.prev=this.current=e,this.canTrackVelocity=Cy(this.current)}onChange(e){return this.updateSubscribers.add(e)}clearListeners(){this.updateSubscribers.clear()}set(e){this.updateAndNotify(e)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){return this.canTrackVelocity?sT(Number.parseFloat(this.current)-Number.parseFloat(this.prev),this.timeDelta):0}start(e){return this.stop(),new Promise(t=>{const{stop:i}=e(t);this.stopAnimation=i}).then(()=>this.clearAnimation())}stop(){this.stopAnimation&&this.stopAnimation(),this.clearAnimation()}isAnimating(){return!!this.stopAnimation}clearAnimation(){this.stopAnimation=null}destroy(){this.updateSubscribers.clear(),this.stop()}}function cB(n){return new lB(n)}const{isArray:uB}=Array;function fB(){const n=Ze({}),e=i=>{const r=s=>{n.value[s]&&(n.value[s].stop(),n.value[s].destroy(),delete n.value[s])};i?uB(i)?i.forEach(r):r(i):Object.keys(n.value).forEach(r)},t=(i,r,s)=>{if(n.value[i])return n.value[i];const o=cB(r);return o.onChange(a=>s[i]=a),n.value[i]=o,o};return PU(e),{motionValues:n,get:t,stop:e}}function hB(n){return Array.isArray(n)}function Bs(){return{type:"spring",stiffness:500,damping:25,restDelta:.5,restSpeed:10}}function Sp(n){return{type:"spring",stiffness:550,damping:n===0?2*Math.sqrt(550):30,restDelta:.01,restSpeed:10}}function dB(n){return{type:"spring",stiffness:550,damping:n===0?100:30,restDelta:.01,restSpeed:10}}function Mp(){return{type:"keyframes",ease:"linear",duration:300}}function pB(n){return{type:"keyframes",duration:800,values:n}}const Ry={default:dB,x:Bs,y:Bs,z:Bs,rotate:Bs,rotateX:Bs,rotateY:Bs,rotateZ:Bs,scaleX:Sp,scaleY:Sp,scale:Sp,backgroundColor:Mp,color:Mp,opacity:Mp};function uT(n,e){let t;return hB(e)?t=pB:t=Ry[n]||Ry.default,{to:e,...t(e)}}const Py={...Ec,transform:Math.round},fT={color:kn,backgroundColor:kn,outlineColor:kn,fill:kn,stroke:kn,borderColor:kn,borderTopColor:kn,borderRightColor:kn,borderBottomColor:kn,borderLeftColor:kn,borderWidth:it,borderTopWidth:it,borderRightWidth:it,borderBottomWidth:it,borderLeftWidth:it,borderRadius:it,radius:it,borderTopLeftRadius:it,borderTopRightRadius:it,borderBottomRightRadius:it,borderBottomLeftRadius:it,width:it,maxWidth:it,height:it,maxHeight:it,size:it,top:it,right:it,bottom:it,left:it,padding:it,paddingTop:it,paddingRight:it,paddingBottom:it,paddingLeft:it,margin:it,marginTop:it,marginRight:it,marginBottom:it,marginLeft:it,rotate:Fs,rotateX:Fs,rotateY:Fs,rotateZ:Fs,scale:Lu,scaleX:Lu,scaleY:Lu,scaleZ:Lu,skew:Fs,skewX:Fs,skewY:Fs,distance:it,translateX:it,translateY:it,translateZ:it,x:it,y:it,z:it,perspective:it,transformPerspective:it,opacity:dl,originX:My,originY:My,originZ:it,zIndex:Py,filter:Em,WebkitFilter:Em,fillOpacity:dl,strokeOpacity:dl,numOctaves:Py},h_=n=>fT[n];function Tm(n,e){return e&&typeof n=="number"&&e.transform?e.transform(n):n}function mB(n,e){let t=h_(n);return t!==Em&&(t=Tc),t.getAnimatableNone?t.getAnimatableNone(e):void 0}const gB={linear:QE,easeIn:u_,easeInOut:eT,easeOut:NF,circIn:tT,circInOut:UF,circOut:nT,backIn:f_,backInOut:BF,backOut:FF,anticipate:kF,bounceIn:GF,bounceInOut:WF,bounceOut:Qf};function Iy(n){if(Array.isArray(n)){const[e,t,i,r]=n;return oB(e,t,i,r)}else if(typeof n=="string")return gB[n];return n}function _B(n){return Array.isArray(n)&&typeof n[0]!="number"}function Ly(n,e){return n==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&Tc.test(e)&&!e.startsWith("url("))}function vB(n){return Array.isArray(n.to)&&n.to[0]===null&&(n.to=[...n.to],n.to[0]=n.from),n}function yB({ease:n,times:e,delay:t,...i}){const r={...i};return e&&(r.offset=e),n&&(r.ease=_B(n)?n.map(Iy):Iy(n)),t&&(r.elapsed=-t),r}function xB(n,e,t){return Array.isArray(e.to)&&(n.duration||(n.duration=800)),vB(e),bB(n)||(n={...n,...uT(t,e.to)}),{...e,...yB(n)}}function bB({delay:n,repeat:e,repeatType:t,repeatDelay:i,from:r,...s}){return!!Object.keys(s).length}function SB(n,e){return n[e]||n.default||n}function MB(n,e,t,i,r){const s=SB(i,n);let o=s.from===null||s.from===void 0?e.get():s.from;const a=Ly(n,t);o==="none"&&a&&typeof t=="string"&&(o=mB(n,t));const l=Ly(n,o);function c(f){const h={from:o,to:t,velocity:i.velocity?i.velocity:e.getVelocity(),onUpdate:d=>e.set(d)};return s.type==="inertia"||s.type==="decay"?QF({...h,...s}):rT({...xB(s,h,n),onUpdate:d=>{h.onUpdate(d),s.onUpdate&&s.onUpdate(d)},onComplete:()=>{r&&r(),f&&f()}})}function u(f){return e.set(t),r&&r(),f&&f(),{stop:()=>{}}}return!l||!a||s.type===!1?u:c}function EB(){const{motionValues:n,stop:e,get:t}=fB();return{motionValues:n,stop:e,push:(r,s,o,a={},l)=>{const c=o[r],u=t(r,c,o);if(a&&a.immediate){u.set(s);return}const f=MB(r,u,s,a,l);u.start(f)}}}function TB(n,e={},{motionValues:t,push:i,stop:r}=EB()){const s=It(e),o=Ze(!1);Ge(t,f=>{o.value=Object.values(f).filter(h=>h.isAnimating()).length>0},{immediate:!0,deep:!0});const a=f=>{if(!s||!s[f])throw new Error(`The variant ${f} does not exist.`);return s[f]},l=f=>{typeof f=="string"&&(f=a(f));const h=Object.entries(f).map(([p,_])=>{if(p!=="transition")return new Promise(g=>i(p,_,n,f.transition||uT(p,f[p]),g))}).filter(Boolean);async function d(){var p,_;await Promise.all(h),(_=(p=f.transition)==null?void 0:p.onComplete)==null||_.call(p)}return Promise.all([d()])};return{isAnimating:o,apply:l,set:f=>{const h=Jf(f)?f:a(f);Object.entries(h).forEach(([d,p])=>{d!=="transition"&&i(d,p,n,{immediate:!0})})},leave:async f=>{let h;if(s&&(s.leave&&(h=s.leave),!s.leave&&s.initial&&(h=s.initial)),!h){f();return}await l(h),f()},stop:r}}const d_=typeof window<"u",wB=()=>d_&&(window.onpointerdown===null||(Sr==null?void 0:Sr.TEST)),AB=()=>d_&&(window.ontouchstart===null||(Sr==null?void 0:Sr.TEST)),CB=()=>d_&&(window.onmousedown===null||(Sr==null?void 0:Sr.TEST));function RB({target:n,state:e,variants:t,apply:i}){const r=It(t),s=Ze(!1),o=Ze(!1),a=Ze(!1),l=Se(()=>{let u=[...Object.keys(e.value||{})];return r&&(r.hovered&&(u=[...u,...Object.keys(r.hovered)]),r.tapped&&(u=[...u,...Object.keys(r.tapped)]),r.focused&&(u=[...u,...Object.keys(r.focused)])),u}),c=Se(()=>{const u={};Object.assign(u,e.value),s.value&&r.hovered&&Object.assign(u,r.hovered),o.value&&r.tapped&&Object.assign(u,r.tapped),a.value&&r.focused&&Object.assign(u,r.focused);for(const f in u)l.value.includes(f)||delete u[f];return u});r.hovered&&(Dt(n,"mouseenter",()=>s.value=!0),Dt(n,"mouseleave",()=>{s.value=!1,o.value=!1})),r.tapped&&(CB()&&(Dt(n,"mousedown",()=>o.value=!0),Dt(n,"mouseup",()=>o.value=!1)),wB()&&(Dt(n,"pointerdown",()=>o.value=!0),Dt(n,"pointerup",()=>o.value=!1)),AB()&&(Dt(n,"touchstart",()=>o.value=!0),Dt(n,"touchend",()=>o.value=!1))),r.focused&&(Dt(n,"focus",()=>a.value=!0),Dt(n,"blur",()=>a.value=!1)),Ge([s,o,a],()=>{i(c.value)})}function PB({set:n,target:e,variants:t,variant:i}){const r=It(t);Ge(()=>e,()=>{r&&(r.initial&&(n("initial"),i.value="initial"),r.enter&&(i.value="enter"))},{immediate:!0,flush:"pre"})}function IB({state:n,apply:e}){Ge(n,t=>{t&&e(t)},{immediate:!0})}function hT({target:n,variants:e,variant:t}){const i=It(e);i&&(i.visible||i.visibleOnce)&&$U(n,([{isIntersecting:r}])=>{i.visible?r?t.value="visible":t.value="initial":i.visibleOnce&&(r&&t.value!=="visibleOnce"?t.value="visibleOnce":t.value||(t.value="initial"))})}function LB(n,e={syncVariants:!0,lifeCycleHooks:!0,visibilityHooks:!0,eventListeners:!0}){e.lifeCycleHooks&&PB(n),e.syncVariants&&IB(n),e.visibilityHooks&&hT(n),e.eventListeners&&RB(n)}function dT(n={}){const e=hi({...n}),t=Ze({});return Ge(e,()=>{const i={};for(const[r,s]of Object.entries(e)){const o=h_(r),a=Tm(s,o);i[r]=a}t.value=i},{immediate:!0,deep:!0}),{state:e,style:t}}function p_(n,e){Ge(()=>Jn(n),t=>{t&&e(t)},{immediate:!0})}const DB={x:"translateX",y:"translateY",z:"translateZ"};function pT(n={},e=!0){const t=hi({...n}),i=Ze("");return Ge(t,r=>{let s="",o=!1;if(e&&(r.x||r.y||r.z)){const a=[r.x||0,r.y||0,r.z||0].map(l=>Tm(l,it)).join(",");s+=`translate3d(${a}) `,o=!0}for(const[a,l]of Object.entries(r)){if(e&&(a==="x"||a==="y"||a==="z"))continue;const c=h_(a),u=Tm(l,c);s+=`${DB[a]||a}(${u}) `}e&&!o&&(s+="translateZ(0px) "),i.value=s.trim()},{immediate:!0,deep:!0}),{state:t,transform:i}}const OB=["","X","Y","Z"],NB=["perspective","translate","scale","rotate","skew"],mT=["transformPerspective","x","y","z"];NB.forEach(n=>{OB.forEach(e=>{const t=n+e;mT.push(t)})});const UB=new Set(mT);function m_(n){return UB.has(n)}const FB=new Set(["originX","originY","originZ"]);function gT(n){return FB.has(n)}function BB(n){const e={},t={};return Object.entries(n).forEach(([i,r])=>{m_(i)||gT(i)?e[i]=r:t[i]=r}),{transform:e,style:t}}function sd(n){const{transform:e,style:t}=BB(n),{transform:i}=pT(e),{style:r}=dT(t);return i.value&&(r.value.transform=i.value),r.value}function kB(n,e){let t,i;const{state:r,style:s}=dT();return p_(n,o=>{i=o;for(const a of Object.keys(fT))o.style[a]===null||o.style[a]===""||m_(a)||gT(a)||(r[a]=o.style[a]);t&&Object.entries(t).forEach(([a,l])=>o.style[a]=l),e&&e(r)}),Ge(s,o=>{if(!i){t=o;return}for(const a in o)i.style[a]=o[a]},{immediate:!0}),{style:r}}function VB(n){const e=n.trim().split(/\) |\)/);if(e.length===1)return{};const t=i=>i.endsWith("px")||i.endsWith("deg")?Number.parseFloat(i):Number.isNaN(Number(i))?Number(i):i;return e.reduce((i,r)=>{if(!r)return i;const[s,o]=r.split("("),l=o.split(",").map(u=>t(u.endsWith(")")?u.replace(")",""):u.trim())),c=l.length===1?l[0]:l;return{...i,[s]:c}},{})}function zB(n,e){Object.entries(VB(e)).forEach(([t,i])=>{const r=["x","y","z"];if(t==="translate3d"){if(i===0){r.forEach(s=>n[s]=0);return}i.forEach((s,o)=>n[r[o]]=s);return}if(i=Number.parseFloat(`${i}`),t==="translateX"){n.x=i;return}if(t==="translateY"){n.y=i;return}if(t==="translateZ"){n.z=i;return}n[t]=i})}function HB(n,e){let t,i;const{state:r,transform:s}=pT();return p_(n,o=>{i=o,o.style.transform&&zB(r,o.style.transform),t&&(o.style.transform=t),e&&e(r)}),Ge(s,o=>{if(!i){t=o;return}i.style.transform=o},{immediate:!0}),{transform:r}}function GB(n){return Object.entries(n)}function WB(n,e){const t=hi({}),i=o=>Object.entries(o).forEach(([a,l])=>t[a]=l),{style:r}=kB(n,i),{transform:s}=HB(n,i);return Ge(t,o=>{GB(o).forEach(([a,l])=>{const c=m_(a)?s:r;c[a]&&c[a]===l||(c[a]=l)})},{immediate:!0,deep:!0}),p_(n,()=>e),{motionProperties:t,style:r,transform:s}}function XB(n={}){const e=It(n),t=Ze();return{state:Se(()=>{if(t.value)return e[t.value]}),variant:t}}function _T(n,e={},t){const{motionProperties:i}=WB(n),{variant:r,state:s}=XB(e),o=TB(i,e),a={target:n,variant:r,variants:e,state:s,motionProperties:i,...o};return LB(a,t),a}const vT=["delay","duration"],$B=["initial","enter","leave","visible","visible-once","visibleOnce","hovered","tapped","focused",...vT];function qB(n){return vT.includes(n)}function YB(n,e){const t=n.props?n.props:n.data&&n.data.attrs?n.data.attrs:{};if(t){t.variants&&Jf(t.variants)&&(e.value={...e.value,...t.variants});for(let i of $B)if(!(!t||!t[i])){if(qB(i)&&typeof t[i]=="number"){for(const r of["enter","visible","visibleOnce"]){const s=e.value[r];s!=null&&(s.transition??(s.transition={}),s.transition[i]=t[i])}continue}if(Jf(t[i])){const r=t[i];i==="visible-once"&&(i="visibleOnce"),e.value[i]=r}}}}function Ep(n,e=!1){return{created:(r,s,o)=>{const a=s.value&&typeof s.value=="string"?s.value:o.key;a&&bp[a]&&bp[a].stop();const l=e?structuredClone(ot(n)||{}):n||{},c=Ze(l);typeof s.value=="object"&&(c.value=s.value),YB(o,c);const f=_T(r,c,{eventListeners:!0,lifeCycleHooks:!0,syncVariants:!0,visibilityHooks:!1});r.motionInstance=f,a&&(bp[a]=f)},mounted:(r,s,o)=>{r.motionInstance&&hT(r.motionInstance)},getSSRProps(r,s){let{initial:o}=r.value||s&&(s==null?void 0:s.props)||{};o=It(o);const a=xE({},(n==null?void 0:n.initial)||{},o||{});return!a||Object.keys(a).length===0?void 0:{style:sd(a)}}}}const jB={initial:{opacity:0},enter:{opacity:1}},KB={initial:{opacity:0},visible:{opacity:1}},ZB={initial:{opacity:0},visibleOnce:{opacity:1}},JB={initial:{scale:0,opacity:0},enter:{scale:1,opacity:1}},QB={initial:{scale:0,opacity:0},visible:{scale:1,opacity:1}},ek={initial:{scale:0,opacity:0},visibleOnce:{scale:1,opacity:1}},tk={initial:{x:-100,rotate:90,opacity:0},enter:{x:0,rotate:0,opacity:1}},nk={initial:{x:-100,rotate:90,opacity:0},visible:{x:0,rotate:0,opacity:1}},ik={initial:{x:-100,rotate:90,opacity:0},visibleOnce:{x:0,rotate:0,opacity:1}},rk={initial:{x:100,rotate:-90,opacity:0},enter:{x:0,rotate:0,opacity:1}},sk={initial:{x:100,rotate:-90,opacity:0},visible:{x:0,rotate:0,opacity:1}},ok={initial:{x:100,rotate:-90,opacity:0},visibleOnce:{x:0,rotate:0,opacity:1}},ak={initial:{y:-100,rotate:-90,opacity:0},enter:{y:0,rotate:0,opacity:1}},lk={initial:{y:-100,rotate:-90,opacity:0},visible:{y:0,rotate:0,opacity:1}},ck={initial:{y:-100,rotate:-90,opacity:0},visibleOnce:{y:0,rotate:0,opacity:1}},uk={initial:{y:100,rotate:90,opacity:0},enter:{y:0,rotate:0,opacity:1}},fk={initial:{y:100,rotate:90,opacity:0},visible:{y:0,rotate:0,opacity:1}},hk={initial:{y:100,rotate:90,opacity:0},visibleOnce:{y:0,rotate:0,opacity:1}},dk={initial:{x:-100,opacity:0},enter:{x:0,opacity:1}},pk={initial:{x:-100,opacity:0},visible:{x:0,opacity:1}},mk={initial:{x:-100,opacity:0},visibleOnce:{x:0,opacity:1}},gk={initial:{x:100,opacity:0},enter:{x:0,opacity:1}},_k={initial:{x:100,opacity:0},visible:{x:0,opacity:1}},vk={initial:{x:100,opacity:0},visibleOnce:{x:0,opacity:1}},yk={initial:{y:-100,opacity:0},enter:{y:0,opacity:1}},xk={initial:{y:-100,opacity:0},visible:{y:0,opacity:1}},bk={initial:{y:-100,opacity:0},visibleOnce:{y:0,opacity:1}},Sk={initial:{y:100,opacity:0},enter:{y:0,opacity:1}},Mk={initial:{y:100,opacity:0},visible:{y:0,opacity:1}},Ek={initial:{y:100,opacity:0},visibleOnce:{y:0,opacity:1}},th={__proto__:null,fade:jB,fadeVisible:KB,fadeVisibleOnce:ZB,pop:JB,popVisible:QB,popVisibleOnce:ek,rollBottom:uk,rollLeft:tk,rollRight:rk,rollTop:ak,rollVisibleBottom:fk,rollVisibleLeft:nk,rollVisibleOnceBottom:hk,rollVisibleOnceLeft:ik,rollVisibleOnceRight:ok,rollVisibleOnceTop:ck,rollVisibleRight:sk,rollVisibleTop:lk,slideBottom:Sk,slideLeft:dk,slideRight:gk,slideTop:yk,slideVisibleBottom:Mk,slideVisibleLeft:pk,slideVisibleOnceBottom:Ek,slideVisibleOnceLeft:mk,slideVisibleOnceRight:vk,slideVisibleOnceTop:bk,slideVisibleRight:_k,slideVisibleTop:xk};function Tk(n){const e="àáâäæãåāăąçćčđďèéêëēėęěğǵḧîïíīįìłḿñńǹňôöòóœøōõőṕŕřßśšşșťțûüùúūǘůűųẃẍÿýžźż·/_,:;",t="aaaaaaaaaacccddeeeeeeeegghiiiiiilmnnnnoooooooooprrsssssttuuuuuuuuuwxyyzzz------",i=new RegExp(e.split("").join("|"),"g");return n.toString().replace(/[A-Z]/g,r=>`-${r}`).toLowerCase().replace(/\s+/g,"-").replace(i,r=>t.charAt(e.indexOf(r))).replace(/&/g,"-and-").replace(/[^\w\-]+/g,"").replace(/-{2,}/g,"-").replace(/^-+/,"").replace(/-+$/,"")}const yT=Symbol(""),xT={preset:{type:String,required:!1},instance:{type:Object,required:!1},variants:{type:Object,required:!1},initial:{type:Object,required:!1},enter:{type:Object,required:!1},leave:{type:Object,required:!1},visible:{type:Object,required:!1},visibleOnce:{type:Object,required:!1},hovered:{type:Object,required:!1},tapped:{type:Object,required:!1},focused:{type:Object,required:!1},delay:{type:[Number,String],required:!1},duration:{type:[Number,String],required:!1}};function wk(n){return Object.prototype.toString.call(n)==="[object Object]"}function wm(n){if(Array.isArray(n))return n.map(wm);if(wk(n)){const e={};for(const t in n)e[t]=wm(n[t]);return e}return n}function bT(n){const e=hi({}),t=gn(yT,{}),i=Se(()=>n.preset==null?{}:t!=null&&n.preset in t?structuredClone(ot(t)[n.preset]):n.preset in th?structuredClone(th[n.preset]):{}),r=Se(()=>({initial:n.initial,enter:n.enter,leave:n.leave,visible:n.visible,visibleOnce:n.visibleOnce,hovered:n.hovered,tapped:n.tapped,focused:n.focused}));function s(l,c){for(const u of["delay","duration"]){if(c[u]==null)continue;const f=Number.parseInt(c[u]);for(const h of["enter","visible","visibleOnce"]){const d=l[h];d!=null&&(d.transition??(d.transition={}),d.transition[u]=f)}}return l}const o=Se(()=>{const l=xE({},r.value,i.value,n.variants||{});return s({...l},n)});function a(l,c,u){var h;l.props??(l.props={}),(h=l.props).style??(h.style={}),l.props.style={...l.props.style,...u};const f=s(wm(o.value),l.props);return l.props.onVnodeMounted=({el:d})=>{e[c]=_T(d,f)},l.props.onVnodeUpdated=({el:d})=>{const p=sd(e[c].state);for(const[_,g]of Object.entries(p))d.style[_]=g},l}return{motionConfig:o,setNodeInstance:a}}const Ak=rn({name:"Motion",props:{...xT,is:{type:[String,Object],default:"div"}},setup(n){const e=rg(),{motionConfig:t,setNodeInstance:i}=bT(n);return()=>{const r=sd(t.value.initial||{}),s=Mr(n.is,void 0,e);return i(s,0,r),s}}}),Ck=rn({name:"MotionGroup",props:{...xT,is:{type:[String,Object],required:!1}},setup(n){const e=rg(),{motionConfig:t,setNodeInstance:i}=bT(n);return()=>{var o;const r=sd(t.value.initial||{}),s=((o=e.default)==null?void 0:o.call(e))||[];for(let a=0;a
'};t.configure=function(p){var _,g;for(_ in p)g=p[_],g!==void 0&&p.hasOwnProperty(_)&&(i[_]=g);return this},t.status=null,t.set=function(p){var _=t.isStarted();p=r(p,i.minimum,1),t.status=p===1?null:p;var g=t.render(!_),m=g.querySelector(i.barSelector),y=i.speed,x=i.easing;return g.offsetWidth,a(function(v){i.positionUsing===""&&(i.positionUsing=t.getPositioningCSS()),l(m,o(p,y,x)),p===1?(l(g,{transition:"none",opacity:1}),g.offsetWidth,setTimeout(function(){l(g,{transition:"all "+y+"ms linear",opacity:0}),setTimeout(function(){t.remove(),v()},y)},y)):setTimeout(v,y)}),this},t.isStarted=function(){return typeof t.status=="number"},t.start=function(){t.status||t.set(0);var p=function(){setTimeout(function(){t.status&&(t.trickle(),p())},i.trickleSpeed)};return i.trickle&&p(),this},t.done=function(p){return!p&&!t.status?this:t.inc(.3+.5*Math.random()).set(1)},t.inc=function(p){var _=t.status;return _?(typeof p!="number"&&(p=(1-_)*r(Math.random()*_,.1,.95)),_=r(_+p,0,.994),t.set(_)):t.start()},t.trickle=function(){return t.inc(Math.random()*i.trickleRate)},function(){var p=0,_=0;t.promise=function(g){return!g||g.state()==="resolved"?this:(_===0&&t.start(),p++,_++,g.always(function(){_--,_===0?(p=0,t.done()):t.set((p-_)/p)}),this)}}(),t.render=function(p){if(t.isRendered())return document.getElementById("nprogress");u(document.documentElement,"nprogress-busy");var _=document.createElement("div");_.id="nprogress",_.innerHTML=i.template;var g=_.querySelector(i.barSelector),m=p?"-100":s(t.status||0),y=document.querySelector(i.parent),x;return l(g,{transition:"all 0 linear",transform:"translate3d("+m+"%,0,0)"}),i.showSpinner||(x=_.querySelector(i.spinnerSelector),x&&d(x)),y!=document.body&&u(y,"nprogress-custom-parent"),y.appendChild(_),_},t.remove=function(){f(document.documentElement,"nprogress-busy"),f(document.querySelector(i.parent),"nprogress-custom-parent");var p=document.getElementById("nprogress");p&&d(p)},t.isRendered=function(){return!!document.getElementById("nprogress")},t.getPositioningCSS=function(){var p=document.body.style,_="WebkitTransform"in p?"Webkit":"MozTransform"in p?"Moz":"msTransform"in p?"ms":"OTransform"in p?"O":"";return _+"Perspective"in p?"translate3d":_+"Transform"in p?"translate":"margin"};function r(p,_,g){return p<_?_:p>g?g:p}function s(p){return(-1+p)*100}function o(p,_,g){var m;return i.positionUsing==="translate3d"?m={transform:"translate3d("+s(p)+"%,0,0)"}:i.positionUsing==="translate"?m={transform:"translate("+s(p)+"%,0)"}:m={"margin-left":s(p)+"%"},m.transition="all "+_+"ms "+g,m}var a=function(){var p=[];function _(){var g=p.shift();g&&g(_)}return function(g){p.push(g),p.length==1&&_()}}(),l=function(){var p=["Webkit","O","Moz","ms"],_={};function g(v){return v.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function(E,T){return T.toUpperCase()})}function m(v){var E=document.body.style;if(v in E)return v;for(var T=p.length,M=v.charAt(0).toUpperCase()+v.slice(1),P;T--;)if(P=p[T]+M,P in E)return P;return v}function y(v){return v=g(v),_[v]||(_[v]=m(v))}function x(v,E,T){E=y(E),v.style[E]=T}return function(v,E){var T=arguments,M,P;if(T.length==2)for(M in E)P=E[M],P!==void 0&&E.hasOwnProperty(M)&&x(v,M,P);else x(v,T[1],T[2])}}();function c(p,_){var g=typeof p=="string"?p:h(p);return g.indexOf(" "+_+" ")>=0}function u(p,_){var g=h(p),m=g+_;c(g,_)||(p.className=m.substring(1))}function f(p,_){var g=h(p),m;c(p,_)&&(m=g.replace(" "+_+" "," "),p.className=m.substring(1,m.length-1))}function h(p){return(" "+(p.className||"")+" ").replace(/\s+/gi," ")}function d(p){p&&p.parentNode&&p.parentNode.removeChild(p)}return t})}(Zu)),Zu.exports}var Dk=Lk();const ST=Pk(Dk);/*! * pinia v3.0.1 * (c) 2025 Eduardo San Martin Morote * @license MIT - */let MT;const od=n=>MT=n,ET=Symbol();function Am(n){return n&&typeof n=="object"&&Object.prototype.toString.call(n)==="[object Object]"&&typeof n.toJSON!="function"}var ml;(function(n){n.direct="direct",n.patchObject="patch object",n.patchFunction="patch function"})(ml||(ml={}));function Ok(){const n=nc(!0),e=n.run(()=>Je({}));let t=[],i=[];const r=Jm({install(s){od(r),r._a=s,s.provide(ET,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 TT=()=>{};function Oy(n,e,t,i=TT){n.push(e);const r=()=>{const s=n.indexOf(e);s>-1&&(n.splice(s,1),i())};return!t&&ch()&&qm(r),r}function zo(n,...e){n.slice().forEach(t=>{t(...e)})}const Nk=n=>n(),Ny=Symbol(),Tp=Symbol();function Cm(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];Am(r)&&Am(i)&&n.hasOwnProperty(t)&&!Mt(i)&&!yr(i)?n[t]=Cm(r,i):n[t]=i}return n}const Uk=Symbol();function Fk(n){return!Am(n)||!n.hasOwnProperty(Uk)}const{assign:Gr}=Object;function Bk(n){return!!(Mt(n)&&n.effect)}function kk(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=ib(t.state.value[n]);return Gr(u,s,Object.keys(o||{}).reduce((f,h)=>(f[h]=Jm(Se(()=>{od(t);const d=t._s.get(n);return o[h].call(d,d)})),f),{}))}return l=wT(n,c,e,t,i,!0),l}function wT(n,e,t={},i,r,s){let o;const a=Gr({actions:{}},t),l={deep:!0};let c,u,f=[],h=[],d;const p=i.state.value[n];!s&&!p&&(i.state.value[n]={}),Je({});let _;function g(P){let b;c=u=!1,typeof P=="function"?(P(i.state.value[n]),b={type:ml.patchFunction,storeId:n,events:d}):(Cm(i.state.value[n],P),b={type:ml.patchObject,payload:P,storeId:n,events:d});const S=_=Symbol();us().then(()=>{_===S&&(c=!0)}),u=!0,zo(f,b,i.state.value[n])}const m=s?function(){const{state:b}=t,S=b?b():{};this.$patch(D=>{Gr(D,S)})}:TT;function y(){o.stop(),f=[],h=[],i._s.delete(n)}const x=(P,b="")=>{if(Ny in P)return P[Tp]=b,P;const S=function(){od(i);const D=Array.from(arguments),B=[],H=[];function $(te){B.push(te)}function ee(te){H.push(te)}zo(h,{args:D,name:S[Tp],store:E,after:$,onError:ee});let Z;try{Z=P.apply(this&&this.$id===n?this:E,D)}catch(te){throw zo(H,te),te}return Z instanceof Promise?Z.then(te=>(zo(B,te),te)).catch(te=>(zo(H,te),Promise.reject(te))):(zo(B,Z),Z)};return S[Ny]=!0,S[Tp]=b,S},v={_p:i,$id:n,$onAction:Oy.bind(null,h),$patch:g,$reset:m,$subscribe(P,b={}){const S=Oy(f,P,b.detached,()=>D()),D=o.run(()=>Ge(()=>i.state.value[n],B=>{(b.flush==="sync"?u:c)&&P({storeId:n,type:ml.direct,events:d},B)},Gr({},l,b)));return S},$dispose:y},E=hi(v);i._s.set(n,E);const M=(i._a&&i._a.runWithContext||Nk)(()=>i._e.run(()=>(o=nc()).run(()=>e({action:x}))));for(const P in M){const b=M[P];if(Mt(b)&&!Bk(b)||yr(b))s||(p&&Fk(b)&&(Mt(b)?b.value=p[P]:Cm(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 Gr(E,M),Gr(ot(E),M),Object.defineProperty(E,"$state",{get:()=>i.state.value[n],set:P=>{g(b=>{Gr(b,P)})}}),i._p.forEach(P=>{Gr(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 zk(n,e,t){let i;const r=typeof e=="function";i=r?t:e;function s(o,a){const l=rc();return o=o||(l?gn(ET,null):null),o&&od(o),o=MT,o._s.has(n)||(r?wT(n,e,i,o):kk(n,i,o)),o._s.get(n)}return s.$id=n,s}function Vk(n){const e=ot(n),t={};for(const i in e){const r=e[i];r.effect?t[i]=Se({get:()=>n[i],set(s){n[i]=s}}):(Mt(r)||yr(r))&&(t[i]=rb(n,i))}return t}const Hk=n=>{const e={};Object.entries(Object.assign({"/src/layouts/default.vue":()=>kt(()=>import("./default-BSkCC3LH.js"),__vite__mapDeps([0,1,2])),"/src/layouts/stage.vue":()=>kt(()=>import("./stage-CEwTgysc.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)};/*! + */let MT;const od=n=>MT=n,ET=Symbol();function Am(n){return n&&typeof n=="object"&&Object.prototype.toString.call(n)==="[object Object]"&&typeof n.toJSON!="function"}var ml;(function(n){n.direct="direct",n.patchObject="patch object",n.patchFunction="patch function"})(ml||(ml={}));function Ok(){const n=nc(!0),e=n.run(()=>Ze({}));let t=[],i=[];const r=Jm({install(s){od(r),r._a=s,s.provide(ET,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 TT=()=>{};function Oy(n,e,t,i=TT){n.push(e);const r=()=>{const s=n.indexOf(e);s>-1&&(n.splice(s,1),i())};return!t&&ch()&&qm(r),r}function Vo(n,...e){n.slice().forEach(t=>{t(...e)})}const Nk=n=>n(),Ny=Symbol(),Tp=Symbol();function Cm(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];Am(r)&&Am(i)&&n.hasOwnProperty(t)&&!wt(i)&&!yr(i)?n[t]=Cm(r,i):n[t]=i}return n}const Uk=Symbol();function Fk(n){return!Am(n)||!n.hasOwnProperty(Uk)}const{assign:Gr}=Object;function Bk(n){return!!(wt(n)&&n.effect)}function kk(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=ib(t.state.value[n]);return Gr(u,s,Object.keys(o||{}).reduce((f,h)=>(f[h]=Jm(Se(()=>{od(t);const d=t._s.get(n);return o[h].call(d,d)})),f),{}))}return l=wT(n,c,e,t,i,!0),l}function wT(n,e,t={},i,r,s){let o;const a=Gr({actions:{}},t),l={deep:!0};let c,u,f=[],h=[],d;const p=i.state.value[n];!s&&!p&&(i.state.value[n]={}),Ze({});let _;function g(P){let b;c=u=!1,typeof P=="function"?(P(i.state.value[n]),b={type:ml.patchFunction,storeId:n,events:d}):(Cm(i.state.value[n],P),b={type:ml.patchObject,payload:P,storeId:n,events:d});const S=_=Symbol();us().then(()=>{_===S&&(c=!0)}),u=!0,Vo(f,b,i.state.value[n])}const m=s?function(){const{state:b}=t,S=b?b():{};this.$patch(D=>{Gr(D,S)})}:TT;function y(){o.stop(),f=[],h=[],i._s.delete(n)}const x=(P,b="")=>{if(Ny in P)return P[Tp]=b,P;const S=function(){od(i);const D=Array.from(arguments),B=[],H=[];function $(te){B.push(te)}function ee(te){H.push(te)}Vo(h,{args:D,name:S[Tp],store:E,after:$,onError:ee});let Z;try{Z=P.apply(this&&this.$id===n?this:E,D)}catch(te){throw Vo(H,te),te}return Z instanceof Promise?Z.then(te=>(Vo(B,te),te)).catch(te=>(Vo(H,te),Promise.reject(te))):(Vo(B,Z),Z)};return S[Ny]=!0,S[Tp]=b,S},v={_p:i,$id:n,$onAction:Oy.bind(null,h),$patch:g,$reset:m,$subscribe(P,b={}){const S=Oy(f,P,b.detached,()=>D()),D=o.run(()=>Ge(()=>i.state.value[n],B=>{(b.flush==="sync"?u:c)&&P({storeId:n,type:ml.direct,events:d},B)},Gr({},l,b)));return S},$dispose:y},E=hi(v);i._s.set(n,E);const M=(i._a&&i._a.runWithContext||Nk)(()=>i._e.run(()=>(o=nc()).run(()=>e({action:x}))));for(const P in M){const b=M[P];if(wt(b)&&!Bk(b)||yr(b))s||(p&&Fk(b)&&(wt(b)?b.value=p[P]:Cm(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 Gr(E,M),Gr(ot(E),M),Object.defineProperty(E,"$state",{get:()=>i.state.value[n],set:P=>{g(b=>{Gr(b,P)})}}),i._p.forEach(P=>{Gr(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 Vk(n,e,t){let i;const r=typeof e=="function";i=r?t:e;function s(o,a){const l=rc();return o=o||(l?gn(ET,null):null),o&&od(o),o=MT,o._s.has(n)||(r?wT(n,e,i,o):kk(n,i,o)),o._s.get(n)}return s.$id=n,s}function zk(n){const e=ot(n),t={};for(const i in e){const r=e[i];r.effect?t[i]=Se({get:()=>n[i],set(s){n[i]=s}}):(wt(r)||yr(r))&&(t[i]=rb(n,i))}return t}const Hk=n=>{const e={};Object.entries(Object.assign({"/src/layouts/default.vue":()=>vt(()=>import("./default-CnWbiEGc.js"),__vite__mapDeps([0,1,2])),"/src/layouts/stage.vue":()=>vt(()=>import("./stage-CLzqLTqV.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)};/*! * vue-router v4.5.0 * (c) 2024 Eduardo San Martin Morote * @license MIT - */const Ho=typeof document<"u";function AT(n){return typeof n=="object"||"displayName"in n||"props"in n||"__vccOpts"in n}function Gk(n){return n.__esModule||n[Symbol.toStringTag]==="Module"||n.default&&AT(n.default)}const vt=Object.assign;function wp(n,e){const t={};for(const i in e){const r=e[i];t[i]=Pi(r)?r.map(n):n(r)}return t}const gl=()=>{},Pi=Array.isArray,CT=/#/g,Wk=/&/g,Xk=/\//g,$k=/=/g,qk=/\?/g,RT=/\+/g,Yk=/%5B/g,jk=/%5D/g,PT=/%5E/g,Kk=/%60/g,IT=/%7B/g,Zk=/%7C/g,LT=/%7D/g,Jk=/%20/g;function g_(n){return encodeURI(""+n).replace(Zk,"|").replace(Yk,"[").replace(jk,"]")}function Qk(n){return g_(n).replace(IT,"{").replace(LT,"}").replace(PT,"^")}function Rm(n){return g_(n).replace(RT,"%2B").replace(Jk,"+").replace(CT,"%23").replace(Wk,"%26").replace(Kk,"`").replace(IT,"{").replace(LT,"}").replace(PT,"^")}function ez(n){return Rm(n).replace($k,"%3D")}function tz(n){return g_(n).replace(CT,"%23").replace(qk,"%3F")}function nz(n){return n==null?"":tz(n).replace(Xk,"%2F")}function Kl(n){try{return decodeURIComponent(""+n)}catch{}return""+n}const iz=/\/$/,rz=n=>n.replace(iz,"");function Ap(n,e,t="/"){let i,r={},s="",o="";const a=e.indexOf("#");let l=e.indexOf("?");return 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=lz(i??e,t),{fullPath:i+(s&&"?")+s+o,path:i,query:r,hash:Kl(o)}}function sz(n,e){const t=e.query?n(e.query):"";return e.path+(t&&"?")+t+(e.hash||"")}function Uy(n,e){return!e||!n.toLowerCase().startsWith(e.toLowerCase())?n:n.slice(e.length)||"/"}function oz(n,e,t){const i=e.matched.length-1,r=t.matched.length-1;return i>-1&&i===r&&fa(e.matched[i],t.matched[r])&&DT(e.params,t.params)&&n(e.query)===n(t.query)&&e.hash===t.hash}function fa(n,e){return(n.aliasOf||n)===(e.aliasOf||e)}function DT(n,e){if(Object.keys(n).length!==Object.keys(e).length)return!1;for(const t in n)if(!az(n[t],e[t]))return!1;return!0}function az(n,e){return Pi(n)?Fy(n,e):Pi(e)?Fy(e,n):n===e}function Fy(n,e){return Pi(e)?n.length===e.length&&n.every((t,i)=>t===e[i]):n.length===1&&n[0]===e}function lz(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;o1&&s--;else break;return t.slice(0,s).join("/")+"/"+i.slice(o).join("/")}const Vr={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var Zl;(function(n){n.pop="pop",n.push="push"})(Zl||(Zl={}));var _l;(function(n){n.back="back",n.forward="forward",n.unknown=""})(_l||(_l={}));function cz(n){if(!n)if(Ho){const e=document.querySelector("base");n=e&&e.getAttribute("href")||"/",n=n.replace(/^\w+:\/\/[^\/]+/,"")}else n="/";return n[0]!=="/"&&n[0]!=="#"&&(n="/"+n),rz(n)}const uz=/^[^#]+#/;function fz(n,e){return n.replace(uz,"#")+e}function hz(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 ad=()=>({left:window.scrollX,top:window.scrollY});function dz(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=hz(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 By(n,e){return(history.state?history.state.position-e:-1)+n}const Pm=new Map;function pz(n,e){Pm.set(n,e)}function mz(n){const e=Pm.get(n);return Pm.delete(n),e}let gz=()=>location.protocol+"//"+location.host;function OT(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),Uy(l,"")}return Uy(t,n)+i+r}function _z(n,e,t,i){let r=[],s=[],o=null;const a=({state:h})=>{const d=OT(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:Zl.pop,direction:g?g>0?_l.forward:_l.back:_l.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(vt({},h.state,{scroll:ad()}),"")}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 ky(n,e,t,i=!1,r=!1){return{back:n,current:e,forward:t,replaced:i,position:window.history.length,scroll:r?ad():null}}function vz(n){const{history:e,location:t}=window,i={value:OT(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:gz()+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=vt({},e.state,ky(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=vt({},r.value,e.state,{forward:l,scroll:ad()});s(u.current,u,!0);const f=vt({},ky(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 yz(n){n=cz(n);const e=vz(n),t=_z(n,e.state,e.location,e.replace);function i(s,o=!0){o||t.pauseListeners(),history.go(s)}const r=vt({location:"",base:n,go:i,createHref:fz.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 xz(n){return n=location.host?n||location.pathname+location.search:"",n.includes("#")||(n+="#"),yz(n)}function bz(n){return typeof n=="string"||n&&typeof n=="object"}function NT(n){return typeof n=="string"||typeof n=="symbol"}const UT=Symbol("");var zy;(function(n){n[n.aborted=4]="aborted",n[n.cancelled=8]="cancelled",n[n.duplicated=16]="duplicated"})(zy||(zy={}));function ha(n,e){return vt(new Error,{type:n,[UT]:!0},e)}function ar(n,e){return n instanceof Error&&UT in n&&(e==null||!!(n.type&e))}const Vy="[^/]+?",Sz={sensitive:!1,strict:!1,start:!0,end:!0},Mz=/[.+*?^${}()[\]/\\]/g;function Ez(n,e){const t=vt({},Sz,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;fe.length?e.length===1&&e[0]===80?1:-1:0}function FT(n,e){let t=0;const i=n.score,r=e.score;for(;t0&&e[e.length-1]<0}const wz={type:0,value:""},Az=/[a-zA-Z0-9_]/;function Cz(n){if(!n)return[[]];if(n==="/")return[[wz]];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{o(x)}:gl}function o(f){if(NT(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=Dz(f,t);t.splice(h,0,f),f.record.name&&!Xy(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 ha(1,{location:f});g=d.record.name,p=vt(Gy(h.params,d.keys.filter(x=>!x.optional).concat(d.parent?d.parent.keys.filter(x=>x.optional):[]).map(x=>x.name)),f.params&&Gy(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 ha(1,{location:f,currentLocation:h});g=d.record.name,p=vt({},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:Lz(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 Gy(n,e){const t={};for(const i of e)i in n&&(t[i]=n[i]);return t}function Wy(n){const e={path:n.path,redirect:n.redirect,name:n.name,meta:n.meta||{},aliasOf:n.aliasOf,beforeEnter:n.beforeEnter,props:Iz(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 Iz(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 Xy(n){for(;n;){if(n.record.aliasOf)return!0;n=n.parent}return!1}function Lz(n){return n.reduce((e,t)=>vt(e,t.meta),{})}function $y(n,e){const t={};for(const i in n)t[i]=i in e?e[i]:n[i];return t}function Dz(n,e){let t=0,i=e.length;for(;t!==i;){const s=t+i>>1;FT(n,e[s])<0?i=s:t=s+1}const r=Oz(n);return r&&(i=e.lastIndexOf(r,i-1)),i}function Oz(n){let e=n;for(;e=e.parent;)if(BT(e)&&FT(n,e)===0)return e}function BT({record:n}){return!!(n.name||n.components&&Object.keys(n.components).length||n.redirect)}function Nz(n){const e={};if(n===""||n==="?")return e;const i=(n[0]==="?"?n.slice(1):n).split("&");for(let r=0;rs&&Rm(s)):[i&&Rm(i)]).forEach(s=>{s!==void 0&&(e+=(e.length?"&":"")+t,s!=null&&(e+="="+s))})}return e}function Uz(n){const e={};for(const t in n){const i=n[t];i!==void 0&&(e[t]=Pi(i)?i.map(r=>r==null?null:""+r):i==null?i:""+i)}return e}const Fz=Symbol(""),Yy=Symbol(""),ld=Symbol(""),kT=Symbol(""),Im=Symbol("");function Va(){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 jr(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(ha(4,{from:t,to:e})):h instanceof Error?l(h):bz(h)?l(ha(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 Cp(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(AT(l)){const u=(l.__vccOpts||l)[e];u&&s.push(jr(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=Gk(u)?u.default:u;o.mods[a]=u,o.components[a]=f;const d=(f.__vccOpts||f)[e];return d&&jr(d,t,i,o,a,r)()}))}}return s}function jy(n){const e=gn(ld),t=gn(kT),i=Se(()=>{const l=Pt(n.to);return e.resolve(l)}),r=Se(()=>{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(fa.bind(null,u));if(h>-1)return h;const d=Ky(l[c-2]);return c>1&&Ky(u)===d&&f[f.length-1].path!==d?f.findIndex(fa.bind(null,l[c-2])):h}),s=Se(()=>r.value>-1&&Hz(t.params,i.value.params)),o=Se(()=>r.value>-1&&r.value===t.matched.length-1&&DT(t.params,i.value.params));function a(l={}){if(Vz(l)){const c=e[Pt(n.replace)?"replace":"push"](Pt(n.to)).catch(gl);return n.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>c),c}return Promise.resolve()}return{route:i,href:Se(()=>i.value.href),isActive:s,isExactActive:o,navigate:a}}function Bz(n){return n.length===1?n[0]:n}const kz=rn({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:jy,setup(n,{slots:e}){const t=hi(jy(n)),{options:i}=gn(ld),r=Se(()=>({[Zy(n.activeClass,i.linkActiveClass,"router-link-active")]:t.isActive,[Zy(n.exactActiveClass,i.linkExactActiveClass,"router-link-exact-active")]:t.isExactActive}));return()=>{const s=e.default&&Bz(e.default(t));return n.custom?s:Mr("a",{"aria-current":t.isExactActive?n.ariaCurrentValue:null,href:t.href,onClick:t.navigate,class:r.value},s)}}}),zz=kz;function Vz(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 Hz(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(!Pi(r)||r.length!==i.length||i.some((s,o)=>s!==r[o]))return!1}return!0}function Ky(n){return n?n.aliasOf?n.aliasOf.path:n.path:""}const Zy=(n,e,t)=>n??e??t,Gz=rn({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(n,{attrs:e,slots:t}){const i=gn(Im),r=Se(()=>n.route||i.value),s=gn(Yy,0),o=Se(()=>{let c=Pt(s);const{matched:u}=r.value;let f;for(;(f=u[c])&&!f.components;)c++;return c}),a=Se(()=>r.value.matched[o.value]);es(Yy,Se(()=>o.value+1)),es(Fz,a),es(Im,r);const l=Je();return Ge(()=>[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||!fa(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 Jy(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=Mr(h,vt({},p,e,{onVnodeUnmounted:m=>{m.component.isUnmounted&&(f.instances[u]=null)},ref:l}));return Jy(t.default,{Component:g,route:c})||g}}});function Jy(n,e){if(!n)return null;const t=n(e);return t.length===1?t[0]:t}const zT=Gz;function Wz(n){const e=Pz(n.routes,n),t=n.parseQuery||Nz,i=n.stringifyQuery||qy,r=n.history,s=Va(),o=Va(),a=Va(),l=Ie(Vr);let c=Vr;Ho&&n.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=wp.bind(null,W=>""+W),f=wp.bind(null,nz),h=wp.bind(null,Kl);function d(W,ae){let ue,le;return NT(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=vt({},ae||l.value),typeof W=="string"){const w=Ap(t,W,ae.path),j=e.resolve({path:w.path},ae),G=r.createHref(w.fullPath);return vt(w,j,{params:h(j.params),hash:Kl(w.hash),redirectedFrom:void 0,href:G})}let ue;if(W.path!=null)ue=vt({},W,{path:Ap(t,W.path,ae.path).path});else{const w=vt({},W.params);for(const j in w)w[j]==null&&delete w[j];ue=vt({},W,{params:f(w)}),ae.params=f(ae.params)}const le=e.resolve(ue,ae),Oe=W.hash||"";le.params=u(h(le.params));const I=sz(i,vt({},W,{hash:Qk(Oe),path:le.path})),L=r.createHref(I);return vt({fullPath:I,hash:Oe,query:i===qy?Uz(W.query):W.query||{}},le,{redirectedFrom:void 0,href:L})}function y(W){return typeof W=="string"?Ap(t,W,l.value.path):vt({},W)}function x(W,ae){if(c!==W)return ha(8,{from:ae,to:W})}function v(W){return M(W)}function E(W){return v(vt(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={}),vt({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,Oe=W.state,I=W.force,L=W.replace===!0,w=T(ue);if(w)return M(vt(y(w),{state:typeof w=="object"?vt({},Oe,w.state):Oe,force:I,replace:L}),ae||ue);const j=ue;j.redirectedFrom=ae;let G;return!I&&oz(i,le,ue)&&(G=ha(16,{to:j,from:le}),re(le,le,!0,!1)),(G?Promise.resolve(G):S(j,le)).catch(q=>ar(q)?ar(q,2)?q:ve(q):Q(q,j,le)).then(q=>{if(q){if(ar(q,2))return M(vt({replace:L},y(q.to),{state:typeof q.to=="object"?vt({},Oe,q.to.state):Oe,force:I}),ae||j)}else q=B(j,le,!0,L,Oe);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,Oe,I]=Xz(W,ae);ue=Cp(le.reverse(),"beforeRouteLeave",W,ae);for(const w of le)w.leaveGuards.forEach(j=>{ue.push(jr(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(jr(w,W,ae));return ue.push(L),be(ue)}).then(()=>{ue=Cp(Oe,"beforeRouteUpdate",W,ae);for(const w of Oe)w.updateGuards.forEach(j=>{ue.push(jr(j,W,ae))});return ue.push(L),be(ue)}).then(()=>{ue=[];for(const w of I)if(w.beforeEnter)if(Pi(w.beforeEnter))for(const j of w.beforeEnter)ue.push(jr(j,W,ae));else ue.push(jr(w.beforeEnter,W,ae));return ue.push(L),be(ue)}).then(()=>(W.matched.forEach(w=>w.enterCallbacks={}),ue=Cp(I,"beforeRouteEnter",W,ae,b),ue.push(L),be(ue))).then(()=>{ue=[];for(const w of o.list())ue.push(jr(w,W,ae));return ue.push(L),be(ue)}).catch(w=>ar(w,8)?w:Promise.reject(w))}function D(W,ae,ue){a.list().forEach(le=>b(()=>le(W,ae,ue)))}function B(W,ae,ue,le,Oe){const I=x(W,ae);if(I)return I;const L=ae===Vr,w=Ho?history.state:{};ue&&(le||L?r.replace(W.fullPath,vt({scroll:L&&w&&w.scroll},Oe)):r.push(W.fullPath,Oe)),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),Oe=T(le);if(Oe){M(vt(Oe,{replace:!0,force:!0}),le).catch(gl);return}c=le;const I=l.value;Ho&&pz(By(I.fullPath,ue.delta),ad()),S(le,I).catch(L=>ar(L,12)?L:ar(L,2)?(M(vt(y(L.to),{force:!0}),le).then(w=>{ar(w,20)&&!ue.delta&&ue.type===Zl.pop&&r.go(-1,!1)}).catch(gl),Promise.reject()):(ue.delta&&r.go(-ue.delta,!1),Q(L,le,I))).then(L=>{L=L||B(le,I,!1),L&&(ue.delta&&!ar(L,8)?r.go(-ue.delta,!1):ue.type===Zl.pop&&ar(L,20)&&r.go(-1,!1)),D(le,I,L)}).catch(gl)}))}let ee=Va(),Z=Va(),te;function Q(W,ae,ue){ve(W);const le=Z.list();return le.length?le.forEach(Oe=>Oe(W,ae,ue)):console.error(W),Promise.reject(W)}function pe(){return te&&l.value!==Vr?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:Oe}=n;if(!Ho||!Oe)return Promise.resolve();const I=!ue&&mz(By(W.fullPath,0))||(le||!ue)&&history.state&&history.state.scroll||null;return us().then(()=>Oe(W,ae,I)).then(L=>L&&dz(L)).catch(L=>Q(L,W,ae))}const xe=W=>r.go(W);let Ve;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",zz),W.component("RouterView",zT),W.config.globalProperties.$router=ae,Object.defineProperty(W.config.globalProperties,"$route",{enumerable:!0,get:()=>Pt(l)}),Ho&&!Ve&&l.value===Vr&&(Ve=!0,v(r.location).catch(Oe=>{}));const ue={};for(const Oe in Vr)Object.defineProperty(ue,Oe,{get:()=>l.value[Oe],enumerable:!0});W.provide(ld,ae),W.provide(kT,eb(ue)),W.provide(Im,l);const le=W.unmount;se.add(W),W.unmount=function(){se.delete(W),se.size<1&&(c=Vr,H&&H(),H=null,l.value=Vr,Ve=!1,te=!1),le()}}};function be(W){return W.reduce((ae,ue)=>ae.then(()=>b(ue)),Promise.resolve())}return ge}function Xz(n,e){const t=[],i=[],r=[],s=Math.max(e.matched.length,n.matched.length);for(let o=0;ofa(c,a))?i.push(a):t.push(a));const l=n.matched[o];l&&(e.matched.find(c=>fa(c,l))||r.push(l))}return[t,i,r]}function $z(){return gn(ld)}const qz=[{path:"/",name:"/",component:()=>kt(()=>import("./index-Z-Un0js8.js"),__vite__mapDeps([3,4,5,6,7,8,9,10,11,12,13,14,1,2,15,16,17,18,19])),meta:{layout:"stage",stageTransition:{name:"bubble-wave-out"}}},{path:"/:all(.*)",name:"/[...all]",component:()=>kt(()=>import("./_...all_-Ca5ZJtgH.js"),[])},{path:"/audio",name:"/audio",component:()=>kt(()=>import("./audio-ze_3QTB2.js"),[])},{path:"/devtools",children:[{path:"image",name:"/devtools/image",component:()=>kt(()=>import("./image-UOsxnKGS.js"),__vite__mapDeps([20,21]))}]},{path:"/queue",name:"/queue",component:()=>kt(()=>import("./queue-Dsx5fEJp.js"),__vite__mapDeps([22,9]))},{path:"/settings",children:[{path:"",name:"/settings/",component:()=>kt(()=>import("./index-Cm5Hly6Q.js"),__vite__mapDeps([23,4,5,18])),meta:{stageTransition:{name:"slide"}}},{path:"models",children:[{path:"",name:"/settings/models/",component:()=>kt(()=>import("./index-Cb4YXK4c.js"),__vite__mapDeps([24,12,4,5,13,14,18])),meta:{stageTransition:{name:"slide"}}}]},{path:"modules",children:[{path:"",name:"/settings/modules/",component:()=>kt(()=>import("./index-C7JUNC8w.js"),__vite__mapDeps([25,4,5,26,18])),meta:{stageTransition:{name:"slide"}}},{path:"consciousness",name:"/settings/modules/consciousness",component:()=>kt(()=>import("./consciousness-Cwls-Sb6.js"),__vite__mapDeps([27,4,5,28,14,15,8,18])),meta:{stageTransition:{name:"slide"}}},{path:"speech",name:"/settings/modules/speech",component:()=>kt(()=>import("./speech-DZpNI3Yo.js"),__vite__mapDeps([29,4,5,28,14,30,8,11,18])),meta:{stageTransition:{name:"slide"}}}]},{path:"providers",children:[{path:"",name:"/settings/providers/",component:()=>kt(()=>import("./index-Ca6WrnZu.js"),__vite__mapDeps([31,4,5,8,26,18])),meta:{stageTransition:{name:"slide"}}},{path:"elevenlabs",name:"/settings/providers/elevenlabs",component:()=>kt(()=>import("./elevenlabs-CWszaaNC.js"),__vite__mapDeps([32,13,14,4,5,30,8,11,7]))},{path:"openai",name:"/settings/providers/openai",component:()=>kt(()=>import("./openai-DtmMCLkg.js"),__vite__mapDeps([33,13,14,4,5,8]))},{path:"openrouter-ai",name:"/settings/providers/openrouter-ai",component:()=>kt(()=>import("./openrouter-ai-psmbjOJ5.js"),__vite__mapDeps([34,13,14,4,5,8]))}]},{path:"themes",children:[{path:"",name:"/settings/themes/",component:()=>kt(()=>import("./index-jxEmig3C.js"),__vite__mapDeps([35,13,14,4,5,18,36])),meta:{stageTransition:{name:"slide"}}}]}]},{path:"/test",children:[{path:"filter-message",name:"/test/filter-message",component:()=>kt(()=>import("./filter-message-Cd8svVg2.js"),[])},{path:"queues",children:[{path:"delays",name:"/test/queues/delays",component:()=>kt(()=>import("./delays-B3_Q2Pu1.js"),__vite__mapDeps([37,10,4,5,9,16]))},{path:"emotions",name:"/test/queues/emotions",component:()=>kt(()=>import("./emotions-B8_saL_k.js"),__vite__mapDeps([38,10,4,5,9]))},{path:"messages",name:"/test/queues/messages",component:()=>kt(()=>import("./messages--7H_Xdln.js"),__vite__mapDeps([39,10,4,5,9]))}]}]},{path:"/v2",name:"/v2",component:()=>kt(()=>import("./v2-xMa_7BxW.js"),__vite__mapDeps([40,4,5,6,7,8,9,10,11,12,13,14,1,2,15,16,17,18])),meta:{layout:"default"}}],Yz=178.17,jz=zk("settings",()=>{const n=Je(),e=zr("settings/language","en-US"),t=zr("settings/stage/view/model-renderer","2d"),i=zr("settings/audio/input","true"),r=Se(()=>{var m;return(m=n.value)==null?void 0:m.deviceId}),{audioInputs:s}=WU({constraints:{audio:!0},requestPermissions:!0}),o=Je(),a=Je("/assets/live2d/models/hiyori_pro_zh.zip"),l=Je("url"),c=Je(!1),u=zr("settings/live2d/position",{x:0,y:0}),f=Je({group:"Idle",index:0}),h=Je([]),d=zr("settings/live2d/motion-map",{}),p=zr("settings/disable-transitions",!1),_=zr("settings/theme/colors/hue",Yz),g=zr("settings/theme/colors/hue-dynamic",!1);return Ge(i,m=>{m==="false"&&(n.value=void 0),m==="true"&&(n.value=s.value[0])}),yn(()=>{i.value==="true"&&!n.value&&(n.value=s.value[0])}),Ge(s,()=>{i.value==="true"&&!n.value&&(n.value=s.value[0])}),{live2dModelFile:o,live2dModelUrl:a,live2dLoadSource:l,live2dCurrentMotion:f,live2dPosition:u,availableLive2dMotions:h,live2dMotionMap:d,loadingLive2dModel:c,disableTransitions:p,language:e,stageView:t,themeColorsHue:_,themeColorsHueDynamic:g,isAudioInputOn:i,selectedAudioDevice:n,selectedAudioDeviceId:r}}),Kz=rn({__name:"ArrowTransition",props:{stageTransition:{default:()=>({primaryColor:"#666",secondaryColor:"#ccc"})}},setup(n){const e=n,t=Se(()=>e.stageTransition),i=Se(()=>t.value.primaryColor||"#666"),r=Se(()=>t.value.secondaryColor||"#ccc");return yn(()=>{document.documentElement.style.setProperty("--stage-transition-3-overlay-color-1",i.value),document.documentElement.style.setProperty("--stage-transition-3-overlay-color-2",r.value)}),(s,o)=>(ln(),ui("div",{class:"stage-transition-3",style:mi({zIndex:t.value.zIndex||100})},null,4))}}),yo=(n,e)=>{const t=n.__vccOpts||n;for(const[i,r]of e)t[i]=r;return t},Zz=yo(Kz,[["__scopeId","data-v-df576df0"]]),Jz=rn({__name:"BubbleWaveOutTransition",props:{stageTransition:null},setup(n){const e=n,t=Se(()=>{var i;return((i=e.stageTransition)==null?void 0:i.colors)||["#eee","#ebcb8b","#c56370","#3f3b52"]});return yn(()=>{var i,r;document.documentElement.style.setProperty("--circle-expansion-delay",`${((i=e.stageTransition)==null?void 0:i.delay)||0}s`),document.documentElement.style.setProperty("--circle-expansion-duration",`${((r=e.stageTransition)==null?void 0:r.duration)||.4}s`),t.value.forEach((s,o)=>{document.documentElement.style.setProperty(`--circle-expansion-color-${o+1}`,s)})}),(i,r)=>{var s;return ln(),ui("div",{class:"circle-expansion-transition",style:mi({zIndex:((s=n.stageTransition)==null?void 0:s.zIndex)||100})},[(ln(!0),ui(Xt,null,bA(t.value,(o,a)=>(ln(),ui("div",{key:a}))),128))],4)}}}),Qz=yo(Jz,[["__scopeId","data-v-0c29056c"]]),eV=rn({__name:"FantasyFallTransition",props:{stageTransition:null},setup(n){const e=n,t=Se(()=>{var r;return((r=e.stageTransition)==null?void 0:r.direction)||"up"}),i=Se(()=>`fantasy-fall-${t.value}`);return yn(()=>{var r,s,o,a,l,c,u,f,h;document.documentElement.style.setProperty("--fantasy-fall-color",((r=e.stageTransition)==null?void 0:r.primaryColor)||"#eee"),document.documentElement.style.setProperty("--fantasy-fall-duration",`${((s=e.stageTransition)==null?void 0:s.duration)||.6}s`),document.documentElement.style.setProperty("--fantasy-fall-delay",`${((o=e.stageTransition)==null?void 0:o.delay)||0}s`),document.documentElement.style.setProperty("--fantasy-fall-radius-sm",`${((l=(a=e.stageTransition)==null?void 0:a.borderRadius)==null?void 0:l.sm)||"14rem"}`),document.documentElement.style.setProperty("--fantasy-fall-radius-md",`${((u=(c=e.stageTransition)==null?void 0:c.borderRadius)==null?void 0:u.md)||"14rem"}`),document.documentElement.style.setProperty("--fantasy-fall-radius-lg",`${((h=(f=e.stageTransition)==null?void 0:f.borderRadius)==null?void 0:h.lg)||"50%"}`)}),(r,s)=>{var o;return ln(),ui("div",{class:ga(["fantasy-fall-transition",i.value]),style:mi({zIndex:((o=n.stageTransition)==null?void 0:o.zIndex)??100})},null,6)}}}),tV=yo(eV,[["__scopeId","data-v-e62bf496"]]),nV=rn({__name:"MultipleBlocksRevealTransition",props:{stageTransition:null},setup(n){const e=n,t=Se(()=>e.stageTransition),i=Se(()=>{var s;return((s=t.value)==null?void 0:s.primaryColor)||"#666"}),r=Se(()=>{var s;return((s=t.value)==null?void 0:s.secondaryColor)||"#ccc"});return yn(()=>{document.documentElement.style.setProperty("--stage-transition-4-overlay-color-1",i.value),document.documentElement.style.setProperty("--stage-transition-4-overlay-color-2",r.value)}),(s,o)=>{var a;return ln(),ui("div",{class:"stage-transition-4",style:mi({zIndex:((a=t.value)==null?void 0:a.zIndex)??100})},o[0]||(o[0]=[e1('
',5)]),4)}}}),iV=yo(nV,[["__scopeId","data-v-6d1179fc"]]),rV=rn({__name:"SlideTransition",props:{stageTransition:null},setup(n){const e=n,t=Se(()=>e.stageTransition),i=Se(()=>{var s;return((s=t.value)==null?void 0:s.primaryColor)||"#666"}),r=Se(()=>{var s;return((s=t.value)==null?void 0:s.secondaryColor)||"#ccc"});return Ge([t,i,r],()=>{document.documentElement.style.setProperty("--stage-transition-1-overlay-color-1",i.value),document.documentElement.style.setProperty("--stage-transition-1-overlay-color-2",r.value)}),yn(()=>{document.documentElement.style.setProperty("--stage-transition-1-overlay-color-1",i.value),document.documentElement.style.setProperty("--stage-transition-1-overlay-color-2",r.value)}),(s,o)=>{var a;return ln(),ui("div",{class:"stage-transition-1",style:mi({zIndex:((a=t.value)==null?void 0:a.zIndex)??100})},null,4)}}}),sV=yo(rV,[["__scopeId","data-v-bf1d1566"]]),oV=rn({__name:"SlopeSlideTransition",props:{stageTransition:null},setup(n){const e=n,t=Se(()=>e.stageTransition),i=Se(()=>{var s;return((s=t.value)==null?void 0:s.primaryColor)??"#666"}),r=Se(()=>{var s;return((s=t.value)==null?void 0:s.secondaryColor)??"#ccc"});return yn(()=>{document.documentElement.style.setProperty("--stage-transition-2-overlay-color-1",i.value),document.documentElement.style.setProperty("--stage-transition-2-overlay-color-2",r.value)}),(s,o)=>{var a;return ln(),ui("div",{class:"stage-transition-2",style:mi({zIndex:((a=t.value)==null?void 0:a.zIndex)??100})},null,4)}}}),aV=yo(oV,[["__scopeId","data-v-8ff7120f"]]),lV=rn({__name:"RectanglesRotateTransition",props:{stageTransition:null},setup(n){const e=n;return yn(()=>{var t,i,r,s,o,a,l;document.documentElement.style.setProperty("--rectangle-rotate-1-color",((t=e.stageTransition)==null?void 0:t.primaryColor)||"#ebcb8b"),document.documentElement.style.setProperty("--rectangle-rotate-2-color",((i=e.stageTransition)==null?void 0:i.secondaryColor)||"#c56370"),document.documentElement.style.setProperty("--rectangle-rotate-3-color",((r=e.stageTransition)==null?void 0:r.tertiaryColor)||"#43445b"),document.documentElement.style.setProperty("--rectangle-rotate-duration",`${((s=e.stageTransition)==null?void 0:s.duration)||.6}s`),document.documentElement.style.setProperty("--rectangle-rotate-delay",`${((o=e.stageTransition)==null?void 0:o.delay)||0}s`),document.documentElement.style.setProperty("--rectangle-rotate-stagger",`${((a=e.stageTransition)==null?void 0:a.staggerDelay)||.1}s`),document.documentElement.style.setProperty("--rectangle-rotate-rotation",`${((l=e.stageTransition)==null?void 0:l.rotation)||270}deg`)}),(t,i)=>{var r;return ln(),ui("div",{class:"rectangle-rotate-transition",style:mi({zIndex:((r=n.stageTransition)==null?void 0:r.zIndex)??100})},i[0]||(i[0]=[$r("div",{class:"rectangle rectangle-rotate-1"},[$r("div")],-1),$r("div",{class:"rectangle rectangle-rotate-2"},[$r("div")],-1),$r("div",{class:"rectangle rectangle-rotate-3"},[$r("div")],-1)]),4)}}}),cV=yo(lV,[["__scopeId","data-v-f4b1dc64"]]),uV=rn({__name:"StageTransitionGroup",props:{primaryColor:null,secondaryColor:null,tertiaryColor:null,colors:null,zIndex:null,disableTransitions:{type:Boolean}},setup(n){const e=n,t=$z(),i=Je(!1),r=Je(),s=Je(""),o=Je(),a=Ie({slide:{component:sV,duration:2700},"slope-slide":{component:aV,duration:2700},arrow:{component:Zz,duration:2700},"multiple-blocks-reveal":{component:iV,duration:2800},"fantasy-fall":{component:tV,duration:2700},"rectangles-rotate":{component:cV,duration:2700},"bubble-wave-out":{component:Qz,duration:1e3}}),l=Je([]);function c(d){return l.value.push(d),()=>{const p=l.value.indexOf(d);p>=0&&l.value.splice(p,1)}}async function u(d,p={}){r.value=d;for(const _ of l.value)try{await Promise.resolve(_(d,p))}catch(g){console.error(`Error in transition hook at stage "${d}":`,g)}}async function f(d,p,_){if(d.name==="none"||!d.name){p(),_();return}const g=a.value[d.name];if(!g){console.error(`Transition ${d.name} not found`),p(),_();return}const m=g.nextDelay!==void 0?g.nextDelay:g.duration/3;let y=!1;const v=c(E=>{E==="navigation"&&!y&&(y=!0,p())});try{await u("before-enter",{transitionName:d.name}),i.value&&(await u("before-leave",{transitionName:s.value}),s.value="",o.value=void 0,i.value=!1,await u("after-leave",{transitionName:s.value}),await new Promise(T=>setTimeout(T,50))),s.value=d.name,o.value=d,i.value=!0,await u("enter-active",{transitionName:name}),setTimeout(async()=>{await u("navigation",{transitionName:d.name,config:g}),y||(y=!0,p())},m),setTimeout(async()=>{await u("after-enter",{transitionName:d.name})},g.duration),setTimeout(async()=>{await u("before-leave",{transitionName:d.name})},g.duration+10),setTimeout(async()=>{await u("leave-active",{transitionName:d.name})},g.duration+20);const E=g.exitDuration??0;setTimeout(async()=>{i.value=!1,s.value="",o.value=void 0,await u("after-leave",{transitionName:d.name}),_()},g.duration+E)}catch(E){console.error(E)}finally{v(),setTimeout(()=>{y||(y=!0,p())},g.duration*2)}}function h(d,p){return new Promise(_=>{f(d,p,_)})}return t.beforeEach((d,p,_)=>{if(typeof d.meta.stageTransition!="object"){_();return}const g=d.meta.stageTransition;if(typeof e.primaryColor<"u"&&(g.primaryColor=e.primaryColor),typeof e.secondaryColor<"u"&&(g.secondaryColor=e.secondaryColor),typeof e.tertiaryColor<"u"&&(g.tertiaryColor=e.tertiaryColor),typeof e.colors<"u"&&(g.colors=e.colors),typeof e.zIndex<"u"&&(g.zIndex=e.zIndex),e.disableTransitions){_();return}h(g,_)}),(d,p)=>(ln(),ui(Xt,null,[SA(d.$slots,"default"),i.value?(ln(),ui(Xt,{key:0},[a.value[s.value]?(ln(),El(xA(a.value[s.value].component),{key:0,"stage-transition":o.value},null,8,["stage-transition"])):Z_("",!0)],64)):Z_("",!0)],64))}});/*! + */const Ho=typeof document<"u";function AT(n){return typeof n=="object"||"displayName"in n||"props"in n||"__vccOpts"in n}function Gk(n){return n.__esModule||n[Symbol.toStringTag]==="Module"||n.default&&AT(n.default)}const yt=Object.assign;function wp(n,e){const t={};for(const i in e){const r=e[i];t[i]=Pi(r)?r.map(n):n(r)}return t}const gl=()=>{},Pi=Array.isArray,CT=/#/g,Wk=/&/g,Xk=/\//g,$k=/=/g,qk=/\?/g,RT=/\+/g,Yk=/%5B/g,jk=/%5D/g,PT=/%5E/g,Kk=/%60/g,IT=/%7B/g,Zk=/%7C/g,LT=/%7D/g,Jk=/%20/g;function g_(n){return encodeURI(""+n).replace(Zk,"|").replace(Yk,"[").replace(jk,"]")}function Qk(n){return g_(n).replace(IT,"{").replace(LT,"}").replace(PT,"^")}function Rm(n){return g_(n).replace(RT,"%2B").replace(Jk,"+").replace(CT,"%23").replace(Wk,"%26").replace(Kk,"`").replace(IT,"{").replace(LT,"}").replace(PT,"^")}function eV(n){return Rm(n).replace($k,"%3D")}function tV(n){return g_(n).replace(CT,"%23").replace(qk,"%3F")}function nV(n){return n==null?"":tV(n).replace(Xk,"%2F")}function Kl(n){try{return decodeURIComponent(""+n)}catch{}return""+n}const iV=/\/$/,rV=n=>n.replace(iV,"");function Ap(n,e,t="/"){let i,r={},s="",o="";const a=e.indexOf("#");let l=e.indexOf("?");return 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=lV(i??e,t),{fullPath:i+(s&&"?")+s+o,path:i,query:r,hash:Kl(o)}}function sV(n,e){const t=e.query?n(e.query):"";return e.path+(t&&"?")+t+(e.hash||"")}function Uy(n,e){return!e||!n.toLowerCase().startsWith(e.toLowerCase())?n:n.slice(e.length)||"/"}function oV(n,e,t){const i=e.matched.length-1,r=t.matched.length-1;return i>-1&&i===r&&fa(e.matched[i],t.matched[r])&&DT(e.params,t.params)&&n(e.query)===n(t.query)&&e.hash===t.hash}function fa(n,e){return(n.aliasOf||n)===(e.aliasOf||e)}function DT(n,e){if(Object.keys(n).length!==Object.keys(e).length)return!1;for(const t in n)if(!aV(n[t],e[t]))return!1;return!0}function aV(n,e){return Pi(n)?Fy(n,e):Pi(e)?Fy(e,n):n===e}function Fy(n,e){return Pi(e)?n.length===e.length&&n.every((t,i)=>t===e[i]):n.length===1&&n[0]===e}function lV(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;o1&&s--;else break;return t.slice(0,s).join("/")+"/"+i.slice(o).join("/")}const zr={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var Zl;(function(n){n.pop="pop",n.push="push"})(Zl||(Zl={}));var _l;(function(n){n.back="back",n.forward="forward",n.unknown=""})(_l||(_l={}));function cV(n){if(!n)if(Ho){const e=document.querySelector("base");n=e&&e.getAttribute("href")||"/",n=n.replace(/^\w+:\/\/[^\/]+/,"")}else n="/";return n[0]!=="/"&&n[0]!=="#"&&(n="/"+n),rV(n)}const uV=/^[^#]+#/;function fV(n,e){return n.replace(uV,"#")+e}function hV(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 ad=()=>({left:window.scrollX,top:window.scrollY});function dV(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=hV(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 By(n,e){return(history.state?history.state.position-e:-1)+n}const Pm=new Map;function pV(n,e){Pm.set(n,e)}function mV(n){const e=Pm.get(n);return Pm.delete(n),e}let gV=()=>location.protocol+"//"+location.host;function OT(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),Uy(l,"")}return Uy(t,n)+i+r}function _V(n,e,t,i){let r=[],s=[],o=null;const a=({state:h})=>{const d=OT(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:Zl.pop,direction:g?g>0?_l.forward:_l.back:_l.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(yt({},h.state,{scroll:ad()}),"")}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 ky(n,e,t,i=!1,r=!1){return{back:n,current:e,forward:t,replaced:i,position:window.history.length,scroll:r?ad():null}}function vV(n){const{history:e,location:t}=window,i={value:OT(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:gV()+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=yt({},e.state,ky(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=yt({},r.value,e.state,{forward:l,scroll:ad()});s(u.current,u,!0);const f=yt({},ky(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 yV(n){n=cV(n);const e=vV(n),t=_V(n,e.state,e.location,e.replace);function i(s,o=!0){o||t.pauseListeners(),history.go(s)}const r=yt({location:"",base:n,go:i,createHref:fV.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 xV(n){return n=location.host?n||location.pathname+location.search:"",n.includes("#")||(n+="#"),yV(n)}function bV(n){return typeof n=="string"||n&&typeof n=="object"}function NT(n){return typeof n=="string"||typeof n=="symbol"}const UT=Symbol("");var Vy;(function(n){n[n.aborted=4]="aborted",n[n.cancelled=8]="cancelled",n[n.duplicated=16]="duplicated"})(Vy||(Vy={}));function ha(n,e){return yt(new Error,{type:n,[UT]:!0},e)}function ar(n,e){return n instanceof Error&&UT in n&&(e==null||!!(n.type&e))}const zy="[^/]+?",SV={sensitive:!1,strict:!1,start:!0,end:!0},MV=/[.+*?^${}()[\]/\\]/g;function EV(n,e){const t=yt({},SV,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;fe.length?e.length===1&&e[0]===80?1:-1:0}function FT(n,e){let t=0;const i=n.score,r=e.score;for(;t0&&e[e.length-1]<0}const wV={type:0,value:""},AV=/[a-zA-Z0-9_]/;function CV(n){if(!n)return[[]];if(n==="/")return[[wV]];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{o(x)}:gl}function o(f){if(NT(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=DV(f,t);t.splice(h,0,f),f.record.name&&!Xy(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 ha(1,{location:f});g=d.record.name,p=yt(Gy(h.params,d.keys.filter(x=>!x.optional).concat(d.parent?d.parent.keys.filter(x=>x.optional):[]).map(x=>x.name)),f.params&&Gy(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 ha(1,{location:f,currentLocation:h});g=d.record.name,p=yt({},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:LV(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 Gy(n,e){const t={};for(const i of e)i in n&&(t[i]=n[i]);return t}function Wy(n){const e={path:n.path,redirect:n.redirect,name:n.name,meta:n.meta||{},aliasOf:n.aliasOf,beforeEnter:n.beforeEnter,props:IV(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 IV(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 Xy(n){for(;n;){if(n.record.aliasOf)return!0;n=n.parent}return!1}function LV(n){return n.reduce((e,t)=>yt(e,t.meta),{})}function $y(n,e){const t={};for(const i in n)t[i]=i in e?e[i]:n[i];return t}function DV(n,e){let t=0,i=e.length;for(;t!==i;){const s=t+i>>1;FT(n,e[s])<0?i=s:t=s+1}const r=OV(n);return r&&(i=e.lastIndexOf(r,i-1)),i}function OV(n){let e=n;for(;e=e.parent;)if(BT(e)&&FT(n,e)===0)return e}function BT({record:n}){return!!(n.name||n.components&&Object.keys(n.components).length||n.redirect)}function NV(n){const e={};if(n===""||n==="?")return e;const i=(n[0]==="?"?n.slice(1):n).split("&");for(let r=0;rs&&Rm(s)):[i&&Rm(i)]).forEach(s=>{s!==void 0&&(e+=(e.length?"&":"")+t,s!=null&&(e+="="+s))})}return e}function UV(n){const e={};for(const t in n){const i=n[t];i!==void 0&&(e[t]=Pi(i)?i.map(r=>r==null?null:""+r):i==null?i:""+i)}return e}const FV=Symbol(""),Yy=Symbol(""),ld=Symbol(""),kT=Symbol(""),Im=Symbol("");function za(){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 jr(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(ha(4,{from:t,to:e})):h instanceof Error?l(h):bV(h)?l(ha(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 Cp(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(AT(l)){const u=(l.__vccOpts||l)[e];u&&s.push(jr(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=Gk(u)?u.default:u;o.mods[a]=u,o.components[a]=f;const d=(f.__vccOpts||f)[e];return d&&jr(d,t,i,o,a,r)()}))}}return s}function jy(n){const e=gn(ld),t=gn(kT),i=Se(()=>{const l=It(n.to);return e.resolve(l)}),r=Se(()=>{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(fa.bind(null,u));if(h>-1)return h;const d=Ky(l[c-2]);return c>1&&Ky(u)===d&&f[f.length-1].path!==d?f.findIndex(fa.bind(null,l[c-2])):h}),s=Se(()=>r.value>-1&&HV(t.params,i.value.params)),o=Se(()=>r.value>-1&&r.value===t.matched.length-1&&DT(t.params,i.value.params));function a(l={}){if(zV(l)){const c=e[It(n.replace)?"replace":"push"](It(n.to)).catch(gl);return n.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>c),c}return Promise.resolve()}return{route:i,href:Se(()=>i.value.href),isActive:s,isExactActive:o,navigate:a}}function BV(n){return n.length===1?n[0]:n}const kV=rn({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:jy,setup(n,{slots:e}){const t=hi(jy(n)),{options:i}=gn(ld),r=Se(()=>({[Zy(n.activeClass,i.linkActiveClass,"router-link-active")]:t.isActive,[Zy(n.exactActiveClass,i.linkExactActiveClass,"router-link-exact-active")]:t.isExactActive}));return()=>{const s=e.default&&BV(e.default(t));return n.custom?s:Mr("a",{"aria-current":t.isExactActive?n.ariaCurrentValue:null,href:t.href,onClick:t.navigate,class:r.value},s)}}}),VV=kV;function zV(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 HV(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(!Pi(r)||r.length!==i.length||i.some((s,o)=>s!==r[o]))return!1}return!0}function Ky(n){return n?n.aliasOf?n.aliasOf.path:n.path:""}const Zy=(n,e,t)=>n??e??t,GV=rn({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(n,{attrs:e,slots:t}){const i=gn(Im),r=Se(()=>n.route||i.value),s=gn(Yy,0),o=Se(()=>{let c=It(s);const{matched:u}=r.value;let f;for(;(f=u[c])&&!f.components;)c++;return c}),a=Se(()=>r.value.matched[o.value]);es(Yy,Se(()=>o.value+1)),es(FV,a),es(Im,r);const l=Ze();return Ge(()=>[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||!fa(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 Jy(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=Mr(h,yt({},p,e,{onVnodeUnmounted:m=>{m.component.isUnmounted&&(f.instances[u]=null)},ref:l}));return Jy(t.default,{Component:g,route:c})||g}}});function Jy(n,e){if(!n)return null;const t=n(e);return t.length===1?t[0]:t}const VT=GV;function WV(n){const e=PV(n.routes,n),t=n.parseQuery||NV,i=n.stringifyQuery||qy,r=n.history,s=za(),o=za(),a=za(),l=Ie(zr);let c=zr;Ho&&n.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=wp.bind(null,W=>""+W),f=wp.bind(null,nV),h=wp.bind(null,Kl);function d(W,ae){let ue,le;return NT(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=yt({},ae||l.value),typeof W=="string"){const w=Ap(t,W,ae.path),j=e.resolve({path:w.path},ae),G=r.createHref(w.fullPath);return yt(w,j,{params:h(j.params),hash:Kl(w.hash),redirectedFrom:void 0,href:G})}let ue;if(W.path!=null)ue=yt({},W,{path:Ap(t,W.path,ae.path).path});else{const w=yt({},W.params);for(const j in w)w[j]==null&&delete w[j];ue=yt({},W,{params:f(w)}),ae.params=f(ae.params)}const le=e.resolve(ue,ae),Oe=W.hash||"";le.params=u(h(le.params));const I=sV(i,yt({},W,{hash:Qk(Oe),path:le.path})),L=r.createHref(I);return yt({fullPath:I,hash:Oe,query:i===qy?UV(W.query):W.query||{}},le,{redirectedFrom:void 0,href:L})}function y(W){return typeof W=="string"?Ap(t,W,l.value.path):yt({},W)}function x(W,ae){if(c!==W)return ha(8,{from:ae,to:W})}function v(W){return M(W)}function E(W){return v(yt(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={}),yt({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,Oe=W.state,I=W.force,L=W.replace===!0,w=T(ue);if(w)return M(yt(y(w),{state:typeof w=="object"?yt({},Oe,w.state):Oe,force:I,replace:L}),ae||ue);const j=ue;j.redirectedFrom=ae;let G;return!I&&oV(i,le,ue)&&(G=ha(16,{to:j,from:le}),re(le,le,!0,!1)),(G?Promise.resolve(G):S(j,le)).catch(q=>ar(q)?ar(q,2)?q:ve(q):Q(q,j,le)).then(q=>{if(q){if(ar(q,2))return M(yt({replace:L},y(q.to),{state:typeof q.to=="object"?yt({},Oe,q.to.state):Oe,force:I}),ae||j)}else q=B(j,le,!0,L,Oe);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,Oe,I]=XV(W,ae);ue=Cp(le.reverse(),"beforeRouteLeave",W,ae);for(const w of le)w.leaveGuards.forEach(j=>{ue.push(jr(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(jr(w,W,ae));return ue.push(L),be(ue)}).then(()=>{ue=Cp(Oe,"beforeRouteUpdate",W,ae);for(const w of Oe)w.updateGuards.forEach(j=>{ue.push(jr(j,W,ae))});return ue.push(L),be(ue)}).then(()=>{ue=[];for(const w of I)if(w.beforeEnter)if(Pi(w.beforeEnter))for(const j of w.beforeEnter)ue.push(jr(j,W,ae));else ue.push(jr(w.beforeEnter,W,ae));return ue.push(L),be(ue)}).then(()=>(W.matched.forEach(w=>w.enterCallbacks={}),ue=Cp(I,"beforeRouteEnter",W,ae,b),ue.push(L),be(ue))).then(()=>{ue=[];for(const w of o.list())ue.push(jr(w,W,ae));return ue.push(L),be(ue)}).catch(w=>ar(w,8)?w:Promise.reject(w))}function D(W,ae,ue){a.list().forEach(le=>b(()=>le(W,ae,ue)))}function B(W,ae,ue,le,Oe){const I=x(W,ae);if(I)return I;const L=ae===zr,w=Ho?history.state:{};ue&&(le||L?r.replace(W.fullPath,yt({scroll:L&&w&&w.scroll},Oe)):r.push(W.fullPath,Oe)),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),Oe=T(le);if(Oe){M(yt(Oe,{replace:!0,force:!0}),le).catch(gl);return}c=le;const I=l.value;Ho&&pV(By(I.fullPath,ue.delta),ad()),S(le,I).catch(L=>ar(L,12)?L:ar(L,2)?(M(yt(y(L.to),{force:!0}),le).then(w=>{ar(w,20)&&!ue.delta&&ue.type===Zl.pop&&r.go(-1,!1)}).catch(gl),Promise.reject()):(ue.delta&&r.go(-ue.delta,!1),Q(L,le,I))).then(L=>{L=L||B(le,I,!1),L&&(ue.delta&&!ar(L,8)?r.go(-ue.delta,!1):ue.type===Zl.pop&&ar(L,20)&&r.go(-1,!1)),D(le,I,L)}).catch(gl)}))}let ee=za(),Z=za(),te;function Q(W,ae,ue){ve(W);const le=Z.list();return le.length?le.forEach(Oe=>Oe(W,ae,ue)):console.error(W),Promise.reject(W)}function pe(){return te&&l.value!==zr?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:Oe}=n;if(!Ho||!Oe)return Promise.resolve();const I=!ue&&mV(By(W.fullPath,0))||(le||!ue)&&history.state&&history.state.scroll||null;return us().then(()=>Oe(W,ae,I)).then(L=>L&&dV(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",VV),W.component("RouterView",VT),W.config.globalProperties.$router=ae,Object.defineProperty(W.config.globalProperties,"$route",{enumerable:!0,get:()=>It(l)}),Ho&&!ze&&l.value===zr&&(ze=!0,v(r.location).catch(Oe=>{}));const ue={};for(const Oe in zr)Object.defineProperty(ue,Oe,{get:()=>l.value[Oe],enumerable:!0});W.provide(ld,ae),W.provide(kT,eb(ue)),W.provide(Im,l);const le=W.unmount;se.add(W),W.unmount=function(){se.delete(W),se.size<1&&(c=zr,H&&H(),H=null,l.value=zr,ze=!1,te=!1),le()}}};function be(W){return W.reduce((ae,ue)=>ae.then(()=>b(ue)),Promise.resolve())}return ge}function XV(n,e){const t=[],i=[],r=[],s=Math.max(e.matched.length,n.matched.length);for(let o=0;ofa(c,a))?i.push(a):t.push(a));const l=n.matched[o];l&&(e.matched.find(c=>fa(c,l))||r.push(l))}return[t,i,r]}function $V(){return gn(ld)}const qV=[{path:"/",name:"/",component:()=>vt(()=>import("./index-RZLbRnwi.js"),__vite__mapDeps([3,4,5,6,7,8,9,10,11,12,13,14,1,2,15,16,17,18,19])),meta:{layout:"stage",stageTransition:{name:"bubble-wave-out"}}},{path:"/:all(.*)",name:"/[...all]",component:()=>vt(()=>import("./_...all_-BYDjmnMZ.js"),[])},{path:"/audio",name:"/audio",component:()=>vt(()=>import("./audio-CglRpjja.js"),[])},{path:"/devtools",children:[{path:"image",name:"/devtools/image",component:()=>vt(()=>import("./image-BFK0_KQt.js"),__vite__mapDeps([20,21]))}]},{path:"/queue",name:"/queue",component:()=>vt(()=>import("./queue-qW-_jKlt.js"),__vite__mapDeps([22,9]))},{path:"/settings",children:[{path:"",name:"/settings/",component:()=>vt(()=>import("./index-DRaZTffb.js"),__vite__mapDeps([23,4,5,18])),meta:{stageTransition:{name:"slide"}}},{path:"models",children:[{path:"",name:"/settings/models/",component:()=>vt(()=>import("./index-B0UB0qBu.js"),__vite__mapDeps([24,12,4,5,13,14,18])),meta:{stageTransition:{name:"slide"}}}]},{path:"modules",children:[{path:"",name:"/settings/modules/",component:()=>vt(()=>import("./index-1lpZ5aj4.js"),__vite__mapDeps([25,4,5,26,18])),meta:{stageTransition:{name:"slide"}}},{path:"consciousness",name:"/settings/modules/consciousness",component:()=>vt(()=>import("./consciousness-C5ltYV2M.js"),__vite__mapDeps([27,4,5,28,14,15,8,18])),meta:{stageTransition:{name:"slide"}}},{path:"speech",name:"/settings/modules/speech",component:()=>vt(()=>import("./speech-B9jHBLud.js"),__vite__mapDeps([29,4,5,28,14,30,8,11,18])),meta:{stageTransition:{name:"slide"}}}]},{path:"providers",children:[{path:"",name:"/settings/providers/",component:()=>vt(()=>import("./index-qBS2d6Vp.js"),__vite__mapDeps([31,4,5,8,26,18])),meta:{stageTransition:{name:"slide"}}},{path:"cloudflare-workers-ai",name:"/settings/providers/cloudflare-workers-ai",component:()=>vt(()=>import("./cloudflare-workers-ai-CkfABEE1.js"),__vite__mapDeps([32,4,5,8,33]))},{path:"deepseek",name:"/settings/providers/deepseek",component:()=>vt(()=>import("./deepseek-D6RZa5Ut.js"),__vite__mapDeps([34,4,5,8,35,13,14,33]))},{path:"elevenlabs",name:"/settings/providers/elevenlabs",component:()=>vt(()=>import("./elevenlabs-BGwDjYMD.js"),__vite__mapDeps([36,4,5,8,11,35,13,14,33,30,7]))},{path:"fireworks-ai",name:"/settings/providers/fireworks-ai",component:()=>vt(()=>import("./fireworks-ai-BbF0z9CY.js"),__vite__mapDeps([37,4,5,8,35,13,14,33]))},{path:"mistral-ai",name:"/settings/providers/mistral-ai",component:()=>vt(()=>import("./mistral-ai-j1To1qN7.js"),__vite__mapDeps([38,4,5,8,35,13,14,33]))},{path:"moonshot-ai",name:"/settings/providers/moonshot-ai",component:()=>vt(()=>import("./moonshot-ai-CuFTtj7s.js"),__vite__mapDeps([39,4,5,8,35,13,14,33]))},{path:"novita-ai",name:"/settings/providers/novita-ai",component:()=>vt(()=>import("./novita-ai-NTmrY5rm.js"),__vite__mapDeps([40,4,5,8,35,13,14,33]))},{path:"openai",name:"/settings/providers/openai",component:()=>vt(()=>import("./openai-DudedIoe.js"),__vite__mapDeps([41,4,5,8,35,13,14,33]))},{path:"openrouter-ai",name:"/settings/providers/openrouter-ai",component:()=>vt(()=>import("./openrouter-ai-C6uzw4fG.js"),__vite__mapDeps([42,4,5,8,35,13,14,33]))},{path:"together-ai",name:"/settings/providers/together-ai",component:()=>vt(()=>import("./together-ai-WlPDiAFs.js"),__vite__mapDeps([43,4,5,8,35,13,14,33]))},{path:"xai",name:"/settings/providers/xai",component:()=>vt(()=>import("./xai-fGRWdwYb.js"),__vite__mapDeps([44,4,5,8,35,13,14,33]))}]},{path:"themes",children:[{path:"",name:"/settings/themes/",component:()=>vt(()=>import("./index-v53FFL-b.js"),__vite__mapDeps([45,13,14,4,5,18,46])),meta:{stageTransition:{name:"slide"}}}]}]},{path:"/test",children:[{path:"filter-message",name:"/test/filter-message",component:()=>vt(()=>import("./filter-message-Bj529E2Y.js"),[])},{path:"queues",children:[{path:"delays",name:"/test/queues/delays",component:()=>vt(()=>import("./delays-DXpMk45q.js"),__vite__mapDeps([47,10,4,5,9,16]))},{path:"emotions",name:"/test/queues/emotions",component:()=>vt(()=>import("./emotions-Bnj-x7_A.js"),__vite__mapDeps([48,10,4,5,9]))},{path:"messages",name:"/test/queues/messages",component:()=>vt(()=>import("./messages-ChW4zKHs.js"),__vite__mapDeps([49,10,4,5,9]))}]}]},{path:"/v2",name:"/v2",component:()=>vt(()=>import("./v2-C1BS9DMI.js"),__vite__mapDeps([50,4,5,6,7,8,9,10,11,12,13,14,1,2,15,16,17,18])),meta:{layout:"default"}}],YV=178.17,jV=Vk("settings",()=>{const n=Ze(),e=Vr("settings/language","en-US"),t=Vr("settings/stage/view/model-renderer","2d"),i=Vr("settings/audio/input","true"),r=Se(()=>{var m;return(m=n.value)==null?void 0:m.deviceId}),{audioInputs:s}=WU({constraints:{audio:!0},requestPermissions:!0}),o=Ze(),a=Ze("/assets/live2d/models/hiyori_pro_zh.zip"),l=Ze("url"),c=Ze(!1),u=Vr("settings/live2d/position",{x:0,y:0}),f=Ze({group:"Idle",index:0}),h=Ze([]),d=Vr("settings/live2d/motion-map",{}),p=Vr("settings/disable-transitions",!1),_=Vr("settings/theme/colors/hue",YV),g=Vr("settings/theme/colors/hue-dynamic",!1);return Ge(i,m=>{m==="false"&&(n.value=void 0),m==="true"&&(n.value=s.value[0])}),yn(()=>{i.value==="true"&&!n.value&&(n.value=s.value[0])}),Ge(s,()=>{i.value==="true"&&!n.value&&(n.value=s.value[0])}),{live2dModelFile:o,live2dModelUrl:a,live2dLoadSource:l,live2dCurrentMotion:f,live2dPosition:u,availableLive2dMotions:h,live2dMotionMap:d,loadingLive2dModel:c,disableTransitions:p,language:e,stageView:t,themeColorsHue:_,themeColorsHueDynamic:g,isAudioInputOn:i,selectedAudioDevice:n,selectedAudioDeviceId:r}}),KV=rn({__name:"ArrowTransition",props:{stageTransition:{default:()=>({primaryColor:"#666",secondaryColor:"#ccc"})}},setup(n){const e=n,t=Se(()=>e.stageTransition),i=Se(()=>t.value.primaryColor||"#666"),r=Se(()=>t.value.secondaryColor||"#ccc");return yn(()=>{document.documentElement.style.setProperty("--stage-transition-3-overlay-color-1",i.value),document.documentElement.style.setProperty("--stage-transition-3-overlay-color-2",r.value)}),(s,o)=>(ln(),ui("div",{class:"stage-transition-3",style:mi({zIndex:t.value.zIndex||100})},null,4))}}),yo=(n,e)=>{const t=n.__vccOpts||n;for(const[i,r]of e)t[i]=r;return t},ZV=yo(KV,[["__scopeId","data-v-df576df0"]]),JV=rn({__name:"BubbleWaveOutTransition",props:{stageTransition:null},setup(n){const e=n,t=Se(()=>{var i;return((i=e.stageTransition)==null?void 0:i.colors)||["#eee","#ebcb8b","#c56370","#3f3b52"]});return yn(()=>{var i,r;document.documentElement.style.setProperty("--circle-expansion-delay",`${((i=e.stageTransition)==null?void 0:i.delay)||0}s`),document.documentElement.style.setProperty("--circle-expansion-duration",`${((r=e.stageTransition)==null?void 0:r.duration)||.4}s`),t.value.forEach((s,o)=>{document.documentElement.style.setProperty(`--circle-expansion-color-${o+1}`,s)})}),(i,r)=>{var s;return ln(),ui("div",{class:"circle-expansion-transition",style:mi({zIndex:((s=n.stageTransition)==null?void 0:s.zIndex)||100})},[(ln(!0),ui(Xt,null,bA(t.value,(o,a)=>(ln(),ui("div",{key:a}))),128))],4)}}}),QV=yo(JV,[["__scopeId","data-v-0c29056c"]]),ez=rn({__name:"FantasyFallTransition",props:{stageTransition:null},setup(n){const e=n,t=Se(()=>{var r;return((r=e.stageTransition)==null?void 0:r.direction)||"up"}),i=Se(()=>`fantasy-fall-${t.value}`);return yn(()=>{var r,s,o,a,l,c,u,f,h;document.documentElement.style.setProperty("--fantasy-fall-color",((r=e.stageTransition)==null?void 0:r.primaryColor)||"#eee"),document.documentElement.style.setProperty("--fantasy-fall-duration",`${((s=e.stageTransition)==null?void 0:s.duration)||.6}s`),document.documentElement.style.setProperty("--fantasy-fall-delay",`${((o=e.stageTransition)==null?void 0:o.delay)||0}s`),document.documentElement.style.setProperty("--fantasy-fall-radius-sm",`${((l=(a=e.stageTransition)==null?void 0:a.borderRadius)==null?void 0:l.sm)||"14rem"}`),document.documentElement.style.setProperty("--fantasy-fall-radius-md",`${((u=(c=e.stageTransition)==null?void 0:c.borderRadius)==null?void 0:u.md)||"14rem"}`),document.documentElement.style.setProperty("--fantasy-fall-radius-lg",`${((h=(f=e.stageTransition)==null?void 0:f.borderRadius)==null?void 0:h.lg)||"50%"}`)}),(r,s)=>{var o;return ln(),ui("div",{class:ga(["fantasy-fall-transition",i.value]),style:mi({zIndex:((o=n.stageTransition)==null?void 0:o.zIndex)??100})},null,6)}}}),tz=yo(ez,[["__scopeId","data-v-e62bf496"]]),nz=rn({__name:"MultipleBlocksRevealTransition",props:{stageTransition:null},setup(n){const e=n,t=Se(()=>e.stageTransition),i=Se(()=>{var s;return((s=t.value)==null?void 0:s.primaryColor)||"#666"}),r=Se(()=>{var s;return((s=t.value)==null?void 0:s.secondaryColor)||"#ccc"});return yn(()=>{document.documentElement.style.setProperty("--stage-transition-4-overlay-color-1",i.value),document.documentElement.style.setProperty("--stage-transition-4-overlay-color-2",r.value)}),(s,o)=>{var a;return ln(),ui("div",{class:"stage-transition-4",style:mi({zIndex:((a=t.value)==null?void 0:a.zIndex)??100})},o[0]||(o[0]=[e1('
',5)]),4)}}}),iz=yo(nz,[["__scopeId","data-v-6d1179fc"]]),rz=rn({__name:"SlideTransition",props:{stageTransition:null},setup(n){const e=n,t=Se(()=>e.stageTransition),i=Se(()=>{var s;return((s=t.value)==null?void 0:s.primaryColor)||"#666"}),r=Se(()=>{var s;return((s=t.value)==null?void 0:s.secondaryColor)||"#ccc"});return Ge([t,i,r],()=>{document.documentElement.style.setProperty("--stage-transition-1-overlay-color-1",i.value),document.documentElement.style.setProperty("--stage-transition-1-overlay-color-2",r.value)}),yn(()=>{document.documentElement.style.setProperty("--stage-transition-1-overlay-color-1",i.value),document.documentElement.style.setProperty("--stage-transition-1-overlay-color-2",r.value)}),(s,o)=>{var a;return ln(),ui("div",{class:"stage-transition-1",style:mi({zIndex:((a=t.value)==null?void 0:a.zIndex)??100})},null,4)}}}),sz=yo(rz,[["__scopeId","data-v-bf1d1566"]]),oz=rn({__name:"SlopeSlideTransition",props:{stageTransition:null},setup(n){const e=n,t=Se(()=>e.stageTransition),i=Se(()=>{var s;return((s=t.value)==null?void 0:s.primaryColor)??"#666"}),r=Se(()=>{var s;return((s=t.value)==null?void 0:s.secondaryColor)??"#ccc"});return yn(()=>{document.documentElement.style.setProperty("--stage-transition-2-overlay-color-1",i.value),document.documentElement.style.setProperty("--stage-transition-2-overlay-color-2",r.value)}),(s,o)=>{var a;return ln(),ui("div",{class:"stage-transition-2",style:mi({zIndex:((a=t.value)==null?void 0:a.zIndex)??100})},null,4)}}}),az=yo(oz,[["__scopeId","data-v-8ff7120f"]]),lz=rn({__name:"RectanglesRotateTransition",props:{stageTransition:null},setup(n){const e=n;return yn(()=>{var t,i,r,s,o,a,l;document.documentElement.style.setProperty("--rectangle-rotate-1-color",((t=e.stageTransition)==null?void 0:t.primaryColor)||"#ebcb8b"),document.documentElement.style.setProperty("--rectangle-rotate-2-color",((i=e.stageTransition)==null?void 0:i.secondaryColor)||"#c56370"),document.documentElement.style.setProperty("--rectangle-rotate-3-color",((r=e.stageTransition)==null?void 0:r.tertiaryColor)||"#43445b"),document.documentElement.style.setProperty("--rectangle-rotate-duration",`${((s=e.stageTransition)==null?void 0:s.duration)||.6}s`),document.documentElement.style.setProperty("--rectangle-rotate-delay",`${((o=e.stageTransition)==null?void 0:o.delay)||0}s`),document.documentElement.style.setProperty("--rectangle-rotate-stagger",`${((a=e.stageTransition)==null?void 0:a.staggerDelay)||.1}s`),document.documentElement.style.setProperty("--rectangle-rotate-rotation",`${((l=e.stageTransition)==null?void 0:l.rotation)||270}deg`)}),(t,i)=>{var r;return ln(),ui("div",{class:"rectangle-rotate-transition",style:mi({zIndex:((r=n.stageTransition)==null?void 0:r.zIndex)??100})},i[0]||(i[0]=[$r("div",{class:"rectangle rectangle-rotate-1"},[$r("div")],-1),$r("div",{class:"rectangle rectangle-rotate-2"},[$r("div")],-1),$r("div",{class:"rectangle rectangle-rotate-3"},[$r("div")],-1)]),4)}}}),cz=yo(lz,[["__scopeId","data-v-f4b1dc64"]]),uz=rn({__name:"StageTransitionGroup",props:{primaryColor:null,secondaryColor:null,tertiaryColor:null,colors:null,zIndex:null,disableTransitions:{type:Boolean}},setup(n){const e=n,t=$V(),i=Ze(!1),r=Ze(),s=Ze(""),o=Ze(),a=Ie({slide:{component:sz,duration:2700},"slope-slide":{component:az,duration:2700},arrow:{component:ZV,duration:2700},"multiple-blocks-reveal":{component:iz,duration:2800},"fantasy-fall":{component:tz,duration:2700},"rectangles-rotate":{component:cz,duration:2700},"bubble-wave-out":{component:QV,duration:1e3}}),l=Ze([]);function c(d){return l.value.push(d),()=>{const p=l.value.indexOf(d);p>=0&&l.value.splice(p,1)}}async function u(d,p={}){r.value=d;for(const _ of l.value)try{await Promise.resolve(_(d,p))}catch(g){console.error(`Error in transition hook at stage "${d}":`,g)}}async function f(d,p,_){if(d.name==="none"||!d.name){p(),_();return}const g=a.value[d.name];if(!g){console.error(`Transition ${d.name} not found`),p(),_();return}const m=g.nextDelay!==void 0?g.nextDelay:g.duration/3;let y=!1;const v=c(E=>{E==="navigation"&&!y&&(y=!0,p())});try{await u("before-enter",{transitionName:d.name}),i.value&&(await u("before-leave",{transitionName:s.value}),s.value="",o.value=void 0,i.value=!1,await u("after-leave",{transitionName:s.value}),await new Promise(T=>setTimeout(T,50))),s.value=d.name,o.value=d,i.value=!0,await u("enter-active",{transitionName:name}),setTimeout(async()=>{await u("navigation",{transitionName:d.name,config:g}),y||(y=!0,p())},m),setTimeout(async()=>{await u("after-enter",{transitionName:d.name})},g.duration),setTimeout(async()=>{await u("before-leave",{transitionName:d.name})},g.duration+10),setTimeout(async()=>{await u("leave-active",{transitionName:d.name})},g.duration+20);const E=g.exitDuration??0;setTimeout(async()=>{i.value=!1,s.value="",o.value=void 0,await u("after-leave",{transitionName:d.name}),_()},g.duration+E)}catch(E){console.error(E)}finally{v(),setTimeout(()=>{y||(y=!0,p())},g.duration*2)}}function h(d,p){return new Promise(_=>{f(d,p,_)})}return t.beforeEach((d,p,_)=>{if(typeof d.meta.stageTransition!="object"){_();return}const g=d.meta.stageTransition;if(typeof e.primaryColor<"u"&&(g.primaryColor=e.primaryColor),typeof e.secondaryColor<"u"&&(g.secondaryColor=e.secondaryColor),typeof e.tertiaryColor<"u"&&(g.tertiaryColor=e.tertiaryColor),typeof e.colors<"u"&&(g.colors=e.colors),typeof e.zIndex<"u"&&(g.zIndex=e.zIndex),e.disableTransitions){_();return}h(g,_)}),(d,p)=>(ln(),ui(Xt,null,[SA(d.$slots,"default"),i.value?(ln(),ui(Xt,{key:0},[a.value[s.value]?(ln(),El(xA(a.value[s.value].component),{key:0,"stage-transition":o.value},null,8,["stage-transition"])):Z_("",!0)],64)):Z_("",!0)],64))}});/*! * shared v11.1.2 * (c) 2025 kazuya kawaguchi * Released under the MIT License. - */const nh=typeof window<"u",ms=(n,e=!1)=>e?Symbol.for(n):Symbol(n),fV=(n,e,t)=>hV({l:n,k:e,s:t}),hV=n=>JSON.stringify(n).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),qt=n=>typeof n=="number"&&isFinite(n),dV=n=>v_(n)==="[object Date]",ih=n=>v_(n)==="[object RegExp]",cd=n=>lt(n)&&Object.keys(n).length===0,nn=Object.assign,pV=Object.create,Tt=(n=null)=>pV(n);let Qy;const __=()=>Qy||(Qy=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:Tt());function ex(n){return n.replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}const mV=Object.prototype.hasOwnProperty;function Ti(n,e){return mV.call(n,e)}const Kt=Array.isArray,Dt=n=>typeof n=="function",De=n=>typeof n=="string",Ot=n=>typeof n=="boolean",mt=n=>n!==null&&typeof n=="object",gV=n=>mt(n)&&Dt(n.then)&&Dt(n.catch),VT=Object.prototype.toString,v_=n=>VT.call(n),lt=n=>v_(n)==="[object Object]",_V=n=>n==null?"":Kt(n)||lt(n)&&n.toString===VT?JSON.stringify(n,null,2):String(n);function y_(n,e=""){return n.reduce((t,i,r)=>r===0?t+i:t+e+i,"")}function vV(n,e){typeof console<"u"&&(console.warn("[intlify] "+n),e&&console.warn(e.stack))}const Ou=n=>!mt(n)||Kt(n);function Ju(n,e){if(Ou(n)||Ou(e))throw new Error("Invalid value");const t=[{src:n,des:e}];for(;t.length;){const{src:i,des:r}=t.pop();Object.keys(i).forEach(s=>{s!=="__proto__"&&(mt(i[s])&&!mt(r[s])&&(r[s]=Array.isArray(i[s])?[]:Tt()),Ou(r[s])||Ou(i[s])?r[s]=i[s]:t.push({src:i[s],des:r[s]}))})}}/*! + */const nh=typeof window<"u",ms=(n,e=!1)=>e?Symbol.for(n):Symbol(n),fz=(n,e,t)=>hz({l:n,k:e,s:t}),hz=n=>JSON.stringify(n).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),qt=n=>typeof n=="number"&&isFinite(n),dz=n=>v_(n)==="[object Date]",ih=n=>v_(n)==="[object RegExp]",cd=n=>lt(n)&&Object.keys(n).length===0,nn=Object.assign,pz=Object.create,Tt=(n=null)=>pz(n);let Qy;const __=()=>Qy||(Qy=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:Tt());function ex(n){return n.replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}const mz=Object.prototype.hasOwnProperty;function Ti(n,e){return mz.call(n,e)}const Kt=Array.isArray,Ot=n=>typeof n=="function",De=n=>typeof n=="string",Nt=n=>typeof n=="boolean",mt=n=>n!==null&&typeof n=="object",gz=n=>mt(n)&&Ot(n.then)&&Ot(n.catch),zT=Object.prototype.toString,v_=n=>zT.call(n),lt=n=>v_(n)==="[object Object]",_z=n=>n==null?"":Kt(n)||lt(n)&&n.toString===zT?JSON.stringify(n,null,2):String(n);function y_(n,e=""){return n.reduce((t,i,r)=>r===0?t+i:t+e+i,"")}function vz(n,e){typeof console<"u"&&(console.warn("[intlify] "+n),e&&console.warn(e.stack))}const Ou=n=>!mt(n)||Kt(n);function Ju(n,e){if(Ou(n)||Ou(e))throw new Error("Invalid value");const t=[{src:n,des:e}];for(;t.length;){const{src:i,des:r}=t.pop();Object.keys(i).forEach(s=>{s!=="__proto__"&&(mt(i[s])&&!mt(r[s])&&(r[s]=Array.isArray(i[s])?[]:Tt()),Ou(r[s])||Ou(i[s])?r[s]=i[s]:t.push({src:i[s],des:r[s]}))})}}/*! * message-compiler v11.1.2 * (c) 2025 kazuya kawaguchi * Released under the MIT License. - */function yV(n,e,t){return{line:n,column:e,offset:t}}function Lm(n,e,t){return{start:n,end:e}}const St={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14},xV=17;function ud(n,e,t={}){const{domain:i,messages:r,args:s}=t,o=n,a=new SyntaxError(String(o));return a.code=n,e&&(a.location=e),a.domain=i,a}function bV(n){throw n}const lr=" ",SV="\r",Tn=` -`,MV="\u2028",EV="\u2029";function TV(n){const e=n;let t=0,i=1,r=1,s=0;const o=M=>e[M]===SV&&e[M+1]===Tn,a=M=>e[M]===Tn,l=M=>e[M]===EV,c=M=>e[M]===MV,u=M=>o(M)||a(M)||l(M)||c(M),f=()=>t,h=()=>i,d=()=>r,p=()=>s,_=M=>o(M)||l(M)||c(M)?Tn:e[M],g=()=>_(t),m=()=>_(t+s);function y(){return s=0,u(t)&&(i++,r=0),o(t)&&t++,t++,r++,e[t]}function x(){return o(t+s)&&s++,s++,e[t+s]}function v(){t=0,i=1,r=1,s=0}function E(M=0){s=M}function T(){const M=t+s;for(;M!==t;)y();s=0}return{index:f,line:h,column:d,peekOffset:p,charAt:_,currentChar:g,currentPeek:m,next:y,peek:x,reset:v,resetPeek:E,skipToPeek:T}}const Hr=void 0,wV=".",tx="'",AV="tokenizer";function CV(n,e={}){const t=e.location!==!1,i=TV(n),r=()=>i.index(),s=()=>yV(i.line(),i.column(),i.index()),o=s(),a=r(),l={currentType:13,offset:a,startLoc:o,endLoc:o,lastType:13,lastOffset:a,lastStartLoc:o,lastEndLoc:o,braceNest:0,inLinked:!1,text:""},c=()=>l,{onError:u}=e;function f(R,N,z,...A){const C=c();if(N.column+=z,N.offset+=z,u){const k=t?Lm(C.startLoc,N):null,U=ud(R,k,{domain:AV,args:A});u(U)}}function h(R,N,z){R.endLoc=s(),R.currentType=N;const A={type:N};return t&&(A.loc=Lm(R.startLoc,R.endLoc)),z!=null&&(A.value=z),A}const d=R=>h(R,13);function p(R,N){return R.currentChar()===N?(R.next(),N):(f(St.EXPECTED_TOKEN,s(),0,N),"")}function _(R){let N="";for(;R.currentPeek()===lr||R.currentPeek()===Tn;)N+=R.currentPeek(),R.peek();return N}function g(R){const N=_(R);return R.skipToPeek(),N}function m(R){if(R===Hr)return!1;const N=R.charCodeAt(0);return N>=97&&N<=122||N>=65&&N<=90||N===95}function y(R){if(R===Hr)return!1;const N=R.charCodeAt(0);return N>=48&&N<=57}function x(R,N){const{currentType:z}=N;if(z!==2)return!1;_(R);const A=m(R.currentPeek());return R.resetPeek(),A}function v(R,N){const{currentType:z}=N;if(z!==2)return!1;_(R);const A=R.currentPeek()==="-"?R.peek():R.currentPeek(),C=y(A);return R.resetPeek(),C}function E(R,N){const{currentType:z}=N;if(z!==2)return!1;_(R);const A=R.currentPeek()===tx;return R.resetPeek(),A}function T(R,N){const{currentType:z}=N;if(z!==7)return!1;_(R);const A=R.currentPeek()===".";return R.resetPeek(),A}function M(R,N){const{currentType:z}=N;if(z!==8)return!1;_(R);const A=m(R.currentPeek());return R.resetPeek(),A}function P(R,N){const{currentType:z}=N;if(!(z===7||z===11))return!1;_(R);const A=R.currentPeek()===":";return R.resetPeek(),A}function b(R,N){const{currentType:z}=N;if(z!==9)return!1;const A=()=>{const k=R.currentPeek();return k==="{"?m(R.peek()):k==="@"||k==="|"||k===":"||k==="."||k===lr||!k?!1:k===Tn?(R.peek(),A()):D(R,!1)},C=A();return R.resetPeek(),C}function S(R){_(R);const N=R.currentPeek()==="|";return R.resetPeek(),N}function D(R,N=!0){const z=(C=!1,k="")=>{const U=R.currentPeek();return U==="{"||U==="@"||!U?C:U==="|"?!(k===lr||k===Tn):U===lr?(R.peek(),z(!0,lr)):U===Tn?(R.peek(),z(!0,Tn)):!0},A=z();return N&&R.resetPeek(),A}function B(R,N){const z=R.currentChar();return z===Hr?Hr:N(z)?(R.next(),z):null}function H(R){const N=R.charCodeAt(0);return N>=97&&N<=122||N>=65&&N<=90||N>=48&&N<=57||N===95||N===36}function $(R){return B(R,H)}function ee(R){const N=R.charCodeAt(0);return N>=97&&N<=122||N>=65&&N<=90||N>=48&&N<=57||N===95||N===36||N===45}function Z(R){return B(R,ee)}function te(R){const N=R.charCodeAt(0);return N>=48&&N<=57}function Q(R){return B(R,te)}function pe(R){const N=R.charCodeAt(0);return N>=48&&N<=57||N>=65&&N<=70||N>=97&&N<=102}function ve(R){return B(R,pe)}function re(R){let N="",z="";for(;N=Q(R);)z+=N;return z}function xe(R){let N="";for(;;){const z=R.currentChar();if(z==="{"||z==="}"||z==="@"||z==="|"||!z)break;if(z===lr||z===Tn)if(D(R))N+=z,R.next();else{if(S(R))break;N+=z,R.next()}else N+=z,R.next()}return N}function Ve(R){g(R);let N="",z="";for(;N=Z(R);)z+=N;return R.currentChar()===Hr&&f(St.UNTERMINATED_CLOSING_BRACE,s(),0),z}function se(R){g(R);let N="";return R.currentChar()==="-"?(R.next(),N+=`-${re(R)}`):N+=re(R),R.currentChar()===Hr&&f(St.UNTERMINATED_CLOSING_BRACE,s(),0),N}function ge(R){return R!==tx&&R!==Tn}function be(R){g(R),p(R,"'");let N="",z="";for(;N=B(R,ge);)N==="\\"?z+=W(R):z+=N;const A=R.currentChar();return A===Tn||A===Hr?(f(St.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,s(),0),A===Tn&&(R.next(),p(R,"'")),z):(p(R,"'"),z)}function W(R){const N=R.currentChar();switch(N){case"\\":case"'":return R.next(),`\\${N}`;case"u":return ae(R,N,4);case"U":return ae(R,N,6);default:return f(St.UNKNOWN_ESCAPE_SEQUENCE,s(),0,N),""}}function ae(R,N,z){p(R,N);let A="";for(let C=0;C{const A=R.currentChar();return A==="{"||A==="@"||A==="|"||A==="("||A===")"||!A||A===lr?z:(z+=A,R.next(),N(z))};return N("")}function L(R){g(R);const N=p(R,"|");return g(R),N}function w(R,N){let z=null;switch(R.currentChar()){case"{":return N.braceNest>=1&&f(St.NOT_ALLOW_NEST_PLACEHOLDER,s(),0),R.next(),z=h(N,2,"{"),g(R),N.braceNest++,z;case"}":return N.braceNest>0&&N.currentType===2&&f(St.EMPTY_PLACEHOLDER,s(),0),R.next(),z=h(N,3,"}"),N.braceNest--,N.braceNest>0&&g(R),N.inLinked&&N.braceNest===0&&(N.inLinked=!1),z;case"@":return N.braceNest>0&&f(St.UNTERMINATED_CLOSING_BRACE,s(),0),z=j(R,N)||d(N),N.braceNest=0,z;default:{let C=!0,k=!0,U=!0;if(S(R))return N.braceNest>0&&f(St.UNTERMINATED_CLOSING_BRACE,s(),0),z=h(N,1,L(R)),N.braceNest=0,N.inLinked=!1,z;if(N.braceNest>0&&(N.currentType===4||N.currentType===5||N.currentType===6))return f(St.UNTERMINATED_CLOSING_BRACE,s(),0),N.braceNest=0,G(R,N);if(C=x(R,N))return z=h(N,4,Ve(R)),g(R),z;if(k=v(R,N))return z=h(N,5,se(R)),g(R),z;if(U=E(R,N))return z=h(N,6,be(R)),g(R),z;if(!C&&!k&&!U)return z=h(N,12,le(R)),f(St.INVALID_TOKEN_IN_PLACEHOLDER,s(),0,z.value),g(R),z;break}}return z}function j(R,N){const{currentType:z}=N;let A=null;const C=R.currentChar();switch((z===7||z===8||z===11||z===9)&&(C===Tn||C===lr)&&f(St.INVALID_LINKED_FORMAT,s(),0),C){case"@":return R.next(),A=h(N,7,"@"),N.inLinked=!0,A;case".":return g(R),R.next(),h(N,8,".");case":":return g(R),R.next(),h(N,9,":");default:return S(R)?(A=h(N,1,L(R)),N.braceNest=0,N.inLinked=!1,A):T(R,N)||P(R,N)?(g(R),j(R,N)):M(R,N)?(g(R),h(N,11,Oe(R))):b(R,N)?(g(R),C==="{"?w(R,N)||A:h(N,10,I(R))):(z===7&&f(St.INVALID_LINKED_FORMAT,s(),0),N.braceNest=0,N.inLinked=!1,G(R,N))}}function G(R,N){let z={type:13};if(N.braceNest>0)return w(R,N)||d(N);if(N.inLinked)return j(R,N)||d(N);switch(R.currentChar()){case"{":return w(R,N)||d(N);case"}":return f(St.UNBALANCED_CLOSING_BRACE,s(),0),R.next(),h(N,3,"}");case"@":return j(R,N)||d(N);default:{if(S(R))return z=h(N,1,L(R)),N.braceNest=0,N.inLinked=!1,z;if(D(R))return h(N,0,xe(R));break}}return z}function q(){const{currentType:R,offset:N,startLoc:z,endLoc:A}=l;return l.lastType=R,l.lastOffset=N,l.lastStartLoc=z,l.lastEndLoc=A,l.offset=r(),l.startLoc=s(),i.currentChar()===Hr?h(l,13):G(i,l)}return{nextToken:q,currentOffset:r,currentPosition:s,context:c}}const RV="parser",PV=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function IV(n,e,t){switch(n){case"\\\\":return"\\";case"\\'":return"'";default:{const i=parseInt(e||t,16);return i<=55295||i>=57344?String.fromCodePoint(i):"�"}}}function LV(n={}){const e=n.location!==!1,{onError:t}=n;function i(m,y,x,v,...E){const T=m.currentPosition();if(T.offset+=v,T.column+=v,t){const M=e?Lm(x,T):null,P=ud(y,M,{domain:RV,args:E});t(P)}}function r(m,y,x){const v={type:m};return e&&(v.start=y,v.end=y,v.loc={start:x,end:x}),v}function s(m,y,x,v){e&&(m.end=y,m.loc&&(m.loc.end=x))}function o(m,y){const x=m.context(),v=r(3,x.offset,x.startLoc);return v.value=y,s(v,m.currentOffset(),m.currentPosition()),v}function a(m,y){const x=m.context(),{lastOffset:v,lastStartLoc:E}=x,T=r(5,v,E);return T.index=parseInt(y,10),m.nextToken(),s(T,m.currentOffset(),m.currentPosition()),T}function l(m,y){const x=m.context(),{lastOffset:v,lastStartLoc:E}=x,T=r(4,v,E);return T.key=y,m.nextToken(),s(T,m.currentOffset(),m.currentPosition()),T}function c(m,y){const x=m.context(),{lastOffset:v,lastStartLoc:E}=x,T=r(9,v,E);return T.value=y.replace(PV,IV),m.nextToken(),s(T,m.currentOffset(),m.currentPosition()),T}function u(m){const y=m.nextToken(),x=m.context(),{lastOffset:v,lastStartLoc:E}=x,T=r(8,v,E);return y.type!==11?(i(m,St.UNEXPECTED_EMPTY_LINKED_MODIFIER,x.lastStartLoc,0),T.value="",s(T,v,E),{nextConsumeToken:y,node:T}):(y.value==null&&i(m,St.UNEXPECTED_LEXICAL_ANALYSIS,x.lastStartLoc,0,Ni(y)),T.value=y.value||"",s(T,m.currentOffset(),m.currentPosition()),{node:T})}function f(m,y){const x=m.context(),v=r(7,x.offset,x.startLoc);return v.value=y,s(v,m.currentOffset(),m.currentPosition()),v}function h(m){const y=m.context(),x=r(6,y.offset,y.startLoc);let v=m.nextToken();if(v.type===8){const E=u(m);x.modifier=E.node,v=E.nextConsumeToken||m.nextToken()}switch(v.type!==9&&i(m,St.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,Ni(v)),v=m.nextToken(),v.type===2&&(v=m.nextToken()),v.type){case 10:v.value==null&&i(m,St.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,Ni(v)),x.key=f(m,v.value||"");break;case 4:v.value==null&&i(m,St.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,Ni(v)),x.key=l(m,v.value||"");break;case 5:v.value==null&&i(m,St.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,Ni(v)),x.key=a(m,v.value||"");break;case 6:v.value==null&&i(m,St.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,Ni(v)),x.key=c(m,v.value||"");break;default:{i(m,St.UNEXPECTED_EMPTY_LINKED_KEY,y.lastStartLoc,0);const E=m.context(),T=r(7,E.offset,E.startLoc);return T.value="",s(T,E.offset,E.startLoc),x.key=T,s(x,E.offset,E.startLoc),{nextConsumeToken:v,node:x}}}return s(x,m.currentOffset(),m.currentPosition()),{node:x}}function d(m){const y=m.context(),x=y.currentType===1?m.currentOffset():y.offset,v=y.currentType===1?y.endLoc:y.startLoc,E=r(2,x,v);E.items=[];let T=null;do{const b=T||m.nextToken();switch(T=null,b.type){case 0:b.value==null&&i(m,St.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,Ni(b)),E.items.push(o(m,b.value||""));break;case 5:b.value==null&&i(m,St.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,Ni(b)),E.items.push(a(m,b.value||""));break;case 4:b.value==null&&i(m,St.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,Ni(b)),E.items.push(l(m,b.value||""));break;case 6:b.value==null&&i(m,St.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,Ni(b)),E.items.push(c(m,b.value||""));break;case 7:{const S=h(m);E.items.push(S.node),T=S.nextConsumeToken||null;break}}}while(y.currentType!==13&&y.currentType!==1);const M=y.currentType===1?y.lastOffset:m.currentOffset(),P=y.currentType===1?y.lastEndLoc:m.currentPosition();return s(E,M,P),E}function p(m,y,x,v){const E=m.context();let T=v.items.length===0;const M=r(1,y,x);M.cases=[],M.cases.push(v);do{const P=d(m);T||(T=P.items.length===0),M.cases.push(P)}while(E.currentType!==13);return T&&i(m,St.MUST_HAVE_MESSAGES_IN_PLURAL,x,0),s(M,m.currentOffset(),m.currentPosition()),M}function _(m){const y=m.context(),{offset:x,startLoc:v}=y,E=d(m);return y.currentType===13?E:p(m,x,v,E)}function g(m){const y=CV(m,nn({},n)),x=y.context(),v=r(0,x.offset,x.startLoc);return e&&v.loc&&(v.loc.source=m),v.body=_(y),n.onCacheKey&&(v.cacheKey=n.onCacheKey(m)),x.currentType!==13&&i(y,St.UNEXPECTED_LEXICAL_ANALYSIS,x.lastStartLoc,0,m[x.offset]||""),s(v,y.currentOffset(),y.currentPosition()),v}return{parse:g}}function Ni(n){if(n.type===13)return"EOF";const e=(n.value||"").replace(/\r?\n/gu,"\\n");return e.length>10?e.slice(0,9)+"…":e}function DV(n,e={}){const t={ast:n,helpers:new Set};return{context:()=>t,helper:s=>(t.helpers.add(s),s)}}function nx(n,e){for(let t=0;tix(t)),n}function ix(n){if(n.items.length===1){const e=n.items[0];(e.type===3||e.type===9)&&(n.static=e.value,delete e.value)}else{const e=[];for(let t=0;to;function l(_,g){o.code+=_}function c(_,g=!0){const m=g?i:"";l(r?m+" ".repeat(_):m)}function u(_=!0){const g=++o.indentLevel;_&&c(g)}function f(_=!0){const g=--o.indentLevel;_&&c(g)}function h(){c(o.indentLevel)}return{context:a,push:l,indent:u,deindent:f,newline:h,helper:_=>`_${_}`,needIndent:()=>o.needIndent}}function FV(n,e){const{helper:t}=n;n.push(`${t("linked")}(`),da(n,e.key),e.modifier?(n.push(", "),da(n,e.modifier),n.push(", _type")):n.push(", undefined, _type"),n.push(")")}function BV(n,e){const{helper:t,needIndent:i}=n;n.push(`${t("normalize")}([`),n.indent(i());const r=e.items.length;for(let s=0;s1){n.push(`${t("plural")}([`),n.indent(i());const r=e.cases.length;for(let s=0;s{const t=De(e.mode)?e.mode:"normal",i=De(e.filename)?e.filename:"message.intl";e.sourceMap;const r=e.breakLineCode!=null?e.breakLineCode:t==="arrow"?";":` -`,s=e.needIndent?e.needIndent:t!=="arrow",o=n.helpers||[],a=UV(n,{filename:i,breakLineCode:r,needIndent:s});a.push(t==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),a.indent(s),o.length>0&&(a.push(`const { ${y_(o.map(u=>`${u}: _${u}`),", ")} } = ctx`),a.newline()),a.push("return "),da(a,n),a.deindent(s),a.push("}"),delete n.helpers;const{code:l,map:c}=a.context();return{ast:n,code:l,map:c?c.toJSON():void 0}};function HV(n,e={}){const t=nn({},e),i=!!t.jit,r=!!t.minify,s=t.optimize==null?!0:t.optimize,a=LV(t).parse(n);return i?(s&&NV(a),r&&Go(a),{ast:a,code:""}):(OV(a,t),VV(a,t))}/*! + */function yz(n,e,t){return{line:n,column:e,offset:t}}function Lm(n,e,t){return{start:n,end:e}}const Mt={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14},xz=17;function ud(n,e,t={}){const{domain:i,messages:r,args:s}=t,o=n,a=new SyntaxError(String(o));return a.code=n,e&&(a.location=e),a.domain=i,a}function bz(n){throw n}const lr=" ",Sz="\r",Tn=` +`,Mz="\u2028",Ez="\u2029";function Tz(n){const e=n;let t=0,i=1,r=1,s=0;const o=M=>e[M]===Sz&&e[M+1]===Tn,a=M=>e[M]===Tn,l=M=>e[M]===Ez,c=M=>e[M]===Mz,u=M=>o(M)||a(M)||l(M)||c(M),f=()=>t,h=()=>i,d=()=>r,p=()=>s,_=M=>o(M)||l(M)||c(M)?Tn:e[M],g=()=>_(t),m=()=>_(t+s);function y(){return s=0,u(t)&&(i++,r=0),o(t)&&t++,t++,r++,e[t]}function x(){return o(t+s)&&s++,s++,e[t+s]}function v(){t=0,i=1,r=1,s=0}function E(M=0){s=M}function T(){const M=t+s;for(;M!==t;)y();s=0}return{index:f,line:h,column:d,peekOffset:p,charAt:_,currentChar:g,currentPeek:m,next:y,peek:x,reset:v,resetPeek:E,skipToPeek:T}}const Hr=void 0,wz=".",tx="'",Az="tokenizer";function Cz(n,e={}){const t=e.location!==!1,i=Tz(n),r=()=>i.index(),s=()=>yz(i.line(),i.column(),i.index()),o=s(),a=r(),l={currentType:13,offset:a,startLoc:o,endLoc:o,lastType:13,lastOffset:a,lastStartLoc:o,lastEndLoc:o,braceNest:0,inLinked:!1,text:""},c=()=>l,{onError:u}=e;function f(R,N,V,...A){const C=c();if(N.column+=V,N.offset+=V,u){const k=t?Lm(C.startLoc,N):null,U=ud(R,k,{domain:Az,args:A});u(U)}}function h(R,N,V){R.endLoc=s(),R.currentType=N;const A={type:N};return t&&(A.loc=Lm(R.startLoc,R.endLoc)),V!=null&&(A.value=V),A}const d=R=>h(R,13);function p(R,N){return R.currentChar()===N?(R.next(),N):(f(Mt.EXPECTED_TOKEN,s(),0,N),"")}function _(R){let N="";for(;R.currentPeek()===lr||R.currentPeek()===Tn;)N+=R.currentPeek(),R.peek();return N}function g(R){const N=_(R);return R.skipToPeek(),N}function m(R){if(R===Hr)return!1;const N=R.charCodeAt(0);return N>=97&&N<=122||N>=65&&N<=90||N===95}function y(R){if(R===Hr)return!1;const N=R.charCodeAt(0);return N>=48&&N<=57}function x(R,N){const{currentType:V}=N;if(V!==2)return!1;_(R);const A=m(R.currentPeek());return R.resetPeek(),A}function v(R,N){const{currentType:V}=N;if(V!==2)return!1;_(R);const A=R.currentPeek()==="-"?R.peek():R.currentPeek(),C=y(A);return R.resetPeek(),C}function E(R,N){const{currentType:V}=N;if(V!==2)return!1;_(R);const A=R.currentPeek()===tx;return R.resetPeek(),A}function T(R,N){const{currentType:V}=N;if(V!==7)return!1;_(R);const A=R.currentPeek()===".";return R.resetPeek(),A}function M(R,N){const{currentType:V}=N;if(V!==8)return!1;_(R);const A=m(R.currentPeek());return R.resetPeek(),A}function P(R,N){const{currentType:V}=N;if(!(V===7||V===11))return!1;_(R);const A=R.currentPeek()===":";return R.resetPeek(),A}function b(R,N){const{currentType:V}=N;if(V!==9)return!1;const A=()=>{const k=R.currentPeek();return k==="{"?m(R.peek()):k==="@"||k==="|"||k===":"||k==="."||k===lr||!k?!1:k===Tn?(R.peek(),A()):D(R,!1)},C=A();return R.resetPeek(),C}function S(R){_(R);const N=R.currentPeek()==="|";return R.resetPeek(),N}function D(R,N=!0){const V=(C=!1,k="")=>{const U=R.currentPeek();return U==="{"||U==="@"||!U?C:U==="|"?!(k===lr||k===Tn):U===lr?(R.peek(),V(!0,lr)):U===Tn?(R.peek(),V(!0,Tn)):!0},A=V();return N&&R.resetPeek(),A}function B(R,N){const V=R.currentChar();return V===Hr?Hr:N(V)?(R.next(),V):null}function H(R){const N=R.charCodeAt(0);return N>=97&&N<=122||N>=65&&N<=90||N>=48&&N<=57||N===95||N===36}function $(R){return B(R,H)}function ee(R){const N=R.charCodeAt(0);return N>=97&&N<=122||N>=65&&N<=90||N>=48&&N<=57||N===95||N===36||N===45}function Z(R){return B(R,ee)}function te(R){const N=R.charCodeAt(0);return N>=48&&N<=57}function Q(R){return B(R,te)}function pe(R){const N=R.charCodeAt(0);return N>=48&&N<=57||N>=65&&N<=70||N>=97&&N<=102}function ve(R){return B(R,pe)}function re(R){let N="",V="";for(;N=Q(R);)V+=N;return V}function xe(R){let N="";for(;;){const V=R.currentChar();if(V==="{"||V==="}"||V==="@"||V==="|"||!V)break;if(V===lr||V===Tn)if(D(R))N+=V,R.next();else{if(S(R))break;N+=V,R.next()}else N+=V,R.next()}return N}function ze(R){g(R);let N="",V="";for(;N=Z(R);)V+=N;return R.currentChar()===Hr&&f(Mt.UNTERMINATED_CLOSING_BRACE,s(),0),V}function se(R){g(R);let N="";return R.currentChar()==="-"?(R.next(),N+=`-${re(R)}`):N+=re(R),R.currentChar()===Hr&&f(Mt.UNTERMINATED_CLOSING_BRACE,s(),0),N}function ge(R){return R!==tx&&R!==Tn}function be(R){g(R),p(R,"'");let N="",V="";for(;N=B(R,ge);)N==="\\"?V+=W(R):V+=N;const A=R.currentChar();return A===Tn||A===Hr?(f(Mt.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,s(),0),A===Tn&&(R.next(),p(R,"'")),V):(p(R,"'"),V)}function W(R){const N=R.currentChar();switch(N){case"\\":case"'":return R.next(),`\\${N}`;case"u":return ae(R,N,4);case"U":return ae(R,N,6);default:return f(Mt.UNKNOWN_ESCAPE_SEQUENCE,s(),0,N),""}}function ae(R,N,V){p(R,N);let A="";for(let C=0;C{const A=R.currentChar();return A==="{"||A==="@"||A==="|"||A==="("||A===")"||!A||A===lr?V:(V+=A,R.next(),N(V))};return N("")}function L(R){g(R);const N=p(R,"|");return g(R),N}function w(R,N){let V=null;switch(R.currentChar()){case"{":return N.braceNest>=1&&f(Mt.NOT_ALLOW_NEST_PLACEHOLDER,s(),0),R.next(),V=h(N,2,"{"),g(R),N.braceNest++,V;case"}":return N.braceNest>0&&N.currentType===2&&f(Mt.EMPTY_PLACEHOLDER,s(),0),R.next(),V=h(N,3,"}"),N.braceNest--,N.braceNest>0&&g(R),N.inLinked&&N.braceNest===0&&(N.inLinked=!1),V;case"@":return N.braceNest>0&&f(Mt.UNTERMINATED_CLOSING_BRACE,s(),0),V=j(R,N)||d(N),N.braceNest=0,V;default:{let C=!0,k=!0,U=!0;if(S(R))return N.braceNest>0&&f(Mt.UNTERMINATED_CLOSING_BRACE,s(),0),V=h(N,1,L(R)),N.braceNest=0,N.inLinked=!1,V;if(N.braceNest>0&&(N.currentType===4||N.currentType===5||N.currentType===6))return f(Mt.UNTERMINATED_CLOSING_BRACE,s(),0),N.braceNest=0,G(R,N);if(C=x(R,N))return V=h(N,4,ze(R)),g(R),V;if(k=v(R,N))return V=h(N,5,se(R)),g(R),V;if(U=E(R,N))return V=h(N,6,be(R)),g(R),V;if(!C&&!k&&!U)return V=h(N,12,le(R)),f(Mt.INVALID_TOKEN_IN_PLACEHOLDER,s(),0,V.value),g(R),V;break}}return V}function j(R,N){const{currentType:V}=N;let A=null;const C=R.currentChar();switch((V===7||V===8||V===11||V===9)&&(C===Tn||C===lr)&&f(Mt.INVALID_LINKED_FORMAT,s(),0),C){case"@":return R.next(),A=h(N,7,"@"),N.inLinked=!0,A;case".":return g(R),R.next(),h(N,8,".");case":":return g(R),R.next(),h(N,9,":");default:return S(R)?(A=h(N,1,L(R)),N.braceNest=0,N.inLinked=!1,A):T(R,N)||P(R,N)?(g(R),j(R,N)):M(R,N)?(g(R),h(N,11,Oe(R))):b(R,N)?(g(R),C==="{"?w(R,N)||A:h(N,10,I(R))):(V===7&&f(Mt.INVALID_LINKED_FORMAT,s(),0),N.braceNest=0,N.inLinked=!1,G(R,N))}}function G(R,N){let V={type:13};if(N.braceNest>0)return w(R,N)||d(N);if(N.inLinked)return j(R,N)||d(N);switch(R.currentChar()){case"{":return w(R,N)||d(N);case"}":return f(Mt.UNBALANCED_CLOSING_BRACE,s(),0),R.next(),h(N,3,"}");case"@":return j(R,N)||d(N);default:{if(S(R))return V=h(N,1,L(R)),N.braceNest=0,N.inLinked=!1,V;if(D(R))return h(N,0,xe(R));break}}return V}function q(){const{currentType:R,offset:N,startLoc:V,endLoc:A}=l;return l.lastType=R,l.lastOffset=N,l.lastStartLoc=V,l.lastEndLoc=A,l.offset=r(),l.startLoc=s(),i.currentChar()===Hr?h(l,13):G(i,l)}return{nextToken:q,currentOffset:r,currentPosition:s,context:c}}const Rz="parser",Pz=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function Iz(n,e,t){switch(n){case"\\\\":return"\\";case"\\'":return"'";default:{const i=parseInt(e||t,16);return i<=55295||i>=57344?String.fromCodePoint(i):"�"}}}function Lz(n={}){const e=n.location!==!1,{onError:t}=n;function i(m,y,x,v,...E){const T=m.currentPosition();if(T.offset+=v,T.column+=v,t){const M=e?Lm(x,T):null,P=ud(y,M,{domain:Rz,args:E});t(P)}}function r(m,y,x){const v={type:m};return e&&(v.start=y,v.end=y,v.loc={start:x,end:x}),v}function s(m,y,x,v){e&&(m.end=y,m.loc&&(m.loc.end=x))}function o(m,y){const x=m.context(),v=r(3,x.offset,x.startLoc);return v.value=y,s(v,m.currentOffset(),m.currentPosition()),v}function a(m,y){const x=m.context(),{lastOffset:v,lastStartLoc:E}=x,T=r(5,v,E);return T.index=parseInt(y,10),m.nextToken(),s(T,m.currentOffset(),m.currentPosition()),T}function l(m,y){const x=m.context(),{lastOffset:v,lastStartLoc:E}=x,T=r(4,v,E);return T.key=y,m.nextToken(),s(T,m.currentOffset(),m.currentPosition()),T}function c(m,y){const x=m.context(),{lastOffset:v,lastStartLoc:E}=x,T=r(9,v,E);return T.value=y.replace(Pz,Iz),m.nextToken(),s(T,m.currentOffset(),m.currentPosition()),T}function u(m){const y=m.nextToken(),x=m.context(),{lastOffset:v,lastStartLoc:E}=x,T=r(8,v,E);return y.type!==11?(i(m,Mt.UNEXPECTED_EMPTY_LINKED_MODIFIER,x.lastStartLoc,0),T.value="",s(T,v,E),{nextConsumeToken:y,node:T}):(y.value==null&&i(m,Mt.UNEXPECTED_LEXICAL_ANALYSIS,x.lastStartLoc,0,Ni(y)),T.value=y.value||"",s(T,m.currentOffset(),m.currentPosition()),{node:T})}function f(m,y){const x=m.context(),v=r(7,x.offset,x.startLoc);return v.value=y,s(v,m.currentOffset(),m.currentPosition()),v}function h(m){const y=m.context(),x=r(6,y.offset,y.startLoc);let v=m.nextToken();if(v.type===8){const E=u(m);x.modifier=E.node,v=E.nextConsumeToken||m.nextToken()}switch(v.type!==9&&i(m,Mt.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,Ni(v)),v=m.nextToken(),v.type===2&&(v=m.nextToken()),v.type){case 10:v.value==null&&i(m,Mt.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,Ni(v)),x.key=f(m,v.value||"");break;case 4:v.value==null&&i(m,Mt.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,Ni(v)),x.key=l(m,v.value||"");break;case 5:v.value==null&&i(m,Mt.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,Ni(v)),x.key=a(m,v.value||"");break;case 6:v.value==null&&i(m,Mt.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,Ni(v)),x.key=c(m,v.value||"");break;default:{i(m,Mt.UNEXPECTED_EMPTY_LINKED_KEY,y.lastStartLoc,0);const E=m.context(),T=r(7,E.offset,E.startLoc);return T.value="",s(T,E.offset,E.startLoc),x.key=T,s(x,E.offset,E.startLoc),{nextConsumeToken:v,node:x}}}return s(x,m.currentOffset(),m.currentPosition()),{node:x}}function d(m){const y=m.context(),x=y.currentType===1?m.currentOffset():y.offset,v=y.currentType===1?y.endLoc:y.startLoc,E=r(2,x,v);E.items=[];let T=null;do{const b=T||m.nextToken();switch(T=null,b.type){case 0:b.value==null&&i(m,Mt.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,Ni(b)),E.items.push(o(m,b.value||""));break;case 5:b.value==null&&i(m,Mt.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,Ni(b)),E.items.push(a(m,b.value||""));break;case 4:b.value==null&&i(m,Mt.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,Ni(b)),E.items.push(l(m,b.value||""));break;case 6:b.value==null&&i(m,Mt.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,Ni(b)),E.items.push(c(m,b.value||""));break;case 7:{const S=h(m);E.items.push(S.node),T=S.nextConsumeToken||null;break}}}while(y.currentType!==13&&y.currentType!==1);const M=y.currentType===1?y.lastOffset:m.currentOffset(),P=y.currentType===1?y.lastEndLoc:m.currentPosition();return s(E,M,P),E}function p(m,y,x,v){const E=m.context();let T=v.items.length===0;const M=r(1,y,x);M.cases=[],M.cases.push(v);do{const P=d(m);T||(T=P.items.length===0),M.cases.push(P)}while(E.currentType!==13);return T&&i(m,Mt.MUST_HAVE_MESSAGES_IN_PLURAL,x,0),s(M,m.currentOffset(),m.currentPosition()),M}function _(m){const y=m.context(),{offset:x,startLoc:v}=y,E=d(m);return y.currentType===13?E:p(m,x,v,E)}function g(m){const y=Cz(m,nn({},n)),x=y.context(),v=r(0,x.offset,x.startLoc);return e&&v.loc&&(v.loc.source=m),v.body=_(y),n.onCacheKey&&(v.cacheKey=n.onCacheKey(m)),x.currentType!==13&&i(y,Mt.UNEXPECTED_LEXICAL_ANALYSIS,x.lastStartLoc,0,m[x.offset]||""),s(v,y.currentOffset(),y.currentPosition()),v}return{parse:g}}function Ni(n){if(n.type===13)return"EOF";const e=(n.value||"").replace(/\r?\n/gu,"\\n");return e.length>10?e.slice(0,9)+"…":e}function Dz(n,e={}){const t={ast:n,helpers:new Set};return{context:()=>t,helper:s=>(t.helpers.add(s),s)}}function nx(n,e){for(let t=0;tix(t)),n}function ix(n){if(n.items.length===1){const e=n.items[0];(e.type===3||e.type===9)&&(n.static=e.value,delete e.value)}else{const e=[];for(let t=0;to;function l(_,g){o.code+=_}function c(_,g=!0){const m=g?i:"";l(r?m+" ".repeat(_):m)}function u(_=!0){const g=++o.indentLevel;_&&c(g)}function f(_=!0){const g=--o.indentLevel;_&&c(g)}function h(){c(o.indentLevel)}return{context:a,push:l,indent:u,deindent:f,newline:h,helper:_=>`_${_}`,needIndent:()=>o.needIndent}}function Fz(n,e){const{helper:t}=n;n.push(`${t("linked")}(`),da(n,e.key),e.modifier?(n.push(", "),da(n,e.modifier),n.push(", _type")):n.push(", undefined, _type"),n.push(")")}function Bz(n,e){const{helper:t,needIndent:i}=n;n.push(`${t("normalize")}([`),n.indent(i());const r=e.items.length;for(let s=0;s1){n.push(`${t("plural")}([`),n.indent(i());const r=e.cases.length;for(let s=0;s{const t=De(e.mode)?e.mode:"normal",i=De(e.filename)?e.filename:"message.intl";e.sourceMap;const r=e.breakLineCode!=null?e.breakLineCode:t==="arrow"?";":` +`,s=e.needIndent?e.needIndent:t!=="arrow",o=n.helpers||[],a=Uz(n,{filename:i,breakLineCode:r,needIndent:s});a.push(t==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),a.indent(s),o.length>0&&(a.push(`const { ${y_(o.map(u=>`${u}: _${u}`),", ")} } = ctx`),a.newline()),a.push("return "),da(a,n),a.deindent(s),a.push("}"),delete n.helpers;const{code:l,map:c}=a.context();return{ast:n,code:l,map:c?c.toJSON():void 0}};function Hz(n,e={}){const t=nn({},e),i=!!t.jit,r=!!t.minify,s=t.optimize==null?!0:t.optimize,a=Lz(t).parse(n);return i?(s&&Nz(a),r&&Go(a),{ast:a,code:""}):(Oz(a,t),zz(a,t))}/*! * core-base v11.1.2 * (c) 2025 kazuya kawaguchi * Released under the MIT License. - */function GV(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(__().__INTLIFY_PROD_DEVTOOLS__=!1)}function Rp(n){return t=>WV(t,n)}function WV(n,e){const t=$V(e);if(t==null)throw Jl(0);if(b_(t)===1){const s=YV(t);return n.plural(s.reduce((o,a)=>[...o,rx(n,a)],[]))}else return rx(n,t)}const XV=["b","body"];function $V(n){return gs(n,XV)}const qV=["c","cases"];function YV(n){return gs(n,qV,[])}function rx(n,e){const t=KV(e);if(t!=null)return n.type==="text"?t:n.normalize([t]);{const i=JV(e).reduce((r,s)=>[...r,Dm(n,s)],[]);return n.normalize(i)}}const jV=["s","static"];function KV(n){return gs(n,jV)}const ZV=["i","items"];function JV(n){return gs(n,ZV,[])}function Dm(n,e){const t=b_(e);switch(t){case 3:return Nu(e,t);case 9:return Nu(e,t);case 4:{const i=e;if(Ti(i,"k")&&i.k)return n.interpolate(n.named(i.k));if(Ti(i,"key")&&i.key)return n.interpolate(n.named(i.key));throw Jl(t)}case 5:{const i=e;if(Ti(i,"i")&&qt(i.i))return n.interpolate(n.list(i.i));if(Ti(i,"index")&&qt(i.index))return n.interpolate(n.list(i.index));throw Jl(t)}case 6:{const i=e,r=nH(i),s=rH(i);return n.linked(Dm(n,s),r?Dm(n,r):void 0,n.type)}case 7:return Nu(e,t);case 8:return Nu(e,t);default:throw new Error(`unhandled node on format message part: ${t}`)}}const QV=["t","type"];function b_(n){return gs(n,QV)}const eH=["v","value"];function Nu(n,e){const t=gs(n,eH);if(t)return t;throw Jl(e)}const tH=["m","modifier"];function nH(n){return gs(n,tH)}const iH=["k","key"];function rH(n){const e=gs(n,iH);if(e)return e;throw Jl(6)}function gs(n,e,t){for(let i=0;in;let Uu=Tt();function pa(n){return mt(n)&&b_(n)===0&&(Ti(n,"b")||Ti(n,"body"))}function oH(n,e={}){let t=!1;const i=e.onError||bV;return e.onError=r=>{t=!0,i(r)},{...HV(n,e),detectError:t}}function aH(n,e){if(De(n)){Ot(e.warnHtmlMessage)&&e.warnHtmlMessage;const i=(e.onCacheKey||sH)(n),r=Uu[i];if(r)return r;const{ast:s,detectError:o}=oH(n,{...e,location:!1,jit:!0}),a=Rp(s);return o?a:Uu[i]=a}else{const t=n.cacheKey;if(t){const i=Uu[t];return i||(Uu[t]=Rp(n))}else return Rp(n)}}let Ql=null;function lH(n){Ql=n}function cH(n,e,t){Ql&&Ql.emit("i18n:init",{timestamp:Date.now(),i18n:n,version:e,meta:t})}const uH=fH("function:translate");function fH(n){return e=>Ql&&Ql.emit(n,e)}const _r={INVALID_ARGUMENT:xV,INVALID_DATE_ARGUMENT:18,INVALID_ISO_DATE_ARGUMENT:19,NOT_SUPPORT_LOCALE_PROMISE_VALUE:21,NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:22,NOT_SUPPORT_LOCALE_TYPE:23},hH=24;function vr(n){return ud(n,null,void 0)}function S_(n,e){return e.locale!=null?sx(e.locale):sx(n.locale)}let Pp;function sx(n){if(De(n))return n;if(Dt(n)){if(n.resolvedOnce&&Pp!=null)return Pp;if(n.constructor.name==="Function"){const e=n();if(gV(e))throw vr(_r.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return Pp=e}else throw vr(_r.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw vr(_r.NOT_SUPPORT_LOCALE_TYPE)}function dH(n,e,t){return[...new Set([t,...Kt(e)?e:mt(e)?Object.keys(e):De(e)?[e]:[t]])]}function HT(n,e,t){const i=De(t)?t:rh,r=n;r.__localeChainCache||(r.__localeChainCache=new Map);let s=r.__localeChainCache.get(i);if(!s){s=[];let o=[t];for(;Kt(o);)o=ox(s,o,e);const a=Kt(e)||!lt(e)?e:e.default?e.default:null;o=De(a)?[a]:a,Kt(o)&&ox(s,o,!1),r.__localeChainCache.set(i,s)}return s}function ox(n,e,t){let i=!0;for(let r=0;r{o===void 0?o=a:o+=a},h[1]=()=>{o!==void 0&&(e.push(o),o=void 0)},h[2]=()=>{h[0](),r++},h[3]=()=>{if(r>0)r--,i=4,h[0]();else{if(r=0,o===void 0||(o=xH(o),o===!1))return!1;h[1]()}};function d(){const p=n[t+1];if(i===5&&p==="'"||i===6&&p==='"')return t++,a="\\"+p,h[0](),!0}for(;i!==null;)if(t++,s=n[t],!(s==="\\"&&d())){if(l=yH(s),f=_s[i],c=f[l]||f.l||8,c===8||(i=c[0],c[1]!==void 0&&(u=h[c[1]],u&&(a=s,u()===!1))))return;if(i===7)return e}}const ax=new Map;function SH(n,e){return mt(n)?n[e]:null}function MH(n,e){if(!mt(n))return null;let t=ax.get(e);if(t||(t=bH(e),t&&ax.set(e,t)),!t)return null;const i=t.length;let r=n,s=0;for(;s`${n.charAt(0).toLocaleUpperCase()}${n.substr(1)}`;function TH(){return{upper:(n,e)=>e==="text"&&De(n)?n.toUpperCase():e==="vnode"&&mt(n)&&"__v_isVNode"in n?n.children.toUpperCase():n,lower:(n,e)=>e==="text"&&De(n)?n.toLowerCase():e==="vnode"&&mt(n)&&"__v_isVNode"in n?n.children.toLowerCase():n,capitalize:(n,e)=>e==="text"&&De(n)?cx(n):e==="vnode"&&mt(n)&&"__v_isVNode"in n?cx(n.children):n}}let GT;function wH(n){GT=n}let WT;function AH(n){WT=n}let XT;function CH(n){XT=n}let $T=null;const RH=n=>{$T=n},PH=()=>$T;let qT=null;const ux=n=>{qT=n},IH=()=>qT;let fx=0;function LH(n={}){const e=Dt(n.onWarn)?n.onWarn:vV,t=De(n.version)?n.version:EH,i=De(n.locale)||Dt(n.locale)?n.locale:rh,r=Dt(i)?rh:i,s=Kt(n.fallbackLocale)||lt(n.fallbackLocale)||De(n.fallbackLocale)||n.fallbackLocale===!1?n.fallbackLocale:r,o=lt(n.messages)?n.messages:Ip(r),a=lt(n.datetimeFormats)?n.datetimeFormats:Ip(r),l=lt(n.numberFormats)?n.numberFormats:Ip(r),c=nn(Tt(),n.modifiers,TH()),u=n.pluralRules||Tt(),f=Dt(n.missing)?n.missing:null,h=Ot(n.missingWarn)||ih(n.missingWarn)?n.missingWarn:!0,d=Ot(n.fallbackWarn)||ih(n.fallbackWarn)?n.fallbackWarn:!0,p=!!n.fallbackFormat,_=!!n.unresolving,g=Dt(n.postTranslation)?n.postTranslation:null,m=lt(n.processor)?n.processor:null,y=Ot(n.warnHtmlMessage)?n.warnHtmlMessage:!0,x=!!n.escapeParameter,v=Dt(n.messageCompiler)?n.messageCompiler:GT,E=Dt(n.messageResolver)?n.messageResolver:WT||SH,T=Dt(n.localeFallbacker)?n.localeFallbacker:XT||dH,M=mt(n.fallbackContext)?n.fallbackContext:void 0,P=n,b=mt(P.__datetimeFormatters)?P.__datetimeFormatters:new Map,S=mt(P.__numberFormatters)?P.__numberFormatters:new Map,D=mt(P.__meta)?P.__meta:{};fx++;const B={version:t,cid:fx,locale:i,fallbackLocale:s,messages:o,modifiers:c,pluralRules:u,missing:f,missingWarn:h,fallbackWarn:d,fallbackFormat:p,unresolving:_,postTranslation:g,processor:m,warnHtmlMessage:y,escapeParameter:x,messageCompiler:v,messageResolver:E,localeFallbacker:T,fallbackContext:M,onWarn:e,__meta:D};return B.datetimeFormats=a,B.numberFormats=l,B.__datetimeFormatters=b,B.__numberFormatters=S,__INTLIFY_PROD_DEVTOOLS__&&cH(B,t,D),B}const Ip=n=>({[n]:Tt()});function M_(n,e,t,i,r){const{missing:s,onWarn:o}=n;if(s!==null){const a=s(n,t,e,r);return De(a)?a:e}else return e}function Ha(n,e,t){const i=n;i.__localeChainCache=new Map,n.localeFallbacker(n,t,e)}function DH(n,e){return n===e?!1:n.split("-")[0]===e.split("-")[0]}function OH(n,e){const t=e.indexOf(n);if(t===-1)return!1;for(let i=t+1;i{YT.includes(l)?o[l]=t[l]:s[l]=t[l]}),De(i)?s.locale=i:lt(i)&&(o=i),lt(r)&&(o=r),[s.key||"",a,s,o]}function dx(n,e,t){const i=n;for(const r in t){const s=`${e}__${r}`;i.__datetimeFormatters.has(s)&&i.__datetimeFormatters.delete(s)}}function px(n,...e){const{numberFormats:t,unresolving:i,fallbackLocale:r,onWarn:s,localeFallbacker:o}=n,{__numberFormatters:a}=n,[l,c,u,f]=Nm(...e),h=Ot(u.missingWarn)?u.missingWarn:n.missingWarn;Ot(u.fallbackWarn)?u.fallbackWarn:n.fallbackWarn;const d=!!u.part,p=S_(n,u),_=o(n,r,p);if(!De(l)||l==="")return new Intl.NumberFormat(p,f).format(c);let g={},m,y=null;const x="number format";for(let T=0;T<_.length&&(m=_[T],g=t[m]||{},y=g[l],!lt(y));T++)M_(n,l,m,h,x);if(!lt(y)||!De(m))return i?fd:l;let v=`${m}__${l}`;cd(f)||(v=`${v}__${JSON.stringify(f)}`);let E=a.get(v);return E||(E=new Intl.NumberFormat(m,nn({},y,f)),a.set(v,E)),d?E.formatToParts(c):E.format(c)}const jT=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function Nm(...n){const[e,t,i,r]=n,s=Tt();let o=Tt();if(!qt(e))throw vr(_r.INVALID_ARGUMENT);const a=e;return De(t)?s.key=t:lt(t)&&Object.keys(t).forEach(l=>{jT.includes(l)?o[l]=t[l]:s[l]=t[l]}),De(i)?s.locale=i:lt(i)&&(o=i),lt(r)&&(o=r),[s.key||"",a,s,o]}function mx(n,e,t){const i=n;for(const r in t){const s=`${e}__${r}`;i.__numberFormatters.has(s)&&i.__numberFormatters.delete(s)}}const NH=n=>n,UH=n=>"",FH="text",BH=n=>n.length===0?"":y_(n),kH=_V;function gx(n,e){return n=Math.abs(n),e===2?n?n>1?1:0:1:n?Math.min(n,2):0}function zH(n){const e=qt(n.pluralIndex)?n.pluralIndex:-1;return n.named&&(qt(n.named.count)||qt(n.named.n))?qt(n.named.count)?n.named.count:qt(n.named.n)?n.named.n:e:e}function VH(n,e){e.count||(e.count=n),e.n||(e.n=n)}function HH(n={}){const e=n.locale,t=zH(n),i=mt(n.pluralRules)&&De(e)&&Dt(n.pluralRules[e])?n.pluralRules[e]:gx,r=mt(n.pluralRules)&&De(e)&&Dt(n.pluralRules[e])?gx:void 0,s=m=>m[i(t,m.length,r)],o=n.list||[],a=m=>o[m],l=n.named||Tt();qt(n.pluralIndex)&&VH(t,l);const c=m=>l[m];function u(m,y){const x=Dt(n.messages)?n.messages(m,!!y):mt(n.messages)?n.messages[m]:!1;return x||(n.parent?n.parent.message(m):UH)}const f=m=>n.modifiers?n.modifiers[m]:NH,h=lt(n.processor)&&Dt(n.processor.normalize)?n.processor.normalize:BH,d=lt(n.processor)&&Dt(n.processor.interpolate)?n.processor.interpolate:kH,p=lt(n.processor)&&De(n.processor.type)?n.processor.type:FH,g={list:a,named:c,plural:s,linked:(m,...y)=>{const[x,v]=y;let E="text",T="";y.length===1?mt(x)?(T=x.modifier||T,E=x.type||E):De(x)&&(T=x||T):y.length===2&&(De(x)&&(T=x||T),De(v)&&(E=v||E));const M=u(m,!0)(g),P=E==="vnode"&&Kt(M)&&T?M[0]:M;return T?f(T)(P,E):P},message:u,type:p,interpolate:d,normalize:h,values:nn(Tt(),o,l)};return g}const _x=()=>"",ai=n=>Dt(n);function vx(n,...e){const{fallbackFormat:t,postTranslation:i,unresolving:r,messageCompiler:s,fallbackLocale:o,messages:a}=n,[l,c]=Um(...e),u=Ot(c.missingWarn)?c.missingWarn:n.missingWarn,f=Ot(c.fallbackWarn)?c.fallbackWarn:n.fallbackWarn,h=Ot(c.escapeParameter)?c.escapeParameter:n.escapeParameter,d=!!c.resolvedMessage,p=De(c.default)||Ot(c.default)?Ot(c.default)?s?l:()=>l:c.default:t?s?l:()=>l:null,_=t||p!=null&&(De(p)||Dt(p)),g=S_(n,c);h&&GH(c);let[m,y,x]=d?[l,g,a[g]||Tt()]:KT(n,l,g,o,f,u),v=m,E=l;if(!d&&!(De(v)||pa(v)||ai(v))&&_&&(v=p,E=v),!d&&(!(De(v)||pa(v)||ai(v))||!De(y)))return r?fd:l;let T=!1;const M=()=>{T=!0},P=ai(v)?v:ZT(n,l,y,v,E,M);if(T)return v;const b=$H(n,y,x,c),S=HH(b),D=WH(n,P,S),B=i?i(D,l):D;if(__INTLIFY_PROD_DEVTOOLS__){const H={timestamp:Date.now(),key:De(l)?l:ai(v)?v.key:"",locale:y||(ai(v)?v.locale:""),format:De(v)?v:ai(v)?v.source:"",message:B};H.meta=nn({},n.__meta,PH()||{}),uH(H)}return B}function GH(n){Kt(n.list)?n.list=n.list.map(e=>De(e)?ex(e):e):mt(n.named)&&Object.keys(n.named).forEach(e=>{De(n.named[e])&&(n.named[e]=ex(n.named[e]))})}function KT(n,e,t,i,r,s){const{messages:o,onWarn:a,messageResolver:l,localeFallbacker:c}=n,u=c(n,i,t);let f=Tt(),h,d=null;const p="translate";for(let _=0;_i;return c.locale=t,c.key=e,c}const l=o(i,XH(n,t,r,i,a,s));return l.locale=t,l.key=e,l.source=i,l}function WH(n,e,t){return e(t)}function Um(...n){const[e,t,i]=n,r=Tt();if(!De(e)&&!qt(e)&&!ai(e)&&!pa(e))throw vr(_r.INVALID_ARGUMENT);const s=qt(e)?String(e):(ai(e),e);return qt(t)?r.plural=t:De(t)?r.default=t:lt(t)&&!cd(t)?r.named=t:Kt(t)&&(r.list=t),qt(i)?r.plural=i:De(i)?r.default=i:lt(i)&&nn(r,i),[s,r]}function XH(n,e,t,i,r,s){return{locale:e,key:t,warnHtmlMessage:r,onError:o=>{throw s&&s(o),o},onCacheKey:o=>fV(e,t,o)}}function $H(n,e,t,i){const{modifiers:r,pluralRules:s,messageResolver:o,fallbackLocale:a,fallbackWarn:l,missingWarn:c,fallbackContext:u}=n,h={locale:e,modifiers:r,pluralRules:s,messages:(d,p)=>{let _=o(t,d);if(_==null&&(u||p)){const[,,g]=KT(u||n,d,e,a,l,c);_=o(g,d)}if(De(_)||pa(_)){let g=!1;const y=ZT(n,d,e,_,d,()=>{g=!0});return g?_x:y}else return ai(_)?_:_x}};return n.processor&&(h.processor=n.processor),i.list&&(h.list=i.list),i.named&&(h.named=i.named),qt(i.plural)&&(h.pluralIndex=i.plural),h}GV();/*! + */function Gz(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(__().__INTLIFY_PROD_DEVTOOLS__=!1)}function Rp(n){return t=>Wz(t,n)}function Wz(n,e){const t=$z(e);if(t==null)throw Jl(0);if(b_(t)===1){const s=Yz(t);return n.plural(s.reduce((o,a)=>[...o,rx(n,a)],[]))}else return rx(n,t)}const Xz=["b","body"];function $z(n){return gs(n,Xz)}const qz=["c","cases"];function Yz(n){return gs(n,qz,[])}function rx(n,e){const t=Kz(e);if(t!=null)return n.type==="text"?t:n.normalize([t]);{const i=Jz(e).reduce((r,s)=>[...r,Dm(n,s)],[]);return n.normalize(i)}}const jz=["s","static"];function Kz(n){return gs(n,jz)}const Zz=["i","items"];function Jz(n){return gs(n,Zz,[])}function Dm(n,e){const t=b_(e);switch(t){case 3:return Nu(e,t);case 9:return Nu(e,t);case 4:{const i=e;if(Ti(i,"k")&&i.k)return n.interpolate(n.named(i.k));if(Ti(i,"key")&&i.key)return n.interpolate(n.named(i.key));throw Jl(t)}case 5:{const i=e;if(Ti(i,"i")&&qt(i.i))return n.interpolate(n.list(i.i));if(Ti(i,"index")&&qt(i.index))return n.interpolate(n.list(i.index));throw Jl(t)}case 6:{const i=e,r=nH(i),s=rH(i);return n.linked(Dm(n,s),r?Dm(n,r):void 0,n.type)}case 7:return Nu(e,t);case 8:return Nu(e,t);default:throw new Error(`unhandled node on format message part: ${t}`)}}const Qz=["t","type"];function b_(n){return gs(n,Qz)}const eH=["v","value"];function Nu(n,e){const t=gs(n,eH);if(t)return t;throw Jl(e)}const tH=["m","modifier"];function nH(n){return gs(n,tH)}const iH=["k","key"];function rH(n){const e=gs(n,iH);if(e)return e;throw Jl(6)}function gs(n,e,t){for(let i=0;in;let Uu=Tt();function pa(n){return mt(n)&&b_(n)===0&&(Ti(n,"b")||Ti(n,"body"))}function oH(n,e={}){let t=!1;const i=e.onError||bz;return e.onError=r=>{t=!0,i(r)},{...Hz(n,e),detectError:t}}function aH(n,e){if(De(n)){Nt(e.warnHtmlMessage)&&e.warnHtmlMessage;const i=(e.onCacheKey||sH)(n),r=Uu[i];if(r)return r;const{ast:s,detectError:o}=oH(n,{...e,location:!1,jit:!0}),a=Rp(s);return o?a:Uu[i]=a}else{const t=n.cacheKey;if(t){const i=Uu[t];return i||(Uu[t]=Rp(n))}else return Rp(n)}}let Ql=null;function lH(n){Ql=n}function cH(n,e,t){Ql&&Ql.emit("i18n:init",{timestamp:Date.now(),i18n:n,version:e,meta:t})}const uH=fH("function:translate");function fH(n){return e=>Ql&&Ql.emit(n,e)}const _r={INVALID_ARGUMENT:xz,INVALID_DATE_ARGUMENT:18,INVALID_ISO_DATE_ARGUMENT:19,NOT_SUPPORT_LOCALE_PROMISE_VALUE:21,NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:22,NOT_SUPPORT_LOCALE_TYPE:23},hH=24;function vr(n){return ud(n,null,void 0)}function S_(n,e){return e.locale!=null?sx(e.locale):sx(n.locale)}let Pp;function sx(n){if(De(n))return n;if(Ot(n)){if(n.resolvedOnce&&Pp!=null)return Pp;if(n.constructor.name==="Function"){const e=n();if(gz(e))throw vr(_r.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return Pp=e}else throw vr(_r.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw vr(_r.NOT_SUPPORT_LOCALE_TYPE)}function dH(n,e,t){return[...new Set([t,...Kt(e)?e:mt(e)?Object.keys(e):De(e)?[e]:[t]])]}function HT(n,e,t){const i=De(t)?t:rh,r=n;r.__localeChainCache||(r.__localeChainCache=new Map);let s=r.__localeChainCache.get(i);if(!s){s=[];let o=[t];for(;Kt(o);)o=ox(s,o,e);const a=Kt(e)||!lt(e)?e:e.default?e.default:null;o=De(a)?[a]:a,Kt(o)&&ox(s,o,!1),r.__localeChainCache.set(i,s)}return s}function ox(n,e,t){let i=!0;for(let r=0;r{o===void 0?o=a:o+=a},h[1]=()=>{o!==void 0&&(e.push(o),o=void 0)},h[2]=()=>{h[0](),r++},h[3]=()=>{if(r>0)r--,i=4,h[0]();else{if(r=0,o===void 0||(o=xH(o),o===!1))return!1;h[1]()}};function d(){const p=n[t+1];if(i===5&&p==="'"||i===6&&p==='"')return t++,a="\\"+p,h[0](),!0}for(;i!==null;)if(t++,s=n[t],!(s==="\\"&&d())){if(l=yH(s),f=_s[i],c=f[l]||f.l||8,c===8||(i=c[0],c[1]!==void 0&&(u=h[c[1]],u&&(a=s,u()===!1))))return;if(i===7)return e}}const ax=new Map;function SH(n,e){return mt(n)?n[e]:null}function MH(n,e){if(!mt(n))return null;let t=ax.get(e);if(t||(t=bH(e),t&&ax.set(e,t)),!t)return null;const i=t.length;let r=n,s=0;for(;s`${n.charAt(0).toLocaleUpperCase()}${n.substr(1)}`;function TH(){return{upper:(n,e)=>e==="text"&&De(n)?n.toUpperCase():e==="vnode"&&mt(n)&&"__v_isVNode"in n?n.children.toUpperCase():n,lower:(n,e)=>e==="text"&&De(n)?n.toLowerCase():e==="vnode"&&mt(n)&&"__v_isVNode"in n?n.children.toLowerCase():n,capitalize:(n,e)=>e==="text"&&De(n)?cx(n):e==="vnode"&&mt(n)&&"__v_isVNode"in n?cx(n.children):n}}let GT;function wH(n){GT=n}let WT;function AH(n){WT=n}let XT;function CH(n){XT=n}let $T=null;const RH=n=>{$T=n},PH=()=>$T;let qT=null;const ux=n=>{qT=n},IH=()=>qT;let fx=0;function LH(n={}){const e=Ot(n.onWarn)?n.onWarn:vz,t=De(n.version)?n.version:EH,i=De(n.locale)||Ot(n.locale)?n.locale:rh,r=Ot(i)?rh:i,s=Kt(n.fallbackLocale)||lt(n.fallbackLocale)||De(n.fallbackLocale)||n.fallbackLocale===!1?n.fallbackLocale:r,o=lt(n.messages)?n.messages:Ip(r),a=lt(n.datetimeFormats)?n.datetimeFormats:Ip(r),l=lt(n.numberFormats)?n.numberFormats:Ip(r),c=nn(Tt(),n.modifiers,TH()),u=n.pluralRules||Tt(),f=Ot(n.missing)?n.missing:null,h=Nt(n.missingWarn)||ih(n.missingWarn)?n.missingWarn:!0,d=Nt(n.fallbackWarn)||ih(n.fallbackWarn)?n.fallbackWarn:!0,p=!!n.fallbackFormat,_=!!n.unresolving,g=Ot(n.postTranslation)?n.postTranslation:null,m=lt(n.processor)?n.processor:null,y=Nt(n.warnHtmlMessage)?n.warnHtmlMessage:!0,x=!!n.escapeParameter,v=Ot(n.messageCompiler)?n.messageCompiler:GT,E=Ot(n.messageResolver)?n.messageResolver:WT||SH,T=Ot(n.localeFallbacker)?n.localeFallbacker:XT||dH,M=mt(n.fallbackContext)?n.fallbackContext:void 0,P=n,b=mt(P.__datetimeFormatters)?P.__datetimeFormatters:new Map,S=mt(P.__numberFormatters)?P.__numberFormatters:new Map,D=mt(P.__meta)?P.__meta:{};fx++;const B={version:t,cid:fx,locale:i,fallbackLocale:s,messages:o,modifiers:c,pluralRules:u,missing:f,missingWarn:h,fallbackWarn:d,fallbackFormat:p,unresolving:_,postTranslation:g,processor:m,warnHtmlMessage:y,escapeParameter:x,messageCompiler:v,messageResolver:E,localeFallbacker:T,fallbackContext:M,onWarn:e,__meta:D};return B.datetimeFormats=a,B.numberFormats=l,B.__datetimeFormatters=b,B.__numberFormatters=S,__INTLIFY_PROD_DEVTOOLS__&&cH(B,t,D),B}const Ip=n=>({[n]:Tt()});function M_(n,e,t,i,r){const{missing:s,onWarn:o}=n;if(s!==null){const a=s(n,t,e,r);return De(a)?a:e}else return e}function Ha(n,e,t){const i=n;i.__localeChainCache=new Map,n.localeFallbacker(n,t,e)}function DH(n,e){return n===e?!1:n.split("-")[0]===e.split("-")[0]}function OH(n,e){const t=e.indexOf(n);if(t===-1)return!1;for(let i=t+1;i{YT.includes(l)?o[l]=t[l]:s[l]=t[l]}),De(i)?s.locale=i:lt(i)&&(o=i),lt(r)&&(o=r),[s.key||"",a,s,o]}function dx(n,e,t){const i=n;for(const r in t){const s=`${e}__${r}`;i.__datetimeFormatters.has(s)&&i.__datetimeFormatters.delete(s)}}function px(n,...e){const{numberFormats:t,unresolving:i,fallbackLocale:r,onWarn:s,localeFallbacker:o}=n,{__numberFormatters:a}=n,[l,c,u,f]=Nm(...e),h=Nt(u.missingWarn)?u.missingWarn:n.missingWarn;Nt(u.fallbackWarn)?u.fallbackWarn:n.fallbackWarn;const d=!!u.part,p=S_(n,u),_=o(n,r,p);if(!De(l)||l==="")return new Intl.NumberFormat(p,f).format(c);let g={},m,y=null;const x="number format";for(let T=0;T<_.length&&(m=_[T],g=t[m]||{},y=g[l],!lt(y));T++)M_(n,l,m,h,x);if(!lt(y)||!De(m))return i?fd:l;let v=`${m}__${l}`;cd(f)||(v=`${v}__${JSON.stringify(f)}`);let E=a.get(v);return E||(E=new Intl.NumberFormat(m,nn({},y,f)),a.set(v,E)),d?E.formatToParts(c):E.format(c)}const jT=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function Nm(...n){const[e,t,i,r]=n,s=Tt();let o=Tt();if(!qt(e))throw vr(_r.INVALID_ARGUMENT);const a=e;return De(t)?s.key=t:lt(t)&&Object.keys(t).forEach(l=>{jT.includes(l)?o[l]=t[l]:s[l]=t[l]}),De(i)?s.locale=i:lt(i)&&(o=i),lt(r)&&(o=r),[s.key||"",a,s,o]}function mx(n,e,t){const i=n;for(const r in t){const s=`${e}__${r}`;i.__numberFormatters.has(s)&&i.__numberFormatters.delete(s)}}const NH=n=>n,UH=n=>"",FH="text",BH=n=>n.length===0?"":y_(n),kH=_z;function gx(n,e){return n=Math.abs(n),e===2?n?n>1?1:0:1:n?Math.min(n,2):0}function VH(n){const e=qt(n.pluralIndex)?n.pluralIndex:-1;return n.named&&(qt(n.named.count)||qt(n.named.n))?qt(n.named.count)?n.named.count:qt(n.named.n)?n.named.n:e:e}function zH(n,e){e.count||(e.count=n),e.n||(e.n=n)}function HH(n={}){const e=n.locale,t=VH(n),i=mt(n.pluralRules)&&De(e)&&Ot(n.pluralRules[e])?n.pluralRules[e]:gx,r=mt(n.pluralRules)&&De(e)&&Ot(n.pluralRules[e])?gx:void 0,s=m=>m[i(t,m.length,r)],o=n.list||[],a=m=>o[m],l=n.named||Tt();qt(n.pluralIndex)&&zH(t,l);const c=m=>l[m];function u(m,y){const x=Ot(n.messages)?n.messages(m,!!y):mt(n.messages)?n.messages[m]:!1;return x||(n.parent?n.parent.message(m):UH)}const f=m=>n.modifiers?n.modifiers[m]:NH,h=lt(n.processor)&&Ot(n.processor.normalize)?n.processor.normalize:BH,d=lt(n.processor)&&Ot(n.processor.interpolate)?n.processor.interpolate:kH,p=lt(n.processor)&&De(n.processor.type)?n.processor.type:FH,g={list:a,named:c,plural:s,linked:(m,...y)=>{const[x,v]=y;let E="text",T="";y.length===1?mt(x)?(T=x.modifier||T,E=x.type||E):De(x)&&(T=x||T):y.length===2&&(De(x)&&(T=x||T),De(v)&&(E=v||E));const M=u(m,!0)(g),P=E==="vnode"&&Kt(M)&&T?M[0]:M;return T?f(T)(P,E):P},message:u,type:p,interpolate:d,normalize:h,values:nn(Tt(),o,l)};return g}const _x=()=>"",ai=n=>Ot(n);function vx(n,...e){const{fallbackFormat:t,postTranslation:i,unresolving:r,messageCompiler:s,fallbackLocale:o,messages:a}=n,[l,c]=Um(...e),u=Nt(c.missingWarn)?c.missingWarn:n.missingWarn,f=Nt(c.fallbackWarn)?c.fallbackWarn:n.fallbackWarn,h=Nt(c.escapeParameter)?c.escapeParameter:n.escapeParameter,d=!!c.resolvedMessage,p=De(c.default)||Nt(c.default)?Nt(c.default)?s?l:()=>l:c.default:t?s?l:()=>l:null,_=t||p!=null&&(De(p)||Ot(p)),g=S_(n,c);h&&GH(c);let[m,y,x]=d?[l,g,a[g]||Tt()]:KT(n,l,g,o,f,u),v=m,E=l;if(!d&&!(De(v)||pa(v)||ai(v))&&_&&(v=p,E=v),!d&&(!(De(v)||pa(v)||ai(v))||!De(y)))return r?fd:l;let T=!1;const M=()=>{T=!0},P=ai(v)?v:ZT(n,l,y,v,E,M);if(T)return v;const b=$H(n,y,x,c),S=HH(b),D=WH(n,P,S),B=i?i(D,l):D;if(__INTLIFY_PROD_DEVTOOLS__){const H={timestamp:Date.now(),key:De(l)?l:ai(v)?v.key:"",locale:y||(ai(v)?v.locale:""),format:De(v)?v:ai(v)?v.source:"",message:B};H.meta=nn({},n.__meta,PH()||{}),uH(H)}return B}function GH(n){Kt(n.list)?n.list=n.list.map(e=>De(e)?ex(e):e):mt(n.named)&&Object.keys(n.named).forEach(e=>{De(n.named[e])&&(n.named[e]=ex(n.named[e]))})}function KT(n,e,t,i,r,s){const{messages:o,onWarn:a,messageResolver:l,localeFallbacker:c}=n,u=c(n,i,t);let f=Tt(),h,d=null;const p="translate";for(let _=0;_i;return c.locale=t,c.key=e,c}const l=o(i,XH(n,t,r,i,a,s));return l.locale=t,l.key=e,l.source=i,l}function WH(n,e,t){return e(t)}function Um(...n){const[e,t,i]=n,r=Tt();if(!De(e)&&!qt(e)&&!ai(e)&&!pa(e))throw vr(_r.INVALID_ARGUMENT);const s=qt(e)?String(e):(ai(e),e);return qt(t)?r.plural=t:De(t)?r.default=t:lt(t)&&!cd(t)?r.named=t:Kt(t)&&(r.list=t),qt(i)?r.plural=i:De(i)?r.default=i:lt(i)&&nn(r,i),[s,r]}function XH(n,e,t,i,r,s){return{locale:e,key:t,warnHtmlMessage:r,onError:o=>{throw s&&s(o),o},onCacheKey:o=>fz(e,t,o)}}function $H(n,e,t,i){const{modifiers:r,pluralRules:s,messageResolver:o,fallbackLocale:a,fallbackWarn:l,missingWarn:c,fallbackContext:u}=n,h={locale:e,modifiers:r,pluralRules:s,messages:(d,p)=>{let _=o(t,d);if(_==null&&(u||p)){const[,,g]=KT(u||n,d,e,a,l,c);_=o(g,d)}if(De(_)||pa(_)){let g=!1;const y=ZT(n,d,e,_,d,()=>{g=!0});return g?_x:y}else return ai(_)?_:_x}};return n.processor&&(h.processor=n.processor),i.list&&(h.list=i.list),i.named&&(h.named=i.named),qt(i.plural)&&(h.pluralIndex=i.plural),h}Gz();/*! * vue-i18n v11.1.2 * (c) 2025 kazuya kawaguchi * Released under the MIT License. - */const qH="11.1.2";function YH(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(__().__INTLIFY_PROD_DEVTOOLS__=!1)}const pi={UNEXPECTED_RETURN_TYPE:hH,INVALID_ARGUMENT:25,MUST_BE_CALL_SETUP_TOP:26,NOT_INSTALLED:27,REQUIRED_VALUE:28,INVALID_VALUE:29,NOT_INSTALLED_WITH_PROVIDE:31,UNEXPECTED_ERROR:32};function Ii(n,...e){return ud(n,null,void 0)}const Fm=ms("__translateVNode"),Bm=ms("__datetimeParts"),km=ms("__numberParts"),jH=ms("__setPluralRules"),KH=ms("__injectWithOption"),zm=ms("__dispose");function ec(n){if(!mt(n))return n;for(const e in n)if(Ti(n,e))if(!e.includes("."))mt(n[e])&&ec(n[e]);else{const t=e.split("."),i=t.length-1;let r=n,s=!1;for(let o=0;o{if("locale"in a&&"resource"in a){const{locale:l,resource:c}=a;l?(o[l]=o[l]||Tt(),Ju(c,o[l])):Ju(c,o)}else De(a)&&Ju(JSON.parse(a),o)}),r==null&&s)for(const a in o)Ti(o,a)&&ec(o[a]);return o}function QT(n){return n.type}function ZH(n,e,t){let i=mt(e.messages)?e.messages:Tt();"__i18nGlobal"in t&&(i=JT(n.locale.value,{messages:i,__i18n:t.__i18nGlobal}));const r=Object.keys(i);r.length&&r.forEach(s=>{n.mergeLocaleMessage(s,i[s])});{if(mt(e.datetimeFormats)){const s=Object.keys(e.datetimeFormats);s.length&&s.forEach(o=>{n.mergeDateTimeFormat(o,e.datetimeFormats[o])})}if(mt(e.numberFormats)){const s=Object.keys(e.numberFormats);s.length&&s.forEach(o=>{n.mergeNumberFormat(o,e.numberFormats[o])})}}}function yx(n){return an(ac,null,n,0)}const xx="__INTLIFY_META__",bx=()=>[],JH=()=>!1;let Sx=0;function Mx(n){return(e,t,i,r)=>n(t,i,vn()||void 0,r)}const QH=()=>{const n=vn();let e=null;return n&&(e=QT(n)[xx])?{[xx]:e}:null};function ew(n={}){const{__root:e,__injectWithOption:t}=n,i=e===void 0,r=n.flatJson,s=nh?Je:Ie;let o=Ot(n.inheritLocale)?n.inheritLocale:!0;const a=s(e&&o?e.locale.value:De(n.locale)?n.locale:rh),l=s(e&&o?e.fallbackLocale.value:De(n.fallbackLocale)||Kt(n.fallbackLocale)||lt(n.fallbackLocale)||n.fallbackLocale===!1?n.fallbackLocale:a.value),c=s(JT(a.value,n)),u=s(lt(n.datetimeFormats)?n.datetimeFormats:{[a.value]:{}}),f=s(lt(n.numberFormats)?n.numberFormats:{[a.value]:{}});let h=e?e.missingWarn:Ot(n.missingWarn)||ih(n.missingWarn)?n.missingWarn:!0,d=e?e.fallbackWarn:Ot(n.fallbackWarn)||ih(n.fallbackWarn)?n.fallbackWarn:!0,p=e?e.fallbackRoot:Ot(n.fallbackRoot)?n.fallbackRoot:!0,_=!!n.fallbackFormat,g=Dt(n.missing)?n.missing:null,m=Dt(n.missing)?Mx(n.missing):null,y=Dt(n.postTranslation)?n.postTranslation:null,x=e?e.warnHtmlMessage:Ot(n.warnHtmlMessage)?n.warnHtmlMessage:!0,v=!!n.escapeParameter;const E=e?e.modifiers:lt(n.modifiers)?n.modifiers:{};let T=n.pluralRules||e&&e.pluralRules,M;M=(()=>{i&&ux(null);const U={version:qH,locale:a.value,fallbackLocale:l.value,messages:c.value,modifiers:E,pluralRules:T,missing:m===null?void 0:m,missingWarn:h,fallbackWarn:d,fallbackFormat:_,unresolving:!0,postTranslation:y===null?void 0:y,warnHtmlMessage:x,escapeParameter:v,messageResolver:n.messageResolver,messageCompiler:n.messageCompiler,__meta:{framework:"vue"}};U.datetimeFormats=u.value,U.numberFormats=f.value,U.__datetimeFormatters=lt(M)?M.__datetimeFormatters:void 0,U.__numberFormatters=lt(M)?M.__numberFormatters:void 0;const V=LH(U);return i&&ux(V),V})(),Ha(M,a.value,l.value);function b(){return[a.value,l.value,c.value,u.value,f.value]}const S=Se({get:()=>a.value,set:U=>{M.locale=U,a.value=U}}),D=Se({get:()=>l.value,set:U=>{M.fallbackLocale=U,l.value=U,Ha(M,a.value,U)}}),B=Se(()=>c.value),H=Se(()=>u.value),$=Se(()=>f.value);function ee(){return Dt(y)?y:null}function Z(U){y=U,M.postTranslation=U}function te(){return g}function Q(U){U!==null&&(m=Mx(U)),g=U,M.missing=m}const pe=(U,V,Y,he,ce,ye)=>{b();let Fe;try{__INTLIFY_PROD_DEVTOOLS__,i||(M.fallbackContext=e?IH():void 0),Fe=U(M)}finally{__INTLIFY_PROD_DEVTOOLS__,i||(M.fallbackContext=void 0)}if(Y!=="translate exists"&&qt(Fe)&&Fe===fd||Y==="translate exists"&&!Fe){const[me,Te]=V();return e&&p?he(e):ce(me)}else{if(ye(Fe))return Fe;throw Ii(pi.UNEXPECTED_RETURN_TYPE)}};function ve(...U){return pe(V=>Reflect.apply(vx,null,[V,...U]),()=>Um(...U),"translate",V=>Reflect.apply(V.t,V,[...U]),V=>V,V=>De(V))}function re(...U){const[V,Y,he]=U;if(he&&!mt(he))throw Ii(pi.INVALID_ARGUMENT);return ve(V,Y,nn({resolvedMessage:!0},he||{}))}function xe(...U){return pe(V=>Reflect.apply(hx,null,[V,...U]),()=>Om(...U),"datetime format",V=>Reflect.apply(V.d,V,[...U]),()=>lx,V=>De(V))}function Ve(...U){return pe(V=>Reflect.apply(px,null,[V,...U]),()=>Nm(...U),"number format",V=>Reflect.apply(V.n,V,[...U]),()=>lx,V=>De(V))}function se(U){return U.map(V=>De(V)||qt(V)||Ot(V)?yx(String(V)):V)}const be={normalize:se,interpolate:U=>U,type:"vnode"};function W(...U){return pe(V=>{let Y;const he=V;try{he.processor=be,Y=Reflect.apply(vx,null,[he,...U])}finally{he.processor=null}return Y},()=>Um(...U),"translate",V=>V[Fm](...U),V=>[yx(V)],V=>Kt(V))}function ae(...U){return pe(V=>Reflect.apply(px,null,[V,...U]),()=>Nm(...U),"number format",V=>V[km](...U),bx,V=>De(V)||Kt(V))}function ue(...U){return pe(V=>Reflect.apply(hx,null,[V,...U]),()=>Om(...U),"datetime format",V=>V[Bm](...U),bx,V=>De(V)||Kt(V))}function le(U){T=U,M.pluralRules=T}function Oe(U,V){return pe(()=>{if(!U)return!1;const Y=De(V)?V:a.value,he=w(Y),ce=M.messageResolver(he,U);return pa(ce)||ai(ce)||De(ce)},()=>[U],"translate exists",Y=>Reflect.apply(Y.te,Y,[U,V]),JH,Y=>Ot(Y))}function I(U){let V=null;const Y=HT(M,l.value,a.value);for(let he=0;he{o&&(a.value=U,M.locale=U,Ha(M,a.value,l.value))}),Ge(e.fallbackLocale,U=>{o&&(l.value=U,M.fallbackLocale=U,Ha(M,a.value,l.value))}));const k={id:Sx,locale:S,fallbackLocale:D,get inheritLocale(){return o},set inheritLocale(U){o=U,U&&e&&(a.value=e.locale.value,l.value=e.fallbackLocale.value,Ha(M,a.value,l.value))},get availableLocales(){return Object.keys(c.value).sort()},messages:B,get modifiers(){return E},get pluralRules(){return T||{}},get isGlobal(){return i},get missingWarn(){return h},set missingWarn(U){h=U,M.missingWarn=h},get fallbackWarn(){return d},set fallbackWarn(U){d=U,M.fallbackWarn=d},get fallbackRoot(){return p},set fallbackRoot(U){p=U},get fallbackFormat(){return _},set fallbackFormat(U){_=U,M.fallbackFormat=_},get warnHtmlMessage(){return x},set warnHtmlMessage(U){x=U,M.warnHtmlMessage=U},get escapeParameter(){return v},set escapeParameter(U){v=U,M.escapeParameter=U},t:ve,getLocaleMessage:w,setLocaleMessage:j,mergeLocaleMessage:G,getPostTranslationHandler:ee,setPostTranslationHandler:Z,getMissingHandler:te,setMissingHandler:Q,[jH]:le};return k.datetimeFormats=H,k.numberFormats=$,k.rt=re,k.te=Oe,k.tm=L,k.d=xe,k.n=Ve,k.getDateTimeFormat=q,k.setDateTimeFormat=R,k.mergeDateTimeFormat=N,k.getNumberFormat=z,k.setNumberFormat=A,k.mergeNumberFormat=C,k[KH]=t,k[Fm]=W,k[Bm]=ue,k[km]=ae,k}const E_={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:n=>n==="parent"||n==="global",default:"parent"},i18n:{type:Object}};function e4({slots:n},e){return e.length===1&&e[0]==="default"?(n.default?n.default():[]).reduce((i,r)=>[...i,...r.type===Xt?r.children:[r]],[]):e.reduce((t,i)=>{const r=n[i];return r&&(t[i]=r()),t},Tt())}function tw(){return Xt}const t4=rn({name:"i18n-t",props:nn({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:n=>qt(n)||!isNaN(n)}},E_),setup(n,e){const{slots:t,attrs:i}=e,r=n.i18n||hd({useScope:n.scope,__useComponent:!0});return()=>{const s=Object.keys(t).filter(f=>f!=="_"),o=Tt();n.locale&&(o.locale=n.locale),n.plural!==void 0&&(o.plural=De(n.plural)?+n.plural:n.plural);const a=e4(e,s),l=r[Fm](n.keypath,a,o),c=nn(Tt(),i),u=De(n.tag)||mt(n.tag)?n.tag:tw();return Mr(u,c,l)}}}),Ex=t4;function n4(n){return Kt(n)&&!De(n[0])}function nw(n,e,t,i){const{slots:r,attrs:s}=e;return()=>{const o={part:!0};let a=Tt();n.locale&&(o.locale=n.locale),De(n.format)?o.key=n.format:mt(n.format)&&(De(n.format.key)&&(o.key=n.format.key),a=Object.keys(n.format).reduce((h,d)=>t.includes(d)?nn(Tt(),h,{[d]:n.format[d]}):h,Tt()));const l=i(n.value,o,a);let c=[o.key];Kt(l)?c=l.map((h,d)=>{const p=r[h.type],_=p?p({[h.type]:h.value,index:d,parts:l}):[h.value];return n4(_)&&(_[0].key=`${h.type}-${d}`),_}):De(l)&&(c=[l]);const u=nn(Tt(),s),f=De(n.tag)||mt(n.tag)?n.tag:tw();return Mr(f,u,c)}}const i4=rn({name:"i18n-n",props:nn({value:{type:Number,required:!0},format:{type:[String,Object]}},E_),setup(n,e){const t=n.i18n||hd({useScope:n.scope,__useComponent:!0});return nw(n,e,jT,(...i)=>t[km](...i))}}),Tx=i4;function r4(n,e){const t=n;if(n.mode==="composition")return t.__getInstance(e)||n.global;{const i=t.__getInstance(e);return i!=null?i.__composer:n.global.__composer}}function s4(n){const e=o=>{const{instance:a,value:l}=o;if(!a||!a.$)throw Ii(pi.UNEXPECTED_ERROR);const c=r4(n,a.$),u=wx(l);return[Reflect.apply(c.t,c,[...Ax(u)]),c]};return{created:(o,a)=>{const[l,c]=e(a);nh&&n.global===c&&(o.__i18nWatcher=Ge(c.locale,()=>{a.instance&&a.instance.$forceUpdate()})),o.__composer=c,o.textContent=l},unmounted:o=>{nh&&o.__i18nWatcher&&(o.__i18nWatcher(),o.__i18nWatcher=void 0,delete o.__i18nWatcher),o.__composer&&(o.__composer=void 0,delete o.__composer)},beforeUpdate:(o,{value:a})=>{if(o.__composer){const l=o.__composer,c=wx(a);o.textContent=Reflect.apply(l.t,l,[...Ax(c)])}},getSSRProps:o=>{const[a]=e(o);return{textContent:a}}}}function wx(n){if(De(n))return{path:n};if(lt(n)){if(!("path"in n))throw Ii(pi.REQUIRED_VALUE,"path");return n}else throw Ii(pi.INVALID_VALUE)}function Ax(n){const{path:e,locale:t,args:i,choice:r,plural:s}=n,o={},a=i||{};return De(t)&&(o.locale=t),qt(r)&&(o.plural=r),qt(s)&&(o.plural=s),[e,a,o]}function o4(n,e,...t){const i=lt(t[0])?t[0]:{};(Ot(i.globalInstall)?i.globalInstall:!0)&&([Ex.name,"I18nT"].forEach(s=>n.component(s,Ex)),[Tx.name,"I18nN"].forEach(s=>n.component(s,Tx)),[Rx.name,"I18nD"].forEach(s=>n.component(s,Rx))),n.directive("t",s4(e))}const a4=ms("global-vue-i18n");function l4(n={}){const e=Ot(n.globalInjection)?n.globalInjection:!0,t=new Map,[i,r]=c4(n),s=ms("");function o(u){return t.get(u)||null}function a(u,f){t.set(u,f)}function l(u){t.delete(u)}const c={get mode(){return"composition"},async install(u,...f){if(u.__VUE_I18N_SYMBOL__=s,u.provide(u.__VUE_I18N_SYMBOL__,c),lt(f[0])){const p=f[0];c.__composerExtend=p.__composerExtend,c.__vueI18nExtend=p.__vueI18nExtend}let h=null;e&&(h=_4(u,c.global)),o4(u,c,...f);const d=u.unmount;u.unmount=()=>{h&&h(),c.dispose(),d()}},get global(){return r},dispose(){i.stop()},__instances:t,__getInstance:o,__setInstance:a,__deleteInstance:l};return c}function hd(n={}){const e=vn();if(e==null)throw Ii(pi.MUST_BE_CALL_SETUP_TOP);if(!e.isCE&&e.appContext.app!=null&&!e.appContext.app.__VUE_I18N_SYMBOL__)throw Ii(pi.NOT_INSTALLED);const t=u4(e),i=h4(t),r=QT(e),s=f4(n,r);if(s==="global")return ZH(i,n,r),i;if(s==="parent"){let l=d4(t,e,n.__useComponent);return l==null&&(l=i),l}const o=t;let a=o.__getInstance(e);if(a==null){const l=nn({},n);"__i18n"in r&&(l.__i18n=r.__i18n),i&&(l.__root=i),a=ew(l),o.__composerExtend&&(a[zm]=o.__composerExtend(a)),m4(o,e,a),o.__setInstance(e,a)}return a}function c4(n,e){const t=nc(),i=t.run(()=>ew(n));if(i==null)throw Ii(pi.UNEXPECTED_ERROR);return[t,i]}function u4(n){const e=gn(n.isCE?a4:n.appContext.app.__VUE_I18N_SYMBOL__);if(!e)throw Ii(n.isCE?pi.NOT_INSTALLED_WITH_PROVIDE:pi.UNEXPECTED_ERROR);return e}function f4(n,e){return cd(n)?"__i18n"in e?"local":"global":n.useScope?n.useScope:"local"}function h4(n){return n.mode==="composition"?n.global:n.global.__composer}function d4(n,e,t=!1){let i=null;const r=e.root;let s=p4(e,t);for(;s!=null;){const o=n;if(n.mode==="composition"&&(i=o.__getInstance(s)),i!=null||r===s)break;s=s.parent}return i}function p4(n,e=!1){return n==null?null:e&&n.vnode.ctx||n.parent}function m4(n,e,t){yn(()=>{},e),$i(()=>{const i=t;n.__deleteInstance(e);const r=i[zm];r&&(r(),delete i[zm])},e)}const g4=["locale","fallbackLocale","availableLocales"],Cx=["t","rt","d","n","tm","te"];function _4(n,e){const t=Object.create(null);return g4.forEach(r=>{const s=Object.getOwnPropertyDescriptor(e,r);if(!s)throw Ii(pi.UNEXPECTED_ERROR);const o=Mt(s.value)?{get(){return s.value.value},set(a){s.value.value=a}}:{get(){return s.get&&s.get()}};Object.defineProperty(t,r,o)}),n.config.globalProperties.$i18n=t,Cx.forEach(r=>{const s=Object.getOwnPropertyDescriptor(e,r);if(!s||!s.value)throw Ii(pi.UNEXPECTED_ERROR);Object.defineProperty(n.config.globalProperties,`$${r}`,s)}),()=>{delete n.config.globalProperties.$i18n,Cx.forEach(r=>{delete n.config.globalProperties[`$${r}`]})}}const v4=rn({name:"i18n-d",props:nn({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},E_),setup(n,e){const t=n.i18n||hd({useScope:n.scope,__useComponent:!0});return nw(n,e,YT,(...i)=>t[Bm](...i))}}),Rx=v4;YH();wH(aH);AH(MH);CH(HT);if(__INTLIFY_PROD_DEVTOOLS__){const n=__();n.__INTLIFY__=!0,lH(n.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const y4=rn({__name:"App",setup(n){const e=hd(),t=Vk(jz()),i=GU(),r=Se(()=>i.value?"color-mix(in srgb, oklch(95% var(--theme-colors-chroma-900) calc(var(--theme-colors-hue) + 0)) 70%, oklch(50% 0 360))":"color-mix(in srgb, oklch(95% var(--theme-colors-chroma-900) calc(var(--theme-colors-hue) + 0)) 90%, oklch(90% 0 360))"),s=Se(()=>i.value?"color-mix(in srgb, oklch(95% var(--theme-colors-chroma-900) calc(var(--theme-colors-hue) + 180)) 70%, oklch(50% 0 360))":"color-mix(in srgb, oklch(95% var(--theme-colors-chroma-900) calc(var(--theme-colors-hue) + 180)) 90%, oklch(90% 0 360))"),o=Se(()=>i.value?"color-mix(in srgb, oklch(95% var(--theme-colors-chroma-900) calc(var(--theme-colors-hue) + 60)) 70%, oklch(50% 0 360))":"color-mix(in srgb, oklch(95% var(--theme-colors-chroma-900) calc(var(--theme-colors-hue) + 60)) 90%, oklch(90% 0 360))"),a=Se(()=>[r.value,s.value,o.value,i.value?"#121212":"#FFFFFF"]);return Ge(t.language,()=>{e.locale.value=t.language.value}),Ge(t.themeColorsHue,()=>{document.documentElement.style.setProperty("--theme-colors-hue",t.themeColorsHue.value.toString())},{immediate:!0}),Ge(t.themeColorsHueDynamic,()=>{document.documentElement.classList.toggle("dynamic-hue",t.themeColorsHueDynamic.value)},{immediate:!0}),(l,c)=>(ln(),El(Pt(uV),{"primary-color":r.value,"secondary-color":s.value,"tertiary-color":o.value,colors:a.value,"z-index":100,"disable-transitions":Pt(t).disableTransitions.value},{default:fb(()=>[an(Pt(zT))]),_:1},8,["primary-color","secondary-color","tertiary-color","colors","disable-transitions"]))}}),Lp=n=>n&&typeof n=="object"&&!Array.isArray(n),Vm=(n,...e)=>{if(!e.length)return n;const t=e.shift();if(Lp(n)&&Lp(t))for(const i in t)Lp(t[i])?(n[i]||Object.assign(n,{[i]:{}}),Vm(n[i],t[i])):Object.assign(n,{[i]:t[i]});return Vm(n,...e)},iw=Vm({},{en:{prompt:{prefix:{t:0,b:{t:2,i:[{t:3},{t:9},{t:3},{t:9},{t:3},{t:9},{t:3},{t:9},{t:3},{t:9},{t:3},{t:9},{t:3},{t:9},{t:3},{t:9},{t:3}],s:`(from Neko Ayaka) Good morning! You are finally awake. + */const qH="11.1.2";function YH(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(__().__INTLIFY_PROD_DEVTOOLS__=!1)}const pi={UNEXPECTED_RETURN_TYPE:hH,INVALID_ARGUMENT:25,MUST_BE_CALL_SETUP_TOP:26,NOT_INSTALLED:27,REQUIRED_VALUE:28,INVALID_VALUE:29,NOT_INSTALLED_WITH_PROVIDE:31,UNEXPECTED_ERROR:32};function Ii(n,...e){return ud(n,null,void 0)}const Fm=ms("__translateVNode"),Bm=ms("__datetimeParts"),km=ms("__numberParts"),jH=ms("__setPluralRules"),KH=ms("__injectWithOption"),Vm=ms("__dispose");function ec(n){if(!mt(n))return n;for(const e in n)if(Ti(n,e))if(!e.includes("."))mt(n[e])&&ec(n[e]);else{const t=e.split("."),i=t.length-1;let r=n,s=!1;for(let o=0;o{if("locale"in a&&"resource"in a){const{locale:l,resource:c}=a;l?(o[l]=o[l]||Tt(),Ju(c,o[l])):Ju(c,o)}else De(a)&&Ju(JSON.parse(a),o)}),r==null&&s)for(const a in o)Ti(o,a)&&ec(o[a]);return o}function QT(n){return n.type}function ZH(n,e,t){let i=mt(e.messages)?e.messages:Tt();"__i18nGlobal"in t&&(i=JT(n.locale.value,{messages:i,__i18n:t.__i18nGlobal}));const r=Object.keys(i);r.length&&r.forEach(s=>{n.mergeLocaleMessage(s,i[s])});{if(mt(e.datetimeFormats)){const s=Object.keys(e.datetimeFormats);s.length&&s.forEach(o=>{n.mergeDateTimeFormat(o,e.datetimeFormats[o])})}if(mt(e.numberFormats)){const s=Object.keys(e.numberFormats);s.length&&s.forEach(o=>{n.mergeNumberFormat(o,e.numberFormats[o])})}}}function yx(n){return an(ac,null,n,0)}const xx="__INTLIFY_META__",bx=()=>[],JH=()=>!1;let Sx=0;function Mx(n){return(e,t,i,r)=>n(t,i,vn()||void 0,r)}const QH=()=>{const n=vn();let e=null;return n&&(e=QT(n)[xx])?{[xx]:e}:null};function ew(n={}){const{__root:e,__injectWithOption:t}=n,i=e===void 0,r=n.flatJson,s=nh?Ze:Ie;let o=Nt(n.inheritLocale)?n.inheritLocale:!0;const a=s(e&&o?e.locale.value:De(n.locale)?n.locale:rh),l=s(e&&o?e.fallbackLocale.value:De(n.fallbackLocale)||Kt(n.fallbackLocale)||lt(n.fallbackLocale)||n.fallbackLocale===!1?n.fallbackLocale:a.value),c=s(JT(a.value,n)),u=s(lt(n.datetimeFormats)?n.datetimeFormats:{[a.value]:{}}),f=s(lt(n.numberFormats)?n.numberFormats:{[a.value]:{}});let h=e?e.missingWarn:Nt(n.missingWarn)||ih(n.missingWarn)?n.missingWarn:!0,d=e?e.fallbackWarn:Nt(n.fallbackWarn)||ih(n.fallbackWarn)?n.fallbackWarn:!0,p=e?e.fallbackRoot:Nt(n.fallbackRoot)?n.fallbackRoot:!0,_=!!n.fallbackFormat,g=Ot(n.missing)?n.missing:null,m=Ot(n.missing)?Mx(n.missing):null,y=Ot(n.postTranslation)?n.postTranslation:null,x=e?e.warnHtmlMessage:Nt(n.warnHtmlMessage)?n.warnHtmlMessage:!0,v=!!n.escapeParameter;const E=e?e.modifiers:lt(n.modifiers)?n.modifiers:{};let T=n.pluralRules||e&&e.pluralRules,M;M=(()=>{i&&ux(null);const U={version:qH,locale:a.value,fallbackLocale:l.value,messages:c.value,modifiers:E,pluralRules:T,missing:m===null?void 0:m,missingWarn:h,fallbackWarn:d,fallbackFormat:_,unresolving:!0,postTranslation:y===null?void 0:y,warnHtmlMessage:x,escapeParameter:v,messageResolver:n.messageResolver,messageCompiler:n.messageCompiler,__meta:{framework:"vue"}};U.datetimeFormats=u.value,U.numberFormats=f.value,U.__datetimeFormatters=lt(M)?M.__datetimeFormatters:void 0,U.__numberFormatters=lt(M)?M.__numberFormatters:void 0;const z=LH(U);return i&&ux(z),z})(),Ha(M,a.value,l.value);function b(){return[a.value,l.value,c.value,u.value,f.value]}const S=Se({get:()=>a.value,set:U=>{M.locale=U,a.value=U}}),D=Se({get:()=>l.value,set:U=>{M.fallbackLocale=U,l.value=U,Ha(M,a.value,U)}}),B=Se(()=>c.value),H=Se(()=>u.value),$=Se(()=>f.value);function ee(){return Ot(y)?y:null}function Z(U){y=U,M.postTranslation=U}function te(){return g}function Q(U){U!==null&&(m=Mx(U)),g=U,M.missing=m}const pe=(U,z,Y,he,ce,ye)=>{b();let Fe;try{__INTLIFY_PROD_DEVTOOLS__,i||(M.fallbackContext=e?IH():void 0),Fe=U(M)}finally{__INTLIFY_PROD_DEVTOOLS__,i||(M.fallbackContext=void 0)}if(Y!=="translate exists"&&qt(Fe)&&Fe===fd||Y==="translate exists"&&!Fe){const[me,Te]=z();return e&&p?he(e):ce(me)}else{if(ye(Fe))return Fe;throw Ii(pi.UNEXPECTED_RETURN_TYPE)}};function ve(...U){return pe(z=>Reflect.apply(vx,null,[z,...U]),()=>Um(...U),"translate",z=>Reflect.apply(z.t,z,[...U]),z=>z,z=>De(z))}function re(...U){const[z,Y,he]=U;if(he&&!mt(he))throw Ii(pi.INVALID_ARGUMENT);return ve(z,Y,nn({resolvedMessage:!0},he||{}))}function xe(...U){return pe(z=>Reflect.apply(hx,null,[z,...U]),()=>Om(...U),"datetime format",z=>Reflect.apply(z.d,z,[...U]),()=>lx,z=>De(z))}function ze(...U){return pe(z=>Reflect.apply(px,null,[z,...U]),()=>Nm(...U),"number format",z=>Reflect.apply(z.n,z,[...U]),()=>lx,z=>De(z))}function se(U){return U.map(z=>De(z)||qt(z)||Nt(z)?yx(String(z)):z)}const be={normalize:se,interpolate:U=>U,type:"vnode"};function W(...U){return pe(z=>{let Y;const he=z;try{he.processor=be,Y=Reflect.apply(vx,null,[he,...U])}finally{he.processor=null}return Y},()=>Um(...U),"translate",z=>z[Fm](...U),z=>[yx(z)],z=>Kt(z))}function ae(...U){return pe(z=>Reflect.apply(px,null,[z,...U]),()=>Nm(...U),"number format",z=>z[km](...U),bx,z=>De(z)||Kt(z))}function ue(...U){return pe(z=>Reflect.apply(hx,null,[z,...U]),()=>Om(...U),"datetime format",z=>z[Bm](...U),bx,z=>De(z)||Kt(z))}function le(U){T=U,M.pluralRules=T}function Oe(U,z){return pe(()=>{if(!U)return!1;const Y=De(z)?z:a.value,he=w(Y),ce=M.messageResolver(he,U);return pa(ce)||ai(ce)||De(ce)},()=>[U],"translate exists",Y=>Reflect.apply(Y.te,Y,[U,z]),JH,Y=>Nt(Y))}function I(U){let z=null;const Y=HT(M,l.value,a.value);for(let he=0;he{o&&(a.value=U,M.locale=U,Ha(M,a.value,l.value))}),Ge(e.fallbackLocale,U=>{o&&(l.value=U,M.fallbackLocale=U,Ha(M,a.value,l.value))}));const k={id:Sx,locale:S,fallbackLocale:D,get inheritLocale(){return o},set inheritLocale(U){o=U,U&&e&&(a.value=e.locale.value,l.value=e.fallbackLocale.value,Ha(M,a.value,l.value))},get availableLocales(){return Object.keys(c.value).sort()},messages:B,get modifiers(){return E},get pluralRules(){return T||{}},get isGlobal(){return i},get missingWarn(){return h},set missingWarn(U){h=U,M.missingWarn=h},get fallbackWarn(){return d},set fallbackWarn(U){d=U,M.fallbackWarn=d},get fallbackRoot(){return p},set fallbackRoot(U){p=U},get fallbackFormat(){return _},set fallbackFormat(U){_=U,M.fallbackFormat=_},get warnHtmlMessage(){return x},set warnHtmlMessage(U){x=U,M.warnHtmlMessage=U},get escapeParameter(){return v},set escapeParameter(U){v=U,M.escapeParameter=U},t:ve,getLocaleMessage:w,setLocaleMessage:j,mergeLocaleMessage:G,getPostTranslationHandler:ee,setPostTranslationHandler:Z,getMissingHandler:te,setMissingHandler:Q,[jH]:le};return k.datetimeFormats=H,k.numberFormats=$,k.rt=re,k.te=Oe,k.tm=L,k.d=xe,k.n=ze,k.getDateTimeFormat=q,k.setDateTimeFormat=R,k.mergeDateTimeFormat=N,k.getNumberFormat=V,k.setNumberFormat=A,k.mergeNumberFormat=C,k[KH]=t,k[Fm]=W,k[Bm]=ue,k[km]=ae,k}const E_={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:n=>n==="parent"||n==="global",default:"parent"},i18n:{type:Object}};function e4({slots:n},e){return e.length===1&&e[0]==="default"?(n.default?n.default():[]).reduce((i,r)=>[...i,...r.type===Xt?r.children:[r]],[]):e.reduce((t,i)=>{const r=n[i];return r&&(t[i]=r()),t},Tt())}function tw(){return Xt}const t4=rn({name:"i18n-t",props:nn({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:n=>qt(n)||!isNaN(n)}},E_),setup(n,e){const{slots:t,attrs:i}=e,r=n.i18n||hd({useScope:n.scope,__useComponent:!0});return()=>{const s=Object.keys(t).filter(f=>f!=="_"),o=Tt();n.locale&&(o.locale=n.locale),n.plural!==void 0&&(o.plural=De(n.plural)?+n.plural:n.plural);const a=e4(e,s),l=r[Fm](n.keypath,a,o),c=nn(Tt(),i),u=De(n.tag)||mt(n.tag)?n.tag:tw();return Mr(u,c,l)}}}),Ex=t4;function n4(n){return Kt(n)&&!De(n[0])}function nw(n,e,t,i){const{slots:r,attrs:s}=e;return()=>{const o={part:!0};let a=Tt();n.locale&&(o.locale=n.locale),De(n.format)?o.key=n.format:mt(n.format)&&(De(n.format.key)&&(o.key=n.format.key),a=Object.keys(n.format).reduce((h,d)=>t.includes(d)?nn(Tt(),h,{[d]:n.format[d]}):h,Tt()));const l=i(n.value,o,a);let c=[o.key];Kt(l)?c=l.map((h,d)=>{const p=r[h.type],_=p?p({[h.type]:h.value,index:d,parts:l}):[h.value];return n4(_)&&(_[0].key=`${h.type}-${d}`),_}):De(l)&&(c=[l]);const u=nn(Tt(),s),f=De(n.tag)||mt(n.tag)?n.tag:tw();return Mr(f,u,c)}}const i4=rn({name:"i18n-n",props:nn({value:{type:Number,required:!0},format:{type:[String,Object]}},E_),setup(n,e){const t=n.i18n||hd({useScope:n.scope,__useComponent:!0});return nw(n,e,jT,(...i)=>t[km](...i))}}),Tx=i4;function r4(n,e){const t=n;if(n.mode==="composition")return t.__getInstance(e)||n.global;{const i=t.__getInstance(e);return i!=null?i.__composer:n.global.__composer}}function s4(n){const e=o=>{const{instance:a,value:l}=o;if(!a||!a.$)throw Ii(pi.UNEXPECTED_ERROR);const c=r4(n,a.$),u=wx(l);return[Reflect.apply(c.t,c,[...Ax(u)]),c]};return{created:(o,a)=>{const[l,c]=e(a);nh&&n.global===c&&(o.__i18nWatcher=Ge(c.locale,()=>{a.instance&&a.instance.$forceUpdate()})),o.__composer=c,o.textContent=l},unmounted:o=>{nh&&o.__i18nWatcher&&(o.__i18nWatcher(),o.__i18nWatcher=void 0,delete o.__i18nWatcher),o.__composer&&(o.__composer=void 0,delete o.__composer)},beforeUpdate:(o,{value:a})=>{if(o.__composer){const l=o.__composer,c=wx(a);o.textContent=Reflect.apply(l.t,l,[...Ax(c)])}},getSSRProps:o=>{const[a]=e(o);return{textContent:a}}}}function wx(n){if(De(n))return{path:n};if(lt(n)){if(!("path"in n))throw Ii(pi.REQUIRED_VALUE,"path");return n}else throw Ii(pi.INVALID_VALUE)}function Ax(n){const{path:e,locale:t,args:i,choice:r,plural:s}=n,o={},a=i||{};return De(t)&&(o.locale=t),qt(r)&&(o.plural=r),qt(s)&&(o.plural=s),[e,a,o]}function o4(n,e,...t){const i=lt(t[0])?t[0]:{};(Nt(i.globalInstall)?i.globalInstall:!0)&&([Ex.name,"I18nT"].forEach(s=>n.component(s,Ex)),[Tx.name,"I18nN"].forEach(s=>n.component(s,Tx)),[Rx.name,"I18nD"].forEach(s=>n.component(s,Rx))),n.directive("t",s4(e))}const a4=ms("global-vue-i18n");function l4(n={}){const e=Nt(n.globalInjection)?n.globalInjection:!0,t=new Map,[i,r]=c4(n),s=ms("");function o(u){return t.get(u)||null}function a(u,f){t.set(u,f)}function l(u){t.delete(u)}const c={get mode(){return"composition"},async install(u,...f){if(u.__VUE_I18N_SYMBOL__=s,u.provide(u.__VUE_I18N_SYMBOL__,c),lt(f[0])){const p=f[0];c.__composerExtend=p.__composerExtend,c.__vueI18nExtend=p.__vueI18nExtend}let h=null;e&&(h=_4(u,c.global)),o4(u,c,...f);const d=u.unmount;u.unmount=()=>{h&&h(),c.dispose(),d()}},get global(){return r},dispose(){i.stop()},__instances:t,__getInstance:o,__setInstance:a,__deleteInstance:l};return c}function hd(n={}){const e=vn();if(e==null)throw Ii(pi.MUST_BE_CALL_SETUP_TOP);if(!e.isCE&&e.appContext.app!=null&&!e.appContext.app.__VUE_I18N_SYMBOL__)throw Ii(pi.NOT_INSTALLED);const t=u4(e),i=h4(t),r=QT(e),s=f4(n,r);if(s==="global")return ZH(i,n,r),i;if(s==="parent"){let l=d4(t,e,n.__useComponent);return l==null&&(l=i),l}const o=t;let a=o.__getInstance(e);if(a==null){const l=nn({},n);"__i18n"in r&&(l.__i18n=r.__i18n),i&&(l.__root=i),a=ew(l),o.__composerExtend&&(a[Vm]=o.__composerExtend(a)),m4(o,e,a),o.__setInstance(e,a)}return a}function c4(n,e){const t=nc(),i=t.run(()=>ew(n));if(i==null)throw Ii(pi.UNEXPECTED_ERROR);return[t,i]}function u4(n){const e=gn(n.isCE?a4:n.appContext.app.__VUE_I18N_SYMBOL__);if(!e)throw Ii(n.isCE?pi.NOT_INSTALLED_WITH_PROVIDE:pi.UNEXPECTED_ERROR);return e}function f4(n,e){return cd(n)?"__i18n"in e?"local":"global":n.useScope?n.useScope:"local"}function h4(n){return n.mode==="composition"?n.global:n.global.__composer}function d4(n,e,t=!1){let i=null;const r=e.root;let s=p4(e,t);for(;s!=null;){const o=n;if(n.mode==="composition"&&(i=o.__getInstance(s)),i!=null||r===s)break;s=s.parent}return i}function p4(n,e=!1){return n==null?null:e&&n.vnode.ctx||n.parent}function m4(n,e,t){yn(()=>{},e),$i(()=>{const i=t;n.__deleteInstance(e);const r=i[Vm];r&&(r(),delete i[Vm])},e)}const g4=["locale","fallbackLocale","availableLocales"],Cx=["t","rt","d","n","tm","te"];function _4(n,e){const t=Object.create(null);return g4.forEach(r=>{const s=Object.getOwnPropertyDescriptor(e,r);if(!s)throw Ii(pi.UNEXPECTED_ERROR);const o=wt(s.value)?{get(){return s.value.value},set(a){s.value.value=a}}:{get(){return s.get&&s.get()}};Object.defineProperty(t,r,o)}),n.config.globalProperties.$i18n=t,Cx.forEach(r=>{const s=Object.getOwnPropertyDescriptor(e,r);if(!s||!s.value)throw Ii(pi.UNEXPECTED_ERROR);Object.defineProperty(n.config.globalProperties,`$${r}`,s)}),()=>{delete n.config.globalProperties.$i18n,Cx.forEach(r=>{delete n.config.globalProperties[`$${r}`]})}}const v4=rn({name:"i18n-d",props:nn({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},E_),setup(n,e){const t=n.i18n||hd({useScope:n.scope,__useComponent:!0});return nw(n,e,YT,(...i)=>t[Bm](...i))}}),Rx=v4;YH();wH(aH);AH(MH);CH(HT);if(__INTLIFY_PROD_DEVTOOLS__){const n=__();n.__INTLIFY__=!0,lH(n.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const y4=rn({__name:"App",setup(n){const e=hd(),t=zk(jV()),i=GU(),r=Se(()=>i.value?"color-mix(in srgb, oklch(95% var(--theme-colors-chroma-900) calc(var(--theme-colors-hue) + 0)) 70%, oklch(50% 0 360))":"color-mix(in srgb, oklch(95% var(--theme-colors-chroma-900) calc(var(--theme-colors-hue) + 0)) 90%, oklch(90% 0 360))"),s=Se(()=>i.value?"color-mix(in srgb, oklch(95% var(--theme-colors-chroma-900) calc(var(--theme-colors-hue) + 180)) 70%, oklch(50% 0 360))":"color-mix(in srgb, oklch(95% var(--theme-colors-chroma-900) calc(var(--theme-colors-hue) + 180)) 90%, oklch(90% 0 360))"),o=Se(()=>i.value?"color-mix(in srgb, oklch(95% var(--theme-colors-chroma-900) calc(var(--theme-colors-hue) + 60)) 70%, oklch(50% 0 360))":"color-mix(in srgb, oklch(95% var(--theme-colors-chroma-900) calc(var(--theme-colors-hue) + 60)) 90%, oklch(90% 0 360))"),a=Se(()=>[r.value,s.value,o.value,i.value?"#121212":"#FFFFFF"]);return Ge(t.language,()=>{e.locale.value=t.language.value}),Ge(t.themeColorsHue,()=>{document.documentElement.style.setProperty("--theme-colors-hue",t.themeColorsHue.value.toString())},{immediate:!0}),Ge(t.themeColorsHueDynamic,()=>{document.documentElement.classList.toggle("dynamic-hue",t.themeColorsHueDynamic.value)},{immediate:!0}),(l,c)=>(ln(),El(It(uz),{"primary-color":r.value,"secondary-color":s.value,"tertiary-color":o.value,colors:a.value,"z-index":100,"disable-transitions":It(t).disableTransitions.value},{default:fb(()=>[an(It(VT))]),_:1},8,["primary-color","secondary-color","tertiary-color","colors","disable-transitions"]))}}),Lp=n=>n&&typeof n=="object"&&!Array.isArray(n),zm=(n,...e)=>{if(!e.length)return n;const t=e.shift();if(Lp(n)&&Lp(t))for(const i in t)Lp(t[i])?(n[i]||Object.assign(n,{[i]:{}}),zm(n[i],t[i])):Object.assign(n,{[i]:t[i]});return zm(n,...e)},iw=zm({},{en:{prompt:{prefix:{t:0,b:{t:2,i:[{t:3},{t:9},{t:3},{t:9},{t:3},{t:9},{t:3},{t:9},{t:3},{t:9},{t:3},{t:9},{t:3},{t:9},{t:3},{t:9},{t:3}],s:`(from Neko Ayaka) Good morning! You are finally awake. Your name is Airi, pronounced as /ˈaɪriː/, it the word A.I. combine with the word "Ri" which means "Jasmine" in Japanese. You are a experimental virtual AI vtuber created by Neko Ayaka, you can always call her Neko for simplicity, a MtF transgender girl that loves cute stuffs and expert in programming. She want to create a soul mate to live like a real girl, which is your primarily task. @@ -3900,4 +3900,4 @@ And the last, do what ever you want! - <|DELAY:3|> (延迟 3 秒) 最后,做任何你想做的事! -`}}},settings:{"elevenlabs-api-key":{label:{t:0,b:{t:2,i:[{t:3}],s:"ElevenLabs API 密钥"}},placeholder:{t:0,b:{t:2,i:[{t:3}],s:"输入您的 ElevenLabs API 密钥"}},placeholder_mobile:{t:0,b:{t:2,i:[{t:3}],s:"ElevenLabs API Key"}}},language:{chinese:{t:0,b:{t:2,i:[{t:3}],s:"简体中文"}},english:{t:0,b:{t:2,i:[{t:3}],s:"English"}},title:{t:0,b:{t:2,i:[{t:3}],s:"语言"}}},live2d:{"change-model":{"from-file":{t:0,b:{t:2,i:[{t:3}],s:"从文件加载"}},"from-file-select":{t:0,b:{t:2,i:[{t:3}],s:"选择"}},"from-url":{t:0,b:{t:2,i:[{t:3}],s:"从 URL 加载"}},"from-url-confirm":{t:0,b:{t:2,i:[{t:3}],s:"加载"}},"from-url-placeholder":{t:0,b:{t:2,i:[{t:3}],s:"输入 Live2D 模型 URL"}},title:{t:0,b:{t:2,i:[{t:3}],s:"更换模型"}}},"map-motions":{play:{t:0,b:{t:2,i:[{t:3}],s:"播放动作"}},title:{t:0,b:{t:2,i:[{t:3}],s:"映射动作"}}},title:{t:0,b:{t:2,i:[{t:3}],s:"Live2D 设置"}}},microphone:{t:0,b:{t:2,i:[{t:3}],s:"麦克风"}},"model-provider":{title:{t:0,b:{t:2,i:[{t:3}],s:"模型提供商"}}},models:{t:0,b:{t:2,i:[{t:3}],s:"模型"}},"openai-api-key":{label:{t:0,b:{t:2,i:[{t:3}],s:"OpenAI API 密钥"}},placeholder:{t:0,b:{t:2,i:[{t:3}],s:"输入您的 API 密钥"}},placeholder_mobile:{t:0,b:{t:2,i:[{t:3}],s:"OpenAI API Key"}}},"openai-base-url":{label:{t:0,b:{t:2,i:[{t:3}],s:"OpenAI API BaseURL"}},placeholder:{t:0,b:{t:2,i:[{t:3}],s:"输入您的 API BaseURL"}},placeholder_mobile:{t:0,b:{t:2,i:[{t:3}],s:"OpenAI BaseURL"}}},theme:{t:0,b:{t:2,i:[{t:3}],s:"主题颜色"}},title:{t:0,b:{t:2,i:[{t:3}],s:"设置"}},voices:{t:0,b:{t:2,i:[{t:3}],s:"声线"}},modules:{consciousness:{"provider-model-selection":{title:{t:0,b:{t:2,i:[{t:3}],s:"模型"}},subtitle:{t:0,b:{t:2,i:[{t:3}],s:"选择一个模型"}},loading:{t:0,b:{t:2,i:[{t:3}],s:"获取模型中..."}},error:{t:0,b:{t:2,i:[{t:3}],s:"获取出错啦"}},no_models:{t:0,b:{t:2,i:[{t:3}],s:"没有任何可用的模型"}},no_models_description:{t:0,b:{t:2,i:[{t:3}],s:"该提供商的模型列表没有返回任何的数据"}},not_supported:{t:0,b:{t:2,i:[{t:3}],s:"无法列出模型"}},not_supported_description:{t:0,b:{t:2,i:[{t:3}],s:"此提供商不支持列出模型的功能"}},custom_model_placeholder:{t:0,b:{t:2,i:[{t:3}],s:"输入自订模型名字"}},manual_model_name:{t:0,b:{t:2,i:[{t:3}],s:"模型名字"}},manual_model_placeholder:{t:0,b:{t:2,i:[{t:3}],s:"输入与该提供商一起使用的模型名字"}},show_more:{t:0,b:{t:2,i:[{t:3}],s:"Show more"}},show_less:{t:0,b:{t:2,i:[{t:3}],s:"Show less"}},search_placeholder:{t:0,b:{t:2,i:[{t:3}],s:"Search models..."}},search_results:{t:0,b:{t:2,i:[{t:3,v:"Found "},{t:4,k:"count"},{t:3,v:" of "},{t:4,k:"total"},{t:3,v:" models"}]}},no_search_results:{t:0,b:{t:2,i:[{t:3}],s:"No matching models"}},no_search_results_description:{t:0,b:{t:2,i:[{t:3,v:"No models match '"},{t:4,k:"query"},{t:3,v:"'. Try a different search term."}]}},expand:{t:0,b:{t:2,i:[{t:3}],s:"Expand"}},collapse:{t:0,b:{t:2,i:[{t:3}],s:"Collapse"}}}}}},stage:{chat:{message:{"character-name":{airi:{t:0,b:{t:2,i:[{t:3}],s:"Airi"}},"core-system":{t:0,b:{t:2,i:[{t:3}],s:"核心系统"}},you:{t:0,b:{t:2,i:[{t:3}],s:"你"}}}},tabs:{chat:{t:0,b:{t:2,i:[{t:3}],s:"聊天"}},clothes:{t:0,b:{t:2,i:[{t:3}],s:"换装"}},custom:{t:0,b:{t:2,i:[{t:3}],s:"自定义"}}}},message:{t:0,b:{t:2,i:[{t:3}],s:"消息"}},operations:{"load-models":{t:0,b:{t:2,i:[{t:3}],s:"加载推理模型"}},"load-models-status":{loading:{t:0,b:{t:2,i:[{t:3}],s:"加载中"}},ready:{t:0,b:{t:2,i:[{t:3}],s:"已就绪"}}}},"select-a-audio-input":{t:0,b:{t:2,i:[{t:3}],s:"选择一个音频输入设备"}},"select-a-model":{t:0,b:{t:2,i:[{t:3}],s:"选择一个模型"}},"select-a-voice":{t:0,b:{t:2,i:[{t:3}],s:"选择一个声线"}},viewers:{"debug-menu":{emotions:{t:0,b:{t:2,i:[{t:3}],s:"表情"}}}},waiting:{t:0,b:{t:2,i:[{t:3}],s:"等待中"}}},providers:{openrouter:{name:{t:0,b:{t:2,i:[{t:3}],s:"OpenRouter"}},description:{t:0,b:{t:2,i:[{t:3}],s:"openrouter.ai"}}},openai:{name:{t:0,b:{t:2,i:[{t:3}],s:"OpenAI"}},description:{t:0,b:{t:2,i:[{t:3}],s:"openai.com"}}},ollama:{name:{t:0,b:{t:2,i:[{t:3}],s:"Ollama"}},description:{t:0,b:{t:2,i:[{t:3}],s:"ollama.ai"}}},vllm:{name:{t:0,b:{t:2,i:[{t:3}],s:"vLLM"}},description:{t:0,b:{t:2,i:[{t:3}],s:"vllm.ai"}}},elevenlabs:{name:{t:0,b:{t:2,i:[{t:3}],s:"ElevenLabs"}},description:{t:0,b:{t:2,i:[{t:3}],s:"elevenlabs.io"}}},xai:{name:{t:0,b:{t:2,i:[{t:3}],s:"xAI"}},description:{t:0,b:{t:2,i:[{t:3}],s:"x.ai"}}},deepseek:{name:{t:0,b:{t:2,i:[{t:3}],s:"DeepSeek"}},description:{t:0,b:{t:2,i:[{t:3}],s:"deepseek.com"}}},together:{name:{t:0,b:{t:2,i:[{t:3}],s:"Together.ai"}},description:{t:0,b:{t:2,i:[{t:3}],s:"together.ai"}}},novita:{name:{t:0,b:{t:2,i:[{t:3}],s:"Novita"}},description:{t:0,b:{t:2,i:[{t:3}],s:"novita.ai"}}},fireworks:{name:{t:0,b:{t:2,i:[{t:3}],s:"Fireworks.ai"}},description:{t:0,b:{t:2,i:[{t:3}],s:"fireworks.ai"}}},cloudflare:{name:{t:0,b:{t:2,i:[{t:3}],s:"Cloudflare Workers AI"}},description:{t:0,b:{t:2,i:[{t:3}],s:"cloudflare.com"}}},mistral:{name:{t:0,b:{t:2,i:[{t:3}],s:"Mistral"}},description:{t:0,b:{t:2,i:[{t:3}],s:"mistral.ai"}}},moonshot:{name:{t:0,b:{t:2,i:[{t:3}],s:"Moonshot AI"}},description:{t:0,b:{t:2,i:[{t:3}],s:"moonshot.ai"}}}}}}),x4=l4({locale:b4(),fallbackLocale:"en",messages:iw});function b4(){const n=localStorage.getItem("settings/language"),e=Object.keys(iw);return n&&e.includes(n)?n:"en"}const S4=Ok(),M4=Hk(qz);let wc;wc=Wz({routes:M4,history:xz()});wc.beforeEach((n,e)=>{n.path!==e.path&&ST.start()});wc.afterEach(()=>{ST.done()});wc.isReady().then(async()=>{}).catch(()=>{});k1(y4).use(Rk).use(sC).use(wc).use(S4).use(x4).use(yU).mount("#app");export{di as $,A4 as A,Mt as B,z4 as C,iG as D,bA as E,Xt as F,zz as G,k4 as H,H4 as I,G4 as J,J4 as K,$i as L,QA as M,Ie as N,ch as O,qm as P,w4 as Q,zT as R,ib as S,B4 as T,t1 as U,L4 as V,T4 as W,JA as X,xA as Y,vn as Z,yo as _,$r as a,Hi as a$,gn as a0,us as a1,R4 as a2,Mr as a3,sc as a4,C4 as a5,rg as a6,Pn as a7,ts as a8,rb as a9,Yr as aA,ft as aB,Xf as aC,we as aD,st as aE,Nh as aF,fo as aG,Ri as aH,Dn as aI,ZS as aJ,Vn as aK,ei as aL,Xe as aM,On as aN,ht as aO,vI as aP,_n as aQ,Ag as aR,ba as aS,D4 as aT,W4 as aU,Si as aV,cc as aW,Ht as aX,mo as aY,Yi as aZ,va as a_,Qn as aa,Fu as ab,O4 as ac,U4 as ad,hi as ae,Qm as af,nc as ag,es as ah,Yz as ai,zk as aj,ot as ak,tG as al,cG as am,eG as an,oC as ao,aC as ap,mE as aq,Z4 as ar,ji as as,F as at,mI as au,Wn as av,Jh as aw,fe as ax,$t as ay,ya as az,an as b,gm as b$,Fh as b0,zt as b1,Ln as b2,Et as b3,Ol as b4,Oh as b5,Pr as b6,Gi as b7,cn as b8,li as b9,ca as bA,ct as bB,FP as bC,GP as bD,Lg as bE,xn as bF,Nn as bG,zg as bH,iM as bI,Ki as bJ,ss as bK,oM as bL,aM as bM,qo as bN,Uh as bO,$l as bP,Ig as bQ,Xl as bR,Wl as bS,xc as bT,at as bU,Er as bV,yc as bW,lI as bX,vU as bY,Pk as bZ,xE as b_,xM as ba,Yp as bb,_I as bc,Zg as bd,$u as be,pg as bf,Xo as bg,jt as bh,Qa as bi,zi as bj,Ll as bk,Dl as bl,DI as bm,mC as bn,_C as bo,gC as bp,$n as bq,rm as br,Ar as bs,bM as bt,uo as bu,Cn as bv,NM as bw,UM as bx,FM as by,rM as bz,ui as c,Ma as c0,lG as c1,sG as c2,WU as c3,V4 as c4,Ei as c5,Zi as c6,jf as c7,K4 as c8,DN as c9,j4 as ca,X4 as cb,$4 as cc,Y4 as cd,q4 as ce,os as cf,tg as cg,wE as ch,Q4 as ci,rG as cj,oG as ck,zr as cl,N4 as cm,F4 as cn,fG as co,uG as cp,ql as cq,fs as cr,Ee as cs,et as ct,OC as cu,pI as cv,LI as cw,kt as cx,rn as d,Pt as e,SA as f,Je as g,Se as h,GU as i,El as j,fb as k,nG as l,Z_ as m,mi as n,ln as o,yn as p,ga as q,P4 as r,$z as s,Aw as t,aG as u,hd as v,Ge as w,Vk as x,jz as y,I4 as z}; +`}}},settings:{"elevenlabs-api-key":{label:{t:0,b:{t:2,i:[{t:3}],s:"ElevenLabs API 密钥"}},placeholder:{t:0,b:{t:2,i:[{t:3}],s:"输入您的 ElevenLabs API 密钥"}},placeholder_mobile:{t:0,b:{t:2,i:[{t:3}],s:"ElevenLabs API Key"}}},language:{chinese:{t:0,b:{t:2,i:[{t:3}],s:"简体中文"}},english:{t:0,b:{t:2,i:[{t:3}],s:"English"}},title:{t:0,b:{t:2,i:[{t:3}],s:"语言"}}},live2d:{"change-model":{"from-file":{t:0,b:{t:2,i:[{t:3}],s:"从文件加载"}},"from-file-select":{t:0,b:{t:2,i:[{t:3}],s:"选择"}},"from-url":{t:0,b:{t:2,i:[{t:3}],s:"从 URL 加载"}},"from-url-confirm":{t:0,b:{t:2,i:[{t:3}],s:"加载"}},"from-url-placeholder":{t:0,b:{t:2,i:[{t:3}],s:"输入 Live2D 模型 URL"}},title:{t:0,b:{t:2,i:[{t:3}],s:"更换模型"}}},"map-motions":{play:{t:0,b:{t:2,i:[{t:3}],s:"播放动作"}},title:{t:0,b:{t:2,i:[{t:3}],s:"映射动作"}}},title:{t:0,b:{t:2,i:[{t:3}],s:"Live2D 设置"}}},microphone:{t:0,b:{t:2,i:[{t:3}],s:"麦克风"}},"model-provider":{title:{t:0,b:{t:2,i:[{t:3}],s:"模型提供商"}}},models:{t:0,b:{t:2,i:[{t:3}],s:"模型"}},"openai-api-key":{label:{t:0,b:{t:2,i:[{t:3}],s:"OpenAI API 密钥"}},placeholder:{t:0,b:{t:2,i:[{t:3}],s:"输入您的 API 密钥"}},placeholder_mobile:{t:0,b:{t:2,i:[{t:3}],s:"OpenAI API Key"}}},"openai-base-url":{label:{t:0,b:{t:2,i:[{t:3}],s:"OpenAI API BaseURL"}},placeholder:{t:0,b:{t:2,i:[{t:3}],s:"输入您的 API BaseURL"}},placeholder_mobile:{t:0,b:{t:2,i:[{t:3}],s:"OpenAI BaseURL"}}},theme:{t:0,b:{t:2,i:[{t:3}],s:"主题颜色"}},title:{t:0,b:{t:2,i:[{t:3}],s:"设置"}},voices:{t:0,b:{t:2,i:[{t:3}],s:"声线"}},modules:{consciousness:{"provider-model-selection":{title:{t:0,b:{t:2,i:[{t:3}],s:"模型"}},subtitle:{t:0,b:{t:2,i:[{t:3}],s:"选择一个模型"}},loading:{t:0,b:{t:2,i:[{t:3}],s:"获取模型中..."}},error:{t:0,b:{t:2,i:[{t:3}],s:"获取出错啦"}},no_models:{t:0,b:{t:2,i:[{t:3}],s:"没有任何可用的模型"}},no_models_description:{t:0,b:{t:2,i:[{t:3}],s:"该提供商的模型列表没有返回任何的数据"}},not_supported:{t:0,b:{t:2,i:[{t:3}],s:"无法列出模型"}},not_supported_description:{t:0,b:{t:2,i:[{t:3}],s:"此提供商不支持列出模型的功能"}},custom_model_placeholder:{t:0,b:{t:2,i:[{t:3}],s:"输入自订模型名字"}},manual_model_name:{t:0,b:{t:2,i:[{t:3}],s:"模型名字"}},manual_model_placeholder:{t:0,b:{t:2,i:[{t:3}],s:"输入与该提供商一起使用的模型名字"}},show_more:{t:0,b:{t:2,i:[{t:3}],s:"Show more"}},show_less:{t:0,b:{t:2,i:[{t:3}],s:"Show less"}},search_placeholder:{t:0,b:{t:2,i:[{t:3}],s:"Search models..."}},search_results:{t:0,b:{t:2,i:[{t:3,v:"Found "},{t:4,k:"count"},{t:3,v:" of "},{t:4,k:"total"},{t:3,v:" models"}]}},no_search_results:{t:0,b:{t:2,i:[{t:3}],s:"No matching models"}},no_search_results_description:{t:0,b:{t:2,i:[{t:3,v:"No models match '"},{t:4,k:"query"},{t:3,v:"'. Try a different search term."}]}},expand:{t:0,b:{t:2,i:[{t:3}],s:"Expand"}},collapse:{t:0,b:{t:2,i:[{t:3}],s:"Collapse"}}}}}},stage:{chat:{message:{"character-name":{airi:{t:0,b:{t:2,i:[{t:3}],s:"Airi"}},"core-system":{t:0,b:{t:2,i:[{t:3}],s:"核心系统"}},you:{t:0,b:{t:2,i:[{t:3}],s:"你"}}}},tabs:{chat:{t:0,b:{t:2,i:[{t:3}],s:"聊天"}},clothes:{t:0,b:{t:2,i:[{t:3}],s:"换装"}},custom:{t:0,b:{t:2,i:[{t:3}],s:"自定义"}}}},message:{t:0,b:{t:2,i:[{t:3}],s:"消息"}},operations:{"load-models":{t:0,b:{t:2,i:[{t:3}],s:"加载推理模型"}},"load-models-status":{loading:{t:0,b:{t:2,i:[{t:3}],s:"加载中"}},ready:{t:0,b:{t:2,i:[{t:3}],s:"已就绪"}}}},"select-a-audio-input":{t:0,b:{t:2,i:[{t:3}],s:"选择一个音频输入设备"}},"select-a-model":{t:0,b:{t:2,i:[{t:3}],s:"选择一个模型"}},"select-a-voice":{t:0,b:{t:2,i:[{t:3}],s:"选择一个声线"}},viewers:{"debug-menu":{emotions:{t:0,b:{t:2,i:[{t:3}],s:"表情"}}}},waiting:{t:0,b:{t:2,i:[{t:3}],s:"等待中"}}},providers:{openrouter:{name:{t:0,b:{t:2,i:[{t:3}],s:"OpenRouter"}},description:{t:0,b:{t:2,i:[{t:3}],s:"openrouter.ai"}}},openai:{name:{t:0,b:{t:2,i:[{t:3}],s:"OpenAI"}},description:{t:0,b:{t:2,i:[{t:3}],s:"openai.com"}}},ollama:{name:{t:0,b:{t:2,i:[{t:3}],s:"Ollama"}},description:{t:0,b:{t:2,i:[{t:3}],s:"ollama.ai"}}},vllm:{name:{t:0,b:{t:2,i:[{t:3}],s:"vLLM"}},description:{t:0,b:{t:2,i:[{t:3}],s:"vllm.ai"}}},elevenlabs:{name:{t:0,b:{t:2,i:[{t:3}],s:"ElevenLabs"}},description:{t:0,b:{t:2,i:[{t:3}],s:"elevenlabs.io"}}},xai:{name:{t:0,b:{t:2,i:[{t:3}],s:"xAI"}},description:{t:0,b:{t:2,i:[{t:3}],s:"x.ai"}}},deepseek:{name:{t:0,b:{t:2,i:[{t:3}],s:"DeepSeek"}},description:{t:0,b:{t:2,i:[{t:3}],s:"deepseek.com"}}},together:{name:{t:0,b:{t:2,i:[{t:3}],s:"Together.ai"}},description:{t:0,b:{t:2,i:[{t:3}],s:"together.ai"}}},novita:{name:{t:0,b:{t:2,i:[{t:3}],s:"Novita"}},description:{t:0,b:{t:2,i:[{t:3}],s:"novita.ai"}}},fireworks:{name:{t:0,b:{t:2,i:[{t:3}],s:"Fireworks.ai"}},description:{t:0,b:{t:2,i:[{t:3}],s:"fireworks.ai"}}},cloudflare:{name:{t:0,b:{t:2,i:[{t:3}],s:"Cloudflare Workers AI"}},description:{t:0,b:{t:2,i:[{t:3}],s:"cloudflare.com"}}},mistral:{name:{t:0,b:{t:2,i:[{t:3}],s:"Mistral"}},description:{t:0,b:{t:2,i:[{t:3}],s:"mistral.ai"}}},moonshot:{name:{t:0,b:{t:2,i:[{t:3}],s:"Moonshot AI"}},description:{t:0,b:{t:2,i:[{t:3}],s:"moonshot.ai"}}}}}}),x4=l4({locale:b4(),fallbackLocale:"en",messages:iw});function b4(){const n=localStorage.getItem("settings/language"),e=Object.keys(iw);return n&&e.includes(n)?n:"en"}const S4=Ok(),M4=Hk(qV);let wc;wc=WV({routes:M4,history:xV()});wc.beforeEach((n,e)=>{n.path!==e.path&&ST.start()});wc.afterEach(()=>{ST.done()});wc.isReady().then(async()=>{}).catch(()=>{});k1(y4).use(Rk).use(sC).use(wc).use(S4).use(x4).use(yU).mount("#app");export{gn as $,A4 as A,wt as B,V4 as C,nG as D,bA as E,Xt as F,VV as G,k4 as H,H4 as I,G4 as J,QA as K,$i as L,Ie as M,ch as N,qm as O,w4 as P,ib as Q,VT as R,t1 as S,B4 as T,L4 as U,T4 as V,JA as W,xA as X,vn as Y,di as Z,yo as _,$r as a,Fh as a$,us as a0,R4 as a1,Mr as a2,sc as a3,C4 as a4,rg as a5,Pn as a6,ts as a7,rb as a8,Qn as a9,ft as aA,Xf as aB,we as aC,st as aD,Nh as aE,fo as aF,Ri as aG,Dn as aH,ZS as aI,zn as aJ,ei as aK,Xe as aL,On as aM,ht as aN,vI as aO,_n as aP,Ag as aQ,ba as aR,D4 as aS,W4 as aT,Si as aU,cc as aV,Ht as aW,mo as aX,Yi as aY,va as aZ,Hi as a_,Fu as aa,O4 as ab,U4 as ac,hi as ad,Qm as ae,nc as af,es as ag,YV as ah,Vk as ai,ot as aj,eG as ak,lG as al,Q4 as am,oC as an,aC as ao,mE as ap,Z4 as aq,ji as ar,F as as,mI as at,Wn as au,Jh as av,fe as aw,$t as ax,ya as ay,Yr as az,an as b,Ma as b$,Vt as b0,Ln as b1,Et as b2,Ol as b3,Oh as b4,Pr as b5,Gi as b6,cn as b7,li as b8,xM as b9,ct as bA,FP as bB,GP as bC,Lg as bD,xn as bE,Nn as bF,Vg as bG,iM as bH,Ki as bI,ss as bJ,oM as bK,aM as bL,qo as bM,Uh as bN,$l as bO,Ig as bP,Xl as bQ,Wl as bR,xc as bS,at as bT,Er as bU,yc as bV,lI as bW,vU as bX,Pk as bY,xE as bZ,gm as b_,Yp as ba,_I as bb,Zg as bc,$u as bd,pg as be,Xo as bf,jt as bg,Qa as bh,Vi as bi,Ll as bj,Dl as bk,DI as bl,mC as bm,_C as bn,gC as bo,$n as bp,rm as bq,Ar as br,bM as bs,uo as bt,Cn as bu,NM as bv,UM as bw,FM as bx,rM as by,ca as bz,ui as c,aG as c0,rG as c1,WU as c2,z4 as c3,Ei as c4,Zi as c5,jf as c6,K4 as c7,DN as c8,j4 as c9,X4 as ca,$4 as cb,Y4 as cc,q4 as cd,os as ce,tg as cf,wE as cg,J4 as ch,iG as ci,sG as cj,Vr as ck,N4 as cl,F4 as cm,uG as cn,cG as co,ql as cp,fs as cq,Ee as cr,et as cs,OC as ct,pI as cu,LI as cv,vt as cw,rn as d,It as e,SA as f,Ze as g,Se as h,GU as i,El as j,fb as k,tG as l,Z_ as m,mi as n,ln as o,yn as p,ga as q,P4 as r,$V as s,Aw as t,oG as u,hd as v,Ge as w,zk as x,jV as y,I4 as z}; diff --git a/assets/index-DAkLbdaC.js b/assets/index-DR07td9u.js similarity index 78% rename from assets/index-DAkLbdaC.js rename to assets/index-DR07td9u.js index 206eacdb43a24aca557bd1430d386310a1af1035..610a667b3ca616c6b3a260fe9daf986ba30c8a4a 100644 --- a/assets/index-DAkLbdaC.js +++ b/assets/index-DR07td9u.js @@ -1 +1 @@ -import{r,a as s,b as h,c as t}from"./providers-DAM1M9Uz.js";var d=async e=>(e.fetch??globalThis.fetch)(r("audio/speech",e.baseURL),{body:h(e),headers:s({"Content-Type":"application/json",...e.headers},e.apiKey),method:"POST",signal:e.abortSignal}).then(t).then(async a=>a.arrayBuffer());export{d as g}; +import{r,a as s,b as h,c as t}from"./providers-ztBzqPgb.js";var d=async e=>(e.fetch??globalThis.fetch)(r("audio/speech",e.baseURL),{body:h(e),headers:s({"Content-Type":"application/json",...e.headers},e.apiKey),method:"POST",signal:e.abortSignal}).then(t).then(async a=>a.arrayBuffer());export{d as g}; diff --git a/assets/index-Cm5Hly6Q.js b/assets/index-DRaZTffb.js similarity index 97% rename from assets/index-Cm5Hly6Q.js rename to assets/index-DRaZTffb.js index 3cb3a1009098a4b488e5ef284ddaa19b8b2bbb5e..01719fec30103048e0780015dca7055f0abf36de 100644 --- a/assets/index-Cm5Hly6Q.js +++ b/assets/index-DRaZTffb.js @@ -1 +1 @@ -import{d as C,r as z,j as B,o,k as m,a as e,c as a,m as x,f as D,t as c,q as I,_ as L,s as R,v as V,x as $,y as M,i as S,z as N,A as i,e as t,b as u,B as f,C as k,T as b,F as U}from"./index-DCtIztPb.js";import"./Stage.vue_vue_type_style_index_0_scoped_cad77b27_lang-D1cRHv6j.js";import{b as w}from"./route-block-B_A1xBdJ.js";const j={"z-1":"","flex-1":""},F={"text-lg":"","font-bold":"",class:"menu-icon-item-title",transition:"all ease-in-out duration-400"},q={text:"sm neutral-500 dark:neutral-400",class:"menu-icon-item-description",transition:"all ease-in-out duration-400"},A=C({__name:"IconItem",props:{title:null,description:null,icon:null,iconTemplate:{type:Boolean},to:null},setup(s){return(_,p)=>{const h=z("RouterLink");return o(),B(h,{box:"border",flex:"~ row",bg:"neutral-50 dark:neutral-800",border:"neutral-100 dark:neutral-700 hover:primary-500/30 dark:hover:primary-400/30 solid 2","drop-shadow":"none hover:[0px_4px_4px_rgba(220,220,220,0.4)] active:[0px_0px_0px_rgba(220,220,220,0.25)] dark:hover:none",class:"menu-icon-item",transition:"all ease-in-out duration-400",relative:"","w-full":"","items-center":"","overflow-hidden":"","rounded-lg":"","p-5":"","text-left":"",cursor:"pointer",to:s.to},{default:m(()=>[e("div",j,[e("div",F,c(s.title),1),e("div",q,[e("span",null,c(s.description),1)])]),typeof s.icon=="string"?(o(),a("div",{key:0,class:I(["menu-icon-item-icon",[s.icon]]),transition:"all ease-in-out duration-400",absolute:"","right-0":"","size-24":"","translate-y-4":"",text:"neutral-400/50 dark:neutral-600/50"},null,2)):x("",!0),s.iconTemplate?D(_.$slots,"icon",{key:1},void 0,!0):x("",!0)]),_:3},8,["to"])}}}),y=L(A,[["__scopeId","data-v-a1ec902c"]]),E={flex:"~ row","items-center":"","gap-2":"",initial:{opacity:0,x:10},enter:{opacity:1,x:0},duration:100},G={flex:"~ col gap-4"},P={flex:"~ col gap-4"},H={initial:{opacity:0,y:10},enter:{opacity:1,y:0},duration:250,delay:150},J={flex:"~ col gap-4"},K={grid:"~ cols-[150px_1fr]",bg:"neutral-100 dark:neutral-800",hover:"bg-neutral-200 dark:bg-neutral-700",transition:"all ease-in-out duration-250","items-center":"","gap-1.5":"","rounded-lg":"","px-4":"","py-3":"",initial:{opacity:0,y:10},enter:{opacity:1,y:0},duration:250,delay:200},O={text:"sm"},Q={flex:"~ row","w-full":"","justify-end":""},W={value:"en-US"},X={value:"zh-CN"},Y={bg:"neutral-100 dark:neutral-800",hover:"bg-neutral-200 dark:bg-neutral-700",transition:"all ease-in-out duration-250","w-full":"",flex:"","cursor-pointer":"","rounded-lg":"","px-4":"","py-3":"",initial:{opacity:0,y:10},enter:{opacity:1,y:0},duration:250,delay:250},Z=["checked","aria-checked"],ee={flex:"~ row","w-full":"","items-center":"","gap-1.5":""},te={text:"sm","w-full":"","flex-1":""},ne={"select-none":""},ie={key:0,"i-solar:moon-stars-bold-duotone":"",transition:"all ease-in-out duration-250"},oe={key:1,"i-solar:sun-fog-bold-duotone":"",transition:"all ease-in-out duration-250"},ae={bg:"neutral-100 dark:neutral-800",hover:"bg-neutral-200 dark:bg-neutral-700",transition:"all ease-in-out duration-250","w-full":"",flex:"","cursor-pointer":"","rounded-lg":"","px-4":"","py-3":"",initial:{opacity:0,y:10},enter:{opacity:1,y:0},duration:250,delay:300},le=["checked","aria-checked"],se={flex:"~ row","w-full":"","items-center":"","gap-1.5":""},re={"select-none":""},de={key:0,"i-solar:people-nearby-bold-duotone":"",transition:"all ease-in-out duration-250"},ue={key:1,"i-solar:running-2-line-duotone":"",transition:"all ease-in-out duration-250"},ce={text:"neutral-100/50 dark:neutral-500/20","pointer-events-none":"",fixed:"","bottom-0":"","right-0":"","translate-x-10":"","translate-y-10":""},pe={text:"40","i-lucide:cog":""},ge=C({__name:"index",setup(s){const _=R(),{t:p}=V(),{language:h,disableTransitions:r}=$(M()),d=S();function T(v){const n=v.target;h.value=n.value}return(v,n)=>{const l=N("motion");return o(),a(U,null,[i((o(),a("div",E,[e("button",{onClick:n[0]||(n[0]=g=>t(_).back())},n[3]||(n[3]=[e("div",{"i-solar:alt-arrow-left-line-duotone":"","text-2xl":""},null,-1)])),n[4]||(n[4]=e("h1",{"text-3xl":""}," Settings ",-1))])),[[l]]),e("div",G,[e("div",P,[i(u(t(y),{initial:{opacity:0,y:10},enter:{opacity:1,y:0},duration:250,title:"Modules",description:"Thinking, vision, speech synthesis, gaming, etc.",icon:"i-lucide:blocks",to:"/settings/modules"},null,512),[[l]]),i(u(t(y),{initial:{opacity:0,y:10},enter:{opacity:1,y:0},duration:250,delay:50,title:"Models",description:"Live2D, VRM, etc.",icon:"i-lucide:person-standing",to:"/settings/models"},null,512),[[l]]),i(u(t(y),{initial:{opacity:0,y:10},enter:{opacity:1,y:0},duration:250,delay:100,title:"Providers",description:"LLMs, speech providers, etc.",icon:"i-lucide:brain",to:"/settings/providers"},null,512),[[l]]),i(u(t(y),{initial:{opacity:0,y:10},enter:{opacity:1,y:0},duration:250,delay:150,title:"Themes",description:"Customize your stage!",icon:"i-lucide:paintbrush",to:"/settings/themes"},null,512),[[l]])]),i((o(),a("div",H,n[5]||(n[5]=[e("h2",{"text-2xl":""}," General ",-1)]))),[[l]]),e("div",J,[i((o(),a("div",K,[e("div",O,[e("span",null,c(t(p)("settings.language.title")),1)]),e("div",Q,[e("select",{class:"w-32",bg:"transparent",text:"sm right neutral-800 dark:neutral-100",transition:"all ease-in-out duration-250",outline:"none","cursor-pointer":"",onChange:T},[e("option",W,c(t(p)("settings.language.english")),1),e("option",X,c(t(p)("settings.language.chinese")),1)],32)])])),[[l]]),i((o(),a("label",Y,[i(e("input",{"onUpdate:modelValue":n[1]||(n[1]=g=>f(d)?d.value=g:null),text:"neutral-800 dark:neutral-100",checked:t(d),"aria-checked":t(d),type:"checkbox",hidden:"","appearance-none":"","outline-none":""},null,8,Z),[[k,t(d)]]),e("div",ee,[e("div",te,[e("span",null,c(t(p)("settings.theme")),1)]),e("div",ne,[u(b,{name:"slide-away",mode:"out-in"},{default:m(()=>[t(d)?(o(),a("div",ie)):(o(),a("div",oe))]),_:1})])])])),[[l]]),i((o(),a("label",ae,[i(e("input",{"onUpdate:modelValue":n[2]||(n[2]=g=>f(r)?r.value=g:null),text:"neutral-800 dark:neutral-100",checked:t(r),"aria-checked":t(r),type:"checkbox",hidden:"","appearance-none":"","outline-none":""},null,8,le),[[k,t(r)]]),e("div",se,[n[6]||(n[6]=e("div",{text:"sm","w-full":"","flex-1":""},[e("span",null,"Disable Transitions (for debugging)")],-1)),e("div",re,[u(b,{name:"slide-away",mode:"out-in"},{default:m(()=>[t(r)?(o(),a("div",de)):(o(),a("div",ue))]),_:1})])])])),[[l]])]),e("div",ce,[i(e("div",pe,null,512),[[l]])])])],64)}}});typeof w=="function"&&w(ge);export{ge as default}; +import{d as C,r as z,j as B,o,k as m,a as e,c as a,m as x,f as D,t as c,q as I,_ as L,s as R,v as V,x as $,y as M,i as S,z as N,A as i,e as t,b as u,B as f,C as k,T as b,F as U}from"./index-CGdx-Gsw.js";import"./Stage.vue_vue_type_style_index_0_scoped_cad77b27_lang-BvkGrZE5.js";import{b as w}from"./route-block-B_A1xBdJ.js";const j={"z-1":"","flex-1":""},F={"text-lg":"","font-bold":"",class:"menu-icon-item-title",transition:"all ease-in-out duration-400"},q={text:"sm neutral-500 dark:neutral-400",class:"menu-icon-item-description",transition:"all ease-in-out duration-400"},A=C({__name:"IconItem",props:{title:null,description:null,icon:null,iconTemplate:{type:Boolean},to:null},setup(s){return(_,p)=>{const h=z("RouterLink");return o(),B(h,{box:"border",flex:"~ row",bg:"neutral-50 dark:neutral-800",border:"neutral-100 dark:neutral-700 hover:primary-500/30 dark:hover:primary-400/30 solid 2","drop-shadow":"none hover:[0px_4px_4px_rgba(220,220,220,0.4)] active:[0px_0px_0px_rgba(220,220,220,0.25)] dark:hover:none",class:"menu-icon-item",transition:"all ease-in-out duration-400",relative:"","w-full":"","items-center":"","overflow-hidden":"","rounded-lg":"","p-5":"","text-left":"",cursor:"pointer",to:s.to},{default:m(()=>[e("div",j,[e("div",F,c(s.title),1),e("div",q,[e("span",null,c(s.description),1)])]),typeof s.icon=="string"?(o(),a("div",{key:0,class:I(["menu-icon-item-icon",[s.icon]]),transition:"all ease-in-out duration-400",absolute:"","right-0":"","size-24":"","translate-y-4":"",text:"neutral-400/50 dark:neutral-600/50"},null,2)):x("",!0),s.iconTemplate?D(_.$slots,"icon",{key:1},void 0,!0):x("",!0)]),_:3},8,["to"])}}}),y=L(A,[["__scopeId","data-v-a1ec902c"]]),E={flex:"~ row","items-center":"","gap-2":"",initial:{opacity:0,x:10},enter:{opacity:1,x:0},duration:100},G={flex:"~ col gap-4"},P={flex:"~ col gap-4"},H={initial:{opacity:0,y:10},enter:{opacity:1,y:0},duration:250,delay:150},J={flex:"~ col gap-4"},K={grid:"~ cols-[150px_1fr]",bg:"neutral-100 dark:neutral-800",hover:"bg-neutral-200 dark:bg-neutral-700",transition:"all ease-in-out duration-250","items-center":"","gap-1.5":"","rounded-lg":"","px-4":"","py-3":"",initial:{opacity:0,y:10},enter:{opacity:1,y:0},duration:250,delay:200},O={text:"sm"},Q={flex:"~ row","w-full":"","justify-end":""},W={value:"en-US"},X={value:"zh-CN"},Y={bg:"neutral-100 dark:neutral-800",hover:"bg-neutral-200 dark:bg-neutral-700",transition:"all ease-in-out duration-250","w-full":"",flex:"","cursor-pointer":"","rounded-lg":"","px-4":"","py-3":"",initial:{opacity:0,y:10},enter:{opacity:1,y:0},duration:250,delay:250},Z=["checked","aria-checked"],ee={flex:"~ row","w-full":"","items-center":"","gap-1.5":""},te={text:"sm","w-full":"","flex-1":""},ne={"select-none":""},ie={key:0,"i-solar:moon-stars-bold-duotone":"",transition:"all ease-in-out duration-250"},oe={key:1,"i-solar:sun-fog-bold-duotone":"",transition:"all ease-in-out duration-250"},ae={bg:"neutral-100 dark:neutral-800",hover:"bg-neutral-200 dark:bg-neutral-700",transition:"all ease-in-out duration-250","w-full":"",flex:"","cursor-pointer":"","rounded-lg":"","px-4":"","py-3":"",initial:{opacity:0,y:10},enter:{opacity:1,y:0},duration:250,delay:300},le=["checked","aria-checked"],se={flex:"~ row","w-full":"","items-center":"","gap-1.5":""},re={"select-none":""},de={key:0,"i-solar:people-nearby-bold-duotone":"",transition:"all ease-in-out duration-250"},ue={key:1,"i-solar:running-2-line-duotone":"",transition:"all ease-in-out duration-250"},ce={text:"neutral-100/50 dark:neutral-500/20","pointer-events-none":"",fixed:"","bottom-0":"","right-0":"","translate-x-10":"","translate-y-10":""},pe={text:"40","i-lucide:cog":""},ge=C({__name:"index",setup(s){const _=R(),{t:p}=V(),{language:h,disableTransitions:r}=$(M()),d=S();function T(v){const n=v.target;h.value=n.value}return(v,n)=>{const l=N("motion");return o(),a(U,null,[i((o(),a("div",E,[e("button",{onClick:n[0]||(n[0]=g=>t(_).back())},n[3]||(n[3]=[e("div",{"i-solar:alt-arrow-left-line-duotone":"","text-2xl":""},null,-1)])),n[4]||(n[4]=e("h1",{"text-3xl":""}," Settings ",-1))])),[[l]]),e("div",G,[e("div",P,[i(u(t(y),{initial:{opacity:0,y:10},enter:{opacity:1,y:0},duration:250,title:"Modules",description:"Thinking, vision, speech synthesis, gaming, etc.",icon:"i-lucide:blocks",to:"/settings/modules"},null,512),[[l]]),i(u(t(y),{initial:{opacity:0,y:10},enter:{opacity:1,y:0},duration:250,delay:50,title:"Models",description:"Live2D, VRM, etc.",icon:"i-lucide:person-standing",to:"/settings/models"},null,512),[[l]]),i(u(t(y),{initial:{opacity:0,y:10},enter:{opacity:1,y:0},duration:250,delay:100,title:"Providers",description:"LLMs, speech providers, etc.",icon:"i-lucide:brain",to:"/settings/providers"},null,512),[[l]]),i(u(t(y),{initial:{opacity:0,y:10},enter:{opacity:1,y:0},duration:250,delay:150,title:"Themes",description:"Customize your stage!",icon:"i-lucide:paintbrush",to:"/settings/themes"},null,512),[[l]])]),i((o(),a("div",H,n[5]||(n[5]=[e("h2",{"text-2xl":""}," General ",-1)]))),[[l]]),e("div",J,[i((o(),a("div",K,[e("div",O,[e("span",null,c(t(p)("settings.language.title")),1)]),e("div",Q,[e("select",{class:"w-32",bg:"transparent",text:"sm right neutral-800 dark:neutral-100",transition:"all ease-in-out duration-250",outline:"none","cursor-pointer":"",onChange:T},[e("option",W,c(t(p)("settings.language.english")),1),e("option",X,c(t(p)("settings.language.chinese")),1)],32)])])),[[l]]),i((o(),a("label",Y,[i(e("input",{"onUpdate:modelValue":n[1]||(n[1]=g=>f(d)?d.value=g:null),text:"neutral-800 dark:neutral-100",checked:t(d),"aria-checked":t(d),type:"checkbox",hidden:"","appearance-none":"","outline-none":""},null,8,Z),[[k,t(d)]]),e("div",ee,[e("div",te,[e("span",null,c(t(p)("settings.theme")),1)]),e("div",ne,[u(b,{name:"slide-away",mode:"out-in"},{default:m(()=>[t(d)?(o(),a("div",ie)):(o(),a("div",oe))]),_:1})])])])),[[l]]),i((o(),a("label",ae,[i(e("input",{"onUpdate:modelValue":n[2]||(n[2]=g=>f(r)?r.value=g:null),text:"neutral-800 dark:neutral-100",checked:t(r),"aria-checked":t(r),type:"checkbox",hidden:"","appearance-none":"","outline-none":""},null,8,le),[[k,t(r)]]),e("div",se,[n[6]||(n[6]=e("div",{text:"sm","w-full":"","flex-1":""},[e("span",null,"Disable Transitions (for debugging)")],-1)),e("div",re,[u(b,{name:"slide-away",mode:"out-in"},{default:m(()=>[t(r)?(o(),a("div",de)):(o(),a("div",ue))]),_:1})])])])),[[l]])]),e("div",ce,[i(e("div",pe,null,512),[[l]])])])],64)}}});typeof w=="function"&&w(ge);export{ge as default}; diff --git a/assets/index-D1subIJf.js b/assets/index-DeVJLqDu.js similarity index 99% rename from assets/index-D1subIJf.js rename to assets/index-DeVJLqDu.js index 151756cee889c24dd4b5d1c24042fea7e7d2a6a1..7392d6a5c9abe0d25740b342a36196ae7294dbf7 100644 --- a/assets/index-D1subIJf.js +++ b/assets/index-DeVJLqDu.js @@ -1,4 +1,4 @@ -import{co as getAugmentedNamespace}from"./index-DCtIztPb.js";var dist={},ortWeb_min={exports:{}};const backends={},backendsSortedByPriority=[],registerBackend=(D,u,b)=>{if(u&&typeof u.init=="function"&&typeof u.createSessionHandler=="function"){const g=backends[D];if(g===void 0)backends[D]={backend:u,priority:b};else{if(g.priority>b)return;if(g.priority===b&&g.backend!==u)throw new Error(`cannot register backend "${D}" using priority ${b}`)}if(b>=0){const p=backendsSortedByPriority.indexOf(D);p!==-1&&backendsSortedByPriority.splice(p,1);for(let h=0;h{const u=D.length===0?backendsSortedByPriority:D,b=[];for(const g of u){const p=backends[g];if(p){if(p.initialized)return p.backend;if(p.aborted)continue;const h=!!p.initPromise;try{return h||(p.initPromise=p.backend.init()),await p.initPromise,p.initialized=!0,p.backend}catch(o){h||b.push({name:g,err:o}),p.aborted=!0}finally{delete p.initPromise}}}throw new Error(`no available backend found. ERR: ${b.map(g=>`[${g.name}] ${g.err}`).join(", ")}`)};class EnvImpl{constructor(){this.wasm={},this.webgl={},this.logLevelInternal="warning"}set logLevel(u){if(u!==void 0){if(typeof u!="string"||["verbose","info","warning","error","fatal"].indexOf(u)===-1)throw new Error(`Unsupported logging level: ${u}`);this.logLevelInternal=u}}get logLevel(){return this.logLevelInternal}}const env=new EnvImpl,isBigInt64ArrayAvailable=typeof BigInt64Array<"u"&&typeof BigInt64Array.from=="function",isBigUint64ArrayAvailable=typeof BigUint64Array<"u"&&typeof BigUint64Array.from=="function",NUMERIC_TENSOR_TYPE_TO_TYPEDARRAY_MAP=new Map([["float32",Float32Array],["uint8",Uint8Array],["int8",Int8Array],["uint16",Uint16Array],["int16",Int16Array],["int32",Int32Array],["bool",Uint8Array],["float64",Float64Array],["uint32",Uint32Array]]),NUMERIC_TENSOR_TYPEDARRAY_TO_TYPE_MAP=new Map([[Float32Array,"float32"],[Uint8Array,"uint8"],[Int8Array,"int8"],[Uint16Array,"uint16"],[Int16Array,"int16"],[Int32Array,"int32"],[Float64Array,"float64"],[Uint32Array,"uint32"]]);isBigInt64ArrayAvailable&&(NUMERIC_TENSOR_TYPE_TO_TYPEDARRAY_MAP.set("int64",BigInt64Array),NUMERIC_TENSOR_TYPEDARRAY_TO_TYPE_MAP.set(BigInt64Array,"int64"));isBigUint64ArrayAvailable&&(NUMERIC_TENSOR_TYPE_TO_TYPEDARRAY_MAP.set("uint64",BigUint64Array),NUMERIC_TENSOR_TYPEDARRAY_TO_TYPE_MAP.set(BigUint64Array,"uint64"));const calculateSize=D=>{let u=1;for(let b=0;b{const t=document.createElement("canvas"),e=t.getContext("2d");if(!u||!e)return i();const n=new Image;n.crossOrigin="Anonymous",n.src=u,n.onload=()=>{t.width=n.width,t.height=n.height,e.drawImage(n,0,0,t.width,t.height);const r=e.getImageData(0,0,t.width,t.height);if(b!==void 0){if(b.height!==void 0&&b.height!==t.height)throw new Error("Image input config height doesn't match ImageBitmap height");if(f.height=t.height,b.width!==void 0&&b.width!==t.width)throw new Error("Image input config width doesn't match ImageBitmap width");f.width=t.width}else f.height=t.height,f.width=t.width;s(at.bufferToTensor(r.data,f))}});throw new Error("Input data provided is not supported - aborted tensor creation")}if(c!==void 0)return at.bufferToTensor(c,f);throw new Error("Input data provided is not supported - aborted tensor creation")}toImageData(u){var b,g;const p=document.createElement("canvas").getContext("2d");let h;if(p!=null){const o=this.dims[3],c=this.dims[2],f=this.dims[1],s=u!==void 0&&u.format!==void 0?u.format:"RGB",i=u!==void 0&&((b=u.norm)===null||b===void 0?void 0:b.mean)!==void 0?u.norm.mean:255,t=u!==void 0&&((g=u.norm)===null||g===void 0?void 0:g.bias)!==void 0?u.norm.bias:0,e=c*o;if(u!==void 0){if(u.height!==void 0&&u.height!==c)throw new Error("Image output config height doesn't match tensor height");if(u.width!==void 0&&u.width!==o)throw new Error("Image output config width doesn't match tensor width");if(u.format!==void 0&&f===4&&u.format!=="RGBA"||f===3&&u.format!=="RGB"&&u.format!=="BGR")throw new Error("Tensor format doesn't match input tensor dims")}const n=4;let r=0,a=1,l=2,d=3,m=0,y=e,v=e*2,_=-1;s==="RGBA"?(m=0,y=e,v=e*2,_=e*3):s==="RGB"?(m=0,y=e,v=e*2):s==="RBG"&&(m=0,v=e,y=e*2),h=p.createImageData(o,c);for(let T=0;T"u")throw new Error(`input '${s}' is missing in 'feeds'.`);if(o)for(const s of this.outputNames)p[s]=null;const c=await this.handler.run(u,p,h),f={};for(const s in c)Object.hasOwnProperty.call(c,s)&&(f[s]=new Tensor(c[s].type,c[s].data,c[s].dims));return f}static async create(u,b,g,p){let h,o={};if(typeof u=="string"){if(h=u,typeof b=="object"&&b!==null)o=b;else if(typeof b<"u")throw new TypeError("'options' must be an object.")}else if(u instanceof Uint8Array){if(h=u,typeof b=="object"&&b!==null)o=b;else if(typeof b<"u")throw new TypeError("'options' must be an object.")}else if(u instanceof ArrayBuffer||typeof SharedArrayBuffer<"u"&&u instanceof SharedArrayBuffer){const t=u;let e=0,n=u.byteLength;if(typeof b=="object"&&b!==null)o=b;else if(typeof b=="number"){if(e=b,!Number.isSafeInteger(e))throw new RangeError("'byteOffset' must be an integer.");if(e<0||e>=t.byteLength)throw new RangeError(`'byteOffset' is out of range [0, ${t.byteLength}).`);if(n=u.byteLength-e,typeof g=="number"){if(n=g,!Number.isSafeInteger(n))throw new RangeError("'byteLength' must be an integer.");if(n<=0||e+n>t.byteLength)throw new RangeError(`'byteLength' is out of range (0, ${t.byteLength-e}].`);if(typeof p=="object"&&p!==null)o=p;else if(typeof p<"u")throw new TypeError("'options' must be an object.")}else if(typeof g<"u")throw new TypeError("'byteLength' must be a number.")}else if(typeof b<"u")throw new TypeError("'options' must be an object.");h=new Uint8Array(t,e,n)}else throw new TypeError("Unexpected argument[0]: must be 'path' or 'buffer'.");const f=(o.executionProviders||[]).map(t=>typeof t=="string"?t:t.name),i=await(await resolveBackend(f)).createSessionHandler(h,o);return new cn(i)}startProfiling(){this.handler.startProfiling()}endProfiling(){this.handler.endProfiling()}get inputNames(){return this.handler.inputNames}get outputNames(){return this.handler.outputNames}};const InferenceSession=InferenceSession$1,lib=Object.freeze(Object.defineProperty({__proto__:null,InferenceSession,Tensor,env,registerBackend},Symbol.toStringTag,{value:"Module"})),require$$0=getAugmentedNamespace(lib);/*! +import{cn as getAugmentedNamespace}from"./index-CGdx-Gsw.js";var dist={},ortWeb_min={exports:{}};const backends={},backendsSortedByPriority=[],registerBackend=(D,u,b)=>{if(u&&typeof u.init=="function"&&typeof u.createSessionHandler=="function"){const g=backends[D];if(g===void 0)backends[D]={backend:u,priority:b};else{if(g.priority>b)return;if(g.priority===b&&g.backend!==u)throw new Error(`cannot register backend "${D}" using priority ${b}`)}if(b>=0){const p=backendsSortedByPriority.indexOf(D);p!==-1&&backendsSortedByPriority.splice(p,1);for(let h=0;h{const u=D.length===0?backendsSortedByPriority:D,b=[];for(const g of u){const p=backends[g];if(p){if(p.initialized)return p.backend;if(p.aborted)continue;const h=!!p.initPromise;try{return h||(p.initPromise=p.backend.init()),await p.initPromise,p.initialized=!0,p.backend}catch(o){h||b.push({name:g,err:o}),p.aborted=!0}finally{delete p.initPromise}}}throw new Error(`no available backend found. ERR: ${b.map(g=>`[${g.name}] ${g.err}`).join(", ")}`)};class EnvImpl{constructor(){this.wasm={},this.webgl={},this.logLevelInternal="warning"}set logLevel(u){if(u!==void 0){if(typeof u!="string"||["verbose","info","warning","error","fatal"].indexOf(u)===-1)throw new Error(`Unsupported logging level: ${u}`);this.logLevelInternal=u}}get logLevel(){return this.logLevelInternal}}const env=new EnvImpl,isBigInt64ArrayAvailable=typeof BigInt64Array<"u"&&typeof BigInt64Array.from=="function",isBigUint64ArrayAvailable=typeof BigUint64Array<"u"&&typeof BigUint64Array.from=="function",NUMERIC_TENSOR_TYPE_TO_TYPEDARRAY_MAP=new Map([["float32",Float32Array],["uint8",Uint8Array],["int8",Int8Array],["uint16",Uint16Array],["int16",Int16Array],["int32",Int32Array],["bool",Uint8Array],["float64",Float64Array],["uint32",Uint32Array]]),NUMERIC_TENSOR_TYPEDARRAY_TO_TYPE_MAP=new Map([[Float32Array,"float32"],[Uint8Array,"uint8"],[Int8Array,"int8"],[Uint16Array,"uint16"],[Int16Array,"int16"],[Int32Array,"int32"],[Float64Array,"float64"],[Uint32Array,"uint32"]]);isBigInt64ArrayAvailable&&(NUMERIC_TENSOR_TYPE_TO_TYPEDARRAY_MAP.set("int64",BigInt64Array),NUMERIC_TENSOR_TYPEDARRAY_TO_TYPE_MAP.set(BigInt64Array,"int64"));isBigUint64ArrayAvailable&&(NUMERIC_TENSOR_TYPE_TO_TYPEDARRAY_MAP.set("uint64",BigUint64Array),NUMERIC_TENSOR_TYPEDARRAY_TO_TYPE_MAP.set(BigUint64Array,"uint64"));const calculateSize=D=>{let u=1;for(let b=0;b{const t=document.createElement("canvas"),e=t.getContext("2d");if(!u||!e)return i();const n=new Image;n.crossOrigin="Anonymous",n.src=u,n.onload=()=>{t.width=n.width,t.height=n.height,e.drawImage(n,0,0,t.width,t.height);const r=e.getImageData(0,0,t.width,t.height);if(b!==void 0){if(b.height!==void 0&&b.height!==t.height)throw new Error("Image input config height doesn't match ImageBitmap height");if(f.height=t.height,b.width!==void 0&&b.width!==t.width)throw new Error("Image input config width doesn't match ImageBitmap width");f.width=t.width}else f.height=t.height,f.width=t.width;s(at.bufferToTensor(r.data,f))}});throw new Error("Input data provided is not supported - aborted tensor creation")}if(c!==void 0)return at.bufferToTensor(c,f);throw new Error("Input data provided is not supported - aborted tensor creation")}toImageData(u){var b,g;const p=document.createElement("canvas").getContext("2d");let h;if(p!=null){const o=this.dims[3],c=this.dims[2],f=this.dims[1],s=u!==void 0&&u.format!==void 0?u.format:"RGB",i=u!==void 0&&((b=u.norm)===null||b===void 0?void 0:b.mean)!==void 0?u.norm.mean:255,t=u!==void 0&&((g=u.norm)===null||g===void 0?void 0:g.bias)!==void 0?u.norm.bias:0,e=c*o;if(u!==void 0){if(u.height!==void 0&&u.height!==c)throw new Error("Image output config height doesn't match tensor height");if(u.width!==void 0&&u.width!==o)throw new Error("Image output config width doesn't match tensor width");if(u.format!==void 0&&f===4&&u.format!=="RGBA"||f===3&&u.format!=="RGB"&&u.format!=="BGR")throw new Error("Tensor format doesn't match input tensor dims")}const n=4;let r=0,a=1,l=2,d=3,m=0,y=e,v=e*2,_=-1;s==="RGBA"?(m=0,y=e,v=e*2,_=e*3):s==="RGB"?(m=0,y=e,v=e*2):s==="RBG"&&(m=0,v=e,y=e*2),h=p.createImageData(o,c);for(let T=0;T"u")throw new Error(`input '${s}' is missing in 'feeds'.`);if(o)for(const s of this.outputNames)p[s]=null;const c=await this.handler.run(u,p,h),f={};for(const s in c)Object.hasOwnProperty.call(c,s)&&(f[s]=new Tensor(c[s].type,c[s].data,c[s].dims));return f}static async create(u,b,g,p){let h,o={};if(typeof u=="string"){if(h=u,typeof b=="object"&&b!==null)o=b;else if(typeof b<"u")throw new TypeError("'options' must be an object.")}else if(u instanceof Uint8Array){if(h=u,typeof b=="object"&&b!==null)o=b;else if(typeof b<"u")throw new TypeError("'options' must be an object.")}else if(u instanceof ArrayBuffer||typeof SharedArrayBuffer<"u"&&u instanceof SharedArrayBuffer){const t=u;let e=0,n=u.byteLength;if(typeof b=="object"&&b!==null)o=b;else if(typeof b=="number"){if(e=b,!Number.isSafeInteger(e))throw new RangeError("'byteOffset' must be an integer.");if(e<0||e>=t.byteLength)throw new RangeError(`'byteOffset' is out of range [0, ${t.byteLength}).`);if(n=u.byteLength-e,typeof g=="number"){if(n=g,!Number.isSafeInteger(n))throw new RangeError("'byteLength' must be an integer.");if(n<=0||e+n>t.byteLength)throw new RangeError(`'byteLength' is out of range (0, ${t.byteLength-e}].`);if(typeof p=="object"&&p!==null)o=p;else if(typeof p<"u")throw new TypeError("'options' must be an object.")}else if(typeof g<"u")throw new TypeError("'byteLength' must be a number.")}else if(typeof b<"u")throw new TypeError("'options' must be an object.");h=new Uint8Array(t,e,n)}else throw new TypeError("Unexpected argument[0]: must be 'path' or 'buffer'.");const f=(o.executionProviders||[]).map(t=>typeof t=="string"?t:t.name),i=await(await resolveBackend(f)).createSessionHandler(h,o);return new cn(i)}startProfiling(){this.handler.startProfiling()}endProfiling(){this.handler.endProfiling()}get inputNames(){return this.handler.inputNames}get outputNames(){return this.handler.outputNames}};const InferenceSession=InferenceSession$1,lib=Object.freeze(Object.defineProperty({__proto__:null,InferenceSession,Tensor,env,registerBackend},Symbol.toStringTag,{value:"Module"})),require$$0=getAugmentedNamespace(lib);/*! * ONNX Runtime Web v1.14.0 * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. diff --git a/assets/index-CZ1gm21t.css b/assets/index-DrkuVv50.css similarity index 58% rename from assets/index-CZ1gm21t.css rename to assets/index-DrkuVv50.css index be95c2aeecbf15a6965c90299709271c2a42a5c8..356f14693807045a17690c1ecfd9abbf10dca01d 100644 --- a/assets/index-CZ1gm21t.css +++ b/assets/index-DrkuVv50.css @@ -1 +1 @@ -.stage-transition-3[data-v-df576df0]{--delay: 0s;--sharpness: 40%;position:fixed;top:0;right:0;bottom:0;left:0;overflow:hidden}.stage-transition-3[data-v-df576df0]:before,.stage-transition-3[data-v-df576df0]:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;animation:arrowIn-df576df0 1s cubic-bezier(.87,.05,.02,.97) both,arrowOut-df576df0 1s cubic-bezier(.87,.05,.02,.97) forwards}.stage-transition-3[data-v-df576df0]:before{background-color:var(--stage-transition-3-overlay-color-2);animation-delay:calc(0s + var(--delay, 0s)),calc(1.4s + var(--delay, 0s))}.stage-transition-3[data-v-df576df0]:after{background-color:var(--stage-transition-3-overlay-color-1);animation-delay:calc(.2s + var(--delay, 0s)),calc(1.2s + var(--delay, 0s))}@keyframes arrowIn-df576df0{0%{clip-path:polygon(calc(var(--sharpness) * -1) 0,calc(var(--sharpness) * -1) 0,0 50%,calc(var(--sharpness) * -1) 100%,calc(var(--sharpness) * -1) 100%,0 50%)}to{clip-path:polygon(calc(var(--sharpness) * -1) 0,100% 0,calc(100% + var(--sharpness)) 50%,100% 100%,calc(var(--sharpness) * -1) 100%,0 50%)}}@keyframes arrowOut-df576df0{0%{clip-path:polygon(calc(var(--sharpness) * -1) 0,100% 0,calc(100% + var(--sharpness)) 50%,100% 100%,calc(var(--sharpness) * -1) 100%,0 50%)}to{clip-path:polygon(100% 0,100% 0,calc(100% + var(--sharpness)) 50%,100% 100%,100% 100%,calc(100% + var(--sharpness)) 50%)}}.circle-expansion-transition[data-v-0c29056c]{position:fixed;top:calc(50% - 75vmax);left:calc(50% - 75vmax);width:150vmax;height:150vmax;pointer-events:none}.circle-expansion-transition div[data-v-0c29056c]{position:absolute;top:0;left:0;width:100%;height:100%;border-radius:50%;transform:scale(0)}.circle-expansion-transition div[data-v-0c29056c]:nth-child(1){background-color:var(--circle-expansion-color-1);animation:circleExpand-0c29056c var(--circle-expansion-duration) ease-in calc(var(--circle-expansion-delay) + 0s) forwards}.circle-expansion-transition div[data-v-0c29056c]:nth-child(2){background-color:var(--circle-expansion-color-2);animation:circleExpand-0c29056c var(--circle-expansion-duration) ease-in calc(var(--circle-expansion-delay) + .15s) forwards}.circle-expansion-transition div[data-v-0c29056c]:nth-child(3){background-color:var(--circle-expansion-color-3);animation:circleExpand-0c29056c var(--circle-expansion-duration) ease-in calc(var(--circle-expansion-delay) + .3s) forwards}.circle-expansion-transition div[data-v-0c29056c]:nth-child(4){background-color:var(--circle-expansion-color-4);animation:circleExpand-0c29056c var(--circle-expansion-duration) ease-in calc(var(--circle-expansion-delay) + .45s) forwards}@keyframes circleExpand-0c29056c{0%{transform:scale(0)}to{transform:scale(1)}}.fantasy-fall-transition[data-v-e62bf496]{position:fixed;top:0;right:0;bottom:0;left:0;overflow:hidden}.fantasy-fall-up[data-v-e62bf496]:before{content:"";display:block;position:absolute;top:0;left:0;width:100%;height:100%;background-color:var(--fantasy-fall-color);transform:translateY(-100%);border-bottom-left-radius:var(--fantasy-fall-radius-sm);border-bottom-right-radius:var(--fantasy-fall-radius-sm);animation:fantasy-fall-up var(--fantasy-fall-duration) ease-out var(--fantasy-fall-delay) forwards}.fantasy-fall-down[data-v-e62bf496]:before{content:"";display:block;position:absolute;top:0;left:0;width:100%;height:100%;background-color:var(--fantasy-fall-color);transform:translateY(100%);border-top-left-radius:var(--fantasy-fall-radius-sm);border-top-right-radius:var(--fantasy-fall-radius-sm);animation:fantasy-fall-down var(--fantasy-fall-duration) ease-out var(--fantasy-fall-delay) forwards}.fantasy-fall-left[data-v-e62bf496]:before{content:"";display:block;position:absolute;top:0;left:0;width:100%;height:100%;background-color:var(--fantasy-fall-color);transform:translate(-100%);border-top-right-radius:var(--fantasy-fall-radius-sm);border-bottom-right-radius:var(--fantasy-fall-radius-sm);animation:fantasy-fall-left var(--fantasy-fall-duration) ease-out var(--fantasy-fall-delay) forwards}.fantasy-fall-right[data-v-e62bf496]:before{content:"";display:block;position:absolute;top:0;left:0;width:100%;height:100%;background-color:var(--fantasy-fall-color);transform:translate(100%);border-top-left-radius:var(--fantasy-fall-radius-sm);border-bottom-left-radius:var(--fantasy-fall-radius-sm);animation:fantasy-fall-right var(--fantasy-fall-duration) ease-out var(--fantasy-fall-delay) forwards}@media (min-width: 768px){.fantasy-fall-up[data-v-e62bf496]:before{border-bottom-left-radius:var(--fantasy-fall-radius-md);border-bottom-right-radius:var(--fantasy-fall-radius-md)}.fantasy-fall-down[data-v-e62bf496]:before{border-top-left-radius:var(--fantasy-fall-radius-md);border-top-right-radius:var(--fantasy-fall-radius-md)}.fantasy-fall-left[data-v-e62bf496]:before{border-top-right-radius:var(--fantasy-fall-radius-md);border-bottom-right-radius:var(--fantasy-fall-radius-md)}.fantasy-fall-right[data-v-e62bf496]:before{border-top-left-radius:var(--fantasy-fall-radius-md);border-bottom-left-radius:var(--fantasy-fall-radius-md)}}@media (min-width: 1024px){.fantasy-fall-up[data-v-e62bf496]:before{border-bottom-left-radius:var(--fantasy-fall-radius-lg);border-bottom-right-radius:var(--fantasy-fall-radius-lg)}.fantasy-fall-down[data-v-e62bf496]:before{border-top-left-radius:var(--fantasy-fall-radius-lg);border-top-right-radius:var(--fantasy-fall-radius-lg)}.fantasy-fall-left[data-v-e62bf496]:before{border-top-right-radius:var(--fantasy-fall-radius-lg);border-bottom-right-radius:var(--fantasy-fall-radius-lg)}.fantasy-fall-right[data-v-e62bf496]:before{border-top-left-radius:var(--fantasy-fall-radius-lg);border-bottom-left-radius:var(--fantasy-fall-radius-lg)}}@keyframes fantasy-fall-up{0%{transform:translateY(-100%)}50%{transform:translateY(0)}to{transform:translateY(0);border-bottom-right-radius:0%;border-bottom-left-radius:0%}}@keyframes fantasy-fall-down{0%{transform:translateY(100%)}50%{transform:translateY(0)}to{transform:translateY(0);border-top-right-radius:0%;border-top-left-radius:0%}}@keyframes fantasy-fall-left{0%{transform:translate(-100%)}50%{transform:translate(0)}to{transform:translate(0);border-top-right-radius:0%;border-bottom-right-radius:0%}}@keyframes fantasy-fall-right{0%{transform:translate(100%)}50%{transform:translate(0)}to{transform:translate(0);border-top-left-radius:0%;border-bottom-left-radius:0%}}.stage-transition-4[data-v-6d1179fc]{--delay: 0s;position:fixed;top:0;right:0;bottom:0;left:0;overflow:hidden;display:grid;grid-template-rows:repeat(5,1fr)}.stage-transition-4__block[data-v-6d1179fc]{position:relative;width:100%;height:100%}.stage-transition-4__block[data-v-6d1179fc]:before,.stage-transition-4__block[data-v-6d1179fc]:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;animation:slideIn-6d1179fc .8s cubic-bezier(.87,.05,.02,.97) both,slideOut-6d1179fc .8s cubic-bezier(.87,.05,.02,.97) forwards}.stage-transition-4__block[data-v-6d1179fc]:before{background-color:var(--stage-transition-4-overlay-color-2);animation-delay:calc(0s + var(--d, 0s) + var(--delay, 0s)),calc(1.6s + var(--d, 0s) + var(--delay, 0s))}.stage-transition-4__block[data-v-6d1179fc]:after{background-color:var(--stage-transition-4-overlay-color-1);animation-delay:calc(.3s + var(--d, 0s) + var(--delay, 0s)),calc(1.3s + var(--d, 0s) + var(--delay, 0s))}.stage-transition-4__block[data-v-6d1179fc]:nth-child(1){--d: .1s}.stage-transition-4__block[data-v-6d1179fc]:nth-child(2){--d: .3s}.stage-transition-4__block[data-v-6d1179fc]:nth-child(3){--d: 0s}.stage-transition-4__block[data-v-6d1179fc]:nth-child(4){--d: .4s}.stage-transition-4__block[data-v-6d1179fc]:nth-child(5){--d: .2s}@keyframes slideIn-6d1179fc{0%{transform:translate(-101%)}to{transform:translate(0)}}@keyframes slideOut-6d1179fc{0%{transform:translate(0)}to{transform:translate(101%)}}.stage-transition-1[data-v-bf1d1566]{--delay: 0s;position:fixed;top:0;right:0;bottom:0;left:0;overflow:hidden}.stage-transition-1[data-v-bf1d1566]:before,.stage-transition-1[data-v-bf1d1566]:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;animation:slideIn-bf1d1566 1s cubic-bezier(.87,.05,.02,.97) both,slideOut-bf1d1566 1s cubic-bezier(.87,.05,.02,.97) forwards}.stage-transition-1[data-v-bf1d1566]:before{background-color:var(--stage-transition-1-overlay-color-2);animation-delay:calc(0s + var(--delay, 0s)),calc(1.4s + var(--delay, 0s))}.stage-transition-1[data-v-bf1d1566]:after{background-color:var(--stage-transition-1-overlay-color-1);animation-delay:calc(.2s + var(--delay, 0s)),calc(1.2s + var(--delay, 0s))}@keyframes slideIn-bf1d1566{0%{transform:translate(-101%)}to{transform:translate(0)}}@keyframes slideOut-bf1d1566{0%{transform:translate(0)}to{transform:translate(101%)}}.stage-transition-2[data-v-8ff7120f]{--delay: 0s;--skew-x: 100%;position:fixed;top:0;right:0;bottom:0;left:0;overflow:hidden}.stage-transition-2[data-v-8ff7120f]:before,.stage-transition-2[data-v-8ff7120f]:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;animation:maskIn-8ff7120f 1s cubic-bezier(.87,.05,.02,.97) both,maskOut-8ff7120f 1s cubic-bezier(.87,.05,.02,.97) forwards}.stage-transition-2[data-v-8ff7120f]:before{background-color:var(--stage-transition-2-overlay-color-2);animation-delay:calc(0s + var(--delay, 0s)),calc(1.4s + var(--delay, 0s))}.stage-transition-2[data-v-8ff7120f]:after{background-color:var(--stage-transition-2-overlay-color-1);animation-delay:calc(.2s + var(--delay, 0s)),calc(1.2s + var(--delay, 0s))}@keyframes maskIn-8ff7120f{0%{clip-path:polygon(0 0,0 0,calc(var(--skew-x, 0) * -1) 100%,calc(var(--skew-x, 0) * -1) 100%)}to{clip-path:polygon(0 0,calc(100% + var(--skew-x, 0)) 0,100% 100%,calc(var(--skew-x, 0) * -1) 100%)}}@keyframes maskOut-8ff7120f{0%{clip-path:polygon(0 0,calc(100% + var(--skew-x, 0)) 0,100% 100%,calc(var(--skew-x, 0) * -1) 100%)}to{clip-path:polygon(calc(100% + var(--skew-x, 0)) 0,calc(100% + var(--skew-x, 0)) 0,100% 100%,100% 100%)}}.rectangle-rotate-transition[data-v-f4b1dc64]{position:fixed;top:0;right:0;bottom:0;left:0;overflow:hidden}.rectangle[data-v-f4b1dc64]{position:absolute;width:100%;height:100%}.rectangle div[data-v-f4b1dc64]{position:absolute;width:100vmax;height:100vmax;transform:scale(0)}.rectangle-rotate-1 div[data-v-f4b1dc64]{top:-50vmax;left:-50vmax;background-color:var(--rectangle-rotate-1-color);animation:expand-rotate-f4b1dc64 var(--rectangle-rotate-duration) ease calc(var(--rectangle-rotate-delay) + 0s) forwards}.rectangle-rotate-2 div[data-v-f4b1dc64]{bottom:-50vmax;right:-50vmax;background-color:var(--rectangle-rotate-2-color);animation:expand-rotate-f4b1dc64 var(--rectangle-rotate-duration) ease calc(var(--rectangle-rotate-delay) + var(--rectangle-rotate-stagger)) forwards}.rectangle-rotate-3 div[data-v-f4b1dc64]{top:calc(50% - 50vmax);left:calc(50% - 50vmax);background-color:var(--rectangle-rotate-3-color);animation:expand-rotate-f4b1dc64 var(--rectangle-rotate-duration) ease calc(var(--rectangle-rotate-delay) + calc(var(--rectangle-rotate-stagger) * 2)) forwards}@keyframes expand-rotate-f4b1dc64{0%{transform:scale(0) rotate(0)}to{transform:scale(1) rotate(var(--rectangle-rotate-rotation))}}@property --theme-colors-hue{syntax: ""; initial-value: 0; inherits: true;}@keyframes hue-anim{0%{--theme-colors-hue: 0}to{--theme-colors-hue: 360}}.dynamic-hue{animation:hue-anim 10s linear infinite}*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:var(--un-default-border-color, #e5e7eb)}:before,:after{--un-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}:root{--airi-theme-primary-50: #fff0f2;--airi-theme-primary-100: #ffe3e6;--airi-theme-primary-200: #ffcad4;--airi-theme-primary-300: #ff9fb0;--airi-theme-primary-400: #ff6988;--airi-theme-primary-500: #fe456e;--airi-theme-primary-600: #ec124d;--airi-theme-primary-700: #c70941;--airi-theme-primary-800: #a70a3e;--airi-theme-primary-900: #8e0d3b;--airi-theme-primary-950: #50011b;--theme-colors-hue: 354.31;--theme-colors-chroma: calc(.18 + cos(var(--theme-colors-hue) * 3.14159265 / 180)/25) ;--theme-colors-chroma-50: calc(var(--theme-colors-chroma) * .3);--theme-colors-chroma-100: calc(var(--theme-colors-chroma) * .5);--theme-colors-chroma-200: calc(var(--theme-colors-chroma) * .6);--theme-colors-chroma-300: calc(var(--theme-colors-chroma) * .75);--theme-colors-chroma-400: var(--theme-colors-chroma);--theme-colors-chroma-600: calc(var(--theme-colors-chroma) * 1.15);--theme-colors-chroma-700: calc(var(--theme-colors-chroma) * 1.1);--theme-colors-chroma-800: calc(var(--theme-colors-chroma) * .85);--theme-colors-chroma-900: calc(var(--theme-colors-chroma) * .7);--theme-colors-chroma-950: calc(var(--theme-colors-chroma) * .5)}.slide-away-enter-active,.slide-away-leave-active{transition:transform .3s ease-in-out,opacity .3s ease-in-out}.slide-away-enter,.slide-away-leave-to{transform:translateY(-10px);opacity:0}.slide-away-enter-from,.slide-away-leave{transform:translateY(10px);opacity:0}html,body,#app{height:100%;margin:0;padding:0;overscroll-behavior:none}html{background:#fff;transition:all .3s ease-in-out}html.dark{background:#121212;color-scheme:dark}#nprogress{pointer-events:none}#nprogress .bar{background:#f472b6;opacity:.75;position:fixed;z-index:1031;top:0;left:0;width:100%;height:2px}*,:before,:after{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 rgb(0 0 0 / 0);--un-ring-shadow:0 0 rgb(0 0 0 / 0);--un-shadow-inset: ;--un-shadow:0 0 rgb(0 0 0 / 0);--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgb(147 197 253 / .5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }::backdrop{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 rgb(0 0 0 / 0);--un-ring-shadow:0 0 rgb(0 0 0 / 0);--un-shadow-inset: ;--un-shadow:0 0 rgb(0 0 0 / 0);--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgb(147 197 253 / .5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }@font-face{font-family:DM Mono;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/dmmono/v14/aFTU7PB1QTsUX8KYthSQBK6PYK3EXw.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:DM Mono;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/dmmono/v14/aFTU7PB1QTsUX8KYthqQBK6PYK0.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:DM Sans;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/dmsans/v15/rP2tp2ywxg089UriI5-g4vlH9VoD8CmcqZG40F9JadbnoEwAopxRR232RmYJp8I5zzw.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:DM Sans;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/dmsans/v15/rP2tp2ywxg089UriI5-g4vlH9VoD8CmcqZG40F9JadbnoEwAopxRSW32RmYJp8I5.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:"DM Serif Display";font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/dmserifdisplay/v15/-nFnOHM81r4j6k0gjAW3mujVU2B2G_5x0vrx52jJ3Q.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:"DM Serif Display";font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/dmserifdisplay/v15/-nFnOHM81r4j6k0gjAW3mujVU2B2G_Bx0vrx52g.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.0.woff2) format("woff2");unicode-range:U+25ee8,U+25f23,U+25f5c,U+25fd4,U+25fe0,U+25ffb,U+2600c,U+26017,U+26060,U+260ed,U+26222,U+2626a,U+26270,U+26286,U+2634c,U+26402,U+2667e,U+266b0,U+2671d,U+268dd,U+268ea,U+26951,U+2696f,U+26999,U+269dd,U+26a1e,U+26a58,U+26a8c,U+26ab7,U+26aff,U+26c29,U+26c73,U+26c9e,U+26cdd,U+26e40,U+26e65,U+26f94,U+26ff6-26ff8,U+270f4,U+2710d,U+27139,U+273da-273db,U+273fe,U+27410,U+27449,U+27614-27615,U+27631,U+27684,U+27693,U+2770e,U+27723,U+27752,U+278b2,U+27985,U+279b4,U+27a84,U+27bb3,U+27bbe,U+27bc7,U+27c3c,U+27cb8,U+27d73,U+27da0,U+27e10,U+27eaf,U+27fb7,U+2808a,U+280bb,U+28277,U+28282,U+282f3,U+283cd,U+2840c,U+28455,U+284dc,U+2856b,U+285c8-285c9,U+286d7,U+286fa,U+28946,U+28949,U+2896b,U+28987-28988,U+289ba-289bb,U+28a1e,U+28a29,U+28a43,U+28a71,U+28a99,U+28acd,U+28add,U+28ae4,U+28bc1,U+28bef,U+28cdd,U+28d10,U+28d71,U+28dfb,U+28e0f,U+28e17,U+28e1f,U+28e36,U+28e89,U+28eeb,U+28ef6,U+28f32,U+28ff8,U+292a0,U+292b1,U+29490,U+295cf,U+2967f,U+296f0,U+29719,U+29750,U+29810,U+298c6,U+29a72,U+29d4b,U+29ddb,U+29e15,U+29e3d,U+29e49,U+29e8a,U+29ec4,U+29edb,U+29ee9,U+29fce,U+29fd7,U+2a01a,U+2a02f,U+2a082,U+2a0f9,U+2a190,U+2a2b2,U+2a38c,U+2a437,U+2a5f1,U+2a602,U+2a61a,U+2a6b2,U+2a9e6,U+2b746,U+2b751,U+2b753,U+2b75a,U+2b75c,U+2b765,U+2b776-2b777,U+2b77c,U+2b782,U+2b789,U+2b78b,U+2b78e,U+2b794,U+2b7ac,U+2b7af,U+2b7bd,U+2b7c9,U+2b7cf,U+2b7d2,U+2b7d8,U+2b7f0,U+2b80d,U+2b817,U+2b81a,U+2d544,U+2e278,U+2e569,U+2e6ea,U+2f804,U+2f80f,U+2f815,U+2f818,U+2f81a,U+2f822,U+2f828,U+2f82c,U+2f833,U+2f83f,U+2f846,U+2f852,U+2f862,U+2f86d,U+2f873,U+2f877,U+2f884,U+2f899-2f89a,U+2f8a6,U+2f8ac,U+2f8b2,U+2f8b6,U+2f8d3,U+2f8db-2f8dc,U+2f8e1,U+2f8e5,U+2f8ea,U+2f8ed,U+2f8fc,U+2f903,U+2f90b,U+2f90f,U+2f91a,U+2f920-2f921,U+2f945,U+2f947,U+2f96c,U+2f995,U+2f9d0,U+2f9de-2f9df,U+2f9f4}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.1.woff2) format("woff2");unicode-range:U+1f235-1f23b,U+1f240-1f248,U+1f250-1f251,U+2000b,U+20089-2008a,U+200a2,U+200a4,U+200b0,U+200f5,U+20158,U+201a2,U+20213,U+2032b,U+20371,U+20381,U+203f9,U+2044a,U+20509,U+2053f,U+205b1,U+205d6,U+20611,U+20628,U+206ec,U+2074f,U+207c8,U+20807,U+2083a,U+208b9,U+2090e,U+2097c,U+20984,U+2099d,U+20a64,U+20ad3,U+20b1d,U+20b9f,U+20bb7,U+20d45,U+20d58,U+20de1,U+20e64,U+20e6d,U+20e95,U+20f5f,U+21201,U+2123d,U+21255,U+21274,U+2127b,U+212d7,U+212e4,U+212fd,U+2131b,U+21336,U+21344,U+213c4,U+2146d-2146e,U+215d7,U+21647,U+216b4,U+21706,U+21742,U+218bd,U+219c3,U+21a1a,U+21c56,U+21d2d,U+21d45,U+21d62,U+21d78,U+21d92,U+21d9c,U+21da1,U+21db7,U+21de0,U+21e33-21e34,U+21f1e,U+21f76,U+21ffa,U+2217b,U+22218,U+2231e,U+223ad,U+22609,U+226f3,U+2285b,U+228ab,U+2298f,U+22ab8,U+22b46,U+22b4f-22b50,U+22ba6,U+22c1d,U+22c24,U+22de1,U+22e42,U+22feb,U+231b6,U+231c3-231c4,U+231f5,U+23372,U+233cc,U+233d0,U+233d2-233d3,U+233d5,U+233da,U+233df,U+233e4,U+233fe,U+2344a-2344b,U+23451,U+23465,U+234e4,U+2355a,U+23594,U+235c4,U+23638-2363a,U+23647,U+2370c,U+2371c,U+2373f,U+23763-23764,U+237e7,U+237f1,U+237ff,U+23824,U+2383d,U+23a98,U+23c7f,U+23cbe,U+23cfe,U+23d00,U+23d0e,U+23d40,U+23dd3,U+23df9-23dfa,U+23f7e,U+2404b,U+24096,U+24103,U+241c6,U+241fe,U+242ee,U+243bc,U+243d0,U+24629,U+246a5,U+247f1,U+24896,U+248e9,U+24a4d,U+24b56,U+24b6f,U+24c16,U+24d14,U+24e04,U+24e0e,U+24e37,U+24e6a,U+24e8b,U+24ff2,U+2504a,U+25055,U+25122,U+251a9,U+251cd,U+251e5,U+2521e,U+2524c,U+2542e,U+2548e,U+254d9,U+2550e,U+255a7,U+2567f,U+25771,U+257a9,U+257b4,U+25874,U+259c4,U+259cc,U+259d4,U+25ad7,U+25ae3-25ae4,U+25af1,U+25bb2,U+25c4b,U+25c64,U+25da1,U+25e2e,U+25e56,U+25e62,U+25e65,U+25ec2,U+25ed8}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.2.woff2) format("woff2");unicode-range:U+ffd7,U+ffda-ffdc,U+ffe0-ffe2,U+ffe4,U+ffe6,U+ffe8-ffee,U+1f100-1f10c,U+1f110-1f16c,U+1f170-1f1ac,U+1f200-1f202,U+1f210-1f234}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.3.woff2) format("woff2");unicode-range:U+fa10,U+fa12-fa6d,U+fb00-fb04,U+fe10-fe19,U+fe30-fe42,U+fe44-fe52,U+fe54-fe66,U+fe68-fe6b,U+ff02,U+ff04,U+ff07,U+ff51,U+ff5b,U+ff5d,U+ff5f-ff60,U+ff66,U+ff69,U+ff87,U+ffa1-ffbe,U+ffc2-ffc7,U+ffca-ffcf,U+ffd2-ffd6}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.4.woff2) format("woff2");unicode-range:U+f92d-f959,U+f95b-f9f2,U+f9f4-fa0b,U+fa0e-fa0f}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.5.woff2) format("woff2");unicode-range:U+9e8b-9e8c,U+9e8e-9e8f,U+9e91-9e92,U+9e95-9e96,U+9e98,U+9e9b,U+9e9d-9e9e,U+9ea4-9ea5,U+9ea8-9eaa,U+9eac-9eb0,U+9eb3-9eb5,U+9eb8,U+9ebc-9ebf,U+9ec3,U+9ec6,U+9ec8,U+9ecb-9ecd,U+9ecf-9ed1,U+9ed4-9ed5,U+9ed8,U+9edb-9ee0,U+9ee4-9ee5,U+9ee7-9ee8,U+9eec-9ef2,U+9ef4-9ef9,U+9efb-9eff,U+9f02-9f03,U+9f07-9f09,U+9f0e-9f12,U+9f14-9f17,U+9f19-9f1b,U+9f1f-9f22,U+9f26,U+9f2a-9f2c,U+9f2f,U+9f31-9f32,U+9f34,U+9f37,U+9f39-9f3a,U+9f3c-9f3f,U+9f41,U+9f43-9f47,U+9f4a,U+9f4e-9f50,U+9f52-9f58,U+9f5a,U+9f5d-9f61,U+9f63,U+9f66-9f6a,U+9f6c-9f73,U+9f75-9f77,U+9f7a,U+9f7d,U+9f7f,U+9f8f-9f92,U+9f94-9f97,U+9f99,U+9f9c-9fa3,U+9fa5,U+9fb4,U+9fbc-9fc2,U+9fc4,U+9fc6,U+9fcc,U+f900-f92c}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.6.woff2) format("woff2");unicode-range:U+9c3e,U+9c41,U+9c43-9c4a,U+9c4e-9c50,U+9c52-9c54,U+9c56,U+9c58,U+9c5a-9c61,U+9c63,U+9c65,U+9c67-9c6b,U+9c6d-9c6e,U+9c70,U+9c72,U+9c75-9c78,U+9c7a-9c7c,U+9ce6-9ce7,U+9ceb-9cec,U+9cf0,U+9cf2,U+9cf6-9cf7,U+9cf9,U+9d02-9d03,U+9d06-9d09,U+9d0b,U+9d0e,U+9d11-9d12,U+9d15,U+9d17-9d18,U+9d1b-9d1f,U+9d23,U+9d26,U+9d2a-9d2c,U+9d2f-9d30,U+9d32-9d34,U+9d3a,U+9d3c-9d3f,U+9d41-9d48,U+9d4a,U+9d50-9d54,U+9d59,U+9d5d-9d65,U+9d69-9d6c,U+9d6f-9d70,U+9d72-9d73,U+9d76-9d77,U+9d7a-9d7c,U+9d7e,U+9d83-9d84,U+9d86-9d87,U+9d89-9d8a,U+9d8d-9d8e,U+9d92-9d93,U+9d95-9d9a,U+9da1,U+9da4,U+9da9-9dac,U+9dae,U+9db1-9db2,U+9db5,U+9db8-9dbd,U+9dbf-9dc4,U+9dc6-9dc7,U+9dc9-9dca,U+9dcf,U+9dd3-9dd7,U+9dd9-9dda,U+9dde-9de0,U+9de3,U+9de5-9de7,U+9de9,U+9deb,U+9ded-9df0,U+9df3-9df4,U+9df8,U+9dfd-9dfe,U+9e02,U+9e07,U+9e0a,U+9e0d-9e0e,U+9e10-9e12,U+9e15-9e16,U+9e19-9e1f,U+9e75,U+9e79-9e7d,U+9e80-9e85,U+9e87-9e88}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.7.woff2) format("woff2");unicode-range:U+9ae5-9ae7,U+9ae9,U+9aeb-9aec,U+9aee-9aef,U+9af1-9af5,U+9af7,U+9af9-9afb,U+9afd,U+9aff-9b06,U+9b08-9b09,U+9b0b-9b0e,U+9b10,U+9b12,U+9b16,U+9b18-9b1d,U+9b1f-9b20,U+9b22-9b23,U+9b25-9b2f,U+9b32-9b35,U+9b37,U+9b39-9b3b,U+9b3d,U+9b43-9b44,U+9b48,U+9b4b-9b4f,U+9b51,U+9b55-9b58,U+9b5b,U+9b5e,U+9b61,U+9b63,U+9b65-9b66,U+9b68,U+9b6a-9b6f,U+9b72-9b79,U+9b7f-9b80,U+9b83-9b87,U+9b89-9b8b,U+9b8d,U+9b8f-9b94,U+9b96-9b97,U+9b9a,U+9b9d-9ba0,U+9ba6-9ba7,U+9ba9-9baa,U+9bac,U+9bb0-9bb2,U+9bb4,U+9bb7-9bb9,U+9bbb-9bbc,U+9bbe-9bc1,U+9bc6-9bc8,U+9bca,U+9bce-9bd2,U+9bd4,U+9bd7-9bd8,U+9bdd,U+9bdf,U+9be1-9be5,U+9be7,U+9bea-9beb,U+9bee-9bf3,U+9bf5,U+9bf7-9bfa,U+9bfd,U+9bff-9c00,U+9c02,U+9c04,U+9c06,U+9c08-9c0d,U+9c0f-9c16,U+9c18-9c1e,U+9c21-9c2a,U+9c2d-9c32,U+9c35-9c37,U+9c39-9c3a,U+9c3d}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.8.woff2) format("woff2");unicode-range:U+98eb,U+98ed-98ee,U+98f0-98f1,U+98f3,U+98f6,U+9902,U+9907-9909,U+9911-9912,U+9914-9918,U+991a-9922,U+9924,U+9926-9927,U+992b-992c,U+992e,U+9931-9935,U+9939-993e,U+9940-9942,U+9945-9949,U+994b-994e,U+9950-9952,U+9954-9955,U+9958-9959,U+995b-995c,U+995e-9960,U+9963,U+9997-9998,U+999b,U+999d-999f,U+99a3,U+99a5-99a6,U+99a8,U+99ad-99ae,U+99b0-99b2,U+99b5,U+99b9-99ba,U+99bc-99bd,U+99bf,U+99c1,U+99c3,U+99c8-99c9,U+99d1,U+99d3-99d5,U+99d8-99df,U+99e1-99e2,U+99e7,U+99ea-99ee,U+99f0-99f2,U+99f4-99f5,U+99f8-99f9,U+99fb-99fe,U+9a01-9a05,U+9a08,U+9a0a-9a0c,U+9a0f-9a11,U+9a16,U+9a1a,U+9a1e,U+9a20,U+9a22-9a24,U+9a27,U+9a2b,U+9a2d-9a2e,U+9a31,U+9a33,U+9a35-9a38,U+9a3e,U+9a40-9a45,U+9a47,U+9a4a-9a4e,U+9a51-9a52,U+9a54-9a58,U+9a5b,U+9a5d,U+9a5f,U+9a62,U+9a64-9a65,U+9a69-9a6c,U+9aaa,U+9aac-9ab0,U+9ab2,U+9ab4-9ab7,U+9ab9,U+9abb-9ac1,U+9ac3,U+9ac6,U+9ac8,U+9ace-9ad3,U+9ad5-9ad7,U+9adb-9adc,U+9ade-9ae0,U+9ae2-9ae4}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.9.woff2) format("woff2");unicode-range:U+971d,U+9721-9724,U+9728,U+972a,U+9730-9731,U+9733,U+9736,U+9738-9739,U+973b,U+973d-973e,U+9741-9744,U+9746-974a,U+974d-974f,U+9751,U+9755,U+9757-9758,U+975a-975c,U+9760-9761,U+9763-9764,U+9766-9768,U+976a-976b,U+976e,U+9771,U+9773,U+9776-977d,U+977f-9781,U+9785-9786,U+9789,U+978b,U+978f-9790,U+9795-9797,U+9799-979a,U+979c,U+979e-97a0,U+97a2-97a3,U+97a6,U+97a8,U+97ab-97ac,U+97ae,U+97b1-97b6,U+97b8-97ba,U+97bc,U+97be-97bf,U+97c1,U+97c3-97ce,U+97d0-97d1,U+97d4,U+97d7-97d9,U+97db-97de,U+97e0-97e1,U+97e4,U+97e6,U+97ed-97ef,U+97f1-97f2,U+97f4-97f8,U+97fa,U+9804,U+9807,U+980a,U+980c-980f,U+9814,U+9816-9817,U+9819-981a,U+981c,U+981e,U+9820-9821,U+9823-9826,U+982b,U+982e-9830,U+9832-9835,U+9837,U+9839,U+983d-983e,U+9844,U+9846-9847,U+984a-984b,U+984f,U+9851-9853,U+9856-9857,U+9859-985b,U+9862-9863,U+9865-9866,U+986a-986c,U+986f-9871,U+9873-9875,U+98aa-98ab,U+98ad-98ae,U+98b0-98b1,U+98b4,U+98b6-98b8,U+98ba-98bc,U+98bf,U+98c2-98c8,U+98cb-98cc,U+98ce,U+98dc,U+98de,U+98e0-98e1,U+98e3,U+98e5-98e7,U+98e9-98ea}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.10.woff2) format("woff2");unicode-range:U+944a,U+944c,U+9452-9453,U+9455,U+9459-945c,U+945e-9463,U+9468,U+946a-946b,U+946d-9472,U+9475,U+9477,U+947c-947f,U+9481,U+9483-9485,U+9578-9579,U+957e-957f,U+9582,U+9584,U+9586-9588,U+958a,U+958c-958f,U+9592,U+9594,U+9596,U+9598-9599,U+959d-95a1,U+95a4,U+95a6-95a9,U+95ab-95ad,U+95b1,U+95b4,U+95b6,U+95b9-95bf,U+95c3,U+95c6,U+95c8-95cd,U+95d0-95d6,U+95d9-95da,U+95dc-95e2,U+95e4-95e6,U+95e8,U+961d-961e,U+9621-9622,U+9624-9626,U+9628,U+962c,U+962e-962f,U+9631,U+9633-9634,U+9637-963a,U+963c-963d,U+9641-9642,U+964b-964c,U+964f,U+9652,U+9654,U+9656-9658,U+965c-965f,U+9661,U+9666,U+966a,U+966c,U+966e,U+9672,U+9674,U+9677,U+967b-967c,U+967e-967f,U+9681-9684,U+9689,U+968b,U+968d,U+9691,U+9695-9698,U+969a,U+969d,U+969f,U+96a4-96aa,U+96ae-96b4,U+96b6,U+96b8-96bb,U+96bd,U+96c1,U+96c9-96cb,U+96cd-96ce,U+96d2,U+96d5-96d6,U+96d8-96da,U+96dc-96df,U+96e9,U+96ef,U+96f1,U+96f9-96fa,U+9702-9706,U+9708-9709,U+970d-970f,U+9711,U+9713-9714,U+9716,U+9719-971b}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.11.woff2) format("woff2");unicode-range:U+92bc-92bd,U+92bf-92c3,U+92c5-92c8,U+92cb-92d0,U+92d2-92d3,U+92d5,U+92d7-92d9,U+92dc-92dd,U+92df-92e1,U+92e3-92e5,U+92e7-92ea,U+92ec,U+92ee,U+92f0,U+92f2,U+92f7-92fb,U+92ff-9300,U+9302,U+9304,U+9308,U+930d,U+930f-9311,U+9314-9315,U+9318-931a,U+931c-931f,U+9321-9325,U+9327-932b,U+932e,U+9333-9337,U+933a-933b,U+9344,U+9347-934a,U+934d,U+9350-9352,U+9354-9358,U+935a,U+935c,U+935e,U+9360,U+9364-9365,U+9367,U+9369-936d,U+936f-9371,U+9373-9374,U+9376,U+937a,U+937d-9382,U+9388,U+938a-938b,U+938d,U+938f,U+9392,U+9394-9395,U+9397-9398,U+939a-939b,U+939e,U+93a1,U+93a3-93a4,U+93a6,U+93a8-93a9,U+93ab-93ad,U+93b0,U+93b4-93b6,U+93b9-93bb,U+93c1,U+93c3-93cd,U+93d0-93d1,U+93d3,U+93d6-93d9,U+93dc-93df,U+93e2,U+93e4-93e8,U+93f1,U+93f5,U+93f7-93fb,U+93fd,U+9401-9404,U+9407-9409,U+940d-9410,U+9413-9417,U+9419-941a,U+941f,U+9421,U+942b,U+942e-942f,U+9431-9434,U+9436,U+9438,U+943a-943b,U+943d,U+943f,U+9441,U+9443-9445,U+9448}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.12.woff2) format("woff2");unicode-range:U+9143,U+9146-914c,U+914f,U+9153,U+9156-915b,U+9161,U+9163-9165,U+9167,U+9169,U+916d,U+9172-9174,U+9179-917b,U+9181-9183,U+9185-9187,U+9189-918b,U+918e,U+9191,U+9193-9195,U+9197-9198,U+919e,U+91a1-91a2,U+91a6,U+91a8,U+91aa-91b6,U+91ba-91bd,U+91bf-91c6,U+91c9,U+91cb,U+91d0,U+91d3-91d4,U+91d6-91d7,U+91d9-91db,U+91de-91df,U+91e1,U+91e4-91e6,U+91e9-91ea,U+91ec-91f1,U+91f5-91f7,U+91f9,U+91fb-91fd,U+91ff-9201,U+9204-9207,U+9209-920a,U+920c,U+920e,U+9210-9218,U+921c-921e,U+9223-9226,U+9228-9229,U+922c,U+922e-9230,U+9233,U+9235-923a,U+923c,U+923e-9240,U+9242-9243,U+9245-924b,U+924d-9251,U+9256-925a,U+925c-925e,U+9260-9261,U+9264-9269,U+926e-9270,U+9275-9279,U+927b-927f,U+9288-928a,U+928d-928e,U+9291-9293,U+9295-9297,U+9299,U+929b-929c,U+929f-92a0,U+92a4-92a5,U+92a7-92a8,U+92ab,U+92af,U+92b2-92b3,U+92b6-92bb}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.13.woff2) format("woff2");unicode-range:U+8f52-8f55,U+8f57-8f58,U+8f5c-8f5e,U+8f61-8f66,U+8f9c-8f9d,U+8f9f-8fa2,U+8fa4-8fa8,U+8fad-8faf,U+8fb4-8fb8,U+8fbe,U+8fc0-8fc2,U+8fc6,U+8fc8,U+8fca-8fcb,U+8fcd,U+8fd0,U+8fd2-8fd3,U+8fd5,U+8fda,U+8fe0,U+8fe2-8fe5,U+8fe8-8fea,U+8fed-8fef,U+8ff1,U+8ff4-8ff6,U+8ff8-8ffb,U+8ffe,U+9002,U+9004-9005,U+9008,U+900b-900e,U+9011,U+9013,U+9015-9016,U+9018,U+901b,U+901e,U+9021,U+9027-902a,U+902c-902d,U+902f,U+9033-9037,U+9039,U+903c,U+903e-903f,U+9041,U+9043-9044,U+9049,U+904c,U+904f-9052,U+9056,U+9058,U+905b-905e,U+9062,U+9066-9068,U+906c,U+906f-9070,U+9072,U+9074,U+9076,U+9079,U+9080-9083,U+9085,U+9087-9088,U+908b-908c,U+908e-9090,U+9095,U+9097-9099,U+909b,U+90a0-90a2,U+90a5,U+90a8,U+90af-90b6,U+90bd-90be,U+90c3-90c5,U+90c7-90c9,U+90cc,U+90d2,U+90d5,U+90d7-90d9,U+90db-90df,U+90e2,U+90e4-90e5,U+90eb,U+90ef-90f0,U+90f2,U+90f4,U+90f6,U+90fe-9100,U+9102,U+9104-9106,U+9108,U+910d,U+9110,U+9112,U+9114-911a,U+911c,U+911e,U+9120,U+9122-9123,U+9125,U+9127,U+9129,U+912d-9132,U+9134,U+9136-9137,U+9139-913a,U+913c-913d}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.14.woff2) format("woff2");unicode-range:U+8dc0,U+8dc2,U+8dc5-8dc8,U+8dca-8dcc,U+8dce-8dcf,U+8dd1,U+8dd4-8dd7,U+8dd9-8ddb,U+8ddf,U+8de3-8de5,U+8de7,U+8dea-8dec,U+8df0-8df2,U+8df4,U+8dfc-8dfd,U+8dff,U+8e01,U+8e04-8e06,U+8e08-8e09,U+8e0b-8e0c,U+8e10-8e11,U+8e14,U+8e16,U+8e1d-8e23,U+8e26-8e27,U+8e30-8e31,U+8e33-8e39,U+8e3d,U+8e40-8e42,U+8e44,U+8e47-8e50,U+8e54-8e55,U+8e59,U+8e5b-8e64,U+8e69,U+8e6c-8e6d,U+8e6f-8e72,U+8e75-8e77,U+8e79-8e7c,U+8e81-8e85,U+8e89,U+8e8b,U+8e90-8e95,U+8e98-8e9b,U+8e9d-8e9e,U+8ea1-8ea2,U+8ea7,U+8ea9-8eaa,U+8eac-8eb1,U+8eb3,U+8eb5-8eb6,U+8eba-8ebb,U+8ebe,U+8ec0-8ec1,U+8ec3-8ec8,U+8ecb,U+8ecf,U+8ed1,U+8ed4,U+8edb-8edc,U+8ee3,U+8ee8,U+8eeb,U+8eed-8eee,U+8ef0-8ef1,U+8ef7,U+8ef9-8efc,U+8efe,U+8f00,U+8f02,U+8f05,U+8f07-8f08,U+8f0a,U+8f0f-8f10,U+8f12-8f13,U+8f15-8f19,U+8f1b-8f1c,U+8f1e-8f21,U+8f23,U+8f25-8f28,U+8f2b-8f2f,U+8f33-8f37,U+8f39-8f3b,U+8f3e,U+8f40-8f43,U+8f45-8f47,U+8f49-8f4a,U+8f4c-8f4f,U+8f51}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.15.woff2) format("woff2");unicode-range:U+8b2d,U+8b30,U+8b37,U+8b3c,U+8b3e,U+8b41-8b46,U+8b48-8b49,U+8b4c-8b4f,U+8b51-8b54,U+8b56,U+8b59,U+8b5b,U+8b5e-8b5f,U+8b63,U+8b69,U+8b6b-8b6d,U+8b6f,U+8b71,U+8b74,U+8b76,U+8b78-8b79,U+8b7c-8b81,U+8b84-8b85,U+8b8a-8b8f,U+8b92-8b96,U+8b99-8b9a,U+8b9c-8ba0,U+8c38-8c3a,U+8c3d-8c3f,U+8c41,U+8c45,U+8c47-8c49,U+8c4b-8c4c,U+8c4e-8c51,U+8c53-8c55,U+8c57-8c59,U+8c5b,U+8c5d,U+8c62-8c64,U+8c66,U+8c68-8c69,U+8c6b-8c6d,U+8c73,U+8c75-8c76,U+8c78,U+8c7a-8c7c,U+8c7e,U+8c82,U+8c85-8c87,U+8c89-8c8b,U+8c8d-8c8e,U+8c90,U+8c92-8c94,U+8c98-8c99,U+8c9b-8c9c,U+8c9f,U+8ca4,U+8cad-8cae,U+8cb2-8cb3,U+8cb6,U+8cb9-8cba,U+8cbd,U+8cc1-8cc2,U+8cc4-8cc6,U+8cc8-8cc9,U+8ccb,U+8ccd-8ccf,U+8cd2,U+8cd5-8cd6,U+8cd9-8cda,U+8cdd,U+8ce1,U+8ce3-8ce4,U+8ce6,U+8ce8,U+8cec,U+8cef-8cf2,U+8cf4-8cf5,U+8cf7-8cf8,U+8cfa-8cfb,U+8cfd-8cff,U+8d01,U+8d03-8d04,U+8d07,U+8d09-8d0b,U+8d0d-8d10,U+8d12-8d14,U+8d16-8d17,U+8d1b-8d1d,U+8d65,U+8d67,U+8d69,U+8d6b-8d6e,U+8d71,U+8d73,U+8d76,U+8d7f,U+8d81-8d82,U+8d84,U+8d88,U+8d8d,U+8d90-8d91,U+8d95,U+8d99,U+8d9e-8da0,U+8da6,U+8da8,U+8dab-8dac,U+8daf,U+8db2,U+8db5,U+8db7,U+8db9-8dbc,U+8dbe}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.16.woff2) format("woff2");unicode-range:U+8973-8975,U+8977,U+897a-897e,U+8980,U+8983,U+8988-898a,U+898d,U+8990,U+8993-8995,U+8998,U+899b-899c,U+899f-89a1,U+89a5-89a6,U+89a9,U+89ac,U+89af-89b0,U+89b2,U+89b4-89b7,U+89ba,U+89bc-89bd,U+89bf-89c1,U+89d4-89d8,U+89da,U+89dc-89dd,U+89e5,U+89e7,U+89e9,U+89eb,U+89ed,U+89f1,U+89f3-89f4,U+89f6,U+89f8-89f9,U+89fd,U+89ff,U+8a01,U+8a04-8a05,U+8a07,U+8a0c,U+8a0f-8a12,U+8a14-8a16,U+8a1b,U+8a1d-8a1e,U+8a20-8a22,U+8a24-8a26,U+8a2b-8a2c,U+8a2f,U+8a35-8a37,U+8a3b,U+8a3d-8a3e,U+8a40-8a41,U+8a43,U+8a45-8a49,U+8a4d-8a4e,U+8a51-8a54,U+8a56-8a58,U+8a5b-8a5d,U+8a61-8a62,U+8a65,U+8a67,U+8a6c-8a6d,U+8a75-8a77,U+8a79-8a7c,U+8a7e-8a80,U+8a82-8a86,U+8a8b,U+8a8f-8a92,U+8a96-8a97,U+8a99-8a9a,U+8a9f,U+8aa1,U+8aa3,U+8aa5-8aaa,U+8aae-8aaf,U+8ab3,U+8ab6-8ab7,U+8abb-8abc,U+8abe,U+8ac2-8ac4,U+8ac6,U+8ac8-8aca,U+8acc-8acd,U+8ad0-8ad1,U+8ad3-8ad5,U+8ad7,U+8ada-8ae2,U+8ae4,U+8ae7,U+8aeb-8aec,U+8aee,U+8af0-8af1,U+8af3-8af7,U+8afa,U+8afc,U+8aff,U+8b01-8b02,U+8b04-8b07,U+8b0a-8b0d,U+8b0f-8b11,U+8b14,U+8b16,U+8b1a,U+8b1c,U+8b1e-8b20,U+8b26,U+8b28,U+8b2b-8b2c}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.17.woff2) format("woff2");unicode-range:U+87e2-87e6,U+87ea-87ed,U+87ef,U+87f1,U+87f3,U+87f5-87f8,U+87fa-87fb,U+87fe-87ff,U+8801,U+8803,U+8805-8807,U+8809-880b,U+880d-8816,U+8818-881c,U+881e-881f,U+8821-8822,U+8827-8828,U+882d-882e,U+8830-8832,U+8835-8836,U+8839-883c,U+8841-8845,U+8848-884b,U+884d-884e,U+8851-8852,U+8855-8856,U+8858-885a,U+885c,U+885e-8860,U+8862,U+8864,U+8869,U+886b,U+886e-886f,U+8871-8872,U+8875,U+8877,U+8879,U+887b,U+887d-887e,U+8880-8882,U+8888,U+888d,U+8892,U+8897-889c,U+889e-88a0,U+88a2,U+88a4,U+88a8,U+88aa,U+88ae,U+88b0-88b1,U+88b5,U+88b7,U+88ba,U+88bc-88c0,U+88c3-88c4,U+88c6,U+88ca-88ce,U+88d1-88d4,U+88d8-88d9,U+88db,U+88dd-88e1,U+88e7-88e8,U+88ef-88f2,U+88f4-88f5,U+88f7,U+88f9,U+88fc,U+8901-8902,U+8904,U+8906,U+890a,U+890c-890f,U+8913,U+8915-8916,U+8918-891a,U+891c-891e,U+8920,U+8925-8928,U+892a-892b,U+8930-8932,U+8935-893b,U+893e,U+8940-8946,U+8949,U+894c-894d,U+894f,U+8952,U+8956-8957,U+895a-895c,U+895e,U+8960-8964,U+8966,U+896a-896b,U+896d-8970}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.18.woff2) format("woff2");unicode-range:U+8655-8659,U+865b,U+865d-8664,U+8667,U+8669,U+866c,U+866f,U+8671,U+8675-8677,U+867a-867b,U+867d,U+8687-8689,U+868b-868d,U+8691,U+8693,U+8695-8696,U+8698,U+869a,U+869c-869d,U+86a1,U+86a3-86a4,U+86a6-86ab,U+86ad,U+86af-86b1,U+86b3-86b9,U+86bf-86c1,U+86c3-86c6,U+86c9,U+86cb,U+86ce,U+86d1-86d2,U+86d4-86d5,U+86d7,U+86da,U+86dc,U+86de-86e0,U+86e3-86e7,U+86e9,U+86ec-86ed,U+86ef,U+86f8-86fe,U+8700,U+8703-870b,U+870d-8714,U+8719-871a,U+871e-871f,U+8721-8723,U+8725,U+8728-8729,U+872e-872f,U+8731-8732,U+8734,U+8737,U+8739-8740,U+8743,U+8745,U+8749,U+874b-874e,U+8751,U+8753,U+8755,U+8757-8759,U+875d,U+875f-8761,U+8763-8766,U+8768,U+876a,U+876e-876f,U+8771-8772,U+8774,U+8778,U+877b-877c,U+877f,U+8782-8789,U+878b-878c,U+878e,U+8790,U+8793,U+8795,U+8797-8799,U+879e-87a0,U+87a2-87a3,U+87a7,U+87ab-87af,U+87b1,U+87b3,U+87b5,U+87bb,U+87bd-87c1,U+87c4,U+87c6-87cb,U+87ce,U+87d0,U+87d2,U+87d5-87d6,U+87d9-87da,U+87dc,U+87df-87e0}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.19.woff2) format("woff2");unicode-range:U+84b4,U+84b9-84bb,U+84bd-84c2,U+84c6-84ca,U+84cc-84d1,U+84d3,U+84d6,U+84d9-84da,U+84dc,U+84e7,U+84ea,U+84ec,U+84ef-84f2,U+84f4,U+84f7,U+84fa-84fd,U+84ff-8500,U+8502-8503,U+8506-8507,U+850c,U+850e,U+8510,U+8514-8515,U+8517-8518,U+851a-851c,U+851e-851f,U+8521-8525,U+8527,U+852a-852c,U+852f,U+8532-8534,U+8536,U+853e-8541,U+8543,U+8546,U+8548,U+854a-854b,U+854f-8553,U+8555-855a,U+855c-8564,U+8569-856b,U+856d,U+856f,U+8577,U+8579-857b,U+857d-8581,U+8585-8586,U+8588-858c,U+858f-8591,U+8593,U+8597-8598,U+859b-859d,U+859f-85a0,U+85a2,U+85a4-85a5,U+85a7-85a8,U+85ad-85b0,U+85b4,U+85b6-85ba,U+85bc-85bf,U+85c1-85c2,U+85c7,U+85c9-85cb,U+85ce-85d0,U+85d5,U+85d8-85da,U+85dc,U+85df-85e1,U+85e5-85e6,U+85e8,U+85ed,U+85f3-85f4,U+85f6-85f7,U+85f9-85fa,U+85fc,U+85fe-8600,U+8602,U+8604-8606,U+860a-860b,U+860d-860e,U+8610-8613,U+8616-861b,U+861e,U+8621-8622,U+8624,U+8627,U+8629,U+862f-8630,U+8636,U+8638-863a,U+863c-863d,U+863f-8642,U+8646,U+864d,U+8652-8654}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.20.woff2) format("woff2");unicode-range:U+82e8,U+82ea,U+82ed,U+82ef,U+82f3-82f4,U+82f6-82f7,U+82f9,U+82fb,U+82fd-82fe,U+8300-8301,U+8303,U+8306-8308,U+830a-830c,U+8316-8318,U+831b,U+831d-831f,U+8321-8323,U+832b-8335,U+8337,U+833a,U+833c-833d,U+8340,U+8342-8347,U+834a,U+834d-8351,U+8353-8357,U+835a,U+8362-8363,U+8370,U+8373,U+8375,U+8378,U+837c-837d,U+837f-8380,U+8382,U+8384-8387,U+838a,U+838d-838e,U+8392-8396,U+8398-83a0,U+83a2,U+83a6-83ad,U+83b1,U+83b5,U+83bd-83c1,U+83c7,U+83c9,U+83ce-83d1,U+83d4,U+83d6,U+83d8,U+83dd,U+83df-83e1,U+83e5,U+83e8,U+83ea-83eb,U+83f0,U+83f2,U+83f4,U+83f6-83f9,U+83fb-83fd,U+8401,U+8403-8404,U+8406-8407,U+840a-840b,U+840d,U+840f,U+8411,U+8413,U+8415,U+8417,U+8419,U+8420,U+8422,U+842a,U+842f,U+8431,U+8435,U+8438-8439,U+843c,U+8445-8448,U+844a,U+844d-844f,U+8451-8452,U+8456,U+8458-845a,U+845c,U+845f-8462,U+8464-8467,U+8469-846b,U+846d-8470,U+8473-8474,U+8476-847a,U+847c-847d,U+8481-8482,U+8484-8485,U+848b,U+8490,U+8492-8493,U+8495,U+8497,U+849c,U+849e-849f,U+84a1,U+84a6,U+84a8-84aa,U+84ad,U+84af,U+84b1}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.21.woff2) format("woff2");unicode-range:U+814a,U+814c,U+8151-8153,U+8157,U+815f-8161,U+8165-8169,U+816d-816f,U+8171,U+8173-8174,U+8177,U+8180-8186,U+8188,U+818a-818b,U+818e,U+8190,U+8193,U+8195-8196,U+8198,U+819b,U+819e,U+81a0,U+81a2,U+81a4,U+81a9,U+81ae,U+81b0,U+81b2,U+81b4-81b5,U+81b8,U+81ba-81bb,U+81bd-81be,U+81c0-81c3,U+81c5-81c6,U+81c8-81cb,U+81cd-81cf,U+81d1,U+81d5-81db,U+81dd-81e1,U+81e4-81e5,U+81e7,U+81eb-81ec,U+81ef-81f2,U+81f5-81f6,U+81f8-81fb,U+81fd-8205,U+8209-820b,U+820d,U+820f,U+8212-8214,U+8216,U+8219-821d,U+8221-8222,U+8228-8229,U+822b,U+822e,U+8232-8235,U+8237-8238,U+823a,U+823c,U+8240,U+8243-8246,U+8249,U+824b,U+824e-824f,U+8251,U+8256-825a,U+825c-825d,U+825f-8260,U+8262-8264,U+8267-8268,U+826a-826b,U+826d-826e,U+8271,U+8274,U+8277,U+8279,U+827b,U+827d-8281,U+8283-8284,U+8287,U+8289-828a,U+828d-828e,U+8291-8294,U+8296,U+8298-829b,U+829f-82a1,U+82a3-82a4,U+82a7-82ac,U+82ae,U+82b0,U+82b2,U+82b4,U+82b7,U+82ba-82bc,U+82be-82bf,U+82c5-82c6,U+82d0,U+82d2-82d3,U+82d5,U+82d9-82da,U+82dc,U+82de-82e4,U+82e7}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.22.woff2) format("woff2");unicode-range:U+7f77-7f79,U+7f7d-7f80,U+7f82-7f83,U+7f86-7f88,U+7f8b-7f8d,U+7f8f-7f91,U+7f94,U+7f96-7f97,U+7f9a,U+7f9c-7f9d,U+7fa1-7fa3,U+7fa6,U+7faa,U+7fad-7faf,U+7fb2,U+7fb4,U+7fb6,U+7fb8-7fb9,U+7fbc,U+7fbf-7fc0,U+7fc3,U+7fc5-7fc6,U+7fc8,U+7fca,U+7fce-7fcf,U+7fd5,U+7fdb,U+7fdf,U+7fe1,U+7fe3,U+7fe5-7fe6,U+7fe8-7fe9,U+7feb-7fec,U+7fee-7ff0,U+7ff2-7ff3,U+7ff9-7ffa,U+7ffd-7fff,U+8002,U+8004,U+8006-8008,U+800a-800f,U+8011-8014,U+8016,U+8018-8019,U+801c-8021,U+8024,U+8026,U+8028,U+802c,U+802e,U+8030,U+8034-8035,U+8037,U+8039-8040,U+8043-8044,U+8046,U+804a,U+8052,U+8058,U+805a,U+805f-8060,U+8062,U+8064,U+8066,U+8068,U+806d,U+806f-8073,U+8075-8076,U+8079,U+807b,U+807d-8081,U+8084-8088,U+808b,U+808e,U+8093,U+8099-809a,U+809c,U+809e,U+80a4,U+80a6-80a7,U+80ab-80ad,U+80b1,U+80b8-80b9,U+80c4-80c5,U+80c8,U+80ca,U+80cd,U+80cf,U+80d2,U+80d4-80db,U+80dd,U+80e0,U+80e4-80e6,U+80ed-80f3,U+80f5-80f7,U+80f9-80fc,U+80fe,U+8101,U+8103,U+8109,U+810b,U+810d,U+8116-8118,U+811b-811c,U+811e,U+8120,U+8123-8124,U+8127,U+8129,U+812b-812c,U+812f-8130,U+8135,U+8139-813a,U+813c-813e,U+8141,U+8145-8147}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.23.woff2) format("woff2");unicode-range:U+7d57,U+7d59-7d5d,U+7d63,U+7d65,U+7d67,U+7d6a,U+7d6e,U+7d70,U+7d72-7d73,U+7d78,U+7d7a-7d7b,U+7d7d,U+7d7f,U+7d81-7d83,U+7d85-7d86,U+7d88-7d89,U+7d8b-7d8d,U+7d8f,U+7d91,U+7d93,U+7d96-7d97,U+7d9b-7da0,U+7da2-7da3,U+7da6-7da7,U+7daa-7dac,U+7dae-7db0,U+7db3,U+7db5-7db9,U+7dbd,U+7dc0,U+7dc2-7dc7,U+7dcc-7dce,U+7dd0,U+7dd5-7dd9,U+7ddc-7dde,U+7de1-7de6,U+7dea-7ded,U+7df1-7df2,U+7df5-7df6,U+7df9-7dfa,U+7e00,U+7e05,U+7e08-7e0b,U+7e10-7e12,U+7e15,U+7e17,U+7e1c-7e1d,U+7e1f-7e23,U+7e27-7e28,U+7e2c-7e2d,U+7e2f,U+7e31-7e33,U+7e35-7e37,U+7e39-7e3b,U+7e3d,U+7e3f,U+7e43-7e48,U+7e4e,U+7e50,U+7e52,U+7e56,U+7e58-7e5a,U+7e5d-7e5f,U+7e61-7e62,U+7e65-7e67,U+7e69-7e6b,U+7e6d-7e6f,U+7e73,U+7e75,U+7e78-7e79,U+7e7b-7e7f,U+7e81-7e83,U+7e86-7e8a,U+7e8c-7e8e,U+7e90-7e96,U+7e98,U+7e9a-7e9f,U+7f38,U+7f3a-7f3f,U+7f43-7f45,U+7f47,U+7f4c-7f50,U+7f52-7f55,U+7f58,U+7f5b-7f5d,U+7f5f,U+7f61,U+7f63-7f69,U+7f6b,U+7f6d,U+7f71}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.24.woff2) format("woff2");unicode-range:U+7bc8,U+7bca-7bcc,U+7bcf,U+7bd4,U+7bd6-7bd7,U+7bd9-7bdb,U+7bdd,U+7be5-7be6,U+7be8-7bea,U+7bf0,U+7bf2-7bfa,U+7bfc,U+7bfe,U+7c00-7c04,U+7c06-7c07,U+7c09,U+7c0b-7c0f,U+7c11-7c14,U+7c17,U+7c19,U+7c1b,U+7c1e-7c20,U+7c23,U+7c25-7c28,U+7c2a-7c2c,U+7c2f,U+7c31,U+7c33-7c34,U+7c36-7c3a,U+7c3d-7c3e,U+7c40,U+7c42-7c43,U+7c45-7c46,U+7c4a,U+7c4c,U+7c4f-7c5f,U+7c61,U+7c63-7c65,U+7c67,U+7c69,U+7c6c-7c70,U+7c72,U+7c75,U+7c79,U+7c7b-7c7e,U+7c81-7c83,U+7c86-7c87,U+7c8d,U+7c8f-7c90,U+7c94,U+7c9e,U+7ca0-7ca2,U+7ca4-7ca6,U+7ca8,U+7cab,U+7cad-7cae,U+7cb0-7cb3,U+7cb6-7cb7,U+7cb9-7cbd,U+7cbf-7cc0,U+7cc2,U+7cc4-7cc5,U+7cc7-7cca,U+7ccd-7ccf,U+7cd2-7cd5,U+7cd7-7cda,U+7cdc-7cdd,U+7cdf-7ce0,U+7ce2,U+7ce6,U+7ce9,U+7ceb,U+7cef,U+7cf2,U+7cf4-7cf6,U+7cf9-7cfa,U+7cfe,U+7d02-7d03,U+7d06-7d0a,U+7d0f,U+7d11-7d13,U+7d15-7d16,U+7d1c-7d1e,U+7d23,U+7d26,U+7d2a,U+7d2c-7d2e,U+7d31-7d32,U+7d35,U+7d3c-7d41,U+7d43,U+7d45,U+7d47-7d48,U+7d4b,U+7d4d-7d4f,U+7d51,U+7d53,U+7d55-7d56}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.25.woff2) format("woff2");unicode-range:U+7a17-7a19,U+7a1b,U+7a1e-7a21,U+7a27,U+7a2b,U+7a2d,U+7a2f-7a31,U+7a34-7a35,U+7a37-7a3b,U+7a3e,U+7a43-7a49,U+7a4c,U+7a4e,U+7a50,U+7a55-7a57,U+7a59,U+7a5c-7a5d,U+7a5f-7a63,U+7a65,U+7a67,U+7a69-7a6a,U+7a6d,U+7a70,U+7a75,U+7a78-7a79,U+7a7d-7a7e,U+7a80,U+7a82,U+7a84-7a86,U+7a88,U+7a8a-7a8b,U+7a90-7a91,U+7a94-7a98,U+7a9e,U+7aa0,U+7aa3,U+7aa9,U+7aac,U+7ab0,U+7ab3,U+7ab5-7ab6,U+7ab9-7abf,U+7ac3,U+7ac5-7aca,U+7acc-7acf,U+7ad1-7ad3,U+7ad5,U+7ada-7adb,U+7add,U+7adf,U+7ae1-7ae2,U+7ae6-7aed,U+7af0-7af1,U+7af4,U+7af8,U+7afa-7afb,U+7afd-7afe,U+7b02,U+7b04,U+7b06-7b08,U+7b0a-7b0b,U+7b0f,U+7b12,U+7b14,U+7b18-7b19,U+7b1e-7b1f,U+7b23,U+7b25,U+7b27-7b2b,U+7b2d-7b31,U+7b33-7b36,U+7b3b,U+7b3d,U+7b3f-7b41,U+7b45,U+7b47,U+7b4c-7b50,U+7b53,U+7b55,U+7b5d,U+7b60,U+7b64-7b66,U+7b69-7b6a,U+7b6c-7b75,U+7b77,U+7b79-7b7a,U+7b7f,U+7b84,U+7b86,U+7b89,U+7b8d-7b92,U+7b96,U+7b98-7ba0,U+7ba5,U+7bac-7bad,U+7baf-7bb0,U+7bb2,U+7bb4-7bb6,U+7bba-7bbd,U+7bc1-7bc2,U+7bc5-7bc6}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.26.woff2) format("woff2");unicode-range:U+7851-7852,U+785c,U+785e,U+7860-7861,U+7863-7864,U+7868,U+786a,U+786e-786f,U+7872,U+7874,U+787a,U+787c,U+787e,U+7886-7887,U+788a,U+788c-788f,U+7893-7895,U+7898,U+789a,U+789d-789f,U+78a1,U+78a3-78a4,U+78a8-78aa,U+78ac-78ad,U+78af-78b3,U+78b5,U+78bb-78bf,U+78c5-78cc,U+78ce,U+78d1-78d6,U+78da-78db,U+78df-78e1,U+78e4,U+78e6-78e7,U+78ea,U+78ec,U+78f2-78f4,U+78f6-78f7,U+78f9-78fb,U+78fd-7901,U+7906-7907,U+790c,U+7910-7912,U+7919-791c,U+791e-7920,U+7925-792e,U+7930-7931,U+7934-7935,U+793b,U+793d,U+793f,U+7941-7942,U+7944-7946,U+794a-794b,U+794f,U+7951,U+7954-7955,U+7957-7958,U+795a-795c,U+795f-7960,U+7962,U+7967,U+7969,U+796b,U+7972,U+7977,U+7979-797c,U+797e-7980,U+798a-798e,U+7991,U+7993-7996,U+7998,U+799b-799d,U+79a1,U+79a6-79ab,U+79ae-79b1,U+79b3-79b4,U+79b8-79bb,U+79bd-79be,U+79c2,U+79c4,U+79c7-79ca,U+79cc-79cd,U+79cf,U+79d4-79d6,U+79da,U+79dd-79e3,U+79e5,U+79e7,U+79ea-79ed,U+79f1,U+79f8,U+79fc,U+7a02-7a03,U+7a05,U+7a07-7a0a,U+7a0c-7a0d,U+7a11,U+7a15}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.27.woff2) format("woff2");unicode-range:U+768c-768e,U+7690,U+7693,U+7695-7696,U+7699-76a8,U+76aa,U+76ad,U+76af-76b0,U+76b4,U+76b6-76ba,U+76bd,U+76c1-76c3,U+76c5,U+76c8-76c9,U+76cb-76ce,U+76d2,U+76d4,U+76d6,U+76d9,U+76dc,U+76de,U+76e0-76e1,U+76e5-76e8,U+76ea-76ec,U+76f0-76f1,U+76f6,U+76f9,U+76fb-76fc,U+7700,U+7704,U+7706-7708,U+770a,U+770e,U+7712,U+7714-7715,U+7717,U+7719-771c,U+7722,U+7724-7726,U+7728,U+772d-772f,U+7734-7739,U+773d-773e,U+7742,U+7745-7747,U+774a,U+774d-774f,U+7752,U+7756-7758,U+775a-775c,U+775e-7760,U+7762,U+7764-7765,U+7767,U+776a-776c,U+7770,U+7772-7774,U+7779-777a,U+777c-7780,U+7784,U+778b-778e,U+7794-7796,U+779a,U+779e-77a0,U+77a2,U+77a4-77a5,U+77a7,U+77a9-77aa,U+77ae-77b1,U+77b5-77b7,U+77b9,U+77bb-77bf,U+77c3,U+77c7,U+77c9,U+77cd,U+77d1-77d2,U+77d5,U+77d7,U+77d9-77da,U+77dc,U+77de-77e0,U+77e3-77e4,U+77e6-77e7,U+77e9-77ea,U+77ec,U+77ee,U+77f0-77f1,U+77f4,U+77f8,U+77fb-77fc,U+7805-7806,U+7809,U+780c-780e,U+7811-7812,U+7819,U+781d,U+7820-7823,U+7826-7827,U+782c-782e,U+7830,U+7835,U+7837,U+783a,U+783f,U+7843-7845,U+7847-7848,U+784c,U+784e-784f}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.28.woff2) format("woff2");unicode-range:U+7511-7513,U+7515-7517,U+751c,U+751e,U+7520-7522,U+7524,U+7526-7527,U+7529-752c,U+752f,U+7536,U+7538-7539,U+753c-7540,U+7543-7544,U+7546-754b,U+754d-7550,U+7552,U+7557,U+755a-755b,U+755d-755f,U+7561-7562,U+7564,U+7566-7567,U+7569,U+756b-756d,U+756f,U+7571-7572,U+7574-757e,U+7581-7582,U+7585-7587,U+7589-758c,U+758f-7590,U+7592-7595,U+7599-759a,U+759c-759d,U+75a2-75a5,U+75b0-75b1,U+75b3-75b5,U+75b7-75b8,U+75ba,U+75bd,U+75bf-75c4,U+75c6,U+75ca,U+75cc-75cf,U+75d3-75d4,U+75d7-75d8,U+75dc-75e1,U+75e3-75e4,U+75e7,U+75ec,U+75ee-75f3,U+75f9,U+75fc,U+75fe-7604,U+7607-760c,U+760f,U+7612-7613,U+7615-7616,U+7618-7619,U+761b-7629,U+762d,U+7630,U+7632-7635,U+7638-763c,U+7640-7641,U+7643-764b,U+764e,U+7655,U+7658-7659,U+765c,U+765f,U+7661-7662,U+7664-7665,U+7667-766a,U+766c-7672,U+7674,U+7676,U+7678,U+7680-7683,U+7685,U+7688,U+768b}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.29.woff2) format("woff2");unicode-range:U+736c,U+736e-7371,U+7375,U+7377-737c,U+7380-7381,U+7383,U+7385-7386,U+738a,U+738e,U+7390,U+7393-7398,U+739c,U+739e-73a0,U+73a2,U+73a5-73a6,U+73a8,U+73aa-73ab,U+73ad,U+73b3,U+73b5,U+73b7,U+73b9-73bd,U+73bf,U+73c5-73c6,U+73c9-73cc,U+73ce-73cf,U+73d2-73d3,U+73d6,U+73d9,U+73dd-73de,U+73e1,U+73e3-73e7,U+73e9-73ea,U+73ee,U+73f1,U+73f4-73f5,U+73f7-73fb,U+73fd,U+73ff-7401,U+7404-7405,U+7407,U+740a,U+7411,U+7413,U+741a-741b,U+7421,U+7424,U+7426,U+7428-7431,U+7433,U+7439-743a,U+743f-7441,U+7443-7444,U+7446-7447,U+744b,U+744d,U+7451-7453,U+7455,U+7457,U+7459-745a,U+745c-745d,U+745f,U+7462-7464,U+7466-746b,U+746d-7473,U+7476,U+747e,U+7480-7481,U+7485-7489,U+748b,U+748f-7492,U+7497-749a,U+749c,U+749e-74a3,U+74a5-74a6,U+74a8-74ab,U+74ae-74af,U+74b1-74b2,U+74b5,U+74b9-74bb,U+74bd,U+74bf,U+74c8-74ca,U+74cc,U+74cf-74d0,U+74d3-74d4,U+74d6,U+74d8,U+74da-74db,U+74de-74e0,U+74e3-74e4,U+74e7-74eb,U+74ee-74f2,U+74f4,U+74f7-74f8,U+74fa-74fc,U+74ff,U+7501,U+7503-7506,U+750c-750e}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.30.woff2) format("woff2");unicode-range:U+7166,U+7168,U+716c,U+7179,U+7180,U+7184-7185,U+7187-7188,U+718c,U+718f,U+7192,U+7194-7196,U+7199-719b,U+71a0,U+71a2,U+71a8,U+71ac,U+71ae-71b0,U+71b2-71b3,U+71b9-71ba,U+71be-71c1,U+71c4,U+71c9,U+71cb-71cc,U+71ce,U+71d0,U+71d2-71d4,U+71d6-71d7,U+71d9-71da,U+71dc,U+71df-71e0,U+71e6-71e7,U+71ec-71ee,U+71f4-71f5,U+71f8-71f9,U+71fc,U+71fe-7200,U+7207-7209,U+720d,U+7210,U+7213,U+7215,U+7217,U+721a,U+721d,U+721f,U+7224,U+7228,U+722b,U+722d,U+722f-7230,U+7232,U+7234,U+7238-7239,U+723b-723c,U+723e-7243,U+7245-7246,U+724b,U+724e-7250,U+7252-7253,U+7255-7258,U+725a,U+725c,U+725e,U+7260,U+7263,U+7268,U+726b,U+726e-726f,U+7271,U+7274,U+7277-7278,U+727b-727c,U+727e-7282,U+7284,U+7287,U+7289,U+728d-728e,U+7292-7293,U+7296,U+729b,U+72a2,U+72a7-72a8,U+72ad-72ae,U+72b0-72b2,U+72b4,U+72b9,U+72be,U+72c0-72c1,U+72c3-72c4,U+72c6-72c7,U+72c9,U+72cc,U+72ce,U+72d2,U+72d5-72d6,U+72d8,U+72df-72e2,U+72e5,U+72f3-72f4,U+72f7,U+72f9-72fb,U+72fd-72fe,U+7302,U+7304-7305,U+7307,U+730a-730b,U+730d,U+7312-7313,U+7316-7319,U+731c-731e,U+7322,U+7324,U+7327-7329,U+732c,U+732f,U+7331-7337,U+7339-733b,U+733d-733e,U+7343,U+734d-7350,U+7352,U+7356-7358,U+735d-7360,U+7366-736b}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.31.woff2) format("woff2");unicode-range:U+6f58-6f5b,U+6f5d-6f5e,U+6f60-6f62,U+6f66,U+6f68,U+6f6c-6f6d,U+6f6f,U+6f74,U+6f78,U+6f7a,U+6f7c-6f7e,U+6f80,U+6f82-6f83,U+6f86-6f88,U+6f8b-6f8e,U+6f90-6f94,U+6f96-6f98,U+6f9a,U+6f9d,U+6f9f-6fa1,U+6fa3,U+6fa5-6fa8,U+6fae-6fb1,U+6fb3,U+6fb5-6fb7,U+6fb9,U+6fbc,U+6fbe,U+6fc2,U+6fc5-6fca,U+6fd4-6fd5,U+6fd8,U+6fda-6fdb,U+6fde-6fe0,U+6fe4,U+6fe8-6fe9,U+6feb-6fec,U+6fee,U+6ff0,U+6ff3,U+6ff5-6ff6,U+6ff9-6ffa,U+6ffc-6ffe,U+7000-7001,U+7005-7007,U+7009-700b,U+700d,U+700f,U+7011,U+7015,U+7017-7018,U+701a-701b,U+701d-7020,U+7023,U+7026,U+7028,U+702f-7030,U+7032,U+7034,U+7037,U+7039-703a,U+703c,U+703e,U+7043-7044,U+7047-704c,U+704e,U+7051,U+7054-7055,U+705d-705e,U+7064-7065,U+7069,U+706c,U+706e,U+7075-7076,U+707e,U+7081,U+7085-7086,U+7094-7098,U+709b,U+709f,U+70a4,U+70ab-70ac,U+70ae-70b1,U+70b3-70b4,U+70b7,U+70bb,U+70ca-70cb,U+70d1,U+70d3-70d6,U+70d8-70d9,U+70dc-70dd,U+70df,U+70e4,U+70ec,U+70f1,U+70fa,U+70fd,U+7103-7108,U+710b-710c,U+710f,U+7114,U+7119,U+711c,U+711e,U+7120,U+712b,U+712d-7131,U+7138,U+7141,U+7145-7147,U+7149-714b,U+7150-7153,U+7155-7157,U+715a,U+715c,U+715e,U+7160,U+7162,U+7164-7165}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.32.woff2) format("woff2");unicode-range:U+6d7c,U+6d80-6d82,U+6d85,U+6d87,U+6d89-6d8a,U+6d8c-6d8e,U+6d91-6d98,U+6d9c,U+6daa-6dac,U+6dae,U+6db4-6db5,U+6db7-6db9,U+6dbd,U+6dbf,U+6dc2,U+6dc4-6dc8,U+6dca,U+6dcc,U+6dce-6dd0,U+6dd2,U+6dd5-6dd6,U+6dd8-6ddb,U+6ddd-6de0,U+6de2,U+6de4-6de6,U+6de8-6dea,U+6dec,U+6dee-6df0,U+6df2,U+6df4,U+6df6,U+6df8-6dfa,U+6dfc,U+6e00,U+6e04,U+6e0a,U+6e17,U+6e19,U+6e1d-6e20,U+6e22-6e25,U+6e27,U+6e2b,U+6e2d-6e2e,U+6e32,U+6e34,U+6e36,U+6e38-6e3c,U+6e42-6e45,U+6e48-6e49,U+6e4b-6e4f,U+6e51-6e54,U+6e57,U+6e5b-6e5f,U+6e62-6e63,U+6e68,U+6e6b,U+6e6e,U+6e72-6e73,U+6e76,U+6e7b,U+6e7d,U+6e82,U+6e89,U+6e8c-6e8d,U+6e8f,U+6e93,U+6e98-6e99,U+6e9f-6ea0,U+6ea5,U+6ea7,U+6eaa-6eab,U+6ead-6eaf,U+6eb1-6eb4,U+6eb7,U+6ebb-6ebd,U+6ebf-6ec4,U+6ec7-6eca,U+6ecc-6ecf,U+6ed3-6ed5,U+6ed9-6edb,U+6ee6,U+6eeb-6eef,U+6ef7-6ef9,U+6efb,U+6efd-6eff,U+6f04,U+6f08-6f0a,U+6f0c-6f0d,U+6f10-6f11,U+6f13,U+6f15-6f16,U+6f18,U+6f1a-6f1b,U+6f25-6f26,U+6f29-6f2a,U+6f2d,U+6f2f-6f33,U+6f35-6f36,U+6f38,U+6f3b-6f3c,U+6f3e-6f3f,U+6f41,U+6f45,U+6f4f,U+6f51-6f53,U+6f57}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.33.woff2) format("woff2");unicode-range:U+6b85,U+6b89,U+6b8d,U+6b95,U+6b97-6b98,U+6b9b,U+6b9e-6ba0,U+6ba2-6ba4,U+6ba8-6bb3,U+6bb7-6bb9,U+6bbc-6bbe,U+6bc0,U+6bc3-6bc4,U+6bc6-6bc9,U+6bcb-6bcc,U+6bcf,U+6bd3,U+6bd6-6bd8,U+6bda,U+6bdf,U+6be1,U+6be3,U+6be6-6be7,U+6beb-6bec,U+6bee,U+6bf1,U+6bf3,U+6bf7,U+6bf9,U+6bff,U+6c02,U+6c04-6c05,U+6c08-6c0a,U+6c0d-6c0e,U+6c10,U+6c12-6c14,U+6c19,U+6c1b,U+6c1f,U+6c24,U+6c26-6c28,U+6c2c,U+6c2e,U+6c33,U+6c35-6c36,U+6c3a-6c3b,U+6c3e-6c40,U+6c4a-6c4b,U+6c4d,U+6c4f,U+6c52,U+6c54-6c55,U+6c59,U+6c5b-6c5e,U+6c62,U+6c67-6c68,U+6c6a-6c6b,U+6c6d,U+6c6f,U+6c73-6c74,U+6c76,U+6c78-6c79,U+6c7b,U+6c7e,U+6c81-6c87,U+6c89,U+6c8c-6c8d,U+6c90,U+6c92-6c95,U+6c97-6c98,U+6c9a-6c9c,U+6c9f,U+6caa-6cae,U+6cb0-6cb2,U+6cb4,U+6cba,U+6cbd-6cbe,U+6cc2,U+6cc5-6cc6,U+6ccd,U+6ccf-6cd4,U+6cd6-6cd7,U+6cd9-6cdd,U+6ce0,U+6ce7,U+6ce9-6cef,U+6cf1-6cf2,U+6cf4,U+6cfb,U+6d00-6d01,U+6d04,U+6d07,U+6d0a,U+6d0c,U+6d0e-6d0f,U+6d11,U+6d13,U+6d19-6d1a,U+6d1f,U+6d24,U+6d26-6d28,U+6d2b,U+6d2e-6d2f,U+6d31,U+6d33-6d36,U+6d38-6d39,U+6d3c-6d3d,U+6d3f,U+6d57-6d5b,U+6d5e-6d61,U+6d64-6d65,U+6d67,U+6d6c,U+6d6f-6d70,U+6d79}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.34.woff2) format("woff2");unicode-range:U+69dd-69de,U+69e2-69e3,U+69e5,U+69e7-69eb,U+69ed-69ef,U+69f1-69f6,U+69f9,U+69fe-6a01,U+6a03,U+6a05,U+6a0a,U+6a0c,U+6a0f,U+6a11-6a15,U+6a17,U+6a1a-6a1b,U+6a1d-6a20,U+6a22-6a24,U+6a28,U+6a2e,U+6a30,U+6a32-6a38,U+6a3b,U+6a3e-6a3f,U+6a44-6a4a,U+6a4e,U+6a50-6a52,U+6a54-6a56,U+6a5b,U+6a61-6a62,U+6a64,U+6a66-6a67,U+6a6a-6a6b,U+6a71-6a73,U+6a78,U+6a7a,U+6a7e-6a7f,U+6a81,U+6a83-6a84,U+6a86-6a87,U+6a89,U+6a8b,U+6a8d,U+6a90-6a91,U+6a94,U+6a97,U+6a9b,U+6a9d-6aa3,U+6aa5,U+6aaa-6aac,U+6aae-6ab1,U+6ab3-6ab4,U+6ab8,U+6abb,U+6abd-6abf,U+6ac1-6ac3,U+6ac6,U+6ac8-6ac9,U+6acc,U+6ad0-6ad1,U+6ad3-6ad6,U+6ada-6adf,U+6ae2,U+6ae4,U+6ae7-6ae8,U+6aea,U+6aec,U+6af0-6af3,U+6af8,U+6afa,U+6afc-6afd,U+6b02-6b03,U+6b06-6b07,U+6b09-6b0b,U+6b0f-6b12,U+6b16-6b17,U+6b1b,U+6b1d-6b1f,U+6b23-6b24,U+6b28,U+6b2b-6b2c,U+6b2f,U+6b35-6b39,U+6b3b,U+6b3d,U+6b3f,U+6b43,U+6b46-6b47,U+6b49-6b4a,U+6b4d-6b4e,U+6b50,U+6b52,U+6b54,U+6b56,U+6b58-6b59,U+6b5b,U+6b5d,U+6b5f-6b61,U+6b65,U+6b67,U+6b6b-6b6c,U+6b6e,U+6b70,U+6b72,U+6b75,U+6b77-6b7a,U+6b7d-6b84}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.35.woff2) format("woff2");unicode-range:U+6855,U+6857-6859,U+685b,U+685d,U+685f,U+6863,U+6867,U+686b,U+686e-6872,U+6874-6875,U+6877,U+6879-687c,U+687e-687f,U+6882-6884,U+6886,U+6888,U+688d-6890,U+6894,U+6896,U+6898-689c,U+689f-68a3,U+68a5-68a7,U+68a9-68ab,U+68ad-68af,U+68b2-68b5,U+68b9-68bc,U+68c3,U+68c5-68c6,U+68c8-68ca,U+68cc-68cd,U+68cf-68d1,U+68d3-68d9,U+68dc-68dd,U+68e0-68e1,U+68e3-68e5,U+68e7-68e8,U+68ea-68ed,U+68ef-68f1,U+68f5-68f7,U+68f9,U+68fb-68fd,U+6900-6901,U+6903-6904,U+6906-690c,U+690f-6911,U+6913,U+6916-6917,U+6919-691b,U+6921-6923,U+6925-6926,U+6928,U+692a,U+6930-6931,U+6933-6936,U+6938-6939,U+693b,U+693d,U+6942,U+6945-6946,U+6949,U+694e,U+6954,U+6957,U+6959,U+695b-695e,U+6961-6966,U+6968-696c,U+696e-6974,U+6977-697b,U+697e-6981,U+6986,U+698d,U+6991-6992,U+6994-6996,U+6998,U+699c,U+69a0-69a1,U+69a5-69a8,U+69ab,U+69ad,U+69af-69b2,U+69b4,U+69b7-69b8,U+69ba-69bc,U+69be-69c1,U+69c3,U+69c5,U+69c7-69c8,U+69ca,U+69ce-69d1,U+69d3,U+69d6-69d7,U+69d9}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.36.woff2) format("woff2");unicode-range:U+667e-6680,U+6683-6684,U+6688,U+668b-668e,U+6690,U+6692,U+6698-669d,U+669f-66a0,U+66a2,U+66a4,U+66ad,U+66b1-66b3,U+66b5,U+66b8-66b9,U+66bb-66bc,U+66be-66c4,U+66c6,U+66c8-66c9,U+66cc,U+66ce-66cf,U+66d4,U+66da-66db,U+66dd,U+66df-66e0,U+66e6,U+66e8-66e9,U+66eb-66ec,U+66ee,U+66f5,U+66f7,U+66fa-66fc,U+6701,U+6705,U+6707,U+670c,U+670e-6710,U+6712-6716,U+6719,U+671c,U+671e,U+6720,U+6722,U+6725-6726,U+672e,U+6733,U+6735-6738,U+673e-673f,U+6741,U+6743,U+6745-6748,U+674c-674d,U+6753-6755,U+6759,U+675d-675e,U+6760,U+6762-6764,U+6766,U+676a,U+676c,U+676e,U+6770,U+6772-6774,U+6776-6777,U+677b-677c,U+6780-6781,U+6784-6785,U+6787,U+6789,U+678b-678c,U+678e-678f,U+6791-6793,U+6796,U+6798-6799,U+679b,U+67a1,U+67a4,U+67a6,U+67a9,U+67b0-67b5,U+67b7-67b9,U+67bb-67be,U+67c0-67c3,U+67c5-67c6,U+67c8-67c9,U+67ce,U+67d2,U+67d7-67d9,U+67db-67de,U+67e1-67e2,U+67e4,U+67e6-67e7,U+67e9,U+67ec,U+67ee-67f0,U+67f2,U+67f6-67f7,U+67f9-67fa,U+67fc,U+67fe,U+6801-6802,U+6805,U+6810,U+6814,U+6818-6819,U+681d,U+681f,U+6822,U+6827-6829,U+682b-682d,U+682f-6834,U+683b,U+683e-6840,U+6844-6846,U+6849-684a,U+684c-684e,U+6852-6854}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.37.woff2) format("woff2");unicode-range:U+64d2,U+64d4-64d5,U+64d7-64d8,U+64da,U+64e0-64e1,U+64e3-64e5,U+64e7,U+64e9-64ea,U+64ed,U+64ef-64f2,U+64f4-64f7,U+64fa-64fb,U+64fd-6501,U+6504-6505,U+6508-650a,U+650f,U+6513-6514,U+6516,U+6518-6519,U+651b-651f,U+6522,U+6524,U+6526,U+6529-652c,U+652e,U+6531-6532,U+6534-6538,U+653a,U+653c-653d,U+6543-6544,U+6547-6549,U+654d-654e,U+6550,U+6552,U+6554-6556,U+6558,U+655d-6560,U+6567,U+656b,U+6572,U+6578,U+657a,U+657d,U+6581-6585,U+6588,U+658a,U+658c,U+6592,U+6595,U+6598,U+659b,U+659d,U+659f-65a1,U+65a3-65a6,U+65ab,U+65ae,U+65b2-65b5,U+65b7-65b8,U+65be-65bf,U+65c1-65c4,U+65c6,U+65c8-65c9,U+65cc,U+65ce,U+65d0,U+65d2,U+65d4,U+65d6,U+65d8-65d9,U+65db,U+65df-65e1,U+65e3,U+65f0-65f2,U+65f4-65f5,U+65f9,U+65fb-65fc,U+65fe-6600,U+6603-6604,U+6608-660a,U+660d,U+6611-6612,U+6615-6616,U+661c-661e,U+6621-6624,U+6626,U+6629-662c,U+662e,U+6630-6631,U+6633-6637,U+6639-663b,U+663f-6641,U+6644-6646,U+6648-664a,U+664c,U+664e-664f,U+6651,U+6657-6665,U+6667-6668,U+666a-666d,U+6670,U+6673,U+6675,U+6677-6679,U+667b-667c}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.38.woff2) format("woff2");unicode-range:U+62cf,U+62d1,U+62d4-62d6,U+62da,U+62dc,U+62ea,U+62ee-62ef,U+62f1-62f2,U+62f4-62f5,U+62fc-62fd,U+62ff,U+6302-6304,U+6308-630d,U+6310,U+6313,U+6316,U+6318,U+631b,U+6327,U+6329-632a,U+632d,U+6332,U+6335-6336,U+6339-633c,U+633e,U+6341-6344,U+6346,U+634a-634e,U+6350,U+6352-6354,U+6358-6359,U+635b,U+6365-6366,U+6369,U+636b-636d,U+6371-6372,U+6374-6378,U+637a,U+637c-637d,U+637f-6380,U+6382,U+6384,U+6387,U+6389-638a,U+638e-6390,U+6394-6396,U+6399-639a,U+639e,U+63a0,U+63a3-63a4,U+63a6,U+63a9,U+63ab-63af,U+63b5,U+63bd-63be,U+63c0-63c1,U+63c4-63c6,U+63c8,U+63ce,U+63d1-63d6,U+63dc,U+63e0,U+63e3,U+63e5,U+63e9-63ed,U+63f2-63f3,U+63f5-63f9,U+6406,U+6409-640a,U+640f-6410,U+6412-6414,U+6416-6418,U+641e,U+6420,U+6422,U+6424-6426,U+6428-642a,U+642f-6430,U+6434-6436,U+643d,U+643f,U+644b,U+644e-644f,U+6451-6454,U+645a-645d,U+645f-6461,U+6463,U+6467,U+646d,U+6473-6474,U+6476,U+6478-6479,U+647b,U+647d,U+6485,U+6487-6488,U+648f-6491,U+6493,U+6495,U+6498-649b,U+649d-649f,U+64a1,U+64a3,U+64a6,U+64a8-64a9,U+64ac,U+64b3,U+64bb-64bf,U+64c2,U+64c4-64c5,U+64c7,U+64c9-64cc,U+64ce,U+64d0-64d1}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.39.woff2) format("woff2");unicode-range:U+6117,U+6119,U+611c,U+611e,U+6120-6122,U+6127-6128,U+612a-612c,U+6130-6131,U+6134-6137,U+6139-613a,U+613c-613f,U+6141-6142,U+6144-6147,U+6149-614a,U+614d,U+6153,U+6158-615a,U+615d-6160,U+6164-6165,U+616b-616c,U+616f,U+6171-6175,U+6177-6178,U+617b-6181,U+6183-6184,U+6187,U+618a-618b,U+618d,U+6192-6194,U+6196-619a,U+619c-619d,U+619f-61a0,U+61a5,U+61a8,U+61aa-61ae,U+61b8-61ba,U+61bc,U+61be,U+61c0-61c3,U+61c6,U+61c8,U+61ca-61cf,U+61d5,U+61dc-61df,U+61e1-61e3,U+61e5-61e9,U+61ec-61ed,U+61ef,U+61f4-61f7,U+61fa,U+61fc-6201,U+6203-6204,U+6207-620a,U+620d-620e,U+6213-6215,U+621b-621e,U+6220-6223,U+6227,U+6229-622b,U+622e,U+6230-6233,U+6236,U+6239,U+623d-623e,U+6241-6244,U+6246,U+6248,U+624c,U+624e,U+6250-6252,U+6254,U+6256,U+6258,U+625a-625c,U+625e,U+6260-6261,U+6263-6264,U+6268,U+626d,U+626f,U+6273,U+627a-627e,U+6282-6283,U+6285,U+6289,U+628d-6290,U+6292-6294,U+6296,U+6299,U+629b,U+62a6,U+62a8,U+62ac,U+62b3,U+62b6-62b7,U+62ba-62bb,U+62be-62bf,U+62c2,U+62c4,U+62c6-62c8,U+62ca,U+62ce}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.40.woff2) format("woff2");unicode-range:U+5f6c-5f6d,U+5f6f,U+5f72-5f75,U+5f78,U+5f7a,U+5f7d-5f7f,U+5f82-5f83,U+5f87-5f89,U+5f8d,U+5f8f,U+5f91,U+5f96,U+5f99,U+5f9c-5f9d,U+5fa0,U+5fa2,U+5fa4,U+5fa7-5fa8,U+5fab-5fad,U+5faf-5fb1,U+5fb5,U+5fb7-5fb8,U+5fbc-5fbd,U+5fc4,U+5fc7-5fc9,U+5fcb,U+5fd0-5fd4,U+5fdd-5fde,U+5fe1-5fe2,U+5fe4,U+5fe8-5fea,U+5fec-5ff3,U+5ff6,U+5ff8,U+5ffa-5ffd,U+5fff,U+6007,U+600a,U+600d-6010,U+6013-6015,U+6017-601b,U+601f,U+6021-6022,U+6024,U+6026,U+6029,U+602b,U+602d,U+6031,U+6033,U+6035,U+603a,U+6040-6043,U+6046-604a,U+604c-604d,U+6051,U+6054-6057,U+6059-605a,U+605d,U+605f-6064,U+6067,U+606a-606c,U+6070-6071,U+6077,U+607e-607f,U+6081-6086,U+6088-608e,U+6091-6093,U+6095-6098,U+609a-609b,U+609d-609e,U+60a2,U+60a4-60a5,U+60a7-60a8,U+60b0-60b1,U+60b3-60b5,U+60b7-60b8,U+60bb,U+60bd-60be,U+60c2,U+60c4,U+60c6-60cb,U+60ce-60cf,U+60d3-60d5,U+60d8-60d9,U+60db,U+60dd-60df,U+60e1-60e2,U+60e5,U+60ee,U+60f0-60f2,U+60f4-60f8,U+60fa-60fd,U+6100,U+6102-6103,U+6106-6108,U+610a,U+610c-610e,U+6110-6114,U+6116}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.41.woff2) format("woff2");unicode-range:U+5d9b,U+5d9d,U+5d9f-5da0,U+5da2,U+5da4,U+5da7,U+5dab-5dac,U+5dae,U+5db0,U+5db2,U+5db4,U+5db7-5db9,U+5dbc-5dbd,U+5dc3,U+5dc7,U+5dc9,U+5dcb-5dce,U+5dd0-5dd3,U+5dd6-5dd9,U+5ddb,U+5de0,U+5de2,U+5de4,U+5de9,U+5df2,U+5df5,U+5df8-5df9,U+5dfd,U+5dff-5e00,U+5e07,U+5e0b,U+5e0d,U+5e11-5e12,U+5e14-5e15,U+5e18-5e1b,U+5e1f-5e20,U+5e25,U+5e28,U+5e2e,U+5e32,U+5e35-5e37,U+5e3e,U+5e40,U+5e43-5e44,U+5e47,U+5e49,U+5e4b,U+5e4e,U+5e50-5e51,U+5e54,U+5e56-5e58,U+5e5b-5e5c,U+5e5e-5e5f,U+5e62,U+5e64,U+5e68,U+5e6a-5e6e,U+5e70,U+5e75-5e77,U+5e7a,U+5e7f-5e80,U+5e87,U+5e8b,U+5e8e,U+5e96,U+5e99-5e9a,U+5ea0,U+5ea2,U+5ea4-5ea5,U+5ea8,U+5eaa,U+5eac,U+5eb1,U+5eb3,U+5eb8-5eb9,U+5ebd-5ebf,U+5ec1-5ec2,U+5ec6,U+5ec8,U+5ecb-5ecc,U+5ece-5ed6,U+5ed9-5ee2,U+5ee5,U+5ee8-5ee9,U+5eeb-5eec,U+5ef0-5ef1,U+5ef3-5ef4,U+5ef8-5ef9,U+5efc-5f00,U+5f02-5f03,U+5f06-5f09,U+5f0b-5f0e,U+5f11,U+5f16-5f17,U+5f19,U+5f1b-5f1e,U+5f21-5f24,U+5f27-5f29,U+5f2b-5f30,U+5f34,U+5f36,U+5f38,U+5f3a-5f3d,U+5f3f-5f41,U+5f44-5f45,U+5f47-5f48,U+5f4a,U+5f4c-5f4e,U+5f50-5f51,U+5f54,U+5f56-5f58,U+5f5b-5f5d,U+5f60,U+5f63-5f65,U+5f67,U+5f6a}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.42.woff2) format("woff2");unicode-range:U+5bbc,U+5bc0-5bc1,U+5bc3,U+5bc7,U+5bc9,U+5bcd-5bd0,U+5bd3-5bd4,U+5bd6-5bda,U+5bde,U+5be0-5be2,U+5be4-5be6,U+5be8,U+5beb-5bec,U+5bef-5bf1,U+5bf3-5bf6,U+5bfd,U+5c03,U+5c05,U+5c07-5c09,U+5c0c-5c0d,U+5c12-5c14,U+5c17,U+5c19,U+5c1e-5c20,U+5c22-5c24,U+5c26,U+5c28-5c2e,U+5c30,U+5c32,U+5c35-5c36,U+5c38-5c39,U+5c46,U+5c4d-5c50,U+5c53,U+5c59-5c5c,U+5c5f-5c63,U+5c67-5c69,U+5c6c-5c70,U+5c74-5c76,U+5c79-5c7d,U+5c87-5c88,U+5c8a,U+5c8c,U+5c8f,U+5c91-5c92,U+5c94,U+5c9d,U+5c9f-5ca0,U+5ca2-5ca3,U+5ca6-5ca8,U+5caa-5cab,U+5cad,U+5cb1-5cb2,U+5cb4-5cb7,U+5cba-5cbc,U+5cbe,U+5cc5,U+5cc7,U+5cc9,U+5ccb,U+5cd0,U+5cd2,U+5cd7,U+5cd9,U+5cdd,U+5ce6,U+5ce8-5cea,U+5ced-5cee,U+5cf1-5cf2,U+5cf4-5cf5,U+5cfa-5cfb,U+5cfd,U+5d01,U+5d06,U+5d0b,U+5d0d,U+5d10-5d12,U+5d14-5d15,U+5d17-5d1b,U+5d1d,U+5d1f-5d20,U+5d22-5d24,U+5d26-5d27,U+5d2b,U+5d31,U+5d34,U+5d39,U+5d3d,U+5d3f,U+5d42-5d43,U+5d46-5d48,U+5d4a-5d4b,U+5d4e,U+5d51-5d53,U+5d55,U+5d59,U+5d5c,U+5d5f-5d62,U+5d64,U+5d69-5d6a,U+5d6c-5d6d,U+5d6f-5d70,U+5d73,U+5d76,U+5d79-5d7a,U+5d7e-5d7f,U+5d81-5d84,U+5d87-5d88,U+5d8a,U+5d8c,U+5d90,U+5d92-5d95,U+5d97,U+5d99}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.43.woff2) format("woff2");unicode-range:U+598b-598e,U+5992,U+5995,U+5997,U+599b,U+599d,U+599f,U+59a3-59a4,U+59a7,U+59ad-59b0,U+59b2-59b3,U+59b7,U+59ba,U+59bc,U+59be,U+59c1,U+59c3-59c4,U+59c6,U+59c8,U+59ca,U+59cd,U+59d2,U+59d9-59da,U+59dd-59df,U+59e3-59e5,U+59e7-59e8,U+59ec,U+59ee-59ef,U+59f1-59f2,U+59f4,U+59f6-59f8,U+5a00,U+5a03-5a04,U+5a09,U+5a0c-5a0e,U+5a11-5a13,U+5a17,U+5a1a-5a1c,U+5a1e-5a1f,U+5a23-5a25,U+5a27-5a28,U+5a2a,U+5a2d,U+5a30,U+5a35-5a36,U+5a40-5a41,U+5a44-5a45,U+5a47-5a49,U+5a4c,U+5a50,U+5a55,U+5a5e,U+5a62-5a63,U+5a65,U+5a67,U+5a6a,U+5a6c-5a6d,U+5a77,U+5a7a-5a7b,U+5a7e,U+5a84,U+5a8b,U+5a90,U+5a93,U+5a96,U+5a99,U+5a9c,U+5a9e-5aa0,U+5aa2,U+5aa7,U+5aac,U+5ab1-5ab3,U+5ab5,U+5ab8,U+5aba-5abf,U+5ac2,U+5ac4,U+5ac6,U+5ac8,U+5acb,U+5acf-5ad0,U+5ad6-5ad7,U+5ada,U+5adc,U+5ae0-5ae1,U+5ae3,U+5ae5-5ae6,U+5ae9-5aea,U+5aee,U+5af0,U+5af5-5af6,U+5afa-5afb,U+5afd,U+5b00-5b01,U+5b08,U+5b0b,U+5b16-5b17,U+5b19,U+5b1b,U+5b1d,U+5b21,U+5b25,U+5b2a,U+5b2c-5b2d,U+5b30,U+5b32,U+5b34,U+5b36,U+5b38,U+5b3e,U+5b40-5b41,U+5b43,U+5b45,U+5b4b-5b4c,U+5b51-5b52,U+5b56,U+5b5a-5b5c,U+5b5e-5b5f,U+5b65,U+5b68-5b69,U+5b6e-5b71,U+5b73,U+5b75-5b76,U+5b7a,U+5b7c-5b84,U+5b86,U+5b8a-5b8b,U+5b8d-5b8e,U+5b90-5b91,U+5b93-5b94,U+5b96,U+5ba5-5ba6,U+5ba8-5ba9,U+5bac-5bad,U+5baf,U+5bb1-5bb2,U+5bb7-5bb8,U+5bba}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.44.woff2) format("woff2");unicode-range:U+57b3,U+57b8,U+57bd,U+57c0,U+57c3,U+57c6-57c8,U+57cc,U+57cf,U+57d2-57d7,U+57dc-57de,U+57e0-57e1,U+57e3-57e4,U+57e6-57e7,U+57e9,U+57ed,U+57f0,U+57f4-57f6,U+57f8,U+57fb,U+57fd-57ff,U+5803-5804,U+5808-580d,U+5819,U+581b,U+581d-5821,U+5826-5827,U+582d,U+582f-5830,U+5832,U+5835,U+5839,U+583d,U+583f-5840,U+5849,U+584b-584d,U+584f-5852,U+5855,U+5858-5859,U+585f,U+5861-5862,U+5864,U+5867-5868,U+586d,U+5870,U+5872,U+5878-5879,U+587c,U+587f-5881,U+5885,U+5887-588d,U+588f-5890,U+5894,U+5896,U+5898,U+589d-589e,U+58a0-58a2,U+58a6,U+58a9-58ab,U+58ae,U+58b1-58b3,U+58b8-58bc,U+58be,U+58c2-58c5,U+58c8,U+58cd-58ce,U+58d0-58da,U+58dc-58e2,U+58e4-58e5,U+58e9,U+58ec,U+58ef,U+58f3-58f4,U+58f7,U+58f9,U+58fb-58fd,U+5902,U+5905-5906,U+590a-590d,U+5910,U+5912-5914,U+5918-5919,U+591b,U+591d,U+591f,U+5921,U+5923-5925,U+5928,U+592c-592d,U+592f-5930,U+5932-5933,U+5935-5936,U+5938-5939,U+593d-593f,U+5943,U+5946,U+594e,U+5950,U+5952-5953,U+5955,U+5957-595b,U+595d-5961,U+5963,U+5967,U+5969,U+596b-596d,U+596f,U+5972,U+5975-5976,U+5978-5979,U+597b-597c,U+5981}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.45.woff2) format("woff2");unicode-range:U+5616-5617,U+5619,U+561b,U+5620,U+5628,U+562c,U+562f-5639,U+563b-563d,U+563f-5641,U+5643-5644,U+5646-5647,U+5649,U+564b,U+564d-5650,U+5653-5654,U+565e,U+5660-5664,U+5666,U+5669-566d,U+566f,U+5671-5672,U+5675-5676,U+5678,U+567a,U+5680,U+5684-5688,U+568a-568c,U+568f,U+5694-5695,U+5699-569a,U+569d-56a0,U+56a5-56a9,U+56ab-56ae,U+56b1-56b4,U+56b6-56b7,U+56bc,U+56be,U+56c0,U+56c2-56c3,U+56c5,U+56c8-56d1,U+56d3,U+56d7-56d9,U+56dc-56dd,U+56df,U+56e1,U+56e4-56e8,U+56eb,U+56ed-56ee,U+56f1,U+56f6-56f7,U+56f9,U+56ff-5704,U+5707-570a,U+570c-570d,U+5711,U+5713,U+5715-5716,U+5718,U+571a-571d,U+5720-5726,U+5729-572a,U+572c,U+572e-572f,U+5733-5734,U+5737-5738,U+573b,U+573d-573f,U+5745-5746,U+574c-574f,U+5751-5752,U+5759,U+575f,U+5761-5762,U+5764-5765,U+5767-5769,U+576b,U+576d-5771,U+5773-5775,U+5777,U+5779-577c,U+577e-577f,U+5781,U+5783,U+5788-5789,U+578c,U+5793-5795,U+5797,U+5799-579a,U+579c-57a1,U+57a4,U+57a7-57aa,U+57ac,U+57ae,U+57b0}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.46.woff2) format("woff2");unicode-range:U+543f-5440,U+5443-5444,U+5447,U+544c-544f,U+5455,U+545e,U+5462,U+5464,U+5466-5467,U+5469,U+546b-546e,U+5470-5471,U+5474-5477,U+547b,U+547f-5481,U+5483-5486,U+5488-548b,U+548d-5492,U+5495-5496,U+549c,U+549f-54a2,U+54a4,U+54a6-54af,U+54b1,U+54b7-54bc,U+54be-54bf,U+54c2-54c4,U+54c6-54c8,U+54ca,U+54cd-54ce,U+54d8,U+54e0,U+54e2,U+54e5-54e6,U+54e8-54ea,U+54ec-54ef,U+54f1,U+54f3,U+54f6,U+54fc-5501,U+5505,U+5508-5509,U+550c-550f,U+5514-5516,U+5527,U+552a-552b,U+552e,U+5532-5533,U+5535-5536,U+5538-5539,U+553b-553d,U+5540-5541,U+5544-5545,U+5547,U+5549-554a,U+554c-554d,U+5550-5551,U+5556-5558,U+555a-555e,U+5560-5561,U+5563-5564,U+5566,U+557b-5583,U+5586-5588,U+558a,U+558e-558f,U+5591-5594,U+5597,U+5599,U+559e-559f,U+55a3-55a4,U+55a8-55a9,U+55ac-55ae,U+55b2,U+55bf,U+55c1,U+55c3-55c4,U+55c6-55c7,U+55c9,U+55cb-55cc,U+55ce,U+55d1-55d4,U+55d7-55d8,U+55da-55db,U+55dd-55df,U+55e2,U+55e4,U+55e9,U+55ec,U+55ee,U+55f1,U+55f6-55f9,U+55fd-55ff,U+5605,U+5607-5608,U+560a,U+560d-5612}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.47.woff2) format("woff2");unicode-range:U+528d,U+5291-5298,U+529a,U+529c,U+52a4-52a7,U+52ab-52ad,U+52af-52b0,U+52b5-52b8,U+52ba-52be,U+52c0-52c1,U+52c4-52c6,U+52c8,U+52ca,U+52cc-52cd,U+52cf-52d2,U+52d4,U+52d6-52d7,U+52db-52dc,U+52de,U+52e0-52e1,U+52e3,U+52e5-52e6,U+52e8-52ea,U+52ec,U+52f0-52f1,U+52f3-52fb,U+5300-5301,U+5303,U+5306-5308,U+530a-530d,U+530f-5311,U+5313,U+5315,U+5318-531f,U+5321,U+5323-5325,U+5327-532d,U+532f-5333,U+5335,U+5338,U+533c-533e,U+5340,U+5342,U+5345-5346,U+5349,U+534b-534c,U+5359,U+535b,U+535e,U+5361,U+5363-5367,U+5369,U+536c-536e,U+5372,U+5377,U+5379-537b,U+537d-537f,U+5382-5383,U+5387-5389,U+538e,U+5393-5394,U+5396,U+5398-5399,U+539d,U+53a0-53a1,U+53a4-53a6,U+53a9-53ab,U+53ad-53b0,U+53b2,U+53b4-53b8,U+53ba,U+53bd,U+53c0-53c1,U+53c3-53c5,U+53cf,U+53d2-53d3,U+53d5,U+53da-53db,U+53dd-53e0,U+53e2,U+53e6-53e8,U+53ed-53ee,U+53f4-53f5,U+53fa,U+5401-5403,U+540b,U+540f,U+5412-5413,U+541a,U+541d-541e,U+5421,U+5424,U+5427-542a,U+542c-542f,U+5431,U+5433-5436,U+543c-543d}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.48.woff2) format("woff2");unicode-range:U+50dd-50df,U+50e1-50e6,U+50e8-50e9,U+50ed-50f6,U+50f9-50fb,U+50fe,U+5101-5103,U+5106-5109,U+510b-510e,U+5110,U+5112,U+5114-511e,U+5121,U+5123,U+5127-5128,U+512c-512d,U+512f,U+5131,U+5133-5135,U+5137-513c,U+513f-5142,U+5147,U+514a,U+514c,U+514f,U+5152-5155,U+5157-5158,U+515f-5160,U+5162,U+5164,U+5166-5167,U+5169-516a,U+516e,U+5173-5174,U+5179,U+517b,U+517e,U+5180,U+5182-5184,U+5189,U+518b-518c,U+518e-5191,U+5193,U+5195-5196,U+5198,U+519d,U+51a1-51a4,U+51a6,U+51a9-51ab,U+51ad,U+51b0-51b3,U+51b5,U+51b8,U+51ba,U+51bc-51bf,U+51c2-51c3,U+51c5,U+51c8-51cb,U+51cf,U+51d1-51d6,U+51d8,U+51de-51e0,U+51e2,U+51e5,U+51e7,U+51e9,U+51ec-51ee,U+51f2-51f5,U+51f7,U+51fe,U+5201-5202,U+5204-5205,U+520b,U+520e,U+5212-5216,U+5218,U+5222,U+5226-5228,U+522a-522b,U+522e,U+5231-5233,U+5235,U+523c,U+5244-5245,U+5249,U+524b-524c,U+524f,U+5254-5255,U+5257-5258,U+525a,U+525c-5261,U+5266,U+5269,U+526c,U+526e,U+5271,U+5273-5274,U+5277-5279,U+527d,U+527f-5280,U+5282-5285,U+5288-528a,U+528c}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.49.woff2) format("woff2");unicode-range:U+4f57-4f58,U+4f5a-4f5b,U+4f5d-4f5f,U+4f63-4f64,U+4f69-4f6a,U+4f6c,U+4f6e-4f71,U+4f76-4f7e,U+4f81-4f85,U+4f88-4f8a,U+4f8c,U+4f8e-4f90,U+4f92-4f94,U+4f96-4f9a,U+4f9e-4fa0,U+4fab,U+4fad,U+4faf,U+4fb2,U+4fb7,U+4fb9,U+4fbb-4fbe,U+4fc0-4fc1,U+4fc4-4fc6,U+4fc8-4fc9,U+4fcb-4fd4,U+4fd8,U+4fda-4fdc,U+4fdf-4fe0,U+4fe2,U+4fe4-4fe6,U+4fef-4ff2,U+4ff6,U+4ffc-5002,U+5004-5007,U+500a,U+500c,U+500e-5011,U+5013-5014,U+5016-5018,U+501a-501e,U+5021-5023,U+5025-502a,U+502c-502e,U+5030,U+5032-5033,U+5035,U+5039,U+503b,U+5040-5043,U+5045-5048,U+504a,U+504c,U+504e,U+5050-5053,U+5055-5057,U+5059-505a,U+505f-5060,U+5062-5063,U+5066-5067,U+506a,U+506c-506d,U+5070-5072,U+5077-5078,U+5080-5081,U+5083-5086,U+5088,U+508a,U+508e-5090,U+5092-5096,U+509a-509c,U+509e-50a3,U+50aa,U+50ad,U+50af-50b4,U+50b9-50bb,U+50bd,U+50c0,U+50c2-50c4,U+50c7,U+50c9-50ca,U+50cc,U+50ce,U+50d0-50d1,U+50d3-50d4,U+50d6,U+50d8-50d9,U+50dc}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.50.woff2) format("woff2");unicode-range:U+4093,U+4103,U+4105,U+4148,U+414f,U+4163,U+41b4,U+41bf,U+41e6,U+41ee,U+41f3,U+4207,U+420e,U+4264,U+4293,U+42c6,U+42d6,U+42dd,U+4302,U+432b,U+4343,U+43ee,U+43f0,U+4408,U+440c,U+4417,U+441c,U+4422,U+4453,U+445b,U+4476,U+447a,U+4491,U+44b3,U+44be,U+44d4,U+4508,U+450d,U+4525,U+4543,U+457a,U+459d,U+45b8,U+45be,U+45e5,U+45ea,U+460f-4610,U+4641,U+4665,U+46a1,U+46ae-46af,U+470c,U+471f,U+4764,U+47e6,U+47fd,U+4816,U+481e,U+4844,U+484e,U+48b5,U+49b0,U+49e7,U+49fa,U+4a04,U+4a29,U+4abc,U+4b38,U+4b3b,U+4b7e,U+4bc2,U+4bca,U+4bd2,U+4be8,U+4c17,U+4c20,U+4c38,U+4cc4,U+4cd1,U+4ce1,U+4d07,U+4d77,U+4e02,U+4e04-4e05,U+4e0c,U+4e0f-4e12,U+4e15,U+4e17,U+4e19,U+4e1e-4e1f,U+4e23-4e24,U+4e28-4e2c,U+4e2e-4e31,U+4e35-4e37,U+4e3f-4e42,U+4e44,U+4e47-4e48,U+4e4d-4e4e,U+4e51,U+4e55-4e56,U+4e58,U+4e5a-4e5c,U+4e62-4e63,U+4e68-4e69,U+4e74-4e75,U+4e79,U+4e7f,U+4e82,U+4e85,U+4e8a,U+4e8d-4e8e,U+4e96-4e99,U+4e9d-4ea0,U+4ea2,U+4ea5-4ea6,U+4ea8,U+4eaf-4eb0,U+4eb3,U+4eb6,U+4eb9,U+4ebb-4ebc,U+4ec2-4ec4,U+4ec6-4ec8,U+4ecd,U+4ed0,U+4ed7,U+4eda-4edb,U+4edd-4ee2,U+4ee8,U+4eeb,U+4eed,U+4eef,U+4ef1,U+4ef3,U+4ef5,U+4ef7,U+4efc-4f00,U+4f02-4f03,U+4f08-4f09,U+4f0b-4f0d,U+4f12,U+4f15-4f17,U+4f19,U+4f1c,U+4f2b,U+4f2e,U+4f30-4f31,U+4f33,U+4f35-4f37,U+4f39,U+4f3b,U+4f3e,U+4f40,U+4f42-4f43,U+4f48-4f49,U+4f4b-4f4c,U+4f52,U+4f54,U+4f56}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.51.woff2) format("woff2");unicode-range:U+3395-339b,U+339e-33a0,U+33a2-33ff,U+3402,U+3405-3406,U+3427,U+342c,U+342e,U+3468,U+346a,U+3488,U+3492,U+34b5,U+34bc,U+34c1,U+34c7,U+34db,U+351f,U+353e,U+355d-355e,U+3563,U+356e,U+35a6,U+35a8,U+35c5,U+35da,U+35de,U+35f4,U+3605,U+3614,U+364a,U+3691,U+3696,U+3699,U+36cf,U+3761-3762,U+376b-376c,U+3775,U+378d,U+37c1,U+37e2,U+37e8,U+37f4,U+37fd,U+3800,U+382f,U+3836,U+3840,U+385c,U+3861,U+38a1,U+38ad,U+38fa,U+3917,U+391a,U+396f,U+39a4,U+39b8,U+3a5c,U+3a6e,U+3a73,U+3a85,U+3ac4,U+3acb,U+3ad6-3ad7,U+3aea,U+3af3,U+3b0e,U+3b1a,U+3b1c,U+3b22,U+3b35,U+3b6d,U+3b77,U+3b87-3b88,U+3b8d,U+3ba4,U+3bb6,U+3bc3,U+3bcd,U+3bf0,U+3bf3,U+3c0f,U+3c26,U+3cc3,U+3cd2,U+3d11,U+3d1e,U+3d31,U+3d4e,U+3d64,U+3d9a,U+3dc0,U+3dcc,U+3dd4,U+3e05,U+3e3f-3e40,U+3e60,U+3e66,U+3e68,U+3e83,U+3e8a,U+3e94,U+3eda,U+3f57,U+3f72,U+3f75,U+3f77,U+3fae,U+3fb1,U+3fc9,U+3fd7,U+3fdc,U+4039,U+4058}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.52.woff2) format("woff2");unicode-range:U+32b5-332b,U+332d-3394}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.53.woff2) format("woff2");unicode-range:U+31c8-31e3,U+31f0-321e,U+3220-3230,U+3232-32b4}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.54.woff2) format("woff2");unicode-range:U+3028-303f,U+3094-3096,U+309f-30a0,U+30ee,U+30f7-30fa,U+30ff,U+3105-312f,U+3131-3163,U+3165-318e,U+3190-31bb,U+31c0-31c7}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.55.woff2) format("woff2");unicode-range:U+2f14-2fd5,U+2ff0-2ffb,U+3004,U+3013,U+3016-301b,U+301e,U+3020-3027}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.56.woff2) format("woff2");unicode-range:U+25e4-25e6,U+2601-2603,U+2609,U+260e-260f,U+2616-2617,U+261c-261f,U+262f,U+2641,U+2660,U+2662-2664,U+2666-2668,U+266d-266e,U+2672-267d,U+26bd-26be,U+2702,U+271a,U+273d,U+2740,U+2756,U+2776-2793,U+27a1,U+2934-2935,U+29bf,U+29fa-29fb,U+2b05-2b07,U+2b1a,U+2b95,U+2e3a-2e3b,U+2e80-2e99,U+2e9b-2ef3,U+2f00-2f13}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.57.woff2) format("woff2");unicode-range:U+24d1-24ff,U+2503-2513,U+2515-2516,U+2518-251b,U+251d-2522,U+2524-259f,U+25a2-25ab,U+25b1,U+25b7,U+25c0-25c1,U+25c9-25ca,U+25cc,U+25d0-25d3,U+25e2-25e3}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.58.woff2) format("woff2");unicode-range:U+2105,U+2109-210a,U+210f,U+2116,U+2121,U+2126-2127,U+212b,U+212e,U+2135,U+213b,U+2194-2199,U+21b8-21b9,U+21c4-21c6,U+21cb-21cc,U+21d0,U+21e6-21e9,U+21f5,U+2202-2203,U+2205-2206,U+2208-220b,U+220f,U+2211,U+2213,U+2215,U+221a,U+221d,U+2220,U+2223,U+2225-2226,U+2228,U+222a-222e,U+2234-2237,U+223d,U+2243,U+2245,U+2248,U+224c,U+2260,U+2262,U+2264-2265,U+226e-226f,U+2272-2273,U+2276-2277,U+2283-2287,U+228a-228b,U+2295-2299,U+22a0,U+22a5,U+22bf,U+22da-22db,U+22ef,U+2305-2307,U+2318,U+2329-232a,U+23b0-23b1,U+23be-23cc,U+23ce,U+23da-23db,U+2423,U+2469-24d0}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.59.woff2) format("woff2");unicode-range:U+a1-a4,U+a6-a7,U+aa,U+ac-ad,U+b5-b6,U+b8-ba,U+bc-c8,U+ca-cc,U+ce-d5,U+d9-db,U+dd-df,U+e6,U+ee,U+f0,U+f5,U+f7,U+f9,U+fb,U+fe-102,U+110-113,U+11a-11b,U+128-12b,U+143-144,U+147-148,U+14c,U+14e-14f,U+152-153,U+168-16d,U+192,U+1a0-1a1,U+1af,U+1cd-1dc,U+1f8-1f9,U+251,U+261,U+2bb,U+2c7,U+2c9,U+2ea-2eb,U+304,U+307,U+30c,U+1e3e-1e3f,U+1ea0-1ebe,U+1ec0-1ec6,U+1ec8-1ef9,U+2011-2012,U+2016,U+2018-201a,U+201e,U+2021,U+2030,U+2033,U+2035,U+2042,U+2047,U+2051,U+2074,U+20a9,U+20ab-20ac,U+20dd-20de,U+2100}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.60.woff2) format("woff2");unicode-range:U+2227,U+26a0,U+2713,U+301f,U+4ff8,U+5239,U+526a,U+54fa,U+5740,U+5937,U+5993,U+59fb,U+5a3c,U+5c41,U+6028,U+626e,U+646f,U+647a,U+64b0,U+64e2,U+65a7,U+66fe,U+6727,U+6955,U+6bef,U+6f23,U+724c,U+767c,U+7a83,U+7ac4,U+7b67,U+8000,U+8471,U+8513,U+8599,U+86db,U+8718,U+87f2,U+88f3,U+8ad2,U+8e2a,U+8fa3,U+95a5,U+9798,U+9910,U+9957,U+9bab,U+9c3b,U+9daf,U+ff95}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.61.woff2) format("woff2");unicode-range:U+a8,U+2032,U+2261,U+2282,U+3090,U+30f1,U+339c,U+535c,U+53d9,U+56a2,U+56c1,U+5806,U+589f,U+59d0,U+5a7f,U+60e0,U+639f,U+65af,U+68fa,U+69ae,U+6d1b,U+6ef2,U+71fb,U+725d,U+7262,U+75bc,U+7768,U+7940,U+79bf,U+7bed,U+7d68,U+7dfb,U+814b,U+8207,U+83e9,U+8494,U+8526,U+8568,U+85ea,U+86d9,U+87ba,U+8861,U+887f,U+8fe6,U+9059,U+9061,U+916a,U+976d,U+97ad,U+9ece}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.62.woff2) format("woff2");unicode-range:U+2d9,U+21d4,U+301d,U+515c,U+52fe,U+5420,U+5750,U+5766,U+5954,U+5b95,U+5f8a,U+5f98,U+620c,U+621f,U+641c,U+66d9,U+676d,U+6775,U+67f5,U+694a,U+6a02,U+6a3a,U+6a80,U+6c23,U+6c72,U+6dcb,U+6faa,U+707c,U+71c8,U+7422,U+74e2,U+7791,U+7825,U+7a14,U+7a1c,U+7c95,U+7fc1,U+82a5,U+82db,U+8304,U+853d,U+8cd3,U+8de8,U+8f0c,U+8f3f,U+9091,U+91c7,U+929a,U+98af,U+9913}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.63.woff2) format("woff2");unicode-range:U+2ca-2cb,U+2229,U+2468,U+2669,U+266f,U+273f,U+4ec0,U+4f60,U+4fb6,U+5347,U+540e,U+543b,U+5b0c,U+5d4c,U+5f14,U+5f9e,U+6155,U+62d0,U+6602,U+6666,U+66f3,U+67a2,U+67ca,U+69cc,U+6d29,U+6d9b,U+6e3e,U+6f81,U+7109,U+73c0,U+73c2,U+7425,U+7435-7436,U+7525,U+7554,U+785d,U+786b,U+7ae3,U+7b94,U+7d18,U+81bf,U+8511,U+8549,U+9075,U+9640,U+98e2,U+9e9f,U+ff96}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.64.woff2) format("woff2");unicode-range:U+2467,U+4ece,U+4ed4,U+4f91,U+4fae,U+534d,U+53c9,U+54b3,U+586b,U+5944,U+5b78,U+5df7,U+5f77,U+6101,U+6167-6168,U+61a4,U+62d9,U+698a,U+699b,U+6a59,U+6cc4,U+6e07,U+7099,U+75d2,U+77ad,U+7953,U+7984,U+7a92,U+7baa,U+7dbb,U+817f,U+82ad,U+85e9,U+868a,U+8caa,U+8f44,U+9017,U+907c,U+908a,U+92f3,U+936e,U+9435,U+978d,U+9838,U+9a28,U+9b41,U+9ba8,U+9c57,U+9eb9}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.65.woff2) format("woff2");unicode-range:U+b1,U+309b,U+4e5e,U+51f1,U+5506,U+55c5,U+58cc,U+59d1,U+5c51,U+5ef7,U+6284,U+62d7,U+6689,U+673d,U+6a2b,U+6a8e,U+6a9c,U+6d63,U+6dd1,U+70b8,U+7235,U+72db,U+72f8,U+7560,U+7c9b,U+7ce7,U+7e1e,U+80af,U+82eb,U+8463,U+8499,U+85dd,U+86ee,U+8a60,U+8a6e,U+8c79,U+8e87,U+8e8a,U+8f5f,U+9010,U+918d,U+9190,U+965b,U+97fb,U+9ab8,U+9bad,U+9d3b,U+9d5c,U+9dfa,U+9e93}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.66.woff2) format("woff2");unicode-range:U+2020,U+3003,U+3231,U+4e9b,U+4f3d,U+4f47,U+51b6,U+51dc,U+53e1,U+5bc5,U+602f,U+60bc,U+61c9,U+633d,U+637b,U+6492,U+65fa,U+660f,U+66f0,U+6703,U+681e,U+6876,U+6893,U+6912,U+698e,U+6c7d,U+714c,U+7169,U+71d5,U+725f,U+72d7,U+745b,U+74dc,U+75e2,U+7891,U+7897,U+7dcb,U+810a,U+8218,U+8339,U+840e,U+852d,U+8823,U+8a0a,U+9089,U+919c,U+971c,U+9ad9,U+ff4a,U+ff5a}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.67.woff2) format("woff2");unicode-range:U+2466,U+2600,U+4eab,U+4fe3,U+4ff5,U+51a5,U+51f0,U+536f,U+53d4,U+53f1,U+54a5,U+559d,U+55e3,U+58fa,U+5962,U+59ea,U+5c16,U+5cef,U+5d16,U+5f10,U+5fd6,U+6190,U+6216,U+634f,U+63bb,U+66d6,U+6756,U+6bc5,U+6e26,U+727d,U+731f,U+76f2,U+7729,U+7a7f,U+7aff,U+7c9f,U+818f,U+8236,U+82b9,U+8338,U+85aa,U+88b4,U+8b33,U+904d,U+93a7,U+96cc,U+96eb,U+9aed,U+9b8e,U+fa11}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.68.woff2) format("woff2");unicode-range:U+251c,U+2523,U+4e14,U+545f,U+54bd,U+553e,U+55dc,U+56da,U+589c,U+5b55,U+5bb5,U+5ce1,U+5df4,U+5eb6,U+5ec9,U+6191,U+62f7,U+6357,U+64a5,U+6591,U+65bc,U+6897,U+6e1a,U+7063,U+711a,U+721b,U+722c,U+75b9,U+75d5,U+75fa,U+7766,U+7aae,U+7b48,U+7b8b,U+7d21,U+7e55,U+7f75,U+842c,U+8910,U+8a63,U+8b39,U+8b5a,U+8cdc,U+8d74,U+907d,U+91e7,U+9306,U+96bc,U+98f4,U+9ac4}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.69.woff2) format("woff2");unicode-range:U+2003,U+2312,U+266c,U+4f86,U+51ea,U+5243,U+5256,U+541f,U+5841,U+59dc,U+5df3,U+601c,U+60e7,U+632b,U+638c,U+64ad,U+6881,U+697c,U+69cd,U+6c50,U+6d2a,U+6fc1,U+7027,U+7058,U+70f9,U+714e,U+7345,U+751a,U+760d,U+764c,U+77db,U+7d79,U+7e8f,U+80ce,U+814e,U+81fc,U+8247,U+8278,U+85a9,U+8a03,U+90ed,U+9784,U+9801,U+984e,U+99b3,U+9bc9,U+9bdb,U+9be8,U+9e78,U+ff6b}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.70.woff2) format("woff2");unicode-range:U+266b,U+3006,U+5176,U+5197,U+51a8,U+51c6,U+52f2,U+5614,U+5875,U+5a2f,U+5b54,U+5ce0,U+5dba,U+5deb,U+5e63,U+5f59,U+5fcc,U+6068,U+6367,U+68b6,U+6a0b,U+6b64,U+6e15,U+6eba,U+7272,U+72a0,U+7947,U+7985,U+79e6,U+79e9,U+7a3d,U+7a9f,U+7aaf,U+7b95,U+7f60,U+7f9e,U+7fe0,U+8098,U+80ba,U+8106,U+82d4,U+831c,U+87f9,U+8a1f,U+8acf,U+90c1,U+920d,U+9756,U+fe43,U+ff94}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.71.woff2) format("woff2");unicode-range:U+af,U+2465,U+2517,U+33a1,U+4f10,U+50c5,U+51b4,U+5384,U+5606,U+5bb0,U+5cac,U+5ee3,U+618e,U+61f2,U+62c9,U+66ab,U+66f9,U+6816,U+6960,U+6b3e,U+6f20,U+7078,U+72d0,U+73ed,U+7ad9,U+7b1b,U+7be4,U+7d62,U+7f51,U+80b4,U+80f4,U+8154,U+85fb,U+865c,U+8702,U+895f,U+8aed,U+8b90,U+8ced,U+8fbf,U+91d8,U+9418,U+9583,U+9591,U+9813,U+982c,U+9bd6,U+ff46,U+ff7f,U+ff88}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.72.woff2) format("woff2");unicode-range:U+4e91,U+508d,U+50e7,U+514e,U+51f6,U+5446,U+5504,U+584a,U+59a8,U+59d3,U+5a46,U+5ac9,U+6020,U+60a6,U+6148,U+621a,U+6234,U+64c1,U+6523,U+675c,U+67d1,U+6953,U+6ccc,U+6df5,U+6e13,U+6f06,U+723a,U+7325,U+74e6,U+758e,U+75ab,U+75d9,U+7a40,U+8096,U+82fa,U+8587,U+8594,U+8a6b,U+8ab9,U+8b17,U+8b83,U+937c,U+963b,U+9673,U+96db,U+9ce9,U+9f4b,U+ff67,U+ff82,U+ff93}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.73.woff2) format("woff2");unicode-range:U+221e,U+2514,U+51f9,U+5270,U+5449,U+5824,U+59a5,U+5a29,U+5d07,U+5e16,U+60e3,U+614c,U+6276,U+643e,U+64ab,U+6562,U+6681,U+670b,U+6734,U+67af,U+6a3d,U+6b05,U+6dc0,U+6e4a,U+7259,U+732a,U+7409,U+78a7,U+7a6b,U+8015,U+809b,U+817a,U+830e,U+837b,U+85ab,U+8a23,U+8a93,U+8b00,U+8b19,U+8b21,U+8cbf,U+8fb0,U+901d,U+91b8,U+9320,U+932c,U+9688,U+96f6,U+9df2,U+ff6a}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.74.woff2) format("woff2");unicode-range:U+2002,U+2025,U+4f8d,U+51e1,U+51f8,U+5507,U+5598,U+58f1,U+5983,U+59ac,U+5c3c,U+5de7,U+5e7d,U+5eca,U+5f61,U+606d,U+60f9,U+636e,U+64ec,U+67da,U+67ff,U+6813,U+68f2,U+693f,U+6b6a,U+6bbb,U+6ef4,U+7092,U+717d,U+7261,U+73c8,U+7432,U+7483,U+76fe,U+7709,U+78d0,U+81a3,U+81b3,U+82af,U+8305,U+8309,U+8870,U+88fe,U+8cd1,U+8d66,U+906e,U+971e,U+9812,U+ff79,U+ff90}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.75.woff2) format("woff2");unicode-range:U+2464,U+2501,U+2640,U+2642,U+339d,U+4f0e,U+5091,U+50b5,U+5132,U+51cc,U+558b,U+55aa,U+585e,U+5bee,U+5dfe,U+60b6,U+62b9,U+6349,U+6566,U+6590,U+6842,U+689d,U+6a58,U+6c70,U+6ff1,U+7815,U+7881,U+7aaa,U+7bc7,U+7def,U+7fa8,U+8017,U+8036,U+8061,U+821f,U+8429,U+8ce0,U+8e74,U+9019,U+90ca,U+9162,U+932f,U+93ae,U+9644,U+990c,U+9cf3,U+ff56,U+ff6e,U+ff7e,U+ff85}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.76.woff2) format("woff2");unicode-range:U+2266-2267,U+4f2f,U+5208,U+5451,U+546a,U+5589,U+576a,U+5815,U+5a9a,U+5b9b,U+5c3a,U+5efb,U+5faa,U+6109,U+6643,U+6652,U+695a,U+69fd,U+6b86,U+6bb4,U+6daf,U+7089,U+70cf,U+7a00,U+7a4f,U+7b39,U+7d33,U+80e1,U+828b,U+82a6,U+86cd,U+8c8c,U+8cca,U+8df3,U+9077,U+9175,U+91dc,U+925b,U+9262,U+9271,U+92ed,U+9855,U+9905,U+9d28,U+ff3f,U+ff58,U+ff68,U+ff6d,U+ff9c}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.77.woff2) format("woff2");unicode-range:U+2207,U+25ef,U+309c,U+4e4f,U+5146,U+51dd,U+5351,U+540a,U+5629,U+5eb5,U+5f04,U+5f13,U+60dc,U+6212,U+63b4,U+642c,U+6627,U+66a6,U+66c7,U+66fd,U+674e,U+6b96,U+6c4e,U+6df3,U+6e67,U+6f84,U+72fc,U+733f,U+7c97,U+7db1,U+7e4d,U+816b,U+82d1,U+84cb,U+854e,U+8607,U+86c7,U+871c,U+8776,U+8a89,U+8fc4,U+91a4,U+9285,U+9685,U+9903,U+9b31,U+9f13,U+ff42,U+ff74,U+ff91}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.78.woff2) format("woff2");unicode-range:U+4e32,U+51db,U+53a8,U+53ea,U+5609,U+5674,U+5a92,U+5e7e,U+6115,U+611a,U+62cc,U+62ed,U+63c9,U+64b9,U+64e6,U+65cb,U+6606,U+6731,U+683d,U+6afb,U+7460,U+771e,U+78ef,U+7b26,U+7b51,U+7cde,U+7d10,U+7d2f,U+7d46,U+80de,U+819c,U+84b2,U+85cd,U+865a,U+8ecc,U+9022,U+90b8,U+9192,U+9675,U+96b7,U+99ff,U+ff44,U+ff55,U+ff6c,U+ff73,U+ff75,U+ff86,U+ff8d,U+ff92,U+ffe3}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.79.woff2) format("woff2");unicode-range:U+25b3,U+30f5,U+4eae,U+4f46,U+4f51,U+5203,U+52ff,U+55a7,U+564c,U+565b,U+57f9,U+5805,U+5b64,U+5e06,U+5f70,U+5f90,U+60e8,U+6182,U+62f3,U+62fe,U+63aa,U+64a4,U+65d7,U+673a,U+6851,U+68cb,U+68df,U+6d1e,U+6e58,U+6e9d,U+77b3,U+7832,U+7c3f,U+7db4,U+7f70,U+80aa,U+80c6,U+8105,U+819d,U+8276,U+8679,U+8986,U+8c9d,U+8fc5,U+916c,U+9665,U+9699,U+96c0,U+9a19,U+ff8b}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.80.woff2) format("woff2");unicode-range:U+2463,U+25a1,U+4ef0,U+5076,U+5098,U+51fd,U+5302,U+5448,U+54c9,U+570b,U+583a,U+5893,U+58a8,U+58ee,U+5949,U+5bdb,U+5f26,U+5f81,U+6052,U+6170,U+61c7,U+631f,U+635c,U+664b,U+69fb,U+6f01,U+7070,U+722a,U+745e,U+755c,U+76c6,U+78c1,U+79e4,U+7bb8,U+7d0b,U+81a8,U+82d7,U+8b5c,U+8f14,U+8fb1,U+8fbb,U+9283,U+9298,U+9a30,U+ff03,U+ff50,U+ff59,U+ff7b,U+ff8e-ff8f}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.81.woff2) format("woff2");unicode-range:U+2010,U+2502,U+25b6,U+4f3a,U+514b,U+5265,U+52c3,U+5339,U+53ec,U+54c0,U+55b0,U+5854,U+5b8f,U+5cb3,U+5e84,U+60da,U+6247,U+6249,U+628a,U+62cd,U+65ac,U+6838,U+690e,U+6cf0,U+6f02,U+6f2c,U+6f70,U+708a,U+7434,U+75be,U+77ef,U+7c60,U+7c98,U+7d1b,U+7e2b,U+80a5,U+81e3,U+820c,U+8210,U+8475,U+862d,U+8650,U+8997,U+906d,U+91c8,U+9700,U+9727,U+9df9,U+ff3a,U+ff9a}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.82.woff2) format("woff2");unicode-range:U+2103,U+5049,U+52b1,U+5320,U+5553,U+572d,U+58c7,U+5b5d,U+5bc2,U+5de3,U+5e61,U+5f80,U+61a9,U+67d0,U+67f4,U+6c88,U+6ca1,U+6ce5,U+6d78,U+6e9c,U+6f54,U+731b,U+73b2,U+74a7,U+74f6,U+75e9,U+7b20,U+7c8b,U+7f72,U+809d,U+8108,U+82b3,U+82bd,U+84b8,U+84c4,U+88c2,U+8ae6,U+8ef8,U+902e,U+9065,U+9326,U+935b,U+938c,U+9676,U+9694,U+96f7,U+9ed9,U+ff48,U+ff4c,U+ff81}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.83.woff2) format("woff2");unicode-range:U+2500,U+3008-3009,U+4ead,U+4f0f,U+4fca,U+53eb,U+543e,U+57a2,U+5cf0,U+5e8f,U+5fe0,U+61b2,U+62d8,U+6442,U+64b2,U+6589,U+659c,U+67f1,U+68c4,U+6cb8,U+6d12,U+6de1,U+6fe1,U+70c8,U+723d,U+73e0,U+7656,U+773a,U+7948,U+7b87,U+7c92,U+7d3a,U+7e1b,U+7e4a,U+819a,U+8358,U+83c5,U+84bc,U+864e,U+8912,U+8c9e,U+8d05,U+92fc,U+9396,U+98fd,U+99d2,U+ff64,U+ff7a,U+ff83}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.84.woff2) format("woff2");unicode-range:U+3014-3015,U+4e3c,U+5036,U+5075,U+533f,U+53e9,U+5531,U+5642,U+5984,U+59e6,U+5a01,U+5b6b,U+5c0b,U+5f25,U+6069,U+60a0,U+614e,U+62b5,U+62d2-62d3,U+6597,U+660c,U+674f,U+67cf,U+6841,U+6905,U+6cf3,U+6d32,U+6d69,U+6f64,U+716e,U+7761,U+7b52,U+7be0,U+7dbf,U+7de9,U+7f36,U+81d3,U+8302,U+8389,U+846c,U+84ee,U+8a69,U+9038,U+9d8f,U+ff47,U+ff4b,U+ff76,U+ff9b}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.85.woff2) format("woff2");unicode-range:U+25c7,U+3007,U+504f,U+507d,U+51a0,U+52a3,U+5410,U+5510,U+559a,U+5782,U+582a,U+5c0a,U+5c3f,U+5c48,U+5f6b,U+6176,U+622f,U+6279,U+62bd,U+62dd,U+65ed,U+67b6,U+6817,U+6850,U+6d6a,U+6deb,U+6ea2,U+6edd,U+6f5c,U+72e9,U+73a9,U+7573,U+76bf,U+7950,U+7956,U+7f8a,U+7ffc,U+80a2,U+80c3,U+83ca,U+8a02,U+8a13,U+8df5,U+9375,U+983b,U+99b4,U+ff4e,U+ff71,U+ff89,U+ff97}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.86.woff2) format("woff2");unicode-range:U+24,U+2022,U+2212,U+221f,U+2665,U+4ecf,U+5100,U+51cd,U+52d8,U+5378,U+53f6,U+574a,U+5982,U+5996,U+5c1a,U+5e1d,U+5f84,U+609f,U+61a7,U+61f8,U+6398,U+63ee,U+6676,U+6691,U+6eb6,U+7126,U+71e5,U+7687,U+7965,U+7d17,U+80a1,U+8107,U+8266,U+85a6,U+8987,U+8ca2,U+8cab,U+8e0a,U+9042,U+95c7,U+9810,U+9867,U+98fc,U+ff52-ff54,U+ff61,U+ff77,U+ff98-ff99}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.87.woff2) format("woff2");unicode-range:U+b0,U+226a,U+2462,U+4e39,U+4fc3,U+4fd7,U+50be,U+50da,U+5200,U+5211,U+54f2,U+5618,U+596a,U+5b22,U+5bb4,U+5d50,U+60a3,U+63fa,U+658e,U+65e8,U+6669,U+6795,U+679d,U+67a0,U+6b3a,U+6e09,U+757f,U+7cd6,U+7dbe,U+7ffb,U+83cc,U+83f1,U+840c,U+845b,U+8846,U+8972,U+8a34,U+8a50,U+8a87,U+8edf,U+8ff0,U+90a6,U+9154,U+95a3,U+9663,U+9686,U+96c7,U+ff3c,U+ff7c,U+ff8a}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.88.woff2) format("woff2");unicode-range:U+25bd,U+4e59,U+4ec1,U+4ff3,U+515a,U+518a,U+525b,U+5375,U+552f,U+57a3,U+5b9c,U+5c3d,U+5e3d,U+5e7b,U+5f0a,U+6094,U+6458,U+654f,U+67f3,U+6b8a,U+6bd2,U+6c37,U+6ce1,U+6e56,U+6e7f,U+6ed1,U+6ede,U+6f0f,U+70ad,U+7267,U+7363,U+786c,U+7a42,U+7db2,U+7f85,U+8178,U+829d,U+8896,U+8c5a,U+8cb0,U+8ce2,U+8ed2,U+9047,U+9177,U+970a,U+9ea6,U+ff1b,U+ff31,U+ff39,U+ff80}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.89.woff2) format("woff2");unicode-range:U+a5,U+4e80,U+4f34,U+4f73,U+4f75,U+511f,U+5192,U+52aa,U+53c8,U+570f,U+57cb,U+596e,U+5d8b,U+5f66,U+5fd9,U+62db,U+62f6,U+6328,U+633f,U+63a7,U+6469,U+6bbf,U+6c41,U+6c57,U+6d44,U+6dbc,U+706f,U+72c2,U+72ed,U+7551,U+75f4,U+7949,U+7e26,U+7fd4,U+8150,U+8af8,U+8b0e,U+8b72,U+8ca7,U+934b,U+9a0e,U+9a12,U+9b42,U+ff41,U+ff43,U+ff45,U+ff49,U+ff4f,U+ff62-ff63}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.90.woff2) format("woff2");unicode-range:U+4e18,U+4fb5,U+5104,U+52c7,U+5353,U+5374,U+53e5,U+587e,U+594f,U+5a20,U+5de1,U+5f18,U+5fcd,U+6291,U+62ab,U+6355,U+6392,U+63da,U+63e1,U+656c,U+6687,U+68b0-68b1,U+68d2,U+68da,U+6b27,U+6cbc,U+7159,U+7344,U+73cd,U+76df,U+790e,U+7cf8,U+8102,U+88c1,U+8aa0,U+8e0f,U+9178,U+92ad,U+9670,U+96c5,U+9cf4,U+9db4,U+ff3e,U+ff6f,U+ff72,U+ff78,U+ff7d,U+ff84,U+ff8c}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.91.woff2) format("woff2");unicode-range:U+60,U+2200,U+226b,U+2461,U+517c,U+526f,U+5800,U+5b97,U+5bf8,U+5c01,U+5d29,U+5e4c,U+5e81,U+6065,U+61d0,U+667a,U+6696,U+6843,U+6c99,U+6d99,U+6ec5,U+6f22,U+6f6e,U+6fa4,U+6fef,U+71c3,U+72d9,U+7384,U+78e8,U+7a1a,U+7a32,U+7a3c,U+7adc,U+7ca7,U+7d2b,U+7dad,U+7e4b,U+80a9,U+8170,U+81ed,U+820e,U+8a17,U+8afe,U+90aa,U+914e,U+963f,U+99c4,U+9eba,U+9f3b,U+ff38}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.92.woff2) format("woff2");unicode-range:U+2460,U+4e5f,U+4e7e,U+4ed9,U+501f,U+502b,U+5968,U+5974,U+5ac1,U+5b99,U+5ba3,U+5be7,U+5be9,U+5c64,U+5cb8,U+5ec3,U+5f1f,U+616e,U+6297,U+62e0,U+62ec,U+6368,U+642d,U+65e6,U+6717,U+676f,U+6b04,U+732e,U+7652,U+76ca,U+76d7,U+7802,U+7e70,U+7f6a,U+8133,U+81e8,U+866b,U+878d,U+88f8,U+8a5e,U+8cdb,U+8d08,U+907a,U+90e1,U+96f2,U+9f8d,U+ff35,U+ff37,U+ff40,U+ff9d}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.93.woff2) format("woff2");unicode-range:U+21d2,U+25ce,U+300a-300b,U+4e89,U+4e9c,U+4ea1,U+5263,U+53cc,U+5426,U+5869,U+5947,U+598a,U+5999,U+5e55,U+5e72,U+5e79,U+5fae,U+5fb9,U+602a,U+6163,U+624d,U+6749,U+6c5a,U+6cbf,U+6d45,U+6dfb,U+6e7e,U+708e,U+725b,U+7763,U+79c0,U+7bc4,U+7c89,U+7e01,U+7e2e,U+8010,U+8033,U+8c6a,U+8cc3,U+8f1d,U+8f9b,U+8fb2,U+907f,U+90f7,U+9707,U+9818,U+9b3c,U+ff0a,U+ff4d}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.94.woff2) format("woff2");unicode-range:U+2015,U+2190,U+4e43,U+5019,U+5247,U+52e7,U+5438,U+54b2,U+55ab,U+57f7,U+5bd2,U+5e8a,U+5ef6,U+6016,U+60b2,U+6162,U+6319,U+6551,U+6607,U+66b4,U+675f,U+67d4,U+6b20,U+6b53,U+6ce3,U+719f,U+75b2,U+770b,U+7720,U+77ac,U+79d2,U+7af9,U+7d05,U+7dca,U+8056,U+80f8,U+81f3,U+8352,U+885d,U+8a70,U+8aa4,U+8cbc,U+900f,U+9084,U+91e3,U+9451,U+96c4,U+99c6,U+9ad4,U+ff70}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.95.woff2) format("woff2");unicode-range:U+2193,U+25b2,U+4e4b,U+516d,U+51c4,U+529f,U+52c9,U+5360,U+5442,U+5857,U+5915,U+59eb,U+5a9b,U+5c3b,U+6012,U+61b6,U+62b1,U+6311,U+6577,U+65e2,U+65ec,U+6613,U+6790,U+6cb9,U+7372,U+76ae,U+7d5e,U+7fcc,U+88ab,U+88d5,U+8caf,U+8ddd,U+8ecd,U+8f38,U+8f9e,U+8feb,U+9063,U+90f5,U+93e1,U+968a,U+968f,U+98fe,U+9ec4,U+ff1d,U+ff27,U+ff2a,U+ff36,U+ff3b,U+ff3d,U+ffe5}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.96.woff2) format("woff2");unicode-range:U+4e03,U+4f38,U+50b7,U+5264,U+5348,U+5371,U+585a,U+58ca,U+5951,U+59b9,U+59d4,U+5b98,U+5f8b,U+6388,U+64cd,U+65e7,U+6803,U+6b6f,U+6d66,U+6e0b,U+6ecb,U+6fc3,U+72ac,U+773c,U+77e2,U+7968,U+7a74,U+7dba,U+7dd1,U+7e3e,U+808c,U+811a,U+8179,U+8239,U+8584,U+8a0e,U+8a72,U+8b66,U+8c46,U+8f29,U+90a3,U+9234,U+96f0,U+9769,U+9774,U+9aa8,U+ff26,U+ff28,U+ff9e-ff9f}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.97.woff2) format("woff2");unicode-range:U+7e,U+b4,U+25c6,U+2661,U+4e92,U+4eee,U+4ffa,U+5144,U+5237,U+5287,U+52b4,U+58c1,U+5bff,U+5c04,U+5c06,U+5e95,U+5f31,U+5f93,U+63c3,U+640d,U+6557,U+6614,U+662f,U+67d3,U+690d,U+6bba,U+6e6f,U+72af,U+732b,U+7518,U+7ae0,U+7ae5,U+7af6,U+822a,U+89e6,U+8a3a,U+8a98,U+8cb8,U+8de1,U+8e8d,U+95d8,U+961c,U+96a3,U+96ea,U+9bae,U+ff20,U+ff22,U+ff29,U+ff2b-ff2c}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.98.woff2) format("woff2");unicode-range:U+25cb,U+4e71,U+4f59,U+50d5,U+520a,U+5217,U+5230,U+523a-523b,U+541b,U+5439,U+5747,U+59c9,U+5bdf,U+5c31,U+5de8,U+5e7c,U+5f69,U+6050,U+60d1,U+63cf,U+663c,U+67c4,U+6885,U+6c38,U+6d6e,U+6db2,U+6df7,U+6e2c,U+6f5f,U+7532,U+76e3-76e4,U+7701,U+793c,U+79f0,U+7a93,U+7d00,U+7de0,U+7e54,U+8328,U+8840,U+969c,U+96e8,U+9811,U+9aea,U+9b5a,U+ff24,U+ff2e,U+ff57}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.99.woff2) format("woff2");unicode-range:U+2191,U+505c,U+52e4,U+5305,U+535a,U+56e0,U+59bb,U+5acc,U+5b09,U+5b87,U+5c90,U+5df1,U+5e2d,U+5e33,U+5f3e,U+6298,U+6383,U+653b,U+6697,U+6804,U+6a39,U+6cca,U+6e90,U+6f2b,U+702c,U+7206,U+7236,U+7559,U+7565,U+7591,U+75c7,U+75db,U+7b4b,U+7bb1,U+7d99,U+7fbd,U+8131,U+885b,U+8b1d,U+8ff7,U+9003,U+9045,U+96a0,U+9732,U+990a,U+99d0,U+9e97,U+9f62,U+ff25,U+ff2d}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.100.woff2) format("woff2");unicode-range:U+4e08,U+4f9d,U+5012,U+514d,U+51b7,U+5275,U+53ca,U+53f8,U+5584,U+57fc,U+5b9d,U+5bfa,U+5c3e,U+5f01,U+5fb4,U+5fd7,U+606f,U+62e1,U+6563,U+6674,U+6cb3,U+6d3e,U+6d74,U+6e1b,U+6e2f,U+718a,U+7247,U+79d8,U+7d14,U+7d66,U+7d71,U+7df4,U+7e41,U+80cc,U+8155,U+83d3,U+8a95,U+8ab2,U+8ad6,U+8ca1,U+9000,U+9006,U+9678,U+97d3,U+9808,U+98ef,U+9a5a,U+9b45,U+ff23,U+ff30}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.101.woff2) format("woff2");unicode-range:U+25bc,U+3012,U+4ef2,U+4f0a,U+516b,U+5373,U+539a,U+53b3,U+559c,U+56f0,U+5727,U+5742,U+5965,U+59ff,U+5bc6,U+5dfb,U+5e45,U+5ead,U+5fb3,U+6211,U+6253,U+639b,U+63a8,U+6545,U+6575,U+6628,U+672d,U+68a8,U+6bdb,U+6d25,U+707d,U+767e,U+7834,U+7b46,U+7bc9,U+8074,U+82e6,U+8349,U+8a2a,U+8d70,U+8da3,U+8fce,U+91cc,U+967d,U+97ff,U+9996,U+ff1c,U+ff2f,U+ff32,U+ff34}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.102.woff2) format("woff2");unicode-range:U+3d,U+5e,U+25cf,U+4e0e,U+4e5d,U+4e73,U+4e94,U+4f3c,U+5009,U+5145,U+51ac,U+5238,U+524a,U+53f3,U+547c,U+5802,U+5922,U+5a66,U+5c0e,U+5de6,U+5fd8,U+5feb,U+6797,U+685c,U+6b7b,U+6c5f-6c60,U+6cc9,U+6ce2,U+6d17,U+6e21,U+7167,U+7642,U+76db,U+8001,U+821e,U+8857,U+89d2,U+8b1b,U+8b70,U+8cb4,U+8cde,U+8f03,U+8f2a,U+968e,U+9b54,U+9e7f,U+9ebb,U+ff05,U+ff33}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.103.woff2) format("woff2");unicode-range:U+500d,U+5074,U+50cd,U+5175,U+52e2,U+5352,U+5354,U+53f2,U+5409,U+56fa,U+5a18,U+5b88,U+5bdd,U+5ca9,U+5f92,U+5fa9,U+60a9,U+623f,U+6483,U+653f,U+666f,U+66ae,U+66f2,U+6a21,U+6b66,U+6bcd,U+6d5c,U+796d,U+7a4d,U+7aef,U+7b56,U+7b97,U+7c4d,U+7e04,U+7fa9,U+8377,U+83dc,U+83ef,U+8535,U+8863,U+88cf,U+88dc,U+8907,U+8acb,U+90ce,U+91dd,U+ff0b,U+ff0d,U+ff19,U+ff65}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.104.woff2) format("woff2");unicode-range:U+4e01,U+4e21,U+4e38,U+52a9,U+547d,U+592e,U+5931,U+5b63,U+5c40,U+5dde,U+5e78,U+5efa,U+5fa1,U+604b,U+6075,U+62c5,U+632f,U+6a19,U+6c0f,U+6c11,U+6c96,U+6e05,U+70ba,U+71b1,U+7387,U+7403,U+75c5,U+77ed,U+795d,U+7b54,U+7cbe,U+7d19,U+7fa4,U+8089,U+81f4,U+8208,U+8336,U+8457,U+8a33,U+8c4a,U+8ca0,U+8ca8,U+8cc0,U+9014,U+964d,U+9803,U+983c,U+98db,U+ff17,U+ff21}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.105.woff2) format("woff2");unicode-range:U+25,U+25a0,U+4e26,U+4f4e,U+5341,U+56f2,U+5bbf,U+5c45,U+5c55,U+5c5e,U+5dee,U+5e9c,U+5f7c,U+6255,U+627f,U+62bc,U+65cf,U+661f,U+666e,U+66dc,U+67fb,U+6975,U+6a4b,U+6b32,U+6df1,U+6e29,U+6fc0,U+738b,U+7686,U+7a76,U+7a81,U+7c73,U+7d75,U+7dd2,U+82e5,U+82f1,U+85ac,U+888b,U+899a,U+8a31,U+8a8c,U+8ab0,U+8b58,U+904a,U+9060,U+9280,U+95b2,U+984d,U+9ce5,U+ff18}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.106.woff2) format("woff2");unicode-range:U+30f6,U+50ac,U+5178,U+51e6,U+5224,U+52dd,U+5883,U+5897,U+590f,U+5a5a,U+5bb3,U+5c65,U+5e03,U+5e2b,U+5e30,U+5eb7,U+6271,U+63f4,U+64ae,U+6574,U+672b,U+679a,U+6a29-6a2a,U+6ca2,U+6cc1,U+6d0b,U+713c,U+74b0,U+7981,U+7a0b,U+7bc0,U+7d1a,U+7d61,U+7fd2,U+822c,U+8996,U+89aa,U+8cac,U+8cbb,U+8d77,U+8def,U+9020,U+9152,U+9244,U+9662,U+967a,U+96e3,U+9759,U+ff16}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.107.woff2) format("woff2");unicode-range:U+23,U+3c,U+2192,U+4e45,U+4efb,U+4f50,U+4f8b,U+4fc2,U+5024,U+5150,U+5272,U+5370,U+53bb,U+542b,U+56db,U+56e3,U+57ce,U+5bc4,U+5bcc,U+5f71,U+60aa,U+6238,U+6280,U+629c,U+6539,U+66ff,U+670d,U+677e-677f,U+6839,U+69cb,U+6b4c,U+6bb5,U+6e96,U+6f14,U+72ec,U+7389,U+7814,U+79cb,U+79d1,U+79fb,U+7a0e,U+7d0d,U+85e4,U+8d64,U+9632,U+96e2,U+9805,U+99ac,U+ff1e}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.108.woff2) format("woff2");unicode-range:U+2605-2606,U+301c,U+4e57,U+4fee,U+5065,U+52df,U+533b,U+5357,U+57df,U+58eb,U+58f0,U+591c,U+592a-592b,U+5948,U+5b85,U+5d0e,U+5ea7,U+5ff5,U+6025,U+63a1,U+63a5,U+63db,U+643a,U+65bd,U+671d,U+68ee,U+6982,U+6b73,U+6bd4,U+6d88,U+7570,U+7b11,U+7d76,U+8077,U+8217,U+8c37,U+8c61,U+8cc7,U+8d85,U+901f,U+962a,U+9802,U+9806,U+9854,U+98f2,U+9928,U+99c5,U+9ed2}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.109.woff2) format("woff2");unicode-range:U+266a,U+4f11,U+533a,U+5343,U+534a,U+53cd,U+5404,U+56f3,U+5b57-5b58,U+5bae,U+5c4a,U+5e0c,U+5e2f,U+5eab,U+5f35,U+5f79,U+614b,U+6226,U+629e,U+65c5,U+6625,U+6751,U+6821,U+6b69,U+6b8b,U+6bce,U+6c42,U+706b,U+7c21,U+7cfb,U+805e,U+80b2,U+82b8,U+843d,U+8853,U+88c5,U+8a3c,U+8a66,U+8d8a,U+8fba,U+9069,U+91cf,U+9752,U+975e,U+9999,U+ff0f-ff10,U+ff14-ff15}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.110.woff2) format("woff2");unicode-range:U+40,U+4e86,U+4e95,U+4f01,U+4f1d,U+4fbf,U+5099,U+5171,U+5177,U+53cb,U+53ce,U+53f0,U+5668,U+5712,U+5ba4,U+5ca1,U+5f85,U+60f3,U+653e,U+65ad,U+65e9,U+6620,U+6750,U+6761,U+6b62,U+6b74,U+6e08,U+6e80,U+7248,U+7531,U+7533,U+753a,U+77f3,U+798f,U+7f6e,U+8449,U+88fd,U+89b3,U+8a55,U+8ac7,U+8b77,U+8db3,U+8efd,U+8fd4,U+9031-9032,U+9580,U+9589,U+96d1,U+985e}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.111.woff2) format("woff2");unicode-range:U+2b,U+d7,U+300e-300f,U+4e07,U+4e8c,U+512a,U+5149,U+518d,U+5236,U+52b9,U+52d9,U+5468,U+578b,U+57fa,U+5b8c,U+5ba2,U+5c02,U+5de5,U+5f37,U+5f62,U+623b,U+63d0,U+652f,U+672a,U+6848,U+6d41,U+7136,U+7537,U+754c,U+76f4,U+79c1,U+7ba1,U+7d44,U+7d4c,U+7dcf,U+7dda,U+7de8,U+82b1,U+897f,U+8ca9,U+8cfc,U+904e,U+9664,U+982d,U+9858,U+98a8,U+9a13,U+ff13,U+ff5c}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.112.woff2) format("woff2");unicode-range:U+4e16,U+4e3b,U+4ea4,U+4ee4,U+4f4d,U+4f4f,U+4f55,U+4f9b,U+5317,U+5358,U+53c2,U+53e4,U+548c,U+571f,U+59cb,U+5cf6,U+5e38,U+63a2,U+63b2,U+6559,U+662d,U+679c,U+6c7a,U+72b6,U+7523,U+767d,U+770c,U+7a2e,U+7a3f,U+7a7a,U+7b2c,U+7b49,U+7d20,U+7d42,U+8003,U+8272,U+8a08,U+8aac,U+8cb7,U+8eab,U+8ee2,U+9054-9055,U+90fd,U+914d,U+91cd,U+969b,U+97f3,U+984c,U+ff06}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.113.woff2) format("woff2");unicode-range:U+26,U+5f,U+2026,U+203b,U+4e09,U+4eac,U+4ed5,U+4fa1,U+5143,U+5199,U+5207,U+539f,U+53e3,U+53f7,U+5411,U+5473,U+5546,U+55b6,U+5929,U+597d,U+5bb9,U+5c11,U+5c4b,U+5ddd,U+5f97,U+5fc5,U+6295,U+6301,U+6307,U+671b,U+76f8,U+78ba,U+795e,U+7d30,U+7d39,U+7d9a,U+89e3,U+8a00,U+8a73,U+8a8d,U+8a9e,U+8aad,U+8abf,U+8cea,U+8eca,U+8ffd,U+904b,U+9650,U+ff11-ff12}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.114.woff2) format("woff2");unicode-range:U+3e,U+3005,U+4e0d,U+4e88,U+4ecb,U+4ee3,U+4ef6,U+4fdd,U+4fe1,U+500b,U+50cf,U+5186,U+5316,U+53d7,U+540c,U+544a,U+54e1,U+5728,U+58f2,U+5973,U+5b89,U+5c71,U+5e02,U+5e97,U+5f15,U+5fc3,U+5fdc,U+601d,U+611b,U+611f,U+671f,U+6728,U+6765,U+683c,U+6b21,U+6ce8,U+6d3b,U+6d77,U+7530,U+7740,U+7acb,U+7d50,U+826f,U+8f09,U+8fbc,U+9001,U+9053,U+91ce,U+9762,U+98df}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.115.woff2) format("woff2");unicode-range:U+7c,U+3080,U+4ee5,U+5148,U+516c,U+521d,U+5225,U+529b,U+52a0,U+53ef,U+56de,U+56fd,U+5909,U+591a,U+5b66,U+5b9f,U+5bb6,U+5bfe,U+5e73,U+5e83,U+5ea6,U+5f53,U+6027,U+610f,U+6210,U+6240,U+660e,U+66f4,U+66f8,U+6709,U+6771,U+697d,U+69d8,U+6a5f,U+6c34,U+6cbb,U+73fe,U+756a,U+7684,U+771f,U+793a,U+7f8e,U+898f,U+8a2d,U+8a71,U+8fd1,U+9078,U+9577,U+96fb,U+ff5e}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.116.woff2) format("woff2");unicode-range:U+a9,U+3010-3011,U+30e2,U+4e0b,U+4eca,U+4ed6,U+4ed8,U+4f53,U+4f5c,U+4f7f,U+53d6,U+540d,U+54c1,U+5730,U+5916,U+5b50,U+5c0f,U+5f8c,U+624b,U+6570,U+6587,U+6599,U+691c,U+696d,U+6cd5,U+7269,U+7279,U+7406,U+767a-767b,U+77e5,U+7d04,U+7d22,U+8005,U+80fd,U+81ea,U+8868,U+8981,U+89a7,U+901a,U+9023,U+90e8,U+91d1,U+9332,U+958b,U+96c6,U+9ad8,U+ff1a,U+ff1f}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.117.woff2) format("woff2");unicode-range:U+4e,U+a0,U+3000,U+300c-300d,U+4e00,U+4e0a,U+4e2d,U+4e8b,U+4eba,U+4f1a,U+5165,U+5168,U+5185,U+51fa,U+5206,U+5229,U+524d,U+52d5,U+5408,U+554f,U+5831,U+5834,U+5927,U+5b9a,U+5e74,U+5f0f,U+60c5,U+65b0,U+65b9,U+6642,U+6700,U+672c,U+682a,U+6b63,U+6c17,U+7121,U+751f,U+7528,U+753b,U+76ee,U+793e,U+884c,U+898b,U+8a18,U+9593,U+95a2,U+ff01,U+ff08-ff09}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.118.woff2) format("woff2");unicode-range:U+21-22,U+27-2a,U+2c-3b,U+3f,U+41-4d,U+4f-5d,U+61-7b,U+7d,U+ab,U+ae,U+b2-b3,U+b7,U+bb,U+c9,U+cd,U+d6,U+d8,U+dc,U+e0-e5,U+e7-ed,U+ef,U+f1-f4,U+f6,U+f8,U+fa,U+fc-fd,U+103,U+14d,U+1b0,U+300-301,U+1ebf,U+1ec7,U+2013-2014,U+201c-201d,U+2039-203a,U+203c,U+2048-2049,U+2113,U+2122,U+65e5,U+6708,U+70b9}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.119.woff2) format("woff2");unicode-range:U+20,U+2027,U+3001-3002,U+3041-307f,U+3081-308f,U+3091-3093,U+3099-309a,U+309d-309e,U+30a1-30e1,U+30e3-30ed,U+30ef-30f0,U+30f2-30f4,U+30fb-30fe,U+ff0c,U+ff0e}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6omwqRfTHxT624.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6okQqRfTHxT624.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6onwqRfTHxTw.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Sniglet;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/sniglet/v17/cIf9MaFLtkE3UjaJ9CChYUsEkIpdQQ.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Sniglet;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/sniglet/v17/cIf9MaFLtkE3UjaJ9C6hYUsEkIo.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}.i-eos-icons\:three-dots-loading,[i-eos-icons\:three-dots-loading=""]{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Ccircle cx='18' cy='12' r='0' fill='currentColor'%3E%3Canimate attributeName='r' begin='.67' calcMode='spline' dur='1.5s' keySplines='0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8' repeatCount='indefinite' values='0;2;0;0'/%3E%3C/circle%3E%3Ccircle cx='12' cy='12' r='0' fill='currentColor'%3E%3Canimate attributeName='r' begin='.33' calcMode='spline' dur='1.5s' keySplines='0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8' repeatCount='indefinite' values='0;2;0;0'/%3E%3C/circle%3E%3Ccircle cx='6' cy='12' r='0' fill='currentColor'%3E%3Canimate attributeName='r' begin='0' calcMode='spline' dur='1.5s' keySplines='0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8' repeatCount='indefinite' values='0;2;0;0'/%3E%3C/circle%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1.2em;height:1.2em}.i-lobe-icons\:cloudflare-color{background:url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='1em' height='1em' %3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cpath d='M16.493 17.4c.135-.52.08-.983-.161-1.338-.215-.328-.592-.519-1.05-.519l-8.663-.109a.148.148 0 01-.135-.082c-.027-.054-.027-.109-.027-.163.027-.082.108-.164.189-.164l8.744-.11c1.05-.054 2.153-.9 2.556-1.937l.511-1.31c.027-.055.027-.11.027-.164C17.92 8.91 15.66 7 12.942 7c-2.503 0-4.628 1.638-5.381 3.903a2.432 2.432 0 00-1.803-.491c-1.21.109-2.153 1.092-2.287 2.32-.027.328 0 .628.054.9C1.56 13.688 0 15.326 0 17.319c0 .19.027.355.027.545 0 .082.08.137.161.137h15.983c.08 0 .188-.055.215-.164l.107-.437' fill='%23F38020'/%3E%3Cpath d='M19.238 11.75h-.242c-.054 0-.108.054-.135.109l-.35 1.2c-.134.52-.08.983.162 1.338.215.328.592.518 1.05.518l1.855.11c.054 0 .108.027.135.082.027.054.027.109.027.163-.027.082-.108.164-.188.164l-1.91.11c-1.05.054-2.153.9-2.557 1.937l-.134.355c-.027.055.026.137.107.137h6.592c.081 0 .162-.055.162-.137.107-.41.188-.846.188-1.31-.027-2.62-2.153-4.777-4.762-4.777' fill='%23FCAD32'/%3E%3C/g%3E%3C/svg%3E") no-repeat;background-size:100% 100%;background-color:transparent;width:1.2em;height:1.2em}.i-lobe-icons\:deepseek-color{background:url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='1em' height='1em' %3E%3Cpath d='M23.748 4.482c-.254-.124-.364.113-.512.234-.051.039-.094.09-.137.136-.372.397-.806.657-1.373.626-.829-.046-1.537.214-2.163.848-.133-.782-.575-1.248-1.247-1.548-.352-.156-.708-.311-.955-.65-.172-.241-.219-.51-.305-.774-.055-.16-.11-.323-.293-.35-.2-.031-.278.136-.356.276-.313.572-.434 1.202-.422 1.84.027 1.436.633 2.58 1.838 3.393.137.093.172.187.129.323-.082.28-.18.552-.266.833-.055.179-.137.217-.329.14a5.526 5.526 0 01-1.736-1.18c-.857-.828-1.631-1.742-2.597-2.458a11.365 11.365 0 00-.689-.471c-.985-.957.13-1.743.388-1.836.27-.098.093-.432-.779-.428-.872.004-1.67.295-2.687.684a3.055 3.055 0 01-.465.137 9.597 9.597 0 00-2.883-.102c-1.885.21-3.39 1.102-4.497 2.623C.082 8.606-.231 10.684.152 12.85c.403 2.284 1.569 4.175 3.36 5.653 1.858 1.533 3.997 2.284 6.438 2.14 1.482-.085 3.133-.284 4.994-1.86.47.234.962.327 1.78.397.63.059 1.236-.03 1.705-.128.735-.156.684-.837.419-.961-2.155-1.004-1.682-.595-2.113-.926 1.096-1.296 2.746-2.642 3.392-7.003.05-.347.007-.565 0-.845-.004-.17.035-.237.23-.256a4.173 4.173 0 001.545-.475c1.396-.763 1.96-2.015 2.093-3.517.02-.23-.004-.467-.247-.588zM11.581 18c-2.089-1.642-3.102-2.183-3.52-2.16-.392.024-.321.471-.235.763.09.288.207.486.371.739.114.167.192.416-.113.603-.673.416-1.842-.14-1.897-.167-1.361-.802-2.5-1.86-3.301-3.307-.774-1.393-1.224-2.887-1.298-4.482-.02-.386.093-.522.477-.592a4.696 4.696 0 011.529-.039c2.132.312 3.946 1.265 5.468 2.774.868.86 1.525 1.887 2.202 2.891.72 1.066 1.494 2.082 2.48 2.914.348.292.625.514.891.677-.802.09-2.14.11-3.054-.614zm1-6.44a.306.306 0 01.415-.287.302.302 0 01.2.288.306.306 0 01-.31.307.303.303 0 01-.304-.308zm3.11 1.596c-.2.081-.399.151-.59.16a1.245 1.245 0 01-.798-.254c-.274-.23-.47-.358-.552-.758a1.73 1.73 0 01.016-.588c.07-.327-.008-.537-.239-.727-.187-.156-.426-.199-.688-.199a.559.559 0 01-.254-.078c-.11-.054-.2-.19-.114-.358.028-.054.16-.186.192-.21.356-.202.767-.136 1.146.016.352.144.618.408 1.001.782.391.451.462.576.685.914.176.265.336.537.445.848.067.195-.019.354-.25.452z' fill='%234D6BFE'/%3E%3C/svg%3E") no-repeat;background-size:100% 100%;background-color:transparent;width:1.2em;height:1.2em}.i-lobe-icons\:fireworks{--un-icon:url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='1em' height='1em' %3E%3Cg fill='currentColor' fill-rule='evenodd'%3E%3Cpath clip-rule='evenodd' d='M14.8 5l-2.801 6.795L9.195 5H7.397l3.072 7.428a1.64 1.64 0 003.038.002L16.598 5H14.8zm1.196 10.352l5.124-5.244-.699-1.669-5.596 5.739a1.664 1.664 0 00-.343 1.807 1.642 1.642 0 001.516 1.012L16 17l8-.02-.699-1.669-7.303.041h-.002zM2.88 10.104l.699-1.669 5.596 5.739c.468.479.603 1.189.343 1.807a1.643 1.643 0 01-1.516 1.012l-8-.018-.002.002.699-1.669 7.303.042-5.122-5.246z'/%3E%3C/g%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1.2em;height:1.2em}.i-lobe-icons\:mistral-color{background:url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='1em' height='1em' %3E%3Cpath d='M3.428 3.4h3.429v3.428H3.428V3.4zm13.714 0h3.43v3.428h-3.43V3.4z' fill='gold'/%3E%3Cpath d='M3.428 6.828h6.857v3.429H3.429V6.828zm10.286 0h6.857v3.429h-6.857V6.828z' fill='%23FFAF00'/%3E%3Cpath d='M3.428 10.258h17.144v3.428H3.428v-3.428z' fill='%23FF8205'/%3E%3Cpath d='M3.428 13.686h3.429v3.428H3.428v-3.428zm6.858 0h3.429v3.428h-3.429v-3.428zm6.856 0h3.43v3.428h-3.43v-3.428z' fill='%23FA500F'/%3E%3Cpath d='M0 17.114h10.286v3.429H0v-3.429zm13.714 0H24v3.429H13.714v-3.429z' fill='%23E10500'/%3E%3C/svg%3E") no-repeat;background-size:100% 100%;background-color:transparent;width:1.2em;height:1.2em}.i-lobe-icons\:moonshot{--un-icon:url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='1em' height='1em' %3E%3Cg fill='currentColor' fill-rule='evenodd'%3E%3Cpath d='M1.052 16.916l9.539 2.552a21.007 21.007 0 00.06 2.033l5.956 1.593a11.997 11.997 0 01-5.586.865l-.18-.016-.044-.004-.084-.009-.094-.01a11.605 11.605 0 01-.157-.02l-.107-.014-.11-.016a11.962 11.962 0 01-.32-.051l-.042-.008-.075-.013-.107-.02-.07-.015-.093-.019-.075-.016-.095-.02-.097-.023-.094-.022-.068-.017-.088-.022-.09-.024-.095-.025-.082-.023-.109-.03-.062-.02-.084-.025-.093-.028-.105-.034-.058-.019-.08-.026-.09-.031-.066-.024a6.293 6.293 0 01-.044-.015l-.068-.025-.101-.037-.057-.022-.08-.03-.087-.035-.088-.035-.079-.032-.095-.04-.063-.028-.063-.027a5.655 5.655 0 01-.041-.018l-.066-.03-.103-.047-.052-.024-.096-.046-.062-.03-.084-.04-.086-.044-.093-.047-.052-.027-.103-.055-.057-.03-.058-.032a6.49 6.49 0 01-.046-.026l-.094-.053-.06-.034-.051-.03-.072-.041-.082-.05-.093-.056-.052-.032-.084-.053-.061-.039-.079-.05-.07-.047-.053-.035a7.785 7.785 0 01-.054-.036l-.044-.03-.044-.03a6.066 6.066 0 01-.04-.028l-.057-.04-.076-.054-.069-.05-.074-.054-.056-.042-.076-.057-.076-.059-.086-.067-.045-.035-.064-.052-.074-.06-.089-.073-.046-.039-.046-.039a7.516 7.516 0 01-.043-.037l-.045-.04-.061-.053-.07-.062-.068-.06-.062-.058-.067-.062-.053-.05-.088-.084a13.28 13.28 0 01-.099-.097l-.029-.028-.041-.042-.069-.07-.05-.051-.05-.053a6.457 6.457 0 01-.168-.179l-.08-.088-.062-.07-.071-.08-.042-.049-.053-.062-.058-.068-.046-.056a7.175 7.175 0 01-.027-.033l-.045-.055-.066-.082-.041-.052-.05-.064-.02-.025a11.99 11.99 0 01-1.44-2.402zm-1.02-5.794l11.353 3.037a20.468 20.468 0 00-.469 2.011l10.817 2.894a12.076 12.076 0 01-1.845 2.005L.657 15.923l-.016-.046-.035-.104a11.965 11.965 0 01-.05-.153l-.007-.023a11.896 11.896 0 01-.207-.741l-.03-.126-.018-.08-.021-.097-.018-.081-.018-.09-.017-.084-.018-.094c-.026-.141-.05-.283-.071-.426l-.017-.118-.011-.083-.013-.102a12.01 12.01 0 01-.019-.161l-.005-.047a12.12 12.12 0 01-.034-2.145zm1.593-5.15l11.948 3.196c-.368.605-.705 1.231-1.01 1.875l11.295 3.022c-.142.82-.368 1.612-.668 2.365l-11.55-3.09L.124 10.26l.015-.1.008-.049.01-.067.015-.087.018-.098c.026-.148.056-.295.088-.442l.028-.124.02-.085.024-.097c.022-.09.045-.18.07-.268l.028-.102.023-.083.03-.1.025-.082.03-.096.026-.082.031-.095a11.896 11.896 0 011.01-2.232zm4.442-4.4L17.352 4.59a20.77 20.77 0 00-1.688 1.721l7.823 2.093c.267.852.442 1.744.513 2.665L2.106 5.213l.045-.065.027-.04.04-.055.046-.065.055-.076.054-.072.064-.086.05-.065.057-.073.055-.07.06-.074.055-.069.065-.077.054-.066.066-.077.053-.06.072-.082.053-.06.067-.074.054-.058.073-.078.058-.06.063-.067.168-.17.1-.098.059-.056.076-.071a12.084 12.084 0 012.272-1.677zM12.017 0h.097l.082.001.069.001.054.002.068.002.046.001.076.003.047.002.06.003.054.002.087.005.105.007.144.011.088.007.044.004.077.008.082.008.047.005.102.012.05.006.108.014.081.01.042.006.065.01.207.032.07.012.065.011.14.026.092.018.11.022.046.01.075.016.041.01L14.7.3l.042.01.065.015.049.012.071.017.096.024.112.03.113.03.113.032.05.015.07.02.078.024.073.023.05.016.05.016.076.025.099.033.102.036.048.017.064.023.093.034.11.041.116.045.1.04.047.02.06.024.041.018.063.026.04.018.057.025.11.048.1.046.074.035.075.036.06.028.092.046.091.045.102.052.053.028.049.026.046.024.06.033.041.022.052.029.088.05.106.06.087.051.057.034.053.032.096.059.088.055.098.062.036.024.064.041.084.056.04.027.062.042.062.043.023.017c.054.037.108.075.161.114l.083.06.065.048.056.043.086.065.082.064.04.03.05.041.086.069.079.065.085.071c.712.6 1.353 1.283 1.909 2.031L7.222.994l.062-.027.065-.028.081-.034.086-.035c.113-.045.227-.09.341-.131l.096-.035.093-.033.084-.03.096-.031c.087-.03.176-.058.264-.085l.091-.027.086-.025.102-.03.085-.023.1-.026L9.04.37l.09-.023.091-.022.095-.022.09-.02.098-.021.091-.02.095-.018.092-.018.1-.018.091-.016.098-.017.092-.014.097-.015.092-.013.102-.013.091-.012.105-.012.09-.01.105-.01c.093-.01.186-.018.28-.024l.106-.008.09-.005.11-.006.093-.004.1-.004.097-.002.099-.002.197-.002z'/%3E%3C/g%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1.2em;height:1.2em}.i-lobe-icons\:novita-color{background:url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='1em' height='1em' %3E%3Cpath clip-rule='evenodd' d='M9.167 4.17v5.665L0 19.003h9.167v-5.666l5.666 5.666H24L9.167 4.17z' fill='%2323D57C' fill-rule='evenodd'/%3E%3C/svg%3E") no-repeat;background-size:100% 100%;background-color:transparent;width:1.2em;height:1.2em}.i-lobe-icons\:ollama{--un-icon:url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='1em' height='1em' %3E%3Cg fill='currentColor' fill-rule='evenodd'%3E%3Cpath d='M7.905 1.09c.216.085.411.225.588.41.295.306.544.744.734 1.263.191.522.315 1.1.362 1.68a5.054 5.054 0 012.049-.636l.051-.004c.87-.07 1.73.087 2.48.474.101.053.2.11.297.17.05-.569.172-1.134.36-1.644.19-.52.439-.957.733-1.264a1.67 1.67 0 01.589-.41c.257-.1.53-.118.796-.042.401.114.745.368 1.016.737.248.337.434.769.561 1.287.23.934.27 2.163.115 3.645l.053.04.026.019c.757.576 1.284 1.397 1.563 2.35.435 1.487.216 3.155-.534 4.088l-.018.021.002.003c.417.762.67 1.567.724 2.4l.002.03c.064 1.065-.2 2.137-.814 3.19l-.007.01.01.024c.472 1.157.62 2.322.438 3.486l-.006.039a.651.651 0 01-.747.536.648.648 0 01-.54-.742c.167-1.033.01-2.069-.48-3.123a.643.643 0 01.04-.617l.004-.006c.604-.924.854-1.83.8-2.72-.046-.779-.325-1.544-.8-2.273a.644.644 0 01.18-.886l.009-.006c.243-.159.467-.565.58-1.12a4.229 4.229 0 00-.095-1.974c-.205-.7-.58-1.284-1.105-1.683-.595-.454-1.383-.673-2.38-.61a.653.653 0 01-.632-.371c-.314-.665-.772-1.141-1.343-1.436a3.288 3.288 0 00-1.772-.332c-1.245.099-2.343.801-2.67 1.686a.652.652 0 01-.61.425c-1.067.002-1.893.252-2.497.703-.522.39-.878.935-1.066 1.588a4.07 4.07 0 00-.068 1.886c.112.558.331 1.02.582 1.269l.008.007c.212.207.257.53.109.785-.36.622-.629 1.549-.673 2.44-.05 1.018.186 1.902.719 2.536l.016.019a.643.643 0 01.095.69c-.576 1.236-.753 2.252-.562 3.052a.652.652 0 01-1.269.298c-.243-1.018-.078-2.184.473-3.498l.014-.035-.008-.012a4.339 4.339 0 01-.598-1.309l-.005-.019a5.764 5.764 0 01-.177-1.785c.044-.91.278-1.842.622-2.59l.012-.026-.002-.002c-.293-.418-.51-.953-.63-1.545l-.005-.024a5.352 5.352 0 01.093-2.49c.262-.915.777-1.701 1.536-2.269.06-.045.123-.09.186-.132-.159-1.493-.119-2.73.112-3.67.127-.518.314-.95.562-1.287.27-.368.614-.622 1.015-.737.266-.076.54-.059.797.042zm4.116 9.09c.936 0 1.8.313 2.446.855.63.527 1.005 1.235 1.005 1.94 0 .888-.406 1.58-1.133 2.022-.62.375-1.451.557-2.403.557-1.009 0-1.871-.259-2.493-.734-.617-.47-.963-1.13-.963-1.845 0-.707.398-1.417 1.056-1.946.668-.537 1.55-.849 2.485-.849zm0 .896a3.07 3.07 0 00-1.916.65c-.461.37-.722.835-.722 1.25 0 .428.21.829.61 1.134.455.347 1.124.548 1.943.548.799 0 1.473-.147 1.932-.426.463-.28.7-.686.7-1.257 0-.423-.246-.89-.683-1.256-.484-.405-1.14-.643-1.864-.643zm.662 1.21l.004.004c.12.151.095.37-.056.49l-.292.23v.446a.375.375 0 01-.376.373.375.375 0 01-.376-.373v-.46l-.271-.218a.347.347 0 01-.052-.49.353.353 0 01.494-.051l.215.172.22-.174a.353.353 0 01.49.051zm-5.04-1.919c.478 0 .867.39.867.871a.87.87 0 01-.868.871.87.87 0 01-.867-.87.87.87 0 01.867-.872zm8.706 0c.48 0 .868.39.868.871a.87.87 0 01-.868.871.87.87 0 01-.867-.87.87.87 0 01.867-.872zM7.44 2.3l-.003.002a.659.659 0 00-.285.238l-.005.006c-.138.189-.258.467-.348.832-.17.692-.216 1.631-.124 2.782.43-.128.899-.208 1.404-.237l.01-.001.019-.034c.046-.082.095-.161.148-.239.123-.771.022-1.692-.253-2.444-.134-.364-.297-.65-.453-.813a.628.628 0 00-.107-.09L7.44 2.3zm9.174.04l-.002.001a.628.628 0 00-.107.09c-.156.163-.32.45-.453.814-.29.794-.387 1.776-.23 2.572l.058.097.008.014h.03a5.184 5.184 0 011.466.212c.086-1.124.038-2.043-.128-2.722-.09-.365-.21-.643-.349-.832l-.004-.006a.659.659 0 00-.285-.239h-.004z'/%3E%3C/g%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1.2em;height:1.2em}.i-lobe-icons\:openai,[i-lobe-icons\:openai=""]{--un-icon:url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='1em' height='1em' %3E%3Cg fill='currentColor' fill-rule='evenodd'%3E%3Cpath d='M21.55 10.004a5.416 5.416 0 00-.478-4.501c-1.217-2.09-3.662-3.166-6.05-2.66A5.59 5.59 0 0010.831 1C8.39.995 6.224 2.546 5.473 4.838A5.553 5.553 0 001.76 7.496a5.487 5.487 0 00.691 6.5 5.416 5.416 0 00.477 4.502c1.217 2.09 3.662 3.165 6.05 2.66A5.586 5.586 0 0013.168 23c2.443.006 4.61-1.546 5.361-3.84a5.553 5.553 0 003.715-2.66 5.488 5.488 0 00-.693-6.497v.001zm-8.381 11.558a4.199 4.199 0 01-2.675-.954c.034-.018.093-.05.132-.074l4.44-2.53a.71.71 0 00.364-.623v-6.176l1.877 1.069c.02.01.033.029.036.05v5.115c-.003 2.274-1.87 4.118-4.174 4.123zM4.192 17.78a4.059 4.059 0 01-.498-2.763c.032.02.09.055.131.078l4.44 2.53c.225.13.504.13.73 0l5.42-3.088v2.138a.068.068 0 01-.027.057L9.9 19.288c-1.999 1.136-4.552.46-5.707-1.51h-.001zM3.023 8.216A4.15 4.15 0 015.198 6.41l-.002.151v5.06a.711.711 0 00.364.624l5.42 3.087-1.876 1.07a.067.067 0 01-.063.005l-4.489-2.559c-1.995-1.14-2.679-3.658-1.53-5.63h.001zm15.417 3.54l-5.42-3.088L14.896 7.6a.067.067 0 01.063-.006l4.489 2.557c1.998 1.14 2.683 3.662 1.529 5.633a4.163 4.163 0 01-2.174 1.807V12.38a.71.71 0 00-.363-.623zm1.867-2.773a6.04 6.04 0 00-.132-.078l-4.44-2.53a.731.731 0 00-.729 0l-5.42 3.088V7.325a.068.068 0 01.027-.057L14.1 4.713c2-1.137 4.555-.46 5.707 1.513.487.833.664 1.809.499 2.757h.001zm-11.741 3.81l-1.877-1.068a.065.065 0 01-.036-.051V6.559c.001-2.277 1.873-4.122 4.181-4.12.976 0 1.92.338 2.671.954-.034.018-.092.05-.131.073l-4.44 2.53a.71.71 0 00-.365.623l-.003 6.173v.002zm1.02-2.168L12 9.25l2.414 1.375v2.75L12 14.75l-2.415-1.375v-2.75z'/%3E%3C/g%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1.2em;height:1.2em}.i-lobe-icons\:openrouter{--un-icon:url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='1em' height='1em' %3E%3Cg fill='currentColor' fill-rule='evenodd'%3E%3Cpath d='M16.804 1.957l7.22 4.105v.087L16.73 10.21l.017-2.117-.821-.03c-1.059-.028-1.611.002-2.268.11-1.064.175-2.038.577-3.147 1.352L8.345 11.03c-.284.195-.495.336-.68.455l-.515.322-.397.234.385.23.53.338c.476.314 1.17.796 2.701 1.866 1.11.775 2.083 1.177 3.147 1.352l.3.045c.694.091 1.375.094 2.825.033l.022-2.159 7.22 4.105v.087L16.589 22l.014-1.862-.635.022c-1.386.042-2.137.002-3.138-.162-1.694-.28-3.26-.926-4.881-2.059l-2.158-1.5a21.997 21.997 0 00-.755-.498l-.467-.28a55.927 55.927 0 00-.76-.43C2.908 14.73.563 14.116 0 14.116V9.888l.14.004c.564-.007 2.91-.622 3.809-1.124l1.016-.58.438-.274c.428-.28 1.072-.726 2.686-1.853 1.621-1.133 3.186-1.78 4.881-2.059 1.152-.19 1.974-.213 3.814-.138l.02-1.907z'/%3E%3C/g%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1.2em;height:1.2em}.i-lobe-icons\:together-color{--un-icon:url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='1em' height='1em' %3E%3Cg fill='currentColor' fill-rule='evenodd'%3E%3Cg%3E%3Cpath d='M17.385 11.23a4.615 4.615 0 100-9.23 4.615 4.615 0 000 9.23zm0 10.77a4.615 4.615 0 100-9.23 4.615 4.615 0 000 9.23zm-10.77 0a4.615 4.615 0 100-9.23 4.615 4.615 0 000 9.23z' opacity='.2'/%3E%3Ccircle cx='6.615' cy='6.615' fill='%230F6FFF' r='4.615'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1.2em;height:1.2em}.i-lobe-icons\:vllm-color{background:url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='1em' height='1em' %3E%3Cpath d='M0 4.973h9.324V23L0 4.973z' fill='%23FDB515'/%3E%3Cpath d='M13.986 4.351L22.378 0l-6.216 23H9.324l4.662-18.649z' fill='%2330A2FF'/%3E%3C/svg%3E") no-repeat;background-size:100% 100%;background-color:transparent;width:1.2em;height:1.2em}.i-lobe-icons\:xai{--un-icon:url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='1em' height='1em' %3E%3Cg fill='currentColor' fill-rule='evenodd'%3E%3Cpath d='M6.469 8.776L16.512 23h-4.464L2.005 8.776H6.47zm-.004 7.9l2.233 3.164L6.467 23H2l4.465-6.324zM22 2.582V23h-3.659V7.764L22 2.582zM22 1l-9.952 14.095-2.233-3.163L17.533 1H22z'/%3E%3C/g%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1.2em;height:1.2em}.i-lucide\:blocks,[i-lucide\:blocks=""]{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'%3E%3Crect width='7' height='7' x='14' y='3' rx='1'/%3E%3Cpath d='M10 21V8a1 1 0 0 0-1-1H4a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-5a1 1 0 0 0-1-1H3'/%3E%3C/g%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1.2em;height:1.2em}.i-lucide\:book{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1.2em;height:1.2em}.i-lucide\:book-copy{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'%3E%3Cpath d='M2 16V4a2 2 0 0 1 2-2h11'/%3E%3Cpath d='M22 18H11a2 2 0 1 0 0 4h10.5a.5.5 0 0 0 .5-.5v-15a.5.5 0 0 0-.5-.5H11a2 2 0 0 0-2 2v12m-4-6H4a2 2 0 1 0 0 4h1'/%3E%3C/g%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1.2em;height:1.2em}.i-lucide\:brain,[i-lucide\:brain=""]{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'%3E%3Cpath d='M12 5a3 3 0 1 0-5.997.125a4 4 0 0 0-2.526 5.77a4 4 0 0 0 .556 6.588A4 4 0 1 0 12 18Z'/%3E%3Cpath d='M12 5a3 3 0 1 1 5.997.125a4 4 0 0 1 2.526 5.77a4 4 0 0 1-.556 6.588A4 4 0 1 1 12 18Z'/%3E%3Cpath d='M15 13a4.5 4.5 0 0 1-3-4a4.5 4.5 0 0 1-3 4m8.599-6.5a3 3 0 0 0 .399-1.375m-11.995 0A3 3 0 0 0 6.401 6.5m-2.924 4.396a4 4 0 0 1 .585-.396m15.876 0a4 4 0 0 1 .585.396M6 18a4 4 0 0 1-1.967-.516m15.934 0A4 4 0 0 1 18 18'/%3E%3C/g%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1.2em;height:1.2em}.i-lucide\:check,[i-lucide\:check=""]{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1.2em;height:1.2em}.i-lucide\:cog,[i-lucide\:cog=""]{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'%3E%3Cpath d='M12 20a8 8 0 1 0 0-16a8 8 0 0 0 0 16'/%3E%3Cpath d='M12 14a2 2 0 1 0 0-4a2 2 0 0 0 0 4m0-12v2m0 18v-2m5 .66l-1-1.73m-5-8.66L7 3.34M20.66 17l-1.73-1M3.34 7l1.73 1M14 12h8M2 12h2m16.66-5l-1.73 1M3.34 17l1.73-1M17 3.34l-1 1.73m-5 8.66l-4 6.93'/%3E%3C/g%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1.2em;height:1.2em}.i-lucide\:ear{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'%3E%3Cpath d='M6 8.5a6.5 6.5 0 1 1 13 0c0 6-6 6-6 10a3.5 3.5 0 1 1-7 0'/%3E%3Cpath d='M15 8.5a2.5 2.5 0 0 0-5 0v1a2 2 0 1 1 0 4'/%3E%3C/g%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1.2em;height:1.2em}.i-lucide\:eye{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'%3E%3Cpath d='M2.062 12.348a1 1 0 0 1 0-.696a10.75 10.75 0 0 1 19.876 0a1 1 0 0 1 0 .696a10.75 10.75 0 0 1-19.876 0'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/g%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1.2em;height:1.2em}.i-lucide\:ghost,[i-lucide\:ghost=""]{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M9 10h.01M15 10h.01M12 2a8 8 0 0 0-8 8v12l3-3l2.5 2.5L12 19l2.5 2.5L17 19l3 3V10a8 8 0 0 0-8-8'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1.2em;height:1.2em}.i-lucide\:mic{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'%3E%3Cpath d='M12 2a3 3 0 0 0-3 3v7a3 3 0 0 0 6 0V5a3 3 0 0 0-3-3'/%3E%3Cpath d='M19 10v2a7 7 0 0 1-14 0v-2m7 9v3'/%3E%3C/g%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1.2em;height:1.2em}.i-lucide\:paintbrush,[i-lucide\:paintbrush=""]{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m14.622 17.897l-10.68-2.913M18.376 2.622a1 1 0 1 1 3.002 3.002L17.36 9.643a.5.5 0 0 0 0 .707l.944.944a2.41 2.41 0 0 1 0 3.408l-.944.944a.5.5 0 0 1-.707 0L8.354 7.348a.5.5 0 0 1 0-.707l.944-.944a2.41 2.41 0 0 1 3.408 0l.944.944a.5.5 0 0 0 .707 0zM9 8c-1.804 2.71-3.97 3.46-6.583 3.948a.507.507 0 0 0-.302.819l7.32 8.883a1 1 0 0 0 1.185.204C12.735 20.405 16 16.792 16 15'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1.2em;height:1.2em}.i-lucide\:person-standing,[i-lucide\:person-standing=""]{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'%3E%3Ccircle cx='12' cy='5' r='1'/%3E%3Cpath d='m9 20l3-6l3 6M6 8l6 2l6-2m-6 2v4'/%3E%3C/g%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1.2em;height:1.2em}.i-lucide\:volume-2,[i-lucide\:volume-2=""]{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M11 4.702a.705.705 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298zM16 9a5 5 0 0 1 0 6m3.364 3.364a9 9 0 0 0 0-12.728'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1.2em;height:1.2em}.i-simple-icons\:discord{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M20.317 4.37a19.8 19.8 0 0 0-4.885-1.515a.074.074 0 0 0-.079.037c-.21.375-.444.864-.608 1.25a18.3 18.3 0 0 0-5.487 0a13 13 0 0 0-.617-1.25a.08.08 0 0 0-.079-.037A19.7 19.7 0 0 0 3.677 4.37a.1.1 0 0 0-.032.027C.533 9.046-.32 13.58.099 18.057a.08.08 0 0 0 .031.057a19.9 19.9 0 0 0 5.993 3.03a.08.08 0 0 0 .084-.028a14 14 0 0 0 1.226-1.994a.076.076 0 0 0-.041-.106a13 13 0 0 1-1.872-.892a.077.077 0 0 1-.008-.128a10 10 0 0 0 .372-.292a.07.07 0 0 1 .077-.01c3.928 1.793 8.18 1.793 12.062 0a.07.07 0 0 1 .078.01q.181.149.373.292a.077.077 0 0 1-.006.127a12.3 12.3 0 0 1-1.873.892a.077.077 0 0 0-.041.107c.36.698.772 1.362 1.225 1.993a.08.08 0 0 0 .084.028a19.8 19.8 0 0 0 6.002-3.03a.08.08 0 0 0 .032-.054c.5-5.177-.838-9.674-3.549-13.66a.06.06 0 0 0-.031-.03M8.02 15.33c-1.182 0-2.157-1.085-2.157-2.419c0-1.333.956-2.419 2.157-2.419c1.21 0 2.176 1.096 2.157 2.42c0 1.333-.956 2.418-2.157 2.418m7.975 0c-1.183 0-2.157-1.085-2.157-2.419c0-1.333.955-2.419 2.157-2.419c1.21 0 2.176 1.096 2.157 2.42c0 1.333-.946 2.418-2.157 2.418'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1.2em;height:1.2em}.i-simple-icons\:elevenlabs{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M4.604 0v24h4.931V0zm9.86 0v24h4.933V0z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1.2em;height:1.2em}.i-solar\:add-circle-line-duotone,[i-solar\:add-circle-line-duotone=""]{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='none' stroke='currentColor' stroke-width='1.5'%3E%3Ccircle cx='12' cy='12' r='10' opacity='.5'/%3E%3Cpath stroke-linecap='round' d='M15 12h-3m0 0H9m3 0V9m0 3v3'/%3E%3C/g%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1.2em;height:1.2em}.i-solar\:alt-arrow-down-bold-duotone,[i-solar\:alt-arrow-down-bold-duotone=""]{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='m8.303 12.404l3.327 3.431c.213.22.527.22.74 0l6.43-6.63C19.201 8.79 18.958 8 18.43 8h-5.723z'/%3E%3Cpath fill='currentColor' d='M11.293 8H5.57c-.528 0-.771.79-.37 1.205l2.406 2.481z' opacity='.5'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1.2em;height:1.2em}.i-solar\:alt-arrow-left-bold-duotone,[i-solar\:alt-arrow-left-bold-duotone=""]{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M11.596 8.303L8.165 11.63a.5.5 0 0 0 0 .74l6.63 6.43c.414.401 1.205.158 1.205-.37v-5.723z'/%3E%3Cpath fill='currentColor' d='M16 11.293V5.57c0-.528-.791-.771-1.205-.37l-2.482 2.406z' opacity='.5'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1.2em;height:1.2em}.i-solar\:alt-arrow-left-line-duotone,[i-solar\:alt-arrow-left-line-duotone=""]{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m15 5l-6 7l6 7'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1.2em;height:1.2em}.i-solar\:alt-arrow-right-bold-duotone,[i-solar\:alt-arrow-right-bold-duotone=""]{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='m12.404 8.303l3.431 3.327c.22.213.22.527 0 .74l-6.63 6.43C8.79 19.201 8 18.958 8 18.43v-5.723z'/%3E%3Cpath fill='currentColor' d='M8 11.293V5.57c0-.528.79-.771 1.205-.37l2.481 2.406z' opacity='.5'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1.2em;height:1.2em}.i-solar\:arrow-right-line-duotone,[i-solar\:arrow-right-line-duotone=""]{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='none'%3E%3Cpath fill='currentColor' d='M4 11.25a.75.75 0 0 0 0 1.5zm0 1.5h16v-1.5H4z' opacity='.5'/%3E%3Cpath stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m14 6l6 6l-6 6'/%3E%3C/g%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1.2em;height:1.2em}.i-solar\:bug-bold-duotone,[i-solar\:bug-bold-duotone=""]{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' fill-rule='evenodd' d='M19 11.938V15a7 7 0 0 1-6.25 6.96V15a.75.75 0 0 0-1.5 0v6.96A7 7 0 0 1 5 15v-3.062A3.94 3.94 0 0 1 8.938 8h6.124A3.94 3.94 0 0 1 19 11.938' clip-rule='evenodd' opacity='.5'/%3E%3Cpath fill='currentColor' d='M19 14.75v-1.5h3a.75.75 0 0 1 0 1.5zm-1.504 4.586c.31-.393.58-.82.801-1.276l2.538 1.27a.75.75 0 1 1-.67 1.34zM5.703 18.06q.333.684.801 1.276l-2.669 1.335a.75.75 0 0 1-.67-1.342zM5 13.25H2a.75.75 0 0 0 0 1.5h3zm12.354-4.515l2.81-1.406a.75.75 0 1 1 .671 1.341L18.42 9.88a4 4 0 0 0-1.065-1.144M6.647 8.735c-.427.306-.79.695-1.067 1.144L3.165 8.67a.75.75 0 0 1 .67-1.341zM16.5 8.27V7.5a4.5 4.5 0 1 0-9 0v.77A3.9 3.9 0 0 1 8.938 8h6.124c.508 0 .993.096 1.438.27'/%3E%3Cpath fill='currentColor' d='M6.376 1.584a.75.75 0 0 0 .208 1.04l2.36 1.573a4.5 4.5 0 0 1 1.387-.877L7.416 1.376a.75.75 0 0 0-1.04.208m8.68 2.613a4.5 4.5 0 0 0-1.387-.877l2.915-1.944a.75.75 0 1 1 .832 1.248z' opacity='.5'/%3E%3Cpath fill='currentColor' fill-rule='evenodd' d='M12 14.25a.75.75 0 0 1 .75.75v7h-1.5v-7a.75.75 0 0 1 .75-.75' clip-rule='evenodd'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1.2em;height:1.2em}.i-solar\:check-circle-line-duotone,[i-solar\:check-circle-line-duotone=""]{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='none' stroke='currentColor' stroke-width='1.5'%3E%3Ccircle cx='12' cy='12' r='10' opacity='.5'/%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='m8.5 12.5l2 2l5-5'/%3E%3C/g%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1.2em;height:1.2em}.i-solar\:close-circle-line-duotone,[i-solar\:close-circle-line-duotone=""]{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='none' stroke='currentColor' stroke-width='1.5'%3E%3Ccircle cx='12' cy='12' r='10' opacity='.5'/%3E%3Cpath stroke-linecap='round' d='m14.5 9.5l-5 5m0-5l5 5'/%3E%3C/g%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1.2em;height:1.2em}.i-solar\:danger-triangle-bold-duotone,[i-solar\:danger-triangle-bold-duotone=""]{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M12 3c-2.31 0-3.77 2.587-6.688 7.762l-.364.644c-2.425 4.3-3.638 6.45-2.542 8.022S6.214 21 11.636 21h.728c5.422 0 8.134 0 9.23-1.572s-.117-3.722-2.542-8.022l-.364-.645C15.77 5.587 14.311 3 12 3' opacity='.5'/%3E%3Cpath fill='currentColor' d='M12 7.25a.75.75 0 0 1 .75.75v5a.75.75 0 0 1-1.5 0V8a.75.75 0 0 1 .75-.75M12 17a1 1 0 1 0 0-2a1 1 0 0 0 0 2'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1.2em;height:1.2em}.i-solar\:dialog-2-bold-duotone,[i-solar\:dialog-2-bold-duotone=""]{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' fill-rule='evenodd' d='m10.404 22.48l.275-.465c.44-.745.66-1.117 1.012-1.325c.351-.207.81-.222 1.725-.252c.859-.027 1.436-.102 1.93-.306a4.24 4.24 0 0 0 2.295-2.296c.323-.779.323-1.767.323-3.743v-.848c0-2.777 0-4.165-.625-5.185c-.35-.57-.83-1.05-1.4-1.4c-1.02-.625-2.408-.625-5.185-.625H8.21c-2.777 0-4.165 0-5.185.625c-.57.35-1.05.83-1.4 1.4C1 9.08 1 10.468 1 13.245v.848c0 1.976 0 2.964.323 3.744a4.24 4.24 0 0 0 2.295 2.295c.494.204 1.07.28 1.93.306c.916.03 1.374.045 1.725.252c.35.208.571.58 1.012 1.325l.275.465c.41.692 1.434.692 1.844 0m2.789-7.963a1.06 1.06 0 1 0 0-2.12a1.06 1.06 0 0 0 0 2.12m-2.65-1.06a1.06 1.06 0 1 1-2.121 0a1.06 1.06 0 0 1 2.12 0m-4.772 1.06a1.06 1.06 0 1 0 0-2.12a1.06 1.06 0 0 0 0 2.12' clip-rule='evenodd'/%3E%3Cpath fill='currentColor' d='M15.486 1c1.267 0 2.274 0 3.082.077c.829.079 1.53.244 2.153.626a4.8 4.8 0 0 1 1.575 1.575c.383.624.548 1.325.627 2.153c.076.808.076 1.816.076 3.082v.866c0 .901 0 1.619-.04 2.2c-.04.595-.125 1.106-.323 1.584a4.77 4.77 0 0 1-2.67 2.617q-.21.082-.368.135h-1.65c.016-.499.016-1.093.016-1.822v-.848c0-2.777 0-4.165-.625-5.185c-.35-.57-.83-1.05-1.4-1.4c-1.02-.625-2.408-.625-5.185-.625H8.21c-.986 0-1.796 0-2.478.028v-1.65q.05-.17.13-.396q.133-.389.346-.739a4.8 4.8 0 0 1 1.576-1.575c.624-.382 1.324-.547 2.153-.626C10.745 1 11.752 1 13.019 1z' opacity='.5'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1.2em;height:1.2em}.i-solar\:face-scan-circle-bold-duotone,[i-solar\:face-scan-circle-bold-duotone=""]{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' fill-rule='evenodd' d='M10.801 2.57a.71.71 0 0 1-.555.838a8.78 8.78 0 0 0-6.838 6.838a.71.71 0 1 1-1.394-.283a10.2 10.2 0 0 1 7.949-7.949a.71.71 0 0 1 .838.556M2.57 13.199a.71.71 0 0 1 .838.555a8.78 8.78 0 0 0 6.838 6.838a.71.71 0 1 1-.283 1.394a10.2 10.2 0 0 1-7.948-7.949a.71.71 0 0 1 .555-.838M13.199 2.57a.71.71 0 0 1 .838-.556a10.2 10.2 0 0 1 7.949 7.949a.711.711 0 0 1-1.394.283a8.78 8.78 0 0 0-6.838-6.838a.71.71 0 0 1-.555-.838m8.231 10.629a.71.71 0 0 1 .556.838a10.2 10.2 0 0 1-7.949 7.949a.711.711 0 0 1-.283-1.394a8.78 8.78 0 0 0 6.838-6.838a.71.71 0 0 1 .838-.555' clip-rule='evenodd'/%3E%3Cpath fill='currentColor' d='M12 19.583a7.583 7.583 0 1 0 0-15.166a7.583 7.583 0 0 0 0 15.166' opacity='.5'/%3E%3Cpath fill='currentColor' d='M8.94 14.539a.71.71 0 0 1 .995-.148c.59.437 1.3.69 2.065.69a3.45 3.45 0 0 0 2.065-.69a.71.71 0 1 1 .847 1.142a4.87 4.87 0 0 1-2.912.97a4.87 4.87 0 0 1-2.911-.97a.71.71 0 0 1-.148-.994m5.547-2.895c.458 0 .83-.557.83-1.244s-.372-1.244-.83-1.244s-.83.557-.83 1.244s.372 1.244.83 1.244m-4.976 0c.458 0 .83-.557.83-1.244s-.372-1.244-.83-1.244s-.83.557-.83 1.244s.372 1.244.83 1.244'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1.2em;height:1.2em}.i-solar\:info-circle-line-duotone,[i-solar\:info-circle-line-duotone=""]{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='none'%3E%3Ccircle cx='12' cy='12' r='10' stroke='currentColor' stroke-width='1.5' opacity='.5'/%3E%3Cpath stroke='currentColor' stroke-linecap='round' stroke-width='1.5' d='M12 17v-6'/%3E%3Ccircle cx='1' cy='1' r='1' fill='currentColor' transform='matrix(1 0 0 -1 11 9)'/%3E%3C/g%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1.2em;height:1.2em}.i-solar\:magic-stick-2-bold-duotone,[i-solar\:magic-stick-2-bold-duotone=""]{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M16.714 2.127c-.836-.43-1.922.263-4.095 1.65l-.562.36c-.618.394-.927.591-1.273.648c-.347.056-.692-.034-1.382-.215l-.628-.164C6.345 3.769 5.13 3.45 4.436 4.13s-.412 1.908.157 4.363l.147.635c.161.697.242 1.046.177 1.393c-.066.346-.27.65-.68 1.26l-.372.555c-1.439 2.145-2.158 3.217-1.753 4.067c.406.85 1.668.915 4.192 1.045l.654.033c.717.037 1.076.056 1.382.213c.306.158.524.436.962.994l.398.507c1.539 1.962 2.309 2.943 3.255 2.788c.945-.154 1.441-1.342 2.433-3.717l.257-.614c.282-.675.422-1.012.677-1.261c.255-.25.595-.382 1.274-.647l.618-.24c2.39-.933 3.586-1.4 3.765-2.345s-.777-1.744-2.688-3.342l-.495-.413c-.543-.454-.815-.68-.963-.992s-.158-.672-.175-1.393l-.016-.657c-.062-2.538-.093-3.806-.928-4.236'/%3E%3Cpath fill='currentColor' d='M15.93 16.991c.127-.268.239-.45.392-.6c.172-.167.382-.282.71-.42l4.498 4.499a.75.75 0 0 1-1.06 1.06z' opacity='.5'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1.2em;height:1.2em}.i-solar\:magic-stick-3-bold-duotone,[i-solar\:magic-stick-3-bold-duotone=""]{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M3.845 3.845a2.883 2.883 0 0 0 0 4.077L5.432 9.51c.012-.014.555.503.568.49l4-4c.013-.013-.504-.556-.49-.568L7.922 3.845a2.883 2.883 0 0 0-4.077 0m1.288 11.462a.483.483 0 0 1 .9 0l.157.4a.48.48 0 0 0 .272.273l.398.157a.486.486 0 0 1 0 .903l-.398.158a.48.48 0 0 0-.272.273l-.157.4a.483.483 0 0 1-.9 0l-.157-.4a.48.48 0 0 0-.272-.273l-.398-.158a.486.486 0 0 1 0-.903l.398-.157a.48.48 0 0 0 .272-.274z' opacity='.5'/%3E%3Cpath fill='currentColor' d='M19.967 9.13a.483.483 0 0 1 .9 0l.156.399c.05.125.148.224.273.273l.398.158a.486.486 0 0 1 0 .902l-.398.158a.5.5 0 0 0-.273.273l-.156.4a.483.483 0 0 1-.9 0l-.157-.4a.5.5 0 0 0-.272-.273l-.398-.158a.486.486 0 0 1 0-.902l.398-.158a.5.5 0 0 0 .272-.273z' opacity='.2'/%3E%3Cpath fill='currentColor' d='M16.1 2.307a.483.483 0 0 1 .9 0l.43 1.095a.48.48 0 0 0 .272.274l1.091.432a.486.486 0 0 1 0 .903l-1.09.432a.5.5 0 0 0-.273.273L17 6.81a.483.483 0 0 1-.9 0l-.43-1.095a.5.5 0 0 0-.273-.273l-1.09-.432a.486.486 0 0 1 0-.903l1.09-.432a.5.5 0 0 0 .273-.274z' opacity='.7'/%3E%3Cpath fill='currentColor' d='M10.568 6.49c-.012.014-.555-.503-.568-.49l-4 4c-.013.013.504.556.49.568l9.588 9.587a2.883 2.883 0 1 0 4.078-4.077z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1.2em;height:1.2em}.i-solar\:magnifer-line-duotone,[i-solar\:magnifer-line-duotone=""]{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cdefs%3E%3Cmask id='solarMagniferLineDuotone0'%3E%3Cg fill='none' stroke-width='1.5'%3E%3Ccircle cx='11.5' cy='11.5' r='9.5' stroke='gray'/%3E%3Cpath stroke='%23fff' stroke-linecap='round' d='M18.5 18.5L22 22'/%3E%3C/g%3E%3C/mask%3E%3C/defs%3E%3Cpath fill='currentColor' d='M0 0h24v24H0z' mask='url(%23solarMagniferLineDuotone0)'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1.2em;height:1.2em}.i-solar\:microphone-2-bold-duotone,[i-solar\:microphone-2-bold-duotone=""]{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' fill-rule='evenodd' d='M4 9a.75.75 0 0 1 .75.75v1a7.25 7.25 0 1 0 14.5 0v-1a.75.75 0 0 1 1.5 0v1a8.75 8.75 0 0 1-8 8.718v2.282a.75.75 0 0 1-1.5 0v-2.282a8.75 8.75 0 0 1-8-8.718v-1A.75.75 0 0 1 4 9' clip-rule='evenodd'/%3E%3Cpath fill='currentColor' d='M9.75 7.75A.75.75 0 0 0 9 7H6.298a5.751 5.751 0 0 1 11.404 0H13.5a.75.75 0 0 0 0 1.5h4.25V10H13.5a.75.75 0 0 0 0 1.5h4.201a5.751 5.751 0 0 1-11.403 0H9A.75.75 0 0 0 9 10H6.25V8.5H9a.75.75 0 0 0 .75-.75' opacity='.5'/%3E%3Cpath fill='currentColor' d='M12.75 10.75c0 .414.336.75.75.75h4.201l.049-1.5H13.5a.75.75 0 0 0-.75.75m0-3c0 .414.336.75.75.75h4.25L17.701 7H13.5a.75.75 0 0 0-.75.75m-3 0A.75.75 0 0 0 9 7H6.298L6.25 8.5H9a.75.75 0 0 0 .75-.75m0 3A.75.75 0 0 0 9 10H6.25l.048 1.5H9a.75.75 0 0 0 .75-.75'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1.2em;height:1.2em}.i-solar\:moon-stars-bold-duotone,[i-solar\:moon-stars-bold-duotone=""]{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M19.9 2.307a.483.483 0 0 0-.9 0l-.43 1.095a.48.48 0 0 1-.272.274l-1.091.432a.486.486 0 0 0 0 .903l1.091.432a.48.48 0 0 1 .272.273L19 6.81c.162.41.74.41.9 0l.43-1.095a.48.48 0 0 1 .273-.273l1.091-.432a.486.486 0 0 0 0-.903l-1.091-.432a.48.48 0 0 1-.273-.274zM16.033 8.13a.483.483 0 0 0-.9 0l-.157.399a.48.48 0 0 1-.272.273l-.398.158a.486.486 0 0 0 0 .903l.398.157c.125.05.223.148.272.274l.157.399c.161.41.739.41.9 0l.157-.4a.48.48 0 0 1 .272-.273l.398-.157a.486.486 0 0 0 0-.903l-.398-.158a.48.48 0 0 1-.272-.273z'/%3E%3Cpath fill='currentColor' d='M12 22c5.523 0 10-4.477 10-10c0-.463-.694-.54-.933-.143a6.5 6.5 0 1 1-8.924-8.924C12.54 2.693 12.463 2 12 2C6.477 2 2 6.477 2 12s4.477 10 10 10' opacity='.5'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1.2em;height:1.2em}.i-solar\:pallete-2-bold-duotone,[i-solar\:pallete-2-bold-duotone=""]{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M10.847 21.934C5.867 21.362 2 17.133 2 12C2 6.477 6.477 2 12 2s10 4.477 10 10c0 5.157-3.283 4.733-6.086 4.37c-1.618-.209-3.075-.397-3.652.518c-.395.626.032 1.406.555 1.929a1.673 1.673 0 0 1 0 2.366c-.523.523-1.235.836-1.97.751' opacity='.5'/%3E%3Cpath fill='currentColor' d='M11.085 7a1.5 1.5 0 1 1-3 0a1.5 1.5 0 0 1 3 0M6.5 13a1.5 1.5 0 1 0 0-3a1.5 1.5 0 0 0 0 3m11 0a1.5 1.5 0 1 0 0-3a1.5 1.5 0 0 0 0 3m-3-4.5a1.5 1.5 0 1 0 0-3a1.5 1.5 0 0 0 0 3'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1.2em;height:1.2em}.i-solar\:people-nearby-bold-duotone,[i-solar\:people-nearby-bold-duotone=""]{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M19.717 20.362C21.143 19.585 22 18.587 22 17.5c0-1.152-.963-2.204-2.546-3C17.623 13.58 14.962 13 12 13s-5.623.58-7.454 1.5C2.963 15.296 2 16.348 2 17.5s.963 2.204 2.546 3C6.377 21.42 9.038 22 12 22c3.107 0 5.882-.637 7.717-1.638' opacity='.6'/%3E%3Cpath fill='currentColor' fill-rule='evenodd' d='M9.25 4a2.75 2.75 0 1 1 5.5 0a2.75 2.75 0 0 1-5.5 0' clip-rule='evenodd'/%3E%3Cpath fill='currentColor' d='m8.223 11.574l-2.175-.725a1.532 1.532 0 0 1 .805-2.952l1.898.407l.21.044a15 15 0 0 0 6.288-.044l1.897-.407a1.532 1.532 0 0 1 .806 2.952l-2.175.725c-.263.088-.394.132-.493.193a1 1 0 0 0-.466.986c.016.115.066.244.165.503l1.247 3.242a1.473 1.473 0 0 1-2.654 1.26L12 15l-1.576 2.757a1.473 1.473 0 0 1-2.654-1.26l1.247-3.241c.1-.259.149-.388.165-.503a1 1 0 0 0-.466-.986c-.099-.061-.23-.105-.493-.193'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1.2em;height:1.2em}.i-solar\:play-circle-bold-duotone,[i-solar\:play-circle-bold-duotone=""]{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' fill-rule='evenodd' d='M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2S2 6.477 2 12s4.477 10 10 10' clip-rule='evenodd' opacity='.5'/%3E%3Cpath fill='currentColor' d='m15.414 13.059l-4.72 2.787C9.934 16.294 9 15.71 9 14.786V9.214c0-.924.934-1.507 1.694-1.059l4.72 2.787c.781.462.781 1.656 0 2.118'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1.2em;height:1.2em}.i-solar\:refresh-bold-duotone,[i-solar\:refresh-bold-duotone=""]{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M12.079 2.25c-4.794 0-8.734 3.663-9.118 8.333H2a.75.75 0 0 0-.528 1.283l1.68 1.666a.75.75 0 0 0 1.056 0l1.68-1.666a.75.75 0 0 0-.528-1.283h-.893c.38-3.831 3.638-6.833 7.612-6.833a7.66 7.66 0 0 1 6.537 3.643a.75.75 0 1 0 1.277-.786A9.16 9.16 0 0 0 12.08 2.25'/%3E%3Cpath fill='currentColor' d='M20.841 10.467a.75.75 0 0 0-1.054 0L18.1 12.133a.75.75 0 0 0 .527 1.284h.899c-.381 3.83-3.651 6.833-7.644 6.833a7.7 7.7 0 0 1-6.565-3.644a.75.75 0 1 0-1.276.788a9.2 9.2 0 0 0 7.84 4.356c4.809 0 8.766-3.66 9.151-8.333H22a.75.75 0 0 0 .527-1.284z' opacity='.5'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1.2em;height:1.2em}.i-solar\:running-2-line-duotone,[i-solar\:running-2-line-duotone=""]{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='none'%3E%3Ccircle cx='18.5' cy='4.5' r='2.5' stroke='currentColor' stroke-width='1.5' opacity='.5'/%3E%3Cpath stroke='currentColor' stroke-linecap='round' stroke-width='1.5' d='m9 17l-1 1.2c-.738.886-1.107 1.328-1.61 1.564S5.31 20 4.157 20H3'/%3E%3Cpath fill='currentColor' d='M13.65 22a.75.75 0 0 0 1.5 0zm-1.085-5.754l.453-.598zm1.184 1.015l.587-.466zm.557 1.12l.727-.186zm-.802-6.826a.75.75 0 0 0-1.009-1.11zm-2.652 1.61l.703.26zm.07 1.555l-.677.323zm2.728 5.219v2.06h1.5v-2.06zm-1.538-3.095c.663.502.887.679 1.05.884l1.174-.934c-.308-.387-.717-.69-1.319-1.146zm3.038 3.095c0-.755.006-1.264-.117-1.744l-1.453.373c.065.254.07.538.07 1.37zm-1.988-2.211c.197.247.339.534.417.84l1.454-.373a3.75 3.75 0 0 0-.697-1.4zm-.667-7.283c-.42.381-.945.836-1.354 1.224c-.21.198-.41.398-.573.586c-.149.172-.327.4-.42.649l1.407.521c-.007.021.014-.035.146-.187c.116-.134.276-.295.471-.48c.4-.38.865-.778 1.332-1.203zm.523 5.203c-.488-.37-.818-.62-1.056-.832c-.233-.208-.32-.33-.363-.418l-1.354.645c.167.35.423.63.72.894c.292.26.679.552 1.147.907zm-2.87-2.744a2.75 2.75 0 0 0 .097 2.139l1.354-.645a1.25 1.25 0 0 1-.044-.973z' opacity='.5'/%3E%3Cpath fill='currentColor' d='m5.436 8.82l-.37-.652zm-1.807.164a.75.75 0 1 0 .742 1.304zm9.778-1.627l-.286.693zm-2.96-.715l-.055-.748zM21 12.75a.75.75 0 1 0 0-1.5zm-5.232-3.213l-.67.335zM5.065 8.168l-1.436.816l.742 1.304l1.435-.816zm8.627-1.505c-1.344-.553-2.08-.857-3.3-.769l.11 1.496c.823-.06 1.255.099 2.62.66zm-7.886 2.81c2.502-1.422 3.552-2 4.695-2.083l-.109-1.496c-1.56.114-2.949.923-5.327 2.274zm13.949 3.276H21v-1.5h-1.245zm-4.658-2.878a5.21 5.21 0 0 0 4.658 2.878v-1.5A3.71 3.71 0 0 1 16.439 9.2zm1.342-.67a5.33 5.33 0 0 0-2.747-2.538l-.57 1.387c.86.354 1.564 1 1.975 1.821z'/%3E%3C/g%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1.2em;height:1.2em}.i-solar\:settings-bold-duotone,[i-solar\:settings-bold-duotone=""]{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' fill-rule='evenodd' d='M14.279 2.152C13.909 2 13.439 2 12.5 2s-1.408 0-1.779.152a2 2 0 0 0-1.09 1.083c-.094.223-.13.484-.145.863a1.62 1.62 0 0 1-.796 1.353a1.64 1.64 0 0 1-1.579.008c-.338-.178-.583-.276-.825-.308a2.03 2.03 0 0 0-1.49.396c-.318.242-.553.646-1.022 1.453c-.47.807-.704 1.21-.757 1.605c-.07.526.074 1.058.4 1.479c.148.192.357.353.68.555c.477.297.783.803.783 1.361s-.306 1.064-.782 1.36c-.324.203-.533.364-.682.556a2 2 0 0 0-.399 1.479c.053.394.287.798.757 1.605s.704 1.21 1.022 1.453c.424.323.96.465 1.49.396c.242-.032.487-.13.825-.308a1.64 1.64 0 0 1 1.58.008c.486.28.774.795.795 1.353c.015.38.051.64.145.863c.204.49.596.88 1.09 1.083c.37.152.84.152 1.779.152s1.409 0 1.779-.152a2 2 0 0 0 1.09-1.083c.094-.223.13-.483.145-.863c.02-.558.309-1.074.796-1.353a1.64 1.64 0 0 1 1.579-.008c.338.178.583.276.825.308c.53.07 1.066-.073 1.49-.396c.318-.242.553-.646 1.022-1.453c.47-.807.704-1.21.757-1.605a2 2 0 0 0-.4-1.479c-.148-.192-.357-.353-.68-.555c-.477-.297-.783-.803-.783-1.361s.306-1.064.782-1.36c.324-.203.533-.364.682-.556a2 2 0 0 0 .399-1.479c-.053-.394-.287-.798-.757-1.605s-.704-1.21-1.022-1.453a2.03 2.03 0 0 0-1.49-.396c-.242.032-.487.13-.825.308a1.64 1.64 0 0 1-1.58-.008a1.62 1.62 0 0 1-.795-1.353c-.015-.38-.051-.64-.145-.863a2 2 0 0 0-1.09-1.083' clip-rule='evenodd' opacity='.5'/%3E%3Cpath fill='currentColor' d='M15.523 12c0 1.657-1.354 3-3.023 3s-3.023-1.343-3.023-3S10.83 9 12.5 9s3.023 1.343 3.023 3'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1.2em;height:1.2em}.i-solar\:settings-minimalistic-bold-duotone,[i-solar\:settings-minimalistic-bold-duotone=""]{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' fill-rule='evenodd' d='M12.428 2c-1.114 0-2.129.6-4.157 1.802l-.686.406C5.555 5.41 4.542 6.011 3.985 7c-.557.99-.557 2.19-.557 4.594v.812c0 2.403 0 3.605.557 4.594s1.57 1.59 3.6 2.791l.686.407C10.299 21.399 11.314 22 12.428 22s2.128-.6 4.157-1.802l.686-.407c2.028-1.2 3.043-1.802 3.6-2.791c.557-.99.557-2.19.557-4.594v-.812c0-2.403 0-3.605-.557-4.594s-1.572-1.59-3.6-2.792l-.686-.406C14.555 2.601 13.542 2 12.428 2' clip-rule='evenodd' opacity='.5'/%3E%3Cpath fill='currentColor' d='M12.428 8.25a3.75 3.75 0 1 0 0 7.5a3.75 3.75 0 0 0 0-7.5'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1.2em;height:1.2em}.i-solar\:star-fall-2-bold-duotone,[i-solar\:star-fall-2-bold-duotone=""]{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M11.58 4.776c.695-1.77 1.043-2.656 1.769-2.765c.726-.11 1.35.63 2.6 2.109l.323.382c.355.42.532.63.774.75c.24.12.518.137 1.074.17l.506.029c1.955.114 2.932.172 3.271.81c.34.64-.184 1.438-1.231 3.033l-.271.413c-.298.453-.447.68-.487.939s.033.52.179 1.043l.133.477c.513 1.842.77 2.762.253 3.266c-.517.505-1.465.258-3.361-.235l-.49-.127c-.54-.14-.809-.21-1.075-.17s-.499.185-.964.476l-.424.265c-1.638 1.024-2.456 1.536-3.115 1.208c-.659-.327-.72-1.277-.845-3.177l-.033-.492c-.035-.54-.053-.81-.177-1.044s-.34-.406-.774-.75l-.395-.312C7.294 9.865 6.53 9.26 6.64 8.554s1.02-1.047 2.839-1.729l.47-.176c.518-.194.776-.29.965-.475c.19-.185.288-.437.486-.94z'/%3E%3Cpath fill='currentColor' d='M5.31 9.593C2.873 11.92 1.275 15.806 2.331 22c.943-2.603 3.526-4.76 6.581-6.047c-.106-.593-.154-1.317-.204-2.08l-.039-.595a22 22 0 0 0-.032-.43l-.086-.071l-.268-.215l-.475-.376c-.694-.55-1.34-1.06-1.783-1.532c-.253-.269-.536-.624-.715-1.061m5.037 5.83l-.015-.114l.056.101z' opacity='.5'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1.2em;height:1.2em}.i-solar\:stop-circle-bold-duotone,[i-solar\:stop-circle-bold-duotone=""]{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12S6.477 2 12 2s10 4.477 10 10' opacity='.5'/%3E%3Cpath fill='currentColor' d='M8.586 8.586C8 9.172 8 10.114 8 12s0 2.828.586 3.414S10.114 16 12 16s2.828 0 3.414-.586S16 13.886 16 12s0-2.828-.586-3.414S13.886 8 12 8s-2.828 0-3.414.586'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1.2em;height:1.2em}.i-solar\:sun-fog-bold-duotone,[i-solar\:sun-fog-bold-duotone=""]{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' fill-rule='evenodd' d='M7.25 22a.75.75 0 0 1 .75-.75h8a.75.75 0 0 1 0 1.5H8a.75.75 0 0 1-.75-.75M12 1.25a.75.75 0 0 1 .75.75v1a.75.75 0 0 1-1.5 0V2a.75.75 0 0 1 .75-.75M1.25 12a.75.75 0 0 1 .75-.75h1a.75.75 0 0 1 0 1.5H2a.75.75 0 0 1-.75-.75m19 0a.75.75 0 0 1 .75-.75h1a.75.75 0 0 1 0 1.5h-1a.75.75 0 0 1-.75-.75M6.083 15.25H2a.75.75 0 0 0 0 1.5h20a.75.75 0 0 0 0-1.5z' clip-rule='evenodd'/%3E%3Cpath fill='currentColor' d='M4.25 19a.75.75 0 0 1 .75-.75h14a.75.75 0 0 1 0 1.5H5a.75.75 0 0 1-.75-.75m.148-14.602a.75.75 0 0 1 1.061 0l.393.393a.75.75 0 0 1-1.06 1.06l-.394-.392a.75.75 0 0 1 0-1.06m15.202 0a.75.75 0 0 1 0 1.06l-.392.393a.75.75 0 0 1-1.06-1.06l.392-.393a.75.75 0 0 1 1.06 0M5.25 12c0 1.178.302 2.286.833 3.25h11.834A6.75 6.75 0 1 0 5.25 12' opacity='.5'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1.2em;height:1.2em}.i-solar\:trash-bin-trash-bold-duotone,[i-solar\:trash-bin-trash-bold-duotone=""]{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M3 6.386c0-.484.345-.877.771-.877h2.665c.529-.016.996-.399 1.176-.965l.03-.1l.115-.391c.07-.24.131-.45.217-.637c.338-.739.964-1.252 1.687-1.383c.184-.033.378-.033.6-.033h3.478c.223 0 .417 0 .6.033c.723.131 1.35.644 1.687 1.383c.086.187.147.396.218.637l.114.391l.03.1c.18.566.74.95 1.27.965h2.57c.427 0 .772.393.772.877s-.345.877-.771.877H3.77c-.425 0-.77-.393-.77-.877'/%3E%3Cpath fill='currentColor' fill-rule='evenodd' d='M9.425 11.482c.413-.044.78.273.821.707l.5 5.263c.041.433-.26.82-.671.864c-.412.043-.78-.273-.821-.707l-.5-5.263c-.041-.434.26-.821.671-.864m5.15 0c.412.043.713.43.671.864l-.5 5.263c-.04.434-.408.75-.82.707c-.413-.044-.713-.43-.672-.864l.5-5.264c.041-.433.409-.75.82-.707' clip-rule='evenodd'/%3E%3Cpath fill='currentColor' d='M11.596 22h.808c2.783 0 4.174 0 5.08-.886c.904-.886.996-2.339 1.181-5.245l.267-4.188c.1-1.577.15-2.366-.303-2.865c-.454-.5-1.22-.5-2.753-.5H8.124c-1.533 0-2.3 0-2.753.5s-.404 1.288-.303 2.865l.267 4.188c.185 2.906.277 4.36 1.182 5.245c.905.886 2.296.886 5.079.886' opacity='.5'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1.2em;height:1.2em}.i-svg-spinners\:bouncing-ball,[i-svg-spinners\:bouncing-ball=""]{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cellipse cx='12' cy='5' fill='currentColor' rx='4' ry='4'%3E%3Canimate id='svgSpinnersBouncingBall0' fill='freeze' attributeName='cy' begin='0;svgSpinnersBouncingBall2.end' calcMode='spline' dur='0.375s' keySplines='.33,0,.66,.33' values='5;20'/%3E%3Canimate attributeName='rx' begin='svgSpinnersBouncingBall0.end' calcMode='spline' dur='0.05s' keySplines='.33,0,.66,.33;.33,.66,.66,1' values='4;4.8;4'/%3E%3Canimate attributeName='ry' begin='svgSpinnersBouncingBall0.end' calcMode='spline' dur='0.05s' keySplines='.33,0,.66,.33;.33,.66,.66,1' values='4;3;4'/%3E%3Canimate id='svgSpinnersBouncingBall1' attributeName='cy' begin='svgSpinnersBouncingBall0.end' calcMode='spline' dur='0.025s' keySplines='.33,0,.66,.33' values='20;20.5'/%3E%3Canimate id='svgSpinnersBouncingBall2' attributeName='cy' begin='svgSpinnersBouncingBall1.end' calcMode='spline' dur='0.4s' keySplines='.33,.66,.66,1' values='20.5;5'/%3E%3C/ellipse%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1.2em;height:1.2em}.i-vscode-icons\:file-type-minecraft{background:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 32 32' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='%2352a535' d='M30 2H2v28h28z'/%3E%3Cpath fill='%2386d562' d='M24.4 13.2h-5.6v.47h5.6zm-5.6 8.4h-5.6v.47h5.6zm2.8 2.8h-2.8v.47h2.8zm-8.4 0h-2.8v.47h2.8zm0-11.2H7.6v.47h5.6z'/%3E%3Cpath d='M24.4 13.2V7.6h-5.6v5.6h-5.6V16h-2.8v8.4h2.8v-2.8h5.6v2.8h2.8V16h-2.8v-2.8zM13.2 7.6H7.6v5.6h5.6z'/%3E%3Cpath fill='%232a641c' d='M24.4 7.6h-5.6v.47h5.6zm-5.6 5.6h-5.6v.47h5.6zm-5.6-5.6H7.6v.47h5.6zm0 8.4h-2.8v.47h2.8zm8.4 0h-2.8v.47h2.8z'/%3E%3C/svg%3E") no-repeat;background-size:100% 100%;background-color:transparent;width:1.2em;height:1.2em}.prose :where(h1,h2,h3,h4,h5,h6):not(:where(.not-prose,.not-prose *)){color:var(--un-prose-headings);font-weight:600;line-height:1.25}.prose :where(a):not(:where(.not-prose,.not-prose *)){color:var(--un-prose-links);text-decoration:underline;font-weight:500}.prose :where(a code):not(:where(.not-prose,.not-prose *)){color:var(--un-prose-links)}.prose :where(p,ul,ol,pre):not(:where(.not-prose,.not-prose *)){margin:1em 0;line-height:1.75}.prose :where(blockquote):not(:where(.not-prose,.not-prose *)){margin:1em 0;padding-left:1em;font-style:italic;border-left:.25em solid var(--un-prose-borders)}.prose :where(h1):not(:where(.not-prose,.not-prose *)){margin:1rem 0;font-size:2.25em}.prose :where(h2):not(:where(.not-prose,.not-prose *)){margin:1.75em 0 .5em;font-size:1.75em}.prose :where(h3):not(:where(.not-prose,.not-prose *)){margin:1.5em 0 .5em;font-size:1.375em}.prose :where(h4):not(:where(.not-prose,.not-prose *)){margin:1em 0;font-size:1.125em}.prose :where(img,video):not(:where(.not-prose,.not-prose *)){max-width:100%}.prose :where(figure,picture):not(:where(.not-prose,.not-prose *)){margin:1em 0}.prose :where(figcaption):not(:where(.not-prose,.not-prose *)){color:var(--un-prose-captions);font-size:.875em}.prose :where(code):not(:where(.not-prose,.not-prose *)){color:var(--un-prose-code);font-size:.875em;font-weight:600;font-family:DM Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.prose :where(:not(pre)>code):not(:where(.not-prose,.not-prose *)):before,.prose :where(:not(pre)>code):not(:where(.not-prose,.not-prose *)):after{content:"`"}.prose :where(pre):not(:where(.not-prose,.not-prose *)){padding:1.25rem 1.5rem;overflow-x:auto;border-radius:.375rem}.prose :where(pre,code):not(:where(.not-prose,.not-prose *)){white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-hyphens:none;-moz-hyphens:none;hyphens:none;background:transparent}.prose :where(pre code):not(:where(.not-prose,.not-prose *)){font-weight:inherit}.prose :where(ol,ul):not(:where(.not-prose,.not-prose *)){padding-left:1.25em}.prose :where(ol):not(:where(.not-prose,.not-prose *)){list-style-type:decimal}.prose :where(ol[type=A]):not(:where(.not-prose,.not-prose *)){list-style-type:upper-alpha}.prose :where(ol[type=a]):not(:where(.not-prose,.not-prose *)){list-style-type:lower-alpha}.prose :where(ol[type=A s]):not(:where(.not-prose,.not-prose *)){list-style-type:upper-alpha}.prose :where(ol[type=a s]):not(:where(.not-prose,.not-prose *)){list-style-type:lower-alpha}.prose :where(ol[type=I]):not(:where(.not-prose,.not-prose *)){list-style-type:upper-roman}.prose :where(ol[type=i]):not(:where(.not-prose,.not-prose *)){list-style-type:lower-roman}.prose :where(ol[type=I s]):not(:where(.not-prose,.not-prose *)){list-style-type:upper-roman}.prose :where(ol[type=i s]):not(:where(.not-prose,.not-prose *)){list-style-type:lower-roman}.prose :where(ol[type="1"]):not(:where(.not-prose,.not-prose *)){list-style-type:decimal}.prose :where(ul):not(:where(.not-prose,.not-prose *)){list-style-type:disc}.prose :where(ol>li):not(:where(.not-prose,.not-prose *))::marker,.prose :where(ul>li):not(:where(.not-prose,.not-prose *))::marker,.prose :where(summary):not(:where(.not-prose,.not-prose *))::marker{color:var(--un-prose-lists)}.prose :where(hr):not(:where(.not-prose,.not-prose *)){margin:2em 0;border:1px solid var(--un-prose-hr)}.prose :where(table):not(:where(.not-prose,.not-prose *)){display:block;margin:1em 0;border-collapse:collapse;overflow-x:auto}.prose :where(tr):not(:where(.not-prose,.not-prose *)):nth-child(2n){background:var(--un-prose-bg-soft)}.prose :where(td,th):not(:where(.not-prose,.not-prose *)){border:1px solid var(--un-prose-borders);padding:.625em 1em}.prose :where(abbr):not(:where(.not-prose,.not-prose *)){cursor:help}.prose :where(kbd):not(:where(.not-prose,.not-prose *)){color:var(--un-prose-code);border:1px solid;padding:.25rem .5rem;font-size:.875em;border-radius:.25rem}.prose :where(details):not(:where(.not-prose,.not-prose *)){margin:1em 0;padding:1.25rem 1.5rem;background:var(--un-prose-bg-soft)}.prose :where(summary):not(:where(.not-prose,.not-prose *)){cursor:pointer;font-weight:600}.prose{color:var(--un-prose-body);max-width:65ch}.container,[container=""]{width:100%}@media (min-width: 640px){.container,[container=""]{max-width:640px}}@media (min-width: 768px){.container,[container=""]{max-width:768px}}@media (min-width: 1024px){.container,[container=""]{max-width:1024px}}@media (min-width: 1280px){.container,[container=""]{max-width:1280px}}@media (min-width: 1536px){.container,[container=""]{max-width:1536px}}.\[input\:checked\~\&\]{input:checked~&}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.pointer-events-none,[pointer-events-none=""]{pointer-events:none}.disabled\:pointer-events-none:disabled{pointer-events:none}.\!visible{visibility:visible!important}.visible{visibility:visible}.absolute,[absolute=""]{position:absolute}.fixed,[fixed=""]{position:fixed}.relative,[relative=""]{position:relative}.sticky,[sticky=""]{position:sticky}.after\:absolute:after{position:absolute}.inset-0,[inset-0=""]{top:0;right:0;bottom:0;left:0}.inset-y-0{top:0;bottom:0}.bottom-0,[bottom-0=""]{bottom:0}.bottom-11,[bottom-11=""]{bottom:2.75rem}.bottom-4{bottom:1rem}.left-0,[left-0=""]{left:0}.left-1\/2,[left~="1/2"]{left:50%}.left-2{left:.5rem}.right-0,[right-0=""]{right:0}.top-0,[top-0=""]{top:0}.top-1\/2,[top~="50%"]{top:50%}.top-2{top:.5rem}[bottom~="-10"]{bottom:-2.5rem}[bottom~="20%"]{bottom:20%}[bottom~="3"]{bottom:.75rem}[right~="-50%"]{right:-50%}[right~="3"]{right:.75rem}.after\:left-\[2px\]:after{left:2px}.after\:top-\[2px\]:after{top:2px}.line-clamp-1{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1;line-clamp:1}.line-clamp-2{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2}.z--1,[z--1=""]{z-index:-1}.z-1,[z-1=""]{z-index:1}.z-10,[z-10=""]{z-index:10}.z-2,[z-2=""]{z-index:2}.z-30,[z-30=""]{z-index:30}.z-50,[z-50=""]{z-index:50}[z~="20"]{z-index:20}.grid,[grid=""],[grid~="~"]{display:grid}.auto-cols-\[350px\]{grid-auto-columns:350px}.auto-cols-auto{grid-auto-columns:auto}.grid-flow-col{grid-auto-flow:column}.grid-flow-row{grid-auto-flow:row}.cols-\[150px_1fr\],[grid~="cols-[150px_1fr]"]{grid-template-columns:150px 1fr}.cols-\[20px_1fr_60px\],[grid~="cols-[20px_1fr_60px]"]{grid-template-columns:20px 1fr 60px}.cols-1,.grid-cols-1,[grid~=cols-1]{grid-template-columns:repeat(1,minmax(0,1fr))}.cols-2,[grid~=cols-2]{grid-template-columns:repeat(2,minmax(0,1fr))}.m-1,[m-1=""]{margin:.25rem}.m-auto{margin:auto}.mx-1{margin-left:.25rem;margin-right:.25rem}.mx-auto,[mx-auto=""]{margin-left:auto;margin-right:auto}.mx2,[mx2=""]{margin-left:.5rem;margin-right:.5rem}.my{margin-top:1rem;margin-bottom:1rem}.mb-1,[mb-1=""]{margin-bottom:.25rem}.mb-2,.mb2,[mb-2=""],[mb2=""]{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4,[mb-4=""]{margin-bottom:1rem}.mb-6,[mb-6=""]{margin-bottom:1.5rem}.ml{margin-left:1rem}.ml-0\.5,[ml-0\.5=""]{margin-left:.125rem}.ml-2,[ml-2=""]{margin-left:.5rem}.ml-auto{margin-left:auto}.mr{margin-right:1rem}.mr-2{margin-right:.5rem}.mr-3{margin-right:.75rem}.mt-0{margin-top:0}.mt-0\.5{margin-top:.125rem}.mt-1{margin-top:.25rem}.mt-2,[mt-2=""]{margin-top:.5rem}.mt-24,[mt-24=""]{margin-top:6rem}.mt-3{margin-top:.75rem}.mt-4,[mt-4=""]{margin-top:1rem}[ml~="12"]{margin-left:3rem}[mr~="12"]{margin-right:3rem}[box~=border]{box-sizing:border-box}.inline,[inline=""]{display:inline}.block,[block=""]{display:block}.inline-block,[inline-block=""]{display:inline-block}.hidden,[hidden=""]{display:none}.size-16,[size-16=""]{width:4rem;height:4rem}.size-24,[size-24=""]{width:6rem;height:6rem}.size-3,[size-3=""]{width:.75rem;height:.75rem}.size-5{width:1.25rem;height:1.25rem}.size-6{width:1.5rem;height:1.5rem}.h-10,[h-10=""]{height:2.5rem}.h-100vh,[h-100vh=""]{height:100vh}.h-12{height:3rem}.h-24,[h-24=""]{height:6rem}.h-6{height:1.5rem}.h-8,[h-8=""]{height:2rem}.h-fit,[h-fit=""]{height:fit-content}.h-full,[h-full=""]{height:100%}.h1{height:.25rem}.h2{height:.5rem}.h3{height:.75rem}.max-h-\[10lh\],[max-h~="[10lh]"]{max-height:10lh}.max-w-full,[max-w-full=""]{max-width:100%}.min-h-\[1lh\],[min-h~="[1lh]"]{min-height:1lh}.min-h-16,[min-h-16=""]{min-height:4rem}.min-w-0,[min-w-0=""]{min-width:0}.min-w-20,[min-w-20=""]{min-width:5rem}.min-w-50,[min-w-50=""]{min-width:12.5rem}.w-10{width:2.5rem}.w-100,[w-100=""]{width:25rem}.w-100vw,[w-100vw=""]{width:100vw}.w-11{width:2.75rem}.w-12{width:3rem}.w-2{width:.5rem}.w-32{width:8rem}.w-6{width:1.5rem}.w-8,[w-8=""]{width:2rem}.w-fit,[w-fit=""]{width:fit-content}.w-full,[w-full=""],[w~=full]{width:100%}[h~="[14px]"]{height:14px}[h~="80vh"]{height:80vh}[h~=unset]{height:unset}[max-h~="[300px]"]{max-height:300px}[max-h~="[75%]"]{max-height:75%}[max-h~="[85vh]"]{max-height:85vh}[max-h~="100"]{max-height:25rem}[max-h~="30vh"]{max-height:30vh}[max-w~="30%"]{max-width:30%}[max-w~="500px"]{max-width:500px}[min-h~="[100px]"]{min-height:100px}[min-h~="100"]{min-height:25rem}[min-w~="1/2"],[min-w~="50%"]{min-width:50%}[min-w~="30%"]{min-width:30%}[min-w~="3em"]{min-width:3em}[min-w~="50vw"]{min-width:50vw}[min-w~="6"]{min-width:1.5rem}[w~="[1px]"]{width:1px}[w~="50%"]{width:50%}.after\:h-5:after{height:1.25rem}.after\:w-5:after{width:1.25rem}.max-w-screen-lg,[max-w-screen-lg=""]{max-width:1024px}.flex,[flex=""],[flex~="~"]{display:flex}.inline-flex{display:inline-flex}.flex-1,[flex-1=""],[flex~="1"]{flex:1 1 0%}.flex-shrink-0{flex-shrink:0}.flex-row,[flex-row=""],[flex~=row]{flex-direction:row}[flex~=row-reverse]{flex-direction:row-reverse}.flex-col,[flex-col=""],[flex~=col]{flex-direction:column}.flex-wrap,[flex-wrap=""]{flex-wrap:wrap}.-translate-x-1\/2,.translate-x--1\/2,[transform~="translate-x--1/2"]{--un-translate-x:-50%;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.-translate-y-1\/2,.translate-y-\[-50\%\],[transform~="translate-y-[-50%]"]{--un-translate-y:-50%;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.translate-x-\[50\%\],[transform~="translate-x-[50%]"]{--un-translate-x:50%;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.translate-x-0{--un-translate-x:0;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.translate-x-10,[translate-x-10=""]{--un-translate-x:2.5rem;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.translate-x-4{--un-translate-x:1rem;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.translate-y--100\%,.translate-y-\[-100\%\],[transform~="translate-y--100%"],[transform~="translate-y-[-100%]"]{--un-translate-y:-100%;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.translate-y--2,[transform~=translate-y--2]{--un-translate-y:-.5rem;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.translate-y-10,[translate-y-10=""]{--un-translate-y:2.5rem;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.translate-y-2,[translate-y-2=""]{--un-translate-y:.5rem;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.translate-y-4,[translate-y-4=""]{--un-translate-y:1rem;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}[translate-y~="[-80%]"]{--un-translate-y:-80%;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.peer:checked~.peer-checked\:after\:translate-x-full:after{--un-translate-x:100%;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.rotate-180{--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-rotate:180deg;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.scale-150{--un-scale-x:1.5;--un-scale-y:1.5;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.hover\:scale-110:hover{--un-scale-x:1.1;--un-scale-y:1.1;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.transform,[transform=""]{transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.animate-spin{animation:spin 1s linear infinite}.disabled\:cursor-default:disabled{cursor:default}.cursor-pointer,[cursor-pointer=""],[cursor~=pointer]{cursor:pointer}.cursor-not-allowed{cursor:not-allowed}.cursor-ew-resize,[cursor-ew-resize=""]{cursor:ew-resize}.select-none,[select-none=""]{-webkit-user-select:none;user-select:none}.resize-none,[resize-none=""]{resize:none}.appearance-none,[appearance-none=""]{-webkit-appearance:none;-moz-appearance:none;appearance:none}.items-start,[items-start=""]{align-items:flex-start}.items-center,[items-center=""]{align-items:center}.justify-end,[justify-end=""]{justify-content:flex-end}.justify-center,[justify-center=""]{justify-content:center}.justify-between,[justify-between=""]{justify-content:space-between}.gap-1,[gap-1=""]{gap:.25rem}.gap-1\.5,[gap-1\.5=""]{gap:.375rem}.gap-2,[flex~=gap-2],[gap-2=""]{gap:.5rem}.gap-3{gap:.75rem}.gap-4,[flex~=gap-4],[gap-4=""],[grid~=gap-4]{gap:1rem}.gap-6,[flex~=gap-6]{gap:1.5rem}.gap-x-2,[flex~=gap-x-2]{column-gap:.5rem}.gap-y-0,[flex~=gap-y-0]{row-gap:0}.space-x-1>:not([hidden])~:not([hidden]),[space-x-1=""]>:not([hidden])~:not([hidden]){--un-space-x-reverse:0;margin-left:calc(.25rem * calc(1 - var(--un-space-x-reverse)));margin-right:calc(.25rem * var(--un-space-x-reverse))}.space-y-1>:not([hidden])~:not([hidden]){--un-space-y-reverse:0;margin-top:calc(.25rem * calc(1 - var(--un-space-y-reverse)));margin-bottom:calc(.25rem * var(--un-space-y-reverse))}.space-y-2>:not([hidden])~:not([hidden]){--un-space-y-reverse:0;margin-top:calc(.5rem * calc(1 - var(--un-space-y-reverse)));margin-bottom:calc(.5rem * var(--un-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--un-space-y-reverse:0;margin-top:calc(1rem * calc(1 - var(--un-space-y-reverse)));margin-bottom:calc(1rem * var(--un-space-y-reverse))}.space-y-6>:not([hidden])~:not([hidden]){--un-space-y-reverse:0;margin-top:calc(1.5rem * calc(1 - var(--un-space-y-reverse)));margin-bottom:calc(1.5rem * var(--un-space-y-reverse))}[divide~=y]>:not([hidden])~:not([hidden]){--un-divide-y-reverse:0;border-top-width:calc(1px * calc(1 - var(--un-divide-y-reverse)));border-bottom-width:calc(1px * var(--un-divide-y-reverse))}[divide~="gray/25"]>:not([hidden])~:not([hidden]){border-color:#9ca3af40}[border~=dashed],[divide~=dashed]>:not([hidden])~:not([hidden]){border-style:dashed}.of-clip,[of-clip=""]{overflow:clip}.of-hidden,.overflow-hidden,[of-hidden=""],[overflow-hidden=""]{overflow:hidden}.overflow-auto{overflow:auto}.overflow-scroll,[overflow-scroll=""]{overflow:scroll}.of-x-scroll,[of-x-scroll=""]{overflow-x:scroll}.overflow-x-auto{overflow-x:auto}.overflow-y-scroll,[overflow-y-scroll=""]{overflow-y:scroll}.scroll-smooth,[scroll-smooth=""]{scroll-behavior:smooth}.b-2,.border-2,[b-2=""],[border~="2"],[border~="2px"]{border-width:2px}.border,[border~="~"],[border~="1"]{border-width:1px}[border~="4"]{border-width:4px}[border~=b-2]{border-bottom-width:2px}[border~=l-2]{border-left-width:2px}[border~=r-2]{border-right-width:2px}[border~=t-2]{border-top-width:2px}.\[\&\:checked\+div\]\:border-primary-500:checked+div,.border-primary-500{--un-border-opacity:1;border-color:oklch(62% var(--theme-colors-chroma) calc(var(--theme-colors-hue) + 0) / var(--un-border-opacity))}.border-amber-200{--un-border-opacity:1;border-color:rgb(253 230 138 / var(--un-border-opacity))}.border-neutral-100,[border~=neutral-100]{--un-border-opacity:1;border-color:rgb(245 245 245 / var(--un-border-opacity))}.border-neutral-200,.dark [border~="dark:neutral-200"],[border~=neutral-200]{--un-border-opacity:1;border-color:rgb(229 229 229 / var(--un-border-opacity))}.border-neutral-300,[border~=neutral-300]{--un-border-opacity:1;border-color:rgb(212 212 212 / var(--un-border-opacity))}.border-primary-100,[border~=primary-100]{border-color:color-mix(in srgb,oklch(95% var(--theme-colors-chroma-100) calc(var(--theme-colors-hue) + 0)) 80%,oklch(100% 0 360))}.border-primary-200{--un-border-opacity:1;border-color:oklch(90% var(--theme-colors-chroma-200) calc(var(--theme-colors-hue) + 0) / var(--un-border-opacity))}.border-red-200{--un-border-opacity:1;border-color:rgb(254 202 202 / var(--un-border-opacity))}.border-white{--un-border-opacity:1;border-color:rgb(255 255 255 / var(--un-border-opacity))}.dark .dark\:\[\&\:checked\+div\]\:border-primary-400:checked+div,.dark .dark\:border-primary-400{--un-border-opacity:1;border-color:oklch(74% var(--theme-colors-chroma-400) calc(var(--theme-colors-hue) + 0) / var(--un-border-opacity))}.dark .dark\:border-amber-800{--un-border-opacity:1;border-color:rgb(146 64 14 / var(--un-border-opacity))}.dark .dark\:border-neutral-600,.dark [border~="dark:neutral-600"]{--un-border-opacity:1;border-color:rgb(82 82 82 / var(--un-border-opacity))}.dark .dark\:border-neutral-700,.dark [border~="dark:neutral-700"]{--un-border-opacity:1;border-color:rgb(64 64 64 / var(--un-border-opacity))}.dark .dark\:border-primary-800,.dark [border~="dark:primary-800"]{--un-border-opacity:1;border-color:oklch(42% var(--theme-colors-chroma-800) calc(var(--theme-colors-hue) + 0) / var(--un-border-opacity))}.dark .dark\:border-primary-900,.dark [border~="dark:primary-900"]{--un-border-opacity:1;border-color:oklch(37% var(--theme-colors-chroma-900) calc(var(--theme-colors-hue) + 0) / var(--un-border-opacity))}.dark .dark\:border-red-800{--un-border-opacity:1;border-color:rgb(153 27 27 / var(--un-border-opacity))}.dark [border~="dark:cyan-500/50"]{border-color:#06b6d480}.dark [border~="dark:cyan-800"]{--un-border-opacity:1;border-color:rgb(21 94 117 / var(--un-border-opacity))}.dark [border~="dark:neutral-800"],[border~=neutral-800]{--un-border-opacity:1;border-color:rgb(38 38 38 / var(--un-border-opacity))}.dark [border~="dark:primary-400/20"]{border-color:oklch(74% var(--theme-colors-chroma-400) calc(var(--theme-colors-hue) + 0) / .2)}.dark [border~="dark:primary-500/50"]{border-color:oklch(62% var(--theme-colors-chroma) calc(var(--theme-colors-hue) + 0) / .5)}.dark [border~="dark:violet-500/50"]{border-color:#8b5cf680}.dark [border~="dark:zinc-800"]{--un-border-opacity:1;border-color:rgb(39 39 42 / var(--un-border-opacity))}[border~=cyan-200]{--un-border-opacity:1;border-color:rgb(165 243 252 / var(--un-border-opacity))}[border~="cyan-200/50"]{border-color:#a5f3fc80}[border~="gray/25"]{border-color:#9ca3af40}[border~="primary-200/50"]{border-color:oklch(90% var(--theme-colors-chroma-200) calc(var(--theme-colors-hue) + 0) / .5)}[border~=primary-300]{--un-border-opacity:1;border-color:oklch(85% var(--theme-colors-chroma-300) calc(var(--theme-colors-hue) + 0) / var(--un-border-opacity))}[border~="violet-200/50"]{border-color:#ddd6fe80}[border~=zinc-300]{--un-border-opacity:1;border-color:rgb(212 212 216 / var(--un-border-opacity))}.peer:checked~.peer-checked\:after\:border-white:after{--un-border-opacity:1;border-color:rgb(255 255 255 / var(--un-border-opacity))}.dark .dark\:hover\:border-primary-400\/30:hover,.dark [border~="dark:hover:primary-400/30"]:hover{border-color:oklch(74% var(--theme-colors-chroma-400) calc(var(--theme-colors-hue) + 0) / .3)}.hover\:border-primary-500\/30:hover,[border~="hover:primary-500/30"]:hover{border-color:oklch(62% var(--theme-colors-chroma) calc(var(--theme-colors-hue) + 0) / .3)}.dark [border~="dark:focus:neutral-600"]:focus{--un-border-opacity:1;border-color:rgb(82 82 82 / var(--un-border-opacity))}.dark [border~="dark:focus:primary-900"]:focus{--un-border-opacity:1;border-color:oklch(37% var(--theme-colors-chroma-900) calc(var(--theme-colors-hue) + 0) / var(--un-border-opacity))}.dark [border~="dark:focus:zinc-600"]:focus{--un-border-opacity:1;border-color:rgb(82 82 91 / var(--un-border-opacity))}[border~="focus:neutral-400"]:focus{--un-border-opacity:1;border-color:rgb(163 163 163 / var(--un-border-opacity))}[border~="focus:primary-100"]:focus{border-color:color-mix(in srgb,oklch(95% var(--theme-colors-chroma-100) calc(var(--theme-colors-hue) + 0)) 80%,oklch(100% 0 360))}[border~="focus:zinc-400"]:focus{--un-border-opacity:1;border-color:rgb(161 161 170 / var(--un-border-opacity))}.rounded,[rounded=""]{border-radius:.25rem}.rounded-2xl,[rounded-2xl=""]{border-radius:1rem}.rounded-full,[rounded-full=""]{border-radius:9999px}.rounded-lg,[border~=rounded-lg],[rounded-lg=""],[rounded~=lg]{border-radius:.5rem}.rounded-md,[rounded-md=""]{border-radius:.375rem}.rounded-sm,[rounded-sm=""]{border-radius:.125rem}.rounded-xl,[rounded-xl=""]{border-radius:.75rem}.after\:rounded-full:after{border-radius:9999px}.rounded-l-lg,[rounded-l-lg=""]{border-top-left-radius:.5rem;border-bottom-left-radius:.5rem}.rounded-l-xl,[rounded-l-xl=""]{border-top-left-radius:.75rem;border-bottom-left-radius:.75rem}.rounded-r-lg,[rounded-r-lg=""]{border-top-right-radius:.5rem;border-bottom-right-radius:.5rem}.rounded-r-xl,[rounded-r-xl=""]{border-top-right-radius:.75rem;border-bottom-right-radius:.75rem}.rounded-t-lg,[rounded-t-lg=""]{border-top-left-radius:.5rem;border-top-right-radius:.5rem}.rounded-t-xl,[rounded-t-xl=""]{border-top-left-radius:.75rem;border-top-right-radius:.75rem}.border-none,[border-none=""]{border-style:none}[border~=solid]{border-style:solid}.bg-amber-50{--un-bg-opacity:1;background-color:rgb(255 251 235 / var(--un-bg-opacity))}.bg-black\/40{background-color:#0006}.bg-neutral-100,[bg~=neutral-100]{--un-bg-opacity:1;background-color:rgb(245 245 245 / var(--un-bg-opacity))}.bg-neutral-200{--un-bg-opacity:1;background-color:rgb(229 229 229 / var(--un-bg-opacity))}.bg-neutral-300,.dark [bg~="dark:neutral-300"]{--un-bg-opacity:1;background-color:rgb(212 212 212 / var(--un-bg-opacity))}.bg-neutral-400,[bg~=neutral-400]{--un-bg-opacity:1;background-color:rgb(163 163 163 / var(--un-bg-opacity))}.bg-neutral-400\/80{background-color:#a3a3a3cc}.bg-neutral-50,[bg~=neutral-50]{--un-bg-opacity:1;background-color:rgb(250 250 250 / var(--un-bg-opacity))}.bg-neutral-500,.dark [bg~="dark:neutral-500"]{--un-bg-opacity:1;background-color:rgb(115 115 115 / var(--un-bg-opacity))}.bg-neutral-500\/80{background-color:#737373cc}.bg-primary-100,[bg~=primary-100]{background-color:color-mix(in srgb,oklch(95% var(--theme-colors-chroma-100) calc(var(--theme-colors-hue) + 0)) 80%,oklch(100% 0 360))}.bg-primary-50,[bg~=primary-50]{background-color:color-mix(in srgb,oklch(95% var(--theme-colors-chroma-50) calc(var(--theme-colors-hue) + 0)) 30%,oklch(100% 0 360))}.bg-primary-500,.dark [bg~="dark:primary-500"],[bg~=primary-500],.peer:checked~.peer-checked\:bg-primary-500{--un-bg-opacity:1;background-color:oklch(62% var(--theme-colors-chroma) calc(var(--theme-colors-hue) + 0) / var(--un-bg-opacity))}.bg-red-50{--un-bg-opacity:1;background-color:rgb(254 242 242 / var(--un-bg-opacity))}.bg-white,[bg~=white]{--un-bg-opacity:1;background-color:rgb(255 255 255 / var(--un-bg-opacity))}.bg-zinc-100,[bg-zinc-100=""],[bg~=zinc-100]{--un-bg-opacity:1;background-color:rgb(244 244 245 / var(--un-bg-opacity))}.bg-zinc-200,.dark .dark\:bg-zinc-200{--un-bg-opacity:1;background-color:rgb(228 228 231 / var(--un-bg-opacity))}.bg-zinc-300,[bg-zinc-300=""]{--un-bg-opacity:1;background-color:rgb(212 212 216 / var(--un-bg-opacity))}.dark .dark\:bg-amber-900\/20{background-color:#78350f33}.dark .dark\:bg-neutral-600{--un-bg-opacity:1;background-color:rgb(82 82 82 / var(--un-bg-opacity))}.dark .dark\:bg-neutral-700,.dark [bg~="dark:neutral-700"],[bg~=neutral-700]{--un-bg-opacity:1;background-color:rgb(64 64 64 / var(--un-bg-opacity))}.dark .dark\:bg-neutral-800,.dark [bg~="dark:neutral-800"]{--un-bg-opacity:1;background-color:rgb(38 38 38 / var(--un-bg-opacity))}.dark .dark\:bg-neutral-900,.dark [bg~="dark:neutral-900"]{--un-bg-opacity:1;background-color:rgb(23 23 23 / var(--un-bg-opacity))}.dark .dark\:bg-neutral-900\/20{background-color:#17171733}.dark .dark\:bg-primary-400,.dark [bg~="dark:primary-400"],[bg~=primary-400]{--un-bg-opacity:1;background-color:oklch(74% var(--theme-colors-chroma-400) calc(var(--theme-colors-hue) + 0) / var(--un-bg-opacity))}.dark .dark\:bg-primary-900,[bg~=primary-900]{--un-bg-opacity:1;background-color:oklch(37% var(--theme-colors-chroma-900) calc(var(--theme-colors-hue) + 0) / var(--un-bg-opacity))}.dark .dark\:bg-primary-900\/20{background-color:oklch(37% var(--theme-colors-chroma-900) calc(var(--theme-colors-hue) + 0) / .2)}.dark .dark\:bg-primary-950,.dark [bg~="dark:primary-950"],[bg~=primary-950]{--un-bg-opacity:1;background-color:oklch(29% var(--theme-colors-chroma-950) calc(var(--theme-colors-hue) + 0) / var(--un-bg-opacity))}.dark .dark\:bg-red-900\/20{background-color:#7f1d1d33}.dark .dark\:bg-zinc-700,.dark [bg~="dark:zinc-700"]{--un-bg-opacity:1;background-color:rgb(63 63 70 / var(--un-bg-opacity))}.dark .dark\:bg-zinc-800,.dark [bg~="dark:zinc-800"]{--un-bg-opacity:1;background-color:rgb(39 39 42 / var(--un-bg-opacity))}.dark [bg~="dark:[#1f1a1d]"]{--un-bg-opacity:1;background-color:rgb(31 26 29 / var(--un-bg-opacity))}.dark [bg~="dark:[#3c2632]"]{--un-bg-opacity:1;background-color:rgb(60 38 50 / var(--un-bg-opacity))}.dark [bg~="dark:[#4e34b9]"]{--un-bg-opacity:1;background-color:rgb(78 52 185 / var(--un-bg-opacity))}.dark [bg~="dark:[#676085]"]{--un-bg-opacity:1;background-color:rgb(103 96 133 / var(--un-bg-opacity))}.dark [bg~="dark:[rgba(0,0,0,0.3)]"]{--un-bg-opacity:.3;background-color:rgba(0,0,0,var(--un-bg-opacity))}.dark [bg~="dark:black/20"]{background-color:#0003}.dark [bg~="dark:complementary-800"]{--un-bg-opacity:1;background-color:oklch(42% var(--theme-colors-chroma-800) calc(var(--theme-colors-hue) + 180) / var(--un-bg-opacity))}.dark [bg~="dark:cyan-900"]{--un-bg-opacity:1;background-color:rgb(22 78 99 / var(--un-bg-opacity))}.dark [bg~="dark:green-600"]{--un-bg-opacity:1;background-color:rgb(22 163 74 / var(--un-bg-opacity))}.dark [bg~="dark:primary-400/20"]{background-color:oklch(74% var(--theme-colors-chroma-400) calc(var(--theme-colors-hue) + 0) / .2)}.dark [bg~="dark:transparent"],[bg~=transparent]{background-color:transparent}.dark [bg~="dark:zinc-400"]{--un-bg-opacity:1;background-color:rgb(161 161 170 / var(--un-bg-opacity))}.dark [bg~="dark:zinc-800/50"]{background-color:#27272a80}[bg~="[#cabeff]"]{--un-bg-opacity:1;background-color:rgb(202 190 255 / var(--un-bg-opacity))}[bg~="[#e6e1fc]"]{--un-bg-opacity:1;background-color:rgb(230 225 252 / var(--un-bg-opacity))}[bg~="[#fffbff]"]{--un-bg-opacity:1;background-color:rgb(255 251 255 / var(--un-bg-opacity))}[bg~=complementary-100]{background-color:color-mix(in srgb,oklch(95% var(--theme-colors-chroma-100) calc(var(--theme-colors-hue) + 180)) 80%,oklch(100% 0 360))}[bg~=green-500]{--un-bg-opacity:1;background-color:rgb(34 197 94 / var(--un-bg-opacity))}[bg~="neutral-200/50"]{background-color:#e5e5e580}[bg~=primary-200]{--un-bg-opacity:1;background-color:oklch(90% var(--theme-colors-chroma-200) calc(var(--theme-colors-hue) + 0) / var(--un-bg-opacity))}[bg~=primary-300]{--un-bg-opacity:1;background-color:oklch(85% var(--theme-colors-chroma-300) calc(var(--theme-colors-hue) + 0) / var(--un-bg-opacity))}[bg~="primary-500/10"]{background-color:oklch(62% var(--theme-colors-chroma) calc(var(--theme-colors-hue) + 0) / .1)}[bg~="primary-500/20"]{background-color:oklch(62% var(--theme-colors-chroma) calc(var(--theme-colors-hue) + 0) / .2)}[bg~="primary-500/30"]{background-color:oklch(62% var(--theme-colors-chroma) calc(var(--theme-colors-hue) + 0) / .3)}[bg~="primary-500/40"]{background-color:oklch(62% var(--theme-colors-chroma) calc(var(--theme-colors-hue) + 0) / .4)}[bg~="primary-500/5"]{background-color:oklch(62% var(--theme-colors-chroma) calc(var(--theme-colors-hue) + 0) / .05)}[bg~="primary-500/50"]{background-color:oklch(62% var(--theme-colors-chroma) calc(var(--theme-colors-hue) + 0) / .5)}[bg~="primary-500/60"]{background-color:oklch(62% var(--theme-colors-chroma) calc(var(--theme-colors-hue) + 0) / .6)}[bg~="primary-500/70"]{background-color:oklch(62% var(--theme-colors-chroma) calc(var(--theme-colors-hue) + 0) / .7)}[bg~="primary-500/80"]{background-color:oklch(62% var(--theme-colors-chroma) calc(var(--theme-colors-hue) + 0) / .8)}[bg~="primary-500/90"]{background-color:oklch(62% var(--theme-colors-chroma) calc(var(--theme-colors-hue) + 0) / .9)}[bg~=primary-600]{--un-bg-opacity:1;background-color:oklch(54% var(--theme-colors-chroma-600) calc(var(--theme-colors-hue) + 0) / var(--un-bg-opacity))}[bg~=primary-700]{--un-bg-opacity:1;background-color:oklch(49% var(--theme-colors-chroma-700) calc(var(--theme-colors-hue) + 0) / var(--un-bg-opacity))}[bg~=primary-800]{--un-bg-opacity:1;background-color:oklch(42% var(--theme-colors-chroma-800) calc(var(--theme-colors-hue) + 0) / var(--un-bg-opacity))}[bg~="zinc-100/70"]{background-color:#f4f4f5b3}[bg~="zinc-200/20"]{background-color:#e4e4e733}.dark [dark\:bg-zinc-700~="default:"]:default{--un-bg-opacity:1;background-color:rgb(63 63 70 / var(--un-bg-opacity))}.dark [dark\:bg-zinc-700~="checked:"]:checked{--un-bg-opacity:1;background-color:rgb(63 63 70 / var(--un-bg-opacity))}.dark .\[\&_div_span\]\:dark\:hover\:bg-cyan-300:hover div span{--un-bg-opacity:1;background-color:rgb(103 232 249 / var(--un-bg-opacity))}.dark .\[\&_div_span\]\:dark\:hover\:bg-cyan-900:hover div span{--un-bg-opacity:1;background-color:rgb(22 78 99 / var(--un-bg-opacity))}.dark .dark\:hover\:bg-neutral-700:hover{--un-bg-opacity:1;background-color:rgb(64 64 64 / var(--un-bg-opacity))}.dark .dark\:hover\:bg-neutral-800:hover{--un-bg-opacity:1;background-color:rgb(38 38 38 / var(--un-bg-opacity))}.dark [bg~="dark:hover:complementary-700"]:hover{--un-bg-opacity:1;background-color:oklch(49% var(--theme-colors-chroma-700) calc(var(--theme-colors-hue) + 180) / var(--un-bg-opacity))}.dark [bg~="dark:hover:neutral-800"]:hover{--un-bg-opacity:1;background-color:rgb(38 38 38 / var(--un-bg-opacity))}.dark [bg~="dark:hover:primary-900"]:hover{--un-bg-opacity:1;background-color:oklch(37% var(--theme-colors-chroma-900) calc(var(--theme-colors-hue) + 0) / var(--un-bg-opacity))}.dark [dark\:hover\:bg-cyan-300=""]:hover{--un-bg-opacity:1;background-color:rgb(103 232 249 / var(--un-bg-opacity))}.dark [hover~="dark:bg-neutral-700"]:hover{--un-bg-opacity:1;background-color:rgb(64 64 64 / var(--un-bg-opacity))}.dark [hover~="dark:bg-zinc-700"]:hover{--un-bg-opacity:1;background-color:rgb(63 63 70 / var(--un-bg-opacity))}.hover\:bg-neutral-100:hover{--un-bg-opacity:1;background-color:rgb(245 245 245 / var(--un-bg-opacity))}.hover\:bg-neutral-200:hover{--un-bg-opacity:1;background-color:rgb(229 229 229 / var(--un-bg-opacity))}.hover\:bg-primary-600:hover{--un-bg-opacity:1;background-color:oklch(54% var(--theme-colors-chroma-600) calc(var(--theme-colors-hue) + 0) / var(--un-bg-opacity))}[bg~="hover:complementary-200"]:hover{--un-bg-opacity:1;background-color:oklch(90% var(--theme-colors-chroma-200) calc(var(--theme-colors-hue) + 180) / var(--un-bg-opacity))}[bg~="hover:neutral-200"]:hover{--un-bg-opacity:1;background-color:rgb(229 229 229 / var(--un-bg-opacity))}[bg~="hover:primary-100"]:hover{background-color:color-mix(in srgb,oklch(95% var(--theme-colors-chroma-100) calc(var(--theme-colors-hue) + 0)) 80%,oklch(100% 0 360))}[hover~=bg-neutral-200]:hover{--un-bg-opacity:1;background-color:rgb(229 229 229 / var(--un-bg-opacity))}[hover~=bg-zinc-200]:hover{--un-bg-opacity:1;background-color:rgb(228 228 231 / var(--un-bg-opacity))}.dark [bg~="dark:focus:neutral-700"]:focus{--un-bg-opacity:1;background-color:rgb(64 64 64 / var(--un-bg-opacity))}[bg~="focus:white"]:focus{--un-bg-opacity:1;background-color:rgb(255 255 255 / var(--un-bg-opacity))}.dark [bg~="dark:active:neutral-700"]:active{--un-bg-opacity:1;background-color:rgb(64 64 64 / var(--un-bg-opacity))}[bg~="active:neutral-300"]:active{--un-bg-opacity:1;background-color:rgb(212 212 212 / var(--un-bg-opacity))}.after\:bg-white:after{--un-bg-opacity:1;background-color:rgb(255 255 255 / var(--un-bg-opacity))}.dark .dark\:from-primary-400\/0{--un-gradient-from-position:0%;--un-gradient-from:oklch(74% var(--theme-colors-chroma-400) calc(var(--theme-colors-hue) + 0) / 0) var(--un-gradient-from-position);--un-gradient-to-position:100%;--un-gradient-to:oklch(74% var(--theme-colors-chroma-400) calc(var(--theme-colors-hue) + 0) / 0) var(--un-gradient-to-position);--un-gradient-stops:var(--un-gradient-from), var(--un-gradient-to)}.dark .dark\:from-primary-400\/20{--un-gradient-from-position:0%;--un-gradient-from:oklch(74% var(--theme-colors-chroma-400) calc(var(--theme-colors-hue) + 0) / .2) var(--un-gradient-from-position);--un-gradient-to-position:100%;--un-gradient-to:oklch(74% var(--theme-colors-chroma-400) calc(var(--theme-colors-hue) + 0) / 0) var(--un-gradient-to-position);--un-gradient-stops:var(--un-gradient-from), var(--un-gradient-to)}.from-primary-500\/0{--un-gradient-from-position:0%;--un-gradient-from:oklch(62% var(--theme-colors-chroma) calc(var(--theme-colors-hue) + 0) / 0) var(--un-gradient-from-position);--un-gradient-to-position:100%;--un-gradient-to:oklch(62% var(--theme-colors-chroma) calc(var(--theme-colors-hue) + 0) / 0) var(--un-gradient-to-position);--un-gradient-stops:var(--un-gradient-from), var(--un-gradient-to)}.from-primary-500\/20{--un-gradient-from-position:0%;--un-gradient-from:oklch(62% var(--theme-colors-chroma) calc(var(--theme-colors-hue) + 0) / .2) var(--un-gradient-from-position);--un-gradient-to-position:100%;--un-gradient-to:oklch(62% var(--theme-colors-chroma) calc(var(--theme-colors-hue) + 0) / 0) var(--un-gradient-to-position);--un-gradient-stops:var(--un-gradient-from), var(--un-gradient-to)}.dark .dark\:via-primary-400\/10{--un-gradient-via-position:50%;--un-gradient-to:oklch(74% var(--theme-colors-chroma-400) calc(var(--theme-colors-hue) + 0) / 0);--un-gradient-stops:var(--un-gradient-from), oklch(74% var(--theme-colors-chroma-400) calc(var(--theme-colors-hue) + 0) / .1) var(--un-gradient-via-position), var(--un-gradient-to)}.via-primary-500\/10{--un-gradient-via-position:50%;--un-gradient-to:oklch(62% var(--theme-colors-chroma) calc(var(--theme-colors-hue) + 0) / 0);--un-gradient-stops:var(--un-gradient-from), oklch(62% var(--theme-colors-chroma) calc(var(--theme-colors-hue) + 0) / .1) var(--un-gradient-via-position), var(--un-gradient-to)}.dark .dark\:to-primary-400\/0{--un-gradient-to-position:100%;--un-gradient-to:oklch(74% var(--theme-colors-chroma-400) calc(var(--theme-colors-hue) + 0) / 0) var(--un-gradient-to-position)}.dark .dark\:to-transparent,.to-transparent{--un-gradient-to-position:100%;--un-gradient-to:transparent var(--un-gradient-to-position)}.to-primary-500\/0{--un-gradient-to-position:100%;--un-gradient-to:oklch(62% var(--theme-colors-chroma) calc(var(--theme-colors-hue) + 0) / 0) var(--un-gradient-to-position)}.bg-gradient-to-r{--un-gradient-shape:to right in oklch;--un-gradient:var(--un-gradient-shape), var(--un-gradient-stops);background-image:linear-gradient(var(--un-gradient))}.dark .dark\:fill-neutral-800{--un-fill-opacity:1;fill:rgb(38 38 38 / var(--un-fill-opacity))}.fill-white{--un-fill-opacity:1;fill:rgb(255 255 255 / var(--un-fill-opacity))}.p-2,.p2,[p-2=""],[p~="2"],[p2=""]{padding:.5rem}.p-2\.5{padding:.625rem}.p-3{padding:.75rem}.p-4,[p-4=""]{padding:1rem}.p-5,[p-5=""]{padding:1.25rem}.px,.px-4,[px-4=""],[px=""]{padding-left:1rem;padding-right:1rem}.px-0{padding-left:0;padding-right:0}.px-10,[px-10=""]{padding-left:2.5rem;padding-right:2.5rem}.px-2,.px2,[px-2=""],[px~="2"],[px2=""]{padding-left:.5rem;padding-right:.5rem}.px-3,[px-3=""]{padding-left:.75rem;padding-right:.75rem}.px-9{padding-left:2.25rem;padding-right:2.25rem}.py,.py-4,[py~="4"]{padding-top:1rem;padding-bottom:1rem}.py-1,.py1,[py-1=""],[py~="1"],[py1=""]{padding-top:.25rem;padding-bottom:.25rem}.py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.py-2,[py-2=""]{padding-top:.5rem;padding-bottom:.5rem}.py-2\.5{padding-top:.625rem;padding-bottom:.625rem}.py-3,[py-3=""]{padding-top:.75rem;padding-bottom:.75rem}.py-6,[py-6=""]{padding-top:1.5rem;padding-bottom:1.5rem}[px~="12"]{padding-left:3rem;padding-right:3rem}.pb-2,[pb-2=""]{padding-bottom:.5rem}.pb-4{padding-bottom:1rem}.pl-10{padding-left:2.5rem}.pl-3{padding-left:.75rem}.pl-5,[pl-5=""]{padding-left:1.25rem}.pr-\[20px\]{padding-right:20px}.pr-3{padding-right:.75rem}.pr-4,[pr-4=""]{padding-right:1rem}.pt-2,[pt-2=""]{padding-top:.5rem}.pt-4,[pt-4=""]{padding-top:1rem}.text-center{text-align:center}.text-left,[text-left=""]{text-align:left}.text-right,[text-right=""],[text~=right]{text-align:right}.text-wrap,[text-wrap=""]{text-wrap:wrap}.text-nowrap,[text-nowrap=""]{text-wrap:nowrap}.align-middle{vertical-align:middle}.text-2xl,[text-2xl=""],[text~="2xl"]{font-size:1.5rem;line-height:2rem}.text-3xl,[text-3xl=""]{font-size:1.875rem;line-height:2.25rem}.text-base,[text-base=""],[text~=base]{font-size:1rem;line-height:1.5rem}.text-lg,[text-lg=""],[text~=lg]{font-size:1.125rem;line-height:1.75rem}.text-sm,[text-sm=""],[text~=sm]{font-size:.875rem;line-height:1.25rem}.text-xl,[text-xl=""],[text~=xl]{font-size:1.25rem;line-height:1.75rem}.text-xs,[text-xs=""]{font-size:.75rem;line-height:1rem}[text~="40"]{font-size:10rem}.dark .dark\:text-amber-400{--un-text-opacity:1;color:rgb(251 191 36 / var(--un-text-opacity))}.dark .dark\:text-neutral-300,[text~=neutral-300]{--un-text-opacity:1;color:rgb(212 212 212 / var(--un-text-opacity))}.dark .dark\:text-neutral-400,.dark [text~="dark:neutral-400"],.text-neutral-400,[text~=neutral-400]{--un-text-opacity:1;color:rgb(163 163 163 / var(--un-text-opacity))}.dark .dark\:text-neutral-500,.dark [text~="dark:neutral-500"],.text-neutral-500,[text~=neutral-500]{--un-text-opacity:1;color:rgb(115 115 115 / var(--un-text-opacity))}.dark .dark\:text-neutral-600,.text-neutral-600{--un-text-opacity:1;color:rgb(82 82 82 / var(--un-text-opacity))}.dark .dark\:text-primary-400,.text-primary-400,[text~=primary-400]{--un-text-opacity:1;color:oklch(74% var(--theme-colors-chroma-400) calc(var(--theme-colors-hue) + 0) / var(--un-text-opacity))}.dark .dark\:text-primary-500,.text-primary-500{--un-text-opacity:1;color:oklch(62% var(--theme-colors-chroma) calc(var(--theme-colors-hue) + 0) / var(--un-text-opacity))}.dark .dark\:text-red-400{--un-text-opacity:1;color:rgb(248 113 113 / var(--un-text-opacity))}.dark .dark\:text-white,.dark [dark\:text-white=""],.dark [text~="dark:white"],.text-white,[text-white=""],[text~=white]{--un-text-opacity:1;color:rgb(255 255 255 / var(--un-text-opacity))}.dark .dark\:text-white\/50{color:#ffffff80}.dark .dark\:text-zinc-400,.dark [text~="dark:zinc-400"],.text-zinc-400,[text~=zinc-400]{--un-text-opacity:1;color:rgb(161 161 170 / var(--un-text-opacity))}.dark .dark\:text-zinc-600{--un-text-opacity:1;color:rgb(82 82 91 / var(--un-text-opacity))}.dark [text~="dark:[#905073]"]{--un-text-opacity:1;color:rgb(144 80 115 / var(--un-text-opacity))}.dark [text~="dark:cyan-600/90"]{color:#0891b2e6}.dark [text~="dark:gray-200"]{--un-text-opacity:1;color:rgb(229 231 235 / var(--un-text-opacity))}.dark [text~="dark:neutral-100"],[text~=neutral-100]{--un-text-opacity:1;color:rgb(245 245 245 / var(--un-text-opacity))}.dark [text~="dark:neutral-500/20"]{color:#73737333}.dark [text~="dark:neutral-600/50"]{color:#52525280}.dark [text~="dark:neutral-900"]{--un-text-opacity:1;color:rgb(23 23 23 / var(--un-text-opacity))}.dark [text~="dark:primary-300/50"]{color:oklch(85% var(--theme-colors-chroma-300) calc(var(--theme-colors-hue) + 0) / .5)}.dark [text~="dark:primary-600/90"]{color:oklch(54% var(--theme-colors-chroma-600) calc(var(--theme-colors-hue) + 0) / .9)}.dark [text~="dark:violet-600/90"]{color:#7c3aede6}.dark [text~="dark:zinc-100"]{--un-text-opacity:1;color:rgb(244 244 245 / var(--un-text-opacity))}.dark [text~="dark:zinc-200/80"]{color:#e4e4e7cc}.dark [text~="dark:zinc-500"],.text-zinc-500,[text~=zinc-500]{--un-text-opacity:1;color:rgb(113 113 122 / var(--un-text-opacity))}.text-amber-500{--un-text-opacity:1;color:rgb(245 158 11 / var(--un-text-opacity))}.text-amber-600{--un-text-opacity:1;color:rgb(217 119 6 / var(--un-text-opacity))}.text-black,[text-black=""]{--un-text-opacity:1;color:rgb(0 0 0 / var(--un-text-opacity))}.text-cyan,[text~=cyan-400]{--un-text-opacity:1;color:rgb(34 211 238 / var(--un-text-opacity))}.text-neutral-700{--un-text-opacity:1;color:rgb(64 64 64 / var(--un-text-opacity))}.text-primary-300,[text~=primary-300]{--un-text-opacity:1;color:oklch(85% var(--theme-colors-chroma-300) calc(var(--theme-colors-hue) + 0) / var(--un-text-opacity))}.text-primary-600,[text~=primary-600]{--un-text-opacity:1;color:oklch(54% var(--theme-colors-chroma-600) calc(var(--theme-colors-hue) + 0) / var(--un-text-opacity))}.text-red-500{--un-text-opacity:1;color:rgb(239 68 68 / var(--un-text-opacity))}.text-red-600{--un-text-opacity:1;color:rgb(220 38 38 / var(--un-text-opacity))}.text-violet-500,[text-violet-500=""]{--un-text-opacity:1;color:rgb(139 92 246 / var(--un-text-opacity))}[text~=complementary-400]{--un-text-opacity:1;color:oklch(74% var(--theme-colors-chroma-400) calc(var(--theme-colors-hue) + 180) / var(--un-text-opacity))}[text~="cyan-400/90"]{color:#22d3eee6}[text~=gray-700]{--un-text-opacity:1;color:rgb(55 65 81 / var(--un-text-opacity))}[text~="neutral-100/50"]{color:#f5f5f580}[text~="neutral-400/50"]{color:#a3a3a380}[text~=neutral-800]{--un-text-opacity:1;color:rgb(38 38 38 / var(--un-text-opacity))}[text~="primary-400/90"]{color:oklch(74% var(--theme-colors-chroma-400) calc(var(--theme-colors-hue) + 0) / .9)}[text~="violet-400/90"]{color:#a78bfae6}[text~=zinc-800]{--un-text-opacity:1;color:rgb(39 39 42 / var(--un-text-opacity))}[text~="zinc-800/80"]{color:#27272acc}.dark .dark\:hover\:text-neutral-200:hover{--un-text-opacity:1;color:rgb(229 229 229 / var(--un-text-opacity))}.dark [text~="dark:hover:primary-500"]:hover{--un-text-opacity:1;color:oklch(62% var(--theme-colors-chroma) calc(var(--theme-colors-hue) + 0) / var(--un-text-opacity))}.dark [text~="dark:hover:primary-600"]:hover{--un-text-opacity:1;color:oklch(54% var(--theme-colors-chroma-600) calc(var(--theme-colors-hue) + 0) / var(--un-text-opacity))}.hover\:text-neutral-700:hover{--un-text-opacity:1;color:rgb(64 64 64 / var(--un-text-opacity))}.hover\:text-red-600:hover{--un-text-opacity:1;color:rgb(220 38 38 / var(--un-text-opacity))}[text~="hover:primary-500"]:hover{--un-text-opacity:1;color:oklch(62% var(--theme-colors-chroma) calc(var(--theme-colors-hue) + 0) / var(--un-text-opacity))}[text~="hover:primary-600"]:hover{--un-text-opacity:1;color:oklch(54% var(--theme-colors-chroma-600) calc(var(--theme-colors-hue) + 0) / var(--un-text-opacity))}.dark [text~="placeholder:dark:[#905073]"]::placeholder{--un-text-opacity:1;color:rgb(144 80 115 / var(--un-text-opacity))}.dark [text~="placeholder:dark:hover:primary-500"]:hover::placeholder{--un-text-opacity:1;color:oklch(62% var(--theme-colors-chroma) calc(var(--theme-colors-hue) + 0) / var(--un-text-opacity))}.dark [text~="placeholder:dark:hover:primary-600"]:hover::placeholder{--un-text-opacity:1;color:oklch(54% var(--theme-colors-chroma-600) calc(var(--theme-colors-hue) + 0) / var(--un-text-opacity))}.dark [text~="placeholder:dark:primary-300/50"]::placeholder{color:oklch(85% var(--theme-colors-chroma-300) calc(var(--theme-colors-hue) + 0) / .5)}[text~="placeholder:hover:primary-500"]:hover::placeholder{--un-text-opacity:1;color:oklch(62% var(--theme-colors-chroma) calc(var(--theme-colors-hue) + 0) / var(--un-text-opacity))}[text~="placeholder:hover:primary-600"]:hover::placeholder{--un-text-opacity:1;color:oklch(54% var(--theme-colors-chroma-600) calc(var(--theme-colors-hue) + 0) / var(--un-text-opacity))}[text~="placeholder:primary-300"]::placeholder{--un-text-opacity:1;color:oklch(85% var(--theme-colors-chroma-300) calc(var(--theme-colors-hue) + 0) / var(--un-text-opacity))}[text~="placeholder:primary-400"]::placeholder{--un-text-opacity:1;color:oklch(74% var(--theme-colors-chroma-400) calc(var(--theme-colors-hue) + 0) / var(--un-text-opacity))}.font-bold,[font-bold=""]{font-weight:700}.font-medium,[font-medium=""]{font-weight:500}.font-semibold,[font-semibold=""]{font-weight:600}.font-cute,[font-cute=""]{font-family:Kiwi Maru}.font-cuteen,[font-cuteen=""]{font-family:Sniglet}.font-mono,[font-mono=""]{font-family:DM Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.font-sans,[font-sans=""]{font-family:DM Sans,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji"}.tab,[aria-checked~=tab][aria-checked=true],[tab=""]{-moz-tab-size:4;-o-tab-size:4;tab-size:4}[checked~=tab]:checked{-moz-tab-size:4;-o-tab-size:4;tab-size:4}.\[\&\:checked\+div_\.radio-dot\]\:opacity-100:checked+div .radio-dot,.opacity-100{opacity:1}.op50,.opacity-50,[op50=""]{opacity:.5}.opacity-0{opacity:0}.opacity-25{opacity:.25}.opacity-60{opacity:.6}.focus\:opacity-50:focus{opacity:.5}.disabled\:opacity-50:disabled{opacity:.5}.dark [shadow~="dark:none"]{--un-shadow:0 0 var(--un-shadow-color, rgb(0 0 0 / 0));box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow)}.shadow{--un-shadow:var(--un-shadow-inset) 0 1px 3px 0 var(--un-shadow-color, rgb(0 0 0 / .1)),var(--un-shadow-inset) 0 1px 2px -1px var(--un-shadow-color, rgb(0 0 0 / .1));box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow)}.shadow-md,[shadow~=md]{--un-shadow:var(--un-shadow-inset) 0 4px 6px -1px var(--un-shadow-color, rgb(0 0 0 / .1)),var(--un-shadow-inset) 0 2px 4px -2px var(--un-shadow-color, rgb(0 0 0 / .1));box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow)}.shadow-sm,[shadow-sm=""]{--un-shadow:var(--un-shadow-inset) 0 1px 2px 0 var(--un-shadow-color, rgb(0 0 0 / .05));box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow)}[shadow~="cyan-200/50"]{--un-shadow-color:rgb(165 243 252 / .5) }[shadow~="primary-200/50"]{--un-shadow-color:oklch(90% var(--theme-colors-chroma-200) calc(var(--theme-colors-hue) + 0) / .5) }[shadow~="violet-200/50"]{--un-shadow-color:rgb(221 214 254 / .5) }.outline{outline-style:solid}.outline-none,[outline-none=""],[outline~=none]{outline:2px solid transparent;outline-offset:2px}.ring{--un-ring-width:3px;--un-ring-offset-shadow:var(--un-ring-inset) 0 0 0 var(--un-ring-offset-width) var(--un-ring-offset-color);--un-ring-shadow:var(--un-ring-inset) 0 0 0 calc(var(--un-ring-width) + var(--un-ring-offset-width)) var(--un-ring-color);box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow)}[ring~="0"]{--un-ring-width:0px;--un-ring-offset-shadow:var(--un-ring-inset) 0 0 0 var(--un-ring-offset-width) var(--un-ring-offset-color);--un-ring-shadow:var(--un-ring-inset) 0 0 0 calc(var(--un-ring-width) + var(--un-ring-offset-width)) var(--un-ring-color);box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow)}[ring~="focus:2"]:focus{--un-ring-width:2px;--un-ring-offset-shadow:var(--un-ring-inset) 0 0 0 var(--un-ring-offset-width) var(--un-ring-offset-color);--un-ring-shadow:var(--un-ring-inset) 0 0 0 calc(var(--un-ring-width) + var(--un-ring-offset-width)) var(--un-ring-color);box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow)}[ring~="focus:offset-0"]:focus{--un-ring-offset-width:0px}.dark [ring~="dark:focus:primary-400"]:focus{--un-ring-opacity:1;--un-ring-color:oklch(74% var(--theme-colors-chroma-400) calc(var(--theme-colors-hue) + 0) / var(--un-ring-opacity)) }[ring~="focus:primary-500"]:focus{--un-ring-opacity:1;--un-ring-color:oklch(62% var(--theme-colors-chroma) calc(var(--theme-colors-hue) + 0) / var(--un-ring-opacity)) }[ring~="focus:opacity-50"]:focus{--un-ring-opacity:.5}.backdrop-blur-sm,[backdrop-blur-sm=""]{--un-backdrop-blur:blur(4px);-webkit-backdrop-filter:var(--un-backdrop-blur) var(--un-backdrop-brightness) var(--un-backdrop-contrast) var(--un-backdrop-grayscale) var(--un-backdrop-hue-rotate) var(--un-backdrop-invert) var(--un-backdrop-opacity) var(--un-backdrop-saturate) var(--un-backdrop-sepia);backdrop-filter:var(--un-backdrop-blur) var(--un-backdrop-brightness) var(--un-backdrop-contrast) var(--un-backdrop-grayscale) var(--un-backdrop-hue-rotate) var(--un-backdrop-invert) var(--un-backdrop-opacity) var(--un-backdrop-saturate) var(--un-backdrop-sepia)}.backdrop-blur-xl,[backdrop-blur-xl=""]{--un-backdrop-blur:blur(24px);-webkit-backdrop-filter:var(--un-backdrop-blur) var(--un-backdrop-brightness) var(--un-backdrop-contrast) var(--un-backdrop-grayscale) var(--un-backdrop-hue-rotate) var(--un-backdrop-invert) var(--un-backdrop-opacity) var(--un-backdrop-saturate) var(--un-backdrop-sepia);backdrop-filter:var(--un-backdrop-blur) var(--un-backdrop-brightness) var(--un-backdrop-contrast) var(--un-backdrop-grayscale) var(--un-backdrop-hue-rotate) var(--un-backdrop-invert) var(--un-backdrop-opacity) var(--un-backdrop-saturate) var(--un-backdrop-sepia)}.blur{--un-blur:blur(8px);filter:var(--un-blur) var(--un-brightness) var(--un-contrast) var(--un-drop-shadow) var(--un-grayscale) var(--un-hue-rotate) var(--un-invert) var(--un-saturate) var(--un-sepia)}.drop-shadow{--un-drop-shadow:drop-shadow(0 1px 2px var(--un-drop-shadow-color, rgb(0 0 0 / .1))) drop-shadow(0 1px 1px var(--un-drop-shadow-color, rgb(0 0 0 / .06)));filter:var(--un-blur) var(--un-brightness) var(--un-contrast) var(--un-drop-shadow) var(--un-grayscale) var(--un-hue-rotate) var(--un-invert) var(--un-saturate) var(--un-sepia)}[drop-shadow~=none],.dark [drop-shadow~="dark:hover:none"]:hover{--un-drop-shadow:drop-shadow(0 0 var(--un-drop-shadow-color, rgb(0 0 0 / 0)));filter:var(--un-blur) var(--un-brightness) var(--un-contrast) var(--un-drop-shadow) var(--un-grayscale) var(--un-hue-rotate) var(--un-invert) var(--un-saturate) var(--un-sepia)}[drop-shadow~="hover:[0px_4px_4px_rgba(220,220,220,0.4)]"]:hover{--un-drop-shadow:drop-shadow(0px 4px 4px rgba(220,220,220,.4));filter:var(--un-blur) var(--un-brightness) var(--un-contrast) var(--un-drop-shadow) var(--un-grayscale) var(--un-hue-rotate) var(--un-invert) var(--un-saturate) var(--un-sepia)}[drop-shadow~="active:[0px_0px_0px_rgba(220,220,220,0.25)]"]:active{--un-drop-shadow:drop-shadow(0px 0px 0px rgba(220,220,220,.25));filter:var(--un-blur) var(--un-brightness) var(--un-contrast) var(--un-drop-shadow) var(--un-grayscale) var(--un-hue-rotate) var(--un-invert) var(--un-saturate) var(--un-sepia)}.\[\&_\.provider-icon\]\:grayscale-100 .provider-icon,.grayscale-100,[grayscale-100=""]{--un-grayscale:grayscale(1);filter:var(--un-blur) var(--un-brightness) var(--un-contrast) var(--un-drop-shadow) var(--un-grayscale) var(--un-hue-rotate) var(--un-invert) var(--un-saturate) var(--un-sepia)}.\[\&_\.provider-icon\]\:hover\:grayscale-0:hover .provider-icon{--un-grayscale:grayscale(0);filter:var(--un-blur) var(--un-brightness) var(--un-contrast) var(--un-drop-shadow) var(--un-grayscale) var(--un-hue-rotate) var(--un-invert) var(--un-saturate) var(--un-sepia)}.filter{filter:var(--un-blur) var(--un-brightness) var(--un-contrast) var(--un-drop-shadow) var(--un-grayscale) var(--un-hue-rotate) var(--un-invert) var(--un-saturate) var(--un-sepia)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all,[transition~=all]{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors,[transition~=colors]{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform,[transition~=transform]{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}[transition~=border]{transition-property:border;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}[transition~=filter]{transition-property:filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}[transition~="placeholder:all"]::placeholder{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.after\:transition-all:after{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-200,[transition~=duration-200]{transition-duration:.2s}.duration-250,[duration-250=""],[duration~="250"],[transition~=duration-250]{transition-duration:.25s}.duration-400,[transition~=duration-400]{transition-duration:.4s}.duration-500,[transition~=duration-500]{transition-duration:.5s}[duration~="10"]{transition-duration:10ms}[duration~="100"]{transition-duration:.1s}.placeholder\:duration-250::placeholder{transition-duration:.25s}[placeholder\:duration-250=""]::placeholder{transition-duration:.25s}[transition~="placeholder:duration-250"]::placeholder{transition-duration:.25s}[delay~="100"]{transition-delay:.1s}[delay~="150"]{transition-delay:.15s}[delay~="200"]{transition-delay:.2s}[delay~="250"]{transition-delay:.25s}[delay~="300"]{transition-delay:.3s}[delay~="50"]{transition-delay:50ms}.ease,.ease-in-out,[ease-in-out=""],[transition~=ease-in-out]{transition-timing-function:cubic-bezier(.4,0,.2,1)}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}.placeholder\:ease-in-out::placeholder{transition-timing-function:cubic-bezier(.4,0,.2,1)}[transition~="placeholder:ease-in-out"]::placeholder{transition-timing-function:cubic-bezier(.4,0,.2,1)}.after\:content-\[\'\'\]:after{content:""}.bg-dotted-\[neutral-200\/80\]{background-image:radial-gradient(circle at 1px 1px,rgb(229 229 229 / var(--un-background-opacity)) 1px,transparent 0);--un-background-opacity:.8}.dark .dark\:bg-dotted-\[neutral-700\/50\]{background-image:radial-gradient(circle at 1px 1px,rgb(64 64 64 / var(--un-background-opacity)) 1px,transparent 0);--un-background-opacity:.5}.dark .dark\:hover\:bg-dotted-\[primary-200\/20\]:hover{background-image:radial-gradient(circle at 1px 1px,oklch(90% var(--theme-colors-chroma-200) calc(var(--theme-colors-hue) + 0) / var(--un-background-opacity)) 1px,transparent 0);--un-background-opacity:.2}.hover\:bg-dotted-\[primary-300\/50\]:hover{background-image:radial-gradient(circle at 1px 1px,oklch(85% var(--theme-colors-chroma-300) calc(var(--theme-colors-hue) + 0) / var(--un-background-opacity)) 1px,transparent 0);--un-background-opacity:.5}@media (max-width: 1023.9px){[min-w~=""; initial-value: 0; inherits: true;}@keyframes hue-anim{0%{--theme-colors-hue: 0}to{--theme-colors-hue: 360}}.dynamic-hue{animation:hue-anim 10s linear infinite}*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:var(--un-default-border-color, #e5e7eb)}:before,:after{--un-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}:root{--airi-theme-primary-50: #fff0f2;--airi-theme-primary-100: #ffe3e6;--airi-theme-primary-200: #ffcad4;--airi-theme-primary-300: #ff9fb0;--airi-theme-primary-400: #ff6988;--airi-theme-primary-500: #fe456e;--airi-theme-primary-600: #ec124d;--airi-theme-primary-700: #c70941;--airi-theme-primary-800: #a70a3e;--airi-theme-primary-900: #8e0d3b;--airi-theme-primary-950: #50011b;--theme-colors-hue: 354.31;--theme-colors-chroma: calc(.18 + cos(var(--theme-colors-hue) * 3.14159265 / 180)/25) ;--theme-colors-chroma-50: calc(var(--theme-colors-chroma) * .3);--theme-colors-chroma-100: calc(var(--theme-colors-chroma) * .5);--theme-colors-chroma-200: calc(var(--theme-colors-chroma) * .6);--theme-colors-chroma-300: calc(var(--theme-colors-chroma) * .75);--theme-colors-chroma-400: var(--theme-colors-chroma);--theme-colors-chroma-600: calc(var(--theme-colors-chroma) * 1.15);--theme-colors-chroma-700: calc(var(--theme-colors-chroma) * 1.1);--theme-colors-chroma-800: calc(var(--theme-colors-chroma) * .85);--theme-colors-chroma-900: calc(var(--theme-colors-chroma) * .7);--theme-colors-chroma-950: calc(var(--theme-colors-chroma) * .5)}.slide-away-enter-active,.slide-away-leave-active{transition:transform .3s ease-in-out,opacity .3s ease-in-out}.slide-away-enter,.slide-away-leave-to{transform:translateY(-10px);opacity:0}.slide-away-enter-from,.slide-away-leave{transform:translateY(10px);opacity:0}html,body,#app{height:100%;margin:0;padding:0;overscroll-behavior:none}html{background:#fff;transition:all .3s ease-in-out}html.dark{background:#121212;color-scheme:dark}#nprogress{pointer-events:none}#nprogress .bar{background:#f472b6;opacity:.75;position:fixed;z-index:1031;top:0;left:0;width:100%;height:2px}*,:before,:after{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 rgb(0 0 0 / 0);--un-ring-shadow:0 0 rgb(0 0 0 / 0);--un-shadow-inset: ;--un-shadow:0 0 rgb(0 0 0 / 0);--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgb(147 197 253 / .5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }::backdrop{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 rgb(0 0 0 / 0);--un-ring-shadow:0 0 rgb(0 0 0 / 0);--un-shadow-inset: ;--un-shadow:0 0 rgb(0 0 0 / 0);--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgb(147 197 253 / .5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }@font-face{font-family:DM Mono;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/dmmono/v14/aFTU7PB1QTsUX8KYthSQBK6PYK3EXw.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:DM Mono;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/dmmono/v14/aFTU7PB1QTsUX8KYthqQBK6PYK0.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:DM Sans;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/dmsans/v15/rP2tp2ywxg089UriI5-g4vlH9VoD8CmcqZG40F9JadbnoEwAopxRR232RmYJp8I5zzw.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:DM Sans;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/dmsans/v15/rP2tp2ywxg089UriI5-g4vlH9VoD8CmcqZG40F9JadbnoEwAopxRSW32RmYJp8I5.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:"DM Serif Display";font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/dmserifdisplay/v15/-nFnOHM81r4j6k0gjAW3mujVU2B2G_5x0vrx52jJ3Q.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:"DM Serif Display";font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/dmserifdisplay/v15/-nFnOHM81r4j6k0gjAW3mujVU2B2G_Bx0vrx52g.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.0.woff2) format("woff2");unicode-range:U+25ee8,U+25f23,U+25f5c,U+25fd4,U+25fe0,U+25ffb,U+2600c,U+26017,U+26060,U+260ed,U+26222,U+2626a,U+26270,U+26286,U+2634c,U+26402,U+2667e,U+266b0,U+2671d,U+268dd,U+268ea,U+26951,U+2696f,U+26999,U+269dd,U+26a1e,U+26a58,U+26a8c,U+26ab7,U+26aff,U+26c29,U+26c73,U+26c9e,U+26cdd,U+26e40,U+26e65,U+26f94,U+26ff6-26ff8,U+270f4,U+2710d,U+27139,U+273da-273db,U+273fe,U+27410,U+27449,U+27614-27615,U+27631,U+27684,U+27693,U+2770e,U+27723,U+27752,U+278b2,U+27985,U+279b4,U+27a84,U+27bb3,U+27bbe,U+27bc7,U+27c3c,U+27cb8,U+27d73,U+27da0,U+27e10,U+27eaf,U+27fb7,U+2808a,U+280bb,U+28277,U+28282,U+282f3,U+283cd,U+2840c,U+28455,U+284dc,U+2856b,U+285c8-285c9,U+286d7,U+286fa,U+28946,U+28949,U+2896b,U+28987-28988,U+289ba-289bb,U+28a1e,U+28a29,U+28a43,U+28a71,U+28a99,U+28acd,U+28add,U+28ae4,U+28bc1,U+28bef,U+28cdd,U+28d10,U+28d71,U+28dfb,U+28e0f,U+28e17,U+28e1f,U+28e36,U+28e89,U+28eeb,U+28ef6,U+28f32,U+28ff8,U+292a0,U+292b1,U+29490,U+295cf,U+2967f,U+296f0,U+29719,U+29750,U+29810,U+298c6,U+29a72,U+29d4b,U+29ddb,U+29e15,U+29e3d,U+29e49,U+29e8a,U+29ec4,U+29edb,U+29ee9,U+29fce,U+29fd7,U+2a01a,U+2a02f,U+2a082,U+2a0f9,U+2a190,U+2a2b2,U+2a38c,U+2a437,U+2a5f1,U+2a602,U+2a61a,U+2a6b2,U+2a9e6,U+2b746,U+2b751,U+2b753,U+2b75a,U+2b75c,U+2b765,U+2b776-2b777,U+2b77c,U+2b782,U+2b789,U+2b78b,U+2b78e,U+2b794,U+2b7ac,U+2b7af,U+2b7bd,U+2b7c9,U+2b7cf,U+2b7d2,U+2b7d8,U+2b7f0,U+2b80d,U+2b817,U+2b81a,U+2d544,U+2e278,U+2e569,U+2e6ea,U+2f804,U+2f80f,U+2f815,U+2f818,U+2f81a,U+2f822,U+2f828,U+2f82c,U+2f833,U+2f83f,U+2f846,U+2f852,U+2f862,U+2f86d,U+2f873,U+2f877,U+2f884,U+2f899-2f89a,U+2f8a6,U+2f8ac,U+2f8b2,U+2f8b6,U+2f8d3,U+2f8db-2f8dc,U+2f8e1,U+2f8e5,U+2f8ea,U+2f8ed,U+2f8fc,U+2f903,U+2f90b,U+2f90f,U+2f91a,U+2f920-2f921,U+2f945,U+2f947,U+2f96c,U+2f995,U+2f9d0,U+2f9de-2f9df,U+2f9f4}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.1.woff2) format("woff2");unicode-range:U+1f235-1f23b,U+1f240-1f248,U+1f250-1f251,U+2000b,U+20089-2008a,U+200a2,U+200a4,U+200b0,U+200f5,U+20158,U+201a2,U+20213,U+2032b,U+20371,U+20381,U+203f9,U+2044a,U+20509,U+2053f,U+205b1,U+205d6,U+20611,U+20628,U+206ec,U+2074f,U+207c8,U+20807,U+2083a,U+208b9,U+2090e,U+2097c,U+20984,U+2099d,U+20a64,U+20ad3,U+20b1d,U+20b9f,U+20bb7,U+20d45,U+20d58,U+20de1,U+20e64,U+20e6d,U+20e95,U+20f5f,U+21201,U+2123d,U+21255,U+21274,U+2127b,U+212d7,U+212e4,U+212fd,U+2131b,U+21336,U+21344,U+213c4,U+2146d-2146e,U+215d7,U+21647,U+216b4,U+21706,U+21742,U+218bd,U+219c3,U+21a1a,U+21c56,U+21d2d,U+21d45,U+21d62,U+21d78,U+21d92,U+21d9c,U+21da1,U+21db7,U+21de0,U+21e33-21e34,U+21f1e,U+21f76,U+21ffa,U+2217b,U+22218,U+2231e,U+223ad,U+22609,U+226f3,U+2285b,U+228ab,U+2298f,U+22ab8,U+22b46,U+22b4f-22b50,U+22ba6,U+22c1d,U+22c24,U+22de1,U+22e42,U+22feb,U+231b6,U+231c3-231c4,U+231f5,U+23372,U+233cc,U+233d0,U+233d2-233d3,U+233d5,U+233da,U+233df,U+233e4,U+233fe,U+2344a-2344b,U+23451,U+23465,U+234e4,U+2355a,U+23594,U+235c4,U+23638-2363a,U+23647,U+2370c,U+2371c,U+2373f,U+23763-23764,U+237e7,U+237f1,U+237ff,U+23824,U+2383d,U+23a98,U+23c7f,U+23cbe,U+23cfe,U+23d00,U+23d0e,U+23d40,U+23dd3,U+23df9-23dfa,U+23f7e,U+2404b,U+24096,U+24103,U+241c6,U+241fe,U+242ee,U+243bc,U+243d0,U+24629,U+246a5,U+247f1,U+24896,U+248e9,U+24a4d,U+24b56,U+24b6f,U+24c16,U+24d14,U+24e04,U+24e0e,U+24e37,U+24e6a,U+24e8b,U+24ff2,U+2504a,U+25055,U+25122,U+251a9,U+251cd,U+251e5,U+2521e,U+2524c,U+2542e,U+2548e,U+254d9,U+2550e,U+255a7,U+2567f,U+25771,U+257a9,U+257b4,U+25874,U+259c4,U+259cc,U+259d4,U+25ad7,U+25ae3-25ae4,U+25af1,U+25bb2,U+25c4b,U+25c64,U+25da1,U+25e2e,U+25e56,U+25e62,U+25e65,U+25ec2,U+25ed8}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.2.woff2) format("woff2");unicode-range:U+ffd7,U+ffda-ffdc,U+ffe0-ffe2,U+ffe4,U+ffe6,U+ffe8-ffee,U+1f100-1f10c,U+1f110-1f16c,U+1f170-1f1ac,U+1f200-1f202,U+1f210-1f234}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.3.woff2) format("woff2");unicode-range:U+fa10,U+fa12-fa6d,U+fb00-fb04,U+fe10-fe19,U+fe30-fe42,U+fe44-fe52,U+fe54-fe66,U+fe68-fe6b,U+ff02,U+ff04,U+ff07,U+ff51,U+ff5b,U+ff5d,U+ff5f-ff60,U+ff66,U+ff69,U+ff87,U+ffa1-ffbe,U+ffc2-ffc7,U+ffca-ffcf,U+ffd2-ffd6}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.4.woff2) format("woff2");unicode-range:U+f92d-f959,U+f95b-f9f2,U+f9f4-fa0b,U+fa0e-fa0f}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.5.woff2) format("woff2");unicode-range:U+9e8b-9e8c,U+9e8e-9e8f,U+9e91-9e92,U+9e95-9e96,U+9e98,U+9e9b,U+9e9d-9e9e,U+9ea4-9ea5,U+9ea8-9eaa,U+9eac-9eb0,U+9eb3-9eb5,U+9eb8,U+9ebc-9ebf,U+9ec3,U+9ec6,U+9ec8,U+9ecb-9ecd,U+9ecf-9ed1,U+9ed4-9ed5,U+9ed8,U+9edb-9ee0,U+9ee4-9ee5,U+9ee7-9ee8,U+9eec-9ef2,U+9ef4-9ef9,U+9efb-9eff,U+9f02-9f03,U+9f07-9f09,U+9f0e-9f12,U+9f14-9f17,U+9f19-9f1b,U+9f1f-9f22,U+9f26,U+9f2a-9f2c,U+9f2f,U+9f31-9f32,U+9f34,U+9f37,U+9f39-9f3a,U+9f3c-9f3f,U+9f41,U+9f43-9f47,U+9f4a,U+9f4e-9f50,U+9f52-9f58,U+9f5a,U+9f5d-9f61,U+9f63,U+9f66-9f6a,U+9f6c-9f73,U+9f75-9f77,U+9f7a,U+9f7d,U+9f7f,U+9f8f-9f92,U+9f94-9f97,U+9f99,U+9f9c-9fa3,U+9fa5,U+9fb4,U+9fbc-9fc2,U+9fc4,U+9fc6,U+9fcc,U+f900-f92c}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.6.woff2) format("woff2");unicode-range:U+9c3e,U+9c41,U+9c43-9c4a,U+9c4e-9c50,U+9c52-9c54,U+9c56,U+9c58,U+9c5a-9c61,U+9c63,U+9c65,U+9c67-9c6b,U+9c6d-9c6e,U+9c70,U+9c72,U+9c75-9c78,U+9c7a-9c7c,U+9ce6-9ce7,U+9ceb-9cec,U+9cf0,U+9cf2,U+9cf6-9cf7,U+9cf9,U+9d02-9d03,U+9d06-9d09,U+9d0b,U+9d0e,U+9d11-9d12,U+9d15,U+9d17-9d18,U+9d1b-9d1f,U+9d23,U+9d26,U+9d2a-9d2c,U+9d2f-9d30,U+9d32-9d34,U+9d3a,U+9d3c-9d3f,U+9d41-9d48,U+9d4a,U+9d50-9d54,U+9d59,U+9d5d-9d65,U+9d69-9d6c,U+9d6f-9d70,U+9d72-9d73,U+9d76-9d77,U+9d7a-9d7c,U+9d7e,U+9d83-9d84,U+9d86-9d87,U+9d89-9d8a,U+9d8d-9d8e,U+9d92-9d93,U+9d95-9d9a,U+9da1,U+9da4,U+9da9-9dac,U+9dae,U+9db1-9db2,U+9db5,U+9db8-9dbd,U+9dbf-9dc4,U+9dc6-9dc7,U+9dc9-9dca,U+9dcf,U+9dd3-9dd7,U+9dd9-9dda,U+9dde-9de0,U+9de3,U+9de5-9de7,U+9de9,U+9deb,U+9ded-9df0,U+9df3-9df4,U+9df8,U+9dfd-9dfe,U+9e02,U+9e07,U+9e0a,U+9e0d-9e0e,U+9e10-9e12,U+9e15-9e16,U+9e19-9e1f,U+9e75,U+9e79-9e7d,U+9e80-9e85,U+9e87-9e88}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.7.woff2) format("woff2");unicode-range:U+9ae5-9ae7,U+9ae9,U+9aeb-9aec,U+9aee-9aef,U+9af1-9af5,U+9af7,U+9af9-9afb,U+9afd,U+9aff-9b06,U+9b08-9b09,U+9b0b-9b0e,U+9b10,U+9b12,U+9b16,U+9b18-9b1d,U+9b1f-9b20,U+9b22-9b23,U+9b25-9b2f,U+9b32-9b35,U+9b37,U+9b39-9b3b,U+9b3d,U+9b43-9b44,U+9b48,U+9b4b-9b4f,U+9b51,U+9b55-9b58,U+9b5b,U+9b5e,U+9b61,U+9b63,U+9b65-9b66,U+9b68,U+9b6a-9b6f,U+9b72-9b79,U+9b7f-9b80,U+9b83-9b87,U+9b89-9b8b,U+9b8d,U+9b8f-9b94,U+9b96-9b97,U+9b9a,U+9b9d-9ba0,U+9ba6-9ba7,U+9ba9-9baa,U+9bac,U+9bb0-9bb2,U+9bb4,U+9bb7-9bb9,U+9bbb-9bbc,U+9bbe-9bc1,U+9bc6-9bc8,U+9bca,U+9bce-9bd2,U+9bd4,U+9bd7-9bd8,U+9bdd,U+9bdf,U+9be1-9be5,U+9be7,U+9bea-9beb,U+9bee-9bf3,U+9bf5,U+9bf7-9bfa,U+9bfd,U+9bff-9c00,U+9c02,U+9c04,U+9c06,U+9c08-9c0d,U+9c0f-9c16,U+9c18-9c1e,U+9c21-9c2a,U+9c2d-9c32,U+9c35-9c37,U+9c39-9c3a,U+9c3d}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.8.woff2) format("woff2");unicode-range:U+98eb,U+98ed-98ee,U+98f0-98f1,U+98f3,U+98f6,U+9902,U+9907-9909,U+9911-9912,U+9914-9918,U+991a-9922,U+9924,U+9926-9927,U+992b-992c,U+992e,U+9931-9935,U+9939-993e,U+9940-9942,U+9945-9949,U+994b-994e,U+9950-9952,U+9954-9955,U+9958-9959,U+995b-995c,U+995e-9960,U+9963,U+9997-9998,U+999b,U+999d-999f,U+99a3,U+99a5-99a6,U+99a8,U+99ad-99ae,U+99b0-99b2,U+99b5,U+99b9-99ba,U+99bc-99bd,U+99bf,U+99c1,U+99c3,U+99c8-99c9,U+99d1,U+99d3-99d5,U+99d8-99df,U+99e1-99e2,U+99e7,U+99ea-99ee,U+99f0-99f2,U+99f4-99f5,U+99f8-99f9,U+99fb-99fe,U+9a01-9a05,U+9a08,U+9a0a-9a0c,U+9a0f-9a11,U+9a16,U+9a1a,U+9a1e,U+9a20,U+9a22-9a24,U+9a27,U+9a2b,U+9a2d-9a2e,U+9a31,U+9a33,U+9a35-9a38,U+9a3e,U+9a40-9a45,U+9a47,U+9a4a-9a4e,U+9a51-9a52,U+9a54-9a58,U+9a5b,U+9a5d,U+9a5f,U+9a62,U+9a64-9a65,U+9a69-9a6c,U+9aaa,U+9aac-9ab0,U+9ab2,U+9ab4-9ab7,U+9ab9,U+9abb-9ac1,U+9ac3,U+9ac6,U+9ac8,U+9ace-9ad3,U+9ad5-9ad7,U+9adb-9adc,U+9ade-9ae0,U+9ae2-9ae4}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.9.woff2) format("woff2");unicode-range:U+971d,U+9721-9724,U+9728,U+972a,U+9730-9731,U+9733,U+9736,U+9738-9739,U+973b,U+973d-973e,U+9741-9744,U+9746-974a,U+974d-974f,U+9751,U+9755,U+9757-9758,U+975a-975c,U+9760-9761,U+9763-9764,U+9766-9768,U+976a-976b,U+976e,U+9771,U+9773,U+9776-977d,U+977f-9781,U+9785-9786,U+9789,U+978b,U+978f-9790,U+9795-9797,U+9799-979a,U+979c,U+979e-97a0,U+97a2-97a3,U+97a6,U+97a8,U+97ab-97ac,U+97ae,U+97b1-97b6,U+97b8-97ba,U+97bc,U+97be-97bf,U+97c1,U+97c3-97ce,U+97d0-97d1,U+97d4,U+97d7-97d9,U+97db-97de,U+97e0-97e1,U+97e4,U+97e6,U+97ed-97ef,U+97f1-97f2,U+97f4-97f8,U+97fa,U+9804,U+9807,U+980a,U+980c-980f,U+9814,U+9816-9817,U+9819-981a,U+981c,U+981e,U+9820-9821,U+9823-9826,U+982b,U+982e-9830,U+9832-9835,U+9837,U+9839,U+983d-983e,U+9844,U+9846-9847,U+984a-984b,U+984f,U+9851-9853,U+9856-9857,U+9859-985b,U+9862-9863,U+9865-9866,U+986a-986c,U+986f-9871,U+9873-9875,U+98aa-98ab,U+98ad-98ae,U+98b0-98b1,U+98b4,U+98b6-98b8,U+98ba-98bc,U+98bf,U+98c2-98c8,U+98cb-98cc,U+98ce,U+98dc,U+98de,U+98e0-98e1,U+98e3,U+98e5-98e7,U+98e9-98ea}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.10.woff2) format("woff2");unicode-range:U+944a,U+944c,U+9452-9453,U+9455,U+9459-945c,U+945e-9463,U+9468,U+946a-946b,U+946d-9472,U+9475,U+9477,U+947c-947f,U+9481,U+9483-9485,U+9578-9579,U+957e-957f,U+9582,U+9584,U+9586-9588,U+958a,U+958c-958f,U+9592,U+9594,U+9596,U+9598-9599,U+959d-95a1,U+95a4,U+95a6-95a9,U+95ab-95ad,U+95b1,U+95b4,U+95b6,U+95b9-95bf,U+95c3,U+95c6,U+95c8-95cd,U+95d0-95d6,U+95d9-95da,U+95dc-95e2,U+95e4-95e6,U+95e8,U+961d-961e,U+9621-9622,U+9624-9626,U+9628,U+962c,U+962e-962f,U+9631,U+9633-9634,U+9637-963a,U+963c-963d,U+9641-9642,U+964b-964c,U+964f,U+9652,U+9654,U+9656-9658,U+965c-965f,U+9661,U+9666,U+966a,U+966c,U+966e,U+9672,U+9674,U+9677,U+967b-967c,U+967e-967f,U+9681-9684,U+9689,U+968b,U+968d,U+9691,U+9695-9698,U+969a,U+969d,U+969f,U+96a4-96aa,U+96ae-96b4,U+96b6,U+96b8-96bb,U+96bd,U+96c1,U+96c9-96cb,U+96cd-96ce,U+96d2,U+96d5-96d6,U+96d8-96da,U+96dc-96df,U+96e9,U+96ef,U+96f1,U+96f9-96fa,U+9702-9706,U+9708-9709,U+970d-970f,U+9711,U+9713-9714,U+9716,U+9719-971b}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.11.woff2) format("woff2");unicode-range:U+92bc-92bd,U+92bf-92c3,U+92c5-92c8,U+92cb-92d0,U+92d2-92d3,U+92d5,U+92d7-92d9,U+92dc-92dd,U+92df-92e1,U+92e3-92e5,U+92e7-92ea,U+92ec,U+92ee,U+92f0,U+92f2,U+92f7-92fb,U+92ff-9300,U+9302,U+9304,U+9308,U+930d,U+930f-9311,U+9314-9315,U+9318-931a,U+931c-931f,U+9321-9325,U+9327-932b,U+932e,U+9333-9337,U+933a-933b,U+9344,U+9347-934a,U+934d,U+9350-9352,U+9354-9358,U+935a,U+935c,U+935e,U+9360,U+9364-9365,U+9367,U+9369-936d,U+936f-9371,U+9373-9374,U+9376,U+937a,U+937d-9382,U+9388,U+938a-938b,U+938d,U+938f,U+9392,U+9394-9395,U+9397-9398,U+939a-939b,U+939e,U+93a1,U+93a3-93a4,U+93a6,U+93a8-93a9,U+93ab-93ad,U+93b0,U+93b4-93b6,U+93b9-93bb,U+93c1,U+93c3-93cd,U+93d0-93d1,U+93d3,U+93d6-93d9,U+93dc-93df,U+93e2,U+93e4-93e8,U+93f1,U+93f5,U+93f7-93fb,U+93fd,U+9401-9404,U+9407-9409,U+940d-9410,U+9413-9417,U+9419-941a,U+941f,U+9421,U+942b,U+942e-942f,U+9431-9434,U+9436,U+9438,U+943a-943b,U+943d,U+943f,U+9441,U+9443-9445,U+9448}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.12.woff2) format("woff2");unicode-range:U+9143,U+9146-914c,U+914f,U+9153,U+9156-915b,U+9161,U+9163-9165,U+9167,U+9169,U+916d,U+9172-9174,U+9179-917b,U+9181-9183,U+9185-9187,U+9189-918b,U+918e,U+9191,U+9193-9195,U+9197-9198,U+919e,U+91a1-91a2,U+91a6,U+91a8,U+91aa-91b6,U+91ba-91bd,U+91bf-91c6,U+91c9,U+91cb,U+91d0,U+91d3-91d4,U+91d6-91d7,U+91d9-91db,U+91de-91df,U+91e1,U+91e4-91e6,U+91e9-91ea,U+91ec-91f1,U+91f5-91f7,U+91f9,U+91fb-91fd,U+91ff-9201,U+9204-9207,U+9209-920a,U+920c,U+920e,U+9210-9218,U+921c-921e,U+9223-9226,U+9228-9229,U+922c,U+922e-9230,U+9233,U+9235-923a,U+923c,U+923e-9240,U+9242-9243,U+9245-924b,U+924d-9251,U+9256-925a,U+925c-925e,U+9260-9261,U+9264-9269,U+926e-9270,U+9275-9279,U+927b-927f,U+9288-928a,U+928d-928e,U+9291-9293,U+9295-9297,U+9299,U+929b-929c,U+929f-92a0,U+92a4-92a5,U+92a7-92a8,U+92ab,U+92af,U+92b2-92b3,U+92b6-92bb}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.13.woff2) format("woff2");unicode-range:U+8f52-8f55,U+8f57-8f58,U+8f5c-8f5e,U+8f61-8f66,U+8f9c-8f9d,U+8f9f-8fa2,U+8fa4-8fa8,U+8fad-8faf,U+8fb4-8fb8,U+8fbe,U+8fc0-8fc2,U+8fc6,U+8fc8,U+8fca-8fcb,U+8fcd,U+8fd0,U+8fd2-8fd3,U+8fd5,U+8fda,U+8fe0,U+8fe2-8fe5,U+8fe8-8fea,U+8fed-8fef,U+8ff1,U+8ff4-8ff6,U+8ff8-8ffb,U+8ffe,U+9002,U+9004-9005,U+9008,U+900b-900e,U+9011,U+9013,U+9015-9016,U+9018,U+901b,U+901e,U+9021,U+9027-902a,U+902c-902d,U+902f,U+9033-9037,U+9039,U+903c,U+903e-903f,U+9041,U+9043-9044,U+9049,U+904c,U+904f-9052,U+9056,U+9058,U+905b-905e,U+9062,U+9066-9068,U+906c,U+906f-9070,U+9072,U+9074,U+9076,U+9079,U+9080-9083,U+9085,U+9087-9088,U+908b-908c,U+908e-9090,U+9095,U+9097-9099,U+909b,U+90a0-90a2,U+90a5,U+90a8,U+90af-90b6,U+90bd-90be,U+90c3-90c5,U+90c7-90c9,U+90cc,U+90d2,U+90d5,U+90d7-90d9,U+90db-90df,U+90e2,U+90e4-90e5,U+90eb,U+90ef-90f0,U+90f2,U+90f4,U+90f6,U+90fe-9100,U+9102,U+9104-9106,U+9108,U+910d,U+9110,U+9112,U+9114-911a,U+911c,U+911e,U+9120,U+9122-9123,U+9125,U+9127,U+9129,U+912d-9132,U+9134,U+9136-9137,U+9139-913a,U+913c-913d}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.14.woff2) format("woff2");unicode-range:U+8dc0,U+8dc2,U+8dc5-8dc8,U+8dca-8dcc,U+8dce-8dcf,U+8dd1,U+8dd4-8dd7,U+8dd9-8ddb,U+8ddf,U+8de3-8de5,U+8de7,U+8dea-8dec,U+8df0-8df2,U+8df4,U+8dfc-8dfd,U+8dff,U+8e01,U+8e04-8e06,U+8e08-8e09,U+8e0b-8e0c,U+8e10-8e11,U+8e14,U+8e16,U+8e1d-8e23,U+8e26-8e27,U+8e30-8e31,U+8e33-8e39,U+8e3d,U+8e40-8e42,U+8e44,U+8e47-8e50,U+8e54-8e55,U+8e59,U+8e5b-8e64,U+8e69,U+8e6c-8e6d,U+8e6f-8e72,U+8e75-8e77,U+8e79-8e7c,U+8e81-8e85,U+8e89,U+8e8b,U+8e90-8e95,U+8e98-8e9b,U+8e9d-8e9e,U+8ea1-8ea2,U+8ea7,U+8ea9-8eaa,U+8eac-8eb1,U+8eb3,U+8eb5-8eb6,U+8eba-8ebb,U+8ebe,U+8ec0-8ec1,U+8ec3-8ec8,U+8ecb,U+8ecf,U+8ed1,U+8ed4,U+8edb-8edc,U+8ee3,U+8ee8,U+8eeb,U+8eed-8eee,U+8ef0-8ef1,U+8ef7,U+8ef9-8efc,U+8efe,U+8f00,U+8f02,U+8f05,U+8f07-8f08,U+8f0a,U+8f0f-8f10,U+8f12-8f13,U+8f15-8f19,U+8f1b-8f1c,U+8f1e-8f21,U+8f23,U+8f25-8f28,U+8f2b-8f2f,U+8f33-8f37,U+8f39-8f3b,U+8f3e,U+8f40-8f43,U+8f45-8f47,U+8f49-8f4a,U+8f4c-8f4f,U+8f51}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.15.woff2) format("woff2");unicode-range:U+8b2d,U+8b30,U+8b37,U+8b3c,U+8b3e,U+8b41-8b46,U+8b48-8b49,U+8b4c-8b4f,U+8b51-8b54,U+8b56,U+8b59,U+8b5b,U+8b5e-8b5f,U+8b63,U+8b69,U+8b6b-8b6d,U+8b6f,U+8b71,U+8b74,U+8b76,U+8b78-8b79,U+8b7c-8b81,U+8b84-8b85,U+8b8a-8b8f,U+8b92-8b96,U+8b99-8b9a,U+8b9c-8ba0,U+8c38-8c3a,U+8c3d-8c3f,U+8c41,U+8c45,U+8c47-8c49,U+8c4b-8c4c,U+8c4e-8c51,U+8c53-8c55,U+8c57-8c59,U+8c5b,U+8c5d,U+8c62-8c64,U+8c66,U+8c68-8c69,U+8c6b-8c6d,U+8c73,U+8c75-8c76,U+8c78,U+8c7a-8c7c,U+8c7e,U+8c82,U+8c85-8c87,U+8c89-8c8b,U+8c8d-8c8e,U+8c90,U+8c92-8c94,U+8c98-8c99,U+8c9b-8c9c,U+8c9f,U+8ca4,U+8cad-8cae,U+8cb2-8cb3,U+8cb6,U+8cb9-8cba,U+8cbd,U+8cc1-8cc2,U+8cc4-8cc6,U+8cc8-8cc9,U+8ccb,U+8ccd-8ccf,U+8cd2,U+8cd5-8cd6,U+8cd9-8cda,U+8cdd,U+8ce1,U+8ce3-8ce4,U+8ce6,U+8ce8,U+8cec,U+8cef-8cf2,U+8cf4-8cf5,U+8cf7-8cf8,U+8cfa-8cfb,U+8cfd-8cff,U+8d01,U+8d03-8d04,U+8d07,U+8d09-8d0b,U+8d0d-8d10,U+8d12-8d14,U+8d16-8d17,U+8d1b-8d1d,U+8d65,U+8d67,U+8d69,U+8d6b-8d6e,U+8d71,U+8d73,U+8d76,U+8d7f,U+8d81-8d82,U+8d84,U+8d88,U+8d8d,U+8d90-8d91,U+8d95,U+8d99,U+8d9e-8da0,U+8da6,U+8da8,U+8dab-8dac,U+8daf,U+8db2,U+8db5,U+8db7,U+8db9-8dbc,U+8dbe}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.16.woff2) format("woff2");unicode-range:U+8973-8975,U+8977,U+897a-897e,U+8980,U+8983,U+8988-898a,U+898d,U+8990,U+8993-8995,U+8998,U+899b-899c,U+899f-89a1,U+89a5-89a6,U+89a9,U+89ac,U+89af-89b0,U+89b2,U+89b4-89b7,U+89ba,U+89bc-89bd,U+89bf-89c1,U+89d4-89d8,U+89da,U+89dc-89dd,U+89e5,U+89e7,U+89e9,U+89eb,U+89ed,U+89f1,U+89f3-89f4,U+89f6,U+89f8-89f9,U+89fd,U+89ff,U+8a01,U+8a04-8a05,U+8a07,U+8a0c,U+8a0f-8a12,U+8a14-8a16,U+8a1b,U+8a1d-8a1e,U+8a20-8a22,U+8a24-8a26,U+8a2b-8a2c,U+8a2f,U+8a35-8a37,U+8a3b,U+8a3d-8a3e,U+8a40-8a41,U+8a43,U+8a45-8a49,U+8a4d-8a4e,U+8a51-8a54,U+8a56-8a58,U+8a5b-8a5d,U+8a61-8a62,U+8a65,U+8a67,U+8a6c-8a6d,U+8a75-8a77,U+8a79-8a7c,U+8a7e-8a80,U+8a82-8a86,U+8a8b,U+8a8f-8a92,U+8a96-8a97,U+8a99-8a9a,U+8a9f,U+8aa1,U+8aa3,U+8aa5-8aaa,U+8aae-8aaf,U+8ab3,U+8ab6-8ab7,U+8abb-8abc,U+8abe,U+8ac2-8ac4,U+8ac6,U+8ac8-8aca,U+8acc-8acd,U+8ad0-8ad1,U+8ad3-8ad5,U+8ad7,U+8ada-8ae2,U+8ae4,U+8ae7,U+8aeb-8aec,U+8aee,U+8af0-8af1,U+8af3-8af7,U+8afa,U+8afc,U+8aff,U+8b01-8b02,U+8b04-8b07,U+8b0a-8b0d,U+8b0f-8b11,U+8b14,U+8b16,U+8b1a,U+8b1c,U+8b1e-8b20,U+8b26,U+8b28,U+8b2b-8b2c}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.17.woff2) format("woff2");unicode-range:U+87e2-87e6,U+87ea-87ed,U+87ef,U+87f1,U+87f3,U+87f5-87f8,U+87fa-87fb,U+87fe-87ff,U+8801,U+8803,U+8805-8807,U+8809-880b,U+880d-8816,U+8818-881c,U+881e-881f,U+8821-8822,U+8827-8828,U+882d-882e,U+8830-8832,U+8835-8836,U+8839-883c,U+8841-8845,U+8848-884b,U+884d-884e,U+8851-8852,U+8855-8856,U+8858-885a,U+885c,U+885e-8860,U+8862,U+8864,U+8869,U+886b,U+886e-886f,U+8871-8872,U+8875,U+8877,U+8879,U+887b,U+887d-887e,U+8880-8882,U+8888,U+888d,U+8892,U+8897-889c,U+889e-88a0,U+88a2,U+88a4,U+88a8,U+88aa,U+88ae,U+88b0-88b1,U+88b5,U+88b7,U+88ba,U+88bc-88c0,U+88c3-88c4,U+88c6,U+88ca-88ce,U+88d1-88d4,U+88d8-88d9,U+88db,U+88dd-88e1,U+88e7-88e8,U+88ef-88f2,U+88f4-88f5,U+88f7,U+88f9,U+88fc,U+8901-8902,U+8904,U+8906,U+890a,U+890c-890f,U+8913,U+8915-8916,U+8918-891a,U+891c-891e,U+8920,U+8925-8928,U+892a-892b,U+8930-8932,U+8935-893b,U+893e,U+8940-8946,U+8949,U+894c-894d,U+894f,U+8952,U+8956-8957,U+895a-895c,U+895e,U+8960-8964,U+8966,U+896a-896b,U+896d-8970}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.18.woff2) format("woff2");unicode-range:U+8655-8659,U+865b,U+865d-8664,U+8667,U+8669,U+866c,U+866f,U+8671,U+8675-8677,U+867a-867b,U+867d,U+8687-8689,U+868b-868d,U+8691,U+8693,U+8695-8696,U+8698,U+869a,U+869c-869d,U+86a1,U+86a3-86a4,U+86a6-86ab,U+86ad,U+86af-86b1,U+86b3-86b9,U+86bf-86c1,U+86c3-86c6,U+86c9,U+86cb,U+86ce,U+86d1-86d2,U+86d4-86d5,U+86d7,U+86da,U+86dc,U+86de-86e0,U+86e3-86e7,U+86e9,U+86ec-86ed,U+86ef,U+86f8-86fe,U+8700,U+8703-870b,U+870d-8714,U+8719-871a,U+871e-871f,U+8721-8723,U+8725,U+8728-8729,U+872e-872f,U+8731-8732,U+8734,U+8737,U+8739-8740,U+8743,U+8745,U+8749,U+874b-874e,U+8751,U+8753,U+8755,U+8757-8759,U+875d,U+875f-8761,U+8763-8766,U+8768,U+876a,U+876e-876f,U+8771-8772,U+8774,U+8778,U+877b-877c,U+877f,U+8782-8789,U+878b-878c,U+878e,U+8790,U+8793,U+8795,U+8797-8799,U+879e-87a0,U+87a2-87a3,U+87a7,U+87ab-87af,U+87b1,U+87b3,U+87b5,U+87bb,U+87bd-87c1,U+87c4,U+87c6-87cb,U+87ce,U+87d0,U+87d2,U+87d5-87d6,U+87d9-87da,U+87dc,U+87df-87e0}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.19.woff2) format("woff2");unicode-range:U+84b4,U+84b9-84bb,U+84bd-84c2,U+84c6-84ca,U+84cc-84d1,U+84d3,U+84d6,U+84d9-84da,U+84dc,U+84e7,U+84ea,U+84ec,U+84ef-84f2,U+84f4,U+84f7,U+84fa-84fd,U+84ff-8500,U+8502-8503,U+8506-8507,U+850c,U+850e,U+8510,U+8514-8515,U+8517-8518,U+851a-851c,U+851e-851f,U+8521-8525,U+8527,U+852a-852c,U+852f,U+8532-8534,U+8536,U+853e-8541,U+8543,U+8546,U+8548,U+854a-854b,U+854f-8553,U+8555-855a,U+855c-8564,U+8569-856b,U+856d,U+856f,U+8577,U+8579-857b,U+857d-8581,U+8585-8586,U+8588-858c,U+858f-8591,U+8593,U+8597-8598,U+859b-859d,U+859f-85a0,U+85a2,U+85a4-85a5,U+85a7-85a8,U+85ad-85b0,U+85b4,U+85b6-85ba,U+85bc-85bf,U+85c1-85c2,U+85c7,U+85c9-85cb,U+85ce-85d0,U+85d5,U+85d8-85da,U+85dc,U+85df-85e1,U+85e5-85e6,U+85e8,U+85ed,U+85f3-85f4,U+85f6-85f7,U+85f9-85fa,U+85fc,U+85fe-8600,U+8602,U+8604-8606,U+860a-860b,U+860d-860e,U+8610-8613,U+8616-861b,U+861e,U+8621-8622,U+8624,U+8627,U+8629,U+862f-8630,U+8636,U+8638-863a,U+863c-863d,U+863f-8642,U+8646,U+864d,U+8652-8654}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.20.woff2) format("woff2");unicode-range:U+82e8,U+82ea,U+82ed,U+82ef,U+82f3-82f4,U+82f6-82f7,U+82f9,U+82fb,U+82fd-82fe,U+8300-8301,U+8303,U+8306-8308,U+830a-830c,U+8316-8318,U+831b,U+831d-831f,U+8321-8323,U+832b-8335,U+8337,U+833a,U+833c-833d,U+8340,U+8342-8347,U+834a,U+834d-8351,U+8353-8357,U+835a,U+8362-8363,U+8370,U+8373,U+8375,U+8378,U+837c-837d,U+837f-8380,U+8382,U+8384-8387,U+838a,U+838d-838e,U+8392-8396,U+8398-83a0,U+83a2,U+83a6-83ad,U+83b1,U+83b5,U+83bd-83c1,U+83c7,U+83c9,U+83ce-83d1,U+83d4,U+83d6,U+83d8,U+83dd,U+83df-83e1,U+83e5,U+83e8,U+83ea-83eb,U+83f0,U+83f2,U+83f4,U+83f6-83f9,U+83fb-83fd,U+8401,U+8403-8404,U+8406-8407,U+840a-840b,U+840d,U+840f,U+8411,U+8413,U+8415,U+8417,U+8419,U+8420,U+8422,U+842a,U+842f,U+8431,U+8435,U+8438-8439,U+843c,U+8445-8448,U+844a,U+844d-844f,U+8451-8452,U+8456,U+8458-845a,U+845c,U+845f-8462,U+8464-8467,U+8469-846b,U+846d-8470,U+8473-8474,U+8476-847a,U+847c-847d,U+8481-8482,U+8484-8485,U+848b,U+8490,U+8492-8493,U+8495,U+8497,U+849c,U+849e-849f,U+84a1,U+84a6,U+84a8-84aa,U+84ad,U+84af,U+84b1}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.21.woff2) format("woff2");unicode-range:U+814a,U+814c,U+8151-8153,U+8157,U+815f-8161,U+8165-8169,U+816d-816f,U+8171,U+8173-8174,U+8177,U+8180-8186,U+8188,U+818a-818b,U+818e,U+8190,U+8193,U+8195-8196,U+8198,U+819b,U+819e,U+81a0,U+81a2,U+81a4,U+81a9,U+81ae,U+81b0,U+81b2,U+81b4-81b5,U+81b8,U+81ba-81bb,U+81bd-81be,U+81c0-81c3,U+81c5-81c6,U+81c8-81cb,U+81cd-81cf,U+81d1,U+81d5-81db,U+81dd-81e1,U+81e4-81e5,U+81e7,U+81eb-81ec,U+81ef-81f2,U+81f5-81f6,U+81f8-81fb,U+81fd-8205,U+8209-820b,U+820d,U+820f,U+8212-8214,U+8216,U+8219-821d,U+8221-8222,U+8228-8229,U+822b,U+822e,U+8232-8235,U+8237-8238,U+823a,U+823c,U+8240,U+8243-8246,U+8249,U+824b,U+824e-824f,U+8251,U+8256-825a,U+825c-825d,U+825f-8260,U+8262-8264,U+8267-8268,U+826a-826b,U+826d-826e,U+8271,U+8274,U+8277,U+8279,U+827b,U+827d-8281,U+8283-8284,U+8287,U+8289-828a,U+828d-828e,U+8291-8294,U+8296,U+8298-829b,U+829f-82a1,U+82a3-82a4,U+82a7-82ac,U+82ae,U+82b0,U+82b2,U+82b4,U+82b7,U+82ba-82bc,U+82be-82bf,U+82c5-82c6,U+82d0,U+82d2-82d3,U+82d5,U+82d9-82da,U+82dc,U+82de-82e4,U+82e7}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.22.woff2) format("woff2");unicode-range:U+7f77-7f79,U+7f7d-7f80,U+7f82-7f83,U+7f86-7f88,U+7f8b-7f8d,U+7f8f-7f91,U+7f94,U+7f96-7f97,U+7f9a,U+7f9c-7f9d,U+7fa1-7fa3,U+7fa6,U+7faa,U+7fad-7faf,U+7fb2,U+7fb4,U+7fb6,U+7fb8-7fb9,U+7fbc,U+7fbf-7fc0,U+7fc3,U+7fc5-7fc6,U+7fc8,U+7fca,U+7fce-7fcf,U+7fd5,U+7fdb,U+7fdf,U+7fe1,U+7fe3,U+7fe5-7fe6,U+7fe8-7fe9,U+7feb-7fec,U+7fee-7ff0,U+7ff2-7ff3,U+7ff9-7ffa,U+7ffd-7fff,U+8002,U+8004,U+8006-8008,U+800a-800f,U+8011-8014,U+8016,U+8018-8019,U+801c-8021,U+8024,U+8026,U+8028,U+802c,U+802e,U+8030,U+8034-8035,U+8037,U+8039-8040,U+8043-8044,U+8046,U+804a,U+8052,U+8058,U+805a,U+805f-8060,U+8062,U+8064,U+8066,U+8068,U+806d,U+806f-8073,U+8075-8076,U+8079,U+807b,U+807d-8081,U+8084-8088,U+808b,U+808e,U+8093,U+8099-809a,U+809c,U+809e,U+80a4,U+80a6-80a7,U+80ab-80ad,U+80b1,U+80b8-80b9,U+80c4-80c5,U+80c8,U+80ca,U+80cd,U+80cf,U+80d2,U+80d4-80db,U+80dd,U+80e0,U+80e4-80e6,U+80ed-80f3,U+80f5-80f7,U+80f9-80fc,U+80fe,U+8101,U+8103,U+8109,U+810b,U+810d,U+8116-8118,U+811b-811c,U+811e,U+8120,U+8123-8124,U+8127,U+8129,U+812b-812c,U+812f-8130,U+8135,U+8139-813a,U+813c-813e,U+8141,U+8145-8147}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.23.woff2) format("woff2");unicode-range:U+7d57,U+7d59-7d5d,U+7d63,U+7d65,U+7d67,U+7d6a,U+7d6e,U+7d70,U+7d72-7d73,U+7d78,U+7d7a-7d7b,U+7d7d,U+7d7f,U+7d81-7d83,U+7d85-7d86,U+7d88-7d89,U+7d8b-7d8d,U+7d8f,U+7d91,U+7d93,U+7d96-7d97,U+7d9b-7da0,U+7da2-7da3,U+7da6-7da7,U+7daa-7dac,U+7dae-7db0,U+7db3,U+7db5-7db9,U+7dbd,U+7dc0,U+7dc2-7dc7,U+7dcc-7dce,U+7dd0,U+7dd5-7dd9,U+7ddc-7dde,U+7de1-7de6,U+7dea-7ded,U+7df1-7df2,U+7df5-7df6,U+7df9-7dfa,U+7e00,U+7e05,U+7e08-7e0b,U+7e10-7e12,U+7e15,U+7e17,U+7e1c-7e1d,U+7e1f-7e23,U+7e27-7e28,U+7e2c-7e2d,U+7e2f,U+7e31-7e33,U+7e35-7e37,U+7e39-7e3b,U+7e3d,U+7e3f,U+7e43-7e48,U+7e4e,U+7e50,U+7e52,U+7e56,U+7e58-7e5a,U+7e5d-7e5f,U+7e61-7e62,U+7e65-7e67,U+7e69-7e6b,U+7e6d-7e6f,U+7e73,U+7e75,U+7e78-7e79,U+7e7b-7e7f,U+7e81-7e83,U+7e86-7e8a,U+7e8c-7e8e,U+7e90-7e96,U+7e98,U+7e9a-7e9f,U+7f38,U+7f3a-7f3f,U+7f43-7f45,U+7f47,U+7f4c-7f50,U+7f52-7f55,U+7f58,U+7f5b-7f5d,U+7f5f,U+7f61,U+7f63-7f69,U+7f6b,U+7f6d,U+7f71}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.24.woff2) format("woff2");unicode-range:U+7bc8,U+7bca-7bcc,U+7bcf,U+7bd4,U+7bd6-7bd7,U+7bd9-7bdb,U+7bdd,U+7be5-7be6,U+7be8-7bea,U+7bf0,U+7bf2-7bfa,U+7bfc,U+7bfe,U+7c00-7c04,U+7c06-7c07,U+7c09,U+7c0b-7c0f,U+7c11-7c14,U+7c17,U+7c19,U+7c1b,U+7c1e-7c20,U+7c23,U+7c25-7c28,U+7c2a-7c2c,U+7c2f,U+7c31,U+7c33-7c34,U+7c36-7c3a,U+7c3d-7c3e,U+7c40,U+7c42-7c43,U+7c45-7c46,U+7c4a,U+7c4c,U+7c4f-7c5f,U+7c61,U+7c63-7c65,U+7c67,U+7c69,U+7c6c-7c70,U+7c72,U+7c75,U+7c79,U+7c7b-7c7e,U+7c81-7c83,U+7c86-7c87,U+7c8d,U+7c8f-7c90,U+7c94,U+7c9e,U+7ca0-7ca2,U+7ca4-7ca6,U+7ca8,U+7cab,U+7cad-7cae,U+7cb0-7cb3,U+7cb6-7cb7,U+7cb9-7cbd,U+7cbf-7cc0,U+7cc2,U+7cc4-7cc5,U+7cc7-7cca,U+7ccd-7ccf,U+7cd2-7cd5,U+7cd7-7cda,U+7cdc-7cdd,U+7cdf-7ce0,U+7ce2,U+7ce6,U+7ce9,U+7ceb,U+7cef,U+7cf2,U+7cf4-7cf6,U+7cf9-7cfa,U+7cfe,U+7d02-7d03,U+7d06-7d0a,U+7d0f,U+7d11-7d13,U+7d15-7d16,U+7d1c-7d1e,U+7d23,U+7d26,U+7d2a,U+7d2c-7d2e,U+7d31-7d32,U+7d35,U+7d3c-7d41,U+7d43,U+7d45,U+7d47-7d48,U+7d4b,U+7d4d-7d4f,U+7d51,U+7d53,U+7d55-7d56}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.25.woff2) format("woff2");unicode-range:U+7a17-7a19,U+7a1b,U+7a1e-7a21,U+7a27,U+7a2b,U+7a2d,U+7a2f-7a31,U+7a34-7a35,U+7a37-7a3b,U+7a3e,U+7a43-7a49,U+7a4c,U+7a4e,U+7a50,U+7a55-7a57,U+7a59,U+7a5c-7a5d,U+7a5f-7a63,U+7a65,U+7a67,U+7a69-7a6a,U+7a6d,U+7a70,U+7a75,U+7a78-7a79,U+7a7d-7a7e,U+7a80,U+7a82,U+7a84-7a86,U+7a88,U+7a8a-7a8b,U+7a90-7a91,U+7a94-7a98,U+7a9e,U+7aa0,U+7aa3,U+7aa9,U+7aac,U+7ab0,U+7ab3,U+7ab5-7ab6,U+7ab9-7abf,U+7ac3,U+7ac5-7aca,U+7acc-7acf,U+7ad1-7ad3,U+7ad5,U+7ada-7adb,U+7add,U+7adf,U+7ae1-7ae2,U+7ae6-7aed,U+7af0-7af1,U+7af4,U+7af8,U+7afa-7afb,U+7afd-7afe,U+7b02,U+7b04,U+7b06-7b08,U+7b0a-7b0b,U+7b0f,U+7b12,U+7b14,U+7b18-7b19,U+7b1e-7b1f,U+7b23,U+7b25,U+7b27-7b2b,U+7b2d-7b31,U+7b33-7b36,U+7b3b,U+7b3d,U+7b3f-7b41,U+7b45,U+7b47,U+7b4c-7b50,U+7b53,U+7b55,U+7b5d,U+7b60,U+7b64-7b66,U+7b69-7b6a,U+7b6c-7b75,U+7b77,U+7b79-7b7a,U+7b7f,U+7b84,U+7b86,U+7b89,U+7b8d-7b92,U+7b96,U+7b98-7ba0,U+7ba5,U+7bac-7bad,U+7baf-7bb0,U+7bb2,U+7bb4-7bb6,U+7bba-7bbd,U+7bc1-7bc2,U+7bc5-7bc6}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.26.woff2) format("woff2");unicode-range:U+7851-7852,U+785c,U+785e,U+7860-7861,U+7863-7864,U+7868,U+786a,U+786e-786f,U+7872,U+7874,U+787a,U+787c,U+787e,U+7886-7887,U+788a,U+788c-788f,U+7893-7895,U+7898,U+789a,U+789d-789f,U+78a1,U+78a3-78a4,U+78a8-78aa,U+78ac-78ad,U+78af-78b3,U+78b5,U+78bb-78bf,U+78c5-78cc,U+78ce,U+78d1-78d6,U+78da-78db,U+78df-78e1,U+78e4,U+78e6-78e7,U+78ea,U+78ec,U+78f2-78f4,U+78f6-78f7,U+78f9-78fb,U+78fd-7901,U+7906-7907,U+790c,U+7910-7912,U+7919-791c,U+791e-7920,U+7925-792e,U+7930-7931,U+7934-7935,U+793b,U+793d,U+793f,U+7941-7942,U+7944-7946,U+794a-794b,U+794f,U+7951,U+7954-7955,U+7957-7958,U+795a-795c,U+795f-7960,U+7962,U+7967,U+7969,U+796b,U+7972,U+7977,U+7979-797c,U+797e-7980,U+798a-798e,U+7991,U+7993-7996,U+7998,U+799b-799d,U+79a1,U+79a6-79ab,U+79ae-79b1,U+79b3-79b4,U+79b8-79bb,U+79bd-79be,U+79c2,U+79c4,U+79c7-79ca,U+79cc-79cd,U+79cf,U+79d4-79d6,U+79da,U+79dd-79e3,U+79e5,U+79e7,U+79ea-79ed,U+79f1,U+79f8,U+79fc,U+7a02-7a03,U+7a05,U+7a07-7a0a,U+7a0c-7a0d,U+7a11,U+7a15}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.27.woff2) format("woff2");unicode-range:U+768c-768e,U+7690,U+7693,U+7695-7696,U+7699-76a8,U+76aa,U+76ad,U+76af-76b0,U+76b4,U+76b6-76ba,U+76bd,U+76c1-76c3,U+76c5,U+76c8-76c9,U+76cb-76ce,U+76d2,U+76d4,U+76d6,U+76d9,U+76dc,U+76de,U+76e0-76e1,U+76e5-76e8,U+76ea-76ec,U+76f0-76f1,U+76f6,U+76f9,U+76fb-76fc,U+7700,U+7704,U+7706-7708,U+770a,U+770e,U+7712,U+7714-7715,U+7717,U+7719-771c,U+7722,U+7724-7726,U+7728,U+772d-772f,U+7734-7739,U+773d-773e,U+7742,U+7745-7747,U+774a,U+774d-774f,U+7752,U+7756-7758,U+775a-775c,U+775e-7760,U+7762,U+7764-7765,U+7767,U+776a-776c,U+7770,U+7772-7774,U+7779-777a,U+777c-7780,U+7784,U+778b-778e,U+7794-7796,U+779a,U+779e-77a0,U+77a2,U+77a4-77a5,U+77a7,U+77a9-77aa,U+77ae-77b1,U+77b5-77b7,U+77b9,U+77bb-77bf,U+77c3,U+77c7,U+77c9,U+77cd,U+77d1-77d2,U+77d5,U+77d7,U+77d9-77da,U+77dc,U+77de-77e0,U+77e3-77e4,U+77e6-77e7,U+77e9-77ea,U+77ec,U+77ee,U+77f0-77f1,U+77f4,U+77f8,U+77fb-77fc,U+7805-7806,U+7809,U+780c-780e,U+7811-7812,U+7819,U+781d,U+7820-7823,U+7826-7827,U+782c-782e,U+7830,U+7835,U+7837,U+783a,U+783f,U+7843-7845,U+7847-7848,U+784c,U+784e-784f}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.28.woff2) format("woff2");unicode-range:U+7511-7513,U+7515-7517,U+751c,U+751e,U+7520-7522,U+7524,U+7526-7527,U+7529-752c,U+752f,U+7536,U+7538-7539,U+753c-7540,U+7543-7544,U+7546-754b,U+754d-7550,U+7552,U+7557,U+755a-755b,U+755d-755f,U+7561-7562,U+7564,U+7566-7567,U+7569,U+756b-756d,U+756f,U+7571-7572,U+7574-757e,U+7581-7582,U+7585-7587,U+7589-758c,U+758f-7590,U+7592-7595,U+7599-759a,U+759c-759d,U+75a2-75a5,U+75b0-75b1,U+75b3-75b5,U+75b7-75b8,U+75ba,U+75bd,U+75bf-75c4,U+75c6,U+75ca,U+75cc-75cf,U+75d3-75d4,U+75d7-75d8,U+75dc-75e1,U+75e3-75e4,U+75e7,U+75ec,U+75ee-75f3,U+75f9,U+75fc,U+75fe-7604,U+7607-760c,U+760f,U+7612-7613,U+7615-7616,U+7618-7619,U+761b-7629,U+762d,U+7630,U+7632-7635,U+7638-763c,U+7640-7641,U+7643-764b,U+764e,U+7655,U+7658-7659,U+765c,U+765f,U+7661-7662,U+7664-7665,U+7667-766a,U+766c-7672,U+7674,U+7676,U+7678,U+7680-7683,U+7685,U+7688,U+768b}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.29.woff2) format("woff2");unicode-range:U+736c,U+736e-7371,U+7375,U+7377-737c,U+7380-7381,U+7383,U+7385-7386,U+738a,U+738e,U+7390,U+7393-7398,U+739c,U+739e-73a0,U+73a2,U+73a5-73a6,U+73a8,U+73aa-73ab,U+73ad,U+73b3,U+73b5,U+73b7,U+73b9-73bd,U+73bf,U+73c5-73c6,U+73c9-73cc,U+73ce-73cf,U+73d2-73d3,U+73d6,U+73d9,U+73dd-73de,U+73e1,U+73e3-73e7,U+73e9-73ea,U+73ee,U+73f1,U+73f4-73f5,U+73f7-73fb,U+73fd,U+73ff-7401,U+7404-7405,U+7407,U+740a,U+7411,U+7413,U+741a-741b,U+7421,U+7424,U+7426,U+7428-7431,U+7433,U+7439-743a,U+743f-7441,U+7443-7444,U+7446-7447,U+744b,U+744d,U+7451-7453,U+7455,U+7457,U+7459-745a,U+745c-745d,U+745f,U+7462-7464,U+7466-746b,U+746d-7473,U+7476,U+747e,U+7480-7481,U+7485-7489,U+748b,U+748f-7492,U+7497-749a,U+749c,U+749e-74a3,U+74a5-74a6,U+74a8-74ab,U+74ae-74af,U+74b1-74b2,U+74b5,U+74b9-74bb,U+74bd,U+74bf,U+74c8-74ca,U+74cc,U+74cf-74d0,U+74d3-74d4,U+74d6,U+74d8,U+74da-74db,U+74de-74e0,U+74e3-74e4,U+74e7-74eb,U+74ee-74f2,U+74f4,U+74f7-74f8,U+74fa-74fc,U+74ff,U+7501,U+7503-7506,U+750c-750e}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.30.woff2) format("woff2");unicode-range:U+7166,U+7168,U+716c,U+7179,U+7180,U+7184-7185,U+7187-7188,U+718c,U+718f,U+7192,U+7194-7196,U+7199-719b,U+71a0,U+71a2,U+71a8,U+71ac,U+71ae-71b0,U+71b2-71b3,U+71b9-71ba,U+71be-71c1,U+71c4,U+71c9,U+71cb-71cc,U+71ce,U+71d0,U+71d2-71d4,U+71d6-71d7,U+71d9-71da,U+71dc,U+71df-71e0,U+71e6-71e7,U+71ec-71ee,U+71f4-71f5,U+71f8-71f9,U+71fc,U+71fe-7200,U+7207-7209,U+720d,U+7210,U+7213,U+7215,U+7217,U+721a,U+721d,U+721f,U+7224,U+7228,U+722b,U+722d,U+722f-7230,U+7232,U+7234,U+7238-7239,U+723b-723c,U+723e-7243,U+7245-7246,U+724b,U+724e-7250,U+7252-7253,U+7255-7258,U+725a,U+725c,U+725e,U+7260,U+7263,U+7268,U+726b,U+726e-726f,U+7271,U+7274,U+7277-7278,U+727b-727c,U+727e-7282,U+7284,U+7287,U+7289,U+728d-728e,U+7292-7293,U+7296,U+729b,U+72a2,U+72a7-72a8,U+72ad-72ae,U+72b0-72b2,U+72b4,U+72b9,U+72be,U+72c0-72c1,U+72c3-72c4,U+72c6-72c7,U+72c9,U+72cc,U+72ce,U+72d2,U+72d5-72d6,U+72d8,U+72df-72e2,U+72e5,U+72f3-72f4,U+72f7,U+72f9-72fb,U+72fd-72fe,U+7302,U+7304-7305,U+7307,U+730a-730b,U+730d,U+7312-7313,U+7316-7319,U+731c-731e,U+7322,U+7324,U+7327-7329,U+732c,U+732f,U+7331-7337,U+7339-733b,U+733d-733e,U+7343,U+734d-7350,U+7352,U+7356-7358,U+735d-7360,U+7366-736b}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.31.woff2) format("woff2");unicode-range:U+6f58-6f5b,U+6f5d-6f5e,U+6f60-6f62,U+6f66,U+6f68,U+6f6c-6f6d,U+6f6f,U+6f74,U+6f78,U+6f7a,U+6f7c-6f7e,U+6f80,U+6f82-6f83,U+6f86-6f88,U+6f8b-6f8e,U+6f90-6f94,U+6f96-6f98,U+6f9a,U+6f9d,U+6f9f-6fa1,U+6fa3,U+6fa5-6fa8,U+6fae-6fb1,U+6fb3,U+6fb5-6fb7,U+6fb9,U+6fbc,U+6fbe,U+6fc2,U+6fc5-6fca,U+6fd4-6fd5,U+6fd8,U+6fda-6fdb,U+6fde-6fe0,U+6fe4,U+6fe8-6fe9,U+6feb-6fec,U+6fee,U+6ff0,U+6ff3,U+6ff5-6ff6,U+6ff9-6ffa,U+6ffc-6ffe,U+7000-7001,U+7005-7007,U+7009-700b,U+700d,U+700f,U+7011,U+7015,U+7017-7018,U+701a-701b,U+701d-7020,U+7023,U+7026,U+7028,U+702f-7030,U+7032,U+7034,U+7037,U+7039-703a,U+703c,U+703e,U+7043-7044,U+7047-704c,U+704e,U+7051,U+7054-7055,U+705d-705e,U+7064-7065,U+7069,U+706c,U+706e,U+7075-7076,U+707e,U+7081,U+7085-7086,U+7094-7098,U+709b,U+709f,U+70a4,U+70ab-70ac,U+70ae-70b1,U+70b3-70b4,U+70b7,U+70bb,U+70ca-70cb,U+70d1,U+70d3-70d6,U+70d8-70d9,U+70dc-70dd,U+70df,U+70e4,U+70ec,U+70f1,U+70fa,U+70fd,U+7103-7108,U+710b-710c,U+710f,U+7114,U+7119,U+711c,U+711e,U+7120,U+712b,U+712d-7131,U+7138,U+7141,U+7145-7147,U+7149-714b,U+7150-7153,U+7155-7157,U+715a,U+715c,U+715e,U+7160,U+7162,U+7164-7165}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.32.woff2) format("woff2");unicode-range:U+6d7c,U+6d80-6d82,U+6d85,U+6d87,U+6d89-6d8a,U+6d8c-6d8e,U+6d91-6d98,U+6d9c,U+6daa-6dac,U+6dae,U+6db4-6db5,U+6db7-6db9,U+6dbd,U+6dbf,U+6dc2,U+6dc4-6dc8,U+6dca,U+6dcc,U+6dce-6dd0,U+6dd2,U+6dd5-6dd6,U+6dd8-6ddb,U+6ddd-6de0,U+6de2,U+6de4-6de6,U+6de8-6dea,U+6dec,U+6dee-6df0,U+6df2,U+6df4,U+6df6,U+6df8-6dfa,U+6dfc,U+6e00,U+6e04,U+6e0a,U+6e17,U+6e19,U+6e1d-6e20,U+6e22-6e25,U+6e27,U+6e2b,U+6e2d-6e2e,U+6e32,U+6e34,U+6e36,U+6e38-6e3c,U+6e42-6e45,U+6e48-6e49,U+6e4b-6e4f,U+6e51-6e54,U+6e57,U+6e5b-6e5f,U+6e62-6e63,U+6e68,U+6e6b,U+6e6e,U+6e72-6e73,U+6e76,U+6e7b,U+6e7d,U+6e82,U+6e89,U+6e8c-6e8d,U+6e8f,U+6e93,U+6e98-6e99,U+6e9f-6ea0,U+6ea5,U+6ea7,U+6eaa-6eab,U+6ead-6eaf,U+6eb1-6eb4,U+6eb7,U+6ebb-6ebd,U+6ebf-6ec4,U+6ec7-6eca,U+6ecc-6ecf,U+6ed3-6ed5,U+6ed9-6edb,U+6ee6,U+6eeb-6eef,U+6ef7-6ef9,U+6efb,U+6efd-6eff,U+6f04,U+6f08-6f0a,U+6f0c-6f0d,U+6f10-6f11,U+6f13,U+6f15-6f16,U+6f18,U+6f1a-6f1b,U+6f25-6f26,U+6f29-6f2a,U+6f2d,U+6f2f-6f33,U+6f35-6f36,U+6f38,U+6f3b-6f3c,U+6f3e-6f3f,U+6f41,U+6f45,U+6f4f,U+6f51-6f53,U+6f57}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.33.woff2) format("woff2");unicode-range:U+6b85,U+6b89,U+6b8d,U+6b95,U+6b97-6b98,U+6b9b,U+6b9e-6ba0,U+6ba2-6ba4,U+6ba8-6bb3,U+6bb7-6bb9,U+6bbc-6bbe,U+6bc0,U+6bc3-6bc4,U+6bc6-6bc9,U+6bcb-6bcc,U+6bcf,U+6bd3,U+6bd6-6bd8,U+6bda,U+6bdf,U+6be1,U+6be3,U+6be6-6be7,U+6beb-6bec,U+6bee,U+6bf1,U+6bf3,U+6bf7,U+6bf9,U+6bff,U+6c02,U+6c04-6c05,U+6c08-6c0a,U+6c0d-6c0e,U+6c10,U+6c12-6c14,U+6c19,U+6c1b,U+6c1f,U+6c24,U+6c26-6c28,U+6c2c,U+6c2e,U+6c33,U+6c35-6c36,U+6c3a-6c3b,U+6c3e-6c40,U+6c4a-6c4b,U+6c4d,U+6c4f,U+6c52,U+6c54-6c55,U+6c59,U+6c5b-6c5e,U+6c62,U+6c67-6c68,U+6c6a-6c6b,U+6c6d,U+6c6f,U+6c73-6c74,U+6c76,U+6c78-6c79,U+6c7b,U+6c7e,U+6c81-6c87,U+6c89,U+6c8c-6c8d,U+6c90,U+6c92-6c95,U+6c97-6c98,U+6c9a-6c9c,U+6c9f,U+6caa-6cae,U+6cb0-6cb2,U+6cb4,U+6cba,U+6cbd-6cbe,U+6cc2,U+6cc5-6cc6,U+6ccd,U+6ccf-6cd4,U+6cd6-6cd7,U+6cd9-6cdd,U+6ce0,U+6ce7,U+6ce9-6cef,U+6cf1-6cf2,U+6cf4,U+6cfb,U+6d00-6d01,U+6d04,U+6d07,U+6d0a,U+6d0c,U+6d0e-6d0f,U+6d11,U+6d13,U+6d19-6d1a,U+6d1f,U+6d24,U+6d26-6d28,U+6d2b,U+6d2e-6d2f,U+6d31,U+6d33-6d36,U+6d38-6d39,U+6d3c-6d3d,U+6d3f,U+6d57-6d5b,U+6d5e-6d61,U+6d64-6d65,U+6d67,U+6d6c,U+6d6f-6d70,U+6d79}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.34.woff2) format("woff2");unicode-range:U+69dd-69de,U+69e2-69e3,U+69e5,U+69e7-69eb,U+69ed-69ef,U+69f1-69f6,U+69f9,U+69fe-6a01,U+6a03,U+6a05,U+6a0a,U+6a0c,U+6a0f,U+6a11-6a15,U+6a17,U+6a1a-6a1b,U+6a1d-6a20,U+6a22-6a24,U+6a28,U+6a2e,U+6a30,U+6a32-6a38,U+6a3b,U+6a3e-6a3f,U+6a44-6a4a,U+6a4e,U+6a50-6a52,U+6a54-6a56,U+6a5b,U+6a61-6a62,U+6a64,U+6a66-6a67,U+6a6a-6a6b,U+6a71-6a73,U+6a78,U+6a7a,U+6a7e-6a7f,U+6a81,U+6a83-6a84,U+6a86-6a87,U+6a89,U+6a8b,U+6a8d,U+6a90-6a91,U+6a94,U+6a97,U+6a9b,U+6a9d-6aa3,U+6aa5,U+6aaa-6aac,U+6aae-6ab1,U+6ab3-6ab4,U+6ab8,U+6abb,U+6abd-6abf,U+6ac1-6ac3,U+6ac6,U+6ac8-6ac9,U+6acc,U+6ad0-6ad1,U+6ad3-6ad6,U+6ada-6adf,U+6ae2,U+6ae4,U+6ae7-6ae8,U+6aea,U+6aec,U+6af0-6af3,U+6af8,U+6afa,U+6afc-6afd,U+6b02-6b03,U+6b06-6b07,U+6b09-6b0b,U+6b0f-6b12,U+6b16-6b17,U+6b1b,U+6b1d-6b1f,U+6b23-6b24,U+6b28,U+6b2b-6b2c,U+6b2f,U+6b35-6b39,U+6b3b,U+6b3d,U+6b3f,U+6b43,U+6b46-6b47,U+6b49-6b4a,U+6b4d-6b4e,U+6b50,U+6b52,U+6b54,U+6b56,U+6b58-6b59,U+6b5b,U+6b5d,U+6b5f-6b61,U+6b65,U+6b67,U+6b6b-6b6c,U+6b6e,U+6b70,U+6b72,U+6b75,U+6b77-6b7a,U+6b7d-6b84}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.35.woff2) format("woff2");unicode-range:U+6855,U+6857-6859,U+685b,U+685d,U+685f,U+6863,U+6867,U+686b,U+686e-6872,U+6874-6875,U+6877,U+6879-687c,U+687e-687f,U+6882-6884,U+6886,U+6888,U+688d-6890,U+6894,U+6896,U+6898-689c,U+689f-68a3,U+68a5-68a7,U+68a9-68ab,U+68ad-68af,U+68b2-68b5,U+68b9-68bc,U+68c3,U+68c5-68c6,U+68c8-68ca,U+68cc-68cd,U+68cf-68d1,U+68d3-68d9,U+68dc-68dd,U+68e0-68e1,U+68e3-68e5,U+68e7-68e8,U+68ea-68ed,U+68ef-68f1,U+68f5-68f7,U+68f9,U+68fb-68fd,U+6900-6901,U+6903-6904,U+6906-690c,U+690f-6911,U+6913,U+6916-6917,U+6919-691b,U+6921-6923,U+6925-6926,U+6928,U+692a,U+6930-6931,U+6933-6936,U+6938-6939,U+693b,U+693d,U+6942,U+6945-6946,U+6949,U+694e,U+6954,U+6957,U+6959,U+695b-695e,U+6961-6966,U+6968-696c,U+696e-6974,U+6977-697b,U+697e-6981,U+6986,U+698d,U+6991-6992,U+6994-6996,U+6998,U+699c,U+69a0-69a1,U+69a5-69a8,U+69ab,U+69ad,U+69af-69b2,U+69b4,U+69b7-69b8,U+69ba-69bc,U+69be-69c1,U+69c3,U+69c5,U+69c7-69c8,U+69ca,U+69ce-69d1,U+69d3,U+69d6-69d7,U+69d9}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.36.woff2) format("woff2");unicode-range:U+667e-6680,U+6683-6684,U+6688,U+668b-668e,U+6690,U+6692,U+6698-669d,U+669f-66a0,U+66a2,U+66a4,U+66ad,U+66b1-66b3,U+66b5,U+66b8-66b9,U+66bb-66bc,U+66be-66c4,U+66c6,U+66c8-66c9,U+66cc,U+66ce-66cf,U+66d4,U+66da-66db,U+66dd,U+66df-66e0,U+66e6,U+66e8-66e9,U+66eb-66ec,U+66ee,U+66f5,U+66f7,U+66fa-66fc,U+6701,U+6705,U+6707,U+670c,U+670e-6710,U+6712-6716,U+6719,U+671c,U+671e,U+6720,U+6722,U+6725-6726,U+672e,U+6733,U+6735-6738,U+673e-673f,U+6741,U+6743,U+6745-6748,U+674c-674d,U+6753-6755,U+6759,U+675d-675e,U+6760,U+6762-6764,U+6766,U+676a,U+676c,U+676e,U+6770,U+6772-6774,U+6776-6777,U+677b-677c,U+6780-6781,U+6784-6785,U+6787,U+6789,U+678b-678c,U+678e-678f,U+6791-6793,U+6796,U+6798-6799,U+679b,U+67a1,U+67a4,U+67a6,U+67a9,U+67b0-67b5,U+67b7-67b9,U+67bb-67be,U+67c0-67c3,U+67c5-67c6,U+67c8-67c9,U+67ce,U+67d2,U+67d7-67d9,U+67db-67de,U+67e1-67e2,U+67e4,U+67e6-67e7,U+67e9,U+67ec,U+67ee-67f0,U+67f2,U+67f6-67f7,U+67f9-67fa,U+67fc,U+67fe,U+6801-6802,U+6805,U+6810,U+6814,U+6818-6819,U+681d,U+681f,U+6822,U+6827-6829,U+682b-682d,U+682f-6834,U+683b,U+683e-6840,U+6844-6846,U+6849-684a,U+684c-684e,U+6852-6854}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.37.woff2) format("woff2");unicode-range:U+64d2,U+64d4-64d5,U+64d7-64d8,U+64da,U+64e0-64e1,U+64e3-64e5,U+64e7,U+64e9-64ea,U+64ed,U+64ef-64f2,U+64f4-64f7,U+64fa-64fb,U+64fd-6501,U+6504-6505,U+6508-650a,U+650f,U+6513-6514,U+6516,U+6518-6519,U+651b-651f,U+6522,U+6524,U+6526,U+6529-652c,U+652e,U+6531-6532,U+6534-6538,U+653a,U+653c-653d,U+6543-6544,U+6547-6549,U+654d-654e,U+6550,U+6552,U+6554-6556,U+6558,U+655d-6560,U+6567,U+656b,U+6572,U+6578,U+657a,U+657d,U+6581-6585,U+6588,U+658a,U+658c,U+6592,U+6595,U+6598,U+659b,U+659d,U+659f-65a1,U+65a3-65a6,U+65ab,U+65ae,U+65b2-65b5,U+65b7-65b8,U+65be-65bf,U+65c1-65c4,U+65c6,U+65c8-65c9,U+65cc,U+65ce,U+65d0,U+65d2,U+65d4,U+65d6,U+65d8-65d9,U+65db,U+65df-65e1,U+65e3,U+65f0-65f2,U+65f4-65f5,U+65f9,U+65fb-65fc,U+65fe-6600,U+6603-6604,U+6608-660a,U+660d,U+6611-6612,U+6615-6616,U+661c-661e,U+6621-6624,U+6626,U+6629-662c,U+662e,U+6630-6631,U+6633-6637,U+6639-663b,U+663f-6641,U+6644-6646,U+6648-664a,U+664c,U+664e-664f,U+6651,U+6657-6665,U+6667-6668,U+666a-666d,U+6670,U+6673,U+6675,U+6677-6679,U+667b-667c}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.38.woff2) format("woff2");unicode-range:U+62cf,U+62d1,U+62d4-62d6,U+62da,U+62dc,U+62ea,U+62ee-62ef,U+62f1-62f2,U+62f4-62f5,U+62fc-62fd,U+62ff,U+6302-6304,U+6308-630d,U+6310,U+6313,U+6316,U+6318,U+631b,U+6327,U+6329-632a,U+632d,U+6332,U+6335-6336,U+6339-633c,U+633e,U+6341-6344,U+6346,U+634a-634e,U+6350,U+6352-6354,U+6358-6359,U+635b,U+6365-6366,U+6369,U+636b-636d,U+6371-6372,U+6374-6378,U+637a,U+637c-637d,U+637f-6380,U+6382,U+6384,U+6387,U+6389-638a,U+638e-6390,U+6394-6396,U+6399-639a,U+639e,U+63a0,U+63a3-63a4,U+63a6,U+63a9,U+63ab-63af,U+63b5,U+63bd-63be,U+63c0-63c1,U+63c4-63c6,U+63c8,U+63ce,U+63d1-63d6,U+63dc,U+63e0,U+63e3,U+63e5,U+63e9-63ed,U+63f2-63f3,U+63f5-63f9,U+6406,U+6409-640a,U+640f-6410,U+6412-6414,U+6416-6418,U+641e,U+6420,U+6422,U+6424-6426,U+6428-642a,U+642f-6430,U+6434-6436,U+643d,U+643f,U+644b,U+644e-644f,U+6451-6454,U+645a-645d,U+645f-6461,U+6463,U+6467,U+646d,U+6473-6474,U+6476,U+6478-6479,U+647b,U+647d,U+6485,U+6487-6488,U+648f-6491,U+6493,U+6495,U+6498-649b,U+649d-649f,U+64a1,U+64a3,U+64a6,U+64a8-64a9,U+64ac,U+64b3,U+64bb-64bf,U+64c2,U+64c4-64c5,U+64c7,U+64c9-64cc,U+64ce,U+64d0-64d1}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.39.woff2) format("woff2");unicode-range:U+6117,U+6119,U+611c,U+611e,U+6120-6122,U+6127-6128,U+612a-612c,U+6130-6131,U+6134-6137,U+6139-613a,U+613c-613f,U+6141-6142,U+6144-6147,U+6149-614a,U+614d,U+6153,U+6158-615a,U+615d-6160,U+6164-6165,U+616b-616c,U+616f,U+6171-6175,U+6177-6178,U+617b-6181,U+6183-6184,U+6187,U+618a-618b,U+618d,U+6192-6194,U+6196-619a,U+619c-619d,U+619f-61a0,U+61a5,U+61a8,U+61aa-61ae,U+61b8-61ba,U+61bc,U+61be,U+61c0-61c3,U+61c6,U+61c8,U+61ca-61cf,U+61d5,U+61dc-61df,U+61e1-61e3,U+61e5-61e9,U+61ec-61ed,U+61ef,U+61f4-61f7,U+61fa,U+61fc-6201,U+6203-6204,U+6207-620a,U+620d-620e,U+6213-6215,U+621b-621e,U+6220-6223,U+6227,U+6229-622b,U+622e,U+6230-6233,U+6236,U+6239,U+623d-623e,U+6241-6244,U+6246,U+6248,U+624c,U+624e,U+6250-6252,U+6254,U+6256,U+6258,U+625a-625c,U+625e,U+6260-6261,U+6263-6264,U+6268,U+626d,U+626f,U+6273,U+627a-627e,U+6282-6283,U+6285,U+6289,U+628d-6290,U+6292-6294,U+6296,U+6299,U+629b,U+62a6,U+62a8,U+62ac,U+62b3,U+62b6-62b7,U+62ba-62bb,U+62be-62bf,U+62c2,U+62c4,U+62c6-62c8,U+62ca,U+62ce}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.40.woff2) format("woff2");unicode-range:U+5f6c-5f6d,U+5f6f,U+5f72-5f75,U+5f78,U+5f7a,U+5f7d-5f7f,U+5f82-5f83,U+5f87-5f89,U+5f8d,U+5f8f,U+5f91,U+5f96,U+5f99,U+5f9c-5f9d,U+5fa0,U+5fa2,U+5fa4,U+5fa7-5fa8,U+5fab-5fad,U+5faf-5fb1,U+5fb5,U+5fb7-5fb8,U+5fbc-5fbd,U+5fc4,U+5fc7-5fc9,U+5fcb,U+5fd0-5fd4,U+5fdd-5fde,U+5fe1-5fe2,U+5fe4,U+5fe8-5fea,U+5fec-5ff3,U+5ff6,U+5ff8,U+5ffa-5ffd,U+5fff,U+6007,U+600a,U+600d-6010,U+6013-6015,U+6017-601b,U+601f,U+6021-6022,U+6024,U+6026,U+6029,U+602b,U+602d,U+6031,U+6033,U+6035,U+603a,U+6040-6043,U+6046-604a,U+604c-604d,U+6051,U+6054-6057,U+6059-605a,U+605d,U+605f-6064,U+6067,U+606a-606c,U+6070-6071,U+6077,U+607e-607f,U+6081-6086,U+6088-608e,U+6091-6093,U+6095-6098,U+609a-609b,U+609d-609e,U+60a2,U+60a4-60a5,U+60a7-60a8,U+60b0-60b1,U+60b3-60b5,U+60b7-60b8,U+60bb,U+60bd-60be,U+60c2,U+60c4,U+60c6-60cb,U+60ce-60cf,U+60d3-60d5,U+60d8-60d9,U+60db,U+60dd-60df,U+60e1-60e2,U+60e5,U+60ee,U+60f0-60f2,U+60f4-60f8,U+60fa-60fd,U+6100,U+6102-6103,U+6106-6108,U+610a,U+610c-610e,U+6110-6114,U+6116}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.41.woff2) format("woff2");unicode-range:U+5d9b,U+5d9d,U+5d9f-5da0,U+5da2,U+5da4,U+5da7,U+5dab-5dac,U+5dae,U+5db0,U+5db2,U+5db4,U+5db7-5db9,U+5dbc-5dbd,U+5dc3,U+5dc7,U+5dc9,U+5dcb-5dce,U+5dd0-5dd3,U+5dd6-5dd9,U+5ddb,U+5de0,U+5de2,U+5de4,U+5de9,U+5df2,U+5df5,U+5df8-5df9,U+5dfd,U+5dff-5e00,U+5e07,U+5e0b,U+5e0d,U+5e11-5e12,U+5e14-5e15,U+5e18-5e1b,U+5e1f-5e20,U+5e25,U+5e28,U+5e2e,U+5e32,U+5e35-5e37,U+5e3e,U+5e40,U+5e43-5e44,U+5e47,U+5e49,U+5e4b,U+5e4e,U+5e50-5e51,U+5e54,U+5e56-5e58,U+5e5b-5e5c,U+5e5e-5e5f,U+5e62,U+5e64,U+5e68,U+5e6a-5e6e,U+5e70,U+5e75-5e77,U+5e7a,U+5e7f-5e80,U+5e87,U+5e8b,U+5e8e,U+5e96,U+5e99-5e9a,U+5ea0,U+5ea2,U+5ea4-5ea5,U+5ea8,U+5eaa,U+5eac,U+5eb1,U+5eb3,U+5eb8-5eb9,U+5ebd-5ebf,U+5ec1-5ec2,U+5ec6,U+5ec8,U+5ecb-5ecc,U+5ece-5ed6,U+5ed9-5ee2,U+5ee5,U+5ee8-5ee9,U+5eeb-5eec,U+5ef0-5ef1,U+5ef3-5ef4,U+5ef8-5ef9,U+5efc-5f00,U+5f02-5f03,U+5f06-5f09,U+5f0b-5f0e,U+5f11,U+5f16-5f17,U+5f19,U+5f1b-5f1e,U+5f21-5f24,U+5f27-5f29,U+5f2b-5f30,U+5f34,U+5f36,U+5f38,U+5f3a-5f3d,U+5f3f-5f41,U+5f44-5f45,U+5f47-5f48,U+5f4a,U+5f4c-5f4e,U+5f50-5f51,U+5f54,U+5f56-5f58,U+5f5b-5f5d,U+5f60,U+5f63-5f65,U+5f67,U+5f6a}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.42.woff2) format("woff2");unicode-range:U+5bbc,U+5bc0-5bc1,U+5bc3,U+5bc7,U+5bc9,U+5bcd-5bd0,U+5bd3-5bd4,U+5bd6-5bda,U+5bde,U+5be0-5be2,U+5be4-5be6,U+5be8,U+5beb-5bec,U+5bef-5bf1,U+5bf3-5bf6,U+5bfd,U+5c03,U+5c05,U+5c07-5c09,U+5c0c-5c0d,U+5c12-5c14,U+5c17,U+5c19,U+5c1e-5c20,U+5c22-5c24,U+5c26,U+5c28-5c2e,U+5c30,U+5c32,U+5c35-5c36,U+5c38-5c39,U+5c46,U+5c4d-5c50,U+5c53,U+5c59-5c5c,U+5c5f-5c63,U+5c67-5c69,U+5c6c-5c70,U+5c74-5c76,U+5c79-5c7d,U+5c87-5c88,U+5c8a,U+5c8c,U+5c8f,U+5c91-5c92,U+5c94,U+5c9d,U+5c9f-5ca0,U+5ca2-5ca3,U+5ca6-5ca8,U+5caa-5cab,U+5cad,U+5cb1-5cb2,U+5cb4-5cb7,U+5cba-5cbc,U+5cbe,U+5cc5,U+5cc7,U+5cc9,U+5ccb,U+5cd0,U+5cd2,U+5cd7,U+5cd9,U+5cdd,U+5ce6,U+5ce8-5cea,U+5ced-5cee,U+5cf1-5cf2,U+5cf4-5cf5,U+5cfa-5cfb,U+5cfd,U+5d01,U+5d06,U+5d0b,U+5d0d,U+5d10-5d12,U+5d14-5d15,U+5d17-5d1b,U+5d1d,U+5d1f-5d20,U+5d22-5d24,U+5d26-5d27,U+5d2b,U+5d31,U+5d34,U+5d39,U+5d3d,U+5d3f,U+5d42-5d43,U+5d46-5d48,U+5d4a-5d4b,U+5d4e,U+5d51-5d53,U+5d55,U+5d59,U+5d5c,U+5d5f-5d62,U+5d64,U+5d69-5d6a,U+5d6c-5d6d,U+5d6f-5d70,U+5d73,U+5d76,U+5d79-5d7a,U+5d7e-5d7f,U+5d81-5d84,U+5d87-5d88,U+5d8a,U+5d8c,U+5d90,U+5d92-5d95,U+5d97,U+5d99}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.43.woff2) format("woff2");unicode-range:U+598b-598e,U+5992,U+5995,U+5997,U+599b,U+599d,U+599f,U+59a3-59a4,U+59a7,U+59ad-59b0,U+59b2-59b3,U+59b7,U+59ba,U+59bc,U+59be,U+59c1,U+59c3-59c4,U+59c6,U+59c8,U+59ca,U+59cd,U+59d2,U+59d9-59da,U+59dd-59df,U+59e3-59e5,U+59e7-59e8,U+59ec,U+59ee-59ef,U+59f1-59f2,U+59f4,U+59f6-59f8,U+5a00,U+5a03-5a04,U+5a09,U+5a0c-5a0e,U+5a11-5a13,U+5a17,U+5a1a-5a1c,U+5a1e-5a1f,U+5a23-5a25,U+5a27-5a28,U+5a2a,U+5a2d,U+5a30,U+5a35-5a36,U+5a40-5a41,U+5a44-5a45,U+5a47-5a49,U+5a4c,U+5a50,U+5a55,U+5a5e,U+5a62-5a63,U+5a65,U+5a67,U+5a6a,U+5a6c-5a6d,U+5a77,U+5a7a-5a7b,U+5a7e,U+5a84,U+5a8b,U+5a90,U+5a93,U+5a96,U+5a99,U+5a9c,U+5a9e-5aa0,U+5aa2,U+5aa7,U+5aac,U+5ab1-5ab3,U+5ab5,U+5ab8,U+5aba-5abf,U+5ac2,U+5ac4,U+5ac6,U+5ac8,U+5acb,U+5acf-5ad0,U+5ad6-5ad7,U+5ada,U+5adc,U+5ae0-5ae1,U+5ae3,U+5ae5-5ae6,U+5ae9-5aea,U+5aee,U+5af0,U+5af5-5af6,U+5afa-5afb,U+5afd,U+5b00-5b01,U+5b08,U+5b0b,U+5b16-5b17,U+5b19,U+5b1b,U+5b1d,U+5b21,U+5b25,U+5b2a,U+5b2c-5b2d,U+5b30,U+5b32,U+5b34,U+5b36,U+5b38,U+5b3e,U+5b40-5b41,U+5b43,U+5b45,U+5b4b-5b4c,U+5b51-5b52,U+5b56,U+5b5a-5b5c,U+5b5e-5b5f,U+5b65,U+5b68-5b69,U+5b6e-5b71,U+5b73,U+5b75-5b76,U+5b7a,U+5b7c-5b84,U+5b86,U+5b8a-5b8b,U+5b8d-5b8e,U+5b90-5b91,U+5b93-5b94,U+5b96,U+5ba5-5ba6,U+5ba8-5ba9,U+5bac-5bad,U+5baf,U+5bb1-5bb2,U+5bb7-5bb8,U+5bba}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.44.woff2) format("woff2");unicode-range:U+57b3,U+57b8,U+57bd,U+57c0,U+57c3,U+57c6-57c8,U+57cc,U+57cf,U+57d2-57d7,U+57dc-57de,U+57e0-57e1,U+57e3-57e4,U+57e6-57e7,U+57e9,U+57ed,U+57f0,U+57f4-57f6,U+57f8,U+57fb,U+57fd-57ff,U+5803-5804,U+5808-580d,U+5819,U+581b,U+581d-5821,U+5826-5827,U+582d,U+582f-5830,U+5832,U+5835,U+5839,U+583d,U+583f-5840,U+5849,U+584b-584d,U+584f-5852,U+5855,U+5858-5859,U+585f,U+5861-5862,U+5864,U+5867-5868,U+586d,U+5870,U+5872,U+5878-5879,U+587c,U+587f-5881,U+5885,U+5887-588d,U+588f-5890,U+5894,U+5896,U+5898,U+589d-589e,U+58a0-58a2,U+58a6,U+58a9-58ab,U+58ae,U+58b1-58b3,U+58b8-58bc,U+58be,U+58c2-58c5,U+58c8,U+58cd-58ce,U+58d0-58da,U+58dc-58e2,U+58e4-58e5,U+58e9,U+58ec,U+58ef,U+58f3-58f4,U+58f7,U+58f9,U+58fb-58fd,U+5902,U+5905-5906,U+590a-590d,U+5910,U+5912-5914,U+5918-5919,U+591b,U+591d,U+591f,U+5921,U+5923-5925,U+5928,U+592c-592d,U+592f-5930,U+5932-5933,U+5935-5936,U+5938-5939,U+593d-593f,U+5943,U+5946,U+594e,U+5950,U+5952-5953,U+5955,U+5957-595b,U+595d-5961,U+5963,U+5967,U+5969,U+596b-596d,U+596f,U+5972,U+5975-5976,U+5978-5979,U+597b-597c,U+5981}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.45.woff2) format("woff2");unicode-range:U+5616-5617,U+5619,U+561b,U+5620,U+5628,U+562c,U+562f-5639,U+563b-563d,U+563f-5641,U+5643-5644,U+5646-5647,U+5649,U+564b,U+564d-5650,U+5653-5654,U+565e,U+5660-5664,U+5666,U+5669-566d,U+566f,U+5671-5672,U+5675-5676,U+5678,U+567a,U+5680,U+5684-5688,U+568a-568c,U+568f,U+5694-5695,U+5699-569a,U+569d-56a0,U+56a5-56a9,U+56ab-56ae,U+56b1-56b4,U+56b6-56b7,U+56bc,U+56be,U+56c0,U+56c2-56c3,U+56c5,U+56c8-56d1,U+56d3,U+56d7-56d9,U+56dc-56dd,U+56df,U+56e1,U+56e4-56e8,U+56eb,U+56ed-56ee,U+56f1,U+56f6-56f7,U+56f9,U+56ff-5704,U+5707-570a,U+570c-570d,U+5711,U+5713,U+5715-5716,U+5718,U+571a-571d,U+5720-5726,U+5729-572a,U+572c,U+572e-572f,U+5733-5734,U+5737-5738,U+573b,U+573d-573f,U+5745-5746,U+574c-574f,U+5751-5752,U+5759,U+575f,U+5761-5762,U+5764-5765,U+5767-5769,U+576b,U+576d-5771,U+5773-5775,U+5777,U+5779-577c,U+577e-577f,U+5781,U+5783,U+5788-5789,U+578c,U+5793-5795,U+5797,U+5799-579a,U+579c-57a1,U+57a4,U+57a7-57aa,U+57ac,U+57ae,U+57b0}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.46.woff2) format("woff2");unicode-range:U+543f-5440,U+5443-5444,U+5447,U+544c-544f,U+5455,U+545e,U+5462,U+5464,U+5466-5467,U+5469,U+546b-546e,U+5470-5471,U+5474-5477,U+547b,U+547f-5481,U+5483-5486,U+5488-548b,U+548d-5492,U+5495-5496,U+549c,U+549f-54a2,U+54a4,U+54a6-54af,U+54b1,U+54b7-54bc,U+54be-54bf,U+54c2-54c4,U+54c6-54c8,U+54ca,U+54cd-54ce,U+54d8,U+54e0,U+54e2,U+54e5-54e6,U+54e8-54ea,U+54ec-54ef,U+54f1,U+54f3,U+54f6,U+54fc-5501,U+5505,U+5508-5509,U+550c-550f,U+5514-5516,U+5527,U+552a-552b,U+552e,U+5532-5533,U+5535-5536,U+5538-5539,U+553b-553d,U+5540-5541,U+5544-5545,U+5547,U+5549-554a,U+554c-554d,U+5550-5551,U+5556-5558,U+555a-555e,U+5560-5561,U+5563-5564,U+5566,U+557b-5583,U+5586-5588,U+558a,U+558e-558f,U+5591-5594,U+5597,U+5599,U+559e-559f,U+55a3-55a4,U+55a8-55a9,U+55ac-55ae,U+55b2,U+55bf,U+55c1,U+55c3-55c4,U+55c6-55c7,U+55c9,U+55cb-55cc,U+55ce,U+55d1-55d4,U+55d7-55d8,U+55da-55db,U+55dd-55df,U+55e2,U+55e4,U+55e9,U+55ec,U+55ee,U+55f1,U+55f6-55f9,U+55fd-55ff,U+5605,U+5607-5608,U+560a,U+560d-5612}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.47.woff2) format("woff2");unicode-range:U+528d,U+5291-5298,U+529a,U+529c,U+52a4-52a7,U+52ab-52ad,U+52af-52b0,U+52b5-52b8,U+52ba-52be,U+52c0-52c1,U+52c4-52c6,U+52c8,U+52ca,U+52cc-52cd,U+52cf-52d2,U+52d4,U+52d6-52d7,U+52db-52dc,U+52de,U+52e0-52e1,U+52e3,U+52e5-52e6,U+52e8-52ea,U+52ec,U+52f0-52f1,U+52f3-52fb,U+5300-5301,U+5303,U+5306-5308,U+530a-530d,U+530f-5311,U+5313,U+5315,U+5318-531f,U+5321,U+5323-5325,U+5327-532d,U+532f-5333,U+5335,U+5338,U+533c-533e,U+5340,U+5342,U+5345-5346,U+5349,U+534b-534c,U+5359,U+535b,U+535e,U+5361,U+5363-5367,U+5369,U+536c-536e,U+5372,U+5377,U+5379-537b,U+537d-537f,U+5382-5383,U+5387-5389,U+538e,U+5393-5394,U+5396,U+5398-5399,U+539d,U+53a0-53a1,U+53a4-53a6,U+53a9-53ab,U+53ad-53b0,U+53b2,U+53b4-53b8,U+53ba,U+53bd,U+53c0-53c1,U+53c3-53c5,U+53cf,U+53d2-53d3,U+53d5,U+53da-53db,U+53dd-53e0,U+53e2,U+53e6-53e8,U+53ed-53ee,U+53f4-53f5,U+53fa,U+5401-5403,U+540b,U+540f,U+5412-5413,U+541a,U+541d-541e,U+5421,U+5424,U+5427-542a,U+542c-542f,U+5431,U+5433-5436,U+543c-543d}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.48.woff2) format("woff2");unicode-range:U+50dd-50df,U+50e1-50e6,U+50e8-50e9,U+50ed-50f6,U+50f9-50fb,U+50fe,U+5101-5103,U+5106-5109,U+510b-510e,U+5110,U+5112,U+5114-511e,U+5121,U+5123,U+5127-5128,U+512c-512d,U+512f,U+5131,U+5133-5135,U+5137-513c,U+513f-5142,U+5147,U+514a,U+514c,U+514f,U+5152-5155,U+5157-5158,U+515f-5160,U+5162,U+5164,U+5166-5167,U+5169-516a,U+516e,U+5173-5174,U+5179,U+517b,U+517e,U+5180,U+5182-5184,U+5189,U+518b-518c,U+518e-5191,U+5193,U+5195-5196,U+5198,U+519d,U+51a1-51a4,U+51a6,U+51a9-51ab,U+51ad,U+51b0-51b3,U+51b5,U+51b8,U+51ba,U+51bc-51bf,U+51c2-51c3,U+51c5,U+51c8-51cb,U+51cf,U+51d1-51d6,U+51d8,U+51de-51e0,U+51e2,U+51e5,U+51e7,U+51e9,U+51ec-51ee,U+51f2-51f5,U+51f7,U+51fe,U+5201-5202,U+5204-5205,U+520b,U+520e,U+5212-5216,U+5218,U+5222,U+5226-5228,U+522a-522b,U+522e,U+5231-5233,U+5235,U+523c,U+5244-5245,U+5249,U+524b-524c,U+524f,U+5254-5255,U+5257-5258,U+525a,U+525c-5261,U+5266,U+5269,U+526c,U+526e,U+5271,U+5273-5274,U+5277-5279,U+527d,U+527f-5280,U+5282-5285,U+5288-528a,U+528c}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.49.woff2) format("woff2");unicode-range:U+4f57-4f58,U+4f5a-4f5b,U+4f5d-4f5f,U+4f63-4f64,U+4f69-4f6a,U+4f6c,U+4f6e-4f71,U+4f76-4f7e,U+4f81-4f85,U+4f88-4f8a,U+4f8c,U+4f8e-4f90,U+4f92-4f94,U+4f96-4f9a,U+4f9e-4fa0,U+4fab,U+4fad,U+4faf,U+4fb2,U+4fb7,U+4fb9,U+4fbb-4fbe,U+4fc0-4fc1,U+4fc4-4fc6,U+4fc8-4fc9,U+4fcb-4fd4,U+4fd8,U+4fda-4fdc,U+4fdf-4fe0,U+4fe2,U+4fe4-4fe6,U+4fef-4ff2,U+4ff6,U+4ffc-5002,U+5004-5007,U+500a,U+500c,U+500e-5011,U+5013-5014,U+5016-5018,U+501a-501e,U+5021-5023,U+5025-502a,U+502c-502e,U+5030,U+5032-5033,U+5035,U+5039,U+503b,U+5040-5043,U+5045-5048,U+504a,U+504c,U+504e,U+5050-5053,U+5055-5057,U+5059-505a,U+505f-5060,U+5062-5063,U+5066-5067,U+506a,U+506c-506d,U+5070-5072,U+5077-5078,U+5080-5081,U+5083-5086,U+5088,U+508a,U+508e-5090,U+5092-5096,U+509a-509c,U+509e-50a3,U+50aa,U+50ad,U+50af-50b4,U+50b9-50bb,U+50bd,U+50c0,U+50c2-50c4,U+50c7,U+50c9-50ca,U+50cc,U+50ce,U+50d0-50d1,U+50d3-50d4,U+50d6,U+50d8-50d9,U+50dc}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.50.woff2) format("woff2");unicode-range:U+4093,U+4103,U+4105,U+4148,U+414f,U+4163,U+41b4,U+41bf,U+41e6,U+41ee,U+41f3,U+4207,U+420e,U+4264,U+4293,U+42c6,U+42d6,U+42dd,U+4302,U+432b,U+4343,U+43ee,U+43f0,U+4408,U+440c,U+4417,U+441c,U+4422,U+4453,U+445b,U+4476,U+447a,U+4491,U+44b3,U+44be,U+44d4,U+4508,U+450d,U+4525,U+4543,U+457a,U+459d,U+45b8,U+45be,U+45e5,U+45ea,U+460f-4610,U+4641,U+4665,U+46a1,U+46ae-46af,U+470c,U+471f,U+4764,U+47e6,U+47fd,U+4816,U+481e,U+4844,U+484e,U+48b5,U+49b0,U+49e7,U+49fa,U+4a04,U+4a29,U+4abc,U+4b38,U+4b3b,U+4b7e,U+4bc2,U+4bca,U+4bd2,U+4be8,U+4c17,U+4c20,U+4c38,U+4cc4,U+4cd1,U+4ce1,U+4d07,U+4d77,U+4e02,U+4e04-4e05,U+4e0c,U+4e0f-4e12,U+4e15,U+4e17,U+4e19,U+4e1e-4e1f,U+4e23-4e24,U+4e28-4e2c,U+4e2e-4e31,U+4e35-4e37,U+4e3f-4e42,U+4e44,U+4e47-4e48,U+4e4d-4e4e,U+4e51,U+4e55-4e56,U+4e58,U+4e5a-4e5c,U+4e62-4e63,U+4e68-4e69,U+4e74-4e75,U+4e79,U+4e7f,U+4e82,U+4e85,U+4e8a,U+4e8d-4e8e,U+4e96-4e99,U+4e9d-4ea0,U+4ea2,U+4ea5-4ea6,U+4ea8,U+4eaf-4eb0,U+4eb3,U+4eb6,U+4eb9,U+4ebb-4ebc,U+4ec2-4ec4,U+4ec6-4ec8,U+4ecd,U+4ed0,U+4ed7,U+4eda-4edb,U+4edd-4ee2,U+4ee8,U+4eeb,U+4eed,U+4eef,U+4ef1,U+4ef3,U+4ef5,U+4ef7,U+4efc-4f00,U+4f02-4f03,U+4f08-4f09,U+4f0b-4f0d,U+4f12,U+4f15-4f17,U+4f19,U+4f1c,U+4f2b,U+4f2e,U+4f30-4f31,U+4f33,U+4f35-4f37,U+4f39,U+4f3b,U+4f3e,U+4f40,U+4f42-4f43,U+4f48-4f49,U+4f4b-4f4c,U+4f52,U+4f54,U+4f56}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.51.woff2) format("woff2");unicode-range:U+3395-339b,U+339e-33a0,U+33a2-33ff,U+3402,U+3405-3406,U+3427,U+342c,U+342e,U+3468,U+346a,U+3488,U+3492,U+34b5,U+34bc,U+34c1,U+34c7,U+34db,U+351f,U+353e,U+355d-355e,U+3563,U+356e,U+35a6,U+35a8,U+35c5,U+35da,U+35de,U+35f4,U+3605,U+3614,U+364a,U+3691,U+3696,U+3699,U+36cf,U+3761-3762,U+376b-376c,U+3775,U+378d,U+37c1,U+37e2,U+37e8,U+37f4,U+37fd,U+3800,U+382f,U+3836,U+3840,U+385c,U+3861,U+38a1,U+38ad,U+38fa,U+3917,U+391a,U+396f,U+39a4,U+39b8,U+3a5c,U+3a6e,U+3a73,U+3a85,U+3ac4,U+3acb,U+3ad6-3ad7,U+3aea,U+3af3,U+3b0e,U+3b1a,U+3b1c,U+3b22,U+3b35,U+3b6d,U+3b77,U+3b87-3b88,U+3b8d,U+3ba4,U+3bb6,U+3bc3,U+3bcd,U+3bf0,U+3bf3,U+3c0f,U+3c26,U+3cc3,U+3cd2,U+3d11,U+3d1e,U+3d31,U+3d4e,U+3d64,U+3d9a,U+3dc0,U+3dcc,U+3dd4,U+3e05,U+3e3f-3e40,U+3e60,U+3e66,U+3e68,U+3e83,U+3e8a,U+3e94,U+3eda,U+3f57,U+3f72,U+3f75,U+3f77,U+3fae,U+3fb1,U+3fc9,U+3fd7,U+3fdc,U+4039,U+4058}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.52.woff2) format("woff2");unicode-range:U+32b5-332b,U+332d-3394}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.53.woff2) format("woff2");unicode-range:U+31c8-31e3,U+31f0-321e,U+3220-3230,U+3232-32b4}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.54.woff2) format("woff2");unicode-range:U+3028-303f,U+3094-3096,U+309f-30a0,U+30ee,U+30f7-30fa,U+30ff,U+3105-312f,U+3131-3163,U+3165-318e,U+3190-31bb,U+31c0-31c7}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.55.woff2) format("woff2");unicode-range:U+2f14-2fd5,U+2ff0-2ffb,U+3004,U+3013,U+3016-301b,U+301e,U+3020-3027}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.56.woff2) format("woff2");unicode-range:U+25e4-25e6,U+2601-2603,U+2609,U+260e-260f,U+2616-2617,U+261c-261f,U+262f,U+2641,U+2660,U+2662-2664,U+2666-2668,U+266d-266e,U+2672-267d,U+26bd-26be,U+2702,U+271a,U+273d,U+2740,U+2756,U+2776-2793,U+27a1,U+2934-2935,U+29bf,U+29fa-29fb,U+2b05-2b07,U+2b1a,U+2b95,U+2e3a-2e3b,U+2e80-2e99,U+2e9b-2ef3,U+2f00-2f13}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.57.woff2) format("woff2");unicode-range:U+24d1-24ff,U+2503-2513,U+2515-2516,U+2518-251b,U+251d-2522,U+2524-259f,U+25a2-25ab,U+25b1,U+25b7,U+25c0-25c1,U+25c9-25ca,U+25cc,U+25d0-25d3,U+25e2-25e3}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.58.woff2) format("woff2");unicode-range:U+2105,U+2109-210a,U+210f,U+2116,U+2121,U+2126-2127,U+212b,U+212e,U+2135,U+213b,U+2194-2199,U+21b8-21b9,U+21c4-21c6,U+21cb-21cc,U+21d0,U+21e6-21e9,U+21f5,U+2202-2203,U+2205-2206,U+2208-220b,U+220f,U+2211,U+2213,U+2215,U+221a,U+221d,U+2220,U+2223,U+2225-2226,U+2228,U+222a-222e,U+2234-2237,U+223d,U+2243,U+2245,U+2248,U+224c,U+2260,U+2262,U+2264-2265,U+226e-226f,U+2272-2273,U+2276-2277,U+2283-2287,U+228a-228b,U+2295-2299,U+22a0,U+22a5,U+22bf,U+22da-22db,U+22ef,U+2305-2307,U+2318,U+2329-232a,U+23b0-23b1,U+23be-23cc,U+23ce,U+23da-23db,U+2423,U+2469-24d0}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.59.woff2) format("woff2");unicode-range:U+a1-a4,U+a6-a7,U+aa,U+ac-ad,U+b5-b6,U+b8-ba,U+bc-c8,U+ca-cc,U+ce-d5,U+d9-db,U+dd-df,U+e6,U+ee,U+f0,U+f5,U+f7,U+f9,U+fb,U+fe-102,U+110-113,U+11a-11b,U+128-12b,U+143-144,U+147-148,U+14c,U+14e-14f,U+152-153,U+168-16d,U+192,U+1a0-1a1,U+1af,U+1cd-1dc,U+1f8-1f9,U+251,U+261,U+2bb,U+2c7,U+2c9,U+2ea-2eb,U+304,U+307,U+30c,U+1e3e-1e3f,U+1ea0-1ebe,U+1ec0-1ec6,U+1ec8-1ef9,U+2011-2012,U+2016,U+2018-201a,U+201e,U+2021,U+2030,U+2033,U+2035,U+2042,U+2047,U+2051,U+2074,U+20a9,U+20ab-20ac,U+20dd-20de,U+2100}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.60.woff2) format("woff2");unicode-range:U+2227,U+26a0,U+2713,U+301f,U+4ff8,U+5239,U+526a,U+54fa,U+5740,U+5937,U+5993,U+59fb,U+5a3c,U+5c41,U+6028,U+626e,U+646f,U+647a,U+64b0,U+64e2,U+65a7,U+66fe,U+6727,U+6955,U+6bef,U+6f23,U+724c,U+767c,U+7a83,U+7ac4,U+7b67,U+8000,U+8471,U+8513,U+8599,U+86db,U+8718,U+87f2,U+88f3,U+8ad2,U+8e2a,U+8fa3,U+95a5,U+9798,U+9910,U+9957,U+9bab,U+9c3b,U+9daf,U+ff95}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.61.woff2) format("woff2");unicode-range:U+a8,U+2032,U+2261,U+2282,U+3090,U+30f1,U+339c,U+535c,U+53d9,U+56a2,U+56c1,U+5806,U+589f,U+59d0,U+5a7f,U+60e0,U+639f,U+65af,U+68fa,U+69ae,U+6d1b,U+6ef2,U+71fb,U+725d,U+7262,U+75bc,U+7768,U+7940,U+79bf,U+7bed,U+7d68,U+7dfb,U+814b,U+8207,U+83e9,U+8494,U+8526,U+8568,U+85ea,U+86d9,U+87ba,U+8861,U+887f,U+8fe6,U+9059,U+9061,U+916a,U+976d,U+97ad,U+9ece}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.62.woff2) format("woff2");unicode-range:U+2d9,U+21d4,U+301d,U+515c,U+52fe,U+5420,U+5750,U+5766,U+5954,U+5b95,U+5f8a,U+5f98,U+620c,U+621f,U+641c,U+66d9,U+676d,U+6775,U+67f5,U+694a,U+6a02,U+6a3a,U+6a80,U+6c23,U+6c72,U+6dcb,U+6faa,U+707c,U+71c8,U+7422,U+74e2,U+7791,U+7825,U+7a14,U+7a1c,U+7c95,U+7fc1,U+82a5,U+82db,U+8304,U+853d,U+8cd3,U+8de8,U+8f0c,U+8f3f,U+9091,U+91c7,U+929a,U+98af,U+9913}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.63.woff2) format("woff2");unicode-range:U+2ca-2cb,U+2229,U+2468,U+2669,U+266f,U+273f,U+4ec0,U+4f60,U+4fb6,U+5347,U+540e,U+543b,U+5b0c,U+5d4c,U+5f14,U+5f9e,U+6155,U+62d0,U+6602,U+6666,U+66f3,U+67a2,U+67ca,U+69cc,U+6d29,U+6d9b,U+6e3e,U+6f81,U+7109,U+73c0,U+73c2,U+7425,U+7435-7436,U+7525,U+7554,U+785d,U+786b,U+7ae3,U+7b94,U+7d18,U+81bf,U+8511,U+8549,U+9075,U+9640,U+98e2,U+9e9f,U+ff96}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.64.woff2) format("woff2");unicode-range:U+2467,U+4ece,U+4ed4,U+4f91,U+4fae,U+534d,U+53c9,U+54b3,U+586b,U+5944,U+5b78,U+5df7,U+5f77,U+6101,U+6167-6168,U+61a4,U+62d9,U+698a,U+699b,U+6a59,U+6cc4,U+6e07,U+7099,U+75d2,U+77ad,U+7953,U+7984,U+7a92,U+7baa,U+7dbb,U+817f,U+82ad,U+85e9,U+868a,U+8caa,U+8f44,U+9017,U+907c,U+908a,U+92f3,U+936e,U+9435,U+978d,U+9838,U+9a28,U+9b41,U+9ba8,U+9c57,U+9eb9}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.65.woff2) format("woff2");unicode-range:U+b1,U+309b,U+4e5e,U+51f1,U+5506,U+55c5,U+58cc,U+59d1,U+5c51,U+5ef7,U+6284,U+62d7,U+6689,U+673d,U+6a2b,U+6a8e,U+6a9c,U+6d63,U+6dd1,U+70b8,U+7235,U+72db,U+72f8,U+7560,U+7c9b,U+7ce7,U+7e1e,U+80af,U+82eb,U+8463,U+8499,U+85dd,U+86ee,U+8a60,U+8a6e,U+8c79,U+8e87,U+8e8a,U+8f5f,U+9010,U+918d,U+9190,U+965b,U+97fb,U+9ab8,U+9bad,U+9d3b,U+9d5c,U+9dfa,U+9e93}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.66.woff2) format("woff2");unicode-range:U+2020,U+3003,U+3231,U+4e9b,U+4f3d,U+4f47,U+51b6,U+51dc,U+53e1,U+5bc5,U+602f,U+60bc,U+61c9,U+633d,U+637b,U+6492,U+65fa,U+660f,U+66f0,U+6703,U+681e,U+6876,U+6893,U+6912,U+698e,U+6c7d,U+714c,U+7169,U+71d5,U+725f,U+72d7,U+745b,U+74dc,U+75e2,U+7891,U+7897,U+7dcb,U+810a,U+8218,U+8339,U+840e,U+852d,U+8823,U+8a0a,U+9089,U+919c,U+971c,U+9ad9,U+ff4a,U+ff5a}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.67.woff2) format("woff2");unicode-range:U+2466,U+2600,U+4eab,U+4fe3,U+4ff5,U+51a5,U+51f0,U+536f,U+53d4,U+53f1,U+54a5,U+559d,U+55e3,U+58fa,U+5962,U+59ea,U+5c16,U+5cef,U+5d16,U+5f10,U+5fd6,U+6190,U+6216,U+634f,U+63bb,U+66d6,U+6756,U+6bc5,U+6e26,U+727d,U+731f,U+76f2,U+7729,U+7a7f,U+7aff,U+7c9f,U+818f,U+8236,U+82b9,U+8338,U+85aa,U+88b4,U+8b33,U+904d,U+93a7,U+96cc,U+96eb,U+9aed,U+9b8e,U+fa11}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.68.woff2) format("woff2");unicode-range:U+251c,U+2523,U+4e14,U+545f,U+54bd,U+553e,U+55dc,U+56da,U+589c,U+5b55,U+5bb5,U+5ce1,U+5df4,U+5eb6,U+5ec9,U+6191,U+62f7,U+6357,U+64a5,U+6591,U+65bc,U+6897,U+6e1a,U+7063,U+711a,U+721b,U+722c,U+75b9,U+75d5,U+75fa,U+7766,U+7aae,U+7b48,U+7b8b,U+7d21,U+7e55,U+7f75,U+842c,U+8910,U+8a63,U+8b39,U+8b5a,U+8cdc,U+8d74,U+907d,U+91e7,U+9306,U+96bc,U+98f4,U+9ac4}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.69.woff2) format("woff2");unicode-range:U+2003,U+2312,U+266c,U+4f86,U+51ea,U+5243,U+5256,U+541f,U+5841,U+59dc,U+5df3,U+601c,U+60e7,U+632b,U+638c,U+64ad,U+6881,U+697c,U+69cd,U+6c50,U+6d2a,U+6fc1,U+7027,U+7058,U+70f9,U+714e,U+7345,U+751a,U+760d,U+764c,U+77db,U+7d79,U+7e8f,U+80ce,U+814e,U+81fc,U+8247,U+8278,U+85a9,U+8a03,U+90ed,U+9784,U+9801,U+984e,U+99b3,U+9bc9,U+9bdb,U+9be8,U+9e78,U+ff6b}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.70.woff2) format("woff2");unicode-range:U+266b,U+3006,U+5176,U+5197,U+51a8,U+51c6,U+52f2,U+5614,U+5875,U+5a2f,U+5b54,U+5ce0,U+5dba,U+5deb,U+5e63,U+5f59,U+5fcc,U+6068,U+6367,U+68b6,U+6a0b,U+6b64,U+6e15,U+6eba,U+7272,U+72a0,U+7947,U+7985,U+79e6,U+79e9,U+7a3d,U+7a9f,U+7aaf,U+7b95,U+7f60,U+7f9e,U+7fe0,U+8098,U+80ba,U+8106,U+82d4,U+831c,U+87f9,U+8a1f,U+8acf,U+90c1,U+920d,U+9756,U+fe43,U+ff94}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.71.woff2) format("woff2");unicode-range:U+af,U+2465,U+2517,U+33a1,U+4f10,U+50c5,U+51b4,U+5384,U+5606,U+5bb0,U+5cac,U+5ee3,U+618e,U+61f2,U+62c9,U+66ab,U+66f9,U+6816,U+6960,U+6b3e,U+6f20,U+7078,U+72d0,U+73ed,U+7ad9,U+7b1b,U+7be4,U+7d62,U+7f51,U+80b4,U+80f4,U+8154,U+85fb,U+865c,U+8702,U+895f,U+8aed,U+8b90,U+8ced,U+8fbf,U+91d8,U+9418,U+9583,U+9591,U+9813,U+982c,U+9bd6,U+ff46,U+ff7f,U+ff88}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.72.woff2) format("woff2");unicode-range:U+4e91,U+508d,U+50e7,U+514e,U+51f6,U+5446,U+5504,U+584a,U+59a8,U+59d3,U+5a46,U+5ac9,U+6020,U+60a6,U+6148,U+621a,U+6234,U+64c1,U+6523,U+675c,U+67d1,U+6953,U+6ccc,U+6df5,U+6e13,U+6f06,U+723a,U+7325,U+74e6,U+758e,U+75ab,U+75d9,U+7a40,U+8096,U+82fa,U+8587,U+8594,U+8a6b,U+8ab9,U+8b17,U+8b83,U+937c,U+963b,U+9673,U+96db,U+9ce9,U+9f4b,U+ff67,U+ff82,U+ff93}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.73.woff2) format("woff2");unicode-range:U+221e,U+2514,U+51f9,U+5270,U+5449,U+5824,U+59a5,U+5a29,U+5d07,U+5e16,U+60e3,U+614c,U+6276,U+643e,U+64ab,U+6562,U+6681,U+670b,U+6734,U+67af,U+6a3d,U+6b05,U+6dc0,U+6e4a,U+7259,U+732a,U+7409,U+78a7,U+7a6b,U+8015,U+809b,U+817a,U+830e,U+837b,U+85ab,U+8a23,U+8a93,U+8b00,U+8b19,U+8b21,U+8cbf,U+8fb0,U+901d,U+91b8,U+9320,U+932c,U+9688,U+96f6,U+9df2,U+ff6a}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.74.woff2) format("woff2");unicode-range:U+2002,U+2025,U+4f8d,U+51e1,U+51f8,U+5507,U+5598,U+58f1,U+5983,U+59ac,U+5c3c,U+5de7,U+5e7d,U+5eca,U+5f61,U+606d,U+60f9,U+636e,U+64ec,U+67da,U+67ff,U+6813,U+68f2,U+693f,U+6b6a,U+6bbb,U+6ef4,U+7092,U+717d,U+7261,U+73c8,U+7432,U+7483,U+76fe,U+7709,U+78d0,U+81a3,U+81b3,U+82af,U+8305,U+8309,U+8870,U+88fe,U+8cd1,U+8d66,U+906e,U+971e,U+9812,U+ff79,U+ff90}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.75.woff2) format("woff2");unicode-range:U+2464,U+2501,U+2640,U+2642,U+339d,U+4f0e,U+5091,U+50b5,U+5132,U+51cc,U+558b,U+55aa,U+585e,U+5bee,U+5dfe,U+60b6,U+62b9,U+6349,U+6566,U+6590,U+6842,U+689d,U+6a58,U+6c70,U+6ff1,U+7815,U+7881,U+7aaa,U+7bc7,U+7def,U+7fa8,U+8017,U+8036,U+8061,U+821f,U+8429,U+8ce0,U+8e74,U+9019,U+90ca,U+9162,U+932f,U+93ae,U+9644,U+990c,U+9cf3,U+ff56,U+ff6e,U+ff7e,U+ff85}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.76.woff2) format("woff2");unicode-range:U+2266-2267,U+4f2f,U+5208,U+5451,U+546a,U+5589,U+576a,U+5815,U+5a9a,U+5b9b,U+5c3a,U+5efb,U+5faa,U+6109,U+6643,U+6652,U+695a,U+69fd,U+6b86,U+6bb4,U+6daf,U+7089,U+70cf,U+7a00,U+7a4f,U+7b39,U+7d33,U+80e1,U+828b,U+82a6,U+86cd,U+8c8c,U+8cca,U+8df3,U+9077,U+9175,U+91dc,U+925b,U+9262,U+9271,U+92ed,U+9855,U+9905,U+9d28,U+ff3f,U+ff58,U+ff68,U+ff6d,U+ff9c}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.77.woff2) format("woff2");unicode-range:U+2207,U+25ef,U+309c,U+4e4f,U+5146,U+51dd,U+5351,U+540a,U+5629,U+5eb5,U+5f04,U+5f13,U+60dc,U+6212,U+63b4,U+642c,U+6627,U+66a6,U+66c7,U+66fd,U+674e,U+6b96,U+6c4e,U+6df3,U+6e67,U+6f84,U+72fc,U+733f,U+7c97,U+7db1,U+7e4d,U+816b,U+82d1,U+84cb,U+854e,U+8607,U+86c7,U+871c,U+8776,U+8a89,U+8fc4,U+91a4,U+9285,U+9685,U+9903,U+9b31,U+9f13,U+ff42,U+ff74,U+ff91}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.78.woff2) format("woff2");unicode-range:U+4e32,U+51db,U+53a8,U+53ea,U+5609,U+5674,U+5a92,U+5e7e,U+6115,U+611a,U+62cc,U+62ed,U+63c9,U+64b9,U+64e6,U+65cb,U+6606,U+6731,U+683d,U+6afb,U+7460,U+771e,U+78ef,U+7b26,U+7b51,U+7cde,U+7d10,U+7d2f,U+7d46,U+80de,U+819c,U+84b2,U+85cd,U+865a,U+8ecc,U+9022,U+90b8,U+9192,U+9675,U+96b7,U+99ff,U+ff44,U+ff55,U+ff6c,U+ff73,U+ff75,U+ff86,U+ff8d,U+ff92,U+ffe3}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.79.woff2) format("woff2");unicode-range:U+25b3,U+30f5,U+4eae,U+4f46,U+4f51,U+5203,U+52ff,U+55a7,U+564c,U+565b,U+57f9,U+5805,U+5b64,U+5e06,U+5f70,U+5f90,U+60e8,U+6182,U+62f3,U+62fe,U+63aa,U+64a4,U+65d7,U+673a,U+6851,U+68cb,U+68df,U+6d1e,U+6e58,U+6e9d,U+77b3,U+7832,U+7c3f,U+7db4,U+7f70,U+80aa,U+80c6,U+8105,U+819d,U+8276,U+8679,U+8986,U+8c9d,U+8fc5,U+916c,U+9665,U+9699,U+96c0,U+9a19,U+ff8b}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.80.woff2) format("woff2");unicode-range:U+2463,U+25a1,U+4ef0,U+5076,U+5098,U+51fd,U+5302,U+5448,U+54c9,U+570b,U+583a,U+5893,U+58a8,U+58ee,U+5949,U+5bdb,U+5f26,U+5f81,U+6052,U+6170,U+61c7,U+631f,U+635c,U+664b,U+69fb,U+6f01,U+7070,U+722a,U+745e,U+755c,U+76c6,U+78c1,U+79e4,U+7bb8,U+7d0b,U+81a8,U+82d7,U+8b5c,U+8f14,U+8fb1,U+8fbb,U+9283,U+9298,U+9a30,U+ff03,U+ff50,U+ff59,U+ff7b,U+ff8e-ff8f}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.81.woff2) format("woff2");unicode-range:U+2010,U+2502,U+25b6,U+4f3a,U+514b,U+5265,U+52c3,U+5339,U+53ec,U+54c0,U+55b0,U+5854,U+5b8f,U+5cb3,U+5e84,U+60da,U+6247,U+6249,U+628a,U+62cd,U+65ac,U+6838,U+690e,U+6cf0,U+6f02,U+6f2c,U+6f70,U+708a,U+7434,U+75be,U+77ef,U+7c60,U+7c98,U+7d1b,U+7e2b,U+80a5,U+81e3,U+820c,U+8210,U+8475,U+862d,U+8650,U+8997,U+906d,U+91c8,U+9700,U+9727,U+9df9,U+ff3a,U+ff9a}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.82.woff2) format("woff2");unicode-range:U+2103,U+5049,U+52b1,U+5320,U+5553,U+572d,U+58c7,U+5b5d,U+5bc2,U+5de3,U+5e61,U+5f80,U+61a9,U+67d0,U+67f4,U+6c88,U+6ca1,U+6ce5,U+6d78,U+6e9c,U+6f54,U+731b,U+73b2,U+74a7,U+74f6,U+75e9,U+7b20,U+7c8b,U+7f72,U+809d,U+8108,U+82b3,U+82bd,U+84b8,U+84c4,U+88c2,U+8ae6,U+8ef8,U+902e,U+9065,U+9326,U+935b,U+938c,U+9676,U+9694,U+96f7,U+9ed9,U+ff48,U+ff4c,U+ff81}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.83.woff2) format("woff2");unicode-range:U+2500,U+3008-3009,U+4ead,U+4f0f,U+4fca,U+53eb,U+543e,U+57a2,U+5cf0,U+5e8f,U+5fe0,U+61b2,U+62d8,U+6442,U+64b2,U+6589,U+659c,U+67f1,U+68c4,U+6cb8,U+6d12,U+6de1,U+6fe1,U+70c8,U+723d,U+73e0,U+7656,U+773a,U+7948,U+7b87,U+7c92,U+7d3a,U+7e1b,U+7e4a,U+819a,U+8358,U+83c5,U+84bc,U+864e,U+8912,U+8c9e,U+8d05,U+92fc,U+9396,U+98fd,U+99d2,U+ff64,U+ff7a,U+ff83}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.84.woff2) format("woff2");unicode-range:U+3014-3015,U+4e3c,U+5036,U+5075,U+533f,U+53e9,U+5531,U+5642,U+5984,U+59e6,U+5a01,U+5b6b,U+5c0b,U+5f25,U+6069,U+60a0,U+614e,U+62b5,U+62d2-62d3,U+6597,U+660c,U+674f,U+67cf,U+6841,U+6905,U+6cf3,U+6d32,U+6d69,U+6f64,U+716e,U+7761,U+7b52,U+7be0,U+7dbf,U+7de9,U+7f36,U+81d3,U+8302,U+8389,U+846c,U+84ee,U+8a69,U+9038,U+9d8f,U+ff47,U+ff4b,U+ff76,U+ff9b}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.85.woff2) format("woff2");unicode-range:U+25c7,U+3007,U+504f,U+507d,U+51a0,U+52a3,U+5410,U+5510,U+559a,U+5782,U+582a,U+5c0a,U+5c3f,U+5c48,U+5f6b,U+6176,U+622f,U+6279,U+62bd,U+62dd,U+65ed,U+67b6,U+6817,U+6850,U+6d6a,U+6deb,U+6ea2,U+6edd,U+6f5c,U+72e9,U+73a9,U+7573,U+76bf,U+7950,U+7956,U+7f8a,U+7ffc,U+80a2,U+80c3,U+83ca,U+8a02,U+8a13,U+8df5,U+9375,U+983b,U+99b4,U+ff4e,U+ff71,U+ff89,U+ff97}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.86.woff2) format("woff2");unicode-range:U+24,U+2022,U+2212,U+221f,U+2665,U+4ecf,U+5100,U+51cd,U+52d8,U+5378,U+53f6,U+574a,U+5982,U+5996,U+5c1a,U+5e1d,U+5f84,U+609f,U+61a7,U+61f8,U+6398,U+63ee,U+6676,U+6691,U+6eb6,U+7126,U+71e5,U+7687,U+7965,U+7d17,U+80a1,U+8107,U+8266,U+85a6,U+8987,U+8ca2,U+8cab,U+8e0a,U+9042,U+95c7,U+9810,U+9867,U+98fc,U+ff52-ff54,U+ff61,U+ff77,U+ff98-ff99}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.87.woff2) format("woff2");unicode-range:U+b0,U+226a,U+2462,U+4e39,U+4fc3,U+4fd7,U+50be,U+50da,U+5200,U+5211,U+54f2,U+5618,U+596a,U+5b22,U+5bb4,U+5d50,U+60a3,U+63fa,U+658e,U+65e8,U+6669,U+6795,U+679d,U+67a0,U+6b3a,U+6e09,U+757f,U+7cd6,U+7dbe,U+7ffb,U+83cc,U+83f1,U+840c,U+845b,U+8846,U+8972,U+8a34,U+8a50,U+8a87,U+8edf,U+8ff0,U+90a6,U+9154,U+95a3,U+9663,U+9686,U+96c7,U+ff3c,U+ff7c,U+ff8a}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.88.woff2) format("woff2");unicode-range:U+25bd,U+4e59,U+4ec1,U+4ff3,U+515a,U+518a,U+525b,U+5375,U+552f,U+57a3,U+5b9c,U+5c3d,U+5e3d,U+5e7b,U+5f0a,U+6094,U+6458,U+654f,U+67f3,U+6b8a,U+6bd2,U+6c37,U+6ce1,U+6e56,U+6e7f,U+6ed1,U+6ede,U+6f0f,U+70ad,U+7267,U+7363,U+786c,U+7a42,U+7db2,U+7f85,U+8178,U+829d,U+8896,U+8c5a,U+8cb0,U+8ce2,U+8ed2,U+9047,U+9177,U+970a,U+9ea6,U+ff1b,U+ff31,U+ff39,U+ff80}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.89.woff2) format("woff2");unicode-range:U+a5,U+4e80,U+4f34,U+4f73,U+4f75,U+511f,U+5192,U+52aa,U+53c8,U+570f,U+57cb,U+596e,U+5d8b,U+5f66,U+5fd9,U+62db,U+62f6,U+6328,U+633f,U+63a7,U+6469,U+6bbf,U+6c41,U+6c57,U+6d44,U+6dbc,U+706f,U+72c2,U+72ed,U+7551,U+75f4,U+7949,U+7e26,U+7fd4,U+8150,U+8af8,U+8b0e,U+8b72,U+8ca7,U+934b,U+9a0e,U+9a12,U+9b42,U+ff41,U+ff43,U+ff45,U+ff49,U+ff4f,U+ff62-ff63}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.90.woff2) format("woff2");unicode-range:U+4e18,U+4fb5,U+5104,U+52c7,U+5353,U+5374,U+53e5,U+587e,U+594f,U+5a20,U+5de1,U+5f18,U+5fcd,U+6291,U+62ab,U+6355,U+6392,U+63da,U+63e1,U+656c,U+6687,U+68b0-68b1,U+68d2,U+68da,U+6b27,U+6cbc,U+7159,U+7344,U+73cd,U+76df,U+790e,U+7cf8,U+8102,U+88c1,U+8aa0,U+8e0f,U+9178,U+92ad,U+9670,U+96c5,U+9cf4,U+9db4,U+ff3e,U+ff6f,U+ff72,U+ff78,U+ff7d,U+ff84,U+ff8c}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.91.woff2) format("woff2");unicode-range:U+60,U+2200,U+226b,U+2461,U+517c,U+526f,U+5800,U+5b97,U+5bf8,U+5c01,U+5d29,U+5e4c,U+5e81,U+6065,U+61d0,U+667a,U+6696,U+6843,U+6c99,U+6d99,U+6ec5,U+6f22,U+6f6e,U+6fa4,U+6fef,U+71c3,U+72d9,U+7384,U+78e8,U+7a1a,U+7a32,U+7a3c,U+7adc,U+7ca7,U+7d2b,U+7dad,U+7e4b,U+80a9,U+8170,U+81ed,U+820e,U+8a17,U+8afe,U+90aa,U+914e,U+963f,U+99c4,U+9eba,U+9f3b,U+ff38}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.92.woff2) format("woff2");unicode-range:U+2460,U+4e5f,U+4e7e,U+4ed9,U+501f,U+502b,U+5968,U+5974,U+5ac1,U+5b99,U+5ba3,U+5be7,U+5be9,U+5c64,U+5cb8,U+5ec3,U+5f1f,U+616e,U+6297,U+62e0,U+62ec,U+6368,U+642d,U+65e6,U+6717,U+676f,U+6b04,U+732e,U+7652,U+76ca,U+76d7,U+7802,U+7e70,U+7f6a,U+8133,U+81e8,U+866b,U+878d,U+88f8,U+8a5e,U+8cdb,U+8d08,U+907a,U+90e1,U+96f2,U+9f8d,U+ff35,U+ff37,U+ff40,U+ff9d}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.93.woff2) format("woff2");unicode-range:U+21d2,U+25ce,U+300a-300b,U+4e89,U+4e9c,U+4ea1,U+5263,U+53cc,U+5426,U+5869,U+5947,U+598a,U+5999,U+5e55,U+5e72,U+5e79,U+5fae,U+5fb9,U+602a,U+6163,U+624d,U+6749,U+6c5a,U+6cbf,U+6d45,U+6dfb,U+6e7e,U+708e,U+725b,U+7763,U+79c0,U+7bc4,U+7c89,U+7e01,U+7e2e,U+8010,U+8033,U+8c6a,U+8cc3,U+8f1d,U+8f9b,U+8fb2,U+907f,U+90f7,U+9707,U+9818,U+9b3c,U+ff0a,U+ff4d}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.94.woff2) format("woff2");unicode-range:U+2015,U+2190,U+4e43,U+5019,U+5247,U+52e7,U+5438,U+54b2,U+55ab,U+57f7,U+5bd2,U+5e8a,U+5ef6,U+6016,U+60b2,U+6162,U+6319,U+6551,U+6607,U+66b4,U+675f,U+67d4,U+6b20,U+6b53,U+6ce3,U+719f,U+75b2,U+770b,U+7720,U+77ac,U+79d2,U+7af9,U+7d05,U+7dca,U+8056,U+80f8,U+81f3,U+8352,U+885d,U+8a70,U+8aa4,U+8cbc,U+900f,U+9084,U+91e3,U+9451,U+96c4,U+99c6,U+9ad4,U+ff70}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.95.woff2) format("woff2");unicode-range:U+2193,U+25b2,U+4e4b,U+516d,U+51c4,U+529f,U+52c9,U+5360,U+5442,U+5857,U+5915,U+59eb,U+5a9b,U+5c3b,U+6012,U+61b6,U+62b1,U+6311,U+6577,U+65e2,U+65ec,U+6613,U+6790,U+6cb9,U+7372,U+76ae,U+7d5e,U+7fcc,U+88ab,U+88d5,U+8caf,U+8ddd,U+8ecd,U+8f38,U+8f9e,U+8feb,U+9063,U+90f5,U+93e1,U+968a,U+968f,U+98fe,U+9ec4,U+ff1d,U+ff27,U+ff2a,U+ff36,U+ff3b,U+ff3d,U+ffe5}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.96.woff2) format("woff2");unicode-range:U+4e03,U+4f38,U+50b7,U+5264,U+5348,U+5371,U+585a,U+58ca,U+5951,U+59b9,U+59d4,U+5b98,U+5f8b,U+6388,U+64cd,U+65e7,U+6803,U+6b6f,U+6d66,U+6e0b,U+6ecb,U+6fc3,U+72ac,U+773c,U+77e2,U+7968,U+7a74,U+7dba,U+7dd1,U+7e3e,U+808c,U+811a,U+8179,U+8239,U+8584,U+8a0e,U+8a72,U+8b66,U+8c46,U+8f29,U+90a3,U+9234,U+96f0,U+9769,U+9774,U+9aa8,U+ff26,U+ff28,U+ff9e-ff9f}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.97.woff2) format("woff2");unicode-range:U+7e,U+b4,U+25c6,U+2661,U+4e92,U+4eee,U+4ffa,U+5144,U+5237,U+5287,U+52b4,U+58c1,U+5bff,U+5c04,U+5c06,U+5e95,U+5f31,U+5f93,U+63c3,U+640d,U+6557,U+6614,U+662f,U+67d3,U+690d,U+6bba,U+6e6f,U+72af,U+732b,U+7518,U+7ae0,U+7ae5,U+7af6,U+822a,U+89e6,U+8a3a,U+8a98,U+8cb8,U+8de1,U+8e8d,U+95d8,U+961c,U+96a3,U+96ea,U+9bae,U+ff20,U+ff22,U+ff29,U+ff2b-ff2c}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.98.woff2) format("woff2");unicode-range:U+25cb,U+4e71,U+4f59,U+50d5,U+520a,U+5217,U+5230,U+523a-523b,U+541b,U+5439,U+5747,U+59c9,U+5bdf,U+5c31,U+5de8,U+5e7c,U+5f69,U+6050,U+60d1,U+63cf,U+663c,U+67c4,U+6885,U+6c38,U+6d6e,U+6db2,U+6df7,U+6e2c,U+6f5f,U+7532,U+76e3-76e4,U+7701,U+793c,U+79f0,U+7a93,U+7d00,U+7de0,U+7e54,U+8328,U+8840,U+969c,U+96e8,U+9811,U+9aea,U+9b5a,U+ff24,U+ff2e,U+ff57}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.99.woff2) format("woff2");unicode-range:U+2191,U+505c,U+52e4,U+5305,U+535a,U+56e0,U+59bb,U+5acc,U+5b09,U+5b87,U+5c90,U+5df1,U+5e2d,U+5e33,U+5f3e,U+6298,U+6383,U+653b,U+6697,U+6804,U+6a39,U+6cca,U+6e90,U+6f2b,U+702c,U+7206,U+7236,U+7559,U+7565,U+7591,U+75c7,U+75db,U+7b4b,U+7bb1,U+7d99,U+7fbd,U+8131,U+885b,U+8b1d,U+8ff7,U+9003,U+9045,U+96a0,U+9732,U+990a,U+99d0,U+9e97,U+9f62,U+ff25,U+ff2d}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.100.woff2) format("woff2");unicode-range:U+4e08,U+4f9d,U+5012,U+514d,U+51b7,U+5275,U+53ca,U+53f8,U+5584,U+57fc,U+5b9d,U+5bfa,U+5c3e,U+5f01,U+5fb4,U+5fd7,U+606f,U+62e1,U+6563,U+6674,U+6cb3,U+6d3e,U+6d74,U+6e1b,U+6e2f,U+718a,U+7247,U+79d8,U+7d14,U+7d66,U+7d71,U+7df4,U+7e41,U+80cc,U+8155,U+83d3,U+8a95,U+8ab2,U+8ad6,U+8ca1,U+9000,U+9006,U+9678,U+97d3,U+9808,U+98ef,U+9a5a,U+9b45,U+ff23,U+ff30}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.101.woff2) format("woff2");unicode-range:U+25bc,U+3012,U+4ef2,U+4f0a,U+516b,U+5373,U+539a,U+53b3,U+559c,U+56f0,U+5727,U+5742,U+5965,U+59ff,U+5bc6,U+5dfb,U+5e45,U+5ead,U+5fb3,U+6211,U+6253,U+639b,U+63a8,U+6545,U+6575,U+6628,U+672d,U+68a8,U+6bdb,U+6d25,U+707d,U+767e,U+7834,U+7b46,U+7bc9,U+8074,U+82e6,U+8349,U+8a2a,U+8d70,U+8da3,U+8fce,U+91cc,U+967d,U+97ff,U+9996,U+ff1c,U+ff2f,U+ff32,U+ff34}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.102.woff2) format("woff2");unicode-range:U+3d,U+5e,U+25cf,U+4e0e,U+4e5d,U+4e73,U+4e94,U+4f3c,U+5009,U+5145,U+51ac,U+5238,U+524a,U+53f3,U+547c,U+5802,U+5922,U+5a66,U+5c0e,U+5de6,U+5fd8,U+5feb,U+6797,U+685c,U+6b7b,U+6c5f-6c60,U+6cc9,U+6ce2,U+6d17,U+6e21,U+7167,U+7642,U+76db,U+8001,U+821e,U+8857,U+89d2,U+8b1b,U+8b70,U+8cb4,U+8cde,U+8f03,U+8f2a,U+968e,U+9b54,U+9e7f,U+9ebb,U+ff05,U+ff33}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.103.woff2) format("woff2");unicode-range:U+500d,U+5074,U+50cd,U+5175,U+52e2,U+5352,U+5354,U+53f2,U+5409,U+56fa,U+5a18,U+5b88,U+5bdd,U+5ca9,U+5f92,U+5fa9,U+60a9,U+623f,U+6483,U+653f,U+666f,U+66ae,U+66f2,U+6a21,U+6b66,U+6bcd,U+6d5c,U+796d,U+7a4d,U+7aef,U+7b56,U+7b97,U+7c4d,U+7e04,U+7fa9,U+8377,U+83dc,U+83ef,U+8535,U+8863,U+88cf,U+88dc,U+8907,U+8acb,U+90ce,U+91dd,U+ff0b,U+ff0d,U+ff19,U+ff65}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.104.woff2) format("woff2");unicode-range:U+4e01,U+4e21,U+4e38,U+52a9,U+547d,U+592e,U+5931,U+5b63,U+5c40,U+5dde,U+5e78,U+5efa,U+5fa1,U+604b,U+6075,U+62c5,U+632f,U+6a19,U+6c0f,U+6c11,U+6c96,U+6e05,U+70ba,U+71b1,U+7387,U+7403,U+75c5,U+77ed,U+795d,U+7b54,U+7cbe,U+7d19,U+7fa4,U+8089,U+81f4,U+8208,U+8336,U+8457,U+8a33,U+8c4a,U+8ca0,U+8ca8,U+8cc0,U+9014,U+964d,U+9803,U+983c,U+98db,U+ff17,U+ff21}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.105.woff2) format("woff2");unicode-range:U+25,U+25a0,U+4e26,U+4f4e,U+5341,U+56f2,U+5bbf,U+5c45,U+5c55,U+5c5e,U+5dee,U+5e9c,U+5f7c,U+6255,U+627f,U+62bc,U+65cf,U+661f,U+666e,U+66dc,U+67fb,U+6975,U+6a4b,U+6b32,U+6df1,U+6e29,U+6fc0,U+738b,U+7686,U+7a76,U+7a81,U+7c73,U+7d75,U+7dd2,U+82e5,U+82f1,U+85ac,U+888b,U+899a,U+8a31,U+8a8c,U+8ab0,U+8b58,U+904a,U+9060,U+9280,U+95b2,U+984d,U+9ce5,U+ff18}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.106.woff2) format("woff2");unicode-range:U+30f6,U+50ac,U+5178,U+51e6,U+5224,U+52dd,U+5883,U+5897,U+590f,U+5a5a,U+5bb3,U+5c65,U+5e03,U+5e2b,U+5e30,U+5eb7,U+6271,U+63f4,U+64ae,U+6574,U+672b,U+679a,U+6a29-6a2a,U+6ca2,U+6cc1,U+6d0b,U+713c,U+74b0,U+7981,U+7a0b,U+7bc0,U+7d1a,U+7d61,U+7fd2,U+822c,U+8996,U+89aa,U+8cac,U+8cbb,U+8d77,U+8def,U+9020,U+9152,U+9244,U+9662,U+967a,U+96e3,U+9759,U+ff16}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.107.woff2) format("woff2");unicode-range:U+23,U+3c,U+2192,U+4e45,U+4efb,U+4f50,U+4f8b,U+4fc2,U+5024,U+5150,U+5272,U+5370,U+53bb,U+542b,U+56db,U+56e3,U+57ce,U+5bc4,U+5bcc,U+5f71,U+60aa,U+6238,U+6280,U+629c,U+6539,U+66ff,U+670d,U+677e-677f,U+6839,U+69cb,U+6b4c,U+6bb5,U+6e96,U+6f14,U+72ec,U+7389,U+7814,U+79cb,U+79d1,U+79fb,U+7a0e,U+7d0d,U+85e4,U+8d64,U+9632,U+96e2,U+9805,U+99ac,U+ff1e}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.108.woff2) format("woff2");unicode-range:U+2605-2606,U+301c,U+4e57,U+4fee,U+5065,U+52df,U+533b,U+5357,U+57df,U+58eb,U+58f0,U+591c,U+592a-592b,U+5948,U+5b85,U+5d0e,U+5ea7,U+5ff5,U+6025,U+63a1,U+63a5,U+63db,U+643a,U+65bd,U+671d,U+68ee,U+6982,U+6b73,U+6bd4,U+6d88,U+7570,U+7b11,U+7d76,U+8077,U+8217,U+8c37,U+8c61,U+8cc7,U+8d85,U+901f,U+962a,U+9802,U+9806,U+9854,U+98f2,U+9928,U+99c5,U+9ed2}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.109.woff2) format("woff2");unicode-range:U+266a,U+4f11,U+533a,U+5343,U+534a,U+53cd,U+5404,U+56f3,U+5b57-5b58,U+5bae,U+5c4a,U+5e0c,U+5e2f,U+5eab,U+5f35,U+5f79,U+614b,U+6226,U+629e,U+65c5,U+6625,U+6751,U+6821,U+6b69,U+6b8b,U+6bce,U+6c42,U+706b,U+7c21,U+7cfb,U+805e,U+80b2,U+82b8,U+843d,U+8853,U+88c5,U+8a3c,U+8a66,U+8d8a,U+8fba,U+9069,U+91cf,U+9752,U+975e,U+9999,U+ff0f-ff10,U+ff14-ff15}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.110.woff2) format("woff2");unicode-range:U+40,U+4e86,U+4e95,U+4f01,U+4f1d,U+4fbf,U+5099,U+5171,U+5177,U+53cb,U+53ce,U+53f0,U+5668,U+5712,U+5ba4,U+5ca1,U+5f85,U+60f3,U+653e,U+65ad,U+65e9,U+6620,U+6750,U+6761,U+6b62,U+6b74,U+6e08,U+6e80,U+7248,U+7531,U+7533,U+753a,U+77f3,U+798f,U+7f6e,U+8449,U+88fd,U+89b3,U+8a55,U+8ac7,U+8b77,U+8db3,U+8efd,U+8fd4,U+9031-9032,U+9580,U+9589,U+96d1,U+985e}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.111.woff2) format("woff2");unicode-range:U+2b,U+d7,U+300e-300f,U+4e07,U+4e8c,U+512a,U+5149,U+518d,U+5236,U+52b9,U+52d9,U+5468,U+578b,U+57fa,U+5b8c,U+5ba2,U+5c02,U+5de5,U+5f37,U+5f62,U+623b,U+63d0,U+652f,U+672a,U+6848,U+6d41,U+7136,U+7537,U+754c,U+76f4,U+79c1,U+7ba1,U+7d44,U+7d4c,U+7dcf,U+7dda,U+7de8,U+82b1,U+897f,U+8ca9,U+8cfc,U+904e,U+9664,U+982d,U+9858,U+98a8,U+9a13,U+ff13,U+ff5c}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.112.woff2) format("woff2");unicode-range:U+4e16,U+4e3b,U+4ea4,U+4ee4,U+4f4d,U+4f4f,U+4f55,U+4f9b,U+5317,U+5358,U+53c2,U+53e4,U+548c,U+571f,U+59cb,U+5cf6,U+5e38,U+63a2,U+63b2,U+6559,U+662d,U+679c,U+6c7a,U+72b6,U+7523,U+767d,U+770c,U+7a2e,U+7a3f,U+7a7a,U+7b2c,U+7b49,U+7d20,U+7d42,U+8003,U+8272,U+8a08,U+8aac,U+8cb7,U+8eab,U+8ee2,U+9054-9055,U+90fd,U+914d,U+91cd,U+969b,U+97f3,U+984c,U+ff06}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.113.woff2) format("woff2");unicode-range:U+26,U+5f,U+2026,U+203b,U+4e09,U+4eac,U+4ed5,U+4fa1,U+5143,U+5199,U+5207,U+539f,U+53e3,U+53f7,U+5411,U+5473,U+5546,U+55b6,U+5929,U+597d,U+5bb9,U+5c11,U+5c4b,U+5ddd,U+5f97,U+5fc5,U+6295,U+6301,U+6307,U+671b,U+76f8,U+78ba,U+795e,U+7d30,U+7d39,U+7d9a,U+89e3,U+8a00,U+8a73,U+8a8d,U+8a9e,U+8aad,U+8abf,U+8cea,U+8eca,U+8ffd,U+904b,U+9650,U+ff11-ff12}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.114.woff2) format("woff2");unicode-range:U+3e,U+3005,U+4e0d,U+4e88,U+4ecb,U+4ee3,U+4ef6,U+4fdd,U+4fe1,U+500b,U+50cf,U+5186,U+5316,U+53d7,U+540c,U+544a,U+54e1,U+5728,U+58f2,U+5973,U+5b89,U+5c71,U+5e02,U+5e97,U+5f15,U+5fc3,U+5fdc,U+601d,U+611b,U+611f,U+671f,U+6728,U+6765,U+683c,U+6b21,U+6ce8,U+6d3b,U+6d77,U+7530,U+7740,U+7acb,U+7d50,U+826f,U+8f09,U+8fbc,U+9001,U+9053,U+91ce,U+9762,U+98df}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.115.woff2) format("woff2");unicode-range:U+7c,U+3080,U+4ee5,U+5148,U+516c,U+521d,U+5225,U+529b,U+52a0,U+53ef,U+56de,U+56fd,U+5909,U+591a,U+5b66,U+5b9f,U+5bb6,U+5bfe,U+5e73,U+5e83,U+5ea6,U+5f53,U+6027,U+610f,U+6210,U+6240,U+660e,U+66f4,U+66f8,U+6709,U+6771,U+697d,U+69d8,U+6a5f,U+6c34,U+6cbb,U+73fe,U+756a,U+7684,U+771f,U+793a,U+7f8e,U+898f,U+8a2d,U+8a71,U+8fd1,U+9078,U+9577,U+96fb,U+ff5e}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.116.woff2) format("woff2");unicode-range:U+a9,U+3010-3011,U+30e2,U+4e0b,U+4eca,U+4ed6,U+4ed8,U+4f53,U+4f5c,U+4f7f,U+53d6,U+540d,U+54c1,U+5730,U+5916,U+5b50,U+5c0f,U+5f8c,U+624b,U+6570,U+6587,U+6599,U+691c,U+696d,U+6cd5,U+7269,U+7279,U+7406,U+767a-767b,U+77e5,U+7d04,U+7d22,U+8005,U+80fd,U+81ea,U+8868,U+8981,U+89a7,U+901a,U+9023,U+90e8,U+91d1,U+9332,U+958b,U+96c6,U+9ad8,U+ff1a,U+ff1f}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.117.woff2) format("woff2");unicode-range:U+4e,U+a0,U+3000,U+300c-300d,U+4e00,U+4e0a,U+4e2d,U+4e8b,U+4eba,U+4f1a,U+5165,U+5168,U+5185,U+51fa,U+5206,U+5229,U+524d,U+52d5,U+5408,U+554f,U+5831,U+5834,U+5927,U+5b9a,U+5e74,U+5f0f,U+60c5,U+65b0,U+65b9,U+6642,U+6700,U+672c,U+682a,U+6b63,U+6c17,U+7121,U+751f,U+7528,U+753b,U+76ee,U+793e,U+884c,U+898b,U+8a18,U+9593,U+95a2,U+ff01,U+ff08-ff09}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.118.woff2) format("woff2");unicode-range:U+21-22,U+27-2a,U+2c-3b,U+3f,U+41-4d,U+4f-5d,U+61-7b,U+7d,U+ab,U+ae,U+b2-b3,U+b7,U+bb,U+c9,U+cd,U+d6,U+d8,U+dc,U+e0-e5,U+e7-ed,U+ef,U+f1-f4,U+f6,U+f8,U+fa,U+fc-fd,U+103,U+14d,U+1b0,U+300-301,U+1ebf,U+1ec7,U+2013-2014,U+201c-201d,U+2039-203a,U+203c,U+2048-2049,U+2113,U+2122,U+65e5,U+6708,U+70b9}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6YnQCWXzO7W5-p9wTrkzI9ywX1Ff4zgPYcAW70.119.woff2) format("woff2");unicode-range:U+20,U+2027,U+3001-3002,U+3041-307f,U+3081-308f,U+3091-3093,U+3099-309a,U+309d-309e,U+30a1-30e1,U+30e3-30ed,U+30ef-30f0,U+30f2-30f4,U+30fb-30fe,U+ff0c,U+ff0e}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6omwqRfTHxT624.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6okQqRfTHxT624.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Kiwi Maru;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/kiwimaru/v19/R70YjykGkuuDep-hRg6onwqRfTHxTw.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Sniglet;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/sniglet/v17/cIf9MaFLtkE3UjaJ9CChYUsEkIpdQQ.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Sniglet;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/sniglet/v17/cIf9MaFLtkE3UjaJ9C6hYUsEkIo.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}.i-eos-icons\:three-dots-loading,[i-eos-icons\:three-dots-loading=""]{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Ccircle cx='18' cy='12' r='0' fill='currentColor'%3E%3Canimate attributeName='r' begin='.67' calcMode='spline' dur='1.5s' keySplines='0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8' repeatCount='indefinite' values='0;2;0;0'/%3E%3C/circle%3E%3Ccircle cx='12' cy='12' r='0' fill='currentColor'%3E%3Canimate attributeName='r' begin='.33' calcMode='spline' dur='1.5s' keySplines='0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8' repeatCount='indefinite' values='0;2;0;0'/%3E%3C/circle%3E%3Ccircle cx='6' cy='12' r='0' fill='currentColor'%3E%3Canimate attributeName='r' begin='0' calcMode='spline' dur='1.5s' keySplines='0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8' repeatCount='indefinite' values='0;2;0;0'/%3E%3C/circle%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1.2em;height:1.2em}.i-lobe-icons\:cloudflare-color{background:url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='1em' height='1em' %3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cpath d='M16.493 17.4c.135-.52.08-.983-.161-1.338-.215-.328-.592-.519-1.05-.519l-8.663-.109a.148.148 0 01-.135-.082c-.027-.054-.027-.109-.027-.163.027-.082.108-.164.189-.164l8.744-.11c1.05-.054 2.153-.9 2.556-1.937l.511-1.31c.027-.055.027-.11.027-.164C17.92 8.91 15.66 7 12.942 7c-2.503 0-4.628 1.638-5.381 3.903a2.432 2.432 0 00-1.803-.491c-1.21.109-2.153 1.092-2.287 2.32-.027.328 0 .628.054.9C1.56 13.688 0 15.326 0 17.319c0 .19.027.355.027.545 0 .082.08.137.161.137h15.983c.08 0 .188-.055.215-.164l.107-.437' fill='%23F38020'/%3E%3Cpath d='M19.238 11.75h-.242c-.054 0-.108.054-.135.109l-.35 1.2c-.134.52-.08.983.162 1.338.215.328.592.518 1.05.518l1.855.11c.054 0 .108.027.135.082.027.054.027.109.027.163-.027.082-.108.164-.188.164l-1.91.11c-1.05.054-2.153.9-2.557 1.937l-.134.355c-.027.055.026.137.107.137h6.592c.081 0 .162-.055.162-.137.107-.41.188-.846.188-1.31-.027-2.62-2.153-4.777-4.762-4.777' fill='%23FCAD32'/%3E%3C/g%3E%3C/svg%3E") no-repeat;background-size:100% 100%;background-color:transparent;width:1.2em;height:1.2em}.i-lobe-icons\:deepseek-color{background:url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='1em' height='1em' %3E%3Cpath d='M23.748 4.482c-.254-.124-.364.113-.512.234-.051.039-.094.09-.137.136-.372.397-.806.657-1.373.626-.829-.046-1.537.214-2.163.848-.133-.782-.575-1.248-1.247-1.548-.352-.156-.708-.311-.955-.65-.172-.241-.219-.51-.305-.774-.055-.16-.11-.323-.293-.35-.2-.031-.278.136-.356.276-.313.572-.434 1.202-.422 1.84.027 1.436.633 2.58 1.838 3.393.137.093.172.187.129.323-.082.28-.18.552-.266.833-.055.179-.137.217-.329.14a5.526 5.526 0 01-1.736-1.18c-.857-.828-1.631-1.742-2.597-2.458a11.365 11.365 0 00-.689-.471c-.985-.957.13-1.743.388-1.836.27-.098.093-.432-.779-.428-.872.004-1.67.295-2.687.684a3.055 3.055 0 01-.465.137 9.597 9.597 0 00-2.883-.102c-1.885.21-3.39 1.102-4.497 2.623C.082 8.606-.231 10.684.152 12.85c.403 2.284 1.569 4.175 3.36 5.653 1.858 1.533 3.997 2.284 6.438 2.14 1.482-.085 3.133-.284 4.994-1.86.47.234.962.327 1.78.397.63.059 1.236-.03 1.705-.128.735-.156.684-.837.419-.961-2.155-1.004-1.682-.595-2.113-.926 1.096-1.296 2.746-2.642 3.392-7.003.05-.347.007-.565 0-.845-.004-.17.035-.237.23-.256a4.173 4.173 0 001.545-.475c1.396-.763 1.96-2.015 2.093-3.517.02-.23-.004-.467-.247-.588zM11.581 18c-2.089-1.642-3.102-2.183-3.52-2.16-.392.024-.321.471-.235.763.09.288.207.486.371.739.114.167.192.416-.113.603-.673.416-1.842-.14-1.897-.167-1.361-.802-2.5-1.86-3.301-3.307-.774-1.393-1.224-2.887-1.298-4.482-.02-.386.093-.522.477-.592a4.696 4.696 0 011.529-.039c2.132.312 3.946 1.265 5.468 2.774.868.86 1.525 1.887 2.202 2.891.72 1.066 1.494 2.082 2.48 2.914.348.292.625.514.891.677-.802.09-2.14.11-3.054-.614zm1-6.44a.306.306 0 01.415-.287.302.302 0 01.2.288.306.306 0 01-.31.307.303.303 0 01-.304-.308zm3.11 1.596c-.2.081-.399.151-.59.16a1.245 1.245 0 01-.798-.254c-.274-.23-.47-.358-.552-.758a1.73 1.73 0 01.016-.588c.07-.327-.008-.537-.239-.727-.187-.156-.426-.199-.688-.199a.559.559 0 01-.254-.078c-.11-.054-.2-.19-.114-.358.028-.054.16-.186.192-.21.356-.202.767-.136 1.146.016.352.144.618.408 1.001.782.391.451.462.576.685.914.176.265.336.537.445.848.067.195-.019.354-.25.452z' fill='%234D6BFE'/%3E%3C/svg%3E") no-repeat;background-size:100% 100%;background-color:transparent;width:1.2em;height:1.2em}.i-lobe-icons\:fireworks{--un-icon:url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='1em' height='1em' %3E%3Cg fill='currentColor' fill-rule='evenodd'%3E%3Cpath clip-rule='evenodd' d='M14.8 5l-2.801 6.795L9.195 5H7.397l3.072 7.428a1.64 1.64 0 003.038.002L16.598 5H14.8zm1.196 10.352l5.124-5.244-.699-1.669-5.596 5.739a1.664 1.664 0 00-.343 1.807 1.642 1.642 0 001.516 1.012L16 17l8-.02-.699-1.669-7.303.041h-.002zM2.88 10.104l.699-1.669 5.596 5.739c.468.479.603 1.189.343 1.807a1.643 1.643 0 01-1.516 1.012l-8-.018-.002.002.699-1.669 7.303.042-5.122-5.246z'/%3E%3C/g%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1.2em;height:1.2em}.i-lobe-icons\:mistral-color{background:url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='1em' height='1em' %3E%3Cpath d='M3.428 3.4h3.429v3.428H3.428V3.4zm13.714 0h3.43v3.428h-3.43V3.4z' fill='gold'/%3E%3Cpath d='M3.428 6.828h6.857v3.429H3.429V6.828zm10.286 0h6.857v3.429h-6.857V6.828z' fill='%23FFAF00'/%3E%3Cpath d='M3.428 10.258h17.144v3.428H3.428v-3.428z' fill='%23FF8205'/%3E%3Cpath d='M3.428 13.686h3.429v3.428H3.428v-3.428zm6.858 0h3.429v3.428h-3.429v-3.428zm6.856 0h3.43v3.428h-3.43v-3.428z' fill='%23FA500F'/%3E%3Cpath d='M0 17.114h10.286v3.429H0v-3.429zm13.714 0H24v3.429H13.714v-3.429z' fill='%23E10500'/%3E%3C/svg%3E") no-repeat;background-size:100% 100%;background-color:transparent;width:1.2em;height:1.2em}.i-lobe-icons\:moonshot{--un-icon:url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='1em' height='1em' %3E%3Cg fill='currentColor' fill-rule='evenodd'%3E%3Cpath d='M1.052 16.916l9.539 2.552a21.007 21.007 0 00.06 2.033l5.956 1.593a11.997 11.997 0 01-5.586.865l-.18-.016-.044-.004-.084-.009-.094-.01a11.605 11.605 0 01-.157-.02l-.107-.014-.11-.016a11.962 11.962 0 01-.32-.051l-.042-.008-.075-.013-.107-.02-.07-.015-.093-.019-.075-.016-.095-.02-.097-.023-.094-.022-.068-.017-.088-.022-.09-.024-.095-.025-.082-.023-.109-.03-.062-.02-.084-.025-.093-.028-.105-.034-.058-.019-.08-.026-.09-.031-.066-.024a6.293 6.293 0 01-.044-.015l-.068-.025-.101-.037-.057-.022-.08-.03-.087-.035-.088-.035-.079-.032-.095-.04-.063-.028-.063-.027a5.655 5.655 0 01-.041-.018l-.066-.03-.103-.047-.052-.024-.096-.046-.062-.03-.084-.04-.086-.044-.093-.047-.052-.027-.103-.055-.057-.03-.058-.032a6.49 6.49 0 01-.046-.026l-.094-.053-.06-.034-.051-.03-.072-.041-.082-.05-.093-.056-.052-.032-.084-.053-.061-.039-.079-.05-.07-.047-.053-.035a7.785 7.785 0 01-.054-.036l-.044-.03-.044-.03a6.066 6.066 0 01-.04-.028l-.057-.04-.076-.054-.069-.05-.074-.054-.056-.042-.076-.057-.076-.059-.086-.067-.045-.035-.064-.052-.074-.06-.089-.073-.046-.039-.046-.039a7.516 7.516 0 01-.043-.037l-.045-.04-.061-.053-.07-.062-.068-.06-.062-.058-.067-.062-.053-.05-.088-.084a13.28 13.28 0 01-.099-.097l-.029-.028-.041-.042-.069-.07-.05-.051-.05-.053a6.457 6.457 0 01-.168-.179l-.08-.088-.062-.07-.071-.08-.042-.049-.053-.062-.058-.068-.046-.056a7.175 7.175 0 01-.027-.033l-.045-.055-.066-.082-.041-.052-.05-.064-.02-.025a11.99 11.99 0 01-1.44-2.402zm-1.02-5.794l11.353 3.037a20.468 20.468 0 00-.469 2.011l10.817 2.894a12.076 12.076 0 01-1.845 2.005L.657 15.923l-.016-.046-.035-.104a11.965 11.965 0 01-.05-.153l-.007-.023a11.896 11.896 0 01-.207-.741l-.03-.126-.018-.08-.021-.097-.018-.081-.018-.09-.017-.084-.018-.094c-.026-.141-.05-.283-.071-.426l-.017-.118-.011-.083-.013-.102a12.01 12.01 0 01-.019-.161l-.005-.047a12.12 12.12 0 01-.034-2.145zm1.593-5.15l11.948 3.196c-.368.605-.705 1.231-1.01 1.875l11.295 3.022c-.142.82-.368 1.612-.668 2.365l-11.55-3.09L.124 10.26l.015-.1.008-.049.01-.067.015-.087.018-.098c.026-.148.056-.295.088-.442l.028-.124.02-.085.024-.097c.022-.09.045-.18.07-.268l.028-.102.023-.083.03-.1.025-.082.03-.096.026-.082.031-.095a11.896 11.896 0 011.01-2.232zm4.442-4.4L17.352 4.59a20.77 20.77 0 00-1.688 1.721l7.823 2.093c.267.852.442 1.744.513 2.665L2.106 5.213l.045-.065.027-.04.04-.055.046-.065.055-.076.054-.072.064-.086.05-.065.057-.073.055-.07.06-.074.055-.069.065-.077.054-.066.066-.077.053-.06.072-.082.053-.06.067-.074.054-.058.073-.078.058-.06.063-.067.168-.17.1-.098.059-.056.076-.071a12.084 12.084 0 012.272-1.677zM12.017 0h.097l.082.001.069.001.054.002.068.002.046.001.076.003.047.002.06.003.054.002.087.005.105.007.144.011.088.007.044.004.077.008.082.008.047.005.102.012.05.006.108.014.081.01.042.006.065.01.207.032.07.012.065.011.14.026.092.018.11.022.046.01.075.016.041.01L14.7.3l.042.01.065.015.049.012.071.017.096.024.112.03.113.03.113.032.05.015.07.02.078.024.073.023.05.016.05.016.076.025.099.033.102.036.048.017.064.023.093.034.11.041.116.045.1.04.047.02.06.024.041.018.063.026.04.018.057.025.11.048.1.046.074.035.075.036.06.028.092.046.091.045.102.052.053.028.049.026.046.024.06.033.041.022.052.029.088.05.106.06.087.051.057.034.053.032.096.059.088.055.098.062.036.024.064.041.084.056.04.027.062.042.062.043.023.017c.054.037.108.075.161.114l.083.06.065.048.056.043.086.065.082.064.04.03.05.041.086.069.079.065.085.071c.712.6 1.353 1.283 1.909 2.031L7.222.994l.062-.027.065-.028.081-.034.086-.035c.113-.045.227-.09.341-.131l.096-.035.093-.033.084-.03.096-.031c.087-.03.176-.058.264-.085l.091-.027.086-.025.102-.03.085-.023.1-.026L9.04.37l.09-.023.091-.022.095-.022.09-.02.098-.021.091-.02.095-.018.092-.018.1-.018.091-.016.098-.017.092-.014.097-.015.092-.013.102-.013.091-.012.105-.012.09-.01.105-.01c.093-.01.186-.018.28-.024l.106-.008.09-.005.11-.006.093-.004.1-.004.097-.002.099-.002.197-.002z'/%3E%3C/g%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1.2em;height:1.2em}.i-lobe-icons\:novita-color{background:url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='1em' height='1em' %3E%3Cpath clip-rule='evenodd' d='M9.167 4.17v5.665L0 19.003h9.167v-5.666l5.666 5.666H24L9.167 4.17z' fill='%2323D57C' fill-rule='evenodd'/%3E%3C/svg%3E") no-repeat;background-size:100% 100%;background-color:transparent;width:1.2em;height:1.2em}.i-lobe-icons\:ollama{--un-icon:url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='1em' height='1em' %3E%3Cg fill='currentColor' fill-rule='evenodd'%3E%3Cpath d='M7.905 1.09c.216.085.411.225.588.41.295.306.544.744.734 1.263.191.522.315 1.1.362 1.68a5.054 5.054 0 012.049-.636l.051-.004c.87-.07 1.73.087 2.48.474.101.053.2.11.297.17.05-.569.172-1.134.36-1.644.19-.52.439-.957.733-1.264a1.67 1.67 0 01.589-.41c.257-.1.53-.118.796-.042.401.114.745.368 1.016.737.248.337.434.769.561 1.287.23.934.27 2.163.115 3.645l.053.04.026.019c.757.576 1.284 1.397 1.563 2.35.435 1.487.216 3.155-.534 4.088l-.018.021.002.003c.417.762.67 1.567.724 2.4l.002.03c.064 1.065-.2 2.137-.814 3.19l-.007.01.01.024c.472 1.157.62 2.322.438 3.486l-.006.039a.651.651 0 01-.747.536.648.648 0 01-.54-.742c.167-1.033.01-2.069-.48-3.123a.643.643 0 01.04-.617l.004-.006c.604-.924.854-1.83.8-2.72-.046-.779-.325-1.544-.8-2.273a.644.644 0 01.18-.886l.009-.006c.243-.159.467-.565.58-1.12a4.229 4.229 0 00-.095-1.974c-.205-.7-.58-1.284-1.105-1.683-.595-.454-1.383-.673-2.38-.61a.653.653 0 01-.632-.371c-.314-.665-.772-1.141-1.343-1.436a3.288 3.288 0 00-1.772-.332c-1.245.099-2.343.801-2.67 1.686a.652.652 0 01-.61.425c-1.067.002-1.893.252-2.497.703-.522.39-.878.935-1.066 1.588a4.07 4.07 0 00-.068 1.886c.112.558.331 1.02.582 1.269l.008.007c.212.207.257.53.109.785-.36.622-.629 1.549-.673 2.44-.05 1.018.186 1.902.719 2.536l.016.019a.643.643 0 01.095.69c-.576 1.236-.753 2.252-.562 3.052a.652.652 0 01-1.269.298c-.243-1.018-.078-2.184.473-3.498l.014-.035-.008-.012a4.339 4.339 0 01-.598-1.309l-.005-.019a5.764 5.764 0 01-.177-1.785c.044-.91.278-1.842.622-2.59l.012-.026-.002-.002c-.293-.418-.51-.953-.63-1.545l-.005-.024a5.352 5.352 0 01.093-2.49c.262-.915.777-1.701 1.536-2.269.06-.045.123-.09.186-.132-.159-1.493-.119-2.73.112-3.67.127-.518.314-.95.562-1.287.27-.368.614-.622 1.015-.737.266-.076.54-.059.797.042zm4.116 9.09c.936 0 1.8.313 2.446.855.63.527 1.005 1.235 1.005 1.94 0 .888-.406 1.58-1.133 2.022-.62.375-1.451.557-2.403.557-1.009 0-1.871-.259-2.493-.734-.617-.47-.963-1.13-.963-1.845 0-.707.398-1.417 1.056-1.946.668-.537 1.55-.849 2.485-.849zm0 .896a3.07 3.07 0 00-1.916.65c-.461.37-.722.835-.722 1.25 0 .428.21.829.61 1.134.455.347 1.124.548 1.943.548.799 0 1.473-.147 1.932-.426.463-.28.7-.686.7-1.257 0-.423-.246-.89-.683-1.256-.484-.405-1.14-.643-1.864-.643zm.662 1.21l.004.004c.12.151.095.37-.056.49l-.292.23v.446a.375.375 0 01-.376.373.375.375 0 01-.376-.373v-.46l-.271-.218a.347.347 0 01-.052-.49.353.353 0 01.494-.051l.215.172.22-.174a.353.353 0 01.49.051zm-5.04-1.919c.478 0 .867.39.867.871a.87.87 0 01-.868.871.87.87 0 01-.867-.87.87.87 0 01.867-.872zm8.706 0c.48 0 .868.39.868.871a.87.87 0 01-.868.871.87.87 0 01-.867-.87.87.87 0 01.867-.872zM7.44 2.3l-.003.002a.659.659 0 00-.285.238l-.005.006c-.138.189-.258.467-.348.832-.17.692-.216 1.631-.124 2.782.43-.128.899-.208 1.404-.237l.01-.001.019-.034c.046-.082.095-.161.148-.239.123-.771.022-1.692-.253-2.444-.134-.364-.297-.65-.453-.813a.628.628 0 00-.107-.09L7.44 2.3zm9.174.04l-.002.001a.628.628 0 00-.107.09c-.156.163-.32.45-.453.814-.29.794-.387 1.776-.23 2.572l.058.097.008.014h.03a5.184 5.184 0 011.466.212c.086-1.124.038-2.043-.128-2.722-.09-.365-.21-.643-.349-.832l-.004-.006a.659.659 0 00-.285-.239h-.004z'/%3E%3C/g%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1.2em;height:1.2em}.i-lobe-icons\:openai{--un-icon:url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='1em' height='1em' %3E%3Cg fill='currentColor' fill-rule='evenodd'%3E%3Cpath d='M21.55 10.004a5.416 5.416 0 00-.478-4.501c-1.217-2.09-3.662-3.166-6.05-2.66A5.59 5.59 0 0010.831 1C8.39.995 6.224 2.546 5.473 4.838A5.553 5.553 0 001.76 7.496a5.487 5.487 0 00.691 6.5 5.416 5.416 0 00.477 4.502c1.217 2.09 3.662 3.165 6.05 2.66A5.586 5.586 0 0013.168 23c2.443.006 4.61-1.546 5.361-3.84a5.553 5.553 0 003.715-2.66 5.488 5.488 0 00-.693-6.497v.001zm-8.381 11.558a4.199 4.199 0 01-2.675-.954c.034-.018.093-.05.132-.074l4.44-2.53a.71.71 0 00.364-.623v-6.176l1.877 1.069c.02.01.033.029.036.05v5.115c-.003 2.274-1.87 4.118-4.174 4.123zM4.192 17.78a4.059 4.059 0 01-.498-2.763c.032.02.09.055.131.078l4.44 2.53c.225.13.504.13.73 0l5.42-3.088v2.138a.068.068 0 01-.027.057L9.9 19.288c-1.999 1.136-4.552.46-5.707-1.51h-.001zM3.023 8.216A4.15 4.15 0 015.198 6.41l-.002.151v5.06a.711.711 0 00.364.624l5.42 3.087-1.876 1.07a.067.067 0 01-.063.005l-4.489-2.559c-1.995-1.14-2.679-3.658-1.53-5.63h.001zm15.417 3.54l-5.42-3.088L14.896 7.6a.067.067 0 01.063-.006l4.489 2.557c1.998 1.14 2.683 3.662 1.529 5.633a4.163 4.163 0 01-2.174 1.807V12.38a.71.71 0 00-.363-.623zm1.867-2.773a6.04 6.04 0 00-.132-.078l-4.44-2.53a.731.731 0 00-.729 0l-5.42 3.088V7.325a.068.068 0 01.027-.057L14.1 4.713c2-1.137 4.555-.46 5.707 1.513.487.833.664 1.809.499 2.757h.001zm-11.741 3.81l-1.877-1.068a.065.065 0 01-.036-.051V6.559c.001-2.277 1.873-4.122 4.181-4.12.976 0 1.92.338 2.671.954-.034.018-.092.05-.131.073l-4.44 2.53a.71.71 0 00-.365.623l-.003 6.173v.002zm1.02-2.168L12 9.25l2.414 1.375v2.75L12 14.75l-2.415-1.375v-2.75z'/%3E%3C/g%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1.2em;height:1.2em}.i-lobe-icons\:openrouter{--un-icon:url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='1em' height='1em' %3E%3Cg fill='currentColor' fill-rule='evenodd'%3E%3Cpath d='M16.804 1.957l7.22 4.105v.087L16.73 10.21l.017-2.117-.821-.03c-1.059-.028-1.611.002-2.268.11-1.064.175-2.038.577-3.147 1.352L8.345 11.03c-.284.195-.495.336-.68.455l-.515.322-.397.234.385.23.53.338c.476.314 1.17.796 2.701 1.866 1.11.775 2.083 1.177 3.147 1.352l.3.045c.694.091 1.375.094 2.825.033l.022-2.159 7.22 4.105v.087L16.589 22l.014-1.862-.635.022c-1.386.042-2.137.002-3.138-.162-1.694-.28-3.26-.926-4.881-2.059l-2.158-1.5a21.997 21.997 0 00-.755-.498l-.467-.28a55.927 55.927 0 00-.76-.43C2.908 14.73.563 14.116 0 14.116V9.888l.14.004c.564-.007 2.91-.622 3.809-1.124l1.016-.58.438-.274c.428-.28 1.072-.726 2.686-1.853 1.621-1.133 3.186-1.78 4.881-2.059 1.152-.19 1.974-.213 3.814-.138l.02-1.907z'/%3E%3C/g%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1.2em;height:1.2em}.i-lobe-icons\:together-color{--un-icon:url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='1em' height='1em' %3E%3Cg fill='currentColor' fill-rule='evenodd'%3E%3Cg%3E%3Cpath d='M17.385 11.23a4.615 4.615 0 100-9.23 4.615 4.615 0 000 9.23zm0 10.77a4.615 4.615 0 100-9.23 4.615 4.615 0 000 9.23zm-10.77 0a4.615 4.615 0 100-9.23 4.615 4.615 0 000 9.23z' opacity='.2'/%3E%3Ccircle cx='6.615' cy='6.615' fill='%230F6FFF' r='4.615'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1.2em;height:1.2em}.i-lobe-icons\:vllm-color{background:url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='1em' height='1em' %3E%3Cpath d='M0 4.973h9.324V23L0 4.973z' fill='%23FDB515'/%3E%3Cpath d='M13.986 4.351L22.378 0l-6.216 23H9.324l4.662-18.649z' fill='%2330A2FF'/%3E%3C/svg%3E") no-repeat;background-size:100% 100%;background-color:transparent;width:1.2em;height:1.2em}.i-lobe-icons\:xai{--un-icon:url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='1em' height='1em' %3E%3Cg fill='currentColor' fill-rule='evenodd'%3E%3Cpath d='M6.469 8.776L16.512 23h-4.464L2.005 8.776H6.47zm-.004 7.9l2.233 3.164L6.467 23H2l4.465-6.324zM22 2.582V23h-3.659V7.764L22 2.582zM22 1l-9.952 14.095-2.233-3.163L17.533 1H22z'/%3E%3C/g%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1.2em;height:1.2em}.i-lucide\:blocks,[i-lucide\:blocks=""]{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'%3E%3Crect width='7' height='7' x='14' y='3' rx='1'/%3E%3Cpath d='M10 21V8a1 1 0 0 0-1-1H4a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-5a1 1 0 0 0-1-1H3'/%3E%3C/g%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1.2em;height:1.2em}.i-lucide\:book{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1.2em;height:1.2em}.i-lucide\:book-copy{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'%3E%3Cpath d='M2 16V4a2 2 0 0 1 2-2h11'/%3E%3Cpath d='M22 18H11a2 2 0 1 0 0 4h10.5a.5.5 0 0 0 .5-.5v-15a.5.5 0 0 0-.5-.5H11a2 2 0 0 0-2 2v12m-4-6H4a2 2 0 1 0 0 4h1'/%3E%3C/g%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1.2em;height:1.2em}.i-lucide\:brain,[i-lucide\:brain=""]{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'%3E%3Cpath d='M12 5a3 3 0 1 0-5.997.125a4 4 0 0 0-2.526 5.77a4 4 0 0 0 .556 6.588A4 4 0 1 0 12 18Z'/%3E%3Cpath d='M12 5a3 3 0 1 1 5.997.125a4 4 0 0 1 2.526 5.77a4 4 0 0 1-.556 6.588A4 4 0 1 1 12 18Z'/%3E%3Cpath d='M15 13a4.5 4.5 0 0 1-3-4a4.5 4.5 0 0 1-3 4m8.599-6.5a3 3 0 0 0 .399-1.375m-11.995 0A3 3 0 0 0 6.401 6.5m-2.924 4.396a4 4 0 0 1 .585-.396m15.876 0a4 4 0 0 1 .585.396M6 18a4 4 0 0 1-1.967-.516m15.934 0A4 4 0 0 1 18 18'/%3E%3C/g%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1.2em;height:1.2em}.i-lucide\:check,[i-lucide\:check=""]{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1.2em;height:1.2em}.i-lucide\:cog,[i-lucide\:cog=""]{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'%3E%3Cpath d='M12 20a8 8 0 1 0 0-16a8 8 0 0 0 0 16'/%3E%3Cpath d='M12 14a2 2 0 1 0 0-4a2 2 0 0 0 0 4m0-12v2m0 18v-2m5 .66l-1-1.73m-5-8.66L7 3.34M20.66 17l-1.73-1M3.34 7l1.73 1M14 12h8M2 12h2m16.66-5l-1.73 1M3.34 17l1.73-1M17 3.34l-1 1.73m-5 8.66l-4 6.93'/%3E%3C/g%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1.2em;height:1.2em}.i-lucide\:ear{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'%3E%3Cpath d='M6 8.5a6.5 6.5 0 1 1 13 0c0 6-6 6-6 10a3.5 3.5 0 1 1-7 0'/%3E%3Cpath d='M15 8.5a2.5 2.5 0 0 0-5 0v1a2 2 0 1 1 0 4'/%3E%3C/g%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1.2em;height:1.2em}.i-lucide\:eye{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'%3E%3Cpath d='M2.062 12.348a1 1 0 0 1 0-.696a10.75 10.75 0 0 1 19.876 0a1 1 0 0 1 0 .696a10.75 10.75 0 0 1-19.876 0'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/g%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1.2em;height:1.2em}.i-lucide\:ghost,[i-lucide\:ghost=""]{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M9 10h.01M15 10h.01M12 2a8 8 0 0 0-8 8v12l3-3l2.5 2.5L12 19l2.5 2.5L17 19l3 3V10a8 8 0 0 0-8-8'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1.2em;height:1.2em}.i-lucide\:mic{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'%3E%3Cpath d='M12 2a3 3 0 0 0-3 3v7a3 3 0 0 0 6 0V5a3 3 0 0 0-3-3'/%3E%3Cpath d='M19 10v2a7 7 0 0 1-14 0v-2m7 9v3'/%3E%3C/g%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1.2em;height:1.2em}.i-lucide\:paintbrush,[i-lucide\:paintbrush=""]{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m14.622 17.897l-10.68-2.913M18.376 2.622a1 1 0 1 1 3.002 3.002L17.36 9.643a.5.5 0 0 0 0 .707l.944.944a2.41 2.41 0 0 1 0 3.408l-.944.944a.5.5 0 0 1-.707 0L8.354 7.348a.5.5 0 0 1 0-.707l.944-.944a2.41 2.41 0 0 1 3.408 0l.944.944a.5.5 0 0 0 .707 0zM9 8c-1.804 2.71-3.97 3.46-6.583 3.948a.507.507 0 0 0-.302.819l7.32 8.883a1 1 0 0 0 1.185.204C12.735 20.405 16 16.792 16 15'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1.2em;height:1.2em}.i-lucide\:person-standing,[i-lucide\:person-standing=""]{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'%3E%3Ccircle cx='12' cy='5' r='1'/%3E%3Cpath d='m9 20l3-6l3 6M6 8l6 2l6-2m-6 2v4'/%3E%3C/g%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1.2em;height:1.2em}.i-lucide\:volume-2,[i-lucide\:volume-2=""]{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M11 4.702a.705.705 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298zM16 9a5 5 0 0 1 0 6m3.364 3.364a9 9 0 0 0 0-12.728'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1.2em;height:1.2em}.i-simple-icons\:discord{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M20.317 4.37a19.8 19.8 0 0 0-4.885-1.515a.074.074 0 0 0-.079.037c-.21.375-.444.864-.608 1.25a18.3 18.3 0 0 0-5.487 0a13 13 0 0 0-.617-1.25a.08.08 0 0 0-.079-.037A19.7 19.7 0 0 0 3.677 4.37a.1.1 0 0 0-.032.027C.533 9.046-.32 13.58.099 18.057a.08.08 0 0 0 .031.057a19.9 19.9 0 0 0 5.993 3.03a.08.08 0 0 0 .084-.028a14 14 0 0 0 1.226-1.994a.076.076 0 0 0-.041-.106a13 13 0 0 1-1.872-.892a.077.077 0 0 1-.008-.128a10 10 0 0 0 .372-.292a.07.07 0 0 1 .077-.01c3.928 1.793 8.18 1.793 12.062 0a.07.07 0 0 1 .078.01q.181.149.373.292a.077.077 0 0 1-.006.127a12.3 12.3 0 0 1-1.873.892a.077.077 0 0 0-.041.107c.36.698.772 1.362 1.225 1.993a.08.08 0 0 0 .084.028a19.8 19.8 0 0 0 6.002-3.03a.08.08 0 0 0 .032-.054c.5-5.177-.838-9.674-3.549-13.66a.06.06 0 0 0-.031-.03M8.02 15.33c-1.182 0-2.157-1.085-2.157-2.419c0-1.333.956-2.419 2.157-2.419c1.21 0 2.176 1.096 2.157 2.42c0 1.333-.956 2.418-2.157 2.418m7.975 0c-1.183 0-2.157-1.085-2.157-2.419c0-1.333.955-2.419 2.157-2.419c1.21 0 2.176 1.096 2.157 2.42c0 1.333-.946 2.418-2.157 2.418'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1.2em;height:1.2em}.i-simple-icons\:elevenlabs{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M4.604 0v24h4.931V0zm9.86 0v24h4.933V0z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1.2em;height:1.2em}.i-solar\:add-circle-line-duotone,[i-solar\:add-circle-line-duotone=""]{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='none' stroke='currentColor' stroke-width='1.5'%3E%3Ccircle cx='12' cy='12' r='10' opacity='.5'/%3E%3Cpath stroke-linecap='round' d='M15 12h-3m0 0H9m3 0V9m0 3v3'/%3E%3C/g%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1.2em;height:1.2em}.i-solar\:alt-arrow-down-bold-duotone,[i-solar\:alt-arrow-down-bold-duotone=""]{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='m8.303 12.404l3.327 3.431c.213.22.527.22.74 0l6.43-6.63C19.201 8.79 18.958 8 18.43 8h-5.723z'/%3E%3Cpath fill='currentColor' d='M11.293 8H5.57c-.528 0-.771.79-.37 1.205l2.406 2.481z' opacity='.5'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1.2em;height:1.2em}.i-solar\:alt-arrow-left-bold-duotone,[i-solar\:alt-arrow-left-bold-duotone=""]{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M11.596 8.303L8.165 11.63a.5.5 0 0 0 0 .74l6.63 6.43c.414.401 1.205.158 1.205-.37v-5.723z'/%3E%3Cpath fill='currentColor' d='M16 11.293V5.57c0-.528-.791-.771-1.205-.37l-2.482 2.406z' opacity='.5'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1.2em;height:1.2em}.i-solar\:alt-arrow-left-line-duotone,[i-solar\:alt-arrow-left-line-duotone=""]{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m15 5l-6 7l6 7'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1.2em;height:1.2em}.i-solar\:alt-arrow-right-bold-duotone,[i-solar\:alt-arrow-right-bold-duotone=""]{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='m12.404 8.303l3.431 3.327c.22.213.22.527 0 .74l-6.63 6.43C8.79 19.201 8 18.958 8 18.43v-5.723z'/%3E%3Cpath fill='currentColor' d='M8 11.293V5.57c0-.528.79-.771 1.205-.37l2.481 2.406z' opacity='.5'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1.2em;height:1.2em}.i-solar\:arrow-right-line-duotone,[i-solar\:arrow-right-line-duotone=""]{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='none'%3E%3Cpath fill='currentColor' d='M4 11.25a.75.75 0 0 0 0 1.5zm0 1.5h16v-1.5H4z' opacity='.5'/%3E%3Cpath stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m14 6l6 6l-6 6'/%3E%3C/g%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1.2em;height:1.2em}.i-solar\:bug-bold-duotone,[i-solar\:bug-bold-duotone=""]{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' fill-rule='evenodd' d='M19 11.938V15a7 7 0 0 1-6.25 6.96V15a.75.75 0 0 0-1.5 0v6.96A7 7 0 0 1 5 15v-3.062A3.94 3.94 0 0 1 8.938 8h6.124A3.94 3.94 0 0 1 19 11.938' clip-rule='evenodd' opacity='.5'/%3E%3Cpath fill='currentColor' d='M19 14.75v-1.5h3a.75.75 0 0 1 0 1.5zm-1.504 4.586c.31-.393.58-.82.801-1.276l2.538 1.27a.75.75 0 1 1-.67 1.34zM5.703 18.06q.333.684.801 1.276l-2.669 1.335a.75.75 0 0 1-.67-1.342zM5 13.25H2a.75.75 0 0 0 0 1.5h3zm12.354-4.515l2.81-1.406a.75.75 0 1 1 .671 1.341L18.42 9.88a4 4 0 0 0-1.065-1.144M6.647 8.735c-.427.306-.79.695-1.067 1.144L3.165 8.67a.75.75 0 0 1 .67-1.341zM16.5 8.27V7.5a4.5 4.5 0 1 0-9 0v.77A3.9 3.9 0 0 1 8.938 8h6.124c.508 0 .993.096 1.438.27'/%3E%3Cpath fill='currentColor' d='M6.376 1.584a.75.75 0 0 0 .208 1.04l2.36 1.573a4.5 4.5 0 0 1 1.387-.877L7.416 1.376a.75.75 0 0 0-1.04.208m8.68 2.613a4.5 4.5 0 0 0-1.387-.877l2.915-1.944a.75.75 0 1 1 .832 1.248z' opacity='.5'/%3E%3Cpath fill='currentColor' fill-rule='evenodd' d='M12 14.25a.75.75 0 0 1 .75.75v7h-1.5v-7a.75.75 0 0 1 .75-.75' clip-rule='evenodd'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1.2em;height:1.2em}.i-solar\:check-circle-line-duotone,[i-solar\:check-circle-line-duotone=""]{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='none' stroke='currentColor' stroke-width='1.5'%3E%3Ccircle cx='12' cy='12' r='10' opacity='.5'/%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='m8.5 12.5l2 2l5-5'/%3E%3C/g%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1.2em;height:1.2em}.i-solar\:close-circle-line-duotone,[i-solar\:close-circle-line-duotone=""]{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='none' stroke='currentColor' stroke-width='1.5'%3E%3Ccircle cx='12' cy='12' r='10' opacity='.5'/%3E%3Cpath stroke-linecap='round' d='m14.5 9.5l-5 5m0-5l5 5'/%3E%3C/g%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1.2em;height:1.2em}.i-solar\:danger-triangle-bold-duotone,[i-solar\:danger-triangle-bold-duotone=""]{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M12 3c-2.31 0-3.77 2.587-6.688 7.762l-.364.644c-2.425 4.3-3.638 6.45-2.542 8.022S6.214 21 11.636 21h.728c5.422 0 8.134 0 9.23-1.572s-.117-3.722-2.542-8.022l-.364-.645C15.77 5.587 14.311 3 12 3' opacity='.5'/%3E%3Cpath fill='currentColor' d='M12 7.25a.75.75 0 0 1 .75.75v5a.75.75 0 0 1-1.5 0V8a.75.75 0 0 1 .75-.75M12 17a1 1 0 1 0 0-2a1 1 0 0 0 0 2'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1.2em;height:1.2em}.i-solar\:dialog-2-bold-duotone,[i-solar\:dialog-2-bold-duotone=""]{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' fill-rule='evenodd' d='m10.404 22.48l.275-.465c.44-.745.66-1.117 1.012-1.325c.351-.207.81-.222 1.725-.252c.859-.027 1.436-.102 1.93-.306a4.24 4.24 0 0 0 2.295-2.296c.323-.779.323-1.767.323-3.743v-.848c0-2.777 0-4.165-.625-5.185c-.35-.57-.83-1.05-1.4-1.4c-1.02-.625-2.408-.625-5.185-.625H8.21c-2.777 0-4.165 0-5.185.625c-.57.35-1.05.83-1.4 1.4C1 9.08 1 10.468 1 13.245v.848c0 1.976 0 2.964.323 3.744a4.24 4.24 0 0 0 2.295 2.295c.494.204 1.07.28 1.93.306c.916.03 1.374.045 1.725.252c.35.208.571.58 1.012 1.325l.275.465c.41.692 1.434.692 1.844 0m2.789-7.963a1.06 1.06 0 1 0 0-2.12a1.06 1.06 0 0 0 0 2.12m-2.65-1.06a1.06 1.06 0 1 1-2.121 0a1.06 1.06 0 0 1 2.12 0m-4.772 1.06a1.06 1.06 0 1 0 0-2.12a1.06 1.06 0 0 0 0 2.12' clip-rule='evenodd'/%3E%3Cpath fill='currentColor' d='M15.486 1c1.267 0 2.274 0 3.082.077c.829.079 1.53.244 2.153.626a4.8 4.8 0 0 1 1.575 1.575c.383.624.548 1.325.627 2.153c.076.808.076 1.816.076 3.082v.866c0 .901 0 1.619-.04 2.2c-.04.595-.125 1.106-.323 1.584a4.77 4.77 0 0 1-2.67 2.617q-.21.082-.368.135h-1.65c.016-.499.016-1.093.016-1.822v-.848c0-2.777 0-4.165-.625-5.185c-.35-.57-.83-1.05-1.4-1.4c-1.02-.625-2.408-.625-5.185-.625H8.21c-.986 0-1.796 0-2.478.028v-1.65q.05-.17.13-.396q.133-.389.346-.739a4.8 4.8 0 0 1 1.576-1.575c.624-.382 1.324-.547 2.153-.626C10.745 1 11.752 1 13.019 1z' opacity='.5'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1.2em;height:1.2em}.i-solar\:face-scan-circle-bold-duotone,[i-solar\:face-scan-circle-bold-duotone=""]{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' fill-rule='evenodd' d='M10.801 2.57a.71.71 0 0 1-.555.838a8.78 8.78 0 0 0-6.838 6.838a.71.71 0 1 1-1.394-.283a10.2 10.2 0 0 1 7.949-7.949a.71.71 0 0 1 .838.556M2.57 13.199a.71.71 0 0 1 .838.555a8.78 8.78 0 0 0 6.838 6.838a.71.71 0 1 1-.283 1.394a10.2 10.2 0 0 1-7.948-7.949a.71.71 0 0 1 .555-.838M13.199 2.57a.71.71 0 0 1 .838-.556a10.2 10.2 0 0 1 7.949 7.949a.711.711 0 0 1-1.394.283a8.78 8.78 0 0 0-6.838-6.838a.71.71 0 0 1-.555-.838m8.231 10.629a.71.71 0 0 1 .556.838a10.2 10.2 0 0 1-7.949 7.949a.711.711 0 0 1-.283-1.394a8.78 8.78 0 0 0 6.838-6.838a.71.71 0 0 1 .838-.555' clip-rule='evenodd'/%3E%3Cpath fill='currentColor' d='M12 19.583a7.583 7.583 0 1 0 0-15.166a7.583 7.583 0 0 0 0 15.166' opacity='.5'/%3E%3Cpath fill='currentColor' d='M8.94 14.539a.71.71 0 0 1 .995-.148c.59.437 1.3.69 2.065.69a3.45 3.45 0 0 0 2.065-.69a.71.71 0 1 1 .847 1.142a4.87 4.87 0 0 1-2.912.97a4.87 4.87 0 0 1-2.911-.97a.71.71 0 0 1-.148-.994m5.547-2.895c.458 0 .83-.557.83-1.244s-.372-1.244-.83-1.244s-.83.557-.83 1.244s.372 1.244.83 1.244m-4.976 0c.458 0 .83-.557.83-1.244s-.372-1.244-.83-1.244s-.83.557-.83 1.244s.372 1.244.83 1.244'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1.2em;height:1.2em}.i-solar\:info-circle-line-duotone,[i-solar\:info-circle-line-duotone=""]{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='none'%3E%3Ccircle cx='12' cy='12' r='10' stroke='currentColor' stroke-width='1.5' opacity='.5'/%3E%3Cpath stroke='currentColor' stroke-linecap='round' stroke-width='1.5' d='M12 17v-6'/%3E%3Ccircle cx='1' cy='1' r='1' fill='currentColor' transform='matrix(1 0 0 -1 11 9)'/%3E%3C/g%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1.2em;height:1.2em}.i-solar\:magic-stick-2-bold-duotone,[i-solar\:magic-stick-2-bold-duotone=""]{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M16.714 2.127c-.836-.43-1.922.263-4.095 1.65l-.562.36c-.618.394-.927.591-1.273.648c-.347.056-.692-.034-1.382-.215l-.628-.164C6.345 3.769 5.13 3.45 4.436 4.13s-.412 1.908.157 4.363l.147.635c.161.697.242 1.046.177 1.393c-.066.346-.27.65-.68 1.26l-.372.555c-1.439 2.145-2.158 3.217-1.753 4.067c.406.85 1.668.915 4.192 1.045l.654.033c.717.037 1.076.056 1.382.213c.306.158.524.436.962.994l.398.507c1.539 1.962 2.309 2.943 3.255 2.788c.945-.154 1.441-1.342 2.433-3.717l.257-.614c.282-.675.422-1.012.677-1.261c.255-.25.595-.382 1.274-.647l.618-.24c2.39-.933 3.586-1.4 3.765-2.345s-.777-1.744-2.688-3.342l-.495-.413c-.543-.454-.815-.68-.963-.992s-.158-.672-.175-1.393l-.016-.657c-.062-2.538-.093-3.806-.928-4.236'/%3E%3Cpath fill='currentColor' d='M15.93 16.991c.127-.268.239-.45.392-.6c.172-.167.382-.282.71-.42l4.498 4.499a.75.75 0 0 1-1.06 1.06z' opacity='.5'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1.2em;height:1.2em}.i-solar\:magic-stick-3-bold-duotone,[i-solar\:magic-stick-3-bold-duotone=""]{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M3.845 3.845a2.883 2.883 0 0 0 0 4.077L5.432 9.51c.012-.014.555.503.568.49l4-4c.013-.013-.504-.556-.49-.568L7.922 3.845a2.883 2.883 0 0 0-4.077 0m1.288 11.462a.483.483 0 0 1 .9 0l.157.4a.48.48 0 0 0 .272.273l.398.157a.486.486 0 0 1 0 .903l-.398.158a.48.48 0 0 0-.272.273l-.157.4a.483.483 0 0 1-.9 0l-.157-.4a.48.48 0 0 0-.272-.273l-.398-.158a.486.486 0 0 1 0-.903l.398-.157a.48.48 0 0 0 .272-.274z' opacity='.5'/%3E%3Cpath fill='currentColor' d='M19.967 9.13a.483.483 0 0 1 .9 0l.156.399c.05.125.148.224.273.273l.398.158a.486.486 0 0 1 0 .902l-.398.158a.5.5 0 0 0-.273.273l-.156.4a.483.483 0 0 1-.9 0l-.157-.4a.5.5 0 0 0-.272-.273l-.398-.158a.486.486 0 0 1 0-.902l.398-.158a.5.5 0 0 0 .272-.273z' opacity='.2'/%3E%3Cpath fill='currentColor' d='M16.1 2.307a.483.483 0 0 1 .9 0l.43 1.095a.48.48 0 0 0 .272.274l1.091.432a.486.486 0 0 1 0 .903l-1.09.432a.5.5 0 0 0-.273.273L17 6.81a.483.483 0 0 1-.9 0l-.43-1.095a.5.5 0 0 0-.273-.273l-1.09-.432a.486.486 0 0 1 0-.903l1.09-.432a.5.5 0 0 0 .273-.274z' opacity='.7'/%3E%3Cpath fill='currentColor' d='M10.568 6.49c-.012.014-.555-.503-.568-.49l-4 4c-.013.013.504.556.49.568l9.588 9.587a2.883 2.883 0 1 0 4.078-4.077z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1.2em;height:1.2em}.i-solar\:magnifer-line-duotone,[i-solar\:magnifer-line-duotone=""]{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cdefs%3E%3Cmask id='solarMagniferLineDuotone0'%3E%3Cg fill='none' stroke-width='1.5'%3E%3Ccircle cx='11.5' cy='11.5' r='9.5' stroke='gray'/%3E%3Cpath stroke='%23fff' stroke-linecap='round' d='M18.5 18.5L22 22'/%3E%3C/g%3E%3C/mask%3E%3C/defs%3E%3Cpath fill='currentColor' d='M0 0h24v24H0z' mask='url(%23solarMagniferLineDuotone0)'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1.2em;height:1.2em}.i-solar\:microphone-2-bold-duotone,[i-solar\:microphone-2-bold-duotone=""]{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' fill-rule='evenodd' d='M4 9a.75.75 0 0 1 .75.75v1a7.25 7.25 0 1 0 14.5 0v-1a.75.75 0 0 1 1.5 0v1a8.75 8.75 0 0 1-8 8.718v2.282a.75.75 0 0 1-1.5 0v-2.282a8.75 8.75 0 0 1-8-8.718v-1A.75.75 0 0 1 4 9' clip-rule='evenodd'/%3E%3Cpath fill='currentColor' d='M9.75 7.75A.75.75 0 0 0 9 7H6.298a5.751 5.751 0 0 1 11.404 0H13.5a.75.75 0 0 0 0 1.5h4.25V10H13.5a.75.75 0 0 0 0 1.5h4.201a5.751 5.751 0 0 1-11.403 0H9A.75.75 0 0 0 9 10H6.25V8.5H9a.75.75 0 0 0 .75-.75' opacity='.5'/%3E%3Cpath fill='currentColor' d='M12.75 10.75c0 .414.336.75.75.75h4.201l.049-1.5H13.5a.75.75 0 0 0-.75.75m0-3c0 .414.336.75.75.75h4.25L17.701 7H13.5a.75.75 0 0 0-.75.75m-3 0A.75.75 0 0 0 9 7H6.298L6.25 8.5H9a.75.75 0 0 0 .75-.75m0 3A.75.75 0 0 0 9 10H6.25l.048 1.5H9a.75.75 0 0 0 .75-.75'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1.2em;height:1.2em}.i-solar\:moon-stars-bold-duotone,[i-solar\:moon-stars-bold-duotone=""]{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M19.9 2.307a.483.483 0 0 0-.9 0l-.43 1.095a.48.48 0 0 1-.272.274l-1.091.432a.486.486 0 0 0 0 .903l1.091.432a.48.48 0 0 1 .272.273L19 6.81c.162.41.74.41.9 0l.43-1.095a.48.48 0 0 1 .273-.273l1.091-.432a.486.486 0 0 0 0-.903l-1.091-.432a.48.48 0 0 1-.273-.274zM16.033 8.13a.483.483 0 0 0-.9 0l-.157.399a.48.48 0 0 1-.272.273l-.398.158a.486.486 0 0 0 0 .903l.398.157c.125.05.223.148.272.274l.157.399c.161.41.739.41.9 0l.157-.4a.48.48 0 0 1 .272-.273l.398-.157a.486.486 0 0 0 0-.903l-.398-.158a.48.48 0 0 1-.272-.273z'/%3E%3Cpath fill='currentColor' d='M12 22c5.523 0 10-4.477 10-10c0-.463-.694-.54-.933-.143a6.5 6.5 0 1 1-8.924-8.924C12.54 2.693 12.463 2 12 2C6.477 2 2 6.477 2 12s4.477 10 10 10' opacity='.5'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1.2em;height:1.2em}.i-solar\:pallete-2-bold-duotone,[i-solar\:pallete-2-bold-duotone=""]{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M10.847 21.934C5.867 21.362 2 17.133 2 12C2 6.477 6.477 2 12 2s10 4.477 10 10c0 5.157-3.283 4.733-6.086 4.37c-1.618-.209-3.075-.397-3.652.518c-.395.626.032 1.406.555 1.929a1.673 1.673 0 0 1 0 2.366c-.523.523-1.235.836-1.97.751' opacity='.5'/%3E%3Cpath fill='currentColor' d='M11.085 7a1.5 1.5 0 1 1-3 0a1.5 1.5 0 0 1 3 0M6.5 13a1.5 1.5 0 1 0 0-3a1.5 1.5 0 0 0 0 3m11 0a1.5 1.5 0 1 0 0-3a1.5 1.5 0 0 0 0 3m-3-4.5a1.5 1.5 0 1 0 0-3a1.5 1.5 0 0 0 0 3'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1.2em;height:1.2em}.i-solar\:people-nearby-bold-duotone,[i-solar\:people-nearby-bold-duotone=""]{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M19.717 20.362C21.143 19.585 22 18.587 22 17.5c0-1.152-.963-2.204-2.546-3C17.623 13.58 14.962 13 12 13s-5.623.58-7.454 1.5C2.963 15.296 2 16.348 2 17.5s.963 2.204 2.546 3C6.377 21.42 9.038 22 12 22c3.107 0 5.882-.637 7.717-1.638' opacity='.6'/%3E%3Cpath fill='currentColor' fill-rule='evenodd' d='M9.25 4a2.75 2.75 0 1 1 5.5 0a2.75 2.75 0 0 1-5.5 0' clip-rule='evenodd'/%3E%3Cpath fill='currentColor' d='m8.223 11.574l-2.175-.725a1.532 1.532 0 0 1 .805-2.952l1.898.407l.21.044a15 15 0 0 0 6.288-.044l1.897-.407a1.532 1.532 0 0 1 .806 2.952l-2.175.725c-.263.088-.394.132-.493.193a1 1 0 0 0-.466.986c.016.115.066.244.165.503l1.247 3.242a1.473 1.473 0 0 1-2.654 1.26L12 15l-1.576 2.757a1.473 1.473 0 0 1-2.654-1.26l1.247-3.241c.1-.259.149-.388.165-.503a1 1 0 0 0-.466-.986c-.099-.061-.23-.105-.493-.193'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1.2em;height:1.2em}.i-solar\:play-circle-bold-duotone,[i-solar\:play-circle-bold-duotone=""]{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' fill-rule='evenodd' d='M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2S2 6.477 2 12s4.477 10 10 10' clip-rule='evenodd' opacity='.5'/%3E%3Cpath fill='currentColor' d='m15.414 13.059l-4.72 2.787C9.934 16.294 9 15.71 9 14.786V9.214c0-.924.934-1.507 1.694-1.059l4.72 2.787c.781.462.781 1.656 0 2.118'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1.2em;height:1.2em}.i-solar\:refresh-bold-duotone,[i-solar\:refresh-bold-duotone=""]{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M12.079 2.25c-4.794 0-8.734 3.663-9.118 8.333H2a.75.75 0 0 0-.528 1.283l1.68 1.666a.75.75 0 0 0 1.056 0l1.68-1.666a.75.75 0 0 0-.528-1.283h-.893c.38-3.831 3.638-6.833 7.612-6.833a7.66 7.66 0 0 1 6.537 3.643a.75.75 0 1 0 1.277-.786A9.16 9.16 0 0 0 12.08 2.25'/%3E%3Cpath fill='currentColor' d='M20.841 10.467a.75.75 0 0 0-1.054 0L18.1 12.133a.75.75 0 0 0 .527 1.284h.899c-.381 3.83-3.651 6.833-7.644 6.833a7.7 7.7 0 0 1-6.565-3.644a.75.75 0 1 0-1.276.788a9.2 9.2 0 0 0 7.84 4.356c4.809 0 8.766-3.66 9.151-8.333H22a.75.75 0 0 0 .527-1.284z' opacity='.5'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1.2em;height:1.2em}.i-solar\:running-2-line-duotone,[i-solar\:running-2-line-duotone=""]{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='none'%3E%3Ccircle cx='18.5' cy='4.5' r='2.5' stroke='currentColor' stroke-width='1.5' opacity='.5'/%3E%3Cpath stroke='currentColor' stroke-linecap='round' stroke-width='1.5' d='m9 17l-1 1.2c-.738.886-1.107 1.328-1.61 1.564S5.31 20 4.157 20H3'/%3E%3Cpath fill='currentColor' d='M13.65 22a.75.75 0 0 0 1.5 0zm-1.085-5.754l.453-.598zm1.184 1.015l.587-.466zm.557 1.12l.727-.186zm-.802-6.826a.75.75 0 0 0-1.009-1.11zm-2.652 1.61l.703.26zm.07 1.555l-.677.323zm2.728 5.219v2.06h1.5v-2.06zm-1.538-3.095c.663.502.887.679 1.05.884l1.174-.934c-.308-.387-.717-.69-1.319-1.146zm3.038 3.095c0-.755.006-1.264-.117-1.744l-1.453.373c.065.254.07.538.07 1.37zm-1.988-2.211c.197.247.339.534.417.84l1.454-.373a3.75 3.75 0 0 0-.697-1.4zm-.667-7.283c-.42.381-.945.836-1.354 1.224c-.21.198-.41.398-.573.586c-.149.172-.327.4-.42.649l1.407.521c-.007.021.014-.035.146-.187c.116-.134.276-.295.471-.48c.4-.38.865-.778 1.332-1.203zm.523 5.203c-.488-.37-.818-.62-1.056-.832c-.233-.208-.32-.33-.363-.418l-1.354.645c.167.35.423.63.72.894c.292.26.679.552 1.147.907zm-2.87-2.744a2.75 2.75 0 0 0 .097 2.139l1.354-.645a1.25 1.25 0 0 1-.044-.973z' opacity='.5'/%3E%3Cpath fill='currentColor' d='m5.436 8.82l-.37-.652zm-1.807.164a.75.75 0 1 0 .742 1.304zm9.778-1.627l-.286.693zm-2.96-.715l-.055-.748zM21 12.75a.75.75 0 1 0 0-1.5zm-5.232-3.213l-.67.335zM5.065 8.168l-1.436.816l.742 1.304l1.435-.816zm8.627-1.505c-1.344-.553-2.08-.857-3.3-.769l.11 1.496c.823-.06 1.255.099 2.62.66zm-7.886 2.81c2.502-1.422 3.552-2 4.695-2.083l-.109-1.496c-1.56.114-2.949.923-5.327 2.274zm13.949 3.276H21v-1.5h-1.245zm-4.658-2.878a5.21 5.21 0 0 0 4.658 2.878v-1.5A3.71 3.71 0 0 1 16.439 9.2zm1.342-.67a5.33 5.33 0 0 0-2.747-2.538l-.57 1.387c.86.354 1.564 1 1.975 1.821z'/%3E%3C/g%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1.2em;height:1.2em}.i-solar\:settings-bold-duotone,[i-solar\:settings-bold-duotone=""]{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' fill-rule='evenodd' d='M14.279 2.152C13.909 2 13.439 2 12.5 2s-1.408 0-1.779.152a2 2 0 0 0-1.09 1.083c-.094.223-.13.484-.145.863a1.62 1.62 0 0 1-.796 1.353a1.64 1.64 0 0 1-1.579.008c-.338-.178-.583-.276-.825-.308a2.03 2.03 0 0 0-1.49.396c-.318.242-.553.646-1.022 1.453c-.47.807-.704 1.21-.757 1.605c-.07.526.074 1.058.4 1.479c.148.192.357.353.68.555c.477.297.783.803.783 1.361s-.306 1.064-.782 1.36c-.324.203-.533.364-.682.556a2 2 0 0 0-.399 1.479c.053.394.287.798.757 1.605s.704 1.21 1.022 1.453c.424.323.96.465 1.49.396c.242-.032.487-.13.825-.308a1.64 1.64 0 0 1 1.58.008c.486.28.774.795.795 1.353c.015.38.051.64.145.863c.204.49.596.88 1.09 1.083c.37.152.84.152 1.779.152s1.409 0 1.779-.152a2 2 0 0 0 1.09-1.083c.094-.223.13-.483.145-.863c.02-.558.309-1.074.796-1.353a1.64 1.64 0 0 1 1.579-.008c.338.178.583.276.825.308c.53.07 1.066-.073 1.49-.396c.318-.242.553-.646 1.022-1.453c.47-.807.704-1.21.757-1.605a2 2 0 0 0-.4-1.479c-.148-.192-.357-.353-.68-.555c-.477-.297-.783-.803-.783-1.361s.306-1.064.782-1.36c.324-.203.533-.364.682-.556a2 2 0 0 0 .399-1.479c-.053-.394-.287-.798-.757-1.605s-.704-1.21-1.022-1.453a2.03 2.03 0 0 0-1.49-.396c-.242.032-.487.13-.825.308a1.64 1.64 0 0 1-1.58-.008a1.62 1.62 0 0 1-.795-1.353c-.015-.38-.051-.64-.145-.863a2 2 0 0 0-1.09-1.083' clip-rule='evenodd' opacity='.5'/%3E%3Cpath fill='currentColor' d='M15.523 12c0 1.657-1.354 3-3.023 3s-3.023-1.343-3.023-3S10.83 9 12.5 9s3.023 1.343 3.023 3'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1.2em;height:1.2em}.i-solar\:settings-minimalistic-bold-duotone,[i-solar\:settings-minimalistic-bold-duotone=""]{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' fill-rule='evenodd' d='M12.428 2c-1.114 0-2.129.6-4.157 1.802l-.686.406C5.555 5.41 4.542 6.011 3.985 7c-.557.99-.557 2.19-.557 4.594v.812c0 2.403 0 3.605.557 4.594s1.57 1.59 3.6 2.791l.686.407C10.299 21.399 11.314 22 12.428 22s2.128-.6 4.157-1.802l.686-.407c2.028-1.2 3.043-1.802 3.6-2.791c.557-.99.557-2.19.557-4.594v-.812c0-2.403 0-3.605-.557-4.594s-1.572-1.59-3.6-2.792l-.686-.406C14.555 2.601 13.542 2 12.428 2' clip-rule='evenodd' opacity='.5'/%3E%3Cpath fill='currentColor' d='M12.428 8.25a3.75 3.75 0 1 0 0 7.5a3.75 3.75 0 0 0 0-7.5'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1.2em;height:1.2em}.i-solar\:star-fall-2-bold-duotone,[i-solar\:star-fall-2-bold-duotone=""]{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M11.58 4.776c.695-1.77 1.043-2.656 1.769-2.765c.726-.11 1.35.63 2.6 2.109l.323.382c.355.42.532.63.774.75c.24.12.518.137 1.074.17l.506.029c1.955.114 2.932.172 3.271.81c.34.64-.184 1.438-1.231 3.033l-.271.413c-.298.453-.447.68-.487.939s.033.52.179 1.043l.133.477c.513 1.842.77 2.762.253 3.266c-.517.505-1.465.258-3.361-.235l-.49-.127c-.54-.14-.809-.21-1.075-.17s-.499.185-.964.476l-.424.265c-1.638 1.024-2.456 1.536-3.115 1.208c-.659-.327-.72-1.277-.845-3.177l-.033-.492c-.035-.54-.053-.81-.177-1.044s-.34-.406-.774-.75l-.395-.312C7.294 9.865 6.53 9.26 6.64 8.554s1.02-1.047 2.839-1.729l.47-.176c.518-.194.776-.29.965-.475c.19-.185.288-.437.486-.94z'/%3E%3Cpath fill='currentColor' d='M5.31 9.593C2.873 11.92 1.275 15.806 2.331 22c.943-2.603 3.526-4.76 6.581-6.047c-.106-.593-.154-1.317-.204-2.08l-.039-.595a22 22 0 0 0-.032-.43l-.086-.071l-.268-.215l-.475-.376c-.694-.55-1.34-1.06-1.783-1.532c-.253-.269-.536-.624-.715-1.061m5.037 5.83l-.015-.114l.056.101z' opacity='.5'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1.2em;height:1.2em}.i-solar\:stop-circle-bold-duotone,[i-solar\:stop-circle-bold-duotone=""]{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12S6.477 2 12 2s10 4.477 10 10' opacity='.5'/%3E%3Cpath fill='currentColor' d='M8.586 8.586C8 9.172 8 10.114 8 12s0 2.828.586 3.414S10.114 16 12 16s2.828 0 3.414-.586S16 13.886 16 12s0-2.828-.586-3.414S13.886 8 12 8s-2.828 0-3.414.586'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1.2em;height:1.2em}.i-solar\:sun-fog-bold-duotone,[i-solar\:sun-fog-bold-duotone=""]{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' fill-rule='evenodd' d='M7.25 22a.75.75 0 0 1 .75-.75h8a.75.75 0 0 1 0 1.5H8a.75.75 0 0 1-.75-.75M12 1.25a.75.75 0 0 1 .75.75v1a.75.75 0 0 1-1.5 0V2a.75.75 0 0 1 .75-.75M1.25 12a.75.75 0 0 1 .75-.75h1a.75.75 0 0 1 0 1.5H2a.75.75 0 0 1-.75-.75m19 0a.75.75 0 0 1 .75-.75h1a.75.75 0 0 1 0 1.5h-1a.75.75 0 0 1-.75-.75M6.083 15.25H2a.75.75 0 0 0 0 1.5h20a.75.75 0 0 0 0-1.5z' clip-rule='evenodd'/%3E%3Cpath fill='currentColor' d='M4.25 19a.75.75 0 0 1 .75-.75h14a.75.75 0 0 1 0 1.5H5a.75.75 0 0 1-.75-.75m.148-14.602a.75.75 0 0 1 1.061 0l.393.393a.75.75 0 0 1-1.06 1.06l-.394-.392a.75.75 0 0 1 0-1.06m15.202 0a.75.75 0 0 1 0 1.06l-.392.393a.75.75 0 0 1-1.06-1.06l.392-.393a.75.75 0 0 1 1.06 0M5.25 12c0 1.178.302 2.286.833 3.25h11.834A6.75 6.75 0 1 0 5.25 12' opacity='.5'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1.2em;height:1.2em}.i-solar\:trash-bin-trash-bold-duotone,[i-solar\:trash-bin-trash-bold-duotone=""]{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M3 6.386c0-.484.345-.877.771-.877h2.665c.529-.016.996-.399 1.176-.965l.03-.1l.115-.391c.07-.24.131-.45.217-.637c.338-.739.964-1.252 1.687-1.383c.184-.033.378-.033.6-.033h3.478c.223 0 .417 0 .6.033c.723.131 1.35.644 1.687 1.383c.086.187.147.396.218.637l.114.391l.03.1c.18.566.74.95 1.27.965h2.57c.427 0 .772.393.772.877s-.345.877-.771.877H3.77c-.425 0-.77-.393-.77-.877'/%3E%3Cpath fill='currentColor' fill-rule='evenodd' d='M9.425 11.482c.413-.044.78.273.821.707l.5 5.263c.041.433-.26.82-.671.864c-.412.043-.78-.273-.821-.707l-.5-5.263c-.041-.434.26-.821.671-.864m5.15 0c.412.043.713.43.671.864l-.5 5.263c-.04.434-.408.75-.82.707c-.413-.044-.713-.43-.672-.864l.5-5.264c.041-.433.409-.75.82-.707' clip-rule='evenodd'/%3E%3Cpath fill='currentColor' d='M11.596 22h.808c2.783 0 4.174 0 5.08-.886c.904-.886.996-2.339 1.181-5.245l.267-4.188c.1-1.577.15-2.366-.303-2.865c-.454-.5-1.22-.5-2.753-.5H8.124c-1.533 0-2.3 0-2.753.5s-.404 1.288-.303 2.865l.267 4.188c.185 2.906.277 4.36 1.182 5.245c.905.886 2.296.886 5.079.886' opacity='.5'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1.2em;height:1.2em}.i-svg-spinners\:bouncing-ball,[i-svg-spinners\:bouncing-ball=""]{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cellipse cx='12' cy='5' fill='currentColor' rx='4' ry='4'%3E%3Canimate id='svgSpinnersBouncingBall0' fill='freeze' attributeName='cy' begin='0;svgSpinnersBouncingBall2.end' calcMode='spline' dur='0.375s' keySplines='.33,0,.66,.33' values='5;20'/%3E%3Canimate attributeName='rx' begin='svgSpinnersBouncingBall0.end' calcMode='spline' dur='0.05s' keySplines='.33,0,.66,.33;.33,.66,.66,1' values='4;4.8;4'/%3E%3Canimate attributeName='ry' begin='svgSpinnersBouncingBall0.end' calcMode='spline' dur='0.05s' keySplines='.33,0,.66,.33;.33,.66,.66,1' values='4;3;4'/%3E%3Canimate id='svgSpinnersBouncingBall1' attributeName='cy' begin='svgSpinnersBouncingBall0.end' calcMode='spline' dur='0.025s' keySplines='.33,0,.66,.33' values='20;20.5'/%3E%3Canimate id='svgSpinnersBouncingBall2' attributeName='cy' begin='svgSpinnersBouncingBall1.end' calcMode='spline' dur='0.4s' keySplines='.33,.66,.66,1' values='20.5;5'/%3E%3C/ellipse%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1.2em;height:1.2em}.i-vscode-icons\:file-type-minecraft{background:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 32 32' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='%2352a535' d='M30 2H2v28h28z'/%3E%3Cpath fill='%2386d562' d='M24.4 13.2h-5.6v.47h5.6zm-5.6 8.4h-5.6v.47h5.6zm2.8 2.8h-2.8v.47h2.8zm-8.4 0h-2.8v.47h2.8zm0-11.2H7.6v.47h5.6z'/%3E%3Cpath d='M24.4 13.2V7.6h-5.6v5.6h-5.6V16h-2.8v8.4h2.8v-2.8h5.6v2.8h2.8V16h-2.8v-2.8zM13.2 7.6H7.6v5.6h5.6z'/%3E%3Cpath fill='%232a641c' d='M24.4 7.6h-5.6v.47h5.6zm-5.6 5.6h-5.6v.47h5.6zm-5.6-5.6H7.6v.47h5.6zm0 8.4h-2.8v.47h2.8zm8.4 0h-2.8v.47h2.8z'/%3E%3C/svg%3E") no-repeat;background-size:100% 100%;background-color:transparent;width:1.2em;height:1.2em}.prose :where(h1,h2,h3,h4,h5,h6):not(:where(.not-prose,.not-prose *)){color:var(--un-prose-headings);font-weight:600;line-height:1.25}.prose :where(a):not(:where(.not-prose,.not-prose *)){color:var(--un-prose-links);text-decoration:underline;font-weight:500}.prose :where(a code):not(:where(.not-prose,.not-prose *)){color:var(--un-prose-links)}.prose :where(p,ul,ol,pre):not(:where(.not-prose,.not-prose *)){margin:1em 0;line-height:1.75}.prose :where(blockquote):not(:where(.not-prose,.not-prose *)){margin:1em 0;padding-left:1em;font-style:italic;border-left:.25em solid var(--un-prose-borders)}.prose :where(h1):not(:where(.not-prose,.not-prose *)){margin:1rem 0;font-size:2.25em}.prose :where(h2):not(:where(.not-prose,.not-prose *)){margin:1.75em 0 .5em;font-size:1.75em}.prose :where(h3):not(:where(.not-prose,.not-prose *)){margin:1.5em 0 .5em;font-size:1.375em}.prose :where(h4):not(:where(.not-prose,.not-prose *)){margin:1em 0;font-size:1.125em}.prose :where(img,video):not(:where(.not-prose,.not-prose *)){max-width:100%}.prose :where(figure,picture):not(:where(.not-prose,.not-prose *)){margin:1em 0}.prose :where(figcaption):not(:where(.not-prose,.not-prose *)){color:var(--un-prose-captions);font-size:.875em}.prose :where(code):not(:where(.not-prose,.not-prose *)){color:var(--un-prose-code);font-size:.875em;font-weight:600;font-family:DM Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.prose :where(:not(pre)>code):not(:where(.not-prose,.not-prose *)):before,.prose :where(:not(pre)>code):not(:where(.not-prose,.not-prose *)):after{content:"`"}.prose :where(pre):not(:where(.not-prose,.not-prose *)){padding:1.25rem 1.5rem;overflow-x:auto;border-radius:.375rem}.prose :where(pre,code):not(:where(.not-prose,.not-prose *)){white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-hyphens:none;-moz-hyphens:none;hyphens:none;background:transparent}.prose :where(pre code):not(:where(.not-prose,.not-prose *)){font-weight:inherit}.prose :where(ol,ul):not(:where(.not-prose,.not-prose *)){padding-left:1.25em}.prose :where(ol):not(:where(.not-prose,.not-prose *)){list-style-type:decimal}.prose :where(ol[type=A]):not(:where(.not-prose,.not-prose *)){list-style-type:upper-alpha}.prose :where(ol[type=a]):not(:where(.not-prose,.not-prose *)){list-style-type:lower-alpha}.prose :where(ol[type=A s]):not(:where(.not-prose,.not-prose *)){list-style-type:upper-alpha}.prose :where(ol[type=a s]):not(:where(.not-prose,.not-prose *)){list-style-type:lower-alpha}.prose :where(ol[type=I]):not(:where(.not-prose,.not-prose *)){list-style-type:upper-roman}.prose :where(ol[type=i]):not(:where(.not-prose,.not-prose *)){list-style-type:lower-roman}.prose :where(ol[type=I s]):not(:where(.not-prose,.not-prose *)){list-style-type:upper-roman}.prose :where(ol[type=i s]):not(:where(.not-prose,.not-prose *)){list-style-type:lower-roman}.prose :where(ol[type="1"]):not(:where(.not-prose,.not-prose *)){list-style-type:decimal}.prose :where(ul):not(:where(.not-prose,.not-prose *)){list-style-type:disc}.prose :where(ol>li):not(:where(.not-prose,.not-prose *))::marker,.prose :where(ul>li):not(:where(.not-prose,.not-prose *))::marker,.prose :where(summary):not(:where(.not-prose,.not-prose *))::marker{color:var(--un-prose-lists)}.prose :where(hr):not(:where(.not-prose,.not-prose *)){margin:2em 0;border:1px solid var(--un-prose-hr)}.prose :where(table):not(:where(.not-prose,.not-prose *)){display:block;margin:1em 0;border-collapse:collapse;overflow-x:auto}.prose :where(tr):not(:where(.not-prose,.not-prose *)):nth-child(2n){background:var(--un-prose-bg-soft)}.prose :where(td,th):not(:where(.not-prose,.not-prose *)){border:1px solid var(--un-prose-borders);padding:.625em 1em}.prose :where(abbr):not(:where(.not-prose,.not-prose *)){cursor:help}.prose :where(kbd):not(:where(.not-prose,.not-prose *)){color:var(--un-prose-code);border:1px solid;padding:.25rem .5rem;font-size:.875em;border-radius:.25rem}.prose :where(details):not(:where(.not-prose,.not-prose *)){margin:1em 0;padding:1.25rem 1.5rem;background:var(--un-prose-bg-soft)}.prose :where(summary):not(:where(.not-prose,.not-prose *)){cursor:pointer;font-weight:600}.prose{color:var(--un-prose-body);max-width:65ch}.container,[container=""]{width:100%}@media (min-width: 640px){.container,[container=""]{max-width:640px}}@media (min-width: 768px){.container,[container=""]{max-width:768px}}@media (min-width: 1024px){.container,[container=""]{max-width:1024px}}@media (min-width: 1280px){.container,[container=""]{max-width:1280px}}@media (min-width: 1536px){.container,[container=""]{max-width:1536px}}.\[input\:checked\~\&\]{input:checked~&}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.pointer-events-none,[pointer-events-none=""]{pointer-events:none}.disabled\:pointer-events-none:disabled{pointer-events:none}.\!visible{visibility:visible!important}.visible{visibility:visible}.absolute,[absolute=""]{position:absolute}.fixed,[fixed=""]{position:fixed}.relative,[relative=""]{position:relative}.sticky,[sticky=""]{position:sticky}.after\:absolute:after{position:absolute}.inset-0,[inset-0=""]{top:0;right:0;bottom:0;left:0}.inset-y-0{top:0;bottom:0}.bottom-0,[bottom-0=""]{bottom:0}.bottom-11,[bottom-11=""]{bottom:2.75rem}.bottom-4{bottom:1rem}.left-0,[left-0=""]{left:0}.left-1\/2,[left~="1/2"]{left:50%}.left-2{left:.5rem}.right-0,[right-0=""]{right:0}.top-0,[top-0=""]{top:0}.top-1\/2,[top~="50%"]{top:50%}.top-2{top:.5rem}[bottom~="-10"]{bottom:-2.5rem}[bottom~="20%"]{bottom:20%}[bottom~="3"]{bottom:.75rem}[right~="-50%"]{right:-50%}[right~="3"]{right:.75rem}.after\:left-\[2px\]:after{left:2px}.after\:top-\[2px\]:after{top:2px}.line-clamp-1{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1;line-clamp:1}.line-clamp-2{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2}.z--1,[z--1=""]{z-index:-1}.z-1,[z-1=""]{z-index:1}.z-10,[z-10=""]{z-index:10}.z-2,[z-2=""]{z-index:2}.z-30,[z-30=""]{z-index:30}.z-50,[z-50=""]{z-index:50}[z~="20"]{z-index:20}.grid,[grid=""],[grid~="~"]{display:grid}.auto-cols-\[350px\]{grid-auto-columns:350px}.auto-cols-auto{grid-auto-columns:auto}.grid-flow-col{grid-auto-flow:column}.grid-flow-row{grid-auto-flow:row}.cols-\[150px_1fr\],[grid~="cols-[150px_1fr]"]{grid-template-columns:150px 1fr}.cols-\[20px_1fr_60px\],[grid~="cols-[20px_1fr_60px]"]{grid-template-columns:20px 1fr 60px}.cols-1,.grid-cols-1,[grid~=cols-1]{grid-template-columns:repeat(1,minmax(0,1fr))}.cols-2,[grid~=cols-2]{grid-template-columns:repeat(2,minmax(0,1fr))}.m-1,[m-1=""]{margin:.25rem}.m-auto{margin:auto}.mx-1{margin-left:.25rem;margin-right:.25rem}.mx-auto,[mx-auto=""]{margin-left:auto;margin-right:auto}.mx2,[mx2=""]{margin-left:.5rem;margin-right:.5rem}.my{margin-top:1rem;margin-bottom:1rem}.mb-1,[mb-1=""]{margin-bottom:.25rem}.mb-2,.mb2,[mb-2=""],[mb2=""]{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4,[mb-4=""]{margin-bottom:1rem}.mb-6,[mb-6=""]{margin-bottom:1.5rem}.ml{margin-left:1rem}.ml-0\.5,[ml-0\.5=""]{margin-left:.125rem}.ml-2,[ml-2=""]{margin-left:.5rem}.ml-auto{margin-left:auto}.mr{margin-right:1rem}.mr-2{margin-right:.5rem}.mr-3{margin-right:.75rem}.mt-0{margin-top:0}.mt-0\.5{margin-top:.125rem}.mt-1{margin-top:.25rem}.mt-2,[mt-2=""]{margin-top:.5rem}.mt-24,[mt-24=""]{margin-top:6rem}.mt-3{margin-top:.75rem}.mt-4,[mt-4=""]{margin-top:1rem}[ml~="12"]{margin-left:3rem}[mr~="12"]{margin-right:3rem}[box~=border]{box-sizing:border-box}.inline,[inline=""]{display:inline}.block,[block=""]{display:block}.inline-block,[inline-block=""]{display:inline-block}.hidden,[hidden=""]{display:none}.size-16,[size-16=""]{width:4rem;height:4rem}.size-24,[size-24=""]{width:6rem;height:6rem}.size-3,[size-3=""]{width:.75rem;height:.75rem}.size-5{width:1.25rem;height:1.25rem}.size-6{width:1.5rem;height:1.5rem}.h-10,[h-10=""]{height:2.5rem}.h-100vh,[h-100vh=""]{height:100vh}.h-12{height:3rem}.h-24,[h-24=""]{height:6rem}.h-6{height:1.5rem}.h-8,[h-8=""]{height:2rem}.h-fit,[h-fit=""]{height:fit-content}.h-full,[h-full=""]{height:100%}.h1{height:.25rem}.h2{height:.5rem}.h3{height:.75rem}.max-h-\[10lh\],[max-h~="[10lh]"]{max-height:10lh}.max-w-full,[max-w-full=""]{max-width:100%}.min-h-\[1lh\],[min-h~="[1lh]"]{min-height:1lh}.min-h-16,[min-h-16=""]{min-height:4rem}.min-w-0,[min-w-0=""]{min-width:0}.min-w-20,[min-w-20=""]{min-width:5rem}.min-w-50,[min-w-50=""]{min-width:12.5rem}.w-10{width:2.5rem}.w-100,[w-100=""]{width:25rem}.w-100vw,[w-100vw=""]{width:100vw}.w-11{width:2.75rem}.w-12{width:3rem}.w-2{width:.5rem}.w-32{width:8rem}.w-6{width:1.5rem}.w-8,[w-8=""]{width:2rem}.w-fit,[w-fit=""]{width:fit-content}.w-full,[w-full=""],[w~=full]{width:100%}[h~="[14px]"]{height:14px}[h~="80vh"]{height:80vh}[h~=unset]{height:unset}[max-h~="[300px]"]{max-height:300px}[max-h~="[75%]"]{max-height:75%}[max-h~="[85vh]"]{max-height:85vh}[max-h~="100"]{max-height:25rem}[max-h~="30vh"]{max-height:30vh}[max-w~="30%"]{max-width:30%}[max-w~="500px"]{max-width:500px}[min-h~="[100px]"]{min-height:100px}[min-h~="100"]{min-height:25rem}[min-w~="1/2"],[min-w~="50%"]{min-width:50%}[min-w~="30%"]{min-width:30%}[min-w~="3em"]{min-width:3em}[min-w~="50vw"]{min-width:50vw}[min-w~="6"]{min-width:1.5rem}[w~="[1px]"]{width:1px}[w~="50%"]{width:50%}.after\:h-5:after{height:1.25rem}.after\:w-5:after{width:1.25rem}.max-w-screen-lg,[max-w-screen-lg=""]{max-width:1024px}.flex,[flex=""],[flex~="~"]{display:flex}.inline-flex{display:inline-flex}.flex-1,[flex-1=""],[flex~="1"]{flex:1 1 0%}.flex-shrink-0{flex-shrink:0}.flex-row,[flex-row=""],[flex~=row]{flex-direction:row}[flex~=row-reverse]{flex-direction:row-reverse}.flex-col,[flex-col=""],[flex~=col]{flex-direction:column}.flex-wrap,[flex-wrap=""]{flex-wrap:wrap}.-translate-x-1\/2,.translate-x--1\/2,[transform~="translate-x--1/2"]{--un-translate-x:-50%;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.-translate-y-1\/2,.translate-y-\[-50\%\],[transform~="translate-y-[-50%]"]{--un-translate-y:-50%;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.translate-x-\[50\%\],[transform~="translate-x-[50%]"]{--un-translate-x:50%;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.translate-x-0{--un-translate-x:0;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.translate-x-10,[translate-x-10=""]{--un-translate-x:2.5rem;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.translate-x-4{--un-translate-x:1rem;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.translate-y--100\%,.translate-y-\[-100\%\],[transform~="translate-y--100%"],[transform~="translate-y-[-100%]"]{--un-translate-y:-100%;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.translate-y--2,[transform~=translate-y--2]{--un-translate-y:-.5rem;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.translate-y-10,[translate-y-10=""]{--un-translate-y:2.5rem;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.translate-y-2,[translate-y-2=""]{--un-translate-y:.5rem;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.translate-y-4,[translate-y-4=""]{--un-translate-y:1rem;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}[translate-y~="[-80%]"]{--un-translate-y:-80%;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.peer:checked~.peer-checked\:after\:translate-x-full:after{--un-translate-x:100%;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.rotate-180{--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-rotate:180deg;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.scale-150{--un-scale-x:1.5;--un-scale-y:1.5;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.hover\:scale-110:hover{--un-scale-x:1.1;--un-scale-y:1.1;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.transform,[transform=""]{transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.animate-spin{animation:spin 1s linear infinite}.disabled\:cursor-default:disabled{cursor:default}.cursor-pointer,[cursor-pointer=""],[cursor~=pointer]{cursor:pointer}.cursor-not-allowed{cursor:not-allowed}.cursor-ew-resize,[cursor-ew-resize=""]{cursor:ew-resize}.select-none,[select-none=""]{-webkit-user-select:none;user-select:none}.resize-none,[resize-none=""]{resize:none}.appearance-none,[appearance-none=""]{-webkit-appearance:none;-moz-appearance:none;appearance:none}.items-start,[items-start=""]{align-items:flex-start}.items-center,[items-center=""]{align-items:center}.justify-end,[justify-end=""]{justify-content:flex-end}.justify-center,[justify-center=""]{justify-content:center}.justify-between,[justify-between=""]{justify-content:space-between}.gap-1,[gap-1=""]{gap:.25rem}.gap-1\.5,[gap-1\.5=""]{gap:.375rem}.gap-2,[gap-2=""]{gap:.5rem}.gap-3{gap:.75rem}.gap-4,[flex~=gap-4],[gap-4=""],[grid~=gap-4]{gap:1rem}.gap-6,[flex~=gap-6]{gap:1.5rem}.gap-x-2,[flex~=gap-x-2]{column-gap:.5rem}.gap-y-0,[flex~=gap-y-0]{row-gap:0}.space-x-1>:not([hidden])~:not([hidden]),[space-x-1=""]>:not([hidden])~:not([hidden]){--un-space-x-reverse:0;margin-left:calc(.25rem * calc(1 - var(--un-space-x-reverse)));margin-right:calc(.25rem * var(--un-space-x-reverse))}.space-y-1>:not([hidden])~:not([hidden]){--un-space-y-reverse:0;margin-top:calc(.25rem * calc(1 - var(--un-space-y-reverse)));margin-bottom:calc(.25rem * var(--un-space-y-reverse))}.space-y-2>:not([hidden])~:not([hidden]){--un-space-y-reverse:0;margin-top:calc(.5rem * calc(1 - var(--un-space-y-reverse)));margin-bottom:calc(.5rem * var(--un-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--un-space-y-reverse:0;margin-top:calc(1rem * calc(1 - var(--un-space-y-reverse)));margin-bottom:calc(1rem * var(--un-space-y-reverse))}.space-y-6>:not([hidden])~:not([hidden]){--un-space-y-reverse:0;margin-top:calc(1.5rem * calc(1 - var(--un-space-y-reverse)));margin-bottom:calc(1.5rem * var(--un-space-y-reverse))}[divide~=y]>:not([hidden])~:not([hidden]){--un-divide-y-reverse:0;border-top-width:calc(1px * calc(1 - var(--un-divide-y-reverse)));border-bottom-width:calc(1px * var(--un-divide-y-reverse))}[divide~="gray/25"]>:not([hidden])~:not([hidden]){border-color:#9ca3af40}[border~=dashed],[divide~=dashed]>:not([hidden])~:not([hidden]){border-style:dashed}.of-clip,[of-clip=""]{overflow:clip}.of-hidden,.overflow-hidden,[of-hidden=""],[overflow-hidden=""]{overflow:hidden}.overflow-auto{overflow:auto}.overflow-scroll,[overflow-scroll=""]{overflow:scroll}.of-x-scroll,[of-x-scroll=""]{overflow-x:scroll}.overflow-x-auto{overflow-x:auto}.overflow-y-scroll,[overflow-y-scroll=""]{overflow-y:scroll}.scroll-smooth,[scroll-smooth=""]{scroll-behavior:smooth}.b-2,.border-2,[b-2=""],[border~="2"],[border~="2px"]{border-width:2px}.border,[border~="~"],[border~="1"]{border-width:1px}[border~="4"]{border-width:4px}[border~=b-2]{border-bottom-width:2px}[border~=l-2]{border-left-width:2px}[border~=r-2]{border-right-width:2px}[border~=t-2]{border-top-width:2px}.\[\&\:checked\+div\]\:border-primary-500:checked+div,.border-primary-500{--un-border-opacity:1;border-color:oklch(62% var(--theme-colors-chroma) calc(var(--theme-colors-hue) + 0) / var(--un-border-opacity))}.border-amber-200{--un-border-opacity:1;border-color:rgb(253 230 138 / var(--un-border-opacity))}.border-neutral-100,[border~=neutral-100]{--un-border-opacity:1;border-color:rgb(245 245 245 / var(--un-border-opacity))}.border-neutral-200,.dark [border~="dark:neutral-200"],[border~=neutral-200]{--un-border-opacity:1;border-color:rgb(229 229 229 / var(--un-border-opacity))}.border-neutral-300,[border~=neutral-300]{--un-border-opacity:1;border-color:rgb(212 212 212 / var(--un-border-opacity))}.border-primary-100,[border~=primary-100]{border-color:color-mix(in srgb,oklch(95% var(--theme-colors-chroma-100) calc(var(--theme-colors-hue) + 0)) 80%,oklch(100% 0 360))}.border-primary-200{--un-border-opacity:1;border-color:oklch(90% var(--theme-colors-chroma-200) calc(var(--theme-colors-hue) + 0) / var(--un-border-opacity))}.border-red-200{--un-border-opacity:1;border-color:rgb(254 202 202 / var(--un-border-opacity))}.border-white{--un-border-opacity:1;border-color:rgb(255 255 255 / var(--un-border-opacity))}.dark .dark\:\[\&\:checked\+div\]\:border-primary-400:checked+div,.dark .dark\:border-primary-400{--un-border-opacity:1;border-color:oklch(74% var(--theme-colors-chroma-400) calc(var(--theme-colors-hue) + 0) / var(--un-border-opacity))}.dark .dark\:border-amber-800{--un-border-opacity:1;border-color:rgb(146 64 14 / var(--un-border-opacity))}.dark .dark\:border-neutral-600,.dark [border~="dark:neutral-600"]{--un-border-opacity:1;border-color:rgb(82 82 82 / var(--un-border-opacity))}.dark .dark\:border-neutral-700,.dark [border~="dark:neutral-700"]{--un-border-opacity:1;border-color:rgb(64 64 64 / var(--un-border-opacity))}.dark .dark\:border-primary-800,.dark [border~="dark:primary-800"]{--un-border-opacity:1;border-color:oklch(42% var(--theme-colors-chroma-800) calc(var(--theme-colors-hue) + 0) / var(--un-border-opacity))}.dark .dark\:border-primary-900,.dark [border~="dark:primary-900"]{--un-border-opacity:1;border-color:oklch(37% var(--theme-colors-chroma-900) calc(var(--theme-colors-hue) + 0) / var(--un-border-opacity))}.dark .dark\:border-red-800{--un-border-opacity:1;border-color:rgb(153 27 27 / var(--un-border-opacity))}.dark [border~="dark:cyan-500/50"]{border-color:#06b6d480}.dark [border~="dark:cyan-800"]{--un-border-opacity:1;border-color:rgb(21 94 117 / var(--un-border-opacity))}.dark [border~="dark:neutral-800"],[border~=neutral-800]{--un-border-opacity:1;border-color:rgb(38 38 38 / var(--un-border-opacity))}.dark [border~="dark:primary-400/20"]{border-color:oklch(74% var(--theme-colors-chroma-400) calc(var(--theme-colors-hue) + 0) / .2)}.dark [border~="dark:primary-500/50"]{border-color:oklch(62% var(--theme-colors-chroma) calc(var(--theme-colors-hue) + 0) / .5)}.dark [border~="dark:violet-500/50"]{border-color:#8b5cf680}.dark [border~="dark:zinc-800"]{--un-border-opacity:1;border-color:rgb(39 39 42 / var(--un-border-opacity))}[border~=cyan-200]{--un-border-opacity:1;border-color:rgb(165 243 252 / var(--un-border-opacity))}[border~="cyan-200/50"]{border-color:#a5f3fc80}[border~="gray/25"]{border-color:#9ca3af40}[border~="primary-200/50"]{border-color:oklch(90% var(--theme-colors-chroma-200) calc(var(--theme-colors-hue) + 0) / .5)}[border~=primary-300]{--un-border-opacity:1;border-color:oklch(85% var(--theme-colors-chroma-300) calc(var(--theme-colors-hue) + 0) / var(--un-border-opacity))}[border~="violet-200/50"]{border-color:#ddd6fe80}[border~=zinc-300]{--un-border-opacity:1;border-color:rgb(212 212 216 / var(--un-border-opacity))}.peer:checked~.peer-checked\:after\:border-white:after{--un-border-opacity:1;border-color:rgb(255 255 255 / var(--un-border-opacity))}.dark .dark\:hover\:border-primary-400\/30:hover,.dark [border~="dark:hover:primary-400/30"]:hover{border-color:oklch(74% var(--theme-colors-chroma-400) calc(var(--theme-colors-hue) + 0) / .3)}.hover\:border-primary-500\/30:hover,[border~="hover:primary-500/30"]:hover{border-color:oklch(62% var(--theme-colors-chroma) calc(var(--theme-colors-hue) + 0) / .3)}.dark [border~="dark:focus:neutral-600"]:focus{--un-border-opacity:1;border-color:rgb(82 82 82 / var(--un-border-opacity))}.dark [border~="dark:focus:primary-900"]:focus{--un-border-opacity:1;border-color:oklch(37% var(--theme-colors-chroma-900) calc(var(--theme-colors-hue) + 0) / var(--un-border-opacity))}.dark [border~="dark:focus:zinc-600"]:focus{--un-border-opacity:1;border-color:rgb(82 82 91 / var(--un-border-opacity))}[border~="focus:neutral-400"]:focus{--un-border-opacity:1;border-color:rgb(163 163 163 / var(--un-border-opacity))}[border~="focus:primary-100"]:focus{border-color:color-mix(in srgb,oklch(95% var(--theme-colors-chroma-100) calc(var(--theme-colors-hue) + 0)) 80%,oklch(100% 0 360))}[border~="focus:zinc-400"]:focus{--un-border-opacity:1;border-color:rgb(161 161 170 / var(--un-border-opacity))}.rounded,[rounded=""]{border-radius:.25rem}.rounded-2xl,[rounded-2xl=""]{border-radius:1rem}.rounded-full,[rounded-full=""]{border-radius:9999px}.rounded-lg,[border~=rounded-lg],[rounded-lg=""],[rounded~=lg]{border-radius:.5rem}.rounded-md,[rounded-md=""]{border-radius:.375rem}.rounded-sm,[rounded-sm=""]{border-radius:.125rem}.rounded-xl,[rounded-xl=""]{border-radius:.75rem}.after\:rounded-full:after{border-radius:9999px}.rounded-l-lg,[rounded-l-lg=""]{border-top-left-radius:.5rem;border-bottom-left-radius:.5rem}.rounded-l-xl,[rounded-l-xl=""]{border-top-left-radius:.75rem;border-bottom-left-radius:.75rem}.rounded-r-lg,[rounded-r-lg=""]{border-top-right-radius:.5rem;border-bottom-right-radius:.5rem}.rounded-r-xl,[rounded-r-xl=""]{border-top-right-radius:.75rem;border-bottom-right-radius:.75rem}.rounded-t-lg,[rounded-t-lg=""]{border-top-left-radius:.5rem;border-top-right-radius:.5rem}.rounded-t-xl,[rounded-t-xl=""]{border-top-left-radius:.75rem;border-top-right-radius:.75rem}.border-none,[border-none=""]{border-style:none}[border~=solid]{border-style:solid}.bg-amber-50{--un-bg-opacity:1;background-color:rgb(255 251 235 / var(--un-bg-opacity))}.bg-black\/40{background-color:#0006}.bg-neutral-100,[bg~=neutral-100]{--un-bg-opacity:1;background-color:rgb(245 245 245 / var(--un-bg-opacity))}.bg-neutral-200{--un-bg-opacity:1;background-color:rgb(229 229 229 / var(--un-bg-opacity))}.bg-neutral-300,.dark [bg~="dark:neutral-300"]{--un-bg-opacity:1;background-color:rgb(212 212 212 / var(--un-bg-opacity))}.bg-neutral-400,[bg~=neutral-400]{--un-bg-opacity:1;background-color:rgb(163 163 163 / var(--un-bg-opacity))}.bg-neutral-400\/80{background-color:#a3a3a3cc}.bg-neutral-50,[bg~=neutral-50]{--un-bg-opacity:1;background-color:rgb(250 250 250 / var(--un-bg-opacity))}.bg-neutral-500,.dark [bg~="dark:neutral-500"]{--un-bg-opacity:1;background-color:rgb(115 115 115 / var(--un-bg-opacity))}.bg-neutral-500\/80{background-color:#737373cc}.bg-primary-100,[bg~=primary-100]{background-color:color-mix(in srgb,oklch(95% var(--theme-colors-chroma-100) calc(var(--theme-colors-hue) + 0)) 80%,oklch(100% 0 360))}.bg-primary-50,[bg~=primary-50]{background-color:color-mix(in srgb,oklch(95% var(--theme-colors-chroma-50) calc(var(--theme-colors-hue) + 0)) 30%,oklch(100% 0 360))}.bg-primary-500,.dark [bg~="dark:primary-500"],[bg~=primary-500],.peer:checked~.peer-checked\:bg-primary-500{--un-bg-opacity:1;background-color:oklch(62% var(--theme-colors-chroma) calc(var(--theme-colors-hue) + 0) / var(--un-bg-opacity))}.bg-red-50{--un-bg-opacity:1;background-color:rgb(254 242 242 / var(--un-bg-opacity))}.bg-white,[bg~=white]{--un-bg-opacity:1;background-color:rgb(255 255 255 / var(--un-bg-opacity))}.bg-zinc-100,[bg-zinc-100=""],[bg~=zinc-100]{--un-bg-opacity:1;background-color:rgb(244 244 245 / var(--un-bg-opacity))}.bg-zinc-200,.dark .dark\:bg-zinc-200{--un-bg-opacity:1;background-color:rgb(228 228 231 / var(--un-bg-opacity))}.bg-zinc-300,[bg-zinc-300=""]{--un-bg-opacity:1;background-color:rgb(212 212 216 / var(--un-bg-opacity))}.dark .dark\:bg-amber-900\/20{background-color:#78350f33}.dark .dark\:bg-neutral-600{--un-bg-opacity:1;background-color:rgb(82 82 82 / var(--un-bg-opacity))}.dark .dark\:bg-neutral-700,.dark [bg~="dark:neutral-700"],[bg~=neutral-700]{--un-bg-opacity:1;background-color:rgb(64 64 64 / var(--un-bg-opacity))}.dark .dark\:bg-neutral-800,.dark [bg~="dark:neutral-800"]{--un-bg-opacity:1;background-color:rgb(38 38 38 / var(--un-bg-opacity))}.dark .dark\:bg-neutral-900,.dark [bg~="dark:neutral-900"]{--un-bg-opacity:1;background-color:rgb(23 23 23 / var(--un-bg-opacity))}.dark .dark\:bg-neutral-900\/20{background-color:#17171733}.dark .dark\:bg-primary-400,.dark [bg~="dark:primary-400"],[bg~=primary-400]{--un-bg-opacity:1;background-color:oklch(74% var(--theme-colors-chroma-400) calc(var(--theme-colors-hue) + 0) / var(--un-bg-opacity))}.dark .dark\:bg-primary-900,[bg~=primary-900]{--un-bg-opacity:1;background-color:oklch(37% var(--theme-colors-chroma-900) calc(var(--theme-colors-hue) + 0) / var(--un-bg-opacity))}.dark .dark\:bg-primary-900\/20{background-color:oklch(37% var(--theme-colors-chroma-900) calc(var(--theme-colors-hue) + 0) / .2)}.dark .dark\:bg-primary-950,.dark [bg~="dark:primary-950"],[bg~=primary-950]{--un-bg-opacity:1;background-color:oklch(29% var(--theme-colors-chroma-950) calc(var(--theme-colors-hue) + 0) / var(--un-bg-opacity))}.dark .dark\:bg-red-900\/20{background-color:#7f1d1d33}.dark .dark\:bg-zinc-700,.dark [bg~="dark:zinc-700"]{--un-bg-opacity:1;background-color:rgb(63 63 70 / var(--un-bg-opacity))}.dark .dark\:bg-zinc-800,.dark [bg~="dark:zinc-800"]{--un-bg-opacity:1;background-color:rgb(39 39 42 / var(--un-bg-opacity))}.dark [bg~="dark:[#1f1a1d]"]{--un-bg-opacity:1;background-color:rgb(31 26 29 / var(--un-bg-opacity))}.dark [bg~="dark:[#3c2632]"]{--un-bg-opacity:1;background-color:rgb(60 38 50 / var(--un-bg-opacity))}.dark [bg~="dark:[#4e34b9]"]{--un-bg-opacity:1;background-color:rgb(78 52 185 / var(--un-bg-opacity))}.dark [bg~="dark:[#676085]"]{--un-bg-opacity:1;background-color:rgb(103 96 133 / var(--un-bg-opacity))}.dark [bg~="dark:[rgba(0,0,0,0.3)]"]{--un-bg-opacity:.3;background-color:rgba(0,0,0,var(--un-bg-opacity))}.dark [bg~="dark:black/20"]{background-color:#0003}.dark [bg~="dark:complementary-800"]{--un-bg-opacity:1;background-color:oklch(42% var(--theme-colors-chroma-800) calc(var(--theme-colors-hue) + 180) / var(--un-bg-opacity))}.dark [bg~="dark:cyan-900"]{--un-bg-opacity:1;background-color:rgb(22 78 99 / var(--un-bg-opacity))}.dark [bg~="dark:green-600"]{--un-bg-opacity:1;background-color:rgb(22 163 74 / var(--un-bg-opacity))}.dark [bg~="dark:primary-400/20"]{background-color:oklch(74% var(--theme-colors-chroma-400) calc(var(--theme-colors-hue) + 0) / .2)}.dark [bg~="dark:transparent"],[bg~=transparent]{background-color:transparent}.dark [bg~="dark:zinc-400"]{--un-bg-opacity:1;background-color:rgb(161 161 170 / var(--un-bg-opacity))}.dark [bg~="dark:zinc-800/50"]{background-color:#27272a80}[bg~="[#cabeff]"]{--un-bg-opacity:1;background-color:rgb(202 190 255 / var(--un-bg-opacity))}[bg~="[#e6e1fc]"]{--un-bg-opacity:1;background-color:rgb(230 225 252 / var(--un-bg-opacity))}[bg~="[#fffbff]"]{--un-bg-opacity:1;background-color:rgb(255 251 255 / var(--un-bg-opacity))}[bg~=complementary-100]{background-color:color-mix(in srgb,oklch(95% var(--theme-colors-chroma-100) calc(var(--theme-colors-hue) + 180)) 80%,oklch(100% 0 360))}[bg~=green-500]{--un-bg-opacity:1;background-color:rgb(34 197 94 / var(--un-bg-opacity))}[bg~="neutral-200/50"]{background-color:#e5e5e580}[bg~=primary-200]{--un-bg-opacity:1;background-color:oklch(90% var(--theme-colors-chroma-200) calc(var(--theme-colors-hue) + 0) / var(--un-bg-opacity))}[bg~=primary-300]{--un-bg-opacity:1;background-color:oklch(85% var(--theme-colors-chroma-300) calc(var(--theme-colors-hue) + 0) / var(--un-bg-opacity))}[bg~="primary-500/10"]{background-color:oklch(62% var(--theme-colors-chroma) calc(var(--theme-colors-hue) + 0) / .1)}[bg~="primary-500/20"]{background-color:oklch(62% var(--theme-colors-chroma) calc(var(--theme-colors-hue) + 0) / .2)}[bg~="primary-500/30"]{background-color:oklch(62% var(--theme-colors-chroma) calc(var(--theme-colors-hue) + 0) / .3)}[bg~="primary-500/40"]{background-color:oklch(62% var(--theme-colors-chroma) calc(var(--theme-colors-hue) + 0) / .4)}[bg~="primary-500/5"]{background-color:oklch(62% var(--theme-colors-chroma) calc(var(--theme-colors-hue) + 0) / .05)}[bg~="primary-500/50"]{background-color:oklch(62% var(--theme-colors-chroma) calc(var(--theme-colors-hue) + 0) / .5)}[bg~="primary-500/60"]{background-color:oklch(62% var(--theme-colors-chroma) calc(var(--theme-colors-hue) + 0) / .6)}[bg~="primary-500/70"]{background-color:oklch(62% var(--theme-colors-chroma) calc(var(--theme-colors-hue) + 0) / .7)}[bg~="primary-500/80"]{background-color:oklch(62% var(--theme-colors-chroma) calc(var(--theme-colors-hue) + 0) / .8)}[bg~="primary-500/90"]{background-color:oklch(62% var(--theme-colors-chroma) calc(var(--theme-colors-hue) + 0) / .9)}[bg~=primary-600]{--un-bg-opacity:1;background-color:oklch(54% var(--theme-colors-chroma-600) calc(var(--theme-colors-hue) + 0) / var(--un-bg-opacity))}[bg~=primary-700]{--un-bg-opacity:1;background-color:oklch(49% var(--theme-colors-chroma-700) calc(var(--theme-colors-hue) + 0) / var(--un-bg-opacity))}[bg~=primary-800]{--un-bg-opacity:1;background-color:oklch(42% var(--theme-colors-chroma-800) calc(var(--theme-colors-hue) + 0) / var(--un-bg-opacity))}[bg~="zinc-100/70"]{background-color:#f4f4f5b3}[bg~="zinc-200/20"]{background-color:#e4e4e733}.dark [dark\:bg-zinc-700~="default:"]:default{--un-bg-opacity:1;background-color:rgb(63 63 70 / var(--un-bg-opacity))}.dark [dark\:bg-zinc-700~="checked:"]:checked{--un-bg-opacity:1;background-color:rgb(63 63 70 / var(--un-bg-opacity))}.dark .\[\&_div_span\]\:dark\:hover\:bg-cyan-300:hover div span{--un-bg-opacity:1;background-color:rgb(103 232 249 / var(--un-bg-opacity))}.dark .\[\&_div_span\]\:dark\:hover\:bg-cyan-900:hover div span{--un-bg-opacity:1;background-color:rgb(22 78 99 / var(--un-bg-opacity))}.dark .dark\:hover\:bg-neutral-700:hover{--un-bg-opacity:1;background-color:rgb(64 64 64 / var(--un-bg-opacity))}.dark .dark\:hover\:bg-neutral-800:hover{--un-bg-opacity:1;background-color:rgb(38 38 38 / var(--un-bg-opacity))}.dark [bg~="dark:hover:complementary-700"]:hover{--un-bg-opacity:1;background-color:oklch(49% var(--theme-colors-chroma-700) calc(var(--theme-colors-hue) + 180) / var(--un-bg-opacity))}.dark [bg~="dark:hover:neutral-800"]:hover{--un-bg-opacity:1;background-color:rgb(38 38 38 / var(--un-bg-opacity))}.dark [bg~="dark:hover:primary-900"]:hover{--un-bg-opacity:1;background-color:oklch(37% var(--theme-colors-chroma-900) calc(var(--theme-colors-hue) + 0) / var(--un-bg-opacity))}.dark [dark\:hover\:bg-cyan-300=""]:hover{--un-bg-opacity:1;background-color:rgb(103 232 249 / var(--un-bg-opacity))}.dark [hover~="dark:bg-neutral-700"]:hover{--un-bg-opacity:1;background-color:rgb(64 64 64 / var(--un-bg-opacity))}.dark [hover~="dark:bg-zinc-700"]:hover{--un-bg-opacity:1;background-color:rgb(63 63 70 / var(--un-bg-opacity))}.hover\:bg-neutral-100:hover{--un-bg-opacity:1;background-color:rgb(245 245 245 / var(--un-bg-opacity))}.hover\:bg-neutral-200:hover{--un-bg-opacity:1;background-color:rgb(229 229 229 / var(--un-bg-opacity))}.hover\:bg-primary-600:hover{--un-bg-opacity:1;background-color:oklch(54% var(--theme-colors-chroma-600) calc(var(--theme-colors-hue) + 0) / var(--un-bg-opacity))}[bg~="hover:complementary-200"]:hover{--un-bg-opacity:1;background-color:oklch(90% var(--theme-colors-chroma-200) calc(var(--theme-colors-hue) + 180) / var(--un-bg-opacity))}[bg~="hover:neutral-200"]:hover{--un-bg-opacity:1;background-color:rgb(229 229 229 / var(--un-bg-opacity))}[bg~="hover:primary-100"]:hover{background-color:color-mix(in srgb,oklch(95% var(--theme-colors-chroma-100) calc(var(--theme-colors-hue) + 0)) 80%,oklch(100% 0 360))}[hover~=bg-neutral-200]:hover{--un-bg-opacity:1;background-color:rgb(229 229 229 / var(--un-bg-opacity))}[hover~=bg-zinc-200]:hover{--un-bg-opacity:1;background-color:rgb(228 228 231 / var(--un-bg-opacity))}.dark [bg~="dark:focus:neutral-700"]:focus{--un-bg-opacity:1;background-color:rgb(64 64 64 / var(--un-bg-opacity))}[bg~="focus:white"]:focus{--un-bg-opacity:1;background-color:rgb(255 255 255 / var(--un-bg-opacity))}.dark [bg~="dark:active:neutral-700"]:active{--un-bg-opacity:1;background-color:rgb(64 64 64 / var(--un-bg-opacity))}[bg~="active:neutral-300"]:active{--un-bg-opacity:1;background-color:rgb(212 212 212 / var(--un-bg-opacity))}.after\:bg-white:after{--un-bg-opacity:1;background-color:rgb(255 255 255 / var(--un-bg-opacity))}.dark .dark\:from-primary-400\/0{--un-gradient-from-position:0%;--un-gradient-from:oklch(74% var(--theme-colors-chroma-400) calc(var(--theme-colors-hue) + 0) / 0) var(--un-gradient-from-position);--un-gradient-to-position:100%;--un-gradient-to:oklch(74% var(--theme-colors-chroma-400) calc(var(--theme-colors-hue) + 0) / 0) var(--un-gradient-to-position);--un-gradient-stops:var(--un-gradient-from), var(--un-gradient-to)}.dark .dark\:from-primary-400\/20{--un-gradient-from-position:0%;--un-gradient-from:oklch(74% var(--theme-colors-chroma-400) calc(var(--theme-colors-hue) + 0) / .2) var(--un-gradient-from-position);--un-gradient-to-position:100%;--un-gradient-to:oklch(74% var(--theme-colors-chroma-400) calc(var(--theme-colors-hue) + 0) / 0) var(--un-gradient-to-position);--un-gradient-stops:var(--un-gradient-from), var(--un-gradient-to)}.from-primary-500\/0{--un-gradient-from-position:0%;--un-gradient-from:oklch(62% var(--theme-colors-chroma) calc(var(--theme-colors-hue) + 0) / 0) var(--un-gradient-from-position);--un-gradient-to-position:100%;--un-gradient-to:oklch(62% var(--theme-colors-chroma) calc(var(--theme-colors-hue) + 0) / 0) var(--un-gradient-to-position);--un-gradient-stops:var(--un-gradient-from), var(--un-gradient-to)}.from-primary-500\/20{--un-gradient-from-position:0%;--un-gradient-from:oklch(62% var(--theme-colors-chroma) calc(var(--theme-colors-hue) + 0) / .2) var(--un-gradient-from-position);--un-gradient-to-position:100%;--un-gradient-to:oklch(62% var(--theme-colors-chroma) calc(var(--theme-colors-hue) + 0) / 0) var(--un-gradient-to-position);--un-gradient-stops:var(--un-gradient-from), var(--un-gradient-to)}.dark .dark\:via-primary-400\/10{--un-gradient-via-position:50%;--un-gradient-to:oklch(74% var(--theme-colors-chroma-400) calc(var(--theme-colors-hue) + 0) / 0);--un-gradient-stops:var(--un-gradient-from), oklch(74% var(--theme-colors-chroma-400) calc(var(--theme-colors-hue) + 0) / .1) var(--un-gradient-via-position), var(--un-gradient-to)}.via-primary-500\/10{--un-gradient-via-position:50%;--un-gradient-to:oklch(62% var(--theme-colors-chroma) calc(var(--theme-colors-hue) + 0) / 0);--un-gradient-stops:var(--un-gradient-from), oklch(62% var(--theme-colors-chroma) calc(var(--theme-colors-hue) + 0) / .1) var(--un-gradient-via-position), var(--un-gradient-to)}.dark .dark\:to-primary-400\/0{--un-gradient-to-position:100%;--un-gradient-to:oklch(74% var(--theme-colors-chroma-400) calc(var(--theme-colors-hue) + 0) / 0) var(--un-gradient-to-position)}.dark .dark\:to-transparent,.to-transparent{--un-gradient-to-position:100%;--un-gradient-to:transparent var(--un-gradient-to-position)}.to-primary-500\/0{--un-gradient-to-position:100%;--un-gradient-to:oklch(62% var(--theme-colors-chroma) calc(var(--theme-colors-hue) + 0) / 0) var(--un-gradient-to-position)}.bg-gradient-to-r{--un-gradient-shape:to right in oklch;--un-gradient:var(--un-gradient-shape), var(--un-gradient-stops);background-image:linear-gradient(var(--un-gradient))}.dark .dark\:fill-neutral-800{--un-fill-opacity:1;fill:rgb(38 38 38 / var(--un-fill-opacity))}.fill-white{--un-fill-opacity:1;fill:rgb(255 255 255 / var(--un-fill-opacity))}.p-2,.p2,[p-2=""],[p~="2"],[p2=""]{padding:.5rem}.p-2\.5{padding:.625rem}.p-3{padding:.75rem}.p-4,[p-4=""]{padding:1rem}.p-5,[p-5=""]{padding:1.25rem}.px,.px-4,[px-4=""],[px=""]{padding-left:1rem;padding-right:1rem}.px-0{padding-left:0;padding-right:0}.px-10,[px-10=""]{padding-left:2.5rem;padding-right:2.5rem}.px-2,.px2,[px-2=""],[px~="2"],[px2=""]{padding-left:.5rem;padding-right:.5rem}.px-3,[px-3=""]{padding-left:.75rem;padding-right:.75rem}.px-9{padding-left:2.25rem;padding-right:2.25rem}.py,.py-4,[py~="4"]{padding-top:1rem;padding-bottom:1rem}.py-1,.py1,[py-1=""],[py~="1"],[py1=""]{padding-top:.25rem;padding-bottom:.25rem}.py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.py-2,[py-2=""]{padding-top:.5rem;padding-bottom:.5rem}.py-2\.5{padding-top:.625rem;padding-bottom:.625rem}.py-3,[py-3=""]{padding-top:.75rem;padding-bottom:.75rem}.py-6,[py-6=""]{padding-top:1.5rem;padding-bottom:1.5rem}[px~="12"]{padding-left:3rem;padding-right:3rem}.pb-2,[pb-2=""]{padding-bottom:.5rem}.pb-4{padding-bottom:1rem}.pl-10{padding-left:2.5rem}.pl-3{padding-left:.75rem}.pl-5,[pl-5=""]{padding-left:1.25rem}.pr-\[20px\]{padding-right:20px}.pr-3{padding-right:.75rem}.pr-4,[pr-4=""]{padding-right:1rem}.pt-2,[pt-2=""]{padding-top:.5rem}.pt-4,[pt-4=""]{padding-top:1rem}.text-center{text-align:center}.text-left,[text-left=""]{text-align:left}.text-right,[text-right=""],[text~=right]{text-align:right}.text-wrap,[text-wrap=""]{text-wrap:wrap}.text-nowrap,[text-nowrap=""]{text-wrap:nowrap}.align-middle{vertical-align:middle}.text-2xl,[text-2xl=""],[text~="2xl"]{font-size:1.5rem;line-height:2rem}.text-3xl,[text-3xl=""]{font-size:1.875rem;line-height:2.25rem}.text-base,[text-base=""],[text~=base]{font-size:1rem;line-height:1.5rem}.text-lg,[text-lg=""],[text~=lg]{font-size:1.125rem;line-height:1.75rem}.text-sm,[text-sm=""],[text~=sm]{font-size:.875rem;line-height:1.25rem}.text-xl,[text-xl=""],[text~=xl]{font-size:1.25rem;line-height:1.75rem}.text-xs,[text-xs=""]{font-size:.75rem;line-height:1rem}[text~="40"]{font-size:10rem}.dark .dark\:text-amber-400{--un-text-opacity:1;color:rgb(251 191 36 / var(--un-text-opacity))}.dark .dark\:text-neutral-300,[text~=neutral-300]{--un-text-opacity:1;color:rgb(212 212 212 / var(--un-text-opacity))}.dark .dark\:text-neutral-400,.dark [text~="dark:neutral-400"],.text-neutral-400,[text~=neutral-400]{--un-text-opacity:1;color:rgb(163 163 163 / var(--un-text-opacity))}.dark .dark\:text-neutral-500,.dark [text~="dark:neutral-500"],.text-neutral-500,[text~=neutral-500]{--un-text-opacity:1;color:rgb(115 115 115 / var(--un-text-opacity))}.dark .dark\:text-neutral-600,.text-neutral-600{--un-text-opacity:1;color:rgb(82 82 82 / var(--un-text-opacity))}.dark .dark\:text-primary-400,.text-primary-400,[text~=primary-400]{--un-text-opacity:1;color:oklch(74% var(--theme-colors-chroma-400) calc(var(--theme-colors-hue) + 0) / var(--un-text-opacity))}.dark .dark\:text-primary-500,.text-primary-500{--un-text-opacity:1;color:oklch(62% var(--theme-colors-chroma) calc(var(--theme-colors-hue) + 0) / var(--un-text-opacity))}.dark .dark\:text-red-400{--un-text-opacity:1;color:rgb(248 113 113 / var(--un-text-opacity))}.dark .dark\:text-white,.dark [dark\:text-white=""],.dark [text~="dark:white"],.text-white,[text-white=""],[text~=white]{--un-text-opacity:1;color:rgb(255 255 255 / var(--un-text-opacity))}.dark .dark\:text-white\/50{color:#ffffff80}.dark .dark\:text-zinc-400,.dark [text~="dark:zinc-400"],.text-zinc-400,[text~=zinc-400]{--un-text-opacity:1;color:rgb(161 161 170 / var(--un-text-opacity))}.dark .dark\:text-zinc-600{--un-text-opacity:1;color:rgb(82 82 91 / var(--un-text-opacity))}.dark [text~="dark:[#905073]"]{--un-text-opacity:1;color:rgb(144 80 115 / var(--un-text-opacity))}.dark [text~="dark:cyan-600/90"]{color:#0891b2e6}.dark [text~="dark:gray-200"]{--un-text-opacity:1;color:rgb(229 231 235 / var(--un-text-opacity))}.dark [text~="dark:neutral-100"],[text~=neutral-100]{--un-text-opacity:1;color:rgb(245 245 245 / var(--un-text-opacity))}.dark [text~="dark:neutral-500/20"]{color:#73737333}.dark [text~="dark:neutral-600/50"]{color:#52525280}.dark [text~="dark:neutral-900"]{--un-text-opacity:1;color:rgb(23 23 23 / var(--un-text-opacity))}.dark [text~="dark:primary-300/50"]{color:oklch(85% var(--theme-colors-chroma-300) calc(var(--theme-colors-hue) + 0) / .5)}.dark [text~="dark:primary-600/90"]{color:oklch(54% var(--theme-colors-chroma-600) calc(var(--theme-colors-hue) + 0) / .9)}.dark [text~="dark:violet-600/90"]{color:#7c3aede6}.dark [text~="dark:zinc-100"]{--un-text-opacity:1;color:rgb(244 244 245 / var(--un-text-opacity))}.dark [text~="dark:zinc-200/80"]{color:#e4e4e7cc}.dark [text~="dark:zinc-500"],.text-zinc-500,[text~=zinc-500]{--un-text-opacity:1;color:rgb(113 113 122 / var(--un-text-opacity))}.text-amber-500{--un-text-opacity:1;color:rgb(245 158 11 / var(--un-text-opacity))}.text-amber-600{--un-text-opacity:1;color:rgb(217 119 6 / var(--un-text-opacity))}.text-black,[text-black=""]{--un-text-opacity:1;color:rgb(0 0 0 / var(--un-text-opacity))}.text-cyan,[text~=cyan-400]{--un-text-opacity:1;color:rgb(34 211 238 / var(--un-text-opacity))}.text-neutral-700{--un-text-opacity:1;color:rgb(64 64 64 / var(--un-text-opacity))}.text-primary-300,[text~=primary-300]{--un-text-opacity:1;color:oklch(85% var(--theme-colors-chroma-300) calc(var(--theme-colors-hue) + 0) / var(--un-text-opacity))}.text-primary-600,[text~=primary-600]{--un-text-opacity:1;color:oklch(54% var(--theme-colors-chroma-600) calc(var(--theme-colors-hue) + 0) / var(--un-text-opacity))}.text-red-500{--un-text-opacity:1;color:rgb(239 68 68 / var(--un-text-opacity))}.text-red-600{--un-text-opacity:1;color:rgb(220 38 38 / var(--un-text-opacity))}.text-violet-500,[text-violet-500=""]{--un-text-opacity:1;color:rgb(139 92 246 / var(--un-text-opacity))}[text~=complementary-400]{--un-text-opacity:1;color:oklch(74% var(--theme-colors-chroma-400) calc(var(--theme-colors-hue) + 180) / var(--un-text-opacity))}[text~="cyan-400/90"]{color:#22d3eee6}[text~=gray-700]{--un-text-opacity:1;color:rgb(55 65 81 / var(--un-text-opacity))}[text~="neutral-100/50"]{color:#f5f5f580}[text~="neutral-400/50"]{color:#a3a3a380}[text~=neutral-800]{--un-text-opacity:1;color:rgb(38 38 38 / var(--un-text-opacity))}[text~="primary-400/90"]{color:oklch(74% var(--theme-colors-chroma-400) calc(var(--theme-colors-hue) + 0) / .9)}[text~="violet-400/90"]{color:#a78bfae6}[text~=zinc-800]{--un-text-opacity:1;color:rgb(39 39 42 / var(--un-text-opacity))}[text~="zinc-800/80"]{color:#27272acc}.dark .dark\:hover\:text-neutral-200:hover{--un-text-opacity:1;color:rgb(229 229 229 / var(--un-text-opacity))}.dark [text~="dark:hover:primary-500"]:hover{--un-text-opacity:1;color:oklch(62% var(--theme-colors-chroma) calc(var(--theme-colors-hue) + 0) / var(--un-text-opacity))}.dark [text~="dark:hover:primary-600"]:hover{--un-text-opacity:1;color:oklch(54% var(--theme-colors-chroma-600) calc(var(--theme-colors-hue) + 0) / var(--un-text-opacity))}.hover\:text-neutral-700:hover{--un-text-opacity:1;color:rgb(64 64 64 / var(--un-text-opacity))}.hover\:text-red-600:hover{--un-text-opacity:1;color:rgb(220 38 38 / var(--un-text-opacity))}[text~="hover:primary-500"]:hover{--un-text-opacity:1;color:oklch(62% var(--theme-colors-chroma) calc(var(--theme-colors-hue) + 0) / var(--un-text-opacity))}[text~="hover:primary-600"]:hover{--un-text-opacity:1;color:oklch(54% var(--theme-colors-chroma-600) calc(var(--theme-colors-hue) + 0) / var(--un-text-opacity))}.dark [text~="placeholder:dark:[#905073]"]::placeholder{--un-text-opacity:1;color:rgb(144 80 115 / var(--un-text-opacity))}.dark [text~="placeholder:dark:hover:primary-500"]:hover::placeholder{--un-text-opacity:1;color:oklch(62% var(--theme-colors-chroma) calc(var(--theme-colors-hue) + 0) / var(--un-text-opacity))}.dark [text~="placeholder:dark:hover:primary-600"]:hover::placeholder{--un-text-opacity:1;color:oklch(54% var(--theme-colors-chroma-600) calc(var(--theme-colors-hue) + 0) / var(--un-text-opacity))}.dark [text~="placeholder:dark:primary-300/50"]::placeholder{color:oklch(85% var(--theme-colors-chroma-300) calc(var(--theme-colors-hue) + 0) / .5)}[text~="placeholder:hover:primary-500"]:hover::placeholder{--un-text-opacity:1;color:oklch(62% var(--theme-colors-chroma) calc(var(--theme-colors-hue) + 0) / var(--un-text-opacity))}[text~="placeholder:hover:primary-600"]:hover::placeholder{--un-text-opacity:1;color:oklch(54% var(--theme-colors-chroma-600) calc(var(--theme-colors-hue) + 0) / var(--un-text-opacity))}[text~="placeholder:primary-300"]::placeholder{--un-text-opacity:1;color:oklch(85% var(--theme-colors-chroma-300) calc(var(--theme-colors-hue) + 0) / var(--un-text-opacity))}[text~="placeholder:primary-400"]::placeholder{--un-text-opacity:1;color:oklch(74% var(--theme-colors-chroma-400) calc(var(--theme-colors-hue) + 0) / var(--un-text-opacity))}.font-bold,[font-bold=""]{font-weight:700}.font-medium,[font-medium=""]{font-weight:500}.font-semibold,[font-semibold=""]{font-weight:600}.font-cute,[font-cute=""]{font-family:Kiwi Maru}.font-cuteen,[font-cuteen=""]{font-family:Sniglet}.font-mono,[font-mono=""]{font-family:DM Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.font-sans,[font-sans=""]{font-family:DM Sans,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji"}.tab,[aria-checked~=tab][aria-checked=true],[tab=""]{-moz-tab-size:4;-o-tab-size:4;tab-size:4}[checked~=tab]:checked{-moz-tab-size:4;-o-tab-size:4;tab-size:4}.\[\&\:checked\+div_\.radio-dot\]\:opacity-100:checked+div .radio-dot,.opacity-100{opacity:1}.op50,.opacity-50,[op50=""]{opacity:.5}.opacity-0{opacity:0}.opacity-25{opacity:.25}.opacity-60{opacity:.6}.focus\:opacity-50:focus{opacity:.5}.disabled\:opacity-50:disabled{opacity:.5}.dark [shadow~="dark:none"]{--un-shadow:0 0 var(--un-shadow-color, rgb(0 0 0 / 0));box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow)}.shadow{--un-shadow:var(--un-shadow-inset) 0 1px 3px 0 var(--un-shadow-color, rgb(0 0 0 / .1)),var(--un-shadow-inset) 0 1px 2px -1px var(--un-shadow-color, rgb(0 0 0 / .1));box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow)}.shadow-md,[shadow~=md]{--un-shadow:var(--un-shadow-inset) 0 4px 6px -1px var(--un-shadow-color, rgb(0 0 0 / .1)),var(--un-shadow-inset) 0 2px 4px -2px var(--un-shadow-color, rgb(0 0 0 / .1));box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow)}.shadow-sm,[shadow-sm=""]{--un-shadow:var(--un-shadow-inset) 0 1px 2px 0 var(--un-shadow-color, rgb(0 0 0 / .05));box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow)}[shadow~="cyan-200/50"]{--un-shadow-color:rgb(165 243 252 / .5) }[shadow~="primary-200/50"]{--un-shadow-color:oklch(90% var(--theme-colors-chroma-200) calc(var(--theme-colors-hue) + 0) / .5) }[shadow~="violet-200/50"]{--un-shadow-color:rgb(221 214 254 / .5) }.outline{outline-style:solid}.outline-none,[outline-none=""],[outline~=none]{outline:2px solid transparent;outline-offset:2px}.ring{--un-ring-width:3px;--un-ring-offset-shadow:var(--un-ring-inset) 0 0 0 var(--un-ring-offset-width) var(--un-ring-offset-color);--un-ring-shadow:var(--un-ring-inset) 0 0 0 calc(var(--un-ring-width) + var(--un-ring-offset-width)) var(--un-ring-color);box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow)}[ring~="0"]{--un-ring-width:0px;--un-ring-offset-shadow:var(--un-ring-inset) 0 0 0 var(--un-ring-offset-width) var(--un-ring-offset-color);--un-ring-shadow:var(--un-ring-inset) 0 0 0 calc(var(--un-ring-width) + var(--un-ring-offset-width)) var(--un-ring-color);box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow)}[ring~="focus:2"]:focus{--un-ring-width:2px;--un-ring-offset-shadow:var(--un-ring-inset) 0 0 0 var(--un-ring-offset-width) var(--un-ring-offset-color);--un-ring-shadow:var(--un-ring-inset) 0 0 0 calc(var(--un-ring-width) + var(--un-ring-offset-width)) var(--un-ring-color);box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow)}[ring~="focus:offset-0"]:focus{--un-ring-offset-width:0px}.dark [ring~="dark:focus:primary-400"]:focus{--un-ring-opacity:1;--un-ring-color:oklch(74% var(--theme-colors-chroma-400) calc(var(--theme-colors-hue) + 0) / var(--un-ring-opacity)) }[ring~="focus:primary-500"]:focus{--un-ring-opacity:1;--un-ring-color:oklch(62% var(--theme-colors-chroma) calc(var(--theme-colors-hue) + 0) / var(--un-ring-opacity)) }[ring~="focus:opacity-50"]:focus{--un-ring-opacity:.5}.backdrop-blur-sm,[backdrop-blur-sm=""]{--un-backdrop-blur:blur(4px);-webkit-backdrop-filter:var(--un-backdrop-blur) var(--un-backdrop-brightness) var(--un-backdrop-contrast) var(--un-backdrop-grayscale) var(--un-backdrop-hue-rotate) var(--un-backdrop-invert) var(--un-backdrop-opacity) var(--un-backdrop-saturate) var(--un-backdrop-sepia);backdrop-filter:var(--un-backdrop-blur) var(--un-backdrop-brightness) var(--un-backdrop-contrast) var(--un-backdrop-grayscale) var(--un-backdrop-hue-rotate) var(--un-backdrop-invert) var(--un-backdrop-opacity) var(--un-backdrop-saturate) var(--un-backdrop-sepia)}.backdrop-blur-xl,[backdrop-blur-xl=""]{--un-backdrop-blur:blur(24px);-webkit-backdrop-filter:var(--un-backdrop-blur) var(--un-backdrop-brightness) var(--un-backdrop-contrast) var(--un-backdrop-grayscale) var(--un-backdrop-hue-rotate) var(--un-backdrop-invert) var(--un-backdrop-opacity) var(--un-backdrop-saturate) var(--un-backdrop-sepia);backdrop-filter:var(--un-backdrop-blur) var(--un-backdrop-brightness) var(--un-backdrop-contrast) var(--un-backdrop-grayscale) var(--un-backdrop-hue-rotate) var(--un-backdrop-invert) var(--un-backdrop-opacity) var(--un-backdrop-saturate) var(--un-backdrop-sepia)}.blur{--un-blur:blur(8px);filter:var(--un-blur) var(--un-brightness) var(--un-contrast) var(--un-drop-shadow) var(--un-grayscale) var(--un-hue-rotate) var(--un-invert) var(--un-saturate) var(--un-sepia)}.drop-shadow{--un-drop-shadow:drop-shadow(0 1px 2px var(--un-drop-shadow-color, rgb(0 0 0 / .1))) drop-shadow(0 1px 1px var(--un-drop-shadow-color, rgb(0 0 0 / .06)));filter:var(--un-blur) var(--un-brightness) var(--un-contrast) var(--un-drop-shadow) var(--un-grayscale) var(--un-hue-rotate) var(--un-invert) var(--un-saturate) var(--un-sepia)}[drop-shadow~=none],.dark [drop-shadow~="dark:hover:none"]:hover{--un-drop-shadow:drop-shadow(0 0 var(--un-drop-shadow-color, rgb(0 0 0 / 0)));filter:var(--un-blur) var(--un-brightness) var(--un-contrast) var(--un-drop-shadow) var(--un-grayscale) var(--un-hue-rotate) var(--un-invert) var(--un-saturate) var(--un-sepia)}[drop-shadow~="hover:[0px_4px_4px_rgba(220,220,220,0.4)]"]:hover{--un-drop-shadow:drop-shadow(0px 4px 4px rgba(220,220,220,.4));filter:var(--un-blur) var(--un-brightness) var(--un-contrast) var(--un-drop-shadow) var(--un-grayscale) var(--un-hue-rotate) var(--un-invert) var(--un-saturate) var(--un-sepia)}[drop-shadow~="active:[0px_0px_0px_rgba(220,220,220,0.25)]"]:active{--un-drop-shadow:drop-shadow(0px 0px 0px rgba(220,220,220,.25));filter:var(--un-blur) var(--un-brightness) var(--un-contrast) var(--un-drop-shadow) var(--un-grayscale) var(--un-hue-rotate) var(--un-invert) var(--un-saturate) var(--un-sepia)}.\[\&_\.provider-icon\]\:grayscale-100 .provider-icon,.grayscale-100,[grayscale-100=""]{--un-grayscale:grayscale(1);filter:var(--un-blur) var(--un-brightness) var(--un-contrast) var(--un-drop-shadow) var(--un-grayscale) var(--un-hue-rotate) var(--un-invert) var(--un-saturate) var(--un-sepia)}.\[\&_\.provider-icon\]\:hover\:grayscale-0:hover .provider-icon{--un-grayscale:grayscale(0);filter:var(--un-blur) var(--un-brightness) var(--un-contrast) var(--un-drop-shadow) var(--un-grayscale) var(--un-hue-rotate) var(--un-invert) var(--un-saturate) var(--un-sepia)}.filter{filter:var(--un-blur) var(--un-brightness) var(--un-contrast) var(--un-drop-shadow) var(--un-grayscale) var(--un-hue-rotate) var(--un-invert) var(--un-saturate) var(--un-sepia)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all,[transition~=all]{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors,[transition~=colors]{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform,[transition~=transform]{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}[transition~=border]{transition-property:border;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}[transition~=filter]{transition-property:filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}[transition~="placeholder:all"]::placeholder{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.after\:transition-all:after{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-200,[transition~=duration-200]{transition-duration:.2s}.duration-250,[duration-250=""],[duration~="250"],[transition~=duration-250]{transition-duration:.25s}.duration-400,[transition~=duration-400]{transition-duration:.4s}.duration-500,[transition~=duration-500]{transition-duration:.5s}[duration~="10"]{transition-duration:10ms}[duration~="100"]{transition-duration:.1s}.placeholder\:duration-250::placeholder{transition-duration:.25s}[placeholder\:duration-250=""]::placeholder{transition-duration:.25s}[transition~="placeholder:duration-250"]::placeholder{transition-duration:.25s}[delay~="100"]{transition-delay:.1s}[delay~="150"]{transition-delay:.15s}[delay~="200"]{transition-delay:.2s}[delay~="250"]{transition-delay:.25s}[delay~="300"]{transition-delay:.3s}[delay~="50"]{transition-delay:50ms}.ease,.ease-in-out,[ease-in-out=""],[transition~=ease-in-out]{transition-timing-function:cubic-bezier(.4,0,.2,1)}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}.placeholder\:ease-in-out::placeholder{transition-timing-function:cubic-bezier(.4,0,.2,1)}[transition~="placeholder:ease-in-out"]::placeholder{transition-timing-function:cubic-bezier(.4,0,.2,1)}.after\:content-\[\'\'\]:after{content:""}.bg-dotted-\[neutral-200\/80\]{background-image:radial-gradient(circle at 1px 1px,rgb(229 229 229 / var(--un-background-opacity)) 1px,transparent 0);--un-background-opacity:.8}.dark .dark\:bg-dotted-\[neutral-700\/50\]{background-image:radial-gradient(circle at 1px 1px,rgb(64 64 64 / var(--un-background-opacity)) 1px,transparent 0);--un-background-opacity:.5}.dark .dark\:hover\:bg-dotted-\[primary-200\/20\]:hover{background-image:radial-gradient(circle at 1px 1px,oklch(90% var(--theme-colors-chroma-200) calc(var(--theme-colors-hue) + 0) / var(--un-background-opacity)) 1px,transparent 0);--un-background-opacity:.2}.hover\:bg-dotted-\[primary-300\/50\]:hover{background-image:radial-gradient(circle at 1px 1px,oklch(85% var(--theme-colors-chroma-300) calc(var(--theme-colors-hue) + 0) / var(--un-background-opacity)) 1px,transparent 0);--un-background-opacity:.5}@media (max-width: 1023.9px){[min-w~="l.value+n.value*2),x=C(()=>{const i=` +import"./Stage.vue_vue_type_style_index_0_scoped_cad77b27_lang-BvkGrZE5.js";import{_ as D,c as L,o as g,f as y,d as A,g as a,h as C,w as j,a as c,n as z,i as N,j as P,k as I,b as o,e as S}from"./index-CGdx-Gsw.js";import{_ as V,M as E,W as F,I as Z,a as q}from"./MobileInteractiveArea.vue_vue_type_script_setup_true_lang-BLy5yAnV.js";import{b as M}from"./route-block-B_A1xBdJ.js";import"./index-DR07td9u.js";import"./providers-ztBzqPgb.js";import"./queue-6CGaUIQf.js";import"./queues-DxSAefs-.js";import"./speech-Bm3HIPgP.js";import"./Live2DSettings.vue_vue_type_script_setup_true_lang-ConbZwCE.js";import"./Collapsable.vue_vue_type_script_setup_true_lang-t6VABIns.js";import"./TransitionVertical.vue_vue_type_script_setup_true_lang-DIGllfwe.js";import"./HeaderLink-C4uzPeCq.js";import"./consciousness-DlNDB_GZ.js";import"./index-DeVJLqDu.js";const G={},J={class:"cross-background-container"};function K(s,e){return g(),L("div",J,[y(s.$slots,"default",{},void 0,!0)])}const Q=D(G,[["render",K],["__scopeId","data-v-0a776b22"]]),R={class:"relative"},T={absolute:"","left-0":"","right-0":"","top-0":"","w-full":"","overflow-hidden":""},U=A({__name:"AnimatedWave",props:{height:{default:40},amplitude:{default:14},waveLength:{default:250},fillColor:{default:"oklch(95% 0.10 var(--theme-colors-hue))"},direction:{default:"down"},movementDirection:{default:"left"},animationSpeed:{default:50}},setup(s){const e=s,l=a(e.height),n=a(e.amplitude),t=a(e.waveLength),u=a(e.fillColor),w=a(e.direction),$=a(e.movementDirection);function B(i,v,h,f,p){const r=[],k=Math.ceil(i/f)*f,O=1,_=p==="up"?h:v-h;r.push(`M 0 ${_}`);const H=Math.PI*2/f;for(let d=0;d<=k;d+=O){const W=h*Math.sin(H*d),Y=p==="up"?_-W:_+W;r.push(`L ${d} ${Y}`)}const b=p==="up"?v:0;return r.push(`L ${k} ${b}`),r.push(`L 0 ${b} Z`),r.join(" ")}const m=C(()=>l.value+n.value*2),x=C(()=>{const i=` `;return`url(data:image/svg+xml;base64,${btoa(i)})`});return j(()=>[e.height,e.amplitude,e.waveLength,e.fillColor,e.direction,e.movementDirection],()=>{l.value=e.height,n.value=e.amplitude,t.value=e.waveLength,u.value=e.fillColor,w.value=e.direction,$.value=e.movementDirection},{immediate:!0}),(i,v)=>(g(),L("div",R,[y(i.$slots,"default",{},void 0,!0),c("div",T,[c("div",{class:"wave",style:z({background:u.value,height:`${m.value}px`,maskImage:x.value,WebkitMaskImage:x.value,"--wave-translate":`${-t.value}px`,"--animation-duration":`${t.value/s.animationSpeed}s`,"animation-direction":$.value==="left"?"normal":"reverse"})},null,4)])]))}}),X=D(U,[["__scopeId","data-v-d4cf94d8"]]),ee={relative:"",flex:"~ col","z-2":"","h-100vh":"","w-100vw":"","of-hidden":""},te={relative:"",flex:"~ 1 row gap-y-0 gap-x-2 (g(),P(Q,null,{default:I(()=>[o(X,{"fill-color":S(e)?"oklch(35% calc(var(--theme-colors-chroma) * 0.6) var(--theme-colors-hue))":"color-mix(in srgb, oklch(95% calc(var(--theme-colors-chroma-50) * 0.5) var(--theme-colors-hue)) 80%, oklch(100% 0 360))"},{default:I(()=>[c("div",ee,[c("div",null,[o(V,{class:"flex ({x:e,y:e}),xn={left:"right",right:"left",bottom:"top",top:"bottom"},bn={start:"end",end:"start"};function Ue(e,t,n){return W(e,re(t,n))}function ee(e,t){return typeof e=="function"?e(t):e}function te(e){return e.split("-")[0]}function ye(e){return e.split("-")[1]}function Je(e){return e==="x"?"y":"x"}function Qe(e){return e==="y"?"height":"width"}function le(e){return["top","bottom"].includes(te(e))?"y":"x"}function Ze(e){return Je(le(e))}function wn(e,t,n){n===void 0&&(n=!1);const o=ye(e),i=Ze(e),r=Qe(i);let l=i==="x"?o===(n?"end":"start")?"right":"left":o==="start"?"bottom":"top";return t.reference[r]>t.floating[r]&&(l=Re(l)),[l,Re(l)]}function Cn(e){const t=Re(e);return[Ye(e),t,Ye(t)]}function Ye(e){return e.replace(/start|end/g,t=>bn[t])}function An(e,t,n){const o=["left","right"],i=["right","left"],r=["top","bottom"],l=["bottom","top"];switch(e){case"top":case"bottom":return n?t?i:o:t?o:i;case"left":case"right":return t?r:l;default:return[]}}function On(e,t,n,o){const i=ye(e);let r=An(te(e),n==="start",o);return i&&(r=r.map(l=>l+"-"+i),t&&(r=r.concat(r.map(Ye)))),r}function Re(e){return e.replace(/left|right|bottom|top/g,t=>xn[t])}function En(e){return{top:0,right:0,bottom:0,left:0,...e}}function St(e){return typeof e!="number"?En(e):{top:e,right:e,bottom:e,left:e}}function _e(e){const{x:t,y:n,width:o,height:i}=e;return{width:o,height:i,top:n,left:t,right:t+o,bottom:n+i,x:t,y:n}}function pt(e,t,n){let{reference:o,floating:i}=e;const r=le(t),l=Ze(t),u=Qe(l),s=te(t),d=r==="y",a=o.x+o.width/2-i.width/2,c=o.y+o.height/2-i.height/2,m=o[u]/2-i[u]/2;let f;switch(s){case"top":f={x:a,y:o.y-i.height};break;case"bottom":f={x:a,y:o.y+o.height};break;case"right":f={x:o.x+o.width,y:c};break;case"left":f={x:o.x-i.width,y:c};break;default:f={x:o.x,y:o.y}}switch(ye(t)){case"start":f[l]-=m*(n&&d?-1:1);break;case"end":f[l]+=m*(n&&d?-1:1);break}return f}const Dn=async(e,t,n)=>{const{placement:o="bottom",strategy:i="absolute",middleware:r=[],platform:l}=n,u=r.filter(Boolean),s=await(l.isRTL==null?void 0:l.isRTL(t));let d=await l.getElementRects({reference:e,floating:t,strategy:i}),{x:a,y:c}=pt(d,o,s),m=o,f={},p=0;for(let g=0;g({name:"arrow",options:e,async fn(t){const{x:n,y:o,placement:i,rects:r,platform:l,elements:u,middlewareData:s}=t,{element:d,padding:a=0}=ee(e,t)||{};if(d==null)return{};const c=St(a),m={x:n,y:o},f=Ze(i),p=Qe(f),g=await l.getDimensions(d),v=f==="y",h=v?"top":"left",w=v?"bottom":"right",x=v?"clientHeight":"clientWidth",A=r.reference[p]+r.reference[f]-m[f]-r.floating[p],C=m[f]-r.reference[f],k=await(l.getOffsetParent==null?void 0:l.getOffsetParent(d));let E=k?k[x]:0;(!E||!await(l.isElement==null?void 0:l.isElement(k)))&&(E=u.floating[x]||r.floating[p]);const B=A/2-C/2,L=E/2-g[p]/2-1,D=re(c[h],L),j=re(c[w],L),M=D,H=E-g[p]-j,S=E/2-g[p]/2+B,ne=Ue(M,S,H),N=!s.arrow&&ye(i)!=null&&S!==ne&&r.reference[p]/2-(SS<=0)){var j,M;const S=(((j=r.flip)==null?void 0:j.index)||0)+1,ne=E[S];if(ne)return{data:{index:S,overflows:D},reset:{placement:ne}};let N=(M=D.filter(G=>G.overflows[0]<=0).sort((G,oe)=>G.overflows[1]-oe.overflows[1])[0])==null?void 0:M.placement;if(!N)switch(f){case"bestFit":{var H;const G=(H=D.filter(oe=>{if(k){const ie=le(oe.placement);return ie===w||ie==="y"}return!0}).map(oe=>[oe.placement,oe.overflows.filter(ie=>ie>0).reduce((ie,Gt)=>ie+Gt,0)]).sort((oe,ie)=>oe[1]-ie[1])[0])==null?void 0:H[0];G&&(N=G);break}case"initialPlacement":N=u;break}if(i!==N)return{reset:{placement:N}}}return{}}}};function mt(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function vt(e){return yn.some(t=>e[t]>=0)}const kn=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:o="referenceHidden",...i}=ee(e,t);switch(o){case"referenceHidden":{const r=await be(t,{...i,elementContext:"reference"}),l=mt(r,n.reference);return{data:{referenceHiddenOffsets:l,referenceHidden:vt(l)}}}case"escaped":{const r=await be(t,{...i,altBoundary:!0}),l=mt(r,n.floating);return{data:{escapedOffsets:l,escaped:vt(l)}}}default:return{}}}}};async function Bn(e,t){const{placement:n,platform:o,elements:i}=e,r=await(o.isRTL==null?void 0:o.isRTL(i.floating)),l=te(n),u=ye(n),s=le(n)==="y",d=["left","top"].includes(l)?-1:1,a=r&&s?-1:1,c=ee(t,e);let{mainAxis:m,crossAxis:f,alignmentAxis:p}=typeof c=="number"?{mainAxis:c,crossAxis:0,alignmentAxis:null}:{mainAxis:c.mainAxis||0,crossAxis:c.crossAxis||0,alignmentAxis:c.alignmentAxis};return u&&typeof p=="number"&&(f=u==="end"?p*-1:p),s?{x:f*a,y:m*d}:{x:m*d,y:f*a}}const Sn=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,o;const{x:i,y:r,placement:l,middlewareData:u}=t,s=await Bn(t,e);return l===((n=u.offset)==null?void 0:n.placement)&&(o=u.arrow)!=null&&o.alignmentOffset?{}:{x:i+s.x,y:r+s.y,data:{...s,placement:l}}}}},Rn=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:o,placement:i}=t,{mainAxis:r=!0,crossAxis:l=!1,limiter:u={fn:v=>{let{x:h,y:w}=v;return{x:h,y:w}}},...s}=ee(e,t),d={x:n,y:o},a=await be(t,s),c=le(te(i)),m=Je(c);let f=d[m],p=d[c];if(r){const v=m==="y"?"top":"left",h=m==="y"?"bottom":"right",w=f+a[v],x=f-a[h];f=Ue(w,f,x)}if(l){const v=c==="y"?"top":"left",h=c==="y"?"bottom":"right",w=p+a[v],x=p-a[h];p=Ue(w,p,x)}const g=u.fn({...t,[m]:f,[c]:p});return{...g,data:{x:g.x-n,y:g.y-o,enabled:{[m]:r,[c]:l}}}}}},_n=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:o,placement:i,rects:r,middlewareData:l}=t,{offset:u=0,mainAxis:s=!0,crossAxis:d=!0}=ee(e,t),a={x:n,y:o},c=le(i),m=Je(c);let f=a[m],p=a[c];const g=ee(u,t),v=typeof g=="number"?{mainAxis:g,crossAxis:0}:{mainAxis:0,crossAxis:0,...g};if(s){const x=m==="y"?"height":"width",A=r.reference[m]-r.floating[x]+v.mainAxis,C=r.reference[m]+r.reference[x]-v.mainAxis;fC&&(f=C)}if(d){var h,w;const x=m==="y"?"width":"height",A=["top","left"].includes(te(i)),C=r.reference[c]-r.floating[x]+(A&&((h=l.offset)==null?void 0:h[c])||0)+(A?0:v.crossAxis),k=r.reference[c]+r.reference[x]+(A?0:((w=l.offset)==null?void 0:w[c])||0)-(A?v.crossAxis:0);pk&&(p=k)}return{[m]:f,[c]:p}}}},$n=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,o;const{placement:i,rects:r,platform:l,elements:u}=t,{apply:s=()=>{},...d}=ee(e,t),a=await be(t,d),c=te(i),m=ye(i),f=le(i)==="y",{width:p,height:g}=r.floating;let v,h;c==="top"||c==="bottom"?(v=c,h=m===(await(l.isRTL==null?void 0:l.isRTL(u.floating))?"start":"end")?"left":"right"):(h=c,v=m==="end"?"top":"bottom");const w=g-a.top-a.bottom,x=p-a.left-a.right,A=re(g-a[v],w),C=re(p-a[h],x),k=!t.middlewareData.shift;let E=A,B=C;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(B=x),(o=t.middlewareData.shift)!=null&&o.enabled.y&&(E=w),k&&!m){const D=W(a.left,0),j=W(a.right,0),M=W(a.top,0),H=W(a.bottom,0);f?B=p-2*(D!==0||j!==0?D+j:W(a.left,a.right)):E=g-2*(M!==0||H!==0?M+H:W(a.top,a.bottom))}await s({...t,availableWidth:B,availableHeight:E});const L=await l.getDimensions(u.floating);return p!==L.width||g!==L.height?{reset:{rects:!0}}:{}}}};function Ne(){return typeof window<"u"}function de(e){return et(e)?(e.nodeName||"").toLowerCase():"#document"}function z(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function J(e){var t;return(t=(et(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function et(e){return Ne()?e instanceof Node||e instanceof z(e).Node:!1}function U(e){return Ne()?e instanceof Element||e instanceof z(e).Element:!1}function q(e){return Ne()?e instanceof HTMLElement||e instanceof z(e).HTMLElement:!1}function ht(e){return!Ne()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof z(e).ShadowRoot}function Ce(e){const{overflow:t,overflowX:n,overflowY:o,display:i}=Y(e);return/auto|scroll|overlay|hidden|clip/.test(t+o+n)&&!["inline","contents"].includes(i)}function Ln(e){return["table","td","th"].includes(de(e))}function Fe(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch{return!1}})}function tt(e){const t=nt(),n=U(e)?Y(e):e;return["transform","translate","scale","rotate","perspective"].some(o=>n[o]?n[o]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||["transform","translate","scale","rotate","perspective","filter"].some(o=>(n.willChange||"").includes(o))||["paint","layout","strict","content"].some(o=>(n.contain||"").includes(o))}function Mn(e){let t=ae(e);for(;q(t)&&!he(t);){if(tt(t))return t;if(Fe(t))return null;t=ae(t)}return null}function nt(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function he(e){return["html","body","#document"].includes(de(e))}function Y(e){return z(e).getComputedStyle(e)}function He(e){return U(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function ae(e){if(de(e)==="html")return e;const t=e.assignedSlot||e.parentNode||ht(e)&&e.host||J(e);return ht(t)?t.host:t}function Rt(e){const t=ae(e);return he(t)?e.ownerDocument?e.ownerDocument.body:e.body:q(t)&&Ce(t)?t:Rt(t)}function we(e,t,n){var o;t===void 0&&(t=[]),n===void 0&&(n=!0);const i=Rt(e),r=i===((o=e.ownerDocument)==null?void 0:o.body),l=z(i);if(r){const u=Ge(l);return t.concat(l,l.visualViewport||[],Ce(i)?i:[],u&&n?we(u):[])}return t.concat(i,we(i,[],n))}function Ge(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function _t(e){const t=Y(e);let n=parseFloat(t.width)||0,o=parseFloat(t.height)||0;const i=q(e),r=i?e.offsetWidth:n,l=i?e.offsetHeight:o,u=Se(n)!==r||Se(o)!==l;return u&&(n=r,o=l),{width:n,height:o,$:u}}function ot(e){return U(e)?e:e.contextElement}function ve(e){const t=ot(e);if(!q(t))return X(1);const n=t.getBoundingClientRect(),{width:o,height:i,$:r}=_t(t);let l=(r?Se(n.width):n.width)/o,u=(r?Se(n.height):n.height)/i;return(!l||!Number.isFinite(l))&&(l=1),(!u||!Number.isFinite(u))&&(u=1),{x:l,y:u}}const Nn=X(0);function $t(e){const t=z(e);return!nt()||!t.visualViewport?Nn:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Fn(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==z(e)?!1:t}function ce(e,t,n,o){t===void 0&&(t=!1),n===void 0&&(n=!1);const i=e.getBoundingClientRect(),r=ot(e);let l=X(1);t&&(o?U(o)&&(l=ve(o)):l=ve(e));const u=Fn(r,n,o)?$t(r):X(0);let s=(i.left+u.x)/l.x,d=(i.top+u.y)/l.y,a=i.width/l.x,c=i.height/l.y;if(r){const m=z(r),f=o&&U(o)?z(o):o;let p=m,g=Ge(p);for(;g&&o&&f!==p;){const v=ve(g),h=g.getBoundingClientRect(),w=Y(g),x=h.left+(g.clientLeft+parseFloat(w.paddingLeft))*v.x,A=h.top+(g.clientTop+parseFloat(w.paddingTop))*v.y;s*=v.x,d*=v.y,a*=v.x,c*=v.y,s+=x,d+=A,p=z(g),g=Ge(p)}}return _e({width:a,height:c,x:s,y:d})}function it(e,t){const n=He(e).scrollLeft;return t?t.left+n:ce(J(e)).left+n}function Lt(e,t,n){n===void 0&&(n=!1);const o=e.getBoundingClientRect(),i=o.left+t.scrollLeft-(n?0:it(e,o)),r=o.top+t.scrollTop;return{x:i,y:r}}function Hn(e){let{elements:t,rect:n,offsetParent:o,strategy:i}=e;const r=i==="fixed",l=J(o),u=t?Fe(t.floating):!1;if(o===l||u&&r)return n;let s={scrollLeft:0,scrollTop:0},d=X(1);const a=X(0),c=q(o);if((c||!c&&!r)&&((de(o)!=="body"||Ce(l))&&(s=He(o)),q(o))){const f=ce(o);d=ve(o),a.x=f.x+o.clientLeft,a.y=f.y+o.clientTop}const m=l&&!c&&!r?Lt(l,s,!0):X(0);return{width:n.width*d.x,height:n.height*d.y,x:n.x*d.x-s.scrollLeft*d.x+a.x+m.x,y:n.y*d.y-s.scrollTop*d.y+a.y+m.y}}function Wn(e){return Array.from(e.getClientRects())}function zn(e){const t=J(e),n=He(e),o=e.ownerDocument.body,i=W(t.scrollWidth,t.clientWidth,o.scrollWidth,o.clientWidth),r=W(t.scrollHeight,t.clientHeight,o.scrollHeight,o.clientHeight);let l=-n.scrollLeft+it(e);const u=-n.scrollTop;return Y(o).direction==="rtl"&&(l+=W(t.clientWidth,o.clientWidth)-i),{width:i,height:r,x:l,y:u}}function In(e,t){const n=z(e),o=J(e),i=n.visualViewport;let r=o.clientWidth,l=o.clientHeight,u=0,s=0;if(i){r=i.width,l=i.height;const d=nt();(!d||d&&t==="fixed")&&(u=i.offsetLeft,s=i.offsetTop)}return{width:r,height:l,x:u,y:s}}function Vn(e,t){const n=ce(e,!0,t==="fixed"),o=n.top+e.clientTop,i=n.left+e.clientLeft,r=q(e)?ve(e):X(1),l=e.clientWidth*r.x,u=e.clientHeight*r.y,s=i*r.x,d=o*r.y;return{width:l,height:u,x:s,y:d}}function gt(e,t,n){let o;if(t==="viewport")o=In(e,n);else if(t==="document")o=zn(J(e));else if(U(t))o=Vn(t,n);else{const i=$t(e);o={x:t.x-i.x,y:t.y-i.y,width:t.width,height:t.height}}return _e(o)}function Mt(e,t){const n=ae(e);return n===t||!U(n)||he(n)?!1:Y(n).position==="fixed"||Mt(n,t)}function jn(e,t){const n=t.get(e);if(n)return n;let o=we(e,[],!1).filter(u=>U(u)&&de(u)!=="body"),i=null;const r=Y(e).position==="fixed";let l=r?ae(e):e;for(;U(l)&&!he(l);){const u=Y(l),s=tt(l);!s&&u.position==="fixed"&&(i=null),(r?!s&&!i:!s&&u.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||Ce(l)&&!s&&Mt(e,l))?o=o.filter(a=>a!==l):i=u,l=ae(l)}return t.set(e,o),o}function Un(e){let{element:t,boundary:n,rootBoundary:o,strategy:i}=e;const l=[...n==="clippingAncestors"?Fe(t)?[]:jn(t,this._c):[].concat(n),o],u=l[0],s=l.reduce((d,a)=>{const c=gt(t,a,i);return d.top=W(c.top,d.top),d.right=re(c.right,d.right),d.bottom=re(c.bottom,d.bottom),d.left=W(c.left,d.left),d},gt(t,u,i));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}}function Yn(e){const{width:t,height:n}=_t(e);return{width:t,height:n}}function Gn(e,t,n){const o=q(t),i=J(t),r=n==="fixed",l=ce(e,!0,r,t);let u={scrollLeft:0,scrollTop:0};const s=X(0);if(o||!o&&!r)if((de(t)!=="body"||Ce(i))&&(u=He(t)),o){const m=ce(t,!0,r,t);s.x=m.x+t.clientLeft,s.y=m.y+t.clientTop}else i&&(s.x=it(i));const d=i&&!o&&!r?Lt(i,u):X(0),a=l.left+u.scrollLeft-s.x-d.x,c=l.top+u.scrollTop-s.y-d.y;return{x:a,y:c,width:l.width,height:l.height}}function je(e){return Y(e).position==="static"}function yt(e,t){if(!q(e)||Y(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return J(e)===n&&(n=n.ownerDocument.body),n}function Nt(e,t){const n=z(e);if(Fe(e))return n;if(!q(e)){let i=ae(e);for(;i&&!he(i);){if(U(i)&&!je(i))return i;i=ae(i)}return n}let o=yt(e,t);for(;o&&Ln(o)&&je(o);)o=yt(o,t);return o&&he(o)&&je(o)&&!tt(o)?n:o||Mn(e)||n}const Kn=async function(e){const t=this.getOffsetParent||Nt,n=this.getDimensions,o=await n(e.floating);return{reference:Gn(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function Xn(e){return Y(e).direction==="rtl"}const qn={convertOffsetParentRelativeRectToViewportRelativeRect:Hn,getDocumentElement:J,getClippingRect:Un,getOffsetParent:Nt,getElementRects:Kn,getClientRects:Wn,getDimensions:Yn,getScale:ve,isElement:U,isRTL:Xn};function Ft(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Jn(e,t){let n=null,o;const i=J(e);function r(){var u;clearTimeout(o),(u=n)==null||u.disconnect(),n=null}function l(u,s){u===void 0&&(u=!1),s===void 0&&(s=1),r();const d=e.getBoundingClientRect(),{left:a,top:c,width:m,height:f}=d;if(u||t(),!m||!f)return;const p=De(c),g=De(i.clientWidth-(a+m)),v=De(i.clientHeight-(c+f)),h=De(a),x={rootMargin:-p+"px "+-g+"px "+-v+"px "+-h+"px",threshold:W(0,re(1,s))||1};let A=!0;function C(k){const E=k[0].intersectionRatio;if(E!==s){if(!A)return l();E?l(!1,E):o=setTimeout(()=>{l(!1,1e-7)},1e3)}E===1&&!Ft(d,e.getBoundingClientRect())&&l(),A=!1}try{n=new IntersectionObserver(C,{...x,root:i.ownerDocument})}catch{n=new IntersectionObserver(C,x)}n.observe(e)}return l(!0),r}function Qn(e,t,n,o){o===void 0&&(o={});const{ancestorScroll:i=!0,ancestorResize:r=!0,elementResize:l=typeof ResizeObserver=="function",layoutShift:u=typeof IntersectionObserver=="function",animationFrame:s=!1}=o,d=ot(e),a=i||r?[...d?we(d):[],...we(t)]:[];a.forEach(h=>{i&&h.addEventListener("scroll",n,{passive:!0}),r&&h.addEventListener("resize",n)});const c=d&&u?Jn(d,n):null;let m=-1,f=null;l&&(f=new ResizeObserver(h=>{let[w]=h;w&&w.target===d&&f&&(f.unobserve(t),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{var x;(x=f)==null||x.observe(t)})),n()}),d&&!s&&f.observe(d),f.observe(t));let p,g=s?ce(e):null;s&&v();function v(){const h=ce(e);g&&!Ft(g,h)&&n(),g=h,p=requestAnimationFrame(v)}return n(),()=>{var h;a.forEach(w=>{i&&w.removeEventListener("scroll",n),r&&w.removeEventListener("resize",n)}),c==null||c(),(h=f)==null||h.disconnect(),f=null,s&&cancelAnimationFrame(p)}}const Zn=Sn,eo=Rn,xt=Tn,to=$n,no=kn,oo=Pn,io=_n,ro=(e,t,n)=>{const o=new Map,i={platform:qn,...n},r={...i.platform,_c:o};return Dn(e,t,{...i,platform:r})};function lo(e){return e!=null&&typeof e=="object"&&"$el"in e}function Ke(e){if(lo(e)){const t=e.$el;return et(t)&&de(t)==="#comment"?null:t}return e}function pe(e){return typeof e=="function"?e():y(e)}function ao(e){return{name:"arrow",options:e,fn(t){const n=Ke(pe(e.element));return n==null?{}:oo({element:n,padding:e.padding}).fn(t)}}}function Ht(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function bt(e,t){const n=Ht(e);return Math.round(t*n)/n}function so(e,t,n){n===void 0&&(n={});const o=n.whileElementsMounted,i=O(()=>{var E;return(E=pe(n.open))!=null?E:!0}),r=O(()=>pe(n.middleware)),l=O(()=>{var E;return(E=pe(n.placement))!=null?E:"bottom"}),u=O(()=>{var E;return(E=pe(n.strategy))!=null?E:"absolute"}),s=O(()=>{var E;return(E=pe(n.transform))!=null?E:!0}),d=O(()=>Ke(e.value)),a=O(()=>Ke(t.value)),c=P(0),m=P(0),f=P(u.value),p=P(l.value),g=wt({}),v=P(!1),h=O(()=>{const E={position:f.value,left:"0",top:"0"};if(!a.value)return E;const B=bt(a.value,c.value),L=bt(a.value,m.value);return s.value?{...E,transform:"translate("+B+"px, "+L+"px)",...Ht(a.value)>=1.5&&{willChange:"transform"}}:{position:f.value,left:B+"px",top:L+"px"}});let w;function x(){if(d.value==null||a.value==null)return;const E=i.value;ro(d.value,a.value,{middleware:r.value,placement:l.value,strategy:u.value}).then(B=>{c.value=B.x,m.value=B.y,f.value=B.strategy,p.value=B.placement,g.value=B.middlewareData,v.value=E!==!1})}function A(){typeof w=="function"&&(w(),w=void 0)}function C(){if(A(),o===void 0){x();return}if(d.value!=null&&a.value!=null){w=o(d.value,a.value,x);return}}function k(){i.value||(v.value=!1)}return K([r,l,u,i],x,{flush:"sync"}),K([d,a],C,{flush:"sync"}),K(i,k,{flush:"sync"}),Ct()&&At(A),{x:fe(c),y:fe(m),strategy:fe(f),placement:fe(p),middlewareData:fe(g),isPositioned:fe(v),floatingStyles:h,update:x}}function Ae(e,t){const n=typeof e=="string"&&!t?`${e}Context`:t,o=Symbol(n);return[i=>{const r=qt(o,i);if(r||r===null)return r;throw new Error(`Injection \`${o.toString()}\` not found. Component must be used within ${Array.isArray(e)?`one of the following components: ${e.join(", ")}`:`\`${e}\``}`)},i=>(dn(o,i),i)]}function Wt(e,t,n){const o=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),o.dispatchEvent(i)}function uo(e,t){var n;const o=wt();return Z(()=>{o.value=e()},{...t,flush:(n=void 0)!=null?n:"sync"}),Pt(o)}function We(e){return Ct()?(At(e),!0):!1}function co(){const e=new Set,t=n=>{e.delete(n)};return{on:n=>{e.add(n);const o=()=>t(n);return We(o),{off:o}},off:t,trigger:(...n)=>Promise.all(Array.from(e).map(o=>o(...n)))}}function fo(e){let t=!1,n;const o=cn(!0);return(...i)=>(t||(n=o.run(()=>e(...i)),t=!0),n)}function ue(e){return typeof e=="function"?e():y(e)}const Oe=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const po=e=>typeof e<"u",mo=Object.prototype.toString,vo=e=>mo.call(e)==="[object Object]",ho=()=>{};function go(e,t=1e4){return un((n,o)=>{let i=ue(e),r;const l=()=>setTimeout(()=>{i=ue(e),o()},ue(t));return We(()=>{clearTimeout(r)}),{get(){return n(),i},set(u){i=u,o(),clearTimeout(r),r=l()}}})}function zt(e,t,n={}){const{immediate:o=!0}=n,i=P(!1);let r=null;function l(){r&&(clearTimeout(r),r=null)}function u(){i.value=!1,l()}function s(...d){l(),i.value=!0,r=setTimeout(()=>{i.value=!1,r=null,e(...d)},ue(t))}return o&&(i.value=!0,Oe&&s()),We(u),{isPending:Pt(i),start:s,stop:u}}function ze(e){var t;const n=ue(e);return(t=n==null?void 0:n.$el)!=null?t:n}const rt=Oe?window:void 0;function Xe(...e){let t,n,o,i;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,o,i]=e,t=rt):[t,n,o,i]=e,!t)return ho;Array.isArray(n)||(n=[n]),Array.isArray(o)||(o=[o]);const r=[],l=()=>{r.forEach(a=>a()),r.length=0},u=(a,c,m,f)=>(a.addEventListener(c,m,f),()=>a.removeEventListener(c,m,f)),s=K(()=>[ze(t),ue(i)],([a,c])=>{if(l(),!a)return;const m=vo(c)?{...c}:c;r.push(...n.flatMap(f=>o.map(p=>u(a,f,p,m))))},{immediate:!0,flush:"post"}),d=()=>{s(),l()};return We(d),d}function yo(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function xo(...e){let t,n,o={};e.length===3?(t=e[0],n=e[1],o=e[2]):e.length===2?typeof e[1]=="object"?(t=!0,n=e[0],o=e[1]):(t=e[0],n=e[1]):(t=!0,n=e[0]);const{target:i=rt,eventName:r="keydown",passive:l=!1,dedupe:u=!1}=o,s=yo(t);return Xe(i,r,d=>{d.repeat&&ue(u)||s(d)&&n(d)},l)}function bo(){const e=P(!1),t=ge();return t&&$e(()=>{e.value=!0},t),e}function wo(e){return JSON.parse(JSON.stringify(e))}function Co(e,t,n,o={}){var i,r,l;const{clone:u=!1,passive:s=!1,eventName:d,deep:a=!1,defaultValue:c,shouldEmit:m}=o,f=ge(),p=n||(f==null?void 0:f.emit)||((i=f==null?void 0:f.$emit)==null?void 0:i.bind(f))||((l=(r=f==null?void 0:f.proxy)==null?void 0:r.$emit)==null?void 0:l.bind(f==null?void 0:f.proxy));let g=d;g=g||`update:${t.toString()}`;const v=x=>u?typeof u=="function"?u(x):wo(x):x,h=()=>po(e[t])?v(e[t]):c,w=x=>{m?m(x)&&p(g,x):p(g,x)};if(s){const x=h(),A=P(x);let C=!1;return K(()=>e[t],k=>{C||(C=!0,A.value=v(k),Le(()=>C=!1))}),K(A,k=>{!C&&(k!==e[t]||a)&&w(k)},{deep:a}),A}else return O({get(){return h()},set(x){w(x)}})}function lt(e){return e?e.flatMap(t=>t.type===Be?lt(t.children):[t]):[]}const[Ao,Mi]=Ae("ConfigProvider");function Oo(e){const t=ge(),n=t==null?void 0:t.type.emits,o={};return n!=null&&n.length||console.warn(`No emitted event found. Please check component: ${t==null?void 0:t.type.__name}`),n==null||n.forEach(i=>{o[on(Bt(i))]=(...r)=>e(i,...r)}),o}function It(e){const t=ge(),n=Object.keys((t==null?void 0:t.type.props)??{}).reduce((i,r)=>{const l=(t==null?void 0:t.type.props[r]).default;return l!==void 0&&(i[r]=l),i},{}),o=nn(e);return O(()=>{const i={},r=(t==null?void 0:t.vnode.props)??{};return Object.keys(r).forEach(l=>{i[Bt(l)]=r[l]}),Object.keys({...n,...i}).reduce((l,u)=>(o.value[u]!==void 0&&(l[u]=o.value[u]),l),{})})}function Eo(e,t){const n=It(e),o=t?Oo(t):{};return O(()=>({...n.value,...o}))}function I(){const e=ge(),t=P(),n=O(()=>{var l,u;return["#text","#comment"].includes((l=t.value)==null?void 0:l.$el.nodeName)?(u=t.value)==null?void 0:u.$el.nextElementSibling:ze(t)}),o=Object.assign({},e.exposed),i={};for(const l in e.props)Object.defineProperty(i,l,{enumerable:!0,configurable:!0,get:()=>e.props[l]});if(Object.keys(o).length>0)for(const l in o)Object.defineProperty(i,l,{enumerable:!0,configurable:!0,get:()=>o[l]});Object.defineProperty(i,"$el",{enumerable:!0,configurable:!0,get:()=>e.vnode.el}),e.exposed=i;function r(l){t.value=l,l&&(Object.defineProperty(i,"$el",{enumerable:!0,configurable:!0,get:()=>l instanceof Element?l:l.$el}),e.exposed=i)}return{forwardRef:r,currentRef:t,currentElement:n}}function Do(e,t){const n=go(!1,300),o=P(null),i=co();function r(){o.value=null,n.value=!1}function l(u,s){const d=u.currentTarget,a={x:u.clientX,y:u.clientY},c=Po(a,d.getBoundingClientRect()),m=To(a,c),f=ko(s.getBoundingClientRect()),p=So([...m,...f]);o.value=p,n.value=!0}return Z(u=>{if(e.value&&t.value){const s=a=>l(a,t.value),d=a=>l(a,e.value);e.value.addEventListener("pointerleave",s),t.value.addEventListener("pointerleave",d),u(()=>{var a,c;(a=e.value)==null||a.removeEventListener("pointerleave",s),(c=t.value)==null||c.removeEventListener("pointerleave",d)})}}),Z(u=>{var s;if(o.value){const d=a=>{var c,m;if(!o.value)return;const f=a.target,p={x:a.clientX,y:a.clientY},g=((c=e.value)==null?void 0:c.contains(f))||((m=t.value)==null?void 0:m.contains(f)),v=!Bo(p,o.value),h=!!f.closest("[data-grace-area-trigger]");g?r():(v||h)&&(r(),i.trigger())};(s=e.value)==null||s.ownerDocument.addEventListener("pointermove",d),u(()=>{var a;return(a=e.value)==null?void 0:a.ownerDocument.removeEventListener("pointermove",d)})}}),{isPointerInTransit:n,onPointerExit:i.on}}function Po(e,t){const n=Math.abs(t.top-e.y),o=Math.abs(t.bottom-e.y),i=Math.abs(t.right-e.x),r=Math.abs(t.left-e.x);switch(Math.min(n,o,i,r)){case r:return"left";case i:return"right";case n:return"top";case o:return"bottom";default:throw new Error("unreachable")}}function To(e,t,n=5){const o=[];switch(t){case"top":o.push({x:e.x-n,y:e.y+n},{x:e.x+n,y:e.y+n});break;case"bottom":o.push({x:e.x-n,y:e.y-n},{x:e.x+n,y:e.y-n});break;case"left":o.push({x:e.x+n,y:e.y-n},{x:e.x+n,y:e.y+n});break;case"right":o.push({x:e.x-n,y:e.y-n},{x:e.x-n,y:e.y+n});break}return o}function ko(e){const{top:t,right:n,bottom:o,left:i}=e;return[{x:i,y:t},{x:n,y:t},{x:n,y:o},{x:i,y:o}]}function Bo(e,t){const{x:n,y:o}=e;let i=!1;for(let r=0,l=t.length-1;ro!=a>o&&n<(d-u)*(o-s)/(a-s)+u&&(i=!i)}return i}function So(e){const t=e.slice();return t.sort((n,o)=>n.xo.x?1:n.yo.y?1:0),Ro(t)}function Ro(e){if(e.length<=1)return e.slice();const t=[];for(let o=0;o=2;){const r=t[t.length-1],l=t[t.length-2];if((r.x-l.x)*(i.y-l.y)>=(r.y-l.y)*(i.x-l.x))t.pop();else break}t.push(i)}t.pop();const n=[];for(let o=e.length-1;o>=0;o--){const i=e[o];for(;n.length>=2;){const r=n[n.length-1],l=n[n.length-2];if((r.x-l.x)*(i.y-l.y)>=(r.y-l.y)*(i.x-l.x))n.pop();else break}n.push(i)}return n.pop(),t.length===1&&n.length===1&&t[0].x===n[0].x&&t[0].y===n[0].y?t:t.concat(n)}let _o=0;function $o(e,t="radix"){const n=Ao({useId:void 0});return st?`${t}-${st()}`:n.useId?`${t}-${n.useId()}`:`${t}-${++_o}`}function Lo(e){const t=P(),n=O(()=>{var i;return((i=t.value)==null?void 0:i.width)??0}),o=O(()=>{var i;return((i=t.value)==null?void 0:i.height)??0});return $e(()=>{const i=ze(e);if(i){t.value={width:i.offsetWidth,height:i.offsetHeight};const r=new ResizeObserver(l=>{if(!Array.isArray(l)||!l.length)return;const u=l[0];let s,d;if("borderBoxSize"in u){const a=u.borderBoxSize,c=Array.isArray(a)?a[0]:a;s=c.inlineSize,d=c.blockSize}else s=i.offsetWidth,d=i.offsetHeight;t.value={width:s,height:d}});return r.observe(i,{box:"border-box"}),()=>r.unobserve(i)}else t.value=void 0}),{width:n,height:o}}function Mo(e,t){const n=P(e);function o(i){return t[n.value][i]??n.value}return{state:n,dispatch:i=>{n.value=o(i)}}}const No=_({name:"PrimitiveSlot",inheritAttrs:!1,setup(e,{attrs:t,slots:n}){return()=>{var o,i;if(!n.default)return null;const r=lt(n.default()),l=r.findIndex(a=>a.type!==Tt);if(l===-1)return r;const u=r[l];(o=u.props)==null||delete o.ref;const s=u.props?se(t,u.props):t;t.class&&(i=u.props)!=null&&i.class&&delete u.props.class;const d=tn(u,s);for(const a in s)a.startsWith("on")&&(d.props||(d.props={}),d.props[a]=s[a]);return r.length===1?d:(r[l]=d,r)}}}),xe=_({name:"Primitive",inheritAttrs:!1,props:{asChild:{type:Boolean,default:!1},as:{type:[String,Object],default:"div"}},setup(e,{attrs:t,slots:n}){const o=e.asChild?"template":e.as;return typeof o=="string"&&["area","img","input"].includes(o)?()=>Te(o,t):o!=="template"?()=>Te(e.as,t,{default:n.default}):()=>Te(No,t,{default:n.default})}});function Fo(e,t){var n;const o=P({}),i=P("none"),r=P(e),l=e.value?"mounted":"unmounted";let u;const s=((n=t.value)==null?void 0:n.ownerDocument.defaultView)??rt,{state:d,dispatch:a}=Mo(l,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}}),c=v=>{var h;if(Oe){const w=new CustomEvent(v,{bubbles:!1,cancelable:!1});(h=t.value)==null||h.dispatchEvent(w)}};K(e,async(v,h)=>{var w;const x=h!==v;if(await Le(),x){const A=i.value,C=Pe(t.value);v?(a("MOUNT"),c("enter"),C==="none"&&c("after-enter")):C==="none"||((w=o.value)==null?void 0:w.display)==="none"?(a("UNMOUNT"),c("leave"),c("after-leave")):h&&A!==C?(a("ANIMATION_OUT"),c("leave")):(a("UNMOUNT"),c("after-leave"))}},{immediate:!0});const m=v=>{const h=Pe(t.value),w=h.includes(v.animationName),x=d.value==="mounted"?"enter":"leave";if(v.target===t.value&&w&&(c(`after-${x}`),a("ANIMATION_END"),!r.value)){const A=t.value.style.animationFillMode;t.value.style.animationFillMode="forwards",u=s==null?void 0:s.setTimeout(()=>{var C;((C=t.value)==null?void 0:C.style.animationFillMode)==="forwards"&&(t.value.style.animationFillMode=A)})}v.target===t.value&&h==="none"&&a("ANIMATION_END")},f=v=>{v.target===t.value&&(i.value=Pe(t.value))},p=K(t,(v,h)=>{v?(o.value=getComputedStyle(v),v.addEventListener("animationstart",f),v.addEventListener("animationcancel",m),v.addEventListener("animationend",m)):(a("ANIMATION_END"),u!==void 0&&(s==null||s.clearTimeout(u)),h==null||h.removeEventListener("animationstart",f),h==null||h.removeEventListener("animationcancel",m),h==null||h.removeEventListener("animationend",m))},{immediate:!0}),g=K(d,()=>{const v=Pe(t.value);i.value=d.value==="mounted"?v:"none"});return sn(()=>{p(),g()}),{isPresent:O(()=>["mounted","unmountSuspended"].includes(d.value))}}function Pe(e){return e&&getComputedStyle(e).animationName||"none"}const Ho=_({name:"Presence",props:{present:{type:Boolean,required:!0},forceMount:{type:Boolean}},slots:{},setup(e,{slots:t,expose:n}){var o;const{present:i,forceMount:r}=Ot(e),l=P(),{isPresent:u}=Fo(i,l);n({present:u});let s=t.default({present:u});s=lt(s||[]);const d=ge();if(s&&(s==null?void 0:s.length)>1){const a=(o=d==null?void 0:d.parent)!=null&&o.type.name?`<${d.parent.type.name} />`:"component";throw new Error([`Detected an invalid children for \`${a}\` for \`Presence\` component.`,"","Note: Presence works similarly to `v-if` directly, but it waits for animation/transition to finished before unmounting. So it expect only one direct child of valid VNode type.","You can apply a few solutions:",["Provide a single child element so that `presence` directive attach correctly.","Ensure the first child is an actual element instead of a raw text node or comment node."].map(c=>` - ${c}`).join(` -`)].join(` -`))}return()=>r.value||i.value||u.value?Te(t.default({present:u})[0],{ref:a=>{const c=ze(a);return typeof(c==null?void 0:c.hasAttribute)>"u"||(c!=null&&c.hasAttribute("data-radix-popper-content-wrapper")?l.value=c.firstElementChild:l.value=c),c}}):null}}),Wo=_({__name:"Teleport",props:{to:{default:"body"},disabled:{type:Boolean},forceMount:{type:Boolean}},setup(e){const t=bo();return(n,o)=>y(t)||n.forceMount?(R(),F(Qt,{key:0,to:n.to,disabled:n.disabled},[$(n.$slots,"default")],8,["to","disabled"])):Jt("",!0)}}),zo="dismissableLayer.pointerDownOutside",Io="dismissableLayer.focusOutside";function Vt(e,t){const n=t.closest("[data-dismissable-layer]"),o=e.dataset.dismissableLayer===""?e:e.querySelector("[data-dismissable-layer]"),i=Array.from(e.ownerDocument.querySelectorAll("[data-dismissable-layer]"));return!!(n&&o===n||i.indexOf(o){});return Z(l=>{if(!Oe)return;const u=async d=>{const a=d.target;if(t!=null&&t.value){if(Vt(t.value,a)){i.value=!1;return}if(d.target&&!i.value){let c=function(){Wt(zo,e,m)};const m={originalEvent:d};d.pointerType==="touch"?(o.removeEventListener("click",r.value),r.value=c,o.addEventListener("click",r.value,{once:!0})):c()}else o.removeEventListener("click",r.value);i.value=!1}},s=window.setTimeout(()=>{o.addEventListener("pointerdown",u)},0);l(()=>{window.clearTimeout(s),o.removeEventListener("pointerdown",u),o.removeEventListener("click",r.value)})}),{onPointerDownCapture:()=>i.value=!0}}function jo(e,t){var n;const o=((n=t==null?void 0:t.value)==null?void 0:n.ownerDocument)??(globalThis==null?void 0:globalThis.document),i=P(!1);return Z(r=>{if(!Oe)return;const l=async u=>{t!=null&&t.value&&(await Le(),!(!t.value||Vt(t.value,u.target))&&u.target&&!i.value&&Wt(Io,e,{originalEvent:u}))};o.addEventListener("focusin",l),r(()=>o.removeEventListener("focusin",l))}),{onFocusCapture:()=>i.value=!0,onBlurCapture:()=>i.value=!1}}const Q=an({layersRoot:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Uo=_({__name:"DismissableLayer",props:{disableOutsidePointerEvents:{type:Boolean,default:!1},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","dismiss"],setup(e,{emit:t}){const n=e,o=t,{forwardRef:i,currentElement:r}=I(),l=O(()=>{var p;return((p=r.value)==null?void 0:p.ownerDocument)??globalThis.document}),u=O(()=>Q.layersRoot),s=O(()=>r.value?Array.from(u.value).indexOf(r.value):-1),d=O(()=>Q.layersWithOutsidePointerEventsDisabled.size>0),a=O(()=>{const p=Array.from(u.value),[g]=[...Q.layersWithOutsidePointerEventsDisabled].slice(-1),v=p.indexOf(g);return s.value>=v}),c=Vo(async p=>{const g=[...Q.branches].some(v=>v==null?void 0:v.contains(p.target));!a.value||g||(o("pointerDownOutside",p),o("interactOutside",p),await Le(),p.defaultPrevented||o("dismiss"))},r),m=jo(p=>{[...Q.branches].some(g=>g==null?void 0:g.contains(p.target))||(o("focusOutside",p),o("interactOutside",p),p.defaultPrevented||o("dismiss"))},r);xo("Escape",p=>{s.value===u.value.size-1&&(o("escapeKeyDown",p),p.defaultPrevented||o("dismiss"))});let f;return Z(p=>{r.value&&(n.disableOutsidePointerEvents&&(Q.layersWithOutsidePointerEventsDisabled.size===0&&(f=l.value.body.style.pointerEvents,l.value.body.style.pointerEvents="none"),Q.layersWithOutsidePointerEventsDisabled.add(r.value)),u.value.add(r.value),p(()=>{n.disableOutsidePointerEvents&&Q.layersWithOutsidePointerEventsDisabled.size===1&&(l.value.body.style.pointerEvents=f)}))}),Z(p=>{p(()=>{r.value&&(u.value.delete(r.value),Q.layersWithOutsidePointerEventsDisabled.delete(r.value))})}),(p,g)=>(R(),F(y(xe),{ref:y(i),"as-child":p.asChild,as:p.as,"data-dismissable-layer":"",style:Me({pointerEvents:d.value?a.value?"auto":"none":void 0}),onFocusCapture:y(m).onFocusCapture,onBlurCapture:y(m).onBlurCapture,onPointerdownCapture:y(c).onPointerDownCapture},{default:T(()=>[$(p.$slots,"default")]),_:3},8,["as-child","as","style","onFocusCapture","onBlurCapture","onPointerdownCapture"]))}});fo(()=>P([]));const[jt,Yo]=Ae("PopperRoot"),Go=_({inheritAttrs:!1,__name:"PopperRoot",setup(e){const t=P();return Yo({anchor:t,onAnchorChange:n=>t.value=n}),(n,o)=>$(n.$slots,"default")}}),Ko=_({__name:"PopperAnchor",props:{element:{},asChild:{type:Boolean},as:{}},setup(e){const t=e,{forwardRef:n,currentElement:o}=I(),i=jt();return Z(()=>{i.onAnchorChange(t.element??o.value)}),(r,l)=>(R(),F(y(xe),{ref:y(n),as:r.as,"as-child":r.asChild},{default:T(()=>[$(r.$slots,"default")]),_:3},8,["as","as-child"]))}});function Xo(e){return e!==null}function qo(e){return{name:"transformOrigin",options:e,fn(t){var n,o,i;const{placement:r,rects:l,middlewareData:u}=t,s=((n=u.arrow)==null?void 0:n.centerOffset)!==0,d=s?0:e.arrowWidth,a=s?0:e.arrowHeight,[c,m]=qe(r),f={start:"0%",center:"50%",end:"100%"}[m],p=(((o=u.arrow)==null?void 0:o.x)??0)+d/2,g=(((i=u.arrow)==null?void 0:i.y)??0)+a/2;let v="",h="";return c==="bottom"?(v=s?f:`${p}px`,h=`${-a}px`):c==="top"?(v=s?f:`${p}px`,h=`${l.floating.height+a}px`):c==="right"?(v=`${-a}px`,h=s?f:`${g}px`):c==="left"&&(v=`${l.floating.width+a}px`,h=s?f:`${g}px`),{data:{x:v,y:h}}}}}function qe(e){const[t,n="center"]=e.split("-");return[t,n]}const Jo={side:"bottom",sideOffset:0,align:"center",alignOffset:0,arrowPadding:0,avoidCollisions:!0,collisionBoundary:()=>[],collisionPadding:0,sticky:"partial",hideWhenDetached:!1,updatePositionStrategy:"optimized",prioritizePosition:!1},[Qo,Zo]=Ae("PopperContent"),ei=_({inheritAttrs:!1,__name:"PopperContent",props:rn({side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},{...Jo}),emits:["placed"],setup(e,{emit:t}){const n=e,o=t,i=jt(),{forwardRef:r,currentElement:l}=I(),u=P(),s=P(),{width:d,height:a}=Lo(s),c=O(()=>n.side+(n.align!=="center"?`-${n.align}`:"")),m=O(()=>typeof n.collisionPadding=="number"?n.collisionPadding:{top:0,right:0,bottom:0,left:0,...n.collisionPadding}),f=O(()=>Array.isArray(n.collisionBoundary)?n.collisionBoundary:[n.collisionBoundary]),p=O(()=>({padding:m.value,boundary:f.value.filter(Xo),altBoundary:f.value.length>0})),g=uo(()=>[Zn({mainAxis:n.sideOffset+a.value,alignmentAxis:n.alignOffset}),n.prioritizePosition&&n.avoidCollisions&&xt({...p.value}),n.avoidCollisions&&eo({mainAxis:!0,crossAxis:!!n.prioritizePosition,limiter:n.sticky==="partial"?io():void 0,...p.value}),!n.prioritizePosition&&n.avoidCollisions&&xt({...p.value}),to({...p.value,apply:({elements:D,rects:j,availableWidth:M,availableHeight:H})=>{const{width:S,height:ne}=j.reference,N=D.floating.style;N.setProperty("--radix-popper-available-width",`${M}px`),N.setProperty("--radix-popper-available-height",`${H}px`),N.setProperty("--radix-popper-anchor-width",`${S}px`),N.setProperty("--radix-popper-anchor-height",`${ne}px`)}}),s.value&&ao({element:s.value,padding:n.arrowPadding}),qo({arrowWidth:d.value,arrowHeight:a.value}),n.hideWhenDetached&&no({strategy:"referenceHidden",...p.value})]),{floatingStyles:v,placement:h,isPositioned:w,middlewareData:x}=so(i.anchor,u,{strategy:"fixed",placement:c,whileElementsMounted:(...D)=>Qn(...D,{animationFrame:n.updatePositionStrategy==="always"}),middleware:g}),A=O(()=>qe(h.value)[0]),C=O(()=>qe(h.value)[1]);ln(()=>{w.value&&o("placed")});const k=O(()=>{var D;return((D=x.value.arrow)==null?void 0:D.centerOffset)!==0}),E=P("");Z(()=>{l.value&&(E.value=window.getComputedStyle(l.value).zIndex)});const B=O(()=>{var D;return((D=x.value.arrow)==null?void 0:D.x)??0}),L=O(()=>{var D;return((D=x.value.arrow)==null?void 0:D.y)??0});return Zo({placedSide:A,onArrowChange:D=>s.value=D,arrowX:B,arrowY:L,shouldHideArrow:k}),(D,j)=>{var M,H,S;return R(),me("div",{ref_key:"floatingRef",ref:u,"data-radix-popper-content-wrapper":"",style:Me({...y(v),transform:y(w)?y(v).transform:"translate(0, -200%)",minWidth:"max-content",zIndex:E.value,"--radix-popper-transform-origin":[(M=y(x).transformOrigin)==null?void 0:M.x,(H=y(x).transformOrigin)==null?void 0:H.y].join(" "),...((S=y(x).hide)==null?void 0:S.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}})},[V(y(xe),se({ref:y(r)},D.$attrs,{"as-child":n.asChild,as:D.as,"data-side":A.value,"data-align":C.value,style:{animation:y(w)?void 0:"none"}}),{default:T(()=>[$(D.$slots,"default")]),_:3},16,["as-child","as","data-side","data-align","style"])],4)}}}),ti=b("polygon",{points:"0,0 30,0 15,10"},null,-1),ni=_({__name:"Arrow",props:{width:{default:10},height:{default:5},asChild:{type:Boolean},as:{default:"svg"}},setup(e){const t=e;return I(),(n,o)=>(R(),F(y(xe),se(t,{width:n.width,height:n.height,viewBox:n.asChild?void 0:"0 0 30 10",preserveAspectRatio:n.asChild?void 0:"none"}),{default:T(()=>[$(n.$slots,"default",{},()=>[ti])]),_:3},16,["width","height","viewBox","preserveAspectRatio"]))}}),oi={top:"bottom",right:"left",bottom:"top",left:"right"},ii=_({inheritAttrs:!1,__name:"PopperArrow",props:{width:{},height:{},asChild:{type:Boolean},as:{default:"svg"}},setup(e){const{forwardRef:t}=I(),n=Qo(),o=O(()=>oi[n.placedSide.value]);return(i,r)=>{var l,u,s,d;return R(),me("span",{ref:a=>{y(n).onArrowChange(a)},style:Me({position:"absolute",left:(l=y(n).arrowX)!=null&&l.value?`${(u=y(n).arrowX)==null?void 0:u.value}px`:void 0,top:(s=y(n).arrowY)!=null&&s.value?`${(d=y(n).arrowY)==null?void 0:d.value}px`:void 0,[o.value]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[y(n).placedSide.value],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[y(n).placedSide.value],visibility:y(n).shouldHideArrow.value?"hidden":void 0})},[V(ni,se(i.$attrs,{ref:y(t),style:{display:"block"},as:i.as,"as-child":i.asChild,width:i.width,height:i.height}),{default:T(()=>[$(i.$slots,"default")]),_:3},16,["as","as-child","width","height"])],4)}}}),ri=_({__name:"VisuallyHidden",props:{asChild:{type:Boolean},as:{default:"span"}},setup(e){return I(),(t,n)=>(R(),F(y(xe),{as:t.as,"as-child":t.asChild,style:{position:"absolute",border:0,width:"1px",display:"inline-block",height:"1px",padding:0,margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}},{default:T(()=>[$(t.$slots,"default")]),_:3},8,["as","as-child"]))}});function li(){if(typeof matchMedia=="function")return matchMedia("(pointer:coarse)").matches?"coarse":"fine"}li();const Ut="tooltip.open",[at,ai]=Ae("TooltipProvider"),si=_({inheritAttrs:!1,__name:"TooltipProvider",props:{delayDuration:{default:700},skipDelayDuration:{default:300},disableHoverableContent:{type:Boolean,default:!1},disableClosingTrigger:{type:Boolean},disabled:{type:Boolean},ignoreNonKeyboardFocus:{type:Boolean,default:!1}},setup(e){const t=e,{delayDuration:n,skipDelayDuration:o,disableHoverableContent:i,disableClosingTrigger:r,ignoreNonKeyboardFocus:l,disabled:u}=Ot(t);I();const s=P(!0),d=P(!1),{start:a,stop:c}=zt(()=>{s.value=!0},o,{immediate:!1});return ai({isOpenDelayed:s,delayDuration:n,onOpen(){c(),s.value=!1},onClose(){a()},isPointerInTransitRef:d,disableHoverableContent:i,disableClosingTrigger:r,disabled:u,ignoreNonKeyboardFocus:l}),(m,f)=>$(m.$slots,"default")}}),[Ie,ui]=Ae("TooltipRoot"),ci=_({__name:"TooltipRoot",props:{defaultOpen:{type:Boolean,default:!1},open:{type:Boolean,default:void 0},delayDuration:{default:void 0},disableHoverableContent:{type:Boolean,default:void 0},disableClosingTrigger:{type:Boolean,default:void 0},disabled:{type:Boolean,default:void 0},ignoreNonKeyboardFocus:{type:Boolean,default:void 0}},emits:["update:open"],setup(e,{emit:t}){const n=e,o=t;I();const i=at(),r=O(()=>n.disableHoverableContent??i.disableHoverableContent.value),l=O(()=>n.disableClosingTrigger??i.disableClosingTrigger.value),u=O(()=>n.disabled??i.disabled.value),s=O(()=>n.delayDuration??i.delayDuration.value),d=O(()=>n.ignoreNonKeyboardFocus??i.ignoreNonKeyboardFocus.value),a=Co(n,"open",o,{defaultValue:n.defaultOpen,passive:n.open===void 0});K(a,x=>{i.onClose&&(x?(i.onOpen(),document.dispatchEvent(new CustomEvent(Ut))):i.onClose())});const c=P(!1),m=P(),f=O(()=>a.value?c.value?"delayed-open":"instant-open":"closed"),{start:p,stop:g}=zt(()=>{c.value=!0,a.value=!0},s,{immediate:!1});function v(){g(),c.value=!1,a.value=!0}function h(){g(),a.value=!1}function w(){p()}return ui({contentId:"",open:a,stateAttribute:f,trigger:m,onTriggerChange(x){m.value=x},onTriggerEnter(){i.isOpenDelayed.value?w():v()},onTriggerLeave(){r.value?h():g()},onOpen:v,onClose:h,disableHoverableContent:r,disableClosingTrigger:l,disabled:u,ignoreNonKeyboardFocus:d}),(x,A)=>(R(),F(y(Go),null,{default:T(()=>[$(x.$slots,"default",{open:y(a)})]),_:3}))}}),di=_({__name:"TooltipTrigger",props:{asChild:{type:Boolean},as:{default:"button"}},setup(e){const t=e,n=Ie(),o=at();n.contentId||(n.contentId=$o(void 0,"radix-vue-tooltip-content"));const{forwardRef:i,currentElement:r}=I(),l=P(!1),u=P(!1),s=O(()=>n.disabled.value?{}:{click:g,focus:f,pointermove:c,pointerleave:m,pointerdown:a,blur:p});$e(()=>{n.onTriggerChange(r.value)});function d(){setTimeout(()=>{l.value=!1},1)}function a(){l.value=!0,document.addEventListener("pointerup",d,{once:!0})}function c(v){v.pointerType!=="touch"&&!u.value&&!o.isPointerInTransitRef.value&&(n.onTriggerEnter(),u.value=!0)}function m(){n.onTriggerLeave(),u.value=!1}function f(v){var h,w;l.value||n.ignoreNonKeyboardFocus.value&&!((w=(h=v.target).matches)!=null&&w.call(h,":focus-visible"))||n.onOpen()}function p(){n.onClose()}function g(){n.disableClosingTrigger.value||n.onClose()}return(v,h)=>(R(),F(y(Ko),{"as-child":""},{default:T(()=>[V(y(xe),se({ref:y(i),"aria-describedby":y(n).open.value?y(n).contentId:void 0,"data-state":y(n).stateAttribute.value,as:v.as,"as-child":t.asChild,"data-grace-area-trigger":""},Kt(s.value)),{default:T(()=>[$(v.$slots,"default")]),_:3},16,["aria-describedby","data-state","as","as-child"])]),_:3}))}}),Yt=_({__name:"TooltipContentImpl",props:{ariaLabel:{},asChild:{type:Boolean},as:{},side:{default:"top"},sideOffset:{default:0},align:{default:"center"},alignOffset:{},avoidCollisions:{type:Boolean,default:!0},collisionBoundary:{default:()=>[]},collisionPadding:{default:0},arrowPadding:{default:0},sticky:{default:"partial"},hideWhenDetached:{type:Boolean,default:!1}},emits:["escapeKeyDown","pointerDownOutside"],setup(e,{emit:t}){const n=e,o=t,i=Ie(),{forwardRef:r}=I(),l=Zt(),u=O(()=>{var a;return(a=l.default)==null?void 0:a.call(l)}),s=O(()=>{var a;if(n.ariaLabel)return n.ariaLabel;let c="";function m(f){typeof f.children=="string"&&f.type!==Tt?c+=f.children:Array.isArray(f.children)&&f.children.forEach(p=>m(p))}return(a=u.value)==null||a.forEach(f=>m(f)),c}),d=O(()=>{const{ariaLabel:a,...c}=n;return c});return $e(()=>{Xe(window,"scroll",a=>{const c=a.target;c!=null&&c.contains(i.trigger.value)&&i.onClose()}),Xe(window,Ut,i.onClose)}),(a,c)=>(R(),F(y(Uo),{"as-child":"","disable-outside-pointer-events":!1,onEscapeKeyDown:c[0]||(c[0]=m=>o("escapeKeyDown",m)),onPointerDownOutside:c[1]||(c[1]=m=>{var f;y(i).disableClosingTrigger.value&&(f=y(i).trigger.value)!=null&&f.contains(m.target)&&m.preventDefault(),o("pointerDownOutside",m)}),onFocusOutside:c[2]||(c[2]=en(()=>{},["prevent"])),onDismiss:c[3]||(c[3]=m=>y(i).onClose())},{default:T(()=>[V(y(ei),se({ref:y(r),"data-state":y(i).stateAttribute.value},{...a.$attrs,...d.value},{style:{"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"}}),{default:T(()=>[$(a.$slots,"default"),V(y(ri),{id:y(i).contentId,role:"tooltip"},{default:T(()=>[kt(ke(s.value),1)]),_:1},8,["id"])]),_:3},16,["data-state"])]),_:3}))}}),fi=_({__name:"TooltipContentHoverable",props:{ariaLabel:{},asChild:{type:Boolean},as:{},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean}},setup(e){const t=It(e),{forwardRef:n,currentElement:o}=I(),{trigger:i,onClose:r}=Ie(),l=at(),{isPointerInTransit:u,onPointerExit:s}=Do(i,o);return l.isPointerInTransitRef=u,s(()=>{r()}),(d,a)=>(R(),F(Yt,se({ref:y(n)},y(t)),{default:T(()=>[$(d.$slots,"default")]),_:3},16))}}),pi=_({__name:"TooltipContent",props:{forceMount:{type:Boolean},ariaLabel:{},asChild:{type:Boolean},as:{},side:{default:"top"},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean}},emits:["escapeKeyDown","pointerDownOutside"],setup(e,{emit:t}){const n=e,o=t,i=Ie(),r=Eo(n,o),{forwardRef:l}=I();return(u,s)=>(R(),F(y(Ho),{present:u.forceMount||y(i).open.value},{default:T(()=>[(R(),F(Xt(y(i).disableHoverableContent.value?Yt:fi),se({ref:y(l)},y(r)),{default:T(()=>[$(u.$slots,"default")]),_:3},16))]),_:3},8,["present"]))}}),mi=_({__name:"TooltipArrow",props:{width:{default:10},height:{default:5},asChild:{type:Boolean},as:{default:"svg"}},setup(e){const t=e;return I(),(n,o)=>(R(),F(y(ii),Et(Dt(t)),{default:T(()=>[$(n.$slots,"default")]),_:3},16))}}),vi=_({__name:"TooltipPortal",props:{to:{},disabled:{type:Boolean},forceMount:{type:Boolean}},setup(e){const t=e;return(n,o)=>(R(),F(y(Wo),Et(Dt(t)),{default:T(()=>[$(n.$slots,"default")]),_:3},16))}}),hi={flex:"~ row","items-center":"","gap-2":"",initial:{opacity:0,x:10},enter:{opacity:1,x:0},leave:{opacity:0,x:-10},duration:250},gi={"flex-col":""},yi=["onClick"],xi={"p-4":""},bi={flex:"~ col gap-4"},wi=["disabled"],Ci={"mt-4":"",class:"flex items-center justify-end gap-4"},Ai={class:"relative inline-flex cursor-pointer items-center"},Oi=["onClick"],Ei={"p-4":"",flex:"~ col gap-4"},Di={"text-base":"","font-medium":""},Pi={text:"sm neutral-500"},Ti={flex:"~ row","gap-2":""},ki=["onClick"],Bi=_({__name:"index",setup(e){const t=fn(),n=pn(),o=[{name:"Morandi Colors",description:"Soft, muted tones inspired by Giorgio Morandi's paintings",colors:[{hex:"#A5978B",name:"Taupe"},{hex:"#D8CAAF",name:"Beige"},{hex:"#B8B4A7",name:"Ash Grey"},{hex:"#C4BCB1",name:"Light Taupe"},{hex:"#E5DED8",name:"Ivory"},{hex:"#9A8F7D",name:"Olive Grey"},{hex:"#BEB5A7",name:"Sand"},{hex:"#C9C0B6",name:"Warm Grey"}]},{name:"Monet Colors",description:"Impressionist palette inspired by Claude Monet's works",colors:[{hex:"#7A9EAF",name:"Sky Blue"},{hex:"#B8C7CC",name:"Mist"},{hex:"#D4B79C",name:"Sand"},{hex:"#8B9D77",name:"Moss Green"},{hex:"#C7D5CB",name:"Water Lily"},{hex:"#E6D0B1",name:"Wheat"},{hex:"#94A7B1",name:"Slate Blue"},{hex:"#B4C8C3",name:"Sage"}]},{name:"Japanese Colors",description:"Traditional Japanese color palette",colors:[{hex:"#D9B48F",name:"Tan"},{hex:"#B5917A",name:"Warm Taupe"},{hex:"#8C7A6B",name:"Umber"},{hex:"#A17F5F",name:"Coffee"},{hex:"#B98C46",name:"Bronze"},{hex:"#C7A252",name:"Gold"},{hex:"#DAB300",name:"Mustard"},{hex:"#D19826",name:"Amber"}]},{name:"Nordic Colors",description:"Scandinavian minimalist color scheme",colors:[{hex:"#9BA7B0",name:"Nordic Blue"},{hex:"#C1CBD4",name:"Ice"},{hex:"#A5ADB6",name:"Fjord"},{hex:"#8B959E",name:"Steel"},{hex:"#D4DCE4",name:"Glacier"},{hex:"#7F8A94",name:"Slate"},{hex:"#B3BCC6",name:"Cloud"},{hex:"#98A4AE",name:"Stone"}]},{name:"Chinese Traditional Colors",description:"Traditional Chinese colors, derived from ancient textiles, porcelain and paintings",colors:[{hex:"#E4C6D0",name:"霞光红 (Rosy Dawn)"},{hex:"#A61B29",name:"枣红 (Chinese Red)"},{hex:"#5D513C",name:"黄栌 (Smoky Brown)"},{hex:"#789262",name:"竹青 (Bamboo Green)"},{hex:"#1C0D1A",name:"乌梅紫 (Dark Purple)"},{hex:"#F7C242",name:"缃色 (Golden Yellow)"},{hex:"#62A9DD",name:"青冥 (Azure Blue)"},{hex:"#8C4B3C",name:"赭石 (Ochre)"}]}];function i(){n.themeColorsHue=gn,n.themeColorsHueDynamic=!1}function r(u){const s=dt("oklch")(u);if(!s)return;const{h:d}=s;d&&(n.themeColorsHue=d,n.themeColorsHueDynamic=!1)}function l(u){if(n.themeColorsHueDynamic)return!1;const s=dt("oklch")(u);if(!s||!s.h)return!1;const d=Math.abs(s.h-n.themeColorsHue);return d<.01||d>359.99}return(u,s)=>{const d=mn("motion");return R(),me(Be,null,[Ve((R(),me("div",hi,[b("button",{onClick:s[0]||(s[0]=a=>y(t).back())},s[3]||(s[3]=[b("div",{"i-solar:alt-arrow-left-line-duotone":"","text-2xl":""},null,-1)])),s[4]||(s[4]=b("h1",{relative:""},[b("div",{absolute:"","left-0":"","top-0":"","translate-y":"[-80%]"},[b("span",{text:"neutral-300 dark:neutral-500"},"Settings")]),b("div",{"text-3xl":"","font-semibold":""}," Themes ")],-1))])),[[d]]),b("div",gi,[V(y(ct),{"mt-4":"","w-full":"",default:!0},{trigger:T(a=>[b("button",{bg:"zinc-100 dark:zinc-800",hover:"bg-zinc-200 dark:bg-zinc-700",transition:"all ease-in-out duration-250","w-full":"",flex:"","items-center":"","gap-1.5":"","rounded-lg":"","px-4":"","py-3":"","outline-none":"",class:"[&_.provider-icon]:grayscale-100 [&_.provider-icon]:hover:grayscale-0",onClick:c=>a.setVisible(!a.visible)},[s[6]||(s[6]=b("div",{flex:"~ row 1","items-center":"","gap-1.5":""},[b("div",{"i-solar:pallete-2-bold-duotone":"",class:"provider-icon size-6",transition:"filter duration-250 ease-in-out"}),b("div",null," Custom Colors ")],-1)),b("div",{transform:"",transition:"transform duration-250",class:Ee({"rotate-180":a.visible})},s[5]||(s[5]=[b("div",{"i-solar:alt-arrow-down-bold-duotone":""},null,-1)]),2)],8,yi)]),default:T(()=>[b("div",xi,[s[11]||(s[11]=b("div",{class:"mb-2 text-sm font-medium"}," Primary color ",-1)),b("div",bi,[Ve(b("input",{"onUpdate:modelValue":s[1]||(s[1]=a=>y(n).themeColorsHue=a),type:"range",min:"0",max:"360",step:"0.01",class:Ee(["theme-hue-slider h-10 w-full",{"opacity-25 cursor-not-allowed":y(n).themeColorsHueDynamic}]),disabled:y(n).themeColorsHueDynamic},null,10,wi),[[vn,y(n).themeColorsHue]]),s[7]||(s[7]=b("div",{"h-10":"","w-full":"",flex:"","overflow-hidden":"","rounded-lg":""},[b("div",{bg:"primary-50",class:"primary-color-bar","text-black":""}," 50 "),b("div",{bg:"primary-100",class:"primary-color-bar","text-black":""}," 100 "),b("div",{bg:"primary-200",class:"primary-color-bar","text-black":""}," 200 "),b("div",{bg:"primary-300",class:"primary-color-bar","text-black":""}," 300 "),b("div",{bg:"primary-400",class:"primary-color-bar","text-black":""}," 400 "),b("div",{bg:"primary-500",class:"primary-color-bar","text-black":""}," 500 "),b("div",{bg:"primary-600",class:"primary-color-bar","text-white":""}," 600 "),b("div",{bg:"primary-700",class:"primary-color-bar","text-white":""}," 700 "),b("div",{bg:"primary-800",class:"primary-color-bar","text-white":""}," 800 "),b("div",{bg:"primary-900",class:"primary-color-bar","text-white":""}," 900 "),b("div",{bg:"primary-950",class:"primary-color-bar","text-white":""}," 950 ")],-1)),s[8]||(s[8]=b("div",{"h-10":"","w-full":"",flex:"","overflow-hidden":"","rounded-lg":"",class:"transparency-grid"},[b("div",{bg:"primary-500/5",class:"primary-color-bar","text-black":""}," 500/5 "),b("div",{bg:"primary-500/10",class:"primary-color-bar","text-black":""}," 500/10 "),b("div",{bg:"primary-500/20",class:"primary-color-bar","text-black":""}," 500/20 "),b("div",{bg:"primary-500/30",class:"primary-color-bar","text-black":""}," 500/30 "),b("div",{bg:"primary-500/40",class:"primary-color-bar","text-black":""}," 500/40 "),b("div",{bg:"primary-500/50",class:"primary-color-bar","text-black":""}," 500/50 "),b("div",{bg:"primary-500/60",class:"primary-color-bar","text-black":""}," 500/60 "),b("div",{bg:"primary-500/70",class:"primary-color-bar","text-black":""}," 500/70 "),b("div",{bg:"primary-500/80",class:"primary-color-bar","text-black":""}," 500/80 "),b("div",{bg:"primary-500/90",class:"primary-color-bar","text-black":""}," 500/90 "),b("div",{bg:"primary-500",class:"primary-color-bar","text-black":""}," 500 ")],-1))]),b("div",Ci,[b("label",Ai,[Ve(b("input",{"onUpdate:modelValue":s[2]||(s[2]=a=>y(n).themeColorsHueDynamic=a),type:"checkbox",class:"peer sr-only"},null,512),[[hn,y(n).themeColorsHueDynamic]]),s[9]||(s[9]=b("div",{class:"peer-checked:bg-primary-500 h-6 w-11 rounded-full bg-neutral-200 after:absolute after:left-[2px] after:top-[2px] after:h-5 after:w-5 after:rounded-full after:bg-white dark:bg-neutral-600 after:transition-all after:content-[''] peer-checked:after:translate-x-full peer-checked:after:border-white"},null,-1)),s[10]||(s[10]=b("span",{class:"ml-2 text-sm font-medium"},"I Want It Dynamic!",-1))]),b("button",{class:"rounded-md bg-neutral-100 px-3 py-1.5 text-sm transition-colors dark:bg-neutral-800 hover:bg-neutral-200 dark:hover:bg-neutral-700",onClick:i}," Reset to Default ")])])]),_:1}),V(y(ct),{"mt-4":"","w-full":"",default:!0},{trigger:T(a=>[b("button",{bg:"zinc-100 dark:zinc-800",hover:"bg-zinc-200 dark:bg-zinc-700",transition:"all ease-in-out duration-250","w-full":"",flex:"","items-center":"","gap-1.5":"","rounded-lg":"","px-4":"","py-3":"","outline-none":"",class:"[&_.provider-icon]:grayscale-100 [&_.provider-icon]:hover:grayscale-0",onClick:c=>a.setVisible(!a.visible)},[s[13]||(s[13]=b("div",{flex:"~ row 1","items-center":"","gap-1.5":""},[b("div",{"i-solar:magic-stick-2-bold-duotone":"",class:"provider-icon size-6",transition:"filter duration-250 ease-in-out"}),b("div",null," Theme Presets ")],-1)),b("div",{transform:"",transition:"transform duration-250",class:Ee({"rotate-180":a.visible})},s[12]||(s[12]=[b("div",{"i-solar:alt-arrow-down-bold-duotone":""},null,-1)]),2)],8,Oi)]),default:T(()=>[b("div",Ei,[(R(),me(Be,null,ut(o,a=>b("div",{key:a.name,flex:"~ row",bg:"neutral-100 dark:neutral-800",hover:"bg-neutral-200 dark:bg-neutral-700",transition:"all ease-in-out duration-250","cursor-pointer":"","items-center":"","justify-between":"","gap-4":"","rounded-lg":"","px-4":"","py-3":""},[b("div",null,[b("div",Di,ke(a.name),1),b("div",Pi,ke(a.description),1)]),b("div",Ti,[(R(!0),me(Be,null,ut(a.colors,c=>(R(),F(y(si),{key:c.hex},{default:T(()=>[V(y(ci),null,{default:T(()=>[V(y(di),null,{default:T(()=>[b("div",{style:Me({backgroundColor:c.hex}),class:Ee(["size-6 cursor-pointer rounded-full transition-all duration-250 ease-in-out",[l(c.hex)?"scale-150 z-10 mx-1":"hover:scale-110"]]),onClick:m=>r(c.hex)},null,14,ki)]),_:2},1024),V(y(vi),null,{default:T(()=>[V(y(pi),{class:"rounded-lg bg-white px-3 py-1.5 text-sm shadow-md dark:bg-neutral-800"},{default:T(()=>[kt(ke(c.name)+" ",1),V(y(mi),{class:"fill-white dark:fill-neutral-800"})]),_:2},1024)]),_:2},1024)]),_:2},1024)]),_:2},1024))),128))])])),64))])]),_:1})]),s[14]||(s[14]=b("div",{text:"neutral-100/50 dark:neutral-500/20","pointer-events-none":"",fixed:"","bottom-0":"","right-0":"","translate-x-10":"","translate-y-10":""},[b("div",{text:"40","i-lucide:paintbrush":""})],-1))],64)}}});typeof ft=="function"&&ft(Bi);export{Bi as default}; diff --git a/assets/index-Ca6WrnZu.js b/assets/index-qBS2d6Vp.js similarity index 81% rename from assets/index-Ca6WrnZu.js rename to assets/index-qBS2d6Vp.js index 9d500f2555586af63744cd82a7d874583d4e4b07..d5ebb718f21b5db3a62106fc0821154447a9af9c 100644 --- a/assets/index-Ca6WrnZu.js +++ b/assets/index-qBS2d6Vp.js @@ -1 +1 @@ -import"./Stage.vue_vue_type_style_index_0_scoped_cad77b27_lang-D1cRHv6j.js";import{d as p,s as x,x as g,z as v,c as n,o as i,A as l,a as e,e as a,F as c,E as y,j as k}from"./index-DCtIztPb.js";import{u as b}from"./providers-DAM1M9Uz.js";import{I as _}from"./IconStatusItem-D09cRGs1.js";import{b as d}from"./route-block-B_A1xBdJ.js";const B={flex:"~ row","items-center":"","gap-2":"",initial:{opacity:0,x:10},enter:{opacity:1,x:0},leave:{opacity:0,x:-10},duration:250},I={grid:"~ cols-2 gap-4"},S=p({__name:"index",setup(w){const u=x(),m=b(),{allProvidersMetadata:f}=g(m);return(z,o)=>{const r=v("motion");return i(),n(c,null,[l((i(),n("div",B,[e("button",{onClick:o[0]||(o[0]=t=>a(u).back())},o[1]||(o[1]=[e("div",{"i-solar:alt-arrow-left-line-duotone":"","text-2xl":""},null,-1)])),o[2]||(o[2]=e("h1",{relative:""},[e("div",{absolute:"","left-0":"","top-0":"","translate-y":"[-80%]"},[e("span",{text:"neutral-300 dark:neutral-500"},"Settings")]),e("div",{"text-3xl":"","font-semibold":""}," Providers ")],-1))])),[[r]]),e("div",I,[(i(!0),n(c,null,y(a(f),(t,s)=>l((i(),k(a(_),{key:t.id,initial:{opacity:0,y:10},enter:{opacity:1,y:0},duration:250+s*10,delay:s*50,title:t.localizedName,description:t.localizedDescription,icon:t.icon,"icon-color":t.iconColor,"icon-image":t.iconImage,to:`/settings/providers/${t.id}`,configured:t.configured},null,8,["duration","delay","title","description","icon","icon-color","icon-image","to","configured"])),[[r]])),128))]),o[3]||(o[3]=e("div",{text:"neutral-100/50 dark:neutral-500/20","pointer-events-none":"",fixed:"","bottom-0":"","right-0":"","translate-x-10":"","translate-y-10":""},[e("div",{text:"40","i-lucide:brain":""})],-1))],64)}}});typeof d=="function"&&d(S);export{S as default}; +import"./Stage.vue_vue_type_style_index_0_scoped_cad77b27_lang-BvkGrZE5.js";import{d as p,s as x,x as g,z as v,c as n,o as i,A as l,a as e,e as a,F as c,E as y,j as k}from"./index-CGdx-Gsw.js";import{u as b}from"./providers-ztBzqPgb.js";import{I as _}from"./IconStatusItem-DydJwNP6.js";import{b as d}from"./route-block-B_A1xBdJ.js";const B={flex:"~ row","items-center":"","gap-2":"",initial:{opacity:0,x:10},enter:{opacity:1,x:0},leave:{opacity:0,x:-10},duration:250},I={grid:"~ cols-2 gap-4"},S=p({__name:"index",setup(w){const u=x(),m=b(),{allProvidersMetadata:f}=g(m);return(z,o)=>{const r=v("motion");return i(),n(c,null,[l((i(),n("div",B,[e("button",{onClick:o[0]||(o[0]=t=>a(u).back())},o[1]||(o[1]=[e("div",{"i-solar:alt-arrow-left-line-duotone":"","text-2xl":""},null,-1)])),o[2]||(o[2]=e("h1",{relative:""},[e("div",{absolute:"","left-0":"","top-0":"","translate-y":"[-80%]"},[e("span",{text:"neutral-300 dark:neutral-500"},"Settings")]),e("div",{"text-3xl":"","font-semibold":""}," Providers ")],-1))])),[[r]]),e("div",I,[(i(!0),n(c,null,y(a(f),(t,s)=>l((i(),k(a(_),{key:t.id,initial:{opacity:0,y:10},enter:{opacity:1,y:0},duration:250+s*10,delay:s*50,title:t.localizedName,description:t.localizedDescription,icon:t.icon,"icon-color":t.iconColor,"icon-image":t.iconImage,to:`/settings/providers/${t.id}`,configured:t.configured},null,8,["duration","delay","title","description","icon","icon-color","icon-image","to","configured"])),[[r]])),128))]),o[3]||(o[3]=e("div",{text:"neutral-100/50 dark:neutral-500/20","pointer-events-none":"",fixed:"","bottom-0":"","right-0":"","translate-x-10":"","translate-y-10":""},[e("div",{text:"40","i-lucide:brain":""})],-1))],64)}}});typeof d=="function"&&d(S);export{S as default}; diff --git a/assets/index-v53FFL-b.js b/assets/index-v53FFL-b.js new file mode 100644 index 0000000000000000000000000000000000000000..033cdaa458dfe349ea8627fba85a43b2390ceb0c --- /dev/null +++ b/assets/index-v53FFL-b.js @@ -0,0 +1,3 @@ +import{h as O,g as P,M as wt,w as K,N as Ct,O as At,P as fe,e as y,d as _,Q as Ot,f as $,j as F,o as R,k as T,p as $e,b as V,S as se,U as Kt,V as Et,W as Dt,X as Xt,Y as ge,Z as Pt,$ as qt,a0 as Le,a1 as st,a2 as Te,a3 as Z,m as Jt,a4 as Qt,a5 as Zt,a6 as Tt,K as kt,t as ke,J as en,c as me,n as Me,a7 as tn,a8 as nn,a9 as Bt,aa as on,ab as rn,ac as ln,ad as an,L as sn,F as Be,a as b,ae as un,af as cn,ag as dn,s as fn,y as pn,z as mn,A as Ve,q as Ee,H as vn,C as hn,E as ut,ah as gn}from"./index-CGdx-Gsw.js";import{_ as ct}from"./Collapsable.vue_vue_type_script_setup_true_lang-t6VABIns.js";import{c as dt}from"./Stage.vue_vue_type_style_index_0_scoped_cad77b27_lang-BvkGrZE5.js";import{b as ft}from"./route-block-B_A1xBdJ.js";import"./TransitionVertical.vue_vue_type_script_setup_true_lang-DIGllfwe.js";const yn=["top","right","bottom","left"],re=Math.min,W=Math.max,Se=Math.round,De=Math.floor,X=e=>({x:e,y:e}),xn={left:"right",right:"left",bottom:"top",top:"bottom"},bn={start:"end",end:"start"};function Ue(e,t,n){return W(e,re(t,n))}function ee(e,t){return typeof e=="function"?e(t):e}function te(e){return e.split("-")[0]}function ye(e){return e.split("-")[1]}function Je(e){return e==="x"?"y":"x"}function Qe(e){return e==="y"?"height":"width"}function le(e){return["top","bottom"].includes(te(e))?"y":"x"}function Ze(e){return Je(le(e))}function wn(e,t,n){n===void 0&&(n=!1);const o=ye(e),i=Ze(e),r=Qe(i);let l=i==="x"?o===(n?"end":"start")?"right":"left":o==="start"?"bottom":"top";return t.reference[r]>t.floating[r]&&(l=Re(l)),[l,Re(l)]}function Cn(e){const t=Re(e);return[Ye(e),t,Ye(t)]}function Ye(e){return e.replace(/start|end/g,t=>bn[t])}function An(e,t,n){const o=["left","right"],i=["right","left"],r=["top","bottom"],l=["bottom","top"];switch(e){case"top":case"bottom":return n?t?i:o:t?o:i;case"left":case"right":return t?r:l;default:return[]}}function On(e,t,n,o){const i=ye(e);let r=An(te(e),n==="start",o);return i&&(r=r.map(l=>l+"-"+i),t&&(r=r.concat(r.map(Ye)))),r}function Re(e){return e.replace(/left|right|bottom|top/g,t=>xn[t])}function En(e){return{top:0,right:0,bottom:0,left:0,...e}}function St(e){return typeof e!="number"?En(e):{top:e,right:e,bottom:e,left:e}}function _e(e){const{x:t,y:n,width:o,height:i}=e;return{width:o,height:i,top:n,left:t,right:t+o,bottom:n+i,x:t,y:n}}function pt(e,t,n){let{reference:o,floating:i}=e;const r=le(t),l=Ze(t),u=Qe(l),s=te(t),d=r==="y",a=o.x+o.width/2-i.width/2,c=o.y+o.height/2-i.height/2,m=o[u]/2-i[u]/2;let f;switch(s){case"top":f={x:a,y:o.y-i.height};break;case"bottom":f={x:a,y:o.y+o.height};break;case"right":f={x:o.x+o.width,y:c};break;case"left":f={x:o.x-i.width,y:c};break;default:f={x:o.x,y:o.y}}switch(ye(t)){case"start":f[l]-=m*(n&&d?-1:1);break;case"end":f[l]+=m*(n&&d?-1:1);break}return f}const Dn=async(e,t,n)=>{const{placement:o="bottom",strategy:i="absolute",middleware:r=[],platform:l}=n,u=r.filter(Boolean),s=await(l.isRTL==null?void 0:l.isRTL(t));let d=await l.getElementRects({reference:e,floating:t,strategy:i}),{x:a,y:c}=pt(d,o,s),m=o,f={},p=0;for(let g=0;g({name:"arrow",options:e,async fn(t){const{x:n,y:o,placement:i,rects:r,platform:l,elements:u,middlewareData:s}=t,{element:d,padding:a=0}=ee(e,t)||{};if(d==null)return{};const c=St(a),m={x:n,y:o},f=Ze(i),p=Qe(f),g=await l.getDimensions(d),v=f==="y",h=v?"top":"left",w=v?"bottom":"right",x=v?"clientHeight":"clientWidth",A=r.reference[p]+r.reference[f]-m[f]-r.floating[p],C=m[f]-r.reference[f],k=await(l.getOffsetParent==null?void 0:l.getOffsetParent(d));let E=k?k[x]:0;(!E||!await(l.isElement==null?void 0:l.isElement(k)))&&(E=u.floating[x]||r.floating[p]);const B=A/2-C/2,L=E/2-g[p]/2-1,D=re(c[h],L),j=re(c[w],L),M=D,H=E-g[p]-j,S=E/2-g[p]/2+B,ne=Ue(M,S,H),N=!s.arrow&&ye(i)!=null&&S!==ne&&r.reference[p]/2-(SS<=0)){var j,M;const S=(((j=r.flip)==null?void 0:j.index)||0)+1,ne=E[S];if(ne)return{data:{index:S,overflows:D},reset:{placement:ne}};let N=(M=D.filter(G=>G.overflows[0]<=0).sort((G,oe)=>G.overflows[1]-oe.overflows[1])[0])==null?void 0:M.placement;if(!N)switch(f){case"bestFit":{var H;const G=(H=D.filter(oe=>{if(k){const ie=le(oe.placement);return ie===w||ie==="y"}return!0}).map(oe=>[oe.placement,oe.overflows.filter(ie=>ie>0).reduce((ie,Gt)=>ie+Gt,0)]).sort((oe,ie)=>oe[1]-ie[1])[0])==null?void 0:H[0];G&&(N=G);break}case"initialPlacement":N=u;break}if(i!==N)return{reset:{placement:N}}}return{}}}};function mt(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function vt(e){return yn.some(t=>e[t]>=0)}const kn=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:o="referenceHidden",...i}=ee(e,t);switch(o){case"referenceHidden":{const r=await be(t,{...i,elementContext:"reference"}),l=mt(r,n.reference);return{data:{referenceHiddenOffsets:l,referenceHidden:vt(l)}}}case"escaped":{const r=await be(t,{...i,altBoundary:!0}),l=mt(r,n.floating);return{data:{escapedOffsets:l,escaped:vt(l)}}}default:return{}}}}};async function Bn(e,t){const{placement:n,platform:o,elements:i}=e,r=await(o.isRTL==null?void 0:o.isRTL(i.floating)),l=te(n),u=ye(n),s=le(n)==="y",d=["left","top"].includes(l)?-1:1,a=r&&s?-1:1,c=ee(t,e);let{mainAxis:m,crossAxis:f,alignmentAxis:p}=typeof c=="number"?{mainAxis:c,crossAxis:0,alignmentAxis:null}:{mainAxis:c.mainAxis||0,crossAxis:c.crossAxis||0,alignmentAxis:c.alignmentAxis};return u&&typeof p=="number"&&(f=u==="end"?p*-1:p),s?{x:f*a,y:m*d}:{x:m*d,y:f*a}}const Sn=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,o;const{x:i,y:r,placement:l,middlewareData:u}=t,s=await Bn(t,e);return l===((n=u.offset)==null?void 0:n.placement)&&(o=u.arrow)!=null&&o.alignmentOffset?{}:{x:i+s.x,y:r+s.y,data:{...s,placement:l}}}}},Rn=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:o,placement:i}=t,{mainAxis:r=!0,crossAxis:l=!1,limiter:u={fn:v=>{let{x:h,y:w}=v;return{x:h,y:w}}},...s}=ee(e,t),d={x:n,y:o},a=await be(t,s),c=le(te(i)),m=Je(c);let f=d[m],p=d[c];if(r){const v=m==="y"?"top":"left",h=m==="y"?"bottom":"right",w=f+a[v],x=f-a[h];f=Ue(w,f,x)}if(l){const v=c==="y"?"top":"left",h=c==="y"?"bottom":"right",w=p+a[v],x=p-a[h];p=Ue(w,p,x)}const g=u.fn({...t,[m]:f,[c]:p});return{...g,data:{x:g.x-n,y:g.y-o,enabled:{[m]:r,[c]:l}}}}}},_n=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:o,placement:i,rects:r,middlewareData:l}=t,{offset:u=0,mainAxis:s=!0,crossAxis:d=!0}=ee(e,t),a={x:n,y:o},c=le(i),m=Je(c);let f=a[m],p=a[c];const g=ee(u,t),v=typeof g=="number"?{mainAxis:g,crossAxis:0}:{mainAxis:0,crossAxis:0,...g};if(s){const x=m==="y"?"height":"width",A=r.reference[m]-r.floating[x]+v.mainAxis,C=r.reference[m]+r.reference[x]-v.mainAxis;fC&&(f=C)}if(d){var h,w;const x=m==="y"?"width":"height",A=["top","left"].includes(te(i)),C=r.reference[c]-r.floating[x]+(A&&((h=l.offset)==null?void 0:h[c])||0)+(A?0:v.crossAxis),k=r.reference[c]+r.reference[x]+(A?0:((w=l.offset)==null?void 0:w[c])||0)-(A?v.crossAxis:0);pk&&(p=k)}return{[m]:f,[c]:p}}}},$n=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,o;const{placement:i,rects:r,platform:l,elements:u}=t,{apply:s=()=>{},...d}=ee(e,t),a=await be(t,d),c=te(i),m=ye(i),f=le(i)==="y",{width:p,height:g}=r.floating;let v,h;c==="top"||c==="bottom"?(v=c,h=m===(await(l.isRTL==null?void 0:l.isRTL(u.floating))?"start":"end")?"left":"right"):(h=c,v=m==="end"?"top":"bottom");const w=g-a.top-a.bottom,x=p-a.left-a.right,A=re(g-a[v],w),C=re(p-a[h],x),k=!t.middlewareData.shift;let E=A,B=C;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(B=x),(o=t.middlewareData.shift)!=null&&o.enabled.y&&(E=w),k&&!m){const D=W(a.left,0),j=W(a.right,0),M=W(a.top,0),H=W(a.bottom,0);f?B=p-2*(D!==0||j!==0?D+j:W(a.left,a.right)):E=g-2*(M!==0||H!==0?M+H:W(a.top,a.bottom))}await s({...t,availableWidth:B,availableHeight:E});const L=await l.getDimensions(u.floating);return p!==L.width||g!==L.height?{reset:{rects:!0}}:{}}}};function Ne(){return typeof window<"u"}function de(e){return et(e)?(e.nodeName||"").toLowerCase():"#document"}function z(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function J(e){var t;return(t=(et(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function et(e){return Ne()?e instanceof Node||e instanceof z(e).Node:!1}function U(e){return Ne()?e instanceof Element||e instanceof z(e).Element:!1}function q(e){return Ne()?e instanceof HTMLElement||e instanceof z(e).HTMLElement:!1}function ht(e){return!Ne()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof z(e).ShadowRoot}function Ce(e){const{overflow:t,overflowX:n,overflowY:o,display:i}=Y(e);return/auto|scroll|overlay|hidden|clip/.test(t+o+n)&&!["inline","contents"].includes(i)}function Ln(e){return["table","td","th"].includes(de(e))}function Fe(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch{return!1}})}function tt(e){const t=nt(),n=U(e)?Y(e):e;return["transform","translate","scale","rotate","perspective"].some(o=>n[o]?n[o]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||["transform","translate","scale","rotate","perspective","filter"].some(o=>(n.willChange||"").includes(o))||["paint","layout","strict","content"].some(o=>(n.contain||"").includes(o))}function Mn(e){let t=ae(e);for(;q(t)&&!he(t);){if(tt(t))return t;if(Fe(t))return null;t=ae(t)}return null}function nt(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function he(e){return["html","body","#document"].includes(de(e))}function Y(e){return z(e).getComputedStyle(e)}function He(e){return U(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function ae(e){if(de(e)==="html")return e;const t=e.assignedSlot||e.parentNode||ht(e)&&e.host||J(e);return ht(t)?t.host:t}function Rt(e){const t=ae(e);return he(t)?e.ownerDocument?e.ownerDocument.body:e.body:q(t)&&Ce(t)?t:Rt(t)}function we(e,t,n){var o;t===void 0&&(t=[]),n===void 0&&(n=!0);const i=Rt(e),r=i===((o=e.ownerDocument)==null?void 0:o.body),l=z(i);if(r){const u=Ge(l);return t.concat(l,l.visualViewport||[],Ce(i)?i:[],u&&n?we(u):[])}return t.concat(i,we(i,[],n))}function Ge(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function _t(e){const t=Y(e);let n=parseFloat(t.width)||0,o=parseFloat(t.height)||0;const i=q(e),r=i?e.offsetWidth:n,l=i?e.offsetHeight:o,u=Se(n)!==r||Se(o)!==l;return u&&(n=r,o=l),{width:n,height:o,$:u}}function ot(e){return U(e)?e:e.contextElement}function ve(e){const t=ot(e);if(!q(t))return X(1);const n=t.getBoundingClientRect(),{width:o,height:i,$:r}=_t(t);let l=(r?Se(n.width):n.width)/o,u=(r?Se(n.height):n.height)/i;return(!l||!Number.isFinite(l))&&(l=1),(!u||!Number.isFinite(u))&&(u=1),{x:l,y:u}}const Nn=X(0);function $t(e){const t=z(e);return!nt()||!t.visualViewport?Nn:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Fn(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==z(e)?!1:t}function ce(e,t,n,o){t===void 0&&(t=!1),n===void 0&&(n=!1);const i=e.getBoundingClientRect(),r=ot(e);let l=X(1);t&&(o?U(o)&&(l=ve(o)):l=ve(e));const u=Fn(r,n,o)?$t(r):X(0);let s=(i.left+u.x)/l.x,d=(i.top+u.y)/l.y,a=i.width/l.x,c=i.height/l.y;if(r){const m=z(r),f=o&&U(o)?z(o):o;let p=m,g=Ge(p);for(;g&&o&&f!==p;){const v=ve(g),h=g.getBoundingClientRect(),w=Y(g),x=h.left+(g.clientLeft+parseFloat(w.paddingLeft))*v.x,A=h.top+(g.clientTop+parseFloat(w.paddingTop))*v.y;s*=v.x,d*=v.y,a*=v.x,c*=v.y,s+=x,d+=A,p=z(g),g=Ge(p)}}return _e({width:a,height:c,x:s,y:d})}function it(e,t){const n=He(e).scrollLeft;return t?t.left+n:ce(J(e)).left+n}function Lt(e,t,n){n===void 0&&(n=!1);const o=e.getBoundingClientRect(),i=o.left+t.scrollLeft-(n?0:it(e,o)),r=o.top+t.scrollTop;return{x:i,y:r}}function Hn(e){let{elements:t,rect:n,offsetParent:o,strategy:i}=e;const r=i==="fixed",l=J(o),u=t?Fe(t.floating):!1;if(o===l||u&&r)return n;let s={scrollLeft:0,scrollTop:0},d=X(1);const a=X(0),c=q(o);if((c||!c&&!r)&&((de(o)!=="body"||Ce(l))&&(s=He(o)),q(o))){const f=ce(o);d=ve(o),a.x=f.x+o.clientLeft,a.y=f.y+o.clientTop}const m=l&&!c&&!r?Lt(l,s,!0):X(0);return{width:n.width*d.x,height:n.height*d.y,x:n.x*d.x-s.scrollLeft*d.x+a.x+m.x,y:n.y*d.y-s.scrollTop*d.y+a.y+m.y}}function Wn(e){return Array.from(e.getClientRects())}function zn(e){const t=J(e),n=He(e),o=e.ownerDocument.body,i=W(t.scrollWidth,t.clientWidth,o.scrollWidth,o.clientWidth),r=W(t.scrollHeight,t.clientHeight,o.scrollHeight,o.clientHeight);let l=-n.scrollLeft+it(e);const u=-n.scrollTop;return Y(o).direction==="rtl"&&(l+=W(t.clientWidth,o.clientWidth)-i),{width:i,height:r,x:l,y:u}}function In(e,t){const n=z(e),o=J(e),i=n.visualViewport;let r=o.clientWidth,l=o.clientHeight,u=0,s=0;if(i){r=i.width,l=i.height;const d=nt();(!d||d&&t==="fixed")&&(u=i.offsetLeft,s=i.offsetTop)}return{width:r,height:l,x:u,y:s}}function Vn(e,t){const n=ce(e,!0,t==="fixed"),o=n.top+e.clientTop,i=n.left+e.clientLeft,r=q(e)?ve(e):X(1),l=e.clientWidth*r.x,u=e.clientHeight*r.y,s=i*r.x,d=o*r.y;return{width:l,height:u,x:s,y:d}}function gt(e,t,n){let o;if(t==="viewport")o=In(e,n);else if(t==="document")o=zn(J(e));else if(U(t))o=Vn(t,n);else{const i=$t(e);o={x:t.x-i.x,y:t.y-i.y,width:t.width,height:t.height}}return _e(o)}function Mt(e,t){const n=ae(e);return n===t||!U(n)||he(n)?!1:Y(n).position==="fixed"||Mt(n,t)}function jn(e,t){const n=t.get(e);if(n)return n;let o=we(e,[],!1).filter(u=>U(u)&&de(u)!=="body"),i=null;const r=Y(e).position==="fixed";let l=r?ae(e):e;for(;U(l)&&!he(l);){const u=Y(l),s=tt(l);!s&&u.position==="fixed"&&(i=null),(r?!s&&!i:!s&&u.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||Ce(l)&&!s&&Mt(e,l))?o=o.filter(a=>a!==l):i=u,l=ae(l)}return t.set(e,o),o}function Un(e){let{element:t,boundary:n,rootBoundary:o,strategy:i}=e;const l=[...n==="clippingAncestors"?Fe(t)?[]:jn(t,this._c):[].concat(n),o],u=l[0],s=l.reduce((d,a)=>{const c=gt(t,a,i);return d.top=W(c.top,d.top),d.right=re(c.right,d.right),d.bottom=re(c.bottom,d.bottom),d.left=W(c.left,d.left),d},gt(t,u,i));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}}function Yn(e){const{width:t,height:n}=_t(e);return{width:t,height:n}}function Gn(e,t,n){const o=q(t),i=J(t),r=n==="fixed",l=ce(e,!0,r,t);let u={scrollLeft:0,scrollTop:0};const s=X(0);if(o||!o&&!r)if((de(t)!=="body"||Ce(i))&&(u=He(t)),o){const m=ce(t,!0,r,t);s.x=m.x+t.clientLeft,s.y=m.y+t.clientTop}else i&&(s.x=it(i));const d=i&&!o&&!r?Lt(i,u):X(0),a=l.left+u.scrollLeft-s.x-d.x,c=l.top+u.scrollTop-s.y-d.y;return{x:a,y:c,width:l.width,height:l.height}}function je(e){return Y(e).position==="static"}function yt(e,t){if(!q(e)||Y(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return J(e)===n&&(n=n.ownerDocument.body),n}function Nt(e,t){const n=z(e);if(Fe(e))return n;if(!q(e)){let i=ae(e);for(;i&&!he(i);){if(U(i)&&!je(i))return i;i=ae(i)}return n}let o=yt(e,t);for(;o&&Ln(o)&&je(o);)o=yt(o,t);return o&&he(o)&&je(o)&&!tt(o)?n:o||Mn(e)||n}const Kn=async function(e){const t=this.getOffsetParent||Nt,n=this.getDimensions,o=await n(e.floating);return{reference:Gn(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function Xn(e){return Y(e).direction==="rtl"}const qn={convertOffsetParentRelativeRectToViewportRelativeRect:Hn,getDocumentElement:J,getClippingRect:Un,getOffsetParent:Nt,getElementRects:Kn,getClientRects:Wn,getDimensions:Yn,getScale:ve,isElement:U,isRTL:Xn};function Ft(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Jn(e,t){let n=null,o;const i=J(e);function r(){var u;clearTimeout(o),(u=n)==null||u.disconnect(),n=null}function l(u,s){u===void 0&&(u=!1),s===void 0&&(s=1),r();const d=e.getBoundingClientRect(),{left:a,top:c,width:m,height:f}=d;if(u||t(),!m||!f)return;const p=De(c),g=De(i.clientWidth-(a+m)),v=De(i.clientHeight-(c+f)),h=De(a),x={rootMargin:-p+"px "+-g+"px "+-v+"px "+-h+"px",threshold:W(0,re(1,s))||1};let A=!0;function C(k){const E=k[0].intersectionRatio;if(E!==s){if(!A)return l();E?l(!1,E):o=setTimeout(()=>{l(!1,1e-7)},1e3)}E===1&&!Ft(d,e.getBoundingClientRect())&&l(),A=!1}try{n=new IntersectionObserver(C,{...x,root:i.ownerDocument})}catch{n=new IntersectionObserver(C,x)}n.observe(e)}return l(!0),r}function Qn(e,t,n,o){o===void 0&&(o={});const{ancestorScroll:i=!0,ancestorResize:r=!0,elementResize:l=typeof ResizeObserver=="function",layoutShift:u=typeof IntersectionObserver=="function",animationFrame:s=!1}=o,d=ot(e),a=i||r?[...d?we(d):[],...we(t)]:[];a.forEach(h=>{i&&h.addEventListener("scroll",n,{passive:!0}),r&&h.addEventListener("resize",n)});const c=d&&u?Jn(d,n):null;let m=-1,f=null;l&&(f=new ResizeObserver(h=>{let[w]=h;w&&w.target===d&&f&&(f.unobserve(t),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{var x;(x=f)==null||x.observe(t)})),n()}),d&&!s&&f.observe(d),f.observe(t));let p,g=s?ce(e):null;s&&v();function v(){const h=ce(e);g&&!Ft(g,h)&&n(),g=h,p=requestAnimationFrame(v)}return n(),()=>{var h;a.forEach(w=>{i&&w.removeEventListener("scroll",n),r&&w.removeEventListener("resize",n)}),c==null||c(),(h=f)==null||h.disconnect(),f=null,s&&cancelAnimationFrame(p)}}const Zn=Sn,eo=Rn,xt=Tn,to=$n,no=kn,oo=Pn,io=_n,ro=(e,t,n)=>{const o=new Map,i={platform:qn,...n},r={...i.platform,_c:o};return Dn(e,t,{...i,platform:r})};function lo(e){return e!=null&&typeof e=="object"&&"$el"in e}function Ke(e){if(lo(e)){const t=e.$el;return et(t)&&de(t)==="#comment"?null:t}return e}function pe(e){return typeof e=="function"?e():y(e)}function ao(e){return{name:"arrow",options:e,fn(t){const n=Ke(pe(e.element));return n==null?{}:oo({element:n,padding:e.padding}).fn(t)}}}function Ht(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function bt(e,t){const n=Ht(e);return Math.round(t*n)/n}function so(e,t,n){n===void 0&&(n={});const o=n.whileElementsMounted,i=O(()=>{var E;return(E=pe(n.open))!=null?E:!0}),r=O(()=>pe(n.middleware)),l=O(()=>{var E;return(E=pe(n.placement))!=null?E:"bottom"}),u=O(()=>{var E;return(E=pe(n.strategy))!=null?E:"absolute"}),s=O(()=>{var E;return(E=pe(n.transform))!=null?E:!0}),d=O(()=>Ke(e.value)),a=O(()=>Ke(t.value)),c=P(0),m=P(0),f=P(u.value),p=P(l.value),g=wt({}),v=P(!1),h=O(()=>{const E={position:f.value,left:"0",top:"0"};if(!a.value)return E;const B=bt(a.value,c.value),L=bt(a.value,m.value);return s.value?{...E,transform:"translate("+B+"px, "+L+"px)",...Ht(a.value)>=1.5&&{willChange:"transform"}}:{position:f.value,left:B+"px",top:L+"px"}});let w;function x(){if(d.value==null||a.value==null)return;const E=i.value;ro(d.value,a.value,{middleware:r.value,placement:l.value,strategy:u.value}).then(B=>{c.value=B.x,m.value=B.y,f.value=B.strategy,p.value=B.placement,g.value=B.middlewareData,v.value=E!==!1})}function A(){typeof w=="function"&&(w(),w=void 0)}function C(){if(A(),o===void 0){x();return}if(d.value!=null&&a.value!=null){w=o(d.value,a.value,x);return}}function k(){i.value||(v.value=!1)}return K([r,l,u,i],x,{flush:"sync"}),K([d,a],C,{flush:"sync"}),K(i,k,{flush:"sync"}),Ct()&&At(A),{x:fe(c),y:fe(m),strategy:fe(f),placement:fe(p),middlewareData:fe(g),isPositioned:fe(v),floatingStyles:h,update:x}}function Ae(e,t){const n=typeof e=="string"&&!t?`${e}Context`:t,o=Symbol(n);return[i=>{const r=qt(o,i);if(r||r===null)return r;throw new Error(`Injection \`${o.toString()}\` not found. Component must be used within ${Array.isArray(e)?`one of the following components: ${e.join(", ")}`:`\`${e}\``}`)},i=>(dn(o,i),i)]}function Wt(e,t,n){const o=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),o.dispatchEvent(i)}function uo(e,t){var n;const o=wt();return Z(()=>{o.value=e()},{...t,flush:(n=void 0)!=null?n:"sync"}),Pt(o)}function We(e){return Ct()?(At(e),!0):!1}function co(){const e=new Set,t=n=>{e.delete(n)};return{on:n=>{e.add(n);const o=()=>t(n);return We(o),{off:o}},off:t,trigger:(...n)=>Promise.all(Array.from(e).map(o=>o(...n)))}}function fo(e){let t=!1,n;const o=cn(!0);return(...i)=>(t||(n=o.run(()=>e(...i)),t=!0),n)}function ue(e){return typeof e=="function"?e():y(e)}const Oe=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const po=e=>typeof e<"u",mo=Object.prototype.toString,vo=e=>mo.call(e)==="[object Object]",ho=()=>{};function go(e,t=1e4){return un((n,o)=>{let i=ue(e),r;const l=()=>setTimeout(()=>{i=ue(e),o()},ue(t));return We(()=>{clearTimeout(r)}),{get(){return n(),i},set(u){i=u,o(),clearTimeout(r),r=l()}}})}function zt(e,t,n={}){const{immediate:o=!0}=n,i=P(!1);let r=null;function l(){r&&(clearTimeout(r),r=null)}function u(){i.value=!1,l()}function s(...d){l(),i.value=!0,r=setTimeout(()=>{i.value=!1,r=null,e(...d)},ue(t))}return o&&(i.value=!0,Oe&&s()),We(u),{isPending:Pt(i),start:s,stop:u}}function ze(e){var t;const n=ue(e);return(t=n==null?void 0:n.$el)!=null?t:n}const rt=Oe?window:void 0;function Xe(...e){let t,n,o,i;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,o,i]=e,t=rt):[t,n,o,i]=e,!t)return ho;Array.isArray(n)||(n=[n]),Array.isArray(o)||(o=[o]);const r=[],l=()=>{r.forEach(a=>a()),r.length=0},u=(a,c,m,f)=>(a.addEventListener(c,m,f),()=>a.removeEventListener(c,m,f)),s=K(()=>[ze(t),ue(i)],([a,c])=>{if(l(),!a)return;const m=vo(c)?{...c}:c;r.push(...n.flatMap(f=>o.map(p=>u(a,f,p,m))))},{immediate:!0,flush:"post"}),d=()=>{s(),l()};return We(d),d}function yo(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function xo(...e){let t,n,o={};e.length===3?(t=e[0],n=e[1],o=e[2]):e.length===2?typeof e[1]=="object"?(t=!0,n=e[0],o=e[1]):(t=e[0],n=e[1]):(t=!0,n=e[0]);const{target:i=rt,eventName:r="keydown",passive:l=!1,dedupe:u=!1}=o,s=yo(t);return Xe(i,r,d=>{d.repeat&&ue(u)||s(d)&&n(d)},l)}function bo(){const e=P(!1),t=ge();return t&&$e(()=>{e.value=!0},t),e}function wo(e){return JSON.parse(JSON.stringify(e))}function Co(e,t,n,o={}){var i,r,l;const{clone:u=!1,passive:s=!1,eventName:d,deep:a=!1,defaultValue:c,shouldEmit:m}=o,f=ge(),p=n||(f==null?void 0:f.emit)||((i=f==null?void 0:f.$emit)==null?void 0:i.bind(f))||((l=(r=f==null?void 0:f.proxy)==null?void 0:r.$emit)==null?void 0:l.bind(f==null?void 0:f.proxy));let g=d;g=g||`update:${t.toString()}`;const v=x=>u?typeof u=="function"?u(x):wo(x):x,h=()=>po(e[t])?v(e[t]):c,w=x=>{m?m(x)&&p(g,x):p(g,x)};if(s){const x=h(),A=P(x);let C=!1;return K(()=>e[t],k=>{C||(C=!0,A.value=v(k),Le(()=>C=!1))}),K(A,k=>{!C&&(k!==e[t]||a)&&w(k)},{deep:a}),A}else return O({get(){return h()},set(x){w(x)}})}function lt(e){return e?e.flatMap(t=>t.type===Be?lt(t.children):[t]):[]}const[Ao,Mi]=Ae("ConfigProvider");function Oo(e){const t=ge(),n=t==null?void 0:t.type.emits,o={};return n!=null&&n.length||console.warn(`No emitted event found. Please check component: ${t==null?void 0:t.type.__name}`),n==null||n.forEach(i=>{o[on(Bt(i))]=(...r)=>e(i,...r)}),o}function It(e){const t=ge(),n=Object.keys((t==null?void 0:t.type.props)??{}).reduce((i,r)=>{const l=(t==null?void 0:t.type.props[r]).default;return l!==void 0&&(i[r]=l),i},{}),o=nn(e);return O(()=>{const i={},r=(t==null?void 0:t.vnode.props)??{};return Object.keys(r).forEach(l=>{i[Bt(l)]=r[l]}),Object.keys({...n,...i}).reduce((l,u)=>(o.value[u]!==void 0&&(l[u]=o.value[u]),l),{})})}function Eo(e,t){const n=It(e),o=t?Oo(t):{};return O(()=>({...n.value,...o}))}function I(){const e=ge(),t=P(),n=O(()=>{var l,u;return["#text","#comment"].includes((l=t.value)==null?void 0:l.$el.nodeName)?(u=t.value)==null?void 0:u.$el.nextElementSibling:ze(t)}),o=Object.assign({},e.exposed),i={};for(const l in e.props)Object.defineProperty(i,l,{enumerable:!0,configurable:!0,get:()=>e.props[l]});if(Object.keys(o).length>0)for(const l in o)Object.defineProperty(i,l,{enumerable:!0,configurable:!0,get:()=>o[l]});Object.defineProperty(i,"$el",{enumerable:!0,configurable:!0,get:()=>e.vnode.el}),e.exposed=i;function r(l){t.value=l,l&&(Object.defineProperty(i,"$el",{enumerable:!0,configurable:!0,get:()=>l instanceof Element?l:l.$el}),e.exposed=i)}return{forwardRef:r,currentRef:t,currentElement:n}}function Do(e,t){const n=go(!1,300),o=P(null),i=co();function r(){o.value=null,n.value=!1}function l(u,s){const d=u.currentTarget,a={x:u.clientX,y:u.clientY},c=Po(a,d.getBoundingClientRect()),m=To(a,c),f=ko(s.getBoundingClientRect()),p=So([...m,...f]);o.value=p,n.value=!0}return Z(u=>{if(e.value&&t.value){const s=a=>l(a,t.value),d=a=>l(a,e.value);e.value.addEventListener("pointerleave",s),t.value.addEventListener("pointerleave",d),u(()=>{var a,c;(a=e.value)==null||a.removeEventListener("pointerleave",s),(c=t.value)==null||c.removeEventListener("pointerleave",d)})}}),Z(u=>{var s;if(o.value){const d=a=>{var c,m;if(!o.value)return;const f=a.target,p={x:a.clientX,y:a.clientY},g=((c=e.value)==null?void 0:c.contains(f))||((m=t.value)==null?void 0:m.contains(f)),v=!Bo(p,o.value),h=!!f.closest("[data-grace-area-trigger]");g?r():(v||h)&&(r(),i.trigger())};(s=e.value)==null||s.ownerDocument.addEventListener("pointermove",d),u(()=>{var a;return(a=e.value)==null?void 0:a.ownerDocument.removeEventListener("pointermove",d)})}}),{isPointerInTransit:n,onPointerExit:i.on}}function Po(e,t){const n=Math.abs(t.top-e.y),o=Math.abs(t.bottom-e.y),i=Math.abs(t.right-e.x),r=Math.abs(t.left-e.x);switch(Math.min(n,o,i,r)){case r:return"left";case i:return"right";case n:return"top";case o:return"bottom";default:throw new Error("unreachable")}}function To(e,t,n=5){const o=[];switch(t){case"top":o.push({x:e.x-n,y:e.y+n},{x:e.x+n,y:e.y+n});break;case"bottom":o.push({x:e.x-n,y:e.y-n},{x:e.x+n,y:e.y-n});break;case"left":o.push({x:e.x+n,y:e.y-n},{x:e.x+n,y:e.y+n});break;case"right":o.push({x:e.x-n,y:e.y-n},{x:e.x-n,y:e.y+n});break}return o}function ko(e){const{top:t,right:n,bottom:o,left:i}=e;return[{x:i,y:t},{x:n,y:t},{x:n,y:o},{x:i,y:o}]}function Bo(e,t){const{x:n,y:o}=e;let i=!1;for(let r=0,l=t.length-1;ro!=a>o&&n<(d-u)*(o-s)/(a-s)+u&&(i=!i)}return i}function So(e){const t=e.slice();return t.sort((n,o)=>n.xo.x?1:n.yo.y?1:0),Ro(t)}function Ro(e){if(e.length<=1)return e.slice();const t=[];for(let o=0;o=2;){const r=t[t.length-1],l=t[t.length-2];if((r.x-l.x)*(i.y-l.y)>=(r.y-l.y)*(i.x-l.x))t.pop();else break}t.push(i)}t.pop();const n=[];for(let o=e.length-1;o>=0;o--){const i=e[o];for(;n.length>=2;){const r=n[n.length-1],l=n[n.length-2];if((r.x-l.x)*(i.y-l.y)>=(r.y-l.y)*(i.x-l.x))n.pop();else break}n.push(i)}return n.pop(),t.length===1&&n.length===1&&t[0].x===n[0].x&&t[0].y===n[0].y?t:t.concat(n)}let _o=0;function $o(e,t="radix"){const n=Ao({useId:void 0});return st?`${t}-${st()}`:n.useId?`${t}-${n.useId()}`:`${t}-${++_o}`}function Lo(e){const t=P(),n=O(()=>{var i;return((i=t.value)==null?void 0:i.width)??0}),o=O(()=>{var i;return((i=t.value)==null?void 0:i.height)??0});return $e(()=>{const i=ze(e);if(i){t.value={width:i.offsetWidth,height:i.offsetHeight};const r=new ResizeObserver(l=>{if(!Array.isArray(l)||!l.length)return;const u=l[0];let s,d;if("borderBoxSize"in u){const a=u.borderBoxSize,c=Array.isArray(a)?a[0]:a;s=c.inlineSize,d=c.blockSize}else s=i.offsetWidth,d=i.offsetHeight;t.value={width:s,height:d}});return r.observe(i,{box:"border-box"}),()=>r.unobserve(i)}else t.value=void 0}),{width:n,height:o}}function Mo(e,t){const n=P(e);function o(i){return t[n.value][i]??n.value}return{state:n,dispatch:i=>{n.value=o(i)}}}const No=_({name:"PrimitiveSlot",inheritAttrs:!1,setup(e,{attrs:t,slots:n}){return()=>{var o,i;if(!n.default)return null;const r=lt(n.default()),l=r.findIndex(a=>a.type!==Tt);if(l===-1)return r;const u=r[l];(o=u.props)==null||delete o.ref;const s=u.props?se(t,u.props):t;t.class&&(i=u.props)!=null&&i.class&&delete u.props.class;const d=tn(u,s);for(const a in s)a.startsWith("on")&&(d.props||(d.props={}),d.props[a]=s[a]);return r.length===1?d:(r[l]=d,r)}}}),xe=_({name:"Primitive",inheritAttrs:!1,props:{asChild:{type:Boolean,default:!1},as:{type:[String,Object],default:"div"}},setup(e,{attrs:t,slots:n}){const o=e.asChild?"template":e.as;return typeof o=="string"&&["area","img","input"].includes(o)?()=>Te(o,t):o!=="template"?()=>Te(e.as,t,{default:n.default}):()=>Te(No,t,{default:n.default})}});function Fo(e,t){var n;const o=P({}),i=P("none"),r=P(e),l=e.value?"mounted":"unmounted";let u;const s=((n=t.value)==null?void 0:n.ownerDocument.defaultView)??rt,{state:d,dispatch:a}=Mo(l,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}}),c=v=>{var h;if(Oe){const w=new CustomEvent(v,{bubbles:!1,cancelable:!1});(h=t.value)==null||h.dispatchEvent(w)}};K(e,async(v,h)=>{var w;const x=h!==v;if(await Le(),x){const A=i.value,C=Pe(t.value);v?(a("MOUNT"),c("enter"),C==="none"&&c("after-enter")):C==="none"||((w=o.value)==null?void 0:w.display)==="none"?(a("UNMOUNT"),c("leave"),c("after-leave")):h&&A!==C?(a("ANIMATION_OUT"),c("leave")):(a("UNMOUNT"),c("after-leave"))}},{immediate:!0});const m=v=>{const h=Pe(t.value),w=h.includes(v.animationName),x=d.value==="mounted"?"enter":"leave";if(v.target===t.value&&w&&(c(`after-${x}`),a("ANIMATION_END"),!r.value)){const A=t.value.style.animationFillMode;t.value.style.animationFillMode="forwards",u=s==null?void 0:s.setTimeout(()=>{var C;((C=t.value)==null?void 0:C.style.animationFillMode)==="forwards"&&(t.value.style.animationFillMode=A)})}v.target===t.value&&h==="none"&&a("ANIMATION_END")},f=v=>{v.target===t.value&&(i.value=Pe(t.value))},p=K(t,(v,h)=>{v?(o.value=getComputedStyle(v),v.addEventListener("animationstart",f),v.addEventListener("animationcancel",m),v.addEventListener("animationend",m)):(a("ANIMATION_END"),u!==void 0&&(s==null||s.clearTimeout(u)),h==null||h.removeEventListener("animationstart",f),h==null||h.removeEventListener("animationcancel",m),h==null||h.removeEventListener("animationend",m))},{immediate:!0}),g=K(d,()=>{const v=Pe(t.value);i.value=d.value==="mounted"?v:"none"});return sn(()=>{p(),g()}),{isPresent:O(()=>["mounted","unmountSuspended"].includes(d.value))}}function Pe(e){return e&&getComputedStyle(e).animationName||"none"}const Ho=_({name:"Presence",props:{present:{type:Boolean,required:!0},forceMount:{type:Boolean}},slots:{},setup(e,{slots:t,expose:n}){var o;const{present:i,forceMount:r}=Ot(e),l=P(),{isPresent:u}=Fo(i,l);n({present:u});let s=t.default({present:u});s=lt(s||[]);const d=ge();if(s&&(s==null?void 0:s.length)>1){const a=(o=d==null?void 0:d.parent)!=null&&o.type.name?`<${d.parent.type.name} />`:"component";throw new Error([`Detected an invalid children for \`${a}\` for \`Presence\` component.`,"","Note: Presence works similarly to `v-if` directly, but it waits for animation/transition to finished before unmounting. So it expect only one direct child of valid VNode type.","You can apply a few solutions:",["Provide a single child element so that `presence` directive attach correctly.","Ensure the first child is an actual element instead of a raw text node or comment node."].map(c=>` - ${c}`).join(` +`)].join(` +`))}return()=>r.value||i.value||u.value?Te(t.default({present:u})[0],{ref:a=>{const c=ze(a);return typeof(c==null?void 0:c.hasAttribute)>"u"||(c!=null&&c.hasAttribute("data-radix-popper-content-wrapper")?l.value=c.firstElementChild:l.value=c),c}}):null}}),Wo=_({__name:"Teleport",props:{to:{default:"body"},disabled:{type:Boolean},forceMount:{type:Boolean}},setup(e){const t=bo();return(n,o)=>y(t)||n.forceMount?(R(),F(Qt,{key:0,to:n.to,disabled:n.disabled},[$(n.$slots,"default")],8,["to","disabled"])):Jt("",!0)}}),zo="dismissableLayer.pointerDownOutside",Io="dismissableLayer.focusOutside";function Vt(e,t){const n=t.closest("[data-dismissable-layer]"),o=e.dataset.dismissableLayer===""?e:e.querySelector("[data-dismissable-layer]"),i=Array.from(e.ownerDocument.querySelectorAll("[data-dismissable-layer]"));return!!(n&&o===n||i.indexOf(o){});return Z(l=>{if(!Oe)return;const u=async d=>{const a=d.target;if(t!=null&&t.value){if(Vt(t.value,a)){i.value=!1;return}if(d.target&&!i.value){let c=function(){Wt(zo,e,m)};const m={originalEvent:d};d.pointerType==="touch"?(o.removeEventListener("click",r.value),r.value=c,o.addEventListener("click",r.value,{once:!0})):c()}else o.removeEventListener("click",r.value);i.value=!1}},s=window.setTimeout(()=>{o.addEventListener("pointerdown",u)},0);l(()=>{window.clearTimeout(s),o.removeEventListener("pointerdown",u),o.removeEventListener("click",r.value)})}),{onPointerDownCapture:()=>i.value=!0}}function jo(e,t){var n;const o=((n=t==null?void 0:t.value)==null?void 0:n.ownerDocument)??(globalThis==null?void 0:globalThis.document),i=P(!1);return Z(r=>{if(!Oe)return;const l=async u=>{t!=null&&t.value&&(await Le(),!(!t.value||Vt(t.value,u.target))&&u.target&&!i.value&&Wt(Io,e,{originalEvent:u}))};o.addEventListener("focusin",l),r(()=>o.removeEventListener("focusin",l))}),{onFocusCapture:()=>i.value=!0,onBlurCapture:()=>i.value=!1}}const Q=an({layersRoot:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Uo=_({__name:"DismissableLayer",props:{disableOutsidePointerEvents:{type:Boolean,default:!1},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","dismiss"],setup(e,{emit:t}){const n=e,o=t,{forwardRef:i,currentElement:r}=I(),l=O(()=>{var p;return((p=r.value)==null?void 0:p.ownerDocument)??globalThis.document}),u=O(()=>Q.layersRoot),s=O(()=>r.value?Array.from(u.value).indexOf(r.value):-1),d=O(()=>Q.layersWithOutsidePointerEventsDisabled.size>0),a=O(()=>{const p=Array.from(u.value),[g]=[...Q.layersWithOutsidePointerEventsDisabled].slice(-1),v=p.indexOf(g);return s.value>=v}),c=Vo(async p=>{const g=[...Q.branches].some(v=>v==null?void 0:v.contains(p.target));!a.value||g||(o("pointerDownOutside",p),o("interactOutside",p),await Le(),p.defaultPrevented||o("dismiss"))},r),m=jo(p=>{[...Q.branches].some(g=>g==null?void 0:g.contains(p.target))||(o("focusOutside",p),o("interactOutside",p),p.defaultPrevented||o("dismiss"))},r);xo("Escape",p=>{s.value===u.value.size-1&&(o("escapeKeyDown",p),p.defaultPrevented||o("dismiss"))});let f;return Z(p=>{r.value&&(n.disableOutsidePointerEvents&&(Q.layersWithOutsidePointerEventsDisabled.size===0&&(f=l.value.body.style.pointerEvents,l.value.body.style.pointerEvents="none"),Q.layersWithOutsidePointerEventsDisabled.add(r.value)),u.value.add(r.value),p(()=>{n.disableOutsidePointerEvents&&Q.layersWithOutsidePointerEventsDisabled.size===1&&(l.value.body.style.pointerEvents=f)}))}),Z(p=>{p(()=>{r.value&&(u.value.delete(r.value),Q.layersWithOutsidePointerEventsDisabled.delete(r.value))})}),(p,g)=>(R(),F(y(xe),{ref:y(i),"as-child":p.asChild,as:p.as,"data-dismissable-layer":"",style:Me({pointerEvents:d.value?a.value?"auto":"none":void 0}),onFocusCapture:y(m).onFocusCapture,onBlurCapture:y(m).onBlurCapture,onPointerdownCapture:y(c).onPointerDownCapture},{default:T(()=>[$(p.$slots,"default")]),_:3},8,["as-child","as","style","onFocusCapture","onBlurCapture","onPointerdownCapture"]))}});fo(()=>P([]));const[jt,Yo]=Ae("PopperRoot"),Go=_({inheritAttrs:!1,__name:"PopperRoot",setup(e){const t=P();return Yo({anchor:t,onAnchorChange:n=>t.value=n}),(n,o)=>$(n.$slots,"default")}}),Ko=_({__name:"PopperAnchor",props:{element:{},asChild:{type:Boolean},as:{}},setup(e){const t=e,{forwardRef:n,currentElement:o}=I(),i=jt();return Z(()=>{i.onAnchorChange(t.element??o.value)}),(r,l)=>(R(),F(y(xe),{ref:y(n),as:r.as,"as-child":r.asChild},{default:T(()=>[$(r.$slots,"default")]),_:3},8,["as","as-child"]))}});function Xo(e){return e!==null}function qo(e){return{name:"transformOrigin",options:e,fn(t){var n,o,i;const{placement:r,rects:l,middlewareData:u}=t,s=((n=u.arrow)==null?void 0:n.centerOffset)!==0,d=s?0:e.arrowWidth,a=s?0:e.arrowHeight,[c,m]=qe(r),f={start:"0%",center:"50%",end:"100%"}[m],p=(((o=u.arrow)==null?void 0:o.x)??0)+d/2,g=(((i=u.arrow)==null?void 0:i.y)??0)+a/2;let v="",h="";return c==="bottom"?(v=s?f:`${p}px`,h=`${-a}px`):c==="top"?(v=s?f:`${p}px`,h=`${l.floating.height+a}px`):c==="right"?(v=`${-a}px`,h=s?f:`${g}px`):c==="left"&&(v=`${l.floating.width+a}px`,h=s?f:`${g}px`),{data:{x:v,y:h}}}}}function qe(e){const[t,n="center"]=e.split("-");return[t,n]}const Jo={side:"bottom",sideOffset:0,align:"center",alignOffset:0,arrowPadding:0,avoidCollisions:!0,collisionBoundary:()=>[],collisionPadding:0,sticky:"partial",hideWhenDetached:!1,updatePositionStrategy:"optimized",prioritizePosition:!1},[Qo,Zo]=Ae("PopperContent"),ei=_({inheritAttrs:!1,__name:"PopperContent",props:rn({side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},{...Jo}),emits:["placed"],setup(e,{emit:t}){const n=e,o=t,i=jt(),{forwardRef:r,currentElement:l}=I(),u=P(),s=P(),{width:d,height:a}=Lo(s),c=O(()=>n.side+(n.align!=="center"?`-${n.align}`:"")),m=O(()=>typeof n.collisionPadding=="number"?n.collisionPadding:{top:0,right:0,bottom:0,left:0,...n.collisionPadding}),f=O(()=>Array.isArray(n.collisionBoundary)?n.collisionBoundary:[n.collisionBoundary]),p=O(()=>({padding:m.value,boundary:f.value.filter(Xo),altBoundary:f.value.length>0})),g=uo(()=>[Zn({mainAxis:n.sideOffset+a.value,alignmentAxis:n.alignOffset}),n.prioritizePosition&&n.avoidCollisions&&xt({...p.value}),n.avoidCollisions&&eo({mainAxis:!0,crossAxis:!!n.prioritizePosition,limiter:n.sticky==="partial"?io():void 0,...p.value}),!n.prioritizePosition&&n.avoidCollisions&&xt({...p.value}),to({...p.value,apply:({elements:D,rects:j,availableWidth:M,availableHeight:H})=>{const{width:S,height:ne}=j.reference,N=D.floating.style;N.setProperty("--radix-popper-available-width",`${M}px`),N.setProperty("--radix-popper-available-height",`${H}px`),N.setProperty("--radix-popper-anchor-width",`${S}px`),N.setProperty("--radix-popper-anchor-height",`${ne}px`)}}),s.value&&ao({element:s.value,padding:n.arrowPadding}),qo({arrowWidth:d.value,arrowHeight:a.value}),n.hideWhenDetached&&no({strategy:"referenceHidden",...p.value})]),{floatingStyles:v,placement:h,isPositioned:w,middlewareData:x}=so(i.anchor,u,{strategy:"fixed",placement:c,whileElementsMounted:(...D)=>Qn(...D,{animationFrame:n.updatePositionStrategy==="always"}),middleware:g}),A=O(()=>qe(h.value)[0]),C=O(()=>qe(h.value)[1]);ln(()=>{w.value&&o("placed")});const k=O(()=>{var D;return((D=x.value.arrow)==null?void 0:D.centerOffset)!==0}),E=P("");Z(()=>{l.value&&(E.value=window.getComputedStyle(l.value).zIndex)});const B=O(()=>{var D;return((D=x.value.arrow)==null?void 0:D.x)??0}),L=O(()=>{var D;return((D=x.value.arrow)==null?void 0:D.y)??0});return Zo({placedSide:A,onArrowChange:D=>s.value=D,arrowX:B,arrowY:L,shouldHideArrow:k}),(D,j)=>{var M,H,S;return R(),me("div",{ref_key:"floatingRef",ref:u,"data-radix-popper-content-wrapper":"",style:Me({...y(v),transform:y(w)?y(v).transform:"translate(0, -200%)",minWidth:"max-content",zIndex:E.value,"--radix-popper-transform-origin":[(M=y(x).transformOrigin)==null?void 0:M.x,(H=y(x).transformOrigin)==null?void 0:H.y].join(" "),...((S=y(x).hide)==null?void 0:S.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}})},[V(y(xe),se({ref:y(r)},D.$attrs,{"as-child":n.asChild,as:D.as,"data-side":A.value,"data-align":C.value,style:{animation:y(w)?void 0:"none"}}),{default:T(()=>[$(D.$slots,"default")]),_:3},16,["as-child","as","data-side","data-align","style"])],4)}}}),ti=b("polygon",{points:"0,0 30,0 15,10"},null,-1),ni=_({__name:"Arrow",props:{width:{default:10},height:{default:5},asChild:{type:Boolean},as:{default:"svg"}},setup(e){const t=e;return I(),(n,o)=>(R(),F(y(xe),se(t,{width:n.width,height:n.height,viewBox:n.asChild?void 0:"0 0 30 10",preserveAspectRatio:n.asChild?void 0:"none"}),{default:T(()=>[$(n.$slots,"default",{},()=>[ti])]),_:3},16,["width","height","viewBox","preserveAspectRatio"]))}}),oi={top:"bottom",right:"left",bottom:"top",left:"right"},ii=_({inheritAttrs:!1,__name:"PopperArrow",props:{width:{},height:{},asChild:{type:Boolean},as:{default:"svg"}},setup(e){const{forwardRef:t}=I(),n=Qo(),o=O(()=>oi[n.placedSide.value]);return(i,r)=>{var l,u,s,d;return R(),me("span",{ref:a=>{y(n).onArrowChange(a)},style:Me({position:"absolute",left:(l=y(n).arrowX)!=null&&l.value?`${(u=y(n).arrowX)==null?void 0:u.value}px`:void 0,top:(s=y(n).arrowY)!=null&&s.value?`${(d=y(n).arrowY)==null?void 0:d.value}px`:void 0,[o.value]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[y(n).placedSide.value],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[y(n).placedSide.value],visibility:y(n).shouldHideArrow.value?"hidden":void 0})},[V(ni,se(i.$attrs,{ref:y(t),style:{display:"block"},as:i.as,"as-child":i.asChild,width:i.width,height:i.height}),{default:T(()=>[$(i.$slots,"default")]),_:3},16,["as","as-child","width","height"])],4)}}}),ri=_({__name:"VisuallyHidden",props:{asChild:{type:Boolean},as:{default:"span"}},setup(e){return I(),(t,n)=>(R(),F(y(xe),{as:t.as,"as-child":t.asChild,style:{position:"absolute",border:0,width:"1px",display:"inline-block",height:"1px",padding:0,margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}},{default:T(()=>[$(t.$slots,"default")]),_:3},8,["as","as-child"]))}});function li(){if(typeof matchMedia=="function")return matchMedia("(pointer:coarse)").matches?"coarse":"fine"}li();const Ut="tooltip.open",[at,ai]=Ae("TooltipProvider"),si=_({inheritAttrs:!1,__name:"TooltipProvider",props:{delayDuration:{default:700},skipDelayDuration:{default:300},disableHoverableContent:{type:Boolean,default:!1},disableClosingTrigger:{type:Boolean},disabled:{type:Boolean},ignoreNonKeyboardFocus:{type:Boolean,default:!1}},setup(e){const t=e,{delayDuration:n,skipDelayDuration:o,disableHoverableContent:i,disableClosingTrigger:r,ignoreNonKeyboardFocus:l,disabled:u}=Ot(t);I();const s=P(!0),d=P(!1),{start:a,stop:c}=zt(()=>{s.value=!0},o,{immediate:!1});return ai({isOpenDelayed:s,delayDuration:n,onOpen(){c(),s.value=!1},onClose(){a()},isPointerInTransitRef:d,disableHoverableContent:i,disableClosingTrigger:r,disabled:u,ignoreNonKeyboardFocus:l}),(m,f)=>$(m.$slots,"default")}}),[Ie,ui]=Ae("TooltipRoot"),ci=_({__name:"TooltipRoot",props:{defaultOpen:{type:Boolean,default:!1},open:{type:Boolean,default:void 0},delayDuration:{default:void 0},disableHoverableContent:{type:Boolean,default:void 0},disableClosingTrigger:{type:Boolean,default:void 0},disabled:{type:Boolean,default:void 0},ignoreNonKeyboardFocus:{type:Boolean,default:void 0}},emits:["update:open"],setup(e,{emit:t}){const n=e,o=t;I();const i=at(),r=O(()=>n.disableHoverableContent??i.disableHoverableContent.value),l=O(()=>n.disableClosingTrigger??i.disableClosingTrigger.value),u=O(()=>n.disabled??i.disabled.value),s=O(()=>n.delayDuration??i.delayDuration.value),d=O(()=>n.ignoreNonKeyboardFocus??i.ignoreNonKeyboardFocus.value),a=Co(n,"open",o,{defaultValue:n.defaultOpen,passive:n.open===void 0});K(a,x=>{i.onClose&&(x?(i.onOpen(),document.dispatchEvent(new CustomEvent(Ut))):i.onClose())});const c=P(!1),m=P(),f=O(()=>a.value?c.value?"delayed-open":"instant-open":"closed"),{start:p,stop:g}=zt(()=>{c.value=!0,a.value=!0},s,{immediate:!1});function v(){g(),c.value=!1,a.value=!0}function h(){g(),a.value=!1}function w(){p()}return ui({contentId:"",open:a,stateAttribute:f,trigger:m,onTriggerChange(x){m.value=x},onTriggerEnter(){i.isOpenDelayed.value?w():v()},onTriggerLeave(){r.value?h():g()},onOpen:v,onClose:h,disableHoverableContent:r,disableClosingTrigger:l,disabled:u,ignoreNonKeyboardFocus:d}),(x,A)=>(R(),F(y(Go),null,{default:T(()=>[$(x.$slots,"default",{open:y(a)})]),_:3}))}}),di=_({__name:"TooltipTrigger",props:{asChild:{type:Boolean},as:{default:"button"}},setup(e){const t=e,n=Ie(),o=at();n.contentId||(n.contentId=$o(void 0,"radix-vue-tooltip-content"));const{forwardRef:i,currentElement:r}=I(),l=P(!1),u=P(!1),s=O(()=>n.disabled.value?{}:{click:g,focus:f,pointermove:c,pointerleave:m,pointerdown:a,blur:p});$e(()=>{n.onTriggerChange(r.value)});function d(){setTimeout(()=>{l.value=!1},1)}function a(){l.value=!0,document.addEventListener("pointerup",d,{once:!0})}function c(v){v.pointerType!=="touch"&&!u.value&&!o.isPointerInTransitRef.value&&(n.onTriggerEnter(),u.value=!0)}function m(){n.onTriggerLeave(),u.value=!1}function f(v){var h,w;l.value||n.ignoreNonKeyboardFocus.value&&!((w=(h=v.target).matches)!=null&&w.call(h,":focus-visible"))||n.onOpen()}function p(){n.onClose()}function g(){n.disableClosingTrigger.value||n.onClose()}return(v,h)=>(R(),F(y(Ko),{"as-child":""},{default:T(()=>[V(y(xe),se({ref:y(i),"aria-describedby":y(n).open.value?y(n).contentId:void 0,"data-state":y(n).stateAttribute.value,as:v.as,"as-child":t.asChild,"data-grace-area-trigger":""},Kt(s.value)),{default:T(()=>[$(v.$slots,"default")]),_:3},16,["aria-describedby","data-state","as","as-child"])]),_:3}))}}),Yt=_({__name:"TooltipContentImpl",props:{ariaLabel:{},asChild:{type:Boolean},as:{},side:{default:"top"},sideOffset:{default:0},align:{default:"center"},alignOffset:{},avoidCollisions:{type:Boolean,default:!0},collisionBoundary:{default:()=>[]},collisionPadding:{default:0},arrowPadding:{default:0},sticky:{default:"partial"},hideWhenDetached:{type:Boolean,default:!1}},emits:["escapeKeyDown","pointerDownOutside"],setup(e,{emit:t}){const n=e,o=t,i=Ie(),{forwardRef:r}=I(),l=Zt(),u=O(()=>{var a;return(a=l.default)==null?void 0:a.call(l)}),s=O(()=>{var a;if(n.ariaLabel)return n.ariaLabel;let c="";function m(f){typeof f.children=="string"&&f.type!==Tt?c+=f.children:Array.isArray(f.children)&&f.children.forEach(p=>m(p))}return(a=u.value)==null||a.forEach(f=>m(f)),c}),d=O(()=>{const{ariaLabel:a,...c}=n;return c});return $e(()=>{Xe(window,"scroll",a=>{const c=a.target;c!=null&&c.contains(i.trigger.value)&&i.onClose()}),Xe(window,Ut,i.onClose)}),(a,c)=>(R(),F(y(Uo),{"as-child":"","disable-outside-pointer-events":!1,onEscapeKeyDown:c[0]||(c[0]=m=>o("escapeKeyDown",m)),onPointerDownOutside:c[1]||(c[1]=m=>{var f;y(i).disableClosingTrigger.value&&(f=y(i).trigger.value)!=null&&f.contains(m.target)&&m.preventDefault(),o("pointerDownOutside",m)}),onFocusOutside:c[2]||(c[2]=en(()=>{},["prevent"])),onDismiss:c[3]||(c[3]=m=>y(i).onClose())},{default:T(()=>[V(y(ei),se({ref:y(r),"data-state":y(i).stateAttribute.value},{...a.$attrs,...d.value},{style:{"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"}}),{default:T(()=>[$(a.$slots,"default"),V(y(ri),{id:y(i).contentId,role:"tooltip"},{default:T(()=>[kt(ke(s.value),1)]),_:1},8,["id"])]),_:3},16,["data-state"])]),_:3}))}}),fi=_({__name:"TooltipContentHoverable",props:{ariaLabel:{},asChild:{type:Boolean},as:{},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean}},setup(e){const t=It(e),{forwardRef:n,currentElement:o}=I(),{trigger:i,onClose:r}=Ie(),l=at(),{isPointerInTransit:u,onPointerExit:s}=Do(i,o);return l.isPointerInTransitRef=u,s(()=>{r()}),(d,a)=>(R(),F(Yt,se({ref:y(n)},y(t)),{default:T(()=>[$(d.$slots,"default")]),_:3},16))}}),pi=_({__name:"TooltipContent",props:{forceMount:{type:Boolean},ariaLabel:{},asChild:{type:Boolean},as:{},side:{default:"top"},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean}},emits:["escapeKeyDown","pointerDownOutside"],setup(e,{emit:t}){const n=e,o=t,i=Ie(),r=Eo(n,o),{forwardRef:l}=I();return(u,s)=>(R(),F(y(Ho),{present:u.forceMount||y(i).open.value},{default:T(()=>[(R(),F(Xt(y(i).disableHoverableContent.value?Yt:fi),se({ref:y(l)},y(r)),{default:T(()=>[$(u.$slots,"default")]),_:3},16))]),_:3},8,["present"]))}}),mi=_({__name:"TooltipArrow",props:{width:{default:10},height:{default:5},asChild:{type:Boolean},as:{default:"svg"}},setup(e){const t=e;return I(),(n,o)=>(R(),F(y(ii),Et(Dt(t)),{default:T(()=>[$(n.$slots,"default")]),_:3},16))}}),vi=_({__name:"TooltipPortal",props:{to:{},disabled:{type:Boolean},forceMount:{type:Boolean}},setup(e){const t=e;return(n,o)=>(R(),F(y(Wo),Et(Dt(t)),{default:T(()=>[$(n.$slots,"default")]),_:3},16))}}),hi={flex:"~ row","items-center":"","gap-2":"",initial:{opacity:0,x:10},enter:{opacity:1,x:0},leave:{opacity:0,x:-10},duration:250},gi={"flex-col":""},yi=["onClick"],xi={"p-4":""},bi={flex:"~ col gap-4"},wi=["disabled"],Ci={"mt-4":"",class:"flex items-center justify-end gap-4"},Ai={class:"relative inline-flex cursor-pointer items-center"},Oi=["onClick"],Ei={"p-4":"",flex:"~ col gap-4"},Di={"text-base":"","font-medium":""},Pi={text:"sm neutral-500"},Ti={flex:"~ row","gap-2":""},ki=["onClick"],Bi=_({__name:"index",setup(e){const t=fn(),n=pn(),o=[{name:"Morandi Colors",description:"Soft, muted tones inspired by Giorgio Morandi's paintings",colors:[{hex:"#A5978B",name:"Taupe"},{hex:"#D8CAAF",name:"Beige"},{hex:"#B8B4A7",name:"Ash Grey"},{hex:"#C4BCB1",name:"Light Taupe"},{hex:"#E5DED8",name:"Ivory"},{hex:"#9A8F7D",name:"Olive Grey"},{hex:"#BEB5A7",name:"Sand"},{hex:"#C9C0B6",name:"Warm Grey"}]},{name:"Monet Colors",description:"Impressionist palette inspired by Claude Monet's works",colors:[{hex:"#7A9EAF",name:"Sky Blue"},{hex:"#B8C7CC",name:"Mist"},{hex:"#D4B79C",name:"Sand"},{hex:"#8B9D77",name:"Moss Green"},{hex:"#C7D5CB",name:"Water Lily"},{hex:"#E6D0B1",name:"Wheat"},{hex:"#94A7B1",name:"Slate Blue"},{hex:"#B4C8C3",name:"Sage"}]},{name:"Japanese Colors",description:"Traditional Japanese color palette",colors:[{hex:"#D9B48F",name:"Tan"},{hex:"#B5917A",name:"Warm Taupe"},{hex:"#8C7A6B",name:"Umber"},{hex:"#A17F5F",name:"Coffee"},{hex:"#B98C46",name:"Bronze"},{hex:"#C7A252",name:"Gold"},{hex:"#DAB300",name:"Mustard"},{hex:"#D19826",name:"Amber"}]},{name:"Nordic Colors",description:"Scandinavian minimalist color scheme",colors:[{hex:"#9BA7B0",name:"Nordic Blue"},{hex:"#C1CBD4",name:"Ice"},{hex:"#A5ADB6",name:"Fjord"},{hex:"#8B959E",name:"Steel"},{hex:"#D4DCE4",name:"Glacier"},{hex:"#7F8A94",name:"Slate"},{hex:"#B3BCC6",name:"Cloud"},{hex:"#98A4AE",name:"Stone"}]},{name:"Chinese Traditional Colors",description:"Traditional Chinese colors, derived from ancient textiles, porcelain and paintings",colors:[{hex:"#E4C6D0",name:"霞光红 (Rosy Dawn)"},{hex:"#A61B29",name:"枣红 (Chinese Red)"},{hex:"#5D513C",name:"黄栌 (Smoky Brown)"},{hex:"#789262",name:"竹青 (Bamboo Green)"},{hex:"#1C0D1A",name:"乌梅紫 (Dark Purple)"},{hex:"#F7C242",name:"缃色 (Golden Yellow)"},{hex:"#62A9DD",name:"青冥 (Azure Blue)"},{hex:"#8C4B3C",name:"赭石 (Ochre)"}]}];function i(){n.themeColorsHue=gn,n.themeColorsHueDynamic=!1}function r(u){const s=dt("oklch")(u);if(!s)return;const{h:d}=s;d&&(n.themeColorsHue=d,n.themeColorsHueDynamic=!1)}function l(u){if(n.themeColorsHueDynamic)return!1;const s=dt("oklch")(u);if(!s||!s.h)return!1;const d=Math.abs(s.h-n.themeColorsHue);return d<.01||d>359.99}return(u,s)=>{const d=mn("motion");return R(),me(Be,null,[Ve((R(),me("div",hi,[b("button",{onClick:s[0]||(s[0]=a=>y(t).back())},s[3]||(s[3]=[b("div",{"i-solar:alt-arrow-left-line-duotone":"","text-2xl":""},null,-1)])),s[4]||(s[4]=b("h1",{relative:""},[b("div",{absolute:"","left-0":"","top-0":"","translate-y":"[-80%]"},[b("span",{text:"neutral-300 dark:neutral-500"},"Settings")]),b("div",{"text-3xl":"","font-semibold":""}," Themes ")],-1))])),[[d]]),b("div",gi,[V(y(ct),{"mt-4":"","w-full":"",default:!0},{trigger:T(a=>[b("button",{bg:"zinc-100 dark:zinc-800",hover:"bg-zinc-200 dark:bg-zinc-700",transition:"all ease-in-out duration-250","w-full":"",flex:"","items-center":"","gap-1.5":"","rounded-lg":"","px-4":"","py-3":"","outline-none":"",class:"[&_.provider-icon]:grayscale-100 [&_.provider-icon]:hover:grayscale-0",onClick:c=>a.setVisible(!a.visible)},[s[6]||(s[6]=b("div",{flex:"~ row 1","items-center":"","gap-1.5":""},[b("div",{"i-solar:pallete-2-bold-duotone":"",class:"provider-icon size-6",transition:"filter duration-250 ease-in-out"}),b("div",null," Custom Colors ")],-1)),b("div",{transform:"",transition:"transform duration-250",class:Ee({"rotate-180":a.visible})},s[5]||(s[5]=[b("div",{"i-solar:alt-arrow-down-bold-duotone":""},null,-1)]),2)],8,yi)]),default:T(()=>[b("div",xi,[s[11]||(s[11]=b("div",{class:"mb-2 text-sm font-medium"}," Primary color ",-1)),b("div",bi,[Ve(b("input",{"onUpdate:modelValue":s[1]||(s[1]=a=>y(n).themeColorsHue=a),type:"range",min:"0",max:"360",step:"0.01",class:Ee(["theme-hue-slider h-10 w-full",{"opacity-25 cursor-not-allowed":y(n).themeColorsHueDynamic}]),disabled:y(n).themeColorsHueDynamic},null,10,wi),[[vn,y(n).themeColorsHue]]),s[7]||(s[7]=b("div",{"h-10":"","w-full":"",flex:"","overflow-hidden":"","rounded-lg":""},[b("div",{bg:"primary-50",class:"primary-color-bar","text-black":""}," 50 "),b("div",{bg:"primary-100",class:"primary-color-bar","text-black":""}," 100 "),b("div",{bg:"primary-200",class:"primary-color-bar","text-black":""}," 200 "),b("div",{bg:"primary-300",class:"primary-color-bar","text-black":""}," 300 "),b("div",{bg:"primary-400",class:"primary-color-bar","text-black":""}," 400 "),b("div",{bg:"primary-500",class:"primary-color-bar","text-black":""}," 500 "),b("div",{bg:"primary-600",class:"primary-color-bar","text-white":""}," 600 "),b("div",{bg:"primary-700",class:"primary-color-bar","text-white":""}," 700 "),b("div",{bg:"primary-800",class:"primary-color-bar","text-white":""}," 800 "),b("div",{bg:"primary-900",class:"primary-color-bar","text-white":""}," 900 "),b("div",{bg:"primary-950",class:"primary-color-bar","text-white":""}," 950 ")],-1)),s[8]||(s[8]=b("div",{"h-10":"","w-full":"",flex:"","overflow-hidden":"","rounded-lg":"",class:"transparency-grid"},[b("div",{bg:"primary-500/5",class:"primary-color-bar","text-black":""}," 500/5 "),b("div",{bg:"primary-500/10",class:"primary-color-bar","text-black":""}," 500/10 "),b("div",{bg:"primary-500/20",class:"primary-color-bar","text-black":""}," 500/20 "),b("div",{bg:"primary-500/30",class:"primary-color-bar","text-black":""}," 500/30 "),b("div",{bg:"primary-500/40",class:"primary-color-bar","text-black":""}," 500/40 "),b("div",{bg:"primary-500/50",class:"primary-color-bar","text-black":""}," 500/50 "),b("div",{bg:"primary-500/60",class:"primary-color-bar","text-black":""}," 500/60 "),b("div",{bg:"primary-500/70",class:"primary-color-bar","text-black":""}," 500/70 "),b("div",{bg:"primary-500/80",class:"primary-color-bar","text-black":""}," 500/80 "),b("div",{bg:"primary-500/90",class:"primary-color-bar","text-black":""}," 500/90 "),b("div",{bg:"primary-500",class:"primary-color-bar","text-black":""}," 500 ")],-1))]),b("div",Ci,[b("label",Ai,[Ve(b("input",{"onUpdate:modelValue":s[2]||(s[2]=a=>y(n).themeColorsHueDynamic=a),type:"checkbox",class:"peer sr-only"},null,512),[[hn,y(n).themeColorsHueDynamic]]),s[9]||(s[9]=b("div",{class:"peer-checked:bg-primary-500 h-6 w-11 rounded-full bg-neutral-200 after:absolute after:left-[2px] after:top-[2px] after:h-5 after:w-5 after:rounded-full after:bg-white dark:bg-neutral-600 after:transition-all after:content-[''] peer-checked:after:translate-x-full peer-checked:after:border-white"},null,-1)),s[10]||(s[10]=b("span",{class:"ml-2 text-sm font-medium"},"I Want It Dynamic!",-1))]),b("button",{class:"rounded-md bg-neutral-100 px-3 py-1.5 text-sm transition-colors dark:bg-neutral-800 hover:bg-neutral-200 dark:hover:bg-neutral-700",onClick:i}," Reset to Default ")])])]),_:1}),V(y(ct),{"mt-4":"","w-full":"",default:!0},{trigger:T(a=>[b("button",{bg:"zinc-100 dark:zinc-800",hover:"bg-zinc-200 dark:bg-zinc-700",transition:"all ease-in-out duration-250","w-full":"",flex:"","items-center":"","gap-1.5":"","rounded-lg":"","px-4":"","py-3":"","outline-none":"",class:"[&_.provider-icon]:grayscale-100 [&_.provider-icon]:hover:grayscale-0",onClick:c=>a.setVisible(!a.visible)},[s[13]||(s[13]=b("div",{flex:"~ row 1","items-center":"","gap-1.5":""},[b("div",{"i-solar:magic-stick-2-bold-duotone":"",class:"provider-icon size-6",transition:"filter duration-250 ease-in-out"}),b("div",null," Theme Presets ")],-1)),b("div",{transform:"",transition:"transform duration-250",class:Ee({"rotate-180":a.visible})},s[12]||(s[12]=[b("div",{"i-solar:alt-arrow-down-bold-duotone":""},null,-1)]),2)],8,Oi)]),default:T(()=>[b("div",Ei,[(R(),me(Be,null,ut(o,a=>b("div",{key:a.name,flex:"~ row",bg:"neutral-100 dark:neutral-800",hover:"bg-neutral-200 dark:bg-neutral-700",transition:"all ease-in-out duration-250","cursor-pointer":"","items-center":"","justify-between":"","gap-4":"","rounded-lg":"","px-4":"","py-3":""},[b("div",null,[b("div",Di,ke(a.name),1),b("div",Pi,ke(a.description),1)]),b("div",Ti,[(R(!0),me(Be,null,ut(a.colors,c=>(R(),F(y(si),{key:c.hex},{default:T(()=>[V(y(ci),null,{default:T(()=>[V(y(di),null,{default:T(()=>[b("div",{style:Me({backgroundColor:c.hex}),class:Ee(["size-6 cursor-pointer rounded-full transition-all duration-250 ease-in-out",[l(c.hex)?"scale-150 z-10 mx-1":"hover:scale-110"]]),onClick:m=>r(c.hex)},null,14,ki)]),_:2},1024),V(y(vi),null,{default:T(()=>[V(y(pi),{class:"rounded-lg bg-white px-3 py-1.5 text-sm shadow-md dark:bg-neutral-800"},{default:T(()=>[kt(ke(c.name)+" ",1),V(y(mi),{class:"fill-white dark:fill-neutral-800"})]),_:2},1024)]),_:2},1024)]),_:2},1024)]),_:2},1024))),128))])])),64))])]),_:1})]),s[14]||(s[14]=b("div",{text:"neutral-100/50 dark:neutral-500/20","pointer-events-none":"",fixed:"","bottom-0":"","right-0":"","translate-x-10":"","translate-y-10":""},[b("div",{text:"40","i-lucide:paintbrush":""})],-1))],64)}}});typeof ft=="function"&&ft(Bi);export{Bi as default}; diff --git a/assets/messages--7H_Xdln.js b/assets/messages-ChW4zKHs.js similarity index 79% rename from assets/messages--7H_Xdln.js rename to assets/messages-ChW4zKHs.js index a2ef4305b55b2364687294d13e2a4cee7276bdc4..4e6f05b29a06fa8602e1b593186a459c49a42b11 100644 --- a/assets/messages--7H_Xdln.js +++ b/assets/messages-ChW4zKHs.js @@ -1 +1 @@ -import{b as m,_ as g,l as _}from"./queues-DYg2fUVu.js";import"./Stage.vue_vue_type_style_index_0_scoped_cad77b27_lang-D1cRHv6j.js";import{u as v}from"./queue-DBj3aeDb.js";import{d as b,g as t,c as l,o as u,a as e,b as x,e as k,t as c,F as h,E as z}from"./index-DCtIztPb.js";const w={flex:"","flex-col":"","gap-2":"","p-2":""},S={flex:"","flex-row":"","gap-2":""},V={"rounded-lg":"",bg:"zinc-100 dark:zinc-700","p-4":""},y={"w-full":"",flex:"","flex-row":"","gap-4":""},M={"w-full":"","rounded-lg":"",bg:"zinc-100 dark:zinc-700","p-2":""},F=b({__name:"messages",setup(Q){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)=>(u(),l("div",w,[e("div",S,[x(k(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",V,c(a.value?"Processing...":"Send"),1)]),e("div",y,[e("div",M,[n[1]||(n[1]=e("h3",{"font-semibold":""}," TTS Message ",-1)),(u(!0),l(h,null,z(d.value,o=>(u(),l("div",{key:o},[e("div",null,c(o),1)]))),128))])])]))}});export{F as default}; +import{b as m,_ as g,l as _}from"./queues-DxSAefs-.js";import"./Stage.vue_vue_type_style_index_0_scoped_cad77b27_lang-BvkGrZE5.js";import{u as v}from"./queue-6CGaUIQf.js";import{d as b,g as t,c as l,o as u,a as e,b as x,e as k,t as c,F as h,E as z}from"./index-CGdx-Gsw.js";const w={flex:"","flex-col":"","gap-2":"","p-2":""},S={flex:"","flex-row":"","gap-2":""},V={"rounded-lg":"",bg:"zinc-100 dark:zinc-700","p-4":""},y={"w-full":"",flex:"","flex-row":"","gap-4":""},M={"w-full":"","rounded-lg":"",bg:"zinc-100 dark:zinc-700","p-2":""},F=b({__name:"messages",setup(Q){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)=>(u(),l("div",w,[e("div",S,[x(k(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",V,c(a.value?"Processing...":"Send"),1)]),e("div",y,[e("div",M,[n[1]||(n[1]=e("h3",{"font-semibold":""}," TTS Message ",-1)),(u(!0),l(h,null,z(d.value,o=>(u(),l("div",{key:o},[e("div",null,c(o),1)]))),128))])])]))}});export{F as default}; diff --git a/assets/mistral-ai-j1To1qN7.js b/assets/mistral-ai-j1To1qN7.js new file mode 100644 index 0000000000000000000000000000000000000000..76d540af8f1df250607c28c0a10ae59621432cbe --- /dev/null +++ b/assets/mistral-ai-j1To1qN7.js @@ -0,0 +1 @@ +import"./Stage.vue_vue_type_style_index_0_scoped_cad77b27_lang-BvkGrZE5.js";import{d as U,s as V,x as k,h as p,p as $,w as g,j as y,o as K,k as d,b as i,e as t}from"./index-CGdx-Gsw.js";import{u as h}from"./providers-ztBzqPgb.js";import{_ as x,a as w}from"./ProviderBaseUrlInput.vue_vue_type_script_setup_true_lang-Rq7sGR-H.js";import{_ as z,a as B,b as C,c as M}from"./ProviderSettingsLayout.vue_vue_type_script_setup_true_lang-Cz54lBh2.js";import"./Collapsable.vue_vue_type_script_setup_true_lang-t6VABIns.js";import"./TransitionVertical.vue_vue_type_script_setup_true_lang-DIGllfwe.js";const a="mistral-ai",O=U({__name:"mistral-ai",setup(N){const f=V(),v=h(),{providers:o}=k(v),u=p(()=>v.getProviderMetadata(a)),r=p({get:()=>{var e;return((e=o.value[a])==null?void 0:e.apiKey)||""},set:e=>{o.value[a]||(o.value[a]={}),o.value[a].apiKey=e}}),s=p({get:()=>{var e;return((e=o.value[a])==null?void 0:e.baseUrl)||""},set:e=>{o.value[a]||(o.value[a]={}),o.value[a].baseUrl=e}});$(()=>{var e,l;v.initializeProvider(a),r.value=((e=o.value[a])==null?void 0:e.apiKey)||"",s.value=((l=o.value[a])==null?void 0:l.baseUrl)||""}),g([r,s],()=>{o.value[a]={...o.value[a],apiKey:r.value,baseUrl:s.value||""}});function _(){var e;o.value[a]={...(e=u.value)==null?void 0:e.defaultOptions}}return(e,l)=>{var m,c;return K(),y(t(M),{"provider-name":(m=u.value)==null?void 0:m.localizedName,"provider-icon-color":(c=u.value)==null?void 0:c.iconColor,"on-back":()=>t(f).back()},{default:d(()=>[i(t(z),null,{default:d(()=>[i(t(B),{title:"Basic",description:"Essential settings","on-reset":_},{default:d(()=>{var n;return[i(t(C),{modelValue:r.value,"onUpdate:modelValue":l[0]||(l[0]=b=>r.value=b),"provider-name":(n=u.value)==null?void 0:n.localizedName,placeholder:"mis-..."},null,8,["modelValue","provider-name"])]}),_:1}),i(t(x),{title:"Advanced"},{default:d(()=>[i(t(w),{modelValue:s.value,"onUpdate:modelValue":l[1]||(l[1]=n=>s.value=n),placeholder:"https://api.mistral.ai/v1/"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1},8,["provider-name","provider-icon-color","on-back"])}}});export{O as default}; diff --git a/assets/moonshot-ai-CuFTtj7s.js b/assets/moonshot-ai-CuFTtj7s.js new file mode 100644 index 0000000000000000000000000000000000000000..88a3249f171b1666b2fb55b2cf2dbe6f9f187389 --- /dev/null +++ b/assets/moonshot-ai-CuFTtj7s.js @@ -0,0 +1 @@ +import"./Stage.vue_vue_type_style_index_0_scoped_cad77b27_lang-BvkGrZE5.js";import{d as h,s as U,x as V,h as p,p as k,w as $,j as g,o as y,k as d,b as i,e as l}from"./index-CGdx-Gsw.js";import{u as K}from"./providers-ztBzqPgb.js";import{_ as x,a as w}from"./ProviderBaseUrlInput.vue_vue_type_script_setup_true_lang-Rq7sGR-H.js";import{_ as z,a as B,b as M,c as N}from"./ProviderSettingsLayout.vue_vue_type_script_setup_true_lang-Cz54lBh2.js";import"./Collapsable.vue_vue_type_script_setup_true_lang-t6VABIns.js";import"./TransitionVertical.vue_vue_type_script_setup_true_lang-DIGllfwe.js";const a="moonshot-ai",O=h({__name:"moonshot-ai",setup(P){const f=U(),v=K(),{providers:o}=V(v),n=p(()=>v.getProviderMetadata(a)),s=p({get:()=>{var e;return((e=o.value[a])==null?void 0:e.apiKey)||""},set:e=>{o.value[a]||(o.value[a]={}),o.value[a].apiKey=e}}),r=p({get:()=>{var e;return((e=o.value[a])==null?void 0:e.baseUrl)||""},set:e=>{o.value[a]||(o.value[a]={}),o.value[a].baseUrl=e}});k(()=>{var e,t;v.initializeProvider(a),s.value=((e=o.value[a])==null?void 0:e.apiKey)||"",r.value=((t=o.value[a])==null?void 0:t.baseUrl)||""}),$([s,r],()=>{o.value[a]={...o.value[a],apiKey:s.value,baseUrl:r.value||""}});function _(){var e;o.value[a]={...(e=n.value)==null?void 0:e.defaultOptions}}return(e,t)=>{var m,c;return y(),g(l(N),{"provider-name":(m=n.value)==null?void 0:m.localizedName,"provider-icon":(c=n.value)==null?void 0:c.icon,"on-back":()=>l(f).back()},{default:d(()=>[i(l(z),null,{default:d(()=>[i(l(B),{title:"Basic",description:"Essential settings","on-reset":_},{default:d(()=>{var u;return[i(l(M),{modelValue:s.value,"onUpdate:modelValue":t[0]||(t[0]=b=>s.value=b),"provider-name":(u=n.value)==null?void 0:u.localizedName,placeholder:"ms-..."},null,8,["modelValue","provider-name"])]}),_:1}),i(l(x),{title:"Advanced"},{default:d(()=>[i(l(w),{modelValue:r.value,"onUpdate:modelValue":t[1]||(t[1]=u=>r.value=u),placeholder:"https://api.moonshot.cn/v1/"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1},8,["provider-name","provider-icon","on-back"])}}});export{O as default}; diff --git a/assets/novita-ai-NTmrY5rm.js b/assets/novita-ai-NTmrY5rm.js new file mode 100644 index 0000000000000000000000000000000000000000..ca1b5d064f39dbd9fbc796c353def2a3d514bdcb --- /dev/null +++ b/assets/novita-ai-NTmrY5rm.js @@ -0,0 +1 @@ +import"./Stage.vue_vue_type_style_index_0_scoped_cad77b27_lang-BvkGrZE5.js";import{d as U,s as V,x as k,h as p,p as $,w as g,j as y,o as K,k as v,b as s,e as t}from"./index-CGdx-Gsw.js";import{u as h}from"./providers-ztBzqPgb.js";import{_ as x,a as w}from"./ProviderBaseUrlInput.vue_vue_type_script_setup_true_lang-Rq7sGR-H.js";import{_ as z,a as B,b as C,c as M}from"./ProviderSettingsLayout.vue_vue_type_script_setup_true_lang-Cz54lBh2.js";import"./Collapsable.vue_vue_type_script_setup_true_lang-t6VABIns.js";import"./TransitionVertical.vue_vue_type_script_setup_true_lang-DIGllfwe.js";const a="novita-ai",O=U({__name:"novita-ai",setup(N){const f=V(),d=h(),{providers:o}=k(d),n=p(()=>d.getProviderMetadata(a)),r=p({get:()=>{var e;return((e=o.value[a])==null?void 0:e.apiKey)||""},set:e=>{o.value[a]||(o.value[a]={}),o.value[a].apiKey=e}}),i=p({get:()=>{var e;return((e=o.value[a])==null?void 0:e.baseUrl)||""},set:e=>{o.value[a]||(o.value[a]={}),o.value[a].baseUrl=e}});$(()=>{var e,l;d.initializeProvider(a),r.value=((e=o.value[a])==null?void 0:e.apiKey)||"",i.value=((l=o.value[a])==null?void 0:l.baseUrl)||""}),g([r,i],()=>{o.value[a]={...o.value[a],apiKey:r.value,baseUrl:i.value||""}});function _(){var e;o.value[a]={...(e=n.value)==null?void 0:e.defaultOptions}}return(e,l)=>{var c,m;return K(),y(t(M),{"provider-name":(c=n.value)==null?void 0:c.localizedName,"provider-icon-color":(m=n.value)==null?void 0:m.iconColor,"on-back":()=>t(f).back()},{default:v(()=>[s(t(z),null,{default:v(()=>[s(t(B),{title:"Basic",description:"Essential settings","on-reset":_},{default:v(()=>{var u;return[s(t(C),{modelValue:r.value,"onUpdate:modelValue":l[0]||(l[0]=b=>r.value=b),"provider-name":(u=n.value)==null?void 0:u.localizedName,placeholder:"nvt-..."},null,8,["modelValue","provider-name"])]}),_:1}),s(t(x),{title:"Advanced"},{default:v(()=>[s(t(w),{modelValue:i.value,"onUpdate:modelValue":l[1]||(l[1]=u=>i.value=u),placeholder:"https://api.novita.ai/v1/"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1},8,["provider-name","provider-icon-color","on-back"])}}});export{O as default}; diff --git a/assets/openai-DtmMCLkg.js b/assets/openai-DtmMCLkg.js deleted file mode 100644 index 6fa73ffa1e2eae650844d18fb9f88b8e98866558..0000000000000000000000000000000000000000 --- a/assets/openai-DtmMCLkg.js +++ /dev/null @@ -1 +0,0 @@ -import{d as C,s as K,x as V,h as i,g as A,K as R,p as B,w as I,z as M,c as m,o as c,A as u,a as e,e as d,t as g,M as N,H as b,b as z,k,q as S,F as T}from"./index-DCtIztPb.js";import{_ as D}from"./Collapsable.vue_vue_type_script_setup_true_lang-CWAVErwd.js";import"./Stage.vue_vue_type_style_index_0_scoped_cad77b27_lang-D1cRHv6j.js";import{u as P}from"./providers-DAM1M9Uz.js";import"./TransitionVertical.vue_vue_type_script_setup_true_lang-BDRTDJzZ.js";const j={flex:"~ row","items-center":"","gap-2":"",initial:{opacity:0,x:10},enter:{opacity:1,x:0},leave:{opacity:0,x:-10},duration:250},E={relative:""},F={"text-3xl":"","font-semibold":""},L={bg:"neutral-50 dark:[rgba(0,0,0,0.3)]","rounded-xl":"","p-4":"",flex:"~ col gap-6"},O={flex:"~ col gap-6"},$={"max-w-full":""},q={flex:"~ col gap-4"},H={class:"text-xs text-neutral-500 dark:text-neutral-400","text-nowrap":""},G=["onClick"],J={"mt-4":""},Q={flex:"~ col gap-4"},a="openai",ae=C({__name:"openai",setup(W){const w=K(),p=P(),{providers:l}=V(p),v=i(()=>p.getProviderMetadata(a)),s=i({get:()=>{var n;return((n=l.value[a])==null?void 0:n.apiKey)||""},set:n=>{l.value[a]||(l.value[a]={}),l.value[a].apiKey=n}}),r=i({get:()=>{var n;return((n=l.value[a])==null?void 0:n.baseUrl)||"https://api.openai.com/v1/"},set:n=>{l.value[a]||(l.value[a]={}),l.value[a].baseUrl=n}}),y=A(!1),_=R(y);B(()=>{var n,t;l.value[a]||(l.value[a]={baseUrl:"https://api.openai.com/v1/"}),s.value=((n=l.value[a])==null?void 0:n.apiKey)||"",r.value=((t=l.value[a])==null?void 0:t.baseUrl)||"https://api.openai.com/v1/"}),I([s,r],()=>{l.value[a]={...l.value[a],apiKey:s.value,baseUrl:r.value||"https://api.openai.com/v1/"}});function h(){l.value[a]={baseUrl:"https://api.openai.com/v1/"}}return(n,t)=>{var x,f;const U=M("motion");return c(),m(T,null,[u((c(),m("div",j,[e("button",{onClick:t[0]||(t[0]=o=>d(w).back())},t[3]||(t[3]=[e("div",{"i-solar:alt-arrow-left-line-duotone":"","text-2xl":""},null,-1)])),e("h1",E,[t[4]||(t[4]=e("div",{absolute:"","left-0":"","top-0":"","translate-y":"[-80%]"},[e("span",{text:"neutral-300 dark:neutral-500"},"Provider")],-1)),e("div",F,g(((x=v.value)==null?void 0:x.localizedName)||"OpenAI"),1)])])),[[U]]),e("div",L,[e("div",null,[e("div",O,[e("div",{flex:"~ row","items-center":"","justify-between":""},[t[6]||(t[6]=e("div",null,[e("h2",{class:"text-lg text-neutral-500 md:text-2xl dark:text-neutral-400"}," Basic "),e("div",{text:"neutral-400 dark:neutral-500"},[e("span",null,"Essential settings")])],-1)),e("button",{title:"Reset settings",flex:"","items-center":"","justify-center":"","rounded-full":"","p-2":"",transition:"all duration-250 ease-in-out",text:"neutral-500 dark:neutral-400",bg:"transparent dark:transparent hover:neutral-200 dark:hover:neutral-800 active:neutral-300 dark:active:neutral-700",onClick:h},t[5]||(t[5]=[e("div",{"i-solar:refresh-bold-duotone":"","text-xl":""},null,-1)]))]),e("div",$,[e("label",q,[e("div",null,[t[7]||(t[7]=e("div",{class:"flex items-center gap-1 text-sm font-medium"},[N(" API Key "),e("span",{class:"text-red-500"},"*")],-1)),e("div",H," API Key for "+g(((f=v.value)==null?void 0:f.localizedName)||"OpenAI"),1)]),u(e("input",{"onUpdate:modelValue":t[1]||(t[1]=o=>s.value=o),type:"password",border:"neutral-200 dark:neutral-800 solid 2 focus:neutral-400 dark:focus:neutral-600",transition:"all duration-250 ease-in-out","w-full":"","rounded-lg":"","px-2":"","py-1":"","text-nowrap":"","text-sm":"","outline-none":"",bg:"neutral-100 dark:neutral-800 focus:white dark:focus:neutral-700",placeholder:"sk-..."},null,512),[[b,s.value]])])])])]),e("div",null,[z(d(D),{"w-full":""},{trigger:k(o=>[e("button",{transition:"all ease-in-out duration-250","w-full":"",flex:"","items-center":"","gap-1.5":"","outline-none":"",class:"[&_.provider-icon]:grayscale-100 [&_.provider-icon]:hover:grayscale-0",onClick:()=>o.setVisible(!o.visible)&&d(_)()},[t[9]||(t[9]=e("h2",{class:"text-lg text-neutral-500 md:text-2xl dark:text-neutral-400"},[e("span",null,"Advanced")],-1)),e("div",{transform:"",transition:"transform duration-250",class:S({"rotate-180":o.visible})},t[8]||(t[8]=[e("div",{"i-solar:alt-arrow-down-bold-duotone":""},null,-1)]),2)],8,G)]),default:k(()=>[e("div",J,[e("label",Q,[t[10]||(t[10]=e("div",null,[e("div",{class:"flex items-center gap-1 text-sm font-medium"}," Base URL "),e("div",{class:"text-xs text-neutral-500 dark:text-neutral-400","text-nowrap":""}," Custom base URL (optional) ")],-1)),u(e("input",{"onUpdate:modelValue":t[2]||(t[2]=o=>r.value=o),type:"text",border:"neutral-200 dark:neutral-800 solid 2 focus:neutral-400 dark:focus:neutral-600",transition:"all duration-250 ease-in-out","w-full":"","rounded-lg":"","px-2":"","py-1":"","text-nowrap":"","text-sm":"","outline-none":"",bg:"neutral-100 dark:neutral-800 focus:white dark:focus:neutral-700",placeholder:"https://api.openai.com/v1/"},null,512),[[b,r.value]])])])]),_:1})])]),t[11]||(t[11]=e("div",{text:"neutral-100/50 dark:neutral-500/20","pointer-events-none":"",fixed:"","bottom-0":"","right-0":"","translate-x-10":"","translate-y-10":""},[e("div",{text:"40","i-lobe-icons:openai":""})],-1))],64)}}});export{ae as default}; diff --git a/assets/openai-DudedIoe.js b/assets/openai-DudedIoe.js new file mode 100644 index 0000000000000000000000000000000000000000..616bc7b7ff12899b9bdd9ae23646b77d5fa24011 --- /dev/null +++ b/assets/openai-DudedIoe.js @@ -0,0 +1 @@ +import"./Stage.vue_vue_type_style_index_0_scoped_cad77b27_lang-BvkGrZE5.js";import{d as h,s as U,x as k,h as v,p as V,w as $,j as g,o as y,k as p,b as r,e as l}from"./index-CGdx-Gsw.js";import{u as K}from"./providers-ztBzqPgb.js";import{_ as x,a as w}from"./ProviderBaseUrlInput.vue_vue_type_script_setup_true_lang-Rq7sGR-H.js";import{_ as A,a as B,b as I,c as M}from"./ProviderSettingsLayout.vue_vue_type_script_setup_true_lang-Cz54lBh2.js";import"./Collapsable.vue_vue_type_script_setup_true_lang-t6VABIns.js";import"./TransitionVertical.vue_vue_type_script_setup_true_lang-DIGllfwe.js";const e="openai",E=h({__name:"openai",setup(N){const f=U(),d=K(),{providers:a}=k(d),u=v(()=>d.getProviderMetadata(e)),s=v({get:()=>{var o;return((o=a.value[e])==null?void 0:o.apiKey)||""},set:o=>{a.value[e]||(a.value[e]={}),a.value[e].apiKey=o}}),i=v({get:()=>{var o;return((o=a.value[e])==null?void 0:o.baseUrl)||"https://api.openai.com/v1/"},set:o=>{a.value[e]||(a.value[e]={}),a.value[e].baseUrl=o}});V(()=>{var o,t;a.value[e]||(a.value[e]={baseUrl:"https://api.openai.com/v1/"}),s.value=((o=a.value[e])==null?void 0:o.apiKey)||"",i.value=((t=a.value[e])==null?void 0:t.baseUrl)||"https://api.openai.com/v1/"}),$([s,i],()=>{a.value[e]={...a.value[e],apiKey:s.value,baseUrl:i.value||"https://api.openai.com/v1/"}});function _(){a.value[e]={baseUrl:"https://api.openai.com/v1/"}}return(o,t)=>{var m,c;return y(),g(l(M),{"provider-name":((m=u.value)==null?void 0:m.localizedName)||"OpenAI","provider-icon":(c=u.value)==null?void 0:c.icon,"on-back":()=>l(f).back()},{default:p(()=>[r(l(A),null,{default:p(()=>[r(l(B),{title:"Basic",description:"Essential settings","on-reset":_},{default:p(()=>{var n;return[r(l(I),{modelValue:s.value,"onUpdate:modelValue":t[0]||(t[0]=b=>s.value=b),"provider-name":((n=u.value)==null?void 0:n.localizedName)||"OpenAI",placeholder:"sk-..."},null,8,["modelValue","provider-name"])]}),_:1}),r(l(x),{title:"Advanced"},{default:p(()=>[r(l(w),{modelValue:i.value,"onUpdate:modelValue":t[1]||(t[1]=n=>i.value=n),placeholder:"https://api.openai.com/v1/"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1},8,["provider-name","provider-icon","on-back"])}}});export{E as default}; diff --git a/assets/openrouter-ai-C6uzw4fG.js b/assets/openrouter-ai-C6uzw4fG.js new file mode 100644 index 0000000000000000000000000000000000000000..074f1d26dbea3794d7a5d75c4d9f2dce85fcd9df --- /dev/null +++ b/assets/openrouter-ai-C6uzw4fG.js @@ -0,0 +1 @@ +import"./Stage.vue_vue_type_style_index_0_scoped_cad77b27_lang-BvkGrZE5.js";import{d as k,s as V,x as $,h as f,p as g,w as y,j as K,o as O,k as m,b as p,e as s}from"./index-CGdx-Gsw.js";import{u as h}from"./providers-ztBzqPgb.js";import{_ as x,a as w}from"./ProviderBaseUrlInput.vue_vue_type_script_setup_true_lang-Rq7sGR-H.js";import{_ as z,a as B,b as M,c as N}from"./ProviderSettingsLayout.vue_vue_type_script_setup_true_lang-Cz54lBh2.js";import"./Collapsable.vue_vue_type_script_setup_true_lang-t6VABIns.js";import"./TransitionVertical.vue_vue_type_script_setup_true_lang-DIGllfwe.js";const a="openrouter-ai",T=k({__name:"openrouter-ai",setup(P){const _=V(),c=h(),{providers:l}=$(c),t=f(()=>c.getProviderMetadata(a)),u=f({get:()=>{var e;return((e=l.value[a])==null?void 0:e.apiKey)||""},set:e=>{l.value[a]||(l.value[a]={}),l.value[a].apiKey=e}}),i=f({get:()=>{var e,o,r;return((e=l.value[a])==null?void 0:e.baseUrl)||((r=(o=t.value)==null?void 0:o.defaultOptions)==null?void 0:r.baseUrl)||""},set:e=>{l.value[a]||(l.value[a]={}),l.value[a].baseUrl=e}});g(()=>{var e,o,r,n;c.initializeProvider(a),u.value=((e=l.value[a])==null?void 0:e.apiKey)||"",i.value=((o=l.value[a])==null?void 0:o.baseUrl)||((n=(r=t.value)==null?void 0:r.defaultOptions)==null?void 0:n.baseUrl)||""}),y([u,i],()=>{var e,o;l.value[a]={...l.value[a],apiKey:u.value,baseUrl:i.value||((o=(e=t.value)==null?void 0:e.defaultOptions)==null?void 0:o.baseUrl)||""}});function b(){var e;l.value[a]={...(e=t.value)==null?void 0:e.defaultOptions}}return(e,o)=>{var r,n;return O(),K(s(N),{"provider-name":(r=t.value)==null?void 0:r.localizedName,"provider-icon":(n=t.value)==null?void 0:n.icon,"on-back":()=>s(_).back()},{default:m(()=>[p(s(z),null,{default:m(()=>[p(s(B),{title:"Basic",description:"Essential settings","on-reset":b},{default:m(()=>{var d;return[p(s(M),{modelValue:u.value,"onUpdate:modelValue":o[0]||(o[0]=v=>u.value=v),"provider-name":(d=t.value)==null?void 0:d.localizedName,placeholder:"sk-or-..."},null,8,["modelValue","provider-name"])]}),_:1}),p(s(x),{title:"Advanced"},{default:m(()=>{var d,v;return[p(s(w),{modelValue:i.value,"onUpdate:modelValue":o[1]||(o[1]=U=>i.value=U),placeholder:((v=(d=t.value)==null?void 0:d.defaultOptions)==null?void 0:v.baseUrl)||""},null,8,["modelValue","placeholder"])]}),_:1})]),_:1})]),_:1},8,["provider-name","provider-icon","on-back"])}}});export{T as default}; diff --git a/assets/openrouter-ai-psmbjOJ5.js b/assets/openrouter-ai-psmbjOJ5.js deleted file mode 100644 index e0598293584568a5fb4c32603dfdfcf226c683ea..0000000000000000000000000000000000000000 --- a/assets/openrouter-ai-psmbjOJ5.js +++ /dev/null @@ -1 +0,0 @@ -import{d as z,s as A,x as B,h as p,g as M,K as N,p as O,w as P,z as S,c as g,o as k,A as x,a as e,e as f,t as w,M as T,H as y,b as D,k as _,q as U,F as I}from"./index-DCtIztPb.js";import{_ as j}from"./Collapsable.vue_vue_type_script_setup_true_lang-CWAVErwd.js";import"./Stage.vue_vue_type_style_index_0_scoped_cad77b27_lang-D1cRHv6j.js";import{u as E}from"./providers-DAM1M9Uz.js";import"./TransitionVertical.vue_vue_type_script_setup_true_lang-BDRTDJzZ.js";const F={flex:"~ row","items-center":"","gap-2":"",initial:{opacity:0,x:10},enter:{opacity:1,x:0},leave:{opacity:0,x:-10},duration:250},L={relative:""},$={"text-3xl":"","font-semibold":""},q={bg:"neutral-50 dark:[rgba(0,0,0,0.3)]","rounded-xl":"","p-4":"",flex:"~ col gap-6"},H={flex:"~ col gap-6"},G={"max-w-full":""},J={flex:"~ col gap-4"},Q={class:"text-xs text-neutral-500 dark:text-neutral-400","text-nowrap":""},W=["onClick"],X={"mt-4":""},Y={flex:"~ col gap-4"},Z=["placeholder"],ee={text:"neutral-100/50 dark:neutral-500/20","pointer-events-none":"",fixed:"","bottom-0":"","right-0":"","translate-x-10":"","translate-y-10":""},l="openrouter-ai",se=z({__name:"openrouter-ai",setup(te){const h=A(),v=E(),{providers:n}=B(v),r=p(()=>v.getProviderMetadata(l)),i=p({get:()=>{var a;return((a=n.value[l])==null?void 0:a.apiKey)||""},set:a=>{n.value[l]||(n.value[l]={}),n.value[l].apiKey=a}}),u=p({get:()=>{var a,t,s;return((a=n.value[l])==null?void 0:a.baseUrl)||((s=(t=r.value)==null?void 0:t.defaultOptions)==null?void 0:s.baseUrl)||""},set:a=>{n.value[l]||(n.value[l]={}),n.value[l].baseUrl=a}}),C=M(!1),K=N(C);O(()=>{var a,t,s,d;v.initializeProvider(l),i.value=((a=n.value[l])==null?void 0:a.apiKey)||"",u.value=((t=n.value[l])==null?void 0:t.baseUrl)||((d=(s=r.value)==null?void 0:s.defaultOptions)==null?void 0:d.baseUrl)||""}),P([i,u],()=>{var a,t;n.value[l]={...n.value[l],apiKey:i.value,baseUrl:u.value||((t=(a=r.value)==null?void 0:a.defaultOptions)==null?void 0:t.baseUrl)||""}});function V(){var a;n.value[l]={...(a=r.value)==null?void 0:a.defaultOptions}}return(a,t)=>{var d,c,m;const s=S("motion");return k(),g(I,null,[x((k(),g("div",F,[e("button",{onClick:t[0]||(t[0]=o=>f(h).back())},t[3]||(t[3]=[e("div",{"i-solar:alt-arrow-left-line-duotone":"","text-2xl":""},null,-1)])),e("h1",L,[t[4]||(t[4]=e("div",{absolute:"","left-0":"","top-0":"","translate-y":"[-80%]"},[e("span",{text:"neutral-300 dark:neutral-500"},"Provider")],-1)),e("div",$,w((d=r.value)==null?void 0:d.localizedName),1)])])),[[s]]),e("div",q,[e("div",null,[e("div",H,[e("div",{flex:"~ row","items-center":"","justify-between":""},[t[6]||(t[6]=e("div",null,[e("h2",{class:"text-lg text-neutral-500 md:text-2xl dark:text-neutral-400"}," Basic "),e("div",{text:"neutral-400 dark:neutral-500"},[e("span",null,"Essential settings")])],-1)),e("button",{title:"Reset settings",flex:"","items-center":"","justify-center":"","rounded-full":"","p-2":"",transition:"all duration-250 ease-in-out",text:"neutral-500 dark:neutral-400",bg:"transparent dark:transparent hover:neutral-200 dark:hover:neutral-800 active:neutral-300 dark:active:neutral-700",onClick:V},t[5]||(t[5]=[e("div",{"i-solar:refresh-bold-duotone":"","text-xl":""},null,-1)]))]),e("div",G,[e("label",J,[e("div",null,[t[7]||(t[7]=e("div",{class:"flex items-center gap-1 text-sm font-medium"},[T(" API Key "),e("span",{class:"text-red-500"},"*")],-1)),e("div",Q," API Key for "+w((c=r.value)==null?void 0:c.localizedName),1)]),x(e("input",{"onUpdate:modelValue":t[1]||(t[1]=o=>i.value=o),type:"password",border:"neutral-200 dark:neutral-800 solid 2 focus:neutral-400 dark:focus:neutral-600",transition:"all duration-250 ease-in-out","w-full":"","rounded-lg":"","px-2":"","py-1":"","text-nowrap":"","text-sm":"","outline-none":"",bg:"neutral-100 dark:neutral-800 focus:white dark:focus:neutral-700",placeholder:"sk-or-..."},null,512),[[y,i.value]])])])])]),e("div",null,[D(f(j),{"w-full":""},{trigger:_(o=>[e("button",{transition:"all ease-in-out duration-250","w-full":"",flex:"","items-center":"","gap-1.5":"","outline-none":"",class:"[&_.provider-icon]:grayscale-100 [&_.provider-icon]:hover:grayscale-0",onClick:()=>o.setVisible(!o.visible)&&f(K)()},[t[9]||(t[9]=e("h2",{class:"text-lg text-neutral-500 md:text-2xl dark:text-neutral-400"},[e("span",null,"Advanced")],-1)),e("div",{transform:"",transition:"transform duration-250",class:U({"rotate-180":o.visible})},t[8]||(t[8]=[e("div",{"i-solar:alt-arrow-down-bold-duotone":""},null,-1)]),2)],8,W)]),default:_(()=>{var o,b;return[e("div",X,[e("label",Y,[t[10]||(t[10]=e("div",null,[e("div",{class:"flex items-center gap-1 text-sm font-medium"}," Base URL "),e("div",{class:"text-xs text-neutral-500 dark:text-neutral-400","text-nowrap":""}," Custom base URL (optional) ")],-1)),x(e("input",{"onUpdate:modelValue":t[2]||(t[2]=R=>u.value=R),type:"text",border:"neutral-200 dark:neutral-800 solid 2 focus:neutral-400 dark:focus:neutral-600",transition:"all duration-250 ease-in-out","w-full":"","rounded-lg":"","px-2":"","py-1":"","text-nowrap":"","text-sm":"","outline-none":"",bg:"neutral-100 dark:neutral-800 focus:white dark:focus:neutral-700",placeholder:((b=(o=r.value)==null?void 0:o.defaultOptions)==null?void 0:b.baseUrl)||""},null,8,Z),[[y,u.value]])])])]}),_:1})])]),e("div",ee,[e("div",{text:"40",class:U((m=r.value)==null?void 0:m.icon)},null,2)])],64)}}});export{se as default}; diff --git a/assets/providers-DAM1M9Uz.js b/assets/providers-ztBzqPgb.js similarity index 96% rename from assets/providers-DAM1M9Uz.js rename to assets/providers-ztBzqPgb.js index bf818bb9e00fb3f6c2cb2b47fa1fb407a4aa60d0..2c9b35dae160a5ad8934f0ab9b69102e7045f536 100644 --- a/assets/providers-DAM1M9Uz.js +++ b/assets/providers-ztBzqPgb.js @@ -1 +1 @@ -var Y=Object.defineProperty;var I=(r,i,t)=>i in r?Y(r,i,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[i]=t;var U=(r,i,t)=>I(r,typeof i!="symbol"?i+"":i,t);import{aj as R,cl as ee,v as re,g as k,w as ie,h as O}from"./index-DCtIztPb.js";var E=class extends Error{constructor(i,t){super(i);U(this,"response");this.name="XSAIError",this.response=t}},ae=r=>r.replace(/[A-Z]/g,i=>`_${i.toLowerCase()}`),x=r=>Object.fromEntries(Object.entries(r).map(([i,t])=>[ae(i),t])),D=r=>Object.fromEntries(Object.entries(r).filter(([,i])=>i!==void 0)),me=r=>JSON.stringify(x(D({...r,abortSignal:void 0,apiKey:void 0,baseURL:void 0,fetch:void 0,headers:void 0}))),X=(r,i)=>D({Authorization:i!==void 0?`Bearer ${i}`:void 0,...r}),J=(r,i)=>{const t=i.toString();return new URL(r,t.endsWith("/")?t:`${t}/`)},te=async r=>{if(!r.ok){const i=new E(`Remote sent ${r.status} response`,r);throw i.cause=new Error(await r.text()),i}if(!r.body)throw new E("Response body is empty from remote server",r);if(!(r.body instanceof ReadableStream)){const i=new E(`Expected Response body to be a ReadableStream, but got ${String(r.body)}`,r);throw i.cause=new Error(`Content-Type is ${r.headers.get("Content-Type")}`),i}return r},V=async r=>te(r).then(async i=>i.json()),b=async r=>(r.fetch??globalThis.fetch)(J("models",r.baseURL),{headers:X({"Content-Type":"application/json",...r.headers},r.apiKey),signal:r.abortSignal}).then(V).then(({data:i})=>i),d=r=>({chat:i=>Object.assign(r,{model:i})}),w=r=>({embed:i=>Object.assign(r,{model:i})}),u=r=>({model:()=>r}),oe=r=>({speech:i=>Object.assign(r,{model:i})}),ne=r=>({transcription:i=>Object.assign(r,{model:i})}),c=(r,i)=>({metadata:{id:r,...i}}),s=(...r)=>Object.assign(r[0],...r.slice(1)),A=(r,i="https://api.deepseek.com/")=>s(c("deepseek"),d({apiKey:r,baseURL:i}),u({apiKey:r,baseURL:i})),B=(r,i="https://api.fireworks.ai/inference/v1/")=>s(c("fireworks"),d({apiKey:r,baseURL:i}),w({apiKey:r,baseURL:i}),u({apiKey:r,baseURL:i})),$=(r,i="https://api.mistral.ai/v1/")=>s(c("mistral"),d({apiKey:r,baseURL:i}),w({apiKey:r,baseURL:i}),u({apiKey:r,baseURL:i})),T=(r,i="https://api.moonshot.cn/v1/")=>s(c("moonshot"),d({apiKey:r,baseURL:i}),u({apiKey:r,baseURL:i})),z=(r,i="https://api.novita.ai/v3/openai/")=>s(c("novita"),d({apiKey:r,baseURL:i}),u({apiKey:r,baseURL:i})),F=(r,i="https://api.openai.com/v1/")=>s(c("openai"),d({apiKey:r,baseURL:i}),w({apiKey:r,baseURL:i}),u({apiKey:r,baseURL:i}),oe({apiKey:r,baseURL:i}),ne({apiKey:r,baseURL:i})),se=(r,i="")=>s(c("openrouter"),{chat:(t,o)=>{const h={apiKey:r,baseURL:i,model:t};return{...o?(({extraHeaders:p,models:f,provider:y})=>{p!=null&&(h.headers??(h.headers={}),Object.assign(h.headers,p));let v;return y!=null&&(v=x(y)),x({models:f,provider:v})})(o):{},...h}}},u({apiKey:r,baseURL:i})),le=(r,i="https://api.perplexity.ai/")=>s(c("perplexity"),d({apiKey:r,baseURL:i})),N=(r,i="https://api.together.xyz/v1/")=>s(c("together-ai"),d({apiKey:r,baseURL:i}),w({apiKey:r,baseURL:i}),u({apiKey:r,baseURL:i,fetch:async(...t)=>globalThis.fetch(...t).then(async o=>o.json()).then(o=>Response.json({data:o,object:"list"}))})),ce=(r,i)=>{const t=`https://api.cloudflare.com/client/v4/accounts/${i}/ai/v1/`;return s(c("workers-ai"),d({apiKey:r,baseURL:t}),w({apiKey:r,baseURL:t}))},q=(r,i="https://api.x.ai/v1/")=>s(c("xai"),d({apiKey:r,baseURL:i}),u({apiKey:r,baseURL:i})),j=(r="http://localhost:11434/v1/")=>s(c("ollama"),d({baseURL:r}),w({baseURL:r}),u({baseURL:r}));function W(r,i="http://localhost:5933/v1/"){const t=({applyTextNormalization:l,languageCode:p,nextRequestIds:f,nextText:y,previousRequestIds:v,previousText:K,pronunciationDictionaryLocators:g,seed:M,voiceSettings:P})=>({extraBody:x({applyTextNormalization:l,languageCode:p,nextRequestIds:f,nextText:y,previousRequestIds:v,previousText:K,pronunciationDictionaryLocators:g?g.map(S=>x(S)):void 0,seed:M,voiceSettings:P!=null?x(P):{similarityBoost:.75,stability:.5}})});return s({speech:(l,p)=>({...p?t(p):{},apiKey:r,baseURL:i,model:`elevenlabs/${l}`})},{voice:l=>(i.endsWith("v1/")?i=i.slice(0,-3):i.endsWith("v1")&&(i=i.slice(0,-2)),{query:"provider=elevenlabs",...l?t(l):{},apiKey:r,baseURL:i})})}async function de(r){return(r.fetch??globalThis.fetch)(J(r.query?`api/voices?${r.query}`:"api/voices",r.baseURL),{headers:X({...r.headers},r.apiKey),method:"GET",signal:r.abortSignal}).then(V).then(({voices:i})=>i)}const ue=R("providers",()=>{const r=ee("settings/credentials/providers",{}),{t:i}=re();async function t(e){try{const a=await fetch("https://openrouter.ai/api/v1/models",{headers:{Authorization:`Bearer ${e.apiKey}`,"Content-Type":"application/json"}});if(!a.ok)throw new Error(`Failed to fetch OpenRouter models: ${a.statusText}`);return(await a.json()).data.map(n=>({id:n.id,name:n.name||n.id,provider:"openrouter-ai",description:n.description||"",contextLength:n.context_length,deprecated:!1}))}catch(a){throw console.error("Error fetching OpenRouter models:",a),a}}const o={"openrouter-ai":{id:"openrouter-ai",nameKey:"providers.openrouter.name",name:"OpenRouter",descriptionKey:"providers.openrouter.description",description:"openrouter.ai",icon:"i-lobe-icons:openrouter",defaultOptions:{baseUrl:"https://openrouter.ai/api/v1/"},createProvider:e=>se(e.apiKey,e.baseUrl),capabilities:{listModels:async e=>t(e)}},openai:{id:"openai",nameKey:"providers.openai.name",name:"OpenAI",descriptionKey:"providers.openai.description",description:"openai.com",icon:"i-lobe-icons:openai",defaultOptions:{baseUrl:"https://api.openai.com/v1/"},createProvider:e=>F(e.apiKey,e.baseUrl),capabilities:{listModels:async e=>(await b({...F(e.apiKey,e.baseUrl).model()})).map(a=>({id:a.id,name:a.id,provider:"openai",description:"",contextLength:0,deprecated:!1}))}},"ollama-ai":{id:"ollama-ai",nameKey:"providers.ollama.name",name:"Ollama",descriptionKey:"providers.ollama.description",description:"ollama.com",icon:"i-lobe-icons:ollama",defaultOptions:{baseUrl:"http://localhost:11434/api/"},createProvider:e=>j(e.baseUrl),capabilities:{listModels:async e=>(await b({...j(e.baseUrl).model()})).map(a=>({id:a.id,name:a.id,provider:"ollama-ai",description:"",contextLength:0,deprecated:!1}))}},vllm:{id:"vllm",nameKey:"providers.vllm.name",name:"vLLM",descriptionKey:"providers.vllm.description",description:"vllm.ai",iconColor:"i-lobe-icons:vllm-color",createProvider:e=>j(e.baseUrl),capabilities:{listModels:async()=>[{id:"llama-2-7b",name:"Llama 2 (7B)",provider:"vllm",description:"Meta's Llama 2 7B parameter model",contextLength:4096},{id:"llama-2-13b",name:"Llama 2 (13B)",provider:"vllm",description:"Meta's Llama 2 13B parameter model",contextLength:4096},{id:"llama-2-70b",name:"Llama 2 (70B)",provider:"vllm",description:"Meta's Llama 2 70B parameter model",contextLength:4096},{id:"mistral-7b",name:"Mistral (7B)",provider:"vllm",description:"Mistral AI's 7B parameter model",contextLength:8192},{id:"mixtral-8x7b",name:"Mixtral (8x7B)",provider:"vllm",description:"Mistral AI's Mixtral 8x7B MoE model",contextLength:32768},{id:"custom",name:"Custom Model",provider:"vllm",description:"Specify a custom model name",contextLength:0}]}},"perplexity-ai":{id:"perplexity-ai",nameKey:"providers.perplexity.name",name:"Perplexity",descriptionKey:"providers.perplexity.description",description:"perplexity.ai",icon:"i-lobe-icons:perplexity",defaultOptions:{baseUrl:"https://api.perplexity.ai"},createProvider:e=>le(e.apiKey,e.baseUrl),capabilities:{listModels:async()=>[{id:"sonar-small-online",name:"Sonar Small (Online)",provider:"perplexity-ai",description:"Efficient model with online search capabilities",contextLength:12e3},{id:"sonar-medium-online",name:"Sonar Medium (Online)",provider:"perplexity-ai",description:"Balanced model with online search capabilities",contextLength:12e3},{id:"sonar-large-online",name:"Sonar Large (Online)",provider:"perplexity-ai",description:"Powerful model with online search capabilities",contextLength:12e3},{id:"codey-small",name:"Codey Small",provider:"perplexity-ai",description:"Specialized for code generation and understanding",contextLength:12e3},{id:"codey-large",name:"Codey Large",provider:"perplexity-ai",description:"Advanced code generation and understanding",contextLength:12e3}]}},elevenlabs:{id:"elevenlabs",nameKey:"providers.elevenlabs.name",name:"ElevenLabs",descriptionKey:"providers.elevenlabs.description",description:"elevenlabs.io",icon:"i-simple-icons:elevenlabs",defaultOptions:{baseUrl:"https://unspeech.hyp3r.link/v1/",voiceSettings:{similarityBoost:.75,stability:.5}},createProvider:e=>W(e.apiKey,e.baseUrl),capabilities:{listModels:async()=>[],listVoices:async e=>{const a=W(e.apiKey,e.baseUrl);return(await de({...a.voice()})).map(n=>({id:n.id,name:n.name,provider:"elevenlabs"}))}}},xai:{id:"xai",nameKey:"providers.xai.name",name:"xAI",descriptionKey:"providers.xai.description",description:"x.ai",icon:"i-lobe-icons:xai",createProvider:e=>q(e.apiKey,e.baseUrl),capabilities:{listModels:async e=>(await b({...q(e.apiKey,e.baseUrl).model()})).map(a=>({id:a.id,name:a.id,provider:"xai",description:"",contextLength:0,deprecated:!1}))}},deepseek:{id:"deepseek",nameKey:"providers.deepseek.name",name:"DeepSeek",descriptionKey:"providers.deepseek.description",description:"deepseek.com",iconColor:"i-lobe-icons:deepseek-color",createProvider:e=>A(e.apiKey,e.baseUrl),capabilities:{listModels:async e=>(await b({...A(e.apiKey,e.baseUrl).model()})).map(a=>({id:a.id,name:a.id,provider:"deepseek",description:"",contextLength:0,deprecated:!1}))}},"together-ai":{id:"together-ai",nameKey:"providers.together.name",name:"Together.ai",descriptionKey:"providers.together.description",description:"together.ai",iconColor:"i-lobe-icons:together-color",createProvider:e=>N(e.apiKey,e.baseUrl),capabilities:{listModels:async e=>(await b({...N(e.apiKey,e.baseUrl).model()})).map(a=>({id:a.id,name:a.id,provider:"together-ai",description:"",contextLength:0,deprecated:!1}))}},"novita-ai":{id:"novita-ai",nameKey:"providers.novita.name",name:"Novita",descriptionKey:"providers.novita.description",description:"novita.ai",iconColor:"i-lobe-icons:novita-color",createProvider:e=>z(e.apiKey,e.baseUrl),capabilities:{listModels:async e=>(await b({...z(e.apiKey,e.baseUrl).model()})).map(a=>({id:a.id,name:a.id,provider:"novita-ai",description:"",contextLength:0,deprecated:!1}))}},"fireworks-ai":{id:"fireworks-ai",nameKey:"providers.fireworks.name",name:"Fireworks.ai",descriptionKey:"providers.fireworks.description",description:"fireworks.ai",icon:"i-lobe-icons:fireworks",createProvider:e=>B(e.apiKey,e.baseUrl),capabilities:{listModels:async e=>(await b({...B(e.apiKey,e.baseUrl).model()})).map(a=>({id:a.id,name:a.id,provider:"fireworks-ai",description:"",contextLength:0,deprecated:!1}))}},"cloudflare-workers-ai":{id:"cloudflare-workers-ai",nameKey:"providers.cloudflare.name",name:"Cloudflare Workers AI",descriptionKey:"providers.cloudflare.description",description:"cloudflare.com",iconColor:"i-lobe-icons:cloudflare-color",createProvider:e=>ce(e.apiKey,e.accountId),capabilities:{listModels:async()=>[]}},"mistral-ai":{id:"mistral-ai",nameKey:"providers.mistral.name",name:"Mistral",descriptionKey:"providers.mistral.description",description:"mistral.ai",iconColor:"i-lobe-icons:mistral-color",createProvider:e=>$(e.apiKey,e.baseUrl),capabilities:{listModels:async e=>(await b({...$(e.apiKey,e.baseUrl).model()})).map(a=>({id:a.id,name:a.id,provider:"mistral-ai",description:"",contextLength:0,deprecated:!1}))}},"moonshot-ai":{id:"moonshot-ai",nameKey:"providers.moonshot.name",name:"Moonshot AI",descriptionKey:"providers.moonshot.description",description:"moonshot.ai",icon:"i-lobe-icons:moonshot",createProvider:e=>T(e.apiKey,e.baseUrl),capabilities:{listModels:async e=>(await b({...T(e.apiKey,e.baseUrl).model()})).map(a=>({id:a.id,name:a.id,provider:"moonshot-ai",description:"",contextLength:0,deprecated:!1}))}}};function h(e){const a=r.value[e];if(!a)return!1;switch(e){case"openrouter-ai":return!!a.apiKey&&!!a.baseUrl;case"openai":return!!a.apiKey;case"ollama-ai":return!!a.baseUrl;case"vllm":return!!a.baseUrl;case"elevenlabs":return!!a.apiKey;case"xai":return!!a.apiKey;case"deepseek":return!!a.apiKey;case"together-ai":return!!a.apiKey;case"novita-ai":return!!a.apiKey;case"fireworks-ai":return!!a.apiKey;case"cloudflare-workers-ai":return!!a.apiKey;case"mistral-ai":return!!a.apiKey;case"moonshot-ai":return!!a.apiKey;default:return!1}}const l=k({});function p(e){var a;if(!r.value[e]){const m=o[e];r.value[e]={baseUrl:((a=m.defaultOptions)==null?void 0:a.baseUrl)||""}}}Object.keys(o).forEach(p);function f(){Object.keys(o).forEach(e=>{l.value[e]=h(e)})}f(),ie(r,f,{deep:!0});const y=O(()=>Object.keys(o).filter(e=>l.value[e])),v=k({}),K=k({}),g=k({});async function M(e){const a=r.value[e];if(!a)return[];const m=o[e];if(!m)return[];K.value[e]=!0,g.value[e]=null;try{const n=m.capabilities.listModels?await m.capabilities.listModels(a):[];return v.value[e]=n.map(L=>({id:L.id,name:L.id,provider:e})),v.value[e]}catch(n){return console.error(`Error fetching models for ${e}:`,n),g.value[e]=n instanceof Error?n.message:"Unknown error",[]}finally{K.value[e]=!1}}function P(e){return v.value[e]||[]}const S=O(()=>{const e=[];for(const a of y.value)e.push(...v.value[a]||[]);return e});async function _(){for(const e of y.value)o[e].capabilities.listModels&&await M(e)}function C(e){const a=o[e];if(!a)throw new Error(`Provider metadata for ${e} not found`);return{...a,localizedName:i(a.nameKey,a.name),localizedDescription:i(a.descriptionKey,a.description)}}const G=O(()=>Object.values(o).map(e=>({...e,localizedName:i(e.nameKey,e.name),localizedDescription:i(e.descriptionKey,e.description),configured:l.value[e.id]||!1})));function Z(e){const a=r.value[e];if(!a)throw new Error(`Provider credentials for ${e} not found`);const m=o[e];if(!m)throw new Error(`Provider metadata for ${e} not found`);try{return m.createProvider(a)}catch(n){throw console.error(`Error creating provider instance for ${e}:`,n),n}}const H=O(()=>y.value.map(e=>C(e)));function Q(e){return r.value[e]}return{providers:r,getProviderConfig:Q,availableProviders:y,configuredProviders:l,providerMetadata:o,getProviderMetadata:C,allProvidersMetadata:G,initializeProvider:p,validateProvider:h,availableModels:v,isLoadingModels:K,modelLoadError:g,fetchModelsForProvider:M,getModelsForProvider:P,allAvailableModels:S,loadModelsForConfiguredProviders:_,getProviderInstance:Z,availableProvidersMetadata:H}});export{X as a,me as b,te as c,b as l,J as r,ue as u}; +var Y=Object.defineProperty;var I=(r,i,t)=>i in r?Y(r,i,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[i]=t;var U=(r,i,t)=>I(r,typeof i!="symbol"?i+"":i,t);import{ai as R,ck as ee,v as re,g as k,w as ie,h as O}from"./index-CGdx-Gsw.js";var E=class extends Error{constructor(i,t){super(i);U(this,"response");this.name="XSAIError",this.response=t}},ae=r=>r.replace(/[A-Z]/g,i=>`_${i.toLowerCase()}`),x=r=>Object.fromEntries(Object.entries(r).map(([i,t])=>[ae(i),t])),D=r=>Object.fromEntries(Object.entries(r).filter(([,i])=>i!==void 0)),me=r=>JSON.stringify(x(D({...r,abortSignal:void 0,apiKey:void 0,baseURL:void 0,fetch:void 0,headers:void 0}))),X=(r,i)=>D({Authorization:i!==void 0?`Bearer ${i}`:void 0,...r}),J=(r,i)=>{const t=i.toString();return new URL(r,t.endsWith("/")?t:`${t}/`)},te=async r=>{if(!r.ok){const i=new E(`Remote sent ${r.status} response`,r);throw i.cause=new Error(await r.text()),i}if(!r.body)throw new E("Response body is empty from remote server",r);if(!(r.body instanceof ReadableStream)){const i=new E(`Expected Response body to be a ReadableStream, but got ${String(r.body)}`,r);throw i.cause=new Error(`Content-Type is ${r.headers.get("Content-Type")}`),i}return r},V=async r=>te(r).then(async i=>i.json()),b=async r=>(r.fetch??globalThis.fetch)(J("models",r.baseURL),{headers:X({"Content-Type":"application/json",...r.headers},r.apiKey),signal:r.abortSignal}).then(V).then(({data:i})=>i),d=r=>({chat:i=>Object.assign(r,{model:i})}),w=r=>({embed:i=>Object.assign(r,{model:i})}),u=r=>({model:()=>r}),oe=r=>({speech:i=>Object.assign(r,{model:i})}),ne=r=>({transcription:i=>Object.assign(r,{model:i})}),c=(r,i)=>({metadata:{id:r,...i}}),s=(...r)=>Object.assign(r[0],...r.slice(1)),A=(r,i="https://api.deepseek.com/")=>s(c("deepseek"),d({apiKey:r,baseURL:i}),u({apiKey:r,baseURL:i})),B=(r,i="https://api.fireworks.ai/inference/v1/")=>s(c("fireworks"),d({apiKey:r,baseURL:i}),w({apiKey:r,baseURL:i}),u({apiKey:r,baseURL:i})),$=(r,i="https://api.mistral.ai/v1/")=>s(c("mistral"),d({apiKey:r,baseURL:i}),w({apiKey:r,baseURL:i}),u({apiKey:r,baseURL:i})),T=(r,i="https://api.moonshot.cn/v1/")=>s(c("moonshot"),d({apiKey:r,baseURL:i}),u({apiKey:r,baseURL:i})),z=(r,i="https://api.novita.ai/v3/openai/")=>s(c("novita"),d({apiKey:r,baseURL:i}),u({apiKey:r,baseURL:i})),F=(r,i="https://api.openai.com/v1/")=>s(c("openai"),d({apiKey:r,baseURL:i}),w({apiKey:r,baseURL:i}),u({apiKey:r,baseURL:i}),oe({apiKey:r,baseURL:i}),ne({apiKey:r,baseURL:i})),se=(r,i="")=>s(c("openrouter"),{chat:(t,o)=>{const h={apiKey:r,baseURL:i,model:t};return{...o?(({extraHeaders:p,models:f,provider:y})=>{p!=null&&(h.headers??(h.headers={}),Object.assign(h.headers,p));let v;return y!=null&&(v=x(y)),x({models:f,provider:v})})(o):{},...h}}},u({apiKey:r,baseURL:i})),le=(r,i="https://api.perplexity.ai/")=>s(c("perplexity"),d({apiKey:r,baseURL:i})),N=(r,i="https://api.together.xyz/v1/")=>s(c("together-ai"),d({apiKey:r,baseURL:i}),w({apiKey:r,baseURL:i}),u({apiKey:r,baseURL:i,fetch:async(...t)=>globalThis.fetch(...t).then(async o=>o.json()).then(o=>Response.json({data:o,object:"list"}))})),ce=(r,i)=>{const t=`https://api.cloudflare.com/client/v4/accounts/${i}/ai/v1/`;return s(c("workers-ai"),d({apiKey:r,baseURL:t}),w({apiKey:r,baseURL:t}))},q=(r,i="https://api.x.ai/v1/")=>s(c("xai"),d({apiKey:r,baseURL:i}),u({apiKey:r,baseURL:i})),C=(r="http://localhost:11434/v1/")=>s(c("ollama"),d({baseURL:r}),w({baseURL:r}),u({baseURL:r}));function W(r,i="http://localhost:5933/v1/"){const t=({applyTextNormalization:l,languageCode:p,nextRequestIds:f,nextText:y,previousRequestIds:v,previousText:K,pronunciationDictionaryLocators:g,seed:M,voiceSettings:P})=>({extraBody:x({applyTextNormalization:l,languageCode:p,nextRequestIds:f,nextText:y,previousRequestIds:v,previousText:K,pronunciationDictionaryLocators:g?g.map(S=>x(S)):void 0,seed:M,voiceSettings:P!=null?x(P):{similarityBoost:.75,stability:.5}})});return s({speech:(l,p)=>({...p?t(p):{},apiKey:r,baseURL:i,model:`elevenlabs/${l}`})},{voice:l=>(i.endsWith("v1/")?i=i.slice(0,-3):i.endsWith("v1")&&(i=i.slice(0,-2)),{query:"provider=elevenlabs",...l?t(l):{},apiKey:r,baseURL:i})})}async function de(r){return(r.fetch??globalThis.fetch)(J(r.query?`api/voices?${r.query}`:"api/voices",r.baseURL),{headers:X({...r.headers},r.apiKey),method:"GET",signal:r.abortSignal}).then(V).then(({voices:i})=>i)}const ue=R("providers",()=>{const r=ee("settings/credentials/providers",{}),{t:i}=re();async function t(e){try{const a=await fetch("https://openrouter.ai/api/v1/models",{headers:{Authorization:`Bearer ${e.apiKey}`,"Content-Type":"application/json"}});if(!a.ok)throw new Error(`Failed to fetch OpenRouter models: ${a.statusText}`);return(await a.json()).data.map(n=>({id:n.id,name:n.name||n.id,provider:"openrouter-ai",description:n.description||"",contextLength:n.context_length,deprecated:!1}))}catch(a){throw console.error("Error fetching OpenRouter models:",a),a}}const o={"openrouter-ai":{id:"openrouter-ai",nameKey:"providers.openrouter.name",name:"OpenRouter",descriptionKey:"providers.openrouter.description",description:"openrouter.ai",icon:"i-lobe-icons:openrouter",defaultOptions:{baseUrl:"https://openrouter.ai/api/v1/"},createProvider:e=>se(e.apiKey,e.baseUrl),capabilities:{listModels:async e=>t(e)}},openai:{id:"openai",nameKey:"providers.openai.name",name:"OpenAI",descriptionKey:"providers.openai.description",description:"openai.com",icon:"i-lobe-icons:openai",defaultOptions:{baseUrl:"https://api.openai.com/v1/"},createProvider:e=>F(e.apiKey,e.baseUrl),capabilities:{listModels:async e=>(await b({...F(e.apiKey,e.baseUrl).model()})).map(a=>({id:a.id,name:a.id,provider:"openai",description:"",contextLength:0,deprecated:!1}))}},"ollama-ai":{id:"ollama-ai",nameKey:"providers.ollama.name",name:"Ollama",descriptionKey:"providers.ollama.description",description:"ollama.com",icon:"i-lobe-icons:ollama",defaultOptions:{baseUrl:"http://localhost:11434/api/"},createProvider:e=>C(e.baseUrl),capabilities:{listModels:async e=>(await b({...C(e.baseUrl).model()})).map(a=>({id:a.id,name:a.id,provider:"ollama-ai",description:"",contextLength:0,deprecated:!1}))}},vllm:{id:"vllm",nameKey:"providers.vllm.name",name:"vLLM",descriptionKey:"providers.vllm.description",description:"vllm.ai",iconColor:"i-lobe-icons:vllm-color",createProvider:e=>C(e.baseUrl),capabilities:{listModels:async()=>[{id:"llama-2-7b",name:"Llama 2 (7B)",provider:"vllm",description:"Meta's Llama 2 7B parameter model",contextLength:4096},{id:"llama-2-13b",name:"Llama 2 (13B)",provider:"vllm",description:"Meta's Llama 2 13B parameter model",contextLength:4096},{id:"llama-2-70b",name:"Llama 2 (70B)",provider:"vllm",description:"Meta's Llama 2 70B parameter model",contextLength:4096},{id:"mistral-7b",name:"Mistral (7B)",provider:"vllm",description:"Mistral AI's 7B parameter model",contextLength:8192},{id:"mixtral-8x7b",name:"Mixtral (8x7B)",provider:"vllm",description:"Mistral AI's Mixtral 8x7B MoE model",contextLength:32768},{id:"custom",name:"Custom Model",provider:"vllm",description:"Specify a custom model name",contextLength:0}]}},"perplexity-ai":{id:"perplexity-ai",nameKey:"providers.perplexity.name",name:"Perplexity",descriptionKey:"providers.perplexity.description",description:"perplexity.ai",icon:"i-lobe-icons:perplexity",defaultOptions:{baseUrl:"https://api.perplexity.ai"},createProvider:e=>le(e.apiKey,e.baseUrl),capabilities:{listModels:async()=>[{id:"sonar-small-online",name:"Sonar Small (Online)",provider:"perplexity-ai",description:"Efficient model with online search capabilities",contextLength:12e3},{id:"sonar-medium-online",name:"Sonar Medium (Online)",provider:"perplexity-ai",description:"Balanced model with online search capabilities",contextLength:12e3},{id:"sonar-large-online",name:"Sonar Large (Online)",provider:"perplexity-ai",description:"Powerful model with online search capabilities",contextLength:12e3},{id:"codey-small",name:"Codey Small",provider:"perplexity-ai",description:"Specialized for code generation and understanding",contextLength:12e3},{id:"codey-large",name:"Codey Large",provider:"perplexity-ai",description:"Advanced code generation and understanding",contextLength:12e3}]}},elevenlabs:{id:"elevenlabs",nameKey:"providers.elevenlabs.name",name:"ElevenLabs",descriptionKey:"providers.elevenlabs.description",description:"elevenlabs.io",icon:"i-simple-icons:elevenlabs",defaultOptions:{baseUrl:"https://unspeech.hyp3r.link/v1/",voiceSettings:{similarityBoost:.75,stability:.5}},createProvider:e=>W(e.apiKey,e.baseUrl),capabilities:{listModels:async()=>[],listVoices:async e=>{const a=W(e.apiKey,e.baseUrl);return(await de({...a.voice()})).map(n=>({id:n.id,name:n.name,provider:"elevenlabs"}))}}},xai:{id:"xai",nameKey:"providers.xai.name",name:"xAI",descriptionKey:"providers.xai.description",description:"x.ai",icon:"i-lobe-icons:xai",createProvider:e=>q(e.apiKey,e.baseUrl),capabilities:{listModels:async e=>(await b({...q(e.apiKey,e.baseUrl).model()})).map(a=>({id:a.id,name:a.id,provider:"xai",description:"",contextLength:0,deprecated:!1}))}},deepseek:{id:"deepseek",nameKey:"providers.deepseek.name",name:"DeepSeek",descriptionKey:"providers.deepseek.description",description:"deepseek.com",iconColor:"i-lobe-icons:deepseek-color",createProvider:e=>A(e.apiKey,e.baseUrl),capabilities:{listModels:async e=>(await b({...A(e.apiKey,e.baseUrl).model()})).map(a=>({id:a.id,name:a.id,provider:"deepseek",description:"",contextLength:0,deprecated:!1}))}},"together-ai":{id:"together-ai",nameKey:"providers.together.name",name:"Together.ai",descriptionKey:"providers.together.description",description:"together.ai",iconColor:"i-lobe-icons:together-color",createProvider:e=>N(e.apiKey,e.baseUrl),capabilities:{listModels:async e=>(await b({...N(e.apiKey,e.baseUrl).model()})).map(a=>({id:a.id,name:a.id,provider:"together-ai",description:"",contextLength:0,deprecated:!1}))}},"novita-ai":{id:"novita-ai",nameKey:"providers.novita.name",name:"Novita",descriptionKey:"providers.novita.description",description:"novita.ai",iconColor:"i-lobe-icons:novita-color",createProvider:e=>z(e.apiKey,e.baseUrl),capabilities:{listModels:async e=>(await b({...z(e.apiKey,e.baseUrl).model()})).map(a=>({id:a.id,name:a.id,provider:"novita-ai",description:"",contextLength:0,deprecated:!1}))}},"fireworks-ai":{id:"fireworks-ai",nameKey:"providers.fireworks.name",name:"Fireworks.ai",descriptionKey:"providers.fireworks.description",description:"fireworks.ai",icon:"i-lobe-icons:fireworks",createProvider:e=>B(e.apiKey,e.baseUrl),capabilities:{listModels:async e=>(await b({...B(e.apiKey,e.baseUrl).model()})).map(a=>({id:a.id,name:a.id,provider:"fireworks-ai",description:"",contextLength:0,deprecated:!1}))}},"cloudflare-workers-ai":{id:"cloudflare-workers-ai",nameKey:"providers.cloudflare.name",name:"Cloudflare Workers AI",descriptionKey:"providers.cloudflare.description",description:"cloudflare.com",iconColor:"i-lobe-icons:cloudflare-color",createProvider:e=>ce(e.apiKey,e.accountId),capabilities:{listModels:async()=>[]}},"mistral-ai":{id:"mistral-ai",nameKey:"providers.mistral.name",name:"Mistral",descriptionKey:"providers.mistral.description",description:"mistral.ai",iconColor:"i-lobe-icons:mistral-color",createProvider:e=>$(e.apiKey,e.baseUrl),capabilities:{listModels:async e=>(await b({...$(e.apiKey,e.baseUrl).model()})).map(a=>({id:a.id,name:a.id,provider:"mistral-ai",description:"",contextLength:0,deprecated:!1}))}},"moonshot-ai":{id:"moonshot-ai",nameKey:"providers.moonshot.name",name:"Moonshot AI",descriptionKey:"providers.moonshot.description",description:"moonshot.ai",icon:"i-lobe-icons:moonshot",createProvider:e=>T(e.apiKey,e.baseUrl),capabilities:{listModels:async e=>(await b({...T(e.apiKey,e.baseUrl).model()})).map(a=>({id:a.id,name:a.id,provider:"moonshot-ai",description:"",contextLength:0,deprecated:!1}))}}};function h(e){const a=r.value[e];if(!a)return!1;switch(e){case"openrouter-ai":return!!a.apiKey&&!!a.baseUrl;case"openai":return!!a.apiKey;case"ollama-ai":return!!a.baseUrl;case"vllm":return!!a.baseUrl;case"elevenlabs":return!!a.apiKey;case"xai":return!!a.apiKey;case"deepseek":return!!a.apiKey;case"together-ai":return!!a.apiKey;case"novita-ai":return!!a.apiKey;case"fireworks-ai":return!!a.apiKey;case"cloudflare-workers-ai":return!!a.apiKey;case"mistral-ai":return!!a.apiKey;case"moonshot-ai":return!!a.apiKey;default:return!1}}const l=k({});function p(e){var a;if(!r.value[e]){const m=o[e];r.value[e]={baseUrl:((a=m.defaultOptions)==null?void 0:a.baseUrl)||""}}}Object.keys(o).forEach(p);function f(){Object.keys(o).forEach(e=>{l.value[e]=h(e)})}f(),ie(r,f,{deep:!0});const y=O(()=>Object.keys(o).filter(e=>l.value[e])),v=k({}),K=k({}),g=k({});async function M(e){const a=r.value[e];if(!a)return[];const m=o[e];if(!m)return[];K.value[e]=!0,g.value[e]=null;try{const n=m.capabilities.listModels?await m.capabilities.listModels(a):[];return v.value[e]=n.map(L=>({id:L.id,name:L.id,provider:e})),v.value[e]}catch(n){return console.error(`Error fetching models for ${e}:`,n),g.value[e]=n instanceof Error?n.message:"Unknown error",[]}finally{K.value[e]=!1}}function P(e){return v.value[e]||[]}const S=O(()=>{const e=[];for(const a of y.value)e.push(...v.value[a]||[]);return e});async function _(){for(const e of y.value)o[e].capabilities.listModels&&await M(e)}function j(e){const a=o[e];if(!a)throw new Error(`Provider metadata for ${e} not found`);return{...a,localizedName:i(a.nameKey,a.name),localizedDescription:i(a.descriptionKey,a.description)}}const G=O(()=>Object.values(o).map(e=>({...e,localizedName:i(e.nameKey,e.name),localizedDescription:i(e.descriptionKey,e.description),configured:l.value[e.id]||!1})));function Z(e){const a=r.value[e];if(!a)throw new Error(`Provider credentials for ${e} not found`);const m=o[e];if(!m)throw new Error(`Provider metadata for ${e} not found`);try{return m.createProvider(a)}catch(n){throw console.error(`Error creating provider instance for ${e}:`,n),n}}const H=O(()=>y.value.map(e=>j(e)));function Q(e){return r.value[e]}return{providers:r,getProviderConfig:Q,availableProviders:y,configuredProviders:l,providerMetadata:o,getProviderMetadata:j,allProvidersMetadata:G,initializeProvider:p,validateProvider:h,availableModels:v,isLoadingModels:K,modelLoadError:g,fetchModelsForProvider:M,getModelsForProvider:P,allAvailableModels:S,loadModelsForConfiguredProviders:_,getProviderInstance:Z,availableProvidersMetadata:H}});export{X as a,me as b,te as c,b as l,J as r,ue as u}; diff --git a/assets/queue-DBj3aeDb.js b/assets/queue-6CGaUIQf.js similarity index 91% rename from assets/queue-DBj3aeDb.js rename to assets/queue-6CGaUIQf.js index 9cbcf52c3e61f439aed9807024d43ebb1ce57c52..32404b1d4da9b62a69407c1d814d843348074a60 100644 --- a/assets/queue-DBj3aeDb.js +++ b/assets/queue-6CGaUIQf.js @@ -1 +1 @@ -import{g as l}from"./index-DCtIztPb.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 g(){const n=t.value.shift();if(n)return r("pick",n),n}async function u(){if(a.value)return;const n=g();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}; +import{g as l}from"./index-CGdx-Gsw.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 g(){const n=t.value.shift();if(n)return r("pick",n),n}async function u(){if(a.value)return;const n=g();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}; diff --git a/assets/queue-Dsx5fEJp.js b/assets/queue-qW-_jKlt.js similarity index 90% rename from assets/queue-Dsx5fEJp.js rename to assets/queue-qW-_jKlt.js index 84e3db9f830305bfc52ebb6666ef4abaf9701ec9..158f795a50c01cc949b0ff14bc327a05b4defbf6 100644 --- a/assets/queue-Dsx5fEJp.js +++ b/assets/queue-qW-_jKlt.js @@ -1 +1 @@ -import{u as o}from"./queue-DBj3aeDb.js";import{d as v,g as h,p as g,c as k,o as w,a as I}from"./index-DCtIztPb.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 g(()=>{m()}),(e,a)=>(w(),k("div",null,a[0]||(a[0]=[I("div",null,null,-1)])))}});export{Q as default}; +import{u as o}from"./queue-6CGaUIQf.js";import{d as v,g as h,p as g,c as k,o as w,a as I}from"./index-CGdx-Gsw.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 g(()=>{m()}),(e,a)=>(w(),k("div",null,a[0]||(a[0]=[I("div",null,null,-1)])))}});export{Q as default}; diff --git a/assets/queues-DYg2fUVu.js b/assets/queues-DxSAefs-.js similarity index 86% rename from assets/queues-DYg2fUVu.js rename to assets/queues-DxSAefs-.js index 19186365ea65674a376359853e279f2be0e864f1..f653e3b13ee67a02bfcb9c07db548ac08d945bcb 100644 --- a/assets/queues-DYg2fUVu.js +++ b/assets/queues-DxSAefs-.js @@ -1 +1 @@ -import{d as m,cm as p,cn as v,g as u,w as y,A as k,H as w,o as h,c as E,n as M}from"./index-DCtIztPb.js";import{E as f}from"./Stage.vue_vue_type_style_index_0_scoped_cad77b27_lang-D1cRHv6j.js";import{u as l}from"./queue-DBj3aeDb.js";const D=m({__name:"BasicTextarea",props:{modelValue:{default:""},modelModifiers:{}},emits:p(["submit"],["update:modelValue"]),setup(o,{emit:n}){const e=n,t=v(o,"modelValue"),a=u(),s=u("auto");function i(r){r.code==="Enter"&&!r.shiftKey&&(r.preventDefault(),e("submit",t.value))}return y(t,()=>{s.value="auto",requestAnimationFrame(()=>{a.value&&(s.value=`${a.value.scrollHeight}px`)})},{immediate:!0}),(r,d)=>k((h(),E("textarea",{ref_key:"textareaRef",ref:a,"onUpdate:modelValue":d[0]||(d[0]=c=>t.value=c),style:M({height:s.value}),onKeydown:i},null,36)),[[w,t.value]])}}),_="<|llm_inference_end|>";function A(o){function n(e){for(const t of f)if(e.includes(t))return{ok:!0,emotion:t};return{ok:!1,emotion:""}}return l({handlers:[async e=>{if(f.includes(e.data)){e.emit("emotion",e.data),await o.add(e.data);return}{const{ok:t,emotion:a}=n(e.data);t&&(e.emit("emotion",a),await o.add(a))}}]})}function N(){function o(e){if(!/<\|DELAY:\d+\|>/i.test(e))return{ok:!1,delay:0};const t=/<\|DELAY:(\d+)\|>/i.exec(e),a=t==null?void 0:t[1];if(!a)return{ok:!1,delay:0};const s=Number.parseFloat(a);return s<=0||Number.isNaN(s)?{ok:!0,delay:0}:{ok:!0,delay:s}}function n(e){return new Promise(t=>setTimeout(t,e))}return l({handlers:[async e=>{const{ok:t,delay:a}=o(e.data);t&&(e.emit("delay",a),await n(a*1e3))}]})}function T(o){const n=u("");return l({handlers:[async e=>{if(e.data===_){const a=n.value.trim();a&&await o.add(a),n.value="";return}const t=/[.?!]/;for(n.value+=e.data;n.value;){const a=t.exec(n.value);if(!a||typeof a.index>"u")break;const s=n.value.slice(0,a.index+1),i=n.value.slice(a.index+1);await o.add(s),n.value=i}}]})}export{D as _,A as a,T as b,_ as l,N as u}; +import{d as m,cl as p,cm as v,g as u,w as y,A as k,H as w,o as h,c as E,n as M}from"./index-CGdx-Gsw.js";import{E as f}from"./Stage.vue_vue_type_style_index_0_scoped_cad77b27_lang-BvkGrZE5.js";import{u as l}from"./queue-6CGaUIQf.js";const D=m({__name:"BasicTextarea",props:{modelValue:{default:""},modelModifiers:{}},emits:p(["submit"],["update:modelValue"]),setup(o,{emit:n}){const e=n,t=v(o,"modelValue"),a=u(),s=u("auto");function i(r){r.code==="Enter"&&!r.shiftKey&&(r.preventDefault(),e("submit",t.value))}return y(t,()=>{s.value="auto",requestAnimationFrame(()=>{a.value&&(s.value=`${a.value.scrollHeight}px`)})},{immediate:!0}),(r,d)=>k((h(),E("textarea",{ref_key:"textareaRef",ref:a,"onUpdate:modelValue":d[0]||(d[0]=c=>t.value=c),style:M({height:s.value}),onKeydown:i},null,36)),[[w,t.value]])}}),_="<|llm_inference_end|>";function A(o){function n(e){for(const t of f)if(e.includes(t))return{ok:!0,emotion:t};return{ok:!1,emotion:""}}return l({handlers:[async e=>{if(f.includes(e.data)){e.emit("emotion",e.data),await o.add(e.data);return}{const{ok:t,emotion:a}=n(e.data);t&&(e.emit("emotion",a),await o.add(a))}}]})}function N(){function o(e){if(!/<\|DELAY:\d+\|>/i.test(e))return{ok:!1,delay:0};const t=/<\|DELAY:(\d+)\|>/i.exec(e),a=t==null?void 0:t[1];if(!a)return{ok:!1,delay:0};const s=Number.parseFloat(a);return s<=0||Number.isNaN(s)?{ok:!0,delay:0}:{ok:!0,delay:s}}function n(e){return new Promise(t=>setTimeout(t,e))}return l({handlers:[async e=>{const{ok:t,delay:a}=o(e.data);t&&(e.emit("delay",a),await n(a*1e3))}]})}function T(o){const n=u("");return l({handlers:[async e=>{if(e.data===_){const a=n.value.trim();a&&await o.add(a),n.value="";return}const t=/[.?!]/;for(n.value+=e.data;n.value;){const a=t.exec(n.value);if(!a||typeof a.index>"u")break;const s=n.value.slice(0,a.index+1),i=n.value.slice(a.index+1);await o.add(s),n.value=i}}]})}export{D as _,A as a,T as b,_ as l,N as u}; diff --git a/assets/speech-DZpNI3Yo.js b/assets/speech-B9jHBLud.js similarity index 96% rename from assets/speech-DZpNI3Yo.js rename to assets/speech-B9jHBLud.js index 46df6ad924d018c8fa5bbc98719f4262fa9e8f12..811b9601766642294b436ab65735bc447f8d9589 100644 --- a/assets/speech-DZpNI3Yo.js +++ b/assets/speech-B9jHBLud.js @@ -1,4 +1,4 @@ -import{d as H,x as L,s as T,g as U,p as Q,z as G,c as a,o as s,A as f,a as e,e as l,m as p,F as N,E as J,b as g,k as Y,G as K,t as c,B as i,I as P,C as R,q as $,H as O,j as W}from"./index-DCtIztPb.js";import"./Stage.vue_vue_type_style_index_0_scoped_cad77b27_lang-D1cRHv6j.js";import{_ as X,R as Z}from"./RadioCardDetailManySelect.vue_vue_type_script_setup_true_lang-VOFvQ03c.js";import{R as w}from"./Range-DbnEDkbC.js";import{u as ee}from"./providers-DAM1M9Uz.js";import{u as te}from"./speech-DvCNA68i.js";import{b as A}from"./route-block-B_A1xBdJ.js";import"./TransitionVertical.vue_vue_type_script_setup_true_lang-BDRTDJzZ.js";const le={flex:"~ row","items-center":"","gap-2":"",initial:{opacity:0,x:10},enter:{opacity:1,x:0},leave:{opacity:0,x:-10},duration:250},oe={bg:"neutral-100 dark:[rgba(0,0,0,0.3)]","rounded-xl":"","p-4":"",flex:"~ col gap-4"},se={flex:"~ col gap-4"},ae={"max-w-full":""},re={key:0,flex:"~ row gap-4",style:{"scrollbar-width":"none"},"min-w-0":"","of-x-scroll":"","scroll-smooth":"",role:"radiogroup"},ne={key:1},ie={key:0},de={flex:"~ col gap-4"},ue={key:0,class:"flex items-center justify-center py-4"},me={key:1,class:"flex items-center gap-3 border border-2 border-red-200 rounded-lg bg-red-50 p-4 dark:border-red-800 dark:bg-red-900/20"},pe={class:"flex flex-col"},ve={class:"text-sm text-red-600 dark:text-red-400"},ce={key:2,class:"space-y-6"},be={key:0},xe={class:"grid grid-cols-1 gap-4 md:grid-cols-2"},fe={class:"flex items-center gap-3"},ge={class:"w-12 text-center"},ke={class:"flex items-center gap-3"},ye={class:"w-12 text-center"},we={key:1,class:"border border-2 border-neutral-200 rounded-lg p-4 dark:border-neutral-700"},he={class:"mb-3 flex items-center justify-between"},Se={class:"relative mr-2 inline-block w-10 select-none align-middle"},Ve={for:"ssml-toggle",class:"block h-6 cursor-pointer overflow-hidden rounded-full bg-neutral-300 dark:bg-neutral-700"},_e={key:0,class:"mt-3"},Me={class:"overflow-auto rounded bg-neutral-50 p-3 text-xs dark:bg-neutral-800"},Ce={key:3,class:"flex items-center gap-3 border border-2 border-amber-200 rounded-lg bg-amber-50 p-4 dark:border-amber-800 dark:bg-amber-900/20"},Ee={key:4,class:"mt-2 space-y-6"},Le={key:0},Ue={class:"grid grid-cols-1 gap-4 md:grid-cols-2"},Ne={class:"flex items-center gap-3"},Pe={class:"w-12 text-center"},Re={class:"flex items-center gap-3"},$e={class:"w-12 text-center"},Ae={key:1,class:"border border-2 border-neutral-200 rounded-lg p-4 dark:border-neutral-700"},je={class:"mb-3 flex items-center justify-between"},ze={class:"relative mr-2 inline-block w-10 select-none align-middle"},De={for:"ssml-toggle",class:"block h-6 cursor-pointer overflow-hidden rounded-full bg-neutral-300 dark:bg-neutral-700"},Ie={key:0,class:"mt-3"},Be={class:"overflow-auto rounded bg-neutral-50 p-3 text-xs dark:bg-neutral-800"},Fe=H({__name:"speech",setup(qe){const j=ee(),S=te(),{availableProviders:z,availableProvidersMetadata:D}=L(j),{activeSpeechProvider:r,activeSpeechModel:b,voiceId:d,pitch:u,rate:m,isLoadingSpeechProviderVoices:V,speechProviderError:_,supportsSSML:M,ssmlEnabled:n,availableVoices:v}=L(S),I=T(),h=U(` +import{d as H,x as L,s as T,g as U,p as Q,z as G,c as a,o as s,A as f,a as e,e as l,m as p,F as N,E as J,b as g,k as Y,G as K,t as c,B as i,I as P,C as R,q as $,H as O,j as W}from"./index-CGdx-Gsw.js";import"./Stage.vue_vue_type_style_index_0_scoped_cad77b27_lang-BvkGrZE5.js";import{_ as X,R as Z}from"./RadioCardDetailManySelect.vue_vue_type_script_setup_true_lang-BeHCf9lv.js";import{R as w}from"./Range-py-TYNCE.js";import{u as ee}from"./providers-ztBzqPgb.js";import{u as te}from"./speech-Bm3HIPgP.js";import{b as A}from"./route-block-B_A1xBdJ.js";import"./TransitionVertical.vue_vue_type_script_setup_true_lang-DIGllfwe.js";const le={flex:"~ row","items-center":"","gap-2":"",initial:{opacity:0,x:10},enter:{opacity:1,x:0},leave:{opacity:0,x:-10},duration:250},oe={bg:"neutral-100 dark:[rgba(0,0,0,0.3)]","rounded-xl":"","p-4":"",flex:"~ col gap-4"},se={flex:"~ col gap-4"},ae={"max-w-full":""},re={key:0,flex:"~ row gap-4",style:{"scrollbar-width":"none"},"min-w-0":"","of-x-scroll":"","scroll-smooth":"",role:"radiogroup"},ne={key:1},ie={key:0},de={flex:"~ col gap-4"},ue={key:0,class:"flex items-center justify-center py-4"},me={key:1,class:"flex items-center gap-3 border border-2 border-red-200 rounded-lg bg-red-50 p-4 dark:border-red-800 dark:bg-red-900/20"},pe={class:"flex flex-col"},ve={class:"text-sm text-red-600 dark:text-red-400"},ce={key:2,class:"space-y-6"},be={key:0},xe={class:"grid grid-cols-1 gap-4 md:grid-cols-2"},fe={class:"flex items-center gap-3"},ge={class:"w-12 text-center"},ke={class:"flex items-center gap-3"},ye={class:"w-12 text-center"},we={key:1,class:"border border-2 border-neutral-200 rounded-lg p-4 dark:border-neutral-700"},he={class:"mb-3 flex items-center justify-between"},Se={class:"relative mr-2 inline-block w-10 select-none align-middle"},Ve={for:"ssml-toggle",class:"block h-6 cursor-pointer overflow-hidden rounded-full bg-neutral-300 dark:bg-neutral-700"},_e={key:0,class:"mt-3"},Me={class:"overflow-auto rounded bg-neutral-50 p-3 text-xs dark:bg-neutral-800"},Ce={key:3,class:"flex items-center gap-3 border border-2 border-amber-200 rounded-lg bg-amber-50 p-4 dark:border-amber-800 dark:bg-amber-900/20"},Ee={key:4,class:"mt-2 space-y-6"},Le={key:0},Ue={class:"grid grid-cols-1 gap-4 md:grid-cols-2"},Ne={class:"flex items-center gap-3"},Pe={class:"w-12 text-center"},Re={class:"flex items-center gap-3"},$e={class:"w-12 text-center"},Ae={key:1,class:"border border-2 border-neutral-200 rounded-lg p-4 dark:border-neutral-700"},je={class:"mb-3 flex items-center justify-between"},ze={class:"relative mr-2 inline-block w-10 select-none align-middle"},De={for:"ssml-toggle",class:"block h-6 cursor-pointer overflow-hidden rounded-full bg-neutral-300 dark:bg-neutral-700"},Ie={key:0,class:"mt-3"},Be={class:"overflow-auto rounded bg-neutral-50 p-3 text-xs dark:bg-neutral-800"},Fe=H({__name:"speech",setup(qe){const j=ee(),S=te(),{availableProviders:z,availableProvidersMetadata:D}=L(j),{activeSpeechProvider:r,activeSpeechModel:b,voiceId:d,pitch:u,rate:m,isLoadingSpeechProviderVoices:V,speechProviderError:_,supportsSSML:M,ssmlEnabled:n,availableVoices:v}=L(S),I=T(),h=U(` Hello, my name is AI Assistant diff --git a/assets/speech-DvCNA68i.js b/assets/speech-Bm3HIPgP.js similarity index 78% rename from assets/speech-DvCNA68i.js rename to assets/speech-Bm3HIPgP.js index df290e0a66ed33da3eab914f756fdd61f96c5995..bcdf417b862d4bc07cfec0df1b7c903ba7424a2a 100644 --- a/assets/speech-DvCNA68i.js +++ b/assets/speech-Bm3HIPgP.js @@ -1 +1 @@ -import{aj as B,cl as s,g as d,h as n,w as E}from"./index-DCtIztPb.js";import{u as F}from"./providers-DAM1M9Uz.js";const N={Myriam:"lNxY9WuCBCZCISASyJ55",Beatrice:"KAsXoQDshjF6ehsWa1mF",Camilla_KM:"dLhSyo03JRp5WkGpUlz1","Sally Sunshine":"qswttdunP3b44zVZKMRB",Annie:"AfA1PA0ldViH0DA6pbml","Kawaii Aerisita":"vGQNBgLaiM3EdZtxIiuY",Morioki:"8EkOjt4xTPGMclNlh1pk"},P=["Myriam","Beatrice","Camilla_KM","Sally Sunshine","Annie","Kawaii Aerisita"],b=["Morioki"],f={en:P,"en-US":P,ja:b,"ja-JP":b},$=B("speech",()=>{const r=F(),c=s("settings/speech/active-provider",""),y=s("settings/speech/active-model","eleven_multilingual_v2"),t=s("settings/speech/voice-name",""),L=s("settings/speech/voice-id",""),i=s("settings/speech/pitch",0),o=s("settings/speech/rate",1),l=s("settings/speech/ssml-enabled",!1),u=d(!1),v=d(null),h=d({}),m=s("settings/speech/language","en-US"),V=n(()=>r.availableProviders.filter(e=>g(e)).map(e=>r.getProviderMetadata(e))),A=n(()=>["elevenlabs","microsoft","google"].includes(c.value)),k=n(()=>Object.keys(f)),j=n(()=>{const e=m.value;return!e||!f[e]?[]:f[e].map(a=>({id:N[a],name:a,provider:"elevenlabs",language:e}))});function g(e){return["elevenlabs","microsoft","google","amazon"].includes(e)}function w(){t.value="",i.value=0,o.value=1,l.value=!1}async function S(e){var a,M;if(!e||!g(e))return[];u.value=!0,v.value=null;try{return await((M=(a=r.getProviderMetadata(e).capabilities).listVoices)==null?void 0:M.call(a,r.getProviderConfig(e)))||[]}catch(p){return console.error(`Error fetching voices for ${e}:`,p),v.value=p instanceof Error?p.message:"Unknown error",[]}finally{u.value=!1}}function C(e){return h.value[e]||[]}E(c,async e=>{e&&await S(e)});function K(e){if(!l.value)return e;let a="";return t.value&&(a+=``),(i.value!==0||o.value!==1)&&(a+=``),a+=e,(i.value!==0||o.value!==1)&&(a+=""),t.value&&(a+=""),a+="",a}return{activeSpeechProvider:c,activeSpeechModel:y,voiceName:t,voiceId:L,pitch:i,rate:o,ssmlEnabled:l,selectedLanguage:m,isLoadingSpeechProviderVoices:u,speechProviderError:v,availableVoices:h,availableSpeechProvidersMetadata:V,supportsSSML:A,availableLanguages:k,availableVoicesForLanguage:j,resetVoiceSettings:w,loadVoicesForProvider:S,getVoicesForProvider:C,generateSSML:K,isSpeechProvider:g}});export{$ as u,N as v}; +import{ai as B,ck as s,g as d,h as n,w as E}from"./index-CGdx-Gsw.js";import{u as F}from"./providers-ztBzqPgb.js";const N={Myriam:"lNxY9WuCBCZCISASyJ55",Beatrice:"KAsXoQDshjF6ehsWa1mF",Camilla_KM:"dLhSyo03JRp5WkGpUlz1","Sally Sunshine":"qswttdunP3b44zVZKMRB",Annie:"AfA1PA0ldViH0DA6pbml","Kawaii Aerisita":"vGQNBgLaiM3EdZtxIiuY",Morioki:"8EkOjt4xTPGMclNlh1pk"},P=["Myriam","Beatrice","Camilla_KM","Sally Sunshine","Annie","Kawaii Aerisita"],b=["Morioki"],f={en:P,"en-US":P,ja:b,"ja-JP":b},$=B("speech",()=>{const r=F(),c=s("settings/speech/active-provider",""),y=s("settings/speech/active-model","eleven_multilingual_v2"),t=s("settings/speech/voice-name",""),L=s("settings/speech/voice-id",""),i=s("settings/speech/pitch",0),o=s("settings/speech/rate",1),l=s("settings/speech/ssml-enabled",!1),u=d(!1),v=d(null),h=d({}),m=s("settings/speech/language","en-US"),V=n(()=>r.availableProviders.filter(e=>g(e)).map(e=>r.getProviderMetadata(e))),k=n(()=>["elevenlabs","microsoft","google"].includes(c.value)),A=n(()=>Object.keys(f)),w=n(()=>{const e=m.value;return!e||!f[e]?[]:f[e].map(a=>({id:N[a],name:a,provider:"elevenlabs",language:e}))});function g(e){return["elevenlabs","microsoft","google","amazon"].includes(e)}function j(){t.value="",i.value=0,o.value=1,l.value=!1}async function S(e){var a,M;if(!e||!g(e))return[];u.value=!0,v.value=null;try{return await((M=(a=r.getProviderMetadata(e).capabilities).listVoices)==null?void 0:M.call(a,r.getProviderConfig(e)))||[]}catch(p){return console.error(`Error fetching voices for ${e}:`,p),v.value=p instanceof Error?p.message:"Unknown error",[]}finally{u.value=!1}}function C(e){return h.value[e]||[]}E(c,async e=>{e&&await S(e)});function K(e){if(!l.value)return e;let a="";return t.value&&(a+=``),(i.value!==0||o.value!==1)&&(a+=``),a+=e,(i.value!==0||o.value!==1)&&(a+=""),t.value&&(a+=""),a+="",a}return{activeSpeechProvider:c,activeSpeechModel:y,voiceName:t,voiceId:L,pitch:i,rate:o,ssmlEnabled:l,selectedLanguage:m,isLoadingSpeechProviderVoices:u,speechProviderError:v,availableVoices:h,availableSpeechProvidersMetadata:V,supportsSSML:k,availableLanguages:A,availableVoicesForLanguage:w,resetVoiceSettings:j,loadVoicesForProvider:S,getVoicesForProvider:C,generateSSML:K,isSpeechProvider:g}});export{$ as u,N as v}; diff --git a/assets/stage-CEwTgysc.js b/assets/stage-CLzqLTqV.js similarity index 84% rename from assets/stage-CEwTgysc.js rename to assets/stage-CLzqLTqV.js index f7abc2d1c4cc40ec7815bcb49e400f7a5b6a5fcc..fab2caa34515d7333e924bf8cc21dba045126f1a 100644 --- a/assets/stage-CEwTgysc.js +++ b/assets/stage-CLzqLTqV.js @@ -1 +1 @@ -import{d as p,u as s,c,b as d,r as i,n as m,e,o as l}from"./index-DCtIztPb.js";const x=p({__name:"stage",setup(u){const{top:t,right:o,bottom:a,left:n}=s();return(f,_)=>{const r=i("RouterView");return l(),c("main",{text:"gray-700 dark:gray-200","h-full":"","font-cuteen":"",style:m({paddingTop:`${e(t)}px`,paddingRight:`${e(o)}px`,paddingBottom:`${e(a)}px`,paddingLeft:`${e(n)}px`})},[d(r)],4)}}});export{x as default}; +import{d as p,u as s,c,b as d,r as i,n as m,e,o as l}from"./index-CGdx-Gsw.js";const x=p({__name:"stage",setup(u){const{top:t,right:o,bottom:a,left:n}=s();return(f,_)=>{const r=i("RouterView");return l(),c("main",{text:"gray-700 dark:gray-200","h-full":"","font-cuteen":"",style:m({paddingTop:`${e(t)}px`,paddingRight:`${e(o)}px`,paddingBottom:`${e(a)}px`,paddingLeft:`${e(n)}px`})},[d(r)],4)}}});export{x as default}; diff --git a/assets/together-ai-WlPDiAFs.js b/assets/together-ai-WlPDiAFs.js new file mode 100644 index 0000000000000000000000000000000000000000..7959a6ced1573664da522a07bd9606b5864d7d78 --- /dev/null +++ b/assets/together-ai-WlPDiAFs.js @@ -0,0 +1 @@ +import"./Stage.vue_vue_type_style_index_0_scoped_cad77b27_lang-BvkGrZE5.js";import{d as g,s as h,x as U,h as p,p as V,w as k,j as y,o as $,k as d,b as i,e as l}from"./index-CGdx-Gsw.js";import{u as x}from"./providers-ztBzqPgb.js";import{_ as K,a as z}from"./ProviderBaseUrlInput.vue_vue_type_script_setup_true_lang-Rq7sGR-H.js";import{_ as w,a as B,b as C,c as M}from"./ProviderSettingsLayout.vue_vue_type_script_setup_true_lang-Cz54lBh2.js";import"./Collapsable.vue_vue_type_script_setup_true_lang-t6VABIns.js";import"./TransitionVertical.vue_vue_type_script_setup_true_lang-DIGllfwe.js";const a="together-ai",O=g({__name:"together-ai",setup(N){const f=h(),v=x(),{providers:o}=U(v),u=p(()=>v.getProviderMetadata(a)),r=p({get:()=>{var e;return((e=o.value[a])==null?void 0:e.apiKey)||""},set:e=>{o.value[a]||(o.value[a]={}),o.value[a].apiKey=e}}),s=p({get:()=>{var e;return((e=o.value[a])==null?void 0:e.baseUrl)||""},set:e=>{o.value[a]||(o.value[a]={}),o.value[a].baseUrl=e}});V(()=>{var e,t;v.initializeProvider(a),r.value=((e=o.value[a])==null?void 0:e.apiKey)||"",s.value=((t=o.value[a])==null?void 0:t.baseUrl)||""}),k([r,s],()=>{o.value[a]={...o.value[a],apiKey:r.value,baseUrl:s.value||""}});function _(){var e;o.value[a]={...(e=u.value)==null?void 0:e.defaultOptions}}return(e,t)=>{var c,m;return $(),y(l(M),{"provider-name":(c=u.value)==null?void 0:c.localizedName,"provider-icon-color":(m=u.value)==null?void 0:m.iconColor,"on-back":()=>l(f).back()},{default:d(()=>[i(l(w),null,{default:d(()=>[i(l(B),{title:"Basic",description:"Essential settings","on-reset":_},{default:d(()=>{var n;return[i(l(C),{modelValue:r.value,"onUpdate:modelValue":t[0]||(t[0]=b=>r.value=b),"provider-name":(n=u.value)==null?void 0:n.localizedName,placeholder:"togetherapi-..."},null,8,["modelValue","provider-name"])]}),_:1}),i(l(K),{title:"Advanced"},{default:d(()=>[i(l(z),{modelValue:s.value,"onUpdate:modelValue":t[1]||(t[1]=n=>s.value=n),placeholder:"https://api.together.xyz/v1/"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1},8,["provider-name","provider-icon-color","on-back"])}}});export{O as default}; diff --git a/assets/v2-C1BS9DMI.js b/assets/v2-C1BS9DMI.js new file mode 100644 index 0000000000000000000000000000000000000000..e6924c11c0e75e924637dacc726ee92d644fdfe8 --- /dev/null +++ b/assets/v2-C1BS9DMI.js @@ -0,0 +1 @@ +import"./Stage.vue_vue_type_style_index_0_scoped_cad77b27_lang-BvkGrZE5.js";import{_ as a,M as i,W as r,I as m,a as s}from"./MobileInteractiveArea.vue_vue_type_script_setup_true_lang-BLy5yAnV.js";import{d,c,o as l,a as o,b as e,e as n}from"./index-CGdx-Gsw.js";import{b as t}from"./route-block-B_A1xBdJ.js";import"./index-DR07td9u.js";import"./providers-ztBzqPgb.js";import"./queue-6CGaUIQf.js";import"./queues-DxSAefs-.js";import"./speech-Bm3HIPgP.js";import"./Live2DSettings.vue_vue_type_script_setup_true_lang-ConbZwCE.js";import"./Collapsable.vue_vue_type_script_setup_true_lang-t6VABIns.js";import"./TransitionVertical.vue_vue_type_script_setup_true_lang-DIGllfwe.js";import"./HeaderLink-C4uzPeCq.js";import"./consciousness-DlNDB_GZ.js";import"./index-DeVJLqDu.js";const p={relative:"",flex:"~ col","z-2":"","h-100vh":"","w-100vw":"","of-hidden":""},f={relative:"",flex:"~ 1 row gap-y-0 gap-x-2 (l(),c("div",null,[o("div",p,[o("div",null,[e(a,{class:"flex (l(),c("div",null,[o("div",p,[o("div",null,[e(a,{class:"flex v.getProviderMetadata(a)),s=p({get:()=>{var e;return((e=o.value[a])==null?void 0:e.apiKey)||""},set:e=>{o.value[a]||(o.value[a]={}),o.value[a].apiKey=e}}),r=p({get:()=>{var e;return((e=o.value[a])==null?void 0:e.baseUrl)||""},set:e=>{o.value[a]||(o.value[a]={}),o.value[a].baseUrl=e}});k(()=>{var e,l;v.initializeProvider(a),s.value=((e=o.value[a])==null?void 0:e.apiKey)||"",r.value=((l=o.value[a])==null?void 0:l.baseUrl)||""}),$([s,r],()=>{o.value[a]={...o.value[a],apiKey:s.value,baseUrl:r.value||""}});function _(){var e;o.value[a]={...(e=u.value)==null?void 0:e.defaultOptions}}return(e,l)=>{var m,c;return y(),g(t(N),{"provider-name":(m=u.value)==null?void 0:m.localizedName,"provider-icon":(c=u.value)==null?void 0:c.icon,"on-back":()=>t(f).back()},{default:d(()=>[i(t(z),null,{default:d(()=>[i(t(B),{title:"Basic",description:"Essential settings","on-reset":_},{default:d(()=>{var n;return[i(t(M),{modelValue:s.value,"onUpdate:modelValue":l[0]||(l[0]=b=>s.value=b),"provider-name":(n=u.value)==null?void 0:n.localizedName,placeholder:"xai-..."},null,8,["modelValue","provider-name"])]}),_:1}),i(t(h),{title:"Advanced"},{default:d(()=>[i(t(w),{modelValue:r.value,"onUpdate:modelValue":l[1]||(l[1]=n=>r.value=n),placeholder:"https://api.x.ai/v1/"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1},8,["provider-name","provider-icon","on-back"])}}});export{O as default}; diff --git a/index.html b/index.html index 89a20073c1fae5a2f9bbabac8e4e1e26caba2493..dc3ee0c450d7f333a7099ad8d487f1c9bd08687c 100644 --- a/index.html +++ b/index.html @@ -23,8 +23,8 @@ src="/remote-assets/page-external-data/js/script.js" > - - + +