diff --git a/assets/ArcadeView.2528a0f9.js b/assets/ArcadeView.2528a0f9.js new file mode 100644 index 0000000..15169d3 --- /dev/null +++ b/assets/ArcadeView.2528a0f9.js @@ -0,0 +1,5 @@ +import{J as C,z as m,o as t,c as b,b as e,F as f,r as x,t as i,g as s,a as c,w as u,l as N,d as o,p as S,a6 as P,R as g,a7 as T,h as d,a8 as B,a9 as E,n as I,_ as D,e as L,f as v,i as M,a4 as $}from"./index.a3e3dc89.js";import{C as O}from"./CardBoxComponentEmpty.5937e322.js";const V=e("thead",null,[e("tr",null,[e("th",null,"Name"),e("th",null,"PCBID"),e("th",null,"Cabinet?"),e("th",null,"Updates?")])],-1),j={"data-label":"Name"},z={"data-label":"PCBID"},F={"data-label":"Cabinet?"},G={"data-label":"Updates?"},J={class:"p-3 lg:px-6 border-t border-gray-100 dark:border-slate-800"},H={__name:"TableMachine",props:{machines:{type:Object,required:!0}},setup(p){const r=p,n=C(5),a=C(0),k=m(()=>r.machines.slice(n.value*a.value,n.value*(a.value+1))),y=m(()=>Math.ceil(r.machines.length/n.value)),w=m(()=>a.value+1),A=m(()=>{const h=[];for(let _=0;_(t(),b(f,null,[e("table",null,[V,e("tbody",null,[(t(!0),b(f,null,x(s(k),l=>(t(),b("tr",{key:l.id},[e("td",j,i(l.name),1),e("td",z,i(l.pcbid),1),e("td",F,i(l.cabinet?"Yes":"No"),1),e("td",G,i(l.ota?"Yes":"No"),1)]))),128))])]),e("div",J,[c(P,null,{default:u(()=>[c(N,null,{default:u(()=>[(t(!0),b(f,null,x(s(A),l=>(t(),o(S,{key:l,active:l===a.value,label:l+1,color:l===a.value?"lightDark":"whiteDark",small:"",onClick:K=>a.value=l},null,8,["active","label","color","onClick"]))),128))]),_:1}),e("small",null,"Page "+i(s(w))+" of "+i(s(y)),1)]),_:1})])],64))}},R={class:"space-y-3 text-center"},U={class:"text-2xl lg:text-3xl"},Y={class:"flex flex-wrap gap-4 place-content-center"},q={__name:"ArcadeCard",setup(p){function r(a){if(a!==null)return` + background-image: url('${a}'); + background-size: cover; + background-repeat: no-repeat; + `}const n={id:0,name:"Test Arcade",beta:!0,public:!0,cover:"https://nianticlabs.com/img/posts/smb-spotlight-boss-battle-games.jpg"};return(a,k)=>(t(),o(D,{style:I(r(n.cover))},{default:u(()=>[c(P,{type:"justify-center",class:"bg-white dark:bg-slate-900/90 rounded-2xl p-3"},{default:u(()=>[e("div",R,[e("h1",U,i(n.name),1),e("div",Y,[n.beta?(t(),o(g,{key:0,label:"Beta Enabled",color:"warning",icon:s(T)},null,8,["icon"])):d("",!0),n.public?(t(),o(g,{key:1,label:"Public Arcade",color:"success",icon:s(B)},null,8,["icon"])):d("",!0),n.public?d("",!0):(t(),o(g,{key:2,label:"Private Arcade",color:"info",icon:s(E)},null,8,["icon"]))])])]),_:1})]),_:1},8,["style"]))}},X={__name:"ArcadeView",setup(p){const r=[{id:0,pcbid:"1A2B3C4D0000",name:"Test PCBID",ota:!1,cabinet:!1},{id:1,pcbid:"1E2R3G3F4JJ0",name:"Other PCBID",ota:!0,cabinet:!0}];return(n,a)=>(t(),o(L,null,{default:u(()=>[c(M,null,{default:u(()=>[c(v,{icon:s(B),title:"Manage Arcade",main:""},null,8,["icon"]),c(q,{class:"mb-6"}),c(v,{icon:s($),title:"Machines"},null,8,["icon"]),c(D,{class:"mb-6","has-table":""},{default:u(()=>[r.length?(t(),o(H,{key:0,machines:r})):d("",!0),r.length?d("",!0):(t(),o(O,{key:1}))]),_:1}),c(v,{icon:s($),title:"Game Settings"},null,8,["icon"])]),_:1})]),_:1}))}};export{X as default}; diff --git a/assets/CardBoxComponentEmpty.5937e322.js b/assets/CardBoxComponentEmpty.5937e322.js new file mode 100644 index 0000000..7c01922 --- /dev/null +++ b/assets/CardBoxComponentEmpty.5937e322.js @@ -0,0 +1 @@ +import{j as e,o as t,c as o,b as s}from"./index.a3e3dc89.js";const c={},n={class:"text-center py-14 text-gray-500 dark:text-slate-400"},r=s("p",null,"Nothing's here\u2026",-1),a=[r];function _(d,i){return t(),o("div",n,a)}const l=e(c,[["render",_]]);export{l as C}; diff --git a/assets/CardBoxComponentEmpty.d2a35044.js b/assets/CardBoxComponentEmpty.d2a35044.js deleted file mode 100644 index 85aa465..0000000 --- a/assets/CardBoxComponentEmpty.d2a35044.js +++ /dev/null @@ -1 +0,0 @@ -import{f as y,E as b,G as $,r as v,H as B,o as l,g as C,h as i,a as n,b as u,c as r,I as S,j as _,J as h,k as c,l as f,K as x,m as N,L as V,t as D,d as g,M as k,y as E,_ as L,N as q,O as z,P as M}from"./index.5987daaf.js";const O={class:"flex flex-col md:flex-row items-center"},j={class:"text-center md:text-left md:py-2"},Q={__name:"NotificationBar",props:{icon:{type:String,default:null},outline:Boolean,color:{type:String,required:!0}},setup(e){const s=e,d=y(()=>s.outline?b[s.color]:$[s.color]),o=v(!1),m=()=>{o.value=!0},p=B(),a=y(()=>p.right);return(t,w)=>o.value?_("",!0):(l(),C("div",{key:0,class:V([c(d),"px-3 py-6 md:py-3 mb-6 last:mb-0 border rounded-lg transition-colors duration-150"])},[i(N,null,{default:n(()=>[u("div",O,[e.icon?(l(),r(S,{key:0,path:e.icon,w:"w-10 md:w-5",h:"h-10 md:h-5",size:"24",class:"md:mr-2"},null,8,["path"])):_("",!0),u("span",j,[h(t.$slots,"default")])]),c(a)?h(t.$slots,"right",{key:0}):(l(),r(f,{key:1,icon:c(x),small:"","rounded-full":"",color:"white",onClick:m},null,8,["icon"]))]),_:3})],2))}},G={class:"flex items-center justify-between mb-3"},H={class:"text-2xl"},I={__name:"CardBoxComponentTitle",props:{title:{type:String,required:!0}},setup(e){return(s,d)=>(l(),C("div",G,[u("h1",H,D(e.title),1),h(s.$slots,"default")]))}},J={class:"space-y-3"},U={__name:"CardBoxModal",props:{title:{type:String,required:!0},button:{type:String,default:"info"},buttonLabel:{type:String,default:"Done"},hasCancel:Boolean,modelValue:{type:[String,Number,Boolean],default:null}},emits:["update:modelValue","cancel","confirm"],setup(e,{emit:s}){const d=e,o=y({get:()=>d.modelValue,set:t=>s("update:modelValue",t)}),m=t=>{o.value=!1,s(t)},p=()=>m("confirm"),a=()=>m("cancel");return window.addEventListener("keydown",t=>{t.key==="Escape"&&o.value&&a()}),(t,w)=>g((l(),r(z,{onOverlayClick:a},{default:n(()=>[g(i(E,{class:"shadow-lg max-h-modal w-11/12 md:w-3/5 lg:w-2/5 xl:w-4/12 z-50","is-modal":""},{footer:n(()=>[i(L,null,{default:n(()=>[i(f,{label:e.buttonLabel,color:e.button,onClick:p},null,8,["label","color"]),e.hasCancel?(l(),r(f,{key:0,label:"Cancel",color:e.button,outline:"",onClick:a},null,8,["color"])):_("",!0)]),_:1})]),default:n(()=>[i(I,{title:e.title},{default:n(()=>[e.hasCancel?(l(),r(f,{key:0,icon:c(x),color:"whiteDark",small:"","rounded-full":"",onClick:q(a,["prevent"])},null,8,["icon","onClick"])):_("",!0)]),_:1},8,["title"]),u("div",J,[h(t.$slots,"default")])]),_:3},512),[[k,c(o)]])]),_:3},512)),[[k,c(o)]])}},K={},P={class:"text-center py-24 text-gray-500 dark:text-slate-400"},R=u("p",null,"Nothing's here\u2026",-1),T=[R];function A(e,s){return l(),C("div",P,T)}const W=M(K,[["render",A]]);export{W as C,U as _,Q as a,I as b}; diff --git a/assets/CustomizeView.46b0ced4.js b/assets/CustomizeView.46b0ced4.js new file mode 100644 index 0000000..9261643 --- /dev/null +++ b/assets/CustomizeView.46b0ced4.js @@ -0,0 +1 @@ +import{d as t,w as e,e as i,o as r,a,P as n,f as c,g as _,b as s,_ as d,p as o,i as m,W as u}from"./index.a3e3dc89.js";import{_ as l}from"./FormControl.f773f283.js";const f={class:"grid grid-cols-3 gap-6"},g=s("h2",{class:"text-lg mb-2"},"Avatar Source",-1),p=s("h2",{class:"text-lg mb-2"},"Avatar Border",-1),v=s("h2",{class:"text-lg mb-2"},"Profile Background",-1),b={class:"space-x-2"},P={__name:"CustomizeView",setup(h){return(x,$)=>(r(),t(i,null,{default:e(()=>[a(m,null,{default:e(()=>[a(n,{class:"mb-6","use-small":""}),a(c,{icon:_(u),title:"Profile Customizations",main:""},null,8,["icon"]),s("div",null,[a(d,null,{footer:e(()=>[s("div",b,[a(o,{type:"submit",color:"success",label:"Save"}),a(o,{type:"submit",color:"danger",label:"Revert"})])]),default:e(()=>[s("div",f,[s("div",null,[g,a(l,{options:["Discord","Gravatar","Kamaitachi"],"model-value":"Gravatar",name:"border"})]),s("div",null,[p,a(l,{options:["Trans Flag","Pride Flag"],"model-value":"Trans Flag",name:"border"})]),s("div",null,[v,a(l,{options:["Trans Flag","Pride Flag"],"model-value":"Trans Flag",name:"border"})])])]),_:1})])]),_:1})]),_:1}))}};export{P as default}; diff --git a/assets/ErrorView.549f86d4.js b/assets/ErrorView.549f86d4.js deleted file mode 100644 index df46bcc..0000000 --- a/assets/ErrorView.549f86d4.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as o,a as r}from"./LayoutGuest.57c1be46.js";import{c as _,a,o as l,h as s,y as t,L as n,_ as d,l as i,b as e}from"./index.5987daaf.js";const f=e("div",{class:"space-y-3"},[e("h1",{class:"text-2xl"},"Unhandled exception"),e("p",null,"An Error Occurred")],-1),$={__name:"ErrorView",setup(m){return(u,p)=>(l(),_(o,null,{default:a(()=>[s(r,{bg:"pinkRed"},{default:a(({cardClass:c})=>[s(t,{class:n(c)},{footer:a(()=>[s(d,null,{default:a(()=>[s(i,{label:"Done",to:"/dashboard",color:"danger"})]),_:1})]),default:a(()=>[f]),_:2},1032,["class"])]),_:1})]),_:1}))}};export{$ as default}; diff --git a/assets/FormCheckRadio.1a632d14.js b/assets/FormCheckRadio.1a632d14.js new file mode 100644 index 0000000..85a6d6c --- /dev/null +++ b/assets/FormCheckRadio.1a632d14.js @@ -0,0 +1 @@ +import{z as s,o as d,c as p,A as m,B as y,g as u,b as a,C as b,t as h,D as V}from"./index.a3e3dc89.js";const g=["type","name","value"],f=a("span",{class:"check"},null,-1),k={class:"pl-2"},B={__name:"FormCheckRadio",props:{name:{type:String,required:!0},type:{type:String,default:"checkbox",validator:e=>["checkbox","radio","switch"].includes(e)},label:{type:String,default:null},modelValue:{type:[Array,String,Number,Boolean],default:null},inputValue:{type:[String,Number,Boolean],required:!0}},emits:["update:modelValue"],setup(e,{emit:i}){const l=e,t=s({get:()=>l.modelValue,set:n=>{i("update:modelValue",n)}}),r=s(()=>l.type==="radio"?"radio":"checkbox");return(n,o)=>(d(),p("label",{class:V(e.type)},[m(a("input",{"onUpdate:modelValue":o[0]||(o[0]=c=>b(t)?t.value=c:null),type:u(r),name:e.name,value:e.inputValue},null,8,g),[[y,u(t)]]),f,a("span",k,h(e.label),1)],2))}};export{B as _}; diff --git a/assets/FormCheckRadio.814cba01.js b/assets/FormCheckRadio.814cba01.js deleted file mode 100644 index 8936621..0000000 --- a/assets/FormCheckRadio.814cba01.js +++ /dev/null @@ -1 +0,0 @@ -import{f as s,o as d,g as p,d as m,a2 as y,k as u,b as t,Y as b,t as h,L as V}from"./index.5987daaf.js";const f=["type","name","value"],g=t("span",{class:"check"},null,-1),k={class:"pl-2"},S={__name:"FormCheckRadio",props:{name:{type:String,required:!0},type:{type:String,default:"checkbox",validator:e=>["checkbox","radio","switch"].includes(e)},label:{type:String,default:null},modelValue:{type:[Array,String,Number,Boolean],default:null},inputValue:{type:[String,Number,Boolean],required:!0}},emits:["update:modelValue"],setup(e,{emit:i}){const l=e,a=s({get:()=>l.modelValue,set:n=>{i("update:modelValue",n)}}),r=s(()=>l.type==="radio"?"radio":"checkbox");return(n,o)=>(d(),p("label",{class:V(e.type)},[m(t("input",{"onUpdate:modelValue":o[0]||(o[0]=c=>b(a)?a.value=c:null),type:u(r),name:e.name,value:e.inputValue},null,8,f),[[y,u(a)]]),g,t("span",k,h(e.label),1)],2))}};export{S as _}; diff --git a/assets/FormCheckRadioGroup.f2c1e4de.js b/assets/FormCheckRadioGroup.f2c1e4de.js deleted file mode 100644 index 1bbff90..0000000 --- a/assets/FormCheckRadioGroup.f2c1e4de.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as d}from"./FormCheckRadio.814cba01.js";import{f as p,o as a,g as u,F as f,i as y,L as s,c as b,k as V,Y as g}from"./index.5987daaf.js";const C={__name:"FormCheckRadioGroup",props:{options:{type:Object,default:()=>{}},name:{type:String,required:!0},type:{type:String,default:"checkbox",validator:e=>["checkbox","radio","switch"].includes(e)},componentClass:{type:String,default:null},isColumn:Boolean,modelValue:{type:[Array,String,Number,Boolean],default:null}},emits:["update:modelValue"],setup(e,{emit:m}){const r=e,l=p({get:()=>r.modelValue,set:t=>{m("update:modelValue",t)}});return(t,o)=>(a(),u("div",{class:s(["flex justify-start flex-wrap -mb-3",{"flex-col":e.isColumn}])},[(a(!0),u(f,null,y(e.options,(i,n)=>(a(),b(d,{key:n,modelValue:V(l),"onUpdate:modelValue":o[0]||(o[0]=c=>g(l)?l.value=c:null),type:e.type,name:e.name,"input-value":n,label:i,class:s([e.componentClass,"mr-6 mb-3 last:mr-0"])},null,8,["modelValue","type","name","input-value","label","class"]))),128))],2))}};export{C as _}; diff --git a/assets/FormControl.4e2a271e.js b/assets/FormControl.4e2a271e.js deleted file mode 100644 index da34483..0000000 --- a/assets/FormControl.4e2a271e.js +++ /dev/null @@ -1 +0,0 @@ -import{o as r,c as w,I as E,f as m,u as V,r as p,Z as F,$ as R,g as s,k as a,d as g,a0 as q,Y as h,L as v,F as C,i as M,a1 as D,a2 as L,j as U,t as I}from"./index.5987daaf.js";const K={__name:"FormControlIcon",props:{icon:{type:String,default:null},h:{type:String,default:null}},setup(e){return(d,n)=>(r(),w(E,{path:e.icon,w:"w-10",h:e.h,class:"absolute top-0 left-0 z-10 pointer-events-none text-gray-500 dark:text-slate-400"},null,8,["path","h"]))}},$={class:"relative"},j=["id","name"],z=["value"],A=["id","name","maxlength","placeholder","required"],H=["id","name","maxlength","inputmode","autocomplete","required","placeholder","type"],T={__name:"FormControl",props:{name:{type:String,default:null},id:{type:String,default:null},autocomplete:{type:String,default:null},maxlength:{type:String,default:null},placeholder:{type:String,default:null},inputmode:{type:String,default:null},icon:{type:String,default:null},options:{type:Array,default:null},type:{type:String,default:"text"},modelValue:{type:[String,Number,Boolean,Array,Object],default:""},required:Boolean,borderless:Boolean,transparent:Boolean,ctrlKFocus:Boolean},emits:["update:modelValue","setRef"],setup(e,{emit:d}){const n=e,o=m({get:()=>n.modelValue,set:u=>{d("update:modelValue",u)}}),f=m(()=>{const u=["px-3 py-2 max-w-full focus:ring focus:outline-none border-gray-700 rounded w-full","dark:placeholder-gray-400",i.value==="textarea"?"h-24":"h-12",n.borderless?"border-0":"border",n.transparent?"bg-transparent":"bg-white dark:bg-slate-800"];return n.icon&&u.push("pl-10"),u}),i=m(()=>n.options?"select":n.type),B=m(()=>n.type==="textarea"?"h-full":"h-12"),y=V(),x=p(null),k=p(null),c=p(null);if(F(()=>{x.value?d("setRef",x.value):k.value?d("setRef",k.value):d("setRef",c.value)}),n.ctrlKFocus){const u=t=>{t.ctrlKey&&t.key==="k"?(t.preventDefault(),c.value.focus()):t.key==="Escape"&&c.value.blur()};F(()=>{y.isFieldFocusRegistered||(window.addEventListener("keydown",u),y.isFieldFocusRegistered=!0)}),R(()=>{window.removeEventListener("keydown",u),y.isFieldFocusRegistered=!1})}return(u,t)=>(r(),s("div",$,[a(i)==="select"?g((r(),s("select",{key:0,id:e.id,"onUpdate:modelValue":t[0]||(t[0]=l=>h(o)?o.value=l:null),name:e.name,class:v(a(f))},[(r(!0),s(C,null,M(e.options,l=>{var S,b;return r(),s("option",{key:(S=l.id)!=null?S:l,value:l},I((b=l.label)!=null?b:l),9,z)}),128))],10,j)),[[q,a(o)]]):a(i)==="textarea"?g((r(),s("textarea",{key:1,id:e.id,"onUpdate:modelValue":t[1]||(t[1]=l=>h(o)?o.value=l:null),class:v(a(f)),name:e.name,maxlength:e.maxlength,placeholder:e.placeholder,required:e.required},null,10,A)),[[D,a(o)]]):g((r(),s("input",{key:2,id:e.id,ref_key:"inputEl",ref:c,"onUpdate:modelValue":t[2]||(t[2]=l=>h(o)?o.value=l:null),name:e.name,maxlength:e.maxlength,inputmode:e.inputmode,autocomplete:e.autocomplete,required:e.required,placeholder:e.placeholder,type:a(i),class:v(a(f))},null,10,H)),[[L,a(o)]]),e.icon?(r(),w(K,{key:3,icon:e.icon,h:a(B)},null,8,["icon","h"])):U("",!0)]))}};export{T as _}; diff --git a/assets/FormControl.f773f283.js b/assets/FormControl.f773f283.js new file mode 100644 index 0000000..03a9bad --- /dev/null +++ b/assets/FormControl.f773f283.js @@ -0,0 +1 @@ +import{o as r,d as w,H as E,z as m,I as V,J as p,K as F,L as R,c as s,g as a,A as g,M as q,C as h,D as v,F as C,r as M,t as D,N as K,B as L,h as U}from"./index.a3e3dc89.js";const z={__name:"FormControlIcon",props:{icon:{type:String,default:null},h:{type:String,default:null}},setup(e){return(d,n)=>(r(),w(E,{path:e.icon,w:"w-10",h:e.h,class:"absolute top-0 left-0 z-10 pointer-events-none text-gray-500 dark:text-slate-400"},null,8,["path","h"]))}},A={class:"relative"},H=["id","name"],I=["value"],N=["id","name","maxlength","placeholder","required"],T=["id","name","maxlength","inputmode","autocomplete","required","placeholder","type"],j={__name:"FormControl",props:{name:{type:String,default:null},id:{type:String,default:null},autocomplete:{type:String,default:null},maxlength:{type:String,default:null},placeholder:{type:String,default:null},inputmode:{type:String,default:null},icon:{type:String,default:null},options:{type:Array,default:null},type:{type:String,default:"text"},modelValue:{type:[String,Number,Boolean,Array,Object],default:""},required:Boolean,borderless:Boolean,transparent:Boolean,ctrlKFocus:Boolean},emits:["update:modelValue","setRef"],setup(e,{emit:d}){const n=e,o=m({get:()=>n.modelValue,set:u=>{d("update:modelValue",u)}}),f=m(()=>{const u=["px-3 py-2 max-w-full focus:ring focus:outline-none border-gray-700 dark:border-gray-500 rounded w-full","dark:placeholder-gray-400",i.value==="textarea"?"h-24":"h-12",n.borderless?"border-0":"border",n.transparent?"bg-transparent":"bg-white dark:bg-slate-800"];return n.icon&&u.push("pl-10"),u}),i=m(()=>n.options?"select":n.type),B=m(()=>n.type==="textarea"?"h-full":"h-12"),y=V(),x=p(null),k=p(null),c=p(null);if(F(()=>{x.value?d("setRef",x.value):k.value?d("setRef",k.value):d("setRef",c.value)}),n.ctrlKFocus){const u=t=>{t.ctrlKey&&t.key==="k"?(t.preventDefault(),c.value.focus()):t.key==="Escape"&&c.value.blur()};F(()=>{y.isFieldFocusRegistered||(window.addEventListener("keydown",u),y.isFieldFocusRegistered=!0)}),R(()=>{window.removeEventListener("keydown",u),y.isFieldFocusRegistered=!1})}return(u,t)=>(r(),s("div",A,[a(i)==="select"?g((r(),s("select",{key:0,id:e.id,"onUpdate:modelValue":t[0]||(t[0]=l=>h(o)?o.value=l:null),name:e.name,class:v(a(f))},[(r(!0),s(C,null,M(e.options,l=>{var b,S;return r(),s("option",{key:(b=l.id)!=null?b:l,value:l},D((S=l.label)!=null?S:l),9,I)}),128))],10,H)),[[q,a(o)]]):a(i)==="textarea"?g((r(),s("textarea",{key:1,id:e.id,"onUpdate:modelValue":t[1]||(t[1]=l=>h(o)?o.value=l:null),class:v(a(f)),name:e.name,maxlength:e.maxlength,placeholder:e.placeholder,required:e.required},null,10,N)),[[K,a(o)]]):g((r(),s("input",{key:2,id:e.id,ref_key:"inputEl",ref:c,"onUpdate:modelValue":t[2]||(t[2]=l=>h(o)?o.value=l:null),name:e.name,maxlength:e.maxlength,inputmode:e.inputmode,autocomplete:e.autocomplete,required:e.required,placeholder:e.placeholder,type:a(i),class:v(a(f))},null,10,T)),[[L,a(o)]]),e.icon?(r(),w(z,{key:3,icon:e.icon,h:a(B)},null,8,["icon","h"])):U("",!0)]))}};export{j as _}; diff --git a/assets/FormField.1bef021a.js b/assets/FormField.8600c9db.js similarity index 61% rename from assets/FormField.1bef021a.js rename to assets/FormField.8600c9db.js index 65ef509..a35d7a2 100644 --- a/assets/FormField.1bef021a.js +++ b/assets/FormField.8600c9db.js @@ -1 +1 @@ -import{H as d,f as i,o as l,g as a,t as o,j as r,b as u,J as m,L as f,k as b}from"./index.5987daaf.js";const g={class:"mb-6 last:mb-0"},h=["for"],p={key:1,class:"text-xs text-gray-500 dark:text-slate-400 mt-1"},y={__name:"FormField",props:{label:{type:String,default:null},labelFor:{type:String,default:null},help:{type:String,default:null}},setup(e){const n=d(),c=i(()=>{const t=[],s=n.default().length;return s>1&&t.push("grid grid-cols-1 gap-3"),s===2&&t.push("md:grid-cols-2"),t});return(t,s)=>(l(),a("div",g,[e.label?(l(),a("label",{key:0,for:e.labelFor,class:"block font-bold mb-2"},o(e.label),9,h)):r("",!0),u("div",{class:f(b(c))},[m(t.$slots,"default")],2),e.help?(l(),a("div",p,o(e.help),1)):r("",!0)]))}};export{y as _}; +import{E as d,z as i,o as l,c as a,t as o,h as r,b as u,G as m,D as b,g as f}from"./index.a3e3dc89.js";const g={class:"mb-6 last:mb-0"},h=["for"],p={key:1,class:"text-xs text-gray-500 dark:text-slate-400 mt-1"},k={__name:"FormField",props:{label:{type:String,default:null},labelFor:{type:String,default:null},help:{type:String,default:null}},setup(e){const n=d(),c=i(()=>{const t=[],s=n.default().length;return s>1&&t.push("grid grid-cols-1 gap-3"),s===2&&t.push("md:grid-cols-2"),t});return(t,s)=>(l(),a("div",g,[e.label?(l(),a("label",{key:0,for:e.labelFor,class:"block font-bold mb-2"},o(e.label),9,h)):r("",!0),u("div",{class:b(f(c))},[m(t.$slots,"default")],2),e.help?(l(),a("div",p,o(e.help),1)):r("",!0)]))}};export{k as _}; diff --git a/assets/FormsView.8d1dad33.js b/assets/FormsView.8d1dad33.js deleted file mode 100644 index 6c090c0..0000000 --- a/assets/FormsView.8d1dad33.js +++ /dev/null @@ -1 +0,0 @@ -import{S as N,r as w,f as $,w as j,o as x,g as k,b as p,h as e,L as z,k as d,l as _,t as C,j as O,J as T,G as D,T as U,c as G,a as l,x as M,y as g,N as B,_ as q,U as V,z as F,n as v,V as E,B as L,W as I,X as W}from"./index.5987daaf.js";import{_ as S}from"./FormCheckRadioGroup.f2c1e4de.js";import{_ as u}from"./FormField.1bef021a.js";import{_ as f}from"./FormControl.4e2a271e.js";import{_ as R}from"./SectionTitle.a5f395e4.js";import{_ as Y}from"./SectionTitleLineWithButton.73f27ca0.js";import"./FormCheckRadio.814cba01.js";const A={class:"flex items-stretch justify-start relative"},H={class:"inline-flex"},J=["accept"],P={key:0,class:"px-4 py-2 bg-gray-100 dark:bg-slate-800 border-gray-200 dark:border-slate-700 border rounded-r"},Q={class:"text-ellipsis line-clamp-1"},X={__name:"FormFilePicker",props:{modelValue:{type:[Object,File,Array],default:null},label:{type:String,default:null},icon:{type:String,default:N},accept:{type:String,default:null},color:{type:String,default:"info"},isRoundIcon:Boolean},emits:["update:modelValue"],setup(n,{emit:c}){const t=n,s=w(null),r=w(t.modelValue),h=$(()=>!t.isRoundIcon&&r.value),m=$(()=>t.modelValue);j(m,i=>{r.value=i,i||(s.value.input.value=null)});const b=i=>{const y=i.target.files||i.dataTransfer.files;r.value=y[0],c("update:modelValue",r.value)};return(i,y)=>(x(),k("div",A,[p("label",H,[e(_,{as:"a",class:z({"w-12 h-12":n.isRoundIcon,"rounded-r-none":d(h)}),"icon-size":n.isRoundIcon?24:void 0,label:n.isRoundIcon?null:n.label,icon:n.icon,color:n.color,"rounded-full":n.isRoundIcon},null,8,["class","icon-size","label","icon","color","rounded-full"]),p("input",{ref_key:"root",ref:s,type:"file",class:"absolute top-0 left-0 w-full h-full opacity-0 outline-none cursor-pointer -z-1",accept:n.accept,onInput:b},null,40,J)]),d(h)?(x(),k("div",P,[p("span",Q,C(r.value.name),1)])):O("",!0)]))}},K={class:"flex flex-col mb-6 -mt-6 -mr-6 -ml-6 animate-fade-in"},Z={__name:"NotificationBarInCard",props:{color:{type:String,required:!0}},setup(n){return(c,t)=>(x(),k("div",K,[p("div",{class:z([[d(D)[n.color]],"rounded-t-2xl flex flex-col p-6 transition-colors"])},[T(c.$slots,"default")],2)]))}},ee={class:"capitalize"},ue={__name:"FormsView",setup(n){const c=[{id:1,label:"Business development"},{id:2,label:"Marketing"},{id:3,label:"Sales"}],t=U({name:"John Doe",email:"john.doe@example.com",phone:"",department:c[0],subject:"",question:""}),s=U({checkbox:["lorem"],radio:"one",switch:["one"],file:null}),r=()=>{},h=w(!0),m=w(0),b=["info","success","danger","warning"],i=()=>{m.value=b[m.value+1]?m.value+1:0};return(y,o)=>(x(),G(M,null,{default:l(()=>[e(F,null,{default:l(()=>[e(Y,{icon:d(E),title:"Forms example",main:""},{default:l(()=>[e(_,{href:"https://github.com/justboil/admin-one-vue-tailwind",target:"_blank",icon:d(L),label:"Star on GitHub",color:"contrast","rounded-full":"",small:""},null,8,["icon"])]),_:1},8,["icon"]),e(g,{form:"",onSubmit:B(r,["prevent"])},{footer:l(()=>[e(q,null,{default:l(()=>[e(_,{type:"submit",color:"info",label:"Submit"}),e(_,{type:"reset",color:"info",outline:"",label:"Reset"})]),_:1})]),default:l(()=>[e(u,{label:"Grouped with icons"},{default:l(()=>[e(f,{modelValue:t.name,"onUpdate:modelValue":o[0]||(o[0]=a=>t.name=a),icon:d(I)},null,8,["modelValue","icon"]),e(f,{modelValue:t.email,"onUpdate:modelValue":o[1]||(o[1]=a=>t.email=a),type:"email",icon:d(W)},null,8,["modelValue","icon"])]),_:1}),e(u,{label:"With help line",help:"Do not enter the leading zero"},{default:l(()=>[e(f,{modelValue:t.phone,"onUpdate:modelValue":o[2]||(o[2]=a=>t.phone=a),type:"tel",placeholder:"Your phone number"},null,8,["modelValue"])]),_:1}),e(u,{label:"Dropdown"},{default:l(()=>[e(f,{modelValue:t.department,"onUpdate:modelValue":o[3]||(o[3]=a=>t.department=a),options:c},null,8,["modelValue"])]),_:1}),e(V),e(u,{label:"Question",help:"Your question. Max 255 characters"},{default:l(()=>[e(f,{type:"textarea",placeholder:"Explain how we can help you"})]),_:1})]),_:1},8,["onSubmit"])]),_:1}),e(R,null,{default:l(()=>[v("Custom elements")]),_:1}),e(F,null,{default:l(()=>[e(g,null,{default:l(()=>[e(u,{label:"Checkbox"},{default:l(()=>[e(S,{modelValue:s.checkbox,"onUpdate:modelValue":o[4]||(o[4]=a=>s.checkbox=a),name:"sample-checkbox",options:{lorem:"Lorem",ipsum:"Ipsum",dolore:"Dolore"}},null,8,["modelValue"])]),_:1}),e(V),e(u,{label:"Radio"},{default:l(()=>[e(S,{modelValue:s.radio,"onUpdate:modelValue":o[5]||(o[5]=a=>s.radio=a),name:"sample-radio",type:"radio",options:{one:"One",two:"Two"}},null,8,["modelValue"])]),_:1}),e(V),e(u,{label:"Switch"},{default:l(()=>[e(S,{modelValue:s.switch,"onUpdate:modelValue":o[6]||(o[6]=a=>s.switch=a),name:"sample-switch",type:"switch",options:{one:"One",two:"Two"}},null,8,["modelValue"])]),_:1}),e(V),e(X,{modelValue:s.file,"onUpdate:modelValue":o[7]||(o[7]=a=>s.file=a),label:"Upload"},null,8,["modelValue"])]),_:1}),e(R,null,{default:l(()=>[v("Form with status example")]),_:1}),e(g,{class:"md:w-7/12 lg:w-5/12 xl:w-4/12 shadow-2xl md:mx-auto","is-form":"","is-hoverable":"",onSubmit:B(i,["prevent"])},{footer:l(()=>[e(_,{label:"Trigger",type:"submit",color:"info"})]),default:l(()=>[e(Z,{color:b[m.value],"is-placed-with-header":h.value},{default:l(()=>[p("span",null,[p("b",ee,C(b[m.value]),1),v(" state")])]),_:1},8,["color","is-placed-with-header"]),e(u,{label:"Fields"},{default:l(()=>[e(f,{modelValue:t.name,"onUpdate:modelValue":o[8]||(o[8]=a=>t.name=a),"icon-left":d(I),help:"Your full name",placeholder:"Name"},null,8,["modelValue","icon-left"])]),_:1})]),_:1},8,["onSubmit"])]),_:1})]),_:1}))}};export{ue as default}; diff --git a/assets/IntegrationView.5d51c91c.js b/assets/IntegrationView.5d51c91c.js new file mode 100644 index 0000000..d22bc95 --- /dev/null +++ b/assets/IntegrationView.5d51c91c.js @@ -0,0 +1 @@ +import{d as c,w as t,e as r,o as _,a as s,P as d,f as m,g as a,b as l,_ as i,p as e,R as o,i as u,X as n,Y as b,Z as f,$ as h,a0 as p}from"./index.a3e3dc89.js";const k={class:"grid grid-cols-1 md:grid-cols-2 gap-6"},g=l("h1",{class:"text-lg"},[n("Discord is linked to "),l("b",null,"@trmazi")],-1),x=l("h1",{class:"text-lg"},"Discord isn't linked!",-1),y={class:"space-x-2"},$=l("h1",{class:"text-lg"},[n("Kamaitachi is linked to "),l("b",null,"@trmazi")],-1),w=l("h1",{class:"text-lg"},"Kamaitachi isn't linked!",-1),N={class:"space-x-2"},v=l("h1",{class:"text-lg"},[n("Start.GG is linked to "),l("b",null,"@trmazi")],-1),G=l("h1",{class:"text-lg"},"Start.GG isn't linked!",-1),S={class:"space-x-2"},D={__name:"IntegrationView",setup(R){return(V,z)=>(_(),c(r,null,{default:t(()=>[s(u,null,{default:t(()=>[s(d,{class:"mb-6","use-small":""}),s(m,{icon:a(b),title:"Server Integrations",main:""},null,8,["icon"]),l("div",k,[s(i,null,{footer:t(()=>[l("div",y,[s(e,{type:"submit",color:"success",label:"Link Now"}),s(e,{type:"submit",color:"info",label:"Relink"}),s(e,{type:"submit",color:"danger",label:"Unlink"})])]),default:t(()=>[s(o,{color:"info",icon:a(f),label:"Discord",class:"mb-2"},null,8,["icon"]),g,x]),_:1}),s(i,null,{footer:t(()=>[l("div",N,[s(e,{type:"submit",color:"success",label:"Link Now"}),s(e,{type:"submit",color:"info",label:"Relink"}),s(e,{type:"submit",color:"danger",label:"Unlink"})])]),default:t(()=>[s(o,{icon:a(h),color:"info",label:"Kamaitachi",class:"mb-2"},null,8,["icon"]),$,w]),_:1}),s(i,null,{footer:t(()=>[l("div",S,[s(e,{type:"submit",color:"success",label:"Link Now"}),s(e,{type:"submit",color:"info",label:"Relink"}),s(e,{type:"submit",color:"danger",label:"Unlink"})])]),default:t(()=>[s(o,{icon:a(p),color:"info",label:"Start.GG",class:"mb-2"},null,8,["icon"]),v,G]),_:1})])]),_:1})]),_:1}))}};export{D as default}; diff --git a/assets/LayoutGuest.57c1be46.js b/assets/LayoutGuest.57c1be46.js deleted file mode 100644 index bb386e8..0000000 --- a/assets/LayoutGuest.57c1be46.js +++ /dev/null @@ -1 +0,0 @@ -import{f as i,a8 as t,ai as u,aj as p,ak as k,o as n,g as o,J as c,L as l,k as d,b as _}from"./index.5987daaf.js";const S={__name:"SectionFullScreen",props:{bg:{type:String,required:!0,validator:e=>["purplePink","pinkRed"].includes(e)}},setup(e){const s=e,a=i(()=>{if(t().darkMode)return u;switch(s.bg){case"purplePink":return k;case"pinkRed":return p}return""});return(r,m)=>(n(),o("div",{class:l(["flex min-h-screen items-center justify-center",d(a)])},[c(r.$slots,"default",{cardClass:"w-11/12 md:w-7/12 lg:w-6/12 xl:w-4/12 shadow-2xl"})],2))}},g={class:"bg-gray-50 dark:bg-slate-800 dark:text-slate-100"},h={__name:"LayoutGuest",setup(e){const s=t();return(a,r)=>(n(),o("div",{class:l({dark:d(s).darkMode})},[_("div",g,[c(a.$slots,"default")])],2))}};export{h as _,S as a}; diff --git a/assets/LayoutGuest.d4bdb44a.js b/assets/LayoutGuest.d4bdb44a.js new file mode 100644 index 0000000..3af9b3d --- /dev/null +++ b/assets/LayoutGuest.d4bdb44a.js @@ -0,0 +1 @@ +import{O as a,o as t,c as r,b as o,G as l,D as c,g as n}from"./index.a3e3dc89.js";const d={class:"bg-gray-50 dark:bg-slate-800 dark:text-slate-100"},k={__name:"LayoutGuest",setup(_){const e=a();return(s,u)=>(t(),r("div",{class:c({dark:n(e).darkMode})},[o("div",d,[l(s.$slots,"default")])],2))}};export{k as _}; diff --git a/assets/LoginView.cdf3947f.js b/assets/LoginView.cdf3947f.js new file mode 100644 index 0000000..5b794e5 --- /dev/null +++ b/assets/LoginView.cdf3947f.js @@ -0,0 +1 @@ +import{s as c,d as _,w as t,o as f,b as e,a as s,g as n,p as r,_ as p,v as h,u as x,x as b,y as w}from"./index.a3e3dc89.js";import{_ as g}from"./FormCheckRadio.1a632d14.js";import{_ as m}from"./FormField.8600c9db.js";import{_ as d}from"./FormControl.f773f283.js";import{_ as v}from"./LayoutGuest.d4bdb44a.js";const V={class:"flex md:min-h-screen md:items-center md:justify-center"},y={class:"p-4 flex flex-col md:flex-row w-full space-y-2 md:space-y-0 md:space-x-4"},$=e("div",{class:"flex flex-col items-center text-wrap h-full"},[e("img",{src:h,class:"rounded-full shadow-lg mb-2"}),e("h1",{class:"text-xl"},[e("samp",null,"PhaseII")]),e("p",{class:"text-sm text-gray-700 dark:text-white/75"}," Spinnin' since 2021 "),e("hr",{class:"border-t border-1 my-1 w-full"}),e("p",{class:"text-lg relative bottom-0"},"Please log in.")],-1),k=e("div",{class:"md:border-r md:border-1"},null,-1),P={class:"flex flex-col gap-2 mt-4"},U=e("hr",{class:"border-t border-1 my-4 w-full"},null,-1),R={class:"flex flex-col gap-2 my-4"},j=e("h2",null,"New Here?",-1),B=e("h2",null,"Forgot Password?",-1),M={__name:"LoginView",setup(I){const o=c({login:"john.doe",pass:"highly-secure-password-fYjUw-",remember:!0}),i=x(),u=()=>{i.push("/")};return(N,l)=>(f(),_(v,null,{default:t(()=>[e("div",V,[s(p,{class:"w-full md:w-auto rounded-none md:rounded-xl","has-table":"","is-auth":""},{default:t(()=>[e("div",y,[$,k,e("div",null,[s(m,{label:"Username"},{default:t(()=>[s(d,{modelValue:o.login,"onUpdate:modelValue":l[0]||(l[0]=a=>o.login=a),icon:n(b),name:"login",autocomplete:"username"},null,8,["modelValue","icon"])]),_:1}),s(m,{label:"Password"},{default:t(()=>[s(d,{modelValue:o.pass,"onUpdate:modelValue":l[1]||(l[1]=a=>o.pass=a),icon:n(w),type:"password",name:"password",autocomplete:"current-password"},null,8,["modelValue","icon"])]),_:1}),s(g,{modelValue:o.remember,"onUpdate:modelValue":l[2]||(l[2]=a=>o.remember=a),name:"remember",label:"Remember Me","input-value":!0},null,8,["modelValue"]),e("div",P,[s(r,{label:"Log In",color:"success",onClick:l[3]||(l[3]=a=>u())})]),U,e("div",R,[j,s(r,{label:"Register",color:"info",href:"/#/auth/register"}),B,s(r,{label:"Password Reset",color:"warning",href:"/#/auth/reset"})])])])]),_:1})])]),_:1}))}};export{M as default}; diff --git a/assets/LoginView.f5d3ba01.js b/assets/LoginView.f5d3ba01.js deleted file mode 100644 index cba0404..0000000 --- a/assets/LoginView.f5d3ba01.js +++ /dev/null @@ -1 +0,0 @@ -import{T as p,c as f,a,o as _,h as e,y as c,L as b,N as V,_ as g,l as r,k as n,ah as w,W as $,a6 as h}from"./index.5987daaf.js";import{_ as k,a as y}from"./LayoutGuest.57c1be46.js";import{_ as L}from"./FormCheckRadio.814cba01.js";import{_ as m}from"./FormField.1bef021a.js";import{_ as t}from"./FormControl.4e2a271e.js";const C={__name:"LoginView",setup(P){const o=p({login:"john.doe",pass:"highly-secure-password-fYjUw-",remember:!0}),i=w(),u=()=>{i.push("/dashboard")};return(U,s)=>(_(),f(k,null,{default:a(()=>[e(y,{bg:"purplePink"},{default:a(({cardClass:d})=>[e(c,{class:b(d),"is-form":"",onSubmit:V(u,["prevent"])},{footer:a(()=>[e(g,null,{default:a(()=>[e(r,{type:"submit",color:"info",label:"Login"}),e(r,{to:"/dashboard",color:"info",outline:"",label:"Back"})]),_:1})]),default:a(()=>[e(m,{label:"Login",help:"Please enter your login"},{default:a(()=>[e(t,{modelValue:o.login,"onUpdate:modelValue":s[0]||(s[0]=l=>o.login=l),icon:n($),name:"login",autocomplete:"username"},null,8,["modelValue","icon"])]),_:1}),e(m,{label:"Password",help:"Please enter your password"},{default:a(()=>[e(t,{modelValue:o.pass,"onUpdate:modelValue":s[1]||(s[1]=l=>o.pass=l),icon:n(h),type:"password",name:"password",autocomplete:"current-password"},null,8,["modelValue","icon"])]),_:1}),e(L,{modelValue:o.remember,"onUpdate:modelValue":s[2]||(s[2]=l=>o.remember=l),name:"remember",label:"Remember","input-value":!0},null,8,["modelValue"])]),_:2},1032,["class","onSubmit"])]),_:1})]),_:1}))}};export{C as default}; diff --git a/assets/NewsView.af98ac12.js b/assets/NewsView.af98ac12.js new file mode 100644 index 0000000..af03e8b --- /dev/null +++ b/assets/NewsView.af98ac12.js @@ -0,0 +1,6 @@ +import{u as m,o as a,c as p,a as o,w as l,b as r,t as _,n as f,_ as g,d as n,e as h,f as b,g as s,r as v,F as y,h as k,i as w,m as x}from"./index.a3e3dc89.js";import{C as N}from"./CardBoxComponentEmpty.5937e322.js";import{t as C}from"./news.b9c16f1f.js";const $={class:"outline outline-green-900/50 hover:outline hover:outline-blue-500/50 hover:bg-slate-500 hover:dark:bg-slate-950/90 bg-white dark:bg-slate-900/90 rounded-xl p-4 h-full w-full transition-all duration-50"},S=r("p",{class:"text-sm font-bold"},"Unread",-1),B={class:"text-sm"},V=r("hr",{class:"pb-1"},null,-1),q={class:"text-xl pb-2"},z={__name:"CardBoxNews",props:{title:{type:String,required:!0},content:{type:String,required:!0},cover:{type:String,default:null},date:{type:String,required:!0},id:{type:Number,required:!0}},setup(i){const e=i,c=m();function u(d){if(d!==null)return` + background-image: linear-gradient(to bottom, transparent, rgba(0, 0, 0, .6)), + url('${e.cover}'); + background-size: cover; + background-repeat: no-repeat; + `}function t(){c.push(`/news/${e.id}`)}return(d,E)=>(a(),p("button",{class:"text-left",onClick:t},[o(g,{class:"mb-2",style:f(u(e.cover)),"has-table":""},{default:l(()=>[r("div",$,[S,r("p",B,_(e.date),1),V,r("h2",q,_(e.title),1)])]),_:1},8,["style"])]))}},D={class:"grid gap-4 grid-cols-1 w-full"},U={__name:"NewsView",setup(i){const e=C;return(c,u)=>(a(),n(h,null,{default:l(()=>[o(w,null,{default:l(()=>[o(b,{icon:s(x),title:"Network News",main:""},null,8,["icon"]),r("div",D,[(a(!0),p(y,null,v(s(e),t=>(a(),n(z,{id:t.id,key:t.id,title:t.title,content:t.content,date:t.timestamp,cover:t.cover,class:"w-full h-full"},null,8,["id","title","content","date","cover"]))),128))]),!s(e)||!s(e).length?(a(),n(N,{key:0})):k("",!0)]),_:1})]),_:1}))}};export{U as default}; diff --git a/assets/PostView.298dd7fb.js b/assets/PostView.298dd7fb.js new file mode 100644 index 0000000..dfbc3cc --- /dev/null +++ b/assets/PostView.298dd7fb.js @@ -0,0 +1,2 @@ +import{d as h,w as e,e as p,k as x,o,a,T as w,_ as k,l as N,p as B,g as t,b as s,c as l,t as r,F as $,r as g,i as v,u as b,q as y}from"./index.a3e3dc89.js";import{t as D}from"./news.b9c16f1f.js";const V={class:"flex flex-col items-center"},C=["src"],F={class:"text-left md:text-center"},I={class:"text-2xl"},R=s("hr",{class:"pb-1 my-2"},null,-1),T=s("br",null,null,-1),q={key:1},z=s("h1",{class:"text-2xl"},"News not found...",-1),E=[z],G={__name:"PostView",setup(L){const _=x(),d=b(),u=parseInt(_.params.id),n=D.find(c=>c.id===u),f=n.content.split(` +`);function m(){d.push("/news")}return(c,S)=>(o(),h(p,null,{default:e(()=>[a(v,null,{default:e(()=>[a(w,null,{default:e(()=>[a(k,{"has-table":""},{footer:e(()=>[a(N,null,{default:e(()=>[a(B,{label:"News",color:"info",icon:t(y),"icon-size":"20",onClick:m},null,8,["icon"])]),_:1})]),default:e(()=>[s("div",V,[s("img",{src:t(n).cover,class:"rounded-t-2xl md:rounded-2xl md:w-1/2 md:m-4"},null,8,C)]),t(n)?(o(),l("div",{key:t(n).id,class:"flex flex-col items-center p-4"},[s("div",F,[s("h1",I,r(t(n).title),1),R,(o(!0),l($,null,g(t(f),i=>(o(),l("div",{key:i},[s("p",null,r(i),1),T]))),128))])])):(o(),l("div",q,E))]),_:1})]),_:1})]),_:1})]),_:1}))}};export{G as default}; diff --git a/assets/ProfileView.21ce573f.js b/assets/ProfileView.21ce573f.js new file mode 100644 index 0000000..168400a --- /dev/null +++ b/assets/ProfileView.21ce573f.js @@ -0,0 +1 @@ +import{I as U,s as f,d as S,w as s,e as v,o as $,a as e,P,f as q,g as t,_ as u,Q as p,R as c,b as w,p as _,S as N,i as A,x as b,U as R,y as V,V as g}from"./index.a3e3dc89.js";import{_ as n}from"./FormField.8600c9db.js";import{_ as m}from"./FormCheckRadio.1a632d14.js";import{_ as i}from"./FormControl.f773f283.js";const C={class:"grid gap-4 grid-cols-2 md:grid-cols-4"},k={class:"grid grid-cols-1 md:grid-cols-2 gap-6"},T={__name:"ProfileView",setup(B){const d=U(),l=f({name:d.userName,email:d.userEmail,pin:"****"}),r=f({password_current:"",password:"",password_confirmation:""}),x=()=>{d.setUser(l)},y=()=>{};return(E,a)=>($(),S(v,null,{default:s(()=>[e(A,null,{default:s(()=>[e(P,{class:"mb-6","use-small":""}),e(q,{icon:t(b),title:"Profile Settings",main:""},null,8,["icon"]),e(u,{"is-form":"",class:"mb-6",onSubmit:a[0]||(a[0]=p(()=>{},["prevent"]))},{default:s(()=>[e(c,{color:"info",label:"Discord Notifications",class:"mb-4"}),w("div",C,[e(m,{name:"scorecards","model-value":!0,type:"switch",label:"Goal Alerts",class:"outline outline-gray-400 rounded-xl outline-1 text-sm md:text-md p-2"}),e(m,{name:"scorecards","model-value":!0,type:"switch",label:"Tournament Status",class:"outline outline-gray-400 rounded-xl outline-1 text-sm md:text-md p-2"}),e(m,{name:"scorecards","model-value":!0,type:"switch",label:"PASELI Transactions",class:"outline outline-gray-400 rounded-xl outline-1 text-sm md:text-md p-2"}),e(m,{name:"scorecards","model-value":!0,type:"switch",label:"System Alerts",class:"outline outline-gray-400 rounded-xl outline-1 text-sm md:text-md p-2"})])]),_:1}),w("div",k,[e(u,{"is-form":"",class:"row-span-1",onSubmit:p(x,["prevent"])},{footer:s(()=>[e(_,{color:"success",type:"submit",label:"Update"})]),default:s(()=>[e(c,{color:"info",label:"General",class:"mb-2"}),e(n,{label:"Username"},{default:s(()=>[e(i,{modelValue:l.name,"onUpdate:modelValue":a[1]||(a[1]=o=>l.name=o),icon:t(b),name:"username",required:"",autocomplete:"username"},null,8,["modelValue","icon"])]),_:1}),e(n,{label:"E-mail",help:"Used for Gravatar and Password Resetting"},{default:s(()=>[e(i,{modelValue:l.email,"onUpdate:modelValue":a[2]||(a[2]=o=>l.email=o),icon:t(R),type:"email",name:"email",required:"",autocomplete:"email"},null,8,["modelValue","icon"])]),_:1}),e(n,{label:"PIN",help:"Used when logging into a game"},{default:s(()=>[e(i,{modelValue:l.pin,"onUpdate:modelValue":a[3]||(a[3]=o=>l.pin=o),icon:t(V),type:"password",name:"pin",required:"",autocomplete:"pin"},null,8,["modelValue","icon"])]),_:1})]),_:1},8,["onSubmit"]),e(u,{"is-form":"",class:"row-span-2",onSubmit:p(y,["prevent"])},{footer:s(()=>[e(_,{type:"submit",color:"success",label:"Update"})]),default:s(()=>[e(c,{color:"info",label:"Change Password",class:"mb-2"}),e(n,{label:"Current password",help:"Required. Your current password"},{default:s(()=>[e(i,{modelValue:r.password_current,"onUpdate:modelValue":a[4]||(a[4]=o=>r.password_current=o),icon:t(V),name:"password_current",type:"password",required:"",autocomplete:"current-password"},null,8,["modelValue","icon"])]),_:1}),e(N),e(n,{label:"New password",help:"Required. New password"},{default:s(()=>[e(i,{modelValue:r.password,"onUpdate:modelValue":a[5]||(a[5]=o=>r.password=o),icon:t(g),name:"password",type:"password",required:"",autocomplete:"new-password"},null,8,["modelValue","icon"])]),_:1}),e(n,{label:"Confirm password",help:"Required. New password one more time"},{default:s(()=>[e(i,{modelValue:r.password_confirmation,"onUpdate:modelValue":a[6]||(a[6]=o=>r.password_confirmation=o),icon:t(g),name:"password_confirmation",type:"password",required:"",autocomplete:"new-password"},null,8,["modelValue","icon"])]),_:1})]),_:1},8,["onSubmit"])])]),_:1})]),_:1}))}};export{T as default}; diff --git a/assets/ProfileView.b3fc8ac5.js b/assets/ProfileView.b3fc8ac5.js deleted file mode 100644 index a0dcc6b..0000000 --- a/assets/ProfileView.b3fc8ac5.js +++ /dev/null @@ -1 +0,0 @@ -import{u as g,T as d,c as $,a as o,x as q,o as y,h as e,a3 as N,k as r,a4 as P,b as S,y as u,N as p,l as c,a5 as f,U as x,z as v,W as w,X as k,a6 as _,a7 as b}from"./index.5987daaf.js";import{_ as i}from"./FormField.1bef021a.js";import{_ as t}from"./FormControl.4e2a271e.js";const C={class:"grid grid-cols-1 md:grid-cols-2 gap-6"},A={__name:"ProfileView",setup(R){const m=g(),l=d({name:m.userName,email:m.userEmail,pin:"****"}),n=d({password_current:"",password:"",password_confirmation:""}),V=()=>{m.setUser(l)},U=()=>{};return(B,a)=>(y(),$(q,null,{default:o(()=>[e(v,null,{default:o(()=>[e(N,{icon:r(w),title:"General Profile Settings",main:""},null,8,["icon"]),e(P,{class:"mb-6"}),S("div",C,[e(u,{"is-form":"",class:"row-span-1",onSubmit:p(V,["prevent"])},{footer:o(()=>[e(c,{color:"success",type:"submit",label:"Update"})]),default:o(()=>[e(f,{color:"info",label:"General",class:"mb-2"}),e(i,{label:"Username"},{default:o(()=>[e(t,{modelValue:l.name,"onUpdate:modelValue":a[0]||(a[0]=s=>l.name=s),icon:r(w),name:"username",required:"",autocomplete:"username"},null,8,["modelValue","icon"])]),_:1}),e(i,{label:"E-mail",help:"Used for Gravatar and Password Resetting"},{default:o(()=>[e(t,{modelValue:l.email,"onUpdate:modelValue":a[1]||(a[1]=s=>l.email=s),icon:r(k),type:"email",name:"email",required:"",autocomplete:"email"},null,8,["modelValue","icon"])]),_:1}),e(i,{label:"PIN",help:"Used when logging into a game"},{default:o(()=>[e(t,{modelValue:l.pin,"onUpdate:modelValue":a[2]||(a[2]=s=>l.pin=s),icon:r(_),type:"password",name:"pin",required:"",autocomplete:"pin"},null,8,["modelValue","icon"])]),_:1})]),_:1},8,["onSubmit"]),e(u,{"is-form":"",class:"row-span-2",onSubmit:p(U,["prevent"])},{footer:o(()=>[e(c,{type:"submit",color:"success",label:"Update"})]),default:o(()=>[e(f,{color:"info",label:"Change Password",class:"mb-2"}),e(i,{label:"Current password",help:"Required. Your current password"},{default:o(()=>[e(t,{modelValue:n.password_current,"onUpdate:modelValue":a[3]||(a[3]=s=>n.password_current=s),icon:r(_),name:"password_current",type:"password",required:"",autocomplete:"current-password"},null,8,["modelValue","icon"])]),_:1}),e(x),e(i,{label:"New password",help:"Required. New password"},{default:o(()=>[e(t,{modelValue:n.password,"onUpdate:modelValue":a[4]||(a[4]=s=>n.password=s),icon:r(b),name:"password",type:"password",required:"",autocomplete:"new-password"},null,8,["modelValue","icon"])]),_:1}),e(i,{label:"Confirm password",help:"Required. New password one more time"},{default:o(()=>[e(t,{modelValue:n.password_confirmation,"onUpdate:modelValue":a[5]||(a[5]=s=>n.password_confirmation=s),icon:r(b),name:"password_confirmation",type:"password",required:"",autocomplete:"new-password"},null,8,["modelValue","icon"])]),_:1})]),_:1},8,["onSubmit"])])]),_:1})]),_:1}))}};export{A as default}; diff --git a/assets/PublicView.7870d4c7.js b/assets/PublicView.7870d4c7.js new file mode 100644 index 0000000..3cabdfd --- /dev/null +++ b/assets/PublicView.7870d4c7.js @@ -0,0 +1 @@ +import{d as t,w as n,e as m,o as u,a,f as i,g as e,P as r,_,b as o,p as c,a1 as s,i as d,x as f,a2 as p,a3 as g,a4 as A,a5 as l}from"./index.a3e3dc89.js";const b={class:"flex gap-4"},v={class:"grid grid-flow-row auto-rows-auto grid-cols-1 md:grid-cols-2 gap-5 mb-5"},R={__name:"PublicView",setup($){return(w,M)=>(u(),t(m,null,{default:n(()=>[a(d,null,{default:n(()=>[a(i,{icon:e(f),title:"Trmazi's Profile",main:""},null,8,["icon"]),a(r,{class:"mb-6","use-small":""}),a(_,{"is-form":"",class:"mb-6"},{default:n(()=>[o("div",b,[a(c,{color:"success",label:"Add Friend",icon:e(p)},null,8,["icon"]),a(c,{color:"danger",label:"Remove Friend",icon:e(g)},null,8,["icon"])])]),_:1}),a(i,{icon:e(A),title:"Game Stats",main:""},null,8,["icon"]),o("div",v,[a(s,{game:e(l).DDR,value:"#10 out of 132","profile-name":"DJ. TRMAZI",type:"ranking"},null,8,["game"]),a(s,{game:e(l).POPN_MUSIC,value:300,"profile-name":"TRMAZI",type:"plays"},null,8,["game"]),a(s,{game:e(l).JUBEAT,value:392,"profile-name":"TRMAZI",type:"scores"},null,8,["game"]),a(s,{game:e(l).SDVX,value:"#15 out of 200","profile-name":"TRMAZI",type:"ranking"},null,8,["game"])])]),_:1})]),_:1}))}};export{R as default}; diff --git a/assets/RegisterView.8367959e.js b/assets/RegisterView.8367959e.js new file mode 100644 index 0000000..ae2069d --- /dev/null +++ b/assets/RegisterView.8367959e.js @@ -0,0 +1 @@ +import{s as f,d as _,w as t,o as b,b as l,a as e,g as r,p as m,_ as w,v as x,u as V,x as u,y as i}from"./index.a3e3dc89.js";import{_ as g}from"./FormCheckRadio.1a632d14.js";import{_ as n}from"./FormField.8600c9db.js";import{_ as d}from"./FormControl.f773f283.js";import{_ as h}from"./LayoutGuest.d4bdb44a.js";const v={class:"flex md:min-h-screen md:items-center md:justify-center"},y={class:"p-4 flex flex-col md:flex-row w-full space-y-2 md:space-y-0 md:space-x-4"},U=l("div",{class:"flex flex-col items-center text-wrap h-full"},[l("img",{src:x,class:"rounded-full shadow-lg mb-2"}),l("h1",{class:"text-xl"},[l("samp",null,"PhaseII")]),l("p",{class:"text-sm text-gray-700 dark:text-white/75"}," Spinnin' since 2021 "),l("hr",{class:"border-t border-1 my-1 w-full"}),l("p",{class:"text-lg relative bottom-0"},"Account Registration")],-1),$=l("div",{class:"md:border-r md:border-1"},null,-1),A={class:"grid grid-cols-2 gap-x-2"},P={class:"col-span-2"},k={class:"flex flex-col gap-2 mt-4"},C=l("hr",{class:"border-t border-1 my-4 w-full"},null,-1),I={class:"flex flex-col gap-2 my-4"},R=l("h2",null,"Have an Account?",-1),B=l("h2",null,"Forgot Password?",-1),L={__name:"RegisterView",setup(N){const a=f({username:"",email:"",pass:"",remember:!0}),c=V(),p=()=>{c.push("/")};return(D,s)=>(b(),_(h,null,{default:t(()=>[l("div",v,[e(w,{class:"w-full md:w-auto rounded-none md:rounded-xl","has-table":"","is-auth":""},{default:t(()=>[l("div",y,[U,$,l("div",A,[e(n,{label:"Desired Username"},{default:t(()=>[e(d,{modelValue:a.username,"onUpdate:modelValue":s[0]||(s[0]=o=>a.username=o),icon:r(u),name:"username",autocomplete:"username"},null,8,["modelValue","icon"])]),_:1}),e(n,{label:"Email Address"},{default:t(()=>[e(d,{modelValue:a.email,"onUpdate:modelValue":s[1]||(s[1]=o=>a.email=o),icon:r(u),name:"email",autocomplete:"email"},null,8,["modelValue","icon"])]),_:1}),e(n,{label:"Password"},{default:t(()=>[e(d,{modelValue:a.pass,"onUpdate:modelValue":s[2]||(s[2]=o=>a.pass=o),icon:r(i),type:"password",name:"password",autocomplete:"current-password"},null,8,["modelValue","icon"])]),_:1}),e(n,{label:"Password Confirmation"},{default:t(()=>[e(d,{modelValue:a.pass,"onUpdate:modelValue":s[3]||(s[3]=o=>a.pass=o),icon:r(i),type:"password",name:"password",autocomplete:"current-password"},null,8,["modelValue","icon"])]),_:1}),e(n,{label:"Card ID"},{default:t(()=>[e(d,{modelValue:a.email,"onUpdate:modelValue":s[4]||(s[4]=o=>a.email=o),icon:r(u),name:"card",autocomplete:"card"},null,8,["modelValue","icon"])]),_:1}),e(n,{label:"Game PIN"},{default:t(()=>[e(d,{modelValue:a.pass,"onUpdate:modelValue":s[5]||(s[5]=o=>a.pass=o),icon:r(i),type:"password",name:"password",autocomplete:"current-password"},null,8,["modelValue","icon"])]),_:1}),e(g,{modelValue:a.remember,"onUpdate:modelValue":s[6]||(s[6]=o=>a.remember=o),class:"col-span-2",name:"remember",label:"Remember Me","input-value":!0},null,8,["modelValue"]),l("div",P,[l("div",k,[e(m,{label:"Create Account",color:"success",onClick:s[7]||(s[7]=o=>p())})]),C,l("div",I,[R,e(m,{label:"Log In",color:"info",href:"/#/auth/login"}),B,e(m,{label:"Password Reset",color:"warning",href:"/#/auth/reset"})])])])])]),_:1})])]),_:1}))}};export{L as default}; diff --git a/assets/ResetView.954d9e3d.js b/assets/ResetView.954d9e3d.js new file mode 100644 index 0000000..371315b --- /dev/null +++ b/assets/ResetView.954d9e3d.js @@ -0,0 +1 @@ +import{s as c,d,w as t,o as m,b as e,a as s,g as u,p as o,_,v as f,u as h,x as p}from"./index.a3e3dc89.js";import{_ as x}from"./FormField.8600c9db.js";import{_ as b}from"./FormControl.f773f283.js";import{_ as g}from"./LayoutGuest.d4bdb44a.js";const w={class:"flex md:min-h-screen md:items-center md:justify-center"},v={class:"p-4 flex flex-col md:flex-row w-full space-y-2 md:space-y-0 md:space-x-4"},y=e("div",{class:"flex flex-col items-center text-wrap h-full"},[e("img",{src:f,class:"rounded-full shadow-lg mb-2"}),e("h1",{class:"text-xl"},[e("samp",null,"PhaseII")]),e("p",{class:"text-sm text-gray-700 dark:text-white/75"}," Spinnin' since 2021 "),e("hr",{class:"border-t border-1 my-1 w-full"}),e("p",{class:"text-lg relative bottom-0"},"Password Reset")],-1),V=e("div",{class:"md:border-r md:border-1"},null,-1),$={class:"flex flex-col gap-2 mt-4"},R=e("hr",{class:"border-t border-1 my-4 w-full"},null,-1),k={class:"flex flex-col gap-2 my-4"},B=e("h2",null,"Remember it?",-1),I=e("h2",null,"New Here?",-1),E={__name:"ResetView",setup(N){const a=c({login:"test@website.com"}),i=h(),n=()=>{i.push("/auth/login")};return(A,l)=>(m(),d(g,null,{default:t(()=>[e("div",w,[s(_,{class:"w-full md:w-auto rounded-none md:rounded-xl","has-table":"","is-auth":""},{default:t(()=>[e("div",v,[y,V,e("div",null,[s(x,{label:"Email Address"},{default:t(()=>[s(b,{modelValue:a.login,"onUpdate:modelValue":l[0]||(l[0]=r=>a.login=r),icon:u(p),name:"email",autocomplete:"email"},null,8,["modelValue","icon"])]),_:1}),e("div",$,[s(o,{label:"Submit",color:"info",onClick:l[1]||(l[1]=r=>n())})]),R,e("div",k,[B,s(o,{label:"Log In",color:"success",href:"/#/auth/login"}),I,s(o,{label:"Register",color:"info",href:"/#/auth/register"})])])])]),_:1})])]),_:1}))}};export{E as default}; diff --git a/assets/ResponsiveView.3a867284.js b/assets/ResponsiveView.3a867284.js deleted file mode 100644 index c194a99..0000000 --- a/assets/ResponsiveView.3a867284.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as l}from"./SectionTitle.a5f395e4.js";import{c as d,a as e,x as i,o as n,h as o,n as a,z as s,b as t}from"./index.5987daaf.js";const r=t("div",{class:"md:w-10/12 shadow-2xl md:mx-auto rounded-3xl border-8 border-white overflow-hidden"},[t("img",{src:"https://static.justboil.me/templates/one/one-tailwind-vue-mobile.png",class:"block"})],-1),c=t("div",{class:"md:w-10/12 shadow-2xl md:mx-auto rounded-3xl border-8 border-white overflow-hidden"},[t("img",{src:"https://static.justboil.me/templates/one/one-tailwind-vue-1024.png",class:"block"})],-1),m=t("div",{class:"md:w-10/12 shadow-2xl md:mx-auto rounded-3xl border-8 border-white overflow-hidden"},[t("img",{src:"https://static.justboil.me/templates/one/one-tailwind-vue-1024-menu-open.png",class:"block"})],-1),u=t("div",{class:"md:w-10/12 shadow-2xl md:mx-auto rounded-3xl border-8 border-white overflow-hidden"},[t("img",{src:"https://static.justboil.me/templates/one/one-tailwind-vue-widescreen.png",class:"block"})],-1),f={__name:"ResponsiveView",setup(_){return(p,h)=>(n(),d(i,null,{default:e(()=>[o(l,{first:""},{default:e(()=>[a("Mobile & Tablet")]),_:1}),o(s,null,{default:e(()=>[r]),_:1}),o(l,null,{default:e(()=>[a("Small laptop 1024px")]),_:1}),o(s,null,{default:e(()=>[c]),_:1}),o(s,null,{default:e(()=>[m]),_:1}),o(l,null,{default:e(()=>[a("Laptop & desktop")]),_:1}),o(s,null,{default:e(()=>[u]),_:1})]),_:1}))}};export{f as default}; diff --git a/assets/SectionTitle.a5f395e4.js b/assets/SectionTitle.a5f395e4.js deleted file mode 100644 index 1521b62..0000000 --- a/assets/SectionTitle.a5f395e4.js +++ /dev/null @@ -1 +0,0 @@ -import{o as s,g as a,J as l,L as o}from"./index.5987daaf.js";const n={key:1,class:"text-2xl text-gray-500 dark:text-slate-400"},m={__name:"SectionTitle",props:{custom:Boolean,first:Boolean,last:Boolean},setup(t){return(e,c)=>(s(),a("section",{class:o(["py-24 px-6 lg:px-0 lg:max-w-2xl lg:mx-auto text-center",{"-mb-6":t.first,"-mt-6":t.last,"-my-6":!t.first&&!t.last}])},[t.custom?l(e.$slots,"default",{key:0}):(s(),a("h1",n,[l(e.$slots,"default")]))],2))}};export{m as _}; diff --git a/assets/SectionTitleLineWithButton.73f27ca0.js b/assets/SectionTitleLineWithButton.73f27ca0.js deleted file mode 100644 index 531e664..0000000 --- a/assets/SectionTitleLineWithButton.73f27ca0.js +++ /dev/null @@ -1 +0,0 @@ -import{f as o,H as r,o as t,g as m,b as n,c as a,Q as u,I as f,j as d,L as s,t as h,k as i,J as g,R as k,l as y}from"./index.5987daaf.js";const x={class:"flex items-center justify-start"},b={__name:"SectionTitleLineWithButton",props:{icon:{type:String,default:null},title:{type:String,required:!0},main:Boolean},setup(e){const l=o(()=>r().default);return(c,S)=>(t(),m("section",{class:s([{"pt-6":!e.main},"mb-6 flex items-center justify-between"])},[n("div",x,[e.icon&&e.main?(t(),a(u,{key:0,icon:e.icon,color:"light",class:"mr-3",bg:""},null,8,["icon"])):e.icon?(t(),a(f,{key:1,path:e.icon,class:"mr-2",size:"20"},null,8,["path"])):d("",!0),n("h1",{class:s([e.main?"text-3xl":"text-2xl","leading-tight"])},h(e.title),3)]),i(l)?g(c.$slots,"default",{key:0}):(t(),a(y,{key:1,icon:i(k),color:"whiteDark"},null,8,["icon"]))],2))}};export{b as _}; diff --git a/assets/TablesView.0a7f46fb.js b/assets/TablesView.0a7f46fb.js deleted file mode 100644 index 03364e5..0000000 --- a/assets/TablesView.0a7f46fb.js +++ /dev/null @@ -1 +0,0 @@ -import{r as p,w as F,o,c as w,a as s,b as e,d as G,v as H,e as q,u as z,f as g,g as i,h as t,F as y,i as $,j as V,k as n,_ as P,l as C,t as c,m as O,n as x,p as R,q as W,s as I,x as J,y as B,z as K,A as Q,B as X,C as Y,D}from"./index.5987daaf.js";import{_ as S,a as E,C as Z}from"./CardBoxComponentEmpty.d2a35044.js";import{_ as M}from"./SectionTitleLineWithButton.73f27ca0.js";const ee={class:"checkbox"},le=e("span",{class:"check"},null,-1),te={__name:"TableCheckboxCell",props:{type:{type:String,default:"td"}},emits:["checked"],setup(f,{emit:k}){const r=p(!1);return F(r,_=>{k("checked",_)}),(_,m)=>(o(),w(q(f.type),{class:"lg:w-1"},{default:s(()=>[e("label",ee,[G(e("input",{"onUpdate:modelValue":m[0]||(m[0]=b=>r.value=b),type:"checkbox"},null,512),[[H,r.value]]),le])]),_:1}))}},ae=e("p",null,[x("Lorem ipsum dolor sit amet "),e("b",null,"adipiscing elit")],-1),se=e("p",null,"This is sample modal",-1),oe=e("p",null,[x("Lorem ipsum dolor sit amet "),e("b",null,"adipiscing elit")],-1),ne=e("p",null,"This is sample modal",-1),ie={key:0,class:"p-3 bg-gray-100/50 dark:bg-slate-800"},ce={key:0},re=e("th",null,null,-1),ue=e("th",null,"Name",-1),de=e("th",null,"Company",-1),_e=e("th",null,"City",-1),me=e("th",null,"Progress",-1),he=e("th",null,"Created",-1),pe=e("th",null,null,-1),fe={class:"border-b-0 lg:w-6 before:hidden"},be={"data-label":"Name"},ve={"data-label":"Company"},ge={"data-label":"City"},ke={"data-label":"Progress",class:"lg:w-32"},ye=["value"],Ce={"data-label":"Created",class:"lg:w-1 whitespace-nowrap"},we=["title"],xe={class:"before:hidden lg:w-1 whitespace-nowrap"},$e={class:"p-3 lg:px-6 border-t border-gray-100 dark:border-slate-800"},Ve={__name:"TableSampleClients",props:{checkable:Boolean},setup(f){const k=z(),r=g(()=>k.clients),_=p(!1),m=p(!1),b=p(5),h=p(0),v=p([]),N=g(()=>r.value.slice(b.value*h.value,b.value*(h.value+1))),T=g(()=>Math.ceil(r.value.length/b.value)),L=g(()=>h.value+1),j=g(()=>{const u=[];for(let a=0;a{const l=[];return u.forEach(d=>{a(d)||l.push(d)}),l},U=(u,a)=>{u?v.value.push(a):v.value=A(v.value,l=>l.id===a.id)};return(u,a)=>(o(),i(y,null,[t(S,{modelValue:_.value,"onUpdate:modelValue":a[0]||(a[0]=l=>_.value=l),title:"Sample modal"},{default:s(()=>[ae,se]),_:1},8,["modelValue"]),t(S,{modelValue:m.value,"onUpdate:modelValue":a[1]||(a[1]=l=>m.value=l),title:"Please confirm",button:"danger","has-cancel":""},{default:s(()=>[oe,ne]),_:1},8,["modelValue"]),v.value.length?(o(),i("div",ie,[(o(!0),i(y,null,$(v.value,l=>(o(),i("span",{key:l.id,class:"inline-block px-2 py-1 rounded-sm mr-2 text-sm bg-gray-100 dark:bg-slate-700"},c(l.name),1))),128))])):V("",!0),e("table",null,[e("thead",null,[e("tr",null,[f.checkable?(o(),i("th",ce)):V("",!0),re,ue,de,_e,me,he,pe])]),e("tbody",null,[(o(!0),i(y,null,$(n(N),l=>(o(),i("tr",{key:l.id},[f.checkable?(o(),w(te,{key:0,onChecked:d=>U(d,l)},null,8,["onChecked"])):V("",!0),e("td",fe,[t(R,{username:l.name,class:"w-24 h-24 mx-auto lg:w-6 lg:h-6"},null,8,["username"])]),e("td",be,c(l.name),1),e("td",ve,c(l.company),1),e("td",ge,c(l.city),1),e("td",ke,[e("progress",{class:"flex w-2/5 self-center lg:w-full",max:"100",value:l.progress},c(l.progress),9,ye)]),e("td",Ce,[e("small",{class:"text-gray-500 dark:text-slate-400",title:l.created},c(l.created),9,we)]),e("td",xe,[t(P,{type:"justify-start lg:justify-end","no-wrap":""},{default:s(()=>[t(C,{color:"info",icon:n(W),small:"",onClick:a[2]||(a[2]=d=>_.value=!0)},null,8,["icon"]),t(C,{color:"danger",icon:n(I),small:"",onClick:a[3]||(a[3]=d=>m.value=!0)},null,8,["icon"])]),_:1})])]))),128))])]),e("div",$e,[t(O,null,{default:s(()=>[t(P,null,{default:s(()=>[(o(!0),i(y,null,$(n(j),l=>(o(),w(C,{key:l,active:l===h.value,label:l+1,color:l===h.value?"lightDark":"whiteDark",small:"",onClick:d=>h.value=l},null,8,["active","label","color","onClick"]))),128))]),_:1}),e("small",null,"Page "+c(n(L))+" of "+c(n(T)),1)]),_:1})])],64))}},Te=e("b",null,"Responsive table.",-1),Pe=e("b",null,"Empty table.",-1),Ee={__name:"TablesView",setup(f){return(k,r)=>(o(),w(J,null,{default:s(()=>[t(K,null,{default:s(()=>[t(M,{icon:n(Q),title:"Tables",main:""},{default:s(()=>[t(C,{href:"https://github.com/justboil/admin-one-vue-tailwind",target:"_blank",icon:n(X),label:"Star on GitHub",color:"contrast","rounded-full":"",small:""},null,8,["icon"])]),_:1},8,["icon"]),t(E,{color:"info",icon:n(Y)},{default:s(()=>[Te,x(" Collapses on mobile ")]),_:1},8,["icon"]),t(B,{class:"mb-6","has-table":""},{default:s(()=>[t(Ve,{checkable:""})]),_:1}),t(M,{icon:n(D),title:"Empty variation"},null,8,["icon"]),t(E,{color:"danger",icon:n(D)},{default:s(()=>[Pe,x(" When there's nothing to show ")]),_:1},8,["icon"]),t(B,null,{default:s(()=>[t(Z)]),_:1})]),_:1})]),_:1}))}};export{Ee as default}; diff --git a/assets/UiView.e536e028.js b/assets/UiView.e536e028.js deleted file mode 100644 index 3e39ec9..0000000 --- a/assets/UiView.e536e028.js +++ /dev/null @@ -1 +0,0 @@ -import{r as v,f as b,a8 as P,c as R,a as e,x as W,o as E,h as o,n as f,y as _,b as t,l as n,k as l,z as h,_ as p,U as $,a5 as k,a9 as j,K as z,aa as J,ab as K,ac as q,ad as A,ae as F,af as m,ag as G}from"./index.5987daaf.js";import{_ as T,b as O,a as y,C as H}from"./CardBoxComponentEmpty.d2a35044.js";import{_ as w}from"./SectionTitle.a5f395e4.js";import{_ as M}from"./FormField.1bef021a.js";import{_ as I}from"./FormCheckRadioGroup.f2c1e4de.js";import{_ as Q}from"./SectionTitleLineWithButton.73f27ca0.js";import"./FormCheckRadio.814cba01.js";const X=t("p",null,"This is sample modal",-1),Y=t("p",null,"Lorem ipsum dolor",-1),Z=t("p",null,"This is sample modal",-1),ll=t("p",null,"Lorem ipsum dolor",-1),ol=t("p",null,"This is sample modal",-1),el=t("p",null,"Lorem ipsum dolor",-1),nl={class:"text-center py-24 lg:py-12 text-gray-500 dark:text-slate-400"},tl={class:"space-y-12"},al=t("div",{class:"space-y-3"},[t("p",null,"Click to see in action")],-1),il=t("div",{class:"space-y-3"},[t("p",null,"Click to see in action")],-1),ul=t("div",{class:"space-y-3"},[t("p",null,"Click to see in action")],-1),sl=t("h1",{class:"text-2xl text-gray-500 dark:text-slate-400"},"Notifications",-1),dl={class:"flex items-center justify-center mt-6"},cl=t("b",null,"Info state",-1),rl=t("b",null,"Success state",-1),ml=t("b",null,"Warning state",-1),fl=t("b",null,"Danger state",-1),_l=t("b",null,"Contrast",-1),bl={class:"grid grid-cols-1 gap-6 mb-6 lg:grid-cols-2"},pl=t("div",{class:"space-y-3"},[t("p",null,"Card with title, icon & footer")],-1),yl={__name:"UiView",setup(gl){const S=v(!1),D=v(!1),U=v(!1),N=v([]),r=b(()=>N.value.indexOf("outline")>-1),g=v([]),i=b(()=>g.value.indexOf("outline")>-1),u=b(()=>g.value.indexOf("small")>-1),s=b(()=>g.value.indexOf("disabled")>-1),d=b(()=>g.value.indexOf("rounded")>-1),x=v(["icon"]),C=b(()=>x.value.indexOf("outline")>-1),B=b(()=>x.value.indexOf("small")>-1),V=b(()=>x.value.indexOf("icon")>-1?j:null),L=P();return(vl,a)=>(E(),R(W,null,{default:e(()=>[o(T,{modelValue:S.value,"onUpdate:modelValue":a[0]||(a[0]=c=>S.value=c),title:"Please confirm action","button-label":"Confirm","has-cancel":""},{default:e(()=>[X,Y]),_:1},8,["modelValue"]),o(T,{modelValue:D.value,"onUpdate:modelValue":a[1]||(a[1]=c=>D.value=c),title:"Unhandled exception",button:"danger"},{default:e(()=>[Z,ll]),_:1},8,["modelValue"]),o(T,{modelValue:U.value,"onUpdate:modelValue":a[2]||(a[2]=c=>U.value=c),title:"Success",button:"success"},{default:e(()=>[ol,el]),_:1},8,["modelValue"]),o(w,{first:""},{default:e(()=>[f("Dark mode")]),_:1}),o(h,null,{default:e(()=>[o(_,{class:"md:w-7/12 lg:w-5/12 xl:w-4/12 shadow-2xl md:mx-auto"},{default:e(()=>[t("div",nl,[o(n,{label:"Toggle",color:"contrast",onClick:a[3]||(a[3]=c=>l(L).setDarkMode())})])]),_:1})]),_:1}),o(w,null,{default:e(()=>[f("Modal examples")]),_:1}),o(h,null,{default:e(()=>[t("div",tl,[o(_,{class:"cursor-pointer md:w-7/12 lg:w-5/12 shadow-2xl md:mx-auto","is-hoverable":"",onClick:a[4]||(a[4]=c=>S.value=!0)},{footer:e(()=>[o(p,null,{default:e(()=>[o(n,{label:"Confirm",color:"info"}),o(n,{label:"Cancel",color:"info",outline:""})]),_:1})]),default:e(()=>[o(O,{title:"Please confirm action"},{default:e(()=>[o(n,{icon:l(z),color:"whiteDark",small:"","rounded-full":""},null,8,["icon"])]),_:1}),al]),_:1}),o(_,{class:"cursor-pointer md:w-7/12 lg:w-5/12 shadow-2xl md:mx-auto","is-hoverable":"",onClick:a[5]||(a[5]=c=>D.value=!0)},{footer:e(()=>[o(p,null,{default:e(()=>[o(n,{label:"Done",color:"danger"})]),_:1})]),default:e(()=>[o(O,{title:"Unhandled exception"}),il]),_:1}),o(_,{class:"cursor-pointer md:w-7/12 lg:w-5/12 shadow-2xl md:mx-auto","is-hoverable":"",onClick:a[6]||(a[6]=c=>U.value=!0)},{footer:e(()=>[o(n,{label:"Done",color:"success"})]),default:e(()=>[o(O,{title:"Success"}),ul]),_:1})])]),_:1}),o(w,{custom:""},{default:e(()=>[sl,t("div",dl,[o(I,{modelValue:N.value,"onUpdate:modelValue":a[7]||(a[7]=c=>N.value=c),type:"switch",name:"notifications-switch",options:{outline:"Outline"}},null,8,["modelValue"])])]),_:1}),o(h,null,{default:e(()=>[o(y,{color:"info",icon:l(J),outline:l(r)},{right:e(()=>[o(n,{label:"Button",color:l(r)?"info":"white",outline:l(r),"rounded-full":"",small:""},null,8,["color","outline"])]),default:e(()=>[cl,f(". NotificationBar ")]),_:1},8,["icon","outline"]),o(y,{color:"success",icon:l(K),outline:l(r)},{right:e(()=>[o(n,{label:"Button",color:l(r)?"success":"white",outline:l(r),"rounded-full":"",small:""},null,8,["color","outline"])]),default:e(()=>[rl,f(". NotificationBar ")]),_:1},8,["icon","outline"]),o(y,{color:"warning",icon:l(q),outline:l(r)},{right:e(()=>[o(n,{label:"Button",color:l(r)?"warning":"white",outline:l(r),"rounded-full":"",small:""},null,8,["color","outline"])]),default:e(()=>[ml,f(". NotificationBar ")]),_:1},8,["icon","outline"]),o(y,{color:"danger",icon:l(A),outline:l(r)},{right:e(()=>[o(n,{label:"Button",color:l(r)?"danger":"white",outline:l(r),"rounded-full":"",small:""},null,8,["color","outline"])]),default:e(()=>[fl,f(". NotificationBar ")]),_:1},8,["icon","outline"]),o(y,{color:"contrast",icon:l(F),outline:l(r)},{default:e(()=>[_l,f(". NotificationBar ")]),_:1},8,["icon","outline"])]),_:1}),o(w,null,{default:e(()=>[f("Buttons")]),_:1}),o(h,null,{default:e(()=>[o(_,null,{default:e(()=>[o(M,{label:"Settings"},{default:e(()=>[o(I,{modelValue:g.value,"onUpdate:modelValue":a[8]||(a[8]=c=>g.value=c),name:"buttons-switch",type:"switch",options:{outline:"Outline",small:"Small",rounded:"Rounded",disabled:"Disabled"}},null,8,["modelValue"])]),_:1}),o($),o(p,null,{default:e(()=>[o(n,{color:"lightDark",label:"Button",small:l(u),outline:l(i),disabled:l(s),"rounded-full":l(d)},null,8,["small","outline","disabled","rounded-full"]),o(n,{color:"contrast",label:"Button",small:l(u),outline:l(i),disabled:l(s),"rounded-full":l(d)},null,8,["small","outline","disabled","rounded-full"]),o(n,{color:"info",label:"Button",small:l(u),outline:l(i),disabled:l(s),"rounded-full":l(d)},null,8,["small","outline","disabled","rounded-full"]),o(n,{color:"success",label:"Button",small:l(u),outline:l(i),disabled:l(s),"rounded-full":l(d)},null,8,["small","outline","disabled","rounded-full"]),o(n,{color:"warning",label:"Button",small:l(u),outline:l(i),disabled:l(s),"rounded-full":l(d)},null,8,["small","outline","disabled","rounded-full"]),o(n,{color:"danger",label:"Button",small:l(u),outline:l(i),disabled:l(s),"rounded-full":l(d)},null,8,["small","outline","disabled","rounded-full"])]),_:1}),o($),o(p,null,{default:e(()=>[o(n,{color:"lightDark",label:"Button",icon:l(m),small:l(u),outline:l(i),disabled:l(s),"rounded-full":l(d)},null,8,["icon","small","outline","disabled","rounded-full"]),o(n,{color:"contrast",label:"Button",icon:l(m),small:l(u),outline:l(i),disabled:l(s),"rounded-full":l(d)},null,8,["icon","small","outline","disabled","rounded-full"]),o(n,{color:"info",label:"Button",icon:l(m),small:l(u),outline:l(i),disabled:l(s),"rounded-full":l(d)},null,8,["icon","small","outline","disabled","rounded-full"]),o(n,{color:"success",label:"Button",icon:l(m),small:l(u),outline:l(i),disabled:l(s),"rounded-full":l(d)},null,8,["icon","small","outline","disabled","rounded-full"]),o(n,{color:"warning",label:"Button",icon:l(m),small:l(u),outline:l(i),disabled:l(s),"rounded-full":l(d)},null,8,["icon","small","outline","disabled","rounded-full"]),o(n,{color:"danger",label:"Button",icon:l(m),small:l(u),outline:l(i),disabled:l(s),"rounded-full":l(d)},null,8,["icon","small","outline","disabled","rounded-full"])]),_:1}),o($),o(p,null,{default:e(()=>[o(n,{color:"lightDark",icon:l(m),small:l(u),outline:l(i),disabled:l(s),"rounded-full":l(d)},null,8,["icon","small","outline","disabled","rounded-full"]),o(n,{color:"contrast",icon:l(m),small:l(u),outline:l(i),disabled:l(s),"rounded-full":l(d)},null,8,["icon","small","outline","disabled","rounded-full"]),o(n,{color:"info",icon:l(m),small:l(u),outline:l(i),disabled:l(s),"rounded-full":l(d)},null,8,["icon","small","outline","disabled","rounded-full"]),o(n,{color:"success",icon:l(m),small:l(u),outline:l(i),disabled:l(s),"rounded-full":l(d)},null,8,["icon","small","outline","disabled","rounded-full"]),o(n,{color:"warning",icon:l(m),small:l(u),outline:l(i),disabled:l(s),"rounded-full":l(d)},null,8,["icon","small","outline","disabled","rounded-full"]),o(n,{color:"danger",icon:l(m),small:l(u),outline:l(i),disabled:l(s),"rounded-full":l(d)},null,8,["icon","small","outline","disabled","rounded-full"])]),_:1})]),_:1})]),_:1}),o(w,null,{default:e(()=>[f("Pills")]),_:1}),o(h,null,{default:e(()=>[o(_,null,{default:e(()=>[o(M,{label:"Settings"},{default:e(()=>[o(I,{modelValue:x.value,"onUpdate:modelValue":a[9]||(a[9]=c=>x.value=c),name:"buttons-switch",type:"switch",options:{outline:"Outline",small:"Small",icon:"Icon"}},null,8,["modelValue"])]),_:1}),o($),o(p,null,{default:e(()=>[o(k,{color:"contrast",label:"Contrast",small:l(B),outline:l(C),icon:l(V)},null,8,["small","outline","icon"]),o(k,{color:"info",label:"Info",small:l(B),outline:l(C),icon:l(V)},null,8,["small","outline","icon"]),o(k,{color:"success",label:"Success",small:l(B),outline:l(C),icon:l(V)},null,8,["small","outline","icon"]),o(k,{color:"warning",label:"Warning",small:l(B),outline:l(C),icon:l(V)},null,8,["small","outline","icon"]),o(k,{color:"danger",label:"Danger",small:l(B),outline:l(C),icon:l(V)},null,8,["small","outline","icon"])]),_:1})]),_:1})]),_:1}),o(w,null,{default:e(()=>[f("Cards")]),_:1}),o(h,null,{default:e(()=>[t("div",bl,[o(_,null,{footer:e(()=>[o(p,null,{default:e(()=>[o(n,{label:"Confirm",color:"info"}),o(n,{label:"Cancel",color:"info",outline:""})]),_:1})]),default:e(()=>[o(O,{title:"With title & icon"},{default:e(()=>[o(n,{icon:l(G),color:"whiteDark","rounded-full":""},null,8,["icon"])]),_:1}),pl]),_:1}),o(_,null,{footer:e(()=>[o(p,null,{default:e(()=>[o(n,{label:"Confirm",color:"info"}),o(n,{label:"Cancel",color:"info",outline:""})]),_:1})]),default:e(()=>[f(" Just body & footer ")]),_:1})]),o(Q,{icon:l(A),title:"Empty variation"},null,8,["icon"]),o(_,null,{default:e(()=>[o(H)]),_:1})]),_:1})]),_:1}))}};export{yl as default}; diff --git a/assets/border/nonbinary.png b/assets/border/nonbinary.png new file mode 100644 index 0000000..7fb177a Binary files /dev/null and b/assets/border/nonbinary.png differ diff --git a/assets/border/pride.png b/assets/border/pride.png new file mode 100644 index 0000000..01abd11 Binary files /dev/null and b/assets/border/pride.png differ diff --git a/assets/border/swirl.png b/assets/border/swirl.png new file mode 100644 index 0000000..3e4d3b7 Binary files /dev/null and b/assets/border/swirl.png differ diff --git a/assets/border/trans.png b/assets/border/trans.png new file mode 100644 index 0000000..40a0392 Binary files /dev/null and b/assets/border/trans.png differ diff --git a/assets/card/pride.png b/assets/card/pride.png new file mode 100644 index 0000000..7cf408e Binary files /dev/null and b/assets/card/pride.png differ diff --git a/assets/card/snow.jpg b/assets/card/snow.jpg deleted file mode 100644 index c949a92..0000000 Binary files a/assets/card/snow.jpg and /dev/null differ diff --git a/assets/card/snow.png b/assets/card/snow.png deleted file mode 100644 index 081da5f..0000000 Binary files a/assets/card/snow.png and /dev/null differ diff --git a/assets/card/trans.png b/assets/card/trans.png new file mode 100644 index 0000000..7fafdc0 Binary files /dev/null and b/assets/card/trans.png differ diff --git a/assets/index.1c7ba478.css b/assets/index.1c7ba478.css deleted file mode 100644 index bc8449c..0000000 --- a/assets/index.1c7ba478.css +++ /dev/null @@ -1 +0,0 @@ -*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family: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";font-feature-settings:normal;font-variation-settings:normal}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-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-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}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}[type=text],[type=email],[type=url],[type=password],[type=number],[type=date],[type=datetime-local],[type=month],[type=search],[type=tel],[type=time],[type=week],[multiple],textarea,select{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#fff;border-color:#6b7280;border-width:1px;border-radius:0;padding:.5rem .75rem;font-size:1rem;line-height:1.5rem;--tw-shadow: 0 0 #0000}[type=text]:focus,[type=email]:focus,[type=url]:focus,[type=password]:focus,[type=number]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=month]:focus,[type=search]:focus,[type=tel]:focus,[type=time]:focus,[type=week]:focus,[multiple]:focus,textarea:focus,select:focus{outline:2px solid transparent;outline-offset:2px;--tw-ring-inset: var(--tw-empty, );--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: #2563eb;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);border-color:#2563eb}input::-moz-placeholder,textarea::-moz-placeholder{color:#6b7280;opacity:1}input::placeholder,textarea::placeholder{color:#6b7280;opacity:1}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em}::-webkit-datetime-edit,::-webkit-datetime-edit-year-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-meridiem-field{padding-top:0;padding-bottom:0}select{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;-webkit-print-color-adjust:exact;print-color-adjust:exact}[multiple]{background-image:initial;background-position:initial;background-repeat:unset;background-size:initial;padding-right:.75rem;-webkit-print-color-adjust:unset;print-color-adjust:unset}[type=checkbox],[type=radio]{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0;-webkit-print-color-adjust:exact;print-color-adjust:exact;display:inline-block;vertical-align:middle;background-origin:border-box;-webkit-user-select:none;-moz-user-select:none;user-select:none;flex-shrink:0;height:1rem;width:1rem;color:#2563eb;background-color:#fff;border-color:#6b7280;border-width:1px;--tw-shadow: 0 0 #0000}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{outline:2px solid transparent;outline-offset:2px;--tw-ring-inset: var(--tw-empty, );--tw-ring-offset-width: 2px;--tw-ring-offset-color: #fff;--tw-ring-color: #2563eb;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}[type=checkbox]:checked,[type=radio]:checked{border-color:transparent;background-color:currentColor;background-size:100% 100%;background-position:center;background-repeat:no-repeat}[type=checkbox]:checked{background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e")}[type=radio]:checked{background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e")}[type=checkbox]:checked:hover,[type=checkbox]:checked:focus,[type=radio]:checked:hover,[type=radio]:checked:focus{border-color:transparent;background-color:currentColor}[type=checkbox]:indeterminate{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3e%3cpath stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3e%3c/svg%3e");border-color:transparent;background-color:currentColor;background-size:100% 100%;background-position:center;background-repeat:no-repeat}[type=checkbox]:indeterminate:hover,[type=checkbox]:indeterminate:focus{border-color:transparent;background-color:currentColor}[type=file]{background:unset;border-color:inherit;border-width:0;border-radius:0;padding:0;font-size:unset;line-height:inherit}[type=file]:focus{outline:1px solid ButtonText;outline:1px auto -webkit-focus-ring-color}progress{height:.75rem;overflow:hidden;border-radius:9999px}progress::-webkit-progress-bar{--tw-bg-opacity: 1;background-color:rgb(191 219 254 / var(--tw-bg-opacity))}progress::-webkit-progress-value{--tw-bg-opacity: 1;background-color:rgb(59 130 246 / var(--tw-bg-opacity))}progress::-moz-progress-bar{--tw-bg-opacity: 1;background-color:rgb(59 130 246 / var(--tw-bg-opacity))}progress::-ms-fill{border-width:0px;--tw-bg-opacity: 1;background-color:rgb(59 130 246 / var(--tw-bg-opacity))}html{scrollbar-width:thin;scrollbar-color:rgb(156,163,175) rgb(249,250,251)}body::-webkit-scrollbar{width:8px;height:8px}body::-webkit-scrollbar-track{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}body::-webkit-scrollbar-thumb{border-radius:.25rem;--tw-bg-opacity: 1;background-color:rgb(156 163 175 / var(--tw-bg-opacity))}body::-webkit-scrollbar-thumb:hover{--tw-bg-opacity: 1;background-color:rgb(107 114 128 / var(--tw-bg-opacity))}table{width:100%}thead{display:none}@media (min-width: 1024px){thead{display:table-header-group}}tr{position:relative;display:block;max-width:100%;border-bottom-width:4px;--tw-border-opacity: 1;border-color:rgb(243 244 246 / var(--tw-border-opacity))}:is(.dark tr){--tw-border-opacity: 1;border-color:rgb(30 41 59 / var(--tw-border-opacity))}@media (min-width: 1024px){tr{display:table-row;border-bottom-width:0px}}tr:last-child{border-bottom-width:0px}@media (min-width: 1024px){td:not(:first-child){border-left-width:1px;border-top-width:0px;border-right-width:0px;border-bottom-width:0px;--tw-border-opacity: 1;border-color:rgb(243 244 246 / var(--tw-border-opacity))}:is(.dark td:not(:first-child)){--tw-border-opacity: 1;border-color:rgb(51 65 85 / var(--tw-border-opacity))}th{padding:.75rem;text-align:left}}td{display:flex;justify-content:space-between;border-bottom-width:1px;--tw-border-opacity: 1;border-color:rgb(243 244 246 / var(--tw-border-opacity));padding:.75rem 1rem;text-align:right;vertical-align:top}:is(.dark td){--tw-border-opacity: 1;border-color:rgb(30 41 59 / var(--tw-border-opacity))}@media (min-width: 1024px){td{display:table-cell;border-bottom-width:0px;padding:.75rem;text-align:left;vertical-align:middle}}td:last-child{border-bottom-width:0px}@media (min-width: 1024px){tbody tr:hover,tbody tr:nth-child(odd):hover{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}:is(.dark tbody tr:hover),:is(.dark tbody tr:nth-child(odd):hover){background-color:#334155b3}tbody tr:nth-child(odd){background-color:#f3f4f680}:is(.dark tbody tr:nth-child(odd)){background-color:#1e293b80}}td:before{content:attr(data-label);padding-right:.75rem;text-align:left;font-weight:600}@media (min-width: 1024px){td:before{display:none}}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.checkbox,.radio,.switch{position:relative;display:inline-flex;cursor:pointer;align-items:center}.checkbox input[type=checkbox],.radio input[type=radio],.switch input[type=checkbox]{position:absolute;left:0px;z-index:-1;opacity:0}.checkbox input[type=checkbox]+.check,.radio input[type=radio]+.check,.switch input[type=checkbox]+.check{border-width:1px;--tw-border-opacity: 1;border-color:rgb(55 65 81 / var(--tw-border-opacity));transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.2s}:is(.dark .checkbox input[type=checkbox]+.check),:is(.dark .radio input[type=radio]+.check),:is(.dark .switch input[type=checkbox]+.check){--tw-bg-opacity: 1;background-color:rgb(30 41 59 / var(--tw-bg-opacity))}.checkbox input[type=checkbox]:focus+.check,.radio input[type=radio]:focus+.check,.switch input[type=checkbox]:focus+.check{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000);--tw-ring-opacity: 1;--tw-ring-color: rgb(29 78 216 / var(--tw-ring-opacity))}.checkbox input[type=checkbox]+.check,.radio input[type=radio]+.check{display:block;height:1.25rem;width:1.25rem}.checkbox input[type=checkbox]+.check{border-radius:.25rem}.switch input[type=checkbox]+.check{display:flex;height:1.5rem;width:3rem;flex-shrink:0;align-items:center;--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity));padding:.125rem}.radio input[type=radio]+.check,.switch input[type=checkbox]+.check,.switch input[type=checkbox]+.check:before{border-radius:9999px}.checkbox input[type=checkbox]:checked+.check,.radio input[type=radio]:checked+.check{border-width:4px;background-position:center;background-repeat:no-repeat}.checkbox input[type=checkbox]:checked+.check{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1 1'%3E%3Cpath style='fill:%23fff' d='M 0.04038059,0.6267767 0.14644661,0.52071068 0.42928932,0.80355339 0.3232233,0.90961941 z M 0.21715729,0.80355339 0.85355339,0.16715729 0.95961941,0.2732233 0.3232233,0.90961941 z'%3E%3C/path%3E%3C/svg%3E")}.radio input[type=radio]:checked+.check{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z' /%3E%3C/svg%3E")}.switch input[type=checkbox]:checked+.check,.checkbox input[type=checkbox]:checked+.check,.radio input[type=radio]:checked+.check{--tw-border-opacity: 1;border-color:rgb(37 99 235 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(37 99 235 / var(--tw-bg-opacity))}.switch input[type=checkbox]+.check:before{content:"";display:block;height:1.25rem;width:1.25rem;border-width:1px;--tw-border-opacity: 1;border-color:rgb(55 65 81 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.switch input[type=checkbox]:checked+.check:before{transform:translate3d(110%,0,0);--tw-border-opacity: 1;border-color:rgb(37 99 235 / var(--tw-border-opacity))}.pointer-events-none{pointer-events:none}.invisible{visibility:hidden}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inset-0{inset:0px}.inset-x-0{left:0px;right:0px}.-left-60{left:-15rem}.left-0{left:0px}.top-0{top:0px}.top-14{top:3.5rem}.-z-1{z-index:-1}.z-10{z-index:10}.z-30{z-index:30}.z-40{z-index:40}.z-50{z-index:50}.row-span-1{grid-row:span 1 / span 1}.row-span-2{grid-row:span 2 / span 2}.-mx-6{margin-left:-1.5rem;margin-right:-1.5rem}.-my-6{margin-top:-1.5rem;margin-bottom:-1.5rem}.mx-2{margin-left:.5rem;margin-right:.5rem}.mx-3{margin-left:.75rem;margin-right:.75rem}.mx-auto{margin-left:auto;margin-right:auto}.my-2{margin-top:.5rem;margin-bottom:.5rem}.my-6{margin-top:1.5rem;margin-bottom:1.5rem}.-mb-3{margin-bottom:-.75rem}.-mb-6{margin-bottom:-1.5rem}.-ml-6{margin-left:-1.5rem}.-mr-6{margin-right:-1.5rem}.-mt-6{margin-top:-1.5rem}.mb-12{margin-bottom:3rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mb-5{margin-bottom:1.25rem}.mb-6{margin-bottom:1.5rem}.ml-0{margin-left:0}.ml-60{margin-left:15rem}.mr-1{margin-right:.25rem}.mr-2{margin-right:.5rem}.mr-3{margin-right:.75rem}.mr-6{margin-right:1.5rem}.mt-1{margin-top:.25rem}.mt-12{margin-top:3rem}.mt-6{margin-top:1.5rem}.line-clamp-1{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.grid{display:grid}.hidden{display:none}.h-10{height:2.5rem}.h-12{height:3rem}.h-14{height:3.5rem}.h-16{height:4rem}.h-24{height:6rem}.h-4{height:1rem}.h-6{height:1.5rem}.h-96{height:24rem}.h-auto{height:auto}.h-full{height:100%}.h-screen{height:100vh}.max-h-modal{max-height:calc(100vh - 160px)}.max-h-screen-menu{max-height:calc(100vh - 3.5rem)}.min-h-screen{min-height:100vh}.w-10{width:2.5rem}.w-11\/12{width:91.666667%}.w-12{width:3rem}.w-16{width:4rem}.w-2\/5{width:40%}.w-24{width:6rem}.w-28{width:7rem}.w-4{width:1rem}.w-6{width:1.5rem}.w-60{width:15rem}.w-full{width:100%}.w-screen{width:100vw}.max-w-6xl{max-width:72rem}.max-w-full{max-width:100%}.flex-1{flex:1 1 0%}.flex-none{flex:none}.grow{flex-grow:1}.scale-100{--tw-scale-x: 1;--tw-scale-y: 1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-95{--tw-scale-x: .95;--tw-scale-y: .95;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes fade-in{0%{opacity:0}to{opacity:1}}.animate-fade-in{animation:fade-in .25s ease-in-out}@keyframes fade-out{0%{opacity:1}to{opacity:0}}.animate-fade-out{animation:fade-out .25s ease-in-out}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.grid-flow-row{grid-auto-flow:row}.auto-rows-auto{grid-auto-rows:auto}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.flex-nowrap{flex-wrap:nowrap}.place-content-center{place-content:center}.items-center{align-items:center}.items-stretch{align-items:stretch}.justify-start{justify-content:flex-start}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.justify-around{justify-content:space-around}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-5{gap:1.25rem}.gap-6{gap:1.5rem}.space-x-3>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.75rem * var(--tw-space-x-reverse));margin-left:calc(.75rem * calc(1 - var(--tw-space-x-reverse)))}.space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.25rem * var(--tw-space-y-reverse))}.space-y-12>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(3rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(3rem * var(--tw-space-y-reverse))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.space-y-3>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.75rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.75rem * var(--tw-space-y-reverse))}.self-center{align-self:center}.overflow-hidden{overflow:hidden}.overflow-visible{overflow:visible}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.text-ellipsis{text-overflow:ellipsis}.whitespace-nowrap{white-space:nowrap}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:1rem}.rounded-3xl{border-radius:1.5rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-sm{border-radius:.125rem}.rounded-r{border-top-right-radius:.25rem;border-bottom-right-radius:.25rem}.rounded-r-none{border-top-right-radius:0;border-bottom-right-radius:0}.rounded-t-2xl{border-top-left-radius:1rem;border-top-right-radius:1rem}.border{border-width:1px}.border-0{border-width:0px}.border-8{border-width:8px}.border-b{border-bottom-width:1px}.border-b-0{border-bottom-width:0px}.border-t{border-top-width:1px}.border-blue-500{--tw-border-opacity: 1;border-color:rgb(59 130 246 / var(--tw-border-opacity))}.border-blue-600{--tw-border-opacity: 1;border-color:rgb(37 99 235 / var(--tw-border-opacity))}.border-emerald-500{--tw-border-opacity: 1;border-color:rgb(16 185 129 / var(--tw-border-opacity))}.border-emerald-600{--tw-border-opacity: 1;border-color:rgb(5 150 105 / var(--tw-border-opacity))}.border-gray-100{--tw-border-opacity: 1;border-color:rgb(243 244 246 / var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity))}.border-gray-700{--tw-border-opacity: 1;border-color:rgb(55 65 81 / var(--tw-border-opacity))}.border-gray-800{--tw-border-opacity: 1;border-color:rgb(31 41 55 / var(--tw-border-opacity))}.border-gray-900{--tw-border-opacity: 1;border-color:rgb(17 24 39 / var(--tw-border-opacity))}.border-red-500{--tw-border-opacity: 1;border-color:rgb(239 68 68 / var(--tw-border-opacity))}.border-red-600{--tw-border-opacity: 1;border-color:rgb(220 38 38 / var(--tw-border-opacity))}.border-white{--tw-border-opacity: 1;border-color:rgb(255 255 255 / var(--tw-border-opacity))}.border-yellow-500{--tw-border-opacity: 1;border-color:rgb(234 179 8 / var(--tw-border-opacity))}.border-yellow-600{--tw-border-opacity: 1;border-color:rgb(202 138 4 / var(--tw-border-opacity))}.bg-blue-500{--tw-bg-opacity: 1;background-color:rgb(59 130 246 / var(--tw-bg-opacity))}.bg-blue-600{--tw-bg-opacity: 1;background-color:rgb(37 99 235 / var(--tw-bg-opacity))}.bg-blue-700{--tw-bg-opacity: 1;background-color:rgb(29 78 216 / var(--tw-bg-opacity))}.bg-emerald-500{--tw-bg-opacity: 1;background-color:rgb(16 185 129 / var(--tw-bg-opacity))}.bg-emerald-600{--tw-bg-opacity: 1;background-color:rgb(5 150 105 / var(--tw-bg-opacity))}.bg-emerald-700{--tw-bg-opacity: 1;background-color:rgb(4 120 87 / var(--tw-bg-opacity))}.bg-gray-100{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.bg-gray-100\/50{background-color:#f3f4f680}.bg-gray-100\/75{background-color:#f3f4f6bf}.bg-gray-200{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}.bg-gray-50{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.bg-gray-700{--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}.bg-gray-700\/50{background-color:#37415180}.bg-gray-800{--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity))}.bg-gray-900{--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity))}.bg-red-500{--tw-bg-opacity: 1;background-color:rgb(239 68 68 / var(--tw-bg-opacity))}.bg-red-600{--tw-bg-opacity: 1;background-color:rgb(220 38 38 / var(--tw-bg-opacity))}.bg-red-700{--tw-bg-opacity: 1;background-color:rgb(185 28 28 / var(--tw-bg-opacity))}.bg-slate-800{--tw-bg-opacity: 1;background-color:rgb(30 41 59 / var(--tw-bg-opacity))}.bg-transparent{background-color:transparent}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.bg-yellow-500{--tw-bg-opacity: 1;background-color:rgb(234 179 8 / var(--tw-bg-opacity))}.bg-yellow-600{--tw-bg-opacity: 1;background-color:rgb(202 138 4 / var(--tw-bg-opacity))}.bg-yellow-700{--tw-bg-opacity: 1;background-color:rgb(161 98 7 / var(--tw-bg-opacity))}.bg-opacity-20{--tw-bg-opacity: .2}.bg-gradient-to-tr{background-image:linear-gradient(to top right,var(--tw-gradient-stops))}.from-gray-700{--tw-gradient-from: #374151 var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(55 65 81 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-pink-400{--tw-gradient-from: #f472b6 var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(244 114 182 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-purple-400{--tw-gradient-from: #c084fc var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(192 132 252 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-slate-700{--tw-gradient-from: #334155 var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(51 65 85 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-white{--tw-gradient-from: #fff var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(255 255 255 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.via-gray-100{--tw-gradient-via-position: ;--tw-gradient-to: rgb(243 244 246 / 0) var(--tw-gradient-to-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), #f3f4f6 var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-gray-900{--tw-gradient-via-position: ;--tw-gradient-to: rgb(17 24 39 / 0) var(--tw-gradient-to-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), #111827 var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-pink-500{--tw-gradient-via-position: ;--tw-gradient-to: rgb(236 72 153 / 0) var(--tw-gradient-to-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), #ec4899 var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-red-500{--tw-gradient-via-position: ;--tw-gradient-to: rgb(239 68 68 / 0) var(--tw-gradient-to-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), #ef4444 var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-slate-900{--tw-gradient-via-position: ;--tw-gradient-to: rgb(15 23 42 / 0) var(--tw-gradient-to-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), #0f172a var(--tw-gradient-via-position), var(--tw-gradient-to)}.to-gray-700{--tw-gradient-to: #374151 var(--tw-gradient-to-position);--tw-gradient-to-position: }.to-red-500{--tw-gradient-to: #ef4444 var(--tw-gradient-to-position);--tw-gradient-to-position: }.to-slate-800{--tw-gradient-to: #1e293b var(--tw-gradient-to-position);--tw-gradient-to-position: }.to-white{--tw-gradient-to: #fff var(--tw-gradient-to-position);--tw-gradient-to-position: }.to-yellow-500{--tw-gradient-to: #eab308 var(--tw-gradient-to-position);--tw-gradient-to-position: }.p-0{padding:0}.p-1{padding:.25rem}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-6{padding:1.5rem}.px-1{padding-left:.25rem;padding-right:.25rem}.px-1\.5{padding-left:.375rem;padding-right:.375rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.py-0{padding-top:0;padding-bottom:0}.py-0\.5{padding-top:.125rem;padding-bottom:.125rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.py-12{padding-top:3rem;padding-bottom:3rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-24{padding-top:6rem;padding-bottom:6rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-6{padding-top:1.5rem;padding-bottom:1.5rem}.pb-4{padding-bottom:1rem}.pl-10{padding-left:2.5rem}.pl-2{padding-left:.5rem}.pr-12{padding-right:3rem}.pt-14{padding-top:3.5rem}.pt-6{padding-top:1.5rem}.text-center{text-align:center}.text-2xl{font-size:1.5rem;line-height:2rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-4xl{font-size:2.25rem;line-height:2.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-black{font-weight:900}.font-bold{font-weight:700}.font-semibold{font-weight:600}.capitalize{text-transform:capitalize}.italic{font-style:italic}.leading-none{line-height:1}.leading-tight{line-height:1.25}.tracking-tighter{letter-spacing:-.05em}.text-black{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity))}.text-blue-400{--tw-text-opacity: 1;color:rgb(96 165 250 / var(--tw-text-opacity))}.text-blue-500{--tw-text-opacity: 1;color:rgb(59 130 246 / var(--tw-text-opacity))}.text-blue-600{--tw-text-opacity: 1;color:rgb(37 99 235 / var(--tw-text-opacity))}.text-emerald-500{--tw-text-opacity: 1;color:rgb(16 185 129 / var(--tw-text-opacity))}.text-emerald-600{--tw-text-opacity: 1;color:rgb(5 150 105 / var(--tw-text-opacity))}.text-gray-300{--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity))}.text-gray-400{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}.text-gray-700{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}.text-red-500{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity))}.text-red-600{--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.text-yellow-500{--tw-text-opacity: 1;color:rgb(234 179 8 / var(--tw-text-opacity))}.text-yellow-600{--tw-text-opacity: 1;color:rgb(202 138 4 / var(--tw-text-opacity))}.opacity-0{opacity:0}.opacity-100{opacity:1}.opacity-50{opacity:.5}.opacity-70{opacity:.7}.opacity-90{opacity:.9}.shadow-2xl{--tw-shadow: 0 25px 50px -12px rgb(0 0 0 / .25);--tw-shadow-colored: 0 25px 50px -12px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-xl{--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline-none{outline:2px solid transparent;outline-offset:2px}.outline{outline-style:solid}.ring{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-blue-300{--tw-ring-opacity: 1;--tw-ring-color: rgb(147 197 253 / var(--tw-ring-opacity))}.ring-blue-700{--tw-ring-opacity: 1;--tw-ring-color: rgb(29 78 216 / var(--tw-ring-opacity))}.ring-emerald-300{--tw-ring-opacity: 1;--tw-ring-color: rgb(110 231 183 / var(--tw-ring-opacity))}.ring-gray-200{--tw-ring-opacity: 1;--tw-ring-color: rgb(229 231 235 / var(--tw-ring-opacity))}.ring-gray-300{--tw-ring-opacity: 1;--tw-ring-color: rgb(209 213 219 / var(--tw-ring-opacity))}.ring-red-300{--tw-ring-opacity: 1;--tw-ring-color: rgb(252 165 165 / var(--tw-ring-opacity))}.ring-yellow-300{--tw-ring-opacity: 1;--tw-ring-color: rgb(253 224 71 / var(--tw-ring-opacity))}.blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-position{transition-property:right,left,top,bottom,margin,padding;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-shadow{transition-property:box-shadow;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-100{transition-duration:.1s}.duration-150{transition-duration:.15s}.duration-500{transition-duration:.5s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}.aside-scrollbars-\[slate\]{scrollbar-width:thin;scrollbar-color:#475569 #0f172a}.aside-scrollbars-\[slate\]::-webkit-scrollbar{width:8px;height:8px}.aside-scrollbars-\[slate\]::-webkit-scrollbar-track{background-color:#0f172a}.aside-scrollbars-\[slate\]::-webkit-scrollbar-thumb{border-radius:.25rem;background-color:#475569}.aside-scrollbars-gray{scrollbar-width:thin;scrollbar-color:#4b5563 #111827}.aside-scrollbars-gray::-webkit-scrollbar{width:8px;height:8px}.aside-scrollbars-gray::-webkit-scrollbar-track{background-color:#111827}.aside-scrollbars-gray::-webkit-scrollbar-thumb{border-radius:.25rem;background-color:#4b5563}.aside-scrollbars-light{scrollbar-width:thin;scrollbar-color:#d1d5db #f3f4f6}.aside-scrollbars-light::-webkit-scrollbar{width:8px;height:8px}.aside-scrollbars-light::-webkit-scrollbar-track{background-color:#f3f4f6}.aside-scrollbars-light::-webkit-scrollbar-thumb{border-radius:.25rem;background-color:#d1d5db}.dark-scrollbars-compat{scrollbar-color:rgb(71,85,105) rgb(30,41,59)}.dark-scrollbars::-webkit-scrollbar-track{--tw-bg-opacity: 1;background-color:rgb(30 41 59 / var(--tw-bg-opacity))}.dark-scrollbars::-webkit-scrollbar-thumb{--tw-bg-opacity: 1;background-color:rgb(71 85 105 / var(--tw-bg-opacity))}.dark-scrollbars::-webkit-scrollbar-thumb:hover{--tw-bg-opacity: 1;background-color:rgb(100 116 139 / var(--tw-bg-opacity))}.scale-enter-active,.scale-leave-active{transition:all .2s ease}.scale-enter-from,.scale-leave-to{opacity:0;transform:scale(.9)}.before\:hidden:before{content:var(--tw-content);display:none}.last\:mb-0:last-child{margin-bottom:0}.last\:mr-0:last-child{margin-right:0}.hover\:border-blue-700:hover{--tw-border-opacity: 1;border-color:rgb(29 78 216 / var(--tw-border-opacity))}.hover\:border-emerald-700:hover{--tw-border-opacity: 1;border-color:rgb(4 120 87 / var(--tw-border-opacity))}.hover\:border-red-700:hover{--tw-border-opacity: 1;border-color:rgb(185 28 28 / var(--tw-border-opacity))}.hover\:border-yellow-700:hover{--tw-border-opacity: 1;border-color:rgb(161 98 7 / var(--tw-border-opacity))}.hover\:bg-blue-600:hover{--tw-bg-opacity: 1;background-color:rgb(37 99 235 / var(--tw-bg-opacity))}.hover\:bg-blue-700:hover{--tw-bg-opacity: 1;background-color:rgb(29 78 216 / var(--tw-bg-opacity))}.hover\:bg-emerald-600:hover{--tw-bg-opacity: 1;background-color:rgb(5 150 105 / var(--tw-bg-opacity))}.hover\:bg-emerald-700:hover{--tw-bg-opacity: 1;background-color:rgb(4 120 87 / var(--tw-bg-opacity))}.hover\:bg-gray-100:hover{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.hover\:bg-gray-200:hover{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}.hover\:bg-gray-700:hover{--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}.hover\:bg-gray-800:hover{--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity))}.hover\:bg-red-600:hover{--tw-bg-opacity: 1;background-color:rgb(220 38 38 / var(--tw-bg-opacity))}.hover\:bg-red-700:hover{--tw-bg-opacity: 1;background-color:rgb(185 28 28 / var(--tw-bg-opacity))}.hover\:bg-yellow-600:hover{--tw-bg-opacity: 1;background-color:rgb(202 138 4 / var(--tw-bg-opacity))}.hover\:bg-yellow-700:hover{--tw-bg-opacity: 1;background-color:rgb(161 98 7 / var(--tw-bg-opacity))}.hover\:text-black:hover{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity))}.hover\:text-blue-500:hover{--tw-text-opacity: 1;color:rgb(59 130 246 / var(--tw-text-opacity))}.hover\:text-blue-600:hover{--tw-text-opacity: 1;color:rgb(37 99 235 / var(--tw-text-opacity))}.hover\:text-gray-100:hover{--tw-text-opacity: 1;color:rgb(243 244 246 / var(--tw-text-opacity))}.hover\:text-white:hover{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.hover\:shadow-lg:hover{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:ring:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}:is(.dark .dark\:border-blue-500){--tw-border-opacity: 1;border-color:rgb(59 130 246 / var(--tw-border-opacity))}:is(.dark .dark\:border-emerald-500){--tw-border-opacity: 1;border-color:rgb(16 185 129 / var(--tw-border-opacity))}:is(.dark .dark\:border-red-500){--tw-border-opacity: 1;border-color:rgb(239 68 68 / var(--tw-border-opacity))}:is(.dark .dark\:border-slate-100){--tw-border-opacity: 1;border-color:rgb(241 245 249 / var(--tw-border-opacity))}:is(.dark .dark\:border-slate-700){--tw-border-opacity: 1;border-color:rgb(51 65 85 / var(--tw-border-opacity))}:is(.dark .dark\:border-slate-800){--tw-border-opacity: 1;border-color:rgb(30 41 59 / var(--tw-border-opacity))}:is(.dark .dark\:border-slate-900){--tw-border-opacity: 1;border-color:rgb(15 23 42 / var(--tw-border-opacity))}:is(.dark .dark\:border-white){--tw-border-opacity: 1;border-color:rgb(255 255 255 / var(--tw-border-opacity))}:is(.dark .dark\:border-yellow-500){--tw-border-opacity: 1;border-color:rgb(234 179 8 / var(--tw-border-opacity))}:is(.dark .dark\:bg-blue-500){--tw-bg-opacity: 1;background-color:rgb(59 130 246 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-blue-600){--tw-bg-opacity: 1;background-color:rgb(37 99 235 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-emerald-500){--tw-bg-opacity: 1;background-color:rgb(16 185 129 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-emerald-600){--tw-bg-opacity: 1;background-color:rgb(5 150 105 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-red-500){--tw-bg-opacity: 1;background-color:rgb(239 68 68 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-red-600){--tw-bg-opacity: 1;background-color:rgb(220 38 38 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-slate-100){--tw-bg-opacity: 1;background-color:rgb(241 245 249 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-slate-700){--tw-bg-opacity: 1;background-color:rgb(51 65 85 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-slate-800){--tw-bg-opacity: 1;background-color:rgb(30 41 59 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-slate-800\/50){background-color:#1e293b80}:is(.dark .dark\:bg-slate-900){--tw-bg-opacity: 1;background-color:rgb(15 23 42 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-slate-900\/70){background-color:#0f172ab3}:is(.dark .dark\:bg-slate-900\/90){background-color:#0f172ae6}:is(.dark .dark\:bg-white){--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-yellow-500){--tw-bg-opacity: 1;background-color:rgb(234 179 8 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-yellow-600){--tw-bg-opacity: 1;background-color:rgb(202 138 4 / var(--tw-bg-opacity))}:is(.dark .dark\:from-gray-700){--tw-gradient-from: #374151 var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(55 65 81 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}:is(.dark .dark\:via-gray-900){--tw-gradient-via-position: ;--tw-gradient-to: rgb(17 24 39 / 0) var(--tw-gradient-to-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), #111827 var(--tw-gradient-via-position), var(--tw-gradient-to)}:is(.dark .dark\:to-gray-700){--tw-gradient-to: #374151 var(--tw-gradient-to-position);--tw-gradient-to-position: }:is(.dark .dark\:text-black){--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity))}:is(.dark .dark\:text-blue-500){--tw-text-opacity: 1;color:rgb(59 130 246 / var(--tw-text-opacity))}:is(.dark .dark\:text-emerald-500){--tw-text-opacity: 1;color:rgb(16 185 129 / var(--tw-text-opacity))}:is(.dark .dark\:text-red-500){--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity))}:is(.dark .dark\:text-slate-100){--tw-text-opacity: 1;color:rgb(241 245 249 / var(--tw-text-opacity))}:is(.dark .dark\:text-slate-300){--tw-text-opacity: 1;color:rgb(203 213 225 / var(--tw-text-opacity))}:is(.dark .dark\:text-slate-400){--tw-text-opacity: 1;color:rgb(148 163 184 / var(--tw-text-opacity))}:is(.dark .dark\:text-white){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}:is(.dark .dark\:text-yellow-500){--tw-text-opacity: 1;color:rgb(234 179 8 / var(--tw-text-opacity))}:is(.dark .dark\:placeholder-gray-400)::-moz-placeholder{--tw-placeholder-opacity: 1;color:rgb(156 163 175 / var(--tw-placeholder-opacity))}:is(.dark .dark\:placeholder-gray-400)::placeholder{--tw-placeholder-opacity: 1;color:rgb(156 163 175 / var(--tw-placeholder-opacity))}:is(.dark .dark\:ring-blue-700){--tw-ring-opacity: 1;--tw-ring-color: rgb(29 78 216 / var(--tw-ring-opacity))}:is(.dark .dark\:ring-emerald-700){--tw-ring-opacity: 1;--tw-ring-color: rgb(4 120 87 / var(--tw-ring-opacity))}:is(.dark .dark\:ring-gray-400){--tw-ring-opacity: 1;--tw-ring-color: rgb(156 163 175 / var(--tw-ring-opacity))}:is(.dark .dark\:ring-gray-500){--tw-ring-opacity: 1;--tw-ring-color: rgb(107 114 128 / var(--tw-ring-opacity))}:is(.dark .dark\:ring-red-700){--tw-ring-opacity: 1;--tw-ring-color: rgb(185 28 28 / var(--tw-ring-opacity))}:is(.dark .dark\:ring-yellow-700){--tw-ring-opacity: 1;--tw-ring-color: rgb(161 98 7 / var(--tw-ring-opacity))}:is(.dark .hover\:dark\:border-blue-600):hover{--tw-border-opacity: 1;border-color:rgb(37 99 235 / var(--tw-border-opacity))}:is(.dark .hover\:dark\:border-emerald-600):hover{--tw-border-opacity: 1;border-color:rgb(5 150 105 / var(--tw-border-opacity))}:is(.dark .hover\:dark\:border-red-600):hover{--tw-border-opacity: 1;border-color:rgb(220 38 38 / var(--tw-border-opacity))}:is(.dark .hover\:dark\:border-yellow-600):hover{--tw-border-opacity: 1;border-color:rgb(202 138 4 / var(--tw-border-opacity))}:is(.dark .hover\:dark\:bg-blue-600):hover{--tw-bg-opacity: 1;background-color:rgb(37 99 235 / var(--tw-bg-opacity))}:is(.dark .hover\:dark\:bg-emerald-600):hover{--tw-bg-opacity: 1;background-color:rgb(5 150 105 / var(--tw-bg-opacity))}:is(.dark .hover\:dark\:bg-red-600):hover{--tw-bg-opacity: 1;background-color:rgb(220 38 38 / var(--tw-bg-opacity))}:is(.dark .hover\:dark\:bg-slate-100):hover{--tw-bg-opacity: 1;background-color:rgb(241 245 249 / var(--tw-bg-opacity))}:is(.dark .hover\:dark\:bg-slate-700):hover{--tw-bg-opacity: 1;background-color:rgb(51 65 85 / var(--tw-bg-opacity))}:is(.dark .hover\:dark\:bg-slate-800):hover{--tw-bg-opacity: 1;background-color:rgb(30 41 59 / var(--tw-bg-opacity))}:is(.dark .hover\:dark\:bg-yellow-600):hover{--tw-bg-opacity: 1;background-color:rgb(202 138 4 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:text-slate-400:hover){--tw-text-opacity: 1;color:rgb(148 163 184 / var(--tw-text-opacity))}:is(.dark .dark\:hover\:text-white:hover){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}:is(.dark .hover\:dark\:text-black):hover{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity))}:is(.dark .hover\:dark\:text-white):hover{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}@media (min-width: 768px){.md\:mx-auto{margin-left:auto;margin-right:auto}.md\:mb-0{margin-bottom:0}.md\:mb-6{margin-bottom:1.5rem}.md\:mr-2{margin-right:.5rem}.md\:mr-6{margin-right:1.5rem}.md\:flex{display:flex}.md\:grid{display:grid}.md\:h-5{height:1.25rem}.md\:w-10\/12{width:83.333333%}.md\:w-3\/5{width:60%}.md\:w-32{width:8rem}.md\:w-5{width:1.25rem}.md\:w-7\/12{width:58.333333%}.md\:auto-cols-max{grid-auto-columns:max-content}.md\:grid-flow-col{grid-auto-flow:column}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:grid-rows-2{grid-template-rows:repeat(2,minmax(0,1fr))}.md\:flex-row{flex-direction:row}.md\:place-content-start{place-content:start}.md\:items-center{align-items:center}.md\:space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.md\:space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(1rem * var(--tw-space-x-reverse));margin-left:calc(1rem * calc(1 - var(--tw-space-x-reverse)))}.md\:space-y-0>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(0px * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(0px * var(--tw-space-y-reverse))}.md\:py-2{padding-top:.5rem;padding-bottom:.5rem}.md\:py-3{padding-top:.75rem;padding-bottom:.75rem}.md\:text-left{text-align:left}.md\:text-right{text-align:right}.md\:text-2xl{font-size:1.5rem;line-height:2rem}.md\:text-5xl{font-size:3rem;line-height:1}.md\:text-lg{font-size:1.125rem;line-height:1.75rem}.md\:text-xl{font-size:1.25rem;line-height:1.75rem}}@media (min-width: 1024px){.lg\:visible{visibility:visible}.lg\:static{position:static}.lg\:absolute{position:absolute}.lg\:left-0{left:0px}.lg\:top-full{top:100%}.lg\:z-20{z-index:20}.lg\:mx-12{margin-left:3rem;margin-right:3rem}.lg\:mx-auto{margin-left:auto;margin-right:auto}.lg\:my-0{margin-top:0;margin-bottom:0}.lg\:my-0\.5{margin-top:.125rem;margin-bottom:.125rem}.lg\:ml-0{margin-left:0}.lg\:mt-0{margin-top:0}.lg\:block{display:block}.lg\:inline-block{display:inline-block}.lg\:flex{display:flex}.lg\:inline-flex{display:inline-flex}.lg\:hidden{display:none}.lg\:h-6{height:1.5rem}.lg\:w-1{width:.25rem}.lg\:w-16{width:4rem}.lg\:w-2\/5{width:40%}.lg\:w-32{width:8rem}.lg\:w-44{width:11rem}.lg\:w-5\/12{width:41.666667%}.lg\:w-6{width:1.5rem}.lg\:w-6\/12{width:50%}.lg\:w-auto{width:auto}.lg\:w-full{width:100%}.lg\:min-w-full{min-width:100%}.lg\:max-w-2xl{max-width:42rem}.lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.lg\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.lg\:items-stretch{align-items:stretch}.lg\:justify-end{justify-content:flex-end}.lg\:justify-center{justify-content:center}.lg\:space-x-0>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(0px * var(--tw-space-x-reverse));margin-left:calc(0px * calc(1 - var(--tw-space-x-reverse)))}.lg\:overflow-visible{overflow:visible}.lg\:rounded-2xl{border-radius:1rem}.lg\:rounded-lg{border-radius:.5rem}.lg\:border{border-width:1px}.lg\:bg-transparent{background-color:transparent}.lg\:bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.lg\:p-0{padding:0}.lg\:px-0{padding-left:0;padding-right:0}.lg\:px-12{padding-left:3rem;padding-right:3rem}.lg\:px-3{padding-left:.75rem;padding-right:.75rem}.lg\:px-6{padding-left:1.5rem;padding-right:1.5rem}.lg\:py-12{padding-top:3rem;padding-bottom:3rem}.lg\:py-2{padding-top:.5rem;padding-bottom:.5rem}.lg\:pl-2{padding-left:.5rem}.lg\:text-2xl{font-size:1.5rem;line-height:2rem}.lg\:text-5xl{font-size:3rem;line-height:1}.lg\:shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.lg\:shadow-none{--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}:is(.dark .lg\:dark\:bg-slate-800){--tw-bg-opacity: 1;background-color:rgb(30 41 59 / var(--tw-bg-opacity))}:is(.dark .lg\:dark\:bg-transparent){background-color:transparent}}@media (min-width: 1280px){.xl\:mx-auto{margin-left:auto;margin-right:auto}.xl\:flex{display:flex}.xl\:hidden{display:none}.xl\:w-4\/12{width:33.333333%}.xl\:max-w-6xl{max-width:72rem}.xl\:pl-60{padding-left:15rem}} diff --git a/assets/index.5987daaf.js b/assets/index.5987daaf.js deleted file mode 100644 index 0f36488..0000000 --- a/assets/index.5987daaf.js +++ /dev/null @@ -1,46 +0,0 @@ -var Hd=Object.defineProperty;var Vd=(e,t,n)=>t in e?Hd(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var ut=(e,t,n)=>(Vd(e,typeof t!="symbol"?t+"":t,n),n);(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))s(i);new MutationObserver(i=>{for(const r of i)if(r.type==="childList")for(const o of r.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&s(o)}).observe(document,{childList:!0,subtree:!0});function n(i){const r={};return i.integrity&&(r.integrity=i.integrity),i.referrerpolicy&&(r.referrerPolicy=i.referrerpolicy),i.crossorigin==="use-credentials"?r.credentials="include":i.crossorigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function s(i){if(i.ep)return;i.ep=!0;const r=n(i);fetch(i.href,r)}})();function ia(e,t){const n=Object.create(null),s=e.split(",");for(let i=0;i!!n[i.toLowerCase()]:i=>!!n[i]}function si(e){if(Q(e)){const t={};for(let n=0;n{if(n){const s=n.split(Bd);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function ot(e){let t="";if(Ht(e))t=e;else if(Q(e))for(let n=0;nVn(n,t))}const Bt=e=>Ht(e)?e:e==null?"":Q(e)||Ct(e)&&(e.toString===Wu||!rt(e.toString))?JSON.stringify(e,zu,2):String(e),zu=(e,t)=>t&&t.__v_isRef?zu(e,t.value):Jn(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,i])=>(n[`${s} =>`]=i,n),{})}:ds(t)?{[`Set(${t.size})`]:[...t.values()]}:Ct(t)&&!Q(t)&&!Uu(t)?String(t):t,At={},Gn=[],ke=()=>{},Ud=()=>!1,qd=/^on[^a-z]/,pr=e=>qd.test(e),oa=e=>e.startsWith("onUpdate:"),jt=Object.assign,aa=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Kd=Object.prototype.hasOwnProperty,pt=(e,t)=>Kd.call(e,t),Q=Array.isArray,Jn=e=>ii(e)==="[object Map]",ds=e=>ii(e)==="[object Set]",rl=e=>ii(e)==="[object Date]",rt=e=>typeof e=="function",Ht=e=>typeof e=="string",Us=e=>typeof e=="symbol",Ct=e=>e!==null&&typeof e=="object",ju=e=>Ct(e)&&rt(e.then)&&rt(e.catch),Wu=Object.prototype.toString,ii=e=>Wu.call(e),Yd=e=>ii(e).slice(8,-1),Uu=e=>ii(e)==="[object Object]",la=e=>Ht(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Ri=ia(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),gr=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Xd=/-(\w)/g,Ie=gr(e=>e.replace(Xd,(t,n)=>n?n.toUpperCase():"")),Zd=/\B([A-Z])/g,ps=gr(e=>e.replace(Zd,"-$1").toLowerCase()),mr=gr(e=>e.charAt(0).toUpperCase()+e.slice(1)),zr=gr(e=>e?`on${mr(e)}`:""),qs=(e,t)=>!Object.is(e,t),Ti=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},zi=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Gd=e=>{const t=Ht(e)?Number(e):NaN;return isNaN(t)?e:t};let ol;const Jd=()=>ol||(ol=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});let oe;class qu{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=oe,!t&&oe&&(this.index=(oe.scopes||(oe.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=oe;try{return oe=this,t()}finally{oe=n}}}on(){oe=this}off(){oe=this.parent}stop(t){if(this._active){let n,s;for(n=0,s=this.effects.length;n{const t=new Set(e);return t.w=0,t.n=0,t},Xu=e=>(e.w&fn)>0,Zu=e=>(e.n&fn)>0,ep=({deps:e})=>{if(e.length)for(let t=0;t{const{deps:t}=e;if(t.length){let n=0;for(let s=0;s{(u==="length"||u>=l)&&a.push(c)})}else switch(n!==void 0&&a.push(o.get(n)),t){case"add":Q(e)?la(n)&&a.push(o.get("length")):(a.push(o.get(Tn)),Jn(e)&&a.push(o.get(Po)));break;case"delete":Q(e)||(a.push(o.get(Tn)),Jn(e)&&a.push(o.get(Po)));break;case"set":Jn(e)&&a.push(o.get(Tn));break}if(a.length===1)a[0]&&Oo(a[0]);else{const l=[];for(const c of a)c&&l.push(...c);Oo(ca(l))}}function Oo(e,t){const n=Q(e)?e:[...e];for(const s of n)s.computed&&ll(s);for(const s of n)s.computed||ll(s)}function ll(e,t){(e!==ve||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}function sp(e,t){var n;return(n=ji.get(e))===null||n===void 0?void 0:n.get(t)}const ip=ia("__proto__,__v_isRef,__isVue"),Qu=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Us)),rp=fa(),op=fa(!1,!0),ap=fa(!0),cl=lp();function lp(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const s=ht(this);for(let r=0,o=this.length;r{e[t]=function(...n){gs();const s=ht(this)[t].apply(this,n);return ms(),s}}),e}function cp(e){const t=ht(this);return ee(t,"has",e),t.hasOwnProperty(e)}function fa(e=!1,t=!1){return function(s,i,r){if(i==="__v_isReactive")return!e;if(i==="__v_isReadonly")return e;if(i==="__v_isShallow")return t;if(i==="__v_raw"&&r===(e?t?Cp:rf:t?sf:nf).get(s))return s;const o=Q(s);if(!e){if(o&&pt(cl,i))return Reflect.get(cl,i,r);if(i==="hasOwnProperty")return cp}const a=Reflect.get(s,i,r);return(Us(i)?Qu.has(i):ip(i))||(e||ee(s,"get",i),t)?a:It(a)?o&&la(i)?a:a.value:Ct(a)?e?of(a):bs(a):a}}const up=tf(),fp=tf(!0);function tf(e=!1){return function(n,s,i,r){let o=n[s];if(es(o)&&It(o)&&!It(i))return!1;if(!e&&(!Wi(i)&&!es(i)&&(o=ht(o),i=ht(i)),!Q(n)&&It(o)&&!It(i)))return o.value=i,!0;const a=Q(n)&&la(s)?Number(s)e,br=e=>Reflect.getPrototypeOf(e);function ui(e,t,n=!1,s=!1){e=e.__v_raw;const i=ht(e),r=ht(t);n||(t!==r&&ee(i,"get",t),ee(i,"get",r));const{has:o}=br(i),a=s?ha:n?ga:Ks;if(o.call(i,t))return a(e.get(t));if(o.call(i,r))return a(e.get(r));e!==i&&e.get(t)}function fi(e,t=!1){const n=this.__v_raw,s=ht(n),i=ht(e);return t||(e!==i&&ee(s,"has",e),ee(s,"has",i)),e===i?n.has(e):n.has(e)||n.has(i)}function hi(e,t=!1){return e=e.__v_raw,!t&&ee(ht(e),"iterate",Tn),Reflect.get(e,"size",e)}function ul(e){e=ht(e);const t=ht(this);return br(t).has.call(t,e)||(t.add(e),We(t,"add",e,e)),this}function fl(e,t){t=ht(t);const n=ht(this),{has:s,get:i}=br(n);let r=s.call(n,e);r||(e=ht(e),r=s.call(n,e));const o=i.call(n,e);return n.set(e,t),r?qs(t,o)&&We(n,"set",e,t):We(n,"add",e,t),this}function hl(e){const t=ht(this),{has:n,get:s}=br(t);let i=n.call(t,e);i||(e=ht(e),i=n.call(t,e)),s&&s.call(t,e);const r=t.delete(e);return i&&We(t,"delete",e,void 0),r}function dl(){const e=ht(this),t=e.size!==0,n=e.clear();return t&&We(e,"clear",void 0,void 0),n}function di(e,t){return function(s,i){const r=this,o=r.__v_raw,a=ht(o),l=t?ha:e?ga:Ks;return!e&&ee(a,"iterate",Tn),o.forEach((c,u)=>s.call(i,l(c),l(u),r))}}function pi(e,t,n){return function(...s){const i=this.__v_raw,r=ht(i),o=Jn(r),a=e==="entries"||e===Symbol.iterator&&o,l=e==="keys"&&o,c=i[e](...s),u=n?ha:t?ga:Ks;return!t&&ee(r,"iterate",l?Po:Tn),{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 Ye(e){return function(...t){return e==="delete"?!1:this}}function bp(){const e={get(r){return ui(this,r)},get size(){return hi(this)},has:fi,add:ul,set:fl,delete:hl,clear:dl,forEach:di(!1,!1)},t={get(r){return ui(this,r,!1,!0)},get size(){return hi(this)},has:fi,add:ul,set:fl,delete:hl,clear:dl,forEach:di(!1,!0)},n={get(r){return ui(this,r,!0)},get size(){return hi(this,!0)},has(r){return fi.call(this,r,!0)},add:Ye("add"),set:Ye("set"),delete:Ye("delete"),clear:Ye("clear"),forEach:di(!0,!1)},s={get(r){return ui(this,r,!0,!0)},get size(){return hi(this,!0)},has(r){return fi.call(this,r,!0)},add:Ye("add"),set:Ye("set"),delete:Ye("delete"),clear:Ye("clear"),forEach:di(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(r=>{e[r]=pi(r,!1,!1),n[r]=pi(r,!0,!1),t[r]=pi(r,!1,!0),s[r]=pi(r,!0,!0)}),[e,n,t,s]}const[_p,yp,xp,vp]=bp();function da(e,t){const n=t?e?vp:xp:e?yp:_p;return(s,i,r)=>i==="__v_isReactive"?!e:i==="__v_isReadonly"?e:i==="__v_raw"?s:Reflect.get(pt(n,i)&&i in s?n:s,i,r)}const wp={get:da(!1,!1)},Mp={get:da(!1,!0)},kp={get:da(!0,!1)},nf=new WeakMap,sf=new WeakMap,rf=new WeakMap,Cp=new WeakMap;function Sp(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Ap(e){return e.__v_skip||!Object.isExtensible(e)?0:Sp(Yd(e))}function bs(e){return es(e)?e:pa(e,!1,ef,wp,nf)}function Ep(e){return pa(e,!1,mp,Mp,sf)}function of(e){return pa(e,!0,gp,kp,rf)}function pa(e,t,n,s,i){if(!Ct(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const r=i.get(e);if(r)return r;const o=Ap(e);if(o===0)return e;const a=new Proxy(e,o===2?s:n);return i.set(e,a),a}function ln(e){return es(e)?ln(e.__v_raw):!!(e&&e.__v_isReactive)}function es(e){return!!(e&&e.__v_isReadonly)}function Wi(e){return!!(e&&e.__v_isShallow)}function af(e){return ln(e)||es(e)}function ht(e){const t=e&&e.__v_raw;return t?ht(t):e}function ns(e){return $i(e,"__v_skip",!0),e}const Ks=e=>Ct(e)?bs(e):e,ga=e=>Ct(e)?of(e):e;function lf(e){an&&ve&&(e=ht(e),Ju(e.dep||(e.dep=ca())))}function cf(e,t){e=ht(e);const n=e.dep;n&&Oo(n)}function It(e){return!!(e&&e.__v_isRef===!0)}function ne(e){return uf(e,!1)}function Lp(e){return uf(e,!0)}function uf(e,t){return It(e)?e:new Pp(e,t)}class Pp{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:ht(t),this._value=n?t:Ks(t)}get value(){return lf(this),this._value}set value(t){const n=this.__v_isShallow||Wi(t)||es(t);t=n?t:ht(t),qs(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:Ks(t),cf(this))}}function D(e){return It(e)?e.value:e}const Op={get:(e,t,n)=>D(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const i=e[t];return It(i)&&!It(n)?(i.value=n,!0):Reflect.set(e,t,n,s)}};function ff(e){return ln(e)?e:new Proxy(e,Op)}function Rp(e){const t=Q(e)?new Array(e.length):{};for(const n in e)t[n]=Dp(e,n);return t}class Tp{constructor(t,n,s){this._object=t,this._key=n,this._defaultValue=s,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return sp(ht(this._object),this._key)}}function Dp(e,t,n){const s=e[t];return It(s)?s:new Tp(e,t,n)}var hf;class Ip{constructor(t,n,s,i){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this[hf]=!1,this._dirty=!0,this.effect=new ua(t,()=>{this._dirty||(this._dirty=!0,cf(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!i,this.__v_isReadonly=s}get value(){const t=ht(this);return lf(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}hf="__v_isReadonly";function Hp(e,t,n=!1){let s,i;const r=rt(e);return r?(s=e,i=ke):(s=e.get,i=e.set),new Ip(s,i,r||!i,n)}function cn(e,t,n,s){let i;try{i=s?e(...s):e()}catch(r){_r(r,t,n)}return i}function pe(e,t,n,s){if(rt(e)){const r=cn(e,t,n,s);return r&&ju(r)&&r.catch(o=>{_r(o,t,n)}),r}const i=[];for(let r=0;r>>1;Xs(qt[s])Re&&qt.splice(t,1)}function Np(e){Q(e)?Qn.push(...e):(!Ne||!Ne.includes(e,e.allowRecurse?An+1:An))&&Qn.push(e),pf()}function pl(e,t=Ys?Re+1:0){for(;tXs(n)-Xs(s)),An=0;Ane.id==null?1/0:e.id,$p=(e,t)=>{const n=Xs(e)-Xs(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function mf(e){Ro=!1,Ys=!0,qt.sort($p);const t=ke;try{for(Re=0;ReHt(d)?d.trim():d)),f&&(i=n.map(zi))}let a,l=s[a=zr(t)]||s[a=zr(Ie(t))];!l&&r&&(l=s[a=zr(ps(t))]),l&&pe(l,e,6,i);const c=s[a+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,pe(c,e,6,i)}}function bf(e,t,n=!1){const s=t.emitsCache,i=s.get(e);if(i!==void 0)return i;const r=e.emits;let o={},a=!1;if(!rt(e)){const l=c=>{const u=bf(c,t,!0);u&&(a=!0,jt(o,u))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!r&&!a?(Ct(e)&&s.set(e,null),null):(Q(r)?r.forEach(l=>o[l]=null):jt(o,r),Ct(e)&&s.set(e,o),o)}function yr(e,t){return!e||!pr(t)?!1:(t=t.slice(2).replace(/Once$/,""),pt(e,t[0].toLowerCase()+t.slice(1))||pt(e,ps(t))||pt(e,t))}let $t=null,_f=null;function Ui(e){const t=$t;return $t=e,_f=e&&e.type.__scopeId||null,t}function yt(e,t=$t,n){if(!t||e._n)return e;const s=(...i)=>{s._d&&kl(-1);const r=Ui(t);let o;try{o=e(...i)}finally{Ui(r),s._d&&kl(1)}return o};return s._n=!0,s._c=!0,s._d=!0,s}function jr(e){const{type:t,vnode:n,proxy:s,withProxy:i,props:r,propsOptions:[o],slots:a,attrs:l,emit:c,render:u,renderCache:f,data:h,setupState:d,ctx:p,inheritAttrs:g}=e;let b,_;const v=Ui(e);try{if(n.shapeFlag&4){const M=i||s;b=Oe(u.call(M,M,f,r,d,h,p)),_=l}else{const M=t;b=Oe(M.length>1?M(r,{attrs:l,slots:a,emit:c}):M(r,null)),_=t.props?l:jp(l)}}catch(M){Hs.length=0,_r(M,e,1),b=B(ge)}let w=b;if(_&&g!==!1){const M=Object.keys(_),{shapeFlag:x}=w;M.length&&x&7&&(o&&M.some(oa)&&(_=Wp(_,o)),w=hn(w,_))}return n.dirs&&(w=hn(w),w.dirs=w.dirs?w.dirs.concat(n.dirs):n.dirs),n.transition&&(w.transition=n.transition),b=w,Ui(v),b}const jp=e=>{let t;for(const n in e)(n==="class"||n==="style"||pr(n))&&((t||(t={}))[n]=e[n]);return t},Wp=(e,t)=>{const n={};for(const s in e)(!oa(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function Up(e,t,n){const{props:s,children:i,component:r}=e,{props:o,children:a,patchFlag:l}=t,c=r.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return s?gl(s,o,c):!!o;if(l&8){const u=t.dynamicProps;for(let f=0;fe.__isSuspense;function Yp(e,t){t&&t.pendingBranch?Q(e)?t.effects.push(...e):t.effects.push(e):Np(e)}function Di(e,t){if(Dt){let n=Dt.provides;const s=Dt.parent&&Dt.parent.provides;s===n&&(n=Dt.provides=Object.create(s)),n[e]=t}}function Ce(e,t,n=!1){const s=Dt||$t;if(s){const i=s.parent==null?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides;if(i&&e in i)return i[e];if(arguments.length>1)return n&&rt(t)?t.call(s.proxy):t}}const gi={};function Dn(e,t,n){return yf(e,t,n)}function yf(e,t,{immediate:n,deep:s,flush:i,onTrack:r,onTrigger:o}=At){const a=Yu()===(Dt==null?void 0:Dt.scope)?Dt:null;let l,c=!1,u=!1;if(It(e)?(l=()=>e.value,c=Wi(e)):ln(e)?(l=()=>e,s=!0):Q(e)?(u=!0,c=e.some(w=>ln(w)||Wi(w)),l=()=>e.map(w=>{if(It(w))return w.value;if(ln(w))return Pn(w);if(rt(w))return cn(w,a,2)})):rt(e)?t?l=()=>cn(e,a,2):l=()=>{if(!(a&&a.isUnmounted))return f&&f(),pe(e,a,3,[h])}:l=ke,t&&s){const w=l;l=()=>Pn(w())}let f,h=w=>{f=_.onStop=()=>{cn(w,a,4)}},d;if(Gs)if(h=ke,t?n&&pe(t,a,3,[l(),u?[]:void 0,h]):l(),i==="sync"){const w=zg();d=w.__watcherHandles||(w.__watcherHandles=[])}else return ke;let p=u?new Array(e.length).fill(gi):gi;const g=()=>{if(!!_.active)if(t){const w=_.run();(s||c||(u?w.some((M,x)=>qs(M,p[x])):qs(w,p)))&&(f&&f(),pe(t,a,3,[w,p===gi?void 0:u&&p[0]===gi?[]:p,h]),p=w)}else _.run()};g.allowRecurse=!!t;let b;i==="sync"?b=g:i==="post"?b=()=>Qt(g,a&&a.suspense):(g.pre=!0,a&&(g.id=a.uid),b=()=>_a(g));const _=new ua(l,b);t?n?g():p=_.run():i==="post"?Qt(_.run.bind(_),a&&a.suspense):_.run();const v=()=>{_.stop(),a&&a.scope&&aa(a.scope.effects,_)};return d&&d.push(v),v}function Xp(e,t,n){const s=this.proxy,i=Ht(e)?e.includes(".")?xf(s,e):()=>s[e]:e.bind(s,s);let r;rt(t)?r=t:(r=t.handler,n=t);const o=Dt;is(this);const a=yf(i,r.bind(s),n);return o?is(o):In(),a}function xf(e,t){const n=t.split(".");return()=>{let s=e;for(let i=0;i{Pn(n,t)});else if(Uu(e))for(const n in e)Pn(e[n],t);return e}function Zp(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return _s(()=>{e.isMounted=!0}),ya(()=>{e.isUnmounting=!0}),e}const ue=[Function,Array],Gp={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:ue,onEnter:ue,onAfterEnter:ue,onEnterCancelled:ue,onBeforeLeave:ue,onLeave:ue,onAfterLeave:ue,onLeaveCancelled:ue,onBeforeAppear:ue,onAppear:ue,onAfterAppear:ue,onAppearCancelled:ue},setup(e,{slots:t}){const n=Ma(),s=Zp();let i;return()=>{const r=t.default&&Mf(t.default(),!0);if(!r||!r.length)return;let o=r[0];if(r.length>1){for(const g of r)if(g.type!==ge){o=g;break}}const a=ht(e),{mode:l}=a;if(s.isLeaving)return Wr(o);const c=ml(o);if(!c)return Wr(o);const u=To(c,a,s,n);Do(c,u);const f=n.subTree,h=f&&ml(f);let d=!1;const{getTransitionKey:p}=c.type;if(p){const g=p();i===void 0?i=g:g!==i&&(i=g,d=!0)}if(h&&h.type!==ge&&(!En(c,h)||d)){const g=To(h,a,s,n);if(Do(h,g),l==="out-in")return s.isLeaving=!0,g.afterLeave=()=>{s.isLeaving=!1,n.update.active!==!1&&n.update()},Wr(o);l==="in-out"&&c.type!==ge&&(g.delayLeave=(b,_,v)=>{const w=wf(s,h);w[String(h.key)]=h,b._leaveCb=()=>{_(),b._leaveCb=void 0,delete u.delayedLeave},u.delayedLeave=v})}return o}}},vf=Gp;function wf(e,t){const{leavingVNodes:n}=e;let s=n.get(t.type);return s||(s=Object.create(null),n.set(t.type,s)),s}function To(e,t,n,s){const{appear:i,mode:r,persisted:o=!1,onBeforeEnter:a,onEnter:l,onAfterEnter:c,onEnterCancelled:u,onBeforeLeave:f,onLeave:h,onAfterLeave:d,onLeaveCancelled:p,onBeforeAppear:g,onAppear:b,onAfterAppear:_,onAppearCancelled:v}=t,w=String(e.key),M=wf(n,e),x=(C,R)=>{C&&pe(C,s,9,R)},O=(C,R)=>{const V=R[1];x(C,R),Q(C)?C.every(Y=>Y.length<=1)&&V():C.length<=1&&V()},A={mode:r,persisted:o,beforeEnter(C){let R=a;if(!n.isMounted)if(i)R=g||a;else return;C._leaveCb&&C._leaveCb(!0);const V=M[w];V&&En(e,V)&&V.el._leaveCb&&V.el._leaveCb(),x(R,[C])},enter(C){let R=l,V=c,Y=u;if(!n.isMounted)if(i)R=b||l,V=_||c,Y=v||u;else return;let P=!1;const X=C._enterCb=nt=>{P||(P=!0,nt?x(Y,[C]):x(V,[C]),A.delayedLeave&&A.delayedLeave(),C._enterCb=void 0)};R?O(R,[C,X]):X()},leave(C,R){const V=String(e.key);if(C._enterCb&&C._enterCb(!0),n.isUnmounting)return R();x(f,[C]);let Y=!1;const P=C._leaveCb=X=>{Y||(Y=!0,R(),X?x(p,[C]):x(d,[C]),C._leaveCb=void 0,M[V]===e&&delete M[V])};M[V]=e,h?O(h,[C,P]):P()},clone(C){return To(C,t,n,s)}};return A}function Wr(e){if(vr(e))return e=hn(e),e.children=null,e}function ml(e){return vr(e)?e.children?e.children[0]:void 0:e}function Do(e,t){e.shapeFlag&6&&e.component?Do(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Mf(e,t=!1,n){let s=[],i=0;for(let r=0;r1)for(let r=0;r!!e.type.__asyncLoader,vr=e=>e.type.__isKeepAlive;function Jp(e,t){kf(e,"a",t)}function Qp(e,t){kf(e,"da",t)}function kf(e,t,n=Dt){const s=e.__wdc||(e.__wdc=()=>{let i=n;for(;i;){if(i.isDeactivated)return;i=i.parent}return e()});if(wr(t,s,n),n){let i=n.parent;for(;i&&i.parent;)vr(i.parent.vnode)&&tg(s,t,n,i),i=i.parent}}function tg(e,t,n,s){const i=wr(t,e,s,!0);Cf(()=>{aa(s[t],i)},n)}function wr(e,t,n=Dt,s=!1){if(n){const i=n[e]||(n[e]=[]),r=t.__weh||(t.__weh=(...o)=>{if(n.isUnmounted)return;gs(),is(n);const a=pe(t,n,e,o);return In(),ms(),a});return s?i.unshift(r):i.push(r),r}}const Ue=e=>(t,n=Dt)=>(!Gs||e==="sp")&&wr(e,(...s)=>t(...s),n),eg=Ue("bm"),_s=Ue("m"),ng=Ue("bu"),sg=Ue("u"),ya=Ue("bum"),Cf=Ue("um"),ig=Ue("sp"),rg=Ue("rtg"),og=Ue("rtc");function ag(e,t=Dt){wr("ec",e,t)}function lg(e,t){const n=$t;if(n===null)return e;const s=Sr(n)||n.proxy,i=e.dirs||(e.dirs=[]);for(let r=0;rt(o,a,void 0,r&&r[a]));else{const o=Object.keys(e);i=new Array(o.length);for(let a=0,l=o.length;aYi(t)?!(t.type===ge||t.type===Ft&&!Ef(t.children)):!0)?e:null}const Io=e=>e?Bf(e)?Sr(e)||e.proxy:Io(e.parent):null,Is=jt(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Io(e.parent),$root:e=>Io(e.root),$emit:e=>e.emit,$options:e=>xa(e),$forceUpdate:e=>e.f||(e.f=()=>_a(e.update)),$nextTick:e=>e.n||(e.n=ba.bind(e.proxy)),$watch:e=>Xp.bind(e)}),Ur=(e,t)=>e!==At&&!e.__isScriptSetup&&pt(e,t),ug={get({_:e},t){const{ctx:n,setupState:s,data:i,props:r,accessCache:o,type:a,appContext:l}=e;let c;if(t[0]!=="$"){const d=o[t];if(d!==void 0)switch(d){case 1:return s[t];case 2:return i[t];case 4:return n[t];case 3:return r[t]}else{if(Ur(s,t))return o[t]=1,s[t];if(i!==At&&pt(i,t))return o[t]=2,i[t];if((c=e.propsOptions[0])&&pt(c,t))return o[t]=3,r[t];if(n!==At&&pt(n,t))return o[t]=4,n[t];Ho&&(o[t]=0)}}const u=Is[t];let f,h;if(u)return t==="$attrs"&&ee(e,"get",t),u(e);if((f=a.__cssModules)&&(f=f[t]))return f;if(n!==At&&pt(n,t))return o[t]=4,n[t];if(h=l.config.globalProperties,pt(h,t))return h[t]},set({_:e},t,n){const{data:s,setupState:i,ctx:r}=e;return Ur(i,t)?(i[t]=n,!0):s!==At&&pt(s,t)?(s[t]=n,!0):pt(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(r[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:i,propsOptions:r}},o){let a;return!!n[o]||e!==At&&pt(e,o)||Ur(t,o)||(a=r[0])&&pt(a,o)||pt(s,o)||pt(Is,o)||pt(i.config.globalProperties,o)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:pt(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};let Ho=!0;function fg(e){const t=xa(e),n=e.proxy,s=e.ctx;Ho=!1,t.beforeCreate&&_l(t.beforeCreate,e,"bc");const{data:i,computed:r,methods:o,watch:a,provide:l,inject:c,created:u,beforeMount:f,mounted:h,beforeUpdate:d,updated:p,activated:g,deactivated:b,beforeDestroy:_,beforeUnmount:v,destroyed:w,unmounted:M,render:x,renderTracked:O,renderTriggered:A,errorCaptured:C,serverPrefetch:R,expose:V,inheritAttrs:Y,components:P,directives:X,filters:nt}=t;if(c&&hg(c,s,null,e.appContext.config.unwrapInjectedRef),o)for(const et in o){const lt=o[et];rt(lt)&&(s[et]=lt.bind(n))}if(i){const et=i.call(n,n);Ct(et)&&(e.data=bs(et))}if(Ho=!0,r)for(const et in r){const lt=r[et],Xt=rt(lt)?lt.bind(n,n):rt(lt.get)?lt.get.bind(n,n):ke,Jt=!rt(lt)&&rt(lt.set)?lt.set.bind(n):ke,Ut=it({get:Xt,set:Jt});Object.defineProperty(s,et,{enumerable:!0,configurable:!0,get:()=>Ut.value,set:Tt=>Ut.value=Tt})}if(a)for(const et in a)Lf(a[et],s,n,et);if(l){const et=rt(l)?l.call(n):l;Reflect.ownKeys(et).forEach(lt=>{Di(lt,et[lt])})}u&&_l(u,e,"c");function tt(et,lt){Q(lt)?lt.forEach(Xt=>et(Xt.bind(n))):lt&&et(lt.bind(n))}if(tt(eg,f),tt(_s,h),tt(ng,d),tt(sg,p),tt(Jp,g),tt(Qp,b),tt(ag,C),tt(og,O),tt(rg,A),tt(ya,v),tt(Cf,M),tt(ig,R),Q(V))if(V.length){const et=e.exposed||(e.exposed={});V.forEach(lt=>{Object.defineProperty(et,lt,{get:()=>n[lt],set:Xt=>n[lt]=Xt})})}else e.exposed||(e.exposed={});x&&e.render===ke&&(e.render=x),Y!=null&&(e.inheritAttrs=Y),P&&(e.components=P),X&&(e.directives=X)}function hg(e,t,n=ke,s=!1){Q(e)&&(e=Vo(e));for(const i in e){const r=e[i];let o;Ct(r)?"default"in r?o=Ce(r.from||i,r.default,!0):o=Ce(r.from||i):o=Ce(r),It(o)&&s?Object.defineProperty(t,i,{enumerable:!0,configurable:!0,get:()=>o.value,set:a=>o.value=a}):t[i]=o}}function _l(e,t,n){pe(Q(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function Lf(e,t,n,s){const i=s.includes(".")?xf(n,s):()=>n[s];if(Ht(e)){const r=t[e];rt(r)&&Dn(i,r)}else if(rt(e))Dn(i,e.bind(n));else if(Ct(e))if(Q(e))e.forEach(r=>Lf(r,t,n,s));else{const r=rt(e.handler)?e.handler.bind(n):t[e.handler];rt(r)&&Dn(i,r,e)}}function xa(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:i,optionsCache:r,config:{optionMergeStrategies:o}}=e.appContext,a=r.get(t);let l;return a?l=a:!i.length&&!n&&!s?l=t:(l={},i.length&&i.forEach(c=>Ki(l,c,o,!0)),Ki(l,t,o)),Ct(t)&&r.set(t,l),l}function Ki(e,t,n,s=!1){const{mixins:i,extends:r}=t;r&&Ki(e,r,n,!0),i&&i.forEach(o=>Ki(e,o,n,!0));for(const o in t)if(!(s&&o==="expose")){const a=dg[o]||n&&n[o];e[o]=a?a(e[o],t[o]):t[o]}return e}const dg={data:yl,props:kn,emits:kn,methods:kn,computed:kn,beforeCreate:Zt,created:Zt,beforeMount:Zt,mounted:Zt,beforeUpdate:Zt,updated:Zt,beforeDestroy:Zt,beforeUnmount:Zt,destroyed:Zt,unmounted:Zt,activated:Zt,deactivated:Zt,errorCaptured:Zt,serverPrefetch:Zt,components:kn,directives:kn,watch:gg,provide:yl,inject:pg};function yl(e,t){return t?e?function(){return jt(rt(e)?e.call(this,this):e,rt(t)?t.call(this,this):t)}:t:e}function pg(e,t){return kn(Vo(e),Vo(t))}function Vo(e){if(Q(e)){const t={};for(let n=0;n0)&&!(o&16)){if(o&8){const u=e.vnode.dynamicProps;for(let f=0;f{l=!0;const[h,d]=Of(f,t,!0);jt(o,h),d&&a.push(...d)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!r&&!l)return Ct(e)&&s.set(e,Gn),Gn;if(Q(r))for(let u=0;u-1,d[1]=g<0||p-1||pt(d,"default"))&&a.push(f)}}}const c=[o,a];return Ct(e)&&s.set(e,c),c}function xl(e){return e[0]!=="$"}function vl(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function wl(e,t){return vl(e)===vl(t)}function Ml(e,t){return Q(t)?t.findIndex(n=>wl(n,e)):rt(t)&&wl(t,e)?0:-1}const Rf=e=>e[0]==="_"||e==="$stable",va=e=>Q(e)?e.map(Oe):[Oe(e)],_g=(e,t,n)=>{if(t._n)return t;const s=yt((...i)=>va(t(...i)),n);return s._c=!1,s},Tf=(e,t,n)=>{const s=e._ctx;for(const i in e){if(Rf(i))continue;const r=e[i];if(rt(r))t[i]=_g(i,r,s);else if(r!=null){const o=va(r);t[i]=()=>o}}},Df=(e,t)=>{const n=va(t);e.slots.default=()=>n},yg=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=ht(t),$i(t,"_",n)):Tf(t,e.slots={})}else e.slots={},t&&Df(e,t);$i(e.slots,Cr,1)},xg=(e,t,n)=>{const{vnode:s,slots:i}=e;let r=!0,o=At;if(s.shapeFlag&32){const a=t._;a?n&&a===1?r=!1:(jt(i,t),!n&&a===1&&delete i._):(r=!t.$stable,Tf(t,i)),o=t}else t&&(Df(e,t),o={default:1});if(r)for(const a in i)!Rf(a)&&!(a in o)&&delete i[a]};function If(){return{app:null,config:{isNativeTag:Ud,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let vg=0;function wg(e,t){return function(s,i=null){rt(s)||(s=Object.assign({},s)),i!=null&&!Ct(i)&&(i=null);const r=If(),o=new Set;let a=!1;const l=r.app={_uid:vg++,_component:s,_props:i,_container:null,_context:r,_instance:null,version:jg,get config(){return r.config},set config(c){},use(c,...u){return o.has(c)||(c&&rt(c.install)?(o.add(c),c.install(l,...u)):rt(c)&&(o.add(c),c(l,...u))),l},mixin(c){return r.mixins.includes(c)||r.mixins.push(c),l},component(c,u){return u?(r.components[c]=u,l):r.components[c]},directive(c,u){return u?(r.directives[c]=u,l):r.directives[c]},mount(c,u,f){if(!a){const h=B(s,i);return h.appContext=r,u&&t?t(h,c):e(h,c,f),a=!0,l._container=c,c.__vue_app__=l,Sr(h.component)||h.component.proxy}},unmount(){a&&(e(null,l._container),delete l._container.__vue_app__)},provide(c,u){return r.provides[c]=u,l}};return l}}function Bo(e,t,n,s,i=!1){if(Q(e)){e.forEach((h,d)=>Bo(h,t&&(Q(t)?t[d]:t),n,s,i));return}if(Ds(s)&&!i)return;const r=s.shapeFlag&4?Sr(s.component)||s.component.proxy:s.el,o=i?null:r,{i:a,r:l}=e,c=t&&t.r,u=a.refs===At?a.refs={}:a.refs,f=a.setupState;if(c!=null&&c!==l&&(Ht(c)?(u[c]=null,pt(f,c)&&(f[c]=null)):It(c)&&(c.value=null)),rt(l))cn(l,a,12,[o,u]);else{const h=Ht(l),d=It(l);if(h||d){const p=()=>{if(e.f){const g=h?pt(f,l)?f[l]:u[l]:l.value;i?Q(g)&&aa(g,r):Q(g)?g.includes(r)||g.push(r):h?(u[l]=[r],pt(f,l)&&(f[l]=u[l])):(l.value=[r],e.k&&(u[e.k]=l.value))}else h?(u[l]=o,pt(f,l)&&(f[l]=o)):d&&(l.value=o,e.k&&(u[e.k]=o))};o?(p.id=-1,Qt(p,n)):p()}}}const Qt=Yp;function Mg(e){return kg(e)}function kg(e,t){const n=Jd();n.__VUE__=!0;const{insert:s,remove:i,patchProp:r,createElement:o,createText:a,createComment:l,setText:c,setElementText:u,parentNode:f,nextSibling:h,setScopeId:d=ke,insertStaticContent:p}=e,g=(m,y,k,S=null,L=null,H=null,z=!1,I=null,F=!!y.dynamicChildren)=>{if(m===y)return;m&&!En(m,y)&&(S=N(m),Tt(m,L,H,!0),m=null),y.patchFlag===-2&&(F=!1,y.dynamicChildren=null);const{type:T,ref:G,shapeFlag:K}=y;switch(T){case kr:b(m,y,k,S);break;case ge:_(m,y,k,S);break;case Ii:m==null&&v(y,k,S,z);break;case Ft:P(m,y,k,S,L,H,z,I,F);break;default:K&1?x(m,y,k,S,L,H,z,I,F):K&6?X(m,y,k,S,L,H,z,I,F):(K&64||K&128)&&T.process(m,y,k,S,L,H,z,I,F,dt)}G!=null&&L&&Bo(G,m&&m.ref,H,y||m,!y)},b=(m,y,k,S)=>{if(m==null)s(y.el=a(y.children),k,S);else{const L=y.el=m.el;y.children!==m.children&&c(L,y.children)}},_=(m,y,k,S)=>{m==null?s(y.el=l(y.children||""),k,S):y.el=m.el},v=(m,y,k,S)=>{[m.el,m.anchor]=p(m.children,y,k,S,m.el,m.anchor)},w=({el:m,anchor:y},k,S)=>{let L;for(;m&&m!==y;)L=h(m),s(m,k,S),m=L;s(y,k,S)},M=({el:m,anchor:y})=>{let k;for(;m&&m!==y;)k=h(m),i(m),m=k;i(y)},x=(m,y,k,S,L,H,z,I,F)=>{z=z||y.type==="svg",m==null?O(y,k,S,L,H,z,I,F):R(m,y,L,H,z,I,F)},O=(m,y,k,S,L,H,z,I)=>{let F,T;const{type:G,props:K,shapeFlag:J,transition:st,dirs:ct}=m;if(F=m.el=o(m.type,H,K&&K.is,K),J&8?u(F,m.children):J&16&&C(m.children,F,null,S,L,H&&G!=="foreignObject",z,I),ct&&bn(m,null,S,"created"),A(F,m,m.scopeId,z,S),K){for(const Mt in K)Mt!=="value"&&!Ri(Mt)&&r(F,Mt,null,K[Mt],H,m.children,S,L,$);"value"in K&&r(F,"value",null,K.value),(T=K.onVnodeBeforeMount)&&Le(T,S,m)}ct&&bn(m,null,S,"beforeMount");const St=(!L||L&&!L.pendingBranch)&&st&&!st.persisted;St&&st.beforeEnter(F),s(F,y,k),((T=K&&K.onVnodeMounted)||St||ct)&&Qt(()=>{T&&Le(T,S,m),St&&st.enter(F),ct&&bn(m,null,S,"mounted")},L)},A=(m,y,k,S,L)=>{if(k&&d(m,k),S)for(let H=0;H{for(let T=F;T{const I=y.el=m.el;let{patchFlag:F,dynamicChildren:T,dirs:G}=y;F|=m.patchFlag&16;const K=m.props||At,J=y.props||At;let st;k&&_n(k,!1),(st=J.onVnodeBeforeUpdate)&&Le(st,k,y,m),G&&bn(y,m,k,"beforeUpdate"),k&&_n(k,!0);const ct=L&&y.type!=="foreignObject";if(T?V(m.dynamicChildren,T,I,k,S,ct,H):z||lt(m,y,I,null,k,S,ct,H,!1),F>0){if(F&16)Y(I,y,K,J,k,S,L);else if(F&2&&K.class!==J.class&&r(I,"class",null,J.class,L),F&4&&r(I,"style",K.style,J.style,L),F&8){const St=y.dynamicProps;for(let Mt=0;Mt{st&&Le(st,k,y,m),G&&bn(y,m,k,"updated")},S)},V=(m,y,k,S,L,H,z)=>{for(let I=0;I{if(k!==S){if(k!==At)for(const I in k)!Ri(I)&&!(I in S)&&r(m,I,k[I],null,z,y.children,L,H,$);for(const I in S){if(Ri(I))continue;const F=S[I],T=k[I];F!==T&&I!=="value"&&r(m,I,T,F,z,y.children,L,H,$)}"value"in S&&r(m,"value",k.value,S.value)}},P=(m,y,k,S,L,H,z,I,F)=>{const T=y.el=m?m.el:a(""),G=y.anchor=m?m.anchor:a("");let{patchFlag:K,dynamicChildren:J,slotScopeIds:st}=y;st&&(I=I?I.concat(st):st),m==null?(s(T,k,S),s(G,k,S),C(y.children,k,G,L,H,z,I,F)):K>0&&K&64&&J&&m.dynamicChildren?(V(m.dynamicChildren,J,k,L,H,z,I),(y.key!=null||L&&y===L.subTree)&&Hf(m,y,!0)):lt(m,y,k,G,L,H,z,I,F)},X=(m,y,k,S,L,H,z,I,F)=>{y.slotScopeIds=I,m==null?y.shapeFlag&512?L.ctx.activate(y,k,S,z,F):nt(y,k,S,L,H,z,F):j(m,y,F)},nt=(m,y,k,S,L,H,z)=>{const I=m.component=Dg(m,S,L);if(vr(m)&&(I.ctx.renderer=dt),Ig(I),I.asyncDep){if(L&&L.registerDep(I,tt),!m.el){const F=I.subTree=B(ge);_(null,F,y,k)}return}tt(I,m,y,k,L,H,z)},j=(m,y,k)=>{const S=y.component=m.component;if(Up(m,y,k))if(S.asyncDep&&!S.asyncResolved){et(S,y,k);return}else S.next=y,Bp(S.update),S.update();else y.el=m.el,S.vnode=y},tt=(m,y,k,S,L,H,z)=>{const I=()=>{if(m.isMounted){let{next:G,bu:K,u:J,parent:st,vnode:ct}=m,St=G,Mt;_n(m,!1),G?(G.el=ct.el,et(m,G,z)):G=ct,K&&Ti(K),(Mt=G.props&&G.props.onVnodeBeforeUpdate)&&Le(Mt,st,G,ct),_n(m,!0);const Vt=jr(m),_e=m.subTree;m.subTree=Vt,g(_e,Vt,f(_e.el),N(_e),m,L,H),G.el=Vt.el,St===null&&qp(m,Vt.el),J&&Qt(J,L),(Mt=G.props&&G.props.onVnodeUpdated)&&Qt(()=>Le(Mt,st,G,ct),L)}else{let G;const{el:K,props:J}=y,{bm:st,m:ct,parent:St}=m,Mt=Ds(y);if(_n(m,!1),st&&Ti(st),!Mt&&(G=J&&J.onVnodeBeforeMount)&&Le(G,St,y),_n(m,!0),K&&at){const Vt=()=>{m.subTree=jr(m),at(K,m.subTree,m,L,null)};Mt?y.type.__asyncLoader().then(()=>!m.isUnmounted&&Vt()):Vt()}else{const Vt=m.subTree=jr(m);g(null,Vt,k,S,m,L,H),y.el=Vt.el}if(ct&&Qt(ct,L),!Mt&&(G=J&&J.onVnodeMounted)){const Vt=y;Qt(()=>Le(G,St,Vt),L)}(y.shapeFlag&256||St&&Ds(St.vnode)&&St.vnode.shapeFlag&256)&&m.a&&Qt(m.a,L),m.isMounted=!0,y=k=S=null}},F=m.effect=new ua(I,()=>_a(T),m.scope),T=m.update=()=>F.run();T.id=m.uid,_n(m,!0),T()},et=(m,y,k)=>{y.component=m;const S=m.vnode.props;m.vnode=y,m.next=null,bg(m,y.props,S,k),xg(m,y.children,k),gs(),pl(),ms()},lt=(m,y,k,S,L,H,z,I,F=!1)=>{const T=m&&m.children,G=m?m.shapeFlag:0,K=y.children,{patchFlag:J,shapeFlag:st}=y;if(J>0){if(J&128){Jt(T,K,k,S,L,H,z,I,F);return}else if(J&256){Xt(T,K,k,S,L,H,z,I,F);return}}st&8?(G&16&&$(T,L,H),K!==T&&u(k,K)):G&16?st&16?Jt(T,K,k,S,L,H,z,I,F):$(T,L,H,!0):(G&8&&u(k,""),st&16&&C(K,k,S,L,H,z,I,F))},Xt=(m,y,k,S,L,H,z,I,F)=>{m=m||Gn,y=y||Gn;const T=m.length,G=y.length,K=Math.min(T,G);let J;for(J=0;JG?$(m,L,H,!0,!1,K):C(y,k,S,L,H,z,I,F,K)},Jt=(m,y,k,S,L,H,z,I,F)=>{let T=0;const G=y.length;let K=m.length-1,J=G-1;for(;T<=K&&T<=J;){const st=m[T],ct=y[T]=F?en(y[T]):Oe(y[T]);if(En(st,ct))g(st,ct,k,null,L,H,z,I,F);else break;T++}for(;T<=K&&T<=J;){const st=m[K],ct=y[J]=F?en(y[J]):Oe(y[J]);if(En(st,ct))g(st,ct,k,null,L,H,z,I,F);else break;K--,J--}if(T>K){if(T<=J){const st=J+1,ct=stJ)for(;T<=K;)Tt(m[T],L,H,!0),T++;else{const st=T,ct=T,St=new Map;for(T=ct;T<=J;T++){const ie=y[T]=F?en(y[T]):Oe(y[T]);ie.key!=null&&St.set(ie.key,T)}let Mt,Vt=0;const _e=J-ct+1;let jn=!1,nl=0;const vs=new Array(_e);for(T=0;T<_e;T++)vs[T]=0;for(T=st;T<=K;T++){const ie=m[T];if(Vt>=_e){Tt(ie,L,H,!0);continue}let Ee;if(ie.key!=null)Ee=St.get(ie.key);else for(Mt=ct;Mt<=J;Mt++)if(vs[Mt-ct]===0&&En(ie,y[Mt])){Ee=Mt;break}Ee===void 0?Tt(ie,L,H,!0):(vs[Ee-ct]=T+1,Ee>=nl?nl=Ee:jn=!0,g(ie,y[Ee],k,null,L,H,z,I,F),Vt++)}const sl=jn?Cg(vs):Gn;for(Mt=sl.length-1,T=_e-1;T>=0;T--){const ie=ct+T,Ee=y[ie],il=ie+1{const{el:H,type:z,transition:I,children:F,shapeFlag:T}=m;if(T&6){Ut(m.component.subTree,y,k,S);return}if(T&128){m.suspense.move(y,k,S);return}if(T&64){z.move(m,y,k,dt);return}if(z===Ft){s(H,y,k);for(let K=0;KI.enter(H),L);else{const{leave:K,delayLeave:J,afterLeave:st}=I,ct=()=>s(H,y,k),St=()=>{K(H,()=>{ct(),st&&st()})};J?J(H,ct,St):St()}else s(H,y,k)},Tt=(m,y,k,S=!1,L=!1)=>{const{type:H,props:z,ref:I,children:F,dynamicChildren:T,shapeFlag:G,patchFlag:K,dirs:J}=m;if(I!=null&&Bo(I,null,k,m,!0),G&256){y.ctx.deactivate(m);return}const st=G&1&&J,ct=!Ds(m);let St;if(ct&&(St=z&&z.onVnodeBeforeUnmount)&&Le(St,y,m),G&6)E(m.component,k,S);else{if(G&128){m.suspense.unmount(k,S);return}st&&bn(m,null,y,"beforeUnmount"),G&64?m.type.remove(m,y,k,L,dt,S):T&&(H!==Ft||K>0&&K&64)?$(T,y,k,!1,!0):(H===Ft&&K&384||!L&&G&16)&&$(F,y,k),S&&ce(m)}(ct&&(St=z&&z.onVnodeUnmounted)||st)&&Qt(()=>{St&&Le(St,y,m),st&&bn(m,null,y,"unmounted")},k)},ce=m=>{const{type:y,el:k,anchor:S,transition:L}=m;if(y===Ft){Ke(k,S);return}if(y===Ii){M(m);return}const H=()=>{i(k),L&&!L.persisted&&L.afterLeave&&L.afterLeave()};if(m.shapeFlag&1&&L&&!L.persisted){const{leave:z,delayLeave:I}=L,F=()=>z(k,H);I?I(m.el,H,F):F()}else H()},Ke=(m,y)=>{let k;for(;m!==y;)k=h(m),i(m),m=k;i(y)},E=(m,y,k)=>{const{bum:S,scope:L,update:H,subTree:z,um:I}=m;S&&Ti(S),L.stop(),H&&(H.active=!1,Tt(z,m,y,k)),I&&Qt(I,y),Qt(()=>{m.isUnmounted=!0},y),y&&y.pendingBranch&&!y.isUnmounted&&m.asyncDep&&!m.asyncResolved&&m.suspenseId===y.pendingId&&(y.deps--,y.deps===0&&y.resolve())},$=(m,y,k,S=!1,L=!1,H=0)=>{for(let z=H;zm.shapeFlag&6?N(m.component.subTree):m.shapeFlag&128?m.suspense.next():h(m.anchor||m.el),Z=(m,y,k)=>{m==null?y._vnode&&Tt(y._vnode,null,null,!0):g(y._vnode||null,m,y,null,null,null,k),pl(),gf(),y._vnode=m},dt={p:g,um:Tt,m:Ut,r:ce,mt:nt,mc:C,pc:lt,pbc:V,n:N,o:e};let Lt,at;return t&&([Lt,at]=t(dt)),{render:Z,hydrate:Lt,createApp:wg(Z,Lt)}}function _n({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Hf(e,t,n=!1){const s=e.children,i=t.children;if(Q(s)&&Q(i))for(let r=0;r>1,e[n[a]]0&&(t[s]=n[r-1]),n[r]=s)}}for(r=n.length,o=n[r-1];r-- >0;)n[r]=o,o=t[o];return n}const Sg=e=>e.__isTeleport,Ft=Symbol(void 0),kr=Symbol(void 0),ge=Symbol(void 0),Ii=Symbol(void 0),Hs=[];let we=null;function q(e=!1){Hs.push(we=e?null:[])}function Ag(){Hs.pop(),we=Hs[Hs.length-1]||null}let Zs=1;function kl(e){Zs+=e}function Vf(e){return e.dynamicChildren=Zs>0?we||Gn:null,Ag(),Zs>0&&we&&we.push(e),e}function bt(e,t,n,s,i,r){return Vf(U(e,t,n,s,i,r,!0))}function _t(e,t,n,s,i){return Vf(B(e,t,n,s,i,!0))}function Yi(e){return e?e.__v_isVNode===!0:!1}function En(e,t){return e.type===t.type&&e.key===t.key}const Cr="__vInternal",Ff=({key:e})=>e!=null?e:null,Hi=({ref:e,ref_key:t,ref_for:n})=>e!=null?Ht(e)||It(e)||rt(e)?{i:$t,r:e,k:t,f:!!n}:e:null;function U(e,t=null,n=null,s=0,i=null,r=e===Ft?0:1,o=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Ff(t),ref:t&&Hi(t),scopeId:_f,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:r,patchFlag:s,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:$t};return a?(wa(l,n),r&128&&e.normalize(l)):n&&(l.shapeFlag|=Ht(n)?8:16),Zs>0&&!o&&we&&(l.patchFlag>0||r&6)&&l.patchFlag!==32&&we.push(l),l}const B=Eg;function Eg(e,t=null,n=null,s=0,i=null,r=!1){if((!e||e===Af)&&(e=ge),Yi(e)){const a=hn(e,t,!0);return n&&wa(a,n),Zs>0&&!r&&we&&(a.shapeFlag&6?we[we.indexOf(e)]=a:we.push(a)),a.patchFlag|=-2,a}if(Bg(e)&&(e=e.__vccOpts),t){t=Lg(t);let{class:a,style:l}=t;a&&!Ht(a)&&(t.class=ot(a)),Ct(l)&&(af(l)&&!Q(l)&&(l=jt({},l)),t.style=si(l))}const o=Ht(e)?1:Kp(e)?128:Sg(e)?64:Ct(e)?4:rt(e)?2:0;return U(e,t,n,s,i,o,r,!0)}function Lg(e){return e?af(e)||Cr in e?jt({},e):e:null}function hn(e,t,n=!1){const{props:s,ref:i,patchFlag:r,children:o}=e,a=t?Og(s||{},t):s;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:a,key:a&&Ff(a),ref:t&&t.ref?n&&i?Q(i)?i.concat(Hi(t)):[i,Hi(t)]:Hi(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:o,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Ft?r===-1?16:r|16:r,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&hn(e.ssContent),ssFallback:e.ssFallback&&hn(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function ss(e=" ",t=0){return B(kr,null,e,t)}function Pg(e,t){const n=B(Ii,null,e);return n.staticCount=t,n}function Kt(e="",t=!1){return t?(q(),_t(ge,null,e)):B(ge,null,e)}function Oe(e){return e==null||typeof e=="boolean"?B(ge):Q(e)?B(Ft,null,e.slice()):typeof e=="object"?en(e):B(kr,null,String(e))}function en(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:hn(e)}function wa(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(Q(t))n=16;else if(typeof t=="object")if(s&65){const i=t.default;i&&(i._c&&(i._d=!1),wa(e,i()),i._c&&(i._d=!0));return}else{n=32;const i=t._;!i&&!(Cr in t)?t._ctx=$t:i===3&&$t&&($t.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else rt(t)?(t={default:t,_ctx:$t},n=32):(t=String(t),s&64?(n=16,t=[ss(t)]):n=8);e.children=t,e.shapeFlag|=n}function Og(...e){const t={};for(let n=0;nDt||$t,is=e=>{Dt=e,e.scope.on()},In=()=>{Dt&&Dt.scope.off(),Dt=null};function Bf(e){return e.vnode.shapeFlag&4}let Gs=!1;function Ig(e,t=!1){Gs=t;const{props:n,children:s}=e.vnode,i=Bf(e);mg(e,n,i,t),yg(e,s);const r=i?Hg(e,t):void 0;return Gs=!1,r}function Hg(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=ns(new Proxy(e.ctx,ug));const{setup:s}=n;if(s){const i=e.setupContext=s.length>1?$f(e):null;is(e),gs();const r=cn(s,e,0,[e.props,i]);if(ms(),In(),ju(r)){if(r.then(In,In),t)return r.then(o=>{Cl(e,o,t)}).catch(o=>{_r(o,e,0)});e.asyncDep=r}else Cl(e,r,t)}else Nf(e,t)}function Cl(e,t,n){rt(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Ct(t)&&(e.setupState=ff(t)),Nf(e,n)}let Sl;function Nf(e,t,n){const s=e.type;if(!e.render){if(!t&&Sl&&!s.render){const i=s.template||xa(e).template;if(i){const{isCustomElement:r,compilerOptions:o}=e.appContext.config,{delimiters:a,compilerOptions:l}=s,c=jt(jt({isCustomElement:r,delimiters:a},o),l);s.render=Sl(i,c)}}e.render=s.render||ke}is(e),gs(),fg(e),ms(),In()}function Vg(e){return new Proxy(e.attrs,{get(t,n){return ee(e,"get","$attrs"),t[n]}})}function $f(e){const t=s=>{e.exposed=s||{}};let n;return{get attrs(){return n||(n=Vg(e))},slots:e.slots,emit:e.emit,expose:t}}function Sr(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(ff(ns(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Is)return Is[n](e)},has(t,n){return n in t||n in Is}}))}function Fg(e,t=!0){return rt(e)?e.displayName||e.name:e.name||t&&e.__name}function Bg(e){return rt(e)&&"__vccOpts"in e}const it=(e,t)=>Hp(e,t,Gs);function zf(){return Ng().slots}function Ng(){const e=Ma();return e.setupContext||(e.setupContext=$f(e))}function je(e,t,n){const s=arguments.length;return s===2?Ct(t)&&!Q(t)?Yi(t)?B(e,null,[t]):B(e,t):B(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&Yi(n)&&(n=[n]),B(e,t,n))}const $g=Symbol(""),zg=()=>Ce($g),jg="3.2.47",Wg="http://www.w3.org/2000/svg",Ln=typeof document<"u"?document:null,Al=Ln&&Ln.createElement("template"),Ug={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const i=t?Ln.createElementNS(Wg,e):Ln.createElement(e,n?{is:n}:void 0);return e==="select"&&s&&s.multiple!=null&&i.setAttribute("multiple",s.multiple),i},createText:e=>Ln.createTextNode(e),createComment:e=>Ln.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Ln.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,i,r){const o=n?n.previousSibling:t.lastChild;if(i&&(i===r||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),n),!(i===r||!(i=i.nextSibling)););else{Al.innerHTML=s?`${e}`:e;const a=Al.content;if(s){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}t.insertBefore(a,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};function qg(e,t,n){const s=e._vtc;s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}function Kg(e,t,n){const s=e.style,i=Ht(n);if(n&&!i){if(t&&!Ht(t))for(const r in t)n[r]==null&&No(s,r,"");for(const r in n)No(s,r,n[r])}else{const r=s.display;i?t!==n&&(s.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(s.display=r)}}const El=/\s*!important$/;function No(e,t,n){if(Q(n))n.forEach(s=>No(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=Yg(e,t);El.test(n)?e.setProperty(ps(s),n.replace(El,""),"important"):e[s]=n}}const Ll=["Webkit","Moz","ms"],qr={};function Yg(e,t){const n=qr[t];if(n)return n;let s=Ie(t);if(s!=="filter"&&s in e)return qr[t]=s;s=mr(s);for(let i=0;iKr||(tm.then(()=>Kr=0),Kr=Date.now());function nm(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;pe(sm(s,n.value),t,5,[s])};return n.value=e,n.attached=em(),n}function sm(e,t){if(Q(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>i=>!i._stopped&&s&&s(i))}else return t}const Rl=/^on[a-z]/,im=(e,t,n,s,i=!1,r,o,a,l)=>{t==="class"?qg(e,s,i):t==="style"?Kg(e,n,s):pr(t)?oa(t)||Jg(e,t,n,s,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):rm(e,t,s,i))?Zg(e,t,s,r,o,a,l):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),Xg(e,t,s,i))};function rm(e,t,n,s){return s?!!(t==="innerHTML"||t==="textContent"||t in e&&Rl.test(t)&&rt(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||Rl.test(t)&&Ht(n)?!1:t in e}const Xe="transition",ws="animation",Xi=(e,{slots:t})=>je(vf,om(e),t);Xi.displayName="Transition";const jf={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};Xi.props=jt({},vf.props,jf);const yn=(e,t=[])=>{Q(e)?e.forEach(n=>n(...t)):e&&e(...t)},Tl=e=>e?Q(e)?e.some(t=>t.length>1):e.length>1:!1;function om(e){const t={};for(const P in e)P in jf||(t[P]=e[P]);if(e.css===!1)return t;const{name:n="v",type:s,duration:i,enterFromClass:r=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:l=r,appearActiveClass:c=o,appearToClass:u=a,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:h=`${n}-leave-active`,leaveToClass:d=`${n}-leave-to`}=e,p=am(i),g=p&&p[0],b=p&&p[1],{onBeforeEnter:_,onEnter:v,onEnterCancelled:w,onLeave:M,onLeaveCancelled:x,onBeforeAppear:O=_,onAppear:A=v,onAppearCancelled:C=w}=t,R=(P,X,nt)=>{xn(P,X?u:a),xn(P,X?c:o),nt&&nt()},V=(P,X)=>{P._isLeaving=!1,xn(P,f),xn(P,d),xn(P,h),X&&X()},Y=P=>(X,nt)=>{const j=P?A:v,tt=()=>R(X,P,nt);yn(j,[X,tt]),Dl(()=>{xn(X,P?l:r),Ze(X,P?u:a),Tl(j)||Il(X,s,g,tt)})};return jt(t,{onBeforeEnter(P){yn(_,[P]),Ze(P,r),Ze(P,o)},onBeforeAppear(P){yn(O,[P]),Ze(P,l),Ze(P,c)},onEnter:Y(!1),onAppear:Y(!0),onLeave(P,X){P._isLeaving=!0;const nt=()=>V(P,X);Ze(P,f),um(),Ze(P,h),Dl(()=>{!P._isLeaving||(xn(P,f),Ze(P,d),Tl(M)||Il(P,s,b,nt))}),yn(M,[P,nt])},onEnterCancelled(P){R(P,!1),yn(w,[P])},onAppearCancelled(P){R(P,!0),yn(C,[P])},onLeaveCancelled(P){V(P),yn(x,[P])}})}function am(e){if(e==null)return null;if(Ct(e))return[Yr(e.enter),Yr(e.leave)];{const t=Yr(e);return[t,t]}}function Yr(e){return Gd(e)}function Ze(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e._vtc||(e._vtc=new Set)).add(t)}function xn(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const{_vtc:n}=e;n&&(n.delete(t),n.size||(e._vtc=void 0))}function Dl(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let lm=0;function Il(e,t,n,s){const i=e._endId=++lm,r=()=>{i===e._endId&&s()};if(n)return setTimeout(r,n);const{type:o,timeout:a,propCount:l}=cm(e,t);if(!o)return s();const c=o+"end";let u=0;const f=()=>{e.removeEventListener(c,h),r()},h=d=>{d.target===e&&++u>=l&&f()};setTimeout(()=>{u(n[p]||"").split(", "),i=s(`${Xe}Delay`),r=s(`${Xe}Duration`),o=Hl(i,r),a=s(`${ws}Delay`),l=s(`${ws}Duration`),c=Hl(a,l);let u=null,f=0,h=0;t===Xe?o>0&&(u=Xe,f=o,h=r.length):t===ws?c>0&&(u=ws,f=c,h=l.length):(f=Math.max(o,c),u=f>0?o>c?Xe:ws:null,h=u?u===Xe?r.length:l.length:0);const d=u===Xe&&/\b(transform|all)(,|$)/.test(s(`${Xe}Property`).toString());return{type:u,timeout:f,propCount:h,hasTransform:d}}function Hl(e,t){for(;e.lengthVl(n)+Vl(e[s])))}function Vl(e){return Number(e.slice(0,-1).replace(",","."))*1e3}function um(){return document.body.offsetHeight}const dn=e=>{const t=e.props["onUpdate:modelValue"]||!1;return Q(t)?n=>Ti(t,n):t};function fm(e){e.target.composing=!0}function Fl(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Bl={created(e,{modifiers:{lazy:t,trim:n,number:s}},i){e._assign=dn(i);const r=s||i.props&&i.props.type==="number";ze(e,t?"change":"input",o=>{if(o.target.composing)return;let a=e.value;n&&(a=a.trim()),r&&(a=zi(a)),e._assign(a)}),n&&ze(e,"change",()=>{e.value=e.value.trim()}),t||(ze(e,"compositionstart",fm),ze(e,"compositionend",Fl),ze(e,"change",Fl))},mounted(e,{value:t}){e.value=t==null?"":t},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:s,number:i}},r){if(e._assign=dn(r),e.composing||document.activeElement===e&&e.type!=="range"&&(n||s&&e.value.trim()===t||(i||e.type==="number")&&zi(e.value)===t))return;const o=t==null?"":t;e.value!==o&&(e.value=o)}},hm={deep:!0,created(e,t,n){e._assign=dn(n),ze(e,"change",()=>{const s=e._modelValue,i=rs(e),r=e.checked,o=e._assign;if(Q(s)){const a=ra(s,i),l=a!==-1;if(r&&!l)o(s.concat(i));else if(!r&&l){const c=[...s];c.splice(a,1),o(c)}}else if(ds(s)){const a=new Set(s);r?a.add(i):a.delete(i),o(a)}else o(Wf(e,r))})},mounted:Nl,beforeUpdate(e,t,n){e._assign=dn(n),Nl(e,t,n)}};function Nl(e,{value:t,oldValue:n},s){e._modelValue=t,Q(t)?e.checked=ra(t,s.props.value)>-1:ds(t)?e.checked=t.has(s.props.value):t!==n&&(e.checked=Vn(t,Wf(e,!0)))}const dm={created(e,{value:t},n){e.checked=Vn(t,n.props.value),e._assign=dn(n),ze(e,"change",()=>{e._assign(rs(e))})},beforeUpdate(e,{value:t,oldValue:n},s){e._assign=dn(s),t!==n&&(e.checked=Vn(t,s.props.value))}},pm={deep:!0,created(e,{value:t,modifiers:{number:n}},s){const i=ds(t);ze(e,"change",()=>{const r=Array.prototype.filter.call(e.options,o=>o.selected).map(o=>n?zi(rs(o)):rs(o));e._assign(e.multiple?i?new Set(r):r:r[0])}),e._assign=dn(s)},mounted(e,{value:t}){$l(e,t)},beforeUpdate(e,t,n){e._assign=dn(n)},updated(e,{value:t}){$l(e,t)}};function $l(e,t){const n=e.multiple;if(!(n&&!Q(t)&&!ds(t))){for(let s=0,i=e.options.length;s-1:r.selected=t.has(o);else if(Vn(rs(r),t)){e.selectedIndex!==s&&(e.selectedIndex=s);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function rs(e){return"_value"in e?e._value:e.value}function Wf(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const iw={created(e,t,n){mi(e,t,n,null,"created")},mounted(e,t,n){mi(e,t,n,null,"mounted")},beforeUpdate(e,t,n,s){mi(e,t,n,s,"beforeUpdate")},updated(e,t,n,s){mi(e,t,n,s,"updated")}};function gm(e,t){switch(e){case"SELECT":return pm;case"TEXTAREA":return Bl;default:switch(t){case"checkbox":return hm;case"radio":return dm;default:return Bl}}}function mi(e,t,n,s,i){const o=gm(e.tagName,n.props&&n.props.type)[i];o&&o(e,t,n,s)}const mm=["ctrl","shift","alt","meta"],bm={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>mm.some(n=>e[`${n}Key`]&&!t.includes(n))},Zi=(e,t)=>(n,...s)=>{for(let i=0;i{Ms(e,!1)}):Ms(e,t))},beforeUnmount(e,{value:t}){Ms(e,t)}};function Ms(e,t){e.style.display=t?e._vod:"none"}const ym=jt({patchProp:im},Ug);let zl;function xm(){return zl||(zl=Mg(ym))}const vm=(...e)=>{const t=xm().createApp(...e),{mount:n}=t;return t.mount=s=>{const i=wm(s);if(!i)return;const r=t._component;!rt(r)&&!r.render&&!r.template&&(r.template=i.innerHTML),i.innerHTML="";const o=n(i,!1,i instanceof SVGElement);return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),o},t};function wm(e){return Ht(e)?document.querySelector(e):e}var Mm=!1;/*! - * pinia v2.0.33 - * (c) 2023 Eduardo San Martin Morote - * @license MIT - */let Uf;const Ar=e=>Uf=e,qf=Symbol();function $o(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var Vs;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(Vs||(Vs={}));function km(){const e=Ku(!0),t=e.run(()=>ne({}));let n=[],s=[];const i=ns({install(r){Ar(i),i._a=r,r.provide(qf,i),r.config.globalProperties.$pinia=i,s.forEach(o=>n.push(o)),s=[]},use(r){return!this._a&&!Mm?s.push(r):n.push(r),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return i}const Kf=()=>{};function jl(e,t,n,s=Kf){e.push(t);const i=()=>{const r=e.indexOf(t);r>-1&&(e.splice(r,1),s())};return!n&&Yu()&&tp(i),i}function Wn(e,...t){e.slice().forEach(n=>{n(...t)})}function zo(e,t){e instanceof Map&&t instanceof Map&&t.forEach((n,s)=>e.set(s,n)),e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const s=t[n],i=e[n];$o(i)&&$o(s)&&e.hasOwnProperty(n)&&!It(s)&&!ln(s)?e[n]=zo(i,s):e[n]=s}return e}const Cm=Symbol();function Sm(e){return!$o(e)||!e.hasOwnProperty(Cm)}const{assign:Qe}=Object;function Am(e){return!!(It(e)&&e.effect)}function Em(e,t,n,s){const{state:i,actions:r,getters:o}=t,a=n.state.value[e];let l;function c(){a||(n.state.value[e]=i?i():{});const u=Rp(n.state.value[e]);return Qe(u,r,Object.keys(o||{}).reduce((f,h)=>(f[h]=ns(it(()=>{Ar(n);const d=n._s.get(e);return o[h].call(d,d)})),f),{}))}return l=Yf(e,c,t,n,s,!0),l}function Yf(e,t,n={},s,i,r){let o;const a=Qe({actions:{}},n),l={deep:!0};let c,u,f=ns([]),h=ns([]),d;const p=s.state.value[e];!r&&!p&&(s.state.value[e]={}),ne({});let g;function b(A){let C;c=u=!1,typeof A=="function"?(A(s.state.value[e]),C={type:Vs.patchFunction,storeId:e,events:d}):(zo(s.state.value[e],A),C={type:Vs.patchObject,payload:A,storeId:e,events:d});const R=g=Symbol();ba().then(()=>{g===R&&(c=!0)}),u=!0,Wn(f,C,s.state.value[e])}const _=r?function(){const{state:C}=n,R=C?C():{};this.$patch(V=>{Qe(V,R)})}:Kf;function v(){o.stop(),f=[],h=[],s._s.delete(e)}function w(A,C){return function(){Ar(s);const R=Array.from(arguments),V=[],Y=[];function P(j){V.push(j)}function X(j){Y.push(j)}Wn(h,{args:R,name:A,store:x,after:P,onError:X});let nt;try{nt=C.apply(this&&this.$id===e?this:x,R)}catch(j){throw Wn(Y,j),j}return nt instanceof Promise?nt.then(j=>(Wn(V,j),j)).catch(j=>(Wn(Y,j),Promise.reject(j))):(Wn(V,nt),nt)}}const M={_p:s,$id:e,$onAction:jl.bind(null,h),$patch:b,$reset:_,$subscribe(A,C={}){const R=jl(f,A,C.detached,()=>V()),V=o.run(()=>Dn(()=>s.state.value[e],Y=>{(C.flush==="sync"?u:c)&&A({storeId:e,type:Vs.direct,events:d},Y)},Qe({},l,C)));return R},$dispose:v},x=bs(M);s._s.set(e,x);const O=s._e.run(()=>(o=Ku(),o.run(()=>t())));for(const A in O){const C=O[A];if(It(C)&&!Am(C)||ln(C))r||(p&&Sm(C)&&(It(C)?C.value=p[A]:zo(C,p[A])),s.state.value[e][A]=C);else if(typeof C=="function"){const R=w(A,C);O[A]=R,a.actions[A]=C}}return Qe(x,O),Qe(ht(x),O),Object.defineProperty(x,"$state",{get:()=>s.state.value[e],set:A=>{b(C=>{Qe(C,A)})}}),s._p.forEach(A=>{Qe(x,o.run(()=>A({store:x,app:s._a,pinia:s,options:a})))}),p&&r&&n.hydrate&&n.hydrate(x.$state,p),c=!0,u=!0,x}function Xf(e,t,n){let s,i;const r=typeof t=="function";typeof e=="string"?(s=e,i=r?n:t):(i=e,s=e.id);function o(a,l){const c=Ma();return a=a||c&&Ce(qf,null),a&&Ar(a),a=Uf,a._s.has(s)||(r?Yf(s,t,i,a):Em(s,i,a)),a._s.get(s)}return o.$id=s,o}/*! - * vue-router v4.1.6 - * (c) 2022 Eduardo San Martin Morote - * @license MIT - */const Zn=typeof window<"u";function Lm(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const vt=Object.assign;function Xr(e,t){const n={};for(const s in t){const i=t[s];n[s]=Se(i)?i.map(e):e(i)}return n}const Fs=()=>{},Se=Array.isArray,Pm=/\/$/,Om=e=>e.replace(Pm,"");function Zr(e,t,n="/"){let s,i={},r="",o="";const a=t.indexOf("#");let l=t.indexOf("?");return a=0&&(l=-1),l>-1&&(s=t.slice(0,l),r=t.slice(l+1,a>-1?a:t.length),i=e(r)),a>-1&&(s=s||t.slice(0,a),o=t.slice(a,t.length)),s=Im(s!=null?s:t,n),{fullPath:s+(r&&"?")+r+o,path:s,query:i,hash:o}}function Rm(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Wl(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Tm(e,t,n){const s=t.matched.length-1,i=n.matched.length-1;return s>-1&&s===i&&os(t.matched[s],n.matched[i])&&Zf(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function os(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Zf(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Dm(e[n],t[n]))return!1;return!0}function Dm(e,t){return Se(e)?Ul(e,t):Se(t)?Ul(t,e):e===t}function Ul(e,t){return Se(t)?e.length===t.length&&e.every((n,s)=>n===t[s]):e.length===1&&e[0]===t}function Im(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),s=e.split("/");let i=n.length-1,r,o;for(r=0;r1&&i--;else break;return n.slice(0,i).join("/")+"/"+s.slice(r-(r===s.length?1:0)).join("/")}var Js;(function(e){e.pop="pop",e.push="push"})(Js||(Js={}));var Bs;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Bs||(Bs={}));function Hm(e){if(!e)if(Zn){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Om(e)}const Vm=/^[^#]+#/;function Fm(e,t){return e.replace(Vm,"#")+t}function Bm(e,t){const n=document.documentElement.getBoundingClientRect(),s=e.getBoundingClientRect();return{behavior:t.behavior,left:s.left-n.left-(t.left||0),top:s.top-n.top-(t.top||0)}}const Er=()=>({left:window.pageXOffset,top:window.pageYOffset});function Nm(e){let t;if("el"in e){const n=e.el,s=typeof n=="string"&&n.startsWith("#"),i=typeof n=="string"?s?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!i)return;t=Bm(i,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function ql(e,t){return(history.state?history.state.position-t:-1)+e}const jo=new Map;function $m(e,t){jo.set(e,t)}function zm(e){const t=jo.get(e);return jo.delete(e),t}let jm=()=>location.protocol+"//"+location.host;function Gf(e,t){const{pathname:n,search:s,hash:i}=t,r=e.indexOf("#");if(r>-1){let a=i.includes(e.slice(r))?e.slice(r).length:1,l=i.slice(a);return l[0]!=="/"&&(l="/"+l),Wl(l,"")}return Wl(n,e)+s+i}function Wm(e,t,n,s){let i=[],r=[],o=null;const a=({state:h})=>{const d=Gf(e,location),p=n.value,g=t.value;let b=0;if(h){if(n.value=d,t.value=h,o&&o===p){o=null;return}b=g?h.position-g.position:0}else s(d);i.forEach(_=>{_(n.value,p,{delta:b,type:Js.pop,direction:b?b>0?Bs.forward:Bs.back:Bs.unknown})})};function l(){o=n.value}function c(h){i.push(h);const d=()=>{const p=i.indexOf(h);p>-1&&i.splice(p,1)};return r.push(d),d}function u(){const{history:h}=window;!h.state||h.replaceState(vt({},h.state,{scroll:Er()}),"")}function f(){for(const h of r)h();r=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",u),{pauseListeners:l,listen:c,destroy:f}}function Kl(e,t,n,s=!1,i=!1){return{back:e,current:t,forward:n,replaced:s,position:window.history.length,scroll:i?Er():null}}function Um(e){const{history:t,location:n}=window,s={value:Gf(e,n)},i={value:t.state};i.value||r(s.value,{back:null,current:s.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function r(l,c,u){const f=e.indexOf("#"),h=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+l:jm()+e+l;try{t[u?"replaceState":"pushState"](c,"",h),i.value=c}catch(d){console.error(d),n[u?"replace":"assign"](h)}}function o(l,c){const u=vt({},t.state,Kl(i.value.back,l,i.value.forward,!0),c,{position:i.value.position});r(l,u,!0),s.value=l}function a(l,c){const u=vt({},i.value,t.state,{forward:l,scroll:Er()});r(u.current,u,!0);const f=vt({},Kl(s.value,l,null),{position:u.position+1},c);r(l,f,!1),s.value=l}return{location:s,state:i,push:a,replace:o}}function qm(e){e=Hm(e);const t=Um(e),n=Wm(e,t.state,t.location,t.replace);function s(r,o=!0){o||n.pauseListeners(),history.go(r)}const i=vt({location:"",base:e,go:s,createHref:Fm.bind(null,e)},t,n);return Object.defineProperty(i,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(i,"state",{enumerable:!0,get:()=>t.state.value}),i}function Km(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),qm(e)}function Ym(e){return typeof e=="string"||e&&typeof e=="object"}function Jf(e){return typeof e=="string"||typeof e=="symbol"}const Ge={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},Qf=Symbol("");var Yl;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Yl||(Yl={}));function as(e,t){return vt(new Error,{type:e,[Qf]:!0},t)}function He(e,t){return e instanceof Error&&Qf in e&&(t==null||!!(e.type&t))}const Xl="[^/]+?",Xm={sensitive:!1,strict:!1,start:!0,end:!0},Zm=/[.+*?^${}()[\]/\\]/g;function Gm(e,t){const n=vt({},Xm,t),s=[];let i=n.start?"^":"";const r=[];for(const c of e){const u=c.length?[]:[90];n.strict&&!c.length&&(i+="/");for(let f=0;ft.length?t.length===1&&t[0]===40+40?1:-1:0}function Qm(e,t){let n=0;const s=e.score,i=t.score;for(;n0&&t[t.length-1]<0}const t1={type:0,value:""},e1=/[a-zA-Z0-9_]/;function n1(e){if(!e)return[[]];if(e==="/")return[[t1]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(d){throw new Error(`ERR (${n})/"${c}": ${d}`)}let n=0,s=n;const i=[];let r;function o(){r&&i.push(r),r=[]}let a=0,l,c="",u="";function f(){!c||(n===0?r.push({type:0,value:c}):n===1||n===2||n===3?(r.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),r.push({type:1,value:c,regexp:u,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),c="")}function h(){c+=l}for(;a{o(v)}:Fs}function o(u){if(Jf(u)){const f=s.get(u);f&&(s.delete(u),n.splice(n.indexOf(f),1),f.children.forEach(o),f.alias.forEach(o))}else{const f=n.indexOf(u);f>-1&&(n.splice(f,1),u.record.name&&s.delete(u.record.name),u.children.forEach(o),u.alias.forEach(o))}}function a(){return n}function l(u){let f=0;for(;f=0&&(u.record.path!==n[f].record.path||!th(u,n[f]));)f++;n.splice(f,0,u),u.record.name&&!Jl(u)&&s.set(u.record.name,u)}function c(u,f){let h,d={},p,g;if("name"in u&&u.name){if(h=s.get(u.name),!h)throw as(1,{location:u});g=h.record.name,d=vt(Gl(f.params,h.keys.filter(v=>!v.optional).map(v=>v.name)),u.params&&Gl(u.params,h.keys.map(v=>v.name))),p=h.stringify(d)}else if("path"in u)p=u.path,h=n.find(v=>v.re.test(p)),h&&(d=h.parse(p),g=h.record.name);else{if(h=f.name?s.get(f.name):n.find(v=>v.re.test(f.path)),!h)throw as(1,{location:u,currentLocation:f});g=h.record.name,d=vt({},f.params,u.params),p=h.stringify(d)}const b=[];let _=h;for(;_;)b.unshift(_.record),_=_.parent;return{name:g,path:p,params:d,matched:b,meta:a1(b)}}return e.forEach(u=>r(u)),{addRoute:r,resolve:c,removeRoute:o,getRoutes:a,getRecordMatcher:i}}function Gl(e,t){const n={};for(const s of t)s in e&&(n[s]=e[s]);return n}function r1(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:o1(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function o1(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const s in e.components)t[s]=typeof n=="boolean"?n:n[s];return t}function Jl(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function a1(e){return e.reduce((t,n)=>vt(t,n.meta),{})}function Ql(e,t){const n={};for(const s in e)n[s]=s in t?t[s]:e[s];return n}function th(e,t){return t.children.some(n=>n===e||th(e,n))}const eh=/#/g,l1=/&/g,c1=/\//g,u1=/=/g,f1=/\?/g,nh=/\+/g,h1=/%5B/g,d1=/%5D/g,sh=/%5E/g,p1=/%60/g,ih=/%7B/g,g1=/%7C/g,rh=/%7D/g,m1=/%20/g;function ka(e){return encodeURI(""+e).replace(g1,"|").replace(h1,"[").replace(d1,"]")}function b1(e){return ka(e).replace(ih,"{").replace(rh,"}").replace(sh,"^")}function Wo(e){return ka(e).replace(nh,"%2B").replace(m1,"+").replace(eh,"%23").replace(l1,"%26").replace(p1,"`").replace(ih,"{").replace(rh,"}").replace(sh,"^")}function _1(e){return Wo(e).replace(u1,"%3D")}function y1(e){return ka(e).replace(eh,"%23").replace(f1,"%3F")}function x1(e){return e==null?"":y1(e).replace(c1,"%2F")}function Gi(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function v1(e){const t={};if(e===""||e==="?")return t;const s=(e[0]==="?"?e.slice(1):e).split("&");for(let i=0;ir&&Wo(r)):[s&&Wo(s)]).forEach(r=>{r!==void 0&&(t+=(t.length?"&":"")+n,r!=null&&(t+="="+r))})}return t}function w1(e){const t={};for(const n in e){const s=e[n];s!==void 0&&(t[n]=Se(s)?s.map(i=>i==null?null:""+i):s==null?s:""+s)}return t}const M1=Symbol(""),ec=Symbol(""),Lr=Symbol(""),oh=Symbol(""),Uo=Symbol("");function ks(){let e=[];function t(s){return e.push(s),()=>{const i=e.indexOf(s);i>-1&&e.splice(i,1)}}function n(){e=[]}return{add:t,list:()=>e,reset:n}}function nn(e,t,n,s,i){const r=s&&(s.enterCallbacks[i]=s.enterCallbacks[i]||[]);return()=>new Promise((o,a)=>{const l=f=>{f===!1?a(as(4,{from:n,to:t})):f instanceof Error?a(f):Ym(f)?a(as(2,{from:t,to:f})):(r&&s.enterCallbacks[i]===r&&typeof f=="function"&&r.push(f),o())},c=e.call(s&&s.instances[i],t,n,l);let u=Promise.resolve(c);e.length<3&&(u=u.then(l)),u.catch(f=>a(f))})}function Gr(e,t,n,s){const i=[];for(const r of e)for(const o in r.components){let a=r.components[o];if(!(t!=="beforeRouteEnter"&&!r.instances[o]))if(k1(a)){const c=(a.__vccOpts||a)[t];c&&i.push(nn(c,n,s,r,o))}else{let l=a();i.push(()=>l.then(c=>{if(!c)return Promise.reject(new Error(`Couldn't resolve component "${o}" at "${r.path}"`));const u=Lm(c)?c.default:c;r.components[o]=u;const h=(u.__vccOpts||u)[t];return h&&nn(h,n,s,r,o)()}))}}return i}function k1(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function nc(e){const t=Ce(Lr),n=Ce(oh),s=it(()=>t.resolve(D(e.to))),i=it(()=>{const{matched:l}=s.value,{length:c}=l,u=l[c-1],f=n.matched;if(!u||!f.length)return-1;const h=f.findIndex(os.bind(null,u));if(h>-1)return h;const d=sc(l[c-2]);return c>1&&sc(u)===d&&f[f.length-1].path!==d?f.findIndex(os.bind(null,l[c-2])):h}),r=it(()=>i.value>-1&&A1(n.params,s.value.params)),o=it(()=>i.value>-1&&i.value===n.matched.length-1&&Zf(n.params,s.value.params));function a(l={}){return S1(l)?t[D(e.replace)?"replace":"push"](D(e.to)).catch(Fs):Promise.resolve()}return{route:s,href:it(()=>s.value.href),isActive:r,isExactActive:o,navigate:a}}const C1=xr({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:nc,setup(e,{slots:t}){const n=bs(nc(e)),{options:s}=Ce(Lr),i=it(()=>({[ic(e.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[ic(e.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const r=t.default&&t.default(n);return e.custom?r:je("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:i.value},r)}}}),Pr=C1;function S1(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function A1(e,t){for(const n in t){const s=t[n],i=e[n];if(typeof s=="string"){if(s!==i)return!1}else if(!Se(i)||i.length!==s.length||s.some((r,o)=>r!==i[o]))return!1}return!0}function sc(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const ic=(e,t,n)=>e!=null?e:t!=null?t:n,E1=xr({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const s=Ce(Uo),i=it(()=>e.route||s.value),r=Ce(ec,0),o=it(()=>{let c=D(r);const{matched:u}=i.value;let f;for(;(f=u[c])&&!f.components;)c++;return c}),a=it(()=>i.value.matched[o.value]);Di(ec,it(()=>o.value+1)),Di(M1,a),Di(Uo,i);const l=ne();return Dn(()=>[l.value,a.value,e.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||!os(u,d)||!h)&&(u.enterCallbacks[f]||[]).forEach(g=>g(c))},{flush:"post"}),()=>{const c=i.value,u=e.name,f=a.value,h=f&&f.components[u];if(!h)return rc(n.default,{Component:h,route:c});const d=f.props[u],p=d?d===!0?c.params:typeof d=="function"?d(c):d:null,b=je(h,vt({},p,t,{onVnodeUnmounted:_=>{_.component.isUnmounted&&(f.instances[u]=null)},ref:l}));return rc(n.default,{Component:b,route:c})||b}}});function rc(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const ah=E1;function L1(e){const t=i1(e.routes,e),n=e.parseQuery||v1,s=e.stringifyQuery||tc,i=e.history,r=ks(),o=ks(),a=ks(),l=Lp(Ge);let c=Ge;Zn&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Xr.bind(null,E=>""+E),f=Xr.bind(null,x1),h=Xr.bind(null,Gi);function d(E,$){let N,Z;return Jf(E)?(N=t.getRecordMatcher(E),Z=$):Z=E,t.addRoute(Z,N)}function p(E){const $=t.getRecordMatcher(E);$&&t.removeRoute($)}function g(){return t.getRoutes().map(E=>E.record)}function b(E){return!!t.getRecordMatcher(E)}function _(E,$){if($=vt({},$||l.value),typeof E=="string"){const m=Zr(n,E,$.path),y=t.resolve({path:m.path},$),k=i.createHref(m.fullPath);return vt(m,y,{params:h(y.params),hash:Gi(m.hash),redirectedFrom:void 0,href:k})}let N;if("path"in E)N=vt({},E,{path:Zr(n,E.path,$.path).path});else{const m=vt({},E.params);for(const y in m)m[y]==null&&delete m[y];N=vt({},E,{params:f(E.params)}),$.params=f($.params)}const Z=t.resolve(N,$),dt=E.hash||"";Z.params=u(h(Z.params));const Lt=Rm(s,vt({},E,{hash:b1(dt),path:Z.path})),at=i.createHref(Lt);return vt({fullPath:Lt,hash:dt,query:s===tc?w1(E.query):E.query||{}},Z,{redirectedFrom:void 0,href:at})}function v(E){return typeof E=="string"?Zr(n,E,l.value.path):vt({},E)}function w(E,$){if(c!==E)return as(8,{from:$,to:E})}function M(E){return A(E)}function x(E){return M(vt(v(E),{replace:!0}))}function O(E){const $=E.matched[E.matched.length-1];if($&&$.redirect){const{redirect:N}=$;let Z=typeof N=="function"?N(E):N;return typeof Z=="string"&&(Z=Z.includes("?")||Z.includes("#")?Z=v(Z):{path:Z},Z.params={}),vt({query:E.query,hash:E.hash,params:"path"in Z?{}:E.params},Z)}}function A(E,$){const N=c=_(E),Z=l.value,dt=E.state,Lt=E.force,at=E.replace===!0,m=O(N);if(m)return A(vt(v(m),{state:typeof m=="object"?vt({},dt,m.state):dt,force:Lt,replace:at}),$||N);const y=N;y.redirectedFrom=$;let k;return!Lt&&Tm(s,Z,N)&&(k=as(16,{to:y,from:Z}),Jt(Z,Z,!0,!1)),(k?Promise.resolve(k):R(y,Z)).catch(S=>He(S)?He(S,2)?S:Xt(S):et(S,y,Z)).then(S=>{if(S){if(He(S,2))return A(vt({replace:at},v(S.to),{state:typeof S.to=="object"?vt({},dt,S.to.state):dt,force:Lt}),$||y)}else S=Y(y,Z,!0,at,dt);return V(y,Z,S),S})}function C(E,$){const N=w(E,$);return N?Promise.reject(N):Promise.resolve()}function R(E,$){let N;const[Z,dt,Lt]=P1(E,$);N=Gr(Z.reverse(),"beforeRouteLeave",E,$);for(const m of Z)m.leaveGuards.forEach(y=>{N.push(nn(y,E,$))});const at=C.bind(null,E,$);return N.push(at),Un(N).then(()=>{N=[];for(const m of r.list())N.push(nn(m,E,$));return N.push(at),Un(N)}).then(()=>{N=Gr(dt,"beforeRouteUpdate",E,$);for(const m of dt)m.updateGuards.forEach(y=>{N.push(nn(y,E,$))});return N.push(at),Un(N)}).then(()=>{N=[];for(const m of E.matched)if(m.beforeEnter&&!$.matched.includes(m))if(Se(m.beforeEnter))for(const y of m.beforeEnter)N.push(nn(y,E,$));else N.push(nn(m.beforeEnter,E,$));return N.push(at),Un(N)}).then(()=>(E.matched.forEach(m=>m.enterCallbacks={}),N=Gr(Lt,"beforeRouteEnter",E,$),N.push(at),Un(N))).then(()=>{N=[];for(const m of o.list())N.push(nn(m,E,$));return N.push(at),Un(N)}).catch(m=>He(m,8)?m:Promise.reject(m))}function V(E,$,N){for(const Z of a.list())Z(E,$,N)}function Y(E,$,N,Z,dt){const Lt=w(E,$);if(Lt)return Lt;const at=$===Ge,m=Zn?history.state:{};N&&(Z||at?i.replace(E.fullPath,vt({scroll:at&&m&&m.scroll},dt)):i.push(E.fullPath,dt)),l.value=E,Jt(E,$,N,at),Xt()}let P;function X(){P||(P=i.listen((E,$,N)=>{if(!Ke.listening)return;const Z=_(E),dt=O(Z);if(dt){A(vt(dt,{replace:!0}),Z).catch(Fs);return}c=Z;const Lt=l.value;Zn&&$m(ql(Lt.fullPath,N.delta),Er()),R(Z,Lt).catch(at=>He(at,12)?at:He(at,2)?(A(at.to,Z).then(m=>{He(m,20)&&!N.delta&&N.type===Js.pop&&i.go(-1,!1)}).catch(Fs),Promise.reject()):(N.delta&&i.go(-N.delta,!1),et(at,Z,Lt))).then(at=>{at=at||Y(Z,Lt,!1),at&&(N.delta&&!He(at,8)?i.go(-N.delta,!1):N.type===Js.pop&&He(at,20)&&i.go(-1,!1)),V(Z,Lt,at)}).catch(Fs)}))}let nt=ks(),j=ks(),tt;function et(E,$,N){Xt(E);const Z=j.list();return Z.length?Z.forEach(dt=>dt(E,$,N)):console.error(E),Promise.reject(E)}function lt(){return tt&&l.value!==Ge?Promise.resolve():new Promise((E,$)=>{nt.add([E,$])})}function Xt(E){return tt||(tt=!E,X(),nt.list().forEach(([$,N])=>E?N(E):$()),nt.reset()),E}function Jt(E,$,N,Z){const{scrollBehavior:dt}=e;if(!Zn||!dt)return Promise.resolve();const Lt=!N&&zm(ql(E.fullPath,0))||(Z||!N)&&history.state&&history.state.scroll||null;return ba().then(()=>dt(E,$,Lt)).then(at=>at&&Nm(at)).catch(at=>et(at,E,$))}const Ut=E=>i.go(E);let Tt;const ce=new Set,Ke={currentRoute:l,listening:!0,addRoute:d,removeRoute:p,hasRoute:b,getRoutes:g,resolve:_,options:e,push:M,replace:x,go:Ut,back:()=>Ut(-1),forward:()=>Ut(1),beforeEach:r.add,beforeResolve:o.add,afterEach:a.add,onError:j.add,isReady:lt,install(E){const $=this;E.component("RouterLink",Pr),E.component("RouterView",ah),E.config.globalProperties.$router=$,Object.defineProperty(E.config.globalProperties,"$route",{enumerable:!0,get:()=>D(l)}),Zn&&!Tt&&l.value===Ge&&(Tt=!0,M(i.location).catch(dt=>{}));const N={};for(const dt in Ge)N[dt]=it(()=>l.value[dt]);E.provide(Lr,$),E.provide(oh,bs(N)),E.provide(Uo,l);const Z=E.unmount;ce.add(E),E.unmount=function(){ce.delete(E),ce.size<1&&(c=Ge,P&&P(),P=null,l.value=Ge,Tt=!1,tt=!1),Z()}}};return Ke}function Un(e){return e.reduce((t,n)=>t.then(()=>n()),Promise.resolve())}function P1(e,t){const n=[],s=[],i=[],r=Math.max(t.matched.length,e.matched.length);for(let o=0;oos(c,a))?s.push(a):n.push(a));const l=e.matched[o];l&&(t.matched.find(c=>os(c,l))||i.push(l))}return[n,s,i]}function O1(){return Ce(Lr)}const R1={__name:"App",setup(e){return(t,n)=>(q(),_t(D(ah)))}},T1="modulepreload",D1=function(e){return"/"+e},oc={},vn=function(t,n,s){if(!n||n.length===0)return t();const i=document.getElementsByTagName("link");return Promise.all(n.map(r=>{if(r=D1(r),r in oc)return;oc[r]=!0;const o=r.endsWith(".css"),a=o?'[rel="stylesheet"]':"";if(!!s)for(let u=i.length-1;u>=0;u--){const f=i[u];if(f.href===r&&(!o||f.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${r}"]${a}`))return;const c=document.createElement("link");if(c.rel=o?"stylesheet":T1,o||(c.as="script",c.crossOrigin=""),c.href=r,document.head.appendChild(c),o)return new Promise((u,f)=>{c.addEventListener("load",u),c.addEventListener("error",()=>f(new Error(`Unable to preload CSS for ${r}`)))})})).then(()=>t())};var I1="M12,4A4,4 0 0,1 16,8A4,4 0 0,1 12,12A4,4 0 0,1 8,8A4,4 0 0,1 12,4M12,14C16.42,14 20,15.79 20,18V20H4V18C4,15.79 7.58,14 12,14Z",H1="M13.07 10.41A5 5 0 0 0 13.07 4.59A3.39 3.39 0 0 1 15 4A3.5 3.5 0 0 1 15 11A3.39 3.39 0 0 1 13.07 10.41M5.5 7.5A3.5 3.5 0 1 1 9 11A3.5 3.5 0 0 1 5.5 7.5M7.5 7.5A1.5 1.5 0 1 0 9 6A1.5 1.5 0 0 0 7.5 7.5M16 17V19H2V17S2 13 9 13 16 17 16 17M14 17C13.86 16.22 12.67 15 9 15S4.07 16.31 4 17M15.95 13A5.32 5.32 0 0 1 18 17V19H22V17S22 13.37 15.94 13Z",V1="M15,14C12.33,14 7,15.33 7,18V20H23V18C23,15.33 17.67,14 15,14M15,12A4,4 0 0,0 19,8A4,4 0 0,0 15,4A4,4 0 0,0 11,8A4,4 0 0,0 15,12M5,13.28L7.45,14.77L6.8,11.96L9,10.08L6.11,9.83L5,7.19L3.87,9.83L1,10.08L3.18,11.96L2.5,14.77L5,13.28Z",rw="M13 14H11V9H13M13 18H11V16H13M1 21H23L12 2L1 21Z",ow="M13,13H11V7H13M13,17H11V15H13M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z",F1="M11,15H13V17H11V15M11,7H13V13H11V7M12,2C6.47,2 2,6.5 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4A8,8 0 0,1 20,12A8,8 0 0,1 12,20Z",aw="M21 13H14.4L19.1 17.7L17.7 19.1L13 14.4V21H11V14.3L6.3 19L4.9 17.6L9.4 13H3V11H9.6L4.9 6.3L6.3 4.9L11 9.6V3H13V9.4L17.6 4.8L19 6.3L14.3 11H21V13Z",B1="M5,13L9,17L7.6,18.42L1.18,12L7.6,5.58L9,7L5,11H21V13H5M21,6V8H11V6H21M21,16V18H11V16H21Z",lw="M13,7.5H18V9.5H13V7.5M13,14.5H18V16.5H13V14.5M19,3A2,2 0 0,1 21,5V19A2,2 0 0,1 19,21H5A2,2 0 0,1 3,19V5A2,2 0 0,1 5,3H19M19,19V5H5V19H19M11,6V11H6V6H11M10,10V7H7V10H10M11,13V18H6V13H11M10,17V14H7V17H10Z",N1="M7 16C7.55 16 8 16.45 8 17C8 18.1 7.1 19 6 19C5.83 19 5.67 19 5.5 18.95C5.81 18.4 6 17.74 6 17C6 16.45 6.45 16 7 16M18.67 3C18.41 3 18.16 3.1 17.96 3.29L9 12.25L11.75 15L20.71 6.04C21.1 5.65 21.1 5 20.71 4.63L19.37 3.29C19.17 3.09 18.92 3 18.67 3M7 14C5.34 14 4 15.34 4 17C4 18.31 2.84 19 2 19C2.92 20.22 4.5 21 6 21C8.21 21 10 19.21 10 17C10 15.34 8.66 14 7 14Z",$1="M3,6H21V18H3V6M12,9A3,3 0 0,1 15,12A3,3 0 0,1 12,15A3,3 0 0,1 9,12A3,3 0 0,1 12,9M7,8A2,2 0 0,1 5,10V14A2,2 0 0,1 7,16H17A2,2 0 0,1 19,14V10A2,2 0 0,1 17,8H7Z",z1="M4 19V20H22V22H2V2H4V17C7 17 10 15 12.1 11.4C15.1 6.4 18.4 4 22 4V6C19.2 6 16.5 8.1 13.9 12.5C11.3 16.6 7.7 19 4 19Z",j1="M3,14L3.5,14.07L8.07,9.5C7.89,8.85 8.06,8.11 8.59,7.59C9.37,6.8 10.63,6.8 11.41,7.59C11.94,8.11 12.11,8.85 11.93,9.5L14.5,12.07L15,12C15.18,12 15.35,12 15.5,12.07L19.07,8.5C19,8.35 19,8.18 19,8A2,2 0 0,1 21,6A2,2 0 0,1 23,8A2,2 0 0,1 21,10C20.82,10 20.65,10 20.5,9.93L16.93,13.5C17,13.65 17,13.82 17,14A2,2 0 0,1 15,16A2,2 0 0,1 13,14L13.07,13.5L10.5,10.93C10.18,11 9.82,11 9.5,10.93L4.93,15.5L5,16A2,2 0 0,1 3,18A2,2 0 0,1 1,16A2,2 0 0,1 3,14Z",cw="M12 2C6.5 2 2 6.5 2 12S6.5 22 12 22 22 17.5 22 12 17.5 2 12 2M10 17L5 12L6.41 10.59L10 14.17L17.59 6.58L19 8L10 17Z",lh="M7.41,8.58L12,13.17L16.59,8.58L18,10L12,16L6,10L7.41,8.58Z",ch="M7.41,15.41L12,10.83L16.59,15.41L18,14L12,8L6,14L7.41,15.41Z",uh="M19,6.41L17.59,5L12,10.59L6.41,5L5,6.41L10.59,12L5,17.59L6.41,19L12,13.41L17.59,19L19,17.59L13.41,12L19,6.41Z",W1="M8,3A2,2 0 0,0 6,5V9A2,2 0 0,1 4,11H3V13H4A2,2 0 0,1 6,15V19A2,2 0 0,0 8,21H10V19H8V14A2,2 0 0,0 6,12A2,2 0 0,0 8,10V5H10V3M16,3A2,2 0 0,1 18,5V9A2,2 0 0,0 20,11H21V13H20A2,2 0 0,0 18,15V19A2,2 0 0,1 16,21H14V19H16V14A2,2 0 0,1 18,12A2,2 0 0,1 16,10V5H14V3H16Z",uw="M12,15.5A3.5,3.5 0 0,1 8.5,12A3.5,3.5 0 0,1 12,8.5A3.5,3.5 0 0,1 15.5,12A3.5,3.5 0 0,1 12,15.5M19.43,12.97C19.47,12.65 19.5,12.33 19.5,12C19.5,11.67 19.47,11.34 19.43,11L21.54,9.37C21.73,9.22 21.78,8.95 21.66,8.73L19.66,5.27C19.54,5.05 19.27,4.96 19.05,5.05L16.56,6.05C16.04,5.66 15.5,5.32 14.87,5.07L14.5,2.42C14.46,2.18 14.25,2 14,2H10C9.75,2 9.54,2.18 9.5,2.42L9.13,5.07C8.5,5.32 7.96,5.66 7.44,6.05L4.95,5.05C4.73,4.96 4.46,5.05 4.34,5.27L2.34,8.73C2.21,8.95 2.27,9.22 2.46,9.37L4.57,11C4.53,11.34 4.5,11.67 4.5,12C4.5,12.33 4.53,12.65 4.57,12.97L2.46,14.63C2.27,14.78 2.21,15.05 2.34,15.27L4.34,18.73C4.46,18.95 4.73,19.03 4.95,18.95L7.44,17.94C7.96,18.34 8.5,18.68 9.13,18.93L9.5,21.58C9.54,21.82 9.75,22 10,22H14C14.25,22 14.46,21.82 14.5,21.58L14.87,18.93C15.5,18.67 16.04,18.34 16.56,17.94L19.05,18.95C19.27,19.03 19.54,18.95 19.66,18.73L21.66,15.27C21.78,15.05 21.73,14.78 21.54,14.63L19.43,12.97Z",U1="M15.9,18.45C17.25,18.45 18.35,17.35 18.35,16C18.35,14.65 17.25,13.55 15.9,13.55C14.54,13.55 13.45,14.65 13.45,16C13.45,17.35 14.54,18.45 15.9,18.45M21.1,16.68L22.58,17.84C22.71,17.95 22.75,18.13 22.66,18.29L21.26,20.71C21.17,20.86 21,20.92 20.83,20.86L19.09,20.16C18.73,20.44 18.33,20.67 17.91,20.85L17.64,22.7C17.62,22.87 17.47,23 17.3,23H14.5C14.32,23 14.18,22.87 14.15,22.7L13.89,20.85C13.46,20.67 13.07,20.44 12.71,20.16L10.96,20.86C10.81,20.92 10.62,20.86 10.54,20.71L9.14,18.29C9.05,18.13 9.09,17.95 9.22,17.84L10.7,16.68L10.65,16L10.7,15.31L9.22,14.16C9.09,14.05 9.05,13.86 9.14,13.71L10.54,11.29C10.62,11.13 10.81,11.07 10.96,11.13L12.71,11.84C13.07,11.56 13.46,11.32 13.89,11.15L14.15,9.29C14.18,9.13 14.32,9 14.5,9H17.3C17.47,9 17.62,9.13 17.64,9.29L17.91,11.15C18.33,11.32 18.73,11.56 19.09,11.84L20.83,11.13C21,11.07 21.17,11.13 21.26,11.29L22.66,13.71C22.75,13.86 22.71,14.05 22.58,14.16L21.1,15.31L21.15,16L21.1,16.68M6.69,8.07C7.56,8.07 8.26,7.37 8.26,6.5C8.26,5.63 7.56,4.92 6.69,4.92A1.58,1.58 0 0,0 5.11,6.5C5.11,7.37 5.82,8.07 6.69,8.07M10.03,6.94L11,7.68C11.07,7.75 11.09,7.87 11.03,7.97L10.13,9.53C10.08,9.63 9.96,9.67 9.86,9.63L8.74,9.18L8,9.62L7.81,10.81C7.79,10.92 7.7,11 7.59,11H5.79C5.67,11 5.58,10.92 5.56,10.81L5.4,9.62L4.64,9.18L3.5,9.63C3.41,9.67 3.3,9.63 3.24,9.53L2.34,7.97C2.28,7.87 2.31,7.75 2.39,7.68L3.34,6.94L3.31,6.5L3.34,6.06L2.39,5.32C2.31,5.25 2.28,5.13 2.34,5.03L3.24,3.47C3.3,3.37 3.41,3.33 3.5,3.37L4.63,3.82L5.4,3.38L5.56,2.19C5.58,2.08 5.67,2 5.79,2H7.59C7.7,2 7.79,2.08 7.81,2.19L8,3.38L8.74,3.82L9.86,3.37C9.96,3.33 10.08,3.37 10.13,3.47L11.03,5.03C11.09,5.13 11.07,5.25 11,5.32L10.03,6.06L10.06,6.5L10.03,6.94Z",fw="M12,20C9.79,20 7.79,19.1 6.34,17.66L17.66,6.34C19.1,7.79 20,9.79 20,12A8,8 0 0,1 12,20M6,8H8V6H9.5V8H11.5V9.5H9.5V11.5H8V9.5H6M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M12,16H17V14.5H12V16Z",q1="M12,16A2,2 0 0,1 14,18A2,2 0 0,1 12,20A2,2 0 0,1 10,18A2,2 0 0,1 12,16M12,10A2,2 0 0,1 14,12A2,2 0 0,1 12,14A2,2 0 0,1 10,12A2,2 0 0,1 12,10M12,4A2,2 0 0,1 14,6A2,2 0 0,1 12,8A2,2 0 0,1 10,6A2,2 0 0,1 12,4Z",K1="M20,8L12,13L4,8V6L12,11L20,6M20,4H4C2.89,4 2,4.89 2,6V18A2,2 0 0,0 4,20H20A2,2 0 0,0 22,18V6C22,4.89 21.1,4 20,4Z",hw="M12,9A3,3 0 0,0 9,12A3,3 0 0,0 12,15A3,3 0 0,0 15,12A3,3 0 0,0 12,9M12,17A5,5 0 0,1 7,12A5,5 0 0,1 12,7A5,5 0 0,1 17,12A5,5 0 0,1 12,17M12,4.5C7,4.5 2.73,7.61 1,12C2.73,16.39 7,19.5 12,19.5C17,19.5 21.27,16.39 23,12C21.27,7.61 17,4.5 12,4.5Z",dw="M17,7H22V17H17V19A1,1 0 0,0 18,20H20V22H17.5C16.95,22 16,21.55 16,21C16,21.55 15.05,22 14.5,22H12V20H14A1,1 0 0,0 15,19V5A1,1 0 0,0 14,4H12V2H14.5C15.05,2 16,2.45 16,3C16,2.45 16.95,2 17.5,2H20V4H18A1,1 0 0,0 17,5V7M2,7H13V9H4V15H13V17H2V7M20,15V9H17V15H20M8.5,12A1.5,1.5 0 0,0 7,10.5A1.5,1.5 0 0,0 5.5,12A1.5,1.5 0 0,0 7,13.5A1.5,1.5 0 0,0 8.5,12M13,10.89C12.39,10.33 11.44,10.38 10.88,11C10.32,11.6 10.37,12.55 11,13.11C11.55,13.63 12.43,13.63 13,13.11V10.89Z",Y1="M19,13H3V11H19L15,7L16.4,5.6L22.8,12L16.4,18.4L15,17L19,13M3,6H13V8H3V6M13,16V18H3V16H13Z",X1="M16.5,9L13.5,12L16.5,15H22V9M9,16.5V22H15V16.5L12,13.5M7.5,9H2V15H7.5L10.5,12M15,7.5V2H9V7.5L12,10.5L15,7.5Z",pw="M12,2A10,10 0 0,0 2,12C2,16.42 4.87,20.17 8.84,21.5C9.34,21.58 9.5,21.27 9.5,21C9.5,20.77 9.5,20.14 9.5,19.31C6.73,19.91 6.14,17.97 6.14,17.97C5.68,16.81 5.03,16.5 5.03,16.5C4.12,15.88 5.1,15.9 5.1,15.9C6.1,15.97 6.63,16.93 6.63,16.93C7.5,18.45 8.97,18 9.54,17.76C9.63,17.11 9.89,16.67 10.17,16.42C7.95,16.17 5.62,15.31 5.62,11.5C5.62,10.39 6,9.5 6.65,8.79C6.55,8.54 6.2,7.5 6.75,6.15C6.75,6.15 7.59,5.88 9.5,7.17C10.29,6.95 11.15,6.84 12,6.84C12.85,6.84 13.71,6.95 14.5,7.17C16.41,5.88 17.25,6.15 17.25,6.15C17.8,7.5 17.45,8.54 17.35,8.79C18,9.5 18.38,10.39 18.38,11.5C18.38,15.32 16.04,16.16 13.81,16.41C14.17,16.72 14.5,17.33 14.5,18.26C14.5,19.6 14.5,20.68 14.5,21C14.5,21.27 14.66,21.59 15.17,21.5C19.14,20.16 22,16.42 22,12A10,10 0 0,0 12,2Z",gw="M13,9H11V7H13M13,17H11V11H13M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z",fh="M16,17V14H9V10H16V7L21,12L16,17M14,2A2,2 0 0,1 16,4V6H14V4H5V20H14V18H16V20A2,2 0 0,1 14,22H5A2,2 0 0,1 3,20V4A2,2 0 0,1 5,2H14Z",mw="M20,4H4C2.89,4 2,4.89 2,6V18A2,2 0 0,0 4,20H20A2,2 0 0,0 22,18V6C22,4.89 21.1,4 20,4M17,17H7V15H17M17,13H7V11H17M20,9H17V6H20",Z1="M3,6H21V8H3V6M3,11H21V13H3V11M3,16H21V18H3V16Z",G1="M19,13H5V11H19V13Z",J1="M21,16H3V4H21M21,2H3C1.89,2 1,2.89 1,4V16A2,2 0 0,0 3,18H10V20H8V22H16V20H14V18H21A2,2 0 0,0 23,16V4C23,2.89 22.1,2 21,2Z",bw="M23,11H18A1,1 0 0,0 17,12V21A1,1 0 0,0 18,22H23A1,1 0 0,0 24,21V12A1,1 0 0,0 23,11M23,20H18V13H23V20M20,2H2C0.89,2 0,2.89 0,4V16A2,2 0 0,0 2,18H9V20H7V22H15V20H13V18H15V16H2V4H20V9H22V4C22,2.89 21.1,2 20,2Z",_w="M14,3V5H17.59L7.76,14.83L9.17,16.24L19,6.41V10H21V3M19,19H5V5H12V3H5C3.89,3 3,3.9 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V12H19V19Z",Q1="M19,13H13V19H11V13H5V11H11V5H13V11H19V13Z",t0="M2 12C2 16.97 6.03 21 11 21C13.39 21 15.68 20.06 17.4 18.4L15.9 16.9C14.63 18.25 12.86 19 11 19C4.76 19 1.64 11.46 6.05 7.05C10.46 2.64 18 5.77 18 12H15L19 16H19.1L23 12H20C20 7.03 15.97 3 11 3C6.03 3 2 7.03 2 12Z",e0="M12,12H19C18.47,16.11 15.72,19.78 12,20.92V12H5V6.3L12,3.19M12,1L3,5V11C3,16.55 6.84,21.73 12,23C17.16,21.73 21,16.55 21,11V5L12,1Z",n0="M13,19H14A1,1 0 0,1 15,20H22V22H15A1,1 0 0,1 14,23H10A1,1 0 0,1 9,22H2V20H9A1,1 0 0,1 10,19H11V17H4A1,1 0 0,1 3,16V12A1,1 0 0,1 4,11H20A1,1 0 0,1 21,12V16A1,1 0 0,1 20,17H13V19M4,3H20A1,1 0 0,1 21,4V8A1,1 0 0,1 20,9H4A1,1 0 0,1 3,8V4A1,1 0 0,1 4,3M9,7H10V5H9V7M9,15H10V13H9V15M5,5V7H7V5H5M5,13V15H7V13H5Z",s0="M5,3C3.89,3 3,3.89 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V12H19V19H5V5H12V3H5M17.78,4C17.61,4 17.43,4.07 17.3,4.2L16.08,5.41L18.58,7.91L19.8,6.7C20.06,6.44 20.06,6 19.8,5.75L18.25,4.2C18.12,4.07 17.95,4 17.78,4M15.37,6.12L8,13.5V16H10.5L17.87,8.62L15.37,6.12Z",i0="M5,4H19A2,2 0 0,1 21,6V18A2,2 0 0,1 19,20H5A2,2 0 0,1 3,18V6A2,2 0 0,1 5,4M5,8V12H11V8H5M13,8V12H19V8H13M5,14V18H11V14H5M13,14V18H19V14H13Z",yw="M21,19A1,1 0 0,1 20,20H19V18H21V19M15,20V18H17V20H15M11,20V18H13V20H11M7,20V18H9V20H7M4,20A1,1 0 0,1 3,19V18H5V20H4M19,4H5A2,2 0 0,0 3,6V8H5L11,8H13L19,8H21V6C21,4.89 20.11,4 19,4M5,14H3V16H5V14M5,10H3V12H5V10M21,10H19V12H21V10M21,14H19V16H21V14M11,16V14H13V16H11M11,12V10H13V12H11",xw="M22.11 21.46L2.39 1.73L1.11 3L3.22 5.11C3.08 5.38 3 5.68 3 6V18C3 19.11 3.9 20 5 20H18.11L20.84 22.73L22.11 21.46M10.11 12H5V8H6.11L10.11 12M11 18H5V14H11V18M13 18V14.89L16.11 18H13M13 9.8L7.2 4H19C20.11 4 21 4.89 21 6V17.8L19 15.8V14H17.2L15.2 12H19V8H13V9.8Z",r0="M21,17V5H3V17H21M21,3A2,2 0 0,1 23,5V17A2,2 0 0,1 21,19H16V21H8V19H3A2,2 0 0,1 1,17V5A2,2 0 0,1 3,3H21M5,7H11V11H5V7M5,13H11V15H5V13M13,7H19V9H13V7M13,11H19V15H13V11Z",o0="M7,2V4H8V18A4,4 0 0,0 12,22A4,4 0 0,0 16,18V4H17V2H7M11,16C10.4,16 10,15.6 10,15C10,14.4 10.4,14 11,14C11.6,14 12,14.4 12,15C12,15.6 11.6,16 11,16M13,12C12.4,12 12,11.6 12,11C12,10.4 12.4,10 13,10C13.6,10 14,10.4 14,11C14,11.6 13.6,12 13,12M14,7H10V4H14V7Z",vw="M9,3V4H4V6H5V19A2,2 0 0,0 7,21H17A2,2 0 0,0 19,19V6H20V4H15V3H9M9,8H11V17H9V8M13,8H15V17H13V8Z",ww="M16,6L18.29,8.29L13.41,13.17L9.41,9.17L2,16.59L3.41,18L9.41,12L13.41,16L19.71,9.71L22,12V6H16Z",Mw="M9,16V10H5L12,3L19,10H15V16H9M5,20V18H19V20H5Z",a0="M9,5V9H21V5M9,19H21V15H9M9,14H21V10H9M4,9H8V5H4M4,19H8V15H4M4,14H8V10H4V14Z",l0=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function c0(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var hh={exports:{}},Ca={exports:{}},dh=function(t,n){return function(){for(var i=new Array(arguments.length),r=0;r"u"}function f0(e){return e!==null&&!Ji(e)&&e.constructor!==null&&!Ji(e.constructor)&&typeof e.constructor.isBuffer=="function"&&e.constructor.isBuffer(e)}var ph=Nn("ArrayBuffer");function h0(e){var t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&ph(e.buffer),t}function d0(e){return typeof e=="string"}function p0(e){return typeof e=="number"}function gh(e){return e!==null&&typeof e=="object"}function Vi(e){if(Aa(e)!=="object")return!1;var t=Object.getPrototypeOf(e);return t===null||t===Object.prototype}var g0=Nn("Date"),m0=Nn("File"),b0=Nn("Blob"),_0=Nn("FileList");function La(e){return Sa.call(e)==="[object Function]"}function y0(e){return gh(e)&&La(e.pipe)}function x0(e){var t="[object FormData]";return e&&(typeof FormData=="function"&&e instanceof FormData||Sa.call(e)===t||La(e.toString)&&e.toString()===t)}var v0=Nn("URLSearchParams");function w0(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function M0(){return typeof navigator<"u"&&(navigator.product==="ReactNative"||navigator.product==="NativeScript"||navigator.product==="NS")?!1:typeof window<"u"&&typeof document<"u"}function Pa(e,t){if(!(e===null||typeof e>"u"))if(typeof e!="object"&&(e=[e]),Ea(e))for(var n=0,s=e.length;n0;)r=s[i],o[r]||(t[r]=e[r],o[r]=!0);e=Object.getPrototypeOf(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t}function E0(e,t,n){e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;var s=e.indexOf(t,n);return s!==-1&&s===n}function L0(e){if(!e)return null;var t=e.length;if(Ji(t))return null;for(var n=new Array(t);t-- >0;)n[t]=e[t];return n}var P0=function(e){return function(t){return e&&t instanceof e}}(typeof Uint8Array<"u"&&Object.getPrototypeOf(Uint8Array)),Wt={isArray:Ea,isArrayBuffer:ph,isBuffer:f0,isFormData:x0,isArrayBufferView:h0,isString:d0,isNumber:p0,isObject:gh,isPlainObject:Vi,isUndefined:Ji,isDate:g0,isFile:m0,isBlob:b0,isFunction:La,isStream:y0,isURLSearchParams:v0,isStandardBrowserEnv:M0,forEach:Pa,merge:qo,extend:k0,trim:w0,stripBOM:C0,inherits:S0,toFlatObject:A0,kindOf:Aa,kindOfTest:Nn,endsWith:E0,toArray:L0,isTypedArray:P0,isFileList:_0},qn=Wt;function ac(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var mh=function(t,n,s){if(!n)return t;var i;if(s)i=s(n);else if(qn.isURLSearchParams(n))i=n.toString();else{var r=[];qn.forEach(n,function(l,c){l===null||typeof l>"u"||(qn.isArray(l)?c=c+"[]":l=[l],qn.forEach(l,function(f){qn.isDate(f)?f=f.toISOString():qn.isObject(f)&&(f=JSON.stringify(f)),r.push(ac(c)+"="+ac(f))}))}),i=r.join("&")}if(i){var o=t.indexOf("#");o!==-1&&(t=t.slice(0,o)),t+=(t.indexOf("?")===-1?"?":"&")+i}return t},O0=Wt;function Or(){this.handlers=[]}Or.prototype.use=function(t,n,s){return this.handlers.push({fulfilled:t,rejected:n,synchronous:s?s.synchronous:!1,runWhen:s?s.runWhen:null}),this.handlers.length-1};Or.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)};Or.prototype.forEach=function(t){O0.forEach(this.handlers,function(s){s!==null&&t(s)})};var R0=Or,T0=Wt,D0=function(t,n){T0.forEach(t,function(i,r){r!==n&&r.toUpperCase()===n.toUpperCase()&&(t[n]=i,delete t[r])})},bh=Wt;function ls(e,t,n,s,i){Error.call(this),this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),s&&(this.request=s),i&&(this.response=i)}bh.inherits(ls,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}}});var _h=ls.prototype,yh={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED"].forEach(function(e){yh[e]={value:e}});Object.defineProperties(ls,yh);Object.defineProperty(_h,"isAxiosError",{value:!0});ls.from=function(e,t,n,s,i,r){var o=Object.create(_h);return bh.toFlatObject(e,o,function(l){return l!==Error.prototype}),ls.call(o,e.message,t,n,s,i),o.name=e.name,r&&Object.assign(o,r),o};var ys=ls,xh={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},ye=Wt;function I0(e,t){t=t||new FormData;var n=[];function s(r){return r===null?"":ye.isDate(r)?r.toISOString():ye.isArrayBuffer(r)||ye.isTypedArray(r)?typeof Blob=="function"?new Blob([r]):Buffer.from(r):r}function i(r,o){if(ye.isPlainObject(r)||ye.isArray(r)){if(n.indexOf(r)!==-1)throw Error("Circular reference detected in "+o);n.push(r),ye.forEach(r,function(l,c){if(!ye.isUndefined(l)){var u=o?o+"."+c:c,f;if(l&&!o&&typeof l=="object"){if(ye.endsWith(c,"{}"))l=JSON.stringify(l);else if(ye.endsWith(c,"[]")&&(f=ye.toArray(l))){f.forEach(function(h){!ye.isUndefined(h)&&t.append(u,s(h))});return}}i(l,u)}}),n.pop()}else t.append(o,s(r))}return i(e),t}var vh=I0,Jr,lc;function H0(){if(lc)return Jr;lc=1;var e=ys;return Jr=function(n,s,i){var r=i.config.validateStatus;!i.status||!r||r(i.status)?n(i):s(new e("Request failed with status code "+i.status,[e.ERR_BAD_REQUEST,e.ERR_BAD_RESPONSE][Math.floor(i.status/100)-4],i.config,i.request,i))},Jr}var Qr,cc;function V0(){if(cc)return Qr;cc=1;var e=Wt;return Qr=e.isStandardBrowserEnv()?function(){return{write:function(s,i,r,o,a,l){var c=[];c.push(s+"="+encodeURIComponent(i)),e.isNumber(r)&&c.push("expires="+new Date(r).toGMTString()),e.isString(o)&&c.push("path="+o),e.isString(a)&&c.push("domain="+a),l===!0&&c.push("secure"),document.cookie=c.join("; ")},read:function(s){var i=document.cookie.match(new RegExp("(^|;\\s*)("+s+")=([^;]*)"));return i?decodeURIComponent(i[3]):null},remove:function(s){this.write(s,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}(),Qr}var F0=function(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)},B0=function(t,n){return n?t.replace(/\/+$/,"")+"/"+n.replace(/^\/+/,""):t},N0=F0,$0=B0,wh=function(t,n){return t&&!N0(n)?$0(t,n):n},to,uc;function z0(){if(uc)return to;uc=1;var e=Wt,t=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];return to=function(s){var i={},r,o,a;return s&&e.forEach(s.split(` -`),function(c){if(a=c.indexOf(":"),r=e.trim(c.substr(0,a)).toLowerCase(),o=e.trim(c.substr(a+1)),r){if(i[r]&&t.indexOf(r)>=0)return;r==="set-cookie"?i[r]=(i[r]?i[r]:[]).concat([o]):i[r]=i[r]?i[r]+", "+o:o}}),i},to}var eo,fc;function j0(){if(fc)return eo;fc=1;var e=Wt;return eo=e.isStandardBrowserEnv()?function(){var n=/(msie|trident)/i.test(navigator.userAgent),s=document.createElement("a"),i;function r(o){var a=o;return n&&(s.setAttribute("href",a),a=s.href),s.setAttribute("href",a),{href:s.href,protocol:s.protocol?s.protocol.replace(/:$/,""):"",host:s.host,search:s.search?s.search.replace(/^\?/,""):"",hash:s.hash?s.hash.replace(/^#/,""):"",hostname:s.hostname,port:s.port,pathname:s.pathname.charAt(0)==="/"?s.pathname:"/"+s.pathname}}return i=r(window.location.href),function(a){var l=e.isString(a)?r(a):a;return l.protocol===i.protocol&&l.host===i.host}}():function(){return function(){return!0}}(),eo}var no,hc;function Rr(){if(hc)return no;hc=1;var e=ys,t=Wt;function n(s){e.call(this,s==null?"canceled":s,e.ERR_CANCELED),this.name="CanceledError"}return t.inherits(n,e,{__CANCEL__:!0}),no=n,no}var so,dc;function W0(){return dc||(dc=1,so=function(t){var n=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return n&&n[1]||""}),so}var io,pc;function gc(){if(pc)return io;pc=1;var e=Wt,t=H0(),n=V0(),s=mh,i=wh,r=z0(),o=j0(),a=xh,l=ys,c=Rr(),u=W0();return io=function(h){return new Promise(function(p,g){var b=h.data,_=h.headers,v=h.responseType,w;function M(){h.cancelToken&&h.cancelToken.unsubscribe(w),h.signal&&h.signal.removeEventListener("abort",w)}e.isFormData(b)&&e.isStandardBrowserEnv()&&delete _["Content-Type"];var x=new XMLHttpRequest;if(h.auth){var O=h.auth.username||"",A=h.auth.password?unescape(encodeURIComponent(h.auth.password)):"";_.Authorization="Basic "+btoa(O+":"+A)}var C=i(h.baseURL,h.url);x.open(h.method.toUpperCase(),s(C,h.params,h.paramsSerializer),!0),x.timeout=h.timeout;function R(){if(!!x){var P="getAllResponseHeaders"in x?r(x.getAllResponseHeaders()):null,X=!v||v==="text"||v==="json"?x.responseText:x.response,nt={data:X,status:x.status,statusText:x.statusText,headers:P,config:h,request:x};t(function(tt){p(tt),M()},function(tt){g(tt),M()},nt),x=null}}if("onloadend"in x?x.onloadend=R:x.onreadystatechange=function(){!x||x.readyState!==4||x.status===0&&!(x.responseURL&&x.responseURL.indexOf("file:")===0)||setTimeout(R)},x.onabort=function(){!x||(g(new l("Request aborted",l.ECONNABORTED,h,x)),x=null)},x.onerror=function(){g(new l("Network Error",l.ERR_NETWORK,h,x,x)),x=null},x.ontimeout=function(){var X=h.timeout?"timeout of "+h.timeout+"ms exceeded":"timeout exceeded",nt=h.transitional||a;h.timeoutErrorMessage&&(X=h.timeoutErrorMessage),g(new l(X,nt.clarifyTimeoutError?l.ETIMEDOUT:l.ECONNABORTED,h,x)),x=null},e.isStandardBrowserEnv()){var V=(h.withCredentials||o(C))&&h.xsrfCookieName?n.read(h.xsrfCookieName):void 0;V&&(_[h.xsrfHeaderName]=V)}"setRequestHeader"in x&&e.forEach(_,function(X,nt){typeof b>"u"&&nt.toLowerCase()==="content-type"?delete _[nt]:x.setRequestHeader(nt,X)}),e.isUndefined(h.withCredentials)||(x.withCredentials=!!h.withCredentials),v&&v!=="json"&&(x.responseType=h.responseType),typeof h.onDownloadProgress=="function"&&x.addEventListener("progress",h.onDownloadProgress),typeof h.onUploadProgress=="function"&&x.upload&&x.upload.addEventListener("progress",h.onUploadProgress),(h.cancelToken||h.signal)&&(w=function(P){!x||(g(!P||P&&P.type?new c:P),x.abort(),x=null)},h.cancelToken&&h.cancelToken.subscribe(w),h.signal&&(h.signal.aborted?w():h.signal.addEventListener("abort",w))),b||(b=null);var Y=u(C);if(Y&&["http","https","file"].indexOf(Y)===-1){g(new l("Unsupported protocol "+Y+":",l.ERR_BAD_REQUEST,h));return}x.send(b)})},io}var ro,mc;function U0(){return mc||(mc=1,ro=null),ro}var Nt=Wt,bc=D0,_c=ys,q0=xh,K0=vh,Y0={"Content-Type":"application/x-www-form-urlencoded"};function yc(e,t){!Nt.isUndefined(e)&&Nt.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}function X0(){var e;return(typeof XMLHttpRequest<"u"||typeof process<"u"&&Object.prototype.toString.call(process)==="[object process]")&&(e=gc()),e}function Z0(e,t,n){if(Nt.isString(e))try{return(t||JSON.parse)(e),Nt.trim(e)}catch(s){if(s.name!=="SyntaxError")throw s}return(n||JSON.stringify)(e)}var Tr={transitional:q0,adapter:X0(),transformRequest:[function(t,n){if(bc(n,"Accept"),bc(n,"Content-Type"),Nt.isFormData(t)||Nt.isArrayBuffer(t)||Nt.isBuffer(t)||Nt.isStream(t)||Nt.isFile(t)||Nt.isBlob(t))return t;if(Nt.isArrayBufferView(t))return t.buffer;if(Nt.isURLSearchParams(t))return yc(n,"application/x-www-form-urlencoded;charset=utf-8"),t.toString();var s=Nt.isObject(t),i=n&&n["Content-Type"],r;if((r=Nt.isFileList(t))||s&&i==="multipart/form-data"){var o=this.env&&this.env.FormData;return K0(r?{"files[]":t}:t,o&&new o)}else if(s||i==="application/json")return yc(n,"application/json"),Z0(t);return t}],transformResponse:[function(t){var n=this.transitional||Tr.transitional,s=n&&n.silentJSONParsing,i=n&&n.forcedJSONParsing,r=!s&&this.responseType==="json";if(r||i&&Nt.isString(t)&&t.length)try{return JSON.parse(t)}catch(o){if(r)throw o.name==="SyntaxError"?_c.from(o,_c.ERR_BAD_RESPONSE,this,null,this.response):o}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:U0()},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};Nt.forEach(["delete","get","head"],function(t){Tr.headers[t]={}});Nt.forEach(["post","put","patch"],function(t){Tr.headers[t]=Nt.merge(Y0)});var Oa=Tr,G0=Wt,J0=Oa,Q0=function(t,n,s){var i=this||J0;return G0.forEach(s,function(o){t=o.call(i,t,n)}),t},oo,xc;function Mh(){return xc||(xc=1,oo=function(t){return!!(t&&t.__CANCEL__)}),oo}var vc=Wt,ao=Q0,tb=Mh(),eb=Oa,nb=Rr();function lo(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new nb}var sb=function(t){lo(t),t.headers=t.headers||{},t.data=ao.call(t,t.data,t.headers,t.transformRequest),t.headers=vc.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),vc.forEach(["delete","get","head","post","put","patch","common"],function(i){delete t.headers[i]});var n=t.adapter||eb.adapter;return n(t).then(function(i){return lo(t),i.data=ao.call(t,i.data,i.headers,t.transformResponse),i},function(i){return tb(i)||(lo(t),i&&i.response&&(i.response.data=ao.call(t,i.response.data,i.response.headers,t.transformResponse))),Promise.reject(i)})},re=Wt,kh=function(t,n){n=n||{};var s={};function i(u,f){return re.isPlainObject(u)&&re.isPlainObject(f)?re.merge(u,f):re.isPlainObject(f)?re.merge({},f):re.isArray(f)?f.slice():f}function r(u){if(re.isUndefined(n[u])){if(!re.isUndefined(t[u]))return i(void 0,t[u])}else return i(t[u],n[u])}function o(u){if(!re.isUndefined(n[u]))return i(void 0,n[u])}function a(u){if(re.isUndefined(n[u])){if(!re.isUndefined(t[u]))return i(void 0,t[u])}else return i(void 0,n[u])}function l(u){if(u in n)return i(t[u],n[u]);if(u in t)return i(void 0,t[u])}var c={url:o,method:o,data:o,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:l};return re.forEach(Object.keys(t).concat(Object.keys(n)),function(f){var h=c[f]||r,d=h(f);re.isUndefined(d)&&h!==l||(s[f]=d)}),s},co,wc;function Ch(){return wc||(wc=1,co={version:"0.27.2"}),co}var ib=Ch().version,sn=ys,Ra={};["object","boolean","number","function","string","symbol"].forEach(function(e,t){Ra[e]=function(s){return typeof s===e||"a"+(t<1?"n ":" ")+e}});var Mc={};Ra.transitional=function(t,n,s){function i(r,o){return"[Axios v"+ib+"] Transitional option '"+r+"'"+o+(s?". "+s:"")}return function(r,o,a){if(t===!1)throw new sn(i(o," has been removed"+(n?" in "+n:"")),sn.ERR_DEPRECATED);return n&&!Mc[o]&&(Mc[o]=!0,console.warn(i(o," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(r,o,a):!0}};function rb(e,t,n){if(typeof e!="object")throw new sn("options must be an object",sn.ERR_BAD_OPTION_VALUE);for(var s=Object.keys(e),i=s.length;i-- >0;){var r=s[i],o=t[r];if(o){var a=e[r],l=a===void 0||o(a,r,e);if(l!==!0)throw new sn("option "+r+" must be "+l,sn.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new sn("Unknown option "+r,sn.ERR_BAD_OPTION)}}var ob={assertOptions:rb,validators:Ra},Sh=Wt,ab=mh,kc=R0,Cc=sb,Dr=kh,lb=wh,Ah=ob,Kn=Ah.validators;function cs(e){this.defaults=e,this.interceptors={request:new kc,response:new kc}}cs.prototype.request=function(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Dr(this.defaults,n),n.method?n.method=n.method.toLowerCase():this.defaults.method?n.method=this.defaults.method.toLowerCase():n.method="get";var s=n.transitional;s!==void 0&&Ah.assertOptions(s,{silentJSONParsing:Kn.transitional(Kn.boolean),forcedJSONParsing:Kn.transitional(Kn.boolean),clarifyTimeoutError:Kn.transitional(Kn.boolean)},!1);var i=[],r=!0;this.interceptors.request.forEach(function(d){typeof d.runWhen=="function"&&d.runWhen(n)===!1||(r=r&&d.synchronous,i.unshift(d.fulfilled,d.rejected))});var o=[];this.interceptors.response.forEach(function(d){o.push(d.fulfilled,d.rejected)});var a;if(!r){var l=[Cc,void 0];for(Array.prototype.unshift.apply(l,i),l=l.concat(o),a=Promise.resolve(n);l.length;)a=a.then(l.shift(),l.shift());return a}for(var c=n;i.length;){var u=i.shift(),f=i.shift();try{c=u(c)}catch(h){f(h);break}}try{a=Cc(c)}catch(h){return Promise.reject(h)}for(;o.length;)a=a.then(o.shift(),o.shift());return a};cs.prototype.getUri=function(t){t=Dr(this.defaults,t);var n=lb(t.baseURL,t.url);return ab(n,t.params,t.paramsSerializer)};Sh.forEach(["delete","get","head","options"],function(t){cs.prototype[t]=function(n,s){return this.request(Dr(s||{},{method:t,url:n,data:(s||{}).data}))}});Sh.forEach(["post","put","patch"],function(t){function n(s){return function(r,o,a){return this.request(Dr(a||{},{method:t,headers:s?{"Content-Type":"multipart/form-data"}:{},url:r,data:o}))}}cs.prototype[t]=n(),cs.prototype[t+"Form"]=n(!0)});var cb=cs,uo,Sc;function ub(){if(Sc)return uo;Sc=1;var e=Rr();function t(n){if(typeof n!="function")throw new TypeError("executor must be a function.");var s;this.promise=new Promise(function(o){s=o});var i=this;this.promise.then(function(r){if(!!i._listeners){var o,a=i._listeners.length;for(o=0;o({userName:null,userEmail:null,userAvatar:null,isFieldFocusRegistered:!1,clients:[],history:[]}),actions:{setUser(e){e.name&&(this.userName=e.name),e.email&&(this.userEmail=e.email),e.avatar&&(this.userAvatar=e.avatar)},fetch(e){mb.get(`data-sources/${e}.json`).then(t=>{t.data&&t.data.data&&(this[e]=t.data.data)}).catch(t=>{alert(t.message)})}}}),Fn=xr({name:"BaseLevel",props:{mobile:Boolean,type:{type:String,default:"justify-between"}},render(){const e=[this.type,"items-center"],t=["flex"],n=["block","md:flex"],s=["flex","items-center","justify-center"];return je("div",{class:e.concat(this.mobile?t:n)},this.$slots.default().map((i,r)=>{const o=!this.mobile&&this.$slots.default().length>r+1?s.concat(["mb-6","md:mb-0"]):s;return je("div",{class:o},[i])}))}}),bb="/assets/border/test.png",_b={class:"relative inline-block"},yb=["src","alt"],xb=U("img",{src:bb,alt:"border",class:"absolute inset-0 w-full h-full overflow-hidden",style:{"object-fit":"fill",transform:"scale(1.02)"}},null,-1),Lh={__name:"UserAvatar",props:{username:{type:String,required:!0},avatar:{type:String,default:null}},setup(e){const t=e,n=it(()=>{var i;return(i=t.avatar)!=null?i:"https://i.imgur.com/nkx5ufe.jpg"}),s=it(()=>t.username);return(i,r)=>(q(),bt("div",null,[U("div",_b,[U("img",{src:D(n),alt:D(s),class:"w-full h-auto bg-gray-100 dark:bg-slate-800 rounded-full overflow-hidden"},null,8,yb),xb]),Gt(i.$slots,"default")]))}},Ph={__name:"UserAvatarCurrentUser",setup(e){const t=xs();return(n,s)=>(q(),_t(Lh,{username:D(t).userName,avatar:D(t).userAvatar},{default:yt(()=>[Gt(n.$slots,"default")]),_:3},8,["username","avatar"]))}},Oh={__name:"CardBoxComponentBody",props:{noPadding:Boolean},setup(e){return(t,n)=>(q(),bt("div",{class:ot(["flex-1",{"p-6":!e.noPadding}])},[Gt(t.$slots,"default")],2))}},vb=(e,t)=>{const n=e.__vccOpts||e;for(const[s,i]of t)n[s]=i;return n},wb={},Mb={class:"p-6"};function kb(e,t){return q(),bt("footer",Mb,[Gt(e.$slots,"default")])}const Cb=vb(wb,[["render",kb]]),Qi={__name:"CardBox",props:{rounded:{type:String,default:"rounded-2xl"},flex:{type:String,default:"flex-col"},hasComponentLayout:Boolean,hasTable:Boolean,isForm:Boolean,isHoverable:Boolean,isModal:Boolean},emits:["submit"],setup(e,{emit:t}){const n=e,s=zf(),i=it(()=>s.footer&&!!s.footer()),r=it(()=>{const a=[n.rounded,n.flex,n.isModal?"dark:bg-slate-900":"dark:bg-slate-900/70"];return n.isHoverable&&a.push("hover:shadow-lg transition-shadow duration-500"),a}),o=a=>{t("submit",a)};return(a,l)=>(q(),_t(Mr(e.isForm?"form":"div"),{class:ot([D(r),"bg-white flex"]),onSubmit:o},{default:yt(()=>[e.hasComponentLayout?Gt(a.$slots,"default",{key:0}):(q(),bt(Ft,{key:1},[B(Oh,{"no-padding":e.hasTable},{default:yt(()=>[Gt(a.$slots,"default")]),_:3},8,["no-padding"]),D(i)?(q(),_t(Cb,{key:0},{default:yt(()=>[Gt(a.$slots,"footer")]),_:3})):Kt("",!0)],64))]),_:3},40,["class"]))}},Ta="bg-gradient-to-tr",kw=`${Ta} from-purple-400 via-pink-500 to-red-500`,Cw=`${Ta} from-slate-700 via-slate-900 to-slate-800`,Sw=`${Ta} from-pink-400 via-red-500 to-yellow-500`,Rh={white:"bg-white text-black",light:"bg-white text-black dark:bg-slate-900/70 dark:text-white",contrast:"bg-gray-800 text-white dark:bg-white dark:text-black",success:"bg-emerald-500 border-emerald-500 text-white",danger:"bg-red-500 border-red-500 text-white",warning:"bg-yellow-500 border-yellow-500 text-white",info:"bg-blue-500 border-blue-500 text-white"},tn={white:"text-black dark:text-slate-100",light:"text-gray-700 dark:text-slate-400",contrast:"dark:text-white",success:"text-emerald-500",danger:"text-red-500",warning:"text-yellow-500",info:"text-blue-500"},Sb={white:[tn.white,"border-gray-100"],light:[tn.light,"border-gray-100"],contrast:[tn.contrast,"border-gray-900 dark:border-slate-100"],success:[tn.success,"border-emerald-500"],danger:[tn.danger,"border-red-500"],warning:[tn.warning,"border-yellow-500"],info:[tn.info,"border-blue-500"]},Th=(e,t,n,s=!1)=>{const i={ring:{white:"ring-gray-200 dark:ring-gray-500",whiteDark:"ring-gray-200 dark:ring-gray-500",lightDark:"ring-gray-200 dark:ring-gray-500",contrast:"ring-gray-300 dark:ring-gray-400",success:"ring-emerald-300 dark:ring-emerald-700",danger:"ring-red-300 dark:ring-red-700",warning:"ring-yellow-300 dark:ring-yellow-700",info:"ring-blue-300 dark:ring-blue-700"},active:{white:"bg-gray-100",whiteDark:"bg-gray-100 dark:bg-slate-800",lightDark:"bg-gray-200 dark:bg-slate-700",contrast:"bg-gray-700 dark:bg-slate-100",success:"bg-emerald-700 dark:bg-emerald-600",danger:"bg-red-700 dark:bg-red-600",warning:"bg-yellow-700 dark:bg-yellow-600",info:"bg-blue-700 dark:bg-blue-600"},bg:{white:"bg-white text-black",whiteDark:"bg-white text-black dark:bg-slate-900 dark:text-white",lightDark:"bg-gray-100 text-black dark:bg-slate-800 dark:text-white",contrast:"bg-gray-800 text-white dark:bg-white dark:text-black",success:"bg-emerald-600 dark:bg-emerald-500 text-white",danger:"bg-red-600 dark:bg-red-500 text-white",warning:"bg-yellow-600 dark:bg-yellow-500 text-white",info:"bg-blue-600 dark:bg-blue-500 text-white"},bgHover:{white:"hover:bg-gray-100",whiteDark:"hover:bg-gray-100 hover:dark:bg-slate-800",lightDark:"hover:bg-gray-200 hover:dark:bg-slate-700",contrast:"hover:bg-gray-700 hover:dark:bg-slate-100",success:"hover:bg-emerald-700 hover:border-emerald-700 hover:dark:bg-emerald-600 hover:dark:border-emerald-600",danger:"hover:bg-red-700 hover:border-red-700 hover:dark:bg-red-600 hover:dark:border-red-600",warning:"hover:bg-yellow-700 hover:border-yellow-700 hover:dark:bg-yellow-600 hover:dark:border-yellow-600",info:"hover:bg-blue-700 hover:border-blue-700 hover:dark:bg-blue-600 hover:dark:border-blue-600"},borders:{white:"border-white",whiteDark:"border-white dark:border-slate-900",lightDark:"border-gray-100 dark:border-slate-800",contrast:"border-gray-800 dark:border-white",success:"border-emerald-600 dark:border-emerald-500",danger:"border-red-600 dark:border-red-500",warning:"border-yellow-600 dark:border-yellow-500",info:"border-blue-600 dark:border-blue-500"},text:{contrast:"dark:text-slate-100",success:"text-emerald-600 dark:text-emerald-500",danger:"text-red-600 dark:text-red-500",warning:"text-yellow-600 dark:text-yellow-500",info:"text-blue-600 dark:text-blue-500"},outlineHover:{contrast:"hover:bg-gray-800 hover:text-gray-100 hover:dark:bg-slate-100 hover:dark:text-black",success:"hover:bg-emerald-600 hover:text-white hover:text-white hover:dark:text-white hover:dark:border-emerald-600",danger:"hover:bg-red-600 hover:text-white hover:text-white hover:dark:text-white hover:dark:border-red-600",warning:"hover:bg-yellow-600 hover:text-white hover:text-white hover:dark:text-white hover:dark:border-yellow-600",info:"hover:bg-blue-600 hover:text-white hover:dark:text-white hover:dark:border-blue-600"}};if(!i.bg[e])return e;const r=t&&["white","whiteDark","lightDark"].indexOf(e)<0,o=[i.borders[e],i.ring[e]];return s?o.push(i.active[e]):o.push(r?i.text[e]:i.bg[e]),n&&o.push(r?i.outlineHover[e]:i.bgHover[e]),o},Ab=["width","height"],Eb=["d"],le={__name:"BaseIcon",props:{path:{type:String,required:!0},w:{type:String,default:"w-6"},h:{type:String,default:"h-6"},size:{type:[String,Number],default:null}},setup(e){const t=e,n=it(()=>`inline-flex justify-center items-center ${t.w} ${t.h}`),s=it(()=>{var i;return(i=t.size)!=null?i:16});return(i,r)=>(q(),bt("span",{class:ot(D(n))},[(q(),bt("svg",{viewBox:"0 0 24 24",width:D(s),height:D(s),class:"inline-block"},[U("path",{fill:"currentColor",d:e.path},null,8,Eb)],8,Ab)),Gt(i.$slots,"default")],2))}},Lb={__name:"PillTagPlain",props:{label:{type:String,required:!0},icon:{type:String,default:null},small:Boolean},setup(e){return(t,n)=>(q(),bt("div",{class:ot(["inline-flex items-center capitalize leading-none",[e.small?"text-xs":"text-sm"]])},[e.icon?(q(),_t(le,{key:0,path:e.icon,h:"h-4",w:"w-4",class:ot(e.small?"mr-1":"mr-2"),size:e.small?14:null},null,8,["path","class","size"])):Kt("",!0),U("span",null,Bt(e.label),1)],2))}},On={__name:"PillTag",props:{label:{type:String,required:!0},color:{type:String,required:!0},icon:{type:String,default:null},small:Boolean,outline:{type:Boolean,default:!0}},setup(e){const t=e,n=it(()=>[t.small?"py-1 px-3":"py-1.5 px-4",t.outline?Sb[t.color]:Rh[t.color]]);return(s,i)=>(q(),_t(Lb,{class:ot(["border rounded-full",D(n)]),icon:e.icon,label:e.label,small:e.small},null,8,["class","icon","label","small"]))}},Pc=[{author:"Trmazi",header:"Ready, ?",comment:"Let's heat it up with this number!"},{author:"Trmazi",header:"Yo, is in the House like Carpet.",comment:"Like Chef Boyardee, my rhyme is truly cookin'"},{author:"Trmazi",header:"There are two wolves inside of you, .",comment:"The furry convention is going very well."},{author:"Trmazi",header:"Howdy, !",comment:"Gonna break some records today?"},{author:"Trmazi",header:"Hiya, !",comment:"Glad to have you here."},{author:"Trmazi",header:"Good to see you, !",comment:"Show us your moves!"},{author:"Trmazi",header:"It's a Bird... It's a Plane... It's !",comment:"Let's push it to the grindstone."},{author:"yaladre",header:"What's shaking, ?",comment:"Ready to start your session?"},{author:"GlItChEdV0iDz",header:"Now who dat is? Why... it's !",comment:"Why's it always the same old thing?"},{author:"Error",header:"Error: Couldn't load 's profile.",comment:"Purging data. Please log in again."},{author:"caldenza",header:"Please don't actually eat glass, .",comment:`"I can't believe I have to write that."`},{author:"SQWERLY!",header:"Welcome to PhaseII, .",comment:'"Where you can actually still play older versions of DDR!"'},{author:"manamaster",header:"Go for Kaiden, .",comment:"You can do it!"},{author:"manamaster",header:"Steal from your local Round1, .",comment:"The DDR cab is free if you believe hard enough."},{author:"manamaster",header:"You should play Bone Eater, !",comment:`"It's really good, I swear!"`},{author:"manamaster",header:"No I cannot sell the DDR Gold cab to you for $500, .",comment:"Please stop asking."},{author:"topet",header:"Hello, !",comment:"If more than one is many, how many is few?"},{author:"barru",header:"What's good, ?",comment:"As long as you're around, everything's great \u{1F604}"}];class W{}ut(W,"BEATSTREAM","bst"),ut(W,"BISHI_BASHI","bishi"),ut(W,"BISHI_BASHI_NEW","newbishi"),ut(W,"DANCE_EVOLUTION","danevo"),ut(W,"DANCE_RUSH","dancerush"),ut(W,"DDR","ddr"),ut(W,"DDRCLASS","ddrclass"),ut(W,"DDROMNI","ddromni"),ut(W,"DRUMMANIA","dm"),ut(W,"EEMALL","eemall"),ut(W,"FUTURETOMTOM","ftt"),ut(W,"GITADORA_DM","gitadora_dm"),ut(W,"GITADORA_GF","gitadora_gf"),ut(W,"GUITARFREAKS","gf"),ut(W,"IIDX","iidx"),ut(W,"IIDXCLASS","iidxclass"),ut(W,"JUBEAT","jubeat"),ut(W,"LOVEPLUS","loveplus"),ut(W,"MGA","metalgear"),ut(W,"MUSECA","museca"),ut(W,"NOSTALGIA","nost"),ut(W,"OTOMEDIUS","oto"),ut(W,"OTOCA","otoca"),ut(W,"POPN_HELLO","hpm"),ut(W,"POPN_MUSIC","pnm"),ut(W,"QMA","qma"),ut(W,"REFLEC_BEAT","reflec"),ut(W,"ROAD_FIGHTERS","roadfighters"),ut(W,"SDVX","sdvx"),ut(W,"SILENT_HILL","sha"),ut(W,"SILENT_SCOPE","scope"),ut(W,"TSUMTSUM","tsum"),ut(W,"WINNING_ELEVEN","weac");function Pb(){const e=Math.floor(Math.random()*Pc.length),t=Pc[e];return t.header=t.header.split(""),t}const Ob=[{id:W.BEATSTREAM,name:"BeatStream",icon:null,cardBG:null},{id:W.BISHI_BASHI,name:"BishiBashi",icon:null,cardBG:null},{id:W.BISHI_BASHI_NEW,name:"BishiBashi Channel",icon:null,cardBG:null},{id:W.DANCE_EVOLUTION,name:"DanceEvolution",icon:null,cardBG:null},{id:W.DANCE_RUSH,name:"DanceRush",icon:null,cardBG:null},{id:W.DDR,name:"DanceDance Revolution",icon:null,cardBG:null},{id:W.DDRCLASS,name:"Classic DDR",icon:"/assets/icon/ddr.png",cardBG:"/assets/card/ddr.png"},{id:W.DDROMNI,name:"DDR OmniMIX",icon:"/assets/icon/ddr.png",cardBG:"/assets/card/ddr.png"},{id:W.DRUMMANIA,name:"DRUMMANIA",icon:null,cardBG:null},{id:W.EEMALL,name:"eeMall",icon:null,cardBG:null},{id:W.FUTURETOMTOM,name:"Future Tom Tom",icon:null,cardBG:null},{id:W.GITADORA_DM,name:"GITADORA (Drums)",icon:null,cardBG:null},{id:W.GITADORA_GF,name:"GITADORA (Guitar)",icon:null,cardBG:null},{id:W.GUITARFREAKS,name:"GUITAR FREAKS",icon:null,cardBG:null},{id:W.IIDX,name:"beatmaniaIIDX",icon:"/assets/icon/iidx.png",cardBG:"/assets/card/iidx.png"},{id:W.IIDXCLASS,name:"Classic IIDX",icon:"/assets/icon/iidx.png",cardBG:"/assets/card/iidx.png"},{id:W.JUBEAT,name:"JUBEAT",icon:null,cardBG:null},{id:W.LOVEPLUS,name:"LovePlus",icon:null,cardBG:null},{id:W.MGA,name:"Metal Gear Arcade",icon:null,cardBG:null},{id:W.MUSECA,name:"Museca",icon:null,cardBG:null},{id:W.NOSTALGIA,name:"Nostalgia",icon:null,cardBG:null},{id:W.OTOMEDIUS,name:"Otomedius",icon:null,cardBG:null},{id:W.OTOCA,name:"Otoca d' Or",icon:null,cardBG:null},{id:W.POPN_HELLO,name:"Hello! Pop'n Music",icon:"/assets/icon/popn.png",cardBG:"/assets/card/popn.png"},{id:W.POPN_MUSIC,name:"pop'n music",icon:"/assets/icon/popn.png",cardBG:"/assets/card/popn.png"},{id:W.QMA,name:"Quiz Magic Academy",icon:null,cardBG:null},{id:W.REFLEC_BEAT,name:"ReflecBeat",icon:null,cardBG:null},{id:W.ROAD_FIGHTERS,name:"Road Fighters",icon:null,cardBG:null},{id:W.SDVX,name:"SOUND VOLTEX",icon:null,cardBG:null}];function Rb(e){var t=Ob.find(n=>n.id===e);return t?(t.icon||(t.icon=`/assets/icon/${e}.png`),t.cardBG||(t.cardBG=`/assets/card/${e}.png`),t):null}const Tb={class:"space-y-3 text-center md:text-left lg:mx-12"},Db={class:"space-y-2 md:space-y-0"},Ib={class:"text-2xl md:text-xl lg:text-2xl"},Hb={class:"md:grid md:grid-flow-col md:auto-cols-max md:grid-rows-2 flex flex-wrap gap-4 md:place-content-start place-content-center"},Vb={class:"text-xl md:text-lg lg:text-2lg"},Fb={class:"text-xs italic"},Bb={__name:"UserCard",setup(e){const t=xs(),n=Pb();function s(i){if(i!==null)return` - background-image: url('/assets/card/${i}.png'); - background-size: cover; - background-repeat: no-repeat; - `}return(i,r)=>(q(),_t(Qi,{style:si(s("sdvx"))},{default:yt(()=>[B(Fn,{type:"justify-around lg:justify-center md:space-x-4 lg:space-x-0",class:"bg-white dark:bg-slate-900/90 rounded-2xl p-3"},{default:yt(()=>[B(Ph,{class:"w-28 md:w-32 lg:w-44 lg:mx-12"}),U("div",Tb,[U("div",Db,[U("h1",Ib,[ss(Bt(D(n).header[0])+" ",1),U("b",null,Bt(D(t).userName),1),ss(Bt(D(n).header[1]),1)])]),U("div",Hb,[B(On,{label:"System Admin",color:"danger",icon:D(e0)},null,8,["icon"]),B(On,{label:"Beta Tester",color:"warning",icon:D(o0)},null,8,["icon"]),B(On,{label:"Veteran",color:"success",icon:D(V1)},null,8,["icon"]),B(On,{label:"Active Dev",color:"info",icon:D(W1)},null,8,["icon"])])]),U("div",null,[U("p",Vb,Bt(D(n).comment),1),U("p",Fb,"Greeting by: "+Bt(D(n).author),1)])]),_:1})]),_:1},8,["style"]))}},po={default:{primary:"#00D1B2",info:"#209CEE",danger:"#FF3860"}},Nb=e=>{const t=[];for(let n=0;n({fill:!1,borderColor:po.default[e],borderWidth:2,borderDash:[],borderDashOffset:0,pointBackgroundColor:po.default[e],pointBorderColor:"rgba(255,255,255,0)",pointHoverBackgroundColor:po.default[e],pointBorderWidth:20,pointHoverRadius:4,pointHoverBorderWidth:15,pointRadius:4,data:Nb(t),tension:.5,cubicInterpolationMode:"default"}),zb=(e=7)=>{const t=[];for(let n=1;n<=e;n++)t.push(`0${n}`);return{labels:t,datasets:[$b("info",e)]}};/*! - * Chart.js v3.9.1 - * https://www.chartjs.org - * (c) 2022 Chart.js Contributors - * Released under the MIT License - */function Ve(){}const jb=function(){let e=0;return function(){return e++}}();function xt(e){return e===null||typeof e>"u"}function Et(e){if(Array.isArray&&Array.isArray(e))return!0;const t=Object.prototype.toString.call(e);return t.slice(0,7)==="[object"&&t.slice(-6)==="Array]"}function mt(e){return e!==null&&Object.prototype.toString.call(e)==="[object Object]"}const zt=e=>(typeof e=="number"||e instanceof Number)&&isFinite(+e);function he(e,t){return zt(e)?e:t}function gt(e,t){return typeof e>"u"?t:e}const Wb=(e,t)=>typeof e=="string"&&e.endsWith("%")?parseFloat(e)/100:e/t,Dh=(e,t)=>typeof e=="string"&&e.endsWith("%")?parseFloat(e)/100*t:+e;function Pt(e,t,n){if(e&&typeof e.call=="function")return e.apply(n,t)}function wt(e,t,n,s){let i,r,o;if(Et(e))if(r=e.length,s)for(i=r-1;i>=0;i--)t.call(n,e[i],i);else for(i=0;ie,x:e=>e.x,y:e=>e.y};function pn(e,t){return(Oc[t]||(Oc[t]=Kb(t)))(e)}function Kb(e){const t=Yb(e);return n=>{for(const s of t){if(s==="")break;n=n&&n[s]}return n}}function Yb(e){const t=e.split("."),n=[];let s="";for(const i of t)s+=i,s.endsWith("\\")?s=s.slice(0,-1)+".":(n.push(s),s="");return n}function Da(e){return e.charAt(0).toUpperCase()+e.slice(1)}const me=e=>typeof e<"u",gn=e=>typeof e=="function",Rc=(e,t)=>{if(e.size!==t.size)return!1;for(const n of e)if(!t.has(n))return!1;return!0};function Xb(e){return e.type==="mouseup"||e.type==="click"||e.type==="contextmenu"}const Rt=Math.PI,kt=2*Rt,Zb=kt+Rt,nr=Number.POSITIVE_INFINITY,Gb=Rt/180,Ot=Rt/2,Cs=Rt/4,Tc=Rt*2/3,de=Math.log10,De=Math.sign;function Dc(e){const t=Math.round(e);e=$s(e,t,e/1e3)?t:e;const n=Math.pow(10,Math.floor(de(e))),s=e/n;return(s<=1?1:s<=2?2:s<=5?5:10)*n}function Jb(e){const t=[],n=Math.sqrt(e);let s;for(s=1;si-r).pop(),t}function us(e){return!isNaN(parseFloat(e))&&isFinite(e)}function $s(e,t,n){return Math.abs(e-t)=e}function Hh(e,t,n){let s,i,r;for(s=0,i=e.length;sl&&c=Math.min(t,n)-s&&e<=Math.max(t,n)+s}function Ha(e,t,n){n=n||(o=>e[o]1;)r=i+s>>1,n(r)?i=r:s=r;return{lo:i,hi:s}}const Rn=(e,t,n,s)=>Ha(e,n,s?i=>e[i][t]<=n:i=>e[i][t]Ha(e,n,s=>e[s][t]>=n);function s_(e,t,n){let s=0,i=e.length;for(;ss&&e[i-1]>n;)i--;return s>0||i{const s="_onData"+Da(n),i=e[n];Object.defineProperty(e,n,{configurable:!0,enumerable:!1,value(...r){const o=i.apply(this,r);return e._chartjs.listeners.forEach(a=>{typeof a[s]=="function"&&a[s](...r)}),o}})})}function Hc(e,t){const n=e._chartjs;if(!n)return;const s=n.listeners,i=s.indexOf(t);i!==-1&&s.splice(i,1),!(s.length>0)&&(Fh.forEach(r=>{delete e[r]}),delete e._chartjs)}function Bh(e){const t=new Set;let n,s;for(n=0,s=e.length;n"u"?function(e){return e()}:window.requestAnimationFrame}();function $h(e,t,n){const s=n||(o=>Array.prototype.slice.call(o));let i=!1,r=[];return function(...o){r=s(o),i||(i=!0,Nh.call(window,()=>{i=!1,e.apply(t,r)}))}}function r_(e,t){let n;return function(...s){return t?(clearTimeout(n),n=setTimeout(e,t,s)):e.apply(this,s),t}}const o_=e=>e==="start"?"left":e==="end"?"right":"center",Vc=(e,t,n)=>e==="start"?t:e==="end"?n:(t+n)/2;function zh(e,t,n){const s=t.length;let i=0,r=s;if(e._sorted){const{iScale:o,_parsed:a}=e,l=o.axis,{min:c,max:u,minDefined:f,maxDefined:h}=o.getUserBounds();f&&(i=Yt(Math.min(Rn(a,o.axis,c).lo,n?s:Rn(t,l,o.getPixelForValue(c)).lo),0,s-1)),h?r=Yt(Math.max(Rn(a,o.axis,u,!0).hi+1,n?0:Rn(t,l,o.getPixelForValue(u),!0).hi+1),i,s)-i:r=s-i}return{start:i,count:r}}function jh(e){const{xScale:t,yScale:n,_scaleRanges:s}=e,i={xmin:t.min,xmax:t.max,ymin:n.min,ymax:n.max};if(!s)return e._scaleRanges=i,!0;const r=s.xmin!==t.min||s.xmax!==t.max||s.ymin!==n.min||s.ymax!==n.max;return Object.assign(s,i),r}const bi=e=>e===0||e===1,Fc=(e,t,n)=>-(Math.pow(2,10*(e-=1))*Math.sin((e-t)*kt/n)),Bc=(e,t,n)=>Math.pow(2,-10*e)*Math.sin((e-t)*kt/n)+1,zs={linear:e=>e,easeInQuad:e=>e*e,easeOutQuad:e=>-e*(e-2),easeInOutQuad:e=>(e/=.5)<1?.5*e*e:-.5*(--e*(e-2)-1),easeInCubic:e=>e*e*e,easeOutCubic:e=>(e-=1)*e*e+1,easeInOutCubic:e=>(e/=.5)<1?.5*e*e*e:.5*((e-=2)*e*e+2),easeInQuart:e=>e*e*e*e,easeOutQuart:e=>-((e-=1)*e*e*e-1),easeInOutQuart:e=>(e/=.5)<1?.5*e*e*e*e:-.5*((e-=2)*e*e*e-2),easeInQuint:e=>e*e*e*e*e,easeOutQuint:e=>(e-=1)*e*e*e*e+1,easeInOutQuint:e=>(e/=.5)<1?.5*e*e*e*e*e:.5*((e-=2)*e*e*e*e+2),easeInSine:e=>-Math.cos(e*Ot)+1,easeOutSine:e=>Math.sin(e*Ot),easeInOutSine:e=>-.5*(Math.cos(Rt*e)-1),easeInExpo:e=>e===0?0:Math.pow(2,10*(e-1)),easeOutExpo:e=>e===1?1:-Math.pow(2,-10*e)+1,easeInOutExpo:e=>bi(e)?e:e<.5?.5*Math.pow(2,10*(e*2-1)):.5*(-Math.pow(2,-10*(e*2-1))+2),easeInCirc:e=>e>=1?e:-(Math.sqrt(1-e*e)-1),easeOutCirc:e=>Math.sqrt(1-(e-=1)*e),easeInOutCirc:e=>(e/=.5)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1),easeInElastic:e=>bi(e)?e:Fc(e,.075,.3),easeOutElastic:e=>bi(e)?e:Bc(e,.075,.3),easeInOutElastic(e){return bi(e)?e:e<.5?.5*Fc(e*2,.1125,.45):.5+.5*Bc(e*2-1,.1125,.45)},easeInBack(e){return e*e*((1.70158+1)*e-1.70158)},easeOutBack(e){return(e-=1)*e*((1.70158+1)*e+1.70158)+1},easeInOutBack(e){let t=1.70158;return(e/=.5)<1?.5*(e*e*(((t*=1.525)+1)*e-t)):.5*((e-=2)*e*(((t*=1.525)+1)*e+t)+2)},easeInBounce:e=>1-zs.easeOutBounce(1-e),easeOutBounce(e){return e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375},easeInOutBounce:e=>e<.5?zs.easeInBounce(e*2)*.5:zs.easeOutBounce(e*2-1)*.5+.5};/*! - * @kurkle/color v0.2.1 - * https://github.com/kurkle/color#readme - * (c) 2022 Jukka Kurkela - * Released under the MIT License - */function ri(e){return e+.5|0}const rn=(e,t,n)=>Math.max(Math.min(e,n),t);function Rs(e){return rn(ri(e*2.55),0,255)}function un(e){return rn(ri(e*255),0,255)}function $e(e){return rn(ri(e/2.55)/100,0,1)}function Nc(e){return rn(ri(e*100),0,100)}const fe={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15},Yo=[..."0123456789ABCDEF"],a_=e=>Yo[e&15],l_=e=>Yo[(e&240)>>4]+Yo[e&15],_i=e=>(e&240)>>4===(e&15),c_=e=>_i(e.r)&&_i(e.g)&&_i(e.b)&&_i(e.a);function u_(e){var t=e.length,n;return e[0]==="#"&&(t===4||t===5?n={r:255&fe[e[1]]*17,g:255&fe[e[2]]*17,b:255&fe[e[3]]*17,a:t===5?fe[e[4]]*17:255}:(t===7||t===9)&&(n={r:fe[e[1]]<<4|fe[e[2]],g:fe[e[3]]<<4|fe[e[4]],b:fe[e[5]]<<4|fe[e[6]],a:t===9?fe[e[7]]<<4|fe[e[8]]:255})),n}const f_=(e,t)=>e<255?t(e):"";function h_(e){var t=c_(e)?a_:l_;return e?"#"+t(e.r)+t(e.g)+t(e.b)+f_(e.a,t):void 0}const d_=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function Wh(e,t,n){const s=t*Math.min(n,1-n),i=(r,o=(r+e/30)%12)=>n-s*Math.max(Math.min(o-3,9-o,1),-1);return[i(0),i(8),i(4)]}function p_(e,t,n){const s=(i,r=(i+e/60)%6)=>n-n*t*Math.max(Math.min(r,4-r,1),0);return[s(5),s(3),s(1)]}function g_(e,t,n){const s=Wh(e,1,.5);let i;for(t+n>1&&(i=1/(t+n),t*=i,n*=i),i=0;i<3;i++)s[i]*=1-t-n,s[i]+=t;return s}function m_(e,t,n,s,i){return e===i?(t-n)/s+(t.5?u/(2-r-o):u/(r+o),l=m_(n,s,i,u,r),l=l*60+.5),[l|0,c||0,a]}function Fa(e,t,n,s){return(Array.isArray(t)?e(t[0],t[1],t[2]):e(t,n,s)).map(un)}function Ba(e,t,n){return Fa(Wh,e,t,n)}function b_(e,t,n){return Fa(g_,e,t,n)}function __(e,t,n){return Fa(p_,e,t,n)}function Uh(e){return(e%360+360)%360}function y_(e){const t=d_.exec(e);let n=255,s;if(!t)return;t[5]!==s&&(n=t[6]?Rs(+t[5]):un(+t[5]));const i=Uh(+t[2]),r=+t[3]/100,o=+t[4]/100;return t[1]==="hwb"?s=b_(i,r,o):t[1]==="hsv"?s=__(i,r,o):s=Ba(i,r,o),{r:s[0],g:s[1],b:s[2],a:n}}function x_(e,t){var n=Va(e);n[0]=Uh(n[0]+t),n=Ba(n),e.r=n[0],e.g=n[1],e.b=n[2]}function v_(e){if(!e)return;const t=Va(e),n=t[0],s=Nc(t[1]),i=Nc(t[2]);return e.a<255?`hsla(${n}, ${s}%, ${i}%, ${$e(e.a)})`:`hsl(${n}, ${s}%, ${i}%)`}const $c={x:"dark",Z:"light",Y:"re",X:"blu",W:"gr",V:"medium",U:"slate",A:"ee",T:"ol",S:"or",B:"ra",C:"lateg",D:"ights",R:"in",Q:"turquois",E:"hi",P:"ro",O:"al",N:"le",M:"de",L:"yello",F:"en",K:"ch",G:"arks",H:"ea",I:"ightg",J:"wh"},zc={OiceXe:"f0f8ff",antiquewEte:"faebd7",aqua:"ffff",aquamarRe:"7fffd4",azuY:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"0",blanKedOmond:"ffebcd",Xe:"ff",XeviTet:"8a2be2",bPwn:"a52a2a",burlywood:"deb887",caMtXe:"5f9ea0",KartYuse:"7fff00",KocTate:"d2691e",cSO:"ff7f50",cSnflowerXe:"6495ed",cSnsilk:"fff8dc",crimson:"dc143c",cyan:"ffff",xXe:"8b",xcyan:"8b8b",xgTMnPd:"b8860b",xWay:"a9a9a9",xgYF:"6400",xgYy:"a9a9a9",xkhaki:"bdb76b",xmagFta:"8b008b",xTivegYF:"556b2f",xSange:"ff8c00",xScEd:"9932cc",xYd:"8b0000",xsOmon:"e9967a",xsHgYF:"8fbc8f",xUXe:"483d8b",xUWay:"2f4f4f",xUgYy:"2f4f4f",xQe:"ced1",xviTet:"9400d3",dAppRk:"ff1493",dApskyXe:"bfff",dimWay:"696969",dimgYy:"696969",dodgerXe:"1e90ff",fiYbrick:"b22222",flSOwEte:"fffaf0",foYstWAn:"228b22",fuKsia:"ff00ff",gaRsbSo:"dcdcdc",ghostwEte:"f8f8ff",gTd:"ffd700",gTMnPd:"daa520",Way:"808080",gYF:"8000",gYFLw:"adff2f",gYy:"808080",honeyMw:"f0fff0",hotpRk:"ff69b4",RdianYd:"cd5c5c",Rdigo:"4b0082",ivSy:"fffff0",khaki:"f0e68c",lavFMr:"e6e6fa",lavFMrXsh:"fff0f5",lawngYF:"7cfc00",NmoncEffon:"fffacd",ZXe:"add8e6",ZcSO:"f08080",Zcyan:"e0ffff",ZgTMnPdLw:"fafad2",ZWay:"d3d3d3",ZgYF:"90ee90",ZgYy:"d3d3d3",ZpRk:"ffb6c1",ZsOmon:"ffa07a",ZsHgYF:"20b2aa",ZskyXe:"87cefa",ZUWay:"778899",ZUgYy:"778899",ZstAlXe:"b0c4de",ZLw:"ffffe0",lime:"ff00",limegYF:"32cd32",lRF:"faf0e6",magFta:"ff00ff",maPon:"800000",VaquamarRe:"66cdaa",VXe:"cd",VScEd:"ba55d3",VpurpN:"9370db",VsHgYF:"3cb371",VUXe:"7b68ee",VsprRggYF:"fa9a",VQe:"48d1cc",VviTetYd:"c71585",midnightXe:"191970",mRtcYam:"f5fffa",mistyPse:"ffe4e1",moccasR:"ffe4b5",navajowEte:"ffdead",navy:"80",Tdlace:"fdf5e6",Tive:"808000",TivedBb:"6b8e23",Sange:"ffa500",SangeYd:"ff4500",ScEd:"da70d6",pOegTMnPd:"eee8aa",pOegYF:"98fb98",pOeQe:"afeeee",pOeviTetYd:"db7093",papayawEp:"ffefd5",pHKpuff:"ffdab9",peru:"cd853f",pRk:"ffc0cb",plum:"dda0dd",powMrXe:"b0e0e6",purpN:"800080",YbeccapurpN:"663399",Yd:"ff0000",Psybrown:"bc8f8f",PyOXe:"4169e1",saddNbPwn:"8b4513",sOmon:"fa8072",sandybPwn:"f4a460",sHgYF:"2e8b57",sHshell:"fff5ee",siFna:"a0522d",silver:"c0c0c0",skyXe:"87ceeb",UXe:"6a5acd",UWay:"708090",UgYy:"708090",snow:"fffafa",sprRggYF:"ff7f",stAlXe:"4682b4",tan:"d2b48c",teO:"8080",tEstN:"d8bfd8",tomato:"ff6347",Qe:"40e0d0",viTet:"ee82ee",JHt:"f5deb3",wEte:"ffffff",wEtesmoke:"f5f5f5",Lw:"ffff00",LwgYF:"9acd32"};function w_(){const e={},t=Object.keys(zc),n=Object.keys($c);let s,i,r,o,a;for(s=0;s>16&255,r>>8&255,r&255]}return e}let yi;function M_(e){yi||(yi=w_(),yi.transparent=[0,0,0,0]);const t=yi[e.toLowerCase()];return t&&{r:t[0],g:t[1],b:t[2],a:t.length===4?t[3]:255}}const k_=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;function C_(e){const t=k_.exec(e);let n=255,s,i,r;if(!!t){if(t[7]!==s){const o=+t[7];n=t[8]?Rs(o):rn(o*255,0,255)}return s=+t[1],i=+t[3],r=+t[5],s=255&(t[2]?Rs(s):rn(s,0,255)),i=255&(t[4]?Rs(i):rn(i,0,255)),r=255&(t[6]?Rs(r):rn(r,0,255)),{r:s,g:i,b:r,a:n}}}function S_(e){return e&&(e.a<255?`rgba(${e.r}, ${e.g}, ${e.b}, ${$e(e.a)})`:`rgb(${e.r}, ${e.g}, ${e.b})`)}const go=e=>e<=.0031308?e*12.92:Math.pow(e,1/2.4)*1.055-.055,Yn=e=>e<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4);function A_(e,t,n){const s=Yn($e(e.r)),i=Yn($e(e.g)),r=Yn($e(e.b));return{r:un(go(s+n*(Yn($e(t.r))-s))),g:un(go(i+n*(Yn($e(t.g))-i))),b:un(go(r+n*(Yn($e(t.b))-r))),a:e.a+n*(t.a-e.a)}}function xi(e,t,n){if(e){let s=Va(e);s[t]=Math.max(0,Math.min(s[t]+s[t]*n,t===0?360:1)),s=Ba(s),e.r=s[0],e.g=s[1],e.b=s[2]}}function qh(e,t){return e&&Object.assign(t||{},e)}function jc(e){var t={r:0,g:0,b:0,a:255};return Array.isArray(e)?e.length>=3&&(t={r:e[0],g:e[1],b:e[2],a:255},e.length>3&&(t.a=un(e[3]))):(t=qh(e,{r:0,g:0,b:0,a:1}),t.a=un(t.a)),t}function E_(e){return e.charAt(0)==="r"?C_(e):y_(e)}class ir{constructor(t){if(t instanceof ir)return t;const n=typeof t;let s;n==="object"?s=jc(t):n==="string"&&(s=u_(t)||M_(t)||E_(t)),this._rgb=s,this._valid=!!s}get valid(){return this._valid}get rgb(){var t=qh(this._rgb);return t&&(t.a=$e(t.a)),t}set rgb(t){this._rgb=jc(t)}rgbString(){return this._valid?S_(this._rgb):void 0}hexString(){return this._valid?h_(this._rgb):void 0}hslString(){return this._valid?v_(this._rgb):void 0}mix(t,n){if(t){const s=this.rgb,i=t.rgb;let r;const o=n===r?.5:n,a=2*o-1,l=s.a-i.a,c=((a*l===-1?a:(a+l)/(1+a*l))+1)/2;r=1-c,s.r=255&c*s.r+r*i.r+.5,s.g=255&c*s.g+r*i.g+.5,s.b=255&c*s.b+r*i.b+.5,s.a=o*s.a+(1-o)*i.a,this.rgb=s}return this}interpolate(t,n){return t&&(this._rgb=A_(this._rgb,t._rgb,n)),this}clone(){return new ir(this.rgb)}alpha(t){return this._rgb.a=un(t),this}clearer(t){const n=this._rgb;return n.a*=1-t,this}greyscale(){const t=this._rgb,n=ri(t.r*.3+t.g*.59+t.b*.11);return t.r=t.g=t.b=n,this}opaquer(t){const n=this._rgb;return n.a*=1+t,this}negate(){const t=this._rgb;return t.r=255-t.r,t.g=255-t.g,t.b=255-t.b,this}lighten(t){return xi(this._rgb,2,t),this}darken(t){return xi(this._rgb,2,-t),this}saturate(t){return xi(this._rgb,1,t),this}desaturate(t){return xi(this._rgb,1,-t),this}rotate(t){return x_(this._rgb,t),this}}function Kh(e){return new ir(e)}function Yh(e){if(e&&typeof e=="object"){const t=e.toString();return t==="[object CanvasPattern]"||t==="[object CanvasGradient]"}return!1}function Wc(e){return Yh(e)?e:Kh(e)}function mo(e){return Yh(e)?e:Kh(e).saturate(.5).darken(.1).hexString()}const Bn=Object.create(null),Xo=Object.create(null);function js(e,t){if(!t)return e;const n=t.split(".");for(let s=0,i=n.length;sn.chart.platform.getDevicePixelRatio(),this.elements={},this.events=["mousemove","mouseout","click","touchstart","touchmove"],this.font={family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",size:12,style:"normal",lineHeight:1.2,weight:null},this.hover={},this.hoverBackgroundColor=(n,s)=>mo(s.backgroundColor),this.hoverBorderColor=(n,s)=>mo(s.borderColor),this.hoverColor=(n,s)=>mo(s.color),this.indexAxis="x",this.interaction={mode:"nearest",intersect:!0,includeInvisible:!1},this.maintainAspectRatio=!0,this.onHover=null,this.onClick=null,this.parsing=!0,this.plugins={},this.responsive=!0,this.scale=void 0,this.scales={},this.showLine=!0,this.drawActiveElementsOnTop=!0,this.describe(t)}set(t,n){return bo(this,t,n)}get(t){return js(this,t)}describe(t,n){return bo(Xo,t,n)}override(t,n){return bo(Bn,t,n)}route(t,n,s,i){const r=js(this,t),o=js(this,s),a="_"+n;Object.defineProperties(r,{[a]:{value:r[n],writable:!0},[n]:{enumerable:!0,get(){const l=this[a],c=o[i];return mt(l)?Object.assign({},c,l):gt(l,c)},set(l){this[a]=l}}})}}var ft=new L_({_scriptable:e=>!e.startsWith("on"),_indexable:e=>e!=="events",hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}});function P_(e){return!e||xt(e.size)||xt(e.family)?null:(e.style?e.style+" ":"")+(e.weight?e.weight+" ":"")+e.size+"px "+e.family}function rr(e,t,n,s,i){let r=t[i];return r||(r=t[i]=e.measureText(i).width,n.push(i)),r>s&&(s=r),s}function O_(e,t,n,s){s=s||{};let i=s.data=s.data||{},r=s.garbageCollect=s.garbageCollect||[];s.font!==t&&(i=s.data={},r=s.garbageCollect=[],s.font=t),e.save(),e.font=t;let o=0;const a=n.length;let l,c,u,f,h;for(l=0;ln.length){for(l=0;l0&&e.stroke()}}function ei(e,t,n){return n=n||.5,!t||e&&e.x>t.left-n&&e.xt.top-n&&e.y0&&r.strokeColor!=="";let l,c;for(e.save(),e.font=i.string,I_(e,r),l=0;l+e||0;function Na(e,t){const n={},s=mt(t),i=s?Object.keys(t):t,r=mt(e)?s?o=>gt(e[o],e[t[o]]):o=>e[o]:()=>e;for(const o of i)n[o]=N_(r(o));return n}function Gh(e){return Na(e,{top:"y",right:"x",bottom:"y",left:"x"})}function ts(e){return Na(e,["topLeft","topRight","bottomLeft","bottomRight"])}function be(e){const t=Gh(e);return t.width=t.left+t.right,t.height=t.top+t.bottom,t}function ae(e,t){e=e||{},t=t||ft.font;let n=gt(e.size,t.size);typeof n=="string"&&(n=parseInt(n,10));let s=gt(e.style,t.style);s&&!(""+s).match(F_)&&(console.warn('Invalid font style specified: "'+s+'"'),s="");const i={family:gt(e.family,t.family),lineHeight:B_(gt(e.lineHeight,t.lineHeight),n),size:n,style:s,weight:gt(e.weight,t.weight),string:""};return i.string=P_(i),i}function vi(e,t,n,s){let i=!0,r,o,a;for(r=0,o=e.length;rn&&a===0?0:a+l;return{min:o(s,-Math.abs(r)),max:o(i,r)}}function mn(e,t){return Object.assign(Object.create(e),t)}function $a(e,t=[""],n=e,s,i=()=>e[0]){me(s)||(s=ed("_fallback",e));const r={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:e,_rootScopes:n,_fallback:s,_getTarget:i,override:o=>$a([o,...e],t,n,s)};return new Proxy(r,{deleteProperty(o,a){return delete o[a],delete o._keys,delete e[0][a],!0},get(o,a){return Qh(o,a,()=>X_(a,t,e,o))},getOwnPropertyDescriptor(o,a){return Reflect.getOwnPropertyDescriptor(o._scopes[0],a)},getPrototypeOf(){return Reflect.getPrototypeOf(e[0])},has(o,a){return Kc(o).includes(a)},ownKeys(o){return Kc(o)},set(o,a,l){const c=o._storage||(o._storage=i());return o[a]=c[a]=l,delete o._keys,!0}})}function fs(e,t,n,s){const i={_cacheable:!1,_proxy:e,_context:t,_subProxy:n,_stack:new Set,_descriptors:Jh(e,s),setContext:r=>fs(e,r,n,s),override:r=>fs(e.override(r),t,n,s)};return new Proxy(i,{deleteProperty(r,o){return delete r[o],delete e[o],!0},get(r,o,a){return Qh(r,o,()=>j_(r,o,a))},getOwnPropertyDescriptor(r,o){return r._descriptors.allKeys?Reflect.has(e,o)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(e,o)},getPrototypeOf(){return Reflect.getPrototypeOf(e)},has(r,o){return Reflect.has(e,o)},ownKeys(){return Reflect.ownKeys(e)},set(r,o,a){return e[o]=a,delete r[o],!0}})}function Jh(e,t={scriptable:!0,indexable:!0}){const{_scriptable:n=t.scriptable,_indexable:s=t.indexable,_allKeys:i=t.allKeys}=e;return{allKeys:i,scriptable:n,indexable:s,isScriptable:gn(n)?n:()=>n,isIndexable:gn(s)?s:()=>s}}const z_=(e,t)=>e?e+Da(t):t,za=(e,t)=>mt(t)&&e!=="adapters"&&(Object.getPrototypeOf(t)===null||t.constructor===Object);function Qh(e,t,n){if(Object.prototype.hasOwnProperty.call(e,t))return e[t];const s=n();return e[t]=s,s}function j_(e,t,n){const{_proxy:s,_context:i,_subProxy:r,_descriptors:o}=e;let a=s[t];return gn(a)&&o.isScriptable(t)&&(a=W_(t,a,e,n)),Et(a)&&a.length&&(a=U_(t,a,e,o.isIndexable)),za(t,a)&&(a=fs(a,i,r&&r[t],o)),a}function W_(e,t,n,s){const{_proxy:i,_context:r,_subProxy:o,_stack:a}=n;if(a.has(e))throw new Error("Recursion detected: "+Array.from(a).join("->")+"->"+e);return a.add(e),t=t(r,o||s),a.delete(e),za(e,t)&&(t=ja(i._scopes,i,e,t)),t}function U_(e,t,n,s){const{_proxy:i,_context:r,_subProxy:o,_descriptors:a}=n;if(me(r.index)&&s(e))t=t[r.index%t.length];else if(mt(t[0])){const l=t,c=i._scopes.filter(u=>u!==l);t=[];for(const u of l){const f=ja(c,i,e,u);t.push(fs(f,r,o&&o[e],a))}}return t}function td(e,t,n){return gn(e)?e(t,n):e}const q_=(e,t)=>e===!0?t:typeof e=="string"?pn(t,e):void 0;function K_(e,t,n,s,i){for(const r of t){const o=q_(n,r);if(o){e.add(o);const a=td(o._fallback,n,i);if(me(a)&&a!==n&&a!==s)return a}else if(o===!1&&me(s)&&n!==s)return null}return!1}function ja(e,t,n,s){const i=t._rootScopes,r=td(t._fallback,n,s),o=[...e,...i],a=new Set;a.add(s);let l=qc(a,o,n,r||n,s);return l===null||me(r)&&r!==n&&(l=qc(a,o,r,l,s),l===null)?!1:$a(Array.from(a),[""],i,r,()=>Y_(t,n,s))}function qc(e,t,n,s,i){for(;n;)n=K_(e,t,n,s,i);return n}function Y_(e,t,n){const s=e._getTarget();t in s||(s[t]={});const i=s[t];return Et(i)&&mt(n)?n:i}function X_(e,t,n,s){let i;for(const r of t)if(i=ed(z_(r,e),n),me(i))return za(e,i)?ja(n,s,e,i):i}function ed(e,t){for(const n of t){if(!n)continue;const s=n[e];if(me(s))return s}}function Kc(e){let t=e._keys;return t||(t=e._keys=Z_(e._scopes)),t}function Z_(e){const t=new Set;for(const n of e)for(const s of Object.keys(n).filter(i=>!i.startsWith("_")))t.add(s);return Array.from(t)}function nd(e,t,n,s){const{iScale:i}=e,{key:r="r"}=this._parsing,o=new Array(s);let a,l,c,u;for(a=0,l=s;ate==="x"?"y":"x";function J_(e,t,n,s){const i=e.skip?t:e,r=t,o=n.skip?t:n,a=Ko(r,i),l=Ko(o,r);let c=a/(a+l),u=l/(a+l);c=isNaN(c)?0:c,u=isNaN(u)?0:u;const f=s*c,h=s*u;return{previous:{x:r.x-f*(o.x-i.x),y:r.y-f*(o.y-i.y)},next:{x:r.x+h*(o.x-i.x),y:r.y+h*(o.y-i.y)}}}function Q_(e,t,n){const s=e.length;let i,r,o,a,l,c=hs(e,0);for(let u=0;u!c.skip)),t.cubicInterpolationMode==="monotone")ey(e,i);else{let c=s?e[e.length-1]:e[0];for(r=0,o=e.length;rwindow.getComputedStyle(e,null);function iy(e,t){return Ir(e).getPropertyValue(t)}const ry=["top","right","bottom","left"];function Hn(e,t,n){const s={};n=n?"-"+n:"";for(let i=0;i<4;i++){const r=ry[i];s[r]=parseFloat(e[t+"-"+r+n])||0}return s.width=s.left+s.right,s.height=s.top+s.bottom,s}const oy=(e,t,n)=>(e>0||t>0)&&(!n||!n.shadowRoot);function ay(e,t){const n=e.touches,s=n&&n.length?n[0]:e,{offsetX:i,offsetY:r}=s;let o=!1,a,l;if(oy(i,r,e.target))a=i,l=r;else{const c=t.getBoundingClientRect();a=s.clientX-c.left,l=s.clientY-c.top,o=!0}return{x:a,y:l,box:o}}function Cn(e,t){if("native"in e)return e;const{canvas:n,currentDevicePixelRatio:s}=t,i=Ir(n),r=i.boxSizing==="border-box",o=Hn(i,"padding"),a=Hn(i,"border","width"),{x:l,y:c,box:u}=ay(e,n),f=o.left+(u&&a.left),h=o.top+(u&&a.top);let{width:d,height:p}=t;return r&&(d-=o.width+a.width,p-=o.height+a.height),{x:Math.round((l-f)/d*n.width/s),y:Math.round((c-h)/p*n.height/s)}}function ly(e,t,n){let s,i;if(t===void 0||n===void 0){const r=Wa(e);if(!r)t=e.clientWidth,n=e.clientHeight;else{const o=r.getBoundingClientRect(),a=Ir(r),l=Hn(a,"border","width"),c=Hn(a,"padding");t=o.width-c.width-l.width,n=o.height-c.height-l.height,s=lr(a.maxWidth,r,"clientWidth"),i=lr(a.maxHeight,r,"clientHeight")}}return{width:t,height:n,maxWidth:s||nr,maxHeight:i||nr}}const _o=e=>Math.round(e*10)/10;function cy(e,t,n,s){const i=Ir(e),r=Hn(i,"margin"),o=lr(i.maxWidth,e,"clientWidth")||nr,a=lr(i.maxHeight,e,"clientHeight")||nr,l=ly(e,t,n);let{width:c,height:u}=l;if(i.boxSizing==="content-box"){const f=Hn(i,"border","width"),h=Hn(i,"padding");c-=h.width+f.width,u-=h.height+f.height}return c=Math.max(0,c-r.width),u=Math.max(0,s?Math.floor(c/s):u-r.height),c=_o(Math.min(c,o,l.maxWidth)),u=_o(Math.min(u,a,l.maxHeight)),c&&!u&&(u=_o(c/2)),{width:c,height:u}}function Yc(e,t,n){const s=t||1,i=Math.floor(e.height*s),r=Math.floor(e.width*s);e.height=i/s,e.width=r/s;const o=e.canvas;return o.style&&(n||!o.style.height&&!o.style.width)&&(o.style.height=`${e.height}px`,o.style.width=`${e.width}px`),e.currentDevicePixelRatio!==s||o.height!==i||o.width!==r?(e.currentDevicePixelRatio=s,o.height=i,o.width=r,e.ctx.setTransform(s,0,0,s,0,0),!0):!1}const uy=function(){let e=!1;try{const t={get passive(){return e=!0,!1}};window.addEventListener("test",null,t),window.removeEventListener("test",null,t)}catch{}return e}();function Xc(e,t){const n=iy(e,t),s=n&&n.match(/^(\d+)(\.\d+)?px$/);return s?+s[1]:void 0}function Sn(e,t,n,s){return{x:e.x+n*(t.x-e.x),y:e.y+n*(t.y-e.y)}}function fy(e,t,n,s){return{x:e.x+n*(t.x-e.x),y:s==="middle"?n<.5?e.y:t.y:s==="after"?n<1?e.y:t.y:n>0?t.y:e.y}}function hy(e,t,n,s){const i={x:e.cp2x,y:e.cp2y},r={x:t.cp1x,y:t.cp1y},o=Sn(e,i,n),a=Sn(i,r,n),l=Sn(r,t,n),c=Sn(o,a,n),u=Sn(a,l,n);return Sn(c,u,n)}const Zc=new Map;function dy(e,t){t=t||{};const n=e+JSON.stringify(t);let s=Zc.get(n);return s||(s=new Intl.NumberFormat(e,t),Zc.set(n,s)),s}function oi(e,t,n){return dy(t,n).format(e)}const py=function(e,t){return{x(n){return e+e+t-n},setWidth(n){t=n},textAlign(n){return n==="center"?n:n==="right"?"left":"right"},xPlus(n,s){return n-s},leftForLtr(n,s){return n-s}}},gy=function(){return{x(e){return e},setWidth(e){},textAlign(e){return e},xPlus(e,t){return e+t},leftForLtr(e,t){return e}}};function yo(e,t,n){return e?py(t,n):gy()}function my(e,t){let n,s;(t==="ltr"||t==="rtl")&&(n=e.canvas.style,s=[n.getPropertyValue("direction"),n.getPropertyPriority("direction")],n.setProperty("direction",t,"important"),e.prevTextDirection=s)}function by(e,t){t!==void 0&&(delete e.prevTextDirection,e.canvas.style.setProperty("direction",t[0],t[1]))}function rd(e){return e==="angle"?{between:ti,compare:t_,normalize:xe}:{between:sr,compare:(t,n)=>t-n,normalize:t=>t}}function Gc({start:e,end:t,count:n,loop:s,style:i}){return{start:e%n,end:t%n,loop:s&&(t-e+1)%n===0,style:i}}function _y(e,t,n){const{property:s,start:i,end:r}=n,{between:o,normalize:a}=rd(s),l=t.length;let{start:c,end:u,loop:f}=e,h,d;if(f){for(c+=l,u+=l,h=0,d=l;hl(i,w,_)&&a(i,w)!==0,x=()=>a(r,_)===0||l(r,w,_),O=()=>g||M(),A=()=>!g||x();for(let C=u,R=u;C<=f;++C)v=t[C%o],!v.skip&&(_=c(v[s]),_!==w&&(g=l(_,i,r),b===null&&O()&&(b=a(_,i)===0?C:R),b!==null&&A()&&(p.push(Gc({start:b,end:C,loop:h,count:o,style:d})),b=null),R=C,w=_));return b!==null&&p.push(Gc({start:b,end:f,loop:h,count:o,style:d})),p}function xy(e,t){const n=[],s=e.segments;for(let i=0;ii&&e[r%t].skip;)r--;return r%=t,{start:i,end:r}}function wy(e,t,n,s){const i=e.length,r=[];let o=t,a=e[t],l;for(l=t+1;l<=n;++l){const c=e[l%i];c.skip||c.stop?a.skip||(s=!1,r.push({start:t%i,end:(l-1)%i,loop:s}),t=o=c.stop?l:null):(o=l,a.skip&&(t=l)),a=c}return o!==null&&r.push({start:t%i,end:o%i,loop:s}),r}function My(e,t){const n=e.points,s=e.options.spanGaps,i=n.length;if(!i)return[];const r=!!e._loop,{start:o,end:a}=vy(n,i,r,s);if(s===!0)return Jc(e,[{start:o,end:a,loop:r}],n,t);const l=aa({chart:t,initial:n.initial,numSteps:o,currentStep:Math.min(s-n.start,o)}))}_refresh(){this._request||(this._running=!0,this._request=Nh.call(window,()=>{this._update(),this._request=null,this._running&&this._refresh()}))}_update(t=Date.now()){let n=0;this._charts.forEach((s,i)=>{if(!s.running||!s.items.length)return;const r=s.items;let o=r.length-1,a=!1,l;for(;o>=0;--o)l=r[o],l._active?(l._total>s.duration&&(s.duration=l._total),l.tick(t),a=!0):(r[o]=r[r.length-1],r.pop());a&&(i.draw(),this._notify(i,s,t,"progress")),r.length||(s.running=!1,this._notify(i,s,t,"complete"),s.initial=!1),n+=r.length}),this._lastDate=t,n===0&&(this._running=!1)}_getAnims(t){const n=this._charts;let s=n.get(t);return s||(s={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},n.set(t,s)),s}listen(t,n,s){this._getAnims(t).listeners[n].push(s)}add(t,n){!n||!n.length||this._getAnims(t).items.push(...n)}has(t){return this._getAnims(t).items.length>0}start(t){const n=this._charts.get(t);!n||(n.running=!0,n.start=Date.now(),n.duration=n.items.reduce((s,i)=>Math.max(s,i._duration),0),this._refresh())}running(t){if(!this._running)return!1;const n=this._charts.get(t);return!(!n||!n.running||!n.items.length)}stop(t){const n=this._charts.get(t);if(!n||!n.items.length)return;const s=n.items;let i=s.length-1;for(;i>=0;--i)s[i].cancel();n.items=[],this._notify(t,n,Date.now(),"complete")}remove(t){return this._charts.delete(t)}}var Fe=new Sy;const tu="transparent",Ay={boolean(e,t,n){return n>.5?t:e},color(e,t,n){const s=Wc(e||tu),i=s.valid&&Wc(t||tu);return i&&i.valid?i.mix(s,n).hexString():t},number(e,t,n){return e+(t-e)*n}};class Ey{constructor(t,n,s,i){const r=n[s];i=vi([t.to,i,r,t.from]);const o=vi([t.from,r,i]);this._active=!0,this._fn=t.fn||Ay[t.type||typeof o],this._easing=zs[t.easing]||zs.linear,this._start=Math.floor(Date.now()+(t.delay||0)),this._duration=this._total=Math.floor(t.duration),this._loop=!!t.loop,this._target=n,this._prop=s,this._from=o,this._to=i,this._promises=void 0}active(){return this._active}update(t,n,s){if(this._active){this._notify(!1);const i=this._target[this._prop],r=s-this._start,o=this._duration-r;this._start=s,this._duration=Math.floor(Math.max(o,t.duration)),this._total+=r,this._loop=!!t.loop,this._to=vi([t.to,n,i,t.from]),this._from=vi([t.from,i,n])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(t){const n=t-this._start,s=this._duration,i=this._prop,r=this._from,o=this._loop,a=this._to;let l;if(this._active=r!==a&&(o||n1?2-l:l,l=this._easing(Math.min(1,Math.max(0,l))),this._target[i]=this._fn(r,a,l)}wait(){const t=this._promises||(this._promises=[]);return new Promise((n,s)=>{t.push({res:n,rej:s})})}_notify(t){const n=t?"res":"rej",s=this._promises||[];for(let i=0;ie!=="onProgress"&&e!=="onComplete"&&e!=="fn"});ft.set("animations",{colors:{type:"color",properties:Py},numbers:{type:"number",properties:Ly}});ft.describe("animations",{_fallback:"animation"});ft.set("transitions",{active:{animation:{duration:400}},resize:{animation:{duration:0}},show:{animations:{colors:{from:"transparent"},visible:{type:"boolean",duration:0}}},hide:{animations:{colors:{to:"transparent"},visible:{type:"boolean",easing:"linear",fn:e=>e|0}}}});class od{constructor(t,n){this._chart=t,this._properties=new Map,this.configure(n)}configure(t){if(!mt(t))return;const n=this._properties;Object.getOwnPropertyNames(t).forEach(s=>{const i=t[s];if(!mt(i))return;const r={};for(const o of Oy)r[o]=i[o];(Et(i.properties)&&i.properties||[s]).forEach(o=>{(o===s||!n.has(o))&&n.set(o,r)})})}_animateOptions(t,n){const s=n.options,i=Ty(t,s);if(!i)return[];const r=this._createAnimations(i,s);return s.$shared&&Ry(t.options.$animations,s).then(()=>{t.options=s},()=>{}),r}_createAnimations(t,n){const s=this._properties,i=[],r=t.$animations||(t.$animations={}),o=Object.keys(n),a=Date.now();let l;for(l=o.length-1;l>=0;--l){const c=o[l];if(c.charAt(0)==="$")continue;if(c==="options"){i.push(...this._animateOptions(t,n));continue}const u=n[c];let f=r[c];const h=s.get(c);if(f)if(h&&f.active()){f.update(h,u,a);continue}else f.cancel();if(!h||!h.duration){t[c]=u;continue}r[c]=f=new Ey(h,t,c,u),i.push(f)}return i}update(t,n){if(this._properties.size===0){Object.assign(t,n);return}const s=this._createAnimations(t,n);if(s.length)return Fe.add(this._chart,s),!0}}function Ry(e,t){const n=[],s=Object.keys(t);for(let i=0;i0||!n&&r<0)return i.index}return null}function ru(e,t){const{chart:n,_cachedMeta:s}=e,i=n._stacks||(n._stacks={}),{iScale:r,vScale:o,index:a}=s,l=r.axis,c=o.axis,u=Vy(r,o,s),f=t.length;let h;for(let d=0;dn[s].axis===t).shift()}function Ny(e,t){return mn(e,{active:!1,dataset:void 0,datasetIndex:t,index:t,mode:"default",type:"dataset"})}function $y(e,t,n){return mn(e,{active:!1,dataIndex:t,parsed:void 0,raw:void 0,element:n,index:t,mode:"default",type:"data"})}function Ss(e,t){const n=e.controller.index,s=e.vScale&&e.vScale.axis;if(!!s){t=t||e._parsed;for(const i of t){const r=i._stacks;if(!r||r[s]===void 0||r[s][n]===void 0)return;delete r[s][n]}}}const vo=e=>e==="reset"||e==="none",ou=(e,t)=>t?e:Object.assign({},e),zy=(e,t,n)=>e&&!t.hidden&&t._stacked&&{keys:ad(n,!0),values:null};class Ae{constructor(t,n){this.chart=t,this._ctx=t.ctx,this.index=n,this._cachedDataOpts={},this._cachedMeta=this.getMeta(),this._type=this._cachedMeta.type,this.options=void 0,this._parsing=!1,this._data=void 0,this._objectData=void 0,this._sharedOptions=void 0,this._drawStart=void 0,this._drawCount=void 0,this.enableOptionSharing=!1,this.supportsDecimation=!1,this.$context=void 0,this._syncList=[],this.initialize()}initialize(){const t=this._cachedMeta;this.configure(),this.linkScales(),t._stacked=su(t.vScale,t),this.addElements()}updateIndex(t){this.index!==t&&Ss(this._cachedMeta),this.index=t}linkScales(){const t=this.chart,n=this._cachedMeta,s=this.getDataset(),i=(f,h,d,p)=>f==="x"?h:f==="r"?p:d,r=n.xAxisID=gt(s.xAxisID,xo(t,"x")),o=n.yAxisID=gt(s.yAxisID,xo(t,"y")),a=n.rAxisID=gt(s.rAxisID,xo(t,"r")),l=n.indexAxis,c=n.iAxisID=i(l,r,o,a),u=n.vAxisID=i(l,o,r,a);n.xScale=this.getScaleForId(r),n.yScale=this.getScaleForId(o),n.rScale=this.getScaleForId(a),n.iScale=this.getScaleForId(c),n.vScale=this.getScaleForId(u)}getDataset(){return this.chart.data.datasets[this.index]}getMeta(){return this.chart.getDatasetMeta(this.index)}getScaleForId(t){return this.chart.scales[t]}_getOtherScale(t){const n=this._cachedMeta;return t===n.iScale?n.vScale:n.iScale}reset(){this._update("reset")}_destroy(){const t=this._cachedMeta;this._data&&Hc(this._data,this),t._stacked&&Ss(t)}_dataCheck(){const t=this.getDataset(),n=t.data||(t.data=[]),s=this._data;if(mt(n))this._data=Hy(n);else if(s!==n){if(s){Hc(s,this);const i=this._cachedMeta;Ss(i),i._parsed=[]}n&&Object.isExtensible(n)&&i_(n,this),this._syncList=[],this._data=n}}addElements(){const t=this._cachedMeta;this._dataCheck(),this.datasetElementType&&(t.dataset=new this.datasetElementType)}buildOrUpdateElements(t){const n=this._cachedMeta,s=this.getDataset();let i=!1;this._dataCheck();const r=n._stacked;n._stacked=su(n.vScale,n),n.stack!==s.stack&&(i=!0,Ss(n),n.stack=s.stack),this._resyncElements(t),(i||r!==n._stacked)&&ru(this,n._parsed)}configure(){const t=this.chart.config,n=t.datasetScopeKeys(this._type),s=t.getOptionScopes(this.getDataset(),n,!0);this.options=t.createResolver(s,this.getContext()),this._parsing=this.options.parsing,this._cachedDataOpts={}}parse(t,n){const{_cachedMeta:s,_data:i}=this,{iScale:r,_stacked:o}=s,a=r.axis;let l=t===0&&n===i.length?!0:s._sorted,c=t>0&&s._parsed[t-1],u,f,h;if(this._parsing===!1)s._parsed=i,s._sorted=!0,h=i;else{Et(i[t])?h=this.parseArrayData(s,i,t,n):mt(i[t])?h=this.parseObjectData(s,i,t,n):h=this.parsePrimitiveData(s,i,t,n);const d=()=>f[a]===null||c&&f[a]g||f=0;--h)if(!p()){this.updateRangeFromParsed(c,t,d,l);break}}return c}getAllParsedValues(t){const n=this._cachedMeta._parsed,s=[];let i,r,o;for(i=0,r=n.length;i=0&&tthis.getContext(s,i),g=c.resolveNamedOptions(h,d,p,f);return g.$shared&&(g.$shared=l,r[o]=Object.freeze(ou(g,l))),g}_resolveAnimations(t,n,s){const i=this.chart,r=this._cachedDataOpts,o=`animation-${n}`,a=r[o];if(a)return a;let l;if(i.options.animation!==!1){const u=this.chart.config,f=u.datasetAnimationScopeKeys(this._type,n),h=u.getOptionScopes(this.getDataset(),f);l=u.createResolver(h,this.getContext(t,s,n))}const c=new od(i,l&&l.animations);return l&&l._cacheable&&(r[o]=Object.freeze(c)),c}getSharedOptions(t){if(!!t.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},t))}includeOptions(t,n){return!n||vo(t)||this.chart._animationsDisabled}_getSharedOptions(t,n){const s=this.resolveDataElementOptions(t,n),i=this._sharedOptions,r=this.getSharedOptions(s),o=this.includeOptions(n,r)||r!==i;return this.updateSharedOptions(r,n,s),{sharedOptions:r,includeOptions:o}}updateElement(t,n,s,i){vo(i)?Object.assign(t,s):this._resolveAnimations(n,i).update(t,s)}updateSharedOptions(t,n,s){t&&!vo(n)&&this._resolveAnimations(void 0,n).update(t,s)}_setStyle(t,n,s,i){t.active=i;const r=this.getStyle(n,i);this._resolveAnimations(n,s,i).update(t,{options:!i&&this.getSharedOptions(r)||r})}removeHoverStyle(t,n,s){this._setStyle(t,s,"active",!1)}setHoverStyle(t,n,s){this._setStyle(t,s,"active",!0)}_removeDatasetHoverStyle(){const t=this._cachedMeta.dataset;t&&this._setStyle(t,void 0,"active",!1)}_setDatasetHoverStyle(){const t=this._cachedMeta.dataset;t&&this._setStyle(t,void 0,"active",!0)}_resyncElements(t){const n=this._data,s=this._cachedMeta.data;for(const[a,l,c]of this._syncList)this[a](l,c);this._syncList=[];const i=s.length,r=n.length,o=Math.min(r,i);o&&this.parse(0,o),r>i?this._insertElements(i,r-i,t):r{for(c.length+=n,a=c.length-1;a>=o;a--)c[a]=c[a-n]};for(l(r),a=t;ai-r))}return e._cache.$bar}function Wy(e){const t=e.iScale,n=jy(t,e.type);let s=t._length,i,r,o,a;const l=()=>{o===32767||o===-32768||(me(a)&&(s=Math.min(s,Math.abs(o-a)||s)),a=o)};for(i=0,r=n.length;i0?i[e-1]:null,a=eMath.abs(a)&&(l=a,c=o),t[n.axis]=c,t._custom={barStart:l,barEnd:c,start:i,end:r,min:o,max:a}}function ld(e,t,n,s){return Et(e)?Ky(e,t,n,s):t[n.axis]=n.parse(e,s),t}function au(e,t,n,s){const i=e.iScale,r=e.vScale,o=i.getLabels(),a=i===r,l=[];let c,u,f,h;for(c=n,u=n+s;c=n?1:-1)}function Xy(e){let t,n,s,i,r;return e.horizontal?(t=e.base>e.x,n="left",s="right"):(t=e.basel.controller.options.grouped),r=s.options.stacked,o=[],a=l=>{const c=l.controller.getParsed(n),u=c&&c[l.vScale.axis];if(xt(u)||isNaN(u))return!0};for(const l of i)if(!(n!==void 0&&a(l))&&((r===!1||o.indexOf(l.stack)===-1||r===void 0&&l.stack===void 0)&&o.push(l.stack),l.index===t))break;return o.length||o.push(void 0),o}_getStackCount(t){return this._getStacks(void 0,t).length}_getStackIndex(t,n,s){const i=this._getStacks(t,s),r=n!==void 0?i.indexOf(n):-1;return r===-1?i.length-1:r}_getRuler(){const t=this.options,n=this._cachedMeta,s=n.iScale,i=[];let r,o;for(r=0,o=n.data.length;r=0;--s)n=Math.max(n,t[s].size(this.resolveDataElementOptions(s))/2);return n>0&&n}getLabelAndValue(t){const n=this._cachedMeta,{xScale:s,yScale:i}=n,r=this.getParsed(t),o=s.getLabelForValue(r.x),a=i.getLabelForValue(r.y),l=r._custom;return{label:n.label,value:"("+o+", "+a+(l?", "+l:"")+")"}}update(t){const n=this._cachedMeta.data;this.updateElements(n,0,n.length,t)}updateElements(t,n,s,i){const r=i==="reset",{iScale:o,vScale:a}=this._cachedMeta,{sharedOptions:l,includeOptions:c}=this._getSharedOptions(n,i),u=o.axis,f=a.axis;for(let h=n;hti(w,a,l,!0)?1:Math.max(M,M*n,x,x*n),p=(w,M,x)=>ti(w,a,l,!0)?-1:Math.min(M,M*n,x,x*n),g=d(0,c,f),b=d(Ot,u,h),_=p(Rt,c,f),v=p(Rt+Ot,u,h);s=(g-_)/2,i=(b-v)/2,r=-(g+_)/2,o=-(b+v)/2}return{ratioX:s,ratioY:i,offsetX:r,offsetY:o}}class ai extends Ae{constructor(t,n){super(t,n),this.enableOptionSharing=!0,this.innerRadius=void 0,this.outerRadius=void 0,this.offsetX=void 0,this.offsetY=void 0}linkScales(){}parse(t,n){const s=this.getDataset().data,i=this._cachedMeta;if(this._parsing===!1)i._parsed=s;else{let r=l=>+s[l];if(mt(s[t])){const{key:l="value"}=this._parsing;r=c=>+pn(s[c],l)}let o,a;for(o=t,a=t+n;o0&&!isNaN(t)?kt*(Math.abs(t)/n):0}getLabelAndValue(t){const n=this._cachedMeta,s=this.chart,i=s.data.labels||[],r=oi(n._parsed[t],s.options.locale);return{label:i[t]||"",value:r}}getMaxBorderWidth(t){let n=0;const s=this.chart;let i,r,o,a,l;if(!t){for(i=0,r=s.data.datasets.length;ie!=="spacing",_indexable:e=>e!=="spacing"};ai.overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(e){const t=e.data;if(t.labels.length&&t.datasets.length){const{labels:{pointStyle:n}}=e.legend.options;return t.labels.map((s,i)=>{const o=e.getDatasetMeta(0).controller.getStyle(i);return{text:s,fillStyle:o.backgroundColor,strokeStyle:o.borderColor,lineWidth:o.borderWidth,pointStyle:n,hidden:!e.getDataVisibility(i),index:i}})}return[]}},onClick(e,t,n){n.chart.toggleDataVisibility(t.index),n.chart.update()}},tooltip:{callbacks:{title(){return""},label(e){let t=e.label;const n=": "+e.formattedValue;return Et(t)?(t=t.slice(),t[0]+=n):t+=n,t}}}}};class Hr extends Ae{initialize(){this.enableOptionSharing=!0,this.supportsDecimation=!0,super.initialize()}update(t){const n=this._cachedMeta,{dataset:s,data:i=[],_dataset:r}=n,o=this.chart._animationsDisabled;let{start:a,count:l}=zh(n,i,o);this._drawStart=a,this._drawCount=l,jh(n)&&(a=0,l=i.length),s._chart=this.chart,s._datasetIndex=this.index,s._decimated=!!r._decimated,s.points=i;const c=this.resolveDatasetElementOptions(t);this.options.showLine||(c.borderWidth=0),c.segment=this.options.segment,this.updateElement(s,void 0,{animated:!o,options:c},t),this.updateElements(i,a,l,t)}updateElements(t,n,s,i){const r=i==="reset",{iScale:o,vScale:a,_stacked:l,_dataset:c}=this._cachedMeta,{sharedOptions:u,includeOptions:f}=this._getSharedOptions(n,i),h=o.axis,d=a.axis,{spanGaps:p,segment:g}=this.options,b=us(p)?p:Number.POSITIVE_INFINITY,_=this.chart._animationsDisabled||r||i==="none";let v=n>0&&this.getParsed(n-1);for(let w=n;w0&&Math.abs(x[h]-v[h])>b,g&&(O.parsed=x,O.raw=c.data[w]),f&&(O.options=u||this.resolveDataElementOptions(w,M.active?"active":i)),_||this.updateElement(M,w,O,i),v=x}}getMaxOverflow(){const t=this._cachedMeta,n=t.dataset,s=n.options&&n.options.borderWidth||0,i=t.data||[];if(!i.length)return s;const r=i[0].size(this.resolveDataElementOptions(0)),o=i[i.length-1].size(this.resolveDataElementOptions(i.length-1));return Math.max(s,r,o)/2}draw(){const t=this._cachedMeta;t.dataset.updateControlPoints(this.chart.chartArea,t.iScale.axis),super.draw()}}Hr.id="line";Hr.defaults={datasetElementType:"line",dataElementType:"point",showLine:!0,spanGaps:!1};Hr.overrides={scales:{_index_:{type:"category"},_value_:{type:"linear"}}};class Ka extends Ae{constructor(t,n){super(t,n),this.innerRadius=void 0,this.outerRadius=void 0}getLabelAndValue(t){const n=this._cachedMeta,s=this.chart,i=s.data.labels||[],r=oi(n._parsed[t].r,s.options.locale);return{label:i[t]||"",value:r}}parseObjectData(t,n,s,i){return nd.bind(this)(t,n,s,i)}update(t){const n=this._cachedMeta.data;this._updateRadius(),this.updateElements(n,0,n.length,t)}getMinMax(){const t=this._cachedMeta,n={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY};return t.data.forEach((s,i)=>{const r=this.getParsed(i).r;!isNaN(r)&&this.chart.getDataVisibility(i)&&(rn.max&&(n.max=r))}),n}_updateRadius(){const t=this.chart,n=t.chartArea,s=t.options,i=Math.min(n.right-n.left,n.bottom-n.top),r=Math.max(i/2,0),o=Math.max(s.cutoutPercentage?r/100*s.cutoutPercentage:1,0),a=(r-o)/t.getVisibleDatasetCount();this.outerRadius=r-a*this.index,this.innerRadius=this.outerRadius-a}updateElements(t,n,s,i){const r=i==="reset",o=this.chart,l=o.options.animation,c=this._cachedMeta.rScale,u=c.xCenter,f=c.yCenter,h=c.getIndexAngle(0)-.5*Rt;let d=h,p;const g=360/this.countVisibleElements();for(p=0;p{!isNaN(this.getParsed(i).r)&&this.chart.getDataVisibility(i)&&n++}),n}_computeAngle(t,n,s){return this.chart.getDataVisibility(t)?Me(this.resolveDataElementOptions(t,n).angle||s):0}}Ka.id="polarArea";Ka.defaults={dataElementType:"arc",animation:{animateRotate:!0,animateScale:!0},animations:{numbers:{type:"number",properties:["x","y","startAngle","endAngle","innerRadius","outerRadius"]}},indexAxis:"r",startAngle:0};Ka.overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(e){const t=e.data;if(t.labels.length&&t.datasets.length){const{labels:{pointStyle:n}}=e.legend.options;return t.labels.map((s,i)=>{const o=e.getDatasetMeta(0).controller.getStyle(i);return{text:s,fillStyle:o.backgroundColor,strokeStyle:o.borderColor,lineWidth:o.borderWidth,pointStyle:n,hidden:!e.getDataVisibility(i),index:i}})}return[]}},onClick(e,t,n){n.chart.toggleDataVisibility(t.index),n.chart.update()}},tooltip:{callbacks:{title(){return""},label(e){return e.chart.data.labels[e.dataIndex]+": "+e.formattedValue}}}},scales:{r:{type:"radialLinear",angleLines:{display:!1},beginAtZero:!0,grid:{circular:!0},pointLabels:{display:!1},startAngle:0}}};class cd extends ai{}cd.id="pie";cd.defaults={cutout:0,rotation:0,circumference:360,radius:"100%"};class Ya extends Ae{getLabelAndValue(t){const n=this._cachedMeta.vScale,s=this.getParsed(t);return{label:n.getLabels()[t],value:""+n.getLabelForValue(s[n.axis])}}parseObjectData(t,n,s,i){return nd.bind(this)(t,n,s,i)}update(t){const n=this._cachedMeta,s=n.dataset,i=n.data||[],r=n.iScale.getLabels();if(s.points=i,t!=="resize"){const o=this.resolveDatasetElementOptions(t);this.options.showLine||(o.borderWidth=0);const a={_loop:!0,_fullLoop:r.length===i.length,options:o};this.updateElement(s,void 0,a,t)}this.updateElements(i,0,i.length,t)}updateElements(t,n,s,i){const r=this._cachedMeta.rScale,o=i==="reset";for(let a=n;a{i[r]=s[r]&&s[r].active()?s[r]._to:this[r]}),i}}qe.defaults={};qe.defaultRoutes=void 0;const ud={values(e){return Et(e)?e:""+e},numeric(e,t,n){if(e===0)return"0";const s=this.chart.options.locale;let i,r=e;if(n.length>1){const c=Math.max(Math.abs(n[0].value),Math.abs(n[n.length-1].value));(c<1e-4||c>1e15)&&(i="scientific"),r=tx(e,n)}const o=de(Math.abs(r)),a=Math.max(Math.min(-1*Math.floor(o),20),0),l={notation:i,minimumFractionDigits:a,maximumFractionDigits:a};return Object.assign(l,this.options.ticks.format),oi(e,s,l)},logarithmic(e,t,n){if(e===0)return"0";const s=e/Math.pow(10,Math.floor(de(e)));return s===1||s===2||s===5?ud.numeric.call(this,e,t,n):""}};function tx(e,t){let n=t.length>3?t[2].value-t[1].value:t[1].value-t[0].value;return Math.abs(n)>=1&&e!==Math.floor(e)&&(n=e-Math.floor(e)),n}var Vr={formatters:ud};ft.set("scale",{display:!0,offset:!1,reverse:!1,beginAtZero:!1,bounds:"ticks",grace:0,grid:{display:!0,lineWidth:1,drawBorder:!0,drawOnChartArea:!0,drawTicks:!0,tickLength:8,tickWidth:(e,t)=>t.lineWidth,tickColor:(e,t)=>t.color,offset:!1,borderDash:[],borderDashOffset:0,borderWidth:1},title:{display:!1,text:"",padding:{top:4,bottom:4}},ticks:{minRotation:0,maxRotation:50,mirror:!1,textStrokeWidth:0,textStrokeColor:"",padding:3,display:!0,autoSkip:!0,autoSkipPadding:3,labelOffset:0,callback:Vr.formatters.values,minor:{},major:{},align:"center",crossAlign:"near",showLabelBackdrop:!1,backdropColor:"rgba(255, 255, 255, 0.75)",backdropPadding:2}});ft.route("scale.ticks","color","","color");ft.route("scale.grid","color","","borderColor");ft.route("scale.grid","borderColor","","borderColor");ft.route("scale.title","color","","color");ft.describe("scale",{_fallback:!1,_scriptable:e=>!e.startsWith("before")&&!e.startsWith("after")&&e!=="callback"&&e!=="parser",_indexable:e=>e!=="borderDash"&&e!=="tickBorderDash"});ft.describe("scales",{_fallback:"scale"});ft.describe("scale.ticks",{_scriptable:e=>e!=="backdropPadding"&&e!=="callback",_indexable:e=>e!=="backdropPadding"});function ex(e,t){const n=e.options.ticks,s=n.maxTicksLimit||nx(e),i=n.major.enabled?ix(t):[],r=i.length,o=i[0],a=i[r-1],l=[];if(r>s)return rx(t,l,i,r/s),l;const c=sx(i,t,s);if(r>0){let u,f;const h=r>1?Math.round((a-o)/(r-1)):null;for(Mi(t,l,c,xt(h)?0:o-h,o),u=0,f=r-1;ui)return l}return Math.max(i,1)}function ix(e){const t=[];let n,s;for(n=0,s=e.length;ne==="left"?"right":e==="right"?"left":e,uu=(e,t,n)=>t==="top"||t==="left"?e[t]+n:e[t]-n;function fu(e,t){const n=[],s=e.length/t,i=e.length;let r=0;for(;ro+a)))return l}function cx(e,t){wt(e,n=>{const s=n.gc,i=s.length/2;let r;if(i>t){for(r=0;rs?s:n,s=i&&n>s?n:s,{min:he(n,he(s,n)),max:he(s,he(n,s))}}getPadding(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}}getTicks(){return this.ticks}getLabels(){const t=this.chart.data;return this.options.labels||(this.isHorizontal()?t.xLabels:t.yLabels)||t.labels||[]}beforeLayout(){this._cache={},this._dataLimitsCached=!1}beforeUpdate(){Pt(this.options.beforeUpdate,[this])}update(t,n,s){const{beginAtZero:i,grace:r,ticks:o}=this.options,a=o.sampleSize;this.beforeUpdate(),this.maxWidth=t,this.maxHeight=n,this._margins=s=Object.assign({left:0,right:0,top:0,bottom:0},s),this.ticks=null,this._labelSizes=null,this._gridLineItems=null,this._labelItems=null,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this._maxLength=this.isHorizontal()?this.width+s.left+s.right:this.height+s.top+s.bottom,this._dataLimitsCached||(this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this._range=$_(this,r,i),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();const l=a=r||s<=1||!this.isHorizontal()){this.labelRotation=i;return}const u=this._getLabelSizes(),f=u.widest.width,h=u.highest.height,d=Yt(this.chart.width-f,0,this.maxWidth);a=t.offset?this.maxWidth/s:d/(s-1),f+6>a&&(a=d/(s-(t.offset?.5:1)),l=this.maxHeight-As(t.grid)-n.padding-hu(t.title,this.chart.options.font),c=Math.sqrt(f*f+h*h),o=Ia(Math.min(Math.asin(Yt((u.highest.height+6)/a,-1,1)),Math.asin(Yt(l/c,-1,1))-Math.asin(Yt(h/c,-1,1)))),o=Math.max(i,Math.min(r,o))),this.labelRotation=o}afterCalculateLabelRotation(){Pt(this.options.afterCalculateLabelRotation,[this])}afterAutoSkip(){}beforeFit(){Pt(this.options.beforeFit,[this])}fit(){const t={width:0,height:0},{chart:n,options:{ticks:s,title:i,grid:r}}=this,o=this._isVisible(),a=this.isHorizontal();if(o){const l=hu(i,n.options.font);if(a?(t.width=this.maxWidth,t.height=As(r)+l):(t.height=this.maxHeight,t.width=As(r)+l),s.display&&this.ticks.length){const{first:c,last:u,widest:f,highest:h}=this._getLabelSizes(),d=s.padding*2,p=Me(this.labelRotation),g=Math.cos(p),b=Math.sin(p);if(a){const _=s.mirror?0:b*f.width+g*h.height;t.height=Math.min(this.maxHeight,t.height+_+d)}else{const _=s.mirror?0:g*f.width+b*h.height;t.width=Math.min(this.maxWidth,t.width+_+d)}this._calculatePadding(c,u,b,g)}}this._handleMargins(),a?(this.width=this._length=n.width-this._margins.left-this._margins.right,this.height=t.height):(this.width=t.width,this.height=this._length=n.height-this._margins.top-this._margins.bottom)}_calculatePadding(t,n,s,i){const{ticks:{align:r,padding:o},position:a}=this.options,l=this.labelRotation!==0,c=a!=="top"&&this.axis==="x";if(this.isHorizontal()){const u=this.getPixelForTick(0)-this.left,f=this.right-this.getPixelForTick(this.ticks.length-1);let h=0,d=0;l?c?(h=i*t.width,d=s*n.height):(h=s*t.height,d=i*n.width):r==="start"?d=n.width:r==="end"?h=t.width:r!=="inner"&&(h=t.width/2,d=n.width/2),this.paddingLeft=Math.max((h-u+o)*this.width/(this.width-u),0),this.paddingRight=Math.max((d-f+o)*this.width/(this.width-f),0)}else{let u=n.height/2,f=t.height/2;r==="start"?(u=0,f=t.height):r==="end"&&(u=n.height,f=0),this.paddingTop=u+o,this.paddingBottom=f+o}}_handleMargins(){this._margins&&(this._margins.left=Math.max(this.paddingLeft,this._margins.left),this._margins.top=Math.max(this.paddingTop,this._margins.top),this._margins.right=Math.max(this.paddingRight,this._margins.right),this._margins.bottom=Math.max(this.paddingBottom,this._margins.bottom))}afterFit(){Pt(this.options.afterFit,[this])}isHorizontal(){const{axis:t,position:n}=this.options;return n==="top"||n==="bottom"||t==="x"}isFullSize(){return this.options.fullSize}_convertTicksToLabels(t){this.beforeTickToLabelConversion(),this.generateTickLabels(t);let n,s;for(n=0,s=t.length;n({width:r[A]||0,height:o[A]||0});return{first:O(0),last:O(n-1),widest:O(M),highest:O(x),widths:r,heights:o}}getLabelForValue(t){return t}getPixelForValue(t,n){return NaN}getValueForPixel(t){}getPixelForTick(t){const n=this.ticks;return t<0||t>n.length-1?null:this.getPixelForValue(n[t].value)}getPixelForDecimal(t){this._reversePixels&&(t=1-t);const n=this._startPixel+t*this._length;return e_(this._alignToPixels?wn(this.chart,n,0):n)}getDecimalForPixel(t){const n=(t-this._startPixel)/this._length;return this._reversePixels?1-n:n}getBasePixel(){return this.getPixelForValue(this.getBaseValue())}getBaseValue(){const{min:t,max:n}=this;return t<0&&n<0?n:t>0&&n>0?t:0}getContext(t){const n=this.ticks||[];if(t>=0&&ta*i?a/s:l/i:l*i0}_computeGridLineItems(t){const n=this.axis,s=this.chart,i=this.options,{grid:r,position:o}=i,a=r.offset,l=this.isHorizontal(),u=this.ticks.length+(a?1:0),f=As(r),h=[],d=r.setContext(this.getContext()),p=d.drawBorder?d.borderWidth:0,g=p/2,b=function(j){return wn(s,j,p)};let _,v,w,M,x,O,A,C,R,V,Y,P;if(o==="top")_=b(this.bottom),O=this.bottom-f,C=_-g,V=b(t.top)+g,P=t.bottom;else if(o==="bottom")_=b(this.top),V=t.top,P=b(t.bottom)-g,O=_+g,C=this.top+f;else if(o==="left")_=b(this.right),x=this.right-f,A=_-g,R=b(t.left)+g,Y=t.right;else if(o==="right")_=b(this.left),R=t.left,Y=b(t.right)-g,x=_+g,A=this.left+f;else if(n==="x"){if(o==="center")_=b((t.top+t.bottom)/2+.5);else if(mt(o)){const j=Object.keys(o)[0],tt=o[j];_=b(this.chart.scales[j].getPixelForValue(tt))}V=t.top,P=t.bottom,O=_+g,C=O+f}else if(n==="y"){if(o==="center")_=b((t.left+t.right)/2);else if(mt(o)){const j=Object.keys(o)[0],tt=o[j];_=b(this.chart.scales[j].getPixelForValue(tt))}x=_-g,A=x-f,R=t.left,Y=t.right}const X=gt(i.ticks.maxTicksLimit,u),nt=Math.max(1,Math.ceil(u/X));for(v=0;vr.value===t);return i>=0?n.setContext(this.getContext(i)).lineWidth:0}drawGrid(t){const n=this.options.grid,s=this.ctx,i=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(t));let r,o;const a=(l,c,u)=>{!u.width||!u.color||(s.save(),s.lineWidth=u.width,s.strokeStyle=u.color,s.setLineDash(u.borderDash||[]),s.lineDashOffset=u.borderDashOffset,s.beginPath(),s.moveTo(l.x,l.y),s.lineTo(c.x,c.y),s.stroke(),s.restore())};if(n.display)for(r=0,o=i.length;r{this.draw(i)}}]:[{z:s,draw:i=>{this.drawBackground(),this.drawGrid(i),this.drawTitle()}},{z:s+1,draw:()=>{this.drawBorder()}},{z:n,draw:i=>{this.drawLabels(i)}}]}getMatchingVisibleMetas(t){const n=this.chart.getSortedVisibleDatasetMetas(),s=this.axis+"AxisID",i=[];let r,o;for(r=0,o=n.length;r{const s=n.split("."),i=s.pop(),r=[e].concat(s).join("."),o=t[n].split("."),a=o.pop(),l=o.join(".");ft.route(r,i,l,a)})}function mx(e){return"id"in e&&"defaults"in e}class bx{constructor(){this.controllers=new ki(Ae,"datasets",!0),this.elements=new ki(qe,"elements"),this.plugins=new ki(Object,"plugins"),this.scales=new ki($n,"scales"),this._typedRegistries=[this.controllers,this.scales,this.elements]}add(...t){this._each("register",t)}remove(...t){this._each("unregister",t)}addControllers(...t){this._each("register",t,this.controllers)}addElements(...t){this._each("register",t,this.elements)}addPlugins(...t){this._each("register",t,this.plugins)}addScales(...t){this._each("register",t,this.scales)}getController(t){return this._get(t,this.controllers,"controller")}getElement(t){return this._get(t,this.elements,"element")}getPlugin(t){return this._get(t,this.plugins,"plugin")}getScale(t){return this._get(t,this.scales,"scale")}removeControllers(...t){this._each("unregister",t,this.controllers)}removeElements(...t){this._each("unregister",t,this.elements)}removePlugins(...t){this._each("unregister",t,this.plugins)}removeScales(...t){this._each("unregister",t,this.scales)}_each(t,n,s){[...n].forEach(i=>{const r=s||this._getRegistryForType(i);s||r.isForType(i)||r===this.plugins&&i.id?this._exec(t,r,i):wt(i,o=>{const a=s||this._getRegistryForType(o);this._exec(t,a,o)})})}_exec(t,n,s){const i=Da(t);Pt(s["before"+i],[],s),n[t](s),Pt(s["after"+i],[],s)}_getRegistryForType(t){for(let n=0;n0&&this.getParsed(n-1);for(let M=n;M0&&Math.abs(O[d]-w[d])>_,b&&(A.parsed=O,A.raw=c.data[M]),h&&(A.options=f||this.resolveDataElementOptions(M,x.active?"active":i)),v||this.updateElement(x,M,A,i),w=O}this.updateSharedOptions(f,i,u)}getMaxOverflow(){const t=this._cachedMeta,n=t.data||[];if(!this.options.showLine){let a=0;for(let l=n.length-1;l>=0;--l)a=Math.max(a,n[l].size(this.resolveDataElementOptions(l))/2);return a>0&&a}const s=t.dataset,i=s.options&&s.options.borderWidth||0;if(!n.length)return i;const r=n[0].size(this.resolveDataElementOptions(0)),o=n[n.length-1].size(this.resolveDataElementOptions(n.length-1));return Math.max(i,r,o)/2}}Xa.id="scatter";Xa.defaults={datasetElementType:!1,dataElementType:"point",showLine:!1,fill:!1};Xa.overrides={interaction:{mode:"point"},plugins:{tooltip:{callbacks:{title(){return""},label(e){return"("+e.label+", "+e.formattedValue+")"}}}},scales:{x:{type:"linear"},y:{type:"linear"}}};function Mn(){throw new Error("This method is not implemented: Check that a complete date adapter is provided.")}class Go{constructor(t){this.options=t||{}}init(t){}formats(){return Mn()}parse(t,n){return Mn()}format(t,n){return Mn()}add(t,n,s){return Mn()}diff(t,n,s){return Mn()}startOf(t,n,s){return Mn()}endOf(t,n){return Mn()}}Go.override=function(e){Object.assign(Go.prototype,e)};var _x={_date:Go};function yx(e,t,n,s){const{controller:i,data:r,_sorted:o}=e,a=i._cachedMeta.iScale;if(a&&t===a.axis&&t!=="r"&&o&&r.length){const l=a._reversePixels?n_:Rn;if(s){if(i._sharedOptions){const c=r[0],u=typeof c.getRange=="function"&&c.getRange(t);if(u){const f=l(r,t,n-u),h=l(r,t,n+u);return{lo:f.lo,hi:h.hi}}}}else return l(r,t,n)}return{lo:0,hi:r.length-1}}function li(e,t,n,s,i){const r=e.getSortedVisibleDatasetMetas(),o=n[t];for(let a=0,l=r.length;a{l[o](t[n],i)&&(r.push({element:l,datasetIndex:c,index:u}),a=a||l.inRange(t.x,t.y,i))}),s&&!a?[]:r}var Mx={evaluateInteractionItems:li,modes:{index(e,t,n,s){const i=Cn(t,e),r=n.axis||"x",o=n.includeInvisible||!1,a=n.intersect?Mo(e,i,r,s,o):ko(e,i,r,!1,s,o),l=[];return a.length?(e.getSortedVisibleDatasetMetas().forEach(c=>{const u=a[0].index,f=c.data[u];f&&!f.skip&&l.push({element:f,datasetIndex:c.index,index:u})}),l):[]},dataset(e,t,n,s){const i=Cn(t,e),r=n.axis||"xy",o=n.includeInvisible||!1;let a=n.intersect?Mo(e,i,r,s,o):ko(e,i,r,!1,s,o);if(a.length>0){const l=a[0].datasetIndex,c=e.getDatasetMeta(l).data;a=[];for(let u=0;un.pos===t)}function pu(e,t){return e.filter(n=>fd.indexOf(n.pos)===-1&&n.box.axis===t)}function Ls(e,t){return e.sort((n,s)=>{const i=t?s:n,r=t?n:s;return i.weight===r.weight?i.index-r.index:i.weight-r.weight})}function kx(e){const t=[];let n,s,i,r,o,a;for(n=0,s=(e||[]).length;nc.box.fullSize),!0),s=Ls(Es(t,"left"),!0),i=Ls(Es(t,"right")),r=Ls(Es(t,"top"),!0),o=Ls(Es(t,"bottom")),a=pu(t,"x"),l=pu(t,"y");return{fullSize:n,leftAndTop:s.concat(r),rightAndBottom:i.concat(l).concat(o).concat(a),chartArea:Es(t,"chartArea"),vertical:s.concat(i).concat(l),horizontal:r.concat(o).concat(a)}}function gu(e,t,n,s){return Math.max(e[n],t[n])+Math.max(e[s],t[s])}function hd(e,t){e.top=Math.max(e.top,t.top),e.left=Math.max(e.left,t.left),e.bottom=Math.max(e.bottom,t.bottom),e.right=Math.max(e.right,t.right)}function Ex(e,t,n,s){const{pos:i,box:r}=n,o=e.maxPadding;if(!mt(i)){n.size&&(e[i]-=n.size);const f=s[n.stack]||{size:0,count:1};f.size=Math.max(f.size,n.horizontal?r.height:r.width),n.size=f.size/f.count,e[i]+=n.size}r.getPadding&&hd(o,r.getPadding());const a=Math.max(0,t.outerWidth-gu(o,e,"left","right")),l=Math.max(0,t.outerHeight-gu(o,e,"top","bottom")),c=a!==e.w,u=l!==e.h;return e.w=a,e.h=l,n.horizontal?{same:c,other:u}:{same:u,other:c}}function Lx(e){const t=e.maxPadding;function n(s){const i=Math.max(t[s]-e[s],0);return e[s]+=i,i}e.y+=n("top"),e.x+=n("left"),n("right"),n("bottom")}function Px(e,t){const n=t.maxPadding;function s(i){const r={left:0,top:0,right:0,bottom:0};return i.forEach(o=>{r[o]=Math.max(t[o],n[o])}),r}return s(e?["left","right"]:["top","bottom"])}function Ts(e,t,n,s){const i=[];let r,o,a,l,c,u;for(r=0,o=e.length,c=0;r{typeof g.beforeLayout=="function"&&g.beforeLayout()});const u=l.reduce((g,b)=>b.box.options&&b.box.options.display===!1?g:g+1,0)||1,f=Object.freeze({outerWidth:t,outerHeight:n,padding:i,availableWidth:r,availableHeight:o,vBoxMaxWidth:r/2/u,hBoxMaxHeight:o/2}),h=Object.assign({},i);hd(h,be(s));const d=Object.assign({maxPadding:h,w:r,h:o,x:i.left,y:i.top},i),p=Sx(l.concat(c),f);Ts(a.fullSize,d,f,p),Ts(l,d,f,p),Ts(c,d,f,p)&&Ts(l,d,f,p),Lx(d),mu(a.leftAndTop,d,f,p),d.x+=d.w,d.y+=d.h,mu(a.rightAndBottom,d,f,p),e.chartArea={left:d.left,top:d.top,right:d.left+d.w,bottom:d.top+d.h,height:d.h,width:d.w},wt(a.chartArea,g=>{const b=g.box;Object.assign(b,e.chartArea),b.update(d.w,d.h,{left:0,top:0,right:0,bottom:0})})}};class dd{acquireContext(t,n){}releaseContext(t){return!1}addEventListener(t,n,s){}removeEventListener(t,n,s){}getDevicePixelRatio(){return 1}getMaximumSize(t,n,s,i){return n=Math.max(0,n||t.width),s=s||t.height,{width:n,height:Math.max(0,i?Math.floor(n/i):s)}}isAttached(t){return!0}updateConfig(t){}}class Ox extends dd{acquireContext(t){return t&&t.getContext&&t.getContext("2d")||null}updateConfig(t){t.options.animation=!1}}const Bi="$chartjs",Rx={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},bu=e=>e===null||e==="";function Tx(e,t){const n=e.style,s=e.getAttribute("height"),i=e.getAttribute("width");if(e[Bi]={initial:{height:s,width:i,style:{display:n.display,height:n.height,width:n.width}}},n.display=n.display||"block",n.boxSizing=n.boxSizing||"border-box",bu(i)){const r=Xc(e,"width");r!==void 0&&(e.width=r)}if(bu(s))if(e.style.height==="")e.height=e.width/(t||2);else{const r=Xc(e,"height");r!==void 0&&(e.height=r)}return e}const pd=uy?{passive:!0}:!1;function Dx(e,t,n){e.addEventListener(t,n,pd)}function Ix(e,t,n){e.canvas.removeEventListener(t,n,pd)}function Hx(e,t){const n=Rx[e.type]||e.type,{x:s,y:i}=Cn(e,t);return{type:n,chart:t,native:e,x:s!==void 0?s:null,y:i!==void 0?i:null}}function cr(e,t){for(const n of e)if(n===t||n.contains(t))return!0}function Vx(e,t,n){const s=e.canvas,i=new MutationObserver(r=>{let o=!1;for(const a of r)o=o||cr(a.addedNodes,s),o=o&&!cr(a.removedNodes,s);o&&n()});return i.observe(document,{childList:!0,subtree:!0}),i}function Fx(e,t,n){const s=e.canvas,i=new MutationObserver(r=>{let o=!1;for(const a of r)o=o||cr(a.removedNodes,s),o=o&&!cr(a.addedNodes,s);o&&n()});return i.observe(document,{childList:!0,subtree:!0}),i}const ni=new Map;let _u=0;function gd(){const e=window.devicePixelRatio;e!==_u&&(_u=e,ni.forEach((t,n)=>{n.currentDevicePixelRatio!==e&&t()}))}function Bx(e,t){ni.size||window.addEventListener("resize",gd),ni.set(e,t)}function Nx(e){ni.delete(e),ni.size||window.removeEventListener("resize",gd)}function $x(e,t,n){const s=e.canvas,i=s&&Wa(s);if(!i)return;const r=$h((a,l)=>{const c=i.clientWidth;n(a,l),c{const l=a[0],c=l.contentRect.width,u=l.contentRect.height;c===0&&u===0||r(c,u)});return o.observe(i),Bx(e,r),o}function Co(e,t,n){n&&n.disconnect(),t==="resize"&&Nx(e)}function zx(e,t,n){const s=e.canvas,i=$h(r=>{e.ctx!==null&&n(Hx(r,e))},e,r=>{const o=r[0];return[o,o.offsetX,o.offsetY]});return Dx(s,t,i),i}class jx extends dd{acquireContext(t,n){const s=t&&t.getContext&&t.getContext("2d");return s&&s.canvas===t?(Tx(t,n),s):null}releaseContext(t){const n=t.canvas;if(!n[Bi])return!1;const s=n[Bi].initial;["height","width"].forEach(r=>{const o=s[r];xt(o)?n.removeAttribute(r):n.setAttribute(r,o)});const i=s.style||{};return Object.keys(i).forEach(r=>{n.style[r]=i[r]}),n.width=n.width,delete n[Bi],!0}addEventListener(t,n,s){this.removeEventListener(t,n);const i=t.$proxies||(t.$proxies={}),o={attach:Vx,detach:Fx,resize:$x}[n]||zx;i[n]=o(t,n,s)}removeEventListener(t,n){const s=t.$proxies||(t.$proxies={}),i=s[n];if(!i)return;({attach:Co,detach:Co,resize:Co}[n]||Ix)(t,n,i),s[n]=void 0}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(t,n,s,i){return cy(t,n,s,i)}isAttached(t){const n=Wa(t);return!!(n&&n.isConnected)}}function Wx(e){return!id()||typeof OffscreenCanvas<"u"&&e instanceof OffscreenCanvas?Ox:jx}class Ux{constructor(){this._init=[]}notify(t,n,s,i){n==="beforeInit"&&(this._init=this._createDescriptors(t,!0),this._notify(this._init,t,"install"));const r=i?this._descriptors(t).filter(i):this._descriptors(t),o=this._notify(r,t,n,s);return n==="afterDestroy"&&(this._notify(r,t,"stop"),this._notify(this._init,t,"uninstall")),o}_notify(t,n,s,i){i=i||{};for(const r of t){const o=r.plugin,a=o[s],l=[n,i,r.options];if(Pt(a,l,o)===!1&&i.cancelable)return!1}return!0}invalidate(){xt(this._cache)||(this._oldCache=this._cache,this._cache=void 0)}_descriptors(t){if(this._cache)return this._cache;const n=this._cache=this._createDescriptors(t);return this._notifyStateChanges(t),n}_createDescriptors(t,n){const s=t&&t.config,i=gt(s.options&&s.options.plugins,{}),r=qx(s);return i===!1&&!n?[]:Yx(t,r,i,n)}_notifyStateChanges(t){const n=this._oldCache||[],s=this._cache,i=(r,o)=>r.filter(a=>!o.some(l=>a.plugin.id===l.plugin.id));this._notify(i(n,s),t,"stop"),this._notify(i(s,n),t,"start")}}function qx(e){const t={},n=[],s=Object.keys(Te.plugins.items);for(let r=0;r{const l=s[a];if(!mt(l))return console.error(`Invalid scale configuration for scale: ${a}`);if(l._proxy)return console.warn(`Ignoring resolver passed as options for scale: ${a}`);const c=Qo(a,l),u=Gx(c,i),f=n.scales||{};r[c]=r[c]||a,o[a]=Ns(Object.create(null),[{axis:c},l,f[c],f[u]])}),e.data.datasets.forEach(a=>{const l=a.type||e.type,c=a.indexAxis||Jo(l,t),f=(Bn[l]||{}).scales||{};Object.keys(f).forEach(h=>{const d=Zx(h,c),p=a[d+"AxisID"]||r[d]||d;o[p]=o[p]||Object.create(null),Ns(o[p],[{axis:d},s[p],f[h]])})}),Object.keys(o).forEach(a=>{const l=o[a];Ns(l,[ft.scales[l.type],ft.scale])}),o}function md(e){const t=e.options||(e.options={});t.plugins=gt(t.plugins,{}),t.scales=Qx(e,t)}function bd(e){return e=e||{},e.datasets=e.datasets||[],e.labels=e.labels||[],e}function tv(e){return e=e||{},e.data=bd(e.data),md(e),e}const yu=new Map,_d=new Set;function Ai(e,t){let n=yu.get(e);return n||(n=t(),yu.set(e,n),_d.add(n)),n}const Ps=(e,t,n)=>{const s=pn(t,n);s!==void 0&&e.add(s)};class ev{constructor(t){this._config=tv(t),this._scopeCache=new Map,this._resolverCache=new Map}get platform(){return this._config.platform}get type(){return this._config.type}set type(t){this._config.type=t}get data(){return this._config.data}set data(t){this._config.data=bd(t)}get options(){return this._config.options}set options(t){this._config.options=t}get plugins(){return this._config.plugins}update(){const t=this._config;this.clearCache(),md(t)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(t){return Ai(t,()=>[[`datasets.${t}`,""]])}datasetAnimationScopeKeys(t,n){return Ai(`${t}.transition.${n}`,()=>[[`datasets.${t}.transitions.${n}`,`transitions.${n}`],[`datasets.${t}`,""]])}datasetElementScopeKeys(t,n){return Ai(`${t}-${n}`,()=>[[`datasets.${t}.elements.${n}`,`datasets.${t}`,`elements.${n}`,""]])}pluginScopeKeys(t){const n=t.id,s=this.type;return Ai(`${s}-plugin-${n}`,()=>[[`plugins.${n}`,...t.additionalOptionScopes||[]]])}_cachedScopes(t,n){const s=this._scopeCache;let i=s.get(t);return(!i||n)&&(i=new Map,s.set(t,i)),i}getOptionScopes(t,n,s){const{options:i,type:r}=this,o=this._cachedScopes(t,s),a=o.get(n);if(a)return a;const l=new Set;n.forEach(u=>{t&&(l.add(t),u.forEach(f=>Ps(l,t,f))),u.forEach(f=>Ps(l,i,f)),u.forEach(f=>Ps(l,Bn[r]||{},f)),u.forEach(f=>Ps(l,ft,f)),u.forEach(f=>Ps(l,Xo,f))});const c=Array.from(l);return c.length===0&&c.push(Object.create(null)),_d.has(n)&&o.set(n,c),c}chartOptionScopes(){const{options:t,type:n}=this;return[t,Bn[n]||{},ft.datasets[n]||{},{type:n},ft,Xo]}resolveNamedOptions(t,n,s,i=[""]){const r={$shared:!0},{resolver:o,subPrefixes:a}=xu(this._resolverCache,t,i);let l=o;if(sv(o,n)){r.$shared=!1,s=gn(s)?s():s;const c=this.createResolver(t,s,a);l=fs(o,s,c)}for(const c of n)r[c]=l[c];return r}createResolver(t,n,s=[""],i){const{resolver:r}=xu(this._resolverCache,t,s);return mt(n)?fs(r,n,void 0,i):r}}function xu(e,t,n){let s=e.get(t);s||(s=new Map,e.set(t,s));const i=n.join();let r=s.get(i);return r||(r={resolver:$a(t,n),subPrefixes:n.filter(a=>!a.toLowerCase().includes("hover"))},s.set(i,r)),r}const nv=e=>mt(e)&&Object.getOwnPropertyNames(e).reduce((t,n)=>t||gn(e[n]),!1);function sv(e,t){const{isScriptable:n,isIndexable:s}=Jh(e);for(const i of t){const r=n(i),o=s(i),a=(o||r)&&e[i];if(r&&(gn(a)||nv(a))||o&&Et(a))return!0}return!1}var iv="3.9.1";const rv=["top","bottom","left","right","chartArea"];function vu(e,t){return e==="top"||e==="bottom"||rv.indexOf(e)===-1&&t==="x"}function wu(e,t){return function(n,s){return n[e]===s[e]?n[t]-s[t]:n[e]-s[e]}}function Mu(e){const t=e.chart,n=t.options.animation;t.notifyPlugins("afterRender"),Pt(n&&n.onComplete,[e],t)}function ov(e){const t=e.chart,n=t.options.animation;Pt(n&&n.onProgress,[e],t)}function yd(e){return id()&&typeof e=="string"?e=document.getElementById(e):e&&e.length&&(e=e[0]),e&&e.canvas&&(e=e.canvas),e}const ur={},xd=e=>{const t=yd(e);return Object.values(ur).filter(n=>n.canvas===t).pop()};function av(e,t,n){const s=Object.keys(e);for(const i of s){const r=+i;if(r>=t){const o=e[i];delete e[i],(n>0||r>t)&&(e[r+n]=o)}}}function lv(e,t,n,s){return!n||e.type==="mouseout"?null:s?t:e}class fr{constructor(t,n){const s=this.config=new ev(n),i=yd(t),r=xd(i);if(r)throw new Error("Canvas is already in use. Chart with ID '"+r.id+"' must be destroyed before the canvas with ID '"+r.canvas.id+"' can be reused.");const o=s.createResolver(s.chartOptionScopes(),this.getContext());this.platform=new(s.platform||Wx(i)),this.platform.updateConfig(s);const a=this.platform.acquireContext(i,o.aspectRatio),l=a&&a.canvas,c=l&&l.height,u=l&&l.width;if(this.id=jb(),this.ctx=a,this.canvas=l,this.width=u,this.height=c,this._options=o,this._aspectRatio=this.aspectRatio,this._layers=[],this._metasets=[],this._stacks=void 0,this.boxes=[],this.currentDevicePixelRatio=void 0,this.chartArea=void 0,this._active=[],this._lastEvent=void 0,this._listeners={},this._responsiveListeners=void 0,this._sortedMetasets=[],this.scales={},this._plugins=new Ux,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=r_(f=>this.update(f),o.resizeDelay||0),this._dataChanges=[],ur[this.id]=this,!a||!l){console.error("Failed to create chart: can't acquire context from the given item");return}Fe.listen(this,"complete",Mu),Fe.listen(this,"progress",ov),this._initialize(),this.attached&&this.update()}get aspectRatio(){const{options:{aspectRatio:t,maintainAspectRatio:n},width:s,height:i,_aspectRatio:r}=this;return xt(t)?n&&r?r:i?s/i:null:t}get data(){return this.config.data}set data(t){this.config.data=t}get options(){return this._options}set options(t){this.config.options=t}_initialize(){return this.notifyPlugins("beforeInit"),this.options.responsive?this.resize():Yc(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return Uc(this.canvas,this.ctx),this}stop(){return Fe.stop(this),this}resize(t,n){Fe.running(this)?this._resizeBeforeDraw={width:t,height:n}:this._resize(t,n)}_resize(t,n){const s=this.options,i=this.canvas,r=s.maintainAspectRatio&&this.aspectRatio,o=this.platform.getMaximumSize(i,t,n,r),a=s.devicePixelRatio||this.platform.getDevicePixelRatio(),l=this.width?"resize":"attach";this.width=o.width,this.height=o.height,this._aspectRatio=this.aspectRatio,Yc(this,a,!0)&&(this.notifyPlugins("resize",{size:o}),Pt(s.onResize,[this,o],this),this.attached&&this._doResize(l)&&this.render())}ensureScalesHaveIDs(){const n=this.options.scales||{};wt(n,(s,i)=>{s.id=i})}buildOrUpdateScales(){const t=this.options,n=t.scales,s=this.scales,i=Object.keys(s).reduce((o,a)=>(o[a]=!1,o),{});let r=[];n&&(r=r.concat(Object.keys(n).map(o=>{const a=n[o],l=Qo(o,a),c=l==="r",u=l==="x";return{options:a,dposition:c?"chartArea":u?"bottom":"left",dtype:c?"radialLinear":u?"category":"linear"}}))),wt(r,o=>{const a=o.options,l=a.id,c=Qo(l,a),u=gt(a.type,o.dtype);(a.position===void 0||vu(a.position,c)!==vu(o.dposition))&&(a.position=o.dposition),i[l]=!0;let f=null;if(l in s&&s[l].type===u)f=s[l];else{const h=Te.getScale(u);f=new h({id:l,type:u,ctx:this.ctx,chart:this}),s[f.id]=f}f.init(a,t)}),wt(i,(o,a)=>{o||delete s[a]}),wt(s,o=>{Si.configure(this,o,o.options),Si.addBox(this,o)})}_updateMetasets(){const t=this._metasets,n=this.data.datasets.length,s=t.length;if(t.sort((i,r)=>i.index-r.index),s>n){for(let i=n;in.length&&delete this._stacks,t.forEach((s,i)=>{n.filter(r=>r===s._dataset).length===0&&this._destroyDatasetMeta(i)})}buildOrUpdateControllers(){const t=[],n=this.data.datasets;let s,i;for(this._removeUnreferencedMetasets(),s=0,i=n.length;s{this.getDatasetMeta(n).controller.reset()},this)}reset(){this._resetElements(),this.notifyPlugins("reset")}update(t){const n=this.config;n.update();const s=this._options=n.createResolver(n.chartOptionScopes(),this.getContext()),i=this._animationsDisabled=!s.animation;if(this._updateScales(),this._checkEventBindings(),this._updateHiddenIndices(),this._plugins.invalidate(),this.notifyPlugins("beforeUpdate",{mode:t,cancelable:!0})===!1)return;const r=this.buildOrUpdateControllers();this.notifyPlugins("beforeElementsUpdate");let o=0;for(let c=0,u=this.data.datasets.length;c{c.reset()}),this._updateDatasets(t),this.notifyPlugins("afterUpdate",{mode:t}),this._layers.sort(wu("z","_idx"));const{_active:a,_lastEvent:l}=this;l?this._eventHandler(l,!0):a.length&&this._updateHoverStyles(a,a,!0),this.render()}_updateScales(){wt(this.scales,t=>{Si.removeBox(this,t)}),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){const t=this.options,n=new Set(Object.keys(this._listeners)),s=new Set(t.events);(!Rc(n,s)||!!this._responsiveListeners!==t.responsive)&&(this.unbindEvents(),this.bindEvents())}_updateHiddenIndices(){const{_hiddenIndices:t}=this,n=this._getUniformDataChanges()||[];for(const{method:s,start:i,count:r}of n){const o=s==="_removeElements"?-r:r;av(t,i,o)}}_getUniformDataChanges(){const t=this._dataChanges;if(!t||!t.length)return;this._dataChanges=[];const n=this.data.datasets.length,s=r=>new Set(t.filter(o=>o[0]===r).map((o,a)=>a+","+o.splice(1).join(","))),i=s(0);for(let r=1;rr.split(",")).map(r=>({method:r[1],start:+r[2],count:+r[3]}))}_updateLayout(t){if(this.notifyPlugins("beforeLayout",{cancelable:!0})===!1)return;Si.update(this,this.width,this.height,t);const n=this.chartArea,s=n.width<=0||n.height<=0;this._layers=[],wt(this.boxes,i=>{s&&i.position==="chartArea"||(i.configure&&i.configure(),this._layers.push(...i._layers()))},this),this._layers.forEach((i,r)=>{i._idx=r}),this.notifyPlugins("afterLayout")}_updateDatasets(t){if(this.notifyPlugins("beforeDatasetsUpdate",{mode:t,cancelable:!0})!==!1){for(let n=0,s=this.data.datasets.length;n=0;--n)this._drawDataset(t[n]);this.notifyPlugins("afterDatasetsDraw")}_drawDataset(t){const n=this.ctx,s=t._clip,i=!s.disabled,r=this.chartArea,o={meta:t,index:t.index,cancelable:!0};this.notifyPlugins("beforeDatasetDraw",o)!==!1&&(i&&Xh(n,{left:s.left===!1?0:r.left-s.left,right:s.right===!1?this.width:r.right+s.right,top:s.top===!1?0:r.top-s.top,bottom:s.bottom===!1?this.height:r.bottom+s.bottom}),t.controller.draw(),i&&Zh(n),o.cancelable=!1,this.notifyPlugins("afterDatasetDraw",o))}isPointInArea(t){return ei(t,this.chartArea,this._minPadding)}getElementsAtEventForMode(t,n,s,i){const r=Mx.modes[n];return typeof r=="function"?r(this,t,s,i):[]}getDatasetMeta(t){const n=this.data.datasets[t],s=this._metasets;let i=s.filter(r=>r&&r._dataset===n).pop();return i||(i={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:n&&n.order||0,index:t,_dataset:n,_parsed:[],_sorted:!1},s.push(i)),i}getContext(){return this.$context||(this.$context=mn(null,{chart:this,type:"chart"}))}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(t){const n=this.data.datasets[t];if(!n)return!1;const s=this.getDatasetMeta(t);return typeof s.hidden=="boolean"?!s.hidden:!n.hidden}setDatasetVisibility(t,n){const s=this.getDatasetMeta(t);s.hidden=!n}toggleDataVisibility(t){this._hiddenIndices[t]=!this._hiddenIndices[t]}getDataVisibility(t){return!this._hiddenIndices[t]}_updateVisibility(t,n,s){const i=s?"show":"hide",r=this.getDatasetMeta(t),o=r.controller._resolveAnimations(void 0,i);me(n)?(r.data[n].hidden=!s,this.update()):(this.setDatasetVisibility(t,s),o.update(r,{visible:s}),this.update(a=>a.datasetIndex===t?i:void 0))}hide(t,n){this._updateVisibility(t,n,!1)}show(t,n){this._updateVisibility(t,n,!0)}_destroyDatasetMeta(t){const n=this._metasets[t];n&&n.controller&&n.controller._destroy(),delete this._metasets[t]}_stop(){let t,n;for(this.stop(),Fe.remove(this),t=0,n=this.data.datasets.length;t{n.addEventListener(this,r,o),t[r]=o},i=(r,o,a)=>{r.offsetX=o,r.offsetY=a,this._eventHandler(r)};wt(this.options.events,r=>s(r,i))}bindResponsiveEvents(){this._responsiveListeners||(this._responsiveListeners={});const t=this._responsiveListeners,n=this.platform,s=(l,c)=>{n.addEventListener(this,l,c),t[l]=c},i=(l,c)=>{t[l]&&(n.removeEventListener(this,l,c),delete t[l])},r=(l,c)=>{this.canvas&&this.resize(l,c)};let o;const a=()=>{i("attach",a),this.attached=!0,this.resize(),s("resize",r),s("detach",o)};o=()=>{this.attached=!1,i("resize",r),this._stop(),this._resize(0,0),s("attach",a)},n.isAttached(this.canvas)?a():o()}unbindEvents(){wt(this._listeners,(t,n)=>{this.platform.removeEventListener(this,n,t)}),this._listeners={},wt(this._responsiveListeners,(t,n)=>{this.platform.removeEventListener(this,n,t)}),this._responsiveListeners=void 0}updateHoverStyle(t,n,s){const i=s?"set":"remove";let r,o,a,l;for(n==="dataset"&&(r=this.getDatasetMeta(t[0].datasetIndex),r.controller["_"+i+"DatasetHoverStyle"]()),a=0,l=t.length;a{const a=this.getDatasetMeta(r);if(!a)throw new Error("No dataset found at index "+r);return{datasetIndex:r,element:a.data[o],index:o}});!tr(s,n)&&(this._active=s,this._lastEvent=null,this._updateHoverStyles(s,n))}notifyPlugins(t,n,s){return this._plugins.notify(this,t,n,s)}_updateHoverStyles(t,n,s){const i=this.options.hover,r=(l,c)=>l.filter(u=>!c.some(f=>u.datasetIndex===f.datasetIndex&&u.index===f.index)),o=r(n,t),a=s?t:r(t,n);o.length&&this.updateHoverStyle(o,i.mode,!1),a.length&&i.mode&&this.updateHoverStyle(a,i.mode,!0)}_eventHandler(t,n){const s={event:t,replay:n,cancelable:!0,inChartArea:this.isPointInArea(t)},i=o=>(o.options.events||this.options.events).includes(t.native.type);if(this.notifyPlugins("beforeEvent",s,i)===!1)return;const r=this._handleEvent(t,n,s.inChartArea);return s.cancelable=!1,this.notifyPlugins("afterEvent",s,i),(r||s.changed)&&this.render(),this}_handleEvent(t,n,s){const{_active:i=[],options:r}=this,o=n,a=this._getActiveElements(t,i,s,o),l=Xb(t),c=lv(t,this._lastEvent,s,l);s&&(this._lastEvent=null,Pt(r.onHover,[t,a,this],this),l&&Pt(r.onClick,[t,a,this],this));const u=!tr(a,i);return(u||n)&&(this._active=a,this._updateHoverStyles(a,i,n)),this._lastEvent=c,u}_getActiveElements(t,n,s,i){if(t.type==="mouseout")return[];if(!s)return n;const r=this.options.hover;return this.getElementsAtEventForMode(t,r.mode,r,i)}}const ku=()=>wt(fr.instances,e=>e._plugins.invalidate()),Je=!0;Object.defineProperties(fr,{defaults:{enumerable:Je,value:ft},instances:{enumerable:Je,value:ur},overrides:{enumerable:Je,value:Bn},registry:{enumerable:Je,value:Te},version:{enumerable:Je,value:iv},getChart:{enumerable:Je,value:xd},register:{enumerable:Je,value:(...e)=>{Te.add(...e),ku()}},unregister:{enumerable:Je,value:(...e)=>{Te.remove(...e),ku()}}});function vd(e,t,n){const{startAngle:s,pixelMargin:i,x:r,y:o,outerRadius:a,innerRadius:l}=t;let c=i/a;e.beginPath(),e.arc(r,o,a,s-c,n+c),l>i?(c=i/l,e.arc(r,o,l,n+c,s-c,!0)):e.arc(r,o,i,n+Ot,s-Ot),e.closePath(),e.clip()}function cv(e){return Na(e,["outerStart","outerEnd","innerStart","innerEnd"])}function uv(e,t,n,s){const i=cv(e.options.borderRadius),r=(n-t)/2,o=Math.min(r,s*t/2),a=l=>{const c=(n-Math.min(r,l))*s/2;return Yt(l,0,Math.min(r,c))};return{outerStart:a(i.outerStart),outerEnd:a(i.outerEnd),innerStart:Yt(i.innerStart,0,o),innerEnd:Yt(i.innerEnd,0,o)}}function Xn(e,t,n,s){return{x:n+e*Math.cos(t),y:s+e*Math.sin(t)}}function ta(e,t,n,s,i,r){const{x:o,y:a,startAngle:l,pixelMargin:c,innerRadius:u}=t,f=Math.max(t.outerRadius+s+n-c,0),h=u>0?u+s+n+c:0;let d=0;const p=i-l;if(s){const j=u>0?u-s:0,tt=f>0?f-s:0,et=(j+tt)/2,lt=et!==0?p*et/(et+s):p;d=(p-lt)/2}const g=Math.max(.001,p*f-n/Rt)/f,b=(p-g)/2,_=l+b+d,v=i-b-d,{outerStart:w,outerEnd:M,innerStart:x,innerEnd:O}=uv(t,h,f,v-_),A=f-w,C=f-M,R=_+w/A,V=v-M/C,Y=h+x,P=h+O,X=_+x/Y,nt=v-O/P;if(e.beginPath(),r){if(e.arc(o,a,f,R,V),M>0){const et=Xn(C,V,o,a);e.arc(et.x,et.y,M,V,v+Ot)}const j=Xn(P,v,o,a);if(e.lineTo(j.x,j.y),O>0){const et=Xn(P,nt,o,a);e.arc(et.x,et.y,O,v+Ot,nt+Math.PI)}if(e.arc(o,a,h,v-O/h,_+x/h,!0),x>0){const et=Xn(Y,X,o,a);e.arc(et.x,et.y,x,X+Math.PI,_-Ot)}const tt=Xn(A,_,o,a);if(e.lineTo(tt.x,tt.y),w>0){const et=Xn(A,R,o,a);e.arc(et.x,et.y,w,_-Ot,R)}}else{e.moveTo(o,a);const j=Math.cos(R)*f+o,tt=Math.sin(R)*f+a;e.lineTo(j,tt);const et=Math.cos(V)*f+o,lt=Math.sin(V)*f+a;e.lineTo(et,lt)}e.closePath()}function fv(e,t,n,s,i){const{fullCircles:r,startAngle:o,circumference:a}=t;let l=t.endAngle;if(r){ta(e,t,n,s,o+kt,i);for(let c=0;c=kt||ti(r,a,l),g=sr(o,c+h,u+h);return p&&g}getCenterPoint(t){const{x:n,y:s,startAngle:i,endAngle:r,innerRadius:o,outerRadius:a}=this.getProps(["x","y","startAngle","endAngle","innerRadius","outerRadius","circumference"],t),{offset:l,spacing:c}=this.options,u=(i+r)/2,f=(o+a+c+l)/2;return{x:n+Math.cos(u)*f,y:s+Math.sin(u)*f}}tooltipPosition(t){return this.getCenterPoint(t)}draw(t){const{options:n,circumference:s}=this,i=(n.offset||0)/2,r=(n.spacing||0)/2,o=n.circular;if(this.pixelMargin=n.borderAlign==="inner"?.33:0,this.fullCircles=s>kt?Math.floor(s/kt):0,s===0||this.innerRadius<0||this.outerRadius<0)return;t.save();let a=0;if(i){a=i/2;const c=(this.startAngle+this.endAngle)/2;t.translate(Math.cos(c)*a,Math.sin(c)*a),this.circumference>=Rt&&(a=i)}t.fillStyle=n.backgroundColor,t.strokeStyle=n.borderColor;const l=fv(t,this,a,r,o);dv(t,this,a,r,l,o),t.restore()}}Za.id="arc";Za.defaults={borderAlign:"center",borderColor:"#fff",borderJoinStyle:void 0,borderRadius:0,borderWidth:2,offset:0,spacing:0,angle:void 0,circular:!0};Za.defaultRoutes={backgroundColor:"backgroundColor"};function wd(e,t,n=t){e.lineCap=gt(n.borderCapStyle,t.borderCapStyle),e.setLineDash(gt(n.borderDash,t.borderDash)),e.lineDashOffset=gt(n.borderDashOffset,t.borderDashOffset),e.lineJoin=gt(n.borderJoinStyle,t.borderJoinStyle),e.lineWidth=gt(n.borderWidth,t.borderWidth),e.strokeStyle=gt(n.borderColor,t.borderColor)}function pv(e,t,n){e.lineTo(n.x,n.y)}function gv(e){return e.stepped?T_:e.tension||e.cubicInterpolationMode==="monotone"?D_:pv}function Md(e,t,n={}){const s=e.length,{start:i=0,end:r=s-1}=n,{start:o,end:a}=t,l=Math.max(i,o),c=Math.min(r,a),u=ia&&r>a;return{count:s,start:l,loop:t.loop,ilen:c(o+(c?a-M:M))%r,w=()=>{g!==b&&(e.lineTo(u,b),e.lineTo(u,g),e.lineTo(u,_))};for(l&&(d=i[v(0)],e.moveTo(d.x,d.y)),h=0;h<=a;++h){if(d=i[v(h)],d.skip)continue;const M=d.x,x=d.y,O=M|0;O===p?(xb&&(b=x),u=(f*u+M)/++f):(w(),e.lineTo(M,x),p=O,f=0,g=b=x),_=x}w()}function ea(e){const t=e.options,n=t.borderDash&&t.borderDash.length;return!e._decimated&&!e._loop&&!t.tension&&t.cubicInterpolationMode!=="monotone"&&!t.stepped&&!n?bv:mv}function _v(e){return e.stepped?fy:e.tension||e.cubicInterpolationMode==="monotone"?hy:Sn}function yv(e,t,n,s){let i=t._path;i||(i=t._path=new Path2D,t.path(i,n,s)&&i.closePath()),wd(e,t.options),e.stroke(i)}function xv(e,t,n,s){const{segments:i,options:r}=t,o=ea(t);for(const a of i)wd(e,r,a.style),e.beginPath(),o(e,t,a,{start:n,end:n+s-1})&&e.closePath(),e.stroke()}const vv=typeof Path2D=="function";function wv(e,t,n,s){vv&&!t.options.segment?yv(e,t,n,s):xv(e,t,n,s)}class ci extends qe{constructor(t){super(),this.animated=!0,this.options=void 0,this._chart=void 0,this._loop=void 0,this._fullLoop=void 0,this._path=void 0,this._points=void 0,this._segments=void 0,this._decimated=!1,this._pointsUpdated=!1,this._datasetIndex=void 0,t&&Object.assign(this,t)}updateControlPoints(t,n){const s=this.options;if((s.tension||s.cubicInterpolationMode==="monotone")&&!s.stepped&&!this._pointsUpdated){const i=s.spanGaps?this._loop:this._fullLoop;sy(this._points,s,t,i,n),this._pointsUpdated=!0}}set points(t){this._points=t,delete this._segments,delete this._path,this._pointsUpdated=!1}get points(){return this._points}get segments(){return this._segments||(this._segments=My(this,this.options.segment))}first(){const t=this.segments,n=this.points;return t.length&&n[t[0].start]}last(){const t=this.segments,n=this.points,s=t.length;return s&&n[t[s-1].end]}interpolate(t,n){const s=this.options,i=t[n],r=this.points,o=xy(this,{property:n,start:i,end:i});if(!o.length)return;const a=[],l=_v(s);let c,u;for(c=0,u=o.length;ce!=="borderDash"&&e!=="fill"};function Cu(e,t,n,s){const i=e.options,{[n]:r}=e.getProps([n],s);return Math.abs(t-r)-1?e.split(` -`):e}function Ev(e,t){const{element:n,datasetIndex:s,index:i}=t,r=e.getDatasetMeta(s).controller,{label:o,value:a}=r.getLabelAndValue(i);return{chart:e,label:o,parsed:r.getParsed(i),raw:e.data.datasets[s].data[i],formattedValue:a,dataset:r.getDataset(),dataIndex:i,datasetIndex:s,element:n}}function Su(e,t){const n=e.chart.ctx,{body:s,footer:i,title:r}=e,{boxWidth:o,boxHeight:a}=t,l=ae(t.bodyFont),c=ae(t.titleFont),u=ae(t.footerFont),f=r.length,h=i.length,d=s.length,p=be(t.padding);let g=p.height,b=0,_=s.reduce((M,x)=>M+x.before.length+x.lines.length+x.after.length,0);if(_+=e.beforeBody.length+e.afterBody.length,f&&(g+=f*c.lineHeight+(f-1)*t.titleSpacing+t.titleMarginBottom),_){const M=t.displayColors?Math.max(a,l.lineHeight):l.lineHeight;g+=d*M+(_-d)*l.lineHeight+(_-1)*t.bodySpacing}h&&(g+=t.footerMarginTop+h*u.lineHeight+(h-1)*t.footerSpacing);let v=0;const w=function(M){b=Math.max(b,n.measureText(M).width+v)};return n.save(),n.font=c.string,wt(e.title,w),n.font=l.string,wt(e.beforeBody.concat(e.afterBody),w),v=t.displayColors?o+2+t.boxPadding:0,wt(s,M=>{wt(M.before,w),wt(M.lines,w),wt(M.after,w)}),v=0,n.font=u.string,wt(e.footer,w),n.restore(),b+=p.width,{width:b,height:g}}function Lv(e,t){const{y:n,height:s}=t;return ne.height-s/2?"bottom":"center"}function Pv(e,t,n,s){const{x:i,width:r}=s,o=n.caretSize+n.caretPadding;if(e==="left"&&i+r+o>t.width||e==="right"&&i-r-o<0)return!0}function Ov(e,t,n,s){const{x:i,width:r}=n,{width:o,chartArea:{left:a,right:l}}=e;let c="center";return s==="center"?c=i<=(a+l)/2?"left":"right":i<=r/2?c="left":i>=o-r/2&&(c="right"),Pv(c,e,t,n)&&(c="center"),c}function Au(e,t,n){const s=n.yAlign||t.yAlign||Lv(e,n);return{xAlign:n.xAlign||t.xAlign||Ov(e,t,n,s),yAlign:s}}function Rv(e,t){let{x:n,width:s}=e;return t==="right"?n-=s:t==="center"&&(n-=s/2),n}function Tv(e,t,n){let{y:s,height:i}=e;return t==="top"?s+=n:t==="bottom"?s-=i+n:s-=i/2,s}function Eu(e,t,n,s){const{caretSize:i,caretPadding:r,cornerRadius:o}=e,{xAlign:a,yAlign:l}=n,c=i+r,{topLeft:u,topRight:f,bottomLeft:h,bottomRight:d}=ts(o);let p=Rv(t,a);const g=Tv(t,l,c);return l==="center"?a==="left"?p+=c:a==="right"&&(p-=c):a==="left"?p-=Math.max(u,h)+i:a==="right"&&(p+=Math.max(f,d)+i),{x:Yt(p,0,s.width-t.width),y:Yt(g,0,s.height-t.height)}}function Ei(e,t,n){const s=be(n.padding);return t==="center"?e.x+e.width/2:t==="right"?e.x+e.width-s.right:e.x+s.left}function Lu(e){return Pe([],Be(e))}function Dv(e,t,n){return mn(e,{tooltip:t,tooltipItems:n,type:"tooltip"})}function Pu(e,t){const n=t&&t.dataset&&t.dataset.tooltip&&t.dataset.tooltip.callbacks;return n?e.override(n):e}class na extends qe{constructor(t){super(),this.opacity=0,this._active=[],this._eventPosition=void 0,this._size=void 0,this._cachedAnimations=void 0,this._tooltipItems=[],this.$animations=void 0,this.$context=void 0,this.chart=t.chart||t._chart,this._chart=this.chart,this.options=t.options,this.dataPoints=void 0,this.title=void 0,this.beforeBody=void 0,this.body=void 0,this.afterBody=void 0,this.footer=void 0,this.xAlign=void 0,this.yAlign=void 0,this.x=void 0,this.y=void 0,this.height=void 0,this.width=void 0,this.caretX=void 0,this.caretY=void 0,this.labelColors=void 0,this.labelPointStyles=void 0,this.labelTextColors=void 0}initialize(t){this.options=t,this._cachedAnimations=void 0,this.$context=void 0}_resolveAnimations(){const t=this._cachedAnimations;if(t)return t;const n=this.chart,s=this.options.setContext(this.getContext()),i=s.enabled&&n.options.animation&&s.animations,r=new od(this.chart,i);return i._cacheable&&(this._cachedAnimations=Object.freeze(r)),r}getContext(){return this.$context||(this.$context=Dv(this.chart.getContext(),this,this._tooltipItems))}getTitle(t,n){const{callbacks:s}=n,i=s.beforeTitle.apply(this,[t]),r=s.title.apply(this,[t]),o=s.afterTitle.apply(this,[t]);let a=[];return a=Pe(a,Be(i)),a=Pe(a,Be(r)),a=Pe(a,Be(o)),a}getBeforeBody(t,n){return Lu(n.callbacks.beforeBody.apply(this,[t]))}getBody(t,n){const{callbacks:s}=n,i=[];return wt(t,r=>{const o={before:[],lines:[],after:[]},a=Pu(s,r);Pe(o.before,Be(a.beforeLabel.call(this,r))),Pe(o.lines,a.label.call(this,r)),Pe(o.after,Be(a.afterLabel.call(this,r))),i.push(o)}),i}getAfterBody(t,n){return Lu(n.callbacks.afterBody.apply(this,[t]))}getFooter(t,n){const{callbacks:s}=n,i=s.beforeFooter.apply(this,[t]),r=s.footer.apply(this,[t]),o=s.afterFooter.apply(this,[t]);let a=[];return a=Pe(a,Be(i)),a=Pe(a,Be(r)),a=Pe(a,Be(o)),a}_createItems(t){const n=this._active,s=this.chart.data,i=[],r=[],o=[];let a=[],l,c;for(l=0,c=n.length;lt.filter(u,f,h,s))),t.itemSort&&(a=a.sort((u,f)=>t.itemSort(u,f,s))),wt(a,u=>{const f=Pu(t.callbacks,u);i.push(f.labelColor.call(this,u)),r.push(f.labelPointStyle.call(this,u)),o.push(f.labelTextColor.call(this,u))}),this.labelColors=i,this.labelPointStyles=r,this.labelTextColors=o,this.dataPoints=a,a}update(t,n){const s=this.options.setContext(this.getContext()),i=this._active;let r,o=[];if(!i.length)this.opacity!==0&&(r={opacity:0});else{const a=Ws[s.position].call(this,i,this._eventPosition);o=this._createItems(s),this.title=this.getTitle(o,s),this.beforeBody=this.getBeforeBody(o,s),this.body=this.getBody(o,s),this.afterBody=this.getAfterBody(o,s),this.footer=this.getFooter(o,s);const l=this._size=Su(this,s),c=Object.assign({},a,l),u=Au(this.chart,s,c),f=Eu(s,c,u,this.chart);this.xAlign=u.xAlign,this.yAlign=u.yAlign,r={opacity:1,x:f.x,y:f.y,width:l.width,height:l.height,caretX:a.x,caretY:a.y}}this._tooltipItems=o,this.$context=void 0,r&&this._resolveAnimations().update(this,r),t&&s.external&&s.external.call(this,{chart:this.chart,tooltip:this,replay:n})}drawCaret(t,n,s,i){const r=this.getCaretPosition(t,s,i);n.lineTo(r.x1,r.y1),n.lineTo(r.x2,r.y2),n.lineTo(r.x3,r.y3)}getCaretPosition(t,n,s){const{xAlign:i,yAlign:r}=this,{caretSize:o,cornerRadius:a}=s,{topLeft:l,topRight:c,bottomLeft:u,bottomRight:f}=ts(a),{x:h,y:d}=t,{width:p,height:g}=n;let b,_,v,w,M,x;return r==="center"?(M=d+g/2,i==="left"?(b=h,_=b-o,w=M+o,x=M-o):(b=h+p,_=b+o,w=M-o,x=M+o),v=b):(i==="left"?_=h+Math.max(l,u)+o:i==="right"?_=h+p-Math.max(c,f)-o:_=this.caretX,r==="top"?(w=d,M=w-o,b=_-o,v=_+o):(w=d+g,M=w+o,b=_+o,v=_-o),x=w),{x1:b,x2:_,x3:v,y1:w,y2:M,y3:x}}drawTitle(t,n,s){const i=this.title,r=i.length;let o,a,l;if(r){const c=yo(s.rtl,this.x,this.width);for(t.x=Ei(this,s.titleAlign,s),n.textAlign=c.textAlign(s.titleAlign),n.textBaseline="middle",o=ae(s.titleFont),a=s.titleSpacing,n.fillStyle=s.titleColor,n.font=o.string,l=0;lw!==0)?(t.beginPath(),t.fillStyle=r.multiKeyBackground,ar(t,{x:b,y:g,w:c,h:l,radius:v}),t.fill(),t.stroke(),t.fillStyle=o.backgroundColor,t.beginPath(),ar(t,{x:_,y:g+1,w:c-2,h:l-2,radius:v}),t.fill()):(t.fillStyle=r.multiKeyBackground,t.fillRect(b,g,c,l),t.strokeRect(b,g,c,l),t.fillStyle=o.backgroundColor,t.fillRect(_,g+1,c-2,l-2))}t.fillStyle=this.labelTextColors[s]}drawBody(t,n,s){const{body:i}=this,{bodySpacing:r,bodyAlign:o,displayColors:a,boxHeight:l,boxWidth:c,boxPadding:u}=s,f=ae(s.bodyFont);let h=f.lineHeight,d=0;const p=yo(s.rtl,this.x,this.width),g=function(C){n.fillText(C,p.x(t.x+d),t.y+h/2),t.y+=h+r},b=p.textAlign(o);let _,v,w,M,x,O,A;for(n.textAlign=o,n.textBaseline="middle",n.font=f.string,t.x=Ei(this,b,s),n.fillStyle=s.bodyColor,wt(this.beforeBody,g),d=a&&b!=="right"?o==="center"?c/2+u:c+2+u:0,M=0,O=i.length;M0&&n.stroke()}_updateAnimationTarget(t){const n=this.chart,s=this.$animations,i=s&&s.x,r=s&&s.y;if(i||r){const o=Ws[t.position].call(this,this._active,this._eventPosition);if(!o)return;const a=this._size=Su(this,t),l=Object.assign({},o,this._size),c=Au(n,t,l),u=Eu(t,l,c,n);(i._to!==u.x||r._to!==u.y)&&(this.xAlign=c.xAlign,this.yAlign=c.yAlign,this.width=a.width,this.height=a.height,this.caretX=o.x,this.caretY=o.y,this._resolveAnimations().update(this,u))}}_willRender(){return!!this.opacity}draw(t){const n=this.options.setContext(this.getContext());let s=this.opacity;if(!s)return;this._updateAnimationTarget(n);const i={width:this.width,height:this.height},r={x:this.x,y:this.y};s=Math.abs(s)<.001?0:s;const o=be(n.padding),a=this.title.length||this.beforeBody.length||this.body.length||this.afterBody.length||this.footer.length;n.enabled&&a&&(t.save(),t.globalAlpha=s,this.drawBackground(r,t,i,n),my(t,n.textDirection),r.y+=o.top,this.drawTitle(r,t,n),this.drawBody(r,t,n),this.drawFooter(r,t,n),by(t,n.textDirection),t.restore())}getActiveElements(){return this._active||[]}setActiveElements(t,n){const s=this._active,i=t.map(({datasetIndex:a,index:l})=>{const c=this.chart.getDatasetMeta(a);if(!c)throw new Error("Cannot find a dataset at index "+a);return{datasetIndex:a,element:c.data[l],index:l}}),r=!tr(s,i),o=this._positionChanged(i,n);(r||o)&&(this._active=i,this._eventPosition=n,this._ignoreReplayEvents=!0,this.update(!0))}handleEvent(t,n,s=!0){if(n&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;const i=this.options,r=this._active||[],o=this._getActiveElements(t,r,n,s),a=this._positionChanged(o,t),l=n||!tr(o,r)||a;return l&&(this._active=o,(i.enabled||i.external)&&(this._eventPosition={x:t.x,y:t.y},this.update(!0,n))),l}_getActiveElements(t,n,s,i){const r=this.options;if(t.type==="mouseout")return[];if(!i)return n;const o=this.chart.getElementsAtEventForMode(t,r.mode,r,s);return r.reverse&&o.reverse(),o}_positionChanged(t,n){const{caretX:s,caretY:i,options:r}=this,o=Ws[r.position].call(this,t,n);return o!==!1&&(s!==o.x||i!==o.y)}}na.positioners=Ws;var Iv={id:"tooltip",_element:na,positioners:Ws,afterInit(e,t,n){n&&(e.tooltip=new na({chart:e,options:n}))},beforeUpdate(e,t,n){e.tooltip&&e.tooltip.initialize(n)},reset(e,t,n){e.tooltip&&e.tooltip.initialize(n)},afterDraw(e){const t=e.tooltip;if(t&&t._willRender()){const n={tooltip:t};if(e.notifyPlugins("beforeTooltipDraw",n)===!1)return;t.draw(e.ctx),e.notifyPlugins("afterTooltipDraw",n)}},afterEvent(e,t){if(e.tooltip){const n=t.replay;e.tooltip.handleEvent(t.event,n,t.inChartArea)&&(t.changed=!0)}},defaults:{enabled:!0,external:null,position:"average",backgroundColor:"rgba(0,0,0,0.8)",titleColor:"#fff",titleFont:{weight:"bold"},titleSpacing:2,titleMarginBottom:6,titleAlign:"left",bodyColor:"#fff",bodySpacing:2,bodyFont:{},bodyAlign:"left",footerColor:"#fff",footerSpacing:2,footerMarginTop:6,footerFont:{weight:"bold"},footerAlign:"left",padding:6,caretPadding:2,caretSize:5,cornerRadius:6,boxHeight:(e,t)=>t.bodyFont.size,boxWidth:(e,t)=>t.bodyFont.size,multiKeyBackground:"#fff",displayColors:!0,boxPadding:0,borderColor:"rgba(0,0,0,0)",borderWidth:0,animation:{duration:400,easing:"easeOutQuart"},animations:{numbers:{type:"number",properties:["x","y","width","height","caretX","caretY"]},opacity:{easing:"linear",duration:200}},callbacks:{beforeTitle:Ve,title(e){if(e.length>0){const t=e[0],n=t.chart.data.labels,s=n?n.length:0;if(this&&this.options&&this.options.mode==="dataset")return t.dataset.label||"";if(t.label)return t.label;if(s>0&&t.dataIndexe!=="filter"&&e!=="itemSort"&&e!=="external",_indexable:!1,callbacks:{_scriptable:!1,_indexable:!1},animation:{_fallback:!1},animations:{_fallback:"animation"}},additionalOptionScopes:["interaction"]};const Hv=(e,t,n,s)=>(typeof t=="string"?(n=e.push(t)-1,s.unshift({index:n,label:t})):isNaN(t)&&(n=null),n);function Vv(e,t,n,s){const i=e.indexOf(t);if(i===-1)return Hv(e,t,n,s);const r=e.lastIndexOf(t);return i!==r?n:i}const Fv=(e,t)=>e===null?null:Yt(Math.round(e),0,t);class hr extends $n{constructor(t){super(t),this._startValue=void 0,this._valueRange=0,this._addedLabels=[]}init(t){const n=this._addedLabels;if(n.length){const s=this.getLabels();for(const{index:i,label:r}of n)s[i]===r&&s.splice(i,1);this._addedLabels=[]}super.init(t)}parse(t,n){if(xt(t))return null;const s=this.getLabels();return n=isFinite(n)&&s[n]===t?n:Vv(s,t,gt(n,t),this._addedLabels),Fv(n,s.length-1)}determineDataLimits(){const{minDefined:t,maxDefined:n}=this.getUserBounds();let{min:s,max:i}=this.getMinMax(!0);this.options.bounds==="ticks"&&(t||(s=0),n||(i=this.getLabels().length-1)),this.min=s,this.max=i}buildTicks(){const t=this.min,n=this.max,s=this.options.offset,i=[];let r=this.getLabels();r=t===0&&n===r.length-1?r:r.slice(t,n+1),this._valueRange=Math.max(r.length-(s?0:1),1),this._startValue=this.min-(s?.5:0);for(let o=t;o<=n;o++)i.push({value:o});return i}getLabelForValue(t){const n=this.getLabels();return t>=0&&tn.length-1?null:this.getPixelForValue(n[t].value)}getValueForPixel(t){return Math.round(this._startValue+this.getDecimalForPixel(t)*this._valueRange)}getBasePixel(){return this.bottom}}hr.id="category";hr.defaults={ticks:{callback:hr.prototype.getLabelForValue}};function Bv(e,t){const n=[],{bounds:i,step:r,min:o,max:a,precision:l,count:c,maxTicks:u,maxDigits:f,includeBounds:h}=e,d=r||1,p=u-1,{min:g,max:b}=t,_=!xt(o),v=!xt(a),w=!xt(c),M=(b-g)/(f+1);let x=Dc((b-g)/p/d)*d,O,A,C,R;if(x<1e-14&&!_&&!v)return[{value:g},{value:b}];R=Math.ceil(b/x)-Math.floor(g/x),R>p&&(x=Dc(R*x/p/d)*d),xt(l)||(O=Math.pow(10,l),x=Math.ceil(x*O)/O),i==="ticks"?(A=Math.floor(g/x)*x,C=Math.ceil(b/x)*x):(A=g,C=b),_&&v&&r&&Qb((a-o)/r,x/1e3)?(R=Math.round(Math.min((a-o)/x,u)),x=(a-o)/R,A=o,C=a):w?(A=_?o:A,C=v?a:C,R=c-1,x=(C-A)/R):(R=(C-A)/x,$s(R,Math.round(R),x/1e3)?R=Math.round(R):R=Math.ceil(R));const V=Math.max(Ic(x),Ic(A));O=Math.pow(10,xt(l)?V:l),A=Math.round(A*O)/O,C=Math.round(C*O)/O;let Y=0;for(_&&(h&&A!==o?(n.push({value:o}),Ai=n?i:l,a=l=>r=s?r:l;if(t){const l=De(i),c=De(r);l<0&&c<0?a(0):l>0&&c>0&&o(0)}if(i===r){let l=1;(r>=Number.MAX_SAFE_INTEGER||i<=Number.MIN_SAFE_INTEGER)&&(l=Math.abs(r*.05)),a(r+l),t||o(i-l)}this.min=i,this.max=r}getTickLimit(){const t=this.options.ticks;let{maxTicksLimit:n,stepSize:s}=t,i;return s?(i=Math.ceil(this.max/s)-Math.floor(this.min/s)+1,i>1e3&&(console.warn(`scales.${this.id}.ticks.stepSize: ${s} would result generating up to ${i} ticks. Limiting to 1000.`),i=1e3)):(i=this.computeTickLimit(),n=n||11),n&&(i=Math.min(n,i)),i}computeTickLimit(){return Number.POSITIVE_INFINITY}buildTicks(){const t=this.options,n=t.ticks;let s=this.getTickLimit();s=Math.max(2,s);const i={maxTicks:s,bounds:t.bounds,min:t.min,max:t.max,precision:n.precision,step:n.stepSize,count:n.count,maxDigits:this._maxDigits(),horizontal:this.isHorizontal(),minRotation:n.minRotation||0,includeBounds:n.includeBounds!==!1},r=this._range||this,o=Bv(i,r);return t.bounds==="ticks"&&Hh(o,this,"value"),t.reverse?(o.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),o}configure(){const t=this.ticks;let n=this.min,s=this.max;if(super.configure(),this.options.offset&&t.length){const i=(s-n)/Math.max(t.length-1,1)/2;n-=i,s+=i}this._startValue=n,this._endValue=s,this._valueRange=s-n}getLabelForValue(t){return oi(t,this.chart.options.locale,this.options.ticks.format)}}class Ja extends dr{determineDataLimits(){const{min:t,max:n}=this.getMinMax(!0);this.min=zt(t)?t:0,this.max=zt(n)?n:1,this.handleTickRangeOptions()}computeTickLimit(){const t=this.isHorizontal(),n=t?this.width:this.height,s=Me(this.options.ticks.minRotation),i=(t?Math.sin(s):Math.cos(s))||.001,r=this._resolveTickFontOptions(0);return Math.ceil(n/Math.min(40,r.lineHeight/i))}getPixelForValue(t){return t===null?NaN:this.getPixelForDecimal((t-this._startValue)/this._valueRange)}getValueForPixel(t){return this._startValue+this.getDecimalForPixel(t)*this._valueRange}}Ja.id="linear";Ja.defaults={ticks:{callback:Vr.formatters.numeric}};function Ru(e){return e/Math.pow(10,Math.floor(de(e)))===1}function Nv(e,t){const n=Math.floor(de(t.max)),s=Math.ceil(t.max/Math.pow(10,n)),i=[];let r=he(e.min,Math.pow(10,Math.floor(de(t.min)))),o=Math.floor(de(r)),a=Math.floor(r/Math.pow(10,o)),l=o<0?Math.pow(10,Math.abs(o)):1;do i.push({value:r,major:Ru(r)}),++a,a===10&&(a=1,++o,l=o>=0?1:l),r=Math.round(a*Math.pow(10,o)*l)/l;while(o0?s:null}determineDataLimits(){const{min:t,max:n}=this.getMinMax(!0);this.min=zt(t)?Math.max(0,t):null,this.max=zt(n)?Math.max(0,n):null,this.options.beginAtZero&&(this._zero=!0),this.handleTickRangeOptions()}handleTickRangeOptions(){const{minDefined:t,maxDefined:n}=this.getUserBounds();let s=this.min,i=this.max;const r=l=>s=t?s:l,o=l=>i=n?i:l,a=(l,c)=>Math.pow(10,Math.floor(de(l))+c);s===i&&(s<=0?(r(1),o(10)):(r(a(s,-1)),o(a(i,1)))),s<=0&&r(a(i,-1)),i<=0&&o(a(s,1)),this._zero&&this.min!==this._suggestedMin&&s===a(this.min,0)&&r(a(s,-1)),this.min=s,this.max=i}buildTicks(){const t=this.options,n={min:this._userMin,max:this._userMax},s=Nv(n,this);return t.bounds==="ticks"&&Hh(s,this,"value"),t.reverse?(s.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),s}getLabelForValue(t){return t===void 0?"0":oi(t,this.chart.options.locale,this.options.ticks.format)}configure(){const t=this.min;super.configure(),this._startValue=de(t),this._valueRange=de(this.max)-de(t)}getPixelForValue(t){return(t===void 0||t===0)&&(t=this.min),t===null||isNaN(t)?NaN:this.getPixelForDecimal(t===this.min?0:(de(t)-this._startValue)/this._valueRange)}getValueForPixel(t){const n=this.getDecimalForPixel(t);return Math.pow(10,this._startValue+n*this._valueRange)}}Cd.id="logarithmic";Cd.defaults={ticks:{callback:Vr.formatters.logarithmic,major:{enabled:!0}}};function sa(e){const t=e.ticks;if(t.display&&e.display){const n=be(t.backdropPadding);return gt(t.font&&t.font.size,ft.font.size)+n.height}return 0}function $v(e,t,n){return n=Et(n)?n:[n],{w:O_(e,t.string,n),h:n.length*t.lineHeight}}function Tu(e,t,n,s,i){return e===s||e===i?{start:t-n/2,end:t+n/2}:ei?{start:t-n,end:t}:{start:t,end:t+n}}function zv(e){const t={l:e.left+e._padding.left,r:e.right-e._padding.right,t:e.top+e._padding.top,b:e.bottom-e._padding.bottom},n=Object.assign({},t),s=[],i=[],r=e._pointLabels.length,o=e.options.pointLabels,a=o.centerPointLabels?Rt/r:0;for(let l=0;lt.r&&(a=(s.end-t.r)/r,e.r=Math.max(e.r,t.r+a)),i.startt.b&&(l=(i.end-t.b)/o,e.b=Math.max(e.b,t.b+l))}function Wv(e,t,n){const s=[],i=e._pointLabels.length,r=e.options,o=sa(r)/2,a=e.drawingArea,l=r.pointLabels.centerPointLabels?Rt/i:0;for(let c=0;c270||n<90)&&(e-=t),e}function Yv(e,t){const{ctx:n,options:{pointLabels:s}}=e;for(let i=t-1;i>=0;i--){const r=s.setContext(e.getPointLabelContext(i)),o=ae(r.font),{x:a,y:l,textAlign:c,left:u,top:f,right:h,bottom:d}=e._pointLabelItems[i],{backdropColor:p}=r;if(!xt(p)){const g=ts(r.borderRadius),b=be(r.backdropPadding);n.fillStyle=p;const _=u-b.left,v=f-b.top,w=h-u+b.width,M=d-f+b.height;Object.values(g).some(x=>x!==0)?(n.beginPath(),ar(n,{x:_,y:v,w,h:M,radius:g}),n.fill()):n.fillRect(_,v,w,M)}or(n,e._pointLabels[i],a,l+o.lineHeight/2,o,{color:r.color,textAlign:c,textBaseline:"middle"})}}function Sd(e,t,n,s){const{ctx:i}=e;if(n)i.arc(e.xCenter,e.yCenter,t,0,kt);else{let r=e.getPointPosition(0,t);i.moveTo(r.x,r.y);for(let o=1;o{const i=Pt(this.options.pointLabels.callback,[n,s],this);return i||i===0?i:""}).filter((n,s)=>this.chart.getDataVisibility(s))}fit(){const t=this.options;t.display&&t.pointLabels.display?zv(this):this.setCenterPoint(0,0,0,0)}setCenterPoint(t,n,s,i){this.xCenter+=Math.floor((t-n)/2),this.yCenter+=Math.floor((s-i)/2),this.drawingArea-=Math.min(this.drawingArea/2,Math.max(t,n,s,i))}getIndexAngle(t){const n=kt/(this._pointLabels.length||1),s=this.options.startAngle||0;return xe(t*n+Me(s))}getDistanceFromCenterForValue(t){if(xt(t))return NaN;const n=this.drawingArea/(this.max-this.min);return this.options.reverse?(this.max-t)*n:(t-this.min)*n}getValueForDistanceFromCenter(t){if(xt(t))return NaN;const n=t/(this.drawingArea/(this.max-this.min));return this.options.reverse?this.max-n:this.min+n}getPointLabelContext(t){const n=this._pointLabels||[];if(t>=0&&t{if(u!==0){a=this.getDistanceFromCenterForValue(c.value);const f=i.setContext(this.getContext(u-1));Xv(this,f,a,r)}}),s.display){for(t.save(),o=r-1;o>=0;o--){const c=s.setContext(this.getPointLabelContext(o)),{color:u,lineWidth:f}=c;!f||!u||(t.lineWidth=f,t.strokeStyle=u,t.setLineDash(c.borderDash),t.lineDashOffset=c.borderDashOffset,a=this.getDistanceFromCenterForValue(n.ticks.reverse?this.min:this.max),l=this.getPointPosition(o,a),t.beginPath(),t.moveTo(this.xCenter,this.yCenter),t.lineTo(l.x,l.y),t.stroke())}t.restore()}}drawBorder(){}drawLabels(){const t=this.ctx,n=this.options,s=n.ticks;if(!s.display)return;const i=this.getIndexAngle(0);let r,o;t.save(),t.translate(this.xCenter,this.yCenter),t.rotate(i),t.textAlign="center",t.textBaseline="middle",this.ticks.forEach((a,l)=>{if(l===0&&!n.reverse)return;const c=s.setContext(this.getContext(l)),u=ae(c.font);if(r=this.getDistanceFromCenterForValue(this.ticks[l].value),c.showLabelBackdrop){t.font=u.string,o=t.measureText(a.label).width,t.fillStyle=c.backdropColor;const f=be(c.backdropPadding);t.fillRect(-o/2-f.left,-r-u.size/2-f.top,o+f.width,u.size+f.height)}or(t,a.label,0,-r,u,{color:c.color})}),t.restore()}drawTitle(){}}Br.id="radialLinear";Br.defaults={display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,lineWidth:1,borderDash:[],borderDashOffset:0},grid:{circular:!1},startAngle:0,ticks:{showLabelBackdrop:!0,callback:Vr.formatters.numeric},pointLabels:{backdropColor:void 0,backdropPadding:2,display:!0,font:{size:10},callback(e){return e},padding:5,centerPointLabels:!1}};Br.defaultRoutes={"angleLines.color":"borderColor","pointLabels.color":"color","ticks.color":"color"};Br.descriptors={angleLines:{_fallback:"grid"}};const Nr={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},te=Object.keys(Nr);function Gv(e,t){return e-t}function Du(e,t){if(xt(t))return null;const n=e._adapter,{parser:s,round:i,isoWeekday:r}=e._parseOpts;let o=t;return typeof s=="function"&&(o=s(o)),zt(o)||(o=typeof s=="string"?n.parse(o,s):n.parse(o)),o===null?null:(i&&(o=i==="week"&&(us(r)||r===!0)?n.startOf(o,"isoWeek",r):n.startOf(o,i)),+o)}function Iu(e,t,n,s){const i=te.length;for(let r=te.indexOf(e);r=te.indexOf(n);r--){const o=te[r];if(Nr[o].common&&e._adapter.diff(i,s,o)>=t-1)return o}return te[n?te.indexOf(n):0]}function Qv(e){for(let t=te.indexOf(e)+1,n=te.length;t=t?n[s]:n[i];e[r]=!0}}function t2(e,t,n,s){const i=e._adapter,r=+i.startOf(t[0].value,s),o=t[t.length-1].value;let a,l;for(a=r;a<=o;a=+i.add(a,1,s))l=n[a],l>=0&&(t[l].major=!0);return t}function Vu(e,t,n){const s=[],i={},r=t.length;let o,a;for(o=0;o+t.value))}initOffsets(t){let n=0,s=0,i,r;this.options.offset&&t.length&&(i=this.getDecimalForValue(t[0]),t.length===1?n=1-i:n=(this.getDecimalForValue(t[1])-i)/2,r=this.getDecimalForValue(t[t.length-1]),t.length===1?s=r:s=(r-this.getDecimalForValue(t[t.length-2]))/2);const o=t.length<3?.5:.25;n=Yt(n,0,o),s=Yt(s,0,o),this._offsets={start:n,end:s,factor:1/(n+1+s)}}_generate(){const t=this._adapter,n=this.min,s=this.max,i=this.options,r=i.time,o=r.unit||Iu(r.minUnit,n,s,this._getLabelCapacity(n)),a=gt(r.stepSize,1),l=o==="week"?r.isoWeekday:!1,c=us(l)||l===!0,u={};let f=n,h,d;if(c&&(f=+t.startOf(f,"isoWeek",l)),f=+t.startOf(f,c?"day":o),t.diff(s,n,o)>1e5*a)throw new Error(n+" and "+s+" are too far apart with stepSize of "+a+" "+o);const p=i.ticks.source==="data"&&this.getDataTimestamps();for(h=f,d=0;hg-b).map(g=>+g)}getLabelForValue(t){const n=this._adapter,s=this.options.time;return s.tooltipFormat?n.format(t,s.tooltipFormat):n.format(t,s.displayFormats.datetime)}_tickFormatFunction(t,n,s,i){const r=this.options,o=r.time.displayFormats,a=this._unit,l=this._majorUnit,c=a&&o[a],u=l&&o[l],f=s[n],h=l&&u&&f&&f.major,d=this._adapter.format(t,i||(h?u:c)),p=r.ticks.callback;return p?Pt(p,[d,n,s],this):d}generateTickLabels(t){let n,s,i;for(n=0,s=t.length;n0?a:1}getDataTimestamps(){let t=this._cache.data||[],n,s;if(t.length)return t;const i=this.getMatchingVisibleMetas();if(this._normalized&&i.length)return this._cache.data=i[0].controller.getAllParsedValues(this);for(n=0,s=i.length;n=e[s].pos&&t<=e[i].pos&&({lo:s,hi:i}=Rn(e,"pos",t)),{pos:r,time:a}=e[s],{pos:o,time:l}=e[i]):(t>=e[s].time&&t<=e[i].time&&({lo:s,hi:i}=Rn(e,"time",t)),{time:r,pos:a}=e[s],{time:o,pos:l}=e[i]);const c=o-r;return c?a+(l-a)*(t-r)/c:a}class Ad extends $r{constructor(t){super(t),this._table=[],this._minPos=void 0,this._tableRange=void 0}initOffsets(){const t=this._getTimestampsForTable(),n=this._table=this.buildLookupTable(t);this._minPos=Li(n,this.min),this._tableRange=Li(n,this.max)-this._minPos,super.initOffsets(t)}buildLookupTable(t){const{min:n,max:s}=this,i=[],r=[];let o,a,l,c,u;for(o=0,a=t.length;o=n&&c<=s&&i.push(c);if(i.length<2)return[{time:n,pos:0},{time:s,pos:1}];for(o=0,a=i.length;o{s=new fr(n.value,{type:"line",data:t.data,options:{responsive:!0,maintainAspectRatio:!1,scales:{y:{display:!1},x:{display:!0}},plugins:{legend:{display:!1}}}})});const i=it(()=>t.data);return Dn(i,r=>{s&&(s.data=r,s.update())}),(r,o)=>(q(),bt("canvas",{ref_key:"root",ref:n},null,512))}},n2="darkMode",Ed="style",Qa="xl:max-w-6xl xl:mx-auto",s2={__name:"SectionMain",setup(e){return(t,n)=>(q(),bt("section",{class:ot(["p-6",D(Qa)])},[Gt(t.$slots,"default")],2))}};var Ld={exports:{}};/*! @preserve - * numeral.js - * version : 2.0.6 - * author : Adam Draper - * license : MIT - * http://adamwdraper.github.com/Numeral-js/ - */(function(e){(function(t,n){e.exports?e.exports=n():t.numeral=n()})(l0,function(){var t,n,s="2.0.6",i={},r={},o={currentLocale:"en",zeroFormat:null,nullFormat:null,defaultFormat:"0,0",scalePercentBy100:!0},a={currentLocale:o.currentLocale,zeroFormat:o.zeroFormat,nullFormat:o.nullFormat,defaultFormat:o.defaultFormat,scalePercentBy100:o.scalePercentBy100};function l(c,u){this._input=c,this._value=u}return t=function(c){var u,f,h,d;if(t.isNumeral(c))u=c.value();else if(c===0||typeof c>"u")u=0;else if(c===null||n.isNaN(c))u=null;else if(typeof c=="string")if(a.zeroFormat&&c===a.zeroFormat)u=0;else if(a.nullFormat&&c===a.nullFormat||!c.replace(/[^0-9]+/g,"").length)u=null;else{for(f in i)if(d=typeof i[f].regexps.unformat=="function"?i[f].regexps.unformat():i[f].regexps.unformat,d&&c.match(d)){h=i[f].unformat;break}h=h||t._.stringToNumber,u=h(c)}else u=Number(c)||null;return new l(c,u)},t.version=s,t.isNumeral=function(c){return c instanceof l},t._=n={numberToFormat:function(c,u,f){var h=r[t.options.currentLocale],d=!1,p=!1,g=0,b="",_=1e12,v=1e9,w=1e6,M=1e3,x="",O=!1,A,C,R,V,Y,P,X;if(c=c||0,C=Math.abs(c),t._.includes(u,"(")?(d=!0,u=u.replace(/[\(|\)]/g,"")):(t._.includes(u,"+")||t._.includes(u,"-"))&&(Y=t._.includes(u,"+")?u.indexOf("+"):c<0?u.indexOf("-"):-1,u=u.replace(/[\+|\-]/g,"")),t._.includes(u,"a")&&(A=u.match(/a(k|m|b|t)?/),A=A?A[1]:!1,t._.includes(u," a")&&(b=" "),u=u.replace(new RegExp(b+"a[kmbt]?"),""),C>=_&&!A||A==="t"?(b+=h.abbreviations.trillion,c=c/_):C<_&&C>=v&&!A||A==="b"?(b+=h.abbreviations.billion,c=c/v):C=w&&!A||A==="m"?(b+=h.abbreviations.million,c=c/w):(C=M&&!A||A==="k")&&(b+=h.abbreviations.thousand,c=c/M)),t._.includes(u,"[.]")&&(p=!0,u=u.replace("[.]",".")),R=c.toString().split(".")[0],V=u.split(".")[1],P=u.indexOf(","),g=(u.split(".")[0].split(",")[0].match(/0/g)||[]).length,V?(t._.includes(V,"[")?(V=V.replace("]",""),V=V.split("["),x=t._.toFixed(c,V[0].length+V[1].length,f,V[1].length)):x=t._.toFixed(c,V.length,f),R=x.split(".")[0],t._.includes(x,".")?x=h.delimiters.decimal+x.split(".")[1]:x="",p&&Number(x.slice(1))===0&&(x="")):R=t._.toFixed(c,0,f),b&&!A&&Number(R)>=1e3&&b!==h.abbreviations.trillion)switch(R=String(Number(R)/1e3),b){case h.abbreviations.thousand:b=h.abbreviations.million;break;case h.abbreviations.million:b=h.abbreviations.billion;break;case h.abbreviations.billion:b=h.abbreviations.trillion;break}if(t._.includes(R,"-")&&(R=R.slice(1),O=!0),R.length0;nt--)R="0"+R;return P>-1&&(R=R.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1"+h.delimiters.thousands)),u.indexOf(".")===0&&(R=""),X=R+x+(b||""),d?X=(d&&O?"(":"")+X+(d&&O?")":""):Y>=0?X=Y===0?(O?"-":"+")+X:X+(O?"-":"+"):O&&(X="-"+X),X},stringToNumber:function(c){var u=r[a.currentLocale],f=c,h={thousand:3,million:6,billion:9,trillion:12},d,p,g;if(a.zeroFormat&&c===a.zeroFormat)p=0;else if(a.nullFormat&&c===a.nullFormat||!c.replace(/[^0-9]+/g,"").length)p=null;else{p=1,u.delimiters.decimal!=="."&&(c=c.replace(/\./g,"").replace(u.delimiters.decimal,"."));for(d in h)if(g=new RegExp("[^a-zA-Z]"+u.abbreviations[d]+"(?:\\)|(\\"+u.currency.symbol+")?(?:\\))?)?$"),f.match(g)){p*=Math.pow(10,h[d]);break}p*=(c.split("-").length+Math.min(c.split("(").length-1,c.split(")").length-1))%2?1:-1,c=c.replace(/[^0-9\.]+/g,""),p*=Number(c)}return p},isNaN:function(c){return typeof c=="number"&&isNaN(c)},includes:function(c,u){return c.indexOf(u)!==-1},insert:function(c,u,f){return c.slice(0,f)+u+c.slice(f)},reduce:function(c,u){if(this===null)throw new TypeError("Array.prototype.reduce called on null or undefined");if(typeof u!="function")throw new TypeError(u+" is not a function");var f=Object(c),h=f.length>>>0,d=0,p;if(arguments.length===3)p=arguments[2];else{for(;d=h)throw new TypeError("Reduce of empty array with no initial value");p=f[d++]}for(;dh?u:h},1)},toFixed:function(c,u,f,h){var d=c.toString().split("."),p=u-(h||0),g,b,_,v;return d.length===2?g=Math.min(Math.max(d[1].length,p),u):g=p,_=Math.pow(10,g),v=(f(c+"e+"+g)/_).toFixed(g),h>u-g&&(b=new RegExp("\\.?0{1,"+(h-(u-g))+"}$"),v=v.replace(b,"")),v}},t.options=a,t.formats=i,t.locales=r,t.locale=function(c){return c&&(a.currentLocale=c.toLowerCase()),a.currentLocale},t.localeData=function(c){if(!c)return r[a.currentLocale];if(c=c.toLowerCase(),!r[c])throw new Error("Unknown locale : "+c);return r[c]},t.reset=function(){for(var c in o)a[c]=o[c]},t.zeroFormat=function(c){a.zeroFormat=typeof c=="string"?c:null},t.nullFormat=function(c){a.nullFormat=typeof c=="string"?c:null},t.defaultFormat=function(c){a.defaultFormat=typeof c=="string"?c:"0.0"},t.register=function(c,u,f){if(u=u.toLowerCase(),this[c+"s"][u])throw new TypeError(u+" "+c+" already registered.");return this[c+"s"][u]=f,f},t.validate=function(c,u){var f,h,d,p,g,b,_,v;if(typeof c!="string"&&(c+="",console.warn&&console.warn("Numeral.js: Value is not string. It has been co-erced to: ",c)),c=c.trim(),c.match(/^\d+$/))return!0;if(c==="")return!1;try{_=t.localeData(u)}catch{_=t.localeData(t.locale())}return d=_.currency.symbol,g=_.abbreviations,f=_.delimiters.decimal,_.delimiters.thousands==="."?h="\\.":h=_.delimiters.thousands,v=c.match(/^[^\d]+/),v!==null&&(c=c.substr(1),v[0]!==d)||(v=c.match(/[^\d]+$/),v!==null&&(c=c.slice(0,-1),v[0]!==g.thousand&&v[0]!==g.million&&v[0]!==g.billion&&v[0]!==g.trillion))?!1:(b=new RegExp(h+"{2}"),c.match(/[^\d.,]/g)?!1:(p=c.split(f),p.length>2?!1:p.length<2?!!p[0].match(/^\d+.*\d$/)&&!p[0].match(b):p[0].length===1?!!p[0].match(/^\d+$/)&&!p[0].match(b)&&!!p[1].match(/^\d+$/):!!p[0].match(/^\d+.*\d$/)&&!p[0].match(b)&&!!p[1].match(/^\d+$/)))},t.fn=l.prototype={clone:function(){return t(this)},format:function(c,u){var f=this._value,h=c||a.defaultFormat,d,p,g;if(u=u||Math.round,f===0&&a.zeroFormat!==null)p=a.zeroFormat;else if(f===null&&a.nullFormat!==null)p=a.nullFormat;else{for(d in i)if(h.match(i[d].regexps.format)){g=i[d].format;break}g=g||t._.numberToFormat,p=g(f,h,u)}return p},value:function(){return this._value},input:function(){return this._input},set:function(c){return this._value=Number(c),this},add:function(c){var u=n.correctionFactor.call(null,this._value,c);function f(h,d,p,g){return h+Math.round(u*d)}return this._value=n.reduce([this._value,c],f,0)/u,this},subtract:function(c){var u=n.correctionFactor.call(null,this._value,c);function f(h,d,p,g){return h-Math.round(u*d)}return this._value=n.reduce([c],f,Math.round(this._value*u))/u,this},multiply:function(c){function u(f,h,d,p){var g=n.correctionFactor(f,h);return Math.round(f*g)*Math.round(h*g)/Math.round(g*g)}return this._value=n.reduce([this._value,c],u,1),this},divide:function(c){function u(f,h,d,p){var g=n.correctionFactor(f,h);return Math.round(f*g)/Math.round(h*g)}return this._value=n.reduce([this._value,c],u),this},difference:function(c){return Math.abs(t(this._value).subtract(c).value())}},t.register("locale","en",{delimiters:{thousands:",",decimal:"."},abbreviations:{thousand:"k",million:"m",billion:"b",trillion:"t"},ordinal:function(c){var u=c%10;return~~(c%100/10)===1?"th":u===1?"st":u===2?"nd":u===3?"rd":"th"},currency:{symbol:"$"}}),function(){t.register("format","bps",{regexps:{format:/(BPS)/,unformat:/(BPS)/},format:function(c,u,f){var h=t._.includes(u," BPS")?" ":"",d;return c=c*1e4,u=u.replace(/\s?BPS/,""),d=t._.numberToFormat(c,u,f),t._.includes(d,")")?(d=d.split(""),d.splice(-1,0,h+"BPS"),d=d.join("")):d=d+h+"BPS",d},unformat:function(c){return+(t._.stringToNumber(c)*1e-4).toFixed(15)}})}(),function(){var c={base:1e3,suffixes:["B","KB","MB","GB","TB","PB","EB","ZB","YB"]},u={base:1024,suffixes:["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"]},f=c.suffixes.concat(u.suffixes.filter(function(d){return c.suffixes.indexOf(d)<0})),h=f.join("|");h="("+h.replace("B","B(?!PS)")+")",t.register("format","bytes",{regexps:{format:/([0\s]i?b)/,unformat:new RegExp(h)},format:function(d,p,g){var b,_=t._.includes(p,"ib")?u:c,v=t._.includes(p," b")||t._.includes(p," ib")?" ":"",w,M,x;for(p=p.replace(/\s?i?b/,""),w=0;w<=_.suffixes.length;w++)if(M=Math.pow(_.base,w),x=Math.pow(_.base,w+1),d===null||d===0||d>=M&&d0&&(d=d/M);break}return b=t._.numberToFormat(d,p,g),b+v},unformat:function(d){var p=t._.stringToNumber(d),g,b;if(p){for(g=c.suffixes.length-1;g>=0;g--){if(t._.includes(d,c.suffixes[g])){b=Math.pow(c.base,g);break}if(t._.includes(d,u.suffixes[g])){b=Math.pow(u.base,g);break}}p*=b||1}return p}})}(),function(){t.register("format","currency",{regexps:{format:/(\$)/},format:function(c,u,f){var h=t.locales[t.options.currentLocale],d={before:u.match(/^([\+|\-|\(|\s|\$]*)/)[0],after:u.match(/([\+|\-|\)|\s|\$]*)$/)[0]},p,g,b;for(u=u.replace(/\s?\$\s?/,""),p=t._.numberToFormat(c,u,f),c>=0?(d.before=d.before.replace(/[\-\(]/,""),d.after=d.after.replace(/[\-\)]/,"")):c<0&&!t._.includes(d.before,"-")&&!t._.includes(d.before,"(")&&(d.before="-"+d.before),b=0;b=0;b--)switch(g=d.after[b],g){case"$":p=b===d.after.length-1?p+h.currency.symbol:t._.insert(p,h.currency.symbol,-(d.after.length-(1+b)));break;case" ":p=b===d.after.length-1?p+" ":t._.insert(p," ",-(d.after.length-(1+b)+h.currency.symbol.length-1));break}return p}})}(),function(){t.register("format","exponential",{regexps:{format:/(e\+|e-)/,unformat:/(e\+|e-)/},format:function(c,u,f){var h,d=typeof c=="number"&&!t._.isNaN(c)?c.toExponential():"0e+0",p=d.split("e");return u=u.replace(/e[\+|\-]{1}0/,""),h=t._.numberToFormat(Number(p[0]),u,f),h+"e"+p[1]},unformat:function(c){var u=t._.includes(c,"e+")?c.split("e+"):c.split("e-"),f=Number(u[0]),h=Number(u[1]);h=t._.includes(c,"e-")?h*=-1:h;function d(p,g,b,_){var v=t._.correctionFactor(p,g),w=p*v*(g*v)/(v*v);return w}return t._.reduce([f,Math.pow(10,h)],d,1)}})}(),function(){t.register("format","ordinal",{regexps:{format:/(o)/},format:function(c,u,f){var h=t.locales[t.options.currentLocale],d,p=t._.includes(u," o")?" ":"";return u=u.replace(/\s?o/,""),p+=h.ordinal(c),d=t._.numberToFormat(c,u,f),d+p}})}(),function(){t.register("format","percentage",{regexps:{format:/(%)/,unformat:/(%)/},format:function(c,u,f){var h=t._.includes(u," %")?" ":"",d;return t.options.scalePercentBy100&&(c=c*100),u=u.replace(/\s?\%/,""),d=t._.numberToFormat(c,u,f),t._.includes(d,")")?(d=d.split(""),d.splice(-1,0,h+"%"),d=d.join("")):d=d+h+"%",d},unformat:function(c){var u=t._.stringToNumber(c);return t.options.scalePercentBy100?u*.01:u}})}(),function(){t.register("format","time",{regexps:{format:/(:)/,unformat:/(:)/},format:function(c,u,f){var h=Math.floor(c/60/60),d=Math.floor((c-h*60*60)/60),p=Math.round(c-h*60*60-d*60);return h+":"+(d<10?"0"+d:d)+":"+(p<10?"0"+p:p)},unformat:function(c){var u=c.split(":"),f=0;return u.length===3?(f=f+Number(u[0])*60*60,f=f+Number(u[1])*60,f=f+Number(u[2])):u.length===2&&(f=f+Number(u[0])*60,f=f+Number(u[1])),Number(f)}})}(),t})})(Ld);const i2=Ld.exports,r2={__name:"NumberDynamic",props:{prefix:{type:String,default:null},suffix:{type:String,default:null},value:{type:Number,default:0},duration:{type:Number,default:500}},setup(e){const t=e,n=ne(0),s=it(()=>n.value<1e3?n.value:i2(n.value).format("0,0")),i=it(()=>t.value),r=a=>{const l=Math.ceil(n.value+a);if(l>i.value)return n.value=i.value,!1;n.value=l,setTimeout(()=>{r(a)},25)},o=()=>{n.value=0,r(t.value/(t.duration/25))};return Dn(i,()=>{o()}),_s(()=>{o()}),(a,l)=>(q(),bt("div",null,Bt(e.prefix)+Bt(D(s))+Bt(e.suffix),1))}},o2={__name:"PillTagTrend",props:{trend:{type:String,required:!0},trendType:{type:String,default:null},small:Boolean},setup(e){const t=e,n=it(()=>t.trendType==="up"?{icon:ch,style:"success"}:t.trendType==="down"?{icon:lh,style:"danger"}:t.trendType==="alert"?{icon:F1,style:"warning"}:{style:"info"});return(s,i)=>(q(),_t(On,{label:e.trend,color:D(n).style,icon:D(n).icon,small:e.small},null,8,["label","color","icon","small"]))}},a2={class:"text-lg leading-tight text-gray-500 dark:text-slate-400"},l2={class:"text-3xl leading-tight font-semibold"},Eo={__name:"CardBoxWidget",props:{number:{type:Number,default:0},icon:{type:String,default:null},prefix:{type:String,default:null},suffix:{type:String,default:null},label:{type:String,default:null},color:{type:String,default:null},trend:{type:String,default:null},trendType:{type:String,default:null}},setup(e){return(t,n)=>(q(),_t(Qi,null,{default:yt(()=>[e.trend?(q(),_t(Fn,{key:0,class:"mb-3",mobile:""},{default:yt(()=>[B(o2,{trend:e.trend,"trend-type":e.trendType,small:""},null,8,["trend","trend-type"])]),_:1})):Kt("",!0),B(Fn,{mobile:""},{default:yt(()=>[U("div",null,[U("h3",a2,Bt(e.label),1),U("h1",l2,[B(r2,{value:e.number,prefix:e.prefix,suffix:e.suffix},null,8,["value","prefix","suffix"])])]),e.icon?(q(),_t(le,{key:0,path:e.icon,size:"48",w:"",h:"h-16",class:ot(e.color)},null,8,["path","class"])):Kt("",!0)]),_:1})]),_:1}))}},tl={__name:"BaseButton",props:{label:{type:[String,Number],default:null},icon:{type:String,default:null},iconSize:{type:[String,Number],default:null},href:{type:String,default:null},target:{type:String,default:null},to:{type:[String,Object],default:null},type:{type:String,default:null},color:{type:String,default:"white"},as:{type:String,default:null},small:Boolean,outline:{type:Boolean,default:!0},active:Boolean,disabled:Boolean,roundedFull:Boolean},setup(e){const t=e,n=it(()=>t.as?t.as:t.to?Pr:t.href?"a":"button"),s=it(()=>{var o;return n.value==="button"?(o=t.type)!=null?o:"button":null}),i=it(()=>t.small&&t.icon?"px-1":"px-2"),r=it(()=>{const o=["inline-flex","justify-center","items-center","whitespace-nowrap","focus:outline-none","transition-colors","focus:ring","duration-150","border",t.disabled?"cursor-not-allowed":"cursor-pointer",t.roundedFull?"rounded-full":"rounded",Th(t.color,t.outline,!t.disabled,t.active)];return!t.label&&t.icon?o.push("p-1"):t.small?o.push("text-sm",t.roundedFull?"px-3 py-1":"p-1"):o.push("py-2",t.roundedFull?"px-6":"px-3"),t.disabled&&o.push(t.outline?"opacity-50":"opacity-70"),o});return(o,a)=>(q(),_t(Mr(D(n)),{class:ot(D(r)),href:e.href,type:D(s),to:e.to,target:e.target,disabled:e.disabled},{default:yt(()=>[e.icon?(q(),_t(le,{key:0,path:e.icon,size:e.iconSize},null,8,["path","size"])):Kt("",!0),e.label?(q(),bt("span",{key:1,class:ot(D(i))},Bt(e.label),3)):Kt("",!0)]),_:1},8,["class","href","type","to","target","disabled"]))}},c2=["src"],u2={__name:"GameIcon",props:{path:{type:String,required:!0},w:{type:String,default:"w-16"},h:{type:String,default:"h-16"}},setup(e){const t=e,n=it(()=>`inline-flex justify-center items-center ${t.w} ${t.h}`);return(s,i)=>(q(),bt("span",{class:ot(D(n))},[U("img",{src:e.path,class:ot(["rounded-full",e.w+" "+e.h])},null,10,c2),Gt(s.$slots,"default")],2))}},f2={class:"relative w-full h-full bg-white dark:bg-slate-900/70 rounded-2xl"},h2={class:"text-center space-y-1 md:text-left md:mr-6"},d2={class:"md:flex md:items-center mb-4 md:mb-0 md:space-x-2"},p2={class:"text-xl"},g2={class:"text-lg"},m2={class:"text-center md:text-right"},b2={class:"text-sm text-gray-400"},Pi={__name:"CardBoxGameStat",props:{game:{type:String,required:!0},value:{type:[String,Number],required:!0},profileName:{type:String,required:!0},type:{type:String,required:!0}},setup(e){const t=e,n=it(()=>t.type==="plays"?{type:"success"}:t.type==="scores"?{type:"danger"}:t.type==="ranking"?{type:"warning"}:{type:"info"}),s=Rb(t.game),i=` - background-image: linear-gradient(to left, transparent, rgba(0, 0, 0, 1)), - url('${s.cardBG}'); - background-size: cover; - background-repeat: no-repeat; -`;return(r,o)=>(q(),bt("div",{class:"flex rounded-2xl",style:i},[U("div",f2,[B(Oh,null,{default:yt(()=>[B(Fn,null,{default:yt(()=>[B(Fn,{type:"justify-start"},{default:yt(()=>[B(u2,{class:"md:mr-6",path:D(s).icon},null,8,["path"]),U("div",h2,[U("div",d2,[U("h2",p2,Bt(D(s).name),1),B(On,{color:D(n).type,label:e.type,small:""},null,8,["color","label"])]),U("h4",g2,Bt(e.value),1)])]),_:1}),U("div",m2,[U("p",b2,Bt(e.profileName),1)])]),_:1})]),_:1})])]))}},_2=[{to:"/",icon:J1,label:"Dashboard"},{to:"/tables",label:"Tables",icon:i0},{to:"/forms",label:"Forms",icon:s0},{to:"/ui",label:"UI",icon:r0},{label:"Dropdown",icon:a0,menu:[{label:"Item One",menu:[{label:"balls"}]},{label:"Item Two"}]}],y2=[{isCurrentUser:!0,menu:[{icon:I1,label:"Profile",to:"/profile"},{icon:N1,label:"Customizations"},{icon:n0,label:"Integrations"},{icon:K1,label:"Notifications"}]},{icon:U1,label:"Edit Dashboard"},{icon:fh,label:"Log out",isLogout:!0}],x2={aside:"bg-gray-800",asideScrollbars:"aside-scrollbars-gray",asideBrand:"bg-gray-900 text-white",asideMenuItem:"text-gray-300 hover:text-white",asideMenuItemActive:"font-bold text-white",asideMenuDropdown:"bg-gray-700/50",navBarItemLabel:"text-black",navBarItemLabelHover:"hover:text-blue-500",navBarItemLabelActiveColor:"text-blue-600",overlay:"from-gray-700 via-gray-900 to-gray-700"},v2={aside:"bg-white",asideScrollbars:"aside-scrollbars-light",asideBrand:"",asideMenuItem:"text-blue-600 hover:text-black dark:text-white",asideMenuItemActive:"font-bold text-black dark:text-white",asideMenuDropdown:"bg-gray-100/75",navBarItemLabel:"text-blue-600",navBarItemLabelHover:"hover:text-black",navBarItemLabelActiveColor:"text-black",overlay:"from-white via-gray-100 to-white"},Fu=Object.freeze(Object.defineProperty({__proto__:null,basic:x2,white:v2},Symbol.toStringTag,{value:"Module"})),zn=Xf("style",{state:()=>({asideStyle:"",asideScrollbarsStyle:"",asideBrandStyle:"",asideMenuItemStyle:"",asideMenuItemActiveStyle:"",asideMenuDropdownStyle:"",navBarItemLabelStyle:"",navBarItemLabelHoverStyle:"",navBarItemLabelActiveColorStyle:"",overlayStyle:"",darkMode:!1}),actions:{setStyle(e){if(!Fu[e])return;typeof localStorage<"u"&&localStorage.setItem(Ed,e);const t=Fu[e];for(const n in t)this[`${n}Style`]=t[n]},setDarkMode(e=null){this.darkMode=e!==null?e:!this.darkMode,typeof localStorage<"u"&&localStorage.setItem(n2,this.darkMode?"1":"0"),typeof document<"u"&&(document.body.classList[this.darkMode?"add":"remove"]("dark-scrollbars"),document.documentElement.classList[this.darkMode?"add":"remove"]("dark-scrollbars-compat"))}}}),w2={__name:"BaseDivider",props:{navBar:Boolean},setup(e){const t=e;return(n,s)=>(q(),bt("hr",{class:ot([t.navBar?"hidden lg:block lg:my-0.5 dark:border-slate-700":"my-6 -mx-6 dark:border-slate-800","border-t border-gray-100"])},null,2))}},M2={__name:"NavBarItem",props:{item:{type:Object,required:!0}},emits:["menu-click"],setup(e,{emit:t}){const n=e,s=it(()=>n.item.href?"a":n.item.to?Pr:"div"),i=zn(),r=it(()=>{const h=[a.value?`${i.navBarItemLabelActiveColorStyle} dark:text-slate-400`:`${i.navBarItemLabelStyle} dark:text-white dark:hover:text-slate-400 ${i.navBarItemLabelHoverStyle}`,n.item.menu?"lg:py-2 lg:px-3":"py-2 px-3"];return n.item.isDesktopNoLabel&&h.push("lg:w-16","lg:justify-center"),h}),o=it(()=>n.item.isCurrentUser?xs().userName:n.item.label),a=ne(!1),l=h=>{t("menu-click",h,n.item),n.item.menu&&(a.value=!a.value)},c=(h,d)=>{t("menu-click",h,d)},u=ne(null),f=h=>{u.value&&!u.value.contains(h.target)&&(a.value=!1)};return _s(()=>{n.item.menu&&window.addEventListener("click",f)}),ya(()=>{n.item.menu&&window.removeEventListener("click",f)}),(h,d)=>{var p,g,b;return e.item.isDivider?(q(),_t(w2,{key:0,"nav-bar":""})):(q(),_t(Mr(D(s)),{key:1,ref_key:"root",ref:u,class:ot(["block lg:flex items-center relative cursor-pointer",D(r)]),to:(p=e.item.to)!=null?p:null,href:(g=e.item.href)!=null?g:null,target:(b=e.item.target)!=null?b:null,onClick:l},{default:yt(()=>[U("div",{class:ot(["flex items-center",{"bg-gray-100 dark:bg-slate-800 lg:bg-transparent lg:dark:bg-transparent p-3 lg:p-0":e.item.menu}])},[e.item.isCurrentUser?(q(),_t(Ph,{key:0,class:"w-6 h-6 mr-3 inline-flex"})):Kt("",!0),e.item.icon?(q(),_t(le,{key:1,path:e.item.icon,class:"transition-colors"},null,8,["path"])):Kt("",!0),U("span",{class:ot(["px-2 transition-colors",{"lg:hidden":e.item.isDesktopNoLabel&&e.item.icon}])},Bt(D(o)),3),e.item.menu?(q(),_t(le,{key:2,path:a.value?D(ch):D(lh),class:"hidden lg:inline-flex transition-colors"},null,8,["path"])):Kt("",!0)],2),e.item.menu?(q(),bt("div",{key:0,class:ot(["text-sm border-b border-gray-100 lg:border lg:bg-white lg:absolute lg:top-full lg:left-0 lg:min-w-full lg:z-20 lg:rounded-lg lg:shadow-lg lg:dark:bg-slate-800 dark:border-slate-700",{"lg:hidden":!a.value}])},[B(Pd,{menu:e.item.menu,onMenuClick:c},null,8,["menu"])],2)):Kt("",!0)]),_:1},8,["class","to","href","target"]))}}},Pd={__name:"NavBarMenuList",props:{menu:{type:Array,default:()=>[]}},emits:["menu-click"],setup(e,{emit:t}){const n=(s,i)=>{t("menu-click",s,i)};return(s,i)=>(q(!0),bt(Ft,null,qi(e.menu,(r,o)=>(q(),_t(M2,{key:o,item:r,onMenuClick:n},null,8,["item"]))),128))}},Ni={__name:"NavBarItemPlain",props:{display:{type:String,default:"flex"},useMargin:Boolean},setup(e){const t=zn();return(n,s)=>(q(),bt("div",{class:ot([[e.display,D(t).navBarItemLabelStyle,D(t).navBarItemLabelHoverStyle,e.useMargin?"my-2 mx-3":"py-2 px-3"],"items-center cursor-pointer dark:text-white dark:hover:text-slate-400"])},[Gt(n.$slots,"default")],2))}},k2={class:"top-0 inset-x-0 fixed bg-gray-50 h-14 z-30 transition-position w-screen lg:w-auto dark:bg-slate-800"},C2={class:"flex flex-1 items-stretch h-14"},S2={class:"flex-none items-stretch flex h-14 lg:hidden"},A2={__name:"NavBar",props:{menu:{type:Array,required:!0}},emits:["menu-click"],setup(e,{emit:t}){const n=(i,r)=>{t("menu-click",i,r)},s=ne(!1);return(i,r)=>(q(),bt("nav",k2,[U("div",{class:ot(["flex lg:items-stretch",D(Qa)])},[U("div",C2,[Gt(i.$slots,"default")]),U("div",S2,[B(Ni,{onClick:r[0]||(r[0]=Zi(o=>s.value=!s.value,["prevent"]))},{default:yt(()=>[B(le,{path:s.value?D(uh):D(q1),size:"24"},null,8,["path"])]),_:1})]),U("div",{class:ot(["max-h-screen-menu overflow-y-auto lg:overflow-visible absolute w-screen top-14 left-0 bg-gray-50 shadow-lg lg:w-auto lg:flex lg:static lg:shadow-none dark:bg-slate-800",[s.value?"block":"hidden"]])},[B(Pd,{menu:e.menu,onMenuClick:n},null,8,["menu"])],2)],2)]))}},E2="/favicon.png",Od={__name:"AsideMenuItem",props:{item:{type:Object,required:!0},isDropdownList:Boolean},emits:["menu-click"],setup(e,{emit:t}){const n=e,s=zn(),i=it(()=>n.item&&n.item.color),r=it(()=>i.value?"":s.asideMenuItemActiveStyle),o=ne(!1),a=it(()=>[n.isDropdownList?"py-3 px-6 text-sm":"py-3",i.value?Th(n.item.color,!1,!0):`${s.asideMenuItemStyle} dark:text-slate-300 dark:hover:text-white`]),l=it(()=>!!n.item.menu),c=u=>{t("menu-click",u,n.item),l.value&&(o.value=!o.value)};return(u,f)=>{var h,d,p;return q(),bt("li",null,[(q(),_t(Mr(e.item.to?D(Pr):"a"),{to:(h=e.item.to)!=null?h:null,href:(d=e.item.href)!=null?d:null,target:(p=e.item.target)!=null?p:null,class:ot(["flex cursor-pointer",D(a)]),onClick:c},{default:yt(g=>[e.item.icon?(q(),_t(le,{key:0,path:e.item.icon,class:ot(["flex-none",[g&&g.isExactActive?D(r):""]]),w:"w-16",size:18},null,8,["path","class"])):Kt("",!0),U("span",{class:ot(["grow text-ellipsis line-clamp-1",[{"pr-12":!D(l)},g&&g.isExactActive?D(r):""]])},Bt(e.item.label),3),D(l)?(q(),_t(le,{key:1,path:o.value?D(G1):D(Q1),class:ot(["flex-none",[g&&g.isExactActive?D(r):""]]),w:"w-12"},null,8,["path","class"])):Kt("",!0)]),_:1},8,["to","href","target","class"])),D(l)?(q(),_t(Rd,{key:0,menu:e.item.menu,class:ot([D(s).asideMenuDropdownStyle,o.value?"block dark:bg-slate-800/50":"hidden"]),"is-dropdown-list":""},null,8,["menu","class"])):Kt("",!0)])}}},Rd={__name:"AsideMenuList",props:{isDropdownList:Boolean,menu:{type:Array,required:!0}},emits:["menu-click"],setup(e,{emit:t}){const n=(s,i)=>{t("menu-click",s,i)};return(s,i)=>(q(),bt("ul",null,[(q(!0),bt(Ft,null,qi(e.menu,(r,o)=>(q(),_t(Od,{key:o,item:r,"is-dropdown-list":e.isDropdownList,onMenuClick:n},null,8,["item","is-dropdown-list"]))),128))]))}},L2={id:"aside",class:"lg:py-2 lg:pl-2 w-60 fixed flex z-40 top-0 h-screen transition-position overflow-hidden"},P2={class:"dark:bg-slate-900"},O2=Pg('

PhaseII eAmusement Network


',2),R2=["onClick"],T2={class:"invisible lg:visible"},D2={__name:"AsideMenuLayer",props:{menu:{type:Array,required:!0}},emits:["menu-click","aside-lg-close-click"],setup(e,{emit:t}){const n=zn(),s=it(()=>({label:"Log out",icon:fh,color:"info",isLogout:!0})),i=(o,a)=>{t("menu-click",o,a)},r=o=>{t("aside-lg-close-click",o)};return(o,a)=>(q(),bt("aside",L2,[U("div",{class:ot([D(n).asideStyle,"lg:rounded-2xl flex-1 flex flex-col overflow-hidden dark:bg-slate-900"])},[U("div",P2,[O2,U("button",{class:"hidden lg:inline-block xl:hidden p-3",onClick:Zi(r,["prevent"])},[B(le,{path:D(uh)},null,8,["path"])],8,R2)]),U("div",{class:ot([D(n).darkMode?"aside-scrollbars-[slate]":D(n).asideScrollbarsStyle,"flex-1 overflow-y-auto overflow-x-hidden"])},[B(Rd,{menu:e.menu,onMenuClick:i},null,8,["menu"])],2),U("ul",T2,[B(Od,{item:D(s),onMenuClick:i},null,8,["item"])])],2)]))}},I2={__name:"OverlayLayer",props:{zIndex:{type:String,default:"z-50"},type:{type:String,default:"flex"}},emits:["overlay-click"],setup(e,{emit:t}){const n=i=>{t("overlay-click",i)},s=zn();return(i,r)=>(q(),bt("div",{class:ot([[e.type,e.zIndex],"items-center flex-col justify-center overflow-hidden fixed inset-0"])},[B(Xi,{"enter-active-class":"transition duration-150 ease-in","enter-from-class":"opacity-0","enter-to-class":"opacity-100","leave-active-class":"transition duration-150 ease-in","leave-from-class":"opacity-100","leave-to-class":"opacity-0"},{default:yt(()=>[U("div",{class:ot(["absolute inset-0 bg-gradient-to-tr opacity-90 dark:from-gray-700 dark:via-gray-900 dark:to-gray-700",D(s).overlayStyle]),onClick:n},null,2)]),_:1}),B(Xi,{"enter-active-class":"transition duration-100 ease-out","enter-from-class":"transform scale-95 opacity-0","enter-to-class":"transform scale-100 opacity-100","leave-active-class":"animate-fade-out"},{default:yt(()=>[Gt(i.$slots,"default")]),_:3})],2))}},H2={__name:"AsideMenu",props:{menu:{type:Array,required:!0},isAsideMobileExpanded:Boolean,isAsideLgActive:Boolean},emits:["menu-click","aside-lg-close-click"],setup(e,{emit:t}){const n=(i,r)=>{t("menu-click",i,r)},s=i=>{t("aside-lg-close-click",i)};return(i,r)=>(q(),bt(Ft,null,[B(D2,{menu:e.menu,class:ot([e.isAsideMobileExpanded?"left-0":"-left-60 lg:left-0",{"lg:hidden xl:flex":!e.isAsideLgActive}]),onMenuClick:n,onAsideLgCloseClick:s},null,8,["menu","class"]),lg(B(I2,{"z-index":"z-30",onOverlayClick:s},null,512),[[_m,e.isAsideLgActive]])],64))}},V2=U("div",{class:"text-center md:text-left"},[U("p",null,[ss(" Made with \u2764\uFE0F by the PhaseII Team. Based on JustBoil's "),U("a",{class:"text-blue-400 hover:text-blue-600",href:"https://github.com/justboil/admin-one-vue-tailwind"},"Admin One"),ss(". ")])],-1),F2={class:"md:py-2"},B2={__name:"FooterBar",setup(e){return(t,n)=>(q(),bt("footer",{class:ot(["py-2 px-6",D(Qa)])},[B(Fn,null,{default:yt(()=>[V2,U("div",F2,[B(tl,{color:"info",href:"https://paypal.me/trmazi",label:"Donate",icon:D($1),"icon-size":"xl"},null,8,["icon"])])]),_:1})],2))}},N2={__name:"LayoutAuthenticated",setup(e){xs().setUser({name:"Trmazi",email:"sex@sex.com",avatar:"https://cdn.discordapp.com/avatars/372530806628941824/a2d1b66d0e2100a571305b8281c26f8b"});const t="xl:pl-60",n=zn(),s=O1(),i=ne(!1),r=ne(!1);s.beforeEach(()=>{i.value=!1,r.value=!1});const o=(a,l)=>{l.isLogout};return(a,l)=>(q(),bt("div",{class:ot({dark:D(n).darkMode,"overflow-hidden lg:overflow-visible":i.value})},[U("div",{class:ot([[t,{"ml-60 lg:ml-0":i.value}],"pt-14 min-h-screen w-screen transition-position lg:w-auto bg-gray-50 dark:bg-slate-800 dark:text-slate-100"])},[B(A2,{menu:D(y2),class:ot([t,{"ml-60 lg:ml-0":i.value}]),onMenuClick:o},{default:yt(()=>[B(Ni,{display:"flex lg:hidden",onClick:l[0]||(l[0]=Zi(c=>i.value=!i.value,["prevent"]))},{default:yt(()=>[B(le,{path:i.value?D(B1):D(Y1),size:"24"},null,8,["path"])]),_:1}),B(Ni,{display:"hidden lg:flex xl:hidden",onClick:l[1]||(l[1]=Zi(c=>r.value=!0,["prevent"]))},{default:yt(()=>[B(le,{path:D(Z1),size:"24"},null,8,["path"])]),_:1}),B(Ni,{"use-margin":""})]),_:1},8,["menu","class"]),B(H2,{"is-aside-mobile-expanded":i.value,"is-aside-lg-active":r.value,menu:D(_2),onMenuClick:o,onAsideLgCloseClick:l[2]||(l[2]=c=>r.value=!1)},null,8,["is-aside-mobile-expanded","is-aside-lg-active","menu"]),Gt(a.$slots,"default"),B(B2)],2)],2))}},$2={__name:"IconRounded",props:{icon:{type:String,required:!0},color:{type:String,default:null},w:{type:String,default:"w-12"},h:{type:String,default:"h-12"},bg:Boolean},setup(e){return(t,n)=>(q(),_t(le,{path:e.icon,w:e.w,h:e.h,size:"24",class:ot(["rounded-full",e.bg?D(Rh)[e.color]:[D(tn)[e.color],"bg-gray-50 dark:bg-slate-800"]])},null,8,["path","w","h","class"]))}},z2={class:"flex items-center justify-start"},Oi={__name:"SectionTitleLine",props:{icon:{type:String,default:null},title:{type:String,required:!0},main:Boolean},setup(e){const t=it(()=>zf().default);return(n,s)=>(q(),bt("section",{class:ot([{"pt-6":!e.main},"mb-6 flex items-center justify-between"])},[U("div",z2,[e.icon&&e.main?(q(),_t($2,{key:0,icon:e.icon,color:"light",class:"mr-3",bg:""},null,8,["icon"])):e.icon?(q(),_t(le,{key:1,path:e.icon,class:"mr-2",size:"20"},null,8,["path"])):Kt("",!0),U("h1",{class:ot([e.main?"text-3xl":"text-2xl","leading-tight"])},Bt(e.title),3)]),D(t)?Gt(n.$slots,"default",{key:0}):Kt("",!0)],2))}},j2=xr({name:"BaseButtons",props:{noWrap:Boolean,type:{type:String,default:"justify-start"},classAddon:{type:String,default:"mr-3 last:mr-0 mb-3"},mb:{type:String,default:"-mb-3"}},render(){const e=this.$slots&&this.$slots.default,t=["flex","items-center",this.type,this.noWrap?"flex-nowrap":"flex-wrap"];return this.mb&&t.push(this.mb),je("div",{class:t},e?this.$slots.default().map(n=>n&&n.children&&typeof n.children=="object"?je(n,{},n.children.map(s=>je(s,{class:[this.classAddon]}))):je(n,{class:[this.classAddon]})):null)}}),W2=U("thead",null,[U("tr",null,[U("th"),U("th",null,"User"),U("th",null,"Profile"),U("th",null,"Game"),U("th",null,"Type")])],-1),U2=U("td",{"data-label":"User"},"Trmazi",-1),q2=U("td",{"data-label":"Profile"},"TRMAZI",-1),K2=U("td",{"data-label":"Game"},"SOUND VOLTEX",-1),Y2=U("td",{"data-label":"Type",class:"lg:w-32"},"You Rival",-1),X2={class:"p-3 lg:px-6 border-t border-gray-100 dark:border-slate-800"},Z2={__name:"TableRivalsFull",setup(e){const t=xs(),n=it(()=>t.clients),s=ne(5),i=ne(0),r=it(()=>n.value.slice(s.value*i.value,s.value*(i.value+1))),o=it(()=>Math.ceil(n.value.length/s.value)),a=it(()=>i.value+1),l=it(()=>{const u=[];for(let f=0;f(q(),bt(Ft,null,[U("table",null,[W2,U("tbody",null,[(q(!0),bt(Ft,null,qi(D(r),h=>(q(),bt("tr",{key:h.id},[U("td",{class:"border-b-0 lg:w-6 before:hidden",style:si(c("ddr"))},[B(Lh,{username:u.Trmazi,class:"w-24 h-24 mx-auto lg:w-6 lg:h-6"},null,8,["username"])],4),U2,q2,K2,Y2]))),128))])]),U("div",X2,[B(Fn,null,{default:yt(()=>[B(j2,null,{default:yt(()=>[(q(!0),bt(Ft,null,qi(D(l),h=>(q(),_t(tl,{key:h,active:h===i.value,label:h+1,color:h===i.value?"lightDark":"whiteDark",small:"",onClick:d=>i.value=h},null,8,["active","label","color","onClick"]))),128))]),_:1}),U("small",null,"Page "+Bt(D(a))+" of "+Bt(D(o)),1)]),_:1})])],64))}},G2=U("h2",{class:"pb-4 text-4xl lg:text-5xl"},[ss("Welcome to "),U("samp",null,"PhaseII")],-1),J2={class:"grid grid-cols-1 gap-6 lg:grid-cols-3 mb-6"},Q2={class:"grid grid-flow-row auto-rows-auto grid-cols-1 md:grid-cols-2 gap-5 mb-5"},tw={key:0},ew={__name:"HomeView",setup(e){const t=ne(null),n=()=>{t.value=zb()};return _s(()=>{n()}),(s,i)=>(q(),_t(N2,null,{default:yt(()=>[B(s2,null,{default:yt(()=>[G2,B(Bb,{class:"mb-6"}),B(Oi,{icon:D(j1),title:"Quick Stats",main:""},null,8,["icon"]),U("div",J2,[B(Eo,{trend:"12% (from last week)","trend-type":"up",number:37,label:"Scores (This week)"}),B(Eo,{trend:"12%","trend-type":"down",number:770,prefix:"\xA2",label:"PhaseCoin"}),B(Eo,{trend:"None Completed","trend-type":"alert",number:2,label:"Active Goals"})]),B(Oi,{icon:D(X1),title:"Game Stats",main:""},null,8,["icon"]),U("div",Q2,[B(Pi,{game:D(W).IIDX,value:"#10 out of 132","profile-name":"DJ. TRMAZI",type:"ranking"},null,8,["game"]),B(Pi,{game:D(W).DRUMMANIA,value:300,"profile-name":"TRMAZI",type:"plays"},null,8,["game"]),B(Pi,{game:D(W).DDRCLASS,value:392,"profile-name":"TRMAZI",type:"scores"},null,8,["game"]),B(Pi,{game:D(W).SDVX,value:"#15 out of 200","profile-name":"TRMAZI",type:"ranking"},null,8,["game"])]),B(Oi,{icon:D(z1),title:"Play Trends",main:""},{default:yt(()=>[B(tl,{icon:D(t0),color:"whiteDark",onClick:n},null,8,["icon"])]),_:1},8,["icon"]),B(Qi,{class:"mb-6"},{default:yt(()=>[B(On,{label:"Scores (7-Day Period)",color:"info",icon:s.mdiTestTube},null,8,["icon"]),t.value?(q(),bt("div",tw,[B(e2,{data:t.value,class:"h-96"},null,8,["data"])])):Kt("",!0)]),_:1}),B(Oi,{icon:D(H1),title:"Rivals",main:""},null,8,["icon"]),B(Qi,{"has-table":""},{default:yt(()=>[B(Z2)]),_:1})]),_:1})]),_:1}))}},nw=[{meta:{title:"Dashboard"},path:"/",name:"dashboard",component:ew},{meta:{title:"Tables"},path:"/tables",name:"tables",component:()=>vn(()=>import("./TablesView.0a7f46fb.js"),["assets/TablesView.0a7f46fb.js","assets/CardBoxComponentEmpty.d2a35044.js","assets/SectionTitleLineWithButton.73f27ca0.js"])},{meta:{title:"Forms"},path:"/forms",name:"forms",component:()=>vn(()=>import("./FormsView.8d1dad33.js"),["assets/FormsView.8d1dad33.js","assets/FormCheckRadioGroup.f2c1e4de.js","assets/FormCheckRadio.814cba01.js","assets/FormField.1bef021a.js","assets/FormControl.4e2a271e.js","assets/SectionTitle.a5f395e4.js","assets/SectionTitleLineWithButton.73f27ca0.js"])},{meta:{title:"Profile"},path:"/profile",name:"profile",component:()=>vn(()=>import("./ProfileView.b3fc8ac5.js"),["assets/ProfileView.b3fc8ac5.js","assets/FormField.1bef021a.js","assets/FormControl.4e2a271e.js"])},{meta:{title:"Ui"},path:"/ui",name:"ui",component:()=>vn(()=>import("./UiView.e536e028.js"),["assets/UiView.e536e028.js","assets/CardBoxComponentEmpty.d2a35044.js","assets/SectionTitle.a5f395e4.js","assets/FormField.1bef021a.js","assets/FormCheckRadioGroup.f2c1e4de.js","assets/FormCheckRadio.814cba01.js","assets/SectionTitleLineWithButton.73f27ca0.js"])},{meta:{title:"Responsive layout"},path:"/responsive",name:"responsive",component:()=>vn(()=>import("./ResponsiveView.3a867284.js"),["assets/ResponsiveView.3a867284.js","assets/SectionTitle.a5f395e4.js"])},{meta:{title:"Login"},path:"/login",name:"login",component:()=>vn(()=>import("./LoginView.f5d3ba01.js"),["assets/LoginView.f5d3ba01.js","assets/LayoutGuest.57c1be46.js","assets/FormCheckRadio.814cba01.js","assets/FormField.1bef021a.js","assets/FormControl.4e2a271e.js"])},{meta:{title:"Error"},path:"/error",name:"error",component:()=>vn(()=>import("./ErrorView.549f86d4.js"),["assets/ErrorView.549f86d4.js","assets/LayoutGuest.57c1be46.js"])}],Td=L1({history:Km(),routes:nw,scrollBehavior(e,t,n){return n||{top:0}}});const el=km();vm(R1).use(Td).use(el).mount("#app");const Dd=xs(el),Id=zn(el);Dd.fetch("clients");Dd.fetch("history");var Nu;Id.setStyle((Nu=localStorage[Ed])!=null?Nu:"basic");Id.setDarkMode(window.matchMedia("(prefers-color-scheme: dark)").matches);const Bu="PhaseII eAmusement Network";Td.afterEach(e=>{var t;document.title=(t=e.meta)!=null&&t.title?`${e.meta.title} \u2014 ${Bu}`:Bu});export{ya as $,yw as A,pw as B,bw as C,xw as D,Sb as E,Ft as F,Rh as G,zf as H,le as I,Gt as J,uh as K,ot as L,_m as M,Zi as N,I2 as O,vb as P,$2 as Q,uw as R,Mw as S,bs as T,w2 as U,lw as V,I1 as W,mw as X,It as Y,_s as Z,j2 as _,yt as a,pm as a0,Bl as a1,iw as a2,Oi as a3,Bb as a4,On as a5,aw as a6,dw as a7,zn as a8,ww as a9,gw as aa,cw as ab,rw as ac,ow as ad,fw as ae,_w as af,t0 as ag,O1 as ah,Cw as ai,Sw as aj,kw as ak,U as b,_t as c,lg as d,Mr as e,it as f,bt as g,B as h,qi as i,Kt as j,D as k,tl as l,Fn as m,ss as n,q as o,Lh as p,hw as q,ne as r,vw as s,Bt as t,xs as u,hm as v,Dn as w,N2 as x,Qi as y,s2 as z}; diff --git a/assets/index.a3e3dc89.js b/assets/index.a3e3dc89.js new file mode 100644 index 0000000..d693523 --- /dev/null +++ b/assets/index.a3e3dc89.js @@ -0,0 +1,46 @@ +var Fd=Object.defineProperty;var Bd=(e,t,n)=>t in e?Fd(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var ft=(e,t,n)=>(Bd(e,typeof t!="symbol"?t+"":t,n),n);(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))s(i);new MutationObserver(i=>{for(const r of i)if(r.type==="childList")for(const o of r.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&s(o)}).observe(document,{childList:!0,subtree:!0});function n(i){const r={};return i.integrity&&(r.integrity=i.integrity),i.referrerpolicy&&(r.referrerPolicy=i.referrerpolicy),i.crossorigin==="use-credentials"?r.credentials="include":i.crossorigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function s(i){if(i.ep)return;i.ep=!0;const r=n(i);fetch(i.href,r)}})();function ra(e,t){const n=Object.create(null),s=e.split(",");for(let i=0;i!!n[i.toLowerCase()]:i=>!!n[i]}function si(e){if(Q(e)){const t={};for(let n=0;n{if(n){const s=n.split(Vd);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function ot(e){let t="";if(Bt(e))t=e;else if(Q(e))for(let n=0;nHn(n,t))}const Vt=e=>Bt(e)?e:e==null?"":Q(e)||St(e)&&(e.toString===qu||!rt(e.toString))?JSON.stringify(e,Wu,2):String(e),Wu=(e,t)=>t&&t.__v_isRef?Wu(e,t.value):Qn(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,i])=>(n[`${s} =>`]=i,n),{})}:ds(t)?{[`Set(${t.size})`]:[...t.values()]}:St(t)&&!Q(t)&&!Ku(t)?String(t):t,At={},Jn=[],Se=()=>{},Ud=()=>!1,qd=/^on[^a-z]/,pr=e=>qd.test(e),aa=e=>e.startsWith("onUpdate:"),Ut=Object.assign,la=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Kd=Object.prototype.hasOwnProperty,gt=(e,t)=>Kd.call(e,t),Q=Array.isArray,Qn=e=>ii(e)==="[object Map]",ds=e=>ii(e)==="[object Set]",ll=e=>ii(e)==="[object Date]",rt=e=>typeof e=="function",Bt=e=>typeof e=="string",Us=e=>typeof e=="symbol",St=e=>e!==null&&typeof e=="object",Uu=e=>St(e)&&rt(e.then)&&rt(e.catch),qu=Object.prototype.toString,ii=e=>qu.call(e),Yd=e=>ii(e).slice(8,-1),Ku=e=>ii(e)==="[object Object]",ca=e=>Bt(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Ri=ra(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),gr=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Xd=/-(\w)/g,Fe=gr(e=>e.replace(Xd,(t,n)=>n?n.toUpperCase():"")),Gd=/\B([A-Z])/g,ps=gr(e=>e.replace(Gd,"-$1").toLowerCase()),mr=gr(e=>e.charAt(0).toUpperCase()+e.slice(1)),jr=gr(e=>e?`on${mr(e)}`:""),qs=(e,t)=>!Object.is(e,t),Ti=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},zi=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Zd=e=>{const t=Bt(e)?Number(e):NaN;return isNaN(t)?e:t};let cl;const Jd=()=>cl||(cl=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});let ae;class Yu{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=ae,!t&&ae&&(this.index=(ae.scopes||(ae.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=ae;try{return ae=this,t()}finally{ae=n}}}on(){ae=this}off(){ae=this.parent}stop(t){if(this._active){let n,s;for(n=0,s=this.effects.length;n{const t=new Set(e);return t.w=0,t.n=0,t},Zu=e=>(e.w&hn)>0,Ju=e=>(e.n&hn)>0,ep=({deps:e})=>{if(e.length)for(let t=0;t{const{deps:t}=e;if(t.length){let n=0;for(let s=0;s{(u==="length"||u>=l)&&a.push(c)})}else switch(n!==void 0&&a.push(o.get(n)),t){case"add":Q(e)?ca(n)&&a.push(o.get("length")):(a.push(o.get(Dn)),Qn(e)&&a.push(o.get(Lo)));break;case"delete":Q(e)||(a.push(o.get(Dn)),Qn(e)&&a.push(o.get(Lo)));break;case"set":Qn(e)&&a.push(o.get(Dn));break}if(a.length===1)a[0]&&Ro(a[0]);else{const l=[];for(const c of a)c&&l.push(...c);Ro(ua(l))}}function Ro(e,t){const n=Q(e)?e:[...e];for(const s of n)s.computed&&fl(s);for(const s of n)s.computed||fl(s)}function fl(e,t){(e!==we||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}function sp(e,t){var n;return(n=ji.get(e))===null||n===void 0?void 0:n.get(t)}const ip=ra("__proto__,__v_isRef,__isVue"),ef=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Us)),rp=ha(),op=ha(!1,!0),ap=ha(!0),hl=lp();function lp(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const s=dt(this);for(let r=0,o=this.length;r{e[t]=function(...n){gs();const s=dt(this)[t].apply(this,n);return ms(),s}}),e}function cp(e){const t=dt(this);return ne(t,"has",e),t.hasOwnProperty(e)}function ha(e=!1,t=!1){return function(s,i,r){if(i==="__v_isReactive")return!e;if(i==="__v_isReadonly")return e;if(i==="__v_isShallow")return t;if(i==="__v_raw"&&r===(e?t?Sp:af:t?of:rf).get(s))return s;const o=Q(s);if(!e){if(o&>(hl,i))return Reflect.get(hl,i,r);if(i==="hasOwnProperty")return cp}const a=Reflect.get(s,i,r);return(Us(i)?ef.has(i):ip(i))||(e||ne(s,"get",i),t)?a:It(a)?o&&ca(i)?a:a.value:St(a)?e?lf(a):bs(a):a}}const up=nf(),fp=nf(!0);function nf(e=!1){return function(n,s,i,r){let o=n[s];if(ns(o)&&It(o)&&!It(i))return!1;if(!e&&(!Wi(i)&&!ns(i)&&(o=dt(o),i=dt(i)),!Q(n)&&It(o)&&!It(i)))return o.value=i,!0;const a=Q(n)&&ca(s)?Number(s)e,br=e=>Reflect.getPrototypeOf(e);function ui(e,t,n=!1,s=!1){e=e.__v_raw;const i=dt(e),r=dt(t);n||(t!==r&&ne(i,"get",t),ne(i,"get",r));const{has:o}=br(i),a=s?da:n?ma:Ks;if(o.call(i,t))return a(e.get(t));if(o.call(i,r))return a(e.get(r));e!==i&&e.get(t)}function fi(e,t=!1){const n=this.__v_raw,s=dt(n),i=dt(e);return t||(e!==i&&ne(s,"has",e),ne(s,"has",i)),e===i?n.has(e):n.has(e)||n.has(i)}function hi(e,t=!1){return e=e.__v_raw,!t&&ne(dt(e),"iterate",Dn),Reflect.get(e,"size",e)}function dl(e){e=dt(e);const t=dt(this);return br(t).has.call(t,e)||(t.add(e),Ue(t,"add",e,e)),this}function pl(e,t){t=dt(t);const n=dt(this),{has:s,get:i}=br(n);let r=s.call(n,e);r||(e=dt(e),r=s.call(n,e));const o=i.call(n,e);return n.set(e,t),r?qs(t,o)&&Ue(n,"set",e,t):Ue(n,"add",e,t),this}function gl(e){const t=dt(this),{has:n,get:s}=br(t);let i=n.call(t,e);i||(e=dt(e),i=n.call(t,e)),s&&s.call(t,e);const r=t.delete(e);return i&&Ue(t,"delete",e,void 0),r}function ml(){const e=dt(this),t=e.size!==0,n=e.clear();return t&&Ue(e,"clear",void 0,void 0),n}function di(e,t){return function(s,i){const r=this,o=r.__v_raw,a=dt(o),l=t?da:e?ma:Ks;return!e&&ne(a,"iterate",Dn),o.forEach((c,u)=>s.call(i,l(c),l(u),r))}}function pi(e,t,n){return function(...s){const i=this.__v_raw,r=dt(i),o=Qn(r),a=e==="entries"||e===Symbol.iterator&&o,l=e==="keys"&&o,c=i[e](...s),u=n?da:t?ma:Ks;return!t&&ne(r,"iterate",l?Lo:Dn),{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 Xe(e){return function(...t){return e==="delete"?!1:this}}function bp(){const e={get(r){return ui(this,r)},get size(){return hi(this)},has:fi,add:dl,set:pl,delete:gl,clear:ml,forEach:di(!1,!1)},t={get(r){return ui(this,r,!1,!0)},get size(){return hi(this)},has:fi,add:dl,set:pl,delete:gl,clear:ml,forEach:di(!1,!0)},n={get(r){return ui(this,r,!0)},get size(){return hi(this,!0)},has(r){return fi.call(this,r,!0)},add:Xe("add"),set:Xe("set"),delete:Xe("delete"),clear:Xe("clear"),forEach:di(!0,!1)},s={get(r){return ui(this,r,!0,!0)},get size(){return hi(this,!0)},has(r){return fi.call(this,r,!0)},add:Xe("add"),set:Xe("set"),delete:Xe("delete"),clear:Xe("clear"),forEach:di(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(r=>{e[r]=pi(r,!1,!1),n[r]=pi(r,!0,!1),t[r]=pi(r,!1,!0),s[r]=pi(r,!0,!0)}),[e,n,t,s]}const[_p,yp,xp,vp]=bp();function pa(e,t){const n=t?e?vp:xp:e?yp:_p;return(s,i,r)=>i==="__v_isReactive"?!e:i==="__v_isReadonly"?e:i==="__v_raw"?s:Reflect.get(gt(n,i)&&i in s?n:s,i,r)}const wp={get:pa(!1,!1)},Mp={get:pa(!1,!0)},kp={get:pa(!0,!1)},rf=new WeakMap,of=new WeakMap,af=new WeakMap,Sp=new WeakMap;function Cp(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Ap(e){return e.__v_skip||!Object.isExtensible(e)?0:Cp(Yd(e))}function bs(e){return ns(e)?e:ga(e,!1,sf,wp,rf)}function Ep(e){return ga(e,!1,mp,Mp,of)}function lf(e){return ga(e,!0,gp,kp,af)}function ga(e,t,n,s,i){if(!St(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const r=i.get(e);if(r)return r;const o=Ap(e);if(o===0)return e;const a=new Proxy(e,o===2?s:n);return i.set(e,a),a}function cn(e){return ns(e)?cn(e.__v_raw):!!(e&&e.__v_isReactive)}function ns(e){return!!(e&&e.__v_isReadonly)}function Wi(e){return!!(e&&e.__v_isShallow)}function cf(e){return cn(e)||ns(e)}function dt(e){const t=e&&e.__v_raw;return t?dt(t):e}function ss(e){return $i(e,"__v_skip",!0),e}const Ks=e=>St(e)?bs(e):e,ma=e=>St(e)?lf(e):e;function uf(e){ln&&we&&(e=dt(e),tf(e.dep||(e.dep=ua())))}function ff(e,t){e=dt(e);const n=e.dep;n&&Ro(n)}function It(e){return!!(e&&e.__v_isRef===!0)}function Jt(e){return hf(e,!1)}function Pp(e){return hf(e,!0)}function hf(e,t){return It(e)?e:new Op(e,t)}class Op{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:dt(t),this._value=n?t:Ks(t)}get value(){return uf(this),this._value}set value(t){const n=this.__v_isShallow||Wi(t)||ns(t);t=n?t:dt(t),qs(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:Ks(t),ff(this))}}function D(e){return It(e)?e.value:e}const Lp={get:(e,t,n)=>D(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const i=e[t];return It(i)&&!It(n)?(i.value=n,!0):Reflect.set(e,t,n,s)}};function df(e){return cn(e)?e:new Proxy(e,Lp)}function Rp(e){const t=Q(e)?new Array(e.length):{};for(const n in e)t[n]=Dp(e,n);return t}class Tp{constructor(t,n,s){this._object=t,this._key=n,this._defaultValue=s,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return sp(dt(this._object),this._key)}}function Dp(e,t,n){const s=e[t];return It(s)?s:new Tp(e,t,n)}var pf;class Ip{constructor(t,n,s,i){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this[pf]=!1,this._dirty=!0,this.effect=new fa(t,()=>{this._dirty||(this._dirty=!0,ff(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!i,this.__v_isReadonly=s}get value(){const t=dt(this);return uf(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}pf="__v_isReadonly";function Fp(e,t,n=!1){let s,i;const r=rt(e);return r?(s=e,i=Se):(s=e.get,i=e.set),new Ip(s,i,r||!i,n)}function un(e,t,n,s){let i;try{i=s?e(...s):e()}catch(r){_r(r,t,n)}return i}function pe(e,t,n,s){if(rt(e)){const r=un(e,t,n,s);return r&&Uu(r)&&r.catch(o=>{_r(o,t,n)}),r}const i=[];for(let r=0;r>>1;Xs(Yt[s])Te&&Yt.splice(t,1)}function Np(e){Q(e)?ts.push(...e):(!$e||!$e.includes(e,e.allowRecurse?En+1:En))&&ts.push(e),mf()}function bl(e,t=Ys?Te+1:0){for(;tXs(n)-Xs(s)),En=0;En<$e.length;En++)$e[En]();$e=null,En=0}}const Xs=e=>e.id==null?1/0:e.id,$p=(e,t)=>{const n=Xs(e)-Xs(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function _f(e){To=!1,Ys=!0,Yt.sort($p);const t=Se;try{for(Te=0;TeBt(d)?d.trim():d)),f&&(i=n.map(zi))}let a,l=s[a=jr(t)]||s[a=jr(Fe(t))];!l&&r&&(l=s[a=jr(ps(t))]),l&&pe(l,e,6,i);const c=s[a+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,pe(c,e,6,i)}}function yf(e,t,n=!1){const s=t.emitsCache,i=s.get(e);if(i!==void 0)return i;const r=e.emits;let o={},a=!1;if(!rt(e)){const l=c=>{const u=yf(c,t,!0);u&&(a=!0,Ut(o,u))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!r&&!a?(St(e)&&s.set(e,null),null):(Q(r)?r.forEach(l=>o[l]=null):Ut(o,r),St(e)&&s.set(e,o),o)}function yr(e,t){return!e||!pr(t)?!1:(t=t.slice(2).replace(/Once$/,""),gt(e,t[0].toLowerCase()+t.slice(1))||gt(e,ps(t))||gt(e,t))}let zt=null,xf=null;function Ui(e){const t=zt;return zt=e,xf=e&&e.type.__scopeId||null,t}function mt(e,t=zt,n){if(!t||e._n)return e;const s=(...i)=>{s._d&&Al(-1);const r=Ui(t);let o;try{o=e(...i)}finally{Ui(r),s._d&&Al(1)}return o};return s._n=!0,s._c=!0,s._d=!0,s}function Wr(e){const{type:t,vnode:n,proxy:s,withProxy:i,props:r,propsOptions:[o],slots:a,attrs:l,emit:c,render:u,renderCache:f,data:h,setupState:d,ctx:p,inheritAttrs:g}=e;let b,_;const v=Ui(e);try{if(n.shapeFlag&4){const M=i||s;b=Re(u.call(M,M,f,r,d,h,p)),_=l}else{const M=t;b=Re(M.length>1?M(r,{attrs:l,slots:a,emit:c}):M(r,null)),_=t.props?l:jp(l)}}catch(M){Fs.length=0,_r(M,e,1),b=V(me)}let w=b;if(_&&g!==!1){const M=Object.keys(_),{shapeFlag:x}=w;M.length&&x&7&&(o&&M.some(aa)&&(_=Wp(_,o)),w=dn(w,_))}return n.dirs&&(w=dn(w),w.dirs=w.dirs?w.dirs.concat(n.dirs):n.dirs),n.transition&&(w.transition=n.transition),b=w,Ui(v),b}const jp=e=>{let t;for(const n in e)(n==="class"||n==="style"||pr(n))&&((t||(t={}))[n]=e[n]);return t},Wp=(e,t)=>{const n={};for(const s in e)(!aa(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function Up(e,t,n){const{props:s,children:i,component:r}=e,{props:o,children:a,patchFlag:l}=t,c=r.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return s?_l(s,o,c):!!o;if(l&8){const u=t.dynamicProps;for(let f=0;fe.__isSuspense;function Yp(e,t){t&&t.pendingBranch?Q(e)?t.effects.push(...e):t.effects.push(e):Np(e)}function Di(e,t){if(Dt){let n=Dt.provides;const s=Dt.parent&&Dt.parent.provides;s===n&&(n=Dt.provides=Object.create(s)),n[e]=t}}function ge(e,t,n=!1){const s=Dt||zt;if(s){const i=s.parent==null?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides;if(i&&e in i)return i[e];if(arguments.length>1)return n&&rt(t)?t.call(s.proxy):t}}const gi={};function In(e,t,n){return vf(e,t,n)}function vf(e,t,{immediate:n,deep:s,flush:i,onTrack:r,onTrigger:o}=At){const a=Gu()===(Dt==null?void 0:Dt.scope)?Dt:null;let l,c=!1,u=!1;if(It(e)?(l=()=>e.value,c=Wi(e)):cn(e)?(l=()=>e,s=!0):Q(e)?(u=!0,c=e.some(w=>cn(w)||Wi(w)),l=()=>e.map(w=>{if(It(w))return w.value;if(cn(w))return Ln(w);if(rt(w))return un(w,a,2)})):rt(e)?t?l=()=>un(e,a,2):l=()=>{if(!(a&&a.isUnmounted))return f&&f(),pe(e,a,3,[h])}:l=Se,t&&s){const w=l;l=()=>Ln(w())}let f,h=w=>{f=_.onStop=()=>{un(w,a,4)}},d;if(Zs)if(h=Se,t?n&&pe(t,a,3,[l(),u?[]:void 0,h]):l(),i==="sync"){const w=zg();d=w.__watcherHandles||(w.__watcherHandles=[])}else return Se;let p=u?new Array(e.length).fill(gi):gi;const g=()=>{if(!!_.active)if(t){const w=_.run();(s||c||(u?w.some((M,x)=>qs(M,p[x])):qs(w,p)))&&(f&&f(),pe(t,a,3,[w,p===gi?void 0:u&&p[0]===gi?[]:p,h]),p=w)}else _.run()};g.allowRecurse=!!t;let b;i==="sync"?b=g:i==="post"?b=()=>te(g,a&&a.suspense):(g.pre=!0,a&&(g.id=a.uid),b=()=>ya(g));const _=new fa(l,b);t?n?g():p=_.run():i==="post"?te(_.run.bind(_),a&&a.suspense):_.run();const v=()=>{_.stop(),a&&a.scope&&la(a.scope.effects,_)};return d&&d.push(v),v}function Xp(e,t,n){const s=this.proxy,i=Bt(e)?e.includes(".")?wf(s,e):()=>s[e]:e.bind(s,s);let r;rt(t)?r=t:(r=t.handler,n=t);const o=Dt;is(this);const a=vf(i,r.bind(s),n);return o?is(o):Fn(),a}function wf(e,t){const n=t.split(".");return()=>{let s=e;for(let i=0;i{Ln(n,t)});else if(Ku(e))for(const n in e)Ln(e[n],t);return e}function Gp(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return _s(()=>{e.isMounted=!0}),xa(()=>{e.isUnmounting=!0}),e}const ue=[Function,Array],Zp={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:ue,onEnter:ue,onAfterEnter:ue,onEnterCancelled:ue,onBeforeLeave:ue,onLeave:ue,onAfterLeave:ue,onLeaveCancelled:ue,onBeforeAppear:ue,onAppear:ue,onAfterAppear:ue,onAppearCancelled:ue},setup(e,{slots:t}){const n=ka(),s=Gp();let i;return()=>{const r=t.default&&Sf(t.default(),!0);if(!r||!r.length)return;let o=r[0];if(r.length>1){for(const g of r)if(g.type!==me){o=g;break}}const a=dt(e),{mode:l}=a;if(s.isLeaving)return Ur(o);const c=yl(o);if(!c)return Ur(o);const u=Do(c,a,s,n);Io(c,u);const f=n.subTree,h=f&&yl(f);let d=!1;const{getTransitionKey:p}=c.type;if(p){const g=p();i===void 0?i=g:g!==i&&(i=g,d=!0)}if(h&&h.type!==me&&(!Pn(c,h)||d)){const g=Do(h,a,s,n);if(Io(h,g),l==="out-in")return s.isLeaving=!0,g.afterLeave=()=>{s.isLeaving=!1,n.update.active!==!1&&n.update()},Ur(o);l==="in-out"&&c.type!==me&&(g.delayLeave=(b,_,v)=>{const w=kf(s,h);w[String(h.key)]=h,b._leaveCb=()=>{_(),b._leaveCb=void 0,delete u.delayedLeave},u.delayedLeave=v})}return o}}},Mf=Zp;function kf(e,t){const{leavingVNodes:n}=e;let s=n.get(t.type);return s||(s=Object.create(null),n.set(t.type,s)),s}function Do(e,t,n,s){const{appear:i,mode:r,persisted:o=!1,onBeforeEnter:a,onEnter:l,onAfterEnter:c,onEnterCancelled:u,onBeforeLeave:f,onLeave:h,onAfterLeave:d,onLeaveCancelled:p,onBeforeAppear:g,onAppear:b,onAfterAppear:_,onAppearCancelled:v}=t,w=String(e.key),M=kf(n,e),x=(S,R)=>{S&&pe(S,s,9,R)},L=(S,R)=>{const B=R[1];x(S,R),Q(S)?S.every(Y=>Y.length<=1)&&B():S.length<=1&&B()},A={mode:r,persisted:o,beforeEnter(S){let R=a;if(!n.isMounted)if(i)R=g||a;else return;S._leaveCb&&S._leaveCb(!0);const B=M[w];B&&Pn(e,B)&&B.el._leaveCb&&B.el._leaveCb(),x(R,[S])},enter(S){let R=l,B=c,Y=u;if(!n.isMounted)if(i)R=b||l,B=_||c,Y=v||u;else return;let O=!1;const X=S._enterCb=nt=>{O||(O=!0,nt?x(Y,[S]):x(B,[S]),A.delayedLeave&&A.delayedLeave(),S._enterCb=void 0)};R?L(R,[S,X]):X()},leave(S,R){const B=String(e.key);if(S._enterCb&&S._enterCb(!0),n.isUnmounting)return R();x(f,[S]);let Y=!1;const O=S._leaveCb=X=>{Y||(Y=!0,R(),X?x(p,[S]):x(d,[S]),S._leaveCb=void 0,M[B]===e&&delete M[B])};M[B]=e,h?L(h,[S,O]):O()},clone(S){return Do(S,t,n,s)}};return A}function Ur(e){if(vr(e))return e=dn(e),e.children=null,e}function yl(e){return vr(e)?e.children?e.children[0]:void 0:e}function Io(e,t){e.shapeFlag&6&&e.component?Io(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Sf(e,t=!1,n){let s=[],i=0;for(let r=0;r1)for(let r=0;r!!e.type.__asyncLoader,vr=e=>e.type.__isKeepAlive;function Jp(e,t){Cf(e,"a",t)}function Qp(e,t){Cf(e,"da",t)}function Cf(e,t,n=Dt){const s=e.__wdc||(e.__wdc=()=>{let i=n;for(;i;){if(i.isDeactivated)return;i=i.parent}return e()});if(wr(t,s,n),n){let i=n.parent;for(;i&&i.parent;)vr(i.parent.vnode)&&tg(s,t,n,i),i=i.parent}}function tg(e,t,n,s){const i=wr(t,e,s,!0);Af(()=>{la(s[t],i)},n)}function wr(e,t,n=Dt,s=!1){if(n){const i=n[e]||(n[e]=[]),r=t.__weh||(t.__weh=(...o)=>{if(n.isUnmounted)return;gs(),is(n);const a=pe(t,n,e,o);return Fn(),ms(),a});return s?i.unshift(r):i.push(r),r}}const qe=e=>(t,n=Dt)=>(!Zs||e==="sp")&&wr(e,(...s)=>t(...s),n),eg=qe("bm"),_s=qe("m"),ng=qe("bu"),sg=qe("u"),xa=qe("bum"),Af=qe("um"),ig=qe("sp"),rg=qe("rtg"),og=qe("rtc");function ag(e,t=Dt){wr("ec",e,t)}function lg(e,t){const n=zt;if(n===null)return e;const s=Cr(n)||n.proxy,i=e.dirs||(e.dirs=[]);for(let r=0;rt(o,a,void 0,r&&r[a]));else{const o=Object.keys(e);i=new Array(o.length);for(let a=0,l=o.length;aYi(t)?!(t.type===me||t.type===Nt&&!Of(t.children)):!0)?e:null}const Fo=e=>e?$f(e)?Cr(e)||e.proxy:Fo(e.parent):null,Is=Ut(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Fo(e.parent),$root:e=>Fo(e.root),$emit:e=>e.emit,$options:e=>va(e),$forceUpdate:e=>e.f||(e.f=()=>ya(e.update)),$nextTick:e=>e.n||(e.n=_a.bind(e.proxy)),$watch:e=>Xp.bind(e)}),qr=(e,t)=>e!==At&&!e.__isScriptSetup&>(e,t),ug={get({_:e},t){const{ctx:n,setupState:s,data:i,props:r,accessCache:o,type:a,appContext:l}=e;let c;if(t[0]!=="$"){const d=o[t];if(d!==void 0)switch(d){case 1:return s[t];case 2:return i[t];case 4:return n[t];case 3:return r[t]}else{if(qr(s,t))return o[t]=1,s[t];if(i!==At&>(i,t))return o[t]=2,i[t];if((c=e.propsOptions[0])&>(c,t))return o[t]=3,r[t];if(n!==At&>(n,t))return o[t]=4,n[t];Bo&&(o[t]=0)}}const u=Is[t];let f,h;if(u)return t==="$attrs"&&ne(e,"get",t),u(e);if((f=a.__cssModules)&&(f=f[t]))return f;if(n!==At&>(n,t))return o[t]=4,n[t];if(h=l.config.globalProperties,gt(h,t))return h[t]},set({_:e},t,n){const{data:s,setupState:i,ctx:r}=e;return qr(i,t)?(i[t]=n,!0):s!==At&>(s,t)?(s[t]=n,!0):gt(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(r[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:i,propsOptions:r}},o){let a;return!!n[o]||e!==At&>(e,o)||qr(t,o)||(a=r[0])&>(a,o)||gt(s,o)||gt(Is,o)||gt(i.config.globalProperties,o)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:gt(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};let Bo=!0;function fg(e){const t=va(e),n=e.proxy,s=e.ctx;Bo=!1,t.beforeCreate&&vl(t.beforeCreate,e,"bc");const{data:i,computed:r,methods:o,watch:a,provide:l,inject:c,created:u,beforeMount:f,mounted:h,beforeUpdate:d,updated:p,activated:g,deactivated:b,beforeDestroy:_,beforeUnmount:v,destroyed:w,unmounted:M,render:x,renderTracked:L,renderTriggered:A,errorCaptured:S,serverPrefetch:R,expose:B,inheritAttrs:Y,components:O,directives:X,filters:nt}=t;if(c&&hg(c,s,null,e.appContext.config.unwrapInjectedRef),o)for(const et in o){const lt=o[et];rt(lt)&&(s[et]=lt.bind(n))}if(i){const et=i.call(n,n);St(et)&&(e.data=bs(et))}if(Bo=!0,r)for(const et in r){const lt=r[et],Gt=rt(lt)?lt.bind(n,n):rt(lt.get)?lt.get.bind(n,n):Se,Qt=!rt(lt)&&rt(lt.set)?lt.set.bind(n):Se,Kt=st({get:Gt,set:Qt});Object.defineProperty(s,et,{enumerable:!0,configurable:!0,get:()=>Kt.value,set:Tt=>Kt.value=Tt})}if(a)for(const et in a)Lf(a[et],s,n,et);if(l){const et=rt(l)?l.call(n):l;Reflect.ownKeys(et).forEach(lt=>{Di(lt,et[lt])})}u&&vl(u,e,"c");function tt(et,lt){Q(lt)?lt.forEach(Gt=>et(Gt.bind(n))):lt&&et(lt.bind(n))}if(tt(eg,f),tt(_s,h),tt(ng,d),tt(sg,p),tt(Jp,g),tt(Qp,b),tt(ag,S),tt(og,L),tt(rg,A),tt(xa,v),tt(Af,M),tt(ig,R),Q(B))if(B.length){const et=e.exposed||(e.exposed={});B.forEach(lt=>{Object.defineProperty(et,lt,{get:()=>n[lt],set:Gt=>n[lt]=Gt})})}else e.exposed||(e.exposed={});x&&e.render===Se&&(e.render=x),Y!=null&&(e.inheritAttrs=Y),O&&(e.components=O),X&&(e.directives=X)}function hg(e,t,n=Se,s=!1){Q(e)&&(e=Ho(e));for(const i in e){const r=e[i];let o;St(r)?"default"in r?o=ge(r.from||i,r.default,!0):o=ge(r.from||i):o=ge(r),It(o)&&s?Object.defineProperty(t,i,{enumerable:!0,configurable:!0,get:()=>o.value,set:a=>o.value=a}):t[i]=o}}function vl(e,t,n){pe(Q(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function Lf(e,t,n,s){const i=s.includes(".")?wf(n,s):()=>n[s];if(Bt(e)){const r=t[e];rt(r)&&In(i,r)}else if(rt(e))In(i,e.bind(n));else if(St(e))if(Q(e))e.forEach(r=>Lf(r,t,n,s));else{const r=rt(e.handler)?e.handler.bind(n):t[e.handler];rt(r)&&In(i,r,e)}}function va(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:i,optionsCache:r,config:{optionMergeStrategies:o}}=e.appContext,a=r.get(t);let l;return a?l=a:!i.length&&!n&&!s?l=t:(l={},i.length&&i.forEach(c=>Ki(l,c,o,!0)),Ki(l,t,o)),St(t)&&r.set(t,l),l}function Ki(e,t,n,s=!1){const{mixins:i,extends:r}=t;r&&Ki(e,r,n,!0),i&&i.forEach(o=>Ki(e,o,n,!0));for(const o in t)if(!(s&&o==="expose")){const a=dg[o]||n&&n[o];e[o]=a?a(e[o],t[o]):t[o]}return e}const dg={data:wl,props:Sn,emits:Sn,methods:Sn,computed:Sn,beforeCreate:Zt,created:Zt,beforeMount:Zt,mounted:Zt,beforeUpdate:Zt,updated:Zt,beforeDestroy:Zt,beforeUnmount:Zt,destroyed:Zt,unmounted:Zt,activated:Zt,deactivated:Zt,errorCaptured:Zt,serverPrefetch:Zt,components:Sn,directives:Sn,watch:gg,provide:wl,inject:pg};function wl(e,t){return t?e?function(){return Ut(rt(e)?e.call(this,this):e,rt(t)?t.call(this,this):t)}:t:e}function pg(e,t){return Sn(Ho(e),Ho(t))}function Ho(e){if(Q(e)){const t={};for(let n=0;n0)&&!(o&16)){if(o&8){const u=e.vnode.dynamicProps;for(let f=0;f{l=!0;const[h,d]=Tf(f,t,!0);Ut(o,h),d&&a.push(...d)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!r&&!l)return St(e)&&s.set(e,Jn),Jn;if(Q(r))for(let u=0;u-1,d[1]=g<0||p-1||gt(d,"default"))&&a.push(f)}}}const c=[o,a];return St(e)&&s.set(e,c),c}function Ml(e){return e[0]!=="$"}function kl(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function Sl(e,t){return kl(e)===kl(t)}function Cl(e,t){return Q(t)?t.findIndex(n=>Sl(n,e)):rt(t)&&Sl(t,e)?0:-1}const Df=e=>e[0]==="_"||e==="$stable",wa=e=>Q(e)?e.map(Re):[Re(e)],_g=(e,t,n)=>{if(t._n)return t;const s=mt((...i)=>wa(t(...i)),n);return s._c=!1,s},If=(e,t,n)=>{const s=e._ctx;for(const i in e){if(Df(i))continue;const r=e[i];if(rt(r))t[i]=_g(i,r,s);else if(r!=null){const o=wa(r);t[i]=()=>o}}},Ff=(e,t)=>{const n=wa(t);e.slots.default=()=>n},yg=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=dt(t),$i(t,"_",n)):If(t,e.slots={})}else e.slots={},t&&Ff(e,t);$i(e.slots,Sr,1)},xg=(e,t,n)=>{const{vnode:s,slots:i}=e;let r=!0,o=At;if(s.shapeFlag&32){const a=t._;a?n&&a===1?r=!1:(Ut(i,t),!n&&a===1&&delete i._):(r=!t.$stable,If(t,i)),o=t}else t&&(Ff(e,t),o={default:1});if(r)for(const a in i)!Df(a)&&!(a in o)&&delete i[a]};function Bf(){return{app:null,config:{isNativeTag:Ud,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let vg=0;function wg(e,t){return function(s,i=null){rt(s)||(s=Object.assign({},s)),i!=null&&!St(i)&&(i=null);const r=Bf(),o=new Set;let a=!1;const l=r.app={_uid:vg++,_component:s,_props:i,_container:null,_context:r,_instance:null,version:jg,get config(){return r.config},set config(c){},use(c,...u){return o.has(c)||(c&&rt(c.install)?(o.add(c),c.install(l,...u)):rt(c)&&(o.add(c),c(l,...u))),l},mixin(c){return r.mixins.includes(c)||r.mixins.push(c),l},component(c,u){return u?(r.components[c]=u,l):r.components[c]},directive(c,u){return u?(r.directives[c]=u,l):r.directives[c]},mount(c,u,f){if(!a){const h=V(s,i);return h.appContext=r,u&&t?t(h,c):e(h,c,f),a=!0,l._container=c,c.__vue_app__=l,Cr(h.component)||h.component.proxy}},unmount(){a&&(e(null,l._container),delete l._container.__vue_app__)},provide(c,u){return r.provides[c]=u,l}};return l}}function No(e,t,n,s,i=!1){if(Q(e)){e.forEach((h,d)=>No(h,t&&(Q(t)?t[d]:t),n,s,i));return}if(Ds(s)&&!i)return;const r=s.shapeFlag&4?Cr(s.component)||s.component.proxy:s.el,o=i?null:r,{i:a,r:l}=e,c=t&&t.r,u=a.refs===At?a.refs={}:a.refs,f=a.setupState;if(c!=null&&c!==l&&(Bt(c)?(u[c]=null,gt(f,c)&&(f[c]=null)):It(c)&&(c.value=null)),rt(l))un(l,a,12,[o,u]);else{const h=Bt(l),d=It(l);if(h||d){const p=()=>{if(e.f){const g=h?gt(f,l)?f[l]:u[l]:l.value;i?Q(g)&&la(g,r):Q(g)?g.includes(r)||g.push(r):h?(u[l]=[r],gt(f,l)&&(f[l]=u[l])):(l.value=[r],e.k&&(u[e.k]=l.value))}else h?(u[l]=o,gt(f,l)&&(f[l]=o)):d&&(l.value=o,e.k&&(u[e.k]=o))};o?(p.id=-1,te(p,n)):p()}}}const te=Yp;function Mg(e){return kg(e)}function kg(e,t){const n=Jd();n.__VUE__=!0;const{insert:s,remove:i,patchProp:r,createElement:o,createText:a,createComment:l,setText:c,setElementText:u,parentNode:f,nextSibling:h,setScopeId:d=Se,insertStaticContent:p}=e,g=(m,y,k,C=null,P=null,F=null,z=!1,I=null,H=!!y.dynamicChildren)=>{if(m===y)return;m&&!Pn(m,y)&&(C=N(m),Tt(m,P,F,!0),m=null),y.patchFlag===-2&&(H=!1,y.dynamicChildren=null);const{type:T,ref:Z,shapeFlag:K}=y;switch(T){case kr:b(m,y,k,C);break;case me:_(m,y,k,C);break;case Ii:m==null&&v(y,k,C,z);break;case Nt:O(m,y,k,C,P,F,z,I,H);break;default:K&1?x(m,y,k,C,P,F,z,I,H):K&6?X(m,y,k,C,P,F,z,I,H):(K&64||K&128)&&T.process(m,y,k,C,P,F,z,I,H,pt)}Z!=null&&P&&No(Z,m&&m.ref,F,y||m,!y)},b=(m,y,k,C)=>{if(m==null)s(y.el=a(y.children),k,C);else{const P=y.el=m.el;y.children!==m.children&&c(P,y.children)}},_=(m,y,k,C)=>{m==null?s(y.el=l(y.children||""),k,C):y.el=m.el},v=(m,y,k,C)=>{[m.el,m.anchor]=p(m.children,y,k,C,m.el,m.anchor)},w=({el:m,anchor:y},k,C)=>{let P;for(;m&&m!==y;)P=h(m),s(m,k,C),m=P;s(y,k,C)},M=({el:m,anchor:y})=>{let k;for(;m&&m!==y;)k=h(m),i(m),m=k;i(y)},x=(m,y,k,C,P,F,z,I,H)=>{z=z||y.type==="svg",m==null?L(y,k,C,P,F,z,I,H):R(m,y,P,F,z,I,H)},L=(m,y,k,C,P,F,z,I)=>{let H,T;const{type:Z,props:K,shapeFlag:J,transition:it,dirs:ct}=m;if(H=m.el=o(m.type,F,K&&K.is,K),J&8?u(H,m.children):J&16&&S(m.children,H,null,C,P,F&&Z!=="foreignObject",z,I),ct&&yn(m,null,C,"created"),A(H,m,m.scopeId,z,C),K){for(const Mt in K)Mt!=="value"&&!Ri(Mt)&&r(H,Mt,null,K[Mt],F,m.children,C,P,$);"value"in K&&r(H,"value",null,K.value),(T=K.onVnodeBeforeMount)&&Pe(T,C,m)}ct&&yn(m,null,C,"beforeMount");const Ct=(!P||P&&!P.pendingBranch)&&it&&!it.persisted;Ct&&it.beforeEnter(H),s(H,y,k),((T=K&&K.onVnodeMounted)||Ct||ct)&&te(()=>{T&&Pe(T,C,m),Ct&&it.enter(H),ct&&yn(m,null,C,"mounted")},P)},A=(m,y,k,C,P)=>{if(k&&d(m,k),C)for(let F=0;F{for(let T=H;T{const I=y.el=m.el;let{patchFlag:H,dynamicChildren:T,dirs:Z}=y;H|=m.patchFlag&16;const K=m.props||At,J=y.props||At;let it;k&&xn(k,!1),(it=J.onVnodeBeforeUpdate)&&Pe(it,k,y,m),Z&&yn(y,m,k,"beforeUpdate"),k&&xn(k,!0);const ct=P&&y.type!=="foreignObject";if(T?B(m.dynamicChildren,T,I,k,C,ct,F):z||lt(m,y,I,null,k,C,ct,F,!1),H>0){if(H&16)Y(I,y,K,J,k,C,P);else if(H&2&&K.class!==J.class&&r(I,"class",null,J.class,P),H&4&&r(I,"style",K.style,J.style,P),H&8){const Ct=y.dynamicProps;for(let Mt=0;Mt{it&&Pe(it,k,y,m),Z&&yn(y,m,k,"updated")},C)},B=(m,y,k,C,P,F,z)=>{for(let I=0;I{if(k!==C){if(k!==At)for(const I in k)!Ri(I)&&!(I in C)&&r(m,I,k[I],null,z,y.children,P,F,$);for(const I in C){if(Ri(I))continue;const H=C[I],T=k[I];H!==T&&I!=="value"&&r(m,I,T,H,z,y.children,P,F,$)}"value"in C&&r(m,"value",k.value,C.value)}},O=(m,y,k,C,P,F,z,I,H)=>{const T=y.el=m?m.el:a(""),Z=y.anchor=m?m.anchor:a("");let{patchFlag:K,dynamicChildren:J,slotScopeIds:it}=y;it&&(I=I?I.concat(it):it),m==null?(s(T,k,C),s(Z,k,C),S(y.children,k,Z,P,F,z,I,H)):K>0&&K&64&&J&&m.dynamicChildren?(B(m.dynamicChildren,J,k,P,F,z,I),(y.key!=null||P&&y===P.subTree)&&Hf(m,y,!0)):lt(m,y,k,Z,P,F,z,I,H)},X=(m,y,k,C,P,F,z,I,H)=>{y.slotScopeIds=I,m==null?y.shapeFlag&512?P.ctx.activate(y,k,C,z,H):nt(y,k,C,P,F,z,H):U(m,y,H)},nt=(m,y,k,C,P,F,z)=>{const I=m.component=Dg(m,C,P);if(vr(m)&&(I.ctx.renderer=pt),Ig(I),I.asyncDep){if(P&&P.registerDep(I,tt),!m.el){const H=I.subTree=V(me);_(null,H,y,k)}return}tt(I,m,y,k,P,F,z)},U=(m,y,k)=>{const C=y.component=m.component;if(Up(m,y,k))if(C.asyncDep&&!C.asyncResolved){et(C,y,k);return}else C.next=y,Vp(C.update),C.update();else y.el=m.el,C.vnode=y},tt=(m,y,k,C,P,F,z)=>{const I=()=>{if(m.isMounted){let{next:Z,bu:K,u:J,parent:it,vnode:ct}=m,Ct=Z,Mt;xn(m,!1),Z?(Z.el=ct.el,et(m,Z,z)):Z=ct,K&&Ti(K),(Mt=Z.props&&Z.props.onVnodeBeforeUpdate)&&Pe(Mt,it,Z,ct),xn(m,!0);const Ht=Wr(m),ye=m.subTree;m.subTree=Ht,g(ye,Ht,f(ye.el),N(ye),m,P,F),Z.el=Ht.el,Ct===null&&qp(m,Ht.el),J&&te(J,P),(Mt=Z.props&&Z.props.onVnodeUpdated)&&te(()=>Pe(Mt,it,Z,ct),P)}else{let Z;const{el:K,props:J}=y,{bm:it,m:ct,parent:Ct}=m,Mt=Ds(y);if(xn(m,!1),it&&Ti(it),!Mt&&(Z=J&&J.onVnodeBeforeMount)&&Pe(Z,Ct,y),xn(m,!0),K&&at){const Ht=()=>{m.subTree=Wr(m),at(K,m.subTree,m,P,null)};Mt?y.type.__asyncLoader().then(()=>!m.isUnmounted&&Ht()):Ht()}else{const Ht=m.subTree=Wr(m);g(null,Ht,k,C,m,P,F),y.el=Ht.el}if(ct&&te(ct,P),!Mt&&(Z=J&&J.onVnodeMounted)){const Ht=y;te(()=>Pe(Z,Ct,Ht),P)}(y.shapeFlag&256||Ct&&Ds(Ct.vnode)&&Ct.vnode.shapeFlag&256)&&m.a&&te(m.a,P),m.isMounted=!0,y=k=C=null}},H=m.effect=new fa(I,()=>ya(T),m.scope),T=m.update=()=>H.run();T.id=m.uid,xn(m,!0),T()},et=(m,y,k)=>{y.component=m;const C=m.vnode.props;m.vnode=y,m.next=null,bg(m,y.props,C,k),xg(m,y.children,k),gs(),bl(),ms()},lt=(m,y,k,C,P,F,z,I,H=!1)=>{const T=m&&m.children,Z=m?m.shapeFlag:0,K=y.children,{patchFlag:J,shapeFlag:it}=y;if(J>0){if(J&128){Qt(T,K,k,C,P,F,z,I,H);return}else if(J&256){Gt(T,K,k,C,P,F,z,I,H);return}}it&8?(Z&16&&$(T,P,F),K!==T&&u(k,K)):Z&16?it&16?Qt(T,K,k,C,P,F,z,I,H):$(T,P,F,!0):(Z&8&&u(k,""),it&16&&S(K,k,C,P,F,z,I,H))},Gt=(m,y,k,C,P,F,z,I,H)=>{m=m||Jn,y=y||Jn;const T=m.length,Z=y.length,K=Math.min(T,Z);let J;for(J=0;JZ?$(m,P,F,!0,!1,K):S(y,k,C,P,F,z,I,H,K)},Qt=(m,y,k,C,P,F,z,I,H)=>{let T=0;const Z=y.length;let K=m.length-1,J=Z-1;for(;T<=K&&T<=J;){const it=m[T],ct=y[T]=H?nn(y[T]):Re(y[T]);if(Pn(it,ct))g(it,ct,k,null,P,F,z,I,H);else break;T++}for(;T<=K&&T<=J;){const it=m[K],ct=y[J]=H?nn(y[J]):Re(y[J]);if(Pn(it,ct))g(it,ct,k,null,P,F,z,I,H);else break;K--,J--}if(T>K){if(T<=J){const it=J+1,ct=itJ)for(;T<=K;)Tt(m[T],P,F,!0),T++;else{const it=T,ct=T,Ct=new Map;for(T=ct;T<=J;T++){const re=y[T]=H?nn(y[T]):Re(y[T]);re.key!=null&&Ct.set(re.key,T)}let Mt,Ht=0;const ye=J-ct+1;let Wn=!1,rl=0;const vs=new Array(ye);for(T=0;T=ye){Tt(re,P,F,!0);continue}let Ee;if(re.key!=null)Ee=Ct.get(re.key);else for(Mt=ct;Mt<=J;Mt++)if(vs[Mt-ct]===0&&Pn(re,y[Mt])){Ee=Mt;break}Ee===void 0?Tt(re,P,F,!0):(vs[Ee-ct]=T+1,Ee>=rl?rl=Ee:Wn=!0,g(re,y[Ee],k,null,P,F,z,I,H),Ht++)}const ol=Wn?Sg(vs):Jn;for(Mt=ol.length-1,T=ye-1;T>=0;T--){const re=ct+T,Ee=y[re],al=re+1{const{el:F,type:z,transition:I,children:H,shapeFlag:T}=m;if(T&6){Kt(m.component.subTree,y,k,C);return}if(T&128){m.suspense.move(y,k,C);return}if(T&64){z.move(m,y,k,pt);return}if(z===Nt){s(F,y,k);for(let K=0;KI.enter(F),P);else{const{leave:K,delayLeave:J,afterLeave:it}=I,ct=()=>s(F,y,k),Ct=()=>{K(F,()=>{ct(),it&&it()})};J?J(F,ct,Ct):Ct()}else s(F,y,k)},Tt=(m,y,k,C=!1,P=!1)=>{const{type:F,props:z,ref:I,children:H,dynamicChildren:T,shapeFlag:Z,patchFlag:K,dirs:J}=m;if(I!=null&&No(I,null,k,m,!0),Z&256){y.ctx.deactivate(m);return}const it=Z&1&&J,ct=!Ds(m);let Ct;if(ct&&(Ct=z&&z.onVnodeBeforeUnmount)&&Pe(Ct,y,m),Z&6)E(m.component,k,C);else{if(Z&128){m.suspense.unmount(k,C);return}it&&yn(m,null,y,"beforeUnmount"),Z&64?m.type.remove(m,y,k,P,pt,C):T&&(F!==Nt||K>0&&K&64)?$(T,y,k,!1,!0):(F===Nt&&K&384||!P&&Z&16)&&$(H,y,k),C&&ce(m)}(ct&&(Ct=z&&z.onVnodeUnmounted)||it)&&te(()=>{Ct&&Pe(Ct,y,m),it&&yn(m,null,y,"unmounted")},k)},ce=m=>{const{type:y,el:k,anchor:C,transition:P}=m;if(y===Nt){Ye(k,C);return}if(y===Ii){M(m);return}const F=()=>{i(k),P&&!P.persisted&&P.afterLeave&&P.afterLeave()};if(m.shapeFlag&1&&P&&!P.persisted){const{leave:z,delayLeave:I}=P,H=()=>z(k,F);I?I(m.el,F,H):H()}else F()},Ye=(m,y)=>{let k;for(;m!==y;)k=h(m),i(m),m=k;i(y)},E=(m,y,k)=>{const{bum:C,scope:P,update:F,subTree:z,um:I}=m;C&&Ti(C),P.stop(),F&&(F.active=!1,Tt(z,m,y,k)),I&&te(I,y),te(()=>{m.isUnmounted=!0},y),y&&y.pendingBranch&&!y.isUnmounted&&m.asyncDep&&!m.asyncResolved&&m.suspenseId===y.pendingId&&(y.deps--,y.deps===0&&y.resolve())},$=(m,y,k,C=!1,P=!1,F=0)=>{for(let z=F;zm.shapeFlag&6?N(m.component.subTree):m.shapeFlag&128?m.suspense.next():h(m.anchor||m.el),G=(m,y,k)=>{m==null?y._vnode&&Tt(y._vnode,null,null,!0):g(y._vnode||null,m,y,null,null,null,k),bl(),bf(),y._vnode=m},pt={p:g,um:Tt,m:Kt,r:ce,mt:nt,mc:S,pc:lt,pbc:B,n:N,o:e};let Pt,at;return t&&([Pt,at]=t(pt)),{render:G,hydrate:Pt,createApp:wg(G,Pt)}}function xn({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Hf(e,t,n=!1){const s=e.children,i=t.children;if(Q(s)&&Q(i))for(let r=0;r>1,e[n[a]]0&&(t[s]=n[r-1]),n[r]=s)}}for(r=n.length,o=n[r-1];r-- >0;)n[r]=o,o=t[o];return n}const Cg=e=>e.__isTeleport,Nt=Symbol(void 0),kr=Symbol(void 0),me=Symbol(void 0),Ii=Symbol(void 0),Fs=[];let Me=null;function W(e=!1){Fs.push(Me=e?null:[])}function Ag(){Fs.pop(),Me=Fs[Fs.length-1]||null}let Gs=1;function Al(e){Gs+=e}function Vf(e){return e.dynamicChildren=Gs>0?Me||Jn:null,Ag(),Gs>0&&Me&&Me.push(e),e}function ut(e,t,n,s,i,r){return Vf(j(e,t,n,s,i,r,!0))}function _t(e,t,n,s,i){return Vf(V(e,t,n,s,i,!0))}function Yi(e){return e?e.__v_isVNode===!0:!1}function Pn(e,t){return e.type===t.type&&e.key===t.key}const Sr="__vInternal",Nf=({key:e})=>e!=null?e:null,Fi=({ref:e,ref_key:t,ref_for:n})=>e!=null?Bt(e)||It(e)||rt(e)?{i:zt,r:e,k:t,f:!!n}:e:null;function j(e,t=null,n=null,s=0,i=null,r=e===Nt?0:1,o=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Nf(t),ref:t&&Fi(t),scopeId:xf,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:r,patchFlag:s,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:zt};return a?(Ma(l,n),r&128&&e.normalize(l)):n&&(l.shapeFlag|=Bt(n)?8:16),Gs>0&&!o&&Me&&(l.patchFlag>0||r&6)&&l.patchFlag!==32&&Me.push(l),l}const V=Eg;function Eg(e,t=null,n=null,s=0,i=null,r=!1){if((!e||e===Pf)&&(e=me),Yi(e)){const a=dn(e,t,!0);return n&&Ma(a,n),Gs>0&&!r&&Me&&(a.shapeFlag&6?Me[Me.indexOf(e)]=a:Me.push(a)),a.patchFlag|=-2,a}if(Vg(e)&&(e=e.__vccOpts),t){t=Pg(t);let{class:a,style:l}=t;a&&!Bt(a)&&(t.class=ot(a)),St(l)&&(cf(l)&&!Q(l)&&(l=Ut({},l)),t.style=si(l))}const o=Bt(e)?1:Kp(e)?128:Cg(e)?64:St(e)?4:rt(e)?2:0;return j(e,t,n,s,i,o,r,!0)}function Pg(e){return e?cf(e)||Sr in e?Ut({},e):e:null}function dn(e,t,n=!1){const{props:s,ref:i,patchFlag:r,children:o}=e,a=t?Lg(s||{},t):s;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:a,key:a&&Nf(a),ref:t&&t.ref?n&&i?Q(i)?i.concat(Fi(t)):[i,Fi(t)]:Fi(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:o,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Nt?r===-1?16:r|16:r,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&dn(e.ssContent),ssFallback:e.ssFallback&&dn(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function Vn(e=" ",t=0){return V(kr,null,e,t)}function Og(e,t){const n=V(Ii,null,e);return n.staticCount=t,n}function Ft(e="",t=!1){return t?(W(),_t(me,null,e)):V(me,null,e)}function Re(e){return e==null||typeof e=="boolean"?V(me):Q(e)?V(Nt,null,e.slice()):typeof e=="object"?nn(e):V(kr,null,String(e))}function nn(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:dn(e)}function Ma(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(Q(t))n=16;else if(typeof t=="object")if(s&65){const i=t.default;i&&(i._c&&(i._d=!1),Ma(e,i()),i._c&&(i._d=!0));return}else{n=32;const i=t._;!i&&!(Sr in t)?t._ctx=zt:i===3&&zt&&(zt.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else rt(t)?(t={default:t,_ctx:zt},n=32):(t=String(t),s&64?(n=16,t=[Vn(t)]):n=8);e.children=t,e.shapeFlag|=n}function Lg(...e){const t={};for(let n=0;nDt||zt,is=e=>{Dt=e,e.scope.on()},Fn=()=>{Dt&&Dt.scope.off(),Dt=null};function $f(e){return e.vnode.shapeFlag&4}let Zs=!1;function Ig(e,t=!1){Zs=t;const{props:n,children:s}=e.vnode,i=$f(e);mg(e,n,i,t),yg(e,s);const r=i?Fg(e,t):void 0;return Zs=!1,r}function Fg(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=ss(new Proxy(e.ctx,ug));const{setup:s}=n;if(s){const i=e.setupContext=s.length>1?jf(e):null;is(e),gs();const r=un(s,e,0,[e.props,i]);if(ms(),Fn(),Uu(r)){if(r.then(Fn,Fn),t)return r.then(o=>{El(e,o,t)}).catch(o=>{_r(o,e,0)});e.asyncDep=r}else El(e,r,t)}else zf(e,t)}function El(e,t,n){rt(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:St(t)&&(e.setupState=df(t)),zf(e,n)}let Pl;function zf(e,t,n){const s=e.type;if(!e.render){if(!t&&Pl&&!s.render){const i=s.template||va(e).template;if(i){const{isCustomElement:r,compilerOptions:o}=e.appContext.config,{delimiters:a,compilerOptions:l}=s,c=Ut(Ut({isCustomElement:r,delimiters:a},o),l);s.render=Pl(i,c)}}e.render=s.render||Se}is(e),gs(),fg(e),ms(),Fn()}function Bg(e){return new Proxy(e.attrs,{get(t,n){return ne(e,"get","$attrs"),t[n]}})}function jf(e){const t=s=>{e.exposed=s||{}};let n;return{get attrs(){return n||(n=Bg(e))},slots:e.slots,emit:e.emit,expose:t}}function Cr(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(df(ss(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Is)return Is[n](e)},has(t,n){return n in t||n in Is}}))}function Hg(e,t=!0){return rt(e)?e.displayName||e.name:e.name||t&&e.__name}function Vg(e){return rt(e)&&"__vccOpts"in e}const st=(e,t)=>Fp(e,t,Zs);function Sa(){return Ng().slots}function Ng(){const e=ka();return e.setupContext||(e.setupContext=jf(e))}function We(e,t,n){const s=arguments.length;return s===2?St(t)&&!Q(t)?Yi(t)?V(e,null,[t]):V(e,t):V(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&Yi(n)&&(n=[n]),V(e,t,n))}const $g=Symbol(""),zg=()=>ge($g),jg="3.2.47",Wg="http://www.w3.org/2000/svg",On=typeof document<"u"?document:null,Ol=On&&On.createElement("template"),Ug={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const i=t?On.createElementNS(Wg,e):On.createElement(e,n?{is:n}:void 0);return e==="select"&&s&&s.multiple!=null&&i.setAttribute("multiple",s.multiple),i},createText:e=>On.createTextNode(e),createComment:e=>On.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>On.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,i,r){const o=n?n.previousSibling:t.lastChild;if(i&&(i===r||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),n),!(i===r||!(i=i.nextSibling)););else{Ol.innerHTML=s?`${e}`:e;const a=Ol.content;if(s){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}t.insertBefore(a,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};function qg(e,t,n){const s=e._vtc;s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}function Kg(e,t,n){const s=e.style,i=Bt(n);if(n&&!i){if(t&&!Bt(t))for(const r in t)n[r]==null&&$o(s,r,"");for(const r in n)$o(s,r,n[r])}else{const r=s.display;i?t!==n&&(s.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(s.display=r)}}const Ll=/\s*!important$/;function $o(e,t,n){if(Q(n))n.forEach(s=>$o(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=Yg(e,t);Ll.test(n)?e.setProperty(ps(s),n.replace(Ll,""),"important"):e[s]=n}}const Rl=["Webkit","Moz","ms"],Kr={};function Yg(e,t){const n=Kr[t];if(n)return n;let s=Fe(t);if(s!=="filter"&&s in e)return Kr[t]=s;s=mr(s);for(let i=0;iYr||(tm.then(()=>Yr=0),Yr=Date.now());function nm(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;pe(sm(s,n.value),t,5,[s])};return n.value=e,n.attached=em(),n}function sm(e,t){if(Q(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>i=>!i._stopped&&s&&s(i))}else return t}const Il=/^on[a-z]/,im=(e,t,n,s,i=!1,r,o,a,l)=>{t==="class"?qg(e,s,i):t==="style"?Kg(e,n,s):pr(t)?aa(t)||Jg(e,t,n,s,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):rm(e,t,s,i))?Gg(e,t,s,r,o,a,l):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),Xg(e,t,s,i))};function rm(e,t,n,s){return s?!!(t==="innerHTML"||t==="textContent"||t in e&&Il.test(t)&&rt(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||Il.test(t)&&Bt(n)?!1:t in e}const Ge="transition",ws="animation",Xi=(e,{slots:t})=>We(Mf,om(e),t);Xi.displayName="Transition";const Wf={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};Xi.props=Ut({},Mf.props,Wf);const vn=(e,t=[])=>{Q(e)?e.forEach(n=>n(...t)):e&&e(...t)},Fl=e=>e?Q(e)?e.some(t=>t.length>1):e.length>1:!1;function om(e){const t={};for(const O in e)O in Wf||(t[O]=e[O]);if(e.css===!1)return t;const{name:n="v",type:s,duration:i,enterFromClass:r=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:l=r,appearActiveClass:c=o,appearToClass:u=a,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:h=`${n}-leave-active`,leaveToClass:d=`${n}-leave-to`}=e,p=am(i),g=p&&p[0],b=p&&p[1],{onBeforeEnter:_,onEnter:v,onEnterCancelled:w,onLeave:M,onLeaveCancelled:x,onBeforeAppear:L=_,onAppear:A=v,onAppearCancelled:S=w}=t,R=(O,X,nt)=>{wn(O,X?u:a),wn(O,X?c:o),nt&&nt()},B=(O,X)=>{O._isLeaving=!1,wn(O,f),wn(O,d),wn(O,h),X&&X()},Y=O=>(X,nt)=>{const U=O?A:v,tt=()=>R(X,O,nt);vn(U,[X,tt]),Bl(()=>{wn(X,O?l:r),Ze(X,O?u:a),Fl(U)||Hl(X,s,g,tt)})};return Ut(t,{onBeforeEnter(O){vn(_,[O]),Ze(O,r),Ze(O,o)},onBeforeAppear(O){vn(L,[O]),Ze(O,l),Ze(O,c)},onEnter:Y(!1),onAppear:Y(!0),onLeave(O,X){O._isLeaving=!0;const nt=()=>B(O,X);Ze(O,f),um(),Ze(O,h),Bl(()=>{!O._isLeaving||(wn(O,f),Ze(O,d),Fl(M)||Hl(O,s,b,nt))}),vn(M,[O,nt])},onEnterCancelled(O){R(O,!1),vn(w,[O])},onAppearCancelled(O){R(O,!0),vn(S,[O])},onLeaveCancelled(O){B(O),vn(x,[O])}})}function am(e){if(e==null)return null;if(St(e))return[Xr(e.enter),Xr(e.leave)];{const t=Xr(e);return[t,t]}}function Xr(e){return Zd(e)}function Ze(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e._vtc||(e._vtc=new Set)).add(t)}function wn(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const{_vtc:n}=e;n&&(n.delete(t),n.size||(e._vtc=void 0))}function Bl(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let lm=0;function Hl(e,t,n,s){const i=e._endId=++lm,r=()=>{i===e._endId&&s()};if(n)return setTimeout(r,n);const{type:o,timeout:a,propCount:l}=cm(e,t);if(!o)return s();const c=o+"end";let u=0;const f=()=>{e.removeEventListener(c,h),r()},h=d=>{d.target===e&&++u>=l&&f()};setTimeout(()=>{u(n[p]||"").split(", "),i=s(`${Ge}Delay`),r=s(`${Ge}Duration`),o=Vl(i,r),a=s(`${ws}Delay`),l=s(`${ws}Duration`),c=Vl(a,l);let u=null,f=0,h=0;t===Ge?o>0&&(u=Ge,f=o,h=r.length):t===ws?c>0&&(u=ws,f=c,h=l.length):(f=Math.max(o,c),u=f>0?o>c?Ge:ws:null,h=u?u===Ge?r.length:l.length:0);const d=u===Ge&&/\b(transform|all)(,|$)/.test(s(`${Ge}Property`).toString());return{type:u,timeout:f,propCount:h,hasTransform:d}}function Vl(e,t){for(;e.lengthNl(n)+Nl(e[s])))}function Nl(e){return Number(e.slice(0,-1).replace(",","."))*1e3}function um(){return document.body.offsetHeight}const pn=e=>{const t=e.props["onUpdate:modelValue"]||!1;return Q(t)?n=>Ti(t,n):t};function fm(e){e.target.composing=!0}function $l(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const zl={created(e,{modifiers:{lazy:t,trim:n,number:s}},i){e._assign=pn(i);const r=s||i.props&&i.props.type==="number";je(e,t?"change":"input",o=>{if(o.target.composing)return;let a=e.value;n&&(a=a.trim()),r&&(a=zi(a)),e._assign(a)}),n&&je(e,"change",()=>{e.value=e.value.trim()}),t||(je(e,"compositionstart",fm),je(e,"compositionend",$l),je(e,"change",$l))},mounted(e,{value:t}){e.value=t==null?"":t},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:s,number:i}},r){if(e._assign=pn(r),e.composing||document.activeElement===e&&e.type!=="range"&&(n||s&&e.value.trim()===t||(i||e.type==="number")&&zi(e.value)===t))return;const o=t==null?"":t;e.value!==o&&(e.value=o)}},hm={deep:!0,created(e,t,n){e._assign=pn(n),je(e,"change",()=>{const s=e._modelValue,i=rs(e),r=e.checked,o=e._assign;if(Q(s)){const a=oa(s,i),l=a!==-1;if(r&&!l)o(s.concat(i));else if(!r&&l){const c=[...s];c.splice(a,1),o(c)}}else if(ds(s)){const a=new Set(s);r?a.add(i):a.delete(i),o(a)}else o(Uf(e,r))})},mounted:jl,beforeUpdate(e,t,n){e._assign=pn(n),jl(e,t,n)}};function jl(e,{value:t,oldValue:n},s){e._modelValue=t,Q(t)?e.checked=oa(t,s.props.value)>-1:ds(t)?e.checked=t.has(s.props.value):t!==n&&(e.checked=Hn(t,Uf(e,!0)))}const dm={created(e,{value:t},n){e.checked=Hn(t,n.props.value),e._assign=pn(n),je(e,"change",()=>{e._assign(rs(e))})},beforeUpdate(e,{value:t,oldValue:n},s){e._assign=pn(s),t!==n&&(e.checked=Hn(t,s.props.value))}},pm={deep:!0,created(e,{value:t,modifiers:{number:n}},s){const i=ds(t);je(e,"change",()=>{const r=Array.prototype.filter.call(e.options,o=>o.selected).map(o=>n?zi(rs(o)):rs(o));e._assign(e.multiple?i?new Set(r):r:r[0])}),e._assign=pn(s)},mounted(e,{value:t}){Wl(e,t)},beforeUpdate(e,t,n){e._assign=pn(n)},updated(e,{value:t}){Wl(e,t)}};function Wl(e,t){const n=e.multiple;if(!(n&&!Q(t)&&!ds(t))){for(let s=0,i=e.options.length;s-1:r.selected=t.has(o);else if(Hn(rs(r),t)){e.selectedIndex!==s&&(e.selectedIndex=s);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function rs(e){return"_value"in e?e._value:e.value}function Uf(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const aw={created(e,t,n){mi(e,t,n,null,"created")},mounted(e,t,n){mi(e,t,n,null,"mounted")},beforeUpdate(e,t,n,s){mi(e,t,n,s,"beforeUpdate")},updated(e,t,n,s){mi(e,t,n,s,"updated")}};function gm(e,t){switch(e){case"SELECT":return pm;case"TEXTAREA":return zl;default:switch(t){case"checkbox":return hm;case"radio":return dm;default:return zl}}}function mi(e,t,n,s,i){const o=gm(e.tagName,n.props&&n.props.type)[i];o&&o(e,t,n,s)}const mm=["ctrl","shift","alt","meta"],bm={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>mm.some(n=>e[`${n}Key`]&&!t.includes(n))},Gi=(e,t)=>(n,...s)=>{for(let i=0;i{Ms(e,!1)}):Ms(e,t))},beforeUnmount(e,{value:t}){Ms(e,t)}};function Ms(e,t){e.style.display=t?e._vod:"none"}const ym=Ut({patchProp:im},Ug);let Ul;function xm(){return Ul||(Ul=Mg(ym))}const vm=(...e)=>{const t=xm().createApp(...e),{mount:n}=t;return t.mount=s=>{const i=wm(s);if(!i)return;const r=t._component;!rt(r)&&!r.render&&!r.template&&(r.template=i.innerHTML),i.innerHTML="";const o=n(i,!1,i instanceof SVGElement);return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),o},t};function wm(e){return Bt(e)?document.querySelector(e):e}var Mm=!1;/*! + * pinia v2.0.33 + * (c) 2023 Eduardo San Martin Morote + * @license MIT + */let qf;const Ar=e=>qf=e,Kf=Symbol();function zo(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var Bs;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(Bs||(Bs={}));function km(){const e=Xu(!0),t=e.run(()=>Jt({}));let n=[],s=[];const i=ss({install(r){Ar(i),i._a=r,r.provide(Kf,i),r.config.globalProperties.$pinia=i,s.forEach(o=>n.push(o)),s=[]},use(r){return!this._a&&!Mm?s.push(r):n.push(r),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return i}const Yf=()=>{};function ql(e,t,n,s=Yf){e.push(t);const i=()=>{const r=e.indexOf(t);r>-1&&(e.splice(r,1),s())};return!n&&Gu()&&tp(i),i}function Un(e,...t){e.slice().forEach(n=>{n(...t)})}function jo(e,t){e instanceof Map&&t instanceof Map&&t.forEach((n,s)=>e.set(s,n)),e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const s=t[n],i=e[n];zo(i)&&zo(s)&&e.hasOwnProperty(n)&&!It(s)&&!cn(s)?e[n]=jo(i,s):e[n]=s}return e}const Sm=Symbol();function Cm(e){return!zo(e)||!e.hasOwnProperty(Sm)}const{assign:tn}=Object;function Am(e){return!!(It(e)&&e.effect)}function Em(e,t,n,s){const{state:i,actions:r,getters:o}=t,a=n.state.value[e];let l;function c(){a||(n.state.value[e]=i?i():{});const u=Rp(n.state.value[e]);return tn(u,r,Object.keys(o||{}).reduce((f,h)=>(f[h]=ss(st(()=>{Ar(n);const d=n._s.get(e);return o[h].call(d,d)})),f),{}))}return l=Xf(e,c,t,n,s,!0),l}function Xf(e,t,n={},s,i,r){let o;const a=tn({actions:{}},n),l={deep:!0};let c,u,f=ss([]),h=ss([]),d;const p=s.state.value[e];!r&&!p&&(s.state.value[e]={}),Jt({});let g;function b(A){let S;c=u=!1,typeof A=="function"?(A(s.state.value[e]),S={type:Bs.patchFunction,storeId:e,events:d}):(jo(s.state.value[e],A),S={type:Bs.patchObject,payload:A,storeId:e,events:d});const R=g=Symbol();_a().then(()=>{g===R&&(c=!0)}),u=!0,Un(f,S,s.state.value[e])}const _=r?function(){const{state:S}=n,R=S?S():{};this.$patch(B=>{tn(B,R)})}:Yf;function v(){o.stop(),f=[],h=[],s._s.delete(e)}function w(A,S){return function(){Ar(s);const R=Array.from(arguments),B=[],Y=[];function O(U){B.push(U)}function X(U){Y.push(U)}Un(h,{args:R,name:A,store:x,after:O,onError:X});let nt;try{nt=S.apply(this&&this.$id===e?this:x,R)}catch(U){throw Un(Y,U),U}return nt instanceof Promise?nt.then(U=>(Un(B,U),U)).catch(U=>(Un(Y,U),Promise.reject(U))):(Un(B,nt),nt)}}const M={_p:s,$id:e,$onAction:ql.bind(null,h),$patch:b,$reset:_,$subscribe(A,S={}){const R=ql(f,A,S.detached,()=>B()),B=o.run(()=>In(()=>s.state.value[e],Y=>{(S.flush==="sync"?u:c)&&A({storeId:e,type:Bs.direct,events:d},Y)},tn({},l,S)));return R},$dispose:v},x=bs(M);s._s.set(e,x);const L=s._e.run(()=>(o=Xu(),o.run(()=>t())));for(const A in L){const S=L[A];if(It(S)&&!Am(S)||cn(S))r||(p&&Cm(S)&&(It(S)?S.value=p[A]:jo(S,p[A])),s.state.value[e][A]=S);else if(typeof S=="function"){const R=w(A,S);L[A]=R,a.actions[A]=S}}return tn(x,L),tn(dt(x),L),Object.defineProperty(x,"$state",{get:()=>s.state.value[e],set:A=>{b(S=>{tn(S,A)})}}),s._p.forEach(A=>{tn(x,o.run(()=>A({store:x,app:s._a,pinia:s,options:a})))}),p&&r&&n.hydrate&&n.hydrate(x.$state,p),c=!0,u=!0,x}function Gf(e,t,n){let s,i;const r=typeof t=="function";typeof e=="string"?(s=e,i=r?n:t):(i=e,s=e.id);function o(a,l){const c=ka();return a=a||c&&ge(Kf,null),a&&Ar(a),a=qf,a._s.has(s)||(r?Xf(s,t,i,a):Em(s,i,a)),a._s.get(s)}return o.$id=s,o}/*! + * vue-router v4.1.6 + * (c) 2022 Eduardo San Martin Morote + * @license MIT + */const Zn=typeof window<"u";function Pm(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const vt=Object.assign;function Gr(e,t){const n={};for(const s in t){const i=t[s];n[s]=Ce(i)?i.map(e):e(i)}return n}const Hs=()=>{},Ce=Array.isArray,Om=/\/$/,Lm=e=>e.replace(Om,"");function Zr(e,t,n="/"){let s,i={},r="",o="";const a=t.indexOf("#");let l=t.indexOf("?");return a=0&&(l=-1),l>-1&&(s=t.slice(0,l),r=t.slice(l+1,a>-1?a:t.length),i=e(r)),a>-1&&(s=s||t.slice(0,a),o=t.slice(a,t.length)),s=Im(s!=null?s:t,n),{fullPath:s+(r&&"?")+r+o,path:s,query:i,hash:o}}function Rm(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Kl(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Tm(e,t,n){const s=t.matched.length-1,i=n.matched.length-1;return s>-1&&s===i&&os(t.matched[s],n.matched[i])&&Zf(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function os(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Zf(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Dm(e[n],t[n]))return!1;return!0}function Dm(e,t){return Ce(e)?Yl(e,t):Ce(t)?Yl(t,e):e===t}function Yl(e,t){return Ce(t)?e.length===t.length&&e.every((n,s)=>n===t[s]):e.length===1&&e[0]===t}function Im(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),s=e.split("/");let i=n.length-1,r,o;for(r=0;r1&&i--;else break;return n.slice(0,i).join("/")+"/"+s.slice(r-(r===s.length?1:0)).join("/")}var Js;(function(e){e.pop="pop",e.push="push"})(Js||(Js={}));var Vs;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Vs||(Vs={}));function Fm(e){if(!e)if(Zn){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Lm(e)}const Bm=/^[^#]+#/;function Hm(e,t){return e.replace(Bm,"#")+t}function Vm(e,t){const n=document.documentElement.getBoundingClientRect(),s=e.getBoundingClientRect();return{behavior:t.behavior,left:s.left-n.left-(t.left||0),top:s.top-n.top-(t.top||0)}}const Er=()=>({left:window.pageXOffset,top:window.pageYOffset});function Nm(e){let t;if("el"in e){const n=e.el,s=typeof n=="string"&&n.startsWith("#"),i=typeof n=="string"?s?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!i)return;t=Vm(i,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function Xl(e,t){return(history.state?history.state.position-t:-1)+e}const Wo=new Map;function $m(e,t){Wo.set(e,t)}function zm(e){const t=Wo.get(e);return Wo.delete(e),t}let jm=()=>location.protocol+"//"+location.host;function Jf(e,t){const{pathname:n,search:s,hash:i}=t,r=e.indexOf("#");if(r>-1){let a=i.includes(e.slice(r))?e.slice(r).length:1,l=i.slice(a);return l[0]!=="/"&&(l="/"+l),Kl(l,"")}return Kl(n,e)+s+i}function Wm(e,t,n,s){let i=[],r=[],o=null;const a=({state:h})=>{const d=Jf(e,location),p=n.value,g=t.value;let b=0;if(h){if(n.value=d,t.value=h,o&&o===p){o=null;return}b=g?h.position-g.position:0}else s(d);i.forEach(_=>{_(n.value,p,{delta:b,type:Js.pop,direction:b?b>0?Vs.forward:Vs.back:Vs.unknown})})};function l(){o=n.value}function c(h){i.push(h);const d=()=>{const p=i.indexOf(h);p>-1&&i.splice(p,1)};return r.push(d),d}function u(){const{history:h}=window;!h.state||h.replaceState(vt({},h.state,{scroll:Er()}),"")}function f(){for(const h of r)h();r=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",u),{pauseListeners:l,listen:c,destroy:f}}function Gl(e,t,n,s=!1,i=!1){return{back:e,current:t,forward:n,replaced:s,position:window.history.length,scroll:i?Er():null}}function Um(e){const{history:t,location:n}=window,s={value:Jf(e,n)},i={value:t.state};i.value||r(s.value,{back:null,current:s.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function r(l,c,u){const f=e.indexOf("#"),h=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+l:jm()+e+l;try{t[u?"replaceState":"pushState"](c,"",h),i.value=c}catch(d){console.error(d),n[u?"replace":"assign"](h)}}function o(l,c){const u=vt({},t.state,Gl(i.value.back,l,i.value.forward,!0),c,{position:i.value.position});r(l,u,!0),s.value=l}function a(l,c){const u=vt({},i.value,t.state,{forward:l,scroll:Er()});r(u.current,u,!0);const f=vt({},Gl(s.value,l,null),{position:u.position+1},c);r(l,f,!1),s.value=l}return{location:s,state:i,push:a,replace:o}}function qm(e){e=Fm(e);const t=Um(e),n=Wm(e,t.state,t.location,t.replace);function s(r,o=!0){o||n.pauseListeners(),history.go(r)}const i=vt({location:"",base:e,go:s,createHref:Hm.bind(null,e)},t,n);return Object.defineProperty(i,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(i,"state",{enumerable:!0,get:()=>t.state.value}),i}function Km(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),qm(e)}function Ym(e){return typeof e=="string"||e&&typeof e=="object"}function Qf(e){return typeof e=="string"||typeof e=="symbol"}const Je={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},th=Symbol("");var Zl;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Zl||(Zl={}));function as(e,t){return vt(new Error,{type:e,[th]:!0},t)}function Be(e,t){return e instanceof Error&&th in e&&(t==null||!!(e.type&t))}const Jl="[^/]+?",Xm={sensitive:!1,strict:!1,start:!0,end:!0},Gm=/[.+*?^${}()[\]/\\]/g;function Zm(e,t){const n=vt({},Xm,t),s=[];let i=n.start?"^":"";const r=[];for(const c of e){const u=c.length?[]:[90];n.strict&&!c.length&&(i+="/");for(let f=0;ft.length?t.length===1&&t[0]===40+40?1:-1:0}function Qm(e,t){let n=0;const s=e.score,i=t.score;for(;n0&&t[t.length-1]<0}const t1={type:0,value:""},e1=/[a-zA-Z0-9_]/;function n1(e){if(!e)return[[]];if(e==="/")return[[t1]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(d){throw new Error(`ERR (${n})/"${c}": ${d}`)}let n=0,s=n;const i=[];let r;function o(){r&&i.push(r),r=[]}let a=0,l,c="",u="";function f(){!c||(n===0?r.push({type:0,value:c}):n===1||n===2||n===3?(r.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),r.push({type:1,value:c,regexp:u,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),c="")}function h(){c+=l}for(;a{o(v)}:Hs}function o(u){if(Qf(u)){const f=s.get(u);f&&(s.delete(u),n.splice(n.indexOf(f),1),f.children.forEach(o),f.alias.forEach(o))}else{const f=n.indexOf(u);f>-1&&(n.splice(f,1),u.record.name&&s.delete(u.record.name),u.children.forEach(o),u.alias.forEach(o))}}function a(){return n}function l(u){let f=0;for(;f=0&&(u.record.path!==n[f].record.path||!eh(u,n[f]));)f++;n.splice(f,0,u),u.record.name&&!ec(u)&&s.set(u.record.name,u)}function c(u,f){let h,d={},p,g;if("name"in u&&u.name){if(h=s.get(u.name),!h)throw as(1,{location:u});g=h.record.name,d=vt(tc(f.params,h.keys.filter(v=>!v.optional).map(v=>v.name)),u.params&&tc(u.params,h.keys.map(v=>v.name))),p=h.stringify(d)}else if("path"in u)p=u.path,h=n.find(v=>v.re.test(p)),h&&(d=h.parse(p),g=h.record.name);else{if(h=f.name?s.get(f.name):n.find(v=>v.re.test(f.path)),!h)throw as(1,{location:u,currentLocation:f});g=h.record.name,d=vt({},f.params,u.params),p=h.stringify(d)}const b=[];let _=h;for(;_;)b.unshift(_.record),_=_.parent;return{name:g,path:p,params:d,matched:b,meta:a1(b)}}return e.forEach(u=>r(u)),{addRoute:r,resolve:c,removeRoute:o,getRoutes:a,getRecordMatcher:i}}function tc(e,t){const n={};for(const s of t)s in e&&(n[s]=e[s]);return n}function r1(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:o1(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function o1(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const s in e.components)t[s]=typeof n=="boolean"?n:n[s];return t}function ec(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function a1(e){return e.reduce((t,n)=>vt(t,n.meta),{})}function nc(e,t){const n={};for(const s in e)n[s]=s in t?t[s]:e[s];return n}function eh(e,t){return t.children.some(n=>n===e||eh(e,n))}const nh=/#/g,l1=/&/g,c1=/\//g,u1=/=/g,f1=/\?/g,sh=/\+/g,h1=/%5B/g,d1=/%5D/g,ih=/%5E/g,p1=/%60/g,rh=/%7B/g,g1=/%7C/g,oh=/%7D/g,m1=/%20/g;function Ca(e){return encodeURI(""+e).replace(g1,"|").replace(h1,"[").replace(d1,"]")}function b1(e){return Ca(e).replace(rh,"{").replace(oh,"}").replace(ih,"^")}function Uo(e){return Ca(e).replace(sh,"%2B").replace(m1,"+").replace(nh,"%23").replace(l1,"%26").replace(p1,"`").replace(rh,"{").replace(oh,"}").replace(ih,"^")}function _1(e){return Uo(e).replace(u1,"%3D")}function y1(e){return Ca(e).replace(nh,"%23").replace(f1,"%3F")}function x1(e){return e==null?"":y1(e).replace(c1,"%2F")}function Zi(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function v1(e){const t={};if(e===""||e==="?")return t;const s=(e[0]==="?"?e.slice(1):e).split("&");for(let i=0;ir&&Uo(r)):[s&&Uo(s)]).forEach(r=>{r!==void 0&&(t+=(t.length?"&":"")+n,r!=null&&(t+="="+r))})}return t}function w1(e){const t={};for(const n in e){const s=e[n];s!==void 0&&(t[n]=Ce(s)?s.map(i=>i==null?null:""+i):s==null?s:""+s)}return t}const M1=Symbol(""),ic=Symbol(""),Pr=Symbol(""),Aa=Symbol(""),qo=Symbol("");function ks(){let e=[];function t(s){return e.push(s),()=>{const i=e.indexOf(s);i>-1&&e.splice(i,1)}}function n(){e=[]}return{add:t,list:()=>e,reset:n}}function sn(e,t,n,s,i){const r=s&&(s.enterCallbacks[i]=s.enterCallbacks[i]||[]);return()=>new Promise((o,a)=>{const l=f=>{f===!1?a(as(4,{from:n,to:t})):f instanceof Error?a(f):Ym(f)?a(as(2,{from:t,to:f})):(r&&s.enterCallbacks[i]===r&&typeof f=="function"&&r.push(f),o())},c=e.call(s&&s.instances[i],t,n,l);let u=Promise.resolve(c);e.length<3&&(u=u.then(l)),u.catch(f=>a(f))})}function Jr(e,t,n,s){const i=[];for(const r of e)for(const o in r.components){let a=r.components[o];if(!(t!=="beforeRouteEnter"&&!r.instances[o]))if(k1(a)){const c=(a.__vccOpts||a)[t];c&&i.push(sn(c,n,s,r,o))}else{let l=a();i.push(()=>l.then(c=>{if(!c)return Promise.reject(new Error(`Couldn't resolve component "${o}" at "${r.path}"`));const u=Pm(c)?c.default:c;r.components[o]=u;const h=(u.__vccOpts||u)[t];return h&&sn(h,n,s,r,o)()}))}}return i}function k1(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function rc(e){const t=ge(Pr),n=ge(Aa),s=st(()=>t.resolve(D(e.to))),i=st(()=>{const{matched:l}=s.value,{length:c}=l,u=l[c-1],f=n.matched;if(!u||!f.length)return-1;const h=f.findIndex(os.bind(null,u));if(h>-1)return h;const d=oc(l[c-2]);return c>1&&oc(u)===d&&f[f.length-1].path!==d?f.findIndex(os.bind(null,l[c-2])):h}),r=st(()=>i.value>-1&&A1(n.params,s.value.params)),o=st(()=>i.value>-1&&i.value===n.matched.length-1&&Zf(n.params,s.value.params));function a(l={}){return C1(l)?t[D(e.replace)?"replace":"push"](D(e.to)).catch(Hs):Promise.resolve()}return{route:s,href:st(()=>s.value.href),isActive:r,isExactActive:o,navigate:a}}const S1=xr({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:rc,setup(e,{slots:t}){const n=bs(rc(e)),{options:s}=ge(Pr),i=st(()=>({[ac(e.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[ac(e.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const r=t.default&&t.default(n);return e.custom?r:We("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:i.value},r)}}}),Or=S1;function C1(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function A1(e,t){for(const n in t){const s=t[n],i=e[n];if(typeof s=="string"){if(s!==i)return!1}else if(!Ce(i)||i.length!==s.length||s.some((r,o)=>r!==i[o]))return!1}return!0}function oc(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const ac=(e,t,n)=>e!=null?e:t!=null?t:n,E1=xr({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const s=ge(qo),i=st(()=>e.route||s.value),r=ge(ic,0),o=st(()=>{let c=D(r);const{matched:u}=i.value;let f;for(;(f=u[c])&&!f.components;)c++;return c}),a=st(()=>i.value.matched[o.value]);Di(ic,st(()=>o.value+1)),Di(M1,a),Di(qo,i);const l=Jt();return In(()=>[l.value,a.value,e.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||!os(u,d)||!h)&&(u.enterCallbacks[f]||[]).forEach(g=>g(c))},{flush:"post"}),()=>{const c=i.value,u=e.name,f=a.value,h=f&&f.components[u];if(!h)return lc(n.default,{Component:h,route:c});const d=f.props[u],p=d?d===!0?c.params:typeof d=="function"?d(c):d:null,b=We(h,vt({},p,t,{onVnodeUnmounted:_=>{_.component.isUnmounted&&(f.instances[u]=null)},ref:l}));return lc(n.default,{Component:b,route:c})||b}}});function lc(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const ah=E1;function P1(e){const t=i1(e.routes,e),n=e.parseQuery||v1,s=e.stringifyQuery||sc,i=e.history,r=ks(),o=ks(),a=ks(),l=Pp(Je);let c=Je;Zn&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Gr.bind(null,E=>""+E),f=Gr.bind(null,x1),h=Gr.bind(null,Zi);function d(E,$){let N,G;return Qf(E)?(N=t.getRecordMatcher(E),G=$):G=E,t.addRoute(G,N)}function p(E){const $=t.getRecordMatcher(E);$&&t.removeRoute($)}function g(){return t.getRoutes().map(E=>E.record)}function b(E){return!!t.getRecordMatcher(E)}function _(E,$){if($=vt({},$||l.value),typeof E=="string"){const m=Zr(n,E,$.path),y=t.resolve({path:m.path},$),k=i.createHref(m.fullPath);return vt(m,y,{params:h(y.params),hash:Zi(m.hash),redirectedFrom:void 0,href:k})}let N;if("path"in E)N=vt({},E,{path:Zr(n,E.path,$.path).path});else{const m=vt({},E.params);for(const y in m)m[y]==null&&delete m[y];N=vt({},E,{params:f(E.params)}),$.params=f($.params)}const G=t.resolve(N,$),pt=E.hash||"";G.params=u(h(G.params));const Pt=Rm(s,vt({},E,{hash:b1(pt),path:G.path})),at=i.createHref(Pt);return vt({fullPath:Pt,hash:pt,query:s===sc?w1(E.query):E.query||{}},G,{redirectedFrom:void 0,href:at})}function v(E){return typeof E=="string"?Zr(n,E,l.value.path):vt({},E)}function w(E,$){if(c!==E)return as(8,{from:$,to:E})}function M(E){return A(E)}function x(E){return M(vt(v(E),{replace:!0}))}function L(E){const $=E.matched[E.matched.length-1];if($&&$.redirect){const{redirect:N}=$;let G=typeof N=="function"?N(E):N;return typeof G=="string"&&(G=G.includes("?")||G.includes("#")?G=v(G):{path:G},G.params={}),vt({query:E.query,hash:E.hash,params:"path"in G?{}:E.params},G)}}function A(E,$){const N=c=_(E),G=l.value,pt=E.state,Pt=E.force,at=E.replace===!0,m=L(N);if(m)return A(vt(v(m),{state:typeof m=="object"?vt({},pt,m.state):pt,force:Pt,replace:at}),$||N);const y=N;y.redirectedFrom=$;let k;return!Pt&&Tm(s,G,N)&&(k=as(16,{to:y,from:G}),Qt(G,G,!0,!1)),(k?Promise.resolve(k):R(y,G)).catch(C=>Be(C)?Be(C,2)?C:Gt(C):et(C,y,G)).then(C=>{if(C){if(Be(C,2))return A(vt({replace:at},v(C.to),{state:typeof C.to=="object"?vt({},pt,C.to.state):pt,force:Pt}),$||y)}else C=Y(y,G,!0,at,pt);return B(y,G,C),C})}function S(E,$){const N=w(E,$);return N?Promise.reject(N):Promise.resolve()}function R(E,$){let N;const[G,pt,Pt]=O1(E,$);N=Jr(G.reverse(),"beforeRouteLeave",E,$);for(const m of G)m.leaveGuards.forEach(y=>{N.push(sn(y,E,$))});const at=S.bind(null,E,$);return N.push(at),qn(N).then(()=>{N=[];for(const m of r.list())N.push(sn(m,E,$));return N.push(at),qn(N)}).then(()=>{N=Jr(pt,"beforeRouteUpdate",E,$);for(const m of pt)m.updateGuards.forEach(y=>{N.push(sn(y,E,$))});return N.push(at),qn(N)}).then(()=>{N=[];for(const m of E.matched)if(m.beforeEnter&&!$.matched.includes(m))if(Ce(m.beforeEnter))for(const y of m.beforeEnter)N.push(sn(y,E,$));else N.push(sn(m.beforeEnter,E,$));return N.push(at),qn(N)}).then(()=>(E.matched.forEach(m=>m.enterCallbacks={}),N=Jr(Pt,"beforeRouteEnter",E,$),N.push(at),qn(N))).then(()=>{N=[];for(const m of o.list())N.push(sn(m,E,$));return N.push(at),qn(N)}).catch(m=>Be(m,8)?m:Promise.reject(m))}function B(E,$,N){for(const G of a.list())G(E,$,N)}function Y(E,$,N,G,pt){const Pt=w(E,$);if(Pt)return Pt;const at=$===Je,m=Zn?history.state:{};N&&(G||at?i.replace(E.fullPath,vt({scroll:at&&m&&m.scroll},pt)):i.push(E.fullPath,pt)),l.value=E,Qt(E,$,N,at),Gt()}let O;function X(){O||(O=i.listen((E,$,N)=>{if(!Ye.listening)return;const G=_(E),pt=L(G);if(pt){A(vt(pt,{replace:!0}),G).catch(Hs);return}c=G;const Pt=l.value;Zn&&$m(Xl(Pt.fullPath,N.delta),Er()),R(G,Pt).catch(at=>Be(at,12)?at:Be(at,2)?(A(at.to,G).then(m=>{Be(m,20)&&!N.delta&&N.type===Js.pop&&i.go(-1,!1)}).catch(Hs),Promise.reject()):(N.delta&&i.go(-N.delta,!1),et(at,G,Pt))).then(at=>{at=at||Y(G,Pt,!1),at&&(N.delta&&!Be(at,8)?i.go(-N.delta,!1):N.type===Js.pop&&Be(at,20)&&i.go(-1,!1)),B(G,Pt,at)}).catch(Hs)}))}let nt=ks(),U=ks(),tt;function et(E,$,N){Gt(E);const G=U.list();return G.length?G.forEach(pt=>pt(E,$,N)):console.error(E),Promise.reject(E)}function lt(){return tt&&l.value!==Je?Promise.resolve():new Promise((E,$)=>{nt.add([E,$])})}function Gt(E){return tt||(tt=!E,X(),nt.list().forEach(([$,N])=>E?N(E):$()),nt.reset()),E}function Qt(E,$,N,G){const{scrollBehavior:pt}=e;if(!Zn||!pt)return Promise.resolve();const Pt=!N&&zm(Xl(E.fullPath,0))||(G||!N)&&history.state&&history.state.scroll||null;return _a().then(()=>pt(E,$,Pt)).then(at=>at&&Nm(at)).catch(at=>et(at,E,$))}const Kt=E=>i.go(E);let Tt;const ce=new Set,Ye={currentRoute:l,listening:!0,addRoute:d,removeRoute:p,hasRoute:b,getRoutes:g,resolve:_,options:e,push:M,replace:x,go:Kt,back:()=>Kt(-1),forward:()=>Kt(1),beforeEach:r.add,beforeResolve:o.add,afterEach:a.add,onError:U.add,isReady:lt,install(E){const $=this;E.component("RouterLink",Or),E.component("RouterView",ah),E.config.globalProperties.$router=$,Object.defineProperty(E.config.globalProperties,"$route",{enumerable:!0,get:()=>D(l)}),Zn&&!Tt&&l.value===Je&&(Tt=!0,M(i.location).catch(pt=>{}));const N={};for(const pt in Je)N[pt]=st(()=>l.value[pt]);E.provide(Pr,$),E.provide(Aa,bs(N)),E.provide(qo,l);const G=E.unmount;ce.add(E),E.unmount=function(){ce.delete(E),ce.size<1&&(c=Je,O&&O(),O=null,l.value=Je,Tt=!1,tt=!1),G()}}};return Ye}function qn(e){return e.reduce((t,n)=>t.then(()=>n()),Promise.resolve())}function O1(e,t){const n=[],s=[],i=[],r=Math.max(t.matched.length,e.matched.length);for(let o=0;oos(c,a))?s.push(a):n.push(a));const l=e.matched[o];l&&(t.matched.find(c=>os(c,l))||i.push(l))}return[n,s,i]}function L1(){return ge(Pr)}function lw(){return ge(Aa)}const R1={__name:"App",setup(e){return(t,n)=>(W(),_t(D(ah)))}},T1="modulepreload",D1=function(e){return"/"+e},cc={},Oe=function(t,n,s){if(!n||n.length===0)return t();const i=document.getElementsByTagName("link");return Promise.all(n.map(r=>{if(r=D1(r),r in cc)return;cc[r]=!0;const o=r.endsWith(".css"),a=o?'[rel="stylesheet"]':"";if(!!s)for(let u=i.length-1;u>=0;u--){const f=i[u];if(f.href===r&&(!o||f.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${r}"]${a}`))return;const c=document.createElement("link");if(c.rel=o?"stylesheet":T1,o||(c.as="script",c.crossOrigin=""),c.href=r,document.head.appendChild(c),o)return new Promise((u,f)=>{c.addEventListener("load",u),c.addEventListener("error",()=>f(new Error(`Unable to preload CSS for ${r}`)))})})).then(()=>t())};var I1="M12,4A4,4 0 0,1 16,8A4,4 0 0,1 12,12A4,4 0 0,1 8,8A4,4 0 0,1 12,4M12,14C16.42,14 20,15.79 20,18V20H4V18C4,15.79 7.58,14 12,14Z",cw="M15,4A4,4 0 0,0 11,8A4,4 0 0,0 15,12A4,4 0 0,0 19,8A4,4 0 0,0 15,4M15,5.9C16.16,5.9 17.1,6.84 17.1,8C17.1,9.16 16.16,10.1 15,10.1A2.1,2.1 0 0,1 12.9,8A2.1,2.1 0 0,1 15,5.9M1,10V12H9V10H1M15,13C12.33,13 7,14.33 7,17V20H23V17C23,14.33 17.67,13 15,13M15,14.9C17.97,14.9 21.1,16.36 21.1,17V18.1H8.9V17C8.9,16.36 12,14.9 15,14.9Z",F1="M13.07 10.41A5 5 0 0 0 13.07 4.59A3.39 3.39 0 0 1 15 4A3.5 3.5 0 0 1 15 11A3.39 3.39 0 0 1 13.07 10.41M5.5 7.5A3.5 3.5 0 1 1 9 11A3.5 3.5 0 0 1 5.5 7.5M7.5 7.5A1.5 1.5 0 1 0 9 6A1.5 1.5 0 0 0 7.5 7.5M16 17V19H2V17S2 13 9 13 16 17 16 17M14 17C13.86 16.22 12.67 15 9 15S4.07 16.31 4 17M15.95 13A5.32 5.32 0 0 1 18 17V19H22V17S22 13.37 15.94 13Z",uw="M15,4A4,4 0 0,0 11,8A4,4 0 0,0 15,12A4,4 0 0,0 19,8A4,4 0 0,0 15,4M15,5.9C16.16,5.9 17.1,6.84 17.1,8C17.1,9.16 16.16,10.1 15,10.1A2.1,2.1 0 0,1 12.9,8A2.1,2.1 0 0,1 15,5.9M4,7V10H1V12H4V15H6V12H9V10H6V7H4M15,13C12.33,13 7,14.33 7,17V20H23V17C23,14.33 17.67,13 15,13M15,14.9C17.97,14.9 21.1,16.36 21.1,17V18.1H8.9V17C8.9,16.36 12,14.9 15,14.9Z",B1="M15,14C12.33,14 7,15.33 7,18V20H23V18C23,15.33 17.67,14 15,14M15,12A4,4 0 0,0 19,8A4,4 0 0,0 15,4A4,4 0 0,0 11,8A4,4 0 0,0 15,12M5,13.28L7.45,14.77L6.8,11.96L9,10.08L6.11,9.83L5,7.19L3.87,9.83L1,10.08L3.18,11.96L2.5,14.77L5,13.28Z",fw="M16 14.5C16 15.6 15.7 18 13.8 20.8L13 16L13.9 14.1C13.3 14.1 12.7 14 12 14S10.7 14.1 10.1 14.1L11 16L10.2 20.8C8.3 18.1 8 15.6 8 14.5C5.6 15.2 4 16.5 4 18V22H20V18C20 16.5 18.4 15.2 16 14.5M6 4.5C6 3.1 8.7 2 12 2S18 3.1 18 4.5C18 4.9 17.8 5.2 17.5 5.5C16.6 4.6 14.5 4 12 4S7.4 4.6 6.5 5.5C6.2 5.2 6 4.9 6 4.5M15.9 7.4C16 7.6 16 7.8 16 8C16 10.2 14.2 12 12 12S8 10.2 8 8C8 7.8 8 7.6 8.1 7.4C9.1 7.8 10.5 8 12 8S14.9 7.8 15.9 7.4M16.6 6.1C15.5 6.6 13.9 7 12 7S8.5 6.6 7.4 6.1C8.1 5.5 9.8 5 12 5S15.9 5.5 16.6 6.1Z",H1="M11,15H13V17H11V15M11,7H13V13H11V7M12,2C6.47,2 2,6.5 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4A8,8 0 0,1 20,12A8,8 0 0,1 12,20Z",hw="M21 13H14.4L19.1 17.7L17.7 19.1L13 14.4V21H11V14.3L6.3 19L4.9 17.6L9.4 13H3V11H9.6L4.9 6.3L6.3 4.9L11 9.6V3H13V9.4L17.6 4.8L19 6.3L14.3 11H21V13Z",V1="M5,13L9,17L7.6,18.42L1.18,12L7.6,5.58L9,7L5,11H21V13H5M21,6V8H11V6H21M21,16V18H11V16H21Z",N1="M7 16C7.55 16 8 16.45 8 17C8 18.1 7.1 19 6 19C5.83 19 5.67 19 5.5 18.95C5.81 18.4 6 17.74 6 17C6 16.45 6.45 16 7 16M18.67 3C18.41 3 18.16 3.1 17.96 3.29L9 12.25L11.75 15L20.71 6.04C21.1 5.65 21.1 5 20.71 4.63L19.37 3.29C19.17 3.09 18.92 3 18.67 3M7 14C5.34 14 4 15.34 4 17C4 18.31 2.84 19 2 19C2.92 20.22 4.5 21 6 21C8.21 21 10 19.21 10 17C10 15.34 8.66 14 7 14Z",$1="M3,6H21V18H3V6M12,9A3,3 0 0,1 15,12A3,3 0 0,1 12,15A3,3 0 0,1 9,12A3,3 0 0,1 12,9M7,8A2,2 0 0,1 5,10V14A2,2 0 0,1 7,16H17A2,2 0 0,1 19,14V10A2,2 0 0,1 17,8H7Z",z1="M4 19V20H22V22H2V2H4V17C7 17 10 15 12.1 11.4C15.1 6.4 18.4 4 22 4V6C19.2 6 16.5 8.1 13.9 12.5C11.3 16.6 7.7 19 4 19Z",j1="M3,14L3.5,14.07L8.07,9.5C7.89,8.85 8.06,8.11 8.59,7.59C9.37,6.8 10.63,6.8 11.41,7.59C11.94,8.11 12.11,8.85 11.93,9.5L14.5,12.07L15,12C15.18,12 15.35,12 15.5,12.07L19.07,8.5C19,8.35 19,8.18 19,8A2,2 0 0,1 21,6A2,2 0 0,1 23,8A2,2 0 0,1 21,10C20.82,10 20.65,10 20.5,9.93L16.93,13.5C17,13.65 17,13.82 17,14A2,2 0 0,1 15,16A2,2 0 0,1 13,14L13.07,13.5L10.5,10.93C10.18,11 9.82,11 9.5,10.93L4.93,15.5L5,16A2,2 0 0,1 3,18A2,2 0 0,1 1,16A2,2 0 0,1 3,14Z",lh="M7.41,8.58L12,13.17L16.59,8.58L18,10L12,16L6,10L7.41,8.58Z",ch="M7.41,15.41L12,10.83L16.59,15.41L18,14L12,8L6,14L7.41,15.41Z",Ea="M19,6.41L17.59,5L12,10.59L6.41,5L5,6.41L10.59,12L5,17.59L6.41,19L12,13.41L17.59,19L19,17.59L13.41,12L19,6.41Z",W1="M8,3A2,2 0 0,0 6,5V9A2,2 0 0,1 4,11H3V13H4A2,2 0 0,1 6,15V19A2,2 0 0,0 8,21H10V19H8V14A2,2 0 0,0 6,12A2,2 0 0,0 8,10V5H10V3M16,3A2,2 0 0,1 18,5V9A2,2 0 0,0 20,11H21V13H20A2,2 0 0,0 18,15V19A2,2 0 0,1 16,21H14V19H16V14A2,2 0 0,1 18,12A2,2 0 0,1 16,10V5H14V3H16Z",U1="M15.9,18.45C17.25,18.45 18.35,17.35 18.35,16C18.35,14.65 17.25,13.55 15.9,13.55C14.54,13.55 13.45,14.65 13.45,16C13.45,17.35 14.54,18.45 15.9,18.45M21.1,16.68L22.58,17.84C22.71,17.95 22.75,18.13 22.66,18.29L21.26,20.71C21.17,20.86 21,20.92 20.83,20.86L19.09,20.16C18.73,20.44 18.33,20.67 17.91,20.85L17.64,22.7C17.62,22.87 17.47,23 17.3,23H14.5C14.32,23 14.18,22.87 14.15,22.7L13.89,20.85C13.46,20.67 13.07,20.44 12.71,20.16L10.96,20.86C10.81,20.92 10.62,20.86 10.54,20.71L9.14,18.29C9.05,18.13 9.09,17.95 9.22,17.84L10.7,16.68L10.65,16L10.7,15.31L9.22,14.16C9.09,14.05 9.05,13.86 9.14,13.71L10.54,11.29C10.62,11.13 10.81,11.07 10.96,11.13L12.71,11.84C13.07,11.56 13.46,11.32 13.89,11.15L14.15,9.29C14.18,9.13 14.32,9 14.5,9H17.3C17.47,9 17.62,9.13 17.64,9.29L17.91,11.15C18.33,11.32 18.73,11.56 19.09,11.84L20.83,11.13C21,11.07 21.17,11.13 21.26,11.29L22.66,13.71C22.75,13.86 22.71,14.05 22.58,14.16L21.1,15.31L21.15,16L21.1,16.68M6.69,8.07C7.56,8.07 8.26,7.37 8.26,6.5C8.26,5.63 7.56,4.92 6.69,4.92A1.58,1.58 0 0,0 5.11,6.5C5.11,7.37 5.82,8.07 6.69,8.07M10.03,6.94L11,7.68C11.07,7.75 11.09,7.87 11.03,7.97L10.13,9.53C10.08,9.63 9.96,9.67 9.86,9.63L8.74,9.18L8,9.62L7.81,10.81C7.79,10.92 7.7,11 7.59,11H5.79C5.67,11 5.58,10.92 5.56,10.81L5.4,9.62L4.64,9.18L3.5,9.63C3.41,9.67 3.3,9.63 3.24,9.53L2.34,7.97C2.28,7.87 2.31,7.75 2.39,7.68L3.34,6.94L3.31,6.5L3.34,6.06L2.39,5.32C2.31,5.25 2.28,5.13 2.34,5.03L3.24,3.47C3.3,3.37 3.41,3.33 3.5,3.37L4.63,3.82L5.4,3.38L5.56,2.19C5.58,2.08 5.67,2 5.79,2H7.59C7.7,2 7.79,2.08 7.81,2.19L8,3.38L8.74,3.82L9.86,3.37C9.96,3.33 10.08,3.37 10.13,3.47L11.03,5.03C11.09,5.13 11.07,5.25 11,5.32L10.03,6.06L10.06,6.5L10.03,6.94Z",q1="M12,16A2,2 0 0,1 14,18A2,2 0 0,1 12,20A2,2 0 0,1 10,18A2,2 0 0,1 12,16M12,10A2,2 0 0,1 14,12A2,2 0 0,1 12,14A2,2 0 0,1 10,12A2,2 0 0,1 12,10M12,4A2,2 0 0,1 14,6A2,2 0 0,1 12,8A2,2 0 0,1 10,6A2,2 0 0,1 12,4Z",dw="M17,7H22V17H17V19A1,1 0 0,0 18,20H20V22H17.5C16.95,22 16,21.55 16,21C16,21.55 15.05,22 14.5,22H12V20H14A1,1 0 0,0 15,19V5A1,1 0 0,0 14,4H12V2H14.5C15.05,2 16,2.45 16,3C16,2.45 16.95,2 17.5,2H20V4H18A1,1 0 0,0 17,5V7M2,7H13V9H4V15H13V17H2V7M20,15V9H17V15H20M8.5,12A1.5,1.5 0 0,0 7,10.5A1.5,1.5 0 0,0 5.5,12A1.5,1.5 0 0,0 7,13.5A1.5,1.5 0 0,0 8.5,12M13,10.89C12.39,10.33 11.44,10.38 10.88,11C10.32,11.6 10.37,12.55 11,13.11C11.55,13.63 12.43,13.63 13,13.11V10.89Z",K1="M19,13H3V11H19L15,7L16.4,5.6L22.8,12L16.4,18.4L15,17L19,13M3,6H13V8H3V6M13,16V18H3V16H13Z",Y1="M16.5,9L13.5,12L16.5,15H22V9M9,16.5V22H15V16.5L12,13.5M7.5,9H2V15H7.5L10.5,12M15,7.5V2H9V7.5L12,10.5L15,7.5Z",X1="M5,8A4,4 0 0,1 9,12A4,4 0 0,1 5,16A4,4 0 0,1 1,12A4,4 0 0,1 5,8M5,10A2,2 0 0,0 3,12A2,2 0 0,0 5,14A2,2 0 0,0 7,12A2,2 0 0,0 5,10M12,1A4,4 0 0,1 16,5A4,4 0 0,1 12,9A4,4 0 0,1 8,5A4,4 0 0,1 12,1M12,3A2,2 0 0,0 10,5A2,2 0 0,0 12,7A2,2 0 0,0 14,5A2,2 0 0,0 12,3M12,15A4,4 0 0,1 16,19A4,4 0 0,1 12,23A4,4 0 0,1 8,19A4,4 0 0,1 12,15M12,17A2,2 0 0,0 10,19A2,2 0 0,0 12,21A2,2 0 0,0 14,19A2,2 0 0,0 12,17M19,8A4,4 0 0,1 23,12A4,4 0 0,1 19,16A4,4 0 0,1 15,12A4,4 0 0,1 19,8M19,10A2,2 0 0,0 17,12A2,2 0 0,0 19,14A2,2 0 0,0 21,12A2,2 0 0,0 19,10Z",pw="M12 5.69L17 10.19V18H15V12H9V18H7V10.19L12 5.69M12 3L2 12H5V20H11V14H13V20H19V12H22",uh="M16,17V14H9V10H16V7L21,12L16,17M14,2A2,2 0 0,1 16,4V6H14V4H5V20H14V18H16V20A2,2 0 0,1 14,22H5A2,2 0 0,1 3,20V4A2,2 0 0,1 5,2H14Z",gw="M20,4H4C2.89,4 2,4.89 2,6V18A2,2 0 0,0 4,20H20A2,2 0 0,0 22,18V6C22,4.89 21.1,4 20,4M17,17H7V15H17M17,13H7V11H17M20,9H17V6H20",G1="M3,6H21V8H3V6M3,11H21V13H3V11M3,16H21V18H3V16Z",mw="M20,2H4A2,2 0 0,0 2,4V22L6,18H20A2,2 0 0,0 22,16V4C22,2.89 21.1,2 20,2Z",Z1="M19,13H5V11H19V13Z",J1="M21,16H3V4H21M21,2H3C1.89,2 1,2.89 1,4V16A2,2 0 0,0 3,18H10V20H8V22H16V20H14V18H21A2,2 0 0,0 23,16V4C23,2.89 22.1,2 21,2Z",Q1="M20 3H4C2.89 3 2 3.89 2 5V19C2 20.11 2.89 21 4 21H20C21.11 21 22 20.11 22 19V5C22 3.89 21.11 3 20 3M5 7H10V13H5V7M19 17H5V15H19V17M19 13H12V11H19V13M19 9H12V7H19V9Z",t0="M19,13H13V19H11V13H5V11H11V5H13V11H19V13Z",e0="M2 12C2 16.97 6.03 21 11 21C13.39 21 15.68 20.06 17.4 18.4L15.9 16.9C14.63 18.25 12.86 19 11 19C4.76 19 1.64 11.46 6.05 7.05C10.46 2.64 18 5.77 18 12H15L19 16H19.1L23 12H20C20 7.03 15.97 3 11 3C6.03 3 2 7.03 2 12Z",bw="M6 9H8V15H6V9M16 9H18V15H16V9M21 3C22.1 3 23 3.9 23 5V19C23 20.1 22.1 21 21 21H3C1.9 21 1 20.1 1 19V5C1 3.9 1.9 3 3 3H21M5 7C4.4 7 4 7.4 4 8V16C4 16.6 4.4 17 5 17H9C9.6 17 10 16.6 10 16V8C10 7.4 9.6 7 9 7H5M15 7C14.4 7 14 7.4 14 8V16C14 16.6 14.4 17 15 17H19C19.6 17 20 16.6 20 16V8C20 7.4 19.6 7 19 7H15M12 11C12.6 11 13 10.6 13 10C13 9.4 12.6 9 12 9C11.4 9 11 9.4 11 10C11 10.6 11.4 11 12 11M12 15C12.6 15 13 14.6 13 14C13 13.4 12.6 13 12 13C11.4 13 11 13.4 11 14C11 14.6 11.4 15 12 15Z",n0="M12,12H19C18.47,16.11 15.72,19.78 12,20.92V12H5V6.3L12,3.19M12,1L3,5V11C3,16.55 6.84,21.73 12,23C17.16,21.73 21,16.55 21,11V5L12,1Z",s0="M13,19H14A1,1 0 0,1 15,20H22V22H15A1,1 0 0,1 14,23H10A1,1 0 0,1 9,22H2V20H9A1,1 0 0,1 10,19H11V17H4A1,1 0 0,1 3,16V12A1,1 0 0,1 4,11H20A1,1 0 0,1 21,12V16A1,1 0 0,1 20,17H13V19M4,3H20A1,1 0 0,1 21,4V8A1,1 0 0,1 20,9H4A1,1 0 0,1 3,8V4A1,1 0 0,1 4,3M9,7H10V5H9V7M9,15H10V13H9V15M5,5V7H7V5H5M5,13V15H7V13H5Z",_w="M18.36 9L18.96 12H5.04L5.64 9H18.36M20 4H4V6H20V4M20 7H4L3 12V14H4V20H14V14H18V20H20V14H21V12L20 7M6 18V14H12V18H6Z",fh="M7,2V4H8V18A4,4 0 0,0 12,22A4,4 0 0,0 16,18V4H17V2H7M11,16C10.4,16 10,15.6 10,15C10,14.4 10.4,14 11,14C11.6,14 12,14.4 12,15C12,15.6 11.6,16 11,16M13,12C12.4,12 12,11.6 12,11C12,10.4 12.4,10 13,10C13.6,10 14,10.4 14,11C14,11.6 13.6,12 13,12M14,7H10V4H14V7Z",yw="M2,2V4H7V8H2V10H7C8.11,10 9,9.11 9,8V7H14V17H9V16C9,14.89 8.11,14 7,14H2V16H7V20H2V22H7C8.11,22 9,21.11 9,20V19H14C15.11,19 16,18.11 16,17V13H22V11H16V7C16,5.89 15.11,5 14,5H9V4C9,2.89 8.11,2 7,2H2Z",i0=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function r0(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var hh={exports:{}},Pa={exports:{}},dh=function(t,n){return function(){for(var i=new Array(arguments.length),r=0;r"u"}function a0(e){return e!==null&&!Ji(e)&&e.constructor!==null&&!Ji(e.constructor)&&typeof e.constructor.isBuffer=="function"&&e.constructor.isBuffer(e)}var ph=$n("ArrayBuffer");function l0(e){var t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&ph(e.buffer),t}function c0(e){return typeof e=="string"}function u0(e){return typeof e=="number"}function gh(e){return e!==null&&typeof e=="object"}function Bi(e){if(La(e)!=="object")return!1;var t=Object.getPrototypeOf(e);return t===null||t===Object.prototype}var f0=$n("Date"),h0=$n("File"),d0=$n("Blob"),p0=$n("FileList");function Ta(e){return Oa.call(e)==="[object Function]"}function g0(e){return gh(e)&&Ta(e.pipe)}function m0(e){var t="[object FormData]";return e&&(typeof FormData=="function"&&e instanceof FormData||Oa.call(e)===t||Ta(e.toString)&&e.toString()===t)}var b0=$n("URLSearchParams");function _0(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function y0(){return typeof navigator<"u"&&(navigator.product==="ReactNative"||navigator.product==="NativeScript"||navigator.product==="NS")?!1:typeof window<"u"&&typeof document<"u"}function Da(e,t){if(!(e===null||typeof e>"u"))if(typeof e!="object"&&(e=[e]),Ra(e))for(var n=0,s=e.length;n0;)r=s[i],o[r]||(t[r]=e[r],o[r]=!0);e=Object.getPrototypeOf(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t}function k0(e,t,n){e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;var s=e.indexOf(t,n);return s!==-1&&s===n}function S0(e){if(!e)return null;var t=e.length;if(Ji(t))return null;for(var n=new Array(t);t-- >0;)n[t]=e[t];return n}var C0=function(e){return function(t){return e&&t instanceof e}}(typeof Uint8Array<"u"&&Object.getPrototypeOf(Uint8Array)),qt={isArray:Ra,isArrayBuffer:ph,isBuffer:a0,isFormData:m0,isArrayBufferView:l0,isString:c0,isNumber:u0,isObject:gh,isPlainObject:Bi,isUndefined:Ji,isDate:f0,isFile:h0,isBlob:d0,isFunction:Ta,isStream:g0,isURLSearchParams:b0,isStandardBrowserEnv:y0,forEach:Da,merge:Ko,extend:x0,trim:_0,stripBOM:v0,inherits:w0,toFlatObject:M0,kindOf:La,kindOfTest:$n,endsWith:k0,toArray:S0,isTypedArray:C0,isFileList:p0},Kn=qt;function uc(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var mh=function(t,n,s){if(!n)return t;var i;if(s)i=s(n);else if(Kn.isURLSearchParams(n))i=n.toString();else{var r=[];Kn.forEach(n,function(l,c){l===null||typeof l>"u"||(Kn.isArray(l)?c=c+"[]":l=[l],Kn.forEach(l,function(f){Kn.isDate(f)?f=f.toISOString():Kn.isObject(f)&&(f=JSON.stringify(f)),r.push(uc(c)+"="+uc(f))}))}),i=r.join("&")}if(i){var o=t.indexOf("#");o!==-1&&(t=t.slice(0,o)),t+=(t.indexOf("?")===-1?"?":"&")+i}return t},A0=qt;function Lr(){this.handlers=[]}Lr.prototype.use=function(t,n,s){return this.handlers.push({fulfilled:t,rejected:n,synchronous:s?s.synchronous:!1,runWhen:s?s.runWhen:null}),this.handlers.length-1};Lr.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)};Lr.prototype.forEach=function(t){A0.forEach(this.handlers,function(s){s!==null&&t(s)})};var E0=Lr,P0=qt,O0=function(t,n){P0.forEach(t,function(i,r){r!==n&&r.toUpperCase()===n.toUpperCase()&&(t[n]=i,delete t[r])})},bh=qt;function ls(e,t,n,s,i){Error.call(this),this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),s&&(this.request=s),i&&(this.response=i)}bh.inherits(ls,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}}});var _h=ls.prototype,yh={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED"].forEach(function(e){yh[e]={value:e}});Object.defineProperties(ls,yh);Object.defineProperty(_h,"isAxiosError",{value:!0});ls.from=function(e,t,n,s,i,r){var o=Object.create(_h);return bh.toFlatObject(e,o,function(l){return l!==Error.prototype}),ls.call(o,e.message,t,n,s,i),o.name=e.name,r&&Object.assign(o,r),o};var ys=ls,xh={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},xe=qt;function L0(e,t){t=t||new FormData;var n=[];function s(r){return r===null?"":xe.isDate(r)?r.toISOString():xe.isArrayBuffer(r)||xe.isTypedArray(r)?typeof Blob=="function"?new Blob([r]):Buffer.from(r):r}function i(r,o){if(xe.isPlainObject(r)||xe.isArray(r)){if(n.indexOf(r)!==-1)throw Error("Circular reference detected in "+o);n.push(r),xe.forEach(r,function(l,c){if(!xe.isUndefined(l)){var u=o?o+"."+c:c,f;if(l&&!o&&typeof l=="object"){if(xe.endsWith(c,"{}"))l=JSON.stringify(l);else if(xe.endsWith(c,"[]")&&(f=xe.toArray(l))){f.forEach(function(h){!xe.isUndefined(h)&&t.append(u,s(h))});return}}i(l,u)}}),n.pop()}else t.append(o,s(r))}return i(e),t}var vh=L0,Qr,fc;function R0(){if(fc)return Qr;fc=1;var e=ys;return Qr=function(n,s,i){var r=i.config.validateStatus;!i.status||!r||r(i.status)?n(i):s(new e("Request failed with status code "+i.status,[e.ERR_BAD_REQUEST,e.ERR_BAD_RESPONSE][Math.floor(i.status/100)-4],i.config,i.request,i))},Qr}var to,hc;function T0(){if(hc)return to;hc=1;var e=qt;return to=e.isStandardBrowserEnv()?function(){return{write:function(s,i,r,o,a,l){var c=[];c.push(s+"="+encodeURIComponent(i)),e.isNumber(r)&&c.push("expires="+new Date(r).toGMTString()),e.isString(o)&&c.push("path="+o),e.isString(a)&&c.push("domain="+a),l===!0&&c.push("secure"),document.cookie=c.join("; ")},read:function(s){var i=document.cookie.match(new RegExp("(^|;\\s*)("+s+")=([^;]*)"));return i?decodeURIComponent(i[3]):null},remove:function(s){this.write(s,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}(),to}var D0=function(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)},I0=function(t,n){return n?t.replace(/\/+$/,"")+"/"+n.replace(/^\/+/,""):t},F0=D0,B0=I0,wh=function(t,n){return t&&!F0(n)?B0(t,n):n},eo,dc;function H0(){if(dc)return eo;dc=1;var e=qt,t=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];return eo=function(s){var i={},r,o,a;return s&&e.forEach(s.split(` +`),function(c){if(a=c.indexOf(":"),r=e.trim(c.substr(0,a)).toLowerCase(),o=e.trim(c.substr(a+1)),r){if(i[r]&&t.indexOf(r)>=0)return;r==="set-cookie"?i[r]=(i[r]?i[r]:[]).concat([o]):i[r]=i[r]?i[r]+", "+o:o}}),i},eo}var no,pc;function V0(){if(pc)return no;pc=1;var e=qt;return no=e.isStandardBrowserEnv()?function(){var n=/(msie|trident)/i.test(navigator.userAgent),s=document.createElement("a"),i;function r(o){var a=o;return n&&(s.setAttribute("href",a),a=s.href),s.setAttribute("href",a),{href:s.href,protocol:s.protocol?s.protocol.replace(/:$/,""):"",host:s.host,search:s.search?s.search.replace(/^\?/,""):"",hash:s.hash?s.hash.replace(/^#/,""):"",hostname:s.hostname,port:s.port,pathname:s.pathname.charAt(0)==="/"?s.pathname:"/"+s.pathname}}return i=r(window.location.href),function(a){var l=e.isString(a)?r(a):a;return l.protocol===i.protocol&&l.host===i.host}}():function(){return function(){return!0}}(),no}var so,gc;function Rr(){if(gc)return so;gc=1;var e=ys,t=qt;function n(s){e.call(this,s==null?"canceled":s,e.ERR_CANCELED),this.name="CanceledError"}return t.inherits(n,e,{__CANCEL__:!0}),so=n,so}var io,mc;function N0(){return mc||(mc=1,io=function(t){var n=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return n&&n[1]||""}),io}var ro,bc;function _c(){if(bc)return ro;bc=1;var e=qt,t=R0(),n=T0(),s=mh,i=wh,r=H0(),o=V0(),a=xh,l=ys,c=Rr(),u=N0();return ro=function(h){return new Promise(function(p,g){var b=h.data,_=h.headers,v=h.responseType,w;function M(){h.cancelToken&&h.cancelToken.unsubscribe(w),h.signal&&h.signal.removeEventListener("abort",w)}e.isFormData(b)&&e.isStandardBrowserEnv()&&delete _["Content-Type"];var x=new XMLHttpRequest;if(h.auth){var L=h.auth.username||"",A=h.auth.password?unescape(encodeURIComponent(h.auth.password)):"";_.Authorization="Basic "+btoa(L+":"+A)}var S=i(h.baseURL,h.url);x.open(h.method.toUpperCase(),s(S,h.params,h.paramsSerializer),!0),x.timeout=h.timeout;function R(){if(!!x){var O="getAllResponseHeaders"in x?r(x.getAllResponseHeaders()):null,X=!v||v==="text"||v==="json"?x.responseText:x.response,nt={data:X,status:x.status,statusText:x.statusText,headers:O,config:h,request:x};t(function(tt){p(tt),M()},function(tt){g(tt),M()},nt),x=null}}if("onloadend"in x?x.onloadend=R:x.onreadystatechange=function(){!x||x.readyState!==4||x.status===0&&!(x.responseURL&&x.responseURL.indexOf("file:")===0)||setTimeout(R)},x.onabort=function(){!x||(g(new l("Request aborted",l.ECONNABORTED,h,x)),x=null)},x.onerror=function(){g(new l("Network Error",l.ERR_NETWORK,h,x,x)),x=null},x.ontimeout=function(){var X=h.timeout?"timeout of "+h.timeout+"ms exceeded":"timeout exceeded",nt=h.transitional||a;h.timeoutErrorMessage&&(X=h.timeoutErrorMessage),g(new l(X,nt.clarifyTimeoutError?l.ETIMEDOUT:l.ECONNABORTED,h,x)),x=null},e.isStandardBrowserEnv()){var B=(h.withCredentials||o(S))&&h.xsrfCookieName?n.read(h.xsrfCookieName):void 0;B&&(_[h.xsrfHeaderName]=B)}"setRequestHeader"in x&&e.forEach(_,function(X,nt){typeof b>"u"&&nt.toLowerCase()==="content-type"?delete _[nt]:x.setRequestHeader(nt,X)}),e.isUndefined(h.withCredentials)||(x.withCredentials=!!h.withCredentials),v&&v!=="json"&&(x.responseType=h.responseType),typeof h.onDownloadProgress=="function"&&x.addEventListener("progress",h.onDownloadProgress),typeof h.onUploadProgress=="function"&&x.upload&&x.upload.addEventListener("progress",h.onUploadProgress),(h.cancelToken||h.signal)&&(w=function(O){!x||(g(!O||O&&O.type?new c:O),x.abort(),x=null)},h.cancelToken&&h.cancelToken.subscribe(w),h.signal&&(h.signal.aborted?w():h.signal.addEventListener("abort",w))),b||(b=null);var Y=u(S);if(Y&&["http","https","file"].indexOf(Y)===-1){g(new l("Unsupported protocol "+Y+":",l.ERR_BAD_REQUEST,h));return}x.send(b)})},ro}var oo,yc;function $0(){return yc||(yc=1,oo=null),oo}var $t=qt,xc=O0,vc=ys,z0=xh,j0=vh,W0={"Content-Type":"application/x-www-form-urlencoded"};function wc(e,t){!$t.isUndefined(e)&&$t.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}function U0(){var e;return(typeof XMLHttpRequest<"u"||typeof process<"u"&&Object.prototype.toString.call(process)==="[object process]")&&(e=_c()),e}function q0(e,t,n){if($t.isString(e))try{return(t||JSON.parse)(e),$t.trim(e)}catch(s){if(s.name!=="SyntaxError")throw s}return(n||JSON.stringify)(e)}var Tr={transitional:z0,adapter:U0(),transformRequest:[function(t,n){if(xc(n,"Accept"),xc(n,"Content-Type"),$t.isFormData(t)||$t.isArrayBuffer(t)||$t.isBuffer(t)||$t.isStream(t)||$t.isFile(t)||$t.isBlob(t))return t;if($t.isArrayBufferView(t))return t.buffer;if($t.isURLSearchParams(t))return wc(n,"application/x-www-form-urlencoded;charset=utf-8"),t.toString();var s=$t.isObject(t),i=n&&n["Content-Type"],r;if((r=$t.isFileList(t))||s&&i==="multipart/form-data"){var o=this.env&&this.env.FormData;return j0(r?{"files[]":t}:t,o&&new o)}else if(s||i==="application/json")return wc(n,"application/json"),q0(t);return t}],transformResponse:[function(t){var n=this.transitional||Tr.transitional,s=n&&n.silentJSONParsing,i=n&&n.forcedJSONParsing,r=!s&&this.responseType==="json";if(r||i&&$t.isString(t)&&t.length)try{return JSON.parse(t)}catch(o){if(r)throw o.name==="SyntaxError"?vc.from(o,vc.ERR_BAD_RESPONSE,this,null,this.response):o}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:$0()},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};$t.forEach(["delete","get","head"],function(t){Tr.headers[t]={}});$t.forEach(["post","put","patch"],function(t){Tr.headers[t]=$t.merge(W0)});var Ia=Tr,K0=qt,Y0=Ia,X0=function(t,n,s){var i=this||Y0;return K0.forEach(s,function(o){t=o.call(i,t,n)}),t},ao,Mc;function Mh(){return Mc||(Mc=1,ao=function(t){return!!(t&&t.__CANCEL__)}),ao}var kc=qt,lo=X0,G0=Mh(),Z0=Ia,J0=Rr();function co(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new J0}var Q0=function(t){co(t),t.headers=t.headers||{},t.data=lo.call(t,t.data,t.headers,t.transformRequest),t.headers=kc.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),kc.forEach(["delete","get","head","post","put","patch","common"],function(i){delete t.headers[i]});var n=t.adapter||Z0.adapter;return n(t).then(function(i){return co(t),i.data=lo.call(t,i.data,i.headers,t.transformResponse),i},function(i){return G0(i)||(co(t),i&&i.response&&(i.response.data=lo.call(t,i.response.data,i.response.headers,t.transformResponse))),Promise.reject(i)})},oe=qt,kh=function(t,n){n=n||{};var s={};function i(u,f){return oe.isPlainObject(u)&&oe.isPlainObject(f)?oe.merge(u,f):oe.isPlainObject(f)?oe.merge({},f):oe.isArray(f)?f.slice():f}function r(u){if(oe.isUndefined(n[u])){if(!oe.isUndefined(t[u]))return i(void 0,t[u])}else return i(t[u],n[u])}function o(u){if(!oe.isUndefined(n[u]))return i(void 0,n[u])}function a(u){if(oe.isUndefined(n[u])){if(!oe.isUndefined(t[u]))return i(void 0,t[u])}else return i(void 0,n[u])}function l(u){if(u in n)return i(t[u],n[u]);if(u in t)return i(void 0,t[u])}var c={url:o,method:o,data:o,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:l};return oe.forEach(Object.keys(t).concat(Object.keys(n)),function(f){var h=c[f]||r,d=h(f);oe.isUndefined(d)&&h!==l||(s[f]=d)}),s},uo,Sc;function Sh(){return Sc||(Sc=1,uo={version:"0.27.2"}),uo}var tb=Sh().version,rn=ys,Fa={};["object","boolean","number","function","string","symbol"].forEach(function(e,t){Fa[e]=function(s){return typeof s===e||"a"+(t<1?"n ":" ")+e}});var Cc={};Fa.transitional=function(t,n,s){function i(r,o){return"[Axios v"+tb+"] Transitional option '"+r+"'"+o+(s?". "+s:"")}return function(r,o,a){if(t===!1)throw new rn(i(o," has been removed"+(n?" in "+n:"")),rn.ERR_DEPRECATED);return n&&!Cc[o]&&(Cc[o]=!0,console.warn(i(o," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(r,o,a):!0}};function eb(e,t,n){if(typeof e!="object")throw new rn("options must be an object",rn.ERR_BAD_OPTION_VALUE);for(var s=Object.keys(e),i=s.length;i-- >0;){var r=s[i],o=t[r];if(o){var a=e[r],l=a===void 0||o(a,r,e);if(l!==!0)throw new rn("option "+r+" must be "+l,rn.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new rn("Unknown option "+r,rn.ERR_BAD_OPTION)}}var nb={assertOptions:eb,validators:Fa},Ch=qt,sb=mh,Ac=E0,Ec=Q0,Dr=kh,ib=wh,Ah=nb,Yn=Ah.validators;function cs(e){this.defaults=e,this.interceptors={request:new Ac,response:new Ac}}cs.prototype.request=function(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Dr(this.defaults,n),n.method?n.method=n.method.toLowerCase():this.defaults.method?n.method=this.defaults.method.toLowerCase():n.method="get";var s=n.transitional;s!==void 0&&Ah.assertOptions(s,{silentJSONParsing:Yn.transitional(Yn.boolean),forcedJSONParsing:Yn.transitional(Yn.boolean),clarifyTimeoutError:Yn.transitional(Yn.boolean)},!1);var i=[],r=!0;this.interceptors.request.forEach(function(d){typeof d.runWhen=="function"&&d.runWhen(n)===!1||(r=r&&d.synchronous,i.unshift(d.fulfilled,d.rejected))});var o=[];this.interceptors.response.forEach(function(d){o.push(d.fulfilled,d.rejected)});var a;if(!r){var l=[Ec,void 0];for(Array.prototype.unshift.apply(l,i),l=l.concat(o),a=Promise.resolve(n);l.length;)a=a.then(l.shift(),l.shift());return a}for(var c=n;i.length;){var u=i.shift(),f=i.shift();try{c=u(c)}catch(h){f(h);break}}try{a=Ec(c)}catch(h){return Promise.reject(h)}for(;o.length;)a=a.then(o.shift(),o.shift());return a};cs.prototype.getUri=function(t){t=Dr(this.defaults,t);var n=ib(t.baseURL,t.url);return sb(n,t.params,t.paramsSerializer)};Ch.forEach(["delete","get","head","options"],function(t){cs.prototype[t]=function(n,s){return this.request(Dr(s||{},{method:t,url:n,data:(s||{}).data}))}});Ch.forEach(["post","put","patch"],function(t){function n(s){return function(r,o,a){return this.request(Dr(a||{},{method:t,headers:s?{"Content-Type":"multipart/form-data"}:{},url:r,data:o}))}}cs.prototype[t]=n(),cs.prototype[t+"Form"]=n(!0)});var rb=cs,fo,Pc;function ob(){if(Pc)return fo;Pc=1;var e=Rr();function t(n){if(typeof n!="function")throw new TypeError("executor must be a function.");var s;this.promise=new Promise(function(o){s=o});var i=this;this.promise.then(function(r){if(!!i._listeners){var o,a=i._listeners.length;for(o=0;o({userName:null,userEmail:null,userAvatar:null,isFieldFocusRegistered:!1,clients:[],history:[]}),actions:{setUser(e){e.name&&(this.userName=e.name),e.email&&(this.userEmail=e.email),e.avatar&&(this.userAvatar=e.avatar)},fetch(e){hb.get(`data-sources/${e}.json`).then(t=>{t.data&&t.data.data&&(this[e]=t.data.data)}).catch(t=>{alert(t.message)})}}}),gn=xr({name:"BaseLevel",props:{mobile:Boolean,type:{type:String,default:"justify-between"}},render(){const e=[this.type,"items-center"],t=["flex"],n=["block","md:flex"],s=["flex","items-center","justify-center"];return We("div",{class:e.concat(this.mobile?t:n)},this.$slots.default().map((i,r)=>{const o=!this.mobile&&this.$slots.default().length>r+1?s.concat(["mb-6","md:mb-0"]):s;return We("div",{class:o},[i])}))}}),db="/assets/border/trans.png",pb={class:"relative inline-block"},gb=["src","alt"],mb=j("img",{src:db,alt:"border",class:"absolute inset-0 w-full h-full overflow-hidden",style:{"object-fit":"fill",transform:"scale(1.02)"}},null,-1),Ph={__name:"UserAvatar",props:{username:{type:String,required:!0},avatar:{type:String,default:null}},setup(e){const t=e,n=st(()=>{var i;return(i=t.avatar)!=null?i:"https://i.imgur.com/nkx5ufe.jpg"}),s=st(()=>t.username);return(i,r)=>(W(),ut("div",null,[j("div",pb,[j("img",{src:D(n),alt:D(s),class:"w-full h-auto bg-gray-100 dark:bg-slate-800 rounded-full overflow-hidden"},null,8,gb),mb]),jt(i.$slots,"default")]))}},Oh={__name:"UserAvatarCurrentUser",setup(e){const t=xs();return(n,s)=>(W(),_t(Ph,{username:D(t).userName,avatar:D(t).userAvatar},{default:mt(()=>[jt(n.$slots,"default")]),_:3},8,["username","avatar"]))}},Lh={__name:"CardBoxComponentBody",props:{noPadding:Boolean},setup(e){return(t,n)=>(W(),ut("div",{class:ot(["flex-1",{"p-6":!e.noPadding}])},[jt(t.$slots,"default")],2))}},bb=(e,t)=>{const n=e.__vccOpts||e;for(const[s,i]of t)n[s]=i;return n},_b={},yb={class:"p-6"};function xb(e,t){return W(),ut("footer",yb,[jt(e.$slots,"default")])}const vb=bb(_b,[["render",xb]]),Qi={__name:"CardBox",props:{rounded:{type:String,default:"rounded-2xl"},flex:{type:String,default:"flex-col"},hasComponentLayout:Boolean,hasTable:Boolean,isForm:Boolean,isHoverable:Boolean,isModal:Boolean,isAuth:{type:Boolean,default:!1}},emits:["submit"],setup(e,{emit:t}){const n=e,s=Sa(),i=st(()=>s.footer&&!!s.footer()),r=st(()=>{const a=[n.rounded,n.flex,n.isAuth?"dark:bg-slate-800 md:dark:bg-slate-900":n.isModal?"dark:bg-slate-900":"dark:bg-slate-900/70"];return n.isHoverable&&a.push("hover:shadow-lg transition-shadow duration-500"),a}),o=a=>{t("submit",a)};return(a,l)=>(W(),_t(Mr(e.isForm?"form":"div"),{class:ot([D(r),"bg-white flex"]),onSubmit:o},{default:mt(()=>[e.hasComponentLayout?jt(a.$slots,"default",{key:0}):(W(),ut(Nt,{key:1},[V(Lh,{"no-padding":e.hasTable},{default:mt(()=>[jt(a.$slots,"default")]),_:3},8,["no-padding"]),D(i)?(W(),_t(vb,{key:0},{default:mt(()=>[jt(a.$slots,"footer")]),_:3})):Ft("",!0)],64))]),_:3},40,["class"]))}},Ba={white:"bg-white text-black",light:"bg-white text-black dark:bg-slate-900/70 dark:text-white",contrast:"bg-gray-800 text-white dark:bg-white dark:text-black",success:"bg-emerald-500 border-emerald-500 text-white",danger:"bg-red-500 border-red-500 text-white",warning:"bg-yellow-500 border-yellow-500 text-white",info:"bg-blue-500 border-blue-500 text-white"},en={white:"text-black dark:text-slate-100",light:"text-gray-700 dark:text-slate-400",contrast:"dark:text-white",success:"text-emerald-500",danger:"text-red-500",warning:"text-yellow-500",info:"text-blue-500"},Rh={white:[en.white,"border-gray-100"],light:[en.light,"border-gray-100"],contrast:[en.contrast,"border-gray-900 dark:border-slate-100"],success:[en.success,"border-emerald-500"],danger:[en.danger,"border-red-500"],warning:[en.warning,"border-yellow-500"],info:[en.info,"border-blue-500"]},Th=(e,t,n,s=!1)=>{const i={ring:{white:"ring-gray-200 dark:ring-gray-500",whiteDark:"ring-gray-200 dark:ring-gray-500",lightDark:"ring-gray-200 dark:ring-gray-500",contrast:"ring-gray-300 dark:ring-gray-400",success:"ring-emerald-300 dark:ring-emerald-700",danger:"ring-red-300 dark:ring-red-700",warning:"ring-yellow-300 dark:ring-yellow-700",info:"ring-blue-300 dark:ring-blue-700"},active:{white:"bg-gray-100",whiteDark:"bg-gray-100 dark:bg-slate-800",lightDark:"bg-gray-200 dark:bg-slate-700",contrast:"bg-gray-700 dark:bg-slate-100",success:"bg-emerald-700 dark:bg-emerald-600",danger:"bg-red-700 dark:bg-red-600",warning:"bg-yellow-700 dark:bg-yellow-600",info:"bg-blue-700 dark:bg-blue-600"},bg:{white:"bg-white text-black",whiteDark:"bg-white text-black dark:bg-slate-900 dark:text-white",lightDark:"bg-gray-100 text-black dark:bg-slate-800 dark:text-white",contrast:"bg-gray-800 text-white dark:bg-white dark:text-black",success:"bg-emerald-600 dark:bg-emerald-500 text-white",danger:"bg-red-600 dark:bg-red-500 text-white",warning:"bg-yellow-600 dark:bg-yellow-500 text-white",info:"bg-blue-600 dark:bg-blue-500 text-white"},bgHover:{white:"hover:bg-gray-100",whiteDark:"hover:bg-gray-100 hover:dark:bg-slate-800",lightDark:"hover:bg-gray-200 hover:dark:bg-slate-700",contrast:"hover:bg-gray-700 hover:dark:bg-slate-100",success:"hover:bg-emerald-700 hover:border-emerald-700 hover:dark:bg-emerald-600 hover:dark:border-emerald-600",danger:"hover:bg-red-700 hover:border-red-700 hover:dark:bg-red-600 hover:dark:border-red-600",warning:"hover:bg-yellow-700 hover:border-yellow-700 hover:dark:bg-yellow-600 hover:dark:border-yellow-600",info:"hover:bg-blue-700 hover:border-blue-700 hover:dark:bg-blue-600 hover:dark:border-blue-600"},borders:{white:"border-white",whiteDark:"border-white dark:border-slate-900",lightDark:"border-gray-100 dark:border-slate-800",contrast:"border-gray-800 dark:border-white",success:"border-emerald-600 dark:border-emerald-500",danger:"border-red-600 dark:border-red-500",warning:"border-yellow-600 dark:border-yellow-500",info:"border-blue-600 dark:border-blue-500"},text:{contrast:"dark:text-slate-100",success:"text-emerald-600 dark:text-emerald-500",danger:"text-red-600 dark:text-red-500",warning:"text-yellow-600 dark:text-yellow-500",info:"text-blue-600 dark:text-blue-500"},outlineHover:{contrast:"hover:bg-gray-800 hover:text-gray-100 hover:dark:bg-slate-100 hover:dark:text-black",success:"hover:bg-emerald-600 hover:text-white hover:text-white hover:dark:text-white hover:dark:border-emerald-600",danger:"hover:bg-red-600 hover:text-white hover:text-white hover:dark:text-white hover:dark:border-red-600",warning:"hover:bg-yellow-600 hover:text-white hover:text-white hover:dark:text-white hover:dark:border-yellow-600",info:"hover:bg-blue-600 hover:text-white hover:dark:text-white hover:dark:border-blue-600"}};if(!i.bg[e])return e;const r=t&&["white","whiteDark","lightDark"].indexOf(e)<0,o=[i.borders[e],i.ring[e]];return s?o.push(i.active[e]):o.push(r?i.text[e]:i.bg[e]),n&&o.push(r?i.outlineHover[e]:i.bgHover[e]),o},wb=["width","height"],Mb=["d"],ie={__name:"BaseIcon",props:{path:{type:String,required:!0},w:{type:String,default:"w-6"},h:{type:String,default:"h-6"},size:{type:[String,Number],default:null}},setup(e){const t=e,n=st(()=>`inline-flex justify-center items-center ${t.w} ${t.h}`),s=st(()=>{var i;return(i=t.size)!=null?i:16});return(i,r)=>(W(),ut("span",{class:ot(D(n))},[(W(),ut("svg",{viewBox:"0 0 24 24",width:D(s),height:D(s),class:"inline-block"},[j("path",{fill:"currentColor",d:e.path},null,8,Mb)],8,wb)),jt(i.$slots,"default")],2))}},kb={__name:"PillTagPlain",props:{label:{type:String,required:!0},icon:{type:String,default:null},small:Boolean},setup(e){return(t,n)=>(W(),ut("div",{class:ot(["inline-flex items-center capitalize leading-none",[e.small?"text-xs":"text-sm"]])},[e.icon?(W(),_t(ie,{key:0,path:e.icon,h:"h-4",w:"w-4",class:ot(e.small?"mr-1":"mr-2"),size:e.small?14:null},null,8,["path","class","size"])):Ft("",!0),j("span",null,Vt(e.label),1)],2))}},Rn={__name:"PillTag",props:{label:{type:String,required:!0},color:{type:String,required:!0},icon:{type:String,default:null},small:Boolean,outline:{type:Boolean,default:!0}},setup(e){const t=e,n=st(()=>[t.small?"py-1 px-3":"py-1.5 px-4",t.outline?Rh[t.color]:Ba[t.color]]);return(s,i)=>(W(),_t(kb,{class:ot(["border rounded-full",D(n)]),icon:e.icon,label:e.label,small:e.small},null,8,["class","icon","label","small"]))}},Sb=[{author:"Trmazi",header:"Ready, ?",comment:"Let's heat it up with this number!"},{author:"Trmazi",header:"Yo, is in the House like Carpet.",comment:"Like Chef Boyardee, my rhyme is truly cookin'"},{author:"Trmazi",header:"There are two wolves inside of you, .",comment:"The furry convention is going very well."},{author:"Trmazi",header:"Howdy, !",comment:"Gonna break some records today?"},{author:"Trmazi",header:"Hiya, !",comment:"Glad to have you here."},{author:"Trmazi",header:"Good to see you, !",comment:"Show us your moves!"},{author:"Trmazi",header:"It's a Bird... It's a Plane... It's !",comment:"Let's push it to the grindstone."},{author:"yaladre",header:"What's shaking, ?",comment:"Ready to start your session?"},{author:"GlItChEdV0iDz",header:"Now who dat is? Why... it's !",comment:"Why's it always the same old thing?"},{author:"Error",header:"Error: Couldn't load 's profile.",comment:"Purging data. Please log in again."},{author:"caldenza",header:"Please don't actually eat glass, .",comment:`"I can't believe I have to write that."`},{author:"SQWERLY!",header:"Welcome to PhaseII, .",comment:'"Where you can actually still play older versions of DDR!"'},{author:"manamaster",header:"Go for Kaiden, .",comment:"You can do it!"},{author:"manamaster",header:"Steal from your local Round1, .",comment:"The DDR cab is free if you believe hard enough."},{author:"manamaster",header:"You should play Bone Eater, !",comment:`"It's really good, I swear!"`},{author:"manamaster",header:"No I cannot sell the DDR Gold cab to you for $500, .",comment:"Please stop asking."},{author:"topet",header:"Hello, !",comment:"If more than one is many, how many is few?"},{author:"barru",header:"What's good, ?",comment:"As long as you're around, everything's great \u{1F604}"}];class q{}ft(q,"BEATSTREAM","bst"),ft(q,"BISHI_BASHI","bishi"),ft(q,"BISHI_BASHI_NEW","newbishi"),ft(q,"DANCE_EVOLUTION","danevo"),ft(q,"DANCE_RUSH","dancerush"),ft(q,"DDR","ddr"),ft(q,"DDRCLASS","ddrclass"),ft(q,"DDROMNI","ddromni"),ft(q,"DRUMMANIA","dm"),ft(q,"EEMALL","eemall"),ft(q,"FUTURETOMTOM","ftt"),ft(q,"GITADORA_DM","gitadora_dm"),ft(q,"GITADORA_GF","gitadora_gf"),ft(q,"GUITARFREAKS","gf"),ft(q,"IIDX","iidx"),ft(q,"IIDXCLASS","iidxclass"),ft(q,"JUBEAT","jubeat"),ft(q,"LOVEPLUS","loveplus"),ft(q,"MGA","metalgear"),ft(q,"MUSECA","museca"),ft(q,"NOSTALGIA","nost"),ft(q,"OTOMEDIUS","oto"),ft(q,"OTOCA","otoca"),ft(q,"POPN_HELLO","hpm"),ft(q,"POPN_MUSIC","pnm"),ft(q,"QMA","qma"),ft(q,"REFLEC_BEAT","reflec"),ft(q,"ROAD_FIGHTERS","roadfighters"),ft(q,"SDVX","sdvx"),ft(q,"SILENT_HILL","sha"),ft(q,"SILENT_SCOPE","scope"),ft(q,"TSUMTSUM","tsum"),ft(q,"WINNING_ELEVEN","weac");function Cb(){const e=Sb,t=Math.floor(Math.random()*e.length),n=e[t];return typeof n.header!="string"&&(n.comment="Show me your moves.",n.author="PhaseII server"),n.header=typeof n.header=="string"?n.header.split(""):["Heyo, ","!"],n}const Ab=[{id:q.BEATSTREAM,name:"BeatStream",icon:null,cardBG:null},{id:q.BISHI_BASHI,name:"BishiBashi",icon:null,cardBG:null},{id:q.BISHI_BASHI_NEW,name:"BishiBashi Channel",icon:null,cardBG:null},{id:q.DANCE_EVOLUTION,name:"DanceEvolution",icon:null,cardBG:null},{id:q.DANCE_RUSH,name:"DanceRush",icon:null,cardBG:null},{id:q.DDR,name:"DanceDance Revolution",icon:null,cardBG:null},{id:q.DDRCLASS,name:"Classic DDR",icon:"/assets/icon/ddr.png",cardBG:"/assets/card/ddr.png"},{id:q.DDROMNI,name:"DDR OmniMIX",icon:"/assets/icon/ddr.png",cardBG:"/assets/card/ddr.png"},{id:q.DRUMMANIA,name:"DRUMMANIA",icon:null,cardBG:null},{id:q.EEMALL,name:"eeMall",icon:null,cardBG:null},{id:q.FUTURETOMTOM,name:"Future Tom Tom",icon:null,cardBG:null},{id:q.GITADORA_DM,name:"GITADORA (Drums)",icon:null,cardBG:null},{id:q.GITADORA_GF,name:"GITADORA (Guitar)",icon:null,cardBG:null},{id:q.GUITARFREAKS,name:"GUITAR FREAKS",icon:null,cardBG:null},{id:q.IIDX,name:"beatmaniaIIDX",icon:"/assets/icon/iidx.png",cardBG:"/assets/card/iidx.png"},{id:q.IIDXCLASS,name:"Classic IIDX",icon:"/assets/icon/iidx.png",cardBG:"/assets/card/iidx.png"},{id:q.JUBEAT,name:"JUBEAT",icon:null,cardBG:null},{id:q.LOVEPLUS,name:"LovePlus",icon:null,cardBG:null},{id:q.MGA,name:"Metal Gear Arcade",icon:null,cardBG:null},{id:q.MUSECA,name:"Museca",icon:null,cardBG:null},{id:q.NOSTALGIA,name:"Nostalgia",icon:null,cardBG:null},{id:q.OTOMEDIUS,name:"Otomedius",icon:null,cardBG:null},{id:q.OTOCA,name:"Otoca d' Or",icon:null,cardBG:null},{id:q.POPN_HELLO,name:"Hello! Pop'n Music",icon:"/assets/icon/popn.png",cardBG:"/assets/card/popn.png"},{id:q.POPN_MUSIC,name:"pop'n music",icon:"/assets/icon/popn.png",cardBG:"/assets/card/popn.png"},{id:q.QMA,name:"Quiz Magic Academy",icon:null,cardBG:null},{id:q.REFLEC_BEAT,name:"ReflecBeat",icon:null,cardBG:null},{id:q.ROAD_FIGHTERS,name:"Road Fighters",icon:null,cardBG:null},{id:q.SDVX,name:"SOUND VOLTEX",icon:null,cardBG:null}];function Eb(e){var t=Ab.find(n=>n.id===e);return t?(t.icon||(t.icon=`/assets/icon/${e}.png`),t.cardBG||(t.cardBG=`/assets/card/${e}.png`),t):null}const Pb={class:"space-y-3 text-center md:text-left lg:mx-12"},Ob={class:"space-y-2 md:space-y-0"},Lb={key:0,class:"text-2xl md:text-xl lg:text-2xl"},Rb={key:1,class:"text-3xl md:text-4xl"},Tb={class:"md:grid md:grid-flow-col md:auto-cols-max md:grid-rows-2 flex flex-wrap gap-4 md:place-content-start place-content-center"},Db={key:0},Ib={class:"text-xl md:text-lg lg:text-2lg"},Fb={class:"text-xs italic"},Bb={__name:"UserCard",props:{useSmall:{type:Boolean,required:!1,default:!1}},setup(e){const t=xs(),n=Cb();function s(i){if(i!==null)return` + background-image: url('/assets/card/${i}.png'); + background-size: cover; + background-repeat: no-repeat; + `}return(i,r)=>(W(),_t(Qi,{style:si(s("iidx"))},{default:mt(()=>[V(gn,{type:"justify-around lg:justify-center md:space-x-4 lg:space-x-0",class:"bg-white dark:bg-slate-900/90 rounded-2xl p-3"},{default:mt(()=>[V(Oh,{class:"w-28 md:w-32 lg:w-44 lg:mx-12"}),j("div",Pb,[j("div",Ob,[e.useSmall?Ft("",!0):(W(),ut("h1",Lb,[Vn(Vt(D(n).header[0])+" ",1),j("b",null,Vt(D(t).userName),1),Vn(Vt(D(n).header[1]),1)])),e.useSmall?(W(),ut("h1",Rb,[j("b",null,Vt(D(t).userName),1)])):Ft("",!0)]),j("div",Tb,[V(Rn,{label:"System Admin",color:"danger",icon:D(n0)},null,8,["icon"]),V(Rn,{label:"Beta Tester",color:"warning",icon:D(fh)},null,8,["icon"]),V(Rn,{label:"Veteran",color:"success",icon:D(B1)},null,8,["icon"]),V(Rn,{label:"Active Dev",color:"info",icon:D(W1)},null,8,["icon"])])]),e.useSmall?Ft("",!0):(W(),ut("div",Db,[j("p",Ib,Vt(D(n).comment),1),j("p",Fb,"Greeting by: "+Vt(D(n).author),1)]))]),_:1})]),_:1},8,["style"]))}},go={default:{primary:"#00D1B2",info:"#209CEE",danger:"#FF3860"}},Hb=e=>{const t=[];for(let n=0;n({fill:!1,borderColor:go.default[e],borderWidth:2,borderDash:[],borderDashOffset:0,pointBackgroundColor:go.default[e],pointBorderColor:"rgba(255,255,255,0)",pointHoverBackgroundColor:go.default[e],pointBorderWidth:20,pointHoverRadius:4,pointHoverBorderWidth:15,pointRadius:4,data:Hb(t),tension:.5,cubicInterpolationMode:"default"}),Nb=(e=7)=>{const t=[];for(let n=1;n<=e;n++)t.push(`0${n}`);return{labels:t,datasets:[Vb("info",e)]}};/*! + * Chart.js v3.9.1 + * https://www.chartjs.org + * (c) 2022 Chart.js Contributors + * Released under the MIT License + */function He(){}const $b=function(){let e=0;return function(){return e++}}();function xt(e){return e===null||typeof e>"u"}function Et(e){if(Array.isArray&&Array.isArray(e))return!0;const t=Object.prototype.toString.call(e);return t.slice(0,7)==="[object"&&t.slice(-6)==="Array]"}function yt(e){return e!==null&&Object.prototype.toString.call(e)==="[object Object]"}const Wt=e=>(typeof e=="number"||e instanceof Number)&&isFinite(+e);function he(e,t){return Wt(e)?e:t}function bt(e,t){return typeof e>"u"?t:e}const zb=(e,t)=>typeof e=="string"&&e.endsWith("%")?parseFloat(e)/100:e/t,Dh=(e,t)=>typeof e=="string"&&e.endsWith("%")?parseFloat(e)/100*t:+e;function Ot(e,t,n){if(e&&typeof e.call=="function")return e.apply(n,t)}function wt(e,t,n,s){let i,r,o;if(Et(e))if(r=e.length,s)for(i=r-1;i>=0;i--)t.call(n,e[i],i);else for(i=0;ie,x:e=>e.x,y:e=>e.y};function mn(e,t){return(Tc[t]||(Tc[t]=Ub(t)))(e)}function Ub(e){const t=qb(e);return n=>{for(const s of t){if(s==="")break;n=n&&n[s]}return n}}function qb(e){const t=e.split("."),n=[];let s="";for(const i of t)s+=i,s.endsWith("\\")?s=s.slice(0,-1)+".":(n.push(s),s="");return n}function Ha(e){return e.charAt(0).toUpperCase()+e.slice(1)}const be=e=>typeof e<"u",bn=e=>typeof e=="function",Dc=(e,t)=>{if(e.size!==t.size)return!1;for(const n of e)if(!t.has(n))return!1;return!0};function Kb(e){return e.type==="mouseup"||e.type==="click"||e.type==="contextmenu"}const Rt=Math.PI,kt=2*Rt,Yb=kt+Rt,nr=Number.POSITIVE_INFINITY,Xb=Rt/180,Lt=Rt/2,Ss=Rt/4,Ic=Rt*2/3,de=Math.log10,Ie=Math.sign;function Fc(e){const t=Math.round(e);e=$s(e,t,e/1e3)?t:e;const n=Math.pow(10,Math.floor(de(e))),s=e/n;return(s<=1?1:s<=2?2:s<=5?5:10)*n}function Gb(e){const t=[],n=Math.sqrt(e);let s;for(s=1;si-r).pop(),t}function us(e){return!isNaN(parseFloat(e))&&isFinite(e)}function $s(e,t,n){return Math.abs(e-t)=e}function Fh(e,t,n){let s,i,r;for(s=0,i=e.length;sl&&c=Math.min(t,n)-s&&e<=Math.max(t,n)+s}function Na(e,t,n){n=n||(o=>e[o]1;)r=i+s>>1,n(r)?i=r:s=r;return{lo:i,hi:s}}const Tn=(e,t,n,s)=>Na(e,n,s?i=>e[i][t]<=n:i=>e[i][t]Na(e,n,s=>e[s][t]>=n);function e_(e,t,n){let s=0,i=e.length;for(;ss&&e[i-1]>n;)i--;return s>0||i{const s="_onData"+Ha(n),i=e[n];Object.defineProperty(e,n,{configurable:!0,enumerable:!1,value(...r){const o=i.apply(this,r);return e._chartjs.listeners.forEach(a=>{typeof a[s]=="function"&&a[s](...r)}),o}})})}function Hc(e,t){const n=e._chartjs;if(!n)return;const s=n.listeners,i=s.indexOf(t);i!==-1&&s.splice(i,1),!(s.length>0)&&(Hh.forEach(r=>{delete e[r]}),delete e._chartjs)}function Vh(e){const t=new Set;let n,s;for(n=0,s=e.length;n"u"?function(e){return e()}:window.requestAnimationFrame}();function $h(e,t,n){const s=n||(o=>Array.prototype.slice.call(o));let i=!1,r=[];return function(...o){r=s(o),i||(i=!0,Nh.call(window,()=>{i=!1,e.apply(t,r)}))}}function s_(e,t){let n;return function(...s){return t?(clearTimeout(n),n=setTimeout(e,t,s)):e.apply(this,s),t}}const i_=e=>e==="start"?"left":e==="end"?"right":"center",Vc=(e,t,n)=>e==="start"?t:e==="end"?n:(t+n)/2;function zh(e,t,n){const s=t.length;let i=0,r=s;if(e._sorted){const{iScale:o,_parsed:a}=e,l=o.axis,{min:c,max:u,minDefined:f,maxDefined:h}=o.getUserBounds();f&&(i=Xt(Math.min(Tn(a,o.axis,c).lo,n?s:Tn(t,l,o.getPixelForValue(c)).lo),0,s-1)),h?r=Xt(Math.max(Tn(a,o.axis,u,!0).hi+1,n?0:Tn(t,l,o.getPixelForValue(u),!0).hi+1),i,s)-i:r=s-i}return{start:i,count:r}}function jh(e){const{xScale:t,yScale:n,_scaleRanges:s}=e,i={xmin:t.min,xmax:t.max,ymin:n.min,ymax:n.max};if(!s)return e._scaleRanges=i,!0;const r=s.xmin!==t.min||s.xmax!==t.max||s.ymin!==n.min||s.ymax!==n.max;return Object.assign(s,i),r}const bi=e=>e===0||e===1,Nc=(e,t,n)=>-(Math.pow(2,10*(e-=1))*Math.sin((e-t)*kt/n)),$c=(e,t,n)=>Math.pow(2,-10*e)*Math.sin((e-t)*kt/n)+1,zs={linear:e=>e,easeInQuad:e=>e*e,easeOutQuad:e=>-e*(e-2),easeInOutQuad:e=>(e/=.5)<1?.5*e*e:-.5*(--e*(e-2)-1),easeInCubic:e=>e*e*e,easeOutCubic:e=>(e-=1)*e*e+1,easeInOutCubic:e=>(e/=.5)<1?.5*e*e*e:.5*((e-=2)*e*e+2),easeInQuart:e=>e*e*e*e,easeOutQuart:e=>-((e-=1)*e*e*e-1),easeInOutQuart:e=>(e/=.5)<1?.5*e*e*e*e:-.5*((e-=2)*e*e*e-2),easeInQuint:e=>e*e*e*e*e,easeOutQuint:e=>(e-=1)*e*e*e*e+1,easeInOutQuint:e=>(e/=.5)<1?.5*e*e*e*e*e:.5*((e-=2)*e*e*e*e+2),easeInSine:e=>-Math.cos(e*Lt)+1,easeOutSine:e=>Math.sin(e*Lt),easeInOutSine:e=>-.5*(Math.cos(Rt*e)-1),easeInExpo:e=>e===0?0:Math.pow(2,10*(e-1)),easeOutExpo:e=>e===1?1:-Math.pow(2,-10*e)+1,easeInOutExpo:e=>bi(e)?e:e<.5?.5*Math.pow(2,10*(e*2-1)):.5*(-Math.pow(2,-10*(e*2-1))+2),easeInCirc:e=>e>=1?e:-(Math.sqrt(1-e*e)-1),easeOutCirc:e=>Math.sqrt(1-(e-=1)*e),easeInOutCirc:e=>(e/=.5)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1),easeInElastic:e=>bi(e)?e:Nc(e,.075,.3),easeOutElastic:e=>bi(e)?e:$c(e,.075,.3),easeInOutElastic(e){return bi(e)?e:e<.5?.5*Nc(e*2,.1125,.45):.5+.5*$c(e*2-1,.1125,.45)},easeInBack(e){return e*e*((1.70158+1)*e-1.70158)},easeOutBack(e){return(e-=1)*e*((1.70158+1)*e+1.70158)+1},easeInOutBack(e){let t=1.70158;return(e/=.5)<1?.5*(e*e*(((t*=1.525)+1)*e-t)):.5*((e-=2)*e*(((t*=1.525)+1)*e+t)+2)},easeInBounce:e=>1-zs.easeOutBounce(1-e),easeOutBounce(e){return e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375},easeInOutBounce:e=>e<.5?zs.easeInBounce(e*2)*.5:zs.easeOutBounce(e*2-1)*.5+.5};/*! + * @kurkle/color v0.2.1 + * https://github.com/kurkle/color#readme + * (c) 2022 Jukka Kurkela + * Released under the MIT License + */function ri(e){return e+.5|0}const on=(e,t,n)=>Math.max(Math.min(e,n),t);function Rs(e){return on(ri(e*2.55),0,255)}function fn(e){return on(ri(e*255),0,255)}function ze(e){return on(ri(e/2.55)/100,0,1)}function zc(e){return on(ri(e*100),0,100)}const fe={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15},Xo=[..."0123456789ABCDEF"],r_=e=>Xo[e&15],o_=e=>Xo[(e&240)>>4]+Xo[e&15],_i=e=>(e&240)>>4===(e&15),a_=e=>_i(e.r)&&_i(e.g)&&_i(e.b)&&_i(e.a);function l_(e){var t=e.length,n;return e[0]==="#"&&(t===4||t===5?n={r:255&fe[e[1]]*17,g:255&fe[e[2]]*17,b:255&fe[e[3]]*17,a:t===5?fe[e[4]]*17:255}:(t===7||t===9)&&(n={r:fe[e[1]]<<4|fe[e[2]],g:fe[e[3]]<<4|fe[e[4]],b:fe[e[5]]<<4|fe[e[6]],a:t===9?fe[e[7]]<<4|fe[e[8]]:255})),n}const c_=(e,t)=>e<255?t(e):"";function u_(e){var t=a_(e)?r_:o_;return e?"#"+t(e.r)+t(e.g)+t(e.b)+c_(e.a,t):void 0}const f_=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function Wh(e,t,n){const s=t*Math.min(n,1-n),i=(r,o=(r+e/30)%12)=>n-s*Math.max(Math.min(o-3,9-o,1),-1);return[i(0),i(8),i(4)]}function h_(e,t,n){const s=(i,r=(i+e/60)%6)=>n-n*t*Math.max(Math.min(r,4-r,1),0);return[s(5),s(3),s(1)]}function d_(e,t,n){const s=Wh(e,1,.5);let i;for(t+n>1&&(i=1/(t+n),t*=i,n*=i),i=0;i<3;i++)s[i]*=1-t-n,s[i]+=t;return s}function p_(e,t,n,s,i){return e===i?(t-n)/s+(t.5?u/(2-r-o):u/(r+o),l=p_(n,s,i,u,r),l=l*60+.5),[l|0,c||0,a]}function za(e,t,n,s){return(Array.isArray(t)?e(t[0],t[1],t[2]):e(t,n,s)).map(fn)}function ja(e,t,n){return za(Wh,e,t,n)}function g_(e,t,n){return za(d_,e,t,n)}function m_(e,t,n){return za(h_,e,t,n)}function Uh(e){return(e%360+360)%360}function b_(e){const t=f_.exec(e);let n=255,s;if(!t)return;t[5]!==s&&(n=t[6]?Rs(+t[5]):fn(+t[5]));const i=Uh(+t[2]),r=+t[3]/100,o=+t[4]/100;return t[1]==="hwb"?s=g_(i,r,o):t[1]==="hsv"?s=m_(i,r,o):s=ja(i,r,o),{r:s[0],g:s[1],b:s[2],a:n}}function __(e,t){var n=$a(e);n[0]=Uh(n[0]+t),n=ja(n),e.r=n[0],e.g=n[1],e.b=n[2]}function y_(e){if(!e)return;const t=$a(e),n=t[0],s=zc(t[1]),i=zc(t[2]);return e.a<255?`hsla(${n}, ${s}%, ${i}%, ${ze(e.a)})`:`hsl(${n}, ${s}%, ${i}%)`}const jc={x:"dark",Z:"light",Y:"re",X:"blu",W:"gr",V:"medium",U:"slate",A:"ee",T:"ol",S:"or",B:"ra",C:"lateg",D:"ights",R:"in",Q:"turquois",E:"hi",P:"ro",O:"al",N:"le",M:"de",L:"yello",F:"en",K:"ch",G:"arks",H:"ea",I:"ightg",J:"wh"},Wc={OiceXe:"f0f8ff",antiquewEte:"faebd7",aqua:"ffff",aquamarRe:"7fffd4",azuY:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"0",blanKedOmond:"ffebcd",Xe:"ff",XeviTet:"8a2be2",bPwn:"a52a2a",burlywood:"deb887",caMtXe:"5f9ea0",KartYuse:"7fff00",KocTate:"d2691e",cSO:"ff7f50",cSnflowerXe:"6495ed",cSnsilk:"fff8dc",crimson:"dc143c",cyan:"ffff",xXe:"8b",xcyan:"8b8b",xgTMnPd:"b8860b",xWay:"a9a9a9",xgYF:"6400",xgYy:"a9a9a9",xkhaki:"bdb76b",xmagFta:"8b008b",xTivegYF:"556b2f",xSange:"ff8c00",xScEd:"9932cc",xYd:"8b0000",xsOmon:"e9967a",xsHgYF:"8fbc8f",xUXe:"483d8b",xUWay:"2f4f4f",xUgYy:"2f4f4f",xQe:"ced1",xviTet:"9400d3",dAppRk:"ff1493",dApskyXe:"bfff",dimWay:"696969",dimgYy:"696969",dodgerXe:"1e90ff",fiYbrick:"b22222",flSOwEte:"fffaf0",foYstWAn:"228b22",fuKsia:"ff00ff",gaRsbSo:"dcdcdc",ghostwEte:"f8f8ff",gTd:"ffd700",gTMnPd:"daa520",Way:"808080",gYF:"8000",gYFLw:"adff2f",gYy:"808080",honeyMw:"f0fff0",hotpRk:"ff69b4",RdianYd:"cd5c5c",Rdigo:"4b0082",ivSy:"fffff0",khaki:"f0e68c",lavFMr:"e6e6fa",lavFMrXsh:"fff0f5",lawngYF:"7cfc00",NmoncEffon:"fffacd",ZXe:"add8e6",ZcSO:"f08080",Zcyan:"e0ffff",ZgTMnPdLw:"fafad2",ZWay:"d3d3d3",ZgYF:"90ee90",ZgYy:"d3d3d3",ZpRk:"ffb6c1",ZsOmon:"ffa07a",ZsHgYF:"20b2aa",ZskyXe:"87cefa",ZUWay:"778899",ZUgYy:"778899",ZstAlXe:"b0c4de",ZLw:"ffffe0",lime:"ff00",limegYF:"32cd32",lRF:"faf0e6",magFta:"ff00ff",maPon:"800000",VaquamarRe:"66cdaa",VXe:"cd",VScEd:"ba55d3",VpurpN:"9370db",VsHgYF:"3cb371",VUXe:"7b68ee",VsprRggYF:"fa9a",VQe:"48d1cc",VviTetYd:"c71585",midnightXe:"191970",mRtcYam:"f5fffa",mistyPse:"ffe4e1",moccasR:"ffe4b5",navajowEte:"ffdead",navy:"80",Tdlace:"fdf5e6",Tive:"808000",TivedBb:"6b8e23",Sange:"ffa500",SangeYd:"ff4500",ScEd:"da70d6",pOegTMnPd:"eee8aa",pOegYF:"98fb98",pOeQe:"afeeee",pOeviTetYd:"db7093",papayawEp:"ffefd5",pHKpuff:"ffdab9",peru:"cd853f",pRk:"ffc0cb",plum:"dda0dd",powMrXe:"b0e0e6",purpN:"800080",YbeccapurpN:"663399",Yd:"ff0000",Psybrown:"bc8f8f",PyOXe:"4169e1",saddNbPwn:"8b4513",sOmon:"fa8072",sandybPwn:"f4a460",sHgYF:"2e8b57",sHshell:"fff5ee",siFna:"a0522d",silver:"c0c0c0",skyXe:"87ceeb",UXe:"6a5acd",UWay:"708090",UgYy:"708090",snow:"fffafa",sprRggYF:"ff7f",stAlXe:"4682b4",tan:"d2b48c",teO:"8080",tEstN:"d8bfd8",tomato:"ff6347",Qe:"40e0d0",viTet:"ee82ee",JHt:"f5deb3",wEte:"ffffff",wEtesmoke:"f5f5f5",Lw:"ffff00",LwgYF:"9acd32"};function x_(){const e={},t=Object.keys(Wc),n=Object.keys(jc);let s,i,r,o,a;for(s=0;s>16&255,r>>8&255,r&255]}return e}let yi;function v_(e){yi||(yi=x_(),yi.transparent=[0,0,0,0]);const t=yi[e.toLowerCase()];return t&&{r:t[0],g:t[1],b:t[2],a:t.length===4?t[3]:255}}const w_=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;function M_(e){const t=w_.exec(e);let n=255,s,i,r;if(!!t){if(t[7]!==s){const o=+t[7];n=t[8]?Rs(o):on(o*255,0,255)}return s=+t[1],i=+t[3],r=+t[5],s=255&(t[2]?Rs(s):on(s,0,255)),i=255&(t[4]?Rs(i):on(i,0,255)),r=255&(t[6]?Rs(r):on(r,0,255)),{r:s,g:i,b:r,a:n}}}function k_(e){return e&&(e.a<255?`rgba(${e.r}, ${e.g}, ${e.b}, ${ze(e.a)})`:`rgb(${e.r}, ${e.g}, ${e.b})`)}const mo=e=>e<=.0031308?e*12.92:Math.pow(e,1/2.4)*1.055-.055,Xn=e=>e<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4);function S_(e,t,n){const s=Xn(ze(e.r)),i=Xn(ze(e.g)),r=Xn(ze(e.b));return{r:fn(mo(s+n*(Xn(ze(t.r))-s))),g:fn(mo(i+n*(Xn(ze(t.g))-i))),b:fn(mo(r+n*(Xn(ze(t.b))-r))),a:e.a+n*(t.a-e.a)}}function xi(e,t,n){if(e){let s=$a(e);s[t]=Math.max(0,Math.min(s[t]+s[t]*n,t===0?360:1)),s=ja(s),e.r=s[0],e.g=s[1],e.b=s[2]}}function qh(e,t){return e&&Object.assign(t||{},e)}function Uc(e){var t={r:0,g:0,b:0,a:255};return Array.isArray(e)?e.length>=3&&(t={r:e[0],g:e[1],b:e[2],a:255},e.length>3&&(t.a=fn(e[3]))):(t=qh(e,{r:0,g:0,b:0,a:1}),t.a=fn(t.a)),t}function C_(e){return e.charAt(0)==="r"?M_(e):b_(e)}class ir{constructor(t){if(t instanceof ir)return t;const n=typeof t;let s;n==="object"?s=Uc(t):n==="string"&&(s=l_(t)||v_(t)||C_(t)),this._rgb=s,this._valid=!!s}get valid(){return this._valid}get rgb(){var t=qh(this._rgb);return t&&(t.a=ze(t.a)),t}set rgb(t){this._rgb=Uc(t)}rgbString(){return this._valid?k_(this._rgb):void 0}hexString(){return this._valid?u_(this._rgb):void 0}hslString(){return this._valid?y_(this._rgb):void 0}mix(t,n){if(t){const s=this.rgb,i=t.rgb;let r;const o=n===r?.5:n,a=2*o-1,l=s.a-i.a,c=((a*l===-1?a:(a+l)/(1+a*l))+1)/2;r=1-c,s.r=255&c*s.r+r*i.r+.5,s.g=255&c*s.g+r*i.g+.5,s.b=255&c*s.b+r*i.b+.5,s.a=o*s.a+(1-o)*i.a,this.rgb=s}return this}interpolate(t,n){return t&&(this._rgb=S_(this._rgb,t._rgb,n)),this}clone(){return new ir(this.rgb)}alpha(t){return this._rgb.a=fn(t),this}clearer(t){const n=this._rgb;return n.a*=1-t,this}greyscale(){const t=this._rgb,n=ri(t.r*.3+t.g*.59+t.b*.11);return t.r=t.g=t.b=n,this}opaquer(t){const n=this._rgb;return n.a*=1+t,this}negate(){const t=this._rgb;return t.r=255-t.r,t.g=255-t.g,t.b=255-t.b,this}lighten(t){return xi(this._rgb,2,t),this}darken(t){return xi(this._rgb,2,-t),this}saturate(t){return xi(this._rgb,1,t),this}desaturate(t){return xi(this._rgb,1,-t),this}rotate(t){return __(this._rgb,t),this}}function Kh(e){return new ir(e)}function Yh(e){if(e&&typeof e=="object"){const t=e.toString();return t==="[object CanvasPattern]"||t==="[object CanvasGradient]"}return!1}function qc(e){return Yh(e)?e:Kh(e)}function bo(e){return Yh(e)?e:Kh(e).saturate(.5).darken(.1).hexString()}const Nn=Object.create(null),Go=Object.create(null);function js(e,t){if(!t)return e;const n=t.split(".");for(let s=0,i=n.length;sn.chart.platform.getDevicePixelRatio(),this.elements={},this.events=["mousemove","mouseout","click","touchstart","touchmove"],this.font={family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",size:12,style:"normal",lineHeight:1.2,weight:null},this.hover={},this.hoverBackgroundColor=(n,s)=>bo(s.backgroundColor),this.hoverBorderColor=(n,s)=>bo(s.borderColor),this.hoverColor=(n,s)=>bo(s.color),this.indexAxis="x",this.interaction={mode:"nearest",intersect:!0,includeInvisible:!1},this.maintainAspectRatio=!0,this.onHover=null,this.onClick=null,this.parsing=!0,this.plugins={},this.responsive=!0,this.scale=void 0,this.scales={},this.showLine=!0,this.drawActiveElementsOnTop=!0,this.describe(t)}set(t,n){return _o(this,t,n)}get(t){return js(this,t)}describe(t,n){return _o(Go,t,n)}override(t,n){return _o(Nn,t,n)}route(t,n,s,i){const r=js(this,t),o=js(this,s),a="_"+n;Object.defineProperties(r,{[a]:{value:r[n],writable:!0},[n]:{enumerable:!0,get(){const l=this[a],c=o[i];return yt(l)?Object.assign({},c,l):bt(l,c)},set(l){this[a]=l}}})}}var ht=new A_({_scriptable:e=>!e.startsWith("on"),_indexable:e=>e!=="events",hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}});function E_(e){return!e||xt(e.size)||xt(e.family)?null:(e.style?e.style+" ":"")+(e.weight?e.weight+" ":"")+e.size+"px "+e.family}function rr(e,t,n,s,i){let r=t[i];return r||(r=t[i]=e.measureText(i).width,n.push(i)),r>s&&(s=r),s}function P_(e,t,n,s){s=s||{};let i=s.data=s.data||{},r=s.garbageCollect=s.garbageCollect||[];s.font!==t&&(i=s.data={},r=s.garbageCollect=[],s.font=t),e.save(),e.font=t;let o=0;const a=n.length;let l,c,u,f,h;for(l=0;ln.length){for(l=0;l0&&e.stroke()}}function ei(e,t,n){return n=n||.5,!t||e&&e.x>t.left-n&&e.xt.top-n&&e.y0&&r.strokeColor!=="";let l,c;for(e.save(),e.font=i.string,T_(e,r),l=0;l+e||0;function Wa(e,t){const n={},s=yt(t),i=s?Object.keys(t):t,r=yt(e)?s?o=>bt(e[o],e[t[o]]):o=>e[o]:()=>e;for(const o of i)n[o]=H_(r(o));return n}function Zh(e){return Wa(e,{top:"y",right:"x",bottom:"y",left:"x"})}function es(e){return Wa(e,["topLeft","topRight","bottomLeft","bottomRight"])}function _e(e){const t=Zh(e);return t.width=t.left+t.right,t.height=t.top+t.bottom,t}function le(e,t){e=e||{},t=t||ht.font;let n=bt(e.size,t.size);typeof n=="string"&&(n=parseInt(n,10));let s=bt(e.style,t.style);s&&!(""+s).match(F_)&&(console.warn('Invalid font style specified: "'+s+'"'),s="");const i={family:bt(e.family,t.family),lineHeight:B_(bt(e.lineHeight,t.lineHeight),n),size:n,style:s,weight:bt(e.weight,t.weight),string:""};return i.string=E_(i),i}function vi(e,t,n,s){let i=!0,r,o,a;for(r=0,o=e.length;rn&&a===0?0:a+l;return{min:o(s,-Math.abs(r)),max:o(i,r)}}function _n(e,t){return Object.assign(Object.create(e),t)}function Ua(e,t=[""],n=e,s,i=()=>e[0]){be(s)||(s=ed("_fallback",e));const r={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:e,_rootScopes:n,_fallback:s,_getTarget:i,override:o=>Ua([o,...e],t,n,s)};return new Proxy(r,{deleteProperty(o,a){return delete o[a],delete o._keys,delete e[0][a],!0},get(o,a){return Qh(o,a,()=>K_(a,t,e,o))},getOwnPropertyDescriptor(o,a){return Reflect.getOwnPropertyDescriptor(o._scopes[0],a)},getPrototypeOf(){return Reflect.getPrototypeOf(e[0])},has(o,a){return Xc(o).includes(a)},ownKeys(o){return Xc(o)},set(o,a,l){const c=o._storage||(o._storage=i());return o[a]=c[a]=l,delete o._keys,!0}})}function fs(e,t,n,s){const i={_cacheable:!1,_proxy:e,_context:t,_subProxy:n,_stack:new Set,_descriptors:Jh(e,s),setContext:r=>fs(e,r,n,s),override:r=>fs(e.override(r),t,n,s)};return new Proxy(i,{deleteProperty(r,o){return delete r[o],delete e[o],!0},get(r,o,a){return Qh(r,o,()=>$_(r,o,a))},getOwnPropertyDescriptor(r,o){return r._descriptors.allKeys?Reflect.has(e,o)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(e,o)},getPrototypeOf(){return Reflect.getPrototypeOf(e)},has(r,o){return Reflect.has(e,o)},ownKeys(){return Reflect.ownKeys(e)},set(r,o,a){return e[o]=a,delete r[o],!0}})}function Jh(e,t={scriptable:!0,indexable:!0}){const{_scriptable:n=t.scriptable,_indexable:s=t.indexable,_allKeys:i=t.allKeys}=e;return{allKeys:i,scriptable:n,indexable:s,isScriptable:bn(n)?n:()=>n,isIndexable:bn(s)?s:()=>s}}const N_=(e,t)=>e?e+Ha(t):t,qa=(e,t)=>yt(t)&&e!=="adapters"&&(Object.getPrototypeOf(t)===null||t.constructor===Object);function Qh(e,t,n){if(Object.prototype.hasOwnProperty.call(e,t))return e[t];const s=n();return e[t]=s,s}function $_(e,t,n){const{_proxy:s,_context:i,_subProxy:r,_descriptors:o}=e;let a=s[t];return bn(a)&&o.isScriptable(t)&&(a=z_(t,a,e,n)),Et(a)&&a.length&&(a=j_(t,a,e,o.isIndexable)),qa(t,a)&&(a=fs(a,i,r&&r[t],o)),a}function z_(e,t,n,s){const{_proxy:i,_context:r,_subProxy:o,_stack:a}=n;if(a.has(e))throw new Error("Recursion detected: "+Array.from(a).join("->")+"->"+e);return a.add(e),t=t(r,o||s),a.delete(e),qa(e,t)&&(t=Ka(i._scopes,i,e,t)),t}function j_(e,t,n,s){const{_proxy:i,_context:r,_subProxy:o,_descriptors:a}=n;if(be(r.index)&&s(e))t=t[r.index%t.length];else if(yt(t[0])){const l=t,c=i._scopes.filter(u=>u!==l);t=[];for(const u of l){const f=Ka(c,i,e,u);t.push(fs(f,r,o&&o[e],a))}}return t}function td(e,t,n){return bn(e)?e(t,n):e}const W_=(e,t)=>e===!0?t:typeof e=="string"?mn(t,e):void 0;function U_(e,t,n,s,i){for(const r of t){const o=W_(n,r);if(o){e.add(o);const a=td(o._fallback,n,i);if(be(a)&&a!==n&&a!==s)return a}else if(o===!1&&be(s)&&n!==s)return null}return!1}function Ka(e,t,n,s){const i=t._rootScopes,r=td(t._fallback,n,s),o=[...e,...i],a=new Set;a.add(s);let l=Yc(a,o,n,r||n,s);return l===null||be(r)&&r!==n&&(l=Yc(a,o,r,l,s),l===null)?!1:Ua(Array.from(a),[""],i,r,()=>q_(t,n,s))}function Yc(e,t,n,s,i){for(;n;)n=U_(e,t,n,s,i);return n}function q_(e,t,n){const s=e._getTarget();t in s||(s[t]={});const i=s[t];return Et(i)&&yt(n)?n:i}function K_(e,t,n,s){let i;for(const r of t)if(i=ed(N_(r,e),n),be(i))return qa(e,i)?Ka(n,s,e,i):i}function ed(e,t){for(const n of t){if(!n)continue;const s=n[e];if(be(s))return s}}function Xc(e){let t=e._keys;return t||(t=e._keys=Y_(e._scopes)),t}function Y_(e){const t=new Set;for(const n of e)for(const s of Object.keys(n).filter(i=>!i.startsWith("_")))t.add(s);return Array.from(t)}function nd(e,t,n,s){const{iScale:i}=e,{key:r="r"}=this._parsing,o=new Array(s);let a,l,c,u;for(a=0,l=s;ate==="x"?"y":"x";function G_(e,t,n,s){const i=e.skip?t:e,r=t,o=n.skip?t:n,a=Yo(r,i),l=Yo(o,r);let c=a/(a+l),u=l/(a+l);c=isNaN(c)?0:c,u=isNaN(u)?0:u;const f=s*c,h=s*u;return{previous:{x:r.x-f*(o.x-i.x),y:r.y-f*(o.y-i.y)},next:{x:r.x+h*(o.x-i.x),y:r.y+h*(o.y-i.y)}}}function Z_(e,t,n){const s=e.length;let i,r,o,a,l,c=hs(e,0);for(let u=0;u!c.skip)),t.cubicInterpolationMode==="monotone")Q_(e,i);else{let c=s?e[e.length-1]:e[0];for(r=0,o=e.length;rwindow.getComputedStyle(e,null);function ny(e,t){return Ir(e).getPropertyValue(t)}const sy=["top","right","bottom","left"];function Bn(e,t,n){const s={};n=n?"-"+n:"";for(let i=0;i<4;i++){const r=sy[i];s[r]=parseFloat(e[t+"-"+r+n])||0}return s.width=s.left+s.right,s.height=s.top+s.bottom,s}const iy=(e,t,n)=>(e>0||t>0)&&(!n||!n.shadowRoot);function ry(e,t){const n=e.touches,s=n&&n.length?n[0]:e,{offsetX:i,offsetY:r}=s;let o=!1,a,l;if(iy(i,r,e.target))a=i,l=r;else{const c=t.getBoundingClientRect();a=s.clientX-c.left,l=s.clientY-c.top,o=!0}return{x:a,y:l,box:o}}function Cn(e,t){if("native"in e)return e;const{canvas:n,currentDevicePixelRatio:s}=t,i=Ir(n),r=i.boxSizing==="border-box",o=Bn(i,"padding"),a=Bn(i,"border","width"),{x:l,y:c,box:u}=ry(e,n),f=o.left+(u&&a.left),h=o.top+(u&&a.top);let{width:d,height:p}=t;return r&&(d-=o.width+a.width,p-=o.height+a.height),{x:Math.round((l-f)/d*n.width/s),y:Math.round((c-h)/p*n.height/s)}}function oy(e,t,n){let s,i;if(t===void 0||n===void 0){const r=Ya(e);if(!r)t=e.clientWidth,n=e.clientHeight;else{const o=r.getBoundingClientRect(),a=Ir(r),l=Bn(a,"border","width"),c=Bn(a,"padding");t=o.width-c.width-l.width,n=o.height-c.height-l.height,s=lr(a.maxWidth,r,"clientWidth"),i=lr(a.maxHeight,r,"clientHeight")}}return{width:t,height:n,maxWidth:s||nr,maxHeight:i||nr}}const yo=e=>Math.round(e*10)/10;function ay(e,t,n,s){const i=Ir(e),r=Bn(i,"margin"),o=lr(i.maxWidth,e,"clientWidth")||nr,a=lr(i.maxHeight,e,"clientHeight")||nr,l=oy(e,t,n);let{width:c,height:u}=l;if(i.boxSizing==="content-box"){const f=Bn(i,"border","width"),h=Bn(i,"padding");c-=h.width+f.width,u-=h.height+f.height}return c=Math.max(0,c-r.width),u=Math.max(0,s?Math.floor(c/s):u-r.height),c=yo(Math.min(c,o,l.maxWidth)),u=yo(Math.min(u,a,l.maxHeight)),c&&!u&&(u=yo(c/2)),{width:c,height:u}}function Gc(e,t,n){const s=t||1,i=Math.floor(e.height*s),r=Math.floor(e.width*s);e.height=i/s,e.width=r/s;const o=e.canvas;return o.style&&(n||!o.style.height&&!o.style.width)&&(o.style.height=`${e.height}px`,o.style.width=`${e.width}px`),e.currentDevicePixelRatio!==s||o.height!==i||o.width!==r?(e.currentDevicePixelRatio=s,o.height=i,o.width=r,e.ctx.setTransform(s,0,0,s,0,0),!0):!1}const ly=function(){let e=!1;try{const t={get passive(){return e=!0,!1}};window.addEventListener("test",null,t),window.removeEventListener("test",null,t)}catch{}return e}();function Zc(e,t){const n=ny(e,t),s=n&&n.match(/^(\d+)(\.\d+)?px$/);return s?+s[1]:void 0}function An(e,t,n,s){return{x:e.x+n*(t.x-e.x),y:e.y+n*(t.y-e.y)}}function cy(e,t,n,s){return{x:e.x+n*(t.x-e.x),y:s==="middle"?n<.5?e.y:t.y:s==="after"?n<1?e.y:t.y:n>0?t.y:e.y}}function uy(e,t,n,s){const i={x:e.cp2x,y:e.cp2y},r={x:t.cp1x,y:t.cp1y},o=An(e,i,n),a=An(i,r,n),l=An(r,t,n),c=An(o,a,n),u=An(a,l,n);return An(c,u,n)}const Jc=new Map;function fy(e,t){t=t||{};const n=e+JSON.stringify(t);let s=Jc.get(n);return s||(s=new Intl.NumberFormat(e,t),Jc.set(n,s)),s}function oi(e,t,n){return fy(t,n).format(e)}const hy=function(e,t){return{x(n){return e+e+t-n},setWidth(n){t=n},textAlign(n){return n==="center"?n:n==="right"?"left":"right"},xPlus(n,s){return n-s},leftForLtr(n,s){return n-s}}},dy=function(){return{x(e){return e},setWidth(e){},textAlign(e){return e},xPlus(e,t){return e+t},leftForLtr(e,t){return e}}};function xo(e,t,n){return e?hy(t,n):dy()}function py(e,t){let n,s;(t==="ltr"||t==="rtl")&&(n=e.canvas.style,s=[n.getPropertyValue("direction"),n.getPropertyPriority("direction")],n.setProperty("direction",t,"important"),e.prevTextDirection=s)}function gy(e,t){t!==void 0&&(delete e.prevTextDirection,e.canvas.style.setProperty("direction",t[0],t[1]))}function rd(e){return e==="angle"?{between:ti,compare:Jb,normalize:ve}:{between:sr,compare:(t,n)=>t-n,normalize:t=>t}}function Qc({start:e,end:t,count:n,loop:s,style:i}){return{start:e%n,end:t%n,loop:s&&(t-e+1)%n===0,style:i}}function my(e,t,n){const{property:s,start:i,end:r}=n,{between:o,normalize:a}=rd(s),l=t.length;let{start:c,end:u,loop:f}=e,h,d;if(f){for(c+=l,u+=l,h=0,d=l;hl(i,w,_)&&a(i,w)!==0,x=()=>a(r,_)===0||l(r,w,_),L=()=>g||M(),A=()=>!g||x();for(let S=u,R=u;S<=f;++S)v=t[S%o],!v.skip&&(_=c(v[s]),_!==w&&(g=l(_,i,r),b===null&&L()&&(b=a(_,i)===0?S:R),b!==null&&A()&&(p.push(Qc({start:b,end:S,loop:h,count:o,style:d})),b=null),R=S,w=_));return b!==null&&p.push(Qc({start:b,end:f,loop:h,count:o,style:d})),p}function _y(e,t){const n=[],s=e.segments;for(let i=0;ii&&e[r%t].skip;)r--;return r%=t,{start:i,end:r}}function xy(e,t,n,s){const i=e.length,r=[];let o=t,a=e[t],l;for(l=t+1;l<=n;++l){const c=e[l%i];c.skip||c.stop?a.skip||(s=!1,r.push({start:t%i,end:(l-1)%i,loop:s}),t=o=c.stop?l:null):(o=l,a.skip&&(t=l)),a=c}return o!==null&&r.push({start:t%i,end:o%i,loop:s}),r}function vy(e,t){const n=e.points,s=e.options.spanGaps,i=n.length;if(!i)return[];const r=!!e._loop,{start:o,end:a}=yy(n,i,r,s);if(s===!0)return tu(e,[{start:o,end:a,loop:r}],n,t);const l=aa({chart:t,initial:n.initial,numSteps:o,currentStep:Math.min(s-n.start,o)}))}_refresh(){this._request||(this._running=!0,this._request=Nh.call(window,()=>{this._update(),this._request=null,this._running&&this._refresh()}))}_update(t=Date.now()){let n=0;this._charts.forEach((s,i)=>{if(!s.running||!s.items.length)return;const r=s.items;let o=r.length-1,a=!1,l;for(;o>=0;--o)l=r[o],l._active?(l._total>s.duration&&(s.duration=l._total),l.tick(t),a=!0):(r[o]=r[r.length-1],r.pop());a&&(i.draw(),this._notify(i,s,t,"progress")),r.length||(s.running=!1,this._notify(i,s,t,"complete"),s.initial=!1),n+=r.length}),this._lastDate=t,n===0&&(this._running=!1)}_getAnims(t){const n=this._charts;let s=n.get(t);return s||(s={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},n.set(t,s)),s}listen(t,n,s){this._getAnims(t).listeners[n].push(s)}add(t,n){!n||!n.length||this._getAnims(t).items.push(...n)}has(t){return this._getAnims(t).items.length>0}start(t){const n=this._charts.get(t);!n||(n.running=!0,n.start=Date.now(),n.duration=n.items.reduce((s,i)=>Math.max(s,i._duration),0),this._refresh())}running(t){if(!this._running)return!1;const n=this._charts.get(t);return!(!n||!n.running||!n.items.length)}stop(t){const n=this._charts.get(t);if(!n||!n.items.length)return;const s=n.items;let i=s.length-1;for(;i>=0;--i)s[i].cancel();n.items=[],this._notify(t,n,Date.now(),"complete")}remove(t){return this._charts.delete(t)}}var Ve=new ky;const nu="transparent",Sy={boolean(e,t,n){return n>.5?t:e},color(e,t,n){const s=qc(e||nu),i=s.valid&&qc(t||nu);return i&&i.valid?i.mix(s,n).hexString():t},number(e,t,n){return e+(t-e)*n}};class Cy{constructor(t,n,s,i){const r=n[s];i=vi([t.to,i,r,t.from]);const o=vi([t.from,r,i]);this._active=!0,this._fn=t.fn||Sy[t.type||typeof o],this._easing=zs[t.easing]||zs.linear,this._start=Math.floor(Date.now()+(t.delay||0)),this._duration=this._total=Math.floor(t.duration),this._loop=!!t.loop,this._target=n,this._prop=s,this._from=o,this._to=i,this._promises=void 0}active(){return this._active}update(t,n,s){if(this._active){this._notify(!1);const i=this._target[this._prop],r=s-this._start,o=this._duration-r;this._start=s,this._duration=Math.floor(Math.max(o,t.duration)),this._total+=r,this._loop=!!t.loop,this._to=vi([t.to,n,i,t.from]),this._from=vi([t.from,i,n])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(t){const n=t-this._start,s=this._duration,i=this._prop,r=this._from,o=this._loop,a=this._to;let l;if(this._active=r!==a&&(o||n1?2-l:l,l=this._easing(Math.min(1,Math.max(0,l))),this._target[i]=this._fn(r,a,l)}wait(){const t=this._promises||(this._promises=[]);return new Promise((n,s)=>{t.push({res:n,rej:s})})}_notify(t){const n=t?"res":"rej",s=this._promises||[];for(let i=0;ie!=="onProgress"&&e!=="onComplete"&&e!=="fn"});ht.set("animations",{colors:{type:"color",properties:Ey},numbers:{type:"number",properties:Ay}});ht.describe("animations",{_fallback:"animation"});ht.set("transitions",{active:{animation:{duration:400}},resize:{animation:{duration:0}},show:{animations:{colors:{from:"transparent"},visible:{type:"boolean",duration:0}}},hide:{animations:{colors:{to:"transparent"},visible:{type:"boolean",easing:"linear",fn:e=>e|0}}}});class od{constructor(t,n){this._chart=t,this._properties=new Map,this.configure(n)}configure(t){if(!yt(t))return;const n=this._properties;Object.getOwnPropertyNames(t).forEach(s=>{const i=t[s];if(!yt(i))return;const r={};for(const o of Py)r[o]=i[o];(Et(i.properties)&&i.properties||[s]).forEach(o=>{(o===s||!n.has(o))&&n.set(o,r)})})}_animateOptions(t,n){const s=n.options,i=Ly(t,s);if(!i)return[];const r=this._createAnimations(i,s);return s.$shared&&Oy(t.options.$animations,s).then(()=>{t.options=s},()=>{}),r}_createAnimations(t,n){const s=this._properties,i=[],r=t.$animations||(t.$animations={}),o=Object.keys(n),a=Date.now();let l;for(l=o.length-1;l>=0;--l){const c=o[l];if(c.charAt(0)==="$")continue;if(c==="options"){i.push(...this._animateOptions(t,n));continue}const u=n[c];let f=r[c];const h=s.get(c);if(f)if(h&&f.active()){f.update(h,u,a);continue}else f.cancel();if(!h||!h.duration){t[c]=u;continue}r[c]=f=new Cy(h,t,c,u),i.push(f)}return i}update(t,n){if(this._properties.size===0){Object.assign(t,n);return}const s=this._createAnimations(t,n);if(s.length)return Ve.add(this._chart,s),!0}}function Oy(e,t){const n=[],s=Object.keys(t);for(let i=0;i0||!n&&r<0)return i.index}return null}function au(e,t){const{chart:n,_cachedMeta:s}=e,i=n._stacks||(n._stacks={}),{iScale:r,vScale:o,index:a}=s,l=r.axis,c=o.axis,u=Iy(r,o,s),f=t.length;let h;for(let d=0;dn[s].axis===t).shift()}function Hy(e,t){return _n(e,{active:!1,dataset:void 0,datasetIndex:t,index:t,mode:"default",type:"dataset"})}function Vy(e,t,n){return _n(e,{active:!1,dataIndex:t,parsed:void 0,raw:void 0,element:n,index:t,mode:"default",type:"data"})}function Cs(e,t){const n=e.controller.index,s=e.vScale&&e.vScale.axis;if(!!s){t=t||e._parsed;for(const i of t){const r=i._stacks;if(!r||r[s]===void 0||r[s][n]===void 0)return;delete r[s][n]}}}const wo=e=>e==="reset"||e==="none",lu=(e,t)=>t?e:Object.assign({},e),Ny=(e,t,n)=>e&&!t.hidden&&t._stacked&&{keys:ad(n,!0),values:null};class Ae{constructor(t,n){this.chart=t,this._ctx=t.ctx,this.index=n,this._cachedDataOpts={},this._cachedMeta=this.getMeta(),this._type=this._cachedMeta.type,this.options=void 0,this._parsing=!1,this._data=void 0,this._objectData=void 0,this._sharedOptions=void 0,this._drawStart=void 0,this._drawCount=void 0,this.enableOptionSharing=!1,this.supportsDecimation=!1,this.$context=void 0,this._syncList=[],this.initialize()}initialize(){const t=this._cachedMeta;this.configure(),this.linkScales(),t._stacked=ru(t.vScale,t),this.addElements()}updateIndex(t){this.index!==t&&Cs(this._cachedMeta),this.index=t}linkScales(){const t=this.chart,n=this._cachedMeta,s=this.getDataset(),i=(f,h,d,p)=>f==="x"?h:f==="r"?p:d,r=n.xAxisID=bt(s.xAxisID,vo(t,"x")),o=n.yAxisID=bt(s.yAxisID,vo(t,"y")),a=n.rAxisID=bt(s.rAxisID,vo(t,"r")),l=n.indexAxis,c=n.iAxisID=i(l,r,o,a),u=n.vAxisID=i(l,o,r,a);n.xScale=this.getScaleForId(r),n.yScale=this.getScaleForId(o),n.rScale=this.getScaleForId(a),n.iScale=this.getScaleForId(c),n.vScale=this.getScaleForId(u)}getDataset(){return this.chart.data.datasets[this.index]}getMeta(){return this.chart.getDatasetMeta(this.index)}getScaleForId(t){return this.chart.scales[t]}_getOtherScale(t){const n=this._cachedMeta;return t===n.iScale?n.vScale:n.iScale}reset(){this._update("reset")}_destroy(){const t=this._cachedMeta;this._data&&Hc(this._data,this),t._stacked&&Cs(t)}_dataCheck(){const t=this.getDataset(),n=t.data||(t.data=[]),s=this._data;if(yt(n))this._data=Dy(n);else if(s!==n){if(s){Hc(s,this);const i=this._cachedMeta;Cs(i),i._parsed=[]}n&&Object.isExtensible(n)&&n_(n,this),this._syncList=[],this._data=n}}addElements(){const t=this._cachedMeta;this._dataCheck(),this.datasetElementType&&(t.dataset=new this.datasetElementType)}buildOrUpdateElements(t){const n=this._cachedMeta,s=this.getDataset();let i=!1;this._dataCheck();const r=n._stacked;n._stacked=ru(n.vScale,n),n.stack!==s.stack&&(i=!0,Cs(n),n.stack=s.stack),this._resyncElements(t),(i||r!==n._stacked)&&au(this,n._parsed)}configure(){const t=this.chart.config,n=t.datasetScopeKeys(this._type),s=t.getOptionScopes(this.getDataset(),n,!0);this.options=t.createResolver(s,this.getContext()),this._parsing=this.options.parsing,this._cachedDataOpts={}}parse(t,n){const{_cachedMeta:s,_data:i}=this,{iScale:r,_stacked:o}=s,a=r.axis;let l=t===0&&n===i.length?!0:s._sorted,c=t>0&&s._parsed[t-1],u,f,h;if(this._parsing===!1)s._parsed=i,s._sorted=!0,h=i;else{Et(i[t])?h=this.parseArrayData(s,i,t,n):yt(i[t])?h=this.parseObjectData(s,i,t,n):h=this.parsePrimitiveData(s,i,t,n);const d=()=>f[a]===null||c&&f[a]g||f=0;--h)if(!p()){this.updateRangeFromParsed(c,t,d,l);break}}return c}getAllParsedValues(t){const n=this._cachedMeta._parsed,s=[];let i,r,o;for(i=0,r=n.length;i=0&&tthis.getContext(s,i),g=c.resolveNamedOptions(h,d,p,f);return g.$shared&&(g.$shared=l,r[o]=Object.freeze(lu(g,l))),g}_resolveAnimations(t,n,s){const i=this.chart,r=this._cachedDataOpts,o=`animation-${n}`,a=r[o];if(a)return a;let l;if(i.options.animation!==!1){const u=this.chart.config,f=u.datasetAnimationScopeKeys(this._type,n),h=u.getOptionScopes(this.getDataset(),f);l=u.createResolver(h,this.getContext(t,s,n))}const c=new od(i,l&&l.animations);return l&&l._cacheable&&(r[o]=Object.freeze(c)),c}getSharedOptions(t){if(!!t.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},t))}includeOptions(t,n){return!n||wo(t)||this.chart._animationsDisabled}_getSharedOptions(t,n){const s=this.resolveDataElementOptions(t,n),i=this._sharedOptions,r=this.getSharedOptions(s),o=this.includeOptions(n,r)||r!==i;return this.updateSharedOptions(r,n,s),{sharedOptions:r,includeOptions:o}}updateElement(t,n,s,i){wo(i)?Object.assign(t,s):this._resolveAnimations(n,i).update(t,s)}updateSharedOptions(t,n,s){t&&!wo(n)&&this._resolveAnimations(void 0,n).update(t,s)}_setStyle(t,n,s,i){t.active=i;const r=this.getStyle(n,i);this._resolveAnimations(n,s,i).update(t,{options:!i&&this.getSharedOptions(r)||r})}removeHoverStyle(t,n,s){this._setStyle(t,s,"active",!1)}setHoverStyle(t,n,s){this._setStyle(t,s,"active",!0)}_removeDatasetHoverStyle(){const t=this._cachedMeta.dataset;t&&this._setStyle(t,void 0,"active",!1)}_setDatasetHoverStyle(){const t=this._cachedMeta.dataset;t&&this._setStyle(t,void 0,"active",!0)}_resyncElements(t){const n=this._data,s=this._cachedMeta.data;for(const[a,l,c]of this._syncList)this[a](l,c);this._syncList=[];const i=s.length,r=n.length,o=Math.min(r,i);o&&this.parse(0,o),r>i?this._insertElements(i,r-i,t):r{for(c.length+=n,a=c.length-1;a>=o;a--)c[a]=c[a-n]};for(l(r),a=t;ai-r))}return e._cache.$bar}function zy(e){const t=e.iScale,n=$y(t,e.type);let s=t._length,i,r,o,a;const l=()=>{o===32767||o===-32768||(be(a)&&(s=Math.min(s,Math.abs(o-a)||s)),a=o)};for(i=0,r=n.length;i0?i[e-1]:null,a=eMath.abs(a)&&(l=a,c=o),t[n.axis]=c,t._custom={barStart:l,barEnd:c,start:i,end:r,min:o,max:a}}function ld(e,t,n,s){return Et(e)?Uy(e,t,n,s):t[n.axis]=n.parse(e,s),t}function cu(e,t,n,s){const i=e.iScale,r=e.vScale,o=i.getLabels(),a=i===r,l=[];let c,u,f,h;for(c=n,u=n+s;c=n?1:-1)}function Ky(e){let t,n,s,i,r;return e.horizontal?(t=e.base>e.x,n="left",s="right"):(t=e.basel.controller.options.grouped),r=s.options.stacked,o=[],a=l=>{const c=l.controller.getParsed(n),u=c&&c[l.vScale.axis];if(xt(u)||isNaN(u))return!0};for(const l of i)if(!(n!==void 0&&a(l))&&((r===!1||o.indexOf(l.stack)===-1||r===void 0&&l.stack===void 0)&&o.push(l.stack),l.index===t))break;return o.length||o.push(void 0),o}_getStackCount(t){return this._getStacks(void 0,t).length}_getStackIndex(t,n,s){const i=this._getStacks(t,s),r=n!==void 0?i.indexOf(n):-1;return r===-1?i.length-1:r}_getRuler(){const t=this.options,n=this._cachedMeta,s=n.iScale,i=[];let r,o;for(r=0,o=n.data.length;r=0;--s)n=Math.max(n,t[s].size(this.resolveDataElementOptions(s))/2);return n>0&&n}getLabelAndValue(t){const n=this._cachedMeta,{xScale:s,yScale:i}=n,r=this.getParsed(t),o=s.getLabelForValue(r.x),a=i.getLabelForValue(r.y),l=r._custom;return{label:n.label,value:"("+o+", "+a+(l?", "+l:"")+")"}}update(t){const n=this._cachedMeta.data;this.updateElements(n,0,n.length,t)}updateElements(t,n,s,i){const r=i==="reset",{iScale:o,vScale:a}=this._cachedMeta,{sharedOptions:l,includeOptions:c}=this._getSharedOptions(n,i),u=o.axis,f=a.axis;for(let h=n;hti(w,a,l,!0)?1:Math.max(M,M*n,x,x*n),p=(w,M,x)=>ti(w,a,l,!0)?-1:Math.min(M,M*n,x,x*n),g=d(0,c,f),b=d(Lt,u,h),_=p(Rt,c,f),v=p(Rt+Lt,u,h);s=(g-_)/2,i=(b-v)/2,r=-(g+_)/2,o=-(b+v)/2}return{ratioX:s,ratioY:i,offsetX:r,offsetY:o}}class ai extends Ae{constructor(t,n){super(t,n),this.enableOptionSharing=!0,this.innerRadius=void 0,this.outerRadius=void 0,this.offsetX=void 0,this.offsetY=void 0}linkScales(){}parse(t,n){const s=this.getDataset().data,i=this._cachedMeta;if(this._parsing===!1)i._parsed=s;else{let r=l=>+s[l];if(yt(s[t])){const{key:l="value"}=this._parsing;r=c=>+mn(s[c],l)}let o,a;for(o=t,a=t+n;o0&&!isNaN(t)?kt*(Math.abs(t)/n):0}getLabelAndValue(t){const n=this._cachedMeta,s=this.chart,i=s.data.labels||[],r=oi(n._parsed[t],s.options.locale);return{label:i[t]||"",value:r}}getMaxBorderWidth(t){let n=0;const s=this.chart;let i,r,o,a,l;if(!t){for(i=0,r=s.data.datasets.length;ie!=="spacing",_indexable:e=>e!=="spacing"};ai.overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(e){const t=e.data;if(t.labels.length&&t.datasets.length){const{labels:{pointStyle:n}}=e.legend.options;return t.labels.map((s,i)=>{const o=e.getDatasetMeta(0).controller.getStyle(i);return{text:s,fillStyle:o.backgroundColor,strokeStyle:o.borderColor,lineWidth:o.borderWidth,pointStyle:n,hidden:!e.getDataVisibility(i),index:i}})}return[]}},onClick(e,t,n){n.chart.toggleDataVisibility(t.index),n.chart.update()}},tooltip:{callbacks:{title(){return""},label(e){let t=e.label;const n=": "+e.formattedValue;return Et(t)?(t=t.slice(),t[0]+=n):t+=n,t}}}}};class Fr extends Ae{initialize(){this.enableOptionSharing=!0,this.supportsDecimation=!0,super.initialize()}update(t){const n=this._cachedMeta,{dataset:s,data:i=[],_dataset:r}=n,o=this.chart._animationsDisabled;let{start:a,count:l}=zh(n,i,o);this._drawStart=a,this._drawCount=l,jh(n)&&(a=0,l=i.length),s._chart=this.chart,s._datasetIndex=this.index,s._decimated=!!r._decimated,s.points=i;const c=this.resolveDatasetElementOptions(t);this.options.showLine||(c.borderWidth=0),c.segment=this.options.segment,this.updateElement(s,void 0,{animated:!o,options:c},t),this.updateElements(i,a,l,t)}updateElements(t,n,s,i){const r=i==="reset",{iScale:o,vScale:a,_stacked:l,_dataset:c}=this._cachedMeta,{sharedOptions:u,includeOptions:f}=this._getSharedOptions(n,i),h=o.axis,d=a.axis,{spanGaps:p,segment:g}=this.options,b=us(p)?p:Number.POSITIVE_INFINITY,_=this.chart._animationsDisabled||r||i==="none";let v=n>0&&this.getParsed(n-1);for(let w=n;w0&&Math.abs(x[h]-v[h])>b,g&&(L.parsed=x,L.raw=c.data[w]),f&&(L.options=u||this.resolveDataElementOptions(w,M.active?"active":i)),_||this.updateElement(M,w,L,i),v=x}}getMaxOverflow(){const t=this._cachedMeta,n=t.dataset,s=n.options&&n.options.borderWidth||0,i=t.data||[];if(!i.length)return s;const r=i[0].size(this.resolveDataElementOptions(0)),o=i[i.length-1].size(this.resolveDataElementOptions(i.length-1));return Math.max(s,r,o)/2}draw(){const t=this._cachedMeta;t.dataset.updateControlPoints(this.chart.chartArea,t.iScale.axis),super.draw()}}Fr.id="line";Fr.defaults={datasetElementType:"line",dataElementType:"point",showLine:!0,spanGaps:!1};Fr.overrides={scales:{_index_:{type:"category"},_value_:{type:"linear"}}};class Za extends Ae{constructor(t,n){super(t,n),this.innerRadius=void 0,this.outerRadius=void 0}getLabelAndValue(t){const n=this._cachedMeta,s=this.chart,i=s.data.labels||[],r=oi(n._parsed[t].r,s.options.locale);return{label:i[t]||"",value:r}}parseObjectData(t,n,s,i){return nd.bind(this)(t,n,s,i)}update(t){const n=this._cachedMeta.data;this._updateRadius(),this.updateElements(n,0,n.length,t)}getMinMax(){const t=this._cachedMeta,n={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY};return t.data.forEach((s,i)=>{const r=this.getParsed(i).r;!isNaN(r)&&this.chart.getDataVisibility(i)&&(rn.max&&(n.max=r))}),n}_updateRadius(){const t=this.chart,n=t.chartArea,s=t.options,i=Math.min(n.right-n.left,n.bottom-n.top),r=Math.max(i/2,0),o=Math.max(s.cutoutPercentage?r/100*s.cutoutPercentage:1,0),a=(r-o)/t.getVisibleDatasetCount();this.outerRadius=r-a*this.index,this.innerRadius=this.outerRadius-a}updateElements(t,n,s,i){const r=i==="reset",o=this.chart,l=o.options.animation,c=this._cachedMeta.rScale,u=c.xCenter,f=c.yCenter,h=c.getIndexAngle(0)-.5*Rt;let d=h,p;const g=360/this.countVisibleElements();for(p=0;p{!isNaN(this.getParsed(i).r)&&this.chart.getDataVisibility(i)&&n++}),n}_computeAngle(t,n,s){return this.chart.getDataVisibility(t)?ke(this.resolveDataElementOptions(t,n).angle||s):0}}Za.id="polarArea";Za.defaults={dataElementType:"arc",animation:{animateRotate:!0,animateScale:!0},animations:{numbers:{type:"number",properties:["x","y","startAngle","endAngle","innerRadius","outerRadius"]}},indexAxis:"r",startAngle:0};Za.overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(e){const t=e.data;if(t.labels.length&&t.datasets.length){const{labels:{pointStyle:n}}=e.legend.options;return t.labels.map((s,i)=>{const o=e.getDatasetMeta(0).controller.getStyle(i);return{text:s,fillStyle:o.backgroundColor,strokeStyle:o.borderColor,lineWidth:o.borderWidth,pointStyle:n,hidden:!e.getDataVisibility(i),index:i}})}return[]}},onClick(e,t,n){n.chart.toggleDataVisibility(t.index),n.chart.update()}},tooltip:{callbacks:{title(){return""},label(e){return e.chart.data.labels[e.dataIndex]+": "+e.formattedValue}}}},scales:{r:{type:"radialLinear",angleLines:{display:!1},beginAtZero:!0,grid:{circular:!0},pointLabels:{display:!1},startAngle:0}}};class cd extends ai{}cd.id="pie";cd.defaults={cutout:0,rotation:0,circumference:360,radius:"100%"};class Ja extends Ae{getLabelAndValue(t){const n=this._cachedMeta.vScale,s=this.getParsed(t);return{label:n.getLabels()[t],value:""+n.getLabelForValue(s[n.axis])}}parseObjectData(t,n,s,i){return nd.bind(this)(t,n,s,i)}update(t){const n=this._cachedMeta,s=n.dataset,i=n.data||[],r=n.iScale.getLabels();if(s.points=i,t!=="resize"){const o=this.resolveDatasetElementOptions(t);this.options.showLine||(o.borderWidth=0);const a={_loop:!0,_fullLoop:r.length===i.length,options:o};this.updateElement(s,void 0,a,t)}this.updateElements(i,0,i.length,t)}updateElements(t,n,s,i){const r=this._cachedMeta.rScale,o=i==="reset";for(let a=n;a{i[r]=s[r]&&s[r].active()?s[r]._to:this[r]}),i}}Ke.defaults={};Ke.defaultRoutes=void 0;const ud={values(e){return Et(e)?e:""+e},numeric(e,t,n){if(e===0)return"0";const s=this.chart.options.locale;let i,r=e;if(n.length>1){const c=Math.max(Math.abs(n[0].value),Math.abs(n[n.length-1].value));(c<1e-4||c>1e15)&&(i="scientific"),r=Jy(e,n)}const o=de(Math.abs(r)),a=Math.max(Math.min(-1*Math.floor(o),20),0),l={notation:i,minimumFractionDigits:a,maximumFractionDigits:a};return Object.assign(l,this.options.ticks.format),oi(e,s,l)},logarithmic(e,t,n){if(e===0)return"0";const s=e/Math.pow(10,Math.floor(de(e)));return s===1||s===2||s===5?ud.numeric.call(this,e,t,n):""}};function Jy(e,t){let n=t.length>3?t[2].value-t[1].value:t[1].value-t[0].value;return Math.abs(n)>=1&&e!==Math.floor(e)&&(n=e-Math.floor(e)),n}var Br={formatters:ud};ht.set("scale",{display:!0,offset:!1,reverse:!1,beginAtZero:!1,bounds:"ticks",grace:0,grid:{display:!0,lineWidth:1,drawBorder:!0,drawOnChartArea:!0,drawTicks:!0,tickLength:8,tickWidth:(e,t)=>t.lineWidth,tickColor:(e,t)=>t.color,offset:!1,borderDash:[],borderDashOffset:0,borderWidth:1},title:{display:!1,text:"",padding:{top:4,bottom:4}},ticks:{minRotation:0,maxRotation:50,mirror:!1,textStrokeWidth:0,textStrokeColor:"",padding:3,display:!0,autoSkip:!0,autoSkipPadding:3,labelOffset:0,callback:Br.formatters.values,minor:{},major:{},align:"center",crossAlign:"near",showLabelBackdrop:!1,backdropColor:"rgba(255, 255, 255, 0.75)",backdropPadding:2}});ht.route("scale.ticks","color","","color");ht.route("scale.grid","color","","borderColor");ht.route("scale.grid","borderColor","","borderColor");ht.route("scale.title","color","","color");ht.describe("scale",{_fallback:!1,_scriptable:e=>!e.startsWith("before")&&!e.startsWith("after")&&e!=="callback"&&e!=="parser",_indexable:e=>e!=="borderDash"&&e!=="tickBorderDash"});ht.describe("scales",{_fallback:"scale"});ht.describe("scale.ticks",{_scriptable:e=>e!=="backdropPadding"&&e!=="callback",_indexable:e=>e!=="backdropPadding"});function Qy(e,t){const n=e.options.ticks,s=n.maxTicksLimit||tx(e),i=n.major.enabled?nx(t):[],r=i.length,o=i[0],a=i[r-1],l=[];if(r>s)return sx(t,l,i,r/s),l;const c=ex(i,t,s);if(r>0){let u,f;const h=r>1?Math.round((a-o)/(r-1)):null;for(Mi(t,l,c,xt(h)?0:o-h,o),u=0,f=r-1;ui)return l}return Math.max(i,1)}function nx(e){const t=[];let n,s;for(n=0,s=e.length;ne==="left"?"right":e==="right"?"left":e,hu=(e,t,n)=>t==="top"||t==="left"?e[t]+n:e[t]-n;function du(e,t){const n=[],s=e.length/t,i=e.length;let r=0;for(;ro+a)))return l}function ax(e,t){wt(e,n=>{const s=n.gc,i=s.length/2;let r;if(i>t){for(r=0;rs?s:n,s=i&&n>s?n:s,{min:he(n,he(s,n)),max:he(s,he(n,s))}}getPadding(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}}getTicks(){return this.ticks}getLabels(){const t=this.chart.data;return this.options.labels||(this.isHorizontal()?t.xLabels:t.yLabels)||t.labels||[]}beforeLayout(){this._cache={},this._dataLimitsCached=!1}beforeUpdate(){Ot(this.options.beforeUpdate,[this])}update(t,n,s){const{beginAtZero:i,grace:r,ticks:o}=this.options,a=o.sampleSize;this.beforeUpdate(),this.maxWidth=t,this.maxHeight=n,this._margins=s=Object.assign({left:0,right:0,top:0,bottom:0},s),this.ticks=null,this._labelSizes=null,this._gridLineItems=null,this._labelItems=null,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this._maxLength=this.isHorizontal()?this.width+s.left+s.right:this.height+s.top+s.bottom,this._dataLimitsCached||(this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this._range=V_(this,r,i),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();const l=a=r||s<=1||!this.isHorizontal()){this.labelRotation=i;return}const u=this._getLabelSizes(),f=u.widest.width,h=u.highest.height,d=Xt(this.chart.width-f,0,this.maxWidth);a=t.offset?this.maxWidth/s:d/(s-1),f+6>a&&(a=d/(s-(t.offset?.5:1)),l=this.maxHeight-As(t.grid)-n.padding-pu(t.title,this.chart.options.font),c=Math.sqrt(f*f+h*h),o=Va(Math.min(Math.asin(Xt((u.highest.height+6)/a,-1,1)),Math.asin(Xt(l/c,-1,1))-Math.asin(Xt(h/c,-1,1)))),o=Math.max(i,Math.min(r,o))),this.labelRotation=o}afterCalculateLabelRotation(){Ot(this.options.afterCalculateLabelRotation,[this])}afterAutoSkip(){}beforeFit(){Ot(this.options.beforeFit,[this])}fit(){const t={width:0,height:0},{chart:n,options:{ticks:s,title:i,grid:r}}=this,o=this._isVisible(),a=this.isHorizontal();if(o){const l=pu(i,n.options.font);if(a?(t.width=this.maxWidth,t.height=As(r)+l):(t.height=this.maxHeight,t.width=As(r)+l),s.display&&this.ticks.length){const{first:c,last:u,widest:f,highest:h}=this._getLabelSizes(),d=s.padding*2,p=ke(this.labelRotation),g=Math.cos(p),b=Math.sin(p);if(a){const _=s.mirror?0:b*f.width+g*h.height;t.height=Math.min(this.maxHeight,t.height+_+d)}else{const _=s.mirror?0:g*f.width+b*h.height;t.width=Math.min(this.maxWidth,t.width+_+d)}this._calculatePadding(c,u,b,g)}}this._handleMargins(),a?(this.width=this._length=n.width-this._margins.left-this._margins.right,this.height=t.height):(this.width=t.width,this.height=this._length=n.height-this._margins.top-this._margins.bottom)}_calculatePadding(t,n,s,i){const{ticks:{align:r,padding:o},position:a}=this.options,l=this.labelRotation!==0,c=a!=="top"&&this.axis==="x";if(this.isHorizontal()){const u=this.getPixelForTick(0)-this.left,f=this.right-this.getPixelForTick(this.ticks.length-1);let h=0,d=0;l?c?(h=i*t.width,d=s*n.height):(h=s*t.height,d=i*n.width):r==="start"?d=n.width:r==="end"?h=t.width:r!=="inner"&&(h=t.width/2,d=n.width/2),this.paddingLeft=Math.max((h-u+o)*this.width/(this.width-u),0),this.paddingRight=Math.max((d-f+o)*this.width/(this.width-f),0)}else{let u=n.height/2,f=t.height/2;r==="start"?(u=0,f=t.height):r==="end"&&(u=n.height,f=0),this.paddingTop=u+o,this.paddingBottom=f+o}}_handleMargins(){this._margins&&(this._margins.left=Math.max(this.paddingLeft,this._margins.left),this._margins.top=Math.max(this.paddingTop,this._margins.top),this._margins.right=Math.max(this.paddingRight,this._margins.right),this._margins.bottom=Math.max(this.paddingBottom,this._margins.bottom))}afterFit(){Ot(this.options.afterFit,[this])}isHorizontal(){const{axis:t,position:n}=this.options;return n==="top"||n==="bottom"||t==="x"}isFullSize(){return this.options.fullSize}_convertTicksToLabels(t){this.beforeTickToLabelConversion(),this.generateTickLabels(t);let n,s;for(n=0,s=t.length;n({width:r[A]||0,height:o[A]||0});return{first:L(0),last:L(n-1),widest:L(M),highest:L(x),widths:r,heights:o}}getLabelForValue(t){return t}getPixelForValue(t,n){return NaN}getValueForPixel(t){}getPixelForTick(t){const n=this.ticks;return t<0||t>n.length-1?null:this.getPixelForValue(n[t].value)}getPixelForDecimal(t){this._reversePixels&&(t=1-t);const n=this._startPixel+t*this._length;return Qb(this._alignToPixels?Mn(this.chart,n,0):n)}getDecimalForPixel(t){const n=(t-this._startPixel)/this._length;return this._reversePixels?1-n:n}getBasePixel(){return this.getPixelForValue(this.getBaseValue())}getBaseValue(){const{min:t,max:n}=this;return t<0&&n<0?n:t>0&&n>0?t:0}getContext(t){const n=this.ticks||[];if(t>=0&&ta*i?a/s:l/i:l*i0}_computeGridLineItems(t){const n=this.axis,s=this.chart,i=this.options,{grid:r,position:o}=i,a=r.offset,l=this.isHorizontal(),u=this.ticks.length+(a?1:0),f=As(r),h=[],d=r.setContext(this.getContext()),p=d.drawBorder?d.borderWidth:0,g=p/2,b=function(U){return Mn(s,U,p)};let _,v,w,M,x,L,A,S,R,B,Y,O;if(o==="top")_=b(this.bottom),L=this.bottom-f,S=_-g,B=b(t.top)+g,O=t.bottom;else if(o==="bottom")_=b(this.top),B=t.top,O=b(t.bottom)-g,L=_+g,S=this.top+f;else if(o==="left")_=b(this.right),x=this.right-f,A=_-g,R=b(t.left)+g,Y=t.right;else if(o==="right")_=b(this.left),R=t.left,Y=b(t.right)-g,x=_+g,A=this.left+f;else if(n==="x"){if(o==="center")_=b((t.top+t.bottom)/2+.5);else if(yt(o)){const U=Object.keys(o)[0],tt=o[U];_=b(this.chart.scales[U].getPixelForValue(tt))}B=t.top,O=t.bottom,L=_+g,S=L+f}else if(n==="y"){if(o==="center")_=b((t.left+t.right)/2);else if(yt(o)){const U=Object.keys(o)[0],tt=o[U];_=b(this.chart.scales[U].getPixelForValue(tt))}x=_-g,A=x-f,R=t.left,Y=t.right}const X=bt(i.ticks.maxTicksLimit,u),nt=Math.max(1,Math.ceil(u/X));for(v=0;vr.value===t);return i>=0?n.setContext(this.getContext(i)).lineWidth:0}drawGrid(t){const n=this.options.grid,s=this.ctx,i=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(t));let r,o;const a=(l,c,u)=>{!u.width||!u.color||(s.save(),s.lineWidth=u.width,s.strokeStyle=u.color,s.setLineDash(u.borderDash||[]),s.lineDashOffset=u.borderDashOffset,s.beginPath(),s.moveTo(l.x,l.y),s.lineTo(c.x,c.y),s.stroke(),s.restore())};if(n.display)for(r=0,o=i.length;r{this.draw(i)}}]:[{z:s,draw:i=>{this.drawBackground(),this.drawGrid(i),this.drawTitle()}},{z:s+1,draw:()=>{this.drawBorder()}},{z:n,draw:i=>{this.drawLabels(i)}}]}getMatchingVisibleMetas(t){const n=this.chart.getSortedVisibleDatasetMetas(),s=this.axis+"AxisID",i=[];let r,o;for(r=0,o=n.length;r{const s=n.split("."),i=s.pop(),r=[e].concat(s).join("."),o=t[n].split("."),a=o.pop(),l=o.join(".");ht.route(r,i,l,a)})}function px(e){return"id"in e&&"defaults"in e}class gx{constructor(){this.controllers=new ki(Ae,"datasets",!0),this.elements=new ki(Ke,"elements"),this.plugins=new ki(Object,"plugins"),this.scales=new ki(zn,"scales"),this._typedRegistries=[this.controllers,this.scales,this.elements]}add(...t){this._each("register",t)}remove(...t){this._each("unregister",t)}addControllers(...t){this._each("register",t,this.controllers)}addElements(...t){this._each("register",t,this.elements)}addPlugins(...t){this._each("register",t,this.plugins)}addScales(...t){this._each("register",t,this.scales)}getController(t){return this._get(t,this.controllers,"controller")}getElement(t){return this._get(t,this.elements,"element")}getPlugin(t){return this._get(t,this.plugins,"plugin")}getScale(t){return this._get(t,this.scales,"scale")}removeControllers(...t){this._each("unregister",t,this.controllers)}removeElements(...t){this._each("unregister",t,this.elements)}removePlugins(...t){this._each("unregister",t,this.plugins)}removeScales(...t){this._each("unregister",t,this.scales)}_each(t,n,s){[...n].forEach(i=>{const r=s||this._getRegistryForType(i);s||r.isForType(i)||r===this.plugins&&i.id?this._exec(t,r,i):wt(i,o=>{const a=s||this._getRegistryForType(o);this._exec(t,a,o)})})}_exec(t,n,s){const i=Ha(t);Ot(s["before"+i],[],s),n[t](s),Ot(s["after"+i],[],s)}_getRegistryForType(t){for(let n=0;n0&&this.getParsed(n-1);for(let M=n;M0&&Math.abs(L[d]-w[d])>_,b&&(A.parsed=L,A.raw=c.data[M]),h&&(A.options=f||this.resolveDataElementOptions(M,x.active?"active":i)),v||this.updateElement(x,M,A,i),w=L}this.updateSharedOptions(f,i,u)}getMaxOverflow(){const t=this._cachedMeta,n=t.data||[];if(!this.options.showLine){let a=0;for(let l=n.length-1;l>=0;--l)a=Math.max(a,n[l].size(this.resolveDataElementOptions(l))/2);return a>0&&a}const s=t.dataset,i=s.options&&s.options.borderWidth||0;if(!n.length)return i;const r=n[0].size(this.resolveDataElementOptions(0)),o=n[n.length-1].size(this.resolveDataElementOptions(n.length-1));return Math.max(i,r,o)/2}}Qa.id="scatter";Qa.defaults={datasetElementType:!1,dataElementType:"point",showLine:!1,fill:!1};Qa.overrides={interaction:{mode:"point"},plugins:{tooltip:{callbacks:{title(){return""},label(e){return"("+e.label+", "+e.formattedValue+")"}}}},scales:{x:{type:"linear"},y:{type:"linear"}}};function kn(){throw new Error("This method is not implemented: Check that a complete date adapter is provided.")}class Jo{constructor(t){this.options=t||{}}init(t){}formats(){return kn()}parse(t,n){return kn()}format(t,n){return kn()}add(t,n,s){return kn()}diff(t,n,s){return kn()}startOf(t,n,s){return kn()}endOf(t,n){return kn()}}Jo.override=function(e){Object.assign(Jo.prototype,e)};var mx={_date:Jo};function bx(e,t,n,s){const{controller:i,data:r,_sorted:o}=e,a=i._cachedMeta.iScale;if(a&&t===a.axis&&t!=="r"&&o&&r.length){const l=a._reversePixels?t_:Tn;if(s){if(i._sharedOptions){const c=r[0],u=typeof c.getRange=="function"&&c.getRange(t);if(u){const f=l(r,t,n-u),h=l(r,t,n+u);return{lo:f.lo,hi:h.hi}}}}else return l(r,t,n)}return{lo:0,hi:r.length-1}}function li(e,t,n,s,i){const r=e.getSortedVisibleDatasetMetas(),o=n[t];for(let a=0,l=r.length;a{l[o](t[n],i)&&(r.push({element:l,datasetIndex:c,index:u}),a=a||l.inRange(t.x,t.y,i))}),s&&!a?[]:r}var vx={evaluateInteractionItems:li,modes:{index(e,t,n,s){const i=Cn(t,e),r=n.axis||"x",o=n.includeInvisible||!1,a=n.intersect?ko(e,i,r,s,o):So(e,i,r,!1,s,o),l=[];return a.length?(e.getSortedVisibleDatasetMetas().forEach(c=>{const u=a[0].index,f=c.data[u];f&&!f.skip&&l.push({element:f,datasetIndex:c.index,index:u})}),l):[]},dataset(e,t,n,s){const i=Cn(t,e),r=n.axis||"xy",o=n.includeInvisible||!1;let a=n.intersect?ko(e,i,r,s,o):So(e,i,r,!1,s,o);if(a.length>0){const l=a[0].datasetIndex,c=e.getDatasetMeta(l).data;a=[];for(let u=0;un.pos===t)}function mu(e,t){return e.filter(n=>fd.indexOf(n.pos)===-1&&n.box.axis===t)}function Ps(e,t){return e.sort((n,s)=>{const i=t?s:n,r=t?n:s;return i.weight===r.weight?i.index-r.index:i.weight-r.weight})}function wx(e){const t=[];let n,s,i,r,o,a;for(n=0,s=(e||[]).length;nc.box.fullSize),!0),s=Ps(Es(t,"left"),!0),i=Ps(Es(t,"right")),r=Ps(Es(t,"top"),!0),o=Ps(Es(t,"bottom")),a=mu(t,"x"),l=mu(t,"y");return{fullSize:n,leftAndTop:s.concat(r),rightAndBottom:i.concat(l).concat(o).concat(a),chartArea:Es(t,"chartArea"),vertical:s.concat(i).concat(l),horizontal:r.concat(o).concat(a)}}function bu(e,t,n,s){return Math.max(e[n],t[n])+Math.max(e[s],t[s])}function hd(e,t){e.top=Math.max(e.top,t.top),e.left=Math.max(e.left,t.left),e.bottom=Math.max(e.bottom,t.bottom),e.right=Math.max(e.right,t.right)}function Cx(e,t,n,s){const{pos:i,box:r}=n,o=e.maxPadding;if(!yt(i)){n.size&&(e[i]-=n.size);const f=s[n.stack]||{size:0,count:1};f.size=Math.max(f.size,n.horizontal?r.height:r.width),n.size=f.size/f.count,e[i]+=n.size}r.getPadding&&hd(o,r.getPadding());const a=Math.max(0,t.outerWidth-bu(o,e,"left","right")),l=Math.max(0,t.outerHeight-bu(o,e,"top","bottom")),c=a!==e.w,u=l!==e.h;return e.w=a,e.h=l,n.horizontal?{same:c,other:u}:{same:u,other:c}}function Ax(e){const t=e.maxPadding;function n(s){const i=Math.max(t[s]-e[s],0);return e[s]+=i,i}e.y+=n("top"),e.x+=n("left"),n("right"),n("bottom")}function Ex(e,t){const n=t.maxPadding;function s(i){const r={left:0,top:0,right:0,bottom:0};return i.forEach(o=>{r[o]=Math.max(t[o],n[o])}),r}return s(e?["left","right"]:["top","bottom"])}function Ts(e,t,n,s){const i=[];let r,o,a,l,c,u;for(r=0,o=e.length,c=0;r{typeof g.beforeLayout=="function"&&g.beforeLayout()});const u=l.reduce((g,b)=>b.box.options&&b.box.options.display===!1?g:g+1,0)||1,f=Object.freeze({outerWidth:t,outerHeight:n,padding:i,availableWidth:r,availableHeight:o,vBoxMaxWidth:r/2/u,hBoxMaxHeight:o/2}),h=Object.assign({},i);hd(h,_e(s));const d=Object.assign({maxPadding:h,w:r,h:o,x:i.left,y:i.top},i),p=kx(l.concat(c),f);Ts(a.fullSize,d,f,p),Ts(l,d,f,p),Ts(c,d,f,p)&&Ts(l,d,f,p),Ax(d),_u(a.leftAndTop,d,f,p),d.x+=d.w,d.y+=d.h,_u(a.rightAndBottom,d,f,p),e.chartArea={left:d.left,top:d.top,right:d.left+d.w,bottom:d.top+d.h,height:d.h,width:d.w},wt(a.chartArea,g=>{const b=g.box;Object.assign(b,e.chartArea),b.update(d.w,d.h,{left:0,top:0,right:0,bottom:0})})}};class dd{acquireContext(t,n){}releaseContext(t){return!1}addEventListener(t,n,s){}removeEventListener(t,n,s){}getDevicePixelRatio(){return 1}getMaximumSize(t,n,s,i){return n=Math.max(0,n||t.width),s=s||t.height,{width:n,height:Math.max(0,i?Math.floor(n/i):s)}}isAttached(t){return!0}updateConfig(t){}}class Px extends dd{acquireContext(t){return t&&t.getContext&&t.getContext("2d")||null}updateConfig(t){t.options.animation=!1}}const Vi="$chartjs",Ox={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},yu=e=>e===null||e==="";function Lx(e,t){const n=e.style,s=e.getAttribute("height"),i=e.getAttribute("width");if(e[Vi]={initial:{height:s,width:i,style:{display:n.display,height:n.height,width:n.width}}},n.display=n.display||"block",n.boxSizing=n.boxSizing||"border-box",yu(i)){const r=Zc(e,"width");r!==void 0&&(e.width=r)}if(yu(s))if(e.style.height==="")e.height=e.width/(t||2);else{const r=Zc(e,"height");r!==void 0&&(e.height=r)}return e}const pd=ly?{passive:!0}:!1;function Rx(e,t,n){e.addEventListener(t,n,pd)}function Tx(e,t,n){e.canvas.removeEventListener(t,n,pd)}function Dx(e,t){const n=Ox[e.type]||e.type,{x:s,y:i}=Cn(e,t);return{type:n,chart:t,native:e,x:s!==void 0?s:null,y:i!==void 0?i:null}}function cr(e,t){for(const n of e)if(n===t||n.contains(t))return!0}function Ix(e,t,n){const s=e.canvas,i=new MutationObserver(r=>{let o=!1;for(const a of r)o=o||cr(a.addedNodes,s),o=o&&!cr(a.removedNodes,s);o&&n()});return i.observe(document,{childList:!0,subtree:!0}),i}function Fx(e,t,n){const s=e.canvas,i=new MutationObserver(r=>{let o=!1;for(const a of r)o=o||cr(a.removedNodes,s),o=o&&!cr(a.addedNodes,s);o&&n()});return i.observe(document,{childList:!0,subtree:!0}),i}const ni=new Map;let xu=0;function gd(){const e=window.devicePixelRatio;e!==xu&&(xu=e,ni.forEach((t,n)=>{n.currentDevicePixelRatio!==e&&t()}))}function Bx(e,t){ni.size||window.addEventListener("resize",gd),ni.set(e,t)}function Hx(e){ni.delete(e),ni.size||window.removeEventListener("resize",gd)}function Vx(e,t,n){const s=e.canvas,i=s&&Ya(s);if(!i)return;const r=$h((a,l)=>{const c=i.clientWidth;n(a,l),c{const l=a[0],c=l.contentRect.width,u=l.contentRect.height;c===0&&u===0||r(c,u)});return o.observe(i),Bx(e,r),o}function Co(e,t,n){n&&n.disconnect(),t==="resize"&&Hx(e)}function Nx(e,t,n){const s=e.canvas,i=$h(r=>{e.ctx!==null&&n(Dx(r,e))},e,r=>{const o=r[0];return[o,o.offsetX,o.offsetY]});return Rx(s,t,i),i}class $x extends dd{acquireContext(t,n){const s=t&&t.getContext&&t.getContext("2d");return s&&s.canvas===t?(Lx(t,n),s):null}releaseContext(t){const n=t.canvas;if(!n[Vi])return!1;const s=n[Vi].initial;["height","width"].forEach(r=>{const o=s[r];xt(o)?n.removeAttribute(r):n.setAttribute(r,o)});const i=s.style||{};return Object.keys(i).forEach(r=>{n.style[r]=i[r]}),n.width=n.width,delete n[Vi],!0}addEventListener(t,n,s){this.removeEventListener(t,n);const i=t.$proxies||(t.$proxies={}),o={attach:Ix,detach:Fx,resize:Vx}[n]||Nx;i[n]=o(t,n,s)}removeEventListener(t,n){const s=t.$proxies||(t.$proxies={}),i=s[n];if(!i)return;({attach:Co,detach:Co,resize:Co}[n]||Tx)(t,n,i),s[n]=void 0}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(t,n,s,i){return ay(t,n,s,i)}isAttached(t){const n=Ya(t);return!!(n&&n.isConnected)}}function zx(e){return!id()||typeof OffscreenCanvas<"u"&&e instanceof OffscreenCanvas?Px:$x}class jx{constructor(){this._init=[]}notify(t,n,s,i){n==="beforeInit"&&(this._init=this._createDescriptors(t,!0),this._notify(this._init,t,"install"));const r=i?this._descriptors(t).filter(i):this._descriptors(t),o=this._notify(r,t,n,s);return n==="afterDestroy"&&(this._notify(r,t,"stop"),this._notify(this._init,t,"uninstall")),o}_notify(t,n,s,i){i=i||{};for(const r of t){const o=r.plugin,a=o[s],l=[n,i,r.options];if(Ot(a,l,o)===!1&&i.cancelable)return!1}return!0}invalidate(){xt(this._cache)||(this._oldCache=this._cache,this._cache=void 0)}_descriptors(t){if(this._cache)return this._cache;const n=this._cache=this._createDescriptors(t);return this._notifyStateChanges(t),n}_createDescriptors(t,n){const s=t&&t.config,i=bt(s.options&&s.options.plugins,{}),r=Wx(s);return i===!1&&!n?[]:qx(t,r,i,n)}_notifyStateChanges(t){const n=this._oldCache||[],s=this._cache,i=(r,o)=>r.filter(a=>!o.some(l=>a.plugin.id===l.plugin.id));this._notify(i(n,s),t,"stop"),this._notify(i(s,n),t,"start")}}function Wx(e){const t={},n=[],s=Object.keys(De.plugins.items);for(let r=0;r{const l=s[a];if(!yt(l))return console.error(`Invalid scale configuration for scale: ${a}`);if(l._proxy)return console.warn(`Ignoring resolver passed as options for scale: ${a}`);const c=ta(a,l),u=Xx(c,i),f=n.scales||{};r[c]=r[c]||a,o[a]=Ns(Object.create(null),[{axis:c},l,f[c],f[u]])}),e.data.datasets.forEach(a=>{const l=a.type||e.type,c=a.indexAxis||Qo(l,t),f=(Nn[l]||{}).scales||{};Object.keys(f).forEach(h=>{const d=Yx(h,c),p=a[d+"AxisID"]||r[d]||d;o[p]=o[p]||Object.create(null),Ns(o[p],[{axis:d},s[p],f[h]])})}),Object.keys(o).forEach(a=>{const l=o[a];Ns(l,[ht.scales[l.type],ht.scale])}),o}function md(e){const t=e.options||(e.options={});t.plugins=bt(t.plugins,{}),t.scales=Zx(e,t)}function bd(e){return e=e||{},e.datasets=e.datasets||[],e.labels=e.labels||[],e}function Jx(e){return e=e||{},e.data=bd(e.data),md(e),e}const vu=new Map,_d=new Set;function Ai(e,t){let n=vu.get(e);return n||(n=t(),vu.set(e,n),_d.add(n)),n}const Os=(e,t,n)=>{const s=mn(t,n);s!==void 0&&e.add(s)};class Qx{constructor(t){this._config=Jx(t),this._scopeCache=new Map,this._resolverCache=new Map}get platform(){return this._config.platform}get type(){return this._config.type}set type(t){this._config.type=t}get data(){return this._config.data}set data(t){this._config.data=bd(t)}get options(){return this._config.options}set options(t){this._config.options=t}get plugins(){return this._config.plugins}update(){const t=this._config;this.clearCache(),md(t)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(t){return Ai(t,()=>[[`datasets.${t}`,""]])}datasetAnimationScopeKeys(t,n){return Ai(`${t}.transition.${n}`,()=>[[`datasets.${t}.transitions.${n}`,`transitions.${n}`],[`datasets.${t}`,""]])}datasetElementScopeKeys(t,n){return Ai(`${t}-${n}`,()=>[[`datasets.${t}.elements.${n}`,`datasets.${t}`,`elements.${n}`,""]])}pluginScopeKeys(t){const n=t.id,s=this.type;return Ai(`${s}-plugin-${n}`,()=>[[`plugins.${n}`,...t.additionalOptionScopes||[]]])}_cachedScopes(t,n){const s=this._scopeCache;let i=s.get(t);return(!i||n)&&(i=new Map,s.set(t,i)),i}getOptionScopes(t,n,s){const{options:i,type:r}=this,o=this._cachedScopes(t,s),a=o.get(n);if(a)return a;const l=new Set;n.forEach(u=>{t&&(l.add(t),u.forEach(f=>Os(l,t,f))),u.forEach(f=>Os(l,i,f)),u.forEach(f=>Os(l,Nn[r]||{},f)),u.forEach(f=>Os(l,ht,f)),u.forEach(f=>Os(l,Go,f))});const c=Array.from(l);return c.length===0&&c.push(Object.create(null)),_d.has(n)&&o.set(n,c),c}chartOptionScopes(){const{options:t,type:n}=this;return[t,Nn[n]||{},ht.datasets[n]||{},{type:n},ht,Go]}resolveNamedOptions(t,n,s,i=[""]){const r={$shared:!0},{resolver:o,subPrefixes:a}=wu(this._resolverCache,t,i);let l=o;if(ev(o,n)){r.$shared=!1,s=bn(s)?s():s;const c=this.createResolver(t,s,a);l=fs(o,s,c)}for(const c of n)r[c]=l[c];return r}createResolver(t,n,s=[""],i){const{resolver:r}=wu(this._resolverCache,t,s);return yt(n)?fs(r,n,void 0,i):r}}function wu(e,t,n){let s=e.get(t);s||(s=new Map,e.set(t,s));const i=n.join();let r=s.get(i);return r||(r={resolver:Ua(t,n),subPrefixes:n.filter(a=>!a.toLowerCase().includes("hover"))},s.set(i,r)),r}const tv=e=>yt(e)&&Object.getOwnPropertyNames(e).reduce((t,n)=>t||bn(e[n]),!1);function ev(e,t){const{isScriptable:n,isIndexable:s}=Jh(e);for(const i of t){const r=n(i),o=s(i),a=(o||r)&&e[i];if(r&&(bn(a)||tv(a))||o&&Et(a))return!0}return!1}var nv="3.9.1";const sv=["top","bottom","left","right","chartArea"];function Mu(e,t){return e==="top"||e==="bottom"||sv.indexOf(e)===-1&&t==="x"}function ku(e,t){return function(n,s){return n[e]===s[e]?n[t]-s[t]:n[e]-s[e]}}function Su(e){const t=e.chart,n=t.options.animation;t.notifyPlugins("afterRender"),Ot(n&&n.onComplete,[e],t)}function iv(e){const t=e.chart,n=t.options.animation;Ot(n&&n.onProgress,[e],t)}function yd(e){return id()&&typeof e=="string"?e=document.getElementById(e):e&&e.length&&(e=e[0]),e&&e.canvas&&(e=e.canvas),e}const ur={},xd=e=>{const t=yd(e);return Object.values(ur).filter(n=>n.canvas===t).pop()};function rv(e,t,n){const s=Object.keys(e);for(const i of s){const r=+i;if(r>=t){const o=e[i];delete e[i],(n>0||r>t)&&(e[r+n]=o)}}}function ov(e,t,n,s){return!n||e.type==="mouseout"?null:s?t:e}class fr{constructor(t,n){const s=this.config=new Qx(n),i=yd(t),r=xd(i);if(r)throw new Error("Canvas is already in use. Chart with ID '"+r.id+"' must be destroyed before the canvas with ID '"+r.canvas.id+"' can be reused.");const o=s.createResolver(s.chartOptionScopes(),this.getContext());this.platform=new(s.platform||zx(i)),this.platform.updateConfig(s);const a=this.platform.acquireContext(i,o.aspectRatio),l=a&&a.canvas,c=l&&l.height,u=l&&l.width;if(this.id=$b(),this.ctx=a,this.canvas=l,this.width=u,this.height=c,this._options=o,this._aspectRatio=this.aspectRatio,this._layers=[],this._metasets=[],this._stacks=void 0,this.boxes=[],this.currentDevicePixelRatio=void 0,this.chartArea=void 0,this._active=[],this._lastEvent=void 0,this._listeners={},this._responsiveListeners=void 0,this._sortedMetasets=[],this.scales={},this._plugins=new jx,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=s_(f=>this.update(f),o.resizeDelay||0),this._dataChanges=[],ur[this.id]=this,!a||!l){console.error("Failed to create chart: can't acquire context from the given item");return}Ve.listen(this,"complete",Su),Ve.listen(this,"progress",iv),this._initialize(),this.attached&&this.update()}get aspectRatio(){const{options:{aspectRatio:t,maintainAspectRatio:n},width:s,height:i,_aspectRatio:r}=this;return xt(t)?n&&r?r:i?s/i:null:t}get data(){return this.config.data}set data(t){this.config.data=t}get options(){return this._options}set options(t){this.config.options=t}_initialize(){return this.notifyPlugins("beforeInit"),this.options.responsive?this.resize():Gc(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return Kc(this.canvas,this.ctx),this}stop(){return Ve.stop(this),this}resize(t,n){Ve.running(this)?this._resizeBeforeDraw={width:t,height:n}:this._resize(t,n)}_resize(t,n){const s=this.options,i=this.canvas,r=s.maintainAspectRatio&&this.aspectRatio,o=this.platform.getMaximumSize(i,t,n,r),a=s.devicePixelRatio||this.platform.getDevicePixelRatio(),l=this.width?"resize":"attach";this.width=o.width,this.height=o.height,this._aspectRatio=this.aspectRatio,Gc(this,a,!0)&&(this.notifyPlugins("resize",{size:o}),Ot(s.onResize,[this,o],this),this.attached&&this._doResize(l)&&this.render())}ensureScalesHaveIDs(){const n=this.options.scales||{};wt(n,(s,i)=>{s.id=i})}buildOrUpdateScales(){const t=this.options,n=t.scales,s=this.scales,i=Object.keys(s).reduce((o,a)=>(o[a]=!1,o),{});let r=[];n&&(r=r.concat(Object.keys(n).map(o=>{const a=n[o],l=ta(o,a),c=l==="r",u=l==="x";return{options:a,dposition:c?"chartArea":u?"bottom":"left",dtype:c?"radialLinear":u?"category":"linear"}}))),wt(r,o=>{const a=o.options,l=a.id,c=ta(l,a),u=bt(a.type,o.dtype);(a.position===void 0||Mu(a.position,c)!==Mu(o.dposition))&&(a.position=o.dposition),i[l]=!0;let f=null;if(l in s&&s[l].type===u)f=s[l];else{const h=De.getScale(u);f=new h({id:l,type:u,ctx:this.ctx,chart:this}),s[f.id]=f}f.init(a,t)}),wt(i,(o,a)=>{o||delete s[a]}),wt(s,o=>{Ci.configure(this,o,o.options),Ci.addBox(this,o)})}_updateMetasets(){const t=this._metasets,n=this.data.datasets.length,s=t.length;if(t.sort((i,r)=>i.index-r.index),s>n){for(let i=n;in.length&&delete this._stacks,t.forEach((s,i)=>{n.filter(r=>r===s._dataset).length===0&&this._destroyDatasetMeta(i)})}buildOrUpdateControllers(){const t=[],n=this.data.datasets;let s,i;for(this._removeUnreferencedMetasets(),s=0,i=n.length;s{this.getDatasetMeta(n).controller.reset()},this)}reset(){this._resetElements(),this.notifyPlugins("reset")}update(t){const n=this.config;n.update();const s=this._options=n.createResolver(n.chartOptionScopes(),this.getContext()),i=this._animationsDisabled=!s.animation;if(this._updateScales(),this._checkEventBindings(),this._updateHiddenIndices(),this._plugins.invalidate(),this.notifyPlugins("beforeUpdate",{mode:t,cancelable:!0})===!1)return;const r=this.buildOrUpdateControllers();this.notifyPlugins("beforeElementsUpdate");let o=0;for(let c=0,u=this.data.datasets.length;c{c.reset()}),this._updateDatasets(t),this.notifyPlugins("afterUpdate",{mode:t}),this._layers.sort(ku("z","_idx"));const{_active:a,_lastEvent:l}=this;l?this._eventHandler(l,!0):a.length&&this._updateHoverStyles(a,a,!0),this.render()}_updateScales(){wt(this.scales,t=>{Ci.removeBox(this,t)}),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){const t=this.options,n=new Set(Object.keys(this._listeners)),s=new Set(t.events);(!Dc(n,s)||!!this._responsiveListeners!==t.responsive)&&(this.unbindEvents(),this.bindEvents())}_updateHiddenIndices(){const{_hiddenIndices:t}=this,n=this._getUniformDataChanges()||[];for(const{method:s,start:i,count:r}of n){const o=s==="_removeElements"?-r:r;rv(t,i,o)}}_getUniformDataChanges(){const t=this._dataChanges;if(!t||!t.length)return;this._dataChanges=[];const n=this.data.datasets.length,s=r=>new Set(t.filter(o=>o[0]===r).map((o,a)=>a+","+o.splice(1).join(","))),i=s(0);for(let r=1;rr.split(",")).map(r=>({method:r[1],start:+r[2],count:+r[3]}))}_updateLayout(t){if(this.notifyPlugins("beforeLayout",{cancelable:!0})===!1)return;Ci.update(this,this.width,this.height,t);const n=this.chartArea,s=n.width<=0||n.height<=0;this._layers=[],wt(this.boxes,i=>{s&&i.position==="chartArea"||(i.configure&&i.configure(),this._layers.push(...i._layers()))},this),this._layers.forEach((i,r)=>{i._idx=r}),this.notifyPlugins("afterLayout")}_updateDatasets(t){if(this.notifyPlugins("beforeDatasetsUpdate",{mode:t,cancelable:!0})!==!1){for(let n=0,s=this.data.datasets.length;n=0;--n)this._drawDataset(t[n]);this.notifyPlugins("afterDatasetsDraw")}_drawDataset(t){const n=this.ctx,s=t._clip,i=!s.disabled,r=this.chartArea,o={meta:t,index:t.index,cancelable:!0};this.notifyPlugins("beforeDatasetDraw",o)!==!1&&(i&&Xh(n,{left:s.left===!1?0:r.left-s.left,right:s.right===!1?this.width:r.right+s.right,top:s.top===!1?0:r.top-s.top,bottom:s.bottom===!1?this.height:r.bottom+s.bottom}),t.controller.draw(),i&&Gh(n),o.cancelable=!1,this.notifyPlugins("afterDatasetDraw",o))}isPointInArea(t){return ei(t,this.chartArea,this._minPadding)}getElementsAtEventForMode(t,n,s,i){const r=vx.modes[n];return typeof r=="function"?r(this,t,s,i):[]}getDatasetMeta(t){const n=this.data.datasets[t],s=this._metasets;let i=s.filter(r=>r&&r._dataset===n).pop();return i||(i={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:n&&n.order||0,index:t,_dataset:n,_parsed:[],_sorted:!1},s.push(i)),i}getContext(){return this.$context||(this.$context=_n(null,{chart:this,type:"chart"}))}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(t){const n=this.data.datasets[t];if(!n)return!1;const s=this.getDatasetMeta(t);return typeof s.hidden=="boolean"?!s.hidden:!n.hidden}setDatasetVisibility(t,n){const s=this.getDatasetMeta(t);s.hidden=!n}toggleDataVisibility(t){this._hiddenIndices[t]=!this._hiddenIndices[t]}getDataVisibility(t){return!this._hiddenIndices[t]}_updateVisibility(t,n,s){const i=s?"show":"hide",r=this.getDatasetMeta(t),o=r.controller._resolveAnimations(void 0,i);be(n)?(r.data[n].hidden=!s,this.update()):(this.setDatasetVisibility(t,s),o.update(r,{visible:s}),this.update(a=>a.datasetIndex===t?i:void 0))}hide(t,n){this._updateVisibility(t,n,!1)}show(t,n){this._updateVisibility(t,n,!0)}_destroyDatasetMeta(t){const n=this._metasets[t];n&&n.controller&&n.controller._destroy(),delete this._metasets[t]}_stop(){let t,n;for(this.stop(),Ve.remove(this),t=0,n=this.data.datasets.length;t{n.addEventListener(this,r,o),t[r]=o},i=(r,o,a)=>{r.offsetX=o,r.offsetY=a,this._eventHandler(r)};wt(this.options.events,r=>s(r,i))}bindResponsiveEvents(){this._responsiveListeners||(this._responsiveListeners={});const t=this._responsiveListeners,n=this.platform,s=(l,c)=>{n.addEventListener(this,l,c),t[l]=c},i=(l,c)=>{t[l]&&(n.removeEventListener(this,l,c),delete t[l])},r=(l,c)=>{this.canvas&&this.resize(l,c)};let o;const a=()=>{i("attach",a),this.attached=!0,this.resize(),s("resize",r),s("detach",o)};o=()=>{this.attached=!1,i("resize",r),this._stop(),this._resize(0,0),s("attach",a)},n.isAttached(this.canvas)?a():o()}unbindEvents(){wt(this._listeners,(t,n)=>{this.platform.removeEventListener(this,n,t)}),this._listeners={},wt(this._responsiveListeners,(t,n)=>{this.platform.removeEventListener(this,n,t)}),this._responsiveListeners=void 0}updateHoverStyle(t,n,s){const i=s?"set":"remove";let r,o,a,l;for(n==="dataset"&&(r=this.getDatasetMeta(t[0].datasetIndex),r.controller["_"+i+"DatasetHoverStyle"]()),a=0,l=t.length;a{const a=this.getDatasetMeta(r);if(!a)throw new Error("No dataset found at index "+r);return{datasetIndex:r,element:a.data[o],index:o}});!tr(s,n)&&(this._active=s,this._lastEvent=null,this._updateHoverStyles(s,n))}notifyPlugins(t,n,s){return this._plugins.notify(this,t,n,s)}_updateHoverStyles(t,n,s){const i=this.options.hover,r=(l,c)=>l.filter(u=>!c.some(f=>u.datasetIndex===f.datasetIndex&&u.index===f.index)),o=r(n,t),a=s?t:r(t,n);o.length&&this.updateHoverStyle(o,i.mode,!1),a.length&&i.mode&&this.updateHoverStyle(a,i.mode,!0)}_eventHandler(t,n){const s={event:t,replay:n,cancelable:!0,inChartArea:this.isPointInArea(t)},i=o=>(o.options.events||this.options.events).includes(t.native.type);if(this.notifyPlugins("beforeEvent",s,i)===!1)return;const r=this._handleEvent(t,n,s.inChartArea);return s.cancelable=!1,this.notifyPlugins("afterEvent",s,i),(r||s.changed)&&this.render(),this}_handleEvent(t,n,s){const{_active:i=[],options:r}=this,o=n,a=this._getActiveElements(t,i,s,o),l=Kb(t),c=ov(t,this._lastEvent,s,l);s&&(this._lastEvent=null,Ot(r.onHover,[t,a,this],this),l&&Ot(r.onClick,[t,a,this],this));const u=!tr(a,i);return(u||n)&&(this._active=a,this._updateHoverStyles(a,i,n)),this._lastEvent=c,u}_getActiveElements(t,n,s,i){if(t.type==="mouseout")return[];if(!s)return n;const r=this.options.hover;return this.getElementsAtEventForMode(t,r.mode,r,i)}}const Cu=()=>wt(fr.instances,e=>e._plugins.invalidate()),Qe=!0;Object.defineProperties(fr,{defaults:{enumerable:Qe,value:ht},instances:{enumerable:Qe,value:ur},overrides:{enumerable:Qe,value:Nn},registry:{enumerable:Qe,value:De},version:{enumerable:Qe,value:nv},getChart:{enumerable:Qe,value:xd},register:{enumerable:Qe,value:(...e)=>{De.add(...e),Cu()}},unregister:{enumerable:Qe,value:(...e)=>{De.remove(...e),Cu()}}});function vd(e,t,n){const{startAngle:s,pixelMargin:i,x:r,y:o,outerRadius:a,innerRadius:l}=t;let c=i/a;e.beginPath(),e.arc(r,o,a,s-c,n+c),l>i?(c=i/l,e.arc(r,o,l,n+c,s-c,!0)):e.arc(r,o,i,n+Lt,s-Lt),e.closePath(),e.clip()}function av(e){return Wa(e,["outerStart","outerEnd","innerStart","innerEnd"])}function lv(e,t,n,s){const i=av(e.options.borderRadius),r=(n-t)/2,o=Math.min(r,s*t/2),a=l=>{const c=(n-Math.min(r,l))*s/2;return Xt(l,0,Math.min(r,c))};return{outerStart:a(i.outerStart),outerEnd:a(i.outerEnd),innerStart:Xt(i.innerStart,0,o),innerEnd:Xt(i.innerEnd,0,o)}}function Gn(e,t,n,s){return{x:n+e*Math.cos(t),y:s+e*Math.sin(t)}}function ea(e,t,n,s,i,r){const{x:o,y:a,startAngle:l,pixelMargin:c,innerRadius:u}=t,f=Math.max(t.outerRadius+s+n-c,0),h=u>0?u+s+n+c:0;let d=0;const p=i-l;if(s){const U=u>0?u-s:0,tt=f>0?f-s:0,et=(U+tt)/2,lt=et!==0?p*et/(et+s):p;d=(p-lt)/2}const g=Math.max(.001,p*f-n/Rt)/f,b=(p-g)/2,_=l+b+d,v=i-b-d,{outerStart:w,outerEnd:M,innerStart:x,innerEnd:L}=lv(t,h,f,v-_),A=f-w,S=f-M,R=_+w/A,B=v-M/S,Y=h+x,O=h+L,X=_+x/Y,nt=v-L/O;if(e.beginPath(),r){if(e.arc(o,a,f,R,B),M>0){const et=Gn(S,B,o,a);e.arc(et.x,et.y,M,B,v+Lt)}const U=Gn(O,v,o,a);if(e.lineTo(U.x,U.y),L>0){const et=Gn(O,nt,o,a);e.arc(et.x,et.y,L,v+Lt,nt+Math.PI)}if(e.arc(o,a,h,v-L/h,_+x/h,!0),x>0){const et=Gn(Y,X,o,a);e.arc(et.x,et.y,x,X+Math.PI,_-Lt)}const tt=Gn(A,_,o,a);if(e.lineTo(tt.x,tt.y),w>0){const et=Gn(A,R,o,a);e.arc(et.x,et.y,w,_-Lt,R)}}else{e.moveTo(o,a);const U=Math.cos(R)*f+o,tt=Math.sin(R)*f+a;e.lineTo(U,tt);const et=Math.cos(B)*f+o,lt=Math.sin(B)*f+a;e.lineTo(et,lt)}e.closePath()}function cv(e,t,n,s,i){const{fullCircles:r,startAngle:o,circumference:a}=t;let l=t.endAngle;if(r){ea(e,t,n,s,o+kt,i);for(let c=0;c=kt||ti(r,a,l),g=sr(o,c+h,u+h);return p&&g}getCenterPoint(t){const{x:n,y:s,startAngle:i,endAngle:r,innerRadius:o,outerRadius:a}=this.getProps(["x","y","startAngle","endAngle","innerRadius","outerRadius","circumference"],t),{offset:l,spacing:c}=this.options,u=(i+r)/2,f=(o+a+c+l)/2;return{x:n+Math.cos(u)*f,y:s+Math.sin(u)*f}}tooltipPosition(t){return this.getCenterPoint(t)}draw(t){const{options:n,circumference:s}=this,i=(n.offset||0)/2,r=(n.spacing||0)/2,o=n.circular;if(this.pixelMargin=n.borderAlign==="inner"?.33:0,this.fullCircles=s>kt?Math.floor(s/kt):0,s===0||this.innerRadius<0||this.outerRadius<0)return;t.save();let a=0;if(i){a=i/2;const c=(this.startAngle+this.endAngle)/2;t.translate(Math.cos(c)*a,Math.sin(c)*a),this.circumference>=Rt&&(a=i)}t.fillStyle=n.backgroundColor,t.strokeStyle=n.borderColor;const l=cv(t,this,a,r,o);fv(t,this,a,r,l,o),t.restore()}}tl.id="arc";tl.defaults={borderAlign:"center",borderColor:"#fff",borderJoinStyle:void 0,borderRadius:0,borderWidth:2,offset:0,spacing:0,angle:void 0,circular:!0};tl.defaultRoutes={backgroundColor:"backgroundColor"};function wd(e,t,n=t){e.lineCap=bt(n.borderCapStyle,t.borderCapStyle),e.setLineDash(bt(n.borderDash,t.borderDash)),e.lineDashOffset=bt(n.borderDashOffset,t.borderDashOffset),e.lineJoin=bt(n.borderJoinStyle,t.borderJoinStyle),e.lineWidth=bt(n.borderWidth,t.borderWidth),e.strokeStyle=bt(n.borderColor,t.borderColor)}function hv(e,t,n){e.lineTo(n.x,n.y)}function dv(e){return e.stepped?L_:e.tension||e.cubicInterpolationMode==="monotone"?R_:hv}function Md(e,t,n={}){const s=e.length,{start:i=0,end:r=s-1}=n,{start:o,end:a}=t,l=Math.max(i,o),c=Math.min(r,a),u=ia&&r>a;return{count:s,start:l,loop:t.loop,ilen:c(o+(c?a-M:M))%r,w=()=>{g!==b&&(e.lineTo(u,b),e.lineTo(u,g),e.lineTo(u,_))};for(l&&(d=i[v(0)],e.moveTo(d.x,d.y)),h=0;h<=a;++h){if(d=i[v(h)],d.skip)continue;const M=d.x,x=d.y,L=M|0;L===p?(xb&&(b=x),u=(f*u+M)/++f):(w(),e.lineTo(M,x),p=L,f=0,g=b=x),_=x}w()}function na(e){const t=e.options,n=t.borderDash&&t.borderDash.length;return!e._decimated&&!e._loop&&!t.tension&&t.cubicInterpolationMode!=="monotone"&&!t.stepped&&!n?gv:pv}function mv(e){return e.stepped?cy:e.tension||e.cubicInterpolationMode==="monotone"?uy:An}function bv(e,t,n,s){let i=t._path;i||(i=t._path=new Path2D,t.path(i,n,s)&&i.closePath()),wd(e,t.options),e.stroke(i)}function _v(e,t,n,s){const{segments:i,options:r}=t,o=na(t);for(const a of i)wd(e,r,a.style),e.beginPath(),o(e,t,a,{start:n,end:n+s-1})&&e.closePath(),e.stroke()}const yv=typeof Path2D=="function";function xv(e,t,n,s){yv&&!t.options.segment?bv(e,t,n,s):_v(e,t,n,s)}class ci extends Ke{constructor(t){super(),this.animated=!0,this.options=void 0,this._chart=void 0,this._loop=void 0,this._fullLoop=void 0,this._path=void 0,this._points=void 0,this._segments=void 0,this._decimated=!1,this._pointsUpdated=!1,this._datasetIndex=void 0,t&&Object.assign(this,t)}updateControlPoints(t,n){const s=this.options;if((s.tension||s.cubicInterpolationMode==="monotone")&&!s.stepped&&!this._pointsUpdated){const i=s.spanGaps?this._loop:this._fullLoop;ey(this._points,s,t,i,n),this._pointsUpdated=!0}}set points(t){this._points=t,delete this._segments,delete this._path,this._pointsUpdated=!1}get points(){return this._points}get segments(){return this._segments||(this._segments=vy(this,this.options.segment))}first(){const t=this.segments,n=this.points;return t.length&&n[t[0].start]}last(){const t=this.segments,n=this.points,s=t.length;return s&&n[t[s-1].end]}interpolate(t,n){const s=this.options,i=t[n],r=this.points,o=_y(this,{property:n,start:i,end:i});if(!o.length)return;const a=[],l=mv(s);let c,u;for(c=0,u=o.length;ce!=="borderDash"&&e!=="fill"};function Au(e,t,n,s){const i=e.options,{[n]:r}=e.getProps([n],s);return Math.abs(t-r)-1?e.split(` +`):e}function Cv(e,t){const{element:n,datasetIndex:s,index:i}=t,r=e.getDatasetMeta(s).controller,{label:o,value:a}=r.getLabelAndValue(i);return{chart:e,label:o,parsed:r.getParsed(i),raw:e.data.datasets[s].data[i],formattedValue:a,dataset:r.getDataset(),dataIndex:i,datasetIndex:s,element:n}}function Eu(e,t){const n=e.chart.ctx,{body:s,footer:i,title:r}=e,{boxWidth:o,boxHeight:a}=t,l=le(t.bodyFont),c=le(t.titleFont),u=le(t.footerFont),f=r.length,h=i.length,d=s.length,p=_e(t.padding);let g=p.height,b=0,_=s.reduce((M,x)=>M+x.before.length+x.lines.length+x.after.length,0);if(_+=e.beforeBody.length+e.afterBody.length,f&&(g+=f*c.lineHeight+(f-1)*t.titleSpacing+t.titleMarginBottom),_){const M=t.displayColors?Math.max(a,l.lineHeight):l.lineHeight;g+=d*M+(_-d)*l.lineHeight+(_-1)*t.bodySpacing}h&&(g+=t.footerMarginTop+h*u.lineHeight+(h-1)*t.footerSpacing);let v=0;const w=function(M){b=Math.max(b,n.measureText(M).width+v)};return n.save(),n.font=c.string,wt(e.title,w),n.font=l.string,wt(e.beforeBody.concat(e.afterBody),w),v=t.displayColors?o+2+t.boxPadding:0,wt(s,M=>{wt(M.before,w),wt(M.lines,w),wt(M.after,w)}),v=0,n.font=u.string,wt(e.footer,w),n.restore(),b+=p.width,{width:b,height:g}}function Av(e,t){const{y:n,height:s}=t;return ne.height-s/2?"bottom":"center"}function Ev(e,t,n,s){const{x:i,width:r}=s,o=n.caretSize+n.caretPadding;if(e==="left"&&i+r+o>t.width||e==="right"&&i-r-o<0)return!0}function Pv(e,t,n,s){const{x:i,width:r}=n,{width:o,chartArea:{left:a,right:l}}=e;let c="center";return s==="center"?c=i<=(a+l)/2?"left":"right":i<=r/2?c="left":i>=o-r/2&&(c="right"),Ev(c,e,t,n)&&(c="center"),c}function Pu(e,t,n){const s=n.yAlign||t.yAlign||Av(e,n);return{xAlign:n.xAlign||t.xAlign||Pv(e,t,n,s),yAlign:s}}function Ov(e,t){let{x:n,width:s}=e;return t==="right"?n-=s:t==="center"&&(n-=s/2),n}function Lv(e,t,n){let{y:s,height:i}=e;return t==="top"?s+=n:t==="bottom"?s-=i+n:s-=i/2,s}function Ou(e,t,n,s){const{caretSize:i,caretPadding:r,cornerRadius:o}=e,{xAlign:a,yAlign:l}=n,c=i+r,{topLeft:u,topRight:f,bottomLeft:h,bottomRight:d}=es(o);let p=Ov(t,a);const g=Lv(t,l,c);return l==="center"?a==="left"?p+=c:a==="right"&&(p-=c):a==="left"?p-=Math.max(u,h)+i:a==="right"&&(p+=Math.max(f,d)+i),{x:Xt(p,0,s.width-t.width),y:Xt(g,0,s.height-t.height)}}function Ei(e,t,n){const s=_e(n.padding);return t==="center"?e.x+e.width/2:t==="right"?e.x+e.width-s.right:e.x+s.left}function Lu(e){return Le([],Ne(e))}function Rv(e,t,n){return _n(e,{tooltip:t,tooltipItems:n,type:"tooltip"})}function Ru(e,t){const n=t&&t.dataset&&t.dataset.tooltip&&t.dataset.tooltip.callbacks;return n?e.override(n):e}class sa extends Ke{constructor(t){super(),this.opacity=0,this._active=[],this._eventPosition=void 0,this._size=void 0,this._cachedAnimations=void 0,this._tooltipItems=[],this.$animations=void 0,this.$context=void 0,this.chart=t.chart||t._chart,this._chart=this.chart,this.options=t.options,this.dataPoints=void 0,this.title=void 0,this.beforeBody=void 0,this.body=void 0,this.afterBody=void 0,this.footer=void 0,this.xAlign=void 0,this.yAlign=void 0,this.x=void 0,this.y=void 0,this.height=void 0,this.width=void 0,this.caretX=void 0,this.caretY=void 0,this.labelColors=void 0,this.labelPointStyles=void 0,this.labelTextColors=void 0}initialize(t){this.options=t,this._cachedAnimations=void 0,this.$context=void 0}_resolveAnimations(){const t=this._cachedAnimations;if(t)return t;const n=this.chart,s=this.options.setContext(this.getContext()),i=s.enabled&&n.options.animation&&s.animations,r=new od(this.chart,i);return i._cacheable&&(this._cachedAnimations=Object.freeze(r)),r}getContext(){return this.$context||(this.$context=Rv(this.chart.getContext(),this,this._tooltipItems))}getTitle(t,n){const{callbacks:s}=n,i=s.beforeTitle.apply(this,[t]),r=s.title.apply(this,[t]),o=s.afterTitle.apply(this,[t]);let a=[];return a=Le(a,Ne(i)),a=Le(a,Ne(r)),a=Le(a,Ne(o)),a}getBeforeBody(t,n){return Lu(n.callbacks.beforeBody.apply(this,[t]))}getBody(t,n){const{callbacks:s}=n,i=[];return wt(t,r=>{const o={before:[],lines:[],after:[]},a=Ru(s,r);Le(o.before,Ne(a.beforeLabel.call(this,r))),Le(o.lines,a.label.call(this,r)),Le(o.after,Ne(a.afterLabel.call(this,r))),i.push(o)}),i}getAfterBody(t,n){return Lu(n.callbacks.afterBody.apply(this,[t]))}getFooter(t,n){const{callbacks:s}=n,i=s.beforeFooter.apply(this,[t]),r=s.footer.apply(this,[t]),o=s.afterFooter.apply(this,[t]);let a=[];return a=Le(a,Ne(i)),a=Le(a,Ne(r)),a=Le(a,Ne(o)),a}_createItems(t){const n=this._active,s=this.chart.data,i=[],r=[],o=[];let a=[],l,c;for(l=0,c=n.length;lt.filter(u,f,h,s))),t.itemSort&&(a=a.sort((u,f)=>t.itemSort(u,f,s))),wt(a,u=>{const f=Ru(t.callbacks,u);i.push(f.labelColor.call(this,u)),r.push(f.labelPointStyle.call(this,u)),o.push(f.labelTextColor.call(this,u))}),this.labelColors=i,this.labelPointStyles=r,this.labelTextColors=o,this.dataPoints=a,a}update(t,n){const s=this.options.setContext(this.getContext()),i=this._active;let r,o=[];if(!i.length)this.opacity!==0&&(r={opacity:0});else{const a=Ws[s.position].call(this,i,this._eventPosition);o=this._createItems(s),this.title=this.getTitle(o,s),this.beforeBody=this.getBeforeBody(o,s),this.body=this.getBody(o,s),this.afterBody=this.getAfterBody(o,s),this.footer=this.getFooter(o,s);const l=this._size=Eu(this,s),c=Object.assign({},a,l),u=Pu(this.chart,s,c),f=Ou(s,c,u,this.chart);this.xAlign=u.xAlign,this.yAlign=u.yAlign,r={opacity:1,x:f.x,y:f.y,width:l.width,height:l.height,caretX:a.x,caretY:a.y}}this._tooltipItems=o,this.$context=void 0,r&&this._resolveAnimations().update(this,r),t&&s.external&&s.external.call(this,{chart:this.chart,tooltip:this,replay:n})}drawCaret(t,n,s,i){const r=this.getCaretPosition(t,s,i);n.lineTo(r.x1,r.y1),n.lineTo(r.x2,r.y2),n.lineTo(r.x3,r.y3)}getCaretPosition(t,n,s){const{xAlign:i,yAlign:r}=this,{caretSize:o,cornerRadius:a}=s,{topLeft:l,topRight:c,bottomLeft:u,bottomRight:f}=es(a),{x:h,y:d}=t,{width:p,height:g}=n;let b,_,v,w,M,x;return r==="center"?(M=d+g/2,i==="left"?(b=h,_=b-o,w=M+o,x=M-o):(b=h+p,_=b+o,w=M-o,x=M+o),v=b):(i==="left"?_=h+Math.max(l,u)+o:i==="right"?_=h+p-Math.max(c,f)-o:_=this.caretX,r==="top"?(w=d,M=w-o,b=_-o,v=_+o):(w=d+g,M=w+o,b=_+o,v=_-o),x=w),{x1:b,x2:_,x3:v,y1:w,y2:M,y3:x}}drawTitle(t,n,s){const i=this.title,r=i.length;let o,a,l;if(r){const c=xo(s.rtl,this.x,this.width);for(t.x=Ei(this,s.titleAlign,s),n.textAlign=c.textAlign(s.titleAlign),n.textBaseline="middle",o=le(s.titleFont),a=s.titleSpacing,n.fillStyle=s.titleColor,n.font=o.string,l=0;lw!==0)?(t.beginPath(),t.fillStyle=r.multiKeyBackground,ar(t,{x:b,y:g,w:c,h:l,radius:v}),t.fill(),t.stroke(),t.fillStyle=o.backgroundColor,t.beginPath(),ar(t,{x:_,y:g+1,w:c-2,h:l-2,radius:v}),t.fill()):(t.fillStyle=r.multiKeyBackground,t.fillRect(b,g,c,l),t.strokeRect(b,g,c,l),t.fillStyle=o.backgroundColor,t.fillRect(_,g+1,c-2,l-2))}t.fillStyle=this.labelTextColors[s]}drawBody(t,n,s){const{body:i}=this,{bodySpacing:r,bodyAlign:o,displayColors:a,boxHeight:l,boxWidth:c,boxPadding:u}=s,f=le(s.bodyFont);let h=f.lineHeight,d=0;const p=xo(s.rtl,this.x,this.width),g=function(S){n.fillText(S,p.x(t.x+d),t.y+h/2),t.y+=h+r},b=p.textAlign(o);let _,v,w,M,x,L,A;for(n.textAlign=o,n.textBaseline="middle",n.font=f.string,t.x=Ei(this,b,s),n.fillStyle=s.bodyColor,wt(this.beforeBody,g),d=a&&b!=="right"?o==="center"?c/2+u:c+2+u:0,M=0,L=i.length;M0&&n.stroke()}_updateAnimationTarget(t){const n=this.chart,s=this.$animations,i=s&&s.x,r=s&&s.y;if(i||r){const o=Ws[t.position].call(this,this._active,this._eventPosition);if(!o)return;const a=this._size=Eu(this,t),l=Object.assign({},o,this._size),c=Pu(n,t,l),u=Ou(t,l,c,n);(i._to!==u.x||r._to!==u.y)&&(this.xAlign=c.xAlign,this.yAlign=c.yAlign,this.width=a.width,this.height=a.height,this.caretX=o.x,this.caretY=o.y,this._resolveAnimations().update(this,u))}}_willRender(){return!!this.opacity}draw(t){const n=this.options.setContext(this.getContext());let s=this.opacity;if(!s)return;this._updateAnimationTarget(n);const i={width:this.width,height:this.height},r={x:this.x,y:this.y};s=Math.abs(s)<.001?0:s;const o=_e(n.padding),a=this.title.length||this.beforeBody.length||this.body.length||this.afterBody.length||this.footer.length;n.enabled&&a&&(t.save(),t.globalAlpha=s,this.drawBackground(r,t,i,n),py(t,n.textDirection),r.y+=o.top,this.drawTitle(r,t,n),this.drawBody(r,t,n),this.drawFooter(r,t,n),gy(t,n.textDirection),t.restore())}getActiveElements(){return this._active||[]}setActiveElements(t,n){const s=this._active,i=t.map(({datasetIndex:a,index:l})=>{const c=this.chart.getDatasetMeta(a);if(!c)throw new Error("Cannot find a dataset at index "+a);return{datasetIndex:a,element:c.data[l],index:l}}),r=!tr(s,i),o=this._positionChanged(i,n);(r||o)&&(this._active=i,this._eventPosition=n,this._ignoreReplayEvents=!0,this.update(!0))}handleEvent(t,n,s=!0){if(n&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;const i=this.options,r=this._active||[],o=this._getActiveElements(t,r,n,s),a=this._positionChanged(o,t),l=n||!tr(o,r)||a;return l&&(this._active=o,(i.enabled||i.external)&&(this._eventPosition={x:t.x,y:t.y},this.update(!0,n))),l}_getActiveElements(t,n,s,i){const r=this.options;if(t.type==="mouseout")return[];if(!i)return n;const o=this.chart.getElementsAtEventForMode(t,r.mode,r,s);return r.reverse&&o.reverse(),o}_positionChanged(t,n){const{caretX:s,caretY:i,options:r}=this,o=Ws[r.position].call(this,t,n);return o!==!1&&(s!==o.x||i!==o.y)}}sa.positioners=Ws;var Tv={id:"tooltip",_element:sa,positioners:Ws,afterInit(e,t,n){n&&(e.tooltip=new sa({chart:e,options:n}))},beforeUpdate(e,t,n){e.tooltip&&e.tooltip.initialize(n)},reset(e,t,n){e.tooltip&&e.tooltip.initialize(n)},afterDraw(e){const t=e.tooltip;if(t&&t._willRender()){const n={tooltip:t};if(e.notifyPlugins("beforeTooltipDraw",n)===!1)return;t.draw(e.ctx),e.notifyPlugins("afterTooltipDraw",n)}},afterEvent(e,t){if(e.tooltip){const n=t.replay;e.tooltip.handleEvent(t.event,n,t.inChartArea)&&(t.changed=!0)}},defaults:{enabled:!0,external:null,position:"average",backgroundColor:"rgba(0,0,0,0.8)",titleColor:"#fff",titleFont:{weight:"bold"},titleSpacing:2,titleMarginBottom:6,titleAlign:"left",bodyColor:"#fff",bodySpacing:2,bodyFont:{},bodyAlign:"left",footerColor:"#fff",footerSpacing:2,footerMarginTop:6,footerFont:{weight:"bold"},footerAlign:"left",padding:6,caretPadding:2,caretSize:5,cornerRadius:6,boxHeight:(e,t)=>t.bodyFont.size,boxWidth:(e,t)=>t.bodyFont.size,multiKeyBackground:"#fff",displayColors:!0,boxPadding:0,borderColor:"rgba(0,0,0,0)",borderWidth:0,animation:{duration:400,easing:"easeOutQuart"},animations:{numbers:{type:"number",properties:["x","y","width","height","caretX","caretY"]},opacity:{easing:"linear",duration:200}},callbacks:{beforeTitle:He,title(e){if(e.length>0){const t=e[0],n=t.chart.data.labels,s=n?n.length:0;if(this&&this.options&&this.options.mode==="dataset")return t.dataset.label||"";if(t.label)return t.label;if(s>0&&t.dataIndexe!=="filter"&&e!=="itemSort"&&e!=="external",_indexable:!1,callbacks:{_scriptable:!1,_indexable:!1},animation:{_fallback:!1},animations:{_fallback:"animation"}},additionalOptionScopes:["interaction"]};const Dv=(e,t,n,s)=>(typeof t=="string"?(n=e.push(t)-1,s.unshift({index:n,label:t})):isNaN(t)&&(n=null),n);function Iv(e,t,n,s){const i=e.indexOf(t);if(i===-1)return Dv(e,t,n,s);const r=e.lastIndexOf(t);return i!==r?n:i}const Fv=(e,t)=>e===null?null:Xt(Math.round(e),0,t);class hr extends zn{constructor(t){super(t),this._startValue=void 0,this._valueRange=0,this._addedLabels=[]}init(t){const n=this._addedLabels;if(n.length){const s=this.getLabels();for(const{index:i,label:r}of n)s[i]===r&&s.splice(i,1);this._addedLabels=[]}super.init(t)}parse(t,n){if(xt(t))return null;const s=this.getLabels();return n=isFinite(n)&&s[n]===t?n:Iv(s,t,bt(n,t),this._addedLabels),Fv(n,s.length-1)}determineDataLimits(){const{minDefined:t,maxDefined:n}=this.getUserBounds();let{min:s,max:i}=this.getMinMax(!0);this.options.bounds==="ticks"&&(t||(s=0),n||(i=this.getLabels().length-1)),this.min=s,this.max=i}buildTicks(){const t=this.min,n=this.max,s=this.options.offset,i=[];let r=this.getLabels();r=t===0&&n===r.length-1?r:r.slice(t,n+1),this._valueRange=Math.max(r.length-(s?0:1),1),this._startValue=this.min-(s?.5:0);for(let o=t;o<=n;o++)i.push({value:o});return i}getLabelForValue(t){const n=this.getLabels();return t>=0&&tn.length-1?null:this.getPixelForValue(n[t].value)}getValueForPixel(t){return Math.round(this._startValue+this.getDecimalForPixel(t)*this._valueRange)}getBasePixel(){return this.bottom}}hr.id="category";hr.defaults={ticks:{callback:hr.prototype.getLabelForValue}};function Bv(e,t){const n=[],{bounds:i,step:r,min:o,max:a,precision:l,count:c,maxTicks:u,maxDigits:f,includeBounds:h}=e,d=r||1,p=u-1,{min:g,max:b}=t,_=!xt(o),v=!xt(a),w=!xt(c),M=(b-g)/(f+1);let x=Fc((b-g)/p/d)*d,L,A,S,R;if(x<1e-14&&!_&&!v)return[{value:g},{value:b}];R=Math.ceil(b/x)-Math.floor(g/x),R>p&&(x=Fc(R*x/p/d)*d),xt(l)||(L=Math.pow(10,l),x=Math.ceil(x*L)/L),i==="ticks"?(A=Math.floor(g/x)*x,S=Math.ceil(b/x)*x):(A=g,S=b),_&&v&&r&&Zb((a-o)/r,x/1e3)?(R=Math.round(Math.min((a-o)/x,u)),x=(a-o)/R,A=o,S=a):w?(A=_?o:A,S=v?a:S,R=c-1,x=(S-A)/R):(R=(S-A)/x,$s(R,Math.round(R),x/1e3)?R=Math.round(R):R=Math.ceil(R));const B=Math.max(Bc(x),Bc(A));L=Math.pow(10,xt(l)?B:l),A=Math.round(A*L)/L,S=Math.round(S*L)/L;let Y=0;for(_&&(h&&A!==o?(n.push({value:o}),Ai=n?i:l,a=l=>r=s?r:l;if(t){const l=Ie(i),c=Ie(r);l<0&&c<0?a(0):l>0&&c>0&&o(0)}if(i===r){let l=1;(r>=Number.MAX_SAFE_INTEGER||i<=Number.MIN_SAFE_INTEGER)&&(l=Math.abs(r*.05)),a(r+l),t||o(i-l)}this.min=i,this.max=r}getTickLimit(){const t=this.options.ticks;let{maxTicksLimit:n,stepSize:s}=t,i;return s?(i=Math.ceil(this.max/s)-Math.floor(this.min/s)+1,i>1e3&&(console.warn(`scales.${this.id}.ticks.stepSize: ${s} would result generating up to ${i} ticks. Limiting to 1000.`),i=1e3)):(i=this.computeTickLimit(),n=n||11),n&&(i=Math.min(n,i)),i}computeTickLimit(){return Number.POSITIVE_INFINITY}buildTicks(){const t=this.options,n=t.ticks;let s=this.getTickLimit();s=Math.max(2,s);const i={maxTicks:s,bounds:t.bounds,min:t.min,max:t.max,precision:n.precision,step:n.stepSize,count:n.count,maxDigits:this._maxDigits(),horizontal:this.isHorizontal(),minRotation:n.minRotation||0,includeBounds:n.includeBounds!==!1},r=this._range||this,o=Bv(i,r);return t.bounds==="ticks"&&Fh(o,this,"value"),t.reverse?(o.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),o}configure(){const t=this.ticks;let n=this.min,s=this.max;if(super.configure(),this.options.offset&&t.length){const i=(s-n)/Math.max(t.length-1,1)/2;n-=i,s+=i}this._startValue=n,this._endValue=s,this._valueRange=s-n}getLabelForValue(t){return oi(t,this.chart.options.locale,this.options.ticks.format)}}class nl extends dr{determineDataLimits(){const{min:t,max:n}=this.getMinMax(!0);this.min=Wt(t)?t:0,this.max=Wt(n)?n:1,this.handleTickRangeOptions()}computeTickLimit(){const t=this.isHorizontal(),n=t?this.width:this.height,s=ke(this.options.ticks.minRotation),i=(t?Math.sin(s):Math.cos(s))||.001,r=this._resolveTickFontOptions(0);return Math.ceil(n/Math.min(40,r.lineHeight/i))}getPixelForValue(t){return t===null?NaN:this.getPixelForDecimal((t-this._startValue)/this._valueRange)}getValueForPixel(t){return this._startValue+this.getDecimalForPixel(t)*this._valueRange}}nl.id="linear";nl.defaults={ticks:{callback:Br.formatters.numeric}};function Du(e){return e/Math.pow(10,Math.floor(de(e)))===1}function Hv(e,t){const n=Math.floor(de(t.max)),s=Math.ceil(t.max/Math.pow(10,n)),i=[];let r=he(e.min,Math.pow(10,Math.floor(de(t.min)))),o=Math.floor(de(r)),a=Math.floor(r/Math.pow(10,o)),l=o<0?Math.pow(10,Math.abs(o)):1;do i.push({value:r,major:Du(r)}),++a,a===10&&(a=1,++o,l=o>=0?1:l),r=Math.round(a*Math.pow(10,o)*l)/l;while(o0?s:null}determineDataLimits(){const{min:t,max:n}=this.getMinMax(!0);this.min=Wt(t)?Math.max(0,t):null,this.max=Wt(n)?Math.max(0,n):null,this.options.beginAtZero&&(this._zero=!0),this.handleTickRangeOptions()}handleTickRangeOptions(){const{minDefined:t,maxDefined:n}=this.getUserBounds();let s=this.min,i=this.max;const r=l=>s=t?s:l,o=l=>i=n?i:l,a=(l,c)=>Math.pow(10,Math.floor(de(l))+c);s===i&&(s<=0?(r(1),o(10)):(r(a(s,-1)),o(a(i,1)))),s<=0&&r(a(i,-1)),i<=0&&o(a(s,1)),this._zero&&this.min!==this._suggestedMin&&s===a(this.min,0)&&r(a(s,-1)),this.min=s,this.max=i}buildTicks(){const t=this.options,n={min:this._userMin,max:this._userMax},s=Hv(n,this);return t.bounds==="ticks"&&Fh(s,this,"value"),t.reverse?(s.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),s}getLabelForValue(t){return t===void 0?"0":oi(t,this.chart.options.locale,this.options.ticks.format)}configure(){const t=this.min;super.configure(),this._startValue=de(t),this._valueRange=de(this.max)-de(t)}getPixelForValue(t){return(t===void 0||t===0)&&(t=this.min),t===null||isNaN(t)?NaN:this.getPixelForDecimal(t===this.min?0:(de(t)-this._startValue)/this._valueRange)}getValueForPixel(t){const n=this.getDecimalForPixel(t);return Math.pow(10,this._startValue+n*this._valueRange)}}Sd.id="logarithmic";Sd.defaults={ticks:{callback:Br.formatters.logarithmic,major:{enabled:!0}}};function ia(e){const t=e.ticks;if(t.display&&e.display){const n=_e(t.backdropPadding);return bt(t.font&&t.font.size,ht.font.size)+n.height}return 0}function Vv(e,t,n){return n=Et(n)?n:[n],{w:P_(e,t.string,n),h:n.length*t.lineHeight}}function Iu(e,t,n,s,i){return e===s||e===i?{start:t-n/2,end:t+n/2}:ei?{start:t-n,end:t}:{start:t,end:t+n}}function Nv(e){const t={l:e.left+e._padding.left,r:e.right-e._padding.right,t:e.top+e._padding.top,b:e.bottom-e._padding.bottom},n=Object.assign({},t),s=[],i=[],r=e._pointLabels.length,o=e.options.pointLabels,a=o.centerPointLabels?Rt/r:0;for(let l=0;lt.r&&(a=(s.end-t.r)/r,e.r=Math.max(e.r,t.r+a)),i.startt.b&&(l=(i.end-t.b)/o,e.b=Math.max(e.b,t.b+l))}function zv(e,t,n){const s=[],i=e._pointLabels.length,r=e.options,o=ia(r)/2,a=e.drawingArea,l=r.pointLabels.centerPointLabels?Rt/i:0;for(let c=0;c270||n<90)&&(e-=t),e}function qv(e,t){const{ctx:n,options:{pointLabels:s}}=e;for(let i=t-1;i>=0;i--){const r=s.setContext(e.getPointLabelContext(i)),o=le(r.font),{x:a,y:l,textAlign:c,left:u,top:f,right:h,bottom:d}=e._pointLabelItems[i],{backdropColor:p}=r;if(!xt(p)){const g=es(r.borderRadius),b=_e(r.backdropPadding);n.fillStyle=p;const _=u-b.left,v=f-b.top,w=h-u+b.width,M=d-f+b.height;Object.values(g).some(x=>x!==0)?(n.beginPath(),ar(n,{x:_,y:v,w,h:M,radius:g}),n.fill()):n.fillRect(_,v,w,M)}or(n,e._pointLabels[i],a,l+o.lineHeight/2,o,{color:r.color,textAlign:c,textBaseline:"middle"})}}function Cd(e,t,n,s){const{ctx:i}=e;if(n)i.arc(e.xCenter,e.yCenter,t,0,kt);else{let r=e.getPointPosition(0,t);i.moveTo(r.x,r.y);for(let o=1;o{const i=Ot(this.options.pointLabels.callback,[n,s],this);return i||i===0?i:""}).filter((n,s)=>this.chart.getDataVisibility(s))}fit(){const t=this.options;t.display&&t.pointLabels.display?Nv(this):this.setCenterPoint(0,0,0,0)}setCenterPoint(t,n,s,i){this.xCenter+=Math.floor((t-n)/2),this.yCenter+=Math.floor((s-i)/2),this.drawingArea-=Math.min(this.drawingArea/2,Math.max(t,n,s,i))}getIndexAngle(t){const n=kt/(this._pointLabels.length||1),s=this.options.startAngle||0;return ve(t*n+ke(s))}getDistanceFromCenterForValue(t){if(xt(t))return NaN;const n=this.drawingArea/(this.max-this.min);return this.options.reverse?(this.max-t)*n:(t-this.min)*n}getValueForDistanceFromCenter(t){if(xt(t))return NaN;const n=t/(this.drawingArea/(this.max-this.min));return this.options.reverse?this.max-n:this.min+n}getPointLabelContext(t){const n=this._pointLabels||[];if(t>=0&&t{if(u!==0){a=this.getDistanceFromCenterForValue(c.value);const f=i.setContext(this.getContext(u-1));Kv(this,f,a,r)}}),s.display){for(t.save(),o=r-1;o>=0;o--){const c=s.setContext(this.getPointLabelContext(o)),{color:u,lineWidth:f}=c;!f||!u||(t.lineWidth=f,t.strokeStyle=u,t.setLineDash(c.borderDash),t.lineDashOffset=c.borderDashOffset,a=this.getDistanceFromCenterForValue(n.ticks.reverse?this.min:this.max),l=this.getPointPosition(o,a),t.beginPath(),t.moveTo(this.xCenter,this.yCenter),t.lineTo(l.x,l.y),t.stroke())}t.restore()}}drawBorder(){}drawLabels(){const t=this.ctx,n=this.options,s=n.ticks;if(!s.display)return;const i=this.getIndexAngle(0);let r,o;t.save(),t.translate(this.xCenter,this.yCenter),t.rotate(i),t.textAlign="center",t.textBaseline="middle",this.ticks.forEach((a,l)=>{if(l===0&&!n.reverse)return;const c=s.setContext(this.getContext(l)),u=le(c.font);if(r=this.getDistanceFromCenterForValue(this.ticks[l].value),c.showLabelBackdrop){t.font=u.string,o=t.measureText(a.label).width,t.fillStyle=c.backdropColor;const f=_e(c.backdropPadding);t.fillRect(-o/2-f.left,-r-u.size/2-f.top,o+f.width,u.size+f.height)}or(t,a.label,0,-r,u,{color:c.color})}),t.restore()}drawTitle(){}}Vr.id="radialLinear";Vr.defaults={display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,lineWidth:1,borderDash:[],borderDashOffset:0},grid:{circular:!1},startAngle:0,ticks:{showLabelBackdrop:!0,callback:Br.formatters.numeric},pointLabels:{backdropColor:void 0,backdropPadding:2,display:!0,font:{size:10},callback(e){return e},padding:5,centerPointLabels:!1}};Vr.defaultRoutes={"angleLines.color":"borderColor","pointLabels.color":"color","ticks.color":"color"};Vr.descriptors={angleLines:{_fallback:"grid"}};const Nr={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},ee=Object.keys(Nr);function Xv(e,t){return e-t}function Fu(e,t){if(xt(t))return null;const n=e._adapter,{parser:s,round:i,isoWeekday:r}=e._parseOpts;let o=t;return typeof s=="function"&&(o=s(o)),Wt(o)||(o=typeof s=="string"?n.parse(o,s):n.parse(o)),o===null?null:(i&&(o=i==="week"&&(us(r)||r===!0)?n.startOf(o,"isoWeek",r):n.startOf(o,i)),+o)}function Bu(e,t,n,s){const i=ee.length;for(let r=ee.indexOf(e);r=ee.indexOf(n);r--){const o=ee[r];if(Nr[o].common&&e._adapter.diff(i,s,o)>=t-1)return o}return ee[n?ee.indexOf(n):0]}function Zv(e){for(let t=ee.indexOf(e)+1,n=ee.length;t=t?n[s]:n[i];e[r]=!0}}function Jv(e,t,n,s){const i=e._adapter,r=+i.startOf(t[0].value,s),o=t[t.length-1].value;let a,l;for(a=r;a<=o;a=+i.add(a,1,s))l=n[a],l>=0&&(t[l].major=!0);return t}function Vu(e,t,n){const s=[],i={},r=t.length;let o,a;for(o=0;o+t.value))}initOffsets(t){let n=0,s=0,i,r;this.options.offset&&t.length&&(i=this.getDecimalForValue(t[0]),t.length===1?n=1-i:n=(this.getDecimalForValue(t[1])-i)/2,r=this.getDecimalForValue(t[t.length-1]),t.length===1?s=r:s=(r-this.getDecimalForValue(t[t.length-2]))/2);const o=t.length<3?.5:.25;n=Xt(n,0,o),s=Xt(s,0,o),this._offsets={start:n,end:s,factor:1/(n+1+s)}}_generate(){const t=this._adapter,n=this.min,s=this.max,i=this.options,r=i.time,o=r.unit||Bu(r.minUnit,n,s,this._getLabelCapacity(n)),a=bt(r.stepSize,1),l=o==="week"?r.isoWeekday:!1,c=us(l)||l===!0,u={};let f=n,h,d;if(c&&(f=+t.startOf(f,"isoWeek",l)),f=+t.startOf(f,c?"day":o),t.diff(s,n,o)>1e5*a)throw new Error(n+" and "+s+" are too far apart with stepSize of "+a+" "+o);const p=i.ticks.source==="data"&&this.getDataTimestamps();for(h=f,d=0;hg-b).map(g=>+g)}getLabelForValue(t){const n=this._adapter,s=this.options.time;return s.tooltipFormat?n.format(t,s.tooltipFormat):n.format(t,s.displayFormats.datetime)}_tickFormatFunction(t,n,s,i){const r=this.options,o=r.time.displayFormats,a=this._unit,l=this._majorUnit,c=a&&o[a],u=l&&o[l],f=s[n],h=l&&u&&f&&f.major,d=this._adapter.format(t,i||(h?u:c)),p=r.ticks.callback;return p?Ot(p,[d,n,s],this):d}generateTickLabels(t){let n,s,i;for(n=0,s=t.length;n0?a:1}getDataTimestamps(){let t=this._cache.data||[],n,s;if(t.length)return t;const i=this.getMatchingVisibleMetas();if(this._normalized&&i.length)return this._cache.data=i[0].controller.getAllParsedValues(this);for(n=0,s=i.length;n=e[s].pos&&t<=e[i].pos&&({lo:s,hi:i}=Tn(e,"pos",t)),{pos:r,time:a}=e[s],{pos:o,time:l}=e[i]):(t>=e[s].time&&t<=e[i].time&&({lo:s,hi:i}=Tn(e,"time",t)),{time:r,pos:a}=e[s],{time:o,pos:l}=e[i]);const c=o-r;return c?a+(l-a)*(t-r)/c:a}class Ad extends $r{constructor(t){super(t),this._table=[],this._minPos=void 0,this._tableRange=void 0}initOffsets(){const t=this._getTimestampsForTable(),n=this._table=this.buildLookupTable(t);this._minPos=Pi(n,this.min),this._tableRange=Pi(n,this.max)-this._minPos,super.initOffsets(t)}buildLookupTable(t){const{min:n,max:s}=this,i=[],r=[];let o,a,l,c,u;for(o=0,a=t.length;o=n&&c<=s&&i.push(c);if(i.length<2)return[{time:n,pos:0},{time:s,pos:1}];for(o=0,a=i.length;o{s=new fr(n.value,{type:"line",data:t.data,options:{responsive:!0,maintainAspectRatio:!1,scales:{y:{display:!1},x:{display:!0}},plugins:{legend:{display:!1}}}})});const i=st(()=>t.data);return In(i,r=>{s&&(s.data=r,s.update())}),(r,o)=>(W(),ut("canvas",{ref_key:"root",ref:n},null,512))}},t2="darkMode",Ed="style",sl="xl:max-w-6xl xl:mx-auto",e2={__name:"SectionMain",setup(e){return(t,n)=>(W(),ut("section",{class:ot(["p-6",D(sl)])},[jt(t.$slots,"default")],2))}};var Pd={exports:{}};/*! @preserve + * numeral.js + * version : 2.0.6 + * author : Adam Draper + * license : MIT + * http://adamwdraper.github.com/Numeral-js/ + */(function(e){(function(t,n){e.exports?e.exports=n():t.numeral=n()})(i0,function(){var t,n,s="2.0.6",i={},r={},o={currentLocale:"en",zeroFormat:null,nullFormat:null,defaultFormat:"0,0",scalePercentBy100:!0},a={currentLocale:o.currentLocale,zeroFormat:o.zeroFormat,nullFormat:o.nullFormat,defaultFormat:o.defaultFormat,scalePercentBy100:o.scalePercentBy100};function l(c,u){this._input=c,this._value=u}return t=function(c){var u,f,h,d;if(t.isNumeral(c))u=c.value();else if(c===0||typeof c>"u")u=0;else if(c===null||n.isNaN(c))u=null;else if(typeof c=="string")if(a.zeroFormat&&c===a.zeroFormat)u=0;else if(a.nullFormat&&c===a.nullFormat||!c.replace(/[^0-9]+/g,"").length)u=null;else{for(f in i)if(d=typeof i[f].regexps.unformat=="function"?i[f].regexps.unformat():i[f].regexps.unformat,d&&c.match(d)){h=i[f].unformat;break}h=h||t._.stringToNumber,u=h(c)}else u=Number(c)||null;return new l(c,u)},t.version=s,t.isNumeral=function(c){return c instanceof l},t._=n={numberToFormat:function(c,u,f){var h=r[t.options.currentLocale],d=!1,p=!1,g=0,b="",_=1e12,v=1e9,w=1e6,M=1e3,x="",L=!1,A,S,R,B,Y,O,X;if(c=c||0,S=Math.abs(c),t._.includes(u,"(")?(d=!0,u=u.replace(/[\(|\)]/g,"")):(t._.includes(u,"+")||t._.includes(u,"-"))&&(Y=t._.includes(u,"+")?u.indexOf("+"):c<0?u.indexOf("-"):-1,u=u.replace(/[\+|\-]/g,"")),t._.includes(u,"a")&&(A=u.match(/a(k|m|b|t)?/),A=A?A[1]:!1,t._.includes(u," a")&&(b=" "),u=u.replace(new RegExp(b+"a[kmbt]?"),""),S>=_&&!A||A==="t"?(b+=h.abbreviations.trillion,c=c/_):S<_&&S>=v&&!A||A==="b"?(b+=h.abbreviations.billion,c=c/v):S=w&&!A||A==="m"?(b+=h.abbreviations.million,c=c/w):(S=M&&!A||A==="k")&&(b+=h.abbreviations.thousand,c=c/M)),t._.includes(u,"[.]")&&(p=!0,u=u.replace("[.]",".")),R=c.toString().split(".")[0],B=u.split(".")[1],O=u.indexOf(","),g=(u.split(".")[0].split(",")[0].match(/0/g)||[]).length,B?(t._.includes(B,"[")?(B=B.replace("]",""),B=B.split("["),x=t._.toFixed(c,B[0].length+B[1].length,f,B[1].length)):x=t._.toFixed(c,B.length,f),R=x.split(".")[0],t._.includes(x,".")?x=h.delimiters.decimal+x.split(".")[1]:x="",p&&Number(x.slice(1))===0&&(x="")):R=t._.toFixed(c,0,f),b&&!A&&Number(R)>=1e3&&b!==h.abbreviations.trillion)switch(R=String(Number(R)/1e3),b){case h.abbreviations.thousand:b=h.abbreviations.million;break;case h.abbreviations.million:b=h.abbreviations.billion;break;case h.abbreviations.billion:b=h.abbreviations.trillion;break}if(t._.includes(R,"-")&&(R=R.slice(1),L=!0),R.length0;nt--)R="0"+R;return O>-1&&(R=R.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1"+h.delimiters.thousands)),u.indexOf(".")===0&&(R=""),X=R+x+(b||""),d?X=(d&&L?"(":"")+X+(d&&L?")":""):Y>=0?X=Y===0?(L?"-":"+")+X:X+(L?"-":"+"):L&&(X="-"+X),X},stringToNumber:function(c){var u=r[a.currentLocale],f=c,h={thousand:3,million:6,billion:9,trillion:12},d,p,g;if(a.zeroFormat&&c===a.zeroFormat)p=0;else if(a.nullFormat&&c===a.nullFormat||!c.replace(/[^0-9]+/g,"").length)p=null;else{p=1,u.delimiters.decimal!=="."&&(c=c.replace(/\./g,"").replace(u.delimiters.decimal,"."));for(d in h)if(g=new RegExp("[^a-zA-Z]"+u.abbreviations[d]+"(?:\\)|(\\"+u.currency.symbol+")?(?:\\))?)?$"),f.match(g)){p*=Math.pow(10,h[d]);break}p*=(c.split("-").length+Math.min(c.split("(").length-1,c.split(")").length-1))%2?1:-1,c=c.replace(/[^0-9\.]+/g,""),p*=Number(c)}return p},isNaN:function(c){return typeof c=="number"&&isNaN(c)},includes:function(c,u){return c.indexOf(u)!==-1},insert:function(c,u,f){return c.slice(0,f)+u+c.slice(f)},reduce:function(c,u){if(this===null)throw new TypeError("Array.prototype.reduce called on null or undefined");if(typeof u!="function")throw new TypeError(u+" is not a function");var f=Object(c),h=f.length>>>0,d=0,p;if(arguments.length===3)p=arguments[2];else{for(;d=h)throw new TypeError("Reduce of empty array with no initial value");p=f[d++]}for(;dh?u:h},1)},toFixed:function(c,u,f,h){var d=c.toString().split("."),p=u-(h||0),g,b,_,v;return d.length===2?g=Math.min(Math.max(d[1].length,p),u):g=p,_=Math.pow(10,g),v=(f(c+"e+"+g)/_).toFixed(g),h>u-g&&(b=new RegExp("\\.?0{1,"+(h-(u-g))+"}$"),v=v.replace(b,"")),v}},t.options=a,t.formats=i,t.locales=r,t.locale=function(c){return c&&(a.currentLocale=c.toLowerCase()),a.currentLocale},t.localeData=function(c){if(!c)return r[a.currentLocale];if(c=c.toLowerCase(),!r[c])throw new Error("Unknown locale : "+c);return r[c]},t.reset=function(){for(var c in o)a[c]=o[c]},t.zeroFormat=function(c){a.zeroFormat=typeof c=="string"?c:null},t.nullFormat=function(c){a.nullFormat=typeof c=="string"?c:null},t.defaultFormat=function(c){a.defaultFormat=typeof c=="string"?c:"0.0"},t.register=function(c,u,f){if(u=u.toLowerCase(),this[c+"s"][u])throw new TypeError(u+" "+c+" already registered.");return this[c+"s"][u]=f,f},t.validate=function(c,u){var f,h,d,p,g,b,_,v;if(typeof c!="string"&&(c+="",console.warn&&console.warn("Numeral.js: Value is not string. It has been co-erced to: ",c)),c=c.trim(),c.match(/^\d+$/))return!0;if(c==="")return!1;try{_=t.localeData(u)}catch{_=t.localeData(t.locale())}return d=_.currency.symbol,g=_.abbreviations,f=_.delimiters.decimal,_.delimiters.thousands==="."?h="\\.":h=_.delimiters.thousands,v=c.match(/^[^\d]+/),v!==null&&(c=c.substr(1),v[0]!==d)||(v=c.match(/[^\d]+$/),v!==null&&(c=c.slice(0,-1),v[0]!==g.thousand&&v[0]!==g.million&&v[0]!==g.billion&&v[0]!==g.trillion))?!1:(b=new RegExp(h+"{2}"),c.match(/[^\d.,]/g)?!1:(p=c.split(f),p.length>2?!1:p.length<2?!!p[0].match(/^\d+.*\d$/)&&!p[0].match(b):p[0].length===1?!!p[0].match(/^\d+$/)&&!p[0].match(b)&&!!p[1].match(/^\d+$/):!!p[0].match(/^\d+.*\d$/)&&!p[0].match(b)&&!!p[1].match(/^\d+$/)))},t.fn=l.prototype={clone:function(){return t(this)},format:function(c,u){var f=this._value,h=c||a.defaultFormat,d,p,g;if(u=u||Math.round,f===0&&a.zeroFormat!==null)p=a.zeroFormat;else if(f===null&&a.nullFormat!==null)p=a.nullFormat;else{for(d in i)if(h.match(i[d].regexps.format)){g=i[d].format;break}g=g||t._.numberToFormat,p=g(f,h,u)}return p},value:function(){return this._value},input:function(){return this._input},set:function(c){return this._value=Number(c),this},add:function(c){var u=n.correctionFactor.call(null,this._value,c);function f(h,d,p,g){return h+Math.round(u*d)}return this._value=n.reduce([this._value,c],f,0)/u,this},subtract:function(c){var u=n.correctionFactor.call(null,this._value,c);function f(h,d,p,g){return h-Math.round(u*d)}return this._value=n.reduce([c],f,Math.round(this._value*u))/u,this},multiply:function(c){function u(f,h,d,p){var g=n.correctionFactor(f,h);return Math.round(f*g)*Math.round(h*g)/Math.round(g*g)}return this._value=n.reduce([this._value,c],u,1),this},divide:function(c){function u(f,h,d,p){var g=n.correctionFactor(f,h);return Math.round(f*g)/Math.round(h*g)}return this._value=n.reduce([this._value,c],u),this},difference:function(c){return Math.abs(t(this._value).subtract(c).value())}},t.register("locale","en",{delimiters:{thousands:",",decimal:"."},abbreviations:{thousand:"k",million:"m",billion:"b",trillion:"t"},ordinal:function(c){var u=c%10;return~~(c%100/10)===1?"th":u===1?"st":u===2?"nd":u===3?"rd":"th"},currency:{symbol:"$"}}),function(){t.register("format","bps",{regexps:{format:/(BPS)/,unformat:/(BPS)/},format:function(c,u,f){var h=t._.includes(u," BPS")?" ":"",d;return c=c*1e4,u=u.replace(/\s?BPS/,""),d=t._.numberToFormat(c,u,f),t._.includes(d,")")?(d=d.split(""),d.splice(-1,0,h+"BPS"),d=d.join("")):d=d+h+"BPS",d},unformat:function(c){return+(t._.stringToNumber(c)*1e-4).toFixed(15)}})}(),function(){var c={base:1e3,suffixes:["B","KB","MB","GB","TB","PB","EB","ZB","YB"]},u={base:1024,suffixes:["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"]},f=c.suffixes.concat(u.suffixes.filter(function(d){return c.suffixes.indexOf(d)<0})),h=f.join("|");h="("+h.replace("B","B(?!PS)")+")",t.register("format","bytes",{regexps:{format:/([0\s]i?b)/,unformat:new RegExp(h)},format:function(d,p,g){var b,_=t._.includes(p,"ib")?u:c,v=t._.includes(p," b")||t._.includes(p," ib")?" ":"",w,M,x;for(p=p.replace(/\s?i?b/,""),w=0;w<=_.suffixes.length;w++)if(M=Math.pow(_.base,w),x=Math.pow(_.base,w+1),d===null||d===0||d>=M&&d0&&(d=d/M);break}return b=t._.numberToFormat(d,p,g),b+v},unformat:function(d){var p=t._.stringToNumber(d),g,b;if(p){for(g=c.suffixes.length-1;g>=0;g--){if(t._.includes(d,c.suffixes[g])){b=Math.pow(c.base,g);break}if(t._.includes(d,u.suffixes[g])){b=Math.pow(u.base,g);break}}p*=b||1}return p}})}(),function(){t.register("format","currency",{regexps:{format:/(\$)/},format:function(c,u,f){var h=t.locales[t.options.currentLocale],d={before:u.match(/^([\+|\-|\(|\s|\$]*)/)[0],after:u.match(/([\+|\-|\)|\s|\$]*)$/)[0]},p,g,b;for(u=u.replace(/\s?\$\s?/,""),p=t._.numberToFormat(c,u,f),c>=0?(d.before=d.before.replace(/[\-\(]/,""),d.after=d.after.replace(/[\-\)]/,"")):c<0&&!t._.includes(d.before,"-")&&!t._.includes(d.before,"(")&&(d.before="-"+d.before),b=0;b=0;b--)switch(g=d.after[b],g){case"$":p=b===d.after.length-1?p+h.currency.symbol:t._.insert(p,h.currency.symbol,-(d.after.length-(1+b)));break;case" ":p=b===d.after.length-1?p+" ":t._.insert(p," ",-(d.after.length-(1+b)+h.currency.symbol.length-1));break}return p}})}(),function(){t.register("format","exponential",{regexps:{format:/(e\+|e-)/,unformat:/(e\+|e-)/},format:function(c,u,f){var h,d=typeof c=="number"&&!t._.isNaN(c)?c.toExponential():"0e+0",p=d.split("e");return u=u.replace(/e[\+|\-]{1}0/,""),h=t._.numberToFormat(Number(p[0]),u,f),h+"e"+p[1]},unformat:function(c){var u=t._.includes(c,"e+")?c.split("e+"):c.split("e-"),f=Number(u[0]),h=Number(u[1]);h=t._.includes(c,"e-")?h*=-1:h;function d(p,g,b,_){var v=t._.correctionFactor(p,g),w=p*v*(g*v)/(v*v);return w}return t._.reduce([f,Math.pow(10,h)],d,1)}})}(),function(){t.register("format","ordinal",{regexps:{format:/(o)/},format:function(c,u,f){var h=t.locales[t.options.currentLocale],d,p=t._.includes(u," o")?" ":"";return u=u.replace(/\s?o/,""),p+=h.ordinal(c),d=t._.numberToFormat(c,u,f),d+p}})}(),function(){t.register("format","percentage",{regexps:{format:/(%)/,unformat:/(%)/},format:function(c,u,f){var h=t._.includes(u," %")?" ":"",d;return t.options.scalePercentBy100&&(c=c*100),u=u.replace(/\s?\%/,""),d=t._.numberToFormat(c,u,f),t._.includes(d,")")?(d=d.split(""),d.splice(-1,0,h+"%"),d=d.join("")):d=d+h+"%",d},unformat:function(c){var u=t._.stringToNumber(c);return t.options.scalePercentBy100?u*.01:u}})}(),function(){t.register("format","time",{regexps:{format:/(:)/,unformat:/(:)/},format:function(c,u,f){var h=Math.floor(c/60/60),d=Math.floor((c-h*60*60)/60),p=Math.round(c-h*60*60-d*60);return h+":"+(d<10?"0"+d:d)+":"+(p<10?"0"+p:p)},unformat:function(c){var u=c.split(":"),f=0;return u.length===3?(f=f+Number(u[0])*60*60,f=f+Number(u[1])*60,f=f+Number(u[2])):u.length===2&&(f=f+Number(u[0])*60,f=f+Number(u[1])),Number(f)}})}(),t})})(Pd);const n2=Pd.exports,s2={__name:"NumberDynamic",props:{prefix:{type:String,default:null},suffix:{type:String,default:null},value:{type:Number,default:0},duration:{type:Number,default:500}},setup(e){const t=e,n=Jt(0),s=st(()=>n.value<1e3?n.value:n2(n.value).format("0,0")),i=st(()=>t.value),r=a=>{const l=Math.ceil(n.value+a);if(l>i.value)return n.value=i.value,!1;n.value=l,setTimeout(()=>{r(a)},25)},o=()=>{n.value=0,r(t.value/(t.duration/25))};return In(i,()=>{o()}),_s(()=>{o()}),(a,l)=>(W(),ut("div",null,Vt(e.prefix)+Vt(D(s))+Vt(e.suffix),1))}},i2={__name:"PillTagTrend",props:{trend:{type:String,required:!0},trendType:{type:String,default:null},small:Boolean},setup(e){const t=e,n=st(()=>t.trendType==="up"?{icon:ch,style:"success"}:t.trendType==="down"?{icon:lh,style:"danger"}:t.trendType==="alert"?{icon:H1,style:"warning"}:{style:"info"});return(s,i)=>(W(),_t(Rn,{label:e.trend,color:D(n).style,icon:D(n).icon,small:e.small},null,8,["label","color","icon","small"]))}},r2={class:"text-lg leading-tight text-gray-500 dark:text-slate-400"},o2={class:"text-3xl leading-tight font-semibold"},Po={__name:"CardBoxWidget",props:{number:{type:Number,default:0},icon:{type:String,default:null},prefix:{type:String,default:null},suffix:{type:String,default:null},label:{type:String,default:null},color:{type:String,default:null},trend:{type:String,default:null},trendType:{type:String,default:null}},setup(e){return(t,n)=>(W(),_t(Qi,null,{default:mt(()=>[e.trend?(W(),_t(gn,{key:0,class:"mb-3",mobile:""},{default:mt(()=>[V(i2,{trend:e.trend,"trend-type":e.trendType,small:""},null,8,["trend","trend-type"])]),_:1})):Ft("",!0),V(gn,{mobile:""},{default:mt(()=>[j("div",null,[j("h3",r2,Vt(e.label),1),j("h1",o2,[V(s2,{value:e.number,prefix:e.prefix,suffix:e.suffix},null,8,["value","prefix","suffix"])])]),e.icon?(W(),_t(ie,{key:0,path:e.icon,size:"48",w:"",h:"h-16",class:ot(e.color)},null,8,["path","class"])):Ft("",!0)]),_:1})]),_:1}))}},zr={__name:"BaseButton",props:{label:{type:[String,Number],default:null},icon:{type:String,default:null},iconSize:{type:[String,Number],default:null},href:{type:String,default:null},target:{type:String,default:null},to:{type:[String,Object],default:null},type:{type:String,default:null},color:{type:String,default:"white"},as:{type:String,default:null},small:{type:Boolean,default:!0},outline:{type:Boolean,default:!0},active:Boolean,disabled:Boolean,roundedFull:{type:Boolean,default:!0}},setup(e){const t=e,n=st(()=>t.as?t.as:t.to?Or:t.href?"a":"button"),s=st(()=>{var o;return n.value==="button"?(o=t.type)!=null?o:"button":null}),i=st(()=>t.small&&t.icon?"px-1":"px-2"),r=st(()=>{const o=["inline-flex","justify-center","items-center","whitespace-nowrap","focus:outline-none","transition-colors","focus:ring","duration-150","border",t.disabled?"cursor-not-allowed":"cursor-pointer",t.roundedFull?"rounded-full":"rounded",Th(t.color,t.outline,!t.disabled,t.active)];return!t.label&&t.icon?o.push("p-1"):t.small?o.push("text-sm",t.roundedFull?"px-3 py-1":"p-1"):o.push("py-2",t.roundedFull?"px-6":"px-3"),t.disabled&&o.push(t.outline?"opacity-50":"opacity-70"),o});return(o,a)=>(W(),_t(Mr(D(n)),{class:ot(D(r)),href:e.href,type:D(s),to:e.to,target:e.target,disabled:e.disabled},{default:mt(()=>[e.icon?(W(),_t(ie,{key:0,path:e.icon,size:e.iconSize},null,8,["path","size"])):Ft("",!0),e.label?(W(),ut("span",{key:1,class:ot(D(i))},Vt(e.label),3)):Ft("",!0)]),_:1},8,["class","href","type","to","target","disabled"]))}},a2=["src"],l2={__name:"GameIcon",props:{path:{type:String,required:!0},w:{type:String,default:"w-16"},h:{type:String,default:"h-16"}},setup(e){const t=e,n=st(()=>`inline-flex justify-center items-center ${t.w} ${t.h}`);return(s,i)=>(W(),ut("span",{class:ot(D(n))},[j("img",{src:e.path,class:ot(["rounded-full",e.w+" "+e.h])},null,10,a2),jt(s.$slots,"default")],2))}},c2={class:"relative w-full h-full bg-white dark:bg-slate-900/70 rounded-2xl"},u2={class:"text-center space-y-1 md:text-left md:mr-6"},f2={class:"md:flex md:items-center mb-4 md:mb-0 md:space-x-2"},h2={class:"text-xl"},d2={class:"text-lg"},p2={class:"text-center md:text-right"},g2={class:"text-sm text-gray-400"},Oi={__name:"CardBoxGameStat",props:{game:{type:String,required:!0},value:{type:[String,Number],required:!0},profileName:{type:String,required:!0},type:{type:String,required:!0}},setup(e){const t=e,n=st(()=>t.type==="plays"?{type:"success"}:t.type==="scores"?{type:"danger"}:t.type==="ranking"?{type:"warning"}:{type:"info"}),s=Eb(t.game),i=` + background-image: linear-gradient(to left, transparent, rgba(0, 0, 0, 1)), + url('${s.cardBG}'); + background-size: cover; + background-repeat: no-repeat; +`;return(r,o)=>(W(),ut("div",{class:"flex rounded-2xl",style:i},[j("div",c2,[V(Lh,null,{default:mt(()=>[V(gn,null,{default:mt(()=>[V(gn,{type:"justify-start"},{default:mt(()=>[V(l2,{class:"md:mr-6",path:D(s).icon},null,8,["path"]),j("div",u2,[j("div",f2,[j("h2",h2,Vt(D(s).name),1),V(Rn,{color:D(n).type,label:e.type,small:""},null,8,["color","label"])]),j("h4",d2,Vt(e.value),1)])]),_:1}),j("div",p2,[j("p",g2,Vt(e.profileName),1)])]),_:1})]),_:1})])]))}},m2=[{to:"/",icon:J1,label:"Dashboard"},{to:"/news",icon:Q1,label:"News"},{label:"Arcades",icon:X1,menu:[{label:"Test Arcade",to:"/arcade/0"}]}],b2=[{isCurrentUser:!0,menu:[{icon:I1,label:"Settings",to:"/profile"},{icon:N1,label:"Customizations",to:"/profile/customize"},{icon:s0,label:"Integrations",to:"/profile/integrate"}]},{icon:U1,label:"Edit Dashboard"},{icon:uh,label:"Log out",isLogout:!0}],_2={aside:"bg-gray-800",asideScrollbars:"aside-scrollbars-gray",asideBrand:"bg-gray-900 text-white",asideMenuItem:"text-gray-300 hover:text-white",asideMenuItemActive:"font-bold text-white",asideMenuDropdown:"bg-gray-700/50",navBarItemLabel:"text-black",navBarItemLabelHover:"hover:text-blue-500",navBarItemLabelActiveColor:"text-blue-600",overlay:"from-gray-700 via-gray-900 to-gray-700"},y2={aside:"bg-white",asideScrollbars:"aside-scrollbars-light",asideBrand:"",asideMenuItem:"text-blue-600 hover:text-black dark:text-white",asideMenuItemActive:"font-bold text-black dark:text-white",asideMenuDropdown:"bg-gray-100/75",navBarItemLabel:"text-blue-600",navBarItemLabelHover:"hover:text-black",navBarItemLabelActiveColor:"text-black",overlay:"from-white via-gray-100 to-white"},Nu=Object.freeze(Object.defineProperty({__proto__:null,basic:_2,white:y2},Symbol.toStringTag,{value:"Module"})),jn=Gf("style",{state:()=>({asideStyle:"",asideScrollbarsStyle:"",asideBrandStyle:"",asideMenuItemStyle:"",asideMenuItemActiveStyle:"",asideMenuDropdownStyle:"",navBarItemLabelStyle:"",navBarItemLabelHoverStyle:"",navBarItemLabelActiveColorStyle:"",overlayStyle:"",darkMode:!1}),actions:{setStyle(e){if(!Nu[e])return;typeof localStorage<"u"&&localStorage.setItem(Ed,e);const t=Nu[e];for(const n in t)this[`${n}Style`]=t[n]},setDarkMode(e=null){this.darkMode=e!==null?e:!this.darkMode,typeof localStorage<"u"&&localStorage.setItem(t2,this.darkMode?"1":"0"),typeof document<"u"&&(document.body.classList[this.darkMode?"add":"remove"]("dark-scrollbars"),document.documentElement.classList[this.darkMode?"add":"remove"]("dark-scrollbars-compat"))}}}),x2={__name:"BaseDivider",props:{navBar:Boolean},setup(e){const t=e;return(n,s)=>(W(),ut("hr",{class:ot([t.navBar?"hidden lg:block lg:my-0.5 dark:border-slate-700":"my-6 -mx-6 dark:border-slate-800","border-t border-gray-100"])},null,2))}},v2={__name:"NavBarItem",props:{item:{type:Object,required:!0}},emits:["menu-click"],setup(e,{emit:t}){const n=e,s=st(()=>n.item.href?"a":n.item.to?Or:"div"),i=jn(),r=st(()=>{const h=[a.value?`${i.navBarItemLabelActiveColorStyle} dark:text-slate-400`:`${i.navBarItemLabelStyle} dark:text-white dark:hover:text-slate-400 ${i.navBarItemLabelHoverStyle}`,n.item.menu?"lg:py-2 lg:px-3":"py-2 px-3"];return n.item.isDesktopNoLabel&&h.push("lg:w-16","lg:justify-center"),h}),o=st(()=>n.item.isCurrentUser?xs().userName:n.item.label),a=Jt(!1),l=h=>{t("menu-click",h,n.item),n.item.menu&&(a.value=!a.value)},c=(h,d)=>{t("menu-click",h,d)},u=Jt(null),f=h=>{u.value&&!u.value.contains(h.target)&&(a.value=!1)};return _s(()=>{n.item.menu&&window.addEventListener("click",f)}),xa(()=>{n.item.menu&&window.removeEventListener("click",f)}),(h,d)=>{var p,g,b;return e.item.isDivider?(W(),_t(x2,{key:0,"nav-bar":""})):(W(),_t(Mr(D(s)),{key:1,ref_key:"root",ref:u,class:ot(["block lg:flex items-center relative cursor-pointer",D(r)]),to:(p=e.item.to)!=null?p:null,href:(g=e.item.href)!=null?g:null,target:(b=e.item.target)!=null?b:null,onClick:l},{default:mt(()=>[j("div",{class:ot(["flex items-center",{"bg-gray-100 dark:bg-slate-800 lg:bg-transparent lg:dark:bg-transparent p-3 lg:p-0":e.item.menu}])},[e.item.isCurrentUser?(W(),_t(Oh,{key:0,class:"w-6 h-6 mr-3 inline-flex"})):Ft("",!0),e.item.icon?(W(),_t(ie,{key:1,path:e.item.icon,class:"transition-colors"},null,8,["path"])):Ft("",!0),j("span",{class:ot(["px-2 transition-colors",{"lg:hidden":e.item.isDesktopNoLabel&&e.item.icon}])},Vt(D(o)),3),e.item.menu?(W(),_t(ie,{key:2,path:a.value?D(ch):D(lh),class:"hidden lg:inline-flex transition-colors"},null,8,["path"])):Ft("",!0)],2),e.item.menu?(W(),ut("div",{key:0,class:ot(["text-sm border-b border-gray-100 lg:border lg:bg-white lg:absolute lg:top-full lg:left-0 lg:min-w-full lg:z-20 lg:rounded-lg lg:shadow-lg lg:dark:bg-slate-800 dark:border-slate-700",{"lg:hidden":!a.value}])},[V(Od,{menu:e.item.menu,onMenuClick:c},null,8,["menu"])],2)):Ft("",!0)]),_:1},8,["class","to","href","target"]))}}},Od={__name:"NavBarMenuList",props:{menu:{type:Array,default:()=>[]}},emits:["menu-click"],setup(e,{emit:t}){const n=(s,i)=>{t("menu-click",s,i)};return(s,i)=>(W(!0),ut(Nt,null,qi(e.menu,(r,o)=>(W(),_t(v2,{key:o,item:r,onMenuClick:n},null,8,["item"]))),128))}},Ni={__name:"NavBarItemPlain",props:{display:{type:String,default:"flex"},useMargin:Boolean},setup(e){const t=jn();return(n,s)=>(W(),ut("div",{class:ot([[e.display,D(t).navBarItemLabelStyle,D(t).navBarItemLabelHoverStyle,e.useMargin?"my-2 mx-3":"py-2 px-3"],"items-center cursor-pointer dark:text-white dark:hover:text-slate-400"])},[jt(n.$slots,"default")],2))}},w2={class:"top-0 inset-x-0 fixed bg-gray-50 h-14 z-30 transition-position w-screen lg:w-auto dark:bg-slate-800"},M2={class:"flex flex-1 items-stretch h-14"},k2={class:"flex-none items-stretch flex h-14 lg:hidden"},S2={__name:"NavBar",props:{menu:{type:Array,required:!0}},emits:["menu-click"],setup(e,{emit:t}){const n=(i,r)=>{t("menu-click",i,r)},s=Jt(!1);return(i,r)=>(W(),ut("nav",w2,[j("div",{class:ot(["flex lg:items-stretch",D(sl)])},[j("div",M2,[jt(i.$slots,"default")]),j("div",k2,[V(Ni,{onClick:r[0]||(r[0]=Gi(o=>s.value=!s.value,["prevent"]))},{default:mt(()=>[V(ie,{path:s.value?D(Ea):D(q1),size:"24"},null,8,["path"])]),_:1})]),j("div",{class:ot(["max-h-screen-menu overflow-y-auto lg:overflow-visible absolute w-screen top-14 left-0 bg-gray-50 shadow-lg lg:w-auto lg:flex lg:static lg:shadow-none dark:bg-slate-800",[s.value?"block":"hidden"]])},[V(Od,{menu:e.menu,onMenuClick:n},null,8,["menu"])],2)],2)]))}},C2="/favicon.png",Ld={__name:"AsideMenuItem",props:{item:{type:Object,required:!0},isDropdownList:Boolean},emits:["menu-click"],setup(e,{emit:t}){const n=e,s=jn(),i=st(()=>n.item&&n.item.color),r=st(()=>i.value?"":s.asideMenuItemActiveStyle),o=Jt(!1),a=st(()=>[n.isDropdownList?"py-3 px-6 text-sm":"py-3",i.value?Th(n.item.color,!1,!0):`${s.asideMenuItemStyle} dark:text-slate-300 dark:hover:text-white`]),l=st(()=>!!n.item.menu),c=u=>{t("menu-click",u,n.item),l.value&&(o.value=!o.value)};return(u,f)=>{var h,d,p;return W(),ut("li",null,[(W(),_t(Mr(e.item.to?D(Or):"a"),{to:(h=e.item.to)!=null?h:null,href:(d=e.item.href)!=null?d:null,target:(p=e.item.target)!=null?p:null,class:ot(["flex cursor-pointer",D(a)]),onClick:c},{default:mt(g=>[e.item.icon?(W(),_t(ie,{key:0,path:e.item.icon,class:ot(["flex-none",[g&&g.isExactActive?D(r):""]]),w:"w-16",size:18},null,8,["path","class"])):Ft("",!0),j("span",{class:ot(["grow text-ellipsis line-clamp-1",[{"pr-12":!D(l)},g&&g.isExactActive?D(r):""]])},Vt(e.item.label),3),D(l)?(W(),_t(ie,{key:1,path:o.value?D(Z1):D(t0),class:ot(["flex-none",[g&&g.isExactActive?D(r):""]]),w:"w-12"},null,8,["path","class"])):Ft("",!0)]),_:1},8,["to","href","target","class"])),D(l)?(W(),_t(Rd,{key:0,menu:e.item.menu,class:ot([D(s).asideMenuDropdownStyle,o.value?"block dark:bg-slate-800/50":"hidden"]),"is-dropdown-list":""},null,8,["menu","class"])):Ft("",!0)])}}},Rd={__name:"AsideMenuList",props:{isDropdownList:Boolean,menu:{type:Array,required:!0}},emits:["menu-click"],setup(e,{emit:t}){const n=(s,i)=>{t("menu-click",s,i)};return(s,i)=>(W(),ut("ul",null,[(W(!0),ut(Nt,null,qi(e.menu,(r,o)=>(W(),_t(Ld,{key:o,item:r,"is-dropdown-list":e.isDropdownList,onMenuClick:n},null,8,["item","is-dropdown-list"]))),128))]))}},A2={id:"aside",class:"lg:py-2 lg:pl-2 w-60 fixed flex z-40 top-0 h-screen transition-position overflow-hidden"},E2={class:"dark:bg-slate-900"},P2=Og('

PhaseII eAmusement Network


',2),O2=["onClick"],L2={class:"invisible lg:visible"},R2={__name:"AsideMenuLayer",props:{menu:{type:Array,required:!0}},emits:["menu-click","aside-lg-close-click"],setup(e,{emit:t}){const n=jn(),s=st(()=>({label:"Log out",icon:uh,color:"info",isLogout:!0})),i=(o,a)=>{t("menu-click",o,a)},r=o=>{t("aside-lg-close-click",o)};return(o,a)=>(W(),ut("aside",A2,[j("div",{class:ot([D(n).asideStyle,"lg:rounded-2xl flex-1 flex flex-col overflow-hidden dark:bg-slate-900"])},[j("div",E2,[P2,j("button",{class:"hidden lg:inline-block xl:hidden p-3",onClick:Gi(r,["prevent"])},[V(ie,{path:D(Ea)},null,8,["path"])],8,O2)]),j("div",{class:ot([D(n).darkMode?"aside-scrollbars-[slate]":D(n).asideScrollbarsStyle,"flex-1 overflow-y-auto overflow-x-hidden"])},[V(Rd,{menu:e.menu,onMenuClick:i},null,8,["menu"])],2),j("ul",L2,[V(Ld,{item:D(s),onMenuClick:i},null,8,["item"])])],2)]))}},T2={__name:"OverlayLayer",props:{zIndex:{type:String,default:"z-50"},type:{type:String,default:"flex"}},emits:["overlay-click"],setup(e,{emit:t}){const n=i=>{t("overlay-click",i)},s=jn();return(i,r)=>(W(),ut("div",{class:ot([[e.type,e.zIndex],"items-center flex-col justify-center overflow-hidden fixed inset-0"])},[V(Xi,{"enter-active-class":"transition duration-150 ease-in","enter-from-class":"opacity-0","enter-to-class":"opacity-100","leave-active-class":"transition duration-150 ease-in","leave-from-class":"opacity-100","leave-to-class":"opacity-0"},{default:mt(()=>[j("div",{class:ot(["absolute inset-0 bg-gradient-to-tr opacity-90 dark:from-gray-700 dark:via-gray-900 dark:to-gray-700",D(s).overlayStyle]),onClick:n},null,2)]),_:1}),V(Xi,{"enter-active-class":"transition duration-100 ease-out","enter-from-class":"transform scale-95 opacity-0","enter-to-class":"transform scale-100 opacity-100","leave-active-class":"animate-fade-out"},{default:mt(()=>[jt(i.$slots,"default")]),_:3})],2))}},D2={__name:"AsideMenu",props:{menu:{type:Array,required:!0},isAsideMobileExpanded:Boolean,isAsideLgActive:Boolean},emits:["menu-click","aside-lg-close-click"],setup(e,{emit:t}){const n=(i,r)=>{t("menu-click",i,r)},s=i=>{t("aside-lg-close-click",i)};return(i,r)=>(W(),ut(Nt,null,[V(R2,{menu:e.menu,class:ot([e.isAsideMobileExpanded?"left-0":"-left-60 lg:left-0",{"lg:hidden xl:flex":!e.isAsideLgActive}]),onMenuClick:n,onAsideLgCloseClick:s},null,8,["menu","class"]),lg(V(T2,{"z-index":"z-30",onOverlayClick:s},null,512),[[_m,e.isAsideLgActive]])],64))}},I2=j("div",{class:"text-center md:text-left"},[j("p",null,[Vn(" Made with \u2764\uFE0F by the PhaseII Team. Based on JustBoil's "),j("a",{class:"text-blue-400 hover:text-blue-600",href:"https://github.com/justboil/admin-one-vue-tailwind"},"Admin One"),Vn(". ")])],-1),F2={class:"md:py-2"},B2={__name:"FooterBar",setup(e){return(t,n)=>(W(),ut("footer",{class:ot(["py-2 px-6",D(sl)])},[V(gn,null,{default:mt(()=>[I2,j("div",F2,[V(zr,{color:"info",href:"https://paypal.me/trmazi",label:"Donate",icon:D($1),"icon-size":"24"},null,8,["icon"])])]),_:1})],2))}},H2={__name:"LayoutAuthenticated",setup(e){xs().setUser({name:"Trmazi",email:"sex@sex.com",avatar:"https://cdn.discordapp.com/avatars/372530806628941824/a2d1b66d0e2100a571305b8281c26f8b"});const t="xl:pl-60",n=jn(),s=L1(),i=Jt(!1),r=Jt(!1);s.beforeEach(()=>{i.value=!1,r.value=!1});const o=(a,l)=>{l.isLogout};return(a,l)=>(W(),ut("div",{class:ot({dark:D(n).darkMode,"overflow-hidden lg:overflow-visible":i.value})},[j("div",{class:ot([[t,{"ml-60 lg:ml-0":i.value}],"pt-14 min-h-screen w-screen transition-position lg:w-auto bg-gray-50 dark:bg-slate-800 dark:text-slate-100"])},[V(S2,{menu:D(b2),class:ot([t,{"ml-60 lg:ml-0":i.value}]),onMenuClick:o},{default:mt(()=>[V(Ni,{display:"flex lg:hidden",onClick:l[0]||(l[0]=Gi(c=>i.value=!i.value,["prevent"]))},{default:mt(()=>[V(ie,{path:i.value?D(V1):D(K1),size:"24"},null,8,["path"])]),_:1}),V(Ni,{display:"hidden lg:flex xl:hidden",onClick:l[1]||(l[1]=Gi(c=>r.value=!0,["prevent"]))},{default:mt(()=>[V(ie,{path:D(G1),size:"24"},null,8,["path"])]),_:1}),V(Ni,{"use-margin":""})]),_:1},8,["menu","class"]),V(D2,{"is-aside-mobile-expanded":i.value,"is-aside-lg-active":r.value,menu:D(m2),onMenuClick:o,onAsideLgCloseClick:l[2]||(l[2]=c=>r.value=!1)},null,8,["is-aside-mobile-expanded","is-aside-lg-active","menu"]),jt(a.$slots,"default"),V(B2)],2)],2))}},V2={__name:"IconRounded",props:{icon:{type:String,required:!0},color:{type:String,default:null},w:{type:String,default:"w-12"},h:{type:String,default:"h-12"},bg:Boolean},setup(e){return(t,n)=>(W(),_t(ie,{path:e.icon,w:e.w,h:e.h,size:"24",class:ot(["rounded-full",e.bg?D(Ba)[e.color]:[D(en)[e.color],"bg-gray-50 dark:bg-slate-800"]])},null,8,["path","w","h","class"]))}},N2={class:"flex items-center justify-start"},Li={__name:"SectionTitleLine",props:{icon:{type:String,default:null},title:{type:String,required:!0},main:Boolean},setup(e){const t=st(()=>Sa().default);return(n,s)=>(W(),ut("section",{class:ot([{"pt-6":!e.main},"mb-6 flex items-center justify-between"])},[j("div",N2,[e.icon&&e.main?(W(),_t(V2,{key:0,icon:e.icon,color:"light",class:"mr-3",bg:""},null,8,["icon"])):e.icon?(W(),_t(ie,{key:1,path:e.icon,class:"mr-2",size:"20"},null,8,["path"])):Ft("",!0),j("h1",{class:ot([e.main?"text-3xl":"text-2xl","leading-tight"])},Vt(e.title),3)]),D(t)?jt(n.$slots,"default",{key:0}):Ft("",!0)],2))}},$2=xr({name:"BaseButtons",props:{noWrap:Boolean,type:{type:String,default:"justify-start"},classAddon:{type:String,default:"mr-3 last:mr-0 mb-3"},mb:{type:String,default:"-mb-3"}},render(){const e=this.$slots&&this.$slots.default,t=["flex","items-center",this.type,this.noWrap?"flex-nowrap":"flex-wrap"];return this.mb&&t.push(this.mb),We("div",{class:t},e?this.$slots.default().map(n=>n&&n.children&&typeof n.children=="object"?We(n,{},n.children.map(s=>We(s,{class:[this.classAddon]}))):We(n,{class:[this.classAddon]})):null)}}),z2=j("thead",null,[j("tr",null,[j("th"),j("th",null,"User"),j("th",null,"Profile"),j("th",null,"Game"),j("th",null,"Type")])],-1),j2=j("td",{"data-label":"User"},"Trmazi",-1),W2=j("td",{"data-label":"Profile"},"TRMAZI",-1),U2=j("td",{"data-label":"Game"},"SOUND VOLTEX",-1),q2=j("td",{"data-label":"Type",class:"lg:w-32"},"You Rival",-1),K2={class:"p-3 lg:px-6 border-t border-gray-100 dark:border-slate-800"},Y2={__name:"TableRivalsFull",setup(e){const t=xs(),n=st(()=>t.clients),s=Jt(5),i=Jt(0),r=st(()=>n.value.slice(s.value*i.value,s.value*(i.value+1))),o=st(()=>Math.ceil(n.value.length/s.value)),a=st(()=>i.value+1),l=st(()=>{const u=[];for(let f=0;f(W(),ut(Nt,null,[j("table",null,[z2,j("tbody",null,[(W(!0),ut(Nt,null,qi(D(r),h=>(W(),ut("tr",{key:h.id},[j("td",{class:"border-b-0 lg:w-6 before:hidden",style:si(c("pride"))},[V(Ph,{username:"",class:"w-24 h-24 mx-auto lg:w-6 lg:h-6"})],4),j2,W2,U2,q2]))),128))])]),j("div",K2,[V(gn,null,{default:mt(()=>[V($2,null,{default:mt(()=>[(W(!0),ut(Nt,null,qi(D(l),h=>(W(),_t(zr,{key:h,active:h===i.value,label:h+1,color:h===i.value?"lightDark":"whiteDark",small:"",onClick:d=>i.value=h},null,8,["active","label","color","onClick"]))),128))]),_:1}),j("small",null,"Page "+Vt(D(a))+" of "+Vt(D(o)),1)]),_:1})])],64))}},X2={class:"flex flex-col md:flex-row items-center"},G2={class:"text-center md:text-left md:py-2"},Z2={__name:"NotificationBar",props:{icon:{type:String,default:null},outline:{type:Boolean,default:!0},color:{type:String,required:!0}},setup(e){const t=e,n=st(()=>t.outline?Rh[t.color]:Ba[t.color]),s=Jt(!1),i=()=>{s.value=!0},r=Sa(),o=st(()=>r.right);return(a,l)=>s.value?Ft("",!0):(W(),ut("div",{key:0,class:ot([D(n),"px-3 py-3 md:py-3 last:mb-0 border rounded-lg transition-colors duration-150"])},[V(gn,null,{default:mt(()=>[j("div",X2,[e.icon?(W(),_t(ie,{key:0,path:e.icon,w:"w-10 md:w-5",h:"h-10 md:h-5",size:"24",class:"md:mr-2"},null,8,["path"])):Ft("",!0),j("span",G2,[jt(a.$slots,"default")])]),D(o)?jt(a.$slots,"right",{key:0}):(W(),_t(zr,{key:1,icon:D(Ea),small:"","rounded-full":"",color:"white",onClick:i},null,8,["icon"]))]),_:3})],2))}},J2=j("h2",{class:"pb-4 text-4xl lg:text-5xl"},[Vn("Welcome to "),j("samp",null,"PhaseII")],-1),Q2={class:"my-4"},tw=j("a",{href:"#/news",class:"text-blue-300 hover:underline"},"View now",-1),ew={class:"grid grid-cols-1 gap-6 lg:grid-cols-3 mb-6"},nw={class:"grid grid-flow-row auto-rows-auto grid-cols-1 md:grid-cols-2 gap-5 mb-5"},sw={key:0},iw={__name:"HomeView",setup(e){const t=Jt(null),n=()=>{t.value=Nb()};return _s(()=>{n()}),(s,i)=>(W(),_t(H2,null,{default:mt(()=>[V(e2,null,{default:mt(()=>[J2,V(Bb,{class:"mb-6"}),j("div",Q2,[V(Z2,{color:"info"},{right:mt(()=>[tw]),default:mt(()=>[Vn(" You have unread news! ")]),_:1})]),V(Li,{icon:D(j1),title:"Quick Stats",main:""},null,8,["icon"]),j("div",ew,[V(Po,{trend:"12% (from last week)","trend-type":"up",number:37,label:"Scores (This week)"}),V(Po,{trend:"12%","trend-type":"down",number:770,prefix:"\xA2",label:"PhaseCoin"}),V(Po,{trend:"None Completed","trend-type":"alert",number:2,label:"Active Goals"})]),V(Li,{icon:D(Y1),title:"Game Stats",main:""},null,8,["icon"]),j("div",nw,[V(Oi,{game:D(q).DDR,value:"#10 out of 132","profile-name":"DJ. TRMAZI",type:"ranking"},null,8,["game"]),V(Oi,{game:D(q).POPN_MUSIC,value:300,"profile-name":"TRMAZI",type:"plays"},null,8,["game"]),V(Oi,{game:D(q).JUBEAT,value:392,"profile-name":"TRMAZI",type:"scores"},null,8,["game"]),V(Oi,{game:D(q).SDVX,value:"#15 out of 200","profile-name":"TRMAZI",type:"ranking"},null,8,["game"])]),V(Li,{icon:D(z1),title:"Play Trends",main:""},{default:mt(()=>[V(zr,{icon:D(e0),color:"whiteDark",onClick:n},null,8,["icon"])]),_:1},8,["icon"]),V(Qi,{class:"mb-6"},{default:mt(()=>[V(Rn,{label:"Scores (7-Day Period)",color:"info",icon:D(fh)},null,8,["icon"]),t.value?(W(),ut("div",sw,[V(Qv,{data:t.value,class:"h-96"},null,8,["data"])])):Ft("",!0)]),_:1}),V(Li,{icon:D(F1),title:"Rivals",main:""},null,8,["icon"]),V(Qi,{"has-table":""},{default:mt(()=>[V(Y2)]),_:1})]),_:1})]),_:1}))}},rw=[{meta:{title:"Dashboard"},path:"/",name:"dashboard",component:iw},{meta:{title:"News"},path:"/news",name:"news",component:()=>Oe(()=>import("./NewsView.af98ac12.js"),["assets/NewsView.af98ac12.js","assets/CardBoxComponentEmpty.5937e322.js","assets/news.b9c16f1f.js"])},{meta:{title:"News Post"},path:"/news/:id",name:"news_post",component:()=>Oe(()=>import("./PostView.298dd7fb.js"),["assets/PostView.298dd7fb.js","assets/news.b9c16f1f.js"])},{meta:{title:"Login"},path:"/auth/login",name:"login",component:()=>Oe(()=>import("./LoginView.cdf3947f.js"),["assets/LoginView.cdf3947f.js","assets/FormCheckRadio.1a632d14.js","assets/FormField.8600c9db.js","assets/FormControl.f773f283.js","assets/LayoutGuest.d4bdb44a.js"])},{meta:{title:"Register"},path:"/auth/register",name:"register",component:()=>Oe(()=>import("./RegisterView.8367959e.js"),["assets/RegisterView.8367959e.js","assets/FormCheckRadio.1a632d14.js","assets/FormField.8600c9db.js","assets/FormControl.f773f283.js","assets/LayoutGuest.d4bdb44a.js"])},{meta:{title:"Reset Password"},path:"/auth/reset",name:"reset_pass",component:()=>Oe(()=>import("./ResetView.954d9e3d.js"),["assets/ResetView.954d9e3d.js","assets/FormField.8600c9db.js","assets/FormControl.f773f283.js","assets/LayoutGuest.d4bdb44a.js"])},{meta:{title:"Profile"},path:"/profile",name:"profile",component:()=>Oe(()=>import("./ProfileView.21ce573f.js"),["assets/ProfileView.21ce573f.js","assets/FormField.8600c9db.js","assets/FormCheckRadio.1a632d14.js","assets/FormControl.f773f283.js"])},{meta:{title:"Customizations"},path:"/profile/customize",name:"profile_customizations",component:()=>Oe(()=>import("./CustomizeView.46b0ced4.js"),["assets/CustomizeView.46b0ced4.js","assets/FormControl.f773f283.js"])},{meta:{title:"Integrations"},path:"/profile/integrate",name:"profile_integrations",component:()=>Oe(()=>import("./IntegrationView.5d51c91c.js"),[])},{meta:{title:"View Profile"},path:"/profiles/:id",name:"profile_viewer",component:()=>Oe(()=>import("./PublicView.7870d4c7.js"),[])},{meta:{title:"Test Arcade"},path:"/arcade/:id",name:"arcade",component:()=>Oe(()=>import("./ArcadeView.2528a0f9.js"),["assets/ArcadeView.2528a0f9.js","assets/CardBoxComponentEmpty.5937e322.js"])}],Td=P1({history:Km(),routes:rw,scrollBehavior(e,t,n){return n||{top:0}}});const il=km();vm(R1).use(Td).use(il).mount("#app");const Dd=xs(il),Id=jn(il);Dd.fetch("clients");Dd.fetch("history");var zu;Id.setStyle((zu=localStorage[Ed])!=null?zu:"basic");Id.setDarkMode(window.matchMedia("(prefers-color-scheme: dark)").matches);const $u="PhaseII eAmusement Network";Td.afterEach(e=>{var t;document.title=(t=e.meta)!=null&&t.title?`${e.meta.title} \u2014 ${$u}`:$u});export{bw as $,lg as A,aw as B,It as C,ot as D,Sa as E,Nt as F,jt as G,ie as H,xs as I,Jt as J,_s as K,xa as L,pm as M,zl as N,jn as O,Bb as P,Gi as Q,Rn as R,x2 as S,Xi as T,gw as U,dw as V,fw as W,Vn as X,s0 as Y,mw as Z,Qi as _,V as a,yw as a0,Oi as a1,uw as a2,cw as a3,Y1 as a4,q as a5,gn as a6,fh as a7,_w as a8,pw as a9,j as b,ut as c,_t as d,H2 as e,Li as f,D as g,Ft as h,e2 as i,bb as j,lw as k,$2 as l,Q1 as m,si as n,W as o,zr as p,V1 as q,qi as r,bs as s,Vt as t,L1 as u,C2 as v,mt as w,I1 as x,hw as y,st as z}; diff --git a/assets/index.b5433f58.css b/assets/index.b5433f58.css new file mode 100644 index 0000000..b4b21ba --- /dev/null +++ b/assets/index.b5433f58.css @@ -0,0 +1 @@ +*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family: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";font-feature-settings:normal;font-variation-settings:normal}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-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-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}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}[type=text],[type=email],[type=url],[type=password],[type=number],[type=date],[type=datetime-local],[type=month],[type=search],[type=tel],[type=time],[type=week],[multiple],textarea,select{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#fff;border-color:#6b7280;border-width:1px;border-radius:0;padding:.5rem .75rem;font-size:1rem;line-height:1.5rem;--tw-shadow: 0 0 #0000}[type=text]:focus,[type=email]:focus,[type=url]:focus,[type=password]:focus,[type=number]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=month]:focus,[type=search]:focus,[type=tel]:focus,[type=time]:focus,[type=week]:focus,[multiple]:focus,textarea:focus,select:focus{outline:2px solid transparent;outline-offset:2px;--tw-ring-inset: var(--tw-empty, );--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: #2563eb;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);border-color:#2563eb}input::-moz-placeholder,textarea::-moz-placeholder{color:#6b7280;opacity:1}input::placeholder,textarea::placeholder{color:#6b7280;opacity:1}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em}::-webkit-datetime-edit,::-webkit-datetime-edit-year-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-meridiem-field{padding-top:0;padding-bottom:0}select{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;-webkit-print-color-adjust:exact;print-color-adjust:exact}[multiple]{background-image:initial;background-position:initial;background-repeat:unset;background-size:initial;padding-right:.75rem;-webkit-print-color-adjust:unset;print-color-adjust:unset}[type=checkbox],[type=radio]{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0;-webkit-print-color-adjust:exact;print-color-adjust:exact;display:inline-block;vertical-align:middle;background-origin:border-box;-webkit-user-select:none;-moz-user-select:none;user-select:none;flex-shrink:0;height:1rem;width:1rem;color:#2563eb;background-color:#fff;border-color:#6b7280;border-width:1px;--tw-shadow: 0 0 #0000}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{outline:2px solid transparent;outline-offset:2px;--tw-ring-inset: var(--tw-empty, );--tw-ring-offset-width: 2px;--tw-ring-offset-color: #fff;--tw-ring-color: #2563eb;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}[type=checkbox]:checked,[type=radio]:checked{border-color:transparent;background-color:currentColor;background-size:100% 100%;background-position:center;background-repeat:no-repeat}[type=checkbox]:checked{background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e")}[type=radio]:checked{background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e")}[type=checkbox]:checked:hover,[type=checkbox]:checked:focus,[type=radio]:checked:hover,[type=radio]:checked:focus{border-color:transparent;background-color:currentColor}[type=checkbox]:indeterminate{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3e%3cpath stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3e%3c/svg%3e");border-color:transparent;background-color:currentColor;background-size:100% 100%;background-position:center;background-repeat:no-repeat}[type=checkbox]:indeterminate:hover,[type=checkbox]:indeterminate:focus{border-color:transparent;background-color:currentColor}[type=file]{background:unset;border-color:inherit;border-width:0;border-radius:0;padding:0;font-size:unset;line-height:inherit}[type=file]:focus{outline:1px solid ButtonText;outline:1px auto -webkit-focus-ring-color}progress{height:.75rem;overflow:hidden;border-radius:9999px}progress::-webkit-progress-bar{--tw-bg-opacity: 1;background-color:rgb(191 219 254 / var(--tw-bg-opacity))}progress::-webkit-progress-value{--tw-bg-opacity: 1;background-color:rgb(59 130 246 / var(--tw-bg-opacity))}progress::-moz-progress-bar{--tw-bg-opacity: 1;background-color:rgb(59 130 246 / var(--tw-bg-opacity))}progress::-ms-fill{border-width:0px;--tw-bg-opacity: 1;background-color:rgb(59 130 246 / var(--tw-bg-opacity))}html{scrollbar-width:thin;scrollbar-color:rgb(156,163,175) rgb(249,250,251)}body::-webkit-scrollbar{width:8px;height:8px}body::-webkit-scrollbar-track{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}body::-webkit-scrollbar-thumb{border-radius:.25rem;--tw-bg-opacity: 1;background-color:rgb(156 163 175 / var(--tw-bg-opacity))}body::-webkit-scrollbar-thumb:hover{--tw-bg-opacity: 1;background-color:rgb(107 114 128 / var(--tw-bg-opacity))}table{width:100%}thead{display:none}@media (min-width: 1024px){thead{display:table-header-group}}tr{position:relative;display:block;max-width:100%;border-bottom-width:4px;--tw-border-opacity: 1;border-color:rgb(243 244 246 / var(--tw-border-opacity))}:is(.dark tr){--tw-border-opacity: 1;border-color:rgb(30 41 59 / var(--tw-border-opacity))}@media (min-width: 1024px){tr{display:table-row;border-bottom-width:0px}}tr:last-child{border-bottom-width:0px}@media (min-width: 1024px){td:not(:first-child){border-left-width:1px;border-top-width:0px;border-right-width:0px;border-bottom-width:0px;--tw-border-opacity: 1;border-color:rgb(243 244 246 / var(--tw-border-opacity))}:is(.dark td:not(:first-child)){--tw-border-opacity: 1;border-color:rgb(51 65 85 / var(--tw-border-opacity))}th{padding:.75rem;text-align:left}}td{display:flex;justify-content:space-between;border-bottom-width:1px;--tw-border-opacity: 1;border-color:rgb(243 244 246 / var(--tw-border-opacity));padding:.75rem 1rem;text-align:right;vertical-align:top}:is(.dark td){--tw-border-opacity: 1;border-color:rgb(30 41 59 / var(--tw-border-opacity))}@media (min-width: 1024px){td{display:table-cell;border-bottom-width:0px;padding:.75rem;text-align:left;vertical-align:middle}}td:last-child{border-bottom-width:0px}@media (min-width: 1024px){tbody tr:hover,tbody tr:nth-child(odd):hover{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}:is(.dark tbody tr:hover),:is(.dark tbody tr:nth-child(odd):hover){background-color:#334155b3}tbody tr:nth-child(odd){background-color:#f3f4f680}:is(.dark tbody tr:nth-child(odd)){background-color:#1e293b80}}td:before{content:attr(data-label);padding-right:.75rem;text-align:left;font-weight:600}@media (min-width: 1024px){td:before{display:none}}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.checkbox,.radio,.switch{position:relative;display:inline-flex;cursor:pointer;align-items:center}.checkbox input[type=checkbox],.radio input[type=radio],.switch input[type=checkbox]{position:absolute;left:0px;z-index:-1;opacity:0}.checkbox input[type=checkbox]+.check,.radio input[type=radio]+.check,.switch input[type=checkbox]+.check{border-width:1px;--tw-border-opacity: 1;border-color:rgb(55 65 81 / var(--tw-border-opacity));transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.2s}:is(.dark .checkbox input[type=checkbox]+.check),:is(.dark .radio input[type=radio]+.check),:is(.dark .switch input[type=checkbox]+.check){--tw-bg-opacity: 1;background-color:rgb(30 41 59 / var(--tw-bg-opacity))}.checkbox input[type=checkbox]:focus+.check,.radio input[type=radio]:focus+.check,.switch input[type=checkbox]:focus+.check{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000);--tw-ring-opacity: 1;--tw-ring-color: rgb(29 78 216 / var(--tw-ring-opacity))}.checkbox input[type=checkbox]+.check,.radio input[type=radio]+.check{display:block;height:1.25rem;width:1.25rem}.checkbox input[type=checkbox]+.check{border-radius:.25rem}.switch input[type=checkbox]+.check{display:flex;height:1.5rem;width:3rem;flex-shrink:0;align-items:center;--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity));padding:.125rem}.radio input[type=radio]+.check,.switch input[type=checkbox]+.check,.switch input[type=checkbox]+.check:before{border-radius:9999px}.checkbox input[type=checkbox]:checked+.check,.radio input[type=radio]:checked+.check{border-width:4px;background-position:center;background-repeat:no-repeat}.checkbox input[type=checkbox]:checked+.check{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1 1'%3E%3Cpath style='fill:%23fff' d='M 0.04038059,0.6267767 0.14644661,0.52071068 0.42928932,0.80355339 0.3232233,0.90961941 z M 0.21715729,0.80355339 0.85355339,0.16715729 0.95961941,0.2732233 0.3232233,0.90961941 z'%3E%3C/path%3E%3C/svg%3E")}.radio input[type=radio]:checked+.check{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z' /%3E%3C/svg%3E")}.switch input[type=checkbox]:checked+.check,.checkbox input[type=checkbox]:checked+.check,.radio input[type=radio]:checked+.check{--tw-border-opacity: 1;border-color:rgb(37 99 235 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(37 99 235 / var(--tw-bg-opacity))}.switch input[type=checkbox]+.check:before{content:"";display:block;height:1.25rem;width:1.25rem;border-width:1px;--tw-border-opacity: 1;border-color:rgb(55 65 81 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.switch input[type=checkbox]:checked+.check:before{transform:translate3d(110%,0,0);--tw-border-opacity: 1;border-color:rgb(37 99 235 / var(--tw-border-opacity))}.pointer-events-none{pointer-events:none}.invisible{visibility:hidden}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inset-0{inset:0px}.inset-x-0{left:0px;right:0px}.-left-60{left:-15rem}.bottom-0{bottom:0px}.left-0{left:0px}.top-0{top:0px}.top-14{top:3.5rem}.-z-1{z-index:-1}.z-10{z-index:10}.z-30{z-index:30}.z-40{z-index:40}.z-50{z-index:50}.col-span-2{grid-column:span 2 / span 2}.row-span-1{grid-row:span 1 / span 1}.row-span-2{grid-row:span 2 / span 2}.-mx-6{margin-left:-1.5rem;margin-right:-1.5rem}.-my-6{margin-top:-1.5rem;margin-bottom:-1.5rem}.mx-2{margin-left:.5rem;margin-right:.5rem}.mx-3{margin-left:.75rem;margin-right:.75rem}.mx-auto{margin-left:auto;margin-right:auto}.my-1{margin-top:.25rem;margin-bottom:.25rem}.my-2{margin-top:.5rem;margin-bottom:.5rem}.my-4{margin-top:1rem;margin-bottom:1rem}.my-6{margin-top:1.5rem;margin-bottom:1.5rem}.-mb-3{margin-bottom:-.75rem}.-mb-6{margin-bottom:-1.5rem}.-ml-6{margin-left:-1.5rem}.-mr-6{margin-right:-1.5rem}.-mt-6{margin-top:-1.5rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mb-5{margin-bottom:1.25rem}.mb-6{margin-bottom:1.5rem}.ml-0{margin-left:0}.ml-60{margin-left:15rem}.mr-1{margin-right:.25rem}.mr-2{margin-right:.5rem}.mr-3{margin-right:.75rem}.mr-6{margin-right:1.5rem}.mt-1{margin-top:.25rem}.mt-4{margin-top:1rem}.line-clamp-1{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.grid{display:grid}.hidden{display:none}.h-10{height:2.5rem}.h-12{height:3rem}.h-14{height:3.5rem}.h-16{height:4rem}.h-24{height:6rem}.h-4{height:1rem}.h-6{height:1.5rem}.h-96{height:24rem}.h-auto{height:auto}.h-full{height:100%}.h-screen{height:100vh}.max-h-modal{max-height:calc(100vh - 160px)}.max-h-screen-menu{max-height:calc(100vh - 3.5rem)}.min-h-screen{min-height:100vh}.w-10{width:2.5rem}.w-11\/12{width:91.666667%}.w-12{width:3rem}.w-16{width:4rem}.w-2\/5{width:40%}.w-24{width:6rem}.w-28{width:7rem}.w-4{width:1rem}.w-6{width:1.5rem}.w-60{width:15rem}.w-full{width:100%}.w-screen{width:100vw}.max-w-full{max-width:100%}.flex-1{flex:1 1 0%}.flex-none{flex:none}.grow{flex-grow:1}.scale-100{--tw-scale-x: 1;--tw-scale-y: 1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-95{--tw-scale-x: .95;--tw-scale-y: .95;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes fade-in{0%{opacity:0}to{opacity:1}}.animate-fade-in{animation:fade-in .25s ease-in-out}@keyframes fade-out{0%{opacity:1}to{opacity:0}}.animate-fade-out{animation:fade-out .25s ease-in-out}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.grid-flow-row{grid-auto-flow:row}.auto-rows-auto{grid-auto-rows:auto}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.flex-nowrap{flex-wrap:nowrap}.place-content-center{place-content:center}.items-center{align-items:center}.items-stretch{align-items:stretch}.justify-start{justify-content:flex-start}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.justify-around{justify-content:space-around}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-5{gap:1.25rem}.gap-6{gap:1.5rem}.gap-x-2{-moz-column-gap:.5rem;column-gap:.5rem}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-3>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.75rem * var(--tw-space-x-reverse));margin-left:calc(.75rem * calc(1 - var(--tw-space-x-reverse)))}.space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.25rem * var(--tw-space-y-reverse))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.space-y-3>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.75rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.75rem * var(--tw-space-y-reverse))}.self-center{align-self:center}.overflow-hidden{overflow:hidden}.overflow-visible{overflow:visible}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.text-ellipsis{text-overflow:ellipsis}.whitespace-nowrap{white-space:nowrap}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:1rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-none{border-radius:0}.rounded-sm{border-radius:.125rem}.rounded-xl{border-radius:.75rem}.rounded-r{border-top-right-radius:.25rem;border-bottom-right-radius:.25rem}.rounded-r-none{border-top-right-radius:0;border-bottom-right-radius:0}.rounded-t-2xl{border-top-left-radius:1rem;border-top-right-radius:1rem}.border{border-width:1px}.border-0{border-width:0px}.border-b{border-bottom-width:1px}.border-b-0{border-bottom-width:0px}.border-t{border-top-width:1px}.border-blue-500{--tw-border-opacity: 1;border-color:rgb(59 130 246 / var(--tw-border-opacity))}.border-blue-600{--tw-border-opacity: 1;border-color:rgb(37 99 235 / var(--tw-border-opacity))}.border-emerald-500{--tw-border-opacity: 1;border-color:rgb(16 185 129 / var(--tw-border-opacity))}.border-emerald-600{--tw-border-opacity: 1;border-color:rgb(5 150 105 / var(--tw-border-opacity))}.border-gray-100{--tw-border-opacity: 1;border-color:rgb(243 244 246 / var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity))}.border-gray-700{--tw-border-opacity: 1;border-color:rgb(55 65 81 / var(--tw-border-opacity))}.border-gray-800{--tw-border-opacity: 1;border-color:rgb(31 41 55 / var(--tw-border-opacity))}.border-gray-900{--tw-border-opacity: 1;border-color:rgb(17 24 39 / var(--tw-border-opacity))}.border-red-500{--tw-border-opacity: 1;border-color:rgb(239 68 68 / var(--tw-border-opacity))}.border-red-600{--tw-border-opacity: 1;border-color:rgb(220 38 38 / var(--tw-border-opacity))}.border-white{--tw-border-opacity: 1;border-color:rgb(255 255 255 / var(--tw-border-opacity))}.border-yellow-500{--tw-border-opacity: 1;border-color:rgb(234 179 8 / var(--tw-border-opacity))}.border-yellow-600{--tw-border-opacity: 1;border-color:rgb(202 138 4 / var(--tw-border-opacity))}.bg-blue-500{--tw-bg-opacity: 1;background-color:rgb(59 130 246 / var(--tw-bg-opacity))}.bg-blue-600{--tw-bg-opacity: 1;background-color:rgb(37 99 235 / var(--tw-bg-opacity))}.bg-blue-700{--tw-bg-opacity: 1;background-color:rgb(29 78 216 / var(--tw-bg-opacity))}.bg-emerald-500{--tw-bg-opacity: 1;background-color:rgb(16 185 129 / var(--tw-bg-opacity))}.bg-emerald-600{--tw-bg-opacity: 1;background-color:rgb(5 150 105 / var(--tw-bg-opacity))}.bg-emerald-700{--tw-bg-opacity: 1;background-color:rgb(4 120 87 / var(--tw-bg-opacity))}.bg-gray-100{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.bg-gray-100\/50{background-color:#f3f4f680}.bg-gray-100\/75{background-color:#f3f4f6bf}.bg-gray-200{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}.bg-gray-50{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.bg-gray-700{--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}.bg-gray-700\/50{background-color:#37415180}.bg-gray-800{--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity))}.bg-gray-900{--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity))}.bg-red-500{--tw-bg-opacity: 1;background-color:rgb(239 68 68 / var(--tw-bg-opacity))}.bg-red-600{--tw-bg-opacity: 1;background-color:rgb(220 38 38 / var(--tw-bg-opacity))}.bg-red-700{--tw-bg-opacity: 1;background-color:rgb(185 28 28 / var(--tw-bg-opacity))}.bg-transparent{background-color:transparent}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.bg-yellow-500{--tw-bg-opacity: 1;background-color:rgb(234 179 8 / var(--tw-bg-opacity))}.bg-yellow-600{--tw-bg-opacity: 1;background-color:rgb(202 138 4 / var(--tw-bg-opacity))}.bg-yellow-700{--tw-bg-opacity: 1;background-color:rgb(161 98 7 / var(--tw-bg-opacity))}.bg-gradient-to-tr{background-image:linear-gradient(to top right,var(--tw-gradient-stops))}.from-gray-700{--tw-gradient-from: #374151 var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(55 65 81 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-pink-400{--tw-gradient-from: #f472b6 var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(244 114 182 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-purple-400{--tw-gradient-from: #c084fc var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(192 132 252 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-slate-700{--tw-gradient-from: #334155 var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(51 65 85 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-white{--tw-gradient-from: #fff var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(255 255 255 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.via-gray-100{--tw-gradient-via-position: ;--tw-gradient-to: rgb(243 244 246 / 0) var(--tw-gradient-to-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), #f3f4f6 var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-gray-900{--tw-gradient-via-position: ;--tw-gradient-to: rgb(17 24 39 / 0) var(--tw-gradient-to-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), #111827 var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-pink-500{--tw-gradient-via-position: ;--tw-gradient-to: rgb(236 72 153 / 0) var(--tw-gradient-to-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), #ec4899 var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-red-500{--tw-gradient-via-position: ;--tw-gradient-to: rgb(239 68 68 / 0) var(--tw-gradient-to-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), #ef4444 var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-slate-900{--tw-gradient-via-position: ;--tw-gradient-to: rgb(15 23 42 / 0) var(--tw-gradient-to-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), #0f172a var(--tw-gradient-via-position), var(--tw-gradient-to)}.to-gray-700{--tw-gradient-to: #374151 var(--tw-gradient-to-position);--tw-gradient-to-position: }.to-red-500{--tw-gradient-to: #ef4444 var(--tw-gradient-to-position);--tw-gradient-to-position: }.to-slate-800{--tw-gradient-to: #1e293b var(--tw-gradient-to-position);--tw-gradient-to-position: }.to-white{--tw-gradient-to: #fff var(--tw-gradient-to-position);--tw-gradient-to-position: }.to-yellow-500{--tw-gradient-to: #eab308 var(--tw-gradient-to-position);--tw-gradient-to-position: }.p-0{padding:0}.p-1{padding:.25rem}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.px-1{padding-left:.25rem;padding-right:.25rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.py-12{padding-top:3rem;padding-bottom:3rem}.py-14{padding-top:3.5rem;padding-bottom:3.5rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-24{padding-top:6rem;padding-bottom:6rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.pb-1{padding-bottom:.25rem}.pb-2{padding-bottom:.5rem}.pb-4{padding-bottom:1rem}.pl-10{padding-left:2.5rem}.pl-2{padding-left:.5rem}.pr-12{padding-right:3rem}.pt-14{padding-top:3.5rem}.pt-6{padding-top:1.5rem}.text-left{text-align:left}.text-center{text-align:center}.text-2xl{font-size:1.5rem;line-height:2rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-4xl{font-size:2.25rem;line-height:2.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-semibold{font-weight:600}.capitalize{text-transform:capitalize}.italic{font-style:italic}.leading-none{line-height:1}.leading-tight{line-height:1.25}.tracking-tighter{letter-spacing:-.05em}.text-black{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity))}.text-blue-300{--tw-text-opacity: 1;color:rgb(147 197 253 / var(--tw-text-opacity))}.text-blue-400{--tw-text-opacity: 1;color:rgb(96 165 250 / var(--tw-text-opacity))}.text-blue-500{--tw-text-opacity: 1;color:rgb(59 130 246 / var(--tw-text-opacity))}.text-blue-600{--tw-text-opacity: 1;color:rgb(37 99 235 / var(--tw-text-opacity))}.text-emerald-500{--tw-text-opacity: 1;color:rgb(16 185 129 / var(--tw-text-opacity))}.text-emerald-600{--tw-text-opacity: 1;color:rgb(5 150 105 / var(--tw-text-opacity))}.text-gray-300{--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity))}.text-gray-400{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}.text-gray-700{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}.text-red-500{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity))}.text-red-600{--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.text-yellow-500{--tw-text-opacity: 1;color:rgb(234 179 8 / var(--tw-text-opacity))}.text-yellow-600{--tw-text-opacity: 1;color:rgb(202 138 4 / var(--tw-text-opacity))}.opacity-0{opacity:0}.opacity-100{opacity:1}.opacity-50{opacity:.5}.opacity-70{opacity:.7}.opacity-90{opacity:.9}.shadow-2xl{--tw-shadow: 0 25px 50px -12px rgb(0 0 0 / .25);--tw-shadow-colored: 0 25px 50px -12px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-xl{--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline-none{outline:2px solid transparent;outline-offset:2px}.outline{outline-style:solid}.outline-1{outline-width:1px}.outline-gray-400{outline-color:#9ca3af}.outline-green-900\/50{outline-color:#14532d80}.ring{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-blue-300{--tw-ring-opacity: 1;--tw-ring-color: rgb(147 197 253 / var(--tw-ring-opacity))}.ring-blue-700{--tw-ring-opacity: 1;--tw-ring-color: rgb(29 78 216 / var(--tw-ring-opacity))}.ring-emerald-300{--tw-ring-opacity: 1;--tw-ring-color: rgb(110 231 183 / var(--tw-ring-opacity))}.ring-gray-200{--tw-ring-opacity: 1;--tw-ring-color: rgb(229 231 235 / var(--tw-ring-opacity))}.ring-gray-300{--tw-ring-opacity: 1;--tw-ring-color: rgb(209 213 219 / var(--tw-ring-opacity))}.ring-red-300{--tw-ring-opacity: 1;--tw-ring-color: rgb(252 165 165 / var(--tw-ring-opacity))}.ring-yellow-300{--tw-ring-opacity: 1;--tw-ring-color: rgb(253 224 71 / var(--tw-ring-opacity))}.blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-position{transition-property:right,left,top,bottom,margin,padding;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-shadow{transition-property:box-shadow;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-100{transition-duration:.1s}.duration-150{transition-duration:.15s}.duration-500{transition-duration:.5s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}.aside-scrollbars-\[slate\]{scrollbar-width:thin;scrollbar-color:#475569 #0f172a}.aside-scrollbars-\[slate\]::-webkit-scrollbar{width:8px;height:8px}.aside-scrollbars-\[slate\]::-webkit-scrollbar-track{background-color:#0f172a}.aside-scrollbars-\[slate\]::-webkit-scrollbar-thumb{border-radius:.25rem;background-color:#475569}.aside-scrollbars-gray{scrollbar-width:thin;scrollbar-color:#4b5563 #111827}.aside-scrollbars-gray::-webkit-scrollbar{width:8px;height:8px}.aside-scrollbars-gray::-webkit-scrollbar-track{background-color:#111827}.aside-scrollbars-gray::-webkit-scrollbar-thumb{border-radius:.25rem;background-color:#4b5563}.aside-scrollbars-light{scrollbar-width:thin;scrollbar-color:#d1d5db #f3f4f6}.aside-scrollbars-light::-webkit-scrollbar{width:8px;height:8px}.aside-scrollbars-light::-webkit-scrollbar-track{background-color:#f3f4f6}.aside-scrollbars-light::-webkit-scrollbar-thumb{border-radius:.25rem;background-color:#d1d5db}.dark-scrollbars-compat{scrollbar-color:rgb(71,85,105) rgb(30,41,59)}.dark-scrollbars::-webkit-scrollbar-track{--tw-bg-opacity: 1;background-color:rgb(30 41 59 / var(--tw-bg-opacity))}.dark-scrollbars::-webkit-scrollbar-thumb{--tw-bg-opacity: 1;background-color:rgb(71 85 105 / var(--tw-bg-opacity))}.dark-scrollbars::-webkit-scrollbar-thumb:hover{--tw-bg-opacity: 1;background-color:rgb(100 116 139 / var(--tw-bg-opacity))}.scale-enter-active,.scale-leave-active{transition:all .2s ease}.scale-enter-from,.scale-leave-to{opacity:0;transform:scale(.9)}.before\:hidden:before{content:var(--tw-content);display:none}.last\:mb-0:last-child{margin-bottom:0}.last\:mr-0:last-child{margin-right:0}.hover\:border-blue-700:hover{--tw-border-opacity: 1;border-color:rgb(29 78 216 / var(--tw-border-opacity))}.hover\:border-emerald-700:hover{--tw-border-opacity: 1;border-color:rgb(4 120 87 / var(--tw-border-opacity))}.hover\:border-red-700:hover{--tw-border-opacity: 1;border-color:rgb(185 28 28 / var(--tw-border-opacity))}.hover\:border-yellow-700:hover{--tw-border-opacity: 1;border-color:rgb(161 98 7 / var(--tw-border-opacity))}.hover\:bg-blue-600:hover{--tw-bg-opacity: 1;background-color:rgb(37 99 235 / var(--tw-bg-opacity))}.hover\:bg-blue-700:hover{--tw-bg-opacity: 1;background-color:rgb(29 78 216 / var(--tw-bg-opacity))}.hover\:bg-emerald-600:hover{--tw-bg-opacity: 1;background-color:rgb(5 150 105 / var(--tw-bg-opacity))}.hover\:bg-emerald-700:hover{--tw-bg-opacity: 1;background-color:rgb(4 120 87 / var(--tw-bg-opacity))}.hover\:bg-gray-100:hover{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.hover\:bg-gray-200:hover{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}.hover\:bg-gray-700:hover{--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}.hover\:bg-gray-800:hover{--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity))}.hover\:bg-red-600:hover{--tw-bg-opacity: 1;background-color:rgb(220 38 38 / var(--tw-bg-opacity))}.hover\:bg-red-700:hover{--tw-bg-opacity: 1;background-color:rgb(185 28 28 / var(--tw-bg-opacity))}.hover\:bg-slate-500:hover{--tw-bg-opacity: 1;background-color:rgb(100 116 139 / var(--tw-bg-opacity))}.hover\:bg-yellow-600:hover{--tw-bg-opacity: 1;background-color:rgb(202 138 4 / var(--tw-bg-opacity))}.hover\:bg-yellow-700:hover{--tw-bg-opacity: 1;background-color:rgb(161 98 7 / var(--tw-bg-opacity))}.hover\:text-black:hover{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity))}.hover\:text-blue-500:hover{--tw-text-opacity: 1;color:rgb(59 130 246 / var(--tw-text-opacity))}.hover\:text-blue-600:hover{--tw-text-opacity: 1;color:rgb(37 99 235 / var(--tw-text-opacity))}.hover\:text-gray-100:hover{--tw-text-opacity: 1;color:rgb(243 244 246 / var(--tw-text-opacity))}.hover\:text-white:hover{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.hover\:underline:hover{text-decoration-line:underline}.hover\:shadow-lg:hover{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.hover\:outline:hover{outline-style:solid}.hover\:outline-blue-500\/50:hover{outline-color:#3b82f680}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:ring:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}:is(.dark .dark\:border-blue-500){--tw-border-opacity: 1;border-color:rgb(59 130 246 / var(--tw-border-opacity))}:is(.dark .dark\:border-emerald-500){--tw-border-opacity: 1;border-color:rgb(16 185 129 / var(--tw-border-opacity))}:is(.dark .dark\:border-gray-500){--tw-border-opacity: 1;border-color:rgb(107 114 128 / var(--tw-border-opacity))}:is(.dark .dark\:border-red-500){--tw-border-opacity: 1;border-color:rgb(239 68 68 / var(--tw-border-opacity))}:is(.dark .dark\:border-slate-100){--tw-border-opacity: 1;border-color:rgb(241 245 249 / var(--tw-border-opacity))}:is(.dark .dark\:border-slate-700){--tw-border-opacity: 1;border-color:rgb(51 65 85 / var(--tw-border-opacity))}:is(.dark .dark\:border-slate-800){--tw-border-opacity: 1;border-color:rgb(30 41 59 / var(--tw-border-opacity))}:is(.dark .dark\:border-slate-900){--tw-border-opacity: 1;border-color:rgb(15 23 42 / var(--tw-border-opacity))}:is(.dark .dark\:border-white){--tw-border-opacity: 1;border-color:rgb(255 255 255 / var(--tw-border-opacity))}:is(.dark .dark\:border-yellow-500){--tw-border-opacity: 1;border-color:rgb(234 179 8 / var(--tw-border-opacity))}:is(.dark .dark\:bg-blue-500){--tw-bg-opacity: 1;background-color:rgb(59 130 246 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-blue-600){--tw-bg-opacity: 1;background-color:rgb(37 99 235 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-emerald-500){--tw-bg-opacity: 1;background-color:rgb(16 185 129 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-emerald-600){--tw-bg-opacity: 1;background-color:rgb(5 150 105 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-red-500){--tw-bg-opacity: 1;background-color:rgb(239 68 68 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-red-600){--tw-bg-opacity: 1;background-color:rgb(220 38 38 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-slate-100){--tw-bg-opacity: 1;background-color:rgb(241 245 249 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-slate-700){--tw-bg-opacity: 1;background-color:rgb(51 65 85 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-slate-800){--tw-bg-opacity: 1;background-color:rgb(30 41 59 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-slate-800\/50){background-color:#1e293b80}:is(.dark .dark\:bg-slate-900){--tw-bg-opacity: 1;background-color:rgb(15 23 42 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-slate-900\/70){background-color:#0f172ab3}:is(.dark .dark\:bg-slate-900\/90){background-color:#0f172ae6}:is(.dark .dark\:bg-white){--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-yellow-500){--tw-bg-opacity: 1;background-color:rgb(234 179 8 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-yellow-600){--tw-bg-opacity: 1;background-color:rgb(202 138 4 / var(--tw-bg-opacity))}:is(.dark .dark\:from-gray-700){--tw-gradient-from: #374151 var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(55 65 81 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}:is(.dark .dark\:via-gray-900){--tw-gradient-via-position: ;--tw-gradient-to: rgb(17 24 39 / 0) var(--tw-gradient-to-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), #111827 var(--tw-gradient-via-position), var(--tw-gradient-to)}:is(.dark .dark\:to-gray-700){--tw-gradient-to: #374151 var(--tw-gradient-to-position);--tw-gradient-to-position: }:is(.dark .dark\:text-black){--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity))}:is(.dark .dark\:text-blue-500){--tw-text-opacity: 1;color:rgb(59 130 246 / var(--tw-text-opacity))}:is(.dark .dark\:text-emerald-500){--tw-text-opacity: 1;color:rgb(16 185 129 / var(--tw-text-opacity))}:is(.dark .dark\:text-red-500){--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity))}:is(.dark .dark\:text-slate-100){--tw-text-opacity: 1;color:rgb(241 245 249 / var(--tw-text-opacity))}:is(.dark .dark\:text-slate-300){--tw-text-opacity: 1;color:rgb(203 213 225 / var(--tw-text-opacity))}:is(.dark .dark\:text-slate-400){--tw-text-opacity: 1;color:rgb(148 163 184 / var(--tw-text-opacity))}:is(.dark .dark\:text-white){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}:is(.dark .dark\:text-white\/75){color:#ffffffbf}:is(.dark .dark\:text-yellow-500){--tw-text-opacity: 1;color:rgb(234 179 8 / var(--tw-text-opacity))}:is(.dark .dark\:placeholder-gray-400)::-moz-placeholder{--tw-placeholder-opacity: 1;color:rgb(156 163 175 / var(--tw-placeholder-opacity))}:is(.dark .dark\:placeholder-gray-400)::placeholder{--tw-placeholder-opacity: 1;color:rgb(156 163 175 / var(--tw-placeholder-opacity))}:is(.dark .dark\:ring-blue-700){--tw-ring-opacity: 1;--tw-ring-color: rgb(29 78 216 / var(--tw-ring-opacity))}:is(.dark .dark\:ring-emerald-700){--tw-ring-opacity: 1;--tw-ring-color: rgb(4 120 87 / var(--tw-ring-opacity))}:is(.dark .dark\:ring-gray-400){--tw-ring-opacity: 1;--tw-ring-color: rgb(156 163 175 / var(--tw-ring-opacity))}:is(.dark .dark\:ring-gray-500){--tw-ring-opacity: 1;--tw-ring-color: rgb(107 114 128 / var(--tw-ring-opacity))}:is(.dark .dark\:ring-red-700){--tw-ring-opacity: 1;--tw-ring-color: rgb(185 28 28 / var(--tw-ring-opacity))}:is(.dark .dark\:ring-yellow-700){--tw-ring-opacity: 1;--tw-ring-color: rgb(161 98 7 / var(--tw-ring-opacity))}:is(.dark .hover\:dark\:border-blue-600):hover{--tw-border-opacity: 1;border-color:rgb(37 99 235 / var(--tw-border-opacity))}:is(.dark .hover\:dark\:border-emerald-600):hover{--tw-border-opacity: 1;border-color:rgb(5 150 105 / var(--tw-border-opacity))}:is(.dark .hover\:dark\:border-red-600):hover{--tw-border-opacity: 1;border-color:rgb(220 38 38 / var(--tw-border-opacity))}:is(.dark .hover\:dark\:border-yellow-600):hover{--tw-border-opacity: 1;border-color:rgb(202 138 4 / var(--tw-border-opacity))}:is(.dark .hover\:dark\:bg-blue-600):hover{--tw-bg-opacity: 1;background-color:rgb(37 99 235 / var(--tw-bg-opacity))}:is(.dark .hover\:dark\:bg-emerald-600):hover{--tw-bg-opacity: 1;background-color:rgb(5 150 105 / var(--tw-bg-opacity))}:is(.dark .hover\:dark\:bg-red-600):hover{--tw-bg-opacity: 1;background-color:rgb(220 38 38 / var(--tw-bg-opacity))}:is(.dark .hover\:dark\:bg-slate-100):hover{--tw-bg-opacity: 1;background-color:rgb(241 245 249 / var(--tw-bg-opacity))}:is(.dark .hover\:dark\:bg-slate-700):hover{--tw-bg-opacity: 1;background-color:rgb(51 65 85 / var(--tw-bg-opacity))}:is(.dark .hover\:dark\:bg-slate-800):hover{--tw-bg-opacity: 1;background-color:rgb(30 41 59 / var(--tw-bg-opacity))}:is(.dark .hover\:dark\:bg-slate-950\/90):hover{background-color:#020617e6}:is(.dark .hover\:dark\:bg-yellow-600):hover{--tw-bg-opacity: 1;background-color:rgb(202 138 4 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:text-slate-400:hover){--tw-text-opacity: 1;color:rgb(148 163 184 / var(--tw-text-opacity))}:is(.dark .dark\:hover\:text-white:hover){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}:is(.dark .hover\:dark\:text-black):hover{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity))}:is(.dark .hover\:dark\:text-white):hover{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}@media (min-width: 768px){.md\:m-4{margin:1rem}.md\:mx-auto{margin-left:auto;margin-right:auto}.md\:mb-0{margin-bottom:0}.md\:mr-2{margin-right:.5rem}.md\:mr-6{margin-right:1.5rem}.md\:flex{display:flex}.md\:grid{display:grid}.md\:h-5{height:1.25rem}.md\:min-h-screen{min-height:100vh}.md\:w-1\/2{width:50%}.md\:w-3\/5{width:60%}.md\:w-32{width:8rem}.md\:w-5{width:1.25rem}.md\:w-7\/12{width:58.333333%}.md\:w-auto{width:auto}.md\:auto-cols-max{grid-auto-columns:max-content}.md\:grid-flow-col{grid-auto-flow:column}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.md\:grid-rows-2{grid-template-rows:repeat(2,minmax(0,1fr))}.md\:flex-row{flex-direction:row}.md\:place-content-start{place-content:start}.md\:items-center{align-items:center}.md\:justify-center{justify-content:center}.md\:space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.md\:space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(1rem * var(--tw-space-x-reverse));margin-left:calc(1rem * calc(1 - var(--tw-space-x-reverse)))}.md\:space-y-0>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(0px * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(0px * var(--tw-space-y-reverse))}.md\:rounded-2xl{border-radius:1rem}.md\:rounded-xl{border-radius:.75rem}.md\:border-r{border-right-width:1px}.md\:py-2{padding-top:.5rem;padding-bottom:.5rem}.md\:py-3{padding-top:.75rem;padding-bottom:.75rem}.md\:text-left{text-align:left}.md\:text-center{text-align:center}.md\:text-right{text-align:right}.md\:text-4xl{font-size:2.25rem;line-height:2.5rem}.md\:text-lg{font-size:1.125rem;line-height:1.75rem}.md\:text-xl{font-size:1.25rem;line-height:1.75rem}:is(.dark .md\:dark\:bg-slate-900){--tw-bg-opacity: 1;background-color:rgb(15 23 42 / var(--tw-bg-opacity))}}@media (min-width: 1024px){.lg\:visible{visibility:visible}.lg\:static{position:static}.lg\:absolute{position:absolute}.lg\:left-0{left:0px}.lg\:top-full{top:100%}.lg\:z-20{z-index:20}.lg\:mx-12{margin-left:3rem;margin-right:3rem}.lg\:mx-auto{margin-left:auto;margin-right:auto}.lg\:my-0{margin-top:0;margin-bottom:0}.lg\:my-0\.5{margin-top:.125rem;margin-bottom:.125rem}.lg\:ml-0{margin-left:0}.lg\:block{display:block}.lg\:inline-block{display:inline-block}.lg\:flex{display:flex}.lg\:inline-flex{display:inline-flex}.lg\:hidden{display:none}.lg\:h-6{height:1.5rem}.lg\:w-1{width:.25rem}.lg\:w-16{width:4rem}.lg\:w-2\/5{width:40%}.lg\:w-32{width:8rem}.lg\:w-44{width:11rem}.lg\:w-5\/12{width:41.666667%}.lg\:w-6{width:1.5rem}.lg\:w-auto{width:auto}.lg\:w-full{width:100%}.lg\:min-w-full{min-width:100%}.lg\:max-w-2xl{max-width:42rem}.lg\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.lg\:items-stretch{align-items:stretch}.lg\:justify-end{justify-content:flex-end}.lg\:justify-center{justify-content:center}.lg\:space-x-0>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(0px * var(--tw-space-x-reverse));margin-left:calc(0px * calc(1 - var(--tw-space-x-reverse)))}.lg\:overflow-visible{overflow:visible}.lg\:rounded-2xl{border-radius:1rem}.lg\:rounded-lg{border-radius:.5rem}.lg\:border{border-width:1px}.lg\:bg-transparent{background-color:transparent}.lg\:bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.lg\:p-0{padding:0}.lg\:px-0{padding-left:0;padding-right:0}.lg\:px-12{padding-left:3rem;padding-right:3rem}.lg\:px-3{padding-left:.75rem;padding-right:.75rem}.lg\:px-6{padding-left:1.5rem;padding-right:1.5rem}.lg\:py-2{padding-top:.5rem;padding-bottom:.5rem}.lg\:pl-2{padding-left:.5rem}.lg\:text-2xl{font-size:1.5rem;line-height:2rem}.lg\:text-3xl{font-size:1.875rem;line-height:2.25rem}.lg\:text-5xl{font-size:3rem;line-height:1}.lg\:shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.lg\:shadow-none{--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}:is(.dark .lg\:dark\:bg-slate-800){--tw-bg-opacity: 1;background-color:rgb(30 41 59 / var(--tw-bg-opacity))}:is(.dark .lg\:dark\:bg-transparent){background-color:transparent}}@media (min-width: 1280px){.xl\:mx-auto{margin-left:auto;margin-right:auto}.xl\:flex{display:flex}.xl\:hidden{display:none}.xl\:w-4\/12{width:33.333333%}.xl\:max-w-6xl{max-width:72rem}.xl\:pl-60{padding-left:15rem}} diff --git a/assets/news.b9c16f1f.js b/assets/news.b9c16f1f.js new file mode 100644 index 0000000..29e2213 --- /dev/null +++ b/assets/news.b9c16f1f.js @@ -0,0 +1,4 @@ +const t=[{id:0,title:"GITADORA HIGH-VOLTAGE Now Supported!",content:`Gitadora High-Voltage is now FULLY supported! +I finally bit the bullet, sat down for 14 hours straight, and completely rewrote my Gitadora backend. +For the time being this has broken all Gitadora ORIGINAL profiles, but these will be migrated over soon! +Expect Nex+age and older to come soon. Enjoy!`,cover:"https://i.imgur.com/WPRlNo6.png",timestamp:"2022.11.20 5:48:10 PM"},{id:1,title:"FutureTomTom Now Supported!",content:"This weird drumming game now has support on PhaseII! Ver.1 and Ver.2 are both fully working, though there aren't any events set up currently.",cover:"https://i.imgur.com/UWtUAd5.png",timestamp:"2022.11.20 5:48:10 PM"}];export{t}; diff --git a/assets/particles.js b/assets/particles.js new file mode 100644 index 0000000..875139a --- /dev/null +++ b/assets/particles.js @@ -0,0 +1,1562 @@ +/* ----------------------------------------------- +/* Author : Vincent Garreau - vincentgarreau.com +/* MIT license: http://opensource.org/licenses/MIT +/* Demo / Generator : vincentgarreau.com/particles.js +/* GitHub : github.com/VincentGarreau/particles.js +/* How to use? : Check the GitHub README +/* v2.0.0 +/* ----------------------------------------------- */ + +var pJS = function (tag_id, params) { + var canvas_el = document.querySelector( + "#" + tag_id + " > .particles-js-canvas-el" + ); + + /* particles.js variables with default values */ + this.pJS = { + canvas: { + el: canvas_el, + w: canvas_el.offsetWidth, + h: canvas_el.offsetHeight, + }, + particles: { + number: { + value: 400, + density: { + enable: true, + value_area: 800, + }, + }, + color: { + value: "#fff", + }, + shape: { + type: "circle", + stroke: { + width: 0, + color: "#ff0000", + }, + polygon: { + nb_sides: 5, + }, + image: { + src: "", + width: 100, + height: 100, + }, + }, + opacity: { + value: 1, + random: false, + anim: { + enable: false, + speed: 2, + opacity_min: 0, + sync: false, + }, + }, + size: { + value: 20, + random: false, + anim: { + enable: false, + speed: 20, + size_min: 0, + sync: false, + }, + }, + line_linked: { + enable: true, + distance: 100, + color: "#fff", + opacity: 1, + width: 1, + }, + move: { + enable: true, + speed: 2, + direction: "none", + random: false, + straight: false, + out_mode: "out", + bounce: false, + attract: { + enable: false, + rotateX: 3000, + rotateY: 3000, + }, + }, + array: [], + }, + interactivity: { + detect_on: "canvas", + events: { + onhover: { + enable: true, + mode: "grab", + }, + onclick: { + enable: true, + mode: "push", + }, + resize: true, + }, + modes: { + grab: { + distance: 100, + line_linked: { + opacity: 1, + }, + }, + bubble: { + distance: 200, + size: 80, + duration: 0.4, + }, + repulse: { + distance: 200, + duration: 0.4, + }, + push: { + particles_nb: 4, + }, + remove: { + particles_nb: 2, + }, + }, + mouse: {}, + }, + retina_detect: false, + fn: { + interact: {}, + modes: {}, + vendors: {}, + }, + tmp: {}, + }; + + var pJS = this.pJS; + + /* params settings */ + if (params) { + Object.deepExtend(pJS, params); + } + + pJS.tmp.obj = { + size_value: pJS.particles.size.value, + size_anim_speed: pJS.particles.size.anim.speed, + move_speed: pJS.particles.move.speed, + line_linked_distance: pJS.particles.line_linked.distance, + line_linked_width: pJS.particles.line_linked.width, + mode_grab_distance: pJS.interactivity.modes.grab.distance, + mode_bubble_distance: pJS.interactivity.modes.bubble.distance, + mode_bubble_size: pJS.interactivity.modes.bubble.size, + mode_repulse_distance: pJS.interactivity.modes.repulse.distance, + }; + + pJS.fn.retinaInit = function () { + if (pJS.retina_detect && window.devicePixelRatio > 1) { + pJS.canvas.pxratio = window.devicePixelRatio; + pJS.tmp.retina = true; + } else { + pJS.canvas.pxratio = 1; + pJS.tmp.retina = false; + } + + pJS.canvas.w = pJS.canvas.el.offsetWidth * pJS.canvas.pxratio; + pJS.canvas.h = pJS.canvas.el.offsetHeight * pJS.canvas.pxratio; + + pJS.particles.size.value = pJS.tmp.obj.size_value * pJS.canvas.pxratio; + pJS.particles.size.anim.speed = + pJS.tmp.obj.size_anim_speed * pJS.canvas.pxratio; + pJS.particles.move.speed = pJS.tmp.obj.move_speed * pJS.canvas.pxratio; + pJS.particles.line_linked.distance = + pJS.tmp.obj.line_linked_distance * pJS.canvas.pxratio; + pJS.interactivity.modes.grab.distance = + pJS.tmp.obj.mode_grab_distance * pJS.canvas.pxratio; + pJS.interactivity.modes.bubble.distance = + pJS.tmp.obj.mode_bubble_distance * pJS.canvas.pxratio; + pJS.particles.line_linked.width = + pJS.tmp.obj.line_linked_width * pJS.canvas.pxratio; + pJS.interactivity.modes.bubble.size = + pJS.tmp.obj.mode_bubble_size * pJS.canvas.pxratio; + pJS.interactivity.modes.repulse.distance = + pJS.tmp.obj.mode_repulse_distance * pJS.canvas.pxratio; + }; + + /* ---------- pJS functions - canvas ------------ */ + + pJS.fn.canvasInit = function () { + pJS.canvas.ctx = pJS.canvas.el.getContext("2d"); + }; + + pJS.fn.canvasSize = function () { + pJS.canvas.el.width = pJS.canvas.w; + pJS.canvas.el.height = pJS.canvas.h; + + if (pJS && pJS.interactivity.events.resize) { + window.addEventListener("resize", function () { + pJS.canvas.w = pJS.canvas.el.offsetWidth; + pJS.canvas.h = pJS.canvas.el.offsetHeight; + + /* resize canvas */ + if (pJS.tmp.retina) { + pJS.canvas.w *= pJS.canvas.pxratio; + pJS.canvas.h *= pJS.canvas.pxratio; + } + + pJS.canvas.el.width = pJS.canvas.w; + pJS.canvas.el.height = pJS.canvas.h; + + /* repaint canvas on anim disabled */ + if (!pJS.particles.move.enable) { + pJS.fn.particlesEmpty(); + pJS.fn.particlesCreate(); + pJS.fn.particlesDraw(); + pJS.fn.vendors.densityAutoParticles(); + } + + /* density particles enabled */ + pJS.fn.vendors.densityAutoParticles(); + }); + } + }; + + pJS.fn.canvasPaint = function () { + pJS.canvas.ctx.fillRect(0, 0, pJS.canvas.w, pJS.canvas.h); + }; + + pJS.fn.canvasClear = function () { + pJS.canvas.ctx.clearRect(0, 0, pJS.canvas.w, pJS.canvas.h); + }; + + /* --------- pJS functions - particles ----------- */ + + pJS.fn.particle = function (color, opacity, position) { + /* size */ + this.radius = + (pJS.particles.size.random ? Math.random() : 1) * + pJS.particles.size.value; + if (pJS.particles.size.anim.enable) { + this.size_status = false; + this.vs = pJS.particles.size.anim.speed / 100; + if (!pJS.particles.size.anim.sync) { + this.vs = this.vs * Math.random(); + } + } + + /* position */ + this.x = position ? position.x : Math.random() * pJS.canvas.w; + this.y = position ? position.y : Math.random() * pJS.canvas.h; + + /* check position - into the canvas */ + if (this.x > pJS.canvas.w - this.radius * 2) this.x = this.x - this.radius; + else if (this.x < this.radius * 2) this.x = this.x + this.radius; + if (this.y > pJS.canvas.h - this.radius * 2) this.y = this.y - this.radius; + else if (this.y < this.radius * 2) this.y = this.y + this.radius; + + /* check position - avoid overlap */ + if (pJS.particles.move.bounce) { + pJS.fn.vendors.checkOverlap(this, position); + } + + /* color */ + this.color = {}; + if (typeof color.value == "object") { + if (color.value instanceof Array) { + var color_selected = + color.value[ + Math.floor(Math.random() * pJS.particles.color.value.length) + ]; + this.color.rgb = hexToRgb(color_selected); + } else { + if ( + color.value.r != undefined && + color.value.g != undefined && + color.value.b != undefined + ) { + this.color.rgb = { + r: color.value.r, + g: color.value.g, + b: color.value.b, + }; + } + if ( + color.value.h != undefined && + color.value.s != undefined && + color.value.l != undefined + ) { + this.color.hsl = { + h: color.value.h, + s: color.value.s, + l: color.value.l, + }; + } + } + } else if (color.value == "random") { + this.color.rgb = { + r: Math.floor(Math.random() * (255 - 0 + 1)) + 0, + g: Math.floor(Math.random() * (255 - 0 + 1)) + 0, + b: Math.floor(Math.random() * (255 - 0 + 1)) + 0, + }; + } else if (typeof color.value == "string") { + this.color = color; + this.color.rgb = hexToRgb(this.color.value); + } + + /* opacity */ + this.opacity = + (pJS.particles.opacity.random ? Math.random() : 1) * + pJS.particles.opacity.value; + if (pJS.particles.opacity.anim.enable) { + this.opacity_status = false; + this.vo = pJS.particles.opacity.anim.speed / 100; + if (!pJS.particles.opacity.anim.sync) { + this.vo = this.vo * Math.random(); + } + } + + /* animation - velocity for speed */ + var velbase = {}; + switch (pJS.particles.move.direction) { + case "top": + velbase = { x: 0, y: -1 }; + break; + case "top-right": + velbase = { x: 0.5, y: -0.5 }; + break; + case "right": + velbase = { x: 1, y: -0 }; + break; + case "bottom-right": + velbase = { x: 0.5, y: 0.5 }; + break; + case "bottom": + velbase = { x: 0, y: 1 }; + break; + case "bottom-left": + velbase = { x: -0.5, y: 1 }; + break; + case "left": + velbase = { x: -1, y: 0 }; + break; + case "top-left": + velbase = { x: -0.5, y: -0.5 }; + break; + default: + velbase = { x: 0, y: 0 }; + break; + } + + if (pJS.particles.move.straight) { + this.vx = velbase.x; + this.vy = velbase.y; + if (pJS.particles.move.random) { + this.vx = this.vx * Math.random(); + this.vy = this.vy * Math.random(); + } + } else { + this.vx = velbase.x + Math.random() - 0.5; + this.vy = velbase.y + Math.random() - 0.5; + } + + // var theta = 2.0 * Math.PI * Math.random(); + // this.vx = Math.cos(theta); + // this.vy = Math.sin(theta); + + this.vx_i = this.vx; + this.vy_i = this.vy; + + /* if shape is image */ + + var shape_type = pJS.particles.shape.type; + if (typeof shape_type == "object") { + if (shape_type instanceof Array) { + var shape_selected = + shape_type[Math.floor(Math.random() * shape_type.length)]; + this.shape = shape_selected; + } + } else { + this.shape = shape_type; + } + + if (this.shape == "image") { + var sh = pJS.particles.shape; + this.img = { + src: sh.image.src, + ratio: sh.image.width / sh.image.height, + }; + if (!this.img.ratio) this.img.ratio = 1; + if (pJS.tmp.img_type == "svg" && pJS.tmp.source_svg != undefined) { + pJS.fn.vendors.createSvgImg(this); + if (pJS.tmp.pushing) { + this.img.loaded = false; + } + } + } + }; + + pJS.fn.particle.prototype.draw = function () { + var p = this; + + if (p.radius_bubble != undefined) { + var radius = p.radius_bubble; + } else { + var radius = p.radius; + } + + if (p.opacity_bubble != undefined) { + var opacity = p.opacity_bubble; + } else { + var opacity = p.opacity; + } + + if (p.color.rgb) { + var color_value = + "rgba(" + + p.color.rgb.r + + "," + + p.color.rgb.g + + "," + + p.color.rgb.b + + "," + + opacity + + ")"; + } else { + var color_value = + "hsla(" + + p.color.hsl.h + + "," + + p.color.hsl.s + + "%," + + p.color.hsl.l + + "%," + + opacity + + ")"; + } + + pJS.canvas.ctx.fillStyle = color_value; + pJS.canvas.ctx.beginPath(); + + switch (p.shape) { + case "circle": + pJS.canvas.ctx.arc(p.x, p.y, radius, 0, Math.PI * 2, false); + break; + + case "edge": + pJS.canvas.ctx.rect(p.x - radius, p.y - radius, radius * 2, radius * 2); + break; + + case "triangle": + pJS.fn.vendors.drawShape( + pJS.canvas.ctx, + p.x - radius, + p.y + radius / 1.66, + radius * 2, + 3, + 2 + ); + break; + + case "polygon": + pJS.fn.vendors.drawShape( + pJS.canvas.ctx, + p.x - radius / (pJS.particles.shape.polygon.nb_sides / 3.5), // startX + p.y - radius / (2.66 / 3.5), // startY + (radius * 2.66) / (pJS.particles.shape.polygon.nb_sides / 3), // sideLength + pJS.particles.shape.polygon.nb_sides, // sideCountNumerator + 1 // sideCountDenominator + ); + break; + + case "star": + pJS.fn.vendors.drawShape( + pJS.canvas.ctx, + p.x - (radius * 2) / (pJS.particles.shape.polygon.nb_sides / 4), // startX + p.y - radius / ((2 * 2.66) / 3.5), // startY + (radius * 2 * 2.66) / (pJS.particles.shape.polygon.nb_sides / 3), // sideLength + pJS.particles.shape.polygon.nb_sides, // sideCountNumerator + 2 // sideCountDenominator + ); + break; + + case "image": + function draw() { + pJS.canvas.ctx.drawImage( + img_obj, + p.x - radius, + p.y - radius, + radius * 2, + (radius * 2) / p.img.ratio + ); + } + + if (pJS.tmp.img_type == "svg") { + var img_obj = p.img.obj; + } else { + var img_obj = pJS.tmp.img_obj; + } + + if (img_obj) { + draw(); + } + + break; + } + + pJS.canvas.ctx.closePath(); + + if (pJS.particles.shape.stroke.width > 0) { + pJS.canvas.ctx.strokeStyle = pJS.particles.shape.stroke.color; + pJS.canvas.ctx.lineWidth = pJS.particles.shape.stroke.width; + pJS.canvas.ctx.stroke(); + } + + pJS.canvas.ctx.fill(); + }; + + pJS.fn.particlesCreate = function () { + for (var i = 0; i < pJS.particles.number.value; i++) { + pJS.particles.array.push( + new pJS.fn.particle(pJS.particles.color, pJS.particles.opacity.value) + ); + } + }; + + pJS.fn.particlesUpdate = function () { + for (var i = 0; i < pJS.particles.array.length; i++) { + /* the particle */ + var p = pJS.particles.array[i]; + + // var d = ( dx = pJS.interactivity.mouse.click_pos_x - p.x ) * dx + ( dy = pJS.interactivity.mouse.click_pos_y - p.y ) * dy; + // var f = -BANG_SIZE / d; + // if ( d < BANG_SIZE ) { + // var t = Math.atan2( dy, dx ); + // p.vx = f * Math.cos(t); + // p.vy = f * Math.sin(t); + // } + + /* move the particle */ + if (pJS.particles.move.enable) { + var ms = pJS.particles.move.speed / 2; + p.x += p.vx * ms; + p.y += p.vy * ms; + } + + /* change opacity status */ + if (pJS.particles.opacity.anim.enable) { + if (p.opacity_status == true) { + if (p.opacity >= pJS.particles.opacity.value) + p.opacity_status = false; + p.opacity += p.vo; + } else { + if (p.opacity <= pJS.particles.opacity.anim.opacity_min) + p.opacity_status = true; + p.opacity -= p.vo; + } + if (p.opacity < 0) p.opacity = 0; + } + + /* change size */ + if (pJS.particles.size.anim.enable) { + if (p.size_status == true) { + if (p.radius >= pJS.particles.size.value) p.size_status = false; + p.radius += p.vs; + } else { + if (p.radius <= pJS.particles.size.anim.size_min) + p.size_status = true; + p.radius -= p.vs; + } + if (p.radius < 0) p.radius = 0; + } + + /* change particle position if it is out of canvas */ + if (pJS.particles.move.out_mode == "bounce") { + var new_pos = { + x_left: p.radius, + x_right: pJS.canvas.w, + y_top: p.radius, + y_bottom: pJS.canvas.h, + }; + } else { + var new_pos = { + x_left: -p.radius, + x_right: pJS.canvas.w + p.radius, + y_top: -p.radius, + y_bottom: pJS.canvas.h + p.radius, + }; + } + + if (p.x - p.radius > pJS.canvas.w) { + p.x = new_pos.x_left; + p.y = Math.random() * pJS.canvas.h; + } else if (p.x + p.radius < 0) { + p.x = new_pos.x_right; + p.y = Math.random() * pJS.canvas.h; + } + if (p.y - p.radius > pJS.canvas.h) { + p.y = new_pos.y_top; + p.x = Math.random() * pJS.canvas.w; + } else if (p.y + p.radius < 0) { + p.y = new_pos.y_bottom; + p.x = Math.random() * pJS.canvas.w; + } + + /* out of canvas modes */ + switch (pJS.particles.move.out_mode) { + case "bounce": + if (p.x + p.radius > pJS.canvas.w) p.vx = -p.vx; + else if (p.x - p.radius < 0) p.vx = -p.vx; + if (p.y + p.radius > pJS.canvas.h) p.vy = -p.vy; + else if (p.y - p.radius < 0) p.vy = -p.vy; + break; + } + + /* events */ + if (isInArray("grab", pJS.interactivity.events.onhover.mode)) { + pJS.fn.modes.grabParticle(p); + } + + if ( + isInArray("bubble", pJS.interactivity.events.onhover.mode) || + isInArray("bubble", pJS.interactivity.events.onclick.mode) + ) { + pJS.fn.modes.bubbleParticle(p); + } + + if ( + isInArray("repulse", pJS.interactivity.events.onhover.mode) || + isInArray("repulse", pJS.interactivity.events.onclick.mode) + ) { + pJS.fn.modes.repulseParticle(p); + } + + /* interaction auto between particles */ + if ( + pJS.particles.line_linked.enable || + pJS.particles.move.attract.enable + ) { + for (var j = i + 1; j < pJS.particles.array.length; j++) { + var p2 = pJS.particles.array[j]; + + /* link particles */ + if (pJS.particles.line_linked.enable) { + pJS.fn.interact.linkParticles(p, p2); + } + + /* attract particles */ + if (pJS.particles.move.attract.enable) { + pJS.fn.interact.attractParticles(p, p2); + } + + /* bounce particles */ + if (pJS.particles.move.bounce) { + pJS.fn.interact.bounceParticles(p, p2); + } + } + } + } + }; + + pJS.fn.particlesDraw = function () { + /* clear canvas */ + pJS.canvas.ctx.clearRect(0, 0, pJS.canvas.w, pJS.canvas.h); + + /* update each particles param */ + pJS.fn.particlesUpdate(); + + /* draw each particle */ + for (var i = 0; i < pJS.particles.array.length; i++) { + var p = pJS.particles.array[i]; + p.draw(); + } + }; + + pJS.fn.particlesEmpty = function () { + pJS.particles.array = []; + }; + + pJS.fn.particlesRefresh = function () { + /* init all */ + cancelRequestAnimFrame(pJS.fn.checkAnimFrame); + cancelRequestAnimFrame(pJS.fn.drawAnimFrame); + pJS.tmp.source_svg = undefined; + pJS.tmp.img_obj = undefined; + pJS.tmp.count_svg = 0; + pJS.fn.particlesEmpty(); + pJS.fn.canvasClear(); + + /* restart */ + pJS.fn.vendors.start(); + }; + + /* ---------- pJS functions - particles interaction ------------ */ + + pJS.fn.interact.linkParticles = function (p1, p2) { + var dx = p1.x - p2.x, + dy = p1.y - p2.y, + dist = Math.sqrt(dx * dx + dy * dy); + + /* draw a line between p1 and p2 if the distance between them is under the config distance */ + if (dist <= pJS.particles.line_linked.distance) { + var opacity_line = + pJS.particles.line_linked.opacity - + dist / + (1 / pJS.particles.line_linked.opacity) / + pJS.particles.line_linked.distance; + + if (opacity_line > 0) { + /* style */ + var color_line = pJS.particles.line_linked.color_rgb_line; + pJS.canvas.ctx.strokeStyle = + "rgba(" + + color_line.r + + "," + + color_line.g + + "," + + color_line.b + + "," + + opacity_line + + ")"; + pJS.canvas.ctx.lineWidth = pJS.particles.line_linked.width; + //pJS.canvas.ctx.lineCap = 'round'; /* performance issue */ + + /* path */ + pJS.canvas.ctx.beginPath(); + pJS.canvas.ctx.moveTo(p1.x, p1.y); + pJS.canvas.ctx.lineTo(p2.x, p2.y); + pJS.canvas.ctx.stroke(); + pJS.canvas.ctx.closePath(); + } + } + }; + + pJS.fn.interact.attractParticles = function (p1, p2) { + /* condensed particles */ + var dx = p1.x - p2.x, + dy = p1.y - p2.y, + dist = Math.sqrt(dx * dx + dy * dy); + + if (dist <= pJS.particles.line_linked.distance) { + var ax = dx / (pJS.particles.move.attract.rotateX * 1000), + ay = dy / (pJS.particles.move.attract.rotateY * 1000); + + p1.vx -= ax; + p1.vy -= ay; + + p2.vx += ax; + p2.vy += ay; + } + }; + + pJS.fn.interact.bounceParticles = function (p1, p2) { + var dx = p1.x - p2.x, + dy = p1.y - p2.y, + dist = Math.sqrt(dx * dx + dy * dy), + dist_p = p1.radius + p2.radius; + + if (dist <= dist_p) { + p1.vx = -p1.vx; + p1.vy = -p1.vy; + + p2.vx = -p2.vx; + p2.vy = -p2.vy; + } + }; + + /* ---------- pJS functions - modes events ------------ */ + + pJS.fn.modes.pushParticles = function (nb, pos) { + pJS.tmp.pushing = true; + + for (var i = 0; i < nb; i++) { + pJS.particles.array.push( + new pJS.fn.particle(pJS.particles.color, pJS.particles.opacity.value, { + x: pos ? pos.pos_x : Math.random() * pJS.canvas.w, + y: pos ? pos.pos_y : Math.random() * pJS.canvas.h, + }) + ); + if (i == nb - 1) { + if (!pJS.particles.move.enable) { + pJS.fn.particlesDraw(); + } + pJS.tmp.pushing = false; + } + } + }; + + pJS.fn.modes.removeParticles = function (nb) { + pJS.particles.array.splice(0, nb); + if (!pJS.particles.move.enable) { + pJS.fn.particlesDraw(); + } + }; + + pJS.fn.modes.bubbleParticle = function (p) { + /* on hover event */ + if ( + pJS.interactivity.events.onhover.enable && + isInArray("bubble", pJS.interactivity.events.onhover.mode) + ) { + var dx_mouse = p.x - pJS.interactivity.mouse.pos_x, + dy_mouse = p.y - pJS.interactivity.mouse.pos_y, + dist_mouse = Math.sqrt(dx_mouse * dx_mouse + dy_mouse * dy_mouse), + ratio = 1 - dist_mouse / pJS.interactivity.modes.bubble.distance; + + function init() { + p.opacity_bubble = p.opacity; + p.radius_bubble = p.radius; + } + + /* mousemove - check ratio */ + if (dist_mouse <= pJS.interactivity.modes.bubble.distance) { + if (ratio >= 0 && pJS.interactivity.status == "mousemove") { + /* size */ + if (pJS.interactivity.modes.bubble.size != pJS.particles.size.value) { + if ( + pJS.interactivity.modes.bubble.size > pJS.particles.size.value + ) { + var size = p.radius + pJS.interactivity.modes.bubble.size * ratio; + if (size >= 0) { + p.radius_bubble = size; + } + } else { + var dif = p.radius - pJS.interactivity.modes.bubble.size, + size = p.radius - dif * ratio; + if (size > 0) { + p.radius_bubble = size; + } else { + p.radius_bubble = 0; + } + } + } + + /* opacity */ + if ( + pJS.interactivity.modes.bubble.opacity != + pJS.particles.opacity.value + ) { + if ( + pJS.interactivity.modes.bubble.opacity > + pJS.particles.opacity.value + ) { + var opacity = pJS.interactivity.modes.bubble.opacity * ratio; + if ( + opacity > p.opacity && + opacity <= pJS.interactivity.modes.bubble.opacity + ) { + p.opacity_bubble = opacity; + } + } else { + var opacity = + p.opacity - + (pJS.particles.opacity.value - + pJS.interactivity.modes.bubble.opacity) * + ratio; + if ( + opacity < p.opacity && + opacity >= pJS.interactivity.modes.bubble.opacity + ) { + p.opacity_bubble = opacity; + } + } + } + } + } else { + init(); + } + + /* mouseleave */ + if (pJS.interactivity.status == "mouseleave") { + init(); + } + } else if ( + /* on click event */ + pJS.interactivity.events.onclick.enable && + isInArray("bubble", pJS.interactivity.events.onclick.mode) + ) { + if (pJS.tmp.bubble_clicking) { + var dx_mouse = p.x - pJS.interactivity.mouse.click_pos_x, + dy_mouse = p.y - pJS.interactivity.mouse.click_pos_y, + dist_mouse = Math.sqrt(dx_mouse * dx_mouse + dy_mouse * dy_mouse), + time_spent = + (new Date().getTime() - pJS.interactivity.mouse.click_time) / 1000; + + if (time_spent > pJS.interactivity.modes.bubble.duration) { + pJS.tmp.bubble_duration_end = true; + } + + if (time_spent > pJS.interactivity.modes.bubble.duration * 2) { + pJS.tmp.bubble_clicking = false; + pJS.tmp.bubble_duration_end = false; + } + } + + function process(bubble_param, particles_param, p_obj_bubble, p_obj, id) { + if (bubble_param != particles_param) { + if (!pJS.tmp.bubble_duration_end) { + if (dist_mouse <= pJS.interactivity.modes.bubble.distance) { + if (p_obj_bubble != undefined) var obj = p_obj_bubble; + else var obj = p_obj; + if (obj != bubble_param) { + var value = + p_obj - + (time_spent * (p_obj - bubble_param)) / + pJS.interactivity.modes.bubble.duration; + if (id == "size") p.radius_bubble = value; + if (id == "opacity") p.opacity_bubble = value; + } + } else { + if (id == "size") p.radius_bubble = undefined; + if (id == "opacity") p.opacity_bubble = undefined; + } + } else { + if (p_obj_bubble != undefined) { + var value_tmp = + p_obj - + (time_spent * (p_obj - bubble_param)) / + pJS.interactivity.modes.bubble.duration, + dif = bubble_param - value_tmp; + value = bubble_param + dif; + if (id == "size") p.radius_bubble = value; + if (id == "opacity") p.opacity_bubble = value; + } + } + } + } + + if (pJS.tmp.bubble_clicking) { + /* size */ + process( + pJS.interactivity.modes.bubble.size, + pJS.particles.size.value, + p.radius_bubble, + p.radius, + "size" + ); + /* opacity */ + process( + pJS.interactivity.modes.bubble.opacity, + pJS.particles.opacity.value, + p.opacity_bubble, + p.opacity, + "opacity" + ); + } + } + }; + + pJS.fn.modes.repulseParticle = function (p) { + if ( + pJS.interactivity.events.onhover.enable && + isInArray("repulse", pJS.interactivity.events.onhover.mode) && + pJS.interactivity.status == "mousemove" + ) { + var dx_mouse = p.x - pJS.interactivity.mouse.pos_x, + dy_mouse = p.y - pJS.interactivity.mouse.pos_y, + dist_mouse = Math.sqrt(dx_mouse * dx_mouse + dy_mouse * dy_mouse); + + var normVec = { x: dx_mouse / dist_mouse, y: dy_mouse / dist_mouse }, + repulseRadius = pJS.interactivity.modes.repulse.distance, + velocity = 100, + repulseFactor = clamp( + (1 / repulseRadius) * + (-1 * Math.pow(dist_mouse / repulseRadius, 2) + 1) * + repulseRadius * + velocity, + 0, + 50 + ); + + var pos = { + x: p.x + normVec.x * repulseFactor, + y: p.y + normVec.y * repulseFactor, + }; + + if (pJS.particles.move.out_mode == "bounce") { + if (pos.x - p.radius > 0 && pos.x + p.radius < pJS.canvas.w) + p.x = pos.x; + if (pos.y - p.radius > 0 && pos.y + p.radius < pJS.canvas.h) + p.y = pos.y; + } else { + p.x = pos.x; + p.y = pos.y; + } + } else if ( + pJS.interactivity.events.onclick.enable && + isInArray("repulse", pJS.interactivity.events.onclick.mode) + ) { + if (!pJS.tmp.repulse_finish) { + pJS.tmp.repulse_count++; + if (pJS.tmp.repulse_count == pJS.particles.array.length) { + pJS.tmp.repulse_finish = true; + } + } + + if (pJS.tmp.repulse_clicking) { + var repulseRadius = Math.pow( + pJS.interactivity.modes.repulse.distance / 6, + 3 + ); + + var dx = pJS.interactivity.mouse.click_pos_x - p.x, + dy = pJS.interactivity.mouse.click_pos_y - p.y, + d = dx * dx + dy * dy; + + var force = (-repulseRadius / d) * 1; + + function process() { + var f = Math.atan2(dy, dx); + p.vx = force * Math.cos(f); + p.vy = force * Math.sin(f); + + if (pJS.particles.move.out_mode == "bounce") { + var pos = { + x: p.x + p.vx, + y: p.y + p.vy, + }; + if (pos.x + p.radius > pJS.canvas.w) p.vx = -p.vx; + else if (pos.x - p.radius < 0) p.vx = -p.vx; + if (pos.y + p.radius > pJS.canvas.h) p.vy = -p.vy; + else if (pos.y - p.radius < 0) p.vy = -p.vy; + } + } + + // default + if (d <= repulseRadius) { + process(); + } + + // bang - slow motion mode + // if(!pJS.tmp.repulse_finish){ + // if(d <= repulseRadius){ + // process(); + // } + // }else{ + // process(); + // } + } else { + if (pJS.tmp.repulse_clicking == false) { + p.vx = p.vx_i; + p.vy = p.vy_i; + } + } + } + }; + + pJS.fn.modes.grabParticle = function (p) { + if ( + pJS.interactivity.events.onhover.enable && + pJS.interactivity.status == "mousemove" + ) { + var dx_mouse = p.x - pJS.interactivity.mouse.pos_x, + dy_mouse = p.y - pJS.interactivity.mouse.pos_y, + dist_mouse = Math.sqrt(dx_mouse * dx_mouse + dy_mouse * dy_mouse); + + /* draw a line between the cursor and the particle if the distance between them is under the config distance */ + if (dist_mouse <= pJS.interactivity.modes.grab.distance) { + var opacity_line = + pJS.interactivity.modes.grab.line_linked.opacity - + dist_mouse / + (1 / pJS.interactivity.modes.grab.line_linked.opacity) / + pJS.interactivity.modes.grab.distance; + + if (opacity_line > 0) { + /* style */ + var color_line = pJS.particles.line_linked.color_rgb_line; + pJS.canvas.ctx.strokeStyle = + "rgba(" + + color_line.r + + "," + + color_line.g + + "," + + color_line.b + + "," + + opacity_line + + ")"; + pJS.canvas.ctx.lineWidth = pJS.particles.line_linked.width; + //pJS.canvas.ctx.lineCap = 'round'; /* performance issue */ + + /* path */ + pJS.canvas.ctx.beginPath(); + pJS.canvas.ctx.moveTo(p.x, p.y); + pJS.canvas.ctx.lineTo( + pJS.interactivity.mouse.pos_x, + pJS.interactivity.mouse.pos_y + ); + pJS.canvas.ctx.stroke(); + pJS.canvas.ctx.closePath(); + } + } + } + }; + + /* ---------- pJS functions - vendors ------------ */ + + pJS.fn.vendors.eventsListeners = function () { + /* events target element */ + if (pJS.interactivity.detect_on == "window") { + pJS.interactivity.el = window; + } else { + pJS.interactivity.el = pJS.canvas.el; + } + + /* detect mouse pos - on hover / click event */ + if ( + pJS.interactivity.events.onhover.enable || + pJS.interactivity.events.onclick.enable + ) { + /* el on mousemove */ + pJS.interactivity.el.addEventListener("mousemove", function (e) { + if (pJS.interactivity.el == window) { + var pos_x = e.clientX, + pos_y = e.clientY; + } else { + var pos_x = e.offsetX || e.clientX, + pos_y = e.offsetY || e.clientY; + } + + pJS.interactivity.mouse.pos_x = pos_x; + pJS.interactivity.mouse.pos_y = pos_y; + + if (pJS.tmp.retina) { + pJS.interactivity.mouse.pos_x *= pJS.canvas.pxratio; + pJS.interactivity.mouse.pos_y *= pJS.canvas.pxratio; + } + + pJS.interactivity.status = "mousemove"; + }); + + /* el on onmouseleave */ + pJS.interactivity.el.addEventListener("mouseleave", function (e) { + pJS.interactivity.mouse.pos_x = null; + pJS.interactivity.mouse.pos_y = null; + pJS.interactivity.status = "mouseleave"; + }); + } + + /* on click event */ + if (pJS.interactivity.events.onclick.enable) { + pJS.interactivity.el.addEventListener("click", function () { + pJS.interactivity.mouse.click_pos_x = pJS.interactivity.mouse.pos_x; + pJS.interactivity.mouse.click_pos_y = pJS.interactivity.mouse.pos_y; + pJS.interactivity.mouse.click_time = new Date().getTime(); + + if (pJS.interactivity.events.onclick.enable) { + switch (pJS.interactivity.events.onclick.mode) { + case "push": + if (pJS.particles.move.enable) { + pJS.fn.modes.pushParticles( + pJS.interactivity.modes.push.particles_nb, + pJS.interactivity.mouse + ); + } else { + if (pJS.interactivity.modes.push.particles_nb == 1) { + pJS.fn.modes.pushParticles( + pJS.interactivity.modes.push.particles_nb, + pJS.interactivity.mouse + ); + } else if (pJS.interactivity.modes.push.particles_nb > 1) { + pJS.fn.modes.pushParticles( + pJS.interactivity.modes.push.particles_nb + ); + } + } + break; + + case "remove": + pJS.fn.modes.removeParticles( + pJS.interactivity.modes.remove.particles_nb + ); + break; + + case "bubble": + pJS.tmp.bubble_clicking = true; + break; + + case "repulse": + pJS.tmp.repulse_clicking = true; + pJS.tmp.repulse_count = 0; + pJS.tmp.repulse_finish = false; + setTimeout(function () { + pJS.tmp.repulse_clicking = false; + }, pJS.interactivity.modes.repulse.duration * 1000); + break; + } + } + }); + } + }; + + pJS.fn.vendors.densityAutoParticles = function () { + if (pJS.particles.number.density.enable) { + /* calc area */ + var area = (pJS.canvas.el.width * pJS.canvas.el.height) / 1000; + if (pJS.tmp.retina) { + area = area / (pJS.canvas.pxratio * 2); + } + + /* calc number of particles based on density area */ + var nb_particles = + (area * pJS.particles.number.value) / + pJS.particles.number.density.value_area; + + /* add or remove X particles */ + var missing_particles = pJS.particles.array.length - nb_particles; + if (missing_particles < 0) + pJS.fn.modes.pushParticles(Math.abs(missing_particles)); + else pJS.fn.modes.removeParticles(missing_particles); + } + }; + + pJS.fn.vendors.checkOverlap = function (p1, position) { + for (var i = 0; i < pJS.particles.array.length; i++) { + var p2 = pJS.particles.array[i]; + + var dx = p1.x - p2.x, + dy = p1.y - p2.y, + dist = Math.sqrt(dx * dx + dy * dy); + + if (dist <= p1.radius + p2.radius) { + p1.x = position ? position.x : Math.random() * pJS.canvas.w; + p1.y = position ? position.y : Math.random() * pJS.canvas.h; + pJS.fn.vendors.checkOverlap(p1); + } + } + }; + + pJS.fn.vendors.createSvgImg = function (p) { + /* set color to svg element */ + var svgXml = pJS.tmp.source_svg, + rgbHex = /#([0-9A-F]{3,6})/gi, + coloredSvgXml = svgXml.replace(rgbHex, function (m, r, g, b) { + if (p.color.rgb) { + var color_value = + "rgba(" + + p.color.rgb.r + + "," + + p.color.rgb.g + + "," + + p.color.rgb.b + + "," + + p.opacity + + ")"; + } else { + var color_value = + "hsla(" + + p.color.hsl.h + + "," + + p.color.hsl.s + + "%," + + p.color.hsl.l + + "%," + + p.opacity + + ")"; + } + return color_value; + }); + + /* prepare to create img with colored svg */ + var svg = new Blob([coloredSvgXml], { + type: "image/svg+xml;charset=utf-8", + }), + DOMURL = window.URL || window.webkitURL || window, + url = DOMURL.createObjectURL(svg); + + /* create particle img obj */ + var img = new Image(); + img.addEventListener("load", function () { + p.img.obj = img; + p.img.loaded = true; + DOMURL.revokeObjectURL(url); + pJS.tmp.count_svg++; + }); + img.src = url; + }; + + pJS.fn.vendors.destroypJS = function () { + cancelAnimationFrame(pJS.fn.drawAnimFrame); + canvas_el.remove(); + pJSDom = null; + }; + + pJS.fn.vendors.drawShape = function ( + c, + startX, + startY, + sideLength, + sideCountNumerator, + sideCountDenominator + ) { + // By Programming Thomas - https://programmingthomas.wordpress.com/2013/04/03/n-sided-shapes/ + var sideCount = sideCountNumerator * sideCountDenominator; + var decimalSides = sideCountNumerator / sideCountDenominator; + var interiorAngleDegrees = (180 * (decimalSides - 2)) / decimalSides; + var interiorAngle = Math.PI - (Math.PI * interiorAngleDegrees) / 180; // convert to radians + c.save(); + c.beginPath(); + c.translate(startX, startY); + c.moveTo(0, 0); + for (var i = 0; i < sideCount; i++) { + c.lineTo(sideLength, 0); + c.translate(sideLength, 0); + c.rotate(interiorAngle); + } + //c.stroke(); + c.fill(); + c.restore(); + }; + + pJS.fn.vendors.exportImg = function () { + window.open(pJS.canvas.el.toDataURL("image/png"), "_blank"); + }; + + pJS.fn.vendors.loadImg = function (type) { + pJS.tmp.img_error = undefined; + + if (pJS.particles.shape.image.src != "") { + if (type == "svg") { + var xhr = new XMLHttpRequest(); + xhr.open("GET", pJS.particles.shape.image.src); + xhr.onreadystatechange = function (data) { + if (xhr.readyState == 4) { + if (xhr.status == 200) { + pJS.tmp.source_svg = data.currentTarget.response; + pJS.fn.vendors.checkBeforeDraw(); + } else { + console.log("Error pJS - Image not found"); + pJS.tmp.img_error = true; + } + } + }; + xhr.send(); + } else { + var img = new Image(); + img.addEventListener("load", function () { + pJS.tmp.img_obj = img; + pJS.fn.vendors.checkBeforeDraw(); + }); + img.src = pJS.particles.shape.image.src; + } + } else { + console.log("Error pJS - No image.src"); + pJS.tmp.img_error = true; + } + }; + + pJS.fn.vendors.draw = function () { + if (pJS.particles.shape.type == "image") { + if (pJS.tmp.img_type == "svg") { + if (pJS.tmp.count_svg >= pJS.particles.number.value) { + pJS.fn.particlesDraw(); + if (!pJS.particles.move.enable) + cancelRequestAnimFrame(pJS.fn.drawAnimFrame); + else pJS.fn.drawAnimFrame = requestAnimFrame(pJS.fn.vendors.draw); + } else { + //console.log('still loading...'); + if (!pJS.tmp.img_error) + pJS.fn.drawAnimFrame = requestAnimFrame(pJS.fn.vendors.draw); + } + } else { + if (pJS.tmp.img_obj != undefined) { + pJS.fn.particlesDraw(); + if (!pJS.particles.move.enable) + cancelRequestAnimFrame(pJS.fn.drawAnimFrame); + else pJS.fn.drawAnimFrame = requestAnimFrame(pJS.fn.vendors.draw); + } else { + if (!pJS.tmp.img_error) + pJS.fn.drawAnimFrame = requestAnimFrame(pJS.fn.vendors.draw); + } + } + } else { + pJS.fn.particlesDraw(); + if (!pJS.particles.move.enable) + cancelRequestAnimFrame(pJS.fn.drawAnimFrame); + else pJS.fn.drawAnimFrame = requestAnimFrame(pJS.fn.vendors.draw); + } + }; + + pJS.fn.vendors.checkBeforeDraw = function () { + // if shape is image + if (pJS.particles.shape.type == "image") { + if (pJS.tmp.img_type == "svg" && pJS.tmp.source_svg == undefined) { + pJS.tmp.checkAnimFrame = requestAnimFrame(check); + } else { + //console.log('images loaded! cancel check'); + cancelRequestAnimFrame(pJS.tmp.checkAnimFrame); + if (!pJS.tmp.img_error) { + pJS.fn.vendors.init(); + pJS.fn.vendors.draw(); + } + } + } else { + pJS.fn.vendors.init(); + pJS.fn.vendors.draw(); + } + }; + + pJS.fn.vendors.init = function () { + /* init canvas + particles */ + pJS.fn.retinaInit(); + pJS.fn.canvasInit(); + pJS.fn.canvasSize(); + pJS.fn.canvasPaint(); + pJS.fn.particlesCreate(); + pJS.fn.vendors.densityAutoParticles(); + + /* particles.line_linked - convert hex colors to rgb */ + pJS.particles.line_linked.color_rgb_line = hexToRgb( + pJS.particles.line_linked.color + ); + }; + + pJS.fn.vendors.start = function () { + if (isInArray("image", pJS.particles.shape.type)) { + pJS.tmp.img_type = pJS.particles.shape.image.src.substr( + pJS.particles.shape.image.src.length - 3 + ); + pJS.fn.vendors.loadImg(pJS.tmp.img_type); + } else { + pJS.fn.vendors.checkBeforeDraw(); + } + }; + + /* ---------- pJS - start ------------ */ + + pJS.fn.vendors.eventsListeners(); + + pJS.fn.vendors.start(); +}; + +/* ---------- global functions - vendors ------------ */ + +Object.deepExtend = function (destination, source) { + for (var property in source) { + if ( + source[property] && + source[property].constructor && + source[property].constructor === Object + ) { + destination[property] = destination[property] || {}; + arguments.callee(destination[property], source[property]); + } else { + destination[property] = source[property]; + } + } + return destination; +}; + +window.requestAnimFrame = (function () { + return ( + window.requestAnimationFrame || + window.webkitRequestAnimationFrame || + window.mozRequestAnimationFrame || + window.oRequestAnimationFrame || + window.msRequestAnimationFrame || + function (callback) { + window.setTimeout(callback, 1000 / 60); + } + ); +})(); + +window.cancelRequestAnimFrame = (function () { + return ( + window.cancelAnimationFrame || + window.webkitCancelRequestAnimationFrame || + window.mozCancelRequestAnimationFrame || + window.oCancelRequestAnimationFrame || + window.msCancelRequestAnimationFrame || + clearTimeout + ); +})(); + +function hexToRgb(hex) { + // By Tim Down - http://stackoverflow.com/a/5624139/3493650 + // Expand shorthand form (e.g. "03F") to full form (e.g. "0033FF") + var shorthandRegex = /^#?([a-f\d])([a-f\d])([a-f\d])$/i; + hex = hex.replace(shorthandRegex, function (m, r, g, b) { + return r + r + g + g + b + b; + }); + var result = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(hex); + return result + ? { + r: parseInt(result[1], 16), + g: parseInt(result[2], 16), + b: parseInt(result[3], 16), + } + : null; +} + +function clamp(number, min, max) { + return Math.min(Math.max(number, min), max); +} + +function isInArray(value, array) { + return array.indexOf(value) > -1; +} + +/* ---------- particles.js functions - start ------------ */ + +window.pJSDom = []; + +window.particlesJS = function (tag_id, params) { + //console.log(params); + + /* no string id? so it's object params, and set the id with default id */ + if (typeof tag_id != "string") { + params = tag_id; + tag_id = "particles-js"; + } + + /* no id? set the id to default id */ + if (!tag_id) { + tag_id = "particles-js"; + } + + /* pJS elements */ + var pJS_tag = document.getElementById(tag_id), + pJS_canvas_class = "particles-js-canvas-el", + exist_canvas = pJS_tag.getElementsByClassName(pJS_canvas_class); + + /* remove canvas if exists into the pJS target tag */ + if (exist_canvas.length) { + while (exist_canvas.length > 0) { + pJS_tag.removeChild(exist_canvas[0]); + } + } + + /* create canvas element */ + var canvas_el = document.createElement("canvas"); + canvas_el.className = pJS_canvas_class; + + /* set size canvas */ + canvas_el.style.width = "100%"; + canvas_el.style.height = "100%"; + + /* append canvas */ + var canvas = document.getElementById(tag_id).appendChild(canvas_el); + + /* launch particle.js */ + if (canvas != null) { + pJSDom.push(new pJS(tag_id, params)); + } +}; + +window.particlesJS.load = function (tag_id, path_config_json, callback) { + /* load json config */ + var xhr = new XMLHttpRequest(); + xhr.open("GET", path_config_json); + xhr.onreadystatechange = function (data) { + if (xhr.readyState == 4) { + if (xhr.status == 200) { + var params = JSON.parse(data.currentTarget.response); + window.particlesJS(tag_id, params); + if (callback) callback(); + } else { + console.log("Error pJS - XMLHttpRequest status: " + xhr.status); + console.log("Error pJS - File config not found"); + } + } + }; + xhr.send(); +}; diff --git a/data-sources/particles.json b/data-sources/particles.json new file mode 100644 index 0000000..138ebdd --- /dev/null +++ b/data-sources/particles.json @@ -0,0 +1,110 @@ +{ + "particles": { + "number": { + "value": 14, + "density": { + "enable": true, + "value_area": 800 + } + }, + "color": { + "value": "#4d5022" + }, + "shape": { + "type": "circle", + "stroke": { + "width": 0, + "color": "#000" + }, + "polygon": { + "nb_sides": 6 + }, + "image": { + "src": "img/github.svg", + "width": 100, + "height": 100 + } + }, + "opacity": { + "value": 0.3, + "random": true, + "anim": { + "enable": false, + "speed": 1, + "opacity_min": 0.1, + "sync": false + } + }, + "size": { + "value": 142.0465754938091, + "random": true, + "anim": { + "enable": true, + "speed": 10, + "size_min": 40, + "sync": false + } + }, + "line_linked": { + "enable": false, + "distance": 200, + "color": "#ffffff", + "opacity": 1, + "width": 2 + }, + "move": { + "enable": true, + "speed": 8, + "direction": "none", + "random": false, + "straight": false, + "out_mode": "out", + "bounce": false, + "attract": { + "enable": false, + "rotateX": 600, + "rotateY": 1200 + } + } + }, + "interactivity": { + "detect_on": "canvas", + "events": { + "onhover": { + "enable": false, + "mode": "repulse" + }, + "onclick": { + "enable": false, + "mode": "remove" + }, + "resize": true + }, + "modes": { + "grab": { + "distance": 400, + "line_linked": { + "opacity": 1 + } + }, + "bubble": { + "distance": 400, + "size": 40, + "duration": 2, + "opacity": 8, + "speed": 3 + }, + "repulse": { + "distance": 200, + "duration": 0.4 + }, + "push": { + "particles_nb": 4 + }, + "remove": { + "particles_nb": 2 + } + } + }, + "retina_detect": true +} \ No newline at end of file diff --git a/index.html b/index.html index 2c54fd1..559dab8 100644 --- a/index.html +++ b/index.html @@ -5,13 +5,12 @@ - PhaseWeb 3 - - + + - +