diff --git a/assets/ArcadeCard.d52b5351.js b/assets/ArcadeCard.68c754be.js similarity index 96% rename from assets/ArcadeCard.d52b5351.js rename to assets/ArcadeCard.68c754be.js index 39cd62b..3800164 100644 --- a/assets/ArcadeCard.d52b5351.js +++ b/assets/ArcadeCard.68c754be.js @@ -1,4 +1,4 @@ -import{o as e,d as l,w as _,a as g,ai as x,b as a,t as s,g as c,X as i,c as n,F as y,r as k,R as u,aj as p,h as m,ak as D,al as w,n as B,_ as v}from"./index.49bfadcb.js";import{g as S}from"./area.7873ab93.js";const j={class:"space-y-3 text-center"},A={class:"text-2xl lg:text-3xl font-bold"},C={class:"flex gap-2 justify-center items-center"},N={class:"text-2xl md:text-3xl font-bold lg:hidden"},V={class:"text-xl md:text-2xl font-bold"},$=a("hr",{class:"border-t border-1 w-full"},null,-1),O={class:"text-lg"},T={key:0},q={key:1},z=a("span",{class:"font-normal"},"and",-1),E={key:2},F={class:"flex flex-wrap gap-4 place-content-center"},M={__name:"ArcadeCard",props:{useSmall:{type:Boolean,required:!1,default:!0},arcadeData:{type:Object,required:!0}},setup(t){const b=t;function h(o){if(o!==null)return` +import{o as e,d as l,w as _,a as g,ai as x,b as a,t as s,g as c,X as i,c as n,F as y,r as k,R as u,aj as p,h as m,ak as D,al as w,n as B,_ as v}from"./index.b8f03a0d.js";import{g as S}from"./area.7873ab93.js";const j={class:"space-y-3 text-center"},A={class:"text-2xl lg:text-3xl font-bold"},C={class:"flex gap-2 justify-center items-center"},N={class:"text-2xl md:text-3xl font-bold lg:hidden"},V={class:"text-xl md:text-2xl font-bold"},$=a("hr",{class:"border-t border-1 w-full"},null,-1),O={class:"text-lg"},T={key:0},q={key:1},z=a("span",{class:"font-normal"},"and",-1),E={key:2},F={class:"flex flex-wrap gap-4 place-content-center"},M={__name:"ArcadeCard",props:{useSmall:{type:Boolean,required:!1,default:!0},arcadeData:{type:Object,required:!0}},setup(t){const b=t;function h(o){if(o!==null)return` background-image: url('${o}'); background-size: cover; background-repeat: no-repeat; diff --git a/assets/ArcadeView.b0a6f6bb.js b/assets/ArcadeView.7f681125.js similarity index 95% rename from assets/ArcadeView.b0a6f6bb.js rename to assets/ArcadeView.7f681125.js index c561154..b6962f8 100644 --- a/assets/ArcadeView.b0a6f6bb.js +++ b/assets/ArcadeView.7f681125.js @@ -1 +1 @@ -import{ae as $,J as g,z as y,af as A,o as h,c as x,b as s,a as e,D as k,g as l,p as m,t as I,h as P,ac as N,d as C,w as o,e as R,k as B,f as w,_ as p,Q as U,R as T,a2 as f,i as z,ag as E,ah as F}from"./index.49bfadcb.js";import{_ as L}from"./ArcadeCard.d52b5351.js";import{_ as b}from"./FormField.d8177f13.js";import{_ as c}from"./FormCheckRadio.dee6d755.js";import{_ as S}from"./FormControl.1a09880b.js";import{l as M}from"./area.7873ab93.js";const O={class:"flex items-stretch justify-start relative"},D={class:"inline-flex"},j=["accept"],q={key:0,class:"px-4 py-2 bg-gray-100 dark:bg-slate-800 border-gray-200 dark:border-slate-700 border rounded-r"},G={class:"text-ellipsis line-clamp-1"},W={__name:"FormFilePicker",props:{modelValue:{type:[Object,File,Array],default:null},label:{type:String,default:null},icon:{type:String,default:$},accept:{type:String,default:null},color:{type:String,default:"info"},isRoundIcon:Boolean},emits:["update:modelValue"],setup(t,{emit:_}){const u=t,a=g(null),i=g(u.modelValue),n=y(()=>!u.isRoundIcon&&i.value),r=y(()=>u.modelValue);A(r,d=>{i.value=d,d||(a.value.input.value=null)});const V=d=>{const v=d.target.files||d.dataTransfer.files;i.value=v[0],_("update:modelValue",i.value)};return(d,v)=>(h(),x("div",O,[s("label",D,[e(m,{as:"a",class:k({"w-12 h-12":t.isRoundIcon,"rounded-r-none":l(n)}),"icon-size":t.isRoundIcon?24:void 0,label:t.isRoundIcon?null:t.label,icon:t.icon,color:t.color,"rounded-full":t.isRoundIcon},null,8,["class","icon-size","label","icon","color","rounded-full"]),s("input",{ref_key:"root",ref:a,type:"file",class:"absolute top-0 left-0 w-full h-full opacity-0 outline-none cursor-pointer -z-1",accept:t.accept,onInput:V},null,40,j)]),l(n)?(h(),x("div",q,[s("span",G,I(i.value.name),1)])):P("",!0)]))}},J={class:"grid gap-4 grid-cols-2 md:grid-cols-4 mb-4"},Q={class:"grid grid-cols-1 gap-6 sm:grid-cols-2 mb-6"},H=s("h1",{class:"text-lg md:text-xl"},"OpenVPN Configuration",-1),K=s("p",{class:"pb-1 dark:text-white/50"}," Use this to export your VPN config. ",-1),X=s("h1",{class:"text-lg md:text-xl"},"Cover Photo",-1),Y=s("p",{class:"pb-1 dark:text-white/50"}," NSFW = BAN. Children use this server. 60MB max. ",-1),Z=s("h1",{class:"text-lg md:text-xl mb-2"},"Location Settings",-1),ee={class:"grid grid-cols-1 gap-6 sm:grid-cols-2 md:grid-cols-3 mb-6"},ie={__name:"ArcadeView",setup(t){const _=B(),u=parseInt(_.params.id),a=N.find(i=>i.id===u);return(i,n)=>(h(),C(R,null,{default:o(()=>[e(z,null,{default:o(()=>[e(L,{class:"mb-6","arcade-data":l(a)},null,8,["arcade-data"]),e(w,{icon:l(E),title:"Admin Overview",main:""},null,8,["icon"]),e(p,{"is-form":"",class:"mb-6",onSubmit:n[0]||(n[0]=U(()=>{},["prevent"]))},{default:o(()=>[e(T,{color:"info",label:"General Settings",class:"mb-4"}),s("div",J,[e(c,{"model-value":l(a).public,"input-value":l(a).public,name:"public",type:"switch",label:"Public Arcade",class:"outline outline-gray-400 rounded-xl outline-1 text-sm md:text-md p-2"},null,8,["model-value","input-value"]),e(c,{"model-value":l(a).paseli,"input-value":l(a).paseli,name:"paseli",type:"switch",label:"PASELI",class:"outline outline-gray-400 rounded-xl outline-1 text-sm md:text-md p-2"},null,8,["model-value","input-value"]),e(c,{"model-value":l(a).infinite_paseli,"input-value":l(a).infinite_paseli,name:"infinite_paseli",type:"switch",label:"Infinite PASELI",class:"outline outline-gray-400 rounded-xl outline-1 text-sm md:text-md p-2"},null,8,["model-value","input-value"]),e(c,{"model-value":l(a).maintenance,"input-value":l(a).maintenance,name:"maintenance",type:"switch",label:"Maintenance Mode",class:"outline outline-gray-400 rounded-xl outline-1 text-sm md:text-md p-2"},null,8,["model-value","input-value"])]),e(m,{color:"success",type:"submit",label:"Save",small:!1})]),_:1}),s("div",Q,[e(p,null,{default:o(()=>[H,K,e(m,{small:!1,color:"success",class:"my-2",label:"Export"})]),_:1}),e(p,null,{default:o(()=>[X,Y,e(W,{label:"Upload",name:"upload",accept:"image/*"}),e(m,{small:!1,color:"success",class:"mt-4",label:"Save"})]),_:1}),e(p,null,{default:o(()=>[Z,e(b,{label:"Area",help:"Set your arcade's area."},{default:o(()=>[e(S,{modelValue:l(a).area,"onUpdate:modelValue":n[1]||(n[1]=r=>l(a).area=r),name:"area",options:l(M)()},null,8,["modelValue","options"])]),_:1}),e(b,{label:"Address",help:"Set your arcade's address."},{default:o(()=>[e(S,{modelValue:l(a).address,"onUpdate:modelValue":n[2]||(n[2]=r=>l(a).address=r),name:"address",placeholder:"No address"},null,8,["modelValue"])]),_:1}),e(b,{label:"Show Address",help:"Allow your arcade's address to be seen publicly."},{default:o(()=>[e(c,{"model-value":l(a).show_address,"input-value":l(a).show_address,name:"show_address",type:"switch"},null,8,["model-value","input-value"])]),_:1}),e(m,{small:!1,color:"success",class:"mt-4",label:"Save"})]),_:1})]),e(w,{icon:l(F),title:"Arcade Overview",main:""},null,8,["icon"]),s("div",ee,[e(f,{trend:"12% (from last week)","trend-type":"up",number:37,label:"Arcade Scores (This Week)"}),e(f,{trend:"40% (from last month)","trend-type":"up",number:3,label:"Unique Games (All Time)"}),e(f,{trend:"No new players this week",number:2,label:"Unique Players (All Time)"}),e(f,{trend:"40% (from last month)","trend-type":"up",number:123456789,prefix:"\xA5",label:"PASELI Spent (This Month)"})])]),_:1})]),_:1}))}};export{ie as default}; +import{ae as $,J as g,z as y,af as A,o as h,c as x,b as s,a as e,D as k,g as l,p as m,t as I,h as P,ac as N,d as C,w as o,e as R,k as B,f as w,_ as p,Q as U,R as T,a2 as f,i as z,ag as E,ah as F}from"./index.b8f03a0d.js";import{_ as L}from"./ArcadeCard.68c754be.js";import{_ as b}from"./FormField.2697e642.js";import{_ as c}from"./FormCheckRadio.9c468987.js";import{_ as S}from"./FormControl.6e614227.js";import{l as M}from"./area.7873ab93.js";const O={class:"flex items-stretch justify-start relative"},D={class:"inline-flex"},j=["accept"],q={key:0,class:"px-4 py-2 bg-gray-100 dark:bg-slate-800 border-gray-200 dark:border-slate-700 border rounded-r"},G={class:"text-ellipsis line-clamp-1"},W={__name:"FormFilePicker",props:{modelValue:{type:[Object,File,Array],default:null},label:{type:String,default:null},icon:{type:String,default:$},accept:{type:String,default:null},color:{type:String,default:"info"},isRoundIcon:Boolean},emits:["update:modelValue"],setup(t,{emit:_}){const u=t,a=g(null),i=g(u.modelValue),n=y(()=>!u.isRoundIcon&&i.value),r=y(()=>u.modelValue);A(r,d=>{i.value=d,d||(a.value.input.value=null)});const V=d=>{const v=d.target.files||d.dataTransfer.files;i.value=v[0],_("update:modelValue",i.value)};return(d,v)=>(h(),x("div",O,[s("label",D,[e(m,{as:"a",class:k({"w-12 h-12":t.isRoundIcon,"rounded-r-none":l(n)}),"icon-size":t.isRoundIcon?24:void 0,label:t.isRoundIcon?null:t.label,icon:t.icon,color:t.color,"rounded-full":t.isRoundIcon},null,8,["class","icon-size","label","icon","color","rounded-full"]),s("input",{ref_key:"root",ref:a,type:"file",class:"absolute top-0 left-0 w-full h-full opacity-0 outline-none cursor-pointer -z-1",accept:t.accept,onInput:V},null,40,j)]),l(n)?(h(),x("div",q,[s("span",G,I(i.value.name),1)])):P("",!0)]))}},J={class:"grid gap-4 grid-cols-2 md:grid-cols-4 mb-4"},Q={class:"grid grid-cols-1 gap-6 sm:grid-cols-2 mb-6"},H=s("h1",{class:"text-lg md:text-xl"},"OpenVPN Configuration",-1),K=s("p",{class:"pb-1 dark:text-white/50"}," Use this to export your VPN config. ",-1),X=s("h1",{class:"text-lg md:text-xl"},"Cover Photo",-1),Y=s("p",{class:"pb-1 dark:text-white/50"}," NSFW = BAN. Children use this server. 60MB max. ",-1),Z=s("h1",{class:"text-lg md:text-xl mb-2"},"Location Settings",-1),ee={class:"grid grid-cols-1 gap-6 sm:grid-cols-2 md:grid-cols-3 mb-6"},ie={__name:"ArcadeView",setup(t){const _=B(),u=parseInt(_.params.id),a=N.find(i=>i.id===u);return(i,n)=>(h(),C(R,null,{default:o(()=>[e(z,null,{default:o(()=>[e(L,{class:"mb-6","arcade-data":l(a)},null,8,["arcade-data"]),e(w,{icon:l(E),title:"Admin Overview",main:""},null,8,["icon"]),e(p,{"is-form":"",class:"mb-6",onSubmit:n[0]||(n[0]=U(()=>{},["prevent"]))},{default:o(()=>[e(T,{color:"info",label:"General Settings",class:"mb-4"}),s("div",J,[e(c,{"model-value":l(a).public,"input-value":l(a).public,name:"public",type:"switch",label:"Public Arcade",class:"outline outline-gray-400 rounded-xl outline-1 text-sm md:text-md p-2"},null,8,["model-value","input-value"]),e(c,{"model-value":l(a).paseli,"input-value":l(a).paseli,name:"paseli",type:"switch",label:"PASELI",class:"outline outline-gray-400 rounded-xl outline-1 text-sm md:text-md p-2"},null,8,["model-value","input-value"]),e(c,{"model-value":l(a).infinite_paseli,"input-value":l(a).infinite_paseli,name:"infinite_paseli",type:"switch",label:"Infinite PASELI",class:"outline outline-gray-400 rounded-xl outline-1 text-sm md:text-md p-2"},null,8,["model-value","input-value"]),e(c,{"model-value":l(a).maintenance,"input-value":l(a).maintenance,name:"maintenance",type:"switch",label:"Maintenance Mode",class:"outline outline-gray-400 rounded-xl outline-1 text-sm md:text-md p-2"},null,8,["model-value","input-value"])]),e(m,{color:"success",type:"submit",label:"Save",small:!1})]),_:1}),s("div",Q,[e(p,null,{default:o(()=>[H,K,e(m,{small:!1,color:"success",class:"my-2",label:"Export"})]),_:1}),e(p,null,{default:o(()=>[X,Y,e(W,{label:"Upload",name:"upload",accept:"image/*"}),e(m,{small:!1,color:"success",class:"mt-4",label:"Save"})]),_:1}),e(p,null,{default:o(()=>[Z,e(b,{label:"Area",help:"Set your arcade's area."},{default:o(()=>[e(S,{modelValue:l(a).area,"onUpdate:modelValue":n[1]||(n[1]=r=>l(a).area=r),name:"area",options:l(M)()},null,8,["modelValue","options"])]),_:1}),e(b,{label:"Address",help:"Set your arcade's address."},{default:o(()=>[e(S,{modelValue:l(a).address,"onUpdate:modelValue":n[2]||(n[2]=r=>l(a).address=r),name:"address",placeholder:"No address"},null,8,["modelValue"])]),_:1}),e(b,{label:"Show Address",help:"Allow your arcade's address to be seen publicly."},{default:o(()=>[e(c,{"model-value":l(a).show_address,"input-value":l(a).show_address,name:"show_address",type:"switch"},null,8,["model-value","input-value"])]),_:1}),e(m,{small:!1,color:"success",class:"mt-4",label:"Save"})]),_:1})]),e(w,{icon:l(F),title:"Arcade Overview",main:""},null,8,["icon"]),s("div",ee,[e(f,{trend:"12% (from last week)","trend-type":"up",number:37,label:"Arcade Scores (This Week)"}),e(f,{trend:"40% (from last month)","trend-type":"up",number:3,label:"Unique Games (All Time)"}),e(f,{trend:"No new players this week",number:2,label:"Unique Players (All Time)"}),e(f,{trend:"40% (from last month)","trend-type":"up",number:123456789,prefix:"\xA5",label:"PASELI Spent (This Month)"})])]),_:1})]),_:1}))}};export{ie as default}; diff --git a/assets/ArcadesView.60b1bd64.js b/assets/ArcadesView.6d02468a.js similarity index 90% rename from assets/ArcadesView.60b1bd64.js rename to assets/ArcadesView.6d02468a.js index 6aca562..e243365 100644 --- a/assets/ArcadesView.60b1bd64.js +++ b/assets/ArcadesView.6d02468a.js @@ -1,4 +1,4 @@ -import{u as x,o as a,c as t,a as c,w as u,b as r,t as l,g as s,X as i,h as g,F as b,r as k,n as C,_ as $,s as A,d as f,e as V,ac as v,f as D,i as B,ad as S}from"./index.49bfadcb.js";import{C as L}from"./CardBoxComponentEmpty.1ecaf60a.js";import{g as N}from"./area.7873ab93.js";import{_ as F}from"./FormField.d8177f13.js";import{_ as j}from"./FormControl.1a09880b.js";const z={class:"outline outline-slate-800/75 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"},E={class:"text-xl font-bold"},O={class:"text-lg"},q={class:"lg:hidden text-xl"},M={key:0,class:"text-lg"},P=r("hr",{class:"pb-1 my-1"},null,-1),R={class:"text-lg"},T={key:0},U={key:1},X=r("span",{class:"font-normal"},"and",-1),G={key:2},H={__name:"CardBoxArcade",props:{arcadeData:{type:Object,required:!0}},setup(n){const e=n.arcadeData,o=x();function y(){return` +import{u as x,o as a,c as t,a as c,w as u,b as r,t as l,g as s,X as i,h as g,F as b,r as k,n as C,_ as $,s as A,d as f,e as V,ac as v,f as D,i as B,ad as S}from"./index.b8f03a0d.js";import{C as L}from"./CardBoxComponentEmpty.79c377cf.js";import{g as N}from"./area.7873ab93.js";import{_ as F}from"./FormField.2697e642.js";import{_ as j}from"./FormControl.6e614227.js";const z={class:"outline outline-slate-800/75 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"},E={class:"text-xl font-bold"},O={class:"text-lg"},q={class:"lg:hidden text-xl"},M={key:0,class:"text-lg"},P=r("hr",{class:"pb-1 my-1"},null,-1),R={class:"text-lg"},T={key:0},U={key:1},X=r("span",{class:"font-normal"},"and",-1),G={key:2},H={__name:"CardBoxArcade",props:{arcadeData:{type:Object,required:!0}},setup(n){const e=n.arcadeData,o=x();function y(){return` background-image: linear-gradient(to bottom, transparent, rgba(0, 0, 0, .6)), url('${e.image}'); background-size: cover; diff --git a/assets/CardBoxComponentEmpty.1ecaf60a.js b/assets/CardBoxComponentEmpty.79c377cf.js similarity index 75% rename from assets/CardBoxComponentEmpty.1ecaf60a.js rename to assets/CardBoxComponentEmpty.79c377cf.js index d12363f..2b970e5 100644 --- a/assets/CardBoxComponentEmpty.1ecaf60a.js +++ b/assets/CardBoxComponentEmpty.79c377cf.js @@ -1 +1 @@ -import{j as e,o as t,c as o,b as s}from"./index.49bfadcb.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}; +import{j as e,o as t,c as o,b as s}from"./index.b8f03a0d.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/CardsView.34cca214.js b/assets/CardsView.0f5779c4.js similarity index 95% rename from assets/CardsView.34cca214.js rename to assets/CardsView.0f5779c4.js index 07c7799..bc149c0 100644 --- a/assets/CardsView.34cca214.js +++ b/assets/CardsView.0f5779c4.js @@ -1 +1 @@ -import{d as i,w as l,e as r,o,a as e,P as d,f as _,g as n,b as s,c as m,r as u,F as p,i as g,a1 as f,t as C,p as t}from"./index.49bfadcb.js";import{d as b}from"./userData.bcc92478.js";const h="/assets/passes/generic.png",x=s("div",{class:"text-xl mb-4"},[s("h4",null,"AC = Web Access Code"),s("h4",null,"NFC-ID = Internal ID for card0.txt")],-1),y={class:"grid grid-cols-1 md:grid-cols-3 gap-6"},F={class:"flex justify-between md:grid md:gap-2 mb-4 items-center"},v=s("img",{src:h,class:"w-24 md:w-auto"},null,-1),w={class:"text-xl text-center font-mono"},A={class:"grid grid-cols-3 md:grid-cols-2 gap-2"},R={__name:"CardsView",setup(B){const c=["YRZ2FGHW24JJTU2E","Z1Y0WWAMXGRMZY26","1RJKZLBFKSK2AB2F","R1Y4H1J7GSUZSR2P","7JNC815MHXU33222"];return(D,k)=>(o(),i(r,null,{default:l(()=>[e(g,null,{default:l(()=>[e(d,{class:"mb-6","use-small":"","even-smaller":""}),e(_,{icon:n(f),title:"Login Cards",main:""},null,8,["icon"]),x,s("div",y,[(o(),m(p,null,u(c,a=>s("div",{key:a,class:"grid dark:bg-slate-900/70 rounded-2xl p-5"},[s("div",F,[v,s("h1",w,C(n(b)(a)),1)]),s("div",A,[e(t,{type:"submit",color:"info",label:"Copy AC"}),e(t,{type:"submit",color:"info",label:"Copy NFC-ID"}),e(t,{type:"submit",color:"danger",label:"Delete"})])])),64))])]),_:1})]),_:1}))}};export{R as default}; +import{d as i,w as l,e as r,o,a as e,P as d,f as _,g as n,b as s,c as m,r as u,F as p,i as g,a1 as f,t as C,p as t}from"./index.b8f03a0d.js";import{d as b}from"./userData.bcc92478.js";const h="/assets/passes/generic.png",x=s("div",{class:"text-xl mb-4"},[s("h4",null,"AC = Web Access Code"),s("h4",null,"NFC-ID = Internal ID for card0.txt")],-1),y={class:"grid grid-cols-1 md:grid-cols-3 gap-6"},F={class:"flex justify-between md:grid md:gap-2 mb-4 items-center"},v=s("img",{src:h,class:"w-24 md:w-auto"},null,-1),w={class:"text-xl text-center font-mono"},A={class:"grid grid-cols-3 md:grid-cols-2 gap-2"},R={__name:"CardsView",setup(B){const c=["YRZ2FGHW24JJTU2E","Z1Y0WWAMXGRMZY26","1RJKZLBFKSK2AB2F","R1Y4H1J7GSUZSR2P","7JNC815MHXU33222"];return(D,k)=>(o(),i(r,null,{default:l(()=>[e(g,null,{default:l(()=>[e(d,{class:"mb-6","use-small":"","even-smaller":""}),e(_,{icon:n(f),title:"Login Cards",main:""},null,8,["icon"]),x,s("div",y,[(o(),m(p,null,u(c,a=>s("div",{key:a,class:"grid dark:bg-slate-900/70 rounded-2xl p-5"},[s("div",F,[v,s("h1",w,C(n(b)(a)),1)]),s("div",A,[e(t,{type:"submit",color:"info",label:"Copy AC"}),e(t,{type:"submit",color:"info",label:"Copy NFC-ID"}),e(t,{type:"submit",color:"danger",label:"Delete"})])])),64))])]),_:1})]),_:1}))}};export{R as default}; diff --git a/assets/CustomizeView.0fe84a03.js b/assets/CustomizeView.13ae1a7b.js similarity index 89% rename from assets/CustomizeView.0fe84a03.js rename to assets/CustomizeView.13ae1a7b.js index d285a0f..9cb0348 100644 --- a/assets/CustomizeView.0fe84a03.js +++ b/assets/CustomizeView.13ae1a7b.js @@ -1 +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.49bfadcb.js";import{_ as l}from"./FormControl.1a09880b.js";const f={class:"grid grid-cols-1 md:grid-cols-3 gap-6"},g=s("h2",{class:"text-lg mb-2"},"Avatar Source",-1),v=s("h2",{class:"text-lg mb-2"},"Avatar Border",-1),p=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":"","even-smaller":""}),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,[v,a(l,{options:["Trans Flag","Pride Flag"],"model-value":"Trans Flag",name:"border"})]),s("div",null,[p,a(l,{options:["Trans Flag","Pride Flag"],"model-value":"Trans Flag",name:"border"})])])]),_:1})])]),_:1})]),_:1}))}};export{P as default}; +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.b8f03a0d.js";import{_ as l}from"./FormControl.6e614227.js";const f={class:"grid grid-cols-1 md:grid-cols-3 gap-6"},g=s("h2",{class:"text-lg mb-2"},"Avatar Source",-1),v=s("h2",{class:"text-lg mb-2"},"Avatar Border",-1),p=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":"","even-smaller":""}),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,[v,a(l,{options:["Trans Flag","Pride Flag"],"model-value":"Trans Flag",name:"border"})]),s("div",null,[p,a(l,{options:["Trans Flag","Pride Flag"],"model-value":"Trans Flag",name:"border"})])])]),_:1})])]),_:1})]),_:1}))}};export{P as default}; diff --git a/assets/EditView.96e34608.js b/assets/EditView.96e34608.js new file mode 100644 index 0000000..a750ce7 --- /dev/null +++ b/assets/EditView.96e34608.js @@ -0,0 +1,5 @@ +import{s as v,am as V,d as n,w as d,e as $,k as x,u as P,o,a as l,b as i,p as _,g as m,c,h as s,f as B,n as C,_ as A,F as N,r as E,i as F,q as G,W as z}from"./index.b8f03a0d.js";import{_ as D}from"./ProfileCard.0f5ca27a.js";import{_ as R}from"./FormField.2697e642.js";import{_ as I}from"./FormCheckRadio.9c468987.js";import{_ as p}from"./FormControl.6e614227.js";import"./userData.bcc92478.js";const T={class:"md:flex pb-6 md:justify-between md:items-center"},L={key:0,class:"mt-2 md:mt-0 md:w-1/3 md:text-right"},U=i("h2",{class:"text-md sm:text-lg md:text-xl font-bold p-2"}," Select Version ",-1),W={class:"bg-white dark:bg-slate-900/90 rounded-2xl pt-6 p-3"},j={class:"w-full"},q={key:2},H={class:"space-x-2"},X={__name:"EditView",setup(M){const b=x(),h=P();var f=null,t=null;const r=v({currentVersion:null}),k=[{id:"username",name:"Username",help:"Set your username for this profile",type:String},{id:"fastSlow",name:"Fast/Slow Display",help:"Enable or disable displaying of Fast/Slow",type:Boolean},{id:"comboPosition",name:"Combo Position",help:"Change order of the combo and notes",type:Boolean},{id:"weight",name:"Weight (kg)",help:"Set your weight for in-game workout mode",type:Number},{id:"dancer",name:"Character",help:"Set your background dancer",type:Array,options:[{id:0,label:"Afro"},{id:1,label:"Emi"}]},{id:"arrow",name:"Arrow Skin",help:"Set your arrow skin",type:Array,options:[{id:0,label:"Normal"},{id:1,label:"Classic"}]}],g={id:1,name:"Trmazi",extid:12345678,avatar:"https://static.wikia.nocookie.net/dancedancerevolutionddr/images/3/3b/Yuni_img1.gif/",last:{arcade:"GhettoCade",date:"7/16/2023"},stats:{firstPlay:"1/14/2021",singlePlays:165,singleDan:1900,singlePoint:1877,doublePlays:15,doubleDan:0,doublePoint:187,skillPoints:95e4}},a=v({username:"TRMAZI",fastSlow:!0,comboPosition:!1,weight:100,dancer:0,arrow:1,guideLines:0,filter:3});f=b.params.game,t=V(f),t||h.push({name:"ErrorPage",params:{catchAll:"404"}}),t.versions||(r.currentVersion=1);function w(){var u=null;return r.currentVersion?u=`/assets/games/${t.id}/card/${r.currentVersion}.png`:u=t.cardBG,u}function S(){return` + background-image: url('${w()}'); + background-size: cover; + background-repeat: no-repeat; + `}return(u,y)=>(o(),n($,null,{default:d(()=>[l(F,null,{default:d(()=>[i("div",T,[l(_,{icon:m(G),href:`/#/games/${m(f)}`,class:"w-full md:w-auto",color:"info",label:"Go Back"},null,8,["icon","href"]),m(t).versions?(o(),c("div",L,[U,l(p,{modelValue:r.currentVersion,"onUpdate:modelValue":y[0]||(y[0]=e=>r.currentVersion=e),options:m(t).versions},null,8,["modelValue","options"])])):s("",!0)]),r.currentVersion?(o(),n(B,{key:0,icon:m(z),title:"Profile Customizations",main:""},null,8,["icon"])):s("",!0),r.currentVersion?(o(),c("div",{key:1,style:C(S()),class:"rounded-2xl mb-6"},[i("div",W,[i("div",j,[l(D,{"use-small":"",profile:g})])])],4)):s("",!0),r.currentVersion?(o(),c("div",q,[l(A,null,{footer:d(()=>[i("div",H,[l(_,{type:"submit",color:"success",label:"Save"}),l(_,{type:"submit",color:"danger",label:"Revert"})])]),default:d(()=>[i("div",null,[(o(),c(N,null,E(k,e=>l(R,{key:e.id,label:e.name,help:e.help},{default:d(()=>[e.type==String?(o(),n(p,{key:0,"v-model":a[e.id],"model-value":a[e.id]},null,8,["v-model","model-value"])):s("",!0),e.type==Number?(o(),n(p,{key:1,"v-model":a[e.id],"model-value":a[e.id],type:"number"},null,8,["v-model","model-value"])):s("",!0),e.type==Array?(o(),n(p,{key:2,options:e.options,"v-model":a[e.id],"model-value":a[e.id],selected:a[e.id]},null,8,["options","v-model","model-value","selected"])):s("",!0),e.type==Boolean?(o(),n(I,{key:3,"v-model":a[e.id],"model-value":a[e.id],type:"switch"},null,8,["v-model","model-value"])):s("",!0)]),_:2},1032,["label","help"])),64))])]),_:1})])):s("",!0)]),_:1})]),_:1}))}};export{X as default}; diff --git a/assets/EditView.aab849de.js b/assets/EditView.aab849de.js deleted file mode 100644 index b9fc885..0000000 --- a/assets/EditView.aab849de.js +++ /dev/null @@ -1,5 +0,0 @@ -import{s as v,am as V,d as n,w as d,e as x,k as $,u as P,o,a as l,b as i,p as _,g as m,c,h as s,f as B,n as C,_ as A,F as N,r as E,i as F,q as G,W as z}from"./index.49bfadcb.js";import{_ as D}from"./ProfileCard.b0fcd669.js";import{_ as R}from"./FormField.d8177f13.js";import{_ as I}from"./FormCheckRadio.dee6d755.js";import{_ as p}from"./FormControl.1a09880b.js";import"./userData.bcc92478.js";const T={class:"md:flex pb-6 md:px-5 md:space-x-10 md:justify-between md:items-center"},L={key:0,class:"mt-2 md:mt-0 md:w-1/3 md:text-right"},U=i("h2",{class:"text-md sm:text-lg md:text-xl font-bold p-2"}," Select Version ",-1),W={class:"bg-white dark:bg-slate-900/90 rounded-2xl pt-6 p-3"},j={class:"w-full"},q={key:2},H={class:"space-x-2"},X={__name:"EditView",setup(M){const b=$(),h=P();var f=null,t=null;const r=v({currentVersion:null}),k=[{id:"username",name:"Username",help:"Set your username for this profile",type:String},{id:"fastSlow",name:"Fast/Slow Display",help:"Enable or disable displaying of Fast/Slow",type:Boolean},{id:"comboPosition",name:"Combo Position",help:"Change order of the combo and notes",type:Boolean},{id:"weight",name:"Weight (kg)",help:"Set your weight for in-game workout mode",type:Number},{id:"dancer",name:"Character",help:"Set your background dancer",type:Array,options:[{id:0,label:"Afro"},{id:1,label:"Emi"}]},{id:"arrow",name:"Arrow Skin",help:"Set your arrow skin",type:Array,options:[{id:0,label:"Normal"},{id:1,label:"Classic"}]}],g={id:1,name:"Trmazi",extid:12345678,avatar:"https://static.wikia.nocookie.net/dancedancerevolutionddr/images/3/3b/Yuni_img1.gif/",last:{arcade:"GhettoCade",date:"7/16/2023"},stats:{firstPlay:"1/14/2021",singlePlays:165,singleDan:1900,singlePoint:1877,doublePlays:15,doubleDan:0,doublePoint:187,skillPoints:95e4}},a=v({username:"TRMAZI",fastSlow:!0,comboPosition:!1,weight:100,dancer:0,arrow:1,guideLines:0,filter:3});f=b.params.game,t=V(f),t||h.push({name:"ErrorPage",params:{catchAll:"404"}}),t.versions||(r.currentVersion=1);function w(){var u=null;return r.currentVersion?u=`/assets/games/${t.id}/card/${r.currentVersion}.png`:u=t.cardBG,u}function S(){return` - background-image: url('${w()}'); - background-size: cover; - background-repeat: no-repeat; - `}return(u,y)=>(o(),n(x,null,{default:d(()=>[l(F,null,{default:d(()=>[i("div",T,[l(_,{icon:m(G),href:`/#/games/${m(f)}`,class:"w-full md:w-auto",color:"info",label:"Go Back"},null,8,["icon","href"]),m(t).versions?(o(),c("div",L,[U,l(p,{modelValue:r.currentVersion,"onUpdate:modelValue":y[0]||(y[0]=e=>r.currentVersion=e),options:m(t).versions},null,8,["modelValue","options"])])):s("",!0)]),r.currentVersion?(o(),n(B,{key:0,icon:m(z),title:"Profile Customizations",main:""},null,8,["icon"])):s("",!0),r.currentVersion?(o(),c("div",{key:1,style:C(S()),class:"rounded-2xl mb-6"},[i("div",W,[i("div",j,[l(D,{"use-small":"",profile:g})])])],4)):s("",!0),r.currentVersion?(o(),c("div",q,[l(A,null,{footer:d(()=>[i("div",H,[l(_,{type:"submit",color:"success",label:"Save"}),l(_,{type:"submit",color:"danger",label:"Revert"})])]),default:d(()=>[i("div",null,[(o(),c(N,null,E(k,e=>l(R,{key:e.id,label:e.name,help:e.help},{default:d(()=>[e.type==String?(o(),n(p,{key:0,"v-model":a[e.id],"model-value":a[e.id]},null,8,["v-model","model-value"])):s("",!0),e.type==Number?(o(),n(p,{key:1,"v-model":a[e.id],"model-value":a[e.id],type:"number"},null,8,["v-model","model-value"])):s("",!0),e.type==Array?(o(),n(p,{key:2,options:e.options,"v-model":a[e.id],"model-value":a[e.id],selected:a[e.id]},null,8,["options","v-model","model-value","selected"])):s("",!0),e.type==Boolean?(o(),n(I,{key:3,"v-model":a[e.id],"model-value":a[e.id],type:"switch"},null,8,["v-model","model-value"])):s("",!0)]),_:2},1032,["label","help"])),64))])]),_:1})])):s("",!0)]),_:1})]),_:1}))}};export{X as default}; diff --git a/assets/ErrorView.6d65a7a8.js b/assets/ErrorView.eb84ee8f.js similarity index 87% rename from assets/ErrorView.6d65a7a8.js rename to assets/ErrorView.eb84ee8f.js index 1dc33ab..57f848a 100644 --- a/assets/ErrorView.6d65a7a8.js +++ b/assets/ErrorView.eb84ee8f.js @@ -1 +1 @@ -import{d as a,w as s,o as l,b as e,a as t,p as o,_ as r,v as c}from"./index.49bfadcb.js";import{_ as n}from"./LayoutGuest.b8c99ff7.js";const d={class:"flex md:min-h-screen md:items-center md:justify-center"},i={class:"p-4 flex flex-col w-full space-y-2"},_=e("div",{class:"flex flex-col items-center text-wrap h-full"},[e("img",{src:c,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"}," Broken since 2021 "),e("hr",{class:"border-t border-1 my-1 w-full"}),e("p",{class:"text-lg relative bottom-0"},"404 - File not found")],-1),m=e("h2",{class:"mb-2"}," The server was unable to locate the page you're trying to go to. ",-1),w={__name:"ErrorView",setup(f){return(u,h)=>(l(),a(n,null,{default:s(()=>[e("div",d,[t(r,{class:"w-full md:w-auto rounded-none md:rounded-xl","has-table":"","is-auth":""},{default:s(()=>[e("div",i,[_,e("div",null,[m,t(o,{label:"Home",color:"info",href:"/"})])])]),_:1})])]),_:1}))}};export{w as default}; +import{d as a,w as s,o as l,b as e,a as t,p as o,_ as r,v as c}from"./index.b8f03a0d.js";import{_ as n}from"./LayoutGuest.3199b088.js";const d={class:"flex md:min-h-screen md:items-center md:justify-center"},i={class:"p-4 flex flex-col w-full space-y-2"},_=e("div",{class:"flex flex-col items-center text-wrap h-full"},[e("img",{src:c,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"}," Broken since 2021 "),e("hr",{class:"border-t border-1 my-1 w-full"}),e("p",{class:"text-lg relative bottom-0"},"404 - File not found")],-1),m=e("h2",{class:"mb-2"}," The server was unable to locate the page you're trying to go to. ",-1),w={__name:"ErrorView",setup(f){return(u,h)=>(l(),a(n,null,{default:s(()=>[e("div",d,[t(r,{class:"w-full md:w-auto rounded-none md:rounded-xl","has-table":"","is-auth":""},{default:s(()=>[e("div",i,[_,e("div",null,[m,t(o,{label:"Home",color:"info",href:"/"})])])]),_:1})])]),_:1}))}};export{w as default}; diff --git a/assets/EventView.ca8c2e1a.js b/assets/EventView.721c6f15.js similarity index 94% rename from assets/EventView.ca8c2e1a.js rename to assets/EventView.721c6f15.js index c334f73..2cebcac 100644 --- a/assets/EventView.ca8c2e1a.js +++ b/assets/EventView.721c6f15.js @@ -1 +1 @@ -import{ac as x,s as B,af as C,d as r,w as d,e as G,k as N,o as l,a as s,g as v,f as U,_ as E,b as i,c as p,h as m,X as w,t as O,F as A,r as D,p as F,i as P,am as f,an as T,ao as W}from"./index.49bfadcb.js";import{_ as j}from"./ArcadeCard.d52b5351.js";import{_}from"./FormField.d8177f13.js";import{_ as u}from"./FormControl.1a09880b.js";import{_ as L}from"./FormCheckRadio.dee6d755.js";import"./area.7873ab93.js";const M={class:"mb-4"},X={class:"grid md:grid-cols-2 gap-4"},Q=i("p",{class:"pb-2 text-lg"},"Game",-1),R={key:0},q=i("p",{class:"pb-2 text-lg"},"Version",-1),z={key:0},H={class:"text-xl"},J=i("hr",{class:"pb-1 my-2"},null,-1),ne={__name:"EventView",setup(K){const g=N(),h=parseInt(g.params.id),b=x.find(o=>o.id===h),c=[{id:"iidx",versions:[{id:22,settings:[{id:0,keyId:"coke",type:Boolean,name:"Enable Coke-X-BEMANI",tooltip:"Enables the long forgotten Coca-Cola event.",value:!0},{id:1,keyId:"phase",type:Array,name:"Current BOSS Phase",tooltip:"Set the main game event.",options:[{id:0,label:"No Event"},{id:1,label:"Chrono Seeker"},{id:2,label:"QPronicle Chord"}],value:1}]}]},{id:"dm",versions:[{id:18,settings:[{id:0,keyId:"banner",type:String,name:"Title Screen Banner",tooltip:"Set the text for the banner.",value:""}]},{id:17,settings:[{id:0,keyId:"banner",type:String,name:"Title Screen Banner",tooltip:"Set the text for the banner.",value:""}]}]}],t=B({game:null,version:null});function V(){var o=[];for(const a of W)c.find(n=>n.id==a.id)&&o.push(a.id);return o}function y(){var o=[];const a=V();for(const e of a)o.push({id:e,label:f(e).name});return o}function S(){const o=c.find(e=>e.id==t.game);var a=[];for(const e of o.versions){const n=f(t.game).versions.find($=>$.id==e.id);a.push({id:e.id,label:n.label})}return a}function k(){return c.find(a=>a.id==t.game).versions.find(a=>a.id==t.version)}function I(){const o=f(t.game),a=o.versions.find(e=>e.id==t.version);return`${o.name} ${a.label}`}return C(()=>t.game,()=>{t.version=null}),(o,a)=>(l(),r(G,null,{default:d(()=>[s(P,null,{default:d(()=>[s(j,{class:"mb-6","arcade-data":v(b)},null,8,["arcade-data"]),s(U,{icon:v(T),title:"Game Event Settings",main:""},null,8,["icon"]),s(E,{class:"mb-6"},{default:d(()=>[i("div",M,[s(_,{label:"Select Game",help:"Pick a game and version to get started."},{default:d(()=>[i("div",X,[i("div",null,[Q,s(u,{modelValue:t.game,"onUpdate:modelValue":a[0]||(a[0]=e=>t.game=e),name:"game",options:y()},null,8,["modelValue","options"])]),t.game?(l(),p("div",R,[q,s(u,{modelValue:t.version,"onUpdate:modelValue":a[1]||(a[1]=e=>t.version=e),name:"version",options:S()},null,8,["modelValue","options"])])):m("",!0)])]),_:1})]),t.game&&t.version?(l(),p("div",z,[i("h2",H,[w(" Settings for "),i("b",null,O(I()),1)]),J,(l(!0),p(A,null,D(k().settings,e=>(l(),r(_,{key:e.id,label:e.name,help:e.tooltip},{default:d(()=>[e.type==String?(l(),r(u,{key:0,modelValue:e.value,"onUpdate:modelValue":n=>e.value=n,"model-value":e.value,name:e.keyId,placeholder:"Not Set"},null,8,["modelValue","onUpdate:modelValue","model-value","name"])):e.type==Boolean?(l(),r(L,{key:1,modelValue:e.value,"onUpdate:modelValue":n=>e.value=n,"input-value":e.value,type:"switch",name:e.keyId},null,8,["modelValue","onUpdate:modelValue","input-value","name"])):m("",!0),e.type==Array?(l(),r(u,{key:2,modelValue:e.options[e.value],"onUpdate:modelValue":n=>e.options[e.value]=n,name:e.keyId,options:e.options,placeholder:"Select..."},null,8,["modelValue","onUpdate:modelValue","name","options"])):m("",!0)]),_:2},1032,["label","help"]))),128)),s(F,{color:"success",type:"submit",label:"Save",small:!1})])):m("",!0)]),_:1})]),_:1})]),_:1}))}};export{ne as default}; +import{ac as x,s as B,af as C,d as r,w as d,e as G,k as N,o as l,a as s,g as v,f as U,_ as E,b as i,c as p,h as m,X as w,t as O,F as A,r as D,p as F,i as P,am as f,an as T,ao as W}from"./index.b8f03a0d.js";import{_ as j}from"./ArcadeCard.68c754be.js";import{_}from"./FormField.2697e642.js";import{_ as u}from"./FormControl.6e614227.js";import{_ as L}from"./FormCheckRadio.9c468987.js";import"./area.7873ab93.js";const M={class:"mb-4"},X={class:"grid md:grid-cols-2 gap-4"},Q=i("p",{class:"pb-2 text-lg"},"Game",-1),R={key:0},q=i("p",{class:"pb-2 text-lg"},"Version",-1),z={key:0},H={class:"text-xl"},J=i("hr",{class:"pb-1 my-2"},null,-1),ne={__name:"EventView",setup(K){const g=N(),h=parseInt(g.params.id),b=x.find(o=>o.id===h),c=[{id:"iidx",versions:[{id:22,settings:[{id:0,keyId:"coke",type:Boolean,name:"Enable Coke-X-BEMANI",tooltip:"Enables the long forgotten Coca-Cola event.",value:!0},{id:1,keyId:"phase",type:Array,name:"Current BOSS Phase",tooltip:"Set the main game event.",options:[{id:0,label:"No Event"},{id:1,label:"Chrono Seeker"},{id:2,label:"QPronicle Chord"}],value:1}]}]},{id:"dm",versions:[{id:18,settings:[{id:0,keyId:"banner",type:String,name:"Title Screen Banner",tooltip:"Set the text for the banner.",value:""}]},{id:17,settings:[{id:0,keyId:"banner",type:String,name:"Title Screen Banner",tooltip:"Set the text for the banner.",value:""}]}]}],t=B({game:null,version:null});function V(){var o=[];for(const a of W)c.find(n=>n.id==a.id)&&o.push(a.id);return o}function y(){var o=[];const a=V();for(const e of a)o.push({id:e,label:f(e).name});return o}function S(){const o=c.find(e=>e.id==t.game);var a=[];for(const e of o.versions){const n=f(t.game).versions.find($=>$.id==e.id);a.push({id:e.id,label:n.label})}return a}function k(){return c.find(a=>a.id==t.game).versions.find(a=>a.id==t.version)}function I(){const o=f(t.game),a=o.versions.find(e=>e.id==t.version);return`${o.name} ${a.label}`}return C(()=>t.game,()=>{t.version=null}),(o,a)=>(l(),r(G,null,{default:d(()=>[s(P,null,{default:d(()=>[s(j,{class:"mb-6","arcade-data":v(b)},null,8,["arcade-data"]),s(U,{icon:v(T),title:"Game Event Settings",main:""},null,8,["icon"]),s(E,{class:"mb-6"},{default:d(()=>[i("div",M,[s(_,{label:"Select Game",help:"Pick a game and version to get started."},{default:d(()=>[i("div",X,[i("div",null,[Q,s(u,{modelValue:t.game,"onUpdate:modelValue":a[0]||(a[0]=e=>t.game=e),name:"game",options:y()},null,8,["modelValue","options"])]),t.game?(l(),p("div",R,[q,s(u,{modelValue:t.version,"onUpdate:modelValue":a[1]||(a[1]=e=>t.version=e),name:"version",options:S()},null,8,["modelValue","options"])])):m("",!0)])]),_:1})]),t.game&&t.version?(l(),p("div",z,[i("h2",H,[w(" Settings for "),i("b",null,O(I()),1)]),J,(l(!0),p(A,null,D(k().settings,e=>(l(),r(_,{key:e.id,label:e.name,help:e.tooltip},{default:d(()=>[e.type==String?(l(),r(u,{key:0,modelValue:e.value,"onUpdate:modelValue":n=>e.value=n,"model-value":e.value,name:e.keyId,placeholder:"Not Set"},null,8,["modelValue","onUpdate:modelValue","model-value","name"])):e.type==Boolean?(l(),r(L,{key:1,modelValue:e.value,"onUpdate:modelValue":n=>e.value=n,"input-value":e.value,type:"switch",name:e.keyId},null,8,["modelValue","onUpdate:modelValue","input-value","name"])):m("",!0),e.type==Array?(l(),r(u,{key:2,modelValue:e.options[e.value],"onUpdate:modelValue":n=>e.options[e.value]=n,name:e.keyId,options:e.options,placeholder:"Select..."},null,8,["modelValue","onUpdate:modelValue","name","options"])):m("",!0)]),_:2},1032,["label","help"]))),128)),s(F,{color:"success",type:"submit",label:"Save",small:!1})])):m("",!0)]),_:1})]),_:1})]),_:1}))}};export{ne as default}; diff --git a/assets/FormCheckRadio.dee6d755.js b/assets/FormCheckRadio.9c468987.js similarity index 92% rename from assets/FormCheckRadio.dee6d755.js rename to assets/FormCheckRadio.9c468987.js index fd18825..fb09af2 100644 --- a/assets/FormCheckRadio.dee6d755.js +++ b/assets/FormCheckRadio.9c468987.js @@ -1 +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.49bfadcb.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 _}; +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.b8f03a0d.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/FormControl.1a09880b.js b/assets/FormControl.6e614227.js similarity index 97% rename from assets/FormControl.1a09880b.js rename to assets/FormControl.6e614227.js index 50d771e..f5b7626 100644 --- a/assets/FormControl.1a09880b.js +++ b/assets/FormControl.6e614227.js @@ -1 +1 @@ -import{o as r,d as B,H as V,z as m,I as R,J as p,K as w,L as q,c as s,g as a,A as h,M as C,C as g,D as v,F as M,r as D,t as K,N as L,B as U,h as z}from"./index.49bfadcb.js";const A={__name:"FormControlIcon",props:{icon:{type:String,default:null},h:{type:String,default:null}},setup(e){return(d,n)=>(r(),B(V,{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"]))}},H={class:"relative"},I=["id","name"],N=["value"],T=["id","name","maxlength","placeholder","required"],$=["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-blue-700 dark:border-blue-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),E=m(()=>n.type==="textarea"?"h-full":"h-12"),y=R(),x=p(null),k=p(null),c=p(null);if(w(()=>{x.value?d("setRef",x.value):k.value?d("setRef",k.value):d("setRef",c.value)}),n.ctrlKFocus){const u=l=>{l.ctrlKey&&l.key==="k"?(l.preventDefault(),c.value.focus()):l.key==="Escape"&&c.value.blur()};w(()=>{y.isFieldFocusRegistered||(window.addEventListener("keydown",u),y.isFieldFocusRegistered=!0)}),q(()=>{window.removeEventListener("keydown",u),y.isFieldFocusRegistered=!1})}return(u,l)=>(r(),s("div",H,[a(i)==="select"?h((r(),s("select",{key:0,id:e.id,"onUpdate:modelValue":l[0]||(l[0]=t=>g(o)?o.value=t:null),name:e.name,class:v(a(f))},[(r(!0),s(M,null,D(e.options,t=>{var b,S,F;return r(),s("option",{key:(b=t.id)!=null?b:t,value:(S=t.id)!=null?S:t},K((F=t.label)!=null?F:t),9,N)}),128))],10,I)),[[C,a(o)]]):a(i)==="textarea"?h((r(),s("textarea",{key:1,id:e.id,"onUpdate:modelValue":l[1]||(l[1]=t=>g(o)?o.value=t:null),class:v(a(f)),name:e.name,maxlength:e.maxlength,placeholder:e.placeholder,required:e.required},null,10,T)),[[L,a(o)]]):h((r(),s("input",{key:2,id:e.id,ref_key:"inputEl",ref:c,"onUpdate:modelValue":l[2]||(l[2]=t=>g(o)?o.value=t: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,$)),[[U,a(o)]]),e.icon?(r(),B(A,{key:3,icon:e.icon,h:a(E)},null,8,["icon","h"])):z("",!0)]))}};export{J as _}; +import{o as r,d as B,H as V,z as m,I as R,J as p,K as w,L as q,c as s,g as a,A as h,M as C,C as g,D as v,F as M,r as D,t as K,N as L,B as U,h as z}from"./index.b8f03a0d.js";const A={__name:"FormControlIcon",props:{icon:{type:String,default:null},h:{type:String,default:null}},setup(e){return(d,n)=>(r(),B(V,{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"]))}},H={class:"relative"},I=["id","name"],N=["value"],T=["id","name","maxlength","placeholder","required"],$=["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-blue-700 dark:border-blue-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),E=m(()=>n.type==="textarea"?"h-full":"h-12"),y=R(),x=p(null),k=p(null),c=p(null);if(w(()=>{x.value?d("setRef",x.value):k.value?d("setRef",k.value):d("setRef",c.value)}),n.ctrlKFocus){const u=l=>{l.ctrlKey&&l.key==="k"?(l.preventDefault(),c.value.focus()):l.key==="Escape"&&c.value.blur()};w(()=>{y.isFieldFocusRegistered||(window.addEventListener("keydown",u),y.isFieldFocusRegistered=!0)}),q(()=>{window.removeEventListener("keydown",u),y.isFieldFocusRegistered=!1})}return(u,l)=>(r(),s("div",H,[a(i)==="select"?h((r(),s("select",{key:0,id:e.id,"onUpdate:modelValue":l[0]||(l[0]=t=>g(o)?o.value=t:null),name:e.name,class:v(a(f))},[(r(!0),s(M,null,D(e.options,t=>{var b,S,F;return r(),s("option",{key:(b=t.id)!=null?b:t,value:(S=t.id)!=null?S:t},K((F=t.label)!=null?F:t),9,N)}),128))],10,I)),[[C,a(o)]]):a(i)==="textarea"?h((r(),s("textarea",{key:1,id:e.id,"onUpdate:modelValue":l[1]||(l[1]=t=>g(o)?o.value=t:null),class:v(a(f)),name:e.name,maxlength:e.maxlength,placeholder:e.placeholder,required:e.required},null,10,T)),[[L,a(o)]]):h((r(),s("input",{key:2,id:e.id,ref_key:"inputEl",ref:c,"onUpdate:modelValue":l[2]||(l[2]=t=>g(o)?o.value=t: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,$)),[[U,a(o)]]),e.icon?(r(),B(A,{key:3,icon:e.icon,h:a(E)},null,8,["icon","h"])):z("",!0)]))}};export{J as _}; diff --git a/assets/FormField.d8177f13.js b/assets/FormField.2697e642.js similarity index 91% rename from assets/FormField.d8177f13.js rename to assets/FormField.2697e642.js index 86d8e28..6c22862 100644 --- a/assets/FormField.d8177f13.js +++ b/assets/FormField.2697e642.js @@ -1 +1 @@ -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.49bfadcb.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 _}; +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.b8f03a0d.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/GameView.2b2917ce.js b/assets/GameView.2b2917ce.js new file mode 100644 index 0000000..8fc47ff --- /dev/null +++ b/assets/GameView.2b2917ce.js @@ -0,0 +1,5 @@ +import{z as d,o as r,c as _,b as e,a as s,ar as V,t as x,g as a,G as S,h as P,E as C,I as D,J as y,F as $,r as k,w as m,l as A,d as w,p as L,ai as G,s as R,am as I,e as j,k as B,u as z,a2 as g,n as M,f as T,_ as E,i as F,as as H}from"./index.b8f03a0d.js";import{_ as N}from"./FormControl.6e614227.js";import{_ as U}from"./ProfileCard.0f5ca27a.js";import"./userData.bcc92478.js";const q={class:"pt-6 mb-6 flex items-center justify-between"},J={class:"flex items-center justify-start space-x-2"},Y={class:"text-2xl md:text-3xl leading-tight"},Z={__name:"GameTitleLine",props:{path:{type:String,default:null},title:{type:String,required:!0}},setup(h){const f=d(()=>C().default);return(u,n)=>(r(),_("section",q,[e("div",J,[s(V,{path:h.path,class:"w-12 h-12 p-1 drop-shadow-md"},null,8,["path"]),e("h1",Y,x(h.title),1)]),a(f)?S(u.$slots,"default",{key:0}):P("",!0)]))}},K=e("thead",null,[e("tr",null,[e("th",null,"Username"),e("th",null,"Rival ID"),e("th",null,"Creation Date"),e("th",null,"Last Played"),e("th",null,"Last Arcade"),e("th",null,"Play Count")])],-1),O=e("td",{"data-label":"Username"},"TRMAZI",-1),Q=e("td",{"data-label":"Rival ID"},"1234-5678",-1),W=e("td",{"data-label":"Creation Date"},"10/22/2022",-1),X=e("td",{"data-label":"Last Played"},"10/22/2022",-1),ee=e("td",{"data-label":"Last Arcade"},"Ho-House",-1),te=e("td",{"data-label":"Play Count",class:"lg:w-32"},"466",-1),se=[O,Q,W,X,ee,te],ae={class:"p-3 lg:px-6 border-t border-gray-100 dark:border-slate-800"},le={__name:"TablePlayers",setup(h){const f=D(),u=d(()=>f.clients),n=y(5),t=y(0),i=d(()=>u.value.slice(n.value*t.value,n.value*(t.value+1))),p=d(()=>Math.ceil(u.value.length/n.value)),b=d(()=>t.value+1),v=d(()=>{const o=[];for(let c=0;c(r(),_($,null,[e("table",null,[K,e("tbody",null,[(r(!0),_($,null,k(a(i),l=>(r(),_("tr",{key:l.id,class:"border-b-[12px] lg:border-b-0"},se))),128))])]),e("div",ae,[s(G,null,{default:m(()=>[s(A,null,{default:m(()=>[(r(!0),_($,null,k(a(v),l=>(r(),w(L,{key:l,active:l===t.value,label:l+1,color:l===t.value?"lightDark":"whiteDark",small:"",onClick:fe=>t.value=l},null,8,["active","label","color","onClick"]))),128))]),_:1}),e("small",null,"Page "+x(a(b))+" of "+x(a(p)),1)]),_:1})])],64))}},ne={class:"bg-white dark:bg-slate-900/90 rounded-2xl p-3"},oe={class:"w-full"},re={class:"md:flex pb-6 md:px-5 md:space-x-10 md:justify-between md:items-center"},ie={key:0,class:"md:w-1/3 md:text-right"},ce=e("h2",{class:"text-md sm:text-lg md:text-xl font-bold p-2"}," Select Version ",-1),ue={class:"w-full"},de={class:"grid grid-cols-1 gap-6 lg:grid-cols-4 pt-6"},_e={class:"bg-white dark:bg-slate-900/95 rounded-2xl lg:flex lg:justify-between"},me={class:"w-full"},ve={__name:"GameView",setup(h){const f=B(),u=z();var n=null,t=null;const i=R({currentVersion:null}),p={id:1,name:"Trmazi",extid:12345678,avatar:"https://static.wikia.nocookie.net/dancedancerevolutionddr/images/3/3b/Yuni_img1.gif/",last:{arcade:"GhettoCade",date:"7/16/2023"},stats:{firstPlay:"1/14/2021",singlePlays:165,singleDan:1900,singlePoint:1877,doublePlays:15,doubleDan:0,doublePoint:187,skillPoints:3723,jubility:7690}};n=f.params.id,t=I(n),t.versions||(i.currentVersion=1),t||u.push({name:"ErrorPage",params:{catchAll:"404"}});function b(){var o=null;return i.currentVersion?o=`/assets/games/${t.id}/card/${i.currentVersion}.png`:o=t.cardBG,o}function v(){return` + background-image: url('${b()}'); + background-size: cover; + background-repeat: no-repeat; + `}return(o,c)=>(r(),w(j,null,{default:m(()=>[s(F,null,{default:m(()=>[e("div",{style:M(v()),class:"rounded-2xl mb-6"},[e("div",ne,[e("div",oe,[e("div",re,[s(Z,{path:a(t).icon,title:a(t).name},null,8,["path","title"]),a(t).versions?(r(),_("div",ie,[ce,s(N,{modelValue:i.currentVersion,"onUpdate:modelValue":c[0]||(c[0]=l=>i.currentVersion=l),options:a(t).versions},null,8,["modelValue","options"])])):P("",!0)])]),e("div",ue,[s(U,{game:a(n),profile:p},{default:m(()=>[e("div",de,[s(g,{number:3733,label:"Scores (All Versions)"}),s(g,{number:1244,label:"Plays (All Versions)"}),s(g,{prefix:"#",number:43,suffix:" / 300",label:"Ranking (All Versions)"}),s(g,{number:2,label:"Rivals"})])]),_:1},8,["game"])])])],4),s(T,{icon:a(H),title:"All Players",main:""},null,8,["icon"]),s(E,{"has-table":""},{default:m(()=>[e("div",_e,[e("div",me,[s(le)])])]),_:1})]),_:1})]),_:1}))}};export{ve as default}; diff --git a/assets/GameView.7f355b2d.js b/assets/GameView.7f355b2d.js deleted file mode 100644 index 3ca9823..0000000 --- a/assets/GameView.7f355b2d.js +++ /dev/null @@ -1,5 +0,0 @@ -import{z as d,o as i,c as _,b as e,a as s,ar as V,t as x,g as a,G as S,h as P,E as C,I as D,J as y,F as $,r as k,w as m,l as A,d as w,p as L,ai as G,s as R,am as I,e as j,k as B,u as z,a2 as g,n as M,f as T,_ as E,i as F,as as H}from"./index.49bfadcb.js";import{_ as N}from"./FormControl.1a09880b.js";import{_ as U}from"./ProfileCard.b0fcd669.js";import"./userData.bcc92478.js";const q={class:"pt-6 mb-6 flex items-center justify-between"},J={class:"flex items-center justify-start space-x-2"},Y={class:"text-2xl md:text-3xl leading-tight"},Z={__name:"GameTitleLine",props:{path:{type:String,default:null},title:{type:String,required:!0}},setup(h){const f=d(()=>C().default);return(u,n)=>(i(),_("section",q,[e("div",J,[s(V,{path:h.path,class:"w-12 h-12 p-1 drop-shadow-md"},null,8,["path"]),e("h1",Y,x(h.title),1)]),a(f)?S(u.$slots,"default",{key:0}):P("",!0)]))}},K=e("thead",null,[e("tr",null,[e("th",null,"Username"),e("th",null,"Rival ID"),e("th",null,"Creation Date"),e("th",null,"Last Played"),e("th",null,"Last Arcade"),e("th",null,"Play Count")])],-1),O=e("td",{"data-label":"Username"},"TRMAZI",-1),Q=e("td",{"data-label":"Rival ID"},"1234-5678",-1),W=e("td",{"data-label":"Creation Date"},"10/22/2022",-1),X=e("td",{"data-label":"Last Played"},"10/22/2022",-1),ee=e("td",{"data-label":"Last Arcade"},"Ho-House",-1),te=e("td",{"data-label":"Play Count",class:"lg:w-32"},"466",-1),se=[O,Q,W,X,ee,te],ae={class:"p-3 lg:px-6 border-t border-gray-100 dark:border-slate-800"},le={__name:"TablePlayers",setup(h){const f=D(),u=d(()=>f.clients),n=y(5),t=y(0),r=d(()=>u.value.slice(n.value*t.value,n.value*(t.value+1))),p=d(()=>Math.ceil(u.value.length/n.value)),b=d(()=>t.value+1),v=d(()=>{const o=[];for(let c=0;c(i(),_($,null,[e("table",null,[K,e("tbody",null,[(i(!0),_($,null,k(a(r),l=>(i(),_("tr",{key:l.id},se))),128))])]),e("div",ae,[s(G,null,{default:m(()=>[s(A,null,{default:m(()=>[(i(!0),_($,null,k(a(v),l=>(i(),w(L,{key:l,active:l===t.value,label:l+1,color:l===t.value?"lightDark":"whiteDark",small:"",onClick:fe=>t.value=l},null,8,["active","label","color","onClick"]))),128))]),_:1}),e("small",null,"Page "+x(a(b))+" of "+x(a(p)),1)]),_:1})])],64))}},ne={class:"bg-white dark:bg-slate-900/90 rounded-2xl p-3"},oe={class:"w-full"},ie={class:"md:flex pb-6 md:px-5 md:space-x-10 md:justify-between md:items-center"},re={key:0,class:"md:w-1/3 md:text-right"},ce=e("h2",{class:"text-md sm:text-lg md:text-xl font-bold p-2"}," Select Version ",-1),ue={class:"w-full"},de={class:"grid grid-cols-1 gap-6 lg:grid-cols-4 pt-6"},_e={class:"bg-white dark:bg-slate-900/95 rounded-2xl lg:flex lg:justify-between"},me={class:"w-full"},ve={__name:"GameView",setup(h){const f=B(),u=z();var n=null,t=null;const r=R({currentVersion:null}),p={id:1,name:"Trmazi",extid:12345678,avatar:"https://static.wikia.nocookie.net/dancedancerevolutionddr/images/3/3b/Yuni_img1.gif/",last:{arcade:"GhettoCade",date:"7/16/2023"},stats:{firstPlay:"1/14/2021",singlePlays:165,singleDan:1900,singlePoint:1877,doublePlays:15,doubleDan:0,doublePoint:187,skillPoints:3723,jubility:7690}};n=f.params.id,t=I(n),t.versions||(r.currentVersion=1),t||u.push({name:"ErrorPage",params:{catchAll:"404"}});function b(){var o=null;return r.currentVersion?o=`/assets/games/${t.id}/card/${r.currentVersion}.png`:o=t.cardBG,o}function v(){return` - background-image: url('${b()}'); - background-size: cover; - background-repeat: no-repeat; - `}return(o,c)=>(i(),w(j,null,{default:m(()=>[s(F,null,{default:m(()=>[e("div",{style:M(v()),class:"rounded-2xl mb-6"},[e("div",ne,[e("div",oe,[e("div",ie,[s(Z,{path:a(t).icon,title:a(t).name},null,8,["path","title"]),a(t).versions?(i(),_("div",re,[ce,s(N,{modelValue:r.currentVersion,"onUpdate:modelValue":c[0]||(c[0]=l=>r.currentVersion=l),options:a(t).versions},null,8,["modelValue","options"])])):P("",!0)])]),e("div",ue,[s(U,{game:a(n),profile:p},{default:m(()=>[e("div",de,[s(g,{number:3733,label:"Scores (All Versions)"}),s(g,{number:1244,label:"Plays (All Versions)"}),s(g,{prefix:"#",number:43,suffix:" / 300",label:"Ranking (All Versions)"}),s(g,{number:2,label:"Rivals"})])]),_:1},8,["game"])])])],4),s(T,{icon:a(H),title:"All Players",main:""},null,8,["icon"]),s(E,{"has-table":""},{default:m(()=>[e("div",_e,[e("div",me,[s(le)])])]),_:1})]),_:1})]),_:1}))}};export{ve as default}; diff --git a/assets/GoalsView.c7dce24b.js b/assets/GoalsView.2869a88b.js similarity index 96% rename from assets/GoalsView.c7dce24b.js rename to assets/GoalsView.2869a88b.js index dc8e81d..25f54cb 100644 --- a/assets/GoalsView.c7dce24b.js +++ b/assets/GoalsView.2869a88b.js @@ -1 +1 @@ -import{s as b,d as V,w as i,e as k,o as n,a as l,f as p,g as a,b as t,a2 as _,_ as g,a3 as y,c as d,p as G,h as u,t as C,i as D,a4 as $,a5 as w,a6 as A}from"./index.49bfadcb.js";import{_ as c}from"./FormControl.1a09880b.js";const F={class:"grid grid-cols-1 gap-6 sm:grid-cols-2 md:grid-cols-3 mb-6"},R={class:"mb-6"},B={class:"mb-12"},P=t("h1",{class:"text-xl md:text-2xl font-bold"},"Goal Creator",-1),U=t("p",{class:"pb-4 dark:text-white/50"}," Follow these steps and set some goals! ",-1),T={class:"grid md:grid-cols-3 gap-6"},W=t("h2",{class:"text-lg mb-2"},"Game",-1),N={key:0},S=t("h2",{class:"text-lg mb-2"},"Goal Type",-1),E={key:1},I=t("h2",{class:"text-lg mb-2"},"Goals",-1),L={key:2},O=t("h2",{class:"text-lg mb-2"},"Value",-1),H={key:3},M=t("h2",{class:"text-lg mb-2"},"Deadline",-1),Y={key:0},j=t("h1",{class:"pt-4 text-xl md:text-2xl font-bold"},"Compiled Goal",-1),q={class:"text-lg dark:text-white/75"},z={key:0,class:"space-x-2"},X={__name:"GoalsView",setup(J){const h=[{game:"DanceDance Revolution",types:[{id:"Combo",needValue:!0},{id:"Grade",needValue:!0},{id:"Ranking",needValue:!1},{id:"Score",needValue:!1}],combo:["# of LIFE 4 FCs","# of PFCs","# of MFCs"],grade:["# of AAA","# of AA","# of A","# of B","# of C"],ranking:["1st place","top 10","top 100"],score:["1 million points","2 million points","3 million points"]}],v=["DanceDance Revolution"];var e=b({id:0,game:"...",type:"...",goal:"...",value:null,deadline:"..."});function r(){const m=h.find(o=>o.game==e.game);var s=[];for(const o of m.types)s.push(o.id);return m.listTypes=s,m}function x(){return e.goal=="..."||e.game=="..."||e.deadline=="..."?!1:`I want ${e.goal} on ${e.game} in ${e.deadline}`}const f=[{game:"DanceDance Revolution",type:"Rank",goal:"Top 10 Ranking",status:"#10 of 132",deadline:"3 Weeks"},{game:"pop'n music",type:"Plays",goal:"100 Plays",status:"2 Plays Since Creation",deadline:"1 Week"}];return(m,s)=>(n(),V(k,null,{default:i(()=>[l(D,null,{default:i(()=>[l(p,{icon:a($),title:"Your Goals",main:""},null,8,["icon"]),t("div",F,[l(_,{number:1,label:"Active Goals",color:"text-yellow-500 dark:text-yellow-400"}),l(_,{number:3,label:"Completed Goals",color:"text-green-500 dark:text-green-400"}),l(_,{number:2,label:"Abandoned Goals",color:"text-red-500 dark:text-red-400"})]),l(p,{icon:a(w),title:"Active Goals"},null,8,["icon"]),t("div",R,[l(g,{"has-table":""},{default:i(()=>[l(y,{goals:f})]),_:1})]),l(p,{icon:a(A),title:"Past Goals"},null,8,["icon"]),t("div",B,[l(g,{"has-table":""},{default:i(()=>[l(y,{goals:f,"is-past":""})]),_:1})]),t("div",null,[l(g,null,{footer:i(()=>[a(e).deadline!=="..."?(n(),d("div",z,[l(G,{type:"submit",color:"success",label:"Create",small:!1})])):u("",!0)]),default:i(()=>[P,U,t("div",T,[t("div",null,[W,l(c,{modelValue:a(e).game,"onUpdate:modelValue":s[0]||(s[0]=o=>a(e).game=o),options:v,"input-value":"",name:"game"},null,8,["modelValue"])]),a(e).game!=="..."?(n(),d("div",N,[S,l(c,{modelValue:a(e).type,"onUpdate:modelValue":s[1]||(s[1]=o=>a(e).type=o),options:r().listTypes,"input-value":"",name:"type"},null,8,["modelValue","options"])])):u("",!0),a(e).type!=="..."?(n(),d("div",E,[I,l(c,{modelValue:a(e).goal,"onUpdate:modelValue":s[2]||(s[2]=o=>a(e).goal=o),options:r()[a(e).type.toLowerCase()],"input-value":"",name:"goal"},null,8,["modelValue","options"])])):u("",!0),a(e).goal!=="..."&&r().types.find(o=>o.id==a(e).type).needValue?(n(),d("div",L,[O,l(c,{modelValue:a(e).value,"onUpdate:modelValue":s[3]||(s[3]=o=>a(e).value=o),placeholder:a(e).goal,name:"goal"},null,8,["modelValue","placeholder"])])):u("",!0),a(e).goal!=="..."||a(e).value?(n(),d("div",H,[M,l(c,{modelValue:a(e).deadline,"onUpdate:modelValue":s[4]||(s[4]=o=>a(e).deadline=o),options:["24Hrs","5 Days","15 Days","1 Week","2 Weeks"],"input-value":"",name:"deadline"},null,8,["modelValue"])])):u("",!0)]),a(e).deadline!=="..."?(n(),d("div",Y,[j,t("p",q,C(x()),1)])):u("",!0)]),_:1})])]),_:1})]),_:1}))}};export{X as default}; +import{s as b,d as V,w as i,e as k,o as n,a as l,f as p,g as a,b as t,a2 as _,_ as g,a3 as y,c as d,p as G,h as u,t as C,i as D,a4 as $,a5 as w,a6 as A}from"./index.b8f03a0d.js";import{_ as c}from"./FormControl.6e614227.js";const F={class:"grid grid-cols-1 gap-6 sm:grid-cols-2 md:grid-cols-3 mb-6"},R={class:"mb-6"},B={class:"mb-12"},P=t("h1",{class:"text-xl md:text-2xl font-bold"},"Goal Creator",-1),U=t("p",{class:"pb-4 dark:text-white/50"}," Follow these steps and set some goals! ",-1),T={class:"grid md:grid-cols-3 gap-6"},W=t("h2",{class:"text-lg mb-2"},"Game",-1),N={key:0},S=t("h2",{class:"text-lg mb-2"},"Goal Type",-1),E={key:1},I=t("h2",{class:"text-lg mb-2"},"Goals",-1),L={key:2},O=t("h2",{class:"text-lg mb-2"},"Value",-1),H={key:3},M=t("h2",{class:"text-lg mb-2"},"Deadline",-1),Y={key:0},j=t("h1",{class:"pt-4 text-xl md:text-2xl font-bold"},"Compiled Goal",-1),q={class:"text-lg dark:text-white/75"},z={key:0,class:"space-x-2"},X={__name:"GoalsView",setup(J){const h=[{game:"DanceDance Revolution",types:[{id:"Combo",needValue:!0},{id:"Grade",needValue:!0},{id:"Ranking",needValue:!1},{id:"Score",needValue:!1}],combo:["# of LIFE 4 FCs","# of PFCs","# of MFCs"],grade:["# of AAA","# of AA","# of A","# of B","# of C"],ranking:["1st place","top 10","top 100"],score:["1 million points","2 million points","3 million points"]}],v=["DanceDance Revolution"];var e=b({id:0,game:"...",type:"...",goal:"...",value:null,deadline:"..."});function r(){const m=h.find(o=>o.game==e.game);var s=[];for(const o of m.types)s.push(o.id);return m.listTypes=s,m}function x(){return e.goal=="..."||e.game=="..."||e.deadline=="..."?!1:`I want ${e.goal} on ${e.game} in ${e.deadline}`}const f=[{game:"DanceDance Revolution",type:"Rank",goal:"Top 10 Ranking",status:"#10 of 132",deadline:"3 Weeks"},{game:"pop'n music",type:"Plays",goal:"100 Plays",status:"2 Plays Since Creation",deadline:"1 Week"}];return(m,s)=>(n(),V(k,null,{default:i(()=>[l(D,null,{default:i(()=>[l(p,{icon:a($),title:"Your Goals",main:""},null,8,["icon"]),t("div",F,[l(_,{number:1,label:"Active Goals",color:"text-yellow-500 dark:text-yellow-400"}),l(_,{number:3,label:"Completed Goals",color:"text-green-500 dark:text-green-400"}),l(_,{number:2,label:"Abandoned Goals",color:"text-red-500 dark:text-red-400"})]),l(p,{icon:a(w),title:"Active Goals"},null,8,["icon"]),t("div",R,[l(g,{"has-table":""},{default:i(()=>[l(y,{goals:f})]),_:1})]),l(p,{icon:a(A),title:"Past Goals"},null,8,["icon"]),t("div",B,[l(g,{"has-table":""},{default:i(()=>[l(y,{goals:f,"is-past":""})]),_:1})]),t("div",null,[l(g,null,{footer:i(()=>[a(e).deadline!=="..."?(n(),d("div",z,[l(G,{type:"submit",color:"success",label:"Create",small:!1})])):u("",!0)]),default:i(()=>[P,U,t("div",T,[t("div",null,[W,l(c,{modelValue:a(e).game,"onUpdate:modelValue":s[0]||(s[0]=o=>a(e).game=o),options:v,"input-value":"",name:"game"},null,8,["modelValue"])]),a(e).game!=="..."?(n(),d("div",N,[S,l(c,{modelValue:a(e).type,"onUpdate:modelValue":s[1]||(s[1]=o=>a(e).type=o),options:r().listTypes,"input-value":"",name:"type"},null,8,["modelValue","options"])])):u("",!0),a(e).type!=="..."?(n(),d("div",E,[I,l(c,{modelValue:a(e).goal,"onUpdate:modelValue":s[2]||(s[2]=o=>a(e).goal=o),options:r()[a(e).type.toLowerCase()],"input-value":"",name:"goal"},null,8,["modelValue","options"])])):u("",!0),a(e).goal!=="..."&&r().types.find(o=>o.id==a(e).type).needValue?(n(),d("div",L,[O,l(c,{modelValue:a(e).value,"onUpdate:modelValue":s[3]||(s[3]=o=>a(e).value=o),placeholder:a(e).goal,name:"goal"},null,8,["modelValue","placeholder"])])):u("",!0),a(e).goal!=="..."||a(e).value?(n(),d("div",H,[M,l(c,{modelValue:a(e).deadline,"onUpdate:modelValue":s[4]||(s[4]=o=>a(e).deadline=o),options:["24Hrs","5 Days","15 Days","1 Week","2 Weeks"],"input-value":"",name:"deadline"},null,8,["modelValue"])])):u("",!0)]),a(e).deadline!=="..."?(n(),d("div",Y,[j,t("p",q,C(x()),1)])):u("",!0)]),_:1})])]),_:1})]),_:1}))}};export{X as default}; diff --git a/assets/IntegrationView.21636a64.js b/assets/IntegrationView.68acc8af.js similarity index 96% rename from assets/IntegrationView.21636a64.js rename to assets/IntegrationView.68acc8af.js index 18a4c80..b0e1366 100644 --- a/assets/IntegrationView.21636a64.js +++ b/assets/IntegrationView.68acc8af.js @@ -1 +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.49bfadcb.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),v=l("h1",{class:"text-lg"},"Kamaitachi isn't linked!",-1),w={class:"space-x-2"},N=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":"","even-smaller":""}),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",w,[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"]),$,v]),_: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"]),N,G]),_:1})])]),_:1})]),_:1}))}};export{D as default}; +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.b8f03a0d.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),v=l("h1",{class:"text-lg"},"Kamaitachi isn't linked!",-1),w={class:"space-x-2"},N=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":"","even-smaller":""}),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",w,[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"]),$,v]),_: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"]),N,G]),_:1})])]),_:1})]),_:1}))}};export{D as default}; diff --git a/assets/LayoutGuest.3199b088.js b/assets/LayoutGuest.3199b088.js new file mode 100644 index 0000000..eb5ae09 --- /dev/null +++ b/assets/LayoutGuest.3199b088.js @@ -0,0 +1 @@ +import{O as s,o as r,c as o,b as e,G as d,D as n,g as _}from"./index.b8f03a0d.js";const c={class:"bg-gradient-to-tr dark:from-gray-700 dark:via-gray-900 dark:to-gray-700 dark:text-slate-100"},l={class:"animated animatedFadeInUp fadeInUp"},p={__name:"LayoutGuest",setup(i){const a=s();return(t,u)=>(r(),o("div",{class:n({dark:_(a).darkMode})},[e("div",c,[e("div",l,[d(t.$slots,"default")])])],2))}};export{p as _}; diff --git a/assets/LayoutGuest.b8c99ff7.js b/assets/LayoutGuest.b8c99ff7.js deleted file mode 100644 index fd91366..0000000 --- a/assets/LayoutGuest.b8c99ff7.js +++ /dev/null @@ -1 +0,0 @@ -import{O as t,o,c as r,b as e,G as n,D as _,g as d}from"./index.49bfadcb.js";const l={class:"bg-gray-50 dark:bg-slate-800 dark:text-slate-100"},c={class:"animated animatedFadeInUp fadeInUp"},m={__name:"LayoutGuest",setup(u){const a=t();return(s,i)=>(o(),r("div",{class:_({dark:d(a).darkMode})},[e("div",l,[e("div",c,[n(s.$slots,"default")])])],2))}};export{m as _}; diff --git a/assets/LoginView.01ce0e9a.js b/assets/LoginView.01ce0e9a.js new file mode 100644 index 0000000..ff10e22 --- /dev/null +++ b/assets/LoginView.01ce0e9a.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 w,y as g}from"./index.b8f03a0d.js";import{_ as b}from"./FormCheckRadio.9c468987.js";import{_ as m}from"./FormField.2697e642.js";import{_ as d}from"./FormControl.6e614227.js";import{_ as v}from"./LayoutGuest.3199b088.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 md:mt-5"},[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-r-1 my-1 w-full"}),e("p",{class:"text-lg relative bottom-0"},"Please log in.")],-1),k=e("div",{class:"md:border-r"},null,-1),P={class:"flex flex-col gap-2 mt-4"},R=e("hr",{class:"border-t my-4 w-full"},null,-1),U={class:"flex flex-col gap-2 my-4"},j=e("h2",null,"Not Registered?",-1),B=e("h2",null,"Forgot Password?",-1),S={__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 md:drop-shadow-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(w),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(g),type:"password",name:"password",autocomplete:"current-password"},null,8,["modelValue","icon"])]),_:1}),s(b,{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())})]),R,e("div",U,[j,s(r,{label:"Register",color:"info",href:"/#/auth/register"}),B,s(r,{label:"Password Reset",color:"warning",href:"/#/auth/reset"})])])])]),_:1})])]),_:1}))}};export{S as default}; diff --git a/assets/LoginView.d6052866.js b/assets/LoginView.d6052866.js deleted file mode 100644 index 98ccc81..0000000 --- a/assets/LoginView.d6052866.js +++ /dev/null @@ -1 +0,0 @@ -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 w,y as g}from"./index.49bfadcb.js";import{_ as b}from"./FormCheckRadio.dee6d755.js";import{_ as m}from"./FormField.d8177f13.js";import{_ as d}from"./FormControl.1a09880b.js";import{_ as v}from"./LayoutGuest.b8c99ff7.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-r-1 my-1 w-full"}),e("p",{class:"text-lg relative bottom-0"},"Please log in.")],-1),k=e("div",{class:"md:border-r"},null,-1),P={class:"flex flex-col gap-2 mt-4"},R=e("hr",{class:"border-t my-4 w-full"},null,-1),U={class:"flex flex-col gap-2 my-4"},j=e("h2",null,"Not Registered?",-1),B=e("h2",null,"Forgot Password?",-1),S={__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(w),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(g),type:"password",name:"password",autocomplete:"current-password"},null,8,["modelValue","icon"])]),_:1}),s(b,{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())})]),R,e("div",U,[j,s(r,{label:"Register",color:"info",href:"/#/auth/register"}),B,s(r,{label:"Password Reset",color:"warning",href:"/#/auth/reset"})])])])]),_:1})])]),_:1}))}};export{S as default}; diff --git a/assets/MachinesView.427410be.js b/assets/MachinesView.427410be.js new file mode 100644 index 0000000..63e9df6 --- /dev/null +++ b/assets/MachinesView.427410be.js @@ -0,0 +1 @@ +import{J as C,z as m,o as s,c as p,b as a,F as f,r as k,t as l,g as n,a as r,w as u,l as P,d as b,p as y,ai as D,ac as x,e as N,k as I,f as L,_ as w,h as $,i as M,aa as V}from"./index.b8f03a0d.js";import{_ as E}from"./ArcadeCard.68c754be.js";import{C as F}from"./CardBoxComponentEmpty.79c377cf.js";import"./area.7873ab93.js";const J=a("thead",null,[a("tr",null,[a("th",null,"Name"),a("th",null,"PCBID"),a("th",null,"Cabinet?"),a("th",null,"Updates?")])],-1),A={"data-label":"Name"},G={"data-label":"PCBID"},O={"data-label":"Cabinet?"},R={"data-label":"Updates?"},T={class:"p-3 lg:px-6 border-t border-gray-100 dark:border-slate-800"},U={__name:"TableMachine",props:{machines:{type:Object,required:!0}},setup(g){const d=g,c=C(8),t=C(0),o=m(()=>d.machines.slice(c.value*t.value,c.value*(t.value+1))),i=m(()=>Math.ceil(d.machines.length/c.value)),v=m(()=>t.value+1),B=m(()=>{const h=[];for(let _=0;_(s(),p(f,null,[a("table",null,[J,a("tbody",null,[(s(!0),p(f,null,k(n(o),e=>(s(),p("tr",{key:e.id,class:"border-b-[12px] lg:border-b-0"},[a("td",A,l(e.name),1),a("td",G,l(e.pcbid),1),a("td",O,l(e.cabinet?"Yes":"No"),1),a("td",R,l(e.ota?"Yes":"No"),1)]))),128))])]),a("div",T,[r(D,null,{default:u(()=>[r(P,null,{default:u(()=>[(s(!0),p(f,null,k(n(B),e=>(s(),b(y,{key:e,active:e===t.value,label:e+1,color:e===t.value?"lightDark":"whiteDark",small:"",onClick:Y=>t.value=e},null,8,["active","label","color","onClick"]))),128))]),_:1}),a("small",null,"Page "+l(n(v))+" of "+l(n(i)),1)]),_:1})])],64))}},S={__name:"MachinesView",setup(g){const d=I(),c=parseInt(d.params.id),t=x.find(i=>i.id===c),o=[{id:0,pcbid:"1A2B3C4D0000",name:"Test PCBID",ota:!1,cabinet:!1},{id:1,pcbid:"1E2R3G3F4JJ0",name:"Other PCBID",ota:!0,cabinet:!0}];return(i,v)=>(s(),b(N,null,{default:u(()=>[r(M,null,{default:u(()=>[r(E,{class:"mb-6","arcade-data":n(t)},null,8,["arcade-data"]),r(L,{icon:n(V),title:"Machines",main:""},null,8,["icon"]),r(w,{class:"mb-6","has-table":""},{default:u(()=>[o.length?(s(),b(U,{key:0,machines:o})):$("",!0),o.length?$("",!0):(s(),b(F,{key:1}))]),_:1})]),_:1})]),_:1}))}};export{S as default}; diff --git a/assets/MachinesView.c0ce717b.js b/assets/MachinesView.c0ce717b.js deleted file mode 100644 index a442f8d..0000000 --- a/assets/MachinesView.c0ce717b.js +++ /dev/null @@ -1 +0,0 @@ -import{J as g,z as m,o as s,c as p,b as a,F as b,r as k,t as l,g as n,a as c,w as u,l as P,d as h,p as y,ai as D,ac as N,e as x,k as I,f as L,_ as w,h as $,i as M,aa as V}from"./index.49bfadcb.js";import{_ as E}from"./ArcadeCard.d52b5351.js";import{C as F}from"./CardBoxComponentEmpty.1ecaf60a.js";import"./area.7873ab93.js";const J=a("thead",null,[a("tr",null,[a("th",null,"Name"),a("th",null,"PCBID"),a("th",null,"Cabinet?"),a("th",null,"Updates?")])],-1),A={"data-label":"Name"},G={"data-label":"PCBID"},O={"data-label":"Cabinet?"},R={"data-label":"Updates?"},T={class:"p-3 lg:px-6 border-t border-gray-100 dark:border-slate-800"},U={__name:"TableMachine",props:{machines:{type:Object,required:!0}},setup(v){const d=v,r=g(8),t=g(0),o=m(()=>d.machines.slice(r.value*t.value,r.value*(t.value+1))),i=m(()=>Math.ceil(d.machines.length/r.value)),C=m(()=>t.value+1),B=m(()=>{const f=[];for(let _=0;_(s(),p(b,null,[a("table",null,[J,a("tbody",null,[(s(!0),p(b,null,k(n(o),e=>(s(),p("tr",{key:e.id},[a("td",A,l(e.name),1),a("td",G,l(e.pcbid),1),a("td",O,l(e.cabinet?"Yes":"No"),1),a("td",R,l(e.ota?"Yes":"No"),1)]))),128))])]),a("div",T,[c(D,null,{default:u(()=>[c(P,null,{default:u(()=>[(s(!0),p(b,null,k(n(B),e=>(s(),h(y,{key:e,active:e===t.value,label:e+1,color:e===t.value?"lightDark":"whiteDark",small:"",onClick:Y=>t.value=e},null,8,["active","label","color","onClick"]))),128))]),_:1}),a("small",null,"Page "+l(n(C))+" of "+l(n(i)),1)]),_:1})])],64))}},S={__name:"MachinesView",setup(v){const d=I(),r=parseInt(d.params.id),t=N.find(i=>i.id===r),o=[{id:0,pcbid:"1A2B3C4D0000",name:"Test PCBID",ota:!1,cabinet:!1},{id:1,pcbid:"1E2R3G3F4JJ0",name:"Other PCBID",ota:!0,cabinet:!0}];return(i,C)=>(s(),h(x,null,{default:u(()=>[c(M,null,{default:u(()=>[c(E,{class:"mb-6","arcade-data":n(t)},null,8,["arcade-data"]),c(L,{icon:n(V),title:"Machines",main:""},null,8,["icon"]),c(w,{class:"mb-6","has-table":""},{default:u(()=>[o.length?(s(),h(U,{key:0,machines:o})):$("",!0),o.length?$("",!0):(s(),h(F,{key:1}))]),_:1})]),_:1})]),_:1}))}};export{S as default}; diff --git a/assets/NetworkScores.7a411f8d.js b/assets/NetworkScores.7a411f8d.js new file mode 100644 index 0000000..cd0b3cc --- /dev/null +++ b/assets/NetworkScores.7a411f8d.js @@ -0,0 +1 @@ +import{am as c,d as l,w as s,e as m,k as u,u as f,o as _,a as t,p as d,g as a,f as g,_ as p,i as h,q as b,aA as H}from"./index.b8f03a0d.js";import{_ as S}from"./TableScores.8dd72a70.js";import"./CardBoxComponentEmpty.79c377cf.js";const P={__name:"NetworkScores",setup($){const r=u(),i=f();var o=null,e=null;o=r.params.game,e=c(o),e||i.push({name:"ErrorPage",params:{catchAll:"404"}});const n=[{id:1,player:"TRMAZI",timestamp:"2023.05.30 12:00:39 AM",isHighScore:!1,song:{id:10741,name:"100 Sec. Kitchen Battle!!",artist:"Orange Lounge",chart:"SP EXPERT",difficulty:"12"},grade:"B+",points:787690,combo:42,location:{arcade:"Ho-House",type:"Cab"}},{id:1,player:"BARRU",timestamp:"2023.05.30 12:00:39 AM",isHighScore:!1,song:{id:10741,name:"100 Sec. Kitchen Battle!!",artist:"Orange Lounge",chart:"SP EXPERT",difficulty:"12"},grade:"B+",points:787690,combo:42,location:{arcade:"Ho-House",type:"Cab"}},{id:1,player:"HO",timestamp:"2023.05.30 12:00:39 AM",isHighScore:!1,song:{id:10741,name:"100 Sec. Kitchen Battle!!",artist:"Orange Lounge",chart:"SP EXPERT",difficulty:"12"},grade:"B+",points:787690,combo:42,location:{arcade:"Ho-House",type:"Cab"}}];return(B,y)=>(_(),l(m,null,{default:s(()=>[t(h,null,{default:s(()=>[t(d,{icon:a(b),href:`/#/games/${a(o)}`,class:"w-full md:w-auto mb-6",color:"info",label:`${a(e).shortName?a(e).shortName:a(e).name} Home`},null,8,["icon","href","label"]),t(g,{icon:a(H),title:`All ${a(e).shortName?a(e).shortName:a(e).name} Scores`,main:""},null,8,["icon","title"]),t(p,{"has-table":""},{default:s(()=>[t(S,{game:a(o),entries:n},null,8,["game"])]),_:1})]),_:1})]),_:1}))}};export{P as default}; diff --git a/assets/NewsView.c5e76864.js b/assets/NewsView.5a505bb6.js similarity index 92% rename from assets/NewsView.c5e76864.js rename to assets/NewsView.5a505bb6.js index b59750b..4b913da 100644 --- a/assets/NewsView.c5e76864.js +++ b/assets/NewsView.5a505bb6.js @@ -1,4 +1,4 @@ -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.49bfadcb.js";import{C as N}from"./CardBoxComponentEmpty.1ecaf60a.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` +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.b8f03a0d.js";import{C as N}from"./CardBoxComponentEmpty.79c377cf.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; diff --git a/assets/PaseliView.19135830.js b/assets/PaseliView.19135830.js new file mode 100644 index 0000000..b0d4843 --- /dev/null +++ b/assets/PaseliView.19135830.js @@ -0,0 +1 @@ +import{J as y,z as h,o as s,c as p,b as a,F as g,r as P,t as c,g as e,a as r,w as i,l as L,d as o,p as D,ai as T,ac as w,e as A,k as E,f as $,_ as C,h as f,i as I,ap as M,aq as R}from"./index.b8f03a0d.js";import{_ as S}from"./ArcadeCard.68c754be.js";import{C as x}from"./CardBoxComponentEmpty.79c377cf.js";import"./area.7873ab93.js";const N=a("thead",null,[a("tr",null,[a("th",null,"User"),a("th",null,"Value"),a("th",null,"Machine"),a("th",null,"Reason"),a("th",null,"Timestamp")])],-1),q={"data-label":"User"},z={"data-label":"Value"},F={"data-label":"Machine"},H={"data-label":"Reason"},U={"data-label":"Timestamp"},j={class:"p-3 lg:px-6 border-t border-gray-100 dark:border-slate-800"},V={__name:"TablePaseli",props:{transactions:{type:Object,required:!0}},setup(v){const _=v,u=y(8),l=y(0),n=h(()=>_.transactions.slice(u.value*l.value,u.value*(l.value+1))),d=h(()=>Math.ceil(_.transactions.length/u.value)),k=h(()=>l.value+1),B=h(()=>{const b=[];for(let m=0;m(s(),p(g,null,[a("table",null,[N,a("tbody",null,[(s(!0),p(g,null,P(e(n),t=>(s(),p("tr",{key:t.id,class:"border-b-[12px] lg:border-b-0"},[a("td",q,c(t.user),1),a("td",z,c(t.value),1),a("td",F,c(t.machine),1),a("td",H,c(t.reason),1),a("td",U,c(t.timestamp),1)]))),128))])]),a("div",j,[r(T,null,{default:i(()=>[r(L,null,{default:i(()=>[(s(!0),p(g,null,P(e(B),t=>(s(),o(D,{key:t,active:t===l.value,label:t+1,color:t===l.value?"lightDark":"whiteDark",small:"",onClick:J=>l.value=t},null,8,["active","label","color","onClick"]))),128))]),_:1}),a("small",null,"Page "+c(e(k))+" of "+c(e(d)),1)]),_:1})])],64))}},Q={__name:"PaseliView",setup(v){const _=E(),u=parseInt(_.params.id),l=w.find(d=>d.id===u);var n=[{id:0,value:-300,timestamp:"7/13/2023 1:27 PM",machine:"SDVX",reason:"/eacoin/nstart",user:"Trmazi"}];return(d,k)=>(s(),o(A,null,{default:i(()=>[r(I,null,{default:i(()=>[r(S,{class:"mb-6","arcade-data":e(l)},null,8,["arcade-data"]),r($,{icon:e(M),title:"Player PASELI Balances",main:""},null,8,["icon"]),r(C,{class:"mb-6","has-table":""},{default:i(()=>[e(n).length?(s(),o(V,{key:0,transactions:e(n)},null,8,["transactions"])):f("",!0),e(n).length?f("",!0):(s(),o(x,{key:1}))]),_:1}),r($,{icon:e(R),title:"PASELI Transaction History",main:""},null,8,["icon"]),r(C,{class:"mb-6","has-table":""},{default:i(()=>[e(n).length?(s(),o(V,{key:0,transactions:e(n)},null,8,["transactions"])):f("",!0),e(n).length?f("",!0):(s(),o(x,{key:1}))]),_:1})]),_:1})]),_:1}))}};export{Q as default}; diff --git a/assets/PaseliView.ad7696ab.js b/assets/PaseliView.ad7696ab.js deleted file mode 100644 index 0a07c48..0000000 --- a/assets/PaseliView.ad7696ab.js +++ /dev/null @@ -1 +0,0 @@ -import{J as y,z as h,o as s,c as p,b as a,F as v,r as P,t as c,g as e,a as r,w as i,l as L,d as o,p as D,ai as T,ac as w,e as A,k as E,f as $,_ as C,h as f,i as I,ap as M,aq as R}from"./index.49bfadcb.js";import{_ as S}from"./ArcadeCard.d52b5351.js";import{C as V}from"./CardBoxComponentEmpty.1ecaf60a.js";import"./area.7873ab93.js";const N=a("thead",null,[a("tr",null,[a("th",null,"User"),a("th",null,"Value"),a("th",null,"Machine"),a("th",null,"Reason"),a("th",null,"Timestamp")])],-1),q={"data-label":"User"},z={"data-label":"Value"},F={"data-label":"Machine"},H={"data-label":"Reason"},U={"data-label":"Timestamp"},j={class:"p-3 lg:px-6 border-t border-gray-100 dark:border-slate-800"},x={__name:"TablePaseli",props:{transactions:{type:Object,required:!0}},setup(g){const _=g,u=y(8),l=y(0),n=h(()=>_.transactions.slice(u.value*l.value,u.value*(l.value+1))),d=h(()=>Math.ceil(_.transactions.length/u.value)),k=h(()=>l.value+1),B=h(()=>{const b=[];for(let m=0;m(s(),p(v,null,[a("table",null,[N,a("tbody",null,[(s(!0),p(v,null,P(e(n),t=>(s(),p("tr",{key:t.id},[a("td",q,c(t.user),1),a("td",z,c(t.value),1),a("td",F,c(t.machine),1),a("td",H,c(t.reason),1),a("td",U,c(t.timestamp),1)]))),128))])]),a("div",j,[r(T,null,{default:i(()=>[r(L,null,{default:i(()=>[(s(!0),p(v,null,P(e(B),t=>(s(),o(D,{key:t,active:t===l.value,label:t+1,color:t===l.value?"lightDark":"whiteDark",small:"",onClick:J=>l.value=t},null,8,["active","label","color","onClick"]))),128))]),_:1}),a("small",null,"Page "+c(e(k))+" of "+c(e(d)),1)]),_:1})])],64))}},Q={__name:"PaseliView",setup(g){const _=E(),u=parseInt(_.params.id),l=w.find(d=>d.id===u);var n=[{id:0,value:-300,timestamp:"7/13/2023 1:27 PM",machine:"SDVX",reason:"/eacoin/nstart",user:"Trmazi"}];return(d,k)=>(s(),o(A,null,{default:i(()=>[r(I,null,{default:i(()=>[r(S,{class:"mb-6","arcade-data":e(l)},null,8,["arcade-data"]),r($,{icon:e(M),title:"Player PASELI Balances",main:""},null,8,["icon"]),r(C,{class:"mb-6","has-table":""},{default:i(()=>[e(n).length?(s(),o(x,{key:0,transactions:e(n)},null,8,["transactions"])):f("",!0),e(n).length?f("",!0):(s(),o(V,{key:1}))]),_:1}),r($,{icon:e(R),title:"PASELI Transaction History",main:""},null,8,["icon"]),r(C,{class:"mb-6","has-table":""},{default:i(()=>[e(n).length?(s(),o(x,{key:0,transactions:e(n)},null,8,["transactions"])):f("",!0),e(n).length?f("",!0):(s(),o(V,{key:1}))]),_:1})]),_:1})]),_:1}))}};export{Q as default}; diff --git a/assets/PersonalScores.a81aa53f.js b/assets/PersonalScores.a81aa53f.js new file mode 100644 index 0000000..343e87f --- /dev/null +++ b/assets/PersonalScores.a81aa53f.js @@ -0,0 +1 @@ +import{am as c,d as m,w as t,e as u,k as f,u as _,o as p,a as s,p as d,g as a,f as g,_ as h,i as $,q as b,aA as B}from"./index.b8f03a0d.js";import{_ as k}from"./TableScores.8dd72a70.js";import"./CardBoxComponentEmpty.79c377cf.js";const x={__name:"PersonalScores",setup(A){const n=f(),i=_();var o=null,e=null;o=n.params.game,e=c(o),e||i.push({name:"ErrorPage",params:{catchAll:"404"}});const r={id:1,name:"TRMAZI"},l=[{id:1,player:"TRMAZI",timestamp:"2023.05.30 12:00:39 AM",isHighScore:!1,song:{id:10741,name:"100 Sec. Kitchen Battle!!",artist:"Orange Lounge",chart:"SP EXPERT",difficulty:"12"},grade:"B+",points:787690,combo:42,location:{arcade:"Ho-House",type:"Cab"}}];return(P,R)=>(p(),m(u,null,{default:t(()=>[s($,null,{default:t(()=>[s(d,{icon:a(b),href:`/#/games/${a(o)}/profiles/${r.id}`,class:"w-full md:w-auto mb-6",color:"info",label:"Back to Profile"},null,8,["icon","href"]),s(g,{icon:a(B),title:`${r.name}'s ${a(e).shortName?a(e).shortName:a(e).name} Scores`,main:""},null,8,["icon","title"]),s(h,{"has-table":""},{default:t(()=>[s(k,{"is-personal":"",game:a(o),entries:l},null,8,["game"])]),_:1})]),_:1})]),_:1}))}};export{x as default}; diff --git a/assets/PlayerView.a3109244.js b/assets/PlayerView.a3109244.js deleted file mode 100644 index bcac91b..0000000 --- a/assets/PlayerView.a3109244.js +++ /dev/null @@ -1,5 +0,0 @@ -var N=Object.defineProperty;var V=(s,a,i)=>a in s?N(s,a,{enumerable:!0,configurable:!0,writable:!0,value:i}):s[a]=i;var f=(s,a,i)=>(V(s,typeof a!="symbol"?a+"":a,i),i);import{s as I,am as x,d as $,w as c,e as w,k as K,u as C,o as m,a as o,b as u,p as B,g as d,c as y,h as g,f as J,F as G,r as X,n as L,i as T,q as z,av as j,a2 as F,D as O,X as R,t as p}from"./index.49bfadcb.js";import{_ as A,g as E,a as q}from"./ProfileCard.b0fcd669.js";import{_ as U}from"./FormControl.1a09880b.js";import"./userData.bcc92478.js";class k{}f(k,"danList",[{id:100,label:"7th Kyu (\u4E03\u7D1A)",short:"\u4E03\u7D1A"},{id:200,label:"6th Kyu (\u516D\u7D1A)",short:"\u516D\u7D1A"},{id:300,label:"5th Kyu (\u4E94\u7D1A)",short:"\u4E94\u7D1A"},{id:400,label:"4th Kyu (\u56DB\u7D1A)",short:"\u56DB\u7D1A"},{id:500,label:"3rd Kyu (\u4E09\u7D1A)",short:"\u4E09\u7D1A"},{id:600,label:"2nd Kyu (\u4E8C\u7D1A)",short:"\u4E8C\u7D1A"},{id:700,label:"1st Kyu (\u4E00\u7D1A)",short:"\u4E00\u7D1A"},{id:800,label:"1st Dan (\u521D\u6BB5)",short:"\u521D\u6BB5"},{id:900,label:"2nd Dan (\u4E8C\u6BB5)",short:"\u4E8C\u6BB5"},{id:1e3,label:"3rd Dan (\u4E09\u6BB5)",short:"\u4E09\u6BB5"},{id:1100,label:"4th Dan (\u56DB\u6BB5)",short:"\u56DB\u6BB5"},{id:1200,label:"5th Dan (\u4E94\u6BB5)",short:"\u4E94\u6BB5"},{id:1300,label:"6th Dan (\u516D\u6BB5)",short:"\u516D\u6BB5"},{id:1400,label:"7th Dan (\u4E03\u6BB5)",short:"\u4E03\u6BB5"},{id:1500,label:"8th Dan (\u516B\u6BB5)",short:"\u516B\u6BB5"},{id:1600,label:"9th Dan (\u4E5D\u6BB5)",short:"\u4E5D\u6BB5"},{id:1700,label:"10th Dan (\u5341\u6BB5)",short:"\u5341\u6BB5"},{id:1800,label:"Chuuden (\u4E2D\u4F1D)",short:"\u4E2D\u4F1D"},{id:1900,label:"Kaiden (\u7686\u4F1D)",short:"\u7686\u4F1D"}]);function Y(s){var a=k.danList.find(i=>i.id==s);return a||(a={id:0,label:"--",short:"--"}),a}const H={class:"md:flex pb-6 md:px-5 md:space-x-10 md:justify-between md:items-center"},M={key:0,class:"mt-2 md:mt-0 md:w-1/3 md:text-right"},Q=u("h2",{class:"text-md sm:text-lg md:text-xl font-bold p-2"}," Select Version ",-1),W={class:"bg-white dark:bg-slate-900/90 rounded-2xl pt-6 p-3"},Z={class:"w-full"},ee={class:"my-6 grid grid-cols-1 md:grid-cols-4 gap-6"},re={__name:"PlayerView",setup(s){const a=K(),i=C();var b=null,r=null;const n=I({currentVersion:null}),t={id:1,name:"Trmazi",extid:12345678,avatar:"https://static.wikia.nocookie.net/dancedancerevolutionddr/images/3/3b/Yuni_img1.gif/",last:{arcade:"GhettoCade",date:"7/16/2023"},stats:{firstPlay:"1/14/2021",singlePlays:165,singleDan:1900,singlePoint:1877,doublePlays:15,doubleDan:0,doublePoint:187,skillPoints:193090,jubility:7600}},_=[{id:0,label:"Register Date",type:String,span:"md:col-span-2",key:"firstPlay"},{id:1,label:"Single Plays",type:Number,key:"singlePlays"},{id:2,label:"Single Dan",type:String,key:"singleDan",isIIDXDan:!0},{id:3,label:"Single DJ POINT",type:Number,key:"singlePoint"},{id:4,label:"Double Plays",type:Number,key:"doublePlays"},{id:5,label:"Double Dan",type:String,key:"doubleDan",isIIDXDan:!0},{id:6,label:"Double DJ POINT",type:Number,key:"doublePoint"},{id:7,label:"SKILL Points",type:Number,key:"skillPoints",isSkill:!0},{id:8,label:"Jubility",type:Number,key:"jubility",isJubility:!0}];b=a.params.game,r=x(b),r||i.push({name:"ErrorPage",params:{catchAll:"404"}}),r.versions||(n.currentVersion=1);function D(){var e=null;return n.currentVersion?e=`/assets/games/${r.id}/card/${n.currentVersion}.png`:e=r.cardBG,e}function v(){return` - background-image: url('${D()}'); - background-size: cover; - background-repeat: no-repeat; - `}function P(e){return e.isSkill?t.stats[e.key]/100:e.isJubility?t.stats[e.key]/10:t.stats[e.key]}function S(e){return e.isSkill?E(t.stats[e.key]):e.isJubility?q(t.stats[e.key]):""}return(e,h)=>(m(),$(w,null,{default:c(()=>[o(T,null,{default:c(()=>[u("div",H,[o(B,{icon:d(z),href:`/#/games/${d(b)}`,class:"w-full md:w-auto",color:"info",label:"Go Back"},null,8,["icon","href"]),d(r).versions?(m(),y("div",M,[Q,o(U,{modelValue:n.currentVersion,"onUpdate:modelValue":h[0]||(h[0]=l=>n.currentVersion=l),options:d(r).versions},null,8,["modelValue","options"])])):g("",!0)]),o(J,{icon:d(j),title:"View Profile",main:""},null,8,["icon"]),n.currentVersion?(m(),y("div",{key:0,style:L(v()),class:"rounded-2xl mb-6"},[u("div",W,[u("div",Z,[o(A,{"use-small":"",profile:t},{default:c(()=>[u("div",ee,[(m(),y(G,null,X(_,l=>o(F,{key:l.id,class:O(l.span),label:l.label,number:l.type==Number?P(l):e.None,"num-color":S(l)},{default:c(()=>[R(p(l.type==String&&!l.isIIDXDan&&!l.isSkill?t.stats[l.key]:e.None)+" "+p(l.type==String&&l.isIIDXDan?d(Y)(t.stats[l.key]).label:e.None),1)]),_:2},1032,["class","label","number","num-color"])),64))])]),_:1})])])],4)):g("",!0)]),_:1})]),_:1}))}};export{re as default}; diff --git a/assets/PlayerView.caafddab.js b/assets/PlayerView.caafddab.js new file mode 100644 index 0000000..90c8771 --- /dev/null +++ b/assets/PlayerView.caafddab.js @@ -0,0 +1,5 @@ +var V=Object.defineProperty;var N=(t,s,r)=>s in t?V(t,s,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[s]=r;var g=(t,s,r)=>(N(t,typeof s!="symbol"?s+"":s,r),r);import{s as $,am as I,d as x,w as m,e as K,k as C,u as B,o as b,a as n,b as d,p as y,g as i,c as f,h as p,f as J,F as G,r as L,n as T,i as X,q as j,ax as z,av as F,aw as O,a2 as R,D as A,X as E,t as _}from"./index.b8f03a0d.js";import{_ as q,g as M,a as U}from"./ProfileCard.0f5ca27a.js";import{_ as Y}from"./FormControl.6e614227.js";import"./userData.bcc92478.js";class k{}g(k,"danList",[{id:100,label:"7th Kyu (\u4E03\u7D1A)",short:"\u4E03\u7D1A"},{id:200,label:"6th Kyu (\u516D\u7D1A)",short:"\u516D\u7D1A"},{id:300,label:"5th Kyu (\u4E94\u7D1A)",short:"\u4E94\u7D1A"},{id:400,label:"4th Kyu (\u56DB\u7D1A)",short:"\u56DB\u7D1A"},{id:500,label:"3rd Kyu (\u4E09\u7D1A)",short:"\u4E09\u7D1A"},{id:600,label:"2nd Kyu (\u4E8C\u7D1A)",short:"\u4E8C\u7D1A"},{id:700,label:"1st Kyu (\u4E00\u7D1A)",short:"\u4E00\u7D1A"},{id:800,label:"1st Dan (\u521D\u6BB5)",short:"\u521D\u6BB5"},{id:900,label:"2nd Dan (\u4E8C\u6BB5)",short:"\u4E8C\u6BB5"},{id:1e3,label:"3rd Dan (\u4E09\u6BB5)",short:"\u4E09\u6BB5"},{id:1100,label:"4th Dan (\u56DB\u6BB5)",short:"\u56DB\u6BB5"},{id:1200,label:"5th Dan (\u4E94\u6BB5)",short:"\u4E94\u6BB5"},{id:1300,label:"6th Dan (\u516D\u6BB5)",short:"\u516D\u6BB5"},{id:1400,label:"7th Dan (\u4E03\u6BB5)",short:"\u4E03\u6BB5"},{id:1500,label:"8th Dan (\u516B\u6BB5)",short:"\u516B\u6BB5"},{id:1600,label:"9th Dan (\u4E5D\u6BB5)",short:"\u4E5D\u6BB5"},{id:1700,label:"10th Dan (\u5341\u6BB5)",short:"\u5341\u6BB5"},{id:1800,label:"Chuuden (\u4E2D\u4F1D)",short:"\u4E2D\u4F1D"},{id:1900,label:"Kaiden (\u7686\u4F1D)",short:"\u7686\u4F1D"}]);function H(t){var s=k.danList.find(r=>r.id==t);return s||(s={id:0,label:"--",short:"--"}),s}const Q={class:"md:flex pb-6 md:justify-between md:items-center"},W={key:0,class:"mt-2 md:mt-0 md:w-1/3 md:text-right"},Z=d("h2",{class:"text-md sm:text-lg md:text-xl font-bold p-2"}," Select Version ",-1),ee={class:"bg-white dark:bg-slate-900/90 rounded-2xl pt-6 p-3"},le={class:"w-full"},se={class:"my-4 w-full flex gap-2 justify-center"},ae={class:"my-6 grid grid-cols-1 md:grid-cols-4 gap-6"},ue={__name:"PlayerView",setup(t){const s=C(),r=B();var c=null,o=null;const u=$({currentVersion:null}),a={id:1,name:"Trmazi",extid:12345678,avatar:"https://static.wikia.nocookie.net/dancedancerevolutionddr/images/3/3b/Yuni_img1.gif/",last:{arcade:"GhettoCade",date:"7/16/2023"},stats:{firstPlay:"1/14/2021",singlePlays:165,singleDan:1900,singlePoint:1877,doublePlays:15,doubleDan:0,doublePoint:187,skillPoints:193090,jubility:7600}},D=[{id:0,label:"Register Date",type:String,span:"md:col-span-2",key:"firstPlay"},{id:1,label:"Single Plays",type:Number,key:"singlePlays"},{id:2,label:"Single Dan",type:String,key:"singleDan",isIIDXDan:!0},{id:3,label:"Single DJ POINT",type:Number,key:"singlePoint"},{id:4,label:"Double Plays",type:Number,key:"doublePlays"},{id:5,label:"Double Dan",type:String,key:"doubleDan",isIIDXDan:!0},{id:6,label:"Double DJ POINT",type:Number,key:"doublePoint"},{id:7,label:"SKILL Points",type:Number,key:"skillPoints",isSkill:!0},{id:8,label:"Jubility",type:Number,key:"jubility",isJubility:!0}];c=s.params.game,o=I(c),o||r.push({name:"ErrorPage",params:{catchAll:"404"}}),o.versions||(u.currentVersion=1);function v(){var e=null;return u.currentVersion?e=`/assets/games/${o.id}/card/${u.currentVersion}.png`:e=o.cardBG,e}function P(){return` + background-image: url('${v()}'); + background-size: cover; + background-repeat: no-repeat; + `}function S(e){return e.isSkill?a.stats[e.key]/100:e.isJubility?a.stats[e.key]/10:a.stats[e.key]}function w(e){return e.isSkill?M(a.stats[e.key]):e.isJubility?U(a.stats[e.key]):""}return(e,h)=>(b(),x(K,null,{default:m(()=>[n(X,null,{default:m(()=>[d("div",Q,[n(y,{icon:i(j),href:`/#/games/${i(c)}`,class:"w-full md:w-auto",color:"info",label:"Go Back"},null,8,["icon","href"]),i(o).versions?(b(),f("div",W,[Z,n(Y,{modelValue:u.currentVersion,"onUpdate:modelValue":h[0]||(h[0]=l=>u.currentVersion=l),options:i(o).versions},null,8,["modelValue","options"])])):p("",!0)]),n(J,{icon:i(z),title:"View Profile",main:""},null,8,["icon"]),u.currentVersion?(b(),f("div",{key:0,style:T(P()),class:"rounded-2xl mb-6"},[d("div",ee,[d("div",le,[n(q,{"use-small":"",profile:a},{default:m(()=>[d("div",se,[n(y,{href:`/#/games/${i(c)}/scores/${a.id}`,icon:i(F),class:"w-full md:w-auto",color:"info",label:"View Scores"},null,8,["href","icon"]),n(y,{href:`/#/games/${i(c)}/records/${a.id}`,icon:i(O),class:"w-full md:w-auto",color:"info",label:"View Records"},null,8,["href","icon"])]),d("div",ae,[(b(),f(G,null,L(D,l=>n(R,{key:l.id,class:A(l.span),label:l.label,number:l.type==Number?S(l):e.None,"num-color":w(l)},{default:m(()=>[E(_(l.type==String&&!l.isIIDXDan&&!l.isSkill?a.stats[l.key]:e.None)+" "+_(l.type==String&&l.isIIDXDan?i(H)(a.stats[l.key]).label:e.None),1)]),_:2},1032,["class","label","number","num-color"])),64))])]),_:1})])])],4)):p("",!0)]),_:1})]),_:1}))}};export{ue as default}; diff --git a/assets/PostView.28ab2847.js b/assets/PostView.08f86467.js similarity index 94% rename from assets/PostView.28ab2847.js rename to assets/PostView.08f86467.js index aacd5f6..ed77820 100644 --- a/assets/PostView.28ab2847.js +++ b/assets/PostView.08f86467.js @@ -1,2 +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.49bfadcb.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(` +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.b8f03a0d.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/ProfileCard.0f5ca27a.js b/assets/ProfileCard.0f5ca27a.js new file mode 100644 index 0000000..04f5823 --- /dev/null +++ b/assets/ProfileCard.0f5ca27a.js @@ -0,0 +1 @@ +var y=Object.defineProperty;var h=(e,t,l)=>t in e?y(e,t,{enumerable:!0,configurable:!0,writable:!0,value:l}):e[t]=l;var x=(e,t,l)=>(h(e,typeof t!="symbol"?t+"":t,l),l);import{am as b,o as r,c as u,b as i,h as n,D as k,t as m,g as o,X as g,d as c,at as S,p as s,au as v,av as $,aw as w,G as p,F as C}from"./index.b8f03a0d.js";import{d as j}from"./userData.bcc92478.js";class d{}x(d,"gitadoraSkill",[{id:1,min:0,max:99999,color:"text-white"},{id:2,min:1e5,max:149999,color:"text-orange-500"},{id:3,min:15e4,max:199999,color:"text-orange-600"},{id:4,min:2e5,max:249999,color:"text-yellow-400"},{id:5,min:25e4,max:299999,color:"text-yellow-500"},{id:6,min:3e5,max:349999,color:"text-green-500"},{id:7,min:35e4,max:399999,color:"text-lime-500"},{id:8,min:4e5,max:449999,color:"text-blue-500"},{id:9,min:45e4,max:499999,color:"text-cyan-500"},{id:10,min:5e5,max:549999,color:"text-purple-600"},{id:11,min:55e4,max:599999,color:"text-purple-500"},{id:12,min:6e5,max:649999,color:"text-red-500"},{id:13,min:65e4,max:699999,color:"text-red-700"},{id:14,min:7e5,max:749999,color:"text-amber-600"},{id:15,min:75e4,max:799999,color:"text-stone-400"},{id:16,min:8e5,max:849999,color:"text-yellow-500"},{id:17,min:85e4,max:999999,color:"text-transparent bg-clip-text bg-gradient-to-bl from-green-300 via-blue-500 to-purple-600"}]),x(d,"jubilitySkill",[{id:1,min:0,max:2499,color:"text-white"},{id:2,min:2500,max:7499,color:"text-emerald-500"},{id:3,min:7500,max:14999,color:"text-green-500"},{id:4,min:15e3,max:24999,color:"text-sky-500"},{id:5,min:25e3,max:39999,color:"text-blue-500"},{id:6,min:4e4,max:54999,color:"text-violet-600"},{id:7,min:55e3,max:69999,color:"text-purple-600"},{id:8,min:7e4,max:84999,color:"text-pink-300"},{id:9,min:85e3,max:94999,color:"text-orange-600"},{id:10,min:95e3,max:999999,color:"text-yellow-500"}]);function B(e){var t=d.gitadoraSkill.find(l=>e>=l.min&&l.max>=e);return t.color}function P(e){var t=d.jubilitySkill.find(l=>e>=l.min&&l.max>=e);return t.color}const G={class:"flex content-center justify-center items-center"},V=["src"],D={class:"space-y-2 text-center md:text-left lg:mx-12 p-2"},F={class:"text-xl font-mono"},M={class:"text-md md:text-lg"},N={class:"grid grid-cols-1 md:grid-cols-2 gap-3"},R={__name:"ProfileCard",props:{game:{type:String,default:null},profile:{type:Object,required:!0},useSmall:{type:Boolean,default:!1}},setup(e){const t=e;function l(){if(t.profile.stats){const a=t.profile.stats;if(a.jubility)return P(a.jubility);if(a.skillPoints)return B(a.skillPoints)}}const f=b(t.game);return(a,T)=>(r(),u(C,null,[i("div",G,[e.profile.avatar?(r(),u("img",{key:0,class:"h-40",src:e.profile.avatar},null,8,V)):n("",!0),i("div",D,[i("h1",{class:k([l(),"text-3xl md:text-4xl font-bold"])},m(e.profile.name),3),i("p",F,m(o(j)(e.profile.extid)),1),i("p",M,[g(" Last played at "),i("b",null,m(e.profile.last.arcade),1),g(" on "),i("b",null,m(e.profile.last.date),1)]),i("div",N,[!e.useSmall&&e.game?(r(),c(s,{key:0,icon:o(S),href:`/#/games/${e.game}/profiles/${e.profile.id}`,color:"info",label:"View Profile"},null,8,["icon","href"])):n("",!0),!e.useSmall&&e.game?(r(),c(s,{key:1,icon:o(v),href:`/#/games/${e.game}/profiles/${e.profile.id}/edit`,color:"info",label:"Edit Profile"},null,8,["icon","href"])):n("",!0),!e.useSmall&&!o(f).noScores?(r(),c(s,{key:2,href:`/#/games/${e.game}/scores/${e.profile.id}`,icon:o($),color:"info",label:"My Scores"},null,8,["href","icon"])):n("",!0),!e.useSmall&&!o(f).noRecords?(r(),c(s,{key:3,href:`/#/games/${e.game}/records/${e.profile.id}`,icon:o(w),color:"info",label:"My Records"},null,8,["href","icon"])):n("",!0)])])]),p(a.$slots,"default")],64))}};export{R as _,P as a,B as g}; diff --git a/assets/ProfileCard.b0fcd669.js b/assets/ProfileCard.b0fcd669.js deleted file mode 100644 index 028584e..0000000 --- a/assets/ProfileCard.b0fcd669.js +++ /dev/null @@ -1 +0,0 @@ -var g=Object.defineProperty;var y=(e,t,l)=>t in e?g(e,t,{enumerable:!0,configurable:!0,writable:!0,value:l}):e[t]=l;var m=(e,t,l)=>(y(e,typeof t!="symbol"?t+"":t,l),l);import{o as a,c as d,b as i,h as c,D as b,t as r,g as s,X as x,d as f,at as h,p as u,au as p,G as k,F as v}from"./index.49bfadcb.js";import{d as S}from"./userData.bcc92478.js";class n{}m(n,"gitadoraSkill",[{id:1,min:0,max:99999,color:"text-white"},{id:2,min:1e5,max:149999,color:"text-orange-500"},{id:3,min:15e4,max:199999,color:"text-orange-600"},{id:4,min:2e5,max:249999,color:"text-yellow-400"},{id:5,min:25e4,max:299999,color:"text-yellow-500"},{id:6,min:3e5,max:349999,color:"text-green-500"},{id:7,min:35e4,max:399999,color:"text-lime-500"},{id:8,min:4e5,max:449999,color:"text-blue-500"},{id:9,min:45e4,max:499999,color:"text-cyan-500"},{id:10,min:5e5,max:549999,color:"text-purple-600"},{id:11,min:55e4,max:599999,color:"text-purple-500"},{id:12,min:6e5,max:649999,color:"text-red-500"},{id:13,min:65e4,max:699999,color:"text-red-700"},{id:14,min:7e5,max:749999,color:"text-amber-600"},{id:15,min:75e4,max:799999,color:"text-stone-400"},{id:16,min:8e5,max:849999,color:"text-yellow-500"},{id:17,min:85e4,max:999999,color:"text-transparent bg-clip-text bg-gradient-to-bl from-green-300 via-blue-500 to-purple-600"}]),m(n,"jubilitySkill",[{id:1,min:0,max:2499,color:"text-white"},{id:2,min:2500,max:7499,color:"text-emerald-500"},{id:3,min:7500,max:14999,color:"text-green-500"},{id:4,min:15e3,max:24999,color:"text-sky-500"},{id:5,min:25e3,max:39999,color:"text-blue-500"},{id:6,min:4e4,max:54999,color:"text-violet-600"},{id:7,min:55e3,max:69999,color:"text-purple-600"},{id:8,min:7e4,max:84999,color:"text-pink-300"},{id:9,min:85e3,max:94999,color:"text-orange-600"},{id:10,min:95e3,max:999999,color:"text-yellow-500"}]);function w(e){var t=n.gitadoraSkill.find(l=>e>=l.min&&l.max>=e);return t.color}function C(e){var t=n.jubilitySkill.find(l=>e>=l.min&&l.max>=e);return t.color}const $={class:"flex content-center justify-center items-center"},j=["src"],B={class:"space-y-2 text-center md:text-left lg:mx-12 p-2"},P={class:"text-xl font-mono"},V={class:"text-md md:text-lg"},D={class:"flex gap-3"},T={__name:"ProfileCard",props:{game:{type:String,default:null},profile:{type:Object,required:!0},useSmall:{type:Boolean,default:!1}},setup(e){const t=e;function l(){if(t.profile.stats){const o=t.profile.stats;if(o.jubility)return C(o.jubility);if(o.skillPoints)return w(o.skillPoints)}}return(o,N)=>(a(),d(v,null,[i("div",$,[e.profile.avatar?(a(),d("img",{key:0,class:"h-40",src:e.profile.avatar},null,8,j)):c("",!0),i("div",B,[i("h1",{class:b([l(),"text-3xl md:text-4xl font-bold"])},r(e.profile.name),3),i("p",P,r(s(S)(e.profile.extid)),1),i("p",V,[x(" Last played at "),i("b",null,r(e.profile.last.arcade),1),x(" on "),i("b",null,r(e.profile.last.date),1)]),i("div",D,[!e.useSmall&&e.game?(a(),f(u,{key:0,icon:s(h),href:`/#/games/${e.game}/profiles/${e.profile.id}`,color:"success",label:"View Profile"},null,8,["icon","href"])):c("",!0),!e.useSmall&&e.game?(a(),f(u,{key:1,icon:s(p),href:`/#/games/${e.game}/profiles/${e.profile.id}/edit`,color:"info",label:"Edit Profile"},null,8,["icon","href"])):c("",!0)])])]),k(o.$slots,"default")],64))}};export{T as _,C as a,w as g}; diff --git a/assets/ProfileView.8ebf6354.js b/assets/ProfileView.4ee36b0c.js similarity index 95% rename from assets/ProfileView.8ebf6354.js rename to assets/ProfileView.4ee36b0c.js index 4fece9d..8917108 100644 --- a/assets/ProfileView.8ebf6354.js +++ b/assets/ProfileView.4ee36b0c.js @@ -1 +1 @@ -import{I as v,s as f,d as U,w as s,e as P,o as S,a as e,P as $,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,V}from"./index.49bfadcb.js";import{_ as r}from"./FormField.d8177f13.js";import{_ as m}from"./FormCheckRadio.dee6d755.js";import{_ as i}from"./FormControl.1a09880b.js";const h={class:"grid gap-4 grid-cols-2 md:grid-cols-4"},C={class:"grid grid-cols-1 md:grid-cols-2 gap-6"},M={__name:"ProfileView",setup(k){const d=v(),l=f({name:d.userName,email:d.userEmail,pin:"****"}),n=f({password_current:"",password:"",password_confirmation:""}),g=()=>{d.setUser(l)},x=()=>{};return(B,a)=>(S(),U(P,null,{default:s(()=>[e(A,null,{default:s(()=>[e($,{class:"mb-6","use-small":"","even-smaller":""}),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",h,[e(m,{name:"goals","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:"tournaments","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:"paseli","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:"system","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",C,[e(u,{"is-form":"",class:"row-span-1",onSubmit:p(g,["prevent"])},{footer:s(()=>[e(_,{color:"success",type:"submit",label:"Update"})]),default:s(()=>[e(c,{color:"info",label:"General",class:"mb-2"}),e(r,{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(r,{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(r,{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(y),type:"password",name:"pin",required:"",autocomplete:"pin"},null,8,["modelValue","icon"])]),_:1}),e(r,{label:"Public Profile",help:"Allow your profile to be seen publicly"},{default:s(()=>[e(m,{name:"system","model-value":!0,type:"switch"})]),_:1})]),_:1},8,["onSubmit"]),e(u,{"is-form":"",class:"row-span-2",onSubmit:p(x,["prevent"])},{footer:s(()=>[e(_,{type:"submit",color:"success",label:"Update"})]),default:s(()=>[e(c,{color:"info",label:"Change Password",class:"mb-2"}),e(r,{label:"Current password",help:"Required. Your current password"},{default:s(()=>[e(i,{modelValue:n.password_current,"onUpdate:modelValue":a[4]||(a[4]=o=>n.password_current=o),icon:t(y),name:"password_current",type:"password",required:"",autocomplete:"current-password"},null,8,["modelValue","icon"])]),_:1}),e(N),e(r,{label:"New password",help:"Required. New password"},{default:s(()=>[e(i,{modelValue:n.password,"onUpdate:modelValue":a[5]||(a[5]=o=>n.password=o),icon:t(V),name:"password",type:"password",required:"",autocomplete:"new-password"},null,8,["modelValue","icon"])]),_:1}),e(r,{label:"Confirm password",help:"Required. New password one more time"},{default:s(()=>[e(i,{modelValue:n.password_confirmation,"onUpdate:modelValue":a[6]||(a[6]=o=>n.password_confirmation=o),icon:t(V),name:"password_confirmation",type:"password",required:"",autocomplete:"new-password"},null,8,["modelValue","icon"])]),_:1})]),_:1},8,["onSubmit"])])]),_:1})]),_:1}))}};export{M as default}; +import{I as v,s as f,d as U,w as s,e as P,o as S,a as e,P as $,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,V}from"./index.b8f03a0d.js";import{_ as r}from"./FormField.2697e642.js";import{_ as m}from"./FormCheckRadio.9c468987.js";import{_ as i}from"./FormControl.6e614227.js";const h={class:"grid gap-4 grid-cols-2 md:grid-cols-4"},C={class:"grid grid-cols-1 md:grid-cols-2 gap-6"},M={__name:"ProfileView",setup(k){const d=v(),l=f({name:d.userName,email:d.userEmail,pin:"****"}),n=f({password_current:"",password:"",password_confirmation:""}),g=()=>{d.setUser(l)},x=()=>{};return(B,a)=>(S(),U(P,null,{default:s(()=>[e(A,null,{default:s(()=>[e($,{class:"mb-6","use-small":"","even-smaller":""}),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",h,[e(m,{name:"goals","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:"tournaments","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:"paseli","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:"system","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",C,[e(u,{"is-form":"",class:"row-span-1",onSubmit:p(g,["prevent"])},{footer:s(()=>[e(_,{color:"success",type:"submit",label:"Update"})]),default:s(()=>[e(c,{color:"info",label:"General",class:"mb-2"}),e(r,{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(r,{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(r,{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(y),type:"password",name:"pin",required:"",autocomplete:"pin"},null,8,["modelValue","icon"])]),_:1}),e(r,{label:"Public Profile",help:"Allow your profile to be seen publicly"},{default:s(()=>[e(m,{name:"system","model-value":!0,type:"switch"})]),_:1})]),_:1},8,["onSubmit"]),e(u,{"is-form":"",class:"row-span-2",onSubmit:p(x,["prevent"])},{footer:s(()=>[e(_,{type:"submit",color:"success",label:"Update"})]),default:s(()=>[e(c,{color:"info",label:"Change Password",class:"mb-2"}),e(r,{label:"Current password",help:"Required. Your current password"},{default:s(()=>[e(i,{modelValue:n.password_current,"onUpdate:modelValue":a[4]||(a[4]=o=>n.password_current=o),icon:t(y),name:"password_current",type:"password",required:"",autocomplete:"current-password"},null,8,["modelValue","icon"])]),_:1}),e(N),e(r,{label:"New password",help:"Required. New password"},{default:s(()=>[e(i,{modelValue:n.password,"onUpdate:modelValue":a[5]||(a[5]=o=>n.password=o),icon:t(V),name:"password",type:"password",required:"",autocomplete:"new-password"},null,8,["modelValue","icon"])]),_:1}),e(r,{label:"Confirm password",help:"Required. New password one more time"},{default:s(()=>[e(i,{modelValue:n.password_confirmation,"onUpdate:modelValue":a[6]||(a[6]=o=>n.password_confirmation=o),icon:t(V),name:"password_confirmation",type:"password",required:"",autocomplete:"new-password"},null,8,["modelValue","icon"])]),_:1})]),_:1},8,["onSubmit"])])]),_:1})]),_:1}))}};export{M as default}; diff --git a/assets/PublicView.630abaf9.js b/assets/PublicView.fbb2b9a1.js similarity index 94% rename from assets/PublicView.630abaf9.js rename to assets/PublicView.fbb2b9a1.js index d4c4831..f421c80 100644 --- a/assets/PublicView.630abaf9.js +++ b/assets/PublicView.fbb2b9a1.js @@ -1 +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,a7 as s,i as d,x as f,a8 as p,a9 as g,aa as A,ab as l}from"./index.49bfadcb.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}; +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,a7 as s,i as d,x as f,a8 as p,a9 as g,aa as A,ab as l}from"./index.b8f03a0d.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.16d62cc8.js b/assets/RegisterView.16d62cc8.js deleted file mode 100644 index 1b09971..0000000 --- a/assets/RegisterView.16d62cc8.js +++ /dev/null @@ -1 +0,0 @@ -import{s as f,d as _,w as t,o as b,b as s,a as l,g as m,p as i,_ as x,v as V,u as w,x as r,y as u}from"./index.49bfadcb.js";import{_ as g}from"./FormCheckRadio.dee6d755.js";import{_ as d}from"./FormField.d8177f13.js";import{_ as n}from"./FormControl.1a09880b.js";import{_ as v}from"./LayoutGuest.b8c99ff7.js";const y={class:"flex md:min-h-screen md:items-center md:justify-center"},h={class:"p-4 flex flex-col md:flex-row w-full space-y-2 md:space-y-0 md:space-x-4"},U=s("div",{class:"flex flex-col items-center text-wrap h-full"},[s("img",{src:V,class:"rounded-full shadow-lg mb-2"}),s("h1",{class:"text-xl"},[s("samp",null,"PhaseII")]),s("p",{class:"text-sm text-gray-700 dark:text-white/75"}," Spinnin' since 2021 "),s("hr",{class:"border-t border-1 my-1 w-full"}),s("p",{class:"text-lg relative bottom-0"},"Account Registration")],-1),$=s("div",{class:"md:border-r md:border-1"},null,-1),A={class:"grid grid-cols-2 gap-x-2"},k={class:"col-span-2"},C={class:"flex flex-col gap-2 mt-4"},I=s("hr",{class:"border-t border-1 my-4 w-full"},null,-1),P={class:"flex flex-col gap-2 my-4"},R=s("h2",null,"Have an Account?",-1),L={__name:"RegisterView",setup(B){const a=f({username:"",email:"",pass:"",remember:!0}),c=w(),p=()=>{c.push("/")};return(N,e)=>(b(),_(v,null,{default:t(()=>[s("div",y,[l(x,{class:"w-full md:w-auto rounded-none md:rounded-xl","has-table":"","is-auth":""},{default:t(()=>[s("div",h,[U,$,s("div",A,[l(d,{label:"Desired Username"},{default:t(()=>[l(n,{modelValue:a.username,"onUpdate:modelValue":e[0]||(e[0]=o=>a.username=o),icon:m(r),name:"username",autocomplete:"username"},null,8,["modelValue","icon"])]),_:1}),l(d,{label:"Email Address"},{default:t(()=>[l(n,{modelValue:a.email,"onUpdate:modelValue":e[1]||(e[1]=o=>a.email=o),icon:m(r),name:"email",autocomplete:"email"},null,8,["modelValue","icon"])]),_:1}),l(d,{label:"Password"},{default:t(()=>[l(n,{modelValue:a.pass,"onUpdate:modelValue":e[2]||(e[2]=o=>a.pass=o),icon:m(u),type:"password",name:"password",autocomplete:"current-password"},null,8,["modelValue","icon"])]),_:1}),l(d,{label:"Password Confirmation"},{default:t(()=>[l(n,{modelValue:a.pass,"onUpdate:modelValue":e[3]||(e[3]=o=>a.pass=o),icon:m(u),type:"password",name:"password",autocomplete:"current-password"},null,8,["modelValue","icon"])]),_:1}),l(d,{label:"Card ID"},{default:t(()=>[l(n,{modelValue:a.email,"onUpdate:modelValue":e[4]||(e[4]=o=>a.email=o),icon:m(r),name:"card",autocomplete:"card"},null,8,["modelValue","icon"])]),_:1}),l(d,{label:"Game PIN"},{default:t(()=>[l(n,{modelValue:a.pass,"onUpdate:modelValue":e[5]||(e[5]=o=>a.pass=o),icon:m(u),type:"password",name:"password",autocomplete:"current-password"},null,8,["modelValue","icon"])]),_:1}),l(g,{modelValue:a.remember,"onUpdate:modelValue":e[6]||(e[6]=o=>a.remember=o),class:"col-span-2",name:"remember",label:"Remember Me","input-value":!0},null,8,["modelValue"]),s("div",k,[s("div",C,[l(i,{label:"Create Account",color:"success",onClick:e[7]||(e[7]=o=>p())})]),I,s("div",P,[R,l(i,{label:"Log In",color:"info",href:"/#/auth/login"})])])])])]),_:1})])]),_:1}))}};export{L as default}; diff --git a/assets/RegisterView.f702ef47.js b/assets/RegisterView.f702ef47.js new file mode 100644 index 0000000..3a441be --- /dev/null +++ b/assets/RegisterView.f702ef47.js @@ -0,0 +1 @@ +import{s as f,d as _,w as t,o as b,b as s,a as l,g as m,p as i,_ as x,v as w,u as V,x as n,y as u}from"./index.b8f03a0d.js";import{_ as g}from"./FormCheckRadio.9c468987.js";import{_ as d}from"./FormField.2697e642.js";import{_ as r}from"./FormControl.6e614227.js";import{_ as v}from"./LayoutGuest.3199b088.js";const h={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=s("div",{class:"flex flex-col items-center text-wrap h-full md:mt-5"},[s("img",{src:w,class:"rounded-full shadow-lg mb-2"}),s("h1",{class:"text-xl"},[s("samp",null,"PhaseII")]),s("p",{class:"text-sm text-gray-700 dark:text-white/75"}," Spinnin' since 2021 "),s("hr",{class:"border-t border-1 my-1 w-full"}),s("p",{class:"text-lg relative bottom-0"},"Account Registration")],-1),$=s("div",{class:"md:border-r md:border-1"},null,-1),A={class:"grid grid-cols-2 gap-x-2"},k={class:"col-span-2"},C={class:"flex flex-col gap-2 mt-4"},I=s("hr",{class:"border-t border-1 my-4 w-full"},null,-1),P={class:"flex flex-col gap-2 my-4"},R=s("h2",null,"Have an Account?",-1),L={__name:"RegisterView",setup(B){const a=f({username:"",email:"",pass:"",remember:!0}),c=V(),p=()=>{c.push("/")};return(N,e)=>(b(),_(v,null,{default:t(()=>[s("div",h,[l(x,{class:"w-full md:w-auto rounded-none md:rounded-xl md:drop-shadow-xl","has-table":"","is-auth":""},{default:t(()=>[s("div",y,[U,$,s("div",A,[l(d,{label:"Desired Username"},{default:t(()=>[l(r,{modelValue:a.username,"onUpdate:modelValue":e[0]||(e[0]=o=>a.username=o),icon:m(n),name:"username",autocomplete:"username"},null,8,["modelValue","icon"])]),_:1}),l(d,{label:"Email Address"},{default:t(()=>[l(r,{modelValue:a.email,"onUpdate:modelValue":e[1]||(e[1]=o=>a.email=o),icon:m(n),name:"email",autocomplete:"email"},null,8,["modelValue","icon"])]),_:1}),l(d,{label:"Password"},{default:t(()=>[l(r,{modelValue:a.pass,"onUpdate:modelValue":e[2]||(e[2]=o=>a.pass=o),icon:m(u),type:"password",name:"password",autocomplete:"current-password"},null,8,["modelValue","icon"])]),_:1}),l(d,{label:"Password Confirmation"},{default:t(()=>[l(r,{modelValue:a.pass,"onUpdate:modelValue":e[3]||(e[3]=o=>a.pass=o),icon:m(u),type:"password",name:"password",autocomplete:"current-password"},null,8,["modelValue","icon"])]),_:1}),l(d,{label:"Card ID"},{default:t(()=>[l(r,{modelValue:a.email,"onUpdate:modelValue":e[4]||(e[4]=o=>a.email=o),icon:m(n),name:"card",autocomplete:"card"},null,8,["modelValue","icon"])]),_:1}),l(d,{label:"Game PIN"},{default:t(()=>[l(r,{modelValue:a.pass,"onUpdate:modelValue":e[5]||(e[5]=o=>a.pass=o),icon:m(u),type:"password",name:"password",autocomplete:"current-password"},null,8,["modelValue","icon"])]),_:1}),l(g,{modelValue:a.remember,"onUpdate:modelValue":e[6]||(e[6]=o=>a.remember=o),class:"col-span-2",name:"remember",label:"Remember Me","input-value":!0},null,8,["modelValue"]),s("div",k,[s("div",C,[l(i,{label:"Create Account",color:"success",onClick:e[7]||(e[7]=o=>p())})]),I,s("div",P,[R,l(i,{label:"Log In",color:"info",href:"/#/auth/login"})])])])])]),_:1})])]),_:1}))}};export{L as default}; diff --git a/assets/ResetView.60bb4b8e.js b/assets/ResetView.60bb4b8e.js new file mode 100644 index 0000000..f0738f7 --- /dev/null +++ b/assets/ResetView.60bb4b8e.js @@ -0,0 +1 @@ +import{s as i,d as c,w as t,o as m,b as e,a as s,g as u,p as r,_,v as f,u as p,x}from"./index.b8f03a0d.js";import{_ as h}from"./FormField.2697e642.js";import{_ as b}from"./FormControl.6e614227.js";import{_ as w}from"./LayoutGuest.3199b088.js";const g={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 md:mt-5"},[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"},k=e("hr",{class:"border-t border-1 my-4 w-full"},null,-1),R={class:"flex flex-col gap-2 my-4"},B=e("h2",null,"Remember it?",-1),j={__name:"ResetView",setup(I){const o=i({login:"test@website.com"}),d=p(),n=()=>{d.push("/auth/login")};return(A,l)=>(m(),c(w,null,{default:t(()=>[e("div",g,[s(_,{class:"w-full md:w-auto rounded-none md:rounded-xl md:drop-shadow-xl","has-table":"","is-auth":""},{default:t(()=>[e("div",v,[y,V,e("div",null,[s(h,{label:"Email Address"},{default:t(()=>[s(b,{modelValue:o.login,"onUpdate:modelValue":l[0]||(l[0]=a=>o.login=a),icon:u(x),name:"email",autocomplete:"email"},null,8,["modelValue","icon"])]),_:1}),e("div",$,[s(r,{label:"Submit",color:"info",onClick:l[1]||(l[1]=a=>n())})]),k,e("div",R,[B,s(r,{label:"Log In",color:"success",href:"/#/auth/login"})])])])]),_:1})])]),_:1}))}};export{j as default}; diff --git a/assets/ResetView.a4b5d633.js b/assets/ResetView.a4b5d633.js deleted file mode 100644 index 9258655..0000000 --- a/assets/ResetView.a4b5d633.js +++ /dev/null @@ -1 +0,0 @@ -import{s as c,d,w as t,o as m,b as e,a as s,g as u,p as n,_,v as f,u as p,x}from"./index.49bfadcb.js";import{_ as h}from"./FormField.d8177f13.js";import{_ as b}from"./FormControl.1a09880b.js";import{_ as w}from"./LayoutGuest.b8c99ff7.js";const g={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"},k=e("hr",{class:"border-t border-1 my-4 w-full"},null,-1),R={class:"flex flex-col gap-2 my-4"},B=e("h2",null,"Remember it?",-1),j={__name:"ResetView",setup(I){const o=c({login:"test@website.com"}),r=p(),i=()=>{r.push("/auth/login")};return(A,l)=>(m(),d(w,null,{default:t(()=>[e("div",g,[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(h,{label:"Email Address"},{default:t(()=>[s(b,{modelValue:o.login,"onUpdate:modelValue":l[0]||(l[0]=a=>o.login=a),icon:u(x),name:"email",autocomplete:"email"},null,8,["modelValue","icon"])]),_:1}),e("div",$,[s(n,{label:"Submit",color:"info",onClick:l[1]||(l[1]=a=>i())})]),k,e("div",R,[B,s(n,{label:"Log In",color:"success",href:"/#/auth/login"})])])])]),_:1})])]),_:1}))}};export{j as default}; diff --git a/assets/RivalsView.da45a3df.js b/assets/RivalsView.e55fd6d2.js similarity index 75% rename from assets/RivalsView.da45a3df.js rename to assets/RivalsView.e55fd6d2.js index ccf9b01..4c7ea24 100644 --- a/assets/RivalsView.da45a3df.js +++ b/assets/RivalsView.e55fd6d2.js @@ -1,5 +1,5 @@ -import{s as p,am as S,d as c,w as r,e as B,k as L,u as A,o as i,a as t,b as e,g as m,c as u,h as _,n as F,f as w,_ as f,r as x,F as b,i as G,aw as j,t as g,p as k,ax as z}from"./index.49bfadcb.js";import{_ as E}from"./ProfileCard.b0fcd669.js";import{_ as N}from"./FormField.d8177f13.js";import{_ as V}from"./FormControl.1a09880b.js";import"./userData.bcc92478.js";const U={class:"md:flex md:justify-end pb-6 items-center"},Y={key:0,class:"mt-2 md:mt-0 md:w-1/3 md:text-right"},P=e("h2",{class:"text-md sm:text-lg md:text-xl font-bold p-2"}," Select Version ",-1),T={class:"bg-white dark:bg-slate-900/90 rounded-2xl pt-6 p-3"},H={class:"w-full"},M={class:"grid gap-3"},O={class:"flex justify-between items-center"},Z={class:"flex"},q=e("img",{class:"w-10 mr-3",src:"https://static.wikia.nocookie.net/dancedancerevolutionddr/images/3/3b/Yuni_img1.gif/"},null,-1),J={class:"grid"},K={class:"text-lg"},Q={class:"text-md font-mono"},W={class:"grid gap-3"},X={class:"flex justify-between items-center"},ee={class:"flex"},se=e("img",{class:"w-10 mr-3",src:"https://static.wikia.nocookie.net/dancedancerevolutionddr/images/3/3b/Yuni_img1.gif/"},null,-1),te={class:"grid"},ae={class:"text-lg"},ie={class:"text-md font-mono"},me={__name:"RivalsView",setup(oe){const y=L(),$=A();var v=null,o=null;const D={id:1,name:"Trmazi",extid:12345678,avatar:"https://static.wikia.nocookie.net/dancedancerevolutionddr/images/3/3b/Yuni_img1.gif/",last:{arcade:"GhettoCade",date:"7/16/2023"}},h=[{id:1,name:"TRMAZI",rivalID:"1234-5678"},{id:2,name:"BLADE",rivalID:"1454-5687"},{id:3,name:"HO!",rivalID:"5364-5568"}],a=p({currentVersion:null}),l=p({filter:null});v=y.params.game,o=S(v),o.versions||(a.currentVersion=1),o||$.push({name:"ErrorPage",params:{catchAll:"404"}});function I(){if(l.filter)return h.filter(n=>n.name.toLowerCase().includes(l.filter.toLowerCase())||n.rivalID.toLowerCase().includes(l.filter.toLowerCase()))}function R(){var n=null;return a.currentVersion?n=`/assets/games/${o.id}/card/${a.currentVersion}.png`:n=o.cardBG,n}function C(){return` +import{s as p,am as S,d as c,w as r,e as B,k as L,u as A,o as i,a as t,b as e,g as m,c as u,h as _,n as z,f as b,_ as f,r as k,F as w,i as F,ay as G,t as g,p as x,az as j}from"./index.b8f03a0d.js";import{_ as E}from"./ProfileCard.0f5ca27a.js";import{_ as N}from"./FormField.2697e642.js";import{_ as V}from"./FormControl.6e614227.js";import"./userData.bcc92478.js";const U={class:"md:flex md:justify-end pb-6 items-center"},Y={key:0,class:"mt-2 md:mt-0 md:w-1/3 md:text-right"},P=e("h2",{class:"text-md sm:text-lg md:text-xl font-bold p-2"}," Select Version ",-1),T={class:"bg-white dark:bg-slate-900/90 rounded-2xl pt-6 p-3"},H={class:"w-full"},M={class:"grid gap-3"},O={class:"flex justify-between items-center"},Z={class:"flex"},q=e("img",{class:"w-10 mr-3",src:"https://static.wikia.nocookie.net/dancedancerevolutionddr/images/3/3b/Yuni_img1.gif/"},null,-1),J={class:"grid"},K={class:"text-lg"},Q={class:"text-md font-mono"},W={class:"grid gap-3"},X={class:"flex justify-between items-center"},ee={class:"flex"},se=e("img",{class:"w-10 mr-3",src:"https://static.wikia.nocookie.net/dancedancerevolutionddr/images/3/3b/Yuni_img1.gif/"},null,-1),te={class:"grid"},ae={class:"text-lg"},ie={class:"text-md font-mono"},me={__name:"RivalsView",setup(oe){const y=L(),$=A();var v=null,o=null;const D={id:1,name:"Trmazi",extid:12345678,avatar:"https://static.wikia.nocookie.net/dancedancerevolutionddr/images/3/3b/Yuni_img1.gif/",last:{arcade:"GhettoCade",date:"7/16/2023"}},h=[{id:1,name:"TRMAZI",rivalID:"1234-5678"},{id:2,name:"BLADE",rivalID:"1454-5687"},{id:3,name:"HO!",rivalID:"5364-5568"}],a=p({currentVersion:null}),l=p({filter:null});v=y.params.game,o=S(v),o.versions||(a.currentVersion=1),o||$.push({name:"ErrorPage",params:{catchAll:"404"}});function I(){if(l.filter)return h.filter(n=>n.name.toLowerCase().includes(l.filter.toLowerCase())||n.rivalID.toLowerCase().includes(l.filter.toLowerCase()))}function R(){var n=null;return a.currentVersion?n=`/assets/games/${o.id}/card/${a.currentVersion}.png`:n=o.cardBG,n}function C(){return` background-image: url('${R()}'); background-size: cover; background-repeat: no-repeat; - `}return(n,d)=>(i(),c(B,null,{default:r(()=>[t(G,null,{default:r(()=>[e("div",U,[m(o).versions?(i(),u("div",Y,[P,t(V,{modelValue:a.currentVersion,"onUpdate:modelValue":d[0]||(d[0]=s=>a.currentVersion=s),options:m(o).versions},null,8,["modelValue","options"])])):_("",!0)]),a.currentVersion?(i(),u("div",{key:0,style:F(C()),class:"rounded-2xl mb-6"},[e("div",T,[e("div",H,[t(E,{"use-small":"",profile:D})])])],4)):_("",!0),t(w,{icon:m(j),title:"Add a Rival",main:""},null,8,["icon"]),a.currentVersion?(i(),c(f,{key:1,class:"mb-6"},{default:r(()=>[t(N,{label:"Search",help:"Search by username or Rival ID to add a rival.",class:"w-full md:w-1/3"},{default:r(()=>[t(V,{modelValue:l.filter,"onUpdate:modelValue":d[1]||(d[1]=s=>l.filter=s),"model-value":l.filter,placeholder:"1234-5678"},null,8,["modelValue","model-value"])]),_:1}),e("div",M,[(i(!0),u(b,null,x(I(),s=>(i(),c(f,{key:s.id},{default:r(()=>[e("div",O,[e("div",Z,[q,e("div",J,[e("h1",K,g(s.name),1),e("h2",Q,g(s.rivalID),1)])]),t(k,{label:"Add Rival",color:"success"})])]),_:2},1024))),128))])]),_:1})):_("",!0),t(w,{icon:m(z),title:"Rivals",main:""},null,8,["icon"]),a.currentVersion?(i(),c(f,{key:2,class:"mb-6"},{default:r(()=>[e("div",W,[(i(),u(b,null,x(h,s=>t(f,{key:s.id},{default:r(()=>[e("div",X,[e("div",ee,[se,e("div",te,[e("h1",ae,g(s.name),1),e("h2",ie,g(s.rivalID),1)])]),t(k,{label:"Remove Rival",color:"danger"})])]),_:2},1024)),64))])]),_:1})):_("",!0)]),_:1})]),_:1}))}};export{me as default}; + `}return(n,d)=>(i(),c(B,null,{default:r(()=>[t(F,null,{default:r(()=>[e("div",U,[m(o).versions?(i(),u("div",Y,[P,t(V,{modelValue:a.currentVersion,"onUpdate:modelValue":d[0]||(d[0]=s=>a.currentVersion=s),options:m(o).versions},null,8,["modelValue","options"])])):_("",!0)]),a.currentVersion?(i(),u("div",{key:0,style:z(C()),class:"rounded-2xl mb-6"},[e("div",T,[e("div",H,[t(E,{"use-small":"",profile:D})])])],4)):_("",!0),t(b,{icon:m(G),title:"Add a Rival",main:""},null,8,["icon"]),a.currentVersion?(i(),c(f,{key:1,class:"mb-6"},{default:r(()=>[t(N,{label:"Search",help:"Search by username or Rival ID to add a rival.",class:"w-full md:w-1/3"},{default:r(()=>[t(V,{modelValue:l.filter,"onUpdate:modelValue":d[1]||(d[1]=s=>l.filter=s),"model-value":l.filter,placeholder:"1234-5678"},null,8,["modelValue","model-value"])]),_:1}),e("div",M,[(i(!0),u(w,null,k(I(),s=>(i(),c(f,{key:s.id},{default:r(()=>[e("div",O,[e("div",Z,[q,e("div",J,[e("h1",K,g(s.name),1),e("h2",Q,g(s.rivalID),1)])]),t(x,{label:"Add Rival",color:"success"})])]),_:2},1024))),128))])]),_:1})):_("",!0),t(b,{icon:m(j),title:"Rivals",main:""},null,8,["icon"]),a.currentVersion?(i(),c(f,{key:2,class:"mb-6"},{default:r(()=>[e("div",W,[(i(),u(w,null,k(h,s=>t(f,{key:s.id},{default:r(()=>[e("div",X,[e("div",ee,[se,e("div",te,[e("h1",ae,g(s.name),1),e("h2",ie,g(s.rivalID),1)])]),t(x,{label:"Remove Rival",color:"danger"})])]),_:2},1024)),64))])]),_:1})):_("",!0)]),_:1})]),_:1}))}};export{me as default}; diff --git a/assets/TableScores.8dd72a70.js b/assets/TableScores.8dd72a70.js new file mode 100644 index 0000000..78c4d83 --- /dev/null +++ b/assets/TableScores.8dd72a70.js @@ -0,0 +1 @@ +import{s as _,o as a,c as n,b as t,h as o,F as r,r as h,t as l,a as d,w as u,l as g,p as m,ai as y,d as b}from"./index.b8f03a0d.js";import{C as k}from"./CardBoxComponentEmpty.79c377cf.js";const f={key:0},P={key:0},C=t("th",null,"Timestamp",-1),v=t("th",null,"Song",-1),S=t("th",null,"Chart",-1),p=t("th",null,"Score",-1),B=t("th",null,"Arcade",-1),$={class:"space-y"},x={key:0,"data-label":"Player"},D={"data-label":"Timestamp"},w={key:1,"data-label":"Song"},A=["href"],N={class:"italic"},T={key:2,"data-label":"Chart"},V={class:"grid grid-cols-1"},q={"data-label":"Score"},E={class:"grid grid-cols-1"},F={key:3,"data-label":"Arcade"},G={class:"grid grid-cols-1"},H={key:1,class:"p-3 lg:px-6 border-t border-gray-100 dark:border-slate-800"},I={__name:"TableScores",props:{game:{type:String,required:!0},isPersonal:{type:Boolean,default:!1},entries:{type:Array,required:!0}},setup(s){const i=_(0);return(c,L)=>(a(),n(r,null,[s.entries&&s.entries.length?(a(),n("table",f,[t("thead",null,[t("tr",null,[s.isPersonal?o("",!0):(a(),n("th",P,"Player")),C,v,S,p,B])]),t("tbody",$,[(a(!0),n(r,null,h(s.entries,e=>(a(),n("tr",{key:e.id,class:"border-b-[12px] lg:border-b-0"},[s.isPersonal?o("",!0):(a(),n("td",x,l(e.player),1)),t("td",D,l(e.timestamp),1),e.song?(a(),n("td",w,[t("a",{class:"grid grid-cols-1 hover:underline decoration-blue-700",href:`/#/songs/${s.game}/${e.song.id}`},[t("h2",N,l(e.song.name),1),t("h2",null,l(e.song.artist),1)],8,A)])):o("",!0),e.song?(a(),n("td",T,[t("div",V,[t("h2",null,l(e.song.chart),1),t("h2",null,"Difficulty: "+l(e.song.difficulty),1)])])):o("",!0),t("td",q,[t("div",E,[t("h2",null,"Grade: "+l(e.grade),1),t("h2",null,"Points: "+l(e.points),1),t("h2",null,"Max Combo: "+l(e.combo),1)])]),e.location?(a(),n("td",F,[t("div",G,[t("h2",null,l(e.location.arcade),1),t("h2",null,"Played on: "+l(e.location.type),1)])])):o("",!0)]))),128))])])):o("",!0),s.entries&&s.entries.length?(a(),n("div",H,[d(y,null,{default:u(()=>[d(g,null,{default:u(()=>[(a(),n(r,null,h(0,e=>d(m,{key:e,active:e===i,label:e+1,color:e===i?"lightDark":"whiteDark",small:"",onClick:M=>i=e},null,8,["active","label","color","onClick"])),64))]),_:1}),t("small",null,"Page "+l(c.currentPageHuman)+" of "+l(c.numPages),1)]),_:1})])):(a(),b(k,{key:2}))],64))}};export{I as _}; diff --git a/assets/index.49bfadcb.js b/assets/index.49bfadcb.js deleted file mode 100644 index c38b557..0000000 --- a/assets/index.49bfadcb.js +++ /dev/null @@ -1,46 +0,0 @@ -var Xh=Object.defineProperty;var Wh=(e,t,n)=>t in e?Xh(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var x=(e,t,n)=>(Wh(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 s of document.querySelectorAll('link[rel="modulepreload"]'))i(s);new MutationObserver(s=>{for(const r of s)if(r.type==="childList")for(const o of r.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&i(o)}).observe(document,{childList:!0,subtree:!0});function n(s){const r={};return s.integrity&&(r.integrity=s.integrity),s.referrerpolicy&&(r.referrerPolicy=s.referrerpolicy),s.crossorigin==="use-credentials"?r.credentials="include":s.crossorigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function i(s){if(s.ep)return;s.ep=!0;const r=n(s);fetch(s.href,r)}})();function aa(e,t){const n=Object.create(null),i=e.split(",");for(let s=0;s!!n[s.toLowerCase()]:s=>!!n[s]}function ls(e){if(et(e)){const t={};for(let n=0;n{if(n){const i=n.split(Kh);i.length>1&&(t[i[0].trim()]=i[1].trim())}}),t}function lt(e){let t="";if(Ut(e))t=e;else if(et(e))for(let n=0;nUn(n,t))}const vt=e=>Ut(e)?e:e==null?"":et(e)||wt(e)&&(e.toString===Yu||!ct(e.toString))?JSON.stringify(e,Gu,2):String(e),Gu=(e,t)=>t&&t.__v_isRef?Gu(e,t.value):ni(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[i,s])=>(n[`${i} =>`]=s,n),{})}:mi(t)?{[`Set(${t.size})`]:[...t.values()]}:wt(t)&&!et(t)&&!qu(t)?String(t):t,Ct={},ei=[],we=()=>{},tp=()=>!1,ep=/^on[^a-z]/,mr=e=>ep.test(e),ca=e=>e.startsWith("onUpdate:"),Gt=Object.assign,ua=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},np=Object.prototype.hasOwnProperty,_t=(e,t)=>np.call(e,t),et=Array.isArray,ni=e=>cs(e)==="[object Map]",mi=e=>cs(e)==="[object Set]",ul=e=>cs(e)==="[object Date]",ct=e=>typeof e=="function",Ut=e=>typeof e=="string",qi=e=>typeof e=="symbol",wt=e=>e!==null&&typeof e=="object",Ku=e=>wt(e)&&ct(e.then)&&ct(e.catch),Yu=Object.prototype.toString,cs=e=>Yu.call(e),ip=e=>cs(e).slice(8,-1),qu=e=>cs(e)==="[object Object]",da=e=>Ut(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Hs=aa(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),br=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},sp=/-(\w)/g,Ne=br(e=>e.replace(sp,(t,n)=>n?n.toUpperCase():"")),rp=/\B([A-Z])/g,bi=br(e=>e.replace(rp,"-$1").toLowerCase()),_r=br(e=>e.charAt(0).toUpperCase()+e.slice(1)),jr=br(e=>e?`on${_r(e)}`:""),Zi=(e,t)=>!Object.is(e,t),Ns=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},Ws=e=>{const t=parseFloat(e);return isNaN(t)?e:t},op=e=>{const t=Ut(e)?Number(e):NaN;return isNaN(t)?e:t};let dl;const ap=()=>dl||(dl=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});let ce;class Zu{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=ce,!t&&ce&&(this.index=(ce.scopes||(ce.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=ce;try{return ce=this,t()}finally{ce=n}}}on(){ce=this}off(){ce=this.parent}stop(t){if(this._active){let n,i;for(n=0,i=this.effects.length;n{const t=new Set(e);return t.w=0,t.n=0,t},td=e=>(e.w&mn)>0,ed=e=>(e.n&mn)>0,up=({deps:e})=>{if(e.length)for(let t=0;t{const{deps:t}=e;if(t.length){let n=0;for(let i=0;i{(u==="length"||u>=l)&&a.push(c)})}else switch(n!==void 0&&a.push(o.get(n)),t){case"add":et(e)?da(n)&&a.push(o.get("length")):(a.push(o.get(Nn)),ni(e)&&a.push(o.get(ko)));break;case"delete":et(e)||(a.push(o.get(Nn)),ni(e)&&a.push(o.get(ko)));break;case"set":ni(e)&&a.push(o.get(Nn));break}if(a.length===1)a[0]&&Oo(a[0]);else{const l=[];for(const c of a)c&&l.push(...c);Oo(fa(l))}}function Oo(e,t){const n=et(e)?e:[...e];for(const i of n)i.computed&&hl(i);for(const i of n)i.computed||hl(i)}function hl(e,t){(e!==Me||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}function fp(e,t){var n;return(n=Gs.get(e))===null||n===void 0?void 0:n.get(t)}const hp=aa("__proto__,__v_isRef,__isVue"),sd=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(qi)),pp=pa(),gp=pa(!1,!0),mp=pa(!0),pl=bp();function bp(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const i=mt(this);for(let r=0,o=this.length;r{e[t]=function(...n){_i();const i=mt(this)[t].apply(this,n);return yi(),i}}),e}function _p(e){const t=mt(this);return se(t,"has",e),t.hasOwnProperty(e)}function pa(e=!1,t=!1){return function(i,s,r){if(s==="__v_isReactive")return!e;if(s==="__v_isReadonly")return e;if(s==="__v_isShallow")return t;if(s==="__v_raw"&&r===(e?t?Pp:cd:t?ld:ad).get(i))return i;const o=et(i);if(!e){if(o&&_t(pl,s))return Reflect.get(pl,s,r);if(s==="hasOwnProperty")return _p}const a=Reflect.get(i,s,r);return(qi(s)?sd.has(s):hp(s))||(e||se(i,"get",s),t)?a:Vt(a)?o&&da(s)?a:a.value:wt(a)?e?ud(a):xi(a):a}}const yp=rd(),xp=rd(!0);function rd(e=!1){return function(n,i,s,r){let o=n[i];if(ri(o)&&Vt(o)&&!Vt(s))return!1;if(!e&&(!Ks(s)&&!ri(s)&&(o=mt(o),s=mt(s)),!et(n)&&Vt(o)&&!Vt(s)))return o.value=s,!0;const a=et(n)&&da(i)?Number(i)e,yr=e=>Reflect.getPrototypeOf(e);function ms(e,t,n=!1,i=!1){e=e.__v_raw;const s=mt(e),r=mt(t);n||(t!==r&&se(s,"get",t),se(s,"get",r));const{has:o}=yr(s),a=i?ga:n?_a:Ji;if(o.call(s,t))return a(e.get(t));if(o.call(s,r))return a(e.get(r));e!==s&&e.get(t)}function bs(e,t=!1){const n=this.__v_raw,i=mt(n),s=mt(e);return t||(e!==s&&se(i,"has",e),se(i,"has",s)),e===s?n.has(e):n.has(e)||n.has(s)}function _s(e,t=!1){return e=e.__v_raw,!t&&se(mt(e),"iterate",Nn),Reflect.get(e,"size",e)}function gl(e){e=mt(e);const t=mt(this);return yr(t).has.call(t,e)||(t.add(e),Ke(t,"add",e,e)),this}function ml(e,t){t=mt(t);const n=mt(this),{has:i,get:s}=yr(n);let r=i.call(n,e);r||(e=mt(e),r=i.call(n,e));const o=s.call(n,e);return n.set(e,t),r?Zi(t,o)&&Ke(n,"set",e,t):Ke(n,"add",e,t),this}function bl(e){const t=mt(this),{has:n,get:i}=yr(t);let s=n.call(t,e);s||(e=mt(e),s=n.call(t,e)),i&&i.call(t,e);const r=t.delete(e);return s&&Ke(t,"delete",e,void 0),r}function _l(){const e=mt(this),t=e.size!==0,n=e.clear();return t&&Ke(e,"clear",void 0,void 0),n}function ys(e,t){return function(i,s){const r=this,o=r.__v_raw,a=mt(o),l=t?ga:e?_a:Ji;return!e&&se(a,"iterate",Nn),o.forEach((c,u)=>i.call(s,l(c),l(u),r))}}function xs(e,t,n){return function(...i){const s=this.__v_raw,r=mt(s),o=ni(r),a=e==="entries"||e===Symbol.iterator&&o,l=e==="keys"&&o,c=s[e](...i),u=n?ga:t?_a:Ji;return!t&&se(r,"iterate",l?ko:Nn),{next(){const{value:d,done:f}=c.next();return f?{value:d,done:f}:{value:a?[u(d[0]),u(d[1])]:u(d),done:f}},[Symbol.iterator](){return this}}}}function Qe(e){return function(...t){return e==="delete"?!1:this}}function Rp(){const e={get(r){return ms(this,r)},get size(){return _s(this)},has:bs,add:gl,set:ml,delete:bl,clear:_l,forEach:ys(!1,!1)},t={get(r){return ms(this,r,!1,!0)},get size(){return _s(this)},has:bs,add:gl,set:ml,delete:bl,clear:_l,forEach:ys(!1,!0)},n={get(r){return ms(this,r,!0)},get size(){return _s(this,!0)},has(r){return bs.call(this,r,!0)},add:Qe("add"),set:Qe("set"),delete:Qe("delete"),clear:Qe("clear"),forEach:ys(!0,!1)},i={get(r){return ms(this,r,!0,!0)},get size(){return _s(this,!0)},has(r){return bs.call(this,r,!0)},add:Qe("add"),set:Qe("set"),delete:Qe("delete"),clear:Qe("clear"),forEach:ys(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(r=>{e[r]=xs(r,!1,!1),n[r]=xs(r,!0,!1),t[r]=xs(r,!1,!0),i[r]=xs(r,!0,!0)}),[e,n,t,i]}const[wp,Ip,Cp,Tp]=Rp();function ma(e,t){const n=t?e?Tp:Cp:e?Ip:wp;return(i,s,r)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?i:Reflect.get(_t(n,s)&&s in i?n:i,s,r)}const Dp={get:ma(!1,!1)},kp={get:ma(!1,!0)},Op={get:ma(!0,!1)},ad=new WeakMap,ld=new WeakMap,cd=new WeakMap,Pp=new WeakMap;function Lp(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Hp(e){return e.__v_skip||!Object.isExtensible(e)?0:Lp(ip(e))}function xi(e){return ri(e)?e:ba(e,!1,od,Dp,ad)}function Np(e){return ba(e,!1,Ep,kp,ld)}function ud(e){return ba(e,!0,Mp,Op,cd)}function ba(e,t,n,i,s){if(!wt(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const r=s.get(e);if(r)return r;const o=Hp(e);if(o===0)return e;const a=new Proxy(e,o===2?i:n);return s.set(e,a),a}function hn(e){return ri(e)?hn(e.__v_raw):!!(e&&e.__v_isReactive)}function ri(e){return!!(e&&e.__v_isReadonly)}function Ks(e){return!!(e&&e.__v_isShallow)}function dd(e){return hn(e)||ri(e)}function mt(e){const t=e&&e.__v_raw;return t?mt(t):e}function oi(e){return Xs(e,"__v_skip",!0),e}const Ji=e=>wt(e)?xi(e):e,_a=e=>wt(e)?ud(e):e;function fd(e){fn&&Me&&(e=mt(e),id(e.dep||(e.dep=fa())))}function hd(e,t){e=mt(e);const n=e.dep;n&&Oo(n)}function Vt(e){return!!(e&&e.__v_isRef===!0)}function Kt(e){return pd(e,!1)}function Fp(e){return pd(e,!0)}function pd(e,t){return Vt(e)?e:new Bp(e,t)}class Bp{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:mt(t),this._value=n?t:Ji(t)}get value(){return fd(this),this._value}set value(t){const n=this.__v_isShallow||Ks(t)||ri(t);t=n?t:mt(t),Zi(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:Ji(t),hd(this))}}function k(e){return Vt(e)?e.value:e}const Vp={get:(e,t,n)=>k(Reflect.get(e,t,n)),set:(e,t,n,i)=>{const s=e[t];return Vt(s)&&!Vt(n)?(s.value=n,!0):Reflect.set(e,t,n,i)}};function gd(e){return hn(e)?e:new Proxy(e,Vp)}function Up(e){const t=et(e)?new Array(e.length):{};for(const n in e)t[n]=zp(e,n);return t}class $p{constructor(t,n,i){this._object=t,this._key=n,this._defaultValue=i,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 fp(mt(this._object),this._key)}}function zp(e,t,n){const i=e[t];return Vt(i)?i:new $p(e,t,n)}var md;class jp{constructor(t,n,i,s){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this[md]=!1,this._dirty=!0,this.effect=new ha(t,()=>{this._dirty||(this._dirty=!0,hd(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!s,this.__v_isReadonly=i}get value(){const t=mt(this);return fd(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}md="__v_isReadonly";function Xp(e,t,n=!1){let i,s;const r=ct(e);return r?(i=e,s=we):(i=e.get,s=e.set),new jp(i,s,r||!s,n)}function pn(e,t,n,i){let s;try{s=i?e(...i):e()}catch(r){xr(r,t,n)}return s}function me(e,t,n,i){if(ct(e)){const r=pn(e,t,n,i);return r&&Ku(r)&&r.catch(o=>{xr(o,t,n)}),r}const s=[];for(let r=0;r>>1;ts(Zt[i])Pe&&Zt.splice(t,1)}function Yp(e){et(e)?ii.push(...e):(!$e||!$e.includes(e,e.allowRecurse?kn+1:kn))&&ii.push(e),_d()}function yl(e,t=Qi?Pe+1:0){for(;tts(n)-ts(i)),kn=0;kn<$e.length;kn++)$e[kn]();$e=null,kn=0}}const ts=e=>e.id==null?1/0:e.id,qp=(e,t)=>{const n=ts(e)-ts(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function xd(e){Po=!1,Qi=!0,Zt.sort(qp);const t=we;try{for(Pe=0;PeUt(h)?h.trim():h)),d&&(s=n.map(Ws))}let a,l=i[a=jr(t)]||i[a=jr(Ne(t))];!l&&r&&(l=i[a=jr(bi(t))]),l&&me(l,e,6,s);const c=i[a+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,me(c,e,6,s)}}function vd(e,t,n=!1){const i=t.emitsCache,s=i.get(e);if(s!==void 0)return s;const r=e.emits;let o={},a=!1;if(!ct(e)){const l=c=>{const u=vd(c,t,!0);u&&(a=!0,Gt(o,u))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!r&&!a?(wt(e)&&i.set(e,null),null):(et(r)?r.forEach(l=>o[l]=null):Gt(o,r),wt(e)&&i.set(e,o),o)}function vr(e,t){return!e||!mr(t)?!1:(t=t.slice(2).replace(/Once$/,""),_t(e,t[0].toLowerCase()+t.slice(1))||_t(e,bi(t))||_t(e,t))}let Xt=null,Ad=null;function Ys(e){const t=Xt;return Xt=e,Ad=e&&e.type.__scopeId||null,t}function ht(e,t=Xt,n){if(!t||e._n)return e;const i=(...s)=>{i._d&&Cl(-1);const r=Ys(t);let o;try{o=e(...s)}finally{Ys(r),i._d&&Cl(1)}return o};return i._n=!0,i._c=!0,i._d=!0,i}function Xr(e){const{type:t,vnode:n,proxy:i,withProxy:s,props:r,propsOptions:[o],slots:a,attrs:l,emit:c,render:u,renderCache:d,data:f,setupState:h,ctx:g,inheritAttrs:m}=e;let _,y;const S=Ys(e);try{if(n.shapeFlag&4){const E=s||i;_=Oe(u.call(E,E,d,r,h,f,g)),y=l}else{const E=t;_=Oe(E.length>1?E(r,{attrs:l,slots:a,emit:c}):E(r,null)),y=t.props?l:Jp(l)}}catch(E){Vi.length=0,xr(E,e,1),_=$(_e)}let M=_;if(y&&m!==!1){const E=Object.keys(y),{shapeFlag:A}=M;E.length&&A&7&&(o&&E.some(ca)&&(y=Qp(y,o)),M=bn(M,y))}return n.dirs&&(M=bn(M),M.dirs=M.dirs?M.dirs.concat(n.dirs):n.dirs),n.transition&&(M.transition=n.transition),_=M,Ys(S),_}const Jp=e=>{let t;for(const n in e)(n==="class"||n==="style"||mr(n))&&((t||(t={}))[n]=e[n]);return t},Qp=(e,t)=>{const n={};for(const i in e)(!ca(i)||!(i.slice(9)in t))&&(n[i]=e[i]);return n};function t1(e,t,n){const{props:i,children:s,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 i?xl(i,o,c):!!o;if(l&8){const u=t.dynamicProps;for(let d=0;de.__isSuspense;function i1(e,t){t&&t.pendingBranch?et(e)?t.effects.push(...e):t.effects.push(e):Yp(e)}function Fs(e,t){if(Bt){let n=Bt.provides;const i=Bt.parent&&Bt.parent.provides;i===n&&(n=Bt.provides=Object.create(i)),n[e]=t}}function be(e,t,n=!1){const i=Bt||Xt;if(i){const s=i.parent==null?i.vnode.appContext&&i.vnode.appContext.provides:i.parent.provides;if(s&&e in s)return s[e];if(arguments.length>1)return n&&ct(t)?t.call(i.proxy):t}}const vs={};function Fn(e,t,n){return Sd(e,t,n)}function Sd(e,t,{immediate:n,deep:i,flush:s,onTrack:r,onTrigger:o}=Ct){const a=Qu()===(Bt==null?void 0:Bt.scope)?Bt:null;let l,c=!1,u=!1;if(Vt(e)?(l=()=>e.value,c=Ks(e)):hn(e)?(l=()=>e,i=!0):et(e)?(u=!0,c=e.some(M=>hn(M)||Ks(M)),l=()=>e.map(M=>{if(Vt(M))return M.value;if(hn(M))return Ln(M);if(ct(M))return pn(M,a,2)})):ct(e)?t?l=()=>pn(e,a,2):l=()=>{if(!(a&&a.isUnmounted))return d&&d(),me(e,a,3,[f])}:l=we,t&&i){const M=l;l=()=>Ln(M())}let d,f=M=>{d=y.onStop=()=>{pn(M,a,4)}},h;if(ns)if(f=we,t?n&&me(t,a,3,[l(),u?[]:void 0,f]):l(),s==="sync"){const M=Z1();h=M.__watcherHandles||(M.__watcherHandles=[])}else return we;let g=u?new Array(e.length).fill(vs):vs;const m=()=>{if(!!y.active)if(t){const M=y.run();(i||c||(u?M.some((E,A)=>Zi(E,g[A])):Zi(M,g)))&&(d&&d(),me(t,a,3,[M,g===vs?void 0:u&&g[0]===vs?[]:g,f]),g=M)}else y.run()};m.allowRecurse=!!t;let _;s==="sync"?_=m:s==="post"?_=()=>ne(m,a&&a.suspense):(m.pre=!0,a&&(m.id=a.uid),_=()=>va(m));const y=new ha(l,_);t?n?m():g=y.run():s==="post"?ne(y.run.bind(y),a&&a.suspense):y.run();const S=()=>{y.stop(),a&&a.scope&&ua(a.scope.effects,y)};return h&&h.push(S),S}function s1(e,t,n){const i=this.proxy,s=Ut(e)?e.includes(".")?Md(i,e):()=>i[e]:e.bind(i,i);let r;ct(t)?r=t:(r=t.handler,n=t);const o=Bt;ai(this);const a=Sd(s,r.bind(i),n);return o?ai(o):Bn(),a}function Md(e,t){const n=t.split(".");return()=>{let i=e;for(let s=0;s{Ln(n,t)});else if(qu(e))for(const n in e)Ln(e[n],t);return e}function r1(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return vi(()=>{e.isMounted=!0}),Aa(()=>{e.isUnmounting=!0}),e}const fe=[Function,Array],o1={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:fe,onEnter:fe,onAfterEnter:fe,onEnterCancelled:fe,onBeforeLeave:fe,onLeave:fe,onAfterLeave:fe,onLeaveCancelled:fe,onBeforeAppear:fe,onAppear:fe,onAfterAppear:fe,onAppearCancelled:fe},setup(e,{slots:t}){const n=Ra(),i=r1();let s;return()=>{const r=t.default&&wd(t.default(),!0);if(!r||!r.length)return;let o=r[0];if(r.length>1){for(const m of r)if(m.type!==_e){o=m;break}}const a=mt(e),{mode:l}=a;if(i.isLeaving)return Wr(o);const c=vl(o);if(!c)return Wr(o);const u=Lo(c,a,i,n);Ho(c,u);const d=n.subTree,f=d&&vl(d);let h=!1;const{getTransitionKey:g}=c.type;if(g){const m=g();s===void 0?s=m:m!==s&&(s=m,h=!0)}if(f&&f.type!==_e&&(!On(c,f)||h)){const m=Lo(f,a,i,n);if(Ho(f,m),l==="out-in")return i.isLeaving=!0,m.afterLeave=()=>{i.isLeaving=!1,n.update.active!==!1&&n.update()},Wr(o);l==="in-out"&&c.type!==_e&&(m.delayLeave=(_,y,S)=>{const M=Rd(i,f);M[String(f.key)]=f,_._leaveCb=()=>{y(),_._leaveCb=void 0,delete u.delayedLeave},u.delayedLeave=S})}return o}}},Ed=o1;function Rd(e,t){const{leavingVNodes:n}=e;let i=n.get(t.type);return i||(i=Object.create(null),n.set(t.type,i)),i}function Lo(e,t,n,i){const{appear:s,mode:r,persisted:o=!1,onBeforeEnter:a,onEnter:l,onAfterEnter:c,onEnterCancelled:u,onBeforeLeave:d,onLeave:f,onAfterLeave:h,onLeaveCancelled:g,onBeforeAppear:m,onAppear:_,onAfterAppear:y,onAppearCancelled:S}=t,M=String(e.key),E=Rd(n,e),A=(w,L)=>{w&&me(w,i,9,L)},P=(w,L)=>{const U=L[1];A(w,L),et(w)?w.every(q=>q.length<=1)&&U():w.length<=1&&U()},C={mode:r,persisted:o,beforeEnter(w){let L=a;if(!n.isMounted)if(s)L=m||a;else return;w._leaveCb&&w._leaveCb(!0);const U=E[M];U&&On(e,U)&&U.el._leaveCb&&U.el._leaveCb(),A(L,[w])},enter(w){let L=l,U=c,q=u;if(!n.isMounted)if(s)L=_||l,U=y||c,q=S||u;else return;let O=!1;const Z=w._enterCb=ot=>{O||(O=!0,ot?A(q,[w]):A(U,[w]),C.delayedLeave&&C.delayedLeave(),w._enterCb=void 0)};L?P(L,[w,Z]):Z()},leave(w,L){const U=String(e.key);if(w._enterCb&&w._enterCb(!0),n.isUnmounting)return L();A(d,[w]);let q=!1;const O=w._leaveCb=Z=>{q||(q=!0,L(),Z?A(g,[w]):A(h,[w]),w._leaveCb=void 0,E[U]===e&&delete E[U])};E[U]=e,f?P(f,[w,O]):O()},clone(w){return Lo(w,t,n,i)}};return C}function Wr(e){if(Sr(e))return e=bn(e),e.children=null,e}function vl(e){return Sr(e)?e.children?e.children[0]:void 0:e}function Ho(e,t){e.shapeFlag&6&&e.component?Ho(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 wd(e,t=!1,n){let i=[],s=0;for(let r=0;r1)for(let r=0;r!!e.type.__asyncLoader,Sr=e=>e.type.__isKeepAlive;function a1(e,t){Id(e,"a",t)}function l1(e,t){Id(e,"da",t)}function Id(e,t,n=Bt){const i=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(Mr(t,i,n),n){let s=n.parent;for(;s&&s.parent;)Sr(s.parent.vnode)&&c1(i,t,n,s),s=s.parent}}function c1(e,t,n,i){const s=Mr(t,e,i,!0);Cd(()=>{ua(i[t],s)},n)}function Mr(e,t,n=Bt,i=!1){if(n){const s=n[e]||(n[e]=[]),r=t.__weh||(t.__weh=(...o)=>{if(n.isUnmounted)return;_i(),ai(n);const a=me(t,n,e,o);return Bn(),yi(),a});return i?s.unshift(r):s.push(r),r}}const qe=e=>(t,n=Bt)=>(!ns||e==="sp")&&Mr(e,(...i)=>t(...i),n),u1=qe("bm"),vi=qe("m"),d1=qe("bu"),f1=qe("u"),Aa=qe("bum"),Cd=qe("um"),h1=qe("sp"),p1=qe("rtg"),g1=qe("rtc");function m1(e,t=Bt){Mr("ec",e,t)}function b1(e,t){const n=Xt;if(n===null)return e;const i=Ir(n)||n.proxy,s=e.dirs||(e.dirs=[]);for(let r=0;rt(o,a,void 0,r&&r[a]));else{const o=Object.keys(e);s=new Array(o.length);for(let a=0,l=o.length;aZs(t)?!(t.type===_e||t.type===Ot&&!kd(t.children)):!0)?e:null}const No=e=>e?zd(e)?Ir(e)||e.proxy:No(e.parent):null,Bi=Gt(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=>No(e.parent),$root:e=>No(e.root),$emit:e=>e.emit,$options:e=>Sa(e),$forceUpdate:e=>e.f||(e.f=()=>va(e.update)),$nextTick:e=>e.n||(e.n=xa.bind(e.proxy)),$watch:e=>s1.bind(e)}),Gr=(e,t)=>e!==Ct&&!e.__isScriptSetup&&_t(e,t),y1={get({_:e},t){const{ctx:n,setupState:i,data:s,props:r,accessCache:o,type:a,appContext:l}=e;let c;if(t[0]!=="$"){const h=o[t];if(h!==void 0)switch(h){case 1:return i[t];case 2:return s[t];case 4:return n[t];case 3:return r[t]}else{if(Gr(i,t))return o[t]=1,i[t];if(s!==Ct&&_t(s,t))return o[t]=2,s[t];if((c=e.propsOptions[0])&&_t(c,t))return o[t]=3,r[t];if(n!==Ct&&_t(n,t))return o[t]=4,n[t];Fo&&(o[t]=0)}}const u=Bi[t];let d,f;if(u)return t==="$attrs"&&se(e,"get",t),u(e);if((d=a.__cssModules)&&(d=d[t]))return d;if(n!==Ct&&_t(n,t))return o[t]=4,n[t];if(f=l.config.globalProperties,_t(f,t))return f[t]},set({_:e},t,n){const{data:i,setupState:s,ctx:r}=e;return Gr(s,t)?(s[t]=n,!0):i!==Ct&&_t(i,t)?(i[t]=n,!0):_t(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(r[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:i,appContext:s,propsOptions:r}},o){let a;return!!n[o]||e!==Ct&&_t(e,o)||Gr(t,o)||(a=r[0])&&_t(a,o)||_t(i,o)||_t(Bi,o)||_t(s.config.globalProperties,o)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:_t(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};let Fo=!0;function x1(e){const t=Sa(e),n=e.proxy,i=e.ctx;Fo=!1,t.beforeCreate&&Sl(t.beforeCreate,e,"bc");const{data:s,computed:r,methods:o,watch:a,provide:l,inject:c,created:u,beforeMount:d,mounted:f,beforeUpdate:h,updated:g,activated:m,deactivated:_,beforeDestroy:y,beforeUnmount:S,destroyed:M,unmounted:E,render:A,renderTracked:P,renderTriggered:C,errorCaptured:w,serverPrefetch:L,expose:U,inheritAttrs:q,components:O,directives:Z,filters:ot}=t;if(c&&v1(c,i,null,e.appContext.config.unwrapInjectedRef),o)for(const rt in o){const dt=o[rt];ct(dt)&&(i[rt]=dt.bind(n))}if(s){const rt=s.call(n,n);wt(rt)&&(e.data=xi(rt))}if(Fo=!0,r)for(const rt in r){const dt=r[rt],Qt=ct(dt)?dt.bind(n,n):ct(dt.get)?dt.get.bind(n,n):we,ee=!ct(dt)&&ct(dt.set)?dt.set.bind(n):we,qt=it({get:Qt,set:ee});Object.defineProperty(i,rt,{enumerable:!0,configurable:!0,get:()=>qt.value,set:Nt=>qt.value=Nt})}if(a)for(const rt in a)Od(a[rt],i,n,rt);if(l){const rt=ct(l)?l.call(n):l;Reflect.ownKeys(rt).forEach(dt=>{Fs(dt,rt[dt])})}u&&Sl(u,e,"c");function st(rt,dt){et(dt)?dt.forEach(Qt=>rt(Qt.bind(n))):dt&&rt(dt.bind(n))}if(st(u1,d),st(vi,f),st(d1,h),st(f1,g),st(a1,m),st(l1,_),st(m1,w),st(g1,P),st(p1,C),st(Aa,S),st(Cd,E),st(h1,L),et(U))if(U.length){const rt=e.exposed||(e.exposed={});U.forEach(dt=>{Object.defineProperty(rt,dt,{get:()=>n[dt],set:Qt=>n[dt]=Qt})})}else e.exposed||(e.exposed={});A&&e.render===we&&(e.render=A),q!=null&&(e.inheritAttrs=q),O&&(e.components=O),Z&&(e.directives=Z)}function v1(e,t,n=we,i=!1){et(e)&&(e=Bo(e));for(const s in e){const r=e[s];let o;wt(r)?"default"in r?o=be(r.from||s,r.default,!0):o=be(r.from||s):o=be(r),Vt(o)&&i?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>o.value,set:a=>o.value=a}):t[s]=o}}function Sl(e,t,n){me(et(e)?e.map(i=>i.bind(t.proxy)):e.bind(t.proxy),t,n)}function Od(e,t,n,i){const s=i.includes(".")?Md(n,i):()=>n[i];if(Ut(e)){const r=t[e];ct(r)&&Fn(s,r)}else if(ct(e))Fn(s,e.bind(n));else if(wt(e))if(et(e))e.forEach(r=>Od(r,t,n,i));else{const r=ct(e.handler)?e.handler.bind(n):t[e.handler];ct(r)&&Fn(s,r,e)}}function Sa(e){const t=e.type,{mixins:n,extends:i}=t,{mixins:s,optionsCache:r,config:{optionMergeStrategies:o}}=e.appContext,a=r.get(t);let l;return a?l=a:!s.length&&!n&&!i?l=t:(l={},s.length&&s.forEach(c=>qs(l,c,o,!0)),qs(l,t,o)),wt(t)&&r.set(t,l),l}function qs(e,t,n,i=!1){const{mixins:s,extends:r}=t;r&&qs(e,r,n,!0),s&&s.forEach(o=>qs(e,o,n,!0));for(const o in t)if(!(i&&o==="expose")){const a=A1[o]||n&&n[o];e[o]=a?a(e[o],t[o]):t[o]}return e}const A1={data:Ml,props:Cn,emits:Cn,methods:Cn,computed:Cn,beforeCreate:te,created:te,beforeMount:te,mounted:te,beforeUpdate:te,updated:te,beforeDestroy:te,beforeUnmount:te,destroyed:te,unmounted:te,activated:te,deactivated:te,errorCaptured:te,serverPrefetch:te,components:Cn,directives:Cn,watch:M1,provide:Ml,inject:S1};function Ml(e,t){return t?e?function(){return Gt(ct(e)?e.call(this,this):e,ct(t)?t.call(this,this):t)}:t:e}function S1(e,t){return Cn(Bo(e),Bo(t))}function Bo(e){if(et(e)){const t={};for(let n=0;n0)&&!(o&16)){if(o&8){const u=e.vnode.dynamicProps;for(let d=0;d{l=!0;const[f,h]=Ld(d,t,!0);Gt(o,f),h&&a.push(...h)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!r&&!l)return wt(e)&&i.set(e,ei),ei;if(et(r))for(let u=0;u-1,h[1]=m<0||g-1||_t(h,"default"))&&a.push(d)}}}const c=[o,a];return wt(e)&&i.set(e,c),c}function El(e){return e[0]!=="$"}function Rl(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function wl(e,t){return Rl(e)===Rl(t)}function Il(e,t){return et(t)?t.findIndex(n=>wl(n,e)):ct(t)&&wl(t,e)?0:-1}const Hd=e=>e[0]==="_"||e==="$stable",Ma=e=>et(e)?e.map(Oe):[Oe(e)],w1=(e,t,n)=>{if(t._n)return t;const i=ht((...s)=>Ma(t(...s)),n);return i._c=!1,i},Nd=(e,t,n)=>{const i=e._ctx;for(const s in e){if(Hd(s))continue;const r=e[s];if(ct(r))t[s]=w1(s,r,i);else if(r!=null){const o=Ma(r);t[s]=()=>o}}},Fd=(e,t)=>{const n=Ma(t);e.slots.default=()=>n},I1=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=mt(t),Xs(t,"_",n)):Nd(t,e.slots={})}else e.slots={},t&&Fd(e,t);Xs(e.slots,wr,1)},C1=(e,t,n)=>{const{vnode:i,slots:s}=e;let r=!0,o=Ct;if(i.shapeFlag&32){const a=t._;a?n&&a===1?r=!1:(Gt(s,t),!n&&a===1&&delete s._):(r=!t.$stable,Nd(t,s)),o=t}else t&&(Fd(e,t),o={default:1});if(r)for(const a in s)!Hd(a)&&!(a in o)&&delete s[a]};function Bd(){return{app:null,config:{isNativeTag:tp,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 T1=0;function D1(e,t){return function(i,s=null){ct(i)||(i=Object.assign({},i)),s!=null&&!wt(s)&&(s=null);const r=Bd(),o=new Set;let a=!1;const l=r.app={_uid:T1++,_component:i,_props:s,_container:null,_context:r,_instance:null,version:J1,get config(){return r.config},set config(c){},use(c,...u){return o.has(c)||(c&&ct(c.install)?(o.add(c),c.install(l,...u)):ct(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,d){if(!a){const f=$(i,s);return f.appContext=r,u&&t?t(f,c):e(f,c,d),a=!0,l._container=c,c.__vue_app__=l,Ir(f.component)||f.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 Uo(e,t,n,i,s=!1){if(et(e)){e.forEach((f,h)=>Uo(f,t&&(et(t)?t[h]:t),n,i,s));return}if(Fi(i)&&!s)return;const r=i.shapeFlag&4?Ir(i.component)||i.component.proxy:i.el,o=s?null:r,{i:a,r:l}=e,c=t&&t.r,u=a.refs===Ct?a.refs={}:a.refs,d=a.setupState;if(c!=null&&c!==l&&(Ut(c)?(u[c]=null,_t(d,c)&&(d[c]=null)):Vt(c)&&(c.value=null)),ct(l))pn(l,a,12,[o,u]);else{const f=Ut(l),h=Vt(l);if(f||h){const g=()=>{if(e.f){const m=f?_t(d,l)?d[l]:u[l]:l.value;s?et(m)&&ua(m,r):et(m)?m.includes(r)||m.push(r):f?(u[l]=[r],_t(d,l)&&(d[l]=u[l])):(l.value=[r],e.k&&(u[e.k]=l.value))}else f?(u[l]=o,_t(d,l)&&(d[l]=o)):h&&(l.value=o,e.k&&(u[e.k]=o))};o?(g.id=-1,ne(g,n)):g()}}}const ne=i1;function k1(e){return O1(e)}function O1(e,t){const n=ap();n.__VUE__=!0;const{insert:i,remove:s,patchProp:r,createElement:o,createText:a,createComment:l,setText:c,setElementText:u,parentNode:d,nextSibling:f,setScopeId:h=we,insertStaticContent:g}=e,m=(b,v,R,I=null,D=null,B=null,W=!1,F=null,z=!!v.dynamicChildren)=>{if(b===v)return;b&&!On(b,v)&&(I=j(b),Nt(b,D,B,!0),b=null),v.patchFlag===-2&&(z=!1,v.dynamicChildren=null);const{type:H,ref:Q,shapeFlag:Y}=v;switch(H){case Rr:_(b,v,R,I);break;case _e:y(b,v,R,I);break;case Bs:b==null&&S(v,R,I,W);break;case Ot:O(b,v,R,I,D,B,W,F,z);break;default:Y&1?A(b,v,R,I,D,B,W,F,z):Y&6?Z(b,v,R,I,D,B,W,F,z):(Y&64||Y&128)&&H.process(b,v,R,I,D,B,W,F,z,bt)}Q!=null&&D&&Uo(Q,b&&b.ref,B,v||b,!v)},_=(b,v,R,I)=>{if(b==null)i(v.el=a(v.children),R,I);else{const D=v.el=b.el;v.children!==b.children&&c(D,v.children)}},y=(b,v,R,I)=>{b==null?i(v.el=l(v.children||""),R,I):v.el=b.el},S=(b,v,R,I)=>{[b.el,b.anchor]=g(b.children,v,R,I,b.el,b.anchor)},M=({el:b,anchor:v},R,I)=>{let D;for(;b&&b!==v;)D=f(b),i(b,R,I),b=D;i(v,R,I)},E=({el:b,anchor:v})=>{let R;for(;b&&b!==v;)R=f(b),s(b),b=R;s(v)},A=(b,v,R,I,D,B,W,F,z)=>{W=W||v.type==="svg",b==null?P(v,R,I,D,B,W,F,z):L(b,v,D,B,W,F,z)},P=(b,v,R,I,D,B,W,F)=>{let z,H;const{type:Q,props:Y,shapeFlag:tt,transition:at,dirs:ft}=b;if(z=b.el=o(b.type,B,Y&&Y.is,Y),tt&8?u(z,b.children):tt&16&&w(b.children,z,null,I,D,B&&Q!=="foreignObject",W,F),ft&&An(b,null,I,"created"),C(z,b,b.scopeId,W,I),Y){for(const Et in Y)Et!=="value"&&!Hs(Et)&&r(z,Et,null,Y[Et],B,b.children,I,D,X);"value"in Y&&r(z,"value",null,Y.value),(H=Y.onVnodeBeforeMount)&&De(H,I,b)}ft&&An(b,null,I,"beforeMount");const It=(!D||D&&!D.pendingBranch)&&at&&!at.persisted;It&&at.beforeEnter(z),i(z,v,R),((H=Y&&Y.onVnodeMounted)||It||ft)&&ne(()=>{H&&De(H,I,b),It&&at.enter(z),ft&&An(b,null,I,"mounted")},D)},C=(b,v,R,I,D)=>{if(R&&h(b,R),I)for(let B=0;B{for(let H=z;H{const F=v.el=b.el;let{patchFlag:z,dynamicChildren:H,dirs:Q}=v;z|=b.patchFlag&16;const Y=b.props||Ct,tt=v.props||Ct;let at;R&&Sn(R,!1),(at=tt.onVnodeBeforeUpdate)&&De(at,R,v,b),Q&&An(v,b,R,"beforeUpdate"),R&&Sn(R,!0);const ft=D&&v.type!=="foreignObject";if(H?U(b.dynamicChildren,H,F,R,I,ft,B):W||dt(b,v,F,null,R,I,ft,B,!1),z>0){if(z&16)q(F,v,Y,tt,R,I,D);else if(z&2&&Y.class!==tt.class&&r(F,"class",null,tt.class,D),z&4&&r(F,"style",Y.style,tt.style,D),z&8){const It=v.dynamicProps;for(let Et=0;Et{at&&De(at,R,v,b),Q&&An(v,b,R,"updated")},I)},U=(b,v,R,I,D,B,W)=>{for(let F=0;F{if(R!==I){if(R!==Ct)for(const F in R)!Hs(F)&&!(F in I)&&r(b,F,R[F],null,W,v.children,D,B,X);for(const F in I){if(Hs(F))continue;const z=I[F],H=R[F];z!==H&&F!=="value"&&r(b,F,H,z,W,v.children,D,B,X)}"value"in I&&r(b,"value",R.value,I.value)}},O=(b,v,R,I,D,B,W,F,z)=>{const H=v.el=b?b.el:a(""),Q=v.anchor=b?b.anchor:a("");let{patchFlag:Y,dynamicChildren:tt,slotScopeIds:at}=v;at&&(F=F?F.concat(at):at),b==null?(i(H,R,I),i(Q,R,I),w(v.children,R,Q,D,B,W,F,z)):Y>0&&Y&64&&tt&&b.dynamicChildren?(U(b.dynamicChildren,tt,R,D,B,W,F),(v.key!=null||D&&v===D.subTree)&&Vd(b,v,!0)):dt(b,v,R,Q,D,B,W,F,z)},Z=(b,v,R,I,D,B,W,F,z)=>{v.slotScopeIds=F,b==null?v.shapeFlag&512?D.ctx.activate(v,R,I,W,z):ot(v,R,I,D,B,W,z):G(b,v,z)},ot=(b,v,R,I,D,B,W)=>{const F=b.component=z1(b,I,D);if(Sr(b)&&(F.ctx.renderer=bt),j1(F),F.asyncDep){if(D&&D.registerDep(F,st),!b.el){const z=F.subTree=$(_e);y(null,z,v,R)}return}st(F,b,v,R,D,B,W)},G=(b,v,R)=>{const I=v.component=b.component;if(t1(b,v,R))if(I.asyncDep&&!I.asyncResolved){rt(I,v,R);return}else I.next=v,Kp(I.update),I.update();else v.el=b.el,I.vnode=v},st=(b,v,R,I,D,B,W)=>{const F=()=>{if(b.isMounted){let{next:Q,bu:Y,u:tt,parent:at,vnode:ft}=b,It=Q,Et;Sn(b,!1),Q?(Q.el=ft.el,rt(b,Q,W)):Q=ft,Y&&Ns(Y),(Et=Q.props&&Q.props.onVnodeBeforeUpdate)&&De(Et,at,Q,ft),Sn(b,!0);const $t=Xr(b),ve=b.subTree;b.subTree=$t,m(ve,$t,d(ve.el),j(ve),b,D,B),Q.el=$t.el,It===null&&e1(b,$t.el),tt&&ne(tt,D),(Et=Q.props&&Q.props.onVnodeUpdated)&&ne(()=>De(Et,at,Q,ft),D)}else{let Q;const{el:Y,props:tt}=v,{bm:at,m:ft,parent:It}=b,Et=Fi(v);if(Sn(b,!1),at&&Ns(at),!Et&&(Q=tt&&tt.onVnodeBeforeMount)&&De(Q,It,v),Sn(b,!0),Y&&ut){const $t=()=>{b.subTree=Xr(b),ut(Y,b.subTree,b,D,null)};Et?v.type.__asyncLoader().then(()=>!b.isUnmounted&&$t()):$t()}else{const $t=b.subTree=Xr(b);m(null,$t,R,I,b,D,B),v.el=$t.el}if(ft&&ne(ft,D),!Et&&(Q=tt&&tt.onVnodeMounted)){const $t=v;ne(()=>De(Q,It,$t),D)}(v.shapeFlag&256||It&&Fi(It.vnode)&&It.vnode.shapeFlag&256)&&b.a&&ne(b.a,D),b.isMounted=!0,v=R=I=null}},z=b.effect=new ha(F,()=>va(H),b.scope),H=b.update=()=>z.run();H.id=b.uid,Sn(b,!0),H()},rt=(b,v,R)=>{v.component=b;const I=b.vnode.props;b.vnode=v,b.next=null,R1(b,v.props,I,R),C1(b,v.children,R),_i(),yl(),yi()},dt=(b,v,R,I,D,B,W,F,z=!1)=>{const H=b&&b.children,Q=b?b.shapeFlag:0,Y=v.children,{patchFlag:tt,shapeFlag:at}=v;if(tt>0){if(tt&128){ee(H,Y,R,I,D,B,W,F,z);return}else if(tt&256){Qt(H,Y,R,I,D,B,W,F,z);return}}at&8?(Q&16&&X(H,D,B),Y!==H&&u(R,Y)):Q&16?at&16?ee(H,Y,R,I,D,B,W,F,z):X(H,D,B,!0):(Q&8&&u(R,""),at&16&&w(Y,R,I,D,B,W,F,z))},Qt=(b,v,R,I,D,B,W,F,z)=>{b=b||ei,v=v||ei;const H=b.length,Q=v.length,Y=Math.min(H,Q);let tt;for(tt=0;ttQ?X(b,D,B,!0,!1,Y):w(v,R,I,D,B,W,F,z,Y)},ee=(b,v,R,I,D,B,W,F,z)=>{let H=0;const Q=v.length;let Y=b.length-1,tt=Q-1;for(;H<=Y&&H<=tt;){const at=b[H],ft=v[H]=z?an(v[H]):Oe(v[H]);if(On(at,ft))m(at,ft,R,null,D,B,W,F,z);else break;H++}for(;H<=Y&&H<=tt;){const at=b[Y],ft=v[tt]=z?an(v[tt]):Oe(v[tt]);if(On(at,ft))m(at,ft,R,null,D,B,W,F,z);else break;Y--,tt--}if(H>Y){if(H<=tt){const at=tt+1,ft=attt)for(;H<=Y;)Nt(b[H],D,B,!0),H++;else{const at=H,ft=H,It=new Map;for(H=ft;H<=tt;H++){const ae=v[H]=z?an(v[H]):Oe(v[H]);ae.key!=null&&It.set(ae.key,H)}let Et,$t=0;const ve=tt-ft+1;let Gn=!1,al=0;const Mi=new Array(ve);for(H=0;H=ve){Nt(ae,D,B,!0);continue}let Te;if(ae.key!=null)Te=It.get(ae.key);else for(Et=ft;Et<=tt;Et++)if(Mi[Et-ft]===0&&On(ae,v[Et])){Te=Et;break}Te===void 0?Nt(ae,D,B,!0):(Mi[Te-ft]=H+1,Te>=al?al=Te:Gn=!0,m(ae,v[Te],R,null,D,B,W,F,z),$t++)}const ll=Gn?P1(Mi):ei;for(Et=ll.length-1,H=ve-1;H>=0;H--){const ae=ft+H,Te=v[ae],cl=ae+1{const{el:B,type:W,transition:F,children:z,shapeFlag:H}=b;if(H&6){qt(b.component.subTree,v,R,I);return}if(H&128){b.suspense.move(v,R,I);return}if(H&64){W.move(b,v,R,bt);return}if(W===Ot){i(B,v,R);for(let Y=0;YF.enter(B),D);else{const{leave:Y,delayLeave:tt,afterLeave:at}=F,ft=()=>i(B,v,R),It=()=>{Y(B,()=>{ft(),at&&at()})};tt?tt(B,ft,It):It()}else i(B,v,R)},Nt=(b,v,R,I=!1,D=!1)=>{const{type:B,props:W,ref:F,children:z,dynamicChildren:H,shapeFlag:Q,patchFlag:Y,dirs:tt}=b;if(F!=null&&Uo(F,null,R,b,!0),Q&256){v.ctx.deactivate(b);return}const at=Q&1&&tt,ft=!Fi(b);let It;if(ft&&(It=W&&W.onVnodeBeforeUnmount)&&De(It,v,b),Q&6)T(b.component,R,I);else{if(Q&128){b.suspense.unmount(R,I);return}at&&An(b,null,v,"beforeUnmount"),Q&64?b.type.remove(b,v,R,D,bt,I):H&&(B!==Ot||Y>0&&Y&64)?X(H,v,R,!1,!0):(B===Ot&&Y&384||!D&&Q&16)&&X(z,v,R),I&&de(b)}(ft&&(It=W&&W.onVnodeUnmounted)||at)&&ne(()=>{It&&De(It,v,b),at&&An(b,null,v,"unmounted")},R)},de=b=>{const{type:v,el:R,anchor:I,transition:D}=b;if(v===Ot){Je(R,I);return}if(v===Bs){E(b);return}const B=()=>{s(R),D&&!D.persisted&&D.afterLeave&&D.afterLeave()};if(b.shapeFlag&1&&D&&!D.persisted){const{leave:W,delayLeave:F}=D,z=()=>W(R,B);F?F(b.el,B,z):z()}else B()},Je=(b,v)=>{let R;for(;b!==v;)R=f(b),s(b),b=R;s(v)},T=(b,v,R)=>{const{bum:I,scope:D,update:B,subTree:W,um:F}=b;I&&Ns(I),D.stop(),B&&(B.active=!1,Nt(W,b,v,R)),F&&ne(F,v),ne(()=>{b.isUnmounted=!0},v),v&&v.pendingBranch&&!v.isUnmounted&&b.asyncDep&&!b.asyncResolved&&b.suspenseId===v.pendingId&&(v.deps--,v.deps===0&&v.resolve())},X=(b,v,R,I=!1,D=!1,B=0)=>{for(let W=B;Wb.shapeFlag&6?j(b.component.subTree):b.shapeFlag&128?b.suspense.next():f(b.anchor||b.el),J=(b,v,R)=>{b==null?v._vnode&&Nt(v._vnode,null,null,!0):m(v._vnode||null,b,v,null,null,null,R),yl(),yd(),v._vnode=b},bt={p:m,um:Nt,m:qt,r:de,mt:ot,mc:w,pc:dt,pbc:U,n:j,o:e};let kt,ut;return t&&([kt,ut]=t(bt)),{render:J,hydrate:kt,createApp:D1(J,kt)}}function Sn({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Vd(e,t,n=!1){const i=e.children,s=t.children;if(et(i)&&et(s))for(let r=0;r>1,e[n[a]]0&&(t[i]=n[r-1]),n[r]=i)}}for(r=n.length,o=n[r-1];r-- >0;)n[r]=o,o=t[o];return n}const L1=e=>e.__isTeleport,Ot=Symbol(void 0),Rr=Symbol(void 0),_e=Symbol(void 0),Bs=Symbol(void 0),Vi=[];let Ee=null;function N(e=!1){Vi.push(Ee=e?null:[])}function H1(){Vi.pop(),Ee=Vi[Vi.length-1]||null}let es=1;function Cl(e){es+=e}function Ud(e){return e.dynamicChildren=es>0?Ee||ei:null,H1(),es>0&&Ee&&Ee.push(e),e}function nt(e,t,n,i,s,r){return Ud(V(e,t,n,i,s,r,!0))}function pt(e,t,n,i,s){return Ud($(e,t,n,i,s,!0))}function Zs(e){return e?e.__v_isVNode===!0:!1}function On(e,t){return e.type===t.type&&e.key===t.key}const wr="__vInternal",$d=({key:e})=>e!=null?e:null,Vs=({ref:e,ref_key:t,ref_for:n})=>e!=null?Ut(e)||Vt(e)||ct(e)?{i:Xt,r:e,k:t,f:!!n}:e:null;function V(e,t=null,n=null,i=0,s=null,r=e===Ot?0:1,o=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&$d(t),ref:t&&Vs(t),scopeId:Ad,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:i,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:Xt};return a?(Ea(l,n),r&128&&e.normalize(l)):n&&(l.shapeFlag|=Ut(n)?8:16),es>0&&!o&&Ee&&(l.patchFlag>0||r&6)&&l.patchFlag!==32&&Ee.push(l),l}const $=N1;function N1(e,t=null,n=null,i=0,s=null,r=!1){if((!e||e===Dd)&&(e=_e),Zs(e)){const a=bn(e,t,!0);return n&&Ea(a,n),es>0&&!r&&Ee&&(a.shapeFlag&6?Ee[Ee.indexOf(e)]=a:Ee.push(a)),a.patchFlag|=-2,a}if(K1(e)&&(e=e.__vccOpts),t){t=F1(t);let{class:a,style:l}=t;a&&!Ut(a)&&(t.class=lt(a)),wt(l)&&(dd(l)&&!et(l)&&(l=Gt({},l)),t.style=ls(l))}const o=Ut(e)?1:n1(e)?128:L1(e)?64:wt(e)?4:ct(e)?2:0;return V(e,t,n,i,s,o,r,!0)}function F1(e){return e?dd(e)||wr in e?Gt({},e):e:null}function bn(e,t,n=!1){const{props:i,ref:s,patchFlag:r,children:o}=e,a=t?V1(i||{},t):i;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:a,key:a&&$d(a),ref:t&&t.ref?n&&s?et(s)?s.concat(Vs(t)):[s,Vs(t)]:Vs(t):s,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:o,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Ot?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&&bn(e.ssContent),ssFallback:e.ssFallback&&bn(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function We(e=" ",t=0){return $(Rr,null,e,t)}function B1(e,t){const n=$(Bs,null,e);return n.staticCount=t,n}function Tt(e="",t=!1){return t?(N(),pt(_e,null,e)):$(_e,null,e)}function Oe(e){return e==null||typeof e=="boolean"?$(_e):et(e)?$(Ot,null,e.slice()):typeof e=="object"?an(e):$(Rr,null,String(e))}function an(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:bn(e)}function Ea(e,t){let n=0;const{shapeFlag:i}=e;if(t==null)t=null;else if(et(t))n=16;else if(typeof t=="object")if(i&65){const s=t.default;s&&(s._c&&(s._d=!1),Ea(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!(wr in t)?t._ctx=Xt:s===3&&Xt&&(Xt.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else ct(t)?(t={default:t,_ctx:Xt},n=32):(t=String(t),i&64?(n=16,t=[We(t)]):n=8);e.children=t,e.shapeFlag|=n}function V1(...e){const t={};for(let n=0;nBt||Xt,ai=e=>{Bt=e,e.scope.on()},Bn=()=>{Bt&&Bt.scope.off(),Bt=null};function zd(e){return e.vnode.shapeFlag&4}let ns=!1;function j1(e,t=!1){ns=t;const{props:n,children:i}=e.vnode,s=zd(e);E1(e,n,s,t),I1(e,i);const r=s?X1(e,t):void 0;return ns=!1,r}function X1(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=oi(new Proxy(e.ctx,y1));const{setup:i}=n;if(i){const s=e.setupContext=i.length>1?Xd(e):null;ai(e),_i();const r=pn(i,e,0,[e.props,s]);if(yi(),Bn(),Ku(r)){if(r.then(Bn,Bn),t)return r.then(o=>{Tl(e,o,t)}).catch(o=>{xr(o,e,0)});e.asyncDep=r}else Tl(e,r,t)}else jd(e,t)}function Tl(e,t,n){ct(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:wt(t)&&(e.setupState=gd(t)),jd(e,n)}let Dl;function jd(e,t,n){const i=e.type;if(!e.render){if(!t&&Dl&&!i.render){const s=i.template||Sa(e).template;if(s){const{isCustomElement:r,compilerOptions:o}=e.appContext.config,{delimiters:a,compilerOptions:l}=i,c=Gt(Gt({isCustomElement:r,delimiters:a},o),l);i.render=Dl(s,c)}}e.render=i.render||we}ai(e),_i(),x1(e),yi(),Bn()}function W1(e){return new Proxy(e.attrs,{get(t,n){return se(e,"get","$attrs"),t[n]}})}function Xd(e){const t=i=>{e.exposed=i||{}};let n;return{get attrs(){return n||(n=W1(e))},slots:e.slots,emit:e.emit,expose:t}}function Ir(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(gd(oi(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Bi)return Bi[n](e)},has(t,n){return n in t||n in Bi}}))}function G1(e,t=!0){return ct(e)?e.displayName||e.name:e.name||t&&e.__name}function K1(e){return ct(e)&&"__vccOpts"in e}const it=(e,t)=>Xp(e,t,ns);function wa(){return Y1().slots}function Y1(){const e=Ra();return e.setupContext||(e.setupContext=Xd(e))}function Ge(e,t,n){const i=arguments.length;return i===2?wt(t)&&!et(t)?Zs(t)?$(e,null,[t]):$(e,t):$(e,null,t):(i>3?n=Array.prototype.slice.call(arguments,2):i===3&&Zs(n)&&(n=[n]),$(e,t,n))}const q1=Symbol(""),Z1=()=>be(q1),J1="3.2.47",Q1="http://www.w3.org/2000/svg",Pn=typeof document<"u"?document:null,kl=Pn&&Pn.createElement("template"),tg={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,i)=>{const s=t?Pn.createElementNS(Q1,e):Pn.createElement(e,n?{is:n}:void 0);return e==="select"&&i&&i.multiple!=null&&s.setAttribute("multiple",i.multiple),s},createText:e=>Pn.createTextNode(e),createComment:e=>Pn.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Pn.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,i,s,r){const o=n?n.previousSibling:t.lastChild;if(s&&(s===r||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),n),!(s===r||!(s=s.nextSibling)););else{kl.innerHTML=i?`${e}`:e;const a=kl.content;if(i){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 eg(e,t,n){const i=e._vtc;i&&(t=(t?[t,...i]:[...i]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}function ng(e,t,n){const i=e.style,s=Ut(n);if(n&&!s){if(t&&!Ut(t))for(const r in t)n[r]==null&&$o(i,r,"");for(const r in n)$o(i,r,n[r])}else{const r=i.display;s?t!==n&&(i.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(i.display=r)}}const Ol=/\s*!important$/;function $o(e,t,n){if(et(n))n.forEach(i=>$o(e,t,i));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const i=ig(e,t);Ol.test(n)?e.setProperty(bi(i),n.replace(Ol,""),"important"):e[i]=n}}const Pl=["Webkit","Moz","ms"],Kr={};function ig(e,t){const n=Kr[t];if(n)return n;let i=Ne(t);if(i!=="filter"&&i in e)return Kr[t]=i;i=_r(i);for(let s=0;sYr||(cg.then(()=>Yr=0),Yr=Date.now());function dg(e,t){const n=i=>{if(!i._vts)i._vts=Date.now();else if(i._vts<=n.attached)return;me(fg(i,n.value),t,5,[i])};return n.value=e,n.attached=ug(),n}function fg(e,t){if(et(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(i=>s=>!s._stopped&&i&&i(s))}else return t}const Nl=/^on[a-z]/,hg=(e,t,n,i,s=!1,r,o,a,l)=>{t==="class"?eg(e,i,s):t==="style"?ng(e,n,i):mr(t)?ca(t)||ag(e,t,n,i,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):pg(e,t,i,s))?rg(e,t,i,r,o,a,l):(t==="true-value"?e._trueValue=i:t==="false-value"&&(e._falseValue=i),sg(e,t,i,s))};function pg(e,t,n,i){return i?!!(t==="innerHTML"||t==="textContent"||t in e&&Nl.test(t)&&ct(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||Nl.test(t)&&Ut(n)?!1:t in e}const tn="transition",Ei="animation",Js=(e,{slots:t})=>Ge(Ed,gg(e),t);Js.displayName="Transition";const Wd={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};Js.props=Gt({},Ed.props,Wd);const Mn=(e,t=[])=>{et(e)?e.forEach(n=>n(...t)):e&&e(...t)},Fl=e=>e?et(e)?e.some(t=>t.length>1):e.length>1:!1;function gg(e){const t={};for(const O in e)O in Wd||(t[O]=e[O]);if(e.css===!1)return t;const{name:n="v",type:i,duration:s,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:d=`${n}-leave-from`,leaveActiveClass:f=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=e,g=mg(s),m=g&&g[0],_=g&&g[1],{onBeforeEnter:y,onEnter:S,onEnterCancelled:M,onLeave:E,onLeaveCancelled:A,onBeforeAppear:P=y,onAppear:C=S,onAppearCancelled:w=M}=t,L=(O,Z,ot)=>{En(O,Z?u:a),En(O,Z?c:o),ot&&ot()},U=(O,Z)=>{O._isLeaving=!1,En(O,d),En(O,h),En(O,f),Z&&Z()},q=O=>(Z,ot)=>{const G=O?C:S,st=()=>L(Z,O,ot);Mn(G,[Z,st]),Bl(()=>{En(Z,O?l:r),en(Z,O?u:a),Fl(G)||Vl(Z,i,m,st)})};return Gt(t,{onBeforeEnter(O){Mn(y,[O]),en(O,r),en(O,o)},onBeforeAppear(O){Mn(P,[O]),en(O,l),en(O,c)},onEnter:q(!1),onAppear:q(!0),onLeave(O,Z){O._isLeaving=!0;const ot=()=>U(O,Z);en(O,d),yg(),en(O,f),Bl(()=>{!O._isLeaving||(En(O,d),en(O,h),Fl(E)||Vl(O,i,_,ot))}),Mn(E,[O,ot])},onEnterCancelled(O){L(O,!1),Mn(M,[O])},onAppearCancelled(O){L(O,!0),Mn(w,[O])},onLeaveCancelled(O){U(O),Mn(A,[O])}})}function mg(e){if(e==null)return null;if(wt(e))return[qr(e.enter),qr(e.leave)];{const t=qr(e);return[t,t]}}function qr(e){return op(e)}function en(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e._vtc||(e._vtc=new Set)).add(t)}function En(e,t){t.split(/\s+/).forEach(i=>i&&e.classList.remove(i));const{_vtc:n}=e;n&&(n.delete(t),n.size||(e._vtc=void 0))}function Bl(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let bg=0;function Vl(e,t,n,i){const s=e._endId=++bg,r=()=>{s===e._endId&&i()};if(n)return setTimeout(r,n);const{type:o,timeout:a,propCount:l}=_g(e,t);if(!o)return i();const c=o+"end";let u=0;const d=()=>{e.removeEventListener(c,f),r()},f=h=>{h.target===e&&++u>=l&&d()};setTimeout(()=>{u(n[g]||"").split(", "),s=i(`${tn}Delay`),r=i(`${tn}Duration`),o=Ul(s,r),a=i(`${Ei}Delay`),l=i(`${Ei}Duration`),c=Ul(a,l);let u=null,d=0,f=0;t===tn?o>0&&(u=tn,d=o,f=r.length):t===Ei?c>0&&(u=Ei,d=c,f=l.length):(d=Math.max(o,c),u=d>0?o>c?tn:Ei:null,f=u?u===tn?r.length:l.length:0);const h=u===tn&&/\b(transform|all)(,|$)/.test(i(`${tn}Property`).toString());return{type:u,timeout:d,propCount:f,hasTransform:h}}function Ul(e,t){for(;e.length$l(n)+$l(e[i])))}function $l(e){return Number(e.slice(0,-1).replace(",","."))*1e3}function yg(){return document.body.offsetHeight}const _n=e=>{const t=e.props["onUpdate:modelValue"]||!1;return et(t)?n=>Ns(t,n):t};function xg(e){e.target.composing=!0}function zl(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const jl={created(e,{modifiers:{lazy:t,trim:n,number:i}},s){e._assign=_n(s);const r=i||s.props&&s.props.type==="number";Xe(e,t?"change":"input",o=>{if(o.target.composing)return;let a=e.value;n&&(a=a.trim()),r&&(a=Ws(a)),e._assign(a)}),n&&Xe(e,"change",()=>{e.value=e.value.trim()}),t||(Xe(e,"compositionstart",xg),Xe(e,"compositionend",zl),Xe(e,"change",zl))},mounted(e,{value:t}){e.value=t==null?"":t},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:i,number:s}},r){if(e._assign=_n(r),e.composing||document.activeElement===e&&e.type!=="range"&&(n||i&&e.value.trim()===t||(s||e.type==="number")&&Ws(e.value)===t))return;const o=t==null?"":t;e.value!==o&&(e.value=o)}},vg={deep:!0,created(e,t,n){e._assign=_n(n),Xe(e,"change",()=>{const i=e._modelValue,s=li(e),r=e.checked,o=e._assign;if(et(i)){const a=la(i,s),l=a!==-1;if(r&&!l)o(i.concat(s));else if(!r&&l){const c=[...i];c.splice(a,1),o(c)}}else if(mi(i)){const a=new Set(i);r?a.add(s):a.delete(s),o(a)}else o(Gd(e,r))})},mounted:Xl,beforeUpdate(e,t,n){e._assign=_n(n),Xl(e,t,n)}};function Xl(e,{value:t,oldValue:n},i){e._modelValue=t,et(t)?e.checked=la(t,i.props.value)>-1:mi(t)?e.checked=t.has(i.props.value):t!==n&&(e.checked=Un(t,Gd(e,!0)))}const Ag={created(e,{value:t},n){e.checked=Un(t,n.props.value),e._assign=_n(n),Xe(e,"change",()=>{e._assign(li(e))})},beforeUpdate(e,{value:t,oldValue:n},i){e._assign=_n(i),t!==n&&(e.checked=Un(t,i.props.value))}},Sg={deep:!0,created(e,{value:t,modifiers:{number:n}},i){const s=mi(t);Xe(e,"change",()=>{const r=Array.prototype.filter.call(e.options,o=>o.selected).map(o=>n?Ws(li(o)):li(o));e._assign(e.multiple?s?new Set(r):r:r[0])}),e._assign=_n(i)},mounted(e,{value:t}){Wl(e,t)},beforeUpdate(e,t,n){e._assign=_n(n)},updated(e,{value:t}){Wl(e,t)}};function Wl(e,t){const n=e.multiple;if(!(n&&!et(t)&&!mi(t))){for(let i=0,s=e.options.length;i-1:r.selected=t.has(o);else if(Un(li(r),t)){e.selectedIndex!==i&&(e.selectedIndex=i);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function li(e){return"_value"in e?e._value:e.value}function Gd(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const LA={created(e,t,n){As(e,t,n,null,"created")},mounted(e,t,n){As(e,t,n,null,"mounted")},beforeUpdate(e,t,n,i){As(e,t,n,i,"beforeUpdate")},updated(e,t,n,i){As(e,t,n,i,"updated")}};function Mg(e,t){switch(e){case"SELECT":return Sg;case"TEXTAREA":return jl;default:switch(t){case"checkbox":return vg;case"radio":return Ag;default:return jl}}}function As(e,t,n,i,s){const o=Mg(e.tagName,n.props&&n.props.type)[s];o&&o(e,t,n,i)}const Eg=["ctrl","shift","alt","meta"],Rg={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)=>Eg.some(n=>e[`${n}Key`]&&!t.includes(n))},Qs=(e,t)=>(n,...i)=>{for(let s=0;s{Ri(e,!1)}):Ri(e,t))},beforeUnmount(e,{value:t}){Ri(e,t)}};function Ri(e,t){e.style.display=t?e._vod:"none"}const Ig=Gt({patchProp:hg},tg);let Gl;function Cg(){return Gl||(Gl=k1(Ig))}const Tg=(...e)=>{const t=Cg().createApp(...e),{mount:n}=t;return t.mount=i=>{const s=Dg(i);if(!s)return;const r=t._component;!ct(r)&&!r.render&&!r.template&&(r.template=s.innerHTML),s.innerHTML="";const o=n(s,!1,s instanceof SVGElement);return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),o},t};function Dg(e){return Ut(e)?document.querySelector(e):e}var kg=!1;/*! - * pinia v2.0.33 - * (c) 2023 Eduardo San Martin Morote - * @license MIT - */let Kd;const Cr=e=>Kd=e,Yd=Symbol();function zo(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var Ui;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(Ui||(Ui={}));function Og(){const e=Ju(!0),t=e.run(()=>Kt({}));let n=[],i=[];const s=oi({install(r){Cr(s),s._a=r,r.provide(Yd,s),r.config.globalProperties.$pinia=s,i.forEach(o=>n.push(o)),i=[]},use(r){return!this._a&&!kg?i.push(r):n.push(r),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return s}const qd=()=>{};function Kl(e,t,n,i=qd){e.push(t);const s=()=>{const r=e.indexOf(t);r>-1&&(e.splice(r,1),i())};return!n&&Qu()&&cp(s),s}function Kn(e,...t){e.slice().forEach(n=>{n(...t)})}function jo(e,t){e instanceof Map&&t instanceof Map&&t.forEach((n,i)=>e.set(i,n)),e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const i=t[n],s=e[n];zo(s)&&zo(i)&&e.hasOwnProperty(n)&&!Vt(i)&&!hn(i)?e[n]=jo(s,i):e[n]=i}return e}const Pg=Symbol();function Lg(e){return!zo(e)||!e.hasOwnProperty(Pg)}const{assign:rn}=Object;function Hg(e){return!!(Vt(e)&&e.effect)}function Ng(e,t,n,i){const{state:s,actions:r,getters:o}=t,a=n.state.value[e];let l;function c(){a||(n.state.value[e]=s?s():{});const u=Up(n.state.value[e]);return rn(u,r,Object.keys(o||{}).reduce((d,f)=>(d[f]=oi(it(()=>{Cr(n);const h=n._s.get(e);return o[f].call(h,h)})),d),{}))}return l=Zd(e,c,t,n,i,!0),l}function Zd(e,t,n={},i,s,r){let o;const a=rn({actions:{}},n),l={deep:!0};let c,u,d=oi([]),f=oi([]),h;const g=i.state.value[e];!r&&!g&&(i.state.value[e]={}),Kt({});let m;function _(C){let w;c=u=!1,typeof C=="function"?(C(i.state.value[e]),w={type:Ui.patchFunction,storeId:e,events:h}):(jo(i.state.value[e],C),w={type:Ui.patchObject,payload:C,storeId:e,events:h});const L=m=Symbol();xa().then(()=>{m===L&&(c=!0)}),u=!0,Kn(d,w,i.state.value[e])}const y=r?function(){const{state:w}=n,L=w?w():{};this.$patch(U=>{rn(U,L)})}:qd;function S(){o.stop(),d=[],f=[],i._s.delete(e)}function M(C,w){return function(){Cr(i);const L=Array.from(arguments),U=[],q=[];function O(G){U.push(G)}function Z(G){q.push(G)}Kn(f,{args:L,name:C,store:A,after:O,onError:Z});let ot;try{ot=w.apply(this&&this.$id===e?this:A,L)}catch(G){throw Kn(q,G),G}return ot instanceof Promise?ot.then(G=>(Kn(U,G),G)).catch(G=>(Kn(q,G),Promise.reject(G))):(Kn(U,ot),ot)}}const E={_p:i,$id:e,$onAction:Kl.bind(null,f),$patch:_,$reset:y,$subscribe(C,w={}){const L=Kl(d,C,w.detached,()=>U()),U=o.run(()=>Fn(()=>i.state.value[e],q=>{(w.flush==="sync"?u:c)&&C({storeId:e,type:Ui.direct,events:h},q)},rn({},l,w)));return L},$dispose:S},A=xi(E);i._s.set(e,A);const P=i._e.run(()=>(o=Ju(),o.run(()=>t())));for(const C in P){const w=P[C];if(Vt(w)&&!Hg(w)||hn(w))r||(g&&Lg(w)&&(Vt(w)?w.value=g[C]:jo(w,g[C])),i.state.value[e][C]=w);else if(typeof w=="function"){const L=M(C,w);P[C]=L,a.actions[C]=w}}return rn(A,P),rn(mt(A),P),Object.defineProperty(A,"$state",{get:()=>i.state.value[e],set:C=>{_(w=>{rn(w,C)})}}),i._p.forEach(C=>{rn(A,o.run(()=>C({store:A,app:i._a,pinia:i,options:a})))}),g&&r&&n.hydrate&&n.hydrate(A.$state,g),c=!0,u=!0,A}function Jd(e,t,n){let i,s;const r=typeof t=="function";typeof e=="string"?(i=e,s=r?n:t):(s=e,i=e.id);function o(a,l){const c=Ra();return a=a||c&&be(Yd,null),a&&Cr(a),a=Kd,a._s.has(i)||(r?Zd(i,t,s,a):Ng(i,s,a)),a._s.get(i)}return o.$id=i,o}/*! - * vue-router v4.1.6 - * (c) 2022 Eduardo San Martin Morote - * @license MIT - */const ti=typeof window<"u";function Fg(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const St=Object.assign;function Zr(e,t){const n={};for(const i in t){const s=t[i];n[i]=Ie(s)?s.map(e):e(s)}return n}const $i=()=>{},Ie=Array.isArray,Bg=/\/$/,Vg=e=>e.replace(Bg,"");function Jr(e,t,n="/"){let i,s={},r="",o="";const a=t.indexOf("#");let l=t.indexOf("?");return a=0&&(l=-1),l>-1&&(i=t.slice(0,l),r=t.slice(l+1,a>-1?a:t.length),s=e(r)),a>-1&&(i=i||t.slice(0,a),o=t.slice(a,t.length)),i=jg(i!=null?i:t,n),{fullPath:i+(r&&"?")+r+o,path:i,query:s,hash:o}}function Ug(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Yl(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function $g(e,t,n){const i=t.matched.length-1,s=n.matched.length-1;return i>-1&&i===s&&ci(t.matched[i],n.matched[s])&&Qd(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function ci(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Qd(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!zg(e[n],t[n]))return!1;return!0}function zg(e,t){return Ie(e)?ql(e,t):Ie(t)?ql(t,e):e===t}function ql(e,t){return Ie(t)?e.length===t.length&&e.every((n,i)=>n===t[i]):e.length===1&&e[0]===t}function jg(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),i=e.split("/");let s=n.length-1,r,o;for(r=0;r1&&s--;else break;return n.slice(0,s).join("/")+"/"+i.slice(r-(r===i.length?1:0)).join("/")}var is;(function(e){e.pop="pop",e.push="push"})(is||(is={}));var zi;(function(e){e.back="back",e.forward="forward",e.unknown=""})(zi||(zi={}));function Xg(e){if(!e)if(ti){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Vg(e)}const Wg=/^[^#]+#/;function Gg(e,t){return e.replace(Wg,"#")+t}function Kg(e,t){const n=document.documentElement.getBoundingClientRect(),i=e.getBoundingClientRect();return{behavior:t.behavior,left:i.left-n.left-(t.left||0),top:i.top-n.top-(t.top||0)}}const Tr=()=>({left:window.pageXOffset,top:window.pageYOffset});function Yg(e){let t;if("el"in e){const n=e.el,i=typeof n=="string"&&n.startsWith("#"),s=typeof n=="string"?i?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!s)return;t=Kg(s,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 Zl(e,t){return(history.state?history.state.position-t:-1)+e}const Xo=new Map;function qg(e,t){Xo.set(e,t)}function Zg(e){const t=Xo.get(e);return Xo.delete(e),t}let Jg=()=>location.protocol+"//"+location.host;function tf(e,t){const{pathname:n,search:i,hash:s}=t,r=e.indexOf("#");if(r>-1){let a=s.includes(e.slice(r))?e.slice(r).length:1,l=s.slice(a);return l[0]!=="/"&&(l="/"+l),Yl(l,"")}return Yl(n,e)+i+s}function Qg(e,t,n,i){let s=[],r=[],o=null;const a=({state:f})=>{const h=tf(e,location),g=n.value,m=t.value;let _=0;if(f){if(n.value=h,t.value=f,o&&o===g){o=null;return}_=m?f.position-m.position:0}else i(h);s.forEach(y=>{y(n.value,g,{delta:_,type:is.pop,direction:_?_>0?zi.forward:zi.back:zi.unknown})})};function l(){o=n.value}function c(f){s.push(f);const h=()=>{const g=s.indexOf(f);g>-1&&s.splice(g,1)};return r.push(h),h}function u(){const{history:f}=window;!f.state||f.replaceState(St({},f.state,{scroll:Tr()}),"")}function d(){for(const f of r)f();r=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",u),{pauseListeners:l,listen:c,destroy:d}}function Jl(e,t,n,i=!1,s=!1){return{back:e,current:t,forward:n,replaced:i,position:window.history.length,scroll:s?Tr():null}}function tm(e){const{history:t,location:n}=window,i={value:tf(e,n)},s={value:t.state};s.value||r(i.value,{back:null,current:i.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function r(l,c,u){const d=e.indexOf("#"),f=d>-1?(n.host&&document.querySelector("base")?e:e.slice(d))+l:Jg()+e+l;try{t[u?"replaceState":"pushState"](c,"",f),s.value=c}catch(h){console.error(h),n[u?"replace":"assign"](f)}}function o(l,c){const u=St({},t.state,Jl(s.value.back,l,s.value.forward,!0),c,{position:s.value.position});r(l,u,!0),i.value=l}function a(l,c){const u=St({},s.value,t.state,{forward:l,scroll:Tr()});r(u.current,u,!0);const d=St({},Jl(i.value,l,null),{position:u.position+1},c);r(l,d,!1),i.value=l}return{location:i,state:s,push:a,replace:o}}function em(e){e=Xg(e);const t=tm(e),n=Qg(e,t.state,t.location,t.replace);function i(r,o=!0){o||n.pauseListeners(),history.go(r)}const s=St({location:"",base:e,go:i,createHref:Gg.bind(null,e)},t,n);return Object.defineProperty(s,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(s,"state",{enumerable:!0,get:()=>t.state.value}),s}function nm(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),em(e)}function im(e){return typeof e=="string"||e&&typeof e=="object"}function ef(e){return typeof e=="string"||typeof e=="symbol"}const nn={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},nf=Symbol("");var Ql;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Ql||(Ql={}));function ui(e,t){return St(new Error,{type:e,[nf]:!0},t)}function Fe(e,t){return e instanceof Error&&nf in e&&(t==null||!!(e.type&t))}const tc="[^/]+?",sm={sensitive:!1,strict:!1,start:!0,end:!0},rm=/[.+*?^${}()[\]/\\]/g;function om(e,t){const n=St({},sm,t),i=[];let s=n.start?"^":"";const r=[];for(const c of e){const u=c.length?[]:[90];n.strict&&!c.length&&(s+="/");for(let d=0;dt.length?t.length===1&&t[0]===40+40?1:-1:0}function lm(e,t){let n=0;const i=e.score,s=t.score;for(;n0&&t[t.length-1]<0}const cm={type:0,value:""},um=/[a-zA-Z0-9_]/;function dm(e){if(!e)return[[]];if(e==="/")return[[cm]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(h){throw new Error(`ERR (${n})/"${c}": ${h}`)}let n=0,i=n;const s=[];let r;function o(){r&&s.push(r),r=[]}let a=0,l,c="",u="";function d(){!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 f(){c+=l}for(;a{o(S)}:$i}function o(u){if(ef(u)){const d=i.get(u);d&&(i.delete(u),n.splice(n.indexOf(d),1),d.children.forEach(o),d.alias.forEach(o))}else{const d=n.indexOf(u);d>-1&&(n.splice(d,1),u.record.name&&i.delete(u.record.name),u.children.forEach(o),u.alias.forEach(o))}}function a(){return n}function l(u){let d=0;for(;d=0&&(u.record.path!==n[d].record.path||!sf(u,n[d]));)d++;n.splice(d,0,u),u.record.name&&!ic(u)&&i.set(u.record.name,u)}function c(u,d){let f,h={},g,m;if("name"in u&&u.name){if(f=i.get(u.name),!f)throw ui(1,{location:u});m=f.record.name,h=St(nc(d.params,f.keys.filter(S=>!S.optional).map(S=>S.name)),u.params&&nc(u.params,f.keys.map(S=>S.name))),g=f.stringify(h)}else if("path"in u)g=u.path,f=n.find(S=>S.re.test(g)),f&&(h=f.parse(g),m=f.record.name);else{if(f=d.name?i.get(d.name):n.find(S=>S.re.test(d.path)),!f)throw ui(1,{location:u,currentLocation:d});m=f.record.name,h=St({},d.params,u.params),g=f.stringify(h)}const _=[];let y=f;for(;y;)_.unshift(y.record),y=y.parent;return{name:m,path:g,params:h,matched:_,meta:mm(_)}}return e.forEach(u=>r(u)),{addRoute:r,resolve:c,removeRoute:o,getRoutes:a,getRecordMatcher:s}}function nc(e,t){const n={};for(const i of t)i in e&&(n[i]=e[i]);return n}function pm(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:gm(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 gm(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const i in e.components)t[i]=typeof n=="boolean"?n:n[i];return t}function ic(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function mm(e){return e.reduce((t,n)=>St(t,n.meta),{})}function sc(e,t){const n={};for(const i in e)n[i]=i in t?t[i]:e[i];return n}function sf(e,t){return t.children.some(n=>n===e||sf(e,n))}const rf=/#/g,bm=/&/g,_m=/\//g,ym=/=/g,xm=/\?/g,of=/\+/g,vm=/%5B/g,Am=/%5D/g,af=/%5E/g,Sm=/%60/g,lf=/%7B/g,Mm=/%7C/g,cf=/%7D/g,Em=/%20/g;function Ia(e){return encodeURI(""+e).replace(Mm,"|").replace(vm,"[").replace(Am,"]")}function Rm(e){return Ia(e).replace(lf,"{").replace(cf,"}").replace(af,"^")}function Wo(e){return Ia(e).replace(of,"%2B").replace(Em,"+").replace(rf,"%23").replace(bm,"%26").replace(Sm,"`").replace(lf,"{").replace(cf,"}").replace(af,"^")}function wm(e){return Wo(e).replace(ym,"%3D")}function Im(e){return Ia(e).replace(rf,"%23").replace(xm,"%3F")}function Cm(e){return e==null?"":Im(e).replace(_m,"%2F")}function tr(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function Tm(e){const t={};if(e===""||e==="?")return t;const i=(e[0]==="?"?e.slice(1):e).split("&");for(let s=0;sr&&Wo(r)):[i&&Wo(i)]).forEach(r=>{r!==void 0&&(t+=(t.length?"&":"")+n,r!=null&&(t+="="+r))})}return t}function Dm(e){const t={};for(const n in e){const i=e[n];i!==void 0&&(t[n]=Ie(i)?i.map(s=>s==null?null:""+s):i==null?i:""+i)}return t}const km=Symbol(""),oc=Symbol(""),Dr=Symbol(""),Ca=Symbol(""),Go=Symbol("");function wi(){let e=[];function t(i){return e.push(i),()=>{const s=e.indexOf(i);s>-1&&e.splice(s,1)}}function n(){e=[]}return{add:t,list:()=>e,reset:n}}function ln(e,t,n,i,s){const r=i&&(i.enterCallbacks[s]=i.enterCallbacks[s]||[]);return()=>new Promise((o,a)=>{const l=d=>{d===!1?a(ui(4,{from:n,to:t})):d instanceof Error?a(d):im(d)?a(ui(2,{from:t,to:d})):(r&&i.enterCallbacks[s]===r&&typeof d=="function"&&r.push(d),o())},c=e.call(i&&i.instances[s],t,n,l);let u=Promise.resolve(c);e.length<3&&(u=u.then(l)),u.catch(d=>a(d))})}function Qr(e,t,n,i){const s=[];for(const r of e)for(const o in r.components){let a=r.components[o];if(!(t!=="beforeRouteEnter"&&!r.instances[o]))if(Om(a)){const c=(a.__vccOpts||a)[t];c&&s.push(ln(c,n,i,r,o))}else{let l=a();s.push(()=>l.then(c=>{if(!c)return Promise.reject(new Error(`Couldn't resolve component "${o}" at "${r.path}"`));const u=Fg(c)?c.default:c;r.components[o]=u;const f=(u.__vccOpts||u)[t];return f&&ln(f,n,i,r,o)()}))}}return s}function Om(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function ac(e){const t=be(Dr),n=be(Ca),i=it(()=>t.resolve(k(e.to))),s=it(()=>{const{matched:l}=i.value,{length:c}=l,u=l[c-1],d=n.matched;if(!u||!d.length)return-1;const f=d.findIndex(ci.bind(null,u));if(f>-1)return f;const h=lc(l[c-2]);return c>1&&lc(u)===h&&d[d.length-1].path!==h?d.findIndex(ci.bind(null,l[c-2])):f}),r=it(()=>s.value>-1&&Hm(n.params,i.value.params)),o=it(()=>s.value>-1&&s.value===n.matched.length-1&&Qd(n.params,i.value.params));function a(l={}){return Lm(l)?t[k(e.replace)?"replace":"push"](k(e.to)).catch($i):Promise.resolve()}return{route:i,href:it(()=>i.value.href),isActive:r,isExactActive:o,navigate:a}}const Pm=Ar({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:ac,setup(e,{slots:t}){const n=xi(ac(e)),{options:i}=be(Dr),s=it(()=>({[cc(e.activeClass,i.linkActiveClass,"router-link-active")]:n.isActive,[cc(e.exactActiveClass,i.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const r=t.default&&t.default(n);return e.custom?r:Ge("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:s.value},r)}}}),kr=Pm;function Lm(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 Hm(e,t){for(const n in t){const i=t[n],s=e[n];if(typeof i=="string"){if(i!==s)return!1}else if(!Ie(s)||s.length!==i.length||i.some((r,o)=>r!==s[o]))return!1}return!0}function lc(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const cc=(e,t,n)=>e!=null?e:t!=null?t:n,Nm=Ar({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const i=be(Go),s=it(()=>e.route||i.value),r=be(oc,0),o=it(()=>{let c=k(r);const{matched:u}=s.value;let d;for(;(d=u[c])&&!d.components;)c++;return c}),a=it(()=>s.value.matched[o.value]);Fs(oc,it(()=>o.value+1)),Fs(km,a),Fs(Go,s);const l=Kt();return Fn(()=>[l.value,a.value,e.name],([c,u,d],[f,h,g])=>{u&&(u.instances[d]=c,h&&h!==u&&c&&c===f&&(u.leaveGuards.size||(u.leaveGuards=h.leaveGuards),u.updateGuards.size||(u.updateGuards=h.updateGuards))),c&&u&&(!h||!ci(u,h)||!f)&&(u.enterCallbacks[d]||[]).forEach(m=>m(c))},{flush:"post"}),()=>{const c=s.value,u=e.name,d=a.value,f=d&&d.components[u];if(!f)return uc(n.default,{Component:f,route:c});const h=d.props[u],g=h?h===!0?c.params:typeof h=="function"?h(c):h:null,_=Ge(f,St({},g,t,{onVnodeUnmounted:y=>{y.component.isUnmounted&&(d.instances[u]=null)},ref:l}));return uc(n.default,{Component:_,route:c})||_}}});function uc(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const uf=Nm;function Fm(e){const t=hm(e.routes,e),n=e.parseQuery||Tm,i=e.stringifyQuery||rc,s=e.history,r=wi(),o=wi(),a=wi(),l=Fp(nn);let c=nn;ti&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Zr.bind(null,T=>""+T),d=Zr.bind(null,Cm),f=Zr.bind(null,tr);function h(T,X){let j,J;return ef(T)?(j=t.getRecordMatcher(T),J=X):J=T,t.addRoute(J,j)}function g(T){const X=t.getRecordMatcher(T);X&&t.removeRoute(X)}function m(){return t.getRoutes().map(T=>T.record)}function _(T){return!!t.getRecordMatcher(T)}function y(T,X){if(X=St({},X||l.value),typeof T=="string"){const b=Jr(n,T,X.path),v=t.resolve({path:b.path},X),R=s.createHref(b.fullPath);return St(b,v,{params:f(v.params),hash:tr(b.hash),redirectedFrom:void 0,href:R})}let j;if("path"in T)j=St({},T,{path:Jr(n,T.path,X.path).path});else{const b=St({},T.params);for(const v in b)b[v]==null&&delete b[v];j=St({},T,{params:d(T.params)}),X.params=d(X.params)}const J=t.resolve(j,X),bt=T.hash||"";J.params=u(f(J.params));const kt=Ug(i,St({},T,{hash:Rm(bt),path:J.path})),ut=s.createHref(kt);return St({fullPath:kt,hash:bt,query:i===rc?Dm(T.query):T.query||{}},J,{redirectedFrom:void 0,href:ut})}function S(T){return typeof T=="string"?Jr(n,T,l.value.path):St({},T)}function M(T,X){if(c!==T)return ui(8,{from:X,to:T})}function E(T){return C(T)}function A(T){return E(St(S(T),{replace:!0}))}function P(T){const X=T.matched[T.matched.length-1];if(X&&X.redirect){const{redirect:j}=X;let J=typeof j=="function"?j(T):j;return typeof J=="string"&&(J=J.includes("?")||J.includes("#")?J=S(J):{path:J},J.params={}),St({query:T.query,hash:T.hash,params:"path"in J?{}:T.params},J)}}function C(T,X){const j=c=y(T),J=l.value,bt=T.state,kt=T.force,ut=T.replace===!0,b=P(j);if(b)return C(St(S(b),{state:typeof b=="object"?St({},bt,b.state):bt,force:kt,replace:ut}),X||j);const v=j;v.redirectedFrom=X;let R;return!kt&&$g(i,J,j)&&(R=ui(16,{to:v,from:J}),ee(J,J,!0,!1)),(R?Promise.resolve(R):L(v,J)).catch(I=>Fe(I)?Fe(I,2)?I:Qt(I):rt(I,v,J)).then(I=>{if(I){if(Fe(I,2))return C(St({replace:ut},S(I.to),{state:typeof I.to=="object"?St({},bt,I.to.state):bt,force:kt}),X||v)}else I=q(v,J,!0,ut,bt);return U(v,J,I),I})}function w(T,X){const j=M(T,X);return j?Promise.reject(j):Promise.resolve()}function L(T,X){let j;const[J,bt,kt]=Bm(T,X);j=Qr(J.reverse(),"beforeRouteLeave",T,X);for(const b of J)b.leaveGuards.forEach(v=>{j.push(ln(v,T,X))});const ut=w.bind(null,T,X);return j.push(ut),Yn(j).then(()=>{j=[];for(const b of r.list())j.push(ln(b,T,X));return j.push(ut),Yn(j)}).then(()=>{j=Qr(bt,"beforeRouteUpdate",T,X);for(const b of bt)b.updateGuards.forEach(v=>{j.push(ln(v,T,X))});return j.push(ut),Yn(j)}).then(()=>{j=[];for(const b of T.matched)if(b.beforeEnter&&!X.matched.includes(b))if(Ie(b.beforeEnter))for(const v of b.beforeEnter)j.push(ln(v,T,X));else j.push(ln(b.beforeEnter,T,X));return j.push(ut),Yn(j)}).then(()=>(T.matched.forEach(b=>b.enterCallbacks={}),j=Qr(kt,"beforeRouteEnter",T,X),j.push(ut),Yn(j))).then(()=>{j=[];for(const b of o.list())j.push(ln(b,T,X));return j.push(ut),Yn(j)}).catch(b=>Fe(b,8)?b:Promise.reject(b))}function U(T,X,j){for(const J of a.list())J(T,X,j)}function q(T,X,j,J,bt){const kt=M(T,X);if(kt)return kt;const ut=X===nn,b=ti?history.state:{};j&&(J||ut?s.replace(T.fullPath,St({scroll:ut&&b&&b.scroll},bt)):s.push(T.fullPath,bt)),l.value=T,ee(T,X,j,ut),Qt()}let O;function Z(){O||(O=s.listen((T,X,j)=>{if(!Je.listening)return;const J=y(T),bt=P(J);if(bt){C(St(bt,{replace:!0}),J).catch($i);return}c=J;const kt=l.value;ti&&qg(Zl(kt.fullPath,j.delta),Tr()),L(J,kt).catch(ut=>Fe(ut,12)?ut:Fe(ut,2)?(C(ut.to,J).then(b=>{Fe(b,20)&&!j.delta&&j.type===is.pop&&s.go(-1,!1)}).catch($i),Promise.reject()):(j.delta&&s.go(-j.delta,!1),rt(ut,J,kt))).then(ut=>{ut=ut||q(J,kt,!1),ut&&(j.delta&&!Fe(ut,8)?s.go(-j.delta,!1):j.type===is.pop&&Fe(ut,20)&&s.go(-1,!1)),U(J,kt,ut)}).catch($i)}))}let ot=wi(),G=wi(),st;function rt(T,X,j){Qt(T);const J=G.list();return J.length?J.forEach(bt=>bt(T,X,j)):console.error(T),Promise.reject(T)}function dt(){return st&&l.value!==nn?Promise.resolve():new Promise((T,X)=>{ot.add([T,X])})}function Qt(T){return st||(st=!T,Z(),ot.list().forEach(([X,j])=>T?j(T):X()),ot.reset()),T}function ee(T,X,j,J){const{scrollBehavior:bt}=e;if(!ti||!bt)return Promise.resolve();const kt=!j&&Zg(Zl(T.fullPath,0))||(J||!j)&&history.state&&history.state.scroll||null;return xa().then(()=>bt(T,X,kt)).then(ut=>ut&&Yg(ut)).catch(ut=>rt(ut,T,X))}const qt=T=>s.go(T);let Nt;const de=new Set,Je={currentRoute:l,listening:!0,addRoute:h,removeRoute:g,hasRoute:_,getRoutes:m,resolve:y,options:e,push:E,replace:A,go:qt,back:()=>qt(-1),forward:()=>qt(1),beforeEach:r.add,beforeResolve:o.add,afterEach:a.add,onError:G.add,isReady:dt,install(T){const X=this;T.component("RouterLink",kr),T.component("RouterView",uf),T.config.globalProperties.$router=X,Object.defineProperty(T.config.globalProperties,"$route",{enumerable:!0,get:()=>k(l)}),ti&&!Nt&&l.value===nn&&(Nt=!0,E(s.location).catch(bt=>{}));const j={};for(const bt in nn)j[bt]=it(()=>l.value[bt]);T.provide(Dr,X),T.provide(Ca,xi(j)),T.provide(Go,l);const J=T.unmount;de.add(T),T.unmount=function(){de.delete(T),de.size<1&&(c=nn,O&&O(),O=null,l.value=nn,Nt=!1,st=!1),J()}}};return Je}function Yn(e){return e.reduce((t,n)=>t.then(()=>n()),Promise.resolve())}function Bm(e,t){const n=[],i=[],s=[],r=Math.max(t.matched.length,e.matched.length);for(let o=0;oci(c,a))?i.push(a):n.push(a));const l=e.matched[o];l&&(t.matched.find(c=>ci(c,l))||s.push(l))}return[n,i,s]}function df(){return be(Dr)}function Vm(){return be(Ca)}const Um={__name:"App",setup(e){return(t,n)=>(N(),pt(k(uf),{key:t.$route.fullPath}))}},$m="modulepreload",zm=function(e){return"/"+e},dc={},Ft=function(t,n,i){if(!n||n.length===0)return t();const s=document.getElementsByTagName("link");return Promise.all(n.map(r=>{if(r=zm(r),r in dc)return;dc[r]=!0;const o=r.endsWith(".css"),a=o?'[rel="stylesheet"]':"";if(!!i)for(let u=s.length-1;u>=0;u--){const d=s[u];if(d.href===r&&(!o||d.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${r}"]${a}`))return;const c=document.createElement("link");if(c.rel=o?"stylesheet":$m,o||(c.as="script",c.crossOrigin=""),c.href=r,document.head.appendChild(c),o)return new Promise((u,d)=>{c.addEventListener("load",u),c.addEventListener("error",()=>d(new Error(`Unable to preload CSS for ${r}`)))})})).then(()=>t())};var jm="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",HA="M11 8C11 10.21 9.21 12 7 12C4.79 12 3 10.21 3 8C3 5.79 4.79 4 7 4C9.21 4 11 5.79 11 8M11 14.72V20H0V18C0 15.79 3.13 14 7 14C8.5 14 9.87 14.27 11 14.72M24 20H13V3H24V20M16 11.5C16 10.12 17.12 9 18.5 9C19.88 9 21 10.12 21 11.5C21 12.88 19.88 14 18.5 14C17.12 14 16 12.88 16 11.5M22 7C20.9 7 20 6.11 20 5H17C17 6.11 16.11 7 15 7V16C16.11 16 17 16.9 17 18H20C20 16.9 20.9 16 22 16V7Z",Xm="M21.1,12.5L22.5,13.91L15.97,20.5L12.5,17L13.9,15.59L15.97,17.67L21.1,12.5M10,17L13,20H3V18C3,15.79 6.58,14 11,14L12.89,14.11L10,17M11,4A4,4 0 0,1 15,8A4,4 0 0,1 11,12A4,4 0 0,1 7,8A4,4 0 0,1 11,4Z",NA="M11 9C11 10.66 9.66 12 8 12C6.34 12 5 10.66 5 9C5 7.34 6.34 6 8 6C9.66 6 11 7.34 11 9M14 20H2V18C2 15.79 4.69 14 8 14C11.31 14 14 15.79 14 18M22 12V14H13V12M22 8V10H13V8M22 4V6H13V4Z",FA="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",BA="M16 17V19H2V17S2 13 9 13 16 17 16 17M12.5 7.5A3.5 3.5 0 1 0 9 11A3.5 3.5 0 0 0 12.5 7.5M15.94 13A5.32 5.32 0 0 1 18 17V19H22V17S22 13.37 15.94 13M15 4A3.39 3.39 0 0 0 13.07 4.59A5 5 0 0 1 13.07 10.41A3.39 3.39 0 0 0 15 11A3.5 3.5 0 0 0 15 4Z",Wm="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",Gm="M12,4A4,4 0 0,1 16,8C16,9.95 14.6,11.58 12.75,11.93L8.07,7.25C8.42,5.4 10.05,4 12,4M12.28,14L18.28,20L20,21.72L18.73,23L15.73,20H4V18C4,16.16 6.5,14.61 9.87,14.14L2.78,7.05L4.05,5.78L12.28,14M20,18V19.18L15.14,14.32C18,14.93 20,16.35 20,18Z",VA="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,6A2,2 0 0,0 10,8A2,2 0 0,0 12,10A2,2 0 0,0 14,8A2,2 0 0,0 12,6M12,13C14.67,13 20,14.33 20,17V20H4V17C4,14.33 9.33,13 12,13M12,14.9C9.03,14.9 5.9,16.36 5.9,17V18.1H18.1V17C18.1,16.36 14.97,14.9 12,14.9Z",UA="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",Km="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",$A="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",Ym="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",zA="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",qm="M5,13L9,17L7.6,18.42L1.18,12L7.6,5.58L9,7L5,11H21V13H5M21,6V8H11V6H21M21,16V18H11V16H21Z",Zm="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",Jm="M22,3H2C0.91,3.04 0.04,3.91 0,5V19C0.04,20.09 0.91,20.96 2,21H22C23.09,20.96 23.96,20.09 24,19V5C23.96,3.91 23.09,3.04 22,3M22,19H2V5H22V19M14,17V15.75C14,14.09 10.66,13.25 9,13.25C7.34,13.25 4,14.09 4,15.75V17H14M9,7A2.5,2.5 0 0,0 6.5,9.5A2.5,2.5 0 0,0 9,12A2.5,2.5 0 0,0 11.5,9.5A2.5,2.5 0 0,0 9,7M14,7V8H20V7H14M14,9V10H20V9H14M14,11V12H18V11H14",Qm="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",jA="M2,17H22V21H2V17M6.25,7H9V6H6V3H14V6H11V7H17.8C18.8,7 19.8,8 20,9L20.5,16H3.5L4.05,9C4.05,8 5.05,7 6.25,7M13,9V11H18V9H13M6,9V10H8V9H6M9,9V10H11V9H9M6,11V12H8V11H6M9,11V12H11V11H9M6,13V14H8V13H6M9,13V14H11V13H9M7,4V5H13V4H7Z",t0="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",e0="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",ff="M7.41,8.58L12,13.17L16.59,8.58L18,10L12,16L6,10L7.41,8.58Z",hf="M7.41,15.41L12,10.83L16.59,15.41L18,14L12,8L6,14L7.41,15.41Z",Ta="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",n0="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",XA="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",i0="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",s0="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",pf="M14.4,6H20V16H13L12.6,14H7V21H5V4H14L14.4,6M14,14H16V12H18V10H16V8H14V10L13,8V6H11V8H9V6H7V8H9V10H7V12H9V10H11V12H13V10L14,12V14M11,10V8H13V10H11M14,10H16V12H14V10Z",WA="M20.84 22.73L14.11 16H13L12.72 14.61L12.11 14H7V21H5V6.89L1.11 3L2.39 1.73L22.11 21.46L20.84 22.73M20 16V6H14.4L14 4H7.2L19.2 16H20",GA="M12.36,6L12.76,8H18V14H14.64L14.24,12H7V6H12.36M14,4H5V21H7V14H12.6L13,16H20V6H14.4",KA="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",r0="M19,13H3V11H19L15,7L16.4,5.6L22.8,12L16.4,18.4L15,17L19,13M3,6H13V8H3V6M13,16V18H3V16H13Z",gf="M16.5,9L13.5,12L16.5,15H22V9M9,16.5V22H15V16.5L12,13.5M7.5,9H2V15H7.5L10.5,12M15,7.5V2H9V7.5L12,10.5L15,7.5Z",YA="M12 5.69L17 10.19V18H15V12H9V18H7V10.19L12 5.69M12 3L2 12H5V20H11V14H13V20H19V12H22",mf="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",qA="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",o0="M3,6H21V8H3V6M3,11H21V13H3V11M3,16H21V18H3V16Z",ZA="M20,2H4A2,2 0 0,0 2,4V22L6,18H20A2,2 0 0,0 22,16V4C22,2.89 21.1,2 20,2Z",a0="M19,13H5V11H19V13Z",l0="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",c0="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",JA="M4 7V19H19V21H4C2 21 2 19 2 19V7H4M21.3 3H7.7C6.76 3 6 3.7 6 4.55V15.45C6 16.31 6.76 17 7.7 17H21.3C22.24 17 23 16.31 23 15.45V4.55C23 3.7 22.24 3 21.3 3M8 5H13V11H8V5M21 15H8V13H21V15M21 11H15V9H21V11M21 7H15V5H21V7Z",u0="M19,13H13V19H11V13H5V11H11V5H13V11H19V13Z",d0="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",QA="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",f0="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",h0="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",tS="M12,18H6V14H12M21,14V12L20,7H4L3,12V14H4V20H14V14H18V20H20V14M20,4H4V6H20V4Z",p0="M20 6H4V4H20V6M19 12C17.09 12 15.37 12.76 14.11 14H14V14.11C12.76 15.37 12 17.09 12 19C12 19.34 12.03 19.67 12.08 20H4V14H3V12L4 7H20L21 12V12.3C20.37 12.11 19.7 12 19 12M12 14H6V18H12V14M23.8 20.4C23.9 20.4 23.9 20.5 23.8 20.6L22.8 22.3C22.7 22.4 22.6 22.4 22.5 22.4L21.3 22C21 22.2 20.8 22.3 20.5 22.5L20.3 23.8C20.3 23.9 20.2 24 20.1 24H18.1C18 24 17.9 23.9 17.8 23.8L17.6 22.5C17.3 22.4 17 22.2 16.8 22L15.6 22.5C15.5 22.5 15.4 22.5 15.3 22.4L14.3 20.7C14.2 20.6 14.3 20.5 14.4 20.4L15.5 19.6V18.6L14.4 17.8C14.3 17.7 14.3 17.6 14.3 17.5L15.3 15.8C15.4 15.7 15.5 15.7 15.6 15.7L16.8 16.2C17.1 16 17.3 15.9 17.6 15.7L17.8 14.4C17.8 14.3 17.9 14.2 18.1 14.2H20.1C20.2 14.2 20.3 14.3 20.3 14.4L20.5 15.7C20.8 15.8 21.1 16 21.4 16.2L22.6 15.7C22.7 15.7 22.9 15.7 22.9 15.8L23.9 17.5C24 17.6 23.9 17.7 23.8 17.8L22.7 18.6V19.6L23.8 20.4M20.5 19C20.5 18.2 19.8 17.5 19 17.5S17.5 18.2 17.5 19 18.2 20.5 19 20.5 20.5 19.8 20.5 19Z",eS="M18.36 9L18.96 12H5.04L5.64 9H18.36M20 4H4V6H20V4M20 7H4L3 12V14H4V20H14V14H18V20H20V14H21V12L20 7M6 18V14H12V18H6Z",g0="M5.06 3C4.63 3 4.22 3.14 3.84 3.42C3.46 3.7 3.24 4.06 3.14 4.5L2.11 8.91C1.86 10 2.06 10.92 2.69 11.73C2.81 11.85 2.93 11.97 3.04 12.07C3.63 12.64 4.28 13 5.22 13C6.16 13 6.91 12.59 7.47 12.05C8.1 12.67 8.86 13 9.8 13C10.64 13 11.44 12.63 12 12.07C12.68 12.7 13.45 13 14.3 13C15.17 13 15.91 12.67 16.54 12.05C17.11 12.62 17.86 13 18.81 13C19.76 13 20.43 12.65 21 12.06C21.09 11.97 21.18 11.87 21.28 11.77C21.94 10.95 22.14 10 21.89 8.91L20.86 4.5C20.73 4.06 20.5 3.7 20.13 3.42C19.77 3.14 19.38 3 18.94 3M18.89 4.97L19.97 9.38C20.06 9.81 19.97 10.2 19.69 10.55C19.44 10.86 19.13 11 18.75 11C18.44 11 18.17 10.9 17.95 10.66C17.73 10.43 17.61 10.16 17.58 9.84L16.97 5M5.06 5H7.03L6.42 9.84C6.3 10.63 5.91 11 5.25 11C4.84 11 4.53 10.86 4.31 10.55C4.03 10.2 3.94 9.81 4.03 9.38M9.05 5H11V9.7C11 10.05 10.89 10.35 10.64 10.62C10.39 10.88 10.08 11 9.7 11C9.36 11 9.07 10.88 8.84 10.59C8.61 10.3 8.5 10 8.5 9.66V9.5M13 5H14.95L15.5 9.5C15.58 9.92 15.5 10.27 15.21 10.57C14.95 10.87 14.61 11 14.2 11C13.89 11 13.61 10.88 13.36 10.62C13.11 10.35 13 10.05 13 9.7M3 14.03V19C3 20.11 3.89 21 5 21C9.67 21 14.33 21 19 21C20.1 21 21 20.11 21 19V14.05C20.45 14.63 19.75 14.96 19 15C18 15.03 17.25 14.74 16.54 14.05C15.94 14.65 15.14 15 14.3 15C13.4 15 12.6 14.64 12 14.07C11.43 14.64 10.65 15 9.78 15C8.87 15 8.07 14.65 7.47 14.05C6.89 14.64 6.1 15 5.23 15C4.33 15 3.66 14.65 3 14.03Z",nS="M6.2,2.44L18.1,14.34L20.22,12.22L21.63,13.63L19.16,16.1L22.34,19.28C22.73,19.67 22.73,20.3 22.34,20.69L21.63,21.4C21.24,21.79 20.61,21.79 20.22,21.4L17,18.23L14.56,20.7L13.15,19.29L15.27,17.17L3.37,5.27V2.44H6.2M15.89,10L20.63,5.26V2.44H17.8L13.06,7.18L15.89,10M10.94,15L8.11,12.13L5.9,14.34L3.78,12.22L2.37,13.63L4.84,16.1L1.66,19.29C1.27,19.68 1.27,20.31 1.66,20.7L2.37,21.41C2.76,21.8 3.39,21.8 3.78,21.41L7,18.23L9.44,20.7L10.85,19.29L8.73,17.17L10.94,15Z",bf="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",iS="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",sS="M9,16V10H5L12,3L19,10H15V16H9M5,20V18H19V20H5Z",m0=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function b0(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var _f={exports:{}},Da={exports:{}},yf=function(t,n){return function(){for(var s=new Array(arguments.length),r=0;r"u"}function y0(e){return e!==null&&!er(e)&&e.constructor!==null&&!er(e.constructor)&&typeof e.constructor.isBuffer=="function"&&e.constructor.isBuffer(e)}var xf=jn("ArrayBuffer");function x0(e){var t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&xf(e.buffer),t}function v0(e){return typeof e=="string"}function A0(e){return typeof e=="number"}function vf(e){return e!==null&&typeof e=="object"}function Us(e){if(Oa(e)!=="object")return!1;var t=Object.getPrototypeOf(e);return t===null||t===Object.prototype}var S0=jn("Date"),M0=jn("File"),E0=jn("Blob"),R0=jn("FileList");function La(e){return ka.call(e)==="[object Function]"}function w0(e){return vf(e)&&La(e.pipe)}function I0(e){var t="[object FormData]";return e&&(typeof FormData=="function"&&e instanceof FormData||ka.call(e)===t||La(e.toString)&&e.toString()===t)}var C0=jn("URLSearchParams");function T0(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function D0(){return typeof navigator<"u"&&(navigator.product==="ReactNative"||navigator.product==="NativeScript"||navigator.product==="NS")?!1:typeof window<"u"&&typeof document<"u"}function Ha(e,t){if(!(e===null||typeof e>"u"))if(typeof e!="object"&&(e=[e]),Pa(e))for(var n=0,i=e.length;n0;)r=i[s],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 H0(e,t,n){e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;var i=e.indexOf(t,n);return i!==-1&&i===n}function N0(e){if(!e)return null;var t=e.length;if(er(t))return null;for(var n=new Array(t);t-- >0;)n[t]=e[t];return n}var F0=function(e){return function(t){return e&&t instanceof e}}(typeof Uint8Array<"u"&&Object.getPrototypeOf(Uint8Array)),Yt={isArray:Pa,isArrayBuffer:xf,isBuffer:y0,isFormData:I0,isArrayBufferView:x0,isString:v0,isNumber:A0,isObject:vf,isPlainObject:Us,isUndefined:er,isDate:S0,isFile:M0,isBlob:E0,isFunction:La,isStream:w0,isURLSearchParams:C0,isStandardBrowserEnv:D0,forEach:Ha,merge:Ko,extend:k0,trim:T0,stripBOM:O0,inherits:P0,toFlatObject:L0,kindOf:Oa,kindOfTest:jn,endsWith:H0,toArray:N0,isTypedArray:F0,isFileList:R0},qn=Yt;function fc(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var Af=function(t,n,i){if(!n)return t;var s;if(i)s=i(n);else if(qn.isURLSearchParams(n))s=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(d){qn.isDate(d)?d=d.toISOString():qn.isObject(d)&&(d=JSON.stringify(d)),r.push(fc(c)+"="+fc(d))}))}),s=r.join("&")}if(s){var o=t.indexOf("#");o!==-1&&(t=t.slice(0,o)),t+=(t.indexOf("?")===-1?"?":"&")+s}return t},B0=Yt;function Or(){this.handlers=[]}Or.prototype.use=function(t,n,i){return this.handlers.push({fulfilled:t,rejected:n,synchronous:i?i.synchronous:!1,runWhen:i?i.runWhen:null}),this.handlers.length-1};Or.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)};Or.prototype.forEach=function(t){B0.forEach(this.handlers,function(i){i!==null&&t(i)})};var V0=Or,U0=Yt,$0=function(t,n){U0.forEach(t,function(s,r){r!==n&&r.toUpperCase()===n.toUpperCase()&&(t[n]=s,delete t[r])})},Sf=Yt;function di(e,t,n,i,s){Error.call(this),this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),i&&(this.request=i),s&&(this.response=s)}Sf.inherits(di,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 Mf=di.prototype,Ef={};["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){Ef[e]={value:e}});Object.defineProperties(di,Ef);Object.defineProperty(Mf,"isAxiosError",{value:!0});di.from=function(e,t,n,i,s,r){var o=Object.create(Mf);return Sf.toFlatObject(e,o,function(l){return l!==Error.prototype}),di.call(o,e.message,t,n,i,s),o.name=e.name,r&&Object.assign(o,r),o};var Ai=di,Rf={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Ae=Yt;function z0(e,t){t=t||new FormData;var n=[];function i(r){return r===null?"":Ae.isDate(r)?r.toISOString():Ae.isArrayBuffer(r)||Ae.isTypedArray(r)?typeof Blob=="function"?new Blob([r]):Buffer.from(r):r}function s(r,o){if(Ae.isPlainObject(r)||Ae.isArray(r)){if(n.indexOf(r)!==-1)throw Error("Circular reference detected in "+o);n.push(r),Ae.forEach(r,function(l,c){if(!Ae.isUndefined(l)){var u=o?o+"."+c:c,d;if(l&&!o&&typeof l=="object"){if(Ae.endsWith(c,"{}"))l=JSON.stringify(l);else if(Ae.endsWith(c,"[]")&&(d=Ae.toArray(l))){d.forEach(function(f){!Ae.isUndefined(f)&&t.append(u,i(f))});return}}s(l,u)}}),n.pop()}else t.append(o,i(r))}return s(e),t}var wf=z0,to,hc;function j0(){if(hc)return to;hc=1;var e=Ai;return to=function(n,i,s){var r=s.config.validateStatus;!s.status||!r||r(s.status)?n(s):i(new e("Request failed with status code "+s.status,[e.ERR_BAD_REQUEST,e.ERR_BAD_RESPONSE][Math.floor(s.status/100)-4],s.config,s.request,s))},to}var eo,pc;function X0(){if(pc)return eo;pc=1;var e=Yt;return eo=e.isStandardBrowserEnv()?function(){return{write:function(i,s,r,o,a,l){var c=[];c.push(i+"="+encodeURIComponent(s)),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(i){var s=document.cookie.match(new RegExp("(^|;\\s*)("+i+")=([^;]*)"));return s?decodeURIComponent(s[3]):null},remove:function(i){this.write(i,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}(),eo}var W0=function(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)},G0=function(t,n){return n?t.replace(/\/+$/,"")+"/"+n.replace(/^\/+/,""):t},K0=W0,Y0=G0,If=function(t,n){return t&&!K0(n)?Y0(t,n):n},no,gc;function q0(){if(gc)return no;gc=1;var e=Yt,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 no=function(i){var s={},r,o,a;return i&&e.forEach(i.split(` -`),function(c){if(a=c.indexOf(":"),r=e.trim(c.substr(0,a)).toLowerCase(),o=e.trim(c.substr(a+1)),r){if(s[r]&&t.indexOf(r)>=0)return;r==="set-cookie"?s[r]=(s[r]?s[r]:[]).concat([o]):s[r]=s[r]?s[r]+", "+o:o}}),s},no}var io,mc;function Z0(){if(mc)return io;mc=1;var e=Yt;return io=e.isStandardBrowserEnv()?function(){var n=/(msie|trident)/i.test(navigator.userAgent),i=document.createElement("a"),s;function r(o){var a=o;return n&&(i.setAttribute("href",a),a=i.href),i.setAttribute("href",a),{href:i.href,protocol:i.protocol?i.protocol.replace(/:$/,""):"",host:i.host,search:i.search?i.search.replace(/^\?/,""):"",hash:i.hash?i.hash.replace(/^#/,""):"",hostname:i.hostname,port:i.port,pathname:i.pathname.charAt(0)==="/"?i.pathname:"/"+i.pathname}}return s=r(window.location.href),function(a){var l=e.isString(a)?r(a):a;return l.protocol===s.protocol&&l.host===s.host}}():function(){return function(){return!0}}(),io}var so,bc;function Pr(){if(bc)return so;bc=1;var e=Ai,t=Yt;function n(i){e.call(this,i==null?"canceled":i,e.ERR_CANCELED),this.name="CanceledError"}return t.inherits(n,e,{__CANCEL__:!0}),so=n,so}var ro,_c;function J0(){return _c||(_c=1,ro=function(t){var n=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return n&&n[1]||""}),ro}var oo,yc;function xc(){if(yc)return oo;yc=1;var e=Yt,t=j0(),n=X0(),i=Af,s=If,r=q0(),o=Z0(),a=Rf,l=Ai,c=Pr(),u=J0();return oo=function(f){return new Promise(function(g,m){var _=f.data,y=f.headers,S=f.responseType,M;function E(){f.cancelToken&&f.cancelToken.unsubscribe(M),f.signal&&f.signal.removeEventListener("abort",M)}e.isFormData(_)&&e.isStandardBrowserEnv()&&delete y["Content-Type"];var A=new XMLHttpRequest;if(f.auth){var P=f.auth.username||"",C=f.auth.password?unescape(encodeURIComponent(f.auth.password)):"";y.Authorization="Basic "+btoa(P+":"+C)}var w=s(f.baseURL,f.url);A.open(f.method.toUpperCase(),i(w,f.params,f.paramsSerializer),!0),A.timeout=f.timeout;function L(){if(!!A){var O="getAllResponseHeaders"in A?r(A.getAllResponseHeaders()):null,Z=!S||S==="text"||S==="json"?A.responseText:A.response,ot={data:Z,status:A.status,statusText:A.statusText,headers:O,config:f,request:A};t(function(st){g(st),E()},function(st){m(st),E()},ot),A=null}}if("onloadend"in A?A.onloadend=L:A.onreadystatechange=function(){!A||A.readyState!==4||A.status===0&&!(A.responseURL&&A.responseURL.indexOf("file:")===0)||setTimeout(L)},A.onabort=function(){!A||(m(new l("Request aborted",l.ECONNABORTED,f,A)),A=null)},A.onerror=function(){m(new l("Network Error",l.ERR_NETWORK,f,A,A)),A=null},A.ontimeout=function(){var Z=f.timeout?"timeout of "+f.timeout+"ms exceeded":"timeout exceeded",ot=f.transitional||a;f.timeoutErrorMessage&&(Z=f.timeoutErrorMessage),m(new l(Z,ot.clarifyTimeoutError?l.ETIMEDOUT:l.ECONNABORTED,f,A)),A=null},e.isStandardBrowserEnv()){var U=(f.withCredentials||o(w))&&f.xsrfCookieName?n.read(f.xsrfCookieName):void 0;U&&(y[f.xsrfHeaderName]=U)}"setRequestHeader"in A&&e.forEach(y,function(Z,ot){typeof _>"u"&&ot.toLowerCase()==="content-type"?delete y[ot]:A.setRequestHeader(ot,Z)}),e.isUndefined(f.withCredentials)||(A.withCredentials=!!f.withCredentials),S&&S!=="json"&&(A.responseType=f.responseType),typeof f.onDownloadProgress=="function"&&A.addEventListener("progress",f.onDownloadProgress),typeof f.onUploadProgress=="function"&&A.upload&&A.upload.addEventListener("progress",f.onUploadProgress),(f.cancelToken||f.signal)&&(M=function(O){!A||(m(!O||O&&O.type?new c:O),A.abort(),A=null)},f.cancelToken&&f.cancelToken.subscribe(M),f.signal&&(f.signal.aborted?M():f.signal.addEventListener("abort",M))),_||(_=null);var q=u(w);if(q&&["http","https","file"].indexOf(q)===-1){m(new l("Unsupported protocol "+q+":",l.ERR_BAD_REQUEST,f));return}A.send(_)})},oo}var ao,vc;function Q0(){return vc||(vc=1,ao=null),ao}var zt=Yt,Ac=$0,Sc=Ai,tb=Rf,eb=wf,nb={"Content-Type":"application/x-www-form-urlencoded"};function Mc(e,t){!zt.isUndefined(e)&&zt.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}function ib(){var e;return(typeof XMLHttpRequest<"u"||typeof process<"u"&&Object.prototype.toString.call(process)==="[object process]")&&(e=xc()),e}function sb(e,t,n){if(zt.isString(e))try{return(t||JSON.parse)(e),zt.trim(e)}catch(i){if(i.name!=="SyntaxError")throw i}return(n||JSON.stringify)(e)}var Lr={transitional:tb,adapter:ib(),transformRequest:[function(t,n){if(Ac(n,"Accept"),Ac(n,"Content-Type"),zt.isFormData(t)||zt.isArrayBuffer(t)||zt.isBuffer(t)||zt.isStream(t)||zt.isFile(t)||zt.isBlob(t))return t;if(zt.isArrayBufferView(t))return t.buffer;if(zt.isURLSearchParams(t))return Mc(n,"application/x-www-form-urlencoded;charset=utf-8"),t.toString();var i=zt.isObject(t),s=n&&n["Content-Type"],r;if((r=zt.isFileList(t))||i&&s==="multipart/form-data"){var o=this.env&&this.env.FormData;return eb(r?{"files[]":t}:t,o&&new o)}else if(i||s==="application/json")return Mc(n,"application/json"),sb(t);return t}],transformResponse:[function(t){var n=this.transitional||Lr.transitional,i=n&&n.silentJSONParsing,s=n&&n.forcedJSONParsing,r=!i&&this.responseType==="json";if(r||s&&zt.isString(t)&&t.length)try{return JSON.parse(t)}catch(o){if(r)throw o.name==="SyntaxError"?Sc.from(o,Sc.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:Q0()},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};zt.forEach(["delete","get","head"],function(t){Lr.headers[t]={}});zt.forEach(["post","put","patch"],function(t){Lr.headers[t]=zt.merge(nb)});var Na=Lr,rb=Yt,ob=Na,ab=function(t,n,i){var s=this||ob;return rb.forEach(i,function(o){t=o.call(s,t,n)}),t},lo,Ec;function Cf(){return Ec||(Ec=1,lo=function(t){return!!(t&&t.__CANCEL__)}),lo}var Rc=Yt,co=ab,lb=Cf(),cb=Na,ub=Pr();function uo(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new ub}var db=function(t){uo(t),t.headers=t.headers||{},t.data=co.call(t,t.data,t.headers,t.transformRequest),t.headers=Rc.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),Rc.forEach(["delete","get","head","post","put","patch","common"],function(s){delete t.headers[s]});var n=t.adapter||cb.adapter;return n(t).then(function(s){return uo(t),s.data=co.call(t,s.data,s.headers,t.transformResponse),s},function(s){return lb(s)||(uo(t),s&&s.response&&(s.response.data=co.call(t,s.response.data,s.response.headers,t.transformResponse))),Promise.reject(s)})},le=Yt,Tf=function(t,n){n=n||{};var i={};function s(u,d){return le.isPlainObject(u)&&le.isPlainObject(d)?le.merge(u,d):le.isPlainObject(d)?le.merge({},d):le.isArray(d)?d.slice():d}function r(u){if(le.isUndefined(n[u])){if(!le.isUndefined(t[u]))return s(void 0,t[u])}else return s(t[u],n[u])}function o(u){if(!le.isUndefined(n[u]))return s(void 0,n[u])}function a(u){if(le.isUndefined(n[u])){if(!le.isUndefined(t[u]))return s(void 0,t[u])}else return s(void 0,n[u])}function l(u){if(u in n)return s(t[u],n[u]);if(u in t)return s(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 le.forEach(Object.keys(t).concat(Object.keys(n)),function(d){var f=c[d]||r,h=f(d);le.isUndefined(h)&&f!==l||(i[d]=h)}),i},fo,wc;function Df(){return wc||(wc=1,fo={version:"0.27.2"}),fo}var fb=Df().version,cn=Ai,Fa={};["object","boolean","number","function","string","symbol"].forEach(function(e,t){Fa[e]=function(i){return typeof i===e||"a"+(t<1?"n ":" ")+e}});var Ic={};Fa.transitional=function(t,n,i){function s(r,o){return"[Axios v"+fb+"] Transitional option '"+r+"'"+o+(i?". "+i:"")}return function(r,o,a){if(t===!1)throw new cn(s(o," has been removed"+(n?" in "+n:"")),cn.ERR_DEPRECATED);return n&&!Ic[o]&&(Ic[o]=!0,console.warn(s(o," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(r,o,a):!0}};function hb(e,t,n){if(typeof e!="object")throw new cn("options must be an object",cn.ERR_BAD_OPTION_VALUE);for(var i=Object.keys(e),s=i.length;s-- >0;){var r=i[s],o=t[r];if(o){var a=e[r],l=a===void 0||o(a,r,e);if(l!==!0)throw new cn("option "+r+" must be "+l,cn.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new cn("Unknown option "+r,cn.ERR_BAD_OPTION)}}var pb={assertOptions:hb,validators:Fa},kf=Yt,gb=Af,Cc=V0,Tc=db,Hr=Tf,mb=If,Of=pb,Zn=Of.validators;function fi(e){this.defaults=e,this.interceptors={request:new Cc,response:new Cc}}fi.prototype.request=function(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Hr(this.defaults,n),n.method?n.method=n.method.toLowerCase():this.defaults.method?n.method=this.defaults.method.toLowerCase():n.method="get";var i=n.transitional;i!==void 0&&Of.assertOptions(i,{silentJSONParsing:Zn.transitional(Zn.boolean),forcedJSONParsing:Zn.transitional(Zn.boolean),clarifyTimeoutError:Zn.transitional(Zn.boolean)},!1);var s=[],r=!0;this.interceptors.request.forEach(function(h){typeof h.runWhen=="function"&&h.runWhen(n)===!1||(r=r&&h.synchronous,s.unshift(h.fulfilled,h.rejected))});var o=[];this.interceptors.response.forEach(function(h){o.push(h.fulfilled,h.rejected)});var a;if(!r){var l=[Tc,void 0];for(Array.prototype.unshift.apply(l,s),l=l.concat(o),a=Promise.resolve(n);l.length;)a=a.then(l.shift(),l.shift());return a}for(var c=n;s.length;){var u=s.shift(),d=s.shift();try{c=u(c)}catch(f){d(f);break}}try{a=Tc(c)}catch(f){return Promise.reject(f)}for(;o.length;)a=a.then(o.shift(),o.shift());return a};fi.prototype.getUri=function(t){t=Hr(this.defaults,t);var n=mb(t.baseURL,t.url);return gb(n,t.params,t.paramsSerializer)};kf.forEach(["delete","get","head","options"],function(t){fi.prototype[t]=function(n,i){return this.request(Hr(i||{},{method:t,url:n,data:(i||{}).data}))}});kf.forEach(["post","put","patch"],function(t){function n(i){return function(r,o,a){return this.request(Hr(a||{},{method:t,headers:i?{"Content-Type":"multipart/form-data"}:{},url:r,data:o}))}}fi.prototype[t]=n(),fi.prototype[t+"Form"]=n(!0)});var bb=fi,ho,Dc;function _b(){if(Dc)return ho;Dc=1;var e=Pr();function t(n){if(typeof n!="function")throw new TypeError("executor must be a function.");var i;this.promise=new Promise(function(o){i=o});var s=this;this.promise.then(function(r){if(!!s._listeners){var o,a=s._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)})}}}),Ye=Ar({name:"BaseLevel",props:{mobile:Boolean,type:{type:String,default:"justify-between"}},render(){const e=[this.type,"items-center"],t=["flex"],n=["block","md:flex"],i=["flex","items-center","justify-center"];return Ge("div",{class:e.concat(this.mobile?t:n)},this.$slots.default().map((s,r)=>{const o=!this.mobile&&this.$slots.default().length>r+1?i.concat(["mb-6","md:mb-0"]):i;return Ge("div",{class:o},[s])}))}}),Eb="/assets/border/trans.png",Rb={class:"relative inline-block"},wb=["src","alt"],Ib=V("img",{src:Eb,alt:"border",class:"absolute inset-0 w-full h-full overflow-hidden",style:{"object-fit":"fill",transform:"scale(1.02)"}},null,-1),Lf={__name:"UserAvatar",props:{username:{type:String,required:!0},avatar:{type:String,default:null}},setup(e){const t=e,n=it(()=>{var s;return(s=t.avatar)!=null?s:"https://i.imgur.com/nkx5ufe.jpg"}),i=it(()=>t.username);return(s,r)=>(N(),nt("div",null,[V("div",Rb,[V("img",{src:k(n),alt:k(i),class:"w-full h-auto bg-gray-100 dark:bg-slate-800 rounded-full overflow-hidden"},null,8,wb),Ib]),jt(s.$slots,"default")]))}},Hf={__name:"UserAvatarCurrentUser",setup(e){const t=Si();return(n,i)=>(N(),pt(Lf,{username:k(t).userName,avatar:k(t).userAvatar},{default:ht(()=>[jt(n.$slots,"default")]),_:3},8,["username","avatar"]))}},Nf={__name:"CardBoxComponentBody",props:{noPadding:Boolean},setup(e){return(t,n)=>(N(),nt("div",{class:lt(["flex-1",{"p-6":!e.noPadding}])},[jt(t.$slots,"default")],2))}},Cb=(e,t)=>{const n=e.__vccOpts||e;for(const[i,s]of t)n[i]=s;return n},Tb={},Db={class:"p-6"};function kb(e,t){return N(),nt("footer",Db,[jt(e.$slots,"default")])}const Ob=Cb(Tb,[["render",kb]]),ji={__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,i=wa(),s=it(()=>i.footer&&!!i.footer()),r=it(()=>{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)=>(N(),pt(Er(e.isForm?"form":"div"),{class:lt([k(r),"bg-white flex"]),onSubmit:o},{default:ht(()=>[e.hasComponentLayout?jt(a.$slots,"default",{key:0}):(N(),nt(Ot,{key:1},[$(Nf,{"no-padding":e.hasTable},{default:ht(()=>[jt(a.$slots,"default")]),_:3},8,["no-padding"]),k(s)?(N(),pt(Ob,{key:0},{default:ht(()=>[jt(a.$slots,"footer")]),_:3})):Tt("",!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"},on={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"},Ff={white:[on.white,"border-gray-100"],light:[on.light,"border-gray-100"],contrast:[on.contrast,"border-gray-900 dark:border-slate-100"],success:[on.success,"border-emerald-500"],danger:[on.danger,"border-red-500"],warning:[on.warning,"border-yellow-500"],info:[on.info,"border-blue-500"]},Bf=(e,t,n,i=!1)=>{const s={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(!s.bg[e])return e;const r=t&&["white","whiteDark","lightDark"].indexOf(e)<0,o=[s.borders[e],s.ring[e]];return i?o.push(s.active[e]):o.push(r?s.text[e]:s.bg[e]),n&&o.push(r?s.outlineHover[e]:s.bgHover[e]),o},Pb=["width","height"],Lb=["d"],oe={__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}`),i=it(()=>{var s;return(s=t.size)!=null?s:16});return(s,r)=>(N(),nt("span",{class:lt(k(n))},[(N(),nt("svg",{viewBox:"0 0 24 24",width:k(i),height:k(i),class:"inline-block"},[V("path",{fill:"currentColor",d:e.path},null,8,Lb)],8,Pb)),jt(s.$slots,"default")],2))}},Hb={__name:"PillTagPlain",props:{label:{type:String,required:!0},icon:{type:String,default:null},small:Boolean},setup(e){return(t,n)=>(N(),nt("div",{class:lt(["inline-flex items-center capitalize leading-none",[e.small?"text-xs":"text-sm"]])},[e.icon?(N(),pt(oe,{key:0,path:e.icon,h:"h-4",w:"w-4",class:lt(e.small?"mr-1":"mr-2"),size:e.small?14:null},null,8,["path","class","size"])):Tt("",!0),V("span",null,vt(e.label),1)],2))}},ze={__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?Ff[t.color]:Ba[t.color]]);return(i,s)=>(N(),pt(Hb,{class:lt(["border rounded-full",k(n)]),icon:e.icon,label:e.label,small:e.small},null,8,["class","icon","label","small"]))}},Nb=[{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}"},{author:"yaladre",header:"Ready to kick it up a notch, ?",comment:"Get pumped up!"},{author:"caldenza",header:"Alone in the night again, ?",comment:"Honestly, just go play Minecraft tbh"},{author:"caldenza",header:"Did you make sure to restart the Mango, ?",comment:"It's not the mango. It's always the mango. God damnit."},{author:"azui.573",header:"Welcome home, .",comment:"Ready to crush those rankings?"},{author:"azui.573",header:"Introducing... !",comment:"Live from the RESIDENT PARTY!"},{author:"Shilofax",header:"Make it make money, ",comment:"GOOOOOOOOOOOOOLD"},{author:"daydensteve",header:"Welcome, .",comment:"PhaseII, here for all your net needs!"},{author:"sierrathebluejay",header:"Welcome to the party, .",comment:"We've been waiting for you!"},{author:"sierrathebluejay",header:"Wild appeared!",comment:"They're super effective!"}];class K{}x(K,"BEATSTREAM","bst"),x(K,"BISHI_BASHI","bishi"),x(K,"BISHI_BASHI_NEW","newbishi"),x(K,"DANCE_EVOLUTION","danevo"),x(K,"DANCE_RUSH","dancerush"),x(K,"DDR","ddr"),x(K,"DDRCLASS","ddrclass"),x(K,"DDROMNI","ddromni"),x(K,"DRUMMANIA","dm"),x(K,"EEMALL","eemall"),x(K,"FUTURETOMTOM","ftt"),x(K,"GITADORA_DM","gitadora_dm"),x(K,"GITADORA_GF","gitadora_gf"),x(K,"GUITARFREAKS","gf"),x(K,"IIDX","iidx"),x(K,"IIDXCLASS","iidxclass"),x(K,"JUBEAT","jubeat"),x(K,"LOVEPLUS","loveplus"),x(K,"MGA","metalgear"),x(K,"MUSECA","museca"),x(K,"NOSTALGIA","nost"),x(K,"OTOMEDIUS","oto"),x(K,"OTOCA","otoca"),x(K,"POPN_HELLO","hpm"),x(K,"POPN_MUSIC","pnm"),x(K,"QMA","qma"),x(K,"REFLEC_BEAT","reflec"),x(K,"ROAD_FIGHTERS","roadfighters"),x(K,"SDVX","sdvx"),x(K,"SILENT_HILL","sha"),x(K,"SILENT_SCOPE","scope"),x(K,"TSUMTSUM","tsum"),x(K,"WINNING_ELEVEN","weac");class p{}x(p,"BEATSTREAM",1),x(p,"BEATSTREAM_2",2),x(p,"THE_STAR_BISHI_BASHI",1),x(p,"BISHI_BASHI_CHANNEL",1),x(p,"DANCE_EVOLUTION",1),x(p,"DANCE_RUSH_STARDOM",1),x(p,"DDR_CS_SOLO",200),x(p,"DDR_1ST_MIX",1),x(p,"DDR_2ND_MIX",2),x(p,"DDR_3RD_MIX",3),x(p,"DDR_4TH_MIX",4),x(p,"DDR_5TH_MIX",5),x(p,"DDR_MAX",6),x(p,"DDR_MAX2",7),x(p,"DDR_EXTREME",8),x(p,"DDR_SUPERNOVA",9),x(p,"DDR_SUPERNOVA_2",10),x(p,"DDR_X",11),x(p,"DDR_X2",12),x(p,"DDR_X3_VS_2ND_MIX",13),x(p,"DDR_2013",14),x(p,"DDR_2014",15),x(p,"DDR_ACE",16),x(p,"DDR_A20",17),x(p,"DDR_A20_PLUS",18),x(p,"DDR_A3",19),x(p,"DRUMMANIA_1ST",1),x(p,"DRUMMANIA_2ND",2),x(p,"DRUMMANIA_3RD",3),x(p,"DRUMMANIA_4TH",4),x(p,"DRUMMANIA_5TH",5),x(p,"DRUMMANIA_6TH",6),x(p,"DRUMMANIA_7TH",7),x(p,"DRUMMANIA_8TH",8),x(p,"DRUMMANIA_9TH",9),x(p,"DRUMMANIA_10TH",10),x(p,"DRUMMANIA_V",11),x(p,"DRUMMANIA_V2",12),x(p,"DRUMMANIA_V3",13),x(p,"DRUMMANIA_V4",14),x(p,"DRUMMANIA_V5",15),x(p,"DRUMMANIA_V6",16),x(p,"DRUMMANIA_V7",17),x(p,"DRUMMANIA_V8",18),x(p,"EEMALL",1),x(p,"EEMALL_2ND",2),x(p,"FUTURETOMTOM",1),x(p,"FUTURETOMTOM_VER2",2),x(p,"GITADORA",1),x(p,"GITADORA_OVERDRIVE",2),x(p,"GITADORA_TRIBOOST",3),x(p,"GITADORA_TRIBOOST_RE_EVOLVE",4),x(p,"GITADORA_MATIXX",5),x(p,"GITADORA_EXCHAIN",6),x(p,"GITADORA_NEXTAGE",7),x(p,"GITADORA_HIGH_VOLTAGE",8),x(p,"GITADORA_FUZZUP",9),x(p,"GUITARFREAKS_1ST",0),x(p,"GUITARFREAKS_2ND",1),x(p,"GUITARFREAKS_3RD",2),x(p,"GUITARFREAKS_4TH",3),x(p,"GUITARFREAKS_5TH",4),x(p,"GUITARFREAKS_6TH",5),x(p,"GUITARFREAKS_7TH",6),x(p,"GUITARFREAKS_8TH",7),x(p,"GUITARFREAKS_9TH",8),x(p,"GUITARFREAKS_10TH",9),x(p,"GUITARFREAKS_11TH",10),x(p,"GUITARFREAKS_V",11),x(p,"GUITARFREAKS_V2",12),x(p,"GUITARFREAKS_V3",13),x(p,"GUITARFREAKS_V4",14),x(p,"GUITARFREAKS_V5",15),x(p,"GUITARFREAKS_V6",16),x(p,"GUITARFREAKS_V7",17),x(p,"GUITARFREAKS_V8",18),x(p,"IIDX",1),x(p,"IIDX_2ND_STYLE",2),x(p,"IIDX_3RD_STYLE",3),x(p,"IIDX_4TH_STYLE",4),x(p,"IIDX_5TH_STYLE",5),x(p,"IIDX_6TH_STYLE",6),x(p,"IIDX_7TH_STYLE",7),x(p,"IIDX_8TH_STYLE",8),x(p,"IIDX_9TH_STYLE",9),x(p,"IIDX_10TH_STYLE",10),x(p,"IIDX_RED",11),x(p,"IIDX_HAPPY_SKY",12),x(p,"IIDX_DISTORTED",13),x(p,"IIDX_GOLD",14),x(p,"IIDX_DJ_TROOPERS",15),x(p,"IIDX_EMPRESS",16),x(p,"IIDX_SIRIUS",17),x(p,"IIDX_RESORT_ANTHEM",18),x(p,"IIDX_LINCLE",19),x(p,"IIDX_TRICORO",20),x(p,"IIDX_SPADA",21),x(p,"IIDX_PENDUAL",22),x(p,"IIDX_COPULA",23),x(p,"IIDX_SINOBUZ",24),x(p,"IIDX_CANNON_BALLERS",25),x(p,"IIDX_ROOTAGE",26),x(p,"IIDX_HEROIC_VERSE",27),x(p,"IIDX_BISTROVER",28),x(p,"IIDX_CASTHOUR",29),x(p,"IIDX_RESIDENT",30),x(p,"JUBEAT",1),x(p,"JUBEAT_RIPPLES",2),x(p,"JUBEAT_RIPPLES_APPEND",3),x(p,"JUBEAT_KNIT",4),x(p,"JUBEAT_KNIT_APPEND",5),x(p,"JUBEAT_COPIOUS",6),x(p,"JUBEAT_COPIOUS_APPEND",7),x(p,"JUBEAT_SAUCER",8),x(p,"JUBEAT_SAUCER_FULFILL",9),x(p,"JUBEAT_PROP",10),x(p,"JUBEAT_QUBELL",11),x(p,"JUBEAT_CLAN",12),x(p,"JUBEAT_FESTO",13),x(p,"JUBEAT_AVE",14),x(p,"LOVEPLUS_ARCADE",1),x(p,"LOVEPLUS_CC",2),x(p,"METALGEAR_ARCADE",1),x(p,"MUSECA",1),x(p,"MUSECA_1_PLUS",2),x(p,"NOSTALGIA",1),x(p,"NOSTALGIA_FORTE",2),x(p,"NOSTALGIA_OP_2",3),x(p,"NOSTALGIA_OP_3",4),x(p,"OTOMEDIUS",1),x(p,"OTOCA_DOLL",1),x(p,"HELLO_POPN_MUSIC",1),x(p,"POPN_MUSIC",1),x(p,"POPN_MUSIC_2",2),x(p,"POPN_MUSIC_3",3),x(p,"POPN_MUSIC_4",4),x(p,"POPN_MUSIC_5",5),x(p,"POPN_MUSIC_6",6),x(p,"POPN_MUSIC_7",7),x(p,"POPN_MUSIC_8",8),x(p,"POPN_MUSIC_9",9),x(p,"POPN_MUSIC_10",10),x(p,"POPN_MUSIC_11",11),x(p,"POPN_MUSIC_IROHA",12),x(p,"POPN_MUSIC_CARNIVAL",13),x(p,"POPN_MUSIC_FEVER",14),x(p,"POPN_MUSIC_ADVENTURE",15),x(p,"POPN_MUSIC_PARTY",16),x(p,"POPN_MUSIC_THE_MOVIE",17),x(p,"POPN_MUSIC_SENGOKU_RETSUDEN",18),x(p,"POPN_MUSIC_TUNE_STREET",19),x(p,"POPN_MUSIC_FANTASIA",20),x(p,"POPN_MUSIC_SUNNY_PARK",21),x(p,"POPN_MUSIC_LAPISTORIA",22),x(p,"POPN_MUSIC_ECLALE",23),x(p,"POPN_MUSIC_USANEKO",24),x(p,"POPN_MUSIC_PEACE",25),x(p,"POPN_MUSIC_KAIMEI_RIDDLES",26),x(p,"QMA",1),x(p,"QMA_II",2),x(p,"QMA_III",3),x(p,"QMA_IV",4),x(p,"QMA_V",5),x(p,"QMA_VI",6),x(p,"QMA_VII",7),x(p,"QMA_VIII",8),x(p,"QMA_GATE",9),x(p,"QMA_CAMPUS",10),x(p,"QMA_DAWN",11),x(p,"QMA_TOKYO",12),x(p,"QMA_EVOLVE",13),x(p,"QMA_MAXIVCORD",14),x(p,"QMA_XROSS_VOYAGE",15),x(p,"QMA_KIBOU",16),x(p,"QMA_MUGEN",17),x(p,"REFLEC_BEAT",1),x(p,"REFLEC_BEAT_LIMELIGHT",2),x(p,"REFLEC_BEAT_COLETTE",3),x(p,"REFLEC_BEAT_GROOVIN",4),x(p,"REFLEC_BEAT_VOLZZA",5),x(p,"REFLEC_BEAT_VOLZZA_2",6),x(p,"REFLEC_BEAT_REFLESIA",7),x(p,"ROAD_FIGHTERS",1),x(p,"SDVX_BOOTH",1),x(p,"SDVX_INFINITE_INFECTION",2),x(p,"SDVX_GRAVITY_WARS",3),x(p,"SDVX_HEAVENLY_HAVEN",4),x(p,"SDVX_VIVID_WAVE",5),x(p,"SDVX_EXCEED_GEAR",6),x(p,"SILENT_HILL_ARCADE",1),x(p,"SILENT_SCOPE_BONE_EATER",1),x(p,"DISNEY_TSUM_TSUM",1),x(p,"WINNING_ELEVEN_2008",1),x(p,"WINNING_ELEVEN_2010",2),x(p,"WINNING_ELEVEN_2012",3),x(p,"WINNING_ELEVEN_2014",4);function Fb(){const e=Nb,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 Lc=[{id:p.GITADORA,label:"Original"},{id:p.GITADORA_OVERDRIVE,label:"OverDrive"},{id:p.GITADORA_TRIBOOST,label:"Tri-Boost"},{id:p.GITADORA_TRIBOOST_RE_EVOLVE,label:"Tri-Boost RE:Evolve"},{id:p.GITADORA_MATIXX,label:"Matixx"},{id:p.GITADORA_EXCHAIN,label:"EXCHAIN"},{id:p.GITADORA_NEXTAGE,label:"Nex+Age"},{id:p.GITADORA_HIGH_VOLTAGE,label:"HIGH-VOLTAGE"},{id:p.GITADORA_FUZZUP,label:"FUZZUP"}],Yo=[{id:K.BEATSTREAM,name:"BeatStream",icon:null,cardBG:null,noRivals:!0,versions:[{id:p.BEATSTREAM,label:"Original"},{id:p.BEATSTREAM_2,label:"\u30A2\u30CB\u30E0\u30C8\u30E9\u30A4\u30F4"}]},{id:K.BISHI_BASHI,name:"The \u2B50 Bishi Bashi",icon:null,cardBG:null,noRivals:!0,noScores:!0,noRecords:!0},{id:K.BISHI_BASHI_NEW,name:"BishiBashi Channel",icon:null,cardBG:null,skip:!0,noRivals:!0,noScores:!0,noRecords:!0},{id:K.DANCE_EVOLUTION,name:"DanceEvolution",icon:null,cardBG:null,noRivals:!0,noScores:!0,noRecords:!0},{id:K.DANCE_RUSH,name:"DanceRush",icon:null,cardBG:null,noRivals:!0,versions:[{id:p.DANCE_RUSH_STARDOM,label:"STARDOM"}]},{id:K.DDR,name:"DanceDanceRevolution",shortName:"DDR",icon:null,cardBG:null,versions:[{id:p.DDR_1ST_MIX,label:"1ST MIX"},{id:p.DDR_2ND_MIX,label:"2ND MIX"},{id:p.DDR_3RD_MIX,label:"3RD MIX"},{id:p.DDR_4TH_MIX,label:"4TH MIX"},{id:p.DDR_5TH_MIX,label:"5TH MIX"},{id:p.DDR_MAX,label:"MAX"},{id:p.DDR_MAX2,label:"MAX 2"},{id:p.DDR_EXTREME,label:"EXTREME"},{id:p.DDR_SUPERNOVA,label:"SuperNOVA"},{id:p.DDR_SUPERNOVA_2,label:"SuperNOVA 2"},{id:p.DDR_X,label:"X"},{id:p.DDR_X2,label:"X2"},{id:p.DDR_X3_VS_2ND_MIX,label:"X3 vs. 2ND MIX"},{id:p.DDR_2013,label:"(2013)"},{id:p.DDR_2014,label:"(2014)"},{id:p.DDR_ACE,label:"Ace"},{id:p.DDR_A20,label:"A20"},{id:p.DDR_A20_PLUS,label:"A20 PLUS"},{id:p.DDR_A3,label:"A3"}]},{id:K.DDRCLASS,name:"Classic DDR",icon:"/assets/icon/ddr.png",cardBG:"/assets/card/ddr.png",noRivals:!0,noScores:!0,noRecords:!0,versions:[{id:p.DDR_1ST_MIX,label:"1ST MIX"},{id:p.DDR_2ND_MIX,label:"2ND MIX"},{id:p.DDR_3RD_MIX,label:"3RD MIX"},{id:p.DDR_4TH_MIX,label:"4TH MIX"},{id:p.DDR_5TH_MIX,label:"5TH MIX"},{id:p.DDR_MAX,label:"MAX"},{id:p.DDR_MAX2,label:"MAX 2"},{id:p.DDR_EXTREME,label:"EXTREME"},{id:p.DDR_SUPERNOVA,label:"SuperNOVA"},{id:p.DDR_SUPERNOVA_2,label:"SuperNOVA 2"}]},{id:K.DDROMNI,name:"DDR OmniMIX",icon:"/assets/icon/ddr.png",cardBG:"/assets/card/ddr.png",versions:[{id:p.DDR_1ST_MIX,label:"1ST MIX"},{id:p.DDR_2ND_MIX,label:"2ND MIX"},{id:p.DDR_3RD_MIX,label:"3RD MIX"},{id:p.DDR_4TH_MIX,label:"4TH MIX"},{id:p.DDR_5TH_MIX,label:"5TH MIX"},{id:p.DDR_MAX,label:"MAX"},{id:p.DDR_MAX2,label:"MAX 2"},{id:p.DDR_EXTREME,label:"EXTREME"},{id:p.DDR_SUPERNOVA,label:"SuperNOVA"},{id:p.DDR_SUPERNOVA_2,label:"SuperNOVA 2"},{id:p.DDR_X,label:"X"},{id:p.DDR_X2,label:"X2"},{id:p.DDR_X3_VS_2ND_MIX,label:"X3 vs. 2ND MIX"},{id:p.DDR_2013,label:"(2013)"},{id:p.DDR_2014,label:"(2014)"},{id:p.DDR_ACE,label:"A"},{id:p.DDR_A20,label:"A20"},{id:p.DDR_A20_PLUS,label:"OmniMIX (A20 PLUS)"}]},{id:K.DRUMMANIA,name:"DRUMMANIA",icon:null,cardBG:null,versions:[{id:p.DRUMMANIA_1ST,label:"1ST MIX"},{id:p.DRUMMANIA_2ND,label:"2ND MIX"},{id:p.DRUMMANIA_3RD,label:"3RD MIX"},{id:p.DRUMMANIA_4TH,label:"4TH MIX"},{id:p.DRUMMANIA_5TH,label:"5TH MIX"},{id:p.DRUMMANIA_6TH,label:"6TH MIX"},{id:p.DRUMMANIA_7TH,label:"7TH MIX"},{id:p.DRUMMANIA_8TH,label:"8TH MIX"},{id:p.DRUMMANIA_9TH,label:"9TH MIX"},{id:p.DRUMMANIA_10TH,label:"10TH MIX"},{id:p.DRUMMANIA_V,label:"V"},{id:p.DRUMMANIA_V2,label:"V2"},{id:p.DRUMMANIA_V3,label:"V3"},{id:p.DRUMMANIA_V4,label:"V4: ROCKxROCK"},{id:p.DRUMMANIA_V5,label:"V5: ROCK TO INFINITY!"},{id:p.DRUMMANIA_V6,label:"V6: BLAZING!!!!"},{id:p.DRUMMANIA_V7,label:"V7"},{id:p.DRUMMANIA_V8,label:"V8"}]},{id:K.EEMALL,name:"eeMall",icon:null,cardBG:null,skip:!0,noRivals:!0,noScores:!0,noRecords:!0,versions:[{id:p.EEMALL,label:"1st Avenue"},{id:p.EEMALL_2ND,label:"2nd Avenue"}]},{id:K.FUTURETOMTOM,name:"Future Tom Tom",icon:null,cardBG:null,noRivals:!0,noScores:!0,noRecords:!0,versions:[{id:p.FUTURETOMTOM,label:"Ver 1"},{id:p.FUTURETOMTOM_VER2,label:"Ver 2"}]},{id:K.GITADORA_DM,name:"GITADORA (Drums)",icon:null,cardBG:null,noRivals:!0,versions:Lc},{id:K.GITADORA_GF,name:"GITADORA (Guitar)",icon:null,cardBG:null,noRivals:!0,versions:Lc},{id:K.GUITARFREAKS,name:"GUITAR FREAKS",icon:null,cardBG:null,versions:[{id:p.GUITARFREAKS_1ST,label:"1ST MIX"},{id:p.GUITARFREAKS_2ND,label:"2ND MIX"},{id:p.GUITARFREAKS_3RD,label:"3RD MIX"},{id:p.GUITARFREAKS_4TH,label:"4TH MIX"},{id:p.GUITARFREAKS_5TH,label:"5TH MIX"},{id:p.GUITARFREAKS_6TH,label:"6TH MIX"},{id:p.GUITARFREAKS_7TH,label:"7TH MIX"},{id:p.GUITARFREAKS_8TH,label:"8TH MIX"},{id:p.GUITARFREAKS_9TH,label:"9TH MIX"},{id:p.GUITARFREAKS_10TH,label:"10TH MIX"},{id:p.GUITARFREAKS_11TH,label:"11TH MIX"},{id:p.GUITARFREAKS_V,label:"V"},{id:p.GUITARFREAKS_V2,label:"V2"},{id:p.GUITARFREAKS_V3,label:"V3"},{id:p.GUITARFREAKS_V4,label:"V4: ROCKxROCK"},{id:p.GUITARFREAKS_V5,label:"V5: ROCK TO INFINITY!"},{id:p.GUITARFREAKS_V6,label:"V6: BLAZING!!!!"},{id:p.GUITARFREAKS_V7,label:"V7"},{id:p.GUITARFREAKS_V8,label:"V8"}]},{id:K.IIDX,name:"beatmaniaIIDX",shortName:"IIDX",icon:"/assets/icon/iidx.png",cardBG:"/assets/card/iidx.png",versions:[{id:p.IIDX,label:"1st Style"},{id:p.IIDX_2ND_STYLE,label:"2nd Style"},{id:p.IIDX_3RD_STYLE,label:"3rd Style"},{id:p.IIDX_4TH_STYLE,label:"4th Style"},{id:p.IIDX_5TH_STYLE,label:"5th Style"},{id:p.IIDX_6TH_STYLE,label:"6th Style"},{id:p.IIDX_7TH_STYLE,label:"7th Style"},{id:p.IIDX_8TH_STYLE,label:"8th Style"},{id:p.IIDX_9TH_STYLE,label:"9th Style"},{id:p.IIDX_10TH_STYLE,label:"10th Style"},{id:p.IIDX_RED,label:"RED"},{id:p.IIDX_HAPPY_SKY,label:"HAPPY SKY"},{id:p.IIDX_DISTORTED,label:"DistorteD"},{id:p.IIDX_GOLD,label:"GOLD"},{id:p.IIDX_DJ_TROOPERS,label:"DJ TROOPERS"},{id:p.IIDX_EMPRESS,label:"EMPRESS"},{id:p.IIDX_SIRIUS,label:"SIRIUS"},{id:p.IIDX_RESORT_ANTHEM,label:"Resort Anthem"},{id:p.IIDX_LINCLE,label:"Lincle"},{id:p.IIDX_TRICORO,label:"tricoro"},{id:p.IIDX_SPADA,label:"SPADA"},{id:p.IIDX_PENDUAL,label:"PENDUAL"},{id:p.IIDX_COPULA,label:"COPULA"},{id:p.IIDX_SINOBUZ,label:"SINOBUZ"},{id:p.IIDX_CANNON_BALLERS,label:"CANNON BALLERS"},{id:p.IIDX_ROOTAGE,label:"ROOTAGE"},{id:p.IIDX_HEROIC_VERSE,label:"HEROIC VERSE"},{id:p.IIDX_BISTROVER,label:"BISTROVER"},{id:p.IIDX_CASTHOUR,label:"CastHour"},{id:p.IIDX_RESIDENT,label:"RESIDENT"}]},{id:K.IIDXCLASS,name:"Classic IIDX",icon:"/assets/icon/iidx.png",cardBG:"/assets/card/iidx.png",noRivals:!0,noScores:!0,noRecords:!0,versions:[{id:p.IIDX,label:"1st Style"},{id:p.IIDX_2ND_STYLE,label:"2nd Style"},{id:p.IIDX_3RD_STYLE,label:"3rd Style"},{id:p.IIDX_4TH_STYLE,label:"4th Style"},{id:p.IIDX_5TH_STYLE,label:"5th Style"},{id:p.IIDX_6TH_STYLE,label:"6th Style"},{id:p.IIDX_7TH_STYLE,label:"7th Style"},{id:p.IIDX_8TH_STYLE,label:"8th Style"},{id:p.IIDX_9TH_STYLE,label:"9th Style"},{id:p.IIDX_10TH_STYLE,label:"10th Style"},{id:p.IIDX_RED,label:"RED"},{id:p.IIDX_HAPPY_SKY,label:"HAPPY SKY"},{id:p.IIDX_DISTORTED,label:"DistorteD"},{id:p.IIDX_GOLD,label:"GOLD"},{id:p.IIDX_DJ_TROOPERS,label:"DJ TROOPERS"},{id:p.IIDX_EMPRESS,label:"EMPRESS"},{id:p.IIDX_SIRIUS,label:"SIRIUS"},{id:p.IIDX_RESORT_ANTHEM,label:"Resort Anthem"},{id:p.IIDX_LINCLE,label:"Lincle"}]},{id:K.JUBEAT,name:"jubeat",icon:null,cardBG:null,versions:[{id:p.JUBEAT,label:"Original"},{id:p.JUBEAT_RIPPLES,label:"Ripples"},{id:p.JUBEAT_RIPPLES_APPEND,label:"Ripples (Append)"},{id:p.JUBEAT_KNIT,label:"Knit"},{id:p.JUBEAT_KNIT_APPEND,label:"Knit (Append)"},{id:p.JUBEAT_COPIOUS,label:"Copious"},{id:p.JUBEAT_COPIOUS_APPEND,label:"Copious (Append)"},{id:p.JUBEAT_SAUCER,label:"Saucer"},{id:p.JUBEAT_SAUCER_FULFILL,label:"Saucer Fulfill"},{id:p.JUBEAT_PROP,label:"Prop"},{id:p.JUBEAT_QUBELL,label:"Qubell"},{id:p.JUBEAT_CLAN,label:"Clan"},{id:p.JUBEAT_FESTO,label:"Festo"},{id:p.JUBEAT_AVE,label:"Avenue"}]},{id:K.LOVEPLUS,name:"LovePlus",icon:null,cardBG:null,noRivals:!0,noScores:!0,noRecords:!0,versions:[{id:p.LOVEPLUS_ARCADE,label:"Medal"},{id:p.LOVEPLUS_CC,label:"Colorful Clip"}]},{id:K.MGA,name:"Metal Gear Arcade",icon:null,cardBG:null,skip:!0,noRivals:!0,noScores:!0,noRecords:!0},{id:K.MUSECA,name:"Museca",icon:null,cardBG:null,versions:[{id:p.MUSECA,label:"Original"},{id:p.MUSECA_1_PLUS,label:"1 + 1/2"}]},{id:K.NOSTALGIA,name:"Nostalgia",icon:null,cardBG:null,versions:[{id:p.NOSTALGIA,label:"Original"},{id:p.NOSTALGIA_FORTE,label:"Forte"},{id:p.NOSTALGIA_OP_2,label:"OP.2"},{id:p.NOSTALGIA_OP_3,label:"OP.3"}]},{id:K.OTOMEDIUS,name:"Otomedius",icon:null,cardBG:null,skip:!0,noRivals:!0,noScores:!0,noRecords:!0},{id:K.OTOCA,name:"Otoca d' Or",icon:null,cardBG:null,skip:!0,noRivals:!0,noScores:!0,noRecords:!0},{id:K.POPN_HELLO,name:"Hello! Pop'n Music",icon:"/assets/icon/popn.png",cardBG:"/assets/card/popn.png",skip:!0,noRivals:!0,noScores:!0,noRecords:!0},{id:K.POPN_MUSIC,name:"pop'n music",shortName:"pop'n",icon:"/assets/icon/popn.png",cardBG:"/assets/card/popn.png",versions:[{id:p.POPN_MUSIC,label:"Original"},{id:p.POPN_MUSIC_2,label:"2"},{id:p.POPN_MUSIC_3,label:"3"},{id:p.POPN_MUSIC_4,label:"4"},{id:p.POPN_MUSIC_5,label:"5"},{id:p.POPN_MUSIC_6,label:"6"},{id:p.POPN_MUSIC_7,label:"7"},{id:p.POPN_MUSIC_8,label:"8"},{id:p.POPN_MUSIC_9,label:"9"},{id:p.POPN_MUSIC_10,label:"10"},{id:p.POPN_MUSIC_11,label:"11"},{id:p.POPN_MUSIC_IROHA,label:"\u3044\u308D\u306F (Iroha)"},{id:p.POPN_MUSIC_CARNIVAL,label:"\u30AB\u30FC\u30CB\u30D0\u30EB (Carnival)"},{id:p.POPN_MUSIC_FEVER,label:"FEVER!"},{id:p.POPN_MUSIC_ADVENTURE,label:"ADVENTURE"},{id:p.POPN_MUSIC_PARTY,label:"PARTY\u266A"},{id:p.POPN_MUSIC_THE_MOVIE,label:"THE MOVIE"},{id:p.POPN_MUSIC_SENGOKU_RETSUDEN,label:"\u305B\u3093\u3054\u304F\u5217\u4F1D (Sengoku Retsuden)"},{id:p.POPN_MUSIC_TUNE_STREET,label:"TUNE STREET"},{id:p.POPN_MUSIC_FANTASIA,label:"fantasia"},{id:p.POPN_MUSIC_SUNNY_PARK,label:"Sunny Park"},{id:p.POPN_MUSIC_LAPISTORIA,label:"\u30E9\u30D4\u30B9\u30C8\u30EA\u30A2 (Lapistoria)"},{id:p.POPN_MUSIC_ECLALE,label:"\xE9clale"},{id:p.POPN_MUSIC_USANEKO,label:"\u3046\u3055\u304E\u3068\u732B\u3068\u5C11\u5E74\u306E\u5922 (Usaneko)"},{id:p.POPN_MUSIC_PEACE,label:"peace"},{id:p.POPN_MUSIC_KAIMEI_RIDDLES,label:"\u89E3\u660E\u30EA\u30C9\u30EB\u30BA (Kaimei riddles)"}]},{id:K.QMA,name:"Quiz Magic Academy",icon:null,cardBG:null,skip:!0,noRivals:!0,noScores:!0,noRecords:!0},{id:K.REFLEC_BEAT,name:"ReflecBeat",icon:null,cardBG:null,versions:[{id:p.REFLEC_BEAT,label:"Original"},{id:p.REFLEC_BEAT_LIMELIGHT,label:"Limelight"},{id:p.REFLEC_BEAT_COLETTE,label:"Colette"},{id:p.REFLEC_BEAT_GROOVIN,label:"groovin'!!"},{id:p.REFLEC_BEAT_VOLZZA,label:"VOLZZA"},{id:p.REFLEC_BEAT_VOLZZA_2,label:"VOLZZA 2"}]},{id:K.ROAD_FIGHTERS,name:"Road Fighters",icon:null,cardBG:null,skip:!0,noRivals:!0,noScores:!0,noRecords:!0},{id:K.SDVX,name:"SOUND VOLTEX",shortName:"SDVX",icon:null,cardBG:null,versions:[{id:p.SDVX_BOOTH,label:"BOOTH"},{id:p.SDVX_INFINITE_INFECTION,label:"-II- Infinite Infection"},{id:p.SDVX_GRAVITY_WARS,label:"GRAVITY WARS"},{id:p.SDVX_HEAVENLY_HAVEN,label:"HEAVENLY HAVEN"},{id:p.SDVX_VIVID_WAVE,label:"VIVID WAVE"},{id:p.SDVX_EXCEED_GEAR,label:"EXCEED GEAR"}]}],Bb=[{id:0,name:"Speakeasy Smashcade",area:"US-IL",image:"https://i.imgur.com/HApAZgW.gif",address:null,show_address:!1,public:!0,beta:!0,paseli:!0,infinite_paseli:!0,maintenance:!1,admins:["Trmazi","SpeakEZ","kohai"]},{id:1,name:"Boss Battle Games",area:"US-IN",image:"https://scontent-ord5-2.xx.fbcdn.net/v/t1.6435-9/118871039_2818450415068886_7737385160957713953_n.jpg?_nc_cat=102&ccb=1-7&_nc_sid=8bfeb9&_nc_ohc=W8tEpuL3C14AX8XL09Z&_nc_ht=scontent-ord5-2.xx&oh=00_AfAneLjV1pukiSgE7S0Q6e-g6VFYEHSyFVk-kQh5elofJw&oe=64B49BD7",address:"6020 E. 82nd St, Indianapolis, Indiana 46250",show_address:!0,public:!0,beta:!0,paseli:!0,infinite_paseli:!1,maintenance:!1,admins:["Trmazi","Pat","Jeff"]},{id:2,name:"BladeCN",area:"GB",image:"https://media.discordapp.net/attachments/717595745275871232/1119697819020824616/image.png",address:"6020 E. 82nd St",show_address:!1,public:!0,beta:!1,paseli:!0,infinite_paseli:!0,maintenance:!1,admins:["blade"]},{id:3,name:"GhettoCade",area:"US-IN",image:"https://ik.imagekit.io/suedbykonami/arcade/card/IMG_7096.jpg",show_address:!1,public:!0,beta:!0,paseli:!0,infinite_paseli:!0,maintenance:!1,admins:["Trmazi"]}];function Vb(e){var t=Yo.find(n=>n.id===e);return t||(t=Yo.find(n=>n.name===e)),t?(t.icon||(t.icon=`/assets/icon/${e}.png`),t.cardBG||(t.cardBG=`/assets/card/${e}.png`),t):null}const Ub={class:"space-y-3 text-center md:text-left lg:mx-12"},$b={class:"space-y-2 md:space-y-0"},zb={key:0,class:"text-2xl md:text-xl lg:text-2xl"},jb={key:1,class:"text-3xl md:text-4xl"},Xb={key:2,class:"text-md md:text-lg"},Wb={key:0,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"},Gb={key:0,class:"text-center md:text-right"},Kb={class:"text-xl md:text-lg lg:text-2lg"},Yb={class:"text-xs italic"},qb={__name:"UserCard",props:{useSmall:{type:Boolean,required:!1,default:!1},evenSmaller:{type:Boolean,required:!1,default:!1}},setup(e){const t=Si(),n=Fb();var i={game:"beatmaniaIIDX",version:"22 PENDUAL",arcade:"Ho-House"};function s(r){if(r!==null)return` - background-image: url('/assets/card/${r}.png'); - background-size: cover; - background-repeat: no-repeat; - `}return(r,o)=>(N(),pt(ji,{style:ls(s("iidx"))},{default:ht(()=>[$(Ye,{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:ht(()=>[$(Hf,{class:"w-28 md:w-32 lg:w-44 lg:mx-12"}),V("div",Ub,[V("div",$b,[e.useSmall?Tt("",!0):(N(),nt("h1",zb,[We(vt(k(n).header[0])+" ",1),V("b",null,vt(k(t).userName),1),We(vt(k(n).header[1]),1)])),e.useSmall?(N(),nt("h1",jb,[V("b",null,vt(k(t).userName),1)])):Tt("",!0),e.useSmall&&!e.evenSmaller?(N(),nt("p",Xb,[We(" Last seen playing "),V("b",null,vt(k(i).game)+" "+vt(k(i).version),1),We(" at "),V("b",null,vt(k(i).arcade),1)])):Tt("",!0)]),e.evenSmaller?Tt("",!0):(N(),nt("div",Wb,[$(ze,{label:"System Admin",color:"danger",icon:k(f0)},null,8,["icon"]),$(ze,{label:"Beta Tester",color:"warning",icon:k(bf)},null,8,["icon"]),$(ze,{label:"Veteran",color:"success",icon:k(Km)},null,8,["icon"]),$(ze,{label:"Active Dev",color:"info",icon:k(n0)},null,8,["icon"]),$(ze,{label:"Private Profile",color:"info",icon:k(Gm)},null,8,["icon"]),$(ze,{label:"Public Profile",color:"success",icon:k(Xm)},null,8,["icon"])]))]),e.useSmall?Tt("",!0):(N(),nt("div",Gb,[V("p",Kb,vt(k(n).comment),1),V("p",Yb,"Greeting by: "+vt(k(n).author),1)]))]),_:1})]),_:1},8,["style"]))}},mo={default:{primary:"#00D1B2",info:"#209CEE",danger:"#FF3860"}},Zb=e=>{const t=[];for(let n=0;n({fill:!1,borderColor:mo.default[e],borderWidth:2,borderDash:[],borderDashOffset:0,pointBackgroundColor:mo.default[e],pointBorderColor:"rgba(255,255,255,0)",pointHoverBackgroundColor:mo.default[e],pointBorderWidth:20,pointHoverRadius:4,pointHoverBorderWidth:15,pointRadius:4,data:Zb(t),tension:.5,cubicInterpolationMode:"default"}),Qb=(e=7)=>{const t=[];for(let n=1;n<=e;n++)t.push(`0${n}`);return{labels:t,datasets:[Jb("info",e)]}};/*! - * Chart.js v3.9.1 - * https://www.chartjs.org - * (c) 2022 Chart.js Contributors - * Released under the MIT License - */function Be(){}const t_=function(){let e=0;return function(){return e++}}();function At(e){return e===null||typeof e>"u"}function Dt(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 xt(e){return e!==null&&Object.prototype.toString.call(e)==="[object Object]"}const Wt=e=>(typeof e=="number"||e instanceof Number)&&isFinite(+e);function pe(e,t){return Wt(e)?e:t}function yt(e,t){return typeof e>"u"?t:e}const e_=(e,t)=>typeof e=="string"&&e.endsWith("%")?parseFloat(e)/100:e/t,Vf=(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 Mt(e,t,n,i){let s,r,o;if(Dt(e))if(r=e.length,i)for(s=r-1;s>=0;s--)t.call(n,e[s],s);else for(s=0;se,x:e=>e.x,y:e=>e.y};function yn(e,t){return(Hc[t]||(Hc[t]=s_(t)))(e)}function s_(e){const t=r_(e);return n=>{for(const i of t){if(i==="")break;n=n&&n[i]}return n}}function r_(e){const t=e.split("."),n=[];let i="";for(const s of t)i+=s,i.endsWith("\\")?i=i.slice(0,-1)+".":(n.push(i),i="");return n}function Va(e){return e.charAt(0).toUpperCase()+e.slice(1)}const ye=e=>typeof e<"u",xn=e=>typeof e=="function",Nc=(e,t)=>{if(e.size!==t.size)return!1;for(const n of e)if(!t.has(n))return!1;return!0};function o_(e){return e.type==="mouseup"||e.type==="click"||e.type==="contextmenu"}const Ht=Math.PI,Rt=2*Ht,a_=Rt+Ht,sr=Number.POSITIVE_INFINITY,l_=Ht/180,Lt=Ht/2,Ii=Ht/4,Fc=Ht*2/3,ge=Math.log10,He=Math.sign;function Bc(e){const t=Math.round(e);e=Wi(e,t,e/1e3)?t:e;const n=Math.pow(10,Math.floor(ge(e))),i=e/n;return(i<=1?1:i<=2?2:i<=5?5:10)*n}function c_(e){const t=[],n=Math.sqrt(e);let i;for(i=1;is-r).pop(),t}function hi(e){return!isNaN(parseFloat(e))&&isFinite(e)}function Wi(e,t,n){return Math.abs(e-t)=e}function $f(e,t,n){let i,s,r;for(i=0,s=e.length;il&&c=Math.min(t,n)-i&&e<=Math.max(t,n)+i}function $a(e,t,n){n=n||(o=>e[o]1;)r=s+i>>1,n(r)?s=r:i=r;return{lo:s,hi:i}}const Hn=(e,t,n,i)=>$a(e,n,i?s=>e[s][t]<=n:s=>e[s][t]$a(e,n,i=>e[i][t]>=n);function p_(e,t,n){let i=0,s=e.length;for(;ii&&e[s-1]>n;)s--;return i>0||s{const i="_onData"+Va(n),s=e[n];Object.defineProperty(e,n,{configurable:!0,enumerable:!1,value(...r){const o=s.apply(this,r);return e._chartjs.listeners.forEach(a=>{typeof a[i]=="function"&&a[i](...r)}),o}})})}function Uc(e,t){const n=e._chartjs;if(!n)return;const i=n.listeners,s=i.indexOf(t);s!==-1&&i.splice(s,1),!(i.length>0)&&(jf.forEach(r=>{delete e[r]}),delete e._chartjs)}function Xf(e){const t=new Set;let n,i;for(n=0,i=e.length;n"u"?function(e){return e()}:window.requestAnimationFrame}();function Gf(e,t,n){const i=n||(o=>Array.prototype.slice.call(o));let s=!1,r=[];return function(...o){r=i(o),s||(s=!0,Wf.call(window,()=>{s=!1,e.apply(t,r)}))}}function m_(e,t){let n;return function(...i){return t?(clearTimeout(n),n=setTimeout(e,t,i)):e.apply(this,i),t}}const b_=e=>e==="start"?"left":e==="end"?"right":"center",$c=(e,t,n)=>e==="start"?t:e==="end"?n:(t+n)/2;function Kf(e,t,n){const i=t.length;let s=0,r=i;if(e._sorted){const{iScale:o,_parsed:a}=e,l=o.axis,{min:c,max:u,minDefined:d,maxDefined:f}=o.getUserBounds();d&&(s=Jt(Math.min(Hn(a,o.axis,c).lo,n?i:Hn(t,l,o.getPixelForValue(c)).lo),0,i-1)),f?r=Jt(Math.max(Hn(a,o.axis,u,!0).hi+1,n?0:Hn(t,l,o.getPixelForValue(u),!0).hi+1),s,i)-s:r=i-s}return{start:s,count:r}}function Yf(e){const{xScale:t,yScale:n,_scaleRanges:i}=e,s={xmin:t.min,xmax:t.max,ymin:n.min,ymax:n.max};if(!i)return e._scaleRanges=s,!0;const r=i.xmin!==t.min||i.xmax!==t.max||i.ymin!==n.min||i.ymax!==n.max;return Object.assign(i,s),r}const Ss=e=>e===0||e===1,zc=(e,t,n)=>-(Math.pow(2,10*(e-=1))*Math.sin((e-t)*Rt/n)),jc=(e,t,n)=>Math.pow(2,-10*e)*Math.sin((e-t)*Rt/n)+1,Gi={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(Ht*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=>Ss(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=>Ss(e)?e:zc(e,.075,.3),easeOutElastic:e=>Ss(e)?e:jc(e,.075,.3),easeInOutElastic(e){return Ss(e)?e:e<.5?.5*zc(e*2,.1125,.45):.5+.5*jc(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-Gi.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?Gi.easeInBounce(e*2)*.5:Gi.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 us(e){return e+.5|0}const un=(e,t,n)=>Math.max(Math.min(e,n),t);function Hi(e){return un(us(e*2.55),0,255)}function gn(e){return un(us(e*255),0,255)}function je(e){return un(us(e/2.55)/100,0,1)}function Xc(e){return un(us(e*100),0,100)}const he={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},Zo=[..."0123456789ABCDEF"],__=e=>Zo[e&15],y_=e=>Zo[(e&240)>>4]+Zo[e&15],Ms=e=>(e&240)>>4===(e&15),x_=e=>Ms(e.r)&&Ms(e.g)&&Ms(e.b)&&Ms(e.a);function v_(e){var t=e.length,n;return e[0]==="#"&&(t===4||t===5?n={r:255&he[e[1]]*17,g:255&he[e[2]]*17,b:255&he[e[3]]*17,a:t===5?he[e[4]]*17:255}:(t===7||t===9)&&(n={r:he[e[1]]<<4|he[e[2]],g:he[e[3]]<<4|he[e[4]],b:he[e[5]]<<4|he[e[6]],a:t===9?he[e[7]]<<4|he[e[8]]:255})),n}const A_=(e,t)=>e<255?t(e):"";function S_(e){var t=x_(e)?__:y_;return e?"#"+t(e.r)+t(e.g)+t(e.b)+A_(e.a,t):void 0}const M_=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function qf(e,t,n){const i=t*Math.min(n,1-n),s=(r,o=(r+e/30)%12)=>n-i*Math.max(Math.min(o-3,9-o,1),-1);return[s(0),s(8),s(4)]}function E_(e,t,n){const i=(s,r=(s+e/60)%6)=>n-n*t*Math.max(Math.min(r,4-r,1),0);return[i(5),i(3),i(1)]}function R_(e,t,n){const i=qf(e,1,.5);let s;for(t+n>1&&(s=1/(t+n),t*=s,n*=s),s=0;s<3;s++)i[s]*=1-t-n,i[s]+=t;return i}function w_(e,t,n,i,s){return e===s?(t-n)/i+(t.5?u/(2-r-o):u/(r+o),l=w_(n,i,s,u,r),l=l*60+.5),[l|0,c||0,a]}function ja(e,t,n,i){return(Array.isArray(t)?e(t[0],t[1],t[2]):e(t,n,i)).map(gn)}function Xa(e,t,n){return ja(qf,e,t,n)}function I_(e,t,n){return ja(R_,e,t,n)}function C_(e,t,n){return ja(E_,e,t,n)}function Zf(e){return(e%360+360)%360}function T_(e){const t=M_.exec(e);let n=255,i;if(!t)return;t[5]!==i&&(n=t[6]?Hi(+t[5]):gn(+t[5]));const s=Zf(+t[2]),r=+t[3]/100,o=+t[4]/100;return t[1]==="hwb"?i=I_(s,r,o):t[1]==="hsv"?i=C_(s,r,o):i=Xa(s,r,o),{r:i[0],g:i[1],b:i[2],a:n}}function D_(e,t){var n=za(e);n[0]=Zf(n[0]+t),n=Xa(n),e.r=n[0],e.g=n[1],e.b=n[2]}function k_(e){if(!e)return;const t=za(e),n=t[0],i=Xc(t[1]),s=Xc(t[2]);return e.a<255?`hsla(${n}, ${i}%, ${s}%, ${je(e.a)})`:`hsl(${n}, ${i}%, ${s}%)`}const Wc={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"},Gc={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 O_(){const e={},t=Object.keys(Gc),n=Object.keys(Wc);let i,s,r,o,a;for(i=0;i>16&255,r>>8&255,r&255]}return e}let Es;function P_(e){Es||(Es=O_(),Es.transparent=[0,0,0,0]);const t=Es[e.toLowerCase()];return t&&{r:t[0],g:t[1],b:t[2],a:t.length===4?t[3]:255}}const L_=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;function H_(e){const t=L_.exec(e);let n=255,i,s,r;if(!!t){if(t[7]!==i){const o=+t[7];n=t[8]?Hi(o):un(o*255,0,255)}return i=+t[1],s=+t[3],r=+t[5],i=255&(t[2]?Hi(i):un(i,0,255)),s=255&(t[4]?Hi(s):un(s,0,255)),r=255&(t[6]?Hi(r):un(r,0,255)),{r:i,g:s,b:r,a:n}}}function N_(e){return e&&(e.a<255?`rgba(${e.r}, ${e.g}, ${e.b}, ${je(e.a)})`:`rgb(${e.r}, ${e.g}, ${e.b})`)}const bo=e=>e<=.0031308?e*12.92:Math.pow(e,1/2.4)*1.055-.055,Jn=e=>e<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4);function F_(e,t,n){const i=Jn(je(e.r)),s=Jn(je(e.g)),r=Jn(je(e.b));return{r:gn(bo(i+n*(Jn(je(t.r))-i))),g:gn(bo(s+n*(Jn(je(t.g))-s))),b:gn(bo(r+n*(Jn(je(t.b))-r))),a:e.a+n*(t.a-e.a)}}function Rs(e,t,n){if(e){let i=za(e);i[t]=Math.max(0,Math.min(i[t]+i[t]*n,t===0?360:1)),i=Xa(i),e.r=i[0],e.g=i[1],e.b=i[2]}}function Jf(e,t){return e&&Object.assign(t||{},e)}function Kc(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=gn(e[3]))):(t=Jf(e,{r:0,g:0,b:0,a:1}),t.a=gn(t.a)),t}function B_(e){return e.charAt(0)==="r"?H_(e):T_(e)}class or{constructor(t){if(t instanceof or)return t;const n=typeof t;let i;n==="object"?i=Kc(t):n==="string"&&(i=v_(t)||P_(t)||B_(t)),this._rgb=i,this._valid=!!i}get valid(){return this._valid}get rgb(){var t=Jf(this._rgb);return t&&(t.a=je(t.a)),t}set rgb(t){this._rgb=Kc(t)}rgbString(){return this._valid?N_(this._rgb):void 0}hexString(){return this._valid?S_(this._rgb):void 0}hslString(){return this._valid?k_(this._rgb):void 0}mix(t,n){if(t){const i=this.rgb,s=t.rgb;let r;const o=n===r?.5:n,a=2*o-1,l=i.a-s.a,c=((a*l===-1?a:(a+l)/(1+a*l))+1)/2;r=1-c,i.r=255&c*i.r+r*s.r+.5,i.g=255&c*i.g+r*s.g+.5,i.b=255&c*i.b+r*s.b+.5,i.a=o*i.a+(1-o)*s.a,this.rgb=i}return this}interpolate(t,n){return t&&(this._rgb=F_(this._rgb,t._rgb,n)),this}clone(){return new or(this.rgb)}alpha(t){return this._rgb.a=gn(t),this}clearer(t){const n=this._rgb;return n.a*=1-t,this}greyscale(){const t=this._rgb,n=us(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 Rs(this._rgb,2,t),this}darken(t){return Rs(this._rgb,2,-t),this}saturate(t){return Rs(this._rgb,1,t),this}desaturate(t){return Rs(this._rgb,1,-t),this}rotate(t){return D_(this._rgb,t),this}}function Qf(e){return new or(e)}function th(e){if(e&&typeof e=="object"){const t=e.toString();return t==="[object CanvasPattern]"||t==="[object CanvasGradient]"}return!1}function Yc(e){return th(e)?e:Qf(e)}function _o(e){return th(e)?e:Qf(e).saturate(.5).darken(.1).hexString()}const zn=Object.create(null),Jo=Object.create(null);function Ki(e,t){if(!t)return e;const n=t.split(".");for(let i=0,s=n.length;in.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,i)=>_o(i.backgroundColor),this.hoverBorderColor=(n,i)=>_o(i.borderColor),this.hoverColor=(n,i)=>_o(i.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 yo(this,t,n)}get(t){return Ki(this,t)}describe(t,n){return yo(Jo,t,n)}override(t,n){return yo(zn,t,n)}route(t,n,i,s){const r=Ki(this,t),o=Ki(this,i),a="_"+n;Object.defineProperties(r,{[a]:{value:r[n],writable:!0},[n]:{enumerable:!0,get(){const l=this[a],c=o[s];return xt(l)?Object.assign({},c,l):yt(l,c)},set(l){this[a]=l}}})}}var gt=new V_({_scriptable:e=>!e.startsWith("on"),_indexable:e=>e!=="events",hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}});function U_(e){return!e||At(e.size)||At(e.family)?null:(e.style?e.style+" ":"")+(e.weight?e.weight+" ":"")+e.size+"px "+e.family}function ar(e,t,n,i,s){let r=t[s];return r||(r=t[s]=e.measureText(s).width,n.push(s)),r>i&&(i=r),i}function $_(e,t,n,i){i=i||{};let s=i.data=i.data||{},r=i.garbageCollect=i.garbageCollect||[];i.font!==t&&(s=i.data={},r=i.garbageCollect=[],i.font=t),e.save(),e.font=t;let o=0;const a=n.length;let l,c,u,d,f;for(l=0;ln.length){for(l=0;l0&&e.stroke()}}function os(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=s.string,W_(e,r),l=0;l+e||0;function Wa(e,t){const n={},i=xt(t),s=i?Object.keys(t):t,r=xt(e)?i?o=>yt(e[o],e[t[o]]):o=>e[o]:()=>e;for(const o of s)n[o]=Z_(r(o));return n}function ih(e){return Wa(e,{top:"y",right:"x",bottom:"y",left:"x"})}function si(e){return Wa(e,["topLeft","topRight","bottomLeft","bottomRight"])}function xe(e){const t=ih(e);return t.width=t.left+t.right,t.height=t.top+t.bottom,t}function ue(e,t){e=e||{},t=t||gt.font;let n=yt(e.size,t.size);typeof n=="string"&&(n=parseInt(n,10));let i=yt(e.style,t.style);i&&!(""+i).match(Y_)&&(console.warn('Invalid font style specified: "'+i+'"'),i="");const s={family:yt(e.family,t.family),lineHeight:q_(yt(e.lineHeight,t.lineHeight),n),size:n,style:i,weight:yt(e.weight,t.weight),string:""};return s.string=U_(s),s}function ws(e,t,n,i){let s=!0,r,o,a;for(r=0,o=e.length;rn&&a===0?0:a+l;return{min:o(i,-Math.abs(r)),max:o(s,r)}}function vn(e,t){return Object.assign(Object.create(e),t)}function Ga(e,t=[""],n=e,i,s=()=>e[0]){ye(i)||(i=ah("_fallback",e));const r={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:e,_rootScopes:n,_fallback:i,_getTarget:s,override:o=>Ga([o,...e],t,n,i)};return new Proxy(r,{deleteProperty(o,a){return delete o[a],delete o._keys,delete e[0][a],!0},get(o,a){return rh(o,a,()=>oy(a,t,e,o))},getOwnPropertyDescriptor(o,a){return Reflect.getOwnPropertyDescriptor(o._scopes[0],a)},getPrototypeOf(){return Reflect.getPrototypeOf(e[0])},has(o,a){return Jc(o).includes(a)},ownKeys(o){return Jc(o)},set(o,a,l){const c=o._storage||(o._storage=s());return o[a]=c[a]=l,delete o._keys,!0}})}function pi(e,t,n,i){const s={_cacheable:!1,_proxy:e,_context:t,_subProxy:n,_stack:new Set,_descriptors:sh(e,i),setContext:r=>pi(e,r,n,i),override:r=>pi(e.override(r),t,n,i)};return new Proxy(s,{deleteProperty(r,o){return delete r[o],delete e[o],!0},get(r,o,a){return rh(r,o,()=>ty(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 sh(e,t={scriptable:!0,indexable:!0}){const{_scriptable:n=t.scriptable,_indexable:i=t.indexable,_allKeys:s=t.allKeys}=e;return{allKeys:s,scriptable:n,indexable:i,isScriptable:xn(n)?n:()=>n,isIndexable:xn(i)?i:()=>i}}const Q_=(e,t)=>e?e+Va(t):t,Ka=(e,t)=>xt(t)&&e!=="adapters"&&(Object.getPrototypeOf(t)===null||t.constructor===Object);function rh(e,t,n){if(Object.prototype.hasOwnProperty.call(e,t))return e[t];const i=n();return e[t]=i,i}function ty(e,t,n){const{_proxy:i,_context:s,_subProxy:r,_descriptors:o}=e;let a=i[t];return xn(a)&&o.isScriptable(t)&&(a=ey(t,a,e,n)),Dt(a)&&a.length&&(a=ny(t,a,e,o.isIndexable)),Ka(t,a)&&(a=pi(a,s,r&&r[t],o)),a}function ey(e,t,n,i){const{_proxy:s,_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||i),a.delete(e),Ka(e,t)&&(t=Ya(s._scopes,s,e,t)),t}function ny(e,t,n,i){const{_proxy:s,_context:r,_subProxy:o,_descriptors:a}=n;if(ye(r.index)&&i(e))t=t[r.index%t.length];else if(xt(t[0])){const l=t,c=s._scopes.filter(u=>u!==l);t=[];for(const u of l){const d=Ya(c,s,e,u);t.push(pi(d,r,o&&o[e],a))}}return t}function oh(e,t,n){return xn(e)?e(t,n):e}const iy=(e,t)=>e===!0?t:typeof e=="string"?yn(t,e):void 0;function sy(e,t,n,i,s){for(const r of t){const o=iy(n,r);if(o){e.add(o);const a=oh(o._fallback,n,s);if(ye(a)&&a!==n&&a!==i)return a}else if(o===!1&&ye(i)&&n!==i)return null}return!1}function Ya(e,t,n,i){const s=t._rootScopes,r=oh(t._fallback,n,i),o=[...e,...s],a=new Set;a.add(i);let l=Zc(a,o,n,r||n,i);return l===null||ye(r)&&r!==n&&(l=Zc(a,o,r,l,i),l===null)?!1:Ga(Array.from(a),[""],s,r,()=>ry(t,n,i))}function Zc(e,t,n,i,s){for(;n;)n=sy(e,t,n,i,s);return n}function ry(e,t,n){const i=e._getTarget();t in i||(i[t]={});const s=i[t];return Dt(s)&&xt(n)?n:s}function oy(e,t,n,i){let s;for(const r of t)if(s=ah(Q_(r,e),n),ye(s))return Ka(e,s)?Ya(n,i,e,s):s}function ah(e,t){for(const n of t){if(!n)continue;const i=n[e];if(ye(i))return i}}function Jc(e){let t=e._keys;return t||(t=e._keys=ay(e._scopes)),t}function ay(e){const t=new Set;for(const n of e)for(const i of Object.keys(n).filter(s=>!s.startsWith("_")))t.add(i);return Array.from(t)}function lh(e,t,n,i){const{iScale:s}=e,{key:r="r"}=this._parsing,o=new Array(i);let a,l,c,u;for(a=0,l=i;ate==="x"?"y":"x";function cy(e,t,n,i){const s=e.skip?t:e,r=t,o=n.skip?t:n,a=qo(r,s),l=qo(o,r);let c=a/(a+l),u=l/(a+l);c=isNaN(c)?0:c,u=isNaN(u)?0:u;const d=i*c,f=i*u;return{previous:{x:r.x-d*(o.x-s.x),y:r.y-d*(o.y-s.y)},next:{x:r.x+f*(o.x-s.x),y:r.y+f*(o.y-s.y)}}}function uy(e,t,n){const i=e.length;let s,r,o,a,l,c=gi(e,0);for(let u=0;u!c.skip)),t.cubicInterpolationMode==="monotone")fy(e,s);else{let c=i?e[e.length-1]:e[0];for(r=0,o=e.length;rwindow.getComputedStyle(e,null);function gy(e,t){return Nr(e).getPropertyValue(t)}const my=["top","right","bottom","left"];function Vn(e,t,n){const i={};n=n?"-"+n:"";for(let s=0;s<4;s++){const r=my[s];i[r]=parseFloat(e[t+"-"+r+n])||0}return i.width=i.left+i.right,i.height=i.top+i.bottom,i}const by=(e,t,n)=>(e>0||t>0)&&(!n||!n.shadowRoot);function _y(e,t){const n=e.touches,i=n&&n.length?n[0]:e,{offsetX:s,offsetY:r}=i;let o=!1,a,l;if(by(s,r,e.target))a=s,l=r;else{const c=t.getBoundingClientRect();a=i.clientX-c.left,l=i.clientY-c.top,o=!0}return{x:a,y:l,box:o}}function Tn(e,t){if("native"in e)return e;const{canvas:n,currentDevicePixelRatio:i}=t,s=Nr(n),r=s.boxSizing==="border-box",o=Vn(s,"padding"),a=Vn(s,"border","width"),{x:l,y:c,box:u}=_y(e,n),d=o.left+(u&&a.left),f=o.top+(u&&a.top);let{width:h,height:g}=t;return r&&(h-=o.width+a.width,g-=o.height+a.height),{x:Math.round((l-d)/h*n.width/i),y:Math.round((c-f)/g*n.height/i)}}function yy(e,t,n){let i,s;if(t===void 0||n===void 0){const r=qa(e);if(!r)t=e.clientWidth,n=e.clientHeight;else{const o=r.getBoundingClientRect(),a=Nr(r),l=Vn(a,"border","width"),c=Vn(a,"padding");t=o.width-c.width-l.width,n=o.height-c.height-l.height,i=ur(a.maxWidth,r,"clientWidth"),s=ur(a.maxHeight,r,"clientHeight")}}return{width:t,height:n,maxWidth:i||sr,maxHeight:s||sr}}const xo=e=>Math.round(e*10)/10;function xy(e,t,n,i){const s=Nr(e),r=Vn(s,"margin"),o=ur(s.maxWidth,e,"clientWidth")||sr,a=ur(s.maxHeight,e,"clientHeight")||sr,l=yy(e,t,n);let{width:c,height:u}=l;if(s.boxSizing==="content-box"){const d=Vn(s,"border","width"),f=Vn(s,"padding");c-=f.width+d.width,u-=f.height+d.height}return c=Math.max(0,c-r.width),u=Math.max(0,i?Math.floor(c/i):u-r.height),c=xo(Math.min(c,o,l.maxWidth)),u=xo(Math.min(u,a,l.maxHeight)),c&&!u&&(u=xo(c/2)),{width:c,height:u}}function Qc(e,t,n){const i=t||1,s=Math.floor(e.height*i),r=Math.floor(e.width*i);e.height=s/i,e.width=r/i;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!==i||o.height!==s||o.width!==r?(e.currentDevicePixelRatio=i,o.height=s,o.width=r,e.ctx.setTransform(i,0,0,i,0,0),!0):!1}const vy=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 tu(e,t){const n=gy(e,t),i=n&&n.match(/^(\d+)(\.\d+)?px$/);return i?+i[1]:void 0}function Dn(e,t,n,i){return{x:e.x+n*(t.x-e.x),y:e.y+n*(t.y-e.y)}}function Ay(e,t,n,i){return{x:e.x+n*(t.x-e.x),y:i==="middle"?n<.5?e.y:t.y:i==="after"?n<1?e.y:t.y:n>0?t.y:e.y}}function Sy(e,t,n,i){const s={x:e.cp2x,y:e.cp2y},r={x:t.cp1x,y:t.cp1y},o=Dn(e,s,n),a=Dn(s,r,n),l=Dn(r,t,n),c=Dn(o,a,n),u=Dn(a,l,n);return Dn(c,u,n)}const eu=new Map;function My(e,t){t=t||{};const n=e+JSON.stringify(t);let i=eu.get(n);return i||(i=new Intl.NumberFormat(e,t),eu.set(n,i)),i}function ds(e,t,n){return My(t,n).format(e)}const Ey=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,i){return n-i},leftForLtr(n,i){return n-i}}},Ry=function(){return{x(e){return e},setWidth(e){},textAlign(e){return e},xPlus(e,t){return e+t},leftForLtr(e,t){return e}}};function vo(e,t,n){return e?Ey(t,n):Ry()}function wy(e,t){let n,i;(t==="ltr"||t==="rtl")&&(n=e.canvas.style,i=[n.getPropertyValue("direction"),n.getPropertyPriority("direction")],n.setProperty("direction",t,"important"),e.prevTextDirection=i)}function Iy(e,t){t!==void 0&&(delete e.prevTextDirection,e.canvas.style.setProperty("direction",t[0],t[1]))}function dh(e){return e==="angle"?{between:rs,compare:d_,normalize:Se}:{between:rr,compare:(t,n)=>t-n,normalize:t=>t}}function nu({start:e,end:t,count:n,loop:i,style:s}){return{start:e%n,end:t%n,loop:i&&(t-e+1)%n===0,style:s}}function Cy(e,t,n){const{property:i,start:s,end:r}=n,{between:o,normalize:a}=dh(i),l=t.length;let{start:c,end:u,loop:d}=e,f,h;if(d){for(c+=l,u+=l,f=0,h=l;fl(s,M,y)&&a(s,M)!==0,A=()=>a(r,y)===0||l(r,M,y),P=()=>m||E(),C=()=>!m||A();for(let w=u,L=u;w<=d;++w)S=t[w%o],!S.skip&&(y=c(S[i]),y!==M&&(m=l(y,s,r),_===null&&P()&&(_=a(y,s)===0?w:L),_!==null&&C()&&(g.push(nu({start:_,end:w,loop:f,count:o,style:h})),_=null),L=w,M=y));return _!==null&&g.push(nu({start:_,end:d,loop:f,count:o,style:h})),g}function Dy(e,t){const n=[],i=e.segments;for(let s=0;ss&&e[r%t].skip;)r--;return r%=t,{start:s,end:r}}function Oy(e,t,n,i){const s=e.length,r=[];let o=t,a=e[t],l;for(l=t+1;l<=n;++l){const c=e[l%s];c.skip||c.stop?a.skip||(i=!1,r.push({start:t%s,end:(l-1)%s,loop:i}),t=o=c.stop?l:null):(o=l,a.skip&&(t=l)),a=c}return o!==null&&r.push({start:t%s,end:o%s,loop:i}),r}function Py(e,t){const n=e.points,i=e.options.spanGaps,s=n.length;if(!s)return[];const r=!!e._loop,{start:o,end:a}=ky(n,s,r,i);if(i===!0)return iu(e,[{start:o,end:a,loop:r}],n,t);const l=aa({chart:t,initial:n.initial,numSteps:o,currentStep:Math.min(i-n.start,o)}))}_refresh(){this._request||(this._running=!0,this._request=Wf.call(window,()=>{this._update(),this._request=null,this._running&&this._refresh()}))}_update(t=Date.now()){let n=0;this._charts.forEach((i,s)=>{if(!i.running||!i.items.length)return;const r=i.items;let o=r.length-1,a=!1,l;for(;o>=0;--o)l=r[o],l._active?(l._total>i.duration&&(i.duration=l._total),l.tick(t),a=!0):(r[o]=r[r.length-1],r.pop());a&&(s.draw(),this._notify(s,i,t,"progress")),r.length||(i.running=!1,this._notify(s,i,t,"complete"),i.initial=!1),n+=r.length}),this._lastDate=t,n===0&&(this._running=!1)}_getAnims(t){const n=this._charts;let i=n.get(t);return i||(i={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},n.set(t,i)),i}listen(t,n,i){this._getAnims(t).listeners[n].push(i)}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((i,s)=>Math.max(i,s._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 i=n.items;let s=i.length-1;for(;s>=0;--s)i[s].cancel();n.items=[],this._notify(t,n,Date.now(),"complete")}remove(t){return this._charts.delete(t)}}var Ve=new Ny;const ru="transparent",Fy={boolean(e,t,n){return n>.5?t:e},color(e,t,n){const i=Yc(e||ru),s=i.valid&&Yc(t||ru);return s&&s.valid?s.mix(i,n).hexString():t},number(e,t,n){return e+(t-e)*n}};class By{constructor(t,n,i,s){const r=n[i];s=ws([t.to,s,r,t.from]);const o=ws([t.from,r,s]);this._active=!0,this._fn=t.fn||Fy[t.type||typeof o],this._easing=Gi[t.easing]||Gi.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=i,this._from=o,this._to=s,this._promises=void 0}active(){return this._active}update(t,n,i){if(this._active){this._notify(!1);const s=this._target[this._prop],r=i-this._start,o=this._duration-r;this._start=i,this._duration=Math.floor(Math.max(o,t.duration)),this._total+=r,this._loop=!!t.loop,this._to=ws([t.to,n,s,t.from]),this._from=ws([t.from,s,n])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(t){const n=t-this._start,i=this._duration,s=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[s]=this._fn(r,a,l)}wait(){const t=this._promises||(this._promises=[]);return new Promise((n,i)=>{t.push({res:n,rej:i})})}_notify(t){const n=t?"res":"rej",i=this._promises||[];for(let s=0;se!=="onProgress"&&e!=="onComplete"&&e!=="fn"});gt.set("animations",{colors:{type:"color",properties:Uy},numbers:{type:"number",properties:Vy}});gt.describe("animations",{_fallback:"animation"});gt.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 fh{constructor(t,n){this._chart=t,this._properties=new Map,this.configure(n)}configure(t){if(!xt(t))return;const n=this._properties;Object.getOwnPropertyNames(t).forEach(i=>{const s=t[i];if(!xt(s))return;const r={};for(const o of $y)r[o]=s[o];(Dt(s.properties)&&s.properties||[i]).forEach(o=>{(o===i||!n.has(o))&&n.set(o,r)})})}_animateOptions(t,n){const i=n.options,s=jy(t,i);if(!s)return[];const r=this._createAnimations(s,i);return i.$shared&&zy(t.options.$animations,i).then(()=>{t.options=i},()=>{}),r}_createAnimations(t,n){const i=this._properties,s=[],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"){s.push(...this._animateOptions(t,n));continue}const u=n[c];let d=r[c];const f=i.get(c);if(d)if(f&&d.active()){d.update(f,u,a);continue}else d.cancel();if(!f||!f.duration){t[c]=u;continue}r[c]=d=new By(f,t,c,u),s.push(d)}return s}update(t,n){if(this._properties.size===0){Object.assign(t,n);return}const i=this._createAnimations(t,n);if(i.length)return Ve.add(this._chart,i),!0}}function zy(e,t){const n=[],i=Object.keys(t);for(let s=0;s0||!n&&r<0)return s.index}return null}function uu(e,t){const{chart:n,_cachedMeta:i}=e,s=n._stacks||(n._stacks={}),{iScale:r,vScale:o,index:a}=i,l=r.axis,c=o.axis,u=Ky(r,o,i),d=t.length;let f;for(let h=0;hn[i].axis===t).shift()}function Zy(e,t){return vn(e,{active:!1,dataset:void 0,datasetIndex:t,index:t,mode:"default",type:"dataset"})}function Jy(e,t,n){return vn(e,{active:!1,dataIndex:t,parsed:void 0,raw:void 0,element:n,index:t,mode:"default",type:"data"})}function Ci(e,t){const n=e.controller.index,i=e.vScale&&e.vScale.axis;if(!!i){t=t||e._parsed;for(const s of t){const r=s._stacks;if(!r||r[i]===void 0||r[i][n]===void 0)return;delete r[i][n]}}}const So=e=>e==="reset"||e==="none",du=(e,t)=>t?e:Object.assign({},e),Qy=(e,t,n)=>e&&!t.hidden&&t._stacked&&{keys:hh(n,!0),values:null};class Ce{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=lu(t.vScale,t),this.addElements()}updateIndex(t){this.index!==t&&Ci(this._cachedMeta),this.index=t}linkScales(){const t=this.chart,n=this._cachedMeta,i=this.getDataset(),s=(d,f,h,g)=>d==="x"?f:d==="r"?g:h,r=n.xAxisID=yt(i.xAxisID,Ao(t,"x")),o=n.yAxisID=yt(i.yAxisID,Ao(t,"y")),a=n.rAxisID=yt(i.rAxisID,Ao(t,"r")),l=n.indexAxis,c=n.iAxisID=s(l,r,o,a),u=n.vAxisID=s(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&&Uc(this._data,this),t._stacked&&Ci(t)}_dataCheck(){const t=this.getDataset(),n=t.data||(t.data=[]),i=this._data;if(xt(n))this._data=Gy(n);else if(i!==n){if(i){Uc(i,this);const s=this._cachedMeta;Ci(s),s._parsed=[]}n&&Object.isExtensible(n)&&g_(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,i=this.getDataset();let s=!1;this._dataCheck();const r=n._stacked;n._stacked=lu(n.vScale,n),n.stack!==i.stack&&(s=!0,Ci(n),n.stack=i.stack),this._resyncElements(t),(s||r!==n._stacked)&&uu(this,n._parsed)}configure(){const t=this.chart.config,n=t.datasetScopeKeys(this._type),i=t.getOptionScopes(this.getDataset(),n,!0);this.options=t.createResolver(i,this.getContext()),this._parsing=this.options.parsing,this._cachedDataOpts={}}parse(t,n){const{_cachedMeta:i,_data:s}=this,{iScale:r,_stacked:o}=i,a=r.axis;let l=t===0&&n===s.length?!0:i._sorted,c=t>0&&i._parsed[t-1],u,d,f;if(this._parsing===!1)i._parsed=s,i._sorted=!0,f=s;else{Dt(s[t])?f=this.parseArrayData(i,s,t,n):xt(s[t])?f=this.parseObjectData(i,s,t,n):f=this.parsePrimitiveData(i,s,t,n);const h=()=>d[a]===null||c&&d[a]m||d=0;--f)if(!g()){this.updateRangeFromParsed(c,t,h,l);break}}return c}getAllParsedValues(t){const n=this._cachedMeta._parsed,i=[];let s,r,o;for(s=0,r=n.length;s=0&&tthis.getContext(i,s),m=c.resolveNamedOptions(f,h,g,d);return m.$shared&&(m.$shared=l,r[o]=Object.freeze(du(m,l))),m}_resolveAnimations(t,n,i){const s=this.chart,r=this._cachedDataOpts,o=`animation-${n}`,a=r[o];if(a)return a;let l;if(s.options.animation!==!1){const u=this.chart.config,d=u.datasetAnimationScopeKeys(this._type,n),f=u.getOptionScopes(this.getDataset(),d);l=u.createResolver(f,this.getContext(t,i,n))}const c=new fh(s,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||So(t)||this.chart._animationsDisabled}_getSharedOptions(t,n){const i=this.resolveDataElementOptions(t,n),s=this._sharedOptions,r=this.getSharedOptions(i),o=this.includeOptions(n,r)||r!==s;return this.updateSharedOptions(r,n,i),{sharedOptions:r,includeOptions:o}}updateElement(t,n,i,s){So(s)?Object.assign(t,i):this._resolveAnimations(n,s).update(t,i)}updateSharedOptions(t,n,i){t&&!So(n)&&this._resolveAnimations(void 0,n).update(t,i)}_setStyle(t,n,i,s){t.active=s;const r=this.getStyle(n,s);this._resolveAnimations(n,i,s).update(t,{options:!s&&this.getSharedOptions(r)||r})}removeHoverStyle(t,n,i){this._setStyle(t,i,"active",!1)}setHoverStyle(t,n,i){this._setStyle(t,i,"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,i=this._cachedMeta.data;for(const[a,l,c]of this._syncList)this[a](l,c);this._syncList=[];const s=i.length,r=n.length,o=Math.min(r,s);o&&this.parse(0,o),r>s?this._insertElements(s,r-s,t):r{for(c.length+=n,a=c.length-1;a>=o;a--)c[a]=c[a-n]};for(l(r),a=t;as-r))}return e._cache.$bar}function e2(e){const t=e.iScale,n=t2(t,e.type);let i=t._length,s,r,o,a;const l=()=>{o===32767||o===-32768||(ye(a)&&(i=Math.min(i,Math.abs(o-a)||i)),a=o)};for(s=0,r=n.length;s0?s[e-1]:null,a=eMath.abs(a)&&(l=a,c=o),t[n.axis]=c,t._custom={barStart:l,barEnd:c,start:s,end:r,min:o,max:a}}function ph(e,t,n,i){return Dt(e)?s2(e,t,n,i):t[n.axis]=n.parse(e,i),t}function fu(e,t,n,i){const s=e.iScale,r=e.vScale,o=s.getLabels(),a=s===r,l=[];let c,u,d,f;for(c=n,u=n+i;c=n?1:-1)}function o2(e){let t,n,i,s,r;return e.horizontal?(t=e.base>e.x,n="left",i="right"):(t=e.basel.controller.options.grouped),r=i.options.stacked,o=[],a=l=>{const c=l.controller.getParsed(n),u=c&&c[l.vScale.axis];if(At(u)||isNaN(u))return!0};for(const l of s)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,i){const s=this._getStacks(t,i),r=n!==void 0?s.indexOf(n):-1;return r===-1?s.length-1:r}_getRuler(){const t=this.options,n=this._cachedMeta,i=n.iScale,s=[];let r,o;for(r=0,o=n.data.length;r=0;--i)n=Math.max(n,t[i].size(this.resolveDataElementOptions(i))/2);return n>0&&n}getLabelAndValue(t){const n=this._cachedMeta,{xScale:i,yScale:s}=n,r=this.getParsed(t),o=i.getLabelForValue(r.x),a=s.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,i,s){const r=s==="reset",{iScale:o,vScale:a}=this._cachedMeta,{sharedOptions:l,includeOptions:c}=this._getSharedOptions(n,s),u=o.axis,d=a.axis;for(let f=n;frs(M,a,l,!0)?1:Math.max(E,E*n,A,A*n),g=(M,E,A)=>rs(M,a,l,!0)?-1:Math.min(E,E*n,A,A*n),m=h(0,c,d),_=h(Lt,u,f),y=g(Ht,c,d),S=g(Ht+Lt,u,f);i=(m-y)/2,s=(_-S)/2,r=-(m+y)/2,o=-(_+S)/2}return{ratioX:i,ratioY:s,offsetX:r,offsetY:o}}class fs extends Ce{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 i=this.getDataset().data,s=this._cachedMeta;if(this._parsing===!1)s._parsed=i;else{let r=l=>+i[l];if(xt(i[t])){const{key:l="value"}=this._parsing;r=c=>+yn(i[c],l)}let o,a;for(o=t,a=t+n;o0&&!isNaN(t)?Rt*(Math.abs(t)/n):0}getLabelAndValue(t){const n=this._cachedMeta,i=this.chart,s=i.data.labels||[],r=ds(n._parsed[t],i.options.locale);return{label:s[t]||"",value:r}}getMaxBorderWidth(t){let n=0;const i=this.chart;let s,r,o,a,l;if(!t){for(s=0,r=i.data.datasets.length;se!=="spacing",_indexable:e=>e!=="spacing"};fs.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((i,s)=>{const o=e.getDatasetMeta(0).controller.getStyle(s);return{text:i,fillStyle:o.backgroundColor,strokeStyle:o.borderColor,lineWidth:o.borderWidth,pointStyle:n,hidden:!e.getDataVisibility(s),index:s}})}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 Dt(t)?(t=t.slice(),t[0]+=n):t+=n,t}}}}};class Fr extends Ce{initialize(){this.enableOptionSharing=!0,this.supportsDecimation=!0,super.initialize()}update(t){const n=this._cachedMeta,{dataset:i,data:s=[],_dataset:r}=n,o=this.chart._animationsDisabled;let{start:a,count:l}=Kf(n,s,o);this._drawStart=a,this._drawCount=l,Yf(n)&&(a=0,l=s.length),i._chart=this.chart,i._datasetIndex=this.index,i._decimated=!!r._decimated,i.points=s;const c=this.resolveDatasetElementOptions(t);this.options.showLine||(c.borderWidth=0),c.segment=this.options.segment,this.updateElement(i,void 0,{animated:!o,options:c},t),this.updateElements(s,a,l,t)}updateElements(t,n,i,s){const r=s==="reset",{iScale:o,vScale:a,_stacked:l,_dataset:c}=this._cachedMeta,{sharedOptions:u,includeOptions:d}=this._getSharedOptions(n,s),f=o.axis,h=a.axis,{spanGaps:g,segment:m}=this.options,_=hi(g)?g:Number.POSITIVE_INFINITY,y=this.chart._animationsDisabled||r||s==="none";let S=n>0&&this.getParsed(n-1);for(let M=n;M0&&Math.abs(A[f]-S[f])>_,m&&(P.parsed=A,P.raw=c.data[M]),d&&(P.options=u||this.resolveDataElementOptions(M,E.active?"active":s)),y||this.updateElement(E,M,P,s),S=A}}getMaxOverflow(){const t=this._cachedMeta,n=t.dataset,i=n.options&&n.options.borderWidth||0,s=t.data||[];if(!s.length)return i;const r=s[0].size(this.resolveDataElementOptions(0)),o=s[s.length-1].size(this.resolveDataElementOptions(s.length-1));return Math.max(i,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 Qa extends Ce{constructor(t,n){super(t,n),this.innerRadius=void 0,this.outerRadius=void 0}getLabelAndValue(t){const n=this._cachedMeta,i=this.chart,s=i.data.labels||[],r=ds(n._parsed[t].r,i.options.locale);return{label:s[t]||"",value:r}}parseObjectData(t,n,i,s){return lh.bind(this)(t,n,i,s)}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((i,s)=>{const r=this.getParsed(s).r;!isNaN(r)&&this.chart.getDataVisibility(s)&&(rn.max&&(n.max=r))}),n}_updateRadius(){const t=this.chart,n=t.chartArea,i=t.options,s=Math.min(n.right-n.left,n.bottom-n.top),r=Math.max(s/2,0),o=Math.max(i.cutoutPercentage?r/100*i.cutoutPercentage:1,0),a=(r-o)/t.getVisibleDatasetCount();this.outerRadius=r-a*this.index,this.innerRadius=this.outerRadius-a}updateElements(t,n,i,s){const r=s==="reset",o=this.chart,l=o.options.animation,c=this._cachedMeta.rScale,u=c.xCenter,d=c.yCenter,f=c.getIndexAngle(0)-.5*Ht;let h=f,g;const m=360/this.countVisibleElements();for(g=0;g{!isNaN(this.getParsed(s).r)&&this.chart.getDataVisibility(s)&&n++}),n}_computeAngle(t,n,i){return this.chart.getDataVisibility(t)?Re(this.resolveDataElementOptions(t,n).angle||i):0}}Qa.id="polarArea";Qa.defaults={dataElementType:"arc",animation:{animateRotate:!0,animateScale:!0},animations:{numbers:{type:"number",properties:["x","y","startAngle","endAngle","innerRadius","outerRadius"]}},indexAxis:"r",startAngle:0};Qa.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((i,s)=>{const o=e.getDatasetMeta(0).controller.getStyle(s);return{text:i,fillStyle:o.backgroundColor,strokeStyle:o.borderColor,lineWidth:o.borderWidth,pointStyle:n,hidden:!e.getDataVisibility(s),index:s}})}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 gh extends fs{}gh.id="pie";gh.defaults={cutout:0,rotation:0,circumference:360,radius:"100%"};class tl extends Ce{getLabelAndValue(t){const n=this._cachedMeta.vScale,i=this.getParsed(t);return{label:n.getLabels()[t],value:""+n.getLabelForValue(i[n.axis])}}parseObjectData(t,n,i,s){return lh.bind(this)(t,n,i,s)}update(t){const n=this._cachedMeta,i=n.dataset,s=n.data||[],r=n.iScale.getLabels();if(i.points=s,t!=="resize"){const o=this.resolveDatasetElementOptions(t);this.options.showLine||(o.borderWidth=0);const a={_loop:!0,_fullLoop:r.length===s.length,options:o};this.updateElement(i,void 0,a,t)}this.updateElements(s,0,s.length,t)}updateElements(t,n,i,s){const r=this._cachedMeta.rScale,o=s==="reset";for(let a=n;a{s[r]=i[r]&&i[r].active()?i[r]._to:this[r]}),s}}Ze.defaults={};Ze.defaultRoutes=void 0;const mh={values(e){return Dt(e)?e:""+e},numeric(e,t,n){if(e===0)return"0";const i=this.chart.options.locale;let s,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)&&(s="scientific"),r=d2(e,n)}const o=ge(Math.abs(r)),a=Math.max(Math.min(-1*Math.floor(o),20),0),l={notation:s,minimumFractionDigits:a,maximumFractionDigits:a};return Object.assign(l,this.options.ticks.format),ds(e,i,l)},logarithmic(e,t,n){if(e===0)return"0";const i=e/Math.pow(10,Math.floor(ge(e)));return i===1||i===2||i===5?mh.numeric.call(this,e,t,n):""}};function d2(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:mh};gt.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}});gt.route("scale.ticks","color","","color");gt.route("scale.grid","color","","borderColor");gt.route("scale.grid","borderColor","","borderColor");gt.route("scale.title","color","","color");gt.describe("scale",{_fallback:!1,_scriptable:e=>!e.startsWith("before")&&!e.startsWith("after")&&e!=="callback"&&e!=="parser",_indexable:e=>e!=="borderDash"&&e!=="tickBorderDash"});gt.describe("scales",{_fallback:"scale"});gt.describe("scale.ticks",{_scriptable:e=>e!=="backdropPadding"&&e!=="callback",_indexable:e=>e!=="backdropPadding"});function f2(e,t){const n=e.options.ticks,i=n.maxTicksLimit||h2(e),s=n.major.enabled?g2(t):[],r=s.length,o=s[0],a=s[r-1],l=[];if(r>i)return m2(t,l,s,r/i),l;const c=p2(s,t,i);if(r>0){let u,d;const f=r>1?Math.round((a-o)/(r-1)):null;for(Cs(t,l,c,At(f)?0:o-f,o),u=0,d=r-1;us)return l}return Math.max(s,1)}function g2(e){const t=[];let n,i;for(n=0,i=e.length;ne==="left"?"right":e==="right"?"left":e,gu=(e,t,n)=>t==="top"||t==="left"?e[t]+n:e[t]-n;function mu(e,t){const n=[],i=e.length/t,s=e.length;let r=0;for(;ro+a)))return l}function x2(e,t){Mt(e,n=>{const i=n.gc,s=i.length/2;let r;if(s>t){for(r=0;ri?i:n,i=s&&n>i?n:i,{min:pe(n,pe(i,n)),max:pe(i,pe(n,i))}}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,i){const{beginAtZero:s,grace:r,ticks:o}=this.options,a=o.sampleSize;this.beforeUpdate(),this.maxWidth=t,this.maxHeight=n,this._margins=i=Object.assign({left:0,right:0,top:0,bottom:0},i),this.ticks=null,this._labelSizes=null,this._gridLineItems=null,this._labelItems=null,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this._maxLength=this.isHorizontal()?this.width+i.left+i.right:this.height+i.top+i.bottom,this._dataLimitsCached||(this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this._range=J_(this,r,s),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();const l=a=r||i<=1||!this.isHorizontal()){this.labelRotation=s;return}const u=this._getLabelSizes(),d=u.widest.width,f=u.highest.height,h=Jt(this.chart.width-d,0,this.maxWidth);a=t.offset?this.maxWidth/i:h/(i-1),d+6>a&&(a=h/(i-(t.offset?.5:1)),l=this.maxHeight-Ti(t.grid)-n.padding-bu(t.title,this.chart.options.font),c=Math.sqrt(d*d+f*f),o=Ua(Math.min(Math.asin(Jt((u.highest.height+6)/a,-1,1)),Math.asin(Jt(l/c,-1,1))-Math.asin(Jt(f/c,-1,1)))),o=Math.max(s,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:i,title:s,grid:r}}=this,o=this._isVisible(),a=this.isHorizontal();if(o){const l=bu(s,n.options.font);if(a?(t.width=this.maxWidth,t.height=Ti(r)+l):(t.height=this.maxHeight,t.width=Ti(r)+l),i.display&&this.ticks.length){const{first:c,last:u,widest:d,highest:f}=this._getLabelSizes(),h=i.padding*2,g=Re(this.labelRotation),m=Math.cos(g),_=Math.sin(g);if(a){const y=i.mirror?0:_*d.width+m*f.height;t.height=Math.min(this.maxHeight,t.height+y+h)}else{const y=i.mirror?0:m*d.width+_*f.height;t.width=Math.min(this.maxWidth,t.width+y+h)}this._calculatePadding(c,u,_,m)}}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,i,s){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,d=this.right-this.getPixelForTick(this.ticks.length-1);let f=0,h=0;l?c?(f=s*t.width,h=i*n.height):(f=i*t.height,h=s*n.width):r==="start"?h=n.width:r==="end"?f=t.width:r!=="inner"&&(f=t.width/2,h=n.width/2),this.paddingLeft=Math.max((f-u+o)*this.width/(this.width-u),0),this.paddingRight=Math.max((h-d+o)*this.width/(this.width-d),0)}else{let u=n.height/2,d=t.height/2;r==="start"?(u=0,d=t.height):r==="end"&&(u=n.height,d=0),this.paddingTop=u+o,this.paddingBottom=d+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,i;for(n=0,i=t.length;n({width:r[C]||0,height:o[C]||0});return{first:P(0),last:P(n-1),widest:P(E),highest:P(A),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 f_(this._alignToPixels?Rn(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*s?a/i:l/s:l*s0}_computeGridLineItems(t){const n=this.axis,i=this.chart,s=this.options,{grid:r,position:o}=s,a=r.offset,l=this.isHorizontal(),u=this.ticks.length+(a?1:0),d=Ti(r),f=[],h=r.setContext(this.getContext()),g=h.drawBorder?h.borderWidth:0,m=g/2,_=function(G){return Rn(i,G,g)};let y,S,M,E,A,P,C,w,L,U,q,O;if(o==="top")y=_(this.bottom),P=this.bottom-d,w=y-m,U=_(t.top)+m,O=t.bottom;else if(o==="bottom")y=_(this.top),U=t.top,O=_(t.bottom)-m,P=y+m,w=this.top+d;else if(o==="left")y=_(this.right),A=this.right-d,C=y-m,L=_(t.left)+m,q=t.right;else if(o==="right")y=_(this.left),L=t.left,q=_(t.right)-m,A=y+m,C=this.left+d;else if(n==="x"){if(o==="center")y=_((t.top+t.bottom)/2+.5);else if(xt(o)){const G=Object.keys(o)[0],st=o[G];y=_(this.chart.scales[G].getPixelForValue(st))}U=t.top,O=t.bottom,P=y+m,w=P+d}else if(n==="y"){if(o==="center")y=_((t.left+t.right)/2);else if(xt(o)){const G=Object.keys(o)[0],st=o[G];y=_(this.chart.scales[G].getPixelForValue(st))}A=y-m,C=A-d,L=t.left,q=t.right}const Z=yt(s.ticks.maxTicksLimit,u),ot=Math.max(1,Math.ceil(u/Z));for(S=0;Sr.value===t);return s>=0?n.setContext(this.getContext(s)).lineWidth:0}drawGrid(t){const n=this.options.grid,i=this.ctx,s=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(t));let r,o;const a=(l,c,u)=>{!u.width||!u.color||(i.save(),i.lineWidth=u.width,i.strokeStyle=u.color,i.setLineDash(u.borderDash||[]),i.lineDashOffset=u.borderDashOffset,i.beginPath(),i.moveTo(l.x,l.y),i.lineTo(c.x,c.y),i.stroke(),i.restore())};if(n.display)for(r=0,o=s.length;r{this.draw(s)}}]:[{z:i,draw:s=>{this.drawBackground(),this.drawGrid(s),this.drawTitle()}},{z:i+1,draw:()=>{this.drawBorder()}},{z:n,draw:s=>{this.drawLabels(s)}}]}getMatchingVisibleMetas(t){const n=this.chart.getSortedVisibleDatasetMetas(),i=this.axis+"AxisID",s=[];let r,o;for(r=0,o=n.length;r{const i=n.split("."),s=i.pop(),r=[e].concat(i).join("."),o=t[n].split("."),a=o.pop(),l=o.join(".");gt.route(r,s,l,a)})}function w2(e){return"id"in e&&"defaults"in e}class I2{constructor(){this.controllers=new Ts(Ce,"datasets",!0),this.elements=new Ts(Ze,"elements"),this.plugins=new Ts(Object,"plugins"),this.scales=new Ts(Xn,"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,i){[...n].forEach(s=>{const r=i||this._getRegistryForType(s);i||r.isForType(s)||r===this.plugins&&s.id?this._exec(t,r,s):Mt(s,o=>{const a=i||this._getRegistryForType(o);this._exec(t,a,o)})})}_exec(t,n,i){const s=Va(t);Pt(i["before"+s],[],i),n[t](i),Pt(i["after"+s],[],i)}_getRegistryForType(t){for(let n=0;n0&&this.getParsed(n-1);for(let E=n;E0&&Math.abs(P[h]-M[h])>y,_&&(C.parsed=P,C.raw=c.data[E]),f&&(C.options=d||this.resolveDataElementOptions(E,A.active?"active":s)),S||this.updateElement(A,E,C,s),M=P}this.updateSharedOptions(d,s,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 i=t.dataset,s=i.options&&i.options.borderWidth||0;if(!n.length)return s;const r=n[0].size(this.resolveDataElementOptions(0)),o=n[n.length-1].size(this.resolveDataElementOptions(n.length-1));return Math.max(s,r,o)/2}}el.id="scatter";el.defaults={datasetElementType:!1,dataElementType:"point",showLine:!1,fill:!1};el.overrides={interaction:{mode:"point"},plugins:{tooltip:{callbacks:{title(){return""},label(e){return"("+e.label+", "+e.formattedValue+")"}}}},scales:{x:{type:"linear"},y:{type:"linear"}}};function wn(){throw new Error("This method is not implemented: Check that a complete date adapter is provided.")}class ta{constructor(t){this.options=t||{}}init(t){}formats(){return wn()}parse(t,n){return wn()}format(t,n){return wn()}add(t,n,i){return wn()}diff(t,n,i){return wn()}startOf(t,n,i){return wn()}endOf(t,n){return wn()}}ta.override=function(e){Object.assign(ta.prototype,e)};var C2={_date:ta};function T2(e,t,n,i){const{controller:s,data:r,_sorted:o}=e,a=s._cachedMeta.iScale;if(a&&t===a.axis&&t!=="r"&&o&&r.length){const l=a._reversePixels?h_:Hn;if(i){if(s._sharedOptions){const c=r[0],u=typeof c.getRange=="function"&&c.getRange(t);if(u){const d=l(r,t,n-u),f=l(r,t,n+u);return{lo:d.lo,hi:f.hi}}}}else return l(r,t,n)}return{lo:0,hi:r.length-1}}function hs(e,t,n,i,s){const r=e.getSortedVisibleDatasetMetas(),o=n[t];for(let a=0,l=r.length;a{l[o](t[n],s)&&(r.push({element:l,datasetIndex:c,index:u}),a=a||l.inRange(t.x,t.y,s))}),i&&!a?[]:r}var P2={evaluateInteractionItems:hs,modes:{index(e,t,n,i){const s=Tn(t,e),r=n.axis||"x",o=n.includeInvisible||!1,a=n.intersect?Eo(e,s,r,i,o):Ro(e,s,r,!1,i,o),l=[];return a.length?(e.getSortedVisibleDatasetMetas().forEach(c=>{const u=a[0].index,d=c.data[u];d&&!d.skip&&l.push({element:d,datasetIndex:c.index,index:u})}),l):[]},dataset(e,t,n,i){const s=Tn(t,e),r=n.axis||"xy",o=n.includeInvisible||!1;let a=n.intersect?Eo(e,s,r,i,o):Ro(e,s,r,!1,i,o);if(a.length>0){const l=a[0].datasetIndex,c=e.getDatasetMeta(l).data;a=[];for(let u=0;un.pos===t)}function yu(e,t){return e.filter(n=>bh.indexOf(n.pos)===-1&&n.box.axis===t)}function ki(e,t){return e.sort((n,i)=>{const s=t?i:n,r=t?n:i;return s.weight===r.weight?s.index-r.index:s.weight-r.weight})}function L2(e){const t=[];let n,i,s,r,o,a;for(n=0,i=(e||[]).length;nc.box.fullSize),!0),i=ki(Di(t,"left"),!0),s=ki(Di(t,"right")),r=ki(Di(t,"top"),!0),o=ki(Di(t,"bottom")),a=yu(t,"x"),l=yu(t,"y");return{fullSize:n,leftAndTop:i.concat(r),rightAndBottom:s.concat(l).concat(o).concat(a),chartArea:Di(t,"chartArea"),vertical:i.concat(s).concat(l),horizontal:r.concat(o).concat(a)}}function xu(e,t,n,i){return Math.max(e[n],t[n])+Math.max(e[i],t[i])}function _h(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 B2(e,t,n,i){const{pos:s,box:r}=n,o=e.maxPadding;if(!xt(s)){n.size&&(e[s]-=n.size);const d=i[n.stack]||{size:0,count:1};d.size=Math.max(d.size,n.horizontal?r.height:r.width),n.size=d.size/d.count,e[s]+=n.size}r.getPadding&&_h(o,r.getPadding());const a=Math.max(0,t.outerWidth-xu(o,e,"left","right")),l=Math.max(0,t.outerHeight-xu(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 V2(e){const t=e.maxPadding;function n(i){const s=Math.max(t[i]-e[i],0);return e[i]+=s,s}e.y+=n("top"),e.x+=n("left"),n("right"),n("bottom")}function U2(e,t){const n=t.maxPadding;function i(s){const r={left:0,top:0,right:0,bottom:0};return s.forEach(o=>{r[o]=Math.max(t[o],n[o])}),r}return i(e?["left","right"]:["top","bottom"])}function Ni(e,t,n,i){const s=[];let r,o,a,l,c,u;for(r=0,o=e.length,c=0;r{typeof m.beforeLayout=="function"&&m.beforeLayout()});const u=l.reduce((m,_)=>_.box.options&&_.box.options.display===!1?m:m+1,0)||1,d=Object.freeze({outerWidth:t,outerHeight:n,padding:s,availableWidth:r,availableHeight:o,vBoxMaxWidth:r/2/u,hBoxMaxHeight:o/2}),f=Object.assign({},s);_h(f,xe(i));const h=Object.assign({maxPadding:f,w:r,h:o,x:s.left,y:s.top},s),g=N2(l.concat(c),d);Ni(a.fullSize,h,d,g),Ni(l,h,d,g),Ni(c,h,d,g)&&Ni(l,h,d,g),V2(h),vu(a.leftAndTop,h,d,g),h.x+=h.w,h.y+=h.h,vu(a.rightAndBottom,h,d,g),e.chartArea={left:h.left,top:h.top,right:h.left+h.w,bottom:h.top+h.h,height:h.h,width:h.w},Mt(a.chartArea,m=>{const _=m.box;Object.assign(_,e.chartArea),_.update(h.w,h.h,{left:0,top:0,right:0,bottom:0})})}};class yh{acquireContext(t,n){}releaseContext(t){return!1}addEventListener(t,n,i){}removeEventListener(t,n,i){}getDevicePixelRatio(){return 1}getMaximumSize(t,n,i,s){return n=Math.max(0,n||t.width),i=i||t.height,{width:n,height:Math.max(0,s?Math.floor(n/s):i)}}isAttached(t){return!0}updateConfig(t){}}class $2 extends yh{acquireContext(t){return t&&t.getContext&&t.getContext("2d")||null}updateConfig(t){t.options.animation=!1}}const zs="$chartjs",z2={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},Au=e=>e===null||e==="";function j2(e,t){const n=e.style,i=e.getAttribute("height"),s=e.getAttribute("width");if(e[zs]={initial:{height:i,width:s,style:{display:n.display,height:n.height,width:n.width}}},n.display=n.display||"block",n.boxSizing=n.boxSizing||"border-box",Au(s)){const r=tu(e,"width");r!==void 0&&(e.width=r)}if(Au(i))if(e.style.height==="")e.height=e.width/(t||2);else{const r=tu(e,"height");r!==void 0&&(e.height=r)}return e}const xh=vy?{passive:!0}:!1;function X2(e,t,n){e.addEventListener(t,n,xh)}function W2(e,t,n){e.canvas.removeEventListener(t,n,xh)}function G2(e,t){const n=z2[e.type]||e.type,{x:i,y:s}=Tn(e,t);return{type:n,chart:t,native:e,x:i!==void 0?i:null,y:s!==void 0?s:null}}function dr(e,t){for(const n of e)if(n===t||n.contains(t))return!0}function K2(e,t,n){const i=e.canvas,s=new MutationObserver(r=>{let o=!1;for(const a of r)o=o||dr(a.addedNodes,i),o=o&&!dr(a.removedNodes,i);o&&n()});return s.observe(document,{childList:!0,subtree:!0}),s}function Y2(e,t,n){const i=e.canvas,s=new MutationObserver(r=>{let o=!1;for(const a of r)o=o||dr(a.removedNodes,i),o=o&&!dr(a.addedNodes,i);o&&n()});return s.observe(document,{childList:!0,subtree:!0}),s}const as=new Map;let Su=0;function vh(){const e=window.devicePixelRatio;e!==Su&&(Su=e,as.forEach((t,n)=>{n.currentDevicePixelRatio!==e&&t()}))}function q2(e,t){as.size||window.addEventListener("resize",vh),as.set(e,t)}function Z2(e){as.delete(e),as.size||window.removeEventListener("resize",vh)}function J2(e,t,n){const i=e.canvas,s=i&&qa(i);if(!s)return;const r=Gf((a,l)=>{const c=s.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(s),q2(e,r),o}function wo(e,t,n){n&&n.disconnect(),t==="resize"&&Z2(e)}function Q2(e,t,n){const i=e.canvas,s=Gf(r=>{e.ctx!==null&&n(G2(r,e))},e,r=>{const o=r[0];return[o,o.offsetX,o.offsetY]});return X2(i,t,s),s}class tx extends yh{acquireContext(t,n){const i=t&&t.getContext&&t.getContext("2d");return i&&i.canvas===t?(j2(t,n),i):null}releaseContext(t){const n=t.canvas;if(!n[zs])return!1;const i=n[zs].initial;["height","width"].forEach(r=>{const o=i[r];At(o)?n.removeAttribute(r):n.setAttribute(r,o)});const s=i.style||{};return Object.keys(s).forEach(r=>{n.style[r]=s[r]}),n.width=n.width,delete n[zs],!0}addEventListener(t,n,i){this.removeEventListener(t,n);const s=t.$proxies||(t.$proxies={}),o={attach:K2,detach:Y2,resize:J2}[n]||Q2;s[n]=o(t,n,i)}removeEventListener(t,n){const i=t.$proxies||(t.$proxies={}),s=i[n];if(!s)return;({attach:wo,detach:wo,resize:wo}[n]||W2)(t,n,s),i[n]=void 0}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(t,n,i,s){return xy(t,n,i,s)}isAttached(t){const n=qa(t);return!!(n&&n.isConnected)}}function ex(e){return!uh()||typeof OffscreenCanvas<"u"&&e instanceof OffscreenCanvas?$2:tx}class nx{constructor(){this._init=[]}notify(t,n,i,s){n==="beforeInit"&&(this._init=this._createDescriptors(t,!0),this._notify(this._init,t,"install"));const r=s?this._descriptors(t).filter(s):this._descriptors(t),o=this._notify(r,t,n,i);return n==="afterDestroy"&&(this._notify(r,t,"stop"),this._notify(this._init,t,"uninstall")),o}_notify(t,n,i,s){s=s||{};for(const r of t){const o=r.plugin,a=o[i],l=[n,s,r.options];if(Pt(a,l,o)===!1&&s.cancelable)return!1}return!0}invalidate(){At(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 i=t&&t.config,s=yt(i.options&&i.options.plugins,{}),r=ix(i);return s===!1&&!n?[]:rx(t,r,s,n)}_notifyStateChanges(t){const n=this._oldCache||[],i=this._cache,s=(r,o)=>r.filter(a=>!o.some(l=>a.plugin.id===l.plugin.id));this._notify(s(n,i),t,"stop"),this._notify(s(i,n),t,"start")}}function ix(e){const t={},n=[],i=Object.keys(Le.plugins.items);for(let r=0;r{const l=i[a];if(!xt(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=na(a,l),u=lx(c,s),d=n.scales||{};r[c]=r[c]||a,o[a]=Xi(Object.create(null),[{axis:c},l,d[c],d[u]])}),e.data.datasets.forEach(a=>{const l=a.type||e.type,c=a.indexAxis||ea(l,t),d=(zn[l]||{}).scales||{};Object.keys(d).forEach(f=>{const h=ax(f,c),g=a[h+"AxisID"]||r[h]||h;o[g]=o[g]||Object.create(null),Xi(o[g],[{axis:h},i[g],d[f]])})}),Object.keys(o).forEach(a=>{const l=o[a];Xi(l,[gt.scales[l.type],gt.scale])}),o}function Ah(e){const t=e.options||(e.options={});t.plugins=yt(t.plugins,{}),t.scales=ux(e,t)}function Sh(e){return e=e||{},e.datasets=e.datasets||[],e.labels=e.labels||[],e}function dx(e){return e=e||{},e.data=Sh(e.data),Ah(e),e}const Mu=new Map,Mh=new Set;function Os(e,t){let n=Mu.get(e);return n||(n=t(),Mu.set(e,n),Mh.add(n)),n}const Oi=(e,t,n)=>{const i=yn(t,n);i!==void 0&&e.add(i)};class fx{constructor(t){this._config=dx(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=Sh(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(),Ah(t)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(t){return Os(t,()=>[[`datasets.${t}`,""]])}datasetAnimationScopeKeys(t,n){return Os(`${t}.transition.${n}`,()=>[[`datasets.${t}.transitions.${n}`,`transitions.${n}`],[`datasets.${t}`,""]])}datasetElementScopeKeys(t,n){return Os(`${t}-${n}`,()=>[[`datasets.${t}.elements.${n}`,`datasets.${t}`,`elements.${n}`,""]])}pluginScopeKeys(t){const n=t.id,i=this.type;return Os(`${i}-plugin-${n}`,()=>[[`plugins.${n}`,...t.additionalOptionScopes||[]]])}_cachedScopes(t,n){const i=this._scopeCache;let s=i.get(t);return(!s||n)&&(s=new Map,i.set(t,s)),s}getOptionScopes(t,n,i){const{options:s,type:r}=this,o=this._cachedScopes(t,i),a=o.get(n);if(a)return a;const l=new Set;n.forEach(u=>{t&&(l.add(t),u.forEach(d=>Oi(l,t,d))),u.forEach(d=>Oi(l,s,d)),u.forEach(d=>Oi(l,zn[r]||{},d)),u.forEach(d=>Oi(l,gt,d)),u.forEach(d=>Oi(l,Jo,d))});const c=Array.from(l);return c.length===0&&c.push(Object.create(null)),Mh.has(n)&&o.set(n,c),c}chartOptionScopes(){const{options:t,type:n}=this;return[t,zn[n]||{},gt.datasets[n]||{},{type:n},gt,Jo]}resolveNamedOptions(t,n,i,s=[""]){const r={$shared:!0},{resolver:o,subPrefixes:a}=Eu(this._resolverCache,t,s);let l=o;if(px(o,n)){r.$shared=!1,i=xn(i)?i():i;const c=this.createResolver(t,i,a);l=pi(o,i,c)}for(const c of n)r[c]=l[c];return r}createResolver(t,n,i=[""],s){const{resolver:r}=Eu(this._resolverCache,t,i);return xt(n)?pi(r,n,void 0,s):r}}function Eu(e,t,n){let i=e.get(t);i||(i=new Map,e.set(t,i));const s=n.join();let r=i.get(s);return r||(r={resolver:Ga(t,n),subPrefixes:n.filter(a=>!a.toLowerCase().includes("hover"))},i.set(s,r)),r}const hx=e=>xt(e)&&Object.getOwnPropertyNames(e).reduce((t,n)=>t||xn(e[n]),!1);function px(e,t){const{isScriptable:n,isIndexable:i}=sh(e);for(const s of t){const r=n(s),o=i(s),a=(o||r)&&e[s];if(r&&(xn(a)||hx(a))||o&&Dt(a))return!0}return!1}var gx="3.9.1";const mx=["top","bottom","left","right","chartArea"];function Ru(e,t){return e==="top"||e==="bottom"||mx.indexOf(e)===-1&&t==="x"}function wu(e,t){return function(n,i){return n[e]===i[e]?n[t]-i[t]:n[e]-i[e]}}function Iu(e){const t=e.chart,n=t.options.animation;t.notifyPlugins("afterRender"),Pt(n&&n.onComplete,[e],t)}function bx(e){const t=e.chart,n=t.options.animation;Pt(n&&n.onProgress,[e],t)}function Eh(e){return uh()&&typeof e=="string"?e=document.getElementById(e):e&&e.length&&(e=e[0]),e&&e.canvas&&(e=e.canvas),e}const fr={},Rh=e=>{const t=Eh(e);return Object.values(fr).filter(n=>n.canvas===t).pop()};function _x(e,t,n){const i=Object.keys(e);for(const s of i){const r=+s;if(r>=t){const o=e[s];delete e[s],(n>0||r>t)&&(e[r+n]=o)}}}function yx(e,t,n,i){return!n||e.type==="mouseout"?null:i?t:e}class hr{constructor(t,n){const i=this.config=new fx(n),s=Eh(t),r=Rh(s);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=i.createResolver(i.chartOptionScopes(),this.getContext());this.platform=new(i.platform||ex(s)),this.platform.updateConfig(i);const a=this.platform.acquireContext(s,o.aspectRatio),l=a&&a.canvas,c=l&&l.height,u=l&&l.width;if(this.id=t_(),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 nx,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=m_(d=>this.update(d),o.resizeDelay||0),this._dataChanges=[],fr[this.id]=this,!a||!l){console.error("Failed to create chart: can't acquire context from the given item");return}Ve.listen(this,"complete",Iu),Ve.listen(this,"progress",bx),this._initialize(),this.attached&&this.update()}get aspectRatio(){const{options:{aspectRatio:t,maintainAspectRatio:n},width:i,height:s,_aspectRatio:r}=this;return At(t)?n&&r?r:s?i/s: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():Qc(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return qc(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 i=this.options,s=this.canvas,r=i.maintainAspectRatio&&this.aspectRatio,o=this.platform.getMaximumSize(s,t,n,r),a=i.devicePixelRatio||this.platform.getDevicePixelRatio(),l=this.width?"resize":"attach";this.width=o.width,this.height=o.height,this._aspectRatio=this.aspectRatio,Qc(this,a,!0)&&(this.notifyPlugins("resize",{size:o}),Pt(i.onResize,[this,o],this),this.attached&&this._doResize(l)&&this.render())}ensureScalesHaveIDs(){const n=this.options.scales||{};Mt(n,(i,s)=>{i.id=s})}buildOrUpdateScales(){const t=this.options,n=t.scales,i=this.scales,s=Object.keys(i).reduce((o,a)=>(o[a]=!1,o),{});let r=[];n&&(r=r.concat(Object.keys(n).map(o=>{const a=n[o],l=na(o,a),c=l==="r",u=l==="x";return{options:a,dposition:c?"chartArea":u?"bottom":"left",dtype:c?"radialLinear":u?"category":"linear"}}))),Mt(r,o=>{const a=o.options,l=a.id,c=na(l,a),u=yt(a.type,o.dtype);(a.position===void 0||Ru(a.position,c)!==Ru(o.dposition))&&(a.position=o.dposition),s[l]=!0;let d=null;if(l in i&&i[l].type===u)d=i[l];else{const f=Le.getScale(u);d=new f({id:l,type:u,ctx:this.ctx,chart:this}),i[d.id]=d}d.init(a,t)}),Mt(s,(o,a)=>{o||delete i[a]}),Mt(i,o=>{ks.configure(this,o,o.options),ks.addBox(this,o)})}_updateMetasets(){const t=this._metasets,n=this.data.datasets.length,i=t.length;if(t.sort((s,r)=>s.index-r.index),i>n){for(let s=n;sn.length&&delete this._stacks,t.forEach((i,s)=>{n.filter(r=>r===i._dataset).length===0&&this._destroyDatasetMeta(s)})}buildOrUpdateControllers(){const t=[],n=this.data.datasets;let i,s;for(this._removeUnreferencedMetasets(),i=0,s=n.length;i{this.getDatasetMeta(n).controller.reset()},this)}reset(){this._resetElements(),this.notifyPlugins("reset")}update(t){const n=this.config;n.update();const i=this._options=n.createResolver(n.chartOptionScopes(),this.getContext()),s=this._animationsDisabled=!i.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(){Mt(this.scales,t=>{ks.removeBox(this,t)}),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){const t=this.options,n=new Set(Object.keys(this._listeners)),i=new Set(t.events);(!Nc(n,i)||!!this._responsiveListeners!==t.responsive)&&(this.unbindEvents(),this.bindEvents())}_updateHiddenIndices(){const{_hiddenIndices:t}=this,n=this._getUniformDataChanges()||[];for(const{method:i,start:s,count:r}of n){const o=i==="_removeElements"?-r:r;_x(t,s,o)}}_getUniformDataChanges(){const t=this._dataChanges;if(!t||!t.length)return;this._dataChanges=[];const n=this.data.datasets.length,i=r=>new Set(t.filter(o=>o[0]===r).map((o,a)=>a+","+o.splice(1).join(","))),s=i(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;ks.update(this,this.width,this.height,t);const n=this.chartArea,i=n.width<=0||n.height<=0;this._layers=[],Mt(this.boxes,s=>{i&&s.position==="chartArea"||(s.configure&&s.configure(),this._layers.push(...s._layers()))},this),this._layers.forEach((s,r)=>{s._idx=r}),this.notifyPlugins("afterLayout")}_updateDatasets(t){if(this.notifyPlugins("beforeDatasetsUpdate",{mode:t,cancelable:!0})!==!1){for(let n=0,i=this.data.datasets.length;n=0;--n)this._drawDataset(t[n]);this.notifyPlugins("afterDatasetsDraw")}_drawDataset(t){const n=this.ctx,i=t._clip,s=!i.disabled,r=this.chartArea,o={meta:t,index:t.index,cancelable:!0};this.notifyPlugins("beforeDatasetDraw",o)!==!1&&(s&&eh(n,{left:i.left===!1?0:r.left-i.left,right:i.right===!1?this.width:r.right+i.right,top:i.top===!1?0:r.top-i.top,bottom:i.bottom===!1?this.height:r.bottom+i.bottom}),t.controller.draw(),s&&nh(n),o.cancelable=!1,this.notifyPlugins("afterDatasetDraw",o))}isPointInArea(t){return os(t,this.chartArea,this._minPadding)}getElementsAtEventForMode(t,n,i,s){const r=P2.modes[n];return typeof r=="function"?r(this,t,i,s):[]}getDatasetMeta(t){const n=this.data.datasets[t],i=this._metasets;let s=i.filter(r=>r&&r._dataset===n).pop();return s||(s={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},i.push(s)),s}getContext(){return this.$context||(this.$context=vn(null,{chart:this,type:"chart"}))}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(t){const n=this.data.datasets[t];if(!n)return!1;const i=this.getDatasetMeta(t);return typeof i.hidden=="boolean"?!i.hidden:!n.hidden}setDatasetVisibility(t,n){const i=this.getDatasetMeta(t);i.hidden=!n}toggleDataVisibility(t){this._hiddenIndices[t]=!this._hiddenIndices[t]}getDataVisibility(t){return!this._hiddenIndices[t]}_updateVisibility(t,n,i){const s=i?"show":"hide",r=this.getDatasetMeta(t),o=r.controller._resolveAnimations(void 0,s);ye(n)?(r.data[n].hidden=!i,this.update()):(this.setDatasetVisibility(t,i),o.update(r,{visible:i}),this.update(a=>a.datasetIndex===t?s: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},s=(r,o,a)=>{r.offsetX=o,r.offsetY=a,this._eventHandler(r)};Mt(this.options.events,r=>i(r,s))}bindResponsiveEvents(){this._responsiveListeners||(this._responsiveListeners={});const t=this._responsiveListeners,n=this.platform,i=(l,c)=>{n.addEventListener(this,l,c),t[l]=c},s=(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=()=>{s("attach",a),this.attached=!0,this.resize(),i("resize",r),i("detach",o)};o=()=>{this.attached=!1,s("resize",r),this._stop(),this._resize(0,0),i("attach",a)},n.isAttached(this.canvas)?a():o()}unbindEvents(){Mt(this._listeners,(t,n)=>{this.platform.removeEventListener(this,n,t)}),this._listeners={},Mt(this._responsiveListeners,(t,n)=>{this.platform.removeEventListener(this,n,t)}),this._responsiveListeners=void 0}updateHoverStyle(t,n,i){const s=i?"set":"remove";let r,o,a,l;for(n==="dataset"&&(r=this.getDatasetMeta(t[0].datasetIndex),r.controller["_"+s+"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}});!nr(i,n)&&(this._active=i,this._lastEvent=null,this._updateHoverStyles(i,n))}notifyPlugins(t,n,i){return this._plugins.notify(this,t,n,i)}_updateHoverStyles(t,n,i){const s=this.options.hover,r=(l,c)=>l.filter(u=>!c.some(d=>u.datasetIndex===d.datasetIndex&&u.index===d.index)),o=r(n,t),a=i?t:r(t,n);o.length&&this.updateHoverStyle(o,s.mode,!1),a.length&&s.mode&&this.updateHoverStyle(a,s.mode,!0)}_eventHandler(t,n){const i={event:t,replay:n,cancelable:!0,inChartArea:this.isPointInArea(t)},s=o=>(o.options.events||this.options.events).includes(t.native.type);if(this.notifyPlugins("beforeEvent",i,s)===!1)return;const r=this._handleEvent(t,n,i.inChartArea);return i.cancelable=!1,this.notifyPlugins("afterEvent",i,s),(r||i.changed)&&this.render(),this}_handleEvent(t,n,i){const{_active:s=[],options:r}=this,o=n,a=this._getActiveElements(t,s,i,o),l=o_(t),c=yx(t,this._lastEvent,i,l);i&&(this._lastEvent=null,Pt(r.onHover,[t,a,this],this),l&&Pt(r.onClick,[t,a,this],this));const u=!nr(a,s);return(u||n)&&(this._active=a,this._updateHoverStyles(a,s,n)),this._lastEvent=c,u}_getActiveElements(t,n,i,s){if(t.type==="mouseout")return[];if(!i)return n;const r=this.options.hover;return this.getElementsAtEventForMode(t,r.mode,r,s)}}const Cu=()=>Mt(hr.instances,e=>e._plugins.invalidate()),sn=!0;Object.defineProperties(hr,{defaults:{enumerable:sn,value:gt},instances:{enumerable:sn,value:fr},overrides:{enumerable:sn,value:zn},registry:{enumerable:sn,value:Le},version:{enumerable:sn,value:gx},getChart:{enumerable:sn,value:Rh},register:{enumerable:sn,value:(...e)=>{Le.add(...e),Cu()}},unregister:{enumerable:sn,value:(...e)=>{Le.remove(...e),Cu()}}});function wh(e,t,n){const{startAngle:i,pixelMargin:s,x:r,y:o,outerRadius:a,innerRadius:l}=t;let c=s/a;e.beginPath(),e.arc(r,o,a,i-c,n+c),l>s?(c=s/l,e.arc(r,o,l,n+c,i-c,!0)):e.arc(r,o,s,n+Lt,i-Lt),e.closePath(),e.clip()}function xx(e){return Wa(e,["outerStart","outerEnd","innerStart","innerEnd"])}function vx(e,t,n,i){const s=xx(e.options.borderRadius),r=(n-t)/2,o=Math.min(r,i*t/2),a=l=>{const c=(n-Math.min(r,l))*i/2;return Jt(l,0,Math.min(r,c))};return{outerStart:a(s.outerStart),outerEnd:a(s.outerEnd),innerStart:Jt(s.innerStart,0,o),innerEnd:Jt(s.innerEnd,0,o)}}function Qn(e,t,n,i){return{x:n+e*Math.cos(t),y:i+e*Math.sin(t)}}function ia(e,t,n,i,s,r){const{x:o,y:a,startAngle:l,pixelMargin:c,innerRadius:u}=t,d=Math.max(t.outerRadius+i+n-c,0),f=u>0?u+i+n+c:0;let h=0;const g=s-l;if(i){const G=u>0?u-i:0,st=d>0?d-i:0,rt=(G+st)/2,dt=rt!==0?g*rt/(rt+i):g;h=(g-dt)/2}const m=Math.max(.001,g*d-n/Ht)/d,_=(g-m)/2,y=l+_+h,S=s-_-h,{outerStart:M,outerEnd:E,innerStart:A,innerEnd:P}=vx(t,f,d,S-y),C=d-M,w=d-E,L=y+M/C,U=S-E/w,q=f+A,O=f+P,Z=y+A/q,ot=S-P/O;if(e.beginPath(),r){if(e.arc(o,a,d,L,U),E>0){const rt=Qn(w,U,o,a);e.arc(rt.x,rt.y,E,U,S+Lt)}const G=Qn(O,S,o,a);if(e.lineTo(G.x,G.y),P>0){const rt=Qn(O,ot,o,a);e.arc(rt.x,rt.y,P,S+Lt,ot+Math.PI)}if(e.arc(o,a,f,S-P/f,y+A/f,!0),A>0){const rt=Qn(q,Z,o,a);e.arc(rt.x,rt.y,A,Z+Math.PI,y-Lt)}const st=Qn(C,y,o,a);if(e.lineTo(st.x,st.y),M>0){const rt=Qn(C,L,o,a);e.arc(rt.x,rt.y,M,y-Lt,L)}}else{e.moveTo(o,a);const G=Math.cos(L)*d+o,st=Math.sin(L)*d+a;e.lineTo(G,st);const rt=Math.cos(U)*d+o,dt=Math.sin(U)*d+a;e.lineTo(rt,dt)}e.closePath()}function Ax(e,t,n,i,s){const{fullCircles:r,startAngle:o,circumference:a}=t;let l=t.endAngle;if(r){ia(e,t,n,i,o+Rt,s);for(let c=0;c=Rt||rs(r,a,l),m=rr(o,c+f,u+f);return g&&m}getCenterPoint(t){const{x:n,y:i,startAngle:s,endAngle:r,innerRadius:o,outerRadius:a}=this.getProps(["x","y","startAngle","endAngle","innerRadius","outerRadius","circumference"],t),{offset:l,spacing:c}=this.options,u=(s+r)/2,d=(o+a+c+l)/2;return{x:n+Math.cos(u)*d,y:i+Math.sin(u)*d}}tooltipPosition(t){return this.getCenterPoint(t)}draw(t){const{options:n,circumference:i}=this,s=(n.offset||0)/2,r=(n.spacing||0)/2,o=n.circular;if(this.pixelMargin=n.borderAlign==="inner"?.33:0,this.fullCircles=i>Rt?Math.floor(i/Rt):0,i===0||this.innerRadius<0||this.outerRadius<0)return;t.save();let a=0;if(s){a=s/2;const c=(this.startAngle+this.endAngle)/2;t.translate(Math.cos(c)*a,Math.sin(c)*a),this.circumference>=Ht&&(a=s)}t.fillStyle=n.backgroundColor,t.strokeStyle=n.borderColor;const l=Ax(t,this,a,r,o);Mx(t,this,a,r,l,o),t.restore()}}nl.id="arc";nl.defaults={borderAlign:"center",borderColor:"#fff",borderJoinStyle:void 0,borderRadius:0,borderWidth:2,offset:0,spacing:0,angle:void 0,circular:!0};nl.defaultRoutes={backgroundColor:"backgroundColor"};function Ih(e,t,n=t){e.lineCap=yt(n.borderCapStyle,t.borderCapStyle),e.setLineDash(yt(n.borderDash,t.borderDash)),e.lineDashOffset=yt(n.borderDashOffset,t.borderDashOffset),e.lineJoin=yt(n.borderJoinStyle,t.borderJoinStyle),e.lineWidth=yt(n.borderWidth,t.borderWidth),e.strokeStyle=yt(n.borderColor,t.borderColor)}function Ex(e,t,n){e.lineTo(n.x,n.y)}function Rx(e){return e.stepped?j_:e.tension||e.cubicInterpolationMode==="monotone"?X_:Ex}function Ch(e,t,n={}){const i=e.length,{start:s=0,end:r=i-1}=n,{start:o,end:a}=t,l=Math.max(s,o),c=Math.min(r,a),u=sa&&r>a;return{count:i,start:l,loop:t.loop,ilen:c(o+(c?a-E:E))%r,M=()=>{m!==_&&(e.lineTo(u,_),e.lineTo(u,m),e.lineTo(u,y))};for(l&&(h=s[S(0)],e.moveTo(h.x,h.y)),f=0;f<=a;++f){if(h=s[S(f)],h.skip)continue;const E=h.x,A=h.y,P=E|0;P===g?(A_&&(_=A),u=(d*u+E)/++d):(M(),e.lineTo(E,A),g=P,d=0,m=_=A),y=A}M()}function sa(e){const t=e.options,n=t.borderDash&&t.borderDash.length;return!e._decimated&&!e._loop&&!t.tension&&t.cubicInterpolationMode!=="monotone"&&!t.stepped&&!n?Ix:wx}function Cx(e){return e.stepped?Ay:e.tension||e.cubicInterpolationMode==="monotone"?Sy:Dn}function Tx(e,t,n,i){let s=t._path;s||(s=t._path=new Path2D,t.path(s,n,i)&&s.closePath()),Ih(e,t.options),e.stroke(s)}function Dx(e,t,n,i){const{segments:s,options:r}=t,o=sa(t);for(const a of s)Ih(e,r,a.style),e.beginPath(),o(e,t,a,{start:n,end:n+i-1})&&e.closePath(),e.stroke()}const kx=typeof Path2D=="function";function Ox(e,t,n,i){kx&&!t.options.segment?Tx(e,t,n,i):Dx(e,t,n,i)}class ps extends Ze{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 i=this.options;if((i.tension||i.cubicInterpolationMode==="monotone")&&!i.stepped&&!this._pointsUpdated){const s=i.spanGaps?this._loop:this._fullLoop;py(this._points,i,t,s,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=Py(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,i=t.length;return i&&n[t[i-1].end]}interpolate(t,n){const i=this.options,s=t[n],r=this.points,o=Dy(this,{property:n,start:s,end:s});if(!o.length)return;const a=[],l=Cx(i);let c,u;for(c=0,u=o.length;ce!=="borderDash"&&e!=="fill"};function Tu(e,t,n,i){const s=e.options,{[n]:r}=e.getProps([n],i);return Math.abs(t-r)-1?e.split(` -`):e}function Bx(e,t){const{element:n,datasetIndex:i,index:s}=t,r=e.getDatasetMeta(i).controller,{label:o,value:a}=r.getLabelAndValue(s);return{chart:e,label:o,parsed:r.getParsed(s),raw:e.data.datasets[i].data[s],formattedValue:a,dataset:r.getDataset(),dataIndex:s,datasetIndex:i,element:n}}function Du(e,t){const n=e.chart.ctx,{body:i,footer:s,title:r}=e,{boxWidth:o,boxHeight:a}=t,l=ue(t.bodyFont),c=ue(t.titleFont),u=ue(t.footerFont),d=r.length,f=s.length,h=i.length,g=xe(t.padding);let m=g.height,_=0,y=i.reduce((E,A)=>E+A.before.length+A.lines.length+A.after.length,0);if(y+=e.beforeBody.length+e.afterBody.length,d&&(m+=d*c.lineHeight+(d-1)*t.titleSpacing+t.titleMarginBottom),y){const E=t.displayColors?Math.max(a,l.lineHeight):l.lineHeight;m+=h*E+(y-h)*l.lineHeight+(y-1)*t.bodySpacing}f&&(m+=t.footerMarginTop+f*u.lineHeight+(f-1)*t.footerSpacing);let S=0;const M=function(E){_=Math.max(_,n.measureText(E).width+S)};return n.save(),n.font=c.string,Mt(e.title,M),n.font=l.string,Mt(e.beforeBody.concat(e.afterBody),M),S=t.displayColors?o+2+t.boxPadding:0,Mt(i,E=>{Mt(E.before,M),Mt(E.lines,M),Mt(E.after,M)}),S=0,n.font=u.string,Mt(e.footer,M),n.restore(),_+=g.width,{width:_,height:m}}function Vx(e,t){const{y:n,height:i}=t;return ne.height-i/2?"bottom":"center"}function Ux(e,t,n,i){const{x:s,width:r}=i,o=n.caretSize+n.caretPadding;if(e==="left"&&s+r+o>t.width||e==="right"&&s-r-o<0)return!0}function $x(e,t,n,i){const{x:s,width:r}=n,{width:o,chartArea:{left:a,right:l}}=e;let c="center";return i==="center"?c=s<=(a+l)/2?"left":"right":s<=r/2?c="left":s>=o-r/2&&(c="right"),Ux(c,e,t,n)&&(c="center"),c}function ku(e,t,n){const i=n.yAlign||t.yAlign||Vx(e,n);return{xAlign:n.xAlign||t.xAlign||$x(e,t,n,i),yAlign:i}}function zx(e,t){let{x:n,width:i}=e;return t==="right"?n-=i:t==="center"&&(n-=i/2),n}function jx(e,t,n){let{y:i,height:s}=e;return t==="top"?i+=n:t==="bottom"?i-=s+n:i-=s/2,i}function Ou(e,t,n,i){const{caretSize:s,caretPadding:r,cornerRadius:o}=e,{xAlign:a,yAlign:l}=n,c=s+r,{topLeft:u,topRight:d,bottomLeft:f,bottomRight:h}=si(o);let g=zx(t,a);const m=jx(t,l,c);return l==="center"?a==="left"?g+=c:a==="right"&&(g-=c):a==="left"?g-=Math.max(u,f)+s:a==="right"&&(g+=Math.max(d,h)+s),{x:Jt(g,0,i.width-t.width),y:Jt(m,0,i.height-t.height)}}function Ps(e,t,n){const i=xe(n.padding);return t==="center"?e.x+e.width/2:t==="right"?e.x+e.width-i.right:e.x+i.left}function Pu(e){return ke([],Ue(e))}function Xx(e,t,n){return vn(e,{tooltip:t,tooltipItems:n,type:"tooltip"})}function Lu(e,t){const n=t&&t.dataset&&t.dataset.tooltip&&t.dataset.tooltip.callbacks;return n?e.override(n):e}class ra extends Ze{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,i=this.options.setContext(this.getContext()),s=i.enabled&&n.options.animation&&i.animations,r=new fh(this.chart,s);return s._cacheable&&(this._cachedAnimations=Object.freeze(r)),r}getContext(){return this.$context||(this.$context=Xx(this.chart.getContext(),this,this._tooltipItems))}getTitle(t,n){const{callbacks:i}=n,s=i.beforeTitle.apply(this,[t]),r=i.title.apply(this,[t]),o=i.afterTitle.apply(this,[t]);let a=[];return a=ke(a,Ue(s)),a=ke(a,Ue(r)),a=ke(a,Ue(o)),a}getBeforeBody(t,n){return Pu(n.callbacks.beforeBody.apply(this,[t]))}getBody(t,n){const{callbacks:i}=n,s=[];return Mt(t,r=>{const o={before:[],lines:[],after:[]},a=Lu(i,r);ke(o.before,Ue(a.beforeLabel.call(this,r))),ke(o.lines,a.label.call(this,r)),ke(o.after,Ue(a.afterLabel.call(this,r))),s.push(o)}),s}getAfterBody(t,n){return Pu(n.callbacks.afterBody.apply(this,[t]))}getFooter(t,n){const{callbacks:i}=n,s=i.beforeFooter.apply(this,[t]),r=i.footer.apply(this,[t]),o=i.afterFooter.apply(this,[t]);let a=[];return a=ke(a,Ue(s)),a=ke(a,Ue(r)),a=ke(a,Ue(o)),a}_createItems(t){const n=this._active,i=this.chart.data,s=[],r=[],o=[];let a=[],l,c;for(l=0,c=n.length;lt.filter(u,d,f,i))),t.itemSort&&(a=a.sort((u,d)=>t.itemSort(u,d,i))),Mt(a,u=>{const d=Lu(t.callbacks,u);s.push(d.labelColor.call(this,u)),r.push(d.labelPointStyle.call(this,u)),o.push(d.labelTextColor.call(this,u))}),this.labelColors=s,this.labelPointStyles=r,this.labelTextColors=o,this.dataPoints=a,a}update(t,n){const i=this.options.setContext(this.getContext()),s=this._active;let r,o=[];if(!s.length)this.opacity!==0&&(r={opacity:0});else{const a=Yi[i.position].call(this,s,this._eventPosition);o=this._createItems(i),this.title=this.getTitle(o,i),this.beforeBody=this.getBeforeBody(o,i),this.body=this.getBody(o,i),this.afterBody=this.getAfterBody(o,i),this.footer=this.getFooter(o,i);const l=this._size=Du(this,i),c=Object.assign({},a,l),u=ku(this.chart,i,c),d=Ou(i,c,u,this.chart);this.xAlign=u.xAlign,this.yAlign=u.yAlign,r={opacity:1,x:d.x,y:d.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&&i.external&&i.external.call(this,{chart:this.chart,tooltip:this,replay:n})}drawCaret(t,n,i,s){const r=this.getCaretPosition(t,i,s);n.lineTo(r.x1,r.y1),n.lineTo(r.x2,r.y2),n.lineTo(r.x3,r.y3)}getCaretPosition(t,n,i){const{xAlign:s,yAlign:r}=this,{caretSize:o,cornerRadius:a}=i,{topLeft:l,topRight:c,bottomLeft:u,bottomRight:d}=si(a),{x:f,y:h}=t,{width:g,height:m}=n;let _,y,S,M,E,A;return r==="center"?(E=h+m/2,s==="left"?(_=f,y=_-o,M=E+o,A=E-o):(_=f+g,y=_+o,M=E-o,A=E+o),S=_):(s==="left"?y=f+Math.max(l,u)+o:s==="right"?y=f+g-Math.max(c,d)-o:y=this.caretX,r==="top"?(M=h,E=M-o,_=y-o,S=y+o):(M=h+m,E=M+o,_=y+o,S=y-o),A=M),{x1:_,x2:y,x3:S,y1:M,y2:E,y3:A}}drawTitle(t,n,i){const s=this.title,r=s.length;let o,a,l;if(r){const c=vo(i.rtl,this.x,this.width);for(t.x=Ps(this,i.titleAlign,i),n.textAlign=c.textAlign(i.titleAlign),n.textBaseline="middle",o=ue(i.titleFont),a=i.titleSpacing,n.fillStyle=i.titleColor,n.font=o.string,l=0;lM!==0)?(t.beginPath(),t.fillStyle=r.multiKeyBackground,cr(t,{x:_,y:m,w:c,h:l,radius:S}),t.fill(),t.stroke(),t.fillStyle=o.backgroundColor,t.beginPath(),cr(t,{x:y,y:m+1,w:c-2,h:l-2,radius:S}),t.fill()):(t.fillStyle=r.multiKeyBackground,t.fillRect(_,m,c,l),t.strokeRect(_,m,c,l),t.fillStyle=o.backgroundColor,t.fillRect(y,m+1,c-2,l-2))}t.fillStyle=this.labelTextColors[i]}drawBody(t,n,i){const{body:s}=this,{bodySpacing:r,bodyAlign:o,displayColors:a,boxHeight:l,boxWidth:c,boxPadding:u}=i,d=ue(i.bodyFont);let f=d.lineHeight,h=0;const g=vo(i.rtl,this.x,this.width),m=function(w){n.fillText(w,g.x(t.x+h),t.y+f/2),t.y+=f+r},_=g.textAlign(o);let y,S,M,E,A,P,C;for(n.textAlign=o,n.textBaseline="middle",n.font=d.string,t.x=Ps(this,_,i),n.fillStyle=i.bodyColor,Mt(this.beforeBody,m),h=a&&_!=="right"?o==="center"?c/2+u:c+2+u:0,E=0,P=s.length;E0&&n.stroke()}_updateAnimationTarget(t){const n=this.chart,i=this.$animations,s=i&&i.x,r=i&&i.y;if(s||r){const o=Yi[t.position].call(this,this._active,this._eventPosition);if(!o)return;const a=this._size=Du(this,t),l=Object.assign({},o,this._size),c=ku(n,t,l),u=Ou(t,l,c,n);(s._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 i=this.opacity;if(!i)return;this._updateAnimationTarget(n);const s={width:this.width,height:this.height},r={x:this.x,y:this.y};i=Math.abs(i)<.001?0:i;const o=xe(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=i,this.drawBackground(r,t,s,n),wy(t,n.textDirection),r.y+=o.top,this.drawTitle(r,t,n),this.drawBody(r,t,n),this.drawFooter(r,t,n),Iy(t,n.textDirection),t.restore())}getActiveElements(){return this._active||[]}setActiveElements(t,n){const i=this._active,s=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=!nr(i,s),o=this._positionChanged(s,n);(r||o)&&(this._active=s,this._eventPosition=n,this._ignoreReplayEvents=!0,this.update(!0))}handleEvent(t,n,i=!0){if(n&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;const s=this.options,r=this._active||[],o=this._getActiveElements(t,r,n,i),a=this._positionChanged(o,t),l=n||!nr(o,r)||a;return l&&(this._active=o,(s.enabled||s.external)&&(this._eventPosition={x:t.x,y:t.y},this.update(!0,n))),l}_getActiveElements(t,n,i,s){const r=this.options;if(t.type==="mouseout")return[];if(!s)return n;const o=this.chart.getElementsAtEventForMode(t,r.mode,r,i);return r.reverse&&o.reverse(),o}_positionChanged(t,n){const{caretX:i,caretY:s,options:r}=this,o=Yi[r.position].call(this,t,n);return o!==!1&&(i!==o.x||s!==o.y)}}ra.positioners=Yi;var Wx={id:"tooltip",_element:ra,positioners:Yi,afterInit(e,t,n){n&&(e.tooltip=new ra({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:Be,title(e){if(e.length>0){const t=e[0],n=t.chart.data.labels,i=n?n.length:0;if(this&&this.options&&this.options.mode==="dataset")return t.dataset.label||"";if(t.label)return t.label;if(i>0&&t.dataIndexe!=="filter"&&e!=="itemSort"&&e!=="external",_indexable:!1,callbacks:{_scriptable:!1,_indexable:!1},animation:{_fallback:!1},animations:{_fallback:"animation"}},additionalOptionScopes:["interaction"]};const Gx=(e,t,n,i)=>(typeof t=="string"?(n=e.push(t)-1,i.unshift({index:n,label:t})):isNaN(t)&&(n=null),n);function Kx(e,t,n,i){const s=e.indexOf(t);if(s===-1)return Gx(e,t,n,i);const r=e.lastIndexOf(t);return s!==r?n:s}const Yx=(e,t)=>e===null?null:Jt(Math.round(e),0,t);class pr extends Xn{constructor(t){super(t),this._startValue=void 0,this._valueRange=0,this._addedLabels=[]}init(t){const n=this._addedLabels;if(n.length){const i=this.getLabels();for(const{index:s,label:r}of n)i[s]===r&&i.splice(s,1);this._addedLabels=[]}super.init(t)}parse(t,n){if(At(t))return null;const i=this.getLabels();return n=isFinite(n)&&i[n]===t?n:Kx(i,t,yt(n,t),this._addedLabels),Yx(n,i.length-1)}determineDataLimits(){const{minDefined:t,maxDefined:n}=this.getUserBounds();let{min:i,max:s}=this.getMinMax(!0);this.options.bounds==="ticks"&&(t||(i=0),n||(s=this.getLabels().length-1)),this.min=i,this.max=s}buildTicks(){const t=this.min,n=this.max,i=this.options.offset,s=[];let r=this.getLabels();r=t===0&&n===r.length-1?r:r.slice(t,n+1),this._valueRange=Math.max(r.length-(i?0:1),1),this._startValue=this.min-(i?.5:0);for(let o=t;o<=n;o++)s.push({value:o});return s}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}}pr.id="category";pr.defaults={ticks:{callback:pr.prototype.getLabelForValue}};function qx(e,t){const n=[],{bounds:s,step:r,min:o,max:a,precision:l,count:c,maxTicks:u,maxDigits:d,includeBounds:f}=e,h=r||1,g=u-1,{min:m,max:_}=t,y=!At(o),S=!At(a),M=!At(c),E=(_-m)/(d+1);let A=Bc((_-m)/g/h)*h,P,C,w,L;if(A<1e-14&&!y&&!S)return[{value:m},{value:_}];L=Math.ceil(_/A)-Math.floor(m/A),L>g&&(A=Bc(L*A/g/h)*h),At(l)||(P=Math.pow(10,l),A=Math.ceil(A*P)/P),s==="ticks"?(C=Math.floor(m/A)*A,w=Math.ceil(_/A)*A):(C=m,w=_),y&&S&&r&&u_((a-o)/r,A/1e3)?(L=Math.round(Math.min((a-o)/A,u)),A=(a-o)/L,C=o,w=a):M?(C=y?o:C,w=S?a:w,L=c-1,A=(w-C)/L):(L=(w-C)/A,Wi(L,Math.round(L),A/1e3)?L=Math.round(L):L=Math.ceil(L));const U=Math.max(Vc(A),Vc(C));P=Math.pow(10,At(l)?U:l),C=Math.round(C*P)/P,w=Math.round(w*P)/P;let q=0;for(y&&(f&&C!==o?(n.push({value:o}),Cs=n?s:l,a=l=>r=i?r:l;if(t){const l=He(s),c=He(r);l<0&&c<0?a(0):l>0&&c>0&&o(0)}if(s===r){let l=1;(r>=Number.MAX_SAFE_INTEGER||s<=Number.MIN_SAFE_INTEGER)&&(l=Math.abs(r*.05)),a(r+l),t||o(s-l)}this.min=s,this.max=r}getTickLimit(){const t=this.options.ticks;let{maxTicksLimit:n,stepSize:i}=t,s;return i?(s=Math.ceil(this.max/i)-Math.floor(this.min/i)+1,s>1e3&&(console.warn(`scales.${this.id}.ticks.stepSize: ${i} would result generating up to ${s} ticks. Limiting to 1000.`),s=1e3)):(s=this.computeTickLimit(),n=n||11),n&&(s=Math.min(n,s)),s}computeTickLimit(){return Number.POSITIVE_INFINITY}buildTicks(){const t=this.options,n=t.ticks;let i=this.getTickLimit();i=Math.max(2,i);const s={maxTicks:i,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=qx(s,r);return t.bounds==="ticks"&&$f(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,i=this.max;if(super.configure(),this.options.offset&&t.length){const s=(i-n)/Math.max(t.length-1,1)/2;n-=s,i+=s}this._startValue=n,this._endValue=i,this._valueRange=i-n}getLabelForValue(t){return ds(t,this.chart.options.locale,this.options.ticks.format)}}class sl extends gr{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,i=Re(this.options.ticks.minRotation),s=(t?Math.sin(i):Math.cos(i))||.001,r=this._resolveTickFontOptions(0);return Math.ceil(n/Math.min(40,r.lineHeight/s))}getPixelForValue(t){return t===null?NaN:this.getPixelForDecimal((t-this._startValue)/this._valueRange)}getValueForPixel(t){return this._startValue+this.getDecimalForPixel(t)*this._valueRange}}sl.id="linear";sl.defaults={ticks:{callback:Br.formatters.numeric}};function Nu(e){return e/Math.pow(10,Math.floor(ge(e)))===1}function Zx(e,t){const n=Math.floor(ge(t.max)),i=Math.ceil(t.max/Math.pow(10,n)),s=[];let r=pe(e.min,Math.pow(10,Math.floor(ge(t.min)))),o=Math.floor(ge(r)),a=Math.floor(r/Math.pow(10,o)),l=o<0?Math.pow(10,Math.abs(o)):1;do s.push({value:r,major:Nu(r)}),++a,a===10&&(a=1,++o,l=o>=0?1:l),r=Math.round(a*Math.pow(10,o)*l)/l;while(o0?i: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 i=this.min,s=this.max;const r=l=>i=t?i:l,o=l=>s=n?s:l,a=(l,c)=>Math.pow(10,Math.floor(ge(l))+c);i===s&&(i<=0?(r(1),o(10)):(r(a(i,-1)),o(a(s,1)))),i<=0&&r(a(s,-1)),s<=0&&o(a(i,1)),this._zero&&this.min!==this._suggestedMin&&i===a(this.min,0)&&r(a(i,-1)),this.min=i,this.max=s}buildTicks(){const t=this.options,n={min:this._userMin,max:this._userMax},i=Zx(n,this);return t.bounds==="ticks"&&$f(i,this,"value"),t.reverse?(i.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),i}getLabelForValue(t){return t===void 0?"0":ds(t,this.chart.options.locale,this.options.ticks.format)}configure(){const t=this.min;super.configure(),this._startValue=ge(t),this._valueRange=ge(this.max)-ge(t)}getPixelForValue(t){return(t===void 0||t===0)&&(t=this.min),t===null||isNaN(t)?NaN:this.getPixelForDecimal(t===this.min?0:(ge(t)-this._startValue)/this._valueRange)}getValueForPixel(t){const n=this.getDecimalForPixel(t);return Math.pow(10,this._startValue+n*this._valueRange)}}Dh.id="logarithmic";Dh.defaults={ticks:{callback:Br.formatters.logarithmic,major:{enabled:!0}}};function oa(e){const t=e.ticks;if(t.display&&e.display){const n=xe(t.backdropPadding);return yt(t.font&&t.font.size,gt.font.size)+n.height}return 0}function Jx(e,t,n){return n=Dt(n)?n:[n],{w:$_(e,t.string,n),h:n.length*t.lineHeight}}function Fu(e,t,n,i,s){return e===i||e===s?{start:t-n/2,end:t+n/2}:es?{start:t-n,end:t}:{start:t,end:t+n}}function Qx(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),i=[],s=[],r=e._pointLabels.length,o=e.options.pointLabels,a=o.centerPointLabels?Ht/r:0;for(let l=0;lt.r&&(a=(i.end-t.r)/r,e.r=Math.max(e.r,t.r+a)),s.startt.b&&(l=(s.end-t.b)/o,e.b=Math.max(e.b,t.b+l))}function ev(e,t,n){const i=[],s=e._pointLabels.length,r=e.options,o=oa(r)/2,a=e.drawingArea,l=r.pointLabels.centerPointLabels?Ht/s:0;for(let c=0;c270||n<90)&&(e-=t),e}function rv(e,t){const{ctx:n,options:{pointLabels:i}}=e;for(let s=t-1;s>=0;s--){const r=i.setContext(e.getPointLabelContext(s)),o=ue(r.font),{x:a,y:l,textAlign:c,left:u,top:d,right:f,bottom:h}=e._pointLabelItems[s],{backdropColor:g}=r;if(!At(g)){const m=si(r.borderRadius),_=xe(r.backdropPadding);n.fillStyle=g;const y=u-_.left,S=d-_.top,M=f-u+_.width,E=h-d+_.height;Object.values(m).some(A=>A!==0)?(n.beginPath(),cr(n,{x:y,y:S,w:M,h:E,radius:m}),n.fill()):n.fillRect(y,S,M,E)}lr(n,e._pointLabels[s],a,l+o.lineHeight/2,o,{color:r.color,textAlign:c,textBaseline:"middle"})}}function kh(e,t,n,i){const{ctx:s}=e;if(n)s.arc(e.xCenter,e.yCenter,t,0,Rt);else{let r=e.getPointPosition(0,t);s.moveTo(r.x,r.y);for(let o=1;o{const s=Pt(this.options.pointLabels.callback,[n,i],this);return s||s===0?s:""}).filter((n,i)=>this.chart.getDataVisibility(i))}fit(){const t=this.options;t.display&&t.pointLabels.display?Qx(this):this.setCenterPoint(0,0,0,0)}setCenterPoint(t,n,i,s){this.xCenter+=Math.floor((t-n)/2),this.yCenter+=Math.floor((i-s)/2),this.drawingArea-=Math.min(this.drawingArea/2,Math.max(t,n,i,s))}getIndexAngle(t){const n=Rt/(this._pointLabels.length||1),i=this.options.startAngle||0;return Se(t*n+Re(i))}getDistanceFromCenterForValue(t){if(At(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(At(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 d=s.setContext(this.getContext(u-1));ov(this,d,a,r)}}),i.display){for(t.save(),o=r-1;o>=0;o--){const c=i.setContext(this.getPointLabelContext(o)),{color:u,lineWidth:d}=c;!d||!u||(t.lineWidth=d,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,i=n.ticks;if(!i.display)return;const s=this.getIndexAngle(0);let r,o;t.save(),t.translate(this.xCenter,this.yCenter),t.rotate(s),t.textAlign="center",t.textBaseline="middle",this.ticks.forEach((a,l)=>{if(l===0&&!n.reverse)return;const c=i.setContext(this.getContext(l)),u=ue(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 d=xe(c.backdropPadding);t.fillRect(-o/2-d.left,-r-u.size/2-d.top,o+d.width,u.size+d.height)}lr(t,a.label,0,-r,u,{color:c.color})}),t.restore()}drawTitle(){}}Ur.id="radialLinear";Ur.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}};Ur.defaultRoutes={"angleLines.color":"borderColor","pointLabels.color":"color","ticks.color":"color"};Ur.descriptors={angleLines:{_fallback:"grid"}};const $r={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}},ie=Object.keys($r);function lv(e,t){return e-t}function Bu(e,t){if(At(t))return null;const n=e._adapter,{parser:i,round:s,isoWeekday:r}=e._parseOpts;let o=t;return typeof i=="function"&&(o=i(o)),Wt(o)||(o=typeof i=="string"?n.parse(o,i):n.parse(o)),o===null?null:(s&&(o=s==="week"&&(hi(r)||r===!0)?n.startOf(o,"isoWeek",r):n.startOf(o,s)),+o)}function Vu(e,t,n,i){const s=ie.length;for(let r=ie.indexOf(e);r=ie.indexOf(n);r--){const o=ie[r];if($r[o].common&&e._adapter.diff(s,i,o)>=t-1)return o}return ie[n?ie.indexOf(n):0]}function uv(e){for(let t=ie.indexOf(e)+1,n=ie.length;t=t?n[i]:n[s];e[r]=!0}}function dv(e,t,n,i){const s=e._adapter,r=+s.startOf(t[0].value,i),o=t[t.length-1].value;let a,l;for(a=r;a<=o;a=+s.add(a,1,i))l=n[a],l>=0&&(t[l].major=!0);return t}function $u(e,t,n){const i=[],s={},r=t.length;let o,a;for(o=0;o+t.value))}initOffsets(t){let n=0,i=0,s,r;this.options.offset&&t.length&&(s=this.getDecimalForValue(t[0]),t.length===1?n=1-s:n=(this.getDecimalForValue(t[1])-s)/2,r=this.getDecimalForValue(t[t.length-1]),t.length===1?i=r:i=(r-this.getDecimalForValue(t[t.length-2]))/2);const o=t.length<3?.5:.25;n=Jt(n,0,o),i=Jt(i,0,o),this._offsets={start:n,end:i,factor:1/(n+1+i)}}_generate(){const t=this._adapter,n=this.min,i=this.max,s=this.options,r=s.time,o=r.unit||Vu(r.minUnit,n,i,this._getLabelCapacity(n)),a=yt(r.stepSize,1),l=o==="week"?r.isoWeekday:!1,c=hi(l)||l===!0,u={};let d=n,f,h;if(c&&(d=+t.startOf(d,"isoWeek",l)),d=+t.startOf(d,c?"day":o),t.diff(i,n,o)>1e5*a)throw new Error(n+" and "+i+" are too far apart with stepSize of "+a+" "+o);const g=s.ticks.source==="data"&&this.getDataTimestamps();for(f=d,h=0;fm-_).map(m=>+m)}getLabelForValue(t){const n=this._adapter,i=this.options.time;return i.tooltipFormat?n.format(t,i.tooltipFormat):n.format(t,i.displayFormats.datetime)}_tickFormatFunction(t,n,i,s){const r=this.options,o=r.time.displayFormats,a=this._unit,l=this._majorUnit,c=a&&o[a],u=l&&o[l],d=i[n],f=l&&u&&d&&d.major,h=this._adapter.format(t,s||(f?u:c)),g=r.ticks.callback;return g?Pt(g,[h,n,i],this):h}generateTickLabels(t){let n,i,s;for(n=0,i=t.length;n0?a:1}getDataTimestamps(){let t=this._cache.data||[],n,i;if(t.length)return t;const s=this.getMatchingVisibleMetas();if(this._normalized&&s.length)return this._cache.data=s[0].controller.getAllParsedValues(this);for(n=0,i=s.length;n=e[i].pos&&t<=e[s].pos&&({lo:i,hi:s}=Hn(e,"pos",t)),{pos:r,time:a}=e[i],{pos:o,time:l}=e[s]):(t>=e[i].time&&t<=e[s].time&&({lo:i,hi:s}=Hn(e,"time",t)),{time:r,pos:a}=e[i],{time:o,pos:l}=e[s]);const c=o-r;return c?a+(l-a)*(t-r)/c:a}class Oh extends zr{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=Ls(n,this.min),this._tableRange=Ls(n,this.max)-this._minPos,super.initOffsets(t)}buildLookupTable(t){const{min:n,max:i}=this,s=[],r=[];let o,a,l,c,u;for(o=0,a=t.length;o=n&&c<=i&&s.push(c);if(s.length<2)return[{time:n,pos:0},{time:i,pos:1}];for(o=0,a=s.length;o{i=new hr(n.value,{type:"line",data:t.data,options:{responsive:!0,maintainAspectRatio:!1,scales:{y:{display:!1},x:{display:!0}},plugins:{legend:{display:!1}}}})});const s=it(()=>t.data);return Fn(s,r=>{i&&(i.data=r,i.update())}),(r,o)=>(N(),nt("canvas",{ref_key:"root",ref:n},null,512))}},hv="darkMode",Ph="style",rl="xl:max-w-6xl xl:mx-auto",pv={__name:"SectionMain",setup(e){return(t,n)=>(N(),nt("section",{class:lt(["p-6",k(rl)])},[jt(t.$slots,"default")],2))}};var Lh={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()})(m0,function(){var t,n,i="2.0.6",s={},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,d,f,h;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(d in s)if(h=typeof s[d].regexps.unformat=="function"?s[d].regexps.unformat():s[d].regexps.unformat,h&&c.match(h)){f=s[d].unformat;break}f=f||t._.stringToNumber,u=f(c)}else u=Number(c)||null;return new l(c,u)},t.version=i,t.isNumeral=function(c){return c instanceof l},t._=n={numberToFormat:function(c,u,d){var f=r[t.options.currentLocale],h=!1,g=!1,m=0,_="",y=1e12,S=1e9,M=1e6,E=1e3,A="",P=!1,C,w,L,U,q,O,Z;if(c=c||0,w=Math.abs(c),t._.includes(u,"(")?(h=!0,u=u.replace(/[\(|\)]/g,"")):(t._.includes(u,"+")||t._.includes(u,"-"))&&(q=t._.includes(u,"+")?u.indexOf("+"):c<0?u.indexOf("-"):-1,u=u.replace(/[\+|\-]/g,"")),t._.includes(u,"a")&&(C=u.match(/a(k|m|b|t)?/),C=C?C[1]:!1,t._.includes(u," a")&&(_=" "),u=u.replace(new RegExp(_+"a[kmbt]?"),""),w>=y&&!C||C==="t"?(_+=f.abbreviations.trillion,c=c/y):w=S&&!C||C==="b"?(_+=f.abbreviations.billion,c=c/S):w=M&&!C||C==="m"?(_+=f.abbreviations.million,c=c/M):(w=E&&!C||C==="k")&&(_+=f.abbreviations.thousand,c=c/E)),t._.includes(u,"[.]")&&(g=!0,u=u.replace("[.]",".")),L=c.toString().split(".")[0],U=u.split(".")[1],O=u.indexOf(","),m=(u.split(".")[0].split(",")[0].match(/0/g)||[]).length,U?(t._.includes(U,"[")?(U=U.replace("]",""),U=U.split("["),A=t._.toFixed(c,U[0].length+U[1].length,d,U[1].length)):A=t._.toFixed(c,U.length,d),L=A.split(".")[0],t._.includes(A,".")?A=f.delimiters.decimal+A.split(".")[1]:A="",g&&Number(A.slice(1))===0&&(A="")):L=t._.toFixed(c,0,d),_&&!C&&Number(L)>=1e3&&_!==f.abbreviations.trillion)switch(L=String(Number(L)/1e3),_){case f.abbreviations.thousand:_=f.abbreviations.million;break;case f.abbreviations.million:_=f.abbreviations.billion;break;case f.abbreviations.billion:_=f.abbreviations.trillion;break}if(t._.includes(L,"-")&&(L=L.slice(1),P=!0),L.length0;ot--)L="0"+L;return O>-1&&(L=L.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1"+f.delimiters.thousands)),u.indexOf(".")===0&&(L=""),Z=L+A+(_||""),h?Z=(h&&P?"(":"")+Z+(h&&P?")":""):q>=0?Z=q===0?(P?"-":"+")+Z:Z+(P?"-":"+"):P&&(Z="-"+Z),Z},stringToNumber:function(c){var u=r[a.currentLocale],d=c,f={thousand:3,million:6,billion:9,trillion:12},h,g,m;if(a.zeroFormat&&c===a.zeroFormat)g=0;else if(a.nullFormat&&c===a.nullFormat||!c.replace(/[^0-9]+/g,"").length)g=null;else{g=1,u.delimiters.decimal!=="."&&(c=c.replace(/\./g,"").replace(u.delimiters.decimal,"."));for(h in f)if(m=new RegExp("[^a-zA-Z]"+u.abbreviations[h]+"(?:\\)|(\\"+u.currency.symbol+")?(?:\\))?)?$"),d.match(m)){g*=Math.pow(10,f[h]);break}g*=(c.split("-").length+Math.min(c.split("(").length-1,c.split(")").length-1))%2?1:-1,c=c.replace(/[^0-9\.]+/g,""),g*=Number(c)}return g},isNaN:function(c){return typeof c=="number"&&isNaN(c)},includes:function(c,u){return c.indexOf(u)!==-1},insert:function(c,u,d){return c.slice(0,d)+u+c.slice(d)},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 d=Object(c),f=d.length>>>0,h=0,g;if(arguments.length===3)g=arguments[2];else{for(;h=f)throw new TypeError("Reduce of empty array with no initial value");g=d[h++]}for(;hf?u:f},1)},toFixed:function(c,u,d,f){var h=c.toString().split("."),g=u-(f||0),m,_,y,S;return h.length===2?m=Math.min(Math.max(h[1].length,g),u):m=g,y=Math.pow(10,m),S=(d(c+"e+"+m)/y).toFixed(m),f>u-m&&(_=new RegExp("\\.?0{1,"+(f-(u-m))+"}$"),S=S.replace(_,"")),S}},t.options=a,t.formats=s,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,d){if(u=u.toLowerCase(),this[c+"s"][u])throw new TypeError(u+" "+c+" already registered.");return this[c+"s"][u]=d,d},t.validate=function(c,u){var d,f,h,g,m,_,y,S;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{y=t.localeData(u)}catch{y=t.localeData(t.locale())}return h=y.currency.symbol,m=y.abbreviations,d=y.delimiters.decimal,y.delimiters.thousands==="."?f="\\.":f=y.delimiters.thousands,S=c.match(/^[^\d]+/),S!==null&&(c=c.substr(1),S[0]!==h)||(S=c.match(/[^\d]+$/),S!==null&&(c=c.slice(0,-1),S[0]!==m.thousand&&S[0]!==m.million&&S[0]!==m.billion&&S[0]!==m.trillion))?!1:(_=new RegExp(f+"{2}"),c.match(/[^\d.,]/g)?!1:(g=c.split(d),g.length>2?!1:g.length<2?!!g[0].match(/^\d+.*\d$/)&&!g[0].match(_):g[0].length===1?!!g[0].match(/^\d+$/)&&!g[0].match(_)&&!!g[1].match(/^\d+$/):!!g[0].match(/^\d+.*\d$/)&&!g[0].match(_)&&!!g[1].match(/^\d+$/)))},t.fn=l.prototype={clone:function(){return t(this)},format:function(c,u){var d=this._value,f=c||a.defaultFormat,h,g,m;if(u=u||Math.round,d===0&&a.zeroFormat!==null)g=a.zeroFormat;else if(d===null&&a.nullFormat!==null)g=a.nullFormat;else{for(h in s)if(f.match(s[h].regexps.format)){m=s[h].format;break}m=m||t._.numberToFormat,g=m(d,f,u)}return g},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 d(f,h,g,m){return f+Math.round(u*h)}return this._value=n.reduce([this._value,c],d,0)/u,this},subtract:function(c){var u=n.correctionFactor.call(null,this._value,c);function d(f,h,g,m){return f-Math.round(u*h)}return this._value=n.reduce([c],d,Math.round(this._value*u))/u,this},multiply:function(c){function u(d,f,h,g){var m=n.correctionFactor(d,f);return Math.round(d*m)*Math.round(f*m)/Math.round(m*m)}return this._value=n.reduce([this._value,c],u,1),this},divide:function(c){function u(d,f,h,g){var m=n.correctionFactor(d,f);return Math.round(d*m)/Math.round(f*m)}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,d){var f=t._.includes(u," BPS")?" ":"",h;return c=c*1e4,u=u.replace(/\s?BPS/,""),h=t._.numberToFormat(c,u,d),t._.includes(h,")")?(h=h.split(""),h.splice(-1,0,f+"BPS"),h=h.join("")):h=h+f+"BPS",h},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"]},d=c.suffixes.concat(u.suffixes.filter(function(h){return c.suffixes.indexOf(h)<0})),f=d.join("|");f="("+f.replace("B","B(?!PS)")+")",t.register("format","bytes",{regexps:{format:/([0\s]i?b)/,unformat:new RegExp(f)},format:function(h,g,m){var _,y=t._.includes(g,"ib")?u:c,S=t._.includes(g," b")||t._.includes(g," ib")?" ":"",M,E,A;for(g=g.replace(/\s?i?b/,""),M=0;M<=y.suffixes.length;M++)if(E=Math.pow(y.base,M),A=Math.pow(y.base,M+1),h===null||h===0||h>=E&&h0&&(h=h/E);break}return _=t._.numberToFormat(h,g,m),_+S},unformat:function(h){var g=t._.stringToNumber(h),m,_;if(g){for(m=c.suffixes.length-1;m>=0;m--){if(t._.includes(h,c.suffixes[m])){_=Math.pow(c.base,m);break}if(t._.includes(h,u.suffixes[m])){_=Math.pow(u.base,m);break}}g*=_||1}return g}})}(),function(){t.register("format","currency",{regexps:{format:/(\$)/},format:function(c,u,d){var f=t.locales[t.options.currentLocale],h={before:u.match(/^([\+|\-|\(|\s|\$]*)/)[0],after:u.match(/([\+|\-|\)|\s|\$]*)$/)[0]},g,m,_;for(u=u.replace(/\s?\$\s?/,""),g=t._.numberToFormat(c,u,d),c>=0?(h.before=h.before.replace(/[\-\(]/,""),h.after=h.after.replace(/[\-\)]/,"")):c<0&&!t._.includes(h.before,"-")&&!t._.includes(h.before,"(")&&(h.before="-"+h.before),_=0;_=0;_--)switch(m=h.after[_],m){case"$":g=_===h.after.length-1?g+f.currency.symbol:t._.insert(g,f.currency.symbol,-(h.after.length-(1+_)));break;case" ":g=_===h.after.length-1?g+" ":t._.insert(g," ",-(h.after.length-(1+_)+f.currency.symbol.length-1));break}return g}})}(),function(){t.register("format","exponential",{regexps:{format:/(e\+|e-)/,unformat:/(e\+|e-)/},format:function(c,u,d){var f,h=typeof c=="number"&&!t._.isNaN(c)?c.toExponential():"0e+0",g=h.split("e");return u=u.replace(/e[\+|\-]{1}0/,""),f=t._.numberToFormat(Number(g[0]),u,d),f+"e"+g[1]},unformat:function(c){var u=t._.includes(c,"e+")?c.split("e+"):c.split("e-"),d=Number(u[0]),f=Number(u[1]);f=t._.includes(c,"e-")?f*=-1:f;function h(g,m,_,y){var S=t._.correctionFactor(g,m),M=g*S*(m*S)/(S*S);return M}return t._.reduce([d,Math.pow(10,f)],h,1)}})}(),function(){t.register("format","ordinal",{regexps:{format:/(o)/},format:function(c,u,d){var f=t.locales[t.options.currentLocale],h,g=t._.includes(u," o")?" ":"";return u=u.replace(/\s?o/,""),g+=f.ordinal(c),h=t._.numberToFormat(c,u,d),h+g}})}(),function(){t.register("format","percentage",{regexps:{format:/(%)/,unformat:/(%)/},format:function(c,u,d){var f=t._.includes(u," %")?" ":"",h;return t.options.scalePercentBy100&&(c=c*100),u=u.replace(/\s?\%/,""),h=t._.numberToFormat(c,u,d),t._.includes(h,")")?(h=h.split(""),h.splice(-1,0,f+"%"),h=h.join("")):h=h+f+"%",h},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,d){var f=Math.floor(c/60/60),h=Math.floor((c-f*60*60)/60),g=Math.round(c-f*60*60-h*60);return f+":"+(h<10?"0"+h:h)+":"+(g<10?"0"+g:g)},unformat:function(c){var u=c.split(":"),d=0;return u.length===3?(d=d+Number(u[0])*60*60,d=d+Number(u[1])*60,d=d+Number(u[2])):u.length===2&&(d=d+Number(u[0])*60,d=d+Number(u[1])),Number(d)}})}(),t})})(Lh);const gv=Lh.exports,mv={__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=Kt(0),i=it(()=>n.value<1e3?n.value:gv(n.value).format("0,0")),s=it(()=>t.value),r=a=>{const l=Math.ceil(n.value+a);if(l>s.value)return n.value=s.value,!1;n.value=l,setTimeout(()=>{r(a)},25)},o=()=>{n.value=0,r(t.value/(t.duration/25))};return Fn(s,()=>{o()}),vi(()=>{o()}),(a,l)=>(N(),nt("div",null,vt(e.prefix)+vt(k(i))+vt(e.suffix),1))}},bv={__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:hf,style:"success"}:t.trendType==="down"?{icon:ff,style:"danger"}:t.trendType==="alert"?{icon:Ym,style:"warning"}:{style:"info"});return(i,s)=>(N(),pt(ze,{label:e.trend,color:k(n).style,icon:k(n).icon,small:e.small},null,8,["label","color","icon","small"]))}},_v={class:"text-3xl leading-tight font-semibold"},To={__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:"text-gray-500 dark:text-slate-400"},numColor:{type:String,default:""},trend:{type:String,default:null},trendType:{type:String,default:null}},setup(e){return(t,n)=>(N(),pt(ji,null,{default:ht(()=>[e.trend?(N(),pt(Ye,{key:0,class:"mb-3",mobile:""},{default:ht(()=>[$(bv,{trend:e.trend,"trend-type":e.trendType,small:""},null,8,["trend","trend-type"])]),_:1})):Tt("",!0),$(Ye,{mobile:""},{default:ht(()=>[V("div",null,[V("h3",{class:lt([e.color,"text-lg leading-tight"])},vt(e.label),3),V("h1",_v,[e.number?(N(),pt(mv,{key:0,class:lt(e.numColor),value:e.number,prefix:e.prefix,suffix:e.suffix},null,8,["class","value","prefix","suffix"])):Tt("",!0),jt(t.$slots,"default")])]),e.icon?(N(),pt(oe,{key:0,path:e.icon,size:"48",w:"",h:"h-16",class:lt(e.color)},null,8,["path","class"])):Tt("",!0)]),_:3})]),_:3}))}},gs={__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=it(()=>t.as?t.as:t.to?kr:t.href?"a":"button"),i=it(()=>{var o;return n.value==="button"?(o=t.type)!=null?o:"button":null}),s=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",Bf(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)=>(N(),pt(Er(k(n)),{class:lt(k(r)),href:e.href,type:k(i),to:e.to,target:e.target,disabled:e.disabled},{default:ht(()=>[e.icon?(N(),pt(oe,{key:0,path:e.icon,size:e.iconSize},null,8,["path","size"])):Tt("",!0),e.label?(N(),nt("span",{key:1,class:lt(k(s))},vt(e.label),3)):Tt("",!0)]),_:1},8,["class","href","type","to","target","disabled"]))}},yv=["src"],xv={__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(i,s)=>(N(),nt("span",{class:lt(k(n))},[V("img",{src:e.path,class:lt(["rounded-full",`${e.w}`])},null,10,yv),jt(i.$slots,"default")],2))}},vv={class:"relative w-full h-full bg-white dark:bg-slate-900/70 rounded-2xl"},Av={class:"text-center space-y-1 md:text-left md:mr-6"},Sv={class:"md:flex md:items-center mb-4 md:mb-0 md:space-x-2"},Mv={class:"text-xl"},Ev={class:"text-lg"},Rv={class:"text-center md:text-right"},wv={class:"text-sm text-gray-400"},Iv={__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=df(),i=it(()=>t.type==="plays"?{type:"success"}:t.type==="scores"?{type:"danger"}:t.type==="ranking"?{type:"warning"}:{type:"info"});function s(){n.push(`/games/${t.game}`)}const r=Vb(t.game),o=` - background-image: linear-gradient(to left, transparent, rgba(0, 0, 0, 1)), - url('${r.cardBG}'); - background-size: cover; - background-repeat: no-repeat; -`;return(a,l)=>(N(),nt("button",{class:"flex rounded-2xl hover:outline outline-blue-500/50 hover:bg-slate-500 hover:dark:bg-slate-950 transition-all duration-50",style:o,onClick:l[0]||(l[0]=c=>s())},[V("div",vv,[$(Nf,null,{default:ht(()=>[$(Ye,null,{default:ht(()=>[$(Ye,{type:"justify-start"},{default:ht(()=>[$(xv,{class:"md:mr-6",path:k(r).icon},null,8,["path"]),V("div",Av,[V("div",Sv,[V("h2",Mv,vt(k(r).name),1),$(ze,{color:k(i).type,label:e.type,small:""},null,8,["color","label"])]),V("h4",Ev,vt(e.value),1)])]),_:1}),V("div",Rv,[V("p",wv,vt(e.profileName),1)])]),_:1})]),_:1})])]))}};var Hh=[];for(const e of Yo)if(!e.skip){const t=["overview","rivals","net_records","net_scores","my_records","my_scores"];var In=[];for(const n of t)n==="overview"?In.push({label:"Overview",to:`/games/${e.id}`}):n=="rivals"&&!e.noRivals?In.push({label:"Rivals",to:`/games/${e.id}/rivals`}):n=="net_records"&&!e.noRecords?In.push({label:"Network Records",to:`/games/${e.id}/records/all`}):n=="net_scores"&&!e.noScores?In.push({label:"Network Scores",to:`/games/${e.id}/scores/all`}):n=="my_records"&&!e.noRecords?In.push({label:"Personal Records",to:`/games/${e.id}/records/personal`}):n=="my_scores"&&!e.noScores&&In.push({label:"Personal Scores",to:`/games/${e.id}/scores/personal`});Hh.push({label:e.shortName?e.shortName:e.name,menu:In})}var Nh=[];for(const e of Bb)e.skip||Nh.push({label:e.name,menu:[{label:"Overview",to:`/arcade/${e.id}`},{label:"Event Settings",to:`/arcade/${e.id}/events`},{label:"Machine List",to:`/arcade/${e.id}/machines`},{label:"PASELI",to:`/arcade/${e.id}/paseli`}]});const Cv=[{to:"/",icon:l0,label:"Dashboard"},{to:"/news",icon:c0,label:"News"},{to:"/arcades",icon:g0,label:"Public Arcades"},{label:"My Arcades",icon:p0,menu:Nh},{label:"Games",icon:gf,menu:Hh}],Tv=[{isCurrentUser:!0,menu:[{icon:jm,label:"Settings",to:"/profile"},{icon:Zm,label:"Customizations",to:"/profile/customize"},{icon:h0,label:"Integrations",to:"/profile/integrate"},{icon:Jm,label:"Login Cards",to:"/profile/cards"}]},{to:"/goals",icon:pf,label:"Goals"},{icon:i0,label:"Edit Dashboard"},{icon:mf,label:"Log out",isLogout:!0}],Dv={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"},kv={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"},zu=Object.freeze(Object.defineProperty({__proto__:null,basic:Dv,white:kv},Symbol.toStringTag,{value:"Module"})),Wn=Jd("style",{state:()=>({asideStyle:"",asideScrollbarsStyle:"",asideBrandStyle:"",asideMenuItemStyle:"",asideMenuItemActiveStyle:"",asideMenuDropdownStyle:"",navBarItemLabelStyle:"",navBarItemLabelHoverStyle:"",navBarItemLabelActiveColorStyle:"",overlayStyle:"",darkMode:!1}),actions:{setStyle(e){if(!zu[e])return;typeof localStorage<"u"&&localStorage.setItem(Ph,e);const t=zu[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(hv,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"))}}}),Ov={__name:"BaseDivider",props:{navBar:Boolean},setup(e){const t=e;return(n,i)=>(N(),nt("hr",{class:lt([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))}},Pv={__name:"NavBarItem",props:{item:{type:Object,required:!0}},emits:["menu-click"],setup(e,{emit:t}){const n=e,i=it(()=>n.item.href?"a":n.item.to?kr:"div"),s=Wn(),r=it(()=>{const f=[a.value?`${s.navBarItemLabelActiveColorStyle} dark:text-slate-400`:`${s.navBarItemLabelStyle} dark:text-white dark:hover:text-slate-400 ${s.navBarItemLabelHoverStyle}`,n.item.menu?"lg:py-2 lg:px-3":"py-2 px-3"];return n.item.isDesktopNoLabel&&f.push("lg:w-16","lg:justify-center"),f}),o=it(()=>n.item.isCurrentUser?Si().userName:n.item.label),a=Kt(!1),l=f=>{t("menu-click",f,n.item),n.item.menu&&(a.value=!a.value)},c=(f,h)=>{t("menu-click",f,h)},u=Kt(null),d=f=>{u.value&&!u.value.contains(f.target)&&(a.value=!1)};return vi(()=>{n.item.menu&&window.addEventListener("click",d)}),Aa(()=>{n.item.menu&&window.removeEventListener("click",d)}),(f,h)=>{var g,m,_;return e.item.isDivider?(N(),pt(Ov,{key:0,"nav-bar":""})):(N(),pt(Er(k(i)),{key:1,ref_key:"root",ref:u,class:lt(["block lg:flex items-center relative cursor-pointer",k(r)]),to:(g=e.item.to)!=null?g:null,href:(m=e.item.href)!=null?m:null,target:(_=e.item.target)!=null?_:null,onClick:l},{default:ht(()=>[V("div",{class:lt(["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?(N(),pt(Hf,{key:0,class:"w-6 h-6 mr-3 inline-flex"})):Tt("",!0),e.item.icon?(N(),pt(oe,{key:1,path:e.item.icon,class:"transition-colors"},null,8,["path"])):Tt("",!0),V("span",{class:lt(["px-2 transition-colors",{"lg:hidden":e.item.isDesktopNoLabel&&e.item.icon}])},vt(k(o)),3),e.item.menu?(N(),pt(oe,{key:2,path:a.value?k(hf):k(ff),class:"hidden lg:inline-flex transition-colors"},null,8,["path"])):Tt("",!0)],2),e.item.menu?(N(),nt("div",{key:0,class:lt(["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}])},[$(Fh,{menu:e.item.menu,onMenuClick:c},null,8,["menu"])],2)):Tt("",!0)]),_:1},8,["class","to","href","target"]))}}},Fh={__name:"NavBarMenuList",props:{menu:{type:Array,default:()=>[]}},emits:["menu-click"],setup(e,{emit:t}){const n=(i,s)=>{t("menu-click",i,s)};return(i,s)=>(N(!0),nt(Ot,null,$n(e.menu,(r,o)=>(N(),pt(Pv,{key:o,item:r,onMenuClick:n},null,8,["item"]))),128))}},js={__name:"NavBarItemPlain",props:{display:{type:String,default:"flex"},useMargin:Boolean},setup(e){const t=Wn();return(n,i)=>(N(),nt("div",{class:lt([[e.display,k(t).navBarItemLabelStyle,k(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))}},Lv={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"},Hv={class:"flex flex-1 items-stretch h-14"},Nv={class:"flex-none items-stretch flex h-14 lg:hidden"},Fv={__name:"NavBar",props:{menu:{type:Array,required:!0}},emits:["menu-click"],setup(e,{emit:t}){const n=(s,r)=>{t("menu-click",s,r)},i=Kt(!1);return(s,r)=>(N(),nt("nav",Lv,[V("div",{class:lt(["flex lg:items-stretch",k(rl)])},[V("div",Hv,[jt(s.$slots,"default")]),V("div",Nv,[$(js,{onClick:r[0]||(r[0]=Qs(o=>i.value=!i.value,["prevent"]))},{default:ht(()=>[$(oe,{path:i.value?k(Ta):k(s0),size:"24"},null,8,["path"])]),_:1})]),V("div",{class:lt(["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",[i.value?"block":"hidden"]])},[$(Fh,{menu:e.menu,onMenuClick:n},null,8,["menu"])],2)],2)]))}},Bv="/favicon.png",Bh={__name:"AsideMenuItem",props:{item:{type:Object,required:!0},isDropdownList:Boolean},emits:["menu-click"],setup(e,{emit:t}){const n=e,i=Wn(),s=it(()=>n.item&&n.item.color),r=it(()=>s.value?"":i.asideMenuItemActiveStyle),o=Kt(!1),a=it(()=>[n.isDropdownList?"py-3 px-6 text-sm":"py-3",s.value?Bf(n.item.color,!1,!0):`${i.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,d)=>{var f,h,g;return N(),nt("li",null,[(N(),pt(Er(e.item.to?k(kr):"a"),{to:(f=e.item.to)!=null?f:null,href:(h=e.item.href)!=null?h:null,target:(g=e.item.target)!=null?g:null,class:lt(["flex cursor-pointer",k(a)]),onClick:c},{default:ht(m=>[e.item.icon?(N(),pt(oe,{key:0,path:e.item.icon,class:lt(["flex-none",[m&&m.isExactActive?k(r):""]]),w:"w-16",size:18},null,8,["path","class"])):Tt("",!0),V("span",{class:lt(["grow text-ellipsis line-clamp-1",[{"pr-12":!k(l)},m&&m.isExactActive?k(r):""]])},vt(e.item.label),3),k(l)?(N(),pt(oe,{key:1,path:o.value?k(a0):k(u0),class:lt(["flex-none",[m&&m.isExactActive?k(r):""]]),w:"w-12"},null,8,["path","class"])):Tt("",!0)]),_:1},8,["to","href","target","class"])),k(l)?(N(),pt(Vh,{key:0,menu:e.item.menu,class:lt([k(i).asideMenuDropdownStyle,o.value?"block dark:bg-slate-800/50":"hidden"]),"is-dropdown-list":""},null,8,["menu","class"])):Tt("",!0)])}}},Vh={__name:"AsideMenuList",props:{isDropdownList:Boolean,menu:{type:Array,required:!0}},emits:["menu-click"],setup(e,{emit:t}){const n=(i,s)=>{t("menu-click",i,s)};return(i,s)=>(N(),nt("ul",null,[(N(!0),nt(Ot,null,$n(e.menu,(r,o)=>(N(),pt(Bh,{key:o,item:r,"is-dropdown-list":e.isDropdownList,onMenuClick:n},null,8,["item","is-dropdown-list"]))),128))]))}},Vv={id:"aside",class:"lg:py-2 lg:pl-2 w-60 fixed flex z-40 top-0 h-screen transition-position overflow-hidden"},Uv={class:"dark:bg-slate-900"},$v=B1('

PhaseII eAmusement Network


',2),zv=["onClick"],jv={class:"invisible lg:visible"},Xv={__name:"AsideMenuLayer",props:{menu:{type:Array,required:!0}},emits:["menu-click","aside-lg-close-click"],setup(e,{emit:t}){const n=Wn(),i=it(()=>({label:"Log out",icon:mf,color:"info",isLogout:!0})),s=(o,a)=>{t("menu-click",o,a)},r=o=>{t("aside-lg-close-click",o)};return(o,a)=>(N(),nt("aside",Vv,[V("div",{class:lt([k(n).asideStyle,"lg:rounded-2xl flex-1 flex flex-col overflow-hidden dark:bg-slate-900"])},[V("div",Uv,[$v,V("button",{class:"hidden lg:inline-block xl:hidden p-3",onClick:Qs(r,["prevent"])},[$(oe,{path:k(Ta)},null,8,["path"])],8,zv)]),V("div",{class:lt([k(n).darkMode?"aside-scrollbars-[slate]":k(n).asideScrollbarsStyle,"flex-1 overflow-y-auto overflow-x-hidden"])},[$(Vh,{menu:e.menu,onMenuClick:s},null,8,["menu"])],2),V("ul",jv,[$(Bh,{item:k(i),onMenuClick:s},null,8,["item"])])],2)]))}},Wv={__name:"OverlayLayer",props:{zIndex:{type:String,default:"z-50"},type:{type:String,default:"flex"}},emits:["overlay-click"],setup(e,{emit:t}){const n=s=>{t("overlay-click",s)},i=Wn();return(s,r)=>(N(),nt("div",{class:lt([[e.type,e.zIndex],"items-center flex-col justify-center overflow-hidden fixed inset-0"])},[$(Js,{"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:ht(()=>[V("div",{class:lt(["absolute inset-0 bg-gradient-to-tr opacity-90 dark:from-gray-700 dark:via-gray-900 dark:to-gray-700",k(i).overlayStyle]),onClick:n},null,2)]),_:1}),$(Js,{"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:ht(()=>[jt(s.$slots,"default")]),_:3})],2))}},Gv={__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=(s,r)=>{t("menu-click",s,r)},i=s=>{t("aside-lg-close-click",s)};return(s,r)=>(N(),nt(Ot,null,[$(Xv,{menu:e.menu,class:lt([e.isAsideMobileExpanded?"left-0":"-left-60 lg:left-0",{"lg:hidden xl:flex":!e.isAsideLgActive}]),onMenuClick:n,onAsideLgCloseClick:i},null,8,["menu","class"]),b1($(Wv,{"z-index":"z-30",onOverlayClick:i},null,512),[[wg,e.isAsideLgActive]])],64))}},Kv=V("div",{class:"text-center md:text-left"},[V("p",null,[We(" Made with \u2764\uFE0F by the PhaseII Team. Based on JustBoil's "),V("a",{class:"text-blue-400 hover:text-blue-600",href:"https://github.com/justboil/admin-one-vue-tailwind"},"Admin One"),We(". ")])],-1),Yv={class:"md:py-2"},qv={__name:"FooterBar",setup(e){return(t,n)=>(N(),nt("footer",{class:lt(["py-2 px-6",k(rl)])},[$(Ye,null,{default:ht(()=>[Kv,V("div",Yv,[$(gs,{color:"info",href:"https://paypal.me/trmazi",label:"Donate",icon:k(Qm),"icon-size":"24"},null,8,["icon"])])]),_:1})],2))}};const Zv={class:"animated animatedFadeInUp fadeInUp"},Jv={__name:"LayoutAuthenticated",setup(e){Si().setUser({name:"Trmazi",email:"sex@sex.com",avatar:"https://cdn.discordapp.com/avatars/372530806628941824/a2d1b66d0e2100a571305b8281c26f8b"});const t="xl:pl-60",n=Wn(),i=df(),s=Vm(),r=Kt(!1),o=Kt(!1);i.beforeEach(()=>{r.value=!1,o.value=!1});const a=(l,c)=>{c.isLogout};return(l,c)=>(N(),nt("div",{key:k(s).fullPath,class:lt({dark:k(n).darkMode,"overflow-hidden lg:overflow-visible":r.value})},[V("div",{class:lt([[t,{"ml-60 lg:ml-0":r.value}],"pt-14 min-h-screen w-screen lg:w-auto bg-gray-50 dark:bg-slate-800 dark:text-slate-100"])},[$(Fv,{menu:k(Tv),class:lt([t,{"ml-60 lg:ml-0":r.value}]),onMenuClick:a},{default:ht(()=>[$(js,{display:"flex lg:hidden",onClick:c[0]||(c[0]=Qs(u=>r.value=!r.value,["prevent"]))},{default:ht(()=>[$(oe,{path:r.value?k(qm):k(r0),size:"24"},null,8,["path"])]),_:1}),$(js,{display:"hidden lg:flex xl:hidden",onClick:c[1]||(c[1]=Qs(u=>o.value=!0,["prevent"]))},{default:ht(()=>[$(oe,{path:k(o0),size:"24"},null,8,["path"])]),_:1}),$(js,{"use-margin":""})]),_:1},8,["menu","class"]),$(Gv,{"is-aside-mobile-expanded":r.value,"is-aside-lg-active":o.value,menu:k(Cv),onMenuClick:a,onAsideLgCloseClick:c[2]||(c[2]=u=>o.value=!1)},null,8,["is-aside-mobile-expanded","is-aside-lg-active","menu"]),V("div",Zv,[jt(l.$slots,"default"),$(qv)])],2)],2))}},Qv={__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)=>(N(),pt(oe,{path:e.icon,w:e.w,h:e.h,size:"24",class:lt(["rounded-full",e.bg?k(Ba)[e.color]:[k(on)[e.color],"bg-gray-50 dark:bg-slate-800"]])},null,8,["path","w","h","class"]))}},tA={class:"flex items-center justify-start"},Pi={__name:"SectionTitleLine",props:{icon:{type:String,default:null},title:{type:String,required:!0},main:Boolean},setup(e){const t=it(()=>wa().default);return(n,i)=>(N(),nt("section",{class:lt([{"pt-6":!e.main},"mb-6 flex items-center justify-between"])},[V("div",tA,[e.icon&&e.main?(N(),pt(Qv,{key:0,icon:e.icon,color:"light",class:"mr-3",bg:""},null,8,["icon"])):e.icon?(N(),pt(oe,{key:1,path:e.icon,class:"mr-2",size:"20"},null,8,["path"])):Tt("",!0),V("h1",{class:lt([e.main?"text-3xl":"text-2xl","leading-tight"])},vt(e.title),3)]),k(t)?jt(n.$slots,"default",{key:0}):Tt("",!0)],2))}},Uh=Ar({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),Ge("div",{class:t},e?this.$slots.default().map(n=>n&&n.children&&typeof n.children=="object"?Ge(n,{},n.children.map(i=>Ge(i,{class:[this.classAddon]}))):Ge(n,{class:[this.classAddon]})):null)}}),eA=V("thead",null,[V("tr",null,[V("th"),V("th",null,"User"),V("th",null,"Profile"),V("th",null,"Game"),V("th",null,"Type")])],-1),nA=V("td",{"data-label":"User"},"Trmazi",-1),iA=V("td",{"data-label":"Profile"},"TRMAZI",-1),sA=V("td",{"data-label":"Game"},"SOUND VOLTEX",-1),rA=V("td",{"data-label":"Type",class:"lg:w-32"},"You Rival",-1),oA={class:"p-3 lg:px-6 border-t border-gray-100 dark:border-slate-800"},aA={__name:"TableRivalsFull",setup(e){const t=Si(),n=it(()=>t.clients),i=Kt(5),s=Kt(0),r=it(()=>n.value.slice(i.value*s.value,i.value*(s.value+1))),o=it(()=>Math.ceil(n.value.length/i.value)),a=it(()=>s.value+1),l=it(()=>{const u=[];for(let d=0;d(N(),nt(Ot,null,[V("table",null,[eA,V("tbody",null,[(N(!0),nt(Ot,null,$n(k(r),f=>(N(),nt("tr",{key:f.id},[V("td",{class:"border-b-0 lg:w-6 before:hidden",style:ls(c("pride"))},[$(Lf,{username:"",class:"w-24 h-24 mx-auto lg:w-6 lg:h-6"})],4),nA,iA,sA,rA]))),128))])]),V("div",oA,[$(Ye,null,{default:ht(()=>[$(Uh,null,{default:ht(()=>[(N(!0),nt(Ot,null,$n(k(l),f=>(N(),pt(gs,{key:f,active:f===s.value,label:f+1,color:f===s.value?"lightDark":"whiteDark",small:"",onClick:h=>s.value=f},null,8,["active","label","color","onClick"]))),128))]),_:1}),V("small",null,"Page "+vt(k(a))+" of "+vt(k(o)),1)]),_:1})])],64))}},lA=V("th",null,"Game",-1),cA=V("th",null,"Goal",-1),uA={key:0},dA={key:1},fA={key:2},hA={key:3},pA={"data-label":"Game"},gA={"data-label":"Goal"},mA={key:0,"data-label":"Status"},bA={key:1,"data-label":"Result"},_A={key:2,"data-label":"Time Remaining"},yA={key:3,"data-label":"Deadline"},xA={class:"p-3 lg:px-6 border-t border-gray-100 dark:border-slate-800"},vA={__name:"TableGoals",props:{goals:{type:Object,required:!0},isPast:{type:Boolean,default:!1}},setup(e){const t=e,n=Kt(5),i=Kt(0),s=it(()=>t.goals.slice(n.value*i.value,n.value*(i.value+1))),r=it(()=>Math.ceil(t.goals.length/n.value)),o=it(()=>i.value+1),a=it(()=>{const l=[];for(let c=0;c(N(),nt(Ot,null,[V("table",null,[V("thead",null,[V("tr",null,[lA,cA,e.isPast?(N(),nt("th",dA,"Result")):(N(),nt("th",uA,"Status")),e.isPast?(N(),nt("th",hA,"Deadline")):(N(),nt("th",fA,"Time Remaining"))])]),V("tbody",null,[(N(!0),nt(Ot,null,$n(k(s),u=>(N(),nt("tr",{key:u.id},[V("td",pA,vt(u.game),1),V("td",gA,vt(u.goal.replace("# of",u.value)),1),e.isPast?(N(),nt("td",bA,vt(u.status),1)):(N(),nt("td",mA,vt(u.status),1)),e.isPast?(N(),nt("td",yA,vt(u.deadline),1)):(N(),nt("td",_A,vt(u.deadline),1))]))),128))])]),V("div",xA,[$(Ye,null,{default:ht(()=>[$(Uh,null,{default:ht(()=>[(N(!0),nt(Ot,null,$n(k(a),u=>(N(),pt(gs,{key:u,active:u===i.value,label:u+1,color:u===i.value?"lightDark":"whiteDark",small:"",onClick:d=>i.value=u},null,8,["active","label","color","onClick"]))),128))]),_:1}),V("small",null,"Page "+vt(k(o))+" of "+vt(k(r)),1)]),_:1})])],64))}},AA={class:"flex flex-col md:flex-row items-center"},SA={class:"text-center md:text-left md:py-2"},MA={__name:"NotificationBar",props:{icon:{type:String,default:null},outline:{type:Boolean,default:!0},color:{type:String,required:!0}},setup(e){const t=e,n=it(()=>t.outline?Ff[t.color]:Ba[t.color]),i=Kt(!1),s=()=>{i.value=!0},r=wa(),o=it(()=>r.right);return(a,l)=>i.value?Tt("",!0):(N(),nt("div",{key:0,class:lt([k(n),"px-3 py-3 md:py-3 last:mb-0 border rounded-lg transition-colors duration-150"])},[$(Ye,null,{default:ht(()=>[V("div",AA,[e.icon?(N(),pt(oe,{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"])):Tt("",!0),V("span",SA,[jt(a.$slots,"default")])]),k(o)?jt(a.$slots,"right",{key:0}):(N(),pt(gs,{key:1,icon:k(Ta),small:"","rounded-full":"",color:"white",onClick:s},null,8,["icon"]))]),_:3})],2))}},EA=V("h2",{class:"pb-4 text-4xl lg:text-5xl"},[We("Welcome to "),V("samp",null,"PhaseII")],-1),RA={class:"my-6"},wA=V("a",{href:"#/news",class:"text-blue-300 hover:underline"},"View now",-1),IA={class:"grid grid-cols-1 gap-6 lg:grid-cols-3 mb-6"},CA={class:"grid grid-flow-row auto-rows-auto grid-cols-1 md:grid-cols-2 gap-5 mb-5"},TA={class:"mb-6"},DA={key:0},kA={__name:"HomeView",setup(e){const t=Kt(null),n=()=>{t.value=Qb()};vi(()=>{n()});const i=[{game:"DanceDance Revolution",type:"Rank",goal:"Top 10 Ranking",status:"#10 of 132",deadline:"3 Weeks"},{game:"pop'n music",type:"Plays",goal:"100 Plays",status:"2 Plays Since Creation",deadline:"1 Week"}],s=[{id:K.IIDX,username:"DJ. TRMAZI",type:"ranking",value:"#22 of 330"},{id:K.DDR,username:"TRMAZI",type:"scores",value:233},{id:K.POPN_MUSIC,username:"TRMAZI",type:"plays",value:69},{id:K.SDVX,username:"TRMAZI",type:"scores",value:420}];return(r,o)=>(N(),pt(Jv,null,{default:ht(()=>[$(pv,null,{default:ht(()=>[EA,$(qb,{class:"mb-6"}),V("div",RA,[$(MA,{color:"info"},{right:ht(()=>[wA]),default:ht(()=>[We(" You have unread news! ")]),_:1})]),$(Pi,{icon:k(e0),title:"Quick Stats",main:""},null,8,["icon"]),V("div",IA,[$(To,{trend:"12% (from last week)","trend-type":"up",number:37,label:"Scores (This week)"}),$(To,{trend:"12%","trend-type":"down",number:770,prefix:"\xA2",label:"PhaseCoin"}),$(To,{trend:"None Completed","trend-type":"alert",number:2,label:"Active Goals"})]),$(Pi,{icon:k(gf),title:"Game Stats",main:""},null,8,["icon"]),V("div",CA,[(N(),nt(Ot,null,$n(s,a=>$(Iv,{key:a.id,game:a.id,value:a.value,"profile-name":a.username,type:a.type},null,8,["game","value","profile-name","type"])),64))]),$(Pi,{icon:k(pf),title:"Active Goals",main:""},null,8,["icon"]),V("div",TA,[$(ji,{"has-table":""},{default:ht(()=>[$(vA,{goals:i})]),_:1})]),$(Pi,{icon:k(t0),title:"Play Trends",main:""},{default:ht(()=>[$(gs,{icon:k(d0),color:"whiteDark",onClick:n},null,8,["icon"])]),_:1},8,["icon"]),$(ji,{class:"mb-6"},{default:ht(()=>[$(ze,{label:"Scores (7-Day Period)",color:"info",icon:k(bf)},null,8,["icon"]),t.value?(N(),nt("div",DA,[$(fv,{data:t.value,class:"h-96"},null,8,["data"])])):Tt("",!0)]),_:1}),$(Pi,{icon:k(Wm),title:"Rivals",main:""},null,8,["icon"]),$(ji,{"has-table":""},{default:ht(()=>[$(aA)]),_:1})]),_:1})]),_:1}))}},OA=[{meta:{title:"Dashboard"},path:"/",name:"dashboard",component:kA},{meta:{title:"News"},path:"/news",name:"news",component:()=>Ft(()=>import("./NewsView.c5e76864.js"),["assets/NewsView.c5e76864.js","assets/CardBoxComponentEmpty.1ecaf60a.js","assets/news.b9c16f1f.js"])},{meta:{title:"News Post"},path:"/news/:id",name:"news_post",component:()=>Ft(()=>import("./PostView.28ab2847.js"),["assets/PostView.28ab2847.js","assets/news.b9c16f1f.js"])},{meta:{title:"Login"},path:"/auth/login",name:"login",component:()=>Ft(()=>import("./LoginView.d6052866.js"),["assets/LoginView.d6052866.js","assets/FormCheckRadio.dee6d755.js","assets/FormField.d8177f13.js","assets/FormControl.1a09880b.js","assets/LayoutGuest.b8c99ff7.js","assets/LayoutGuest.6e2f6d80.css"])},{meta:{title:"Register"},path:"/auth/register",name:"register",component:()=>Ft(()=>import("./RegisterView.16d62cc8.js"),["assets/RegisterView.16d62cc8.js","assets/FormCheckRadio.dee6d755.js","assets/FormField.d8177f13.js","assets/FormControl.1a09880b.js","assets/LayoutGuest.b8c99ff7.js","assets/LayoutGuest.6e2f6d80.css"])},{meta:{title:"Reset Password"},path:"/auth/reset",name:"reset_pass",component:()=>Ft(()=>import("./ResetView.a4b5d633.js"),["assets/ResetView.a4b5d633.js","assets/FormField.d8177f13.js","assets/FormControl.1a09880b.js","assets/LayoutGuest.b8c99ff7.js","assets/LayoutGuest.6e2f6d80.css"])},{meta:{title:"Profile"},path:"/profile",name:"profile",component:()=>Ft(()=>import("./ProfileView.8ebf6354.js"),["assets/ProfileView.8ebf6354.js","assets/FormField.d8177f13.js","assets/FormCheckRadio.dee6d755.js","assets/FormControl.1a09880b.js"])},{meta:{title:"Customizations"},path:"/profile/customize",name:"profile_customizations",component:()=>Ft(()=>import("./CustomizeView.0fe84a03.js"),["assets/CustomizeView.0fe84a03.js","assets/FormControl.1a09880b.js"])},{meta:{title:"Integrations"},path:"/profile/integrate",name:"profile_integrations",component:()=>Ft(()=>import("./IntegrationView.21636a64.js"),[])},{meta:{title:"Login Cards"},path:"/profile/cards",name:"profile_cards",component:()=>Ft(()=>import("./CardsView.34cca214.js"),["assets/CardsView.34cca214.js","assets/userData.bcc92478.js"])},{meta:{title:"Goals"},path:"/goals",name:"profile_goals",component:()=>Ft(()=>import("./GoalsView.c7dce24b.js"),["assets/GoalsView.c7dce24b.js","assets/FormControl.1a09880b.js"])},{meta:{title:"View Profile"},path:"/profiles/:id",name:"profile_viewer",component:()=>Ft(()=>import("./PublicView.630abaf9.js"),[]),options:{hotReload:!0}},{meta:{title:"Public Arcades"},path:"/arcades",name:"arcade_list",component:()=>Ft(()=>import("./ArcadesView.60b1bd64.js"),["assets/ArcadesView.60b1bd64.js","assets/CardBoxComponentEmpty.1ecaf60a.js","assets/area.7873ab93.js","assets/FormField.d8177f13.js","assets/FormControl.1a09880b.js"])},{meta:{title:"Arcade Overview"},path:"/arcade/:id",name:"arcade",component:()=>Ft(()=>import("./ArcadeView.b0a6f6bb.js"),["assets/ArcadeView.b0a6f6bb.js","assets/ArcadeCard.d52b5351.js","assets/area.7873ab93.js","assets/FormField.d8177f13.js","assets/FormCheckRadio.dee6d755.js","assets/FormControl.1a09880b.js"])},{meta:{title:"Event Settings"},path:"/arcade/:id/events",name:"arcade_events",component:()=>Ft(()=>import("./EventView.ca8c2e1a.js"),["assets/EventView.ca8c2e1a.js","assets/ArcadeCard.d52b5351.js","assets/area.7873ab93.js","assets/FormField.d8177f13.js","assets/FormControl.1a09880b.js","assets/FormCheckRadio.dee6d755.js"]),options:{hotReload:!0}},{meta:{title:"Machine List"},path:"/arcade/:id/machines",name:"arcade_machines",component:()=>Ft(()=>import("./MachinesView.c0ce717b.js"),["assets/MachinesView.c0ce717b.js","assets/ArcadeCard.d52b5351.js","assets/area.7873ab93.js","assets/CardBoxComponentEmpty.1ecaf60a.js"]),options:{hotReload:!0}},{meta:{title:"PASELI Transactions"},path:"/arcade/:id/paseli",name:"arcade_paseli",component:()=>Ft(()=>import("./PaseliView.ad7696ab.js"),["assets/PaseliView.ad7696ab.js","assets/ArcadeCard.d52b5351.js","assets/area.7873ab93.js","assets/CardBoxComponentEmpty.1ecaf60a.js"]),options:{hotReload:!0}},{meta:{title:"Game Overview"},path:"/games/:id/",name:"game_page",component:()=>Ft(()=>import("./GameView.7f355b2d.js"),["assets/GameView.7f355b2d.js","assets/FormControl.1a09880b.js","assets/ProfileCard.b0fcd669.js","assets/userData.bcc92478.js"]),options:{hotReload:!0}},{meta:{title:"View Profile"},path:"/games/:game/profiles/:userID/",name:"game_profile",component:()=>Ft(()=>import("./PlayerView.a3109244.js"),["assets/PlayerView.a3109244.js","assets/ProfileCard.b0fcd669.js","assets/userData.bcc92478.js","assets/FormControl.1a09880b.js"]),options:{hotReload:!0}},{meta:{title:"Edit Profile"},path:"/games/:game/profiles/:userID/edit",name:"edit_profile",component:()=>Ft(()=>import("./EditView.aab849de.js"),["assets/EditView.aab849de.js","assets/ProfileCard.b0fcd669.js","assets/userData.bcc92478.js","assets/FormField.d8177f13.js","assets/FormCheckRadio.dee6d755.js","assets/FormControl.1a09880b.js"]),options:{hotReload:!0}},{meta:{title:"Rivals"},path:"/games/:game/rivals",name:"game_rivals",component:()=>Ft(()=>import("./RivalsView.da45a3df.js"),["assets/RivalsView.da45a3df.js","assets/ProfileCard.b0fcd669.js","assets/userData.bcc92478.js","assets/FormField.d8177f13.js","assets/FormControl.1a09880b.js"]),options:{hotReload:!0}},{meta:{title:"Error"},path:"/:catchAll(.*)",name:"ErrorPage",component:()=>Ft(()=>import("./ErrorView.6d65a7a8.js"),["assets/ErrorView.6d65a7a8.js","assets/LayoutGuest.b8c99ff7.js","assets/LayoutGuest.6e2f6d80.css"])}],$h=Fm({history:nm(),routes:OA,scrollBehavior(e,t,n){return n||{top:0}}});const ol=Og();Tg(Um).use($h).use(ol).mount("#app");const zh=Si(ol),jh=Wn(ol);zh.fetch("clients");zh.fetch("history");var Xu;jh.setStyle((Xu=localStorage[Ph])!=null?Xu:"basic");jh.setDarkMode(window.matchMedia("(prefers-color-scheme: dark)").matches);const ju="PhaseII eAmusement Network";$h.afterEach(e=>{var t;document.title=(t=e.meta)!=null&&t.title?`${e.meta.title} \u2014 ${ju}`:ju});export{QA as $,b1 as A,LA as B,Vt as C,lt as D,wa as E,Ot as F,jt as G,oe as H,Si as I,Kt as J,vi as K,Aa as L,Sg as M,jl as N,Wn as O,qb as P,Qs as Q,ze as R,Ov as S,Js as T,qA as U,KA as V,$A as W,We as X,h0 as Y,ZA as Z,ji as _,$ as a,iS as a0,Jm as a1,To as a2,vA as a3,GA as a4,pf as a5,WA as a6,Iv as a7,UA as a8,FA as a9,gf as aa,K as ab,Bb as ac,g0 as ad,sS as ae,Fn as af,tS as ag,e0 as ah,Ye as ai,bf as aj,eS as ak,YA as al,Vb as am,JA as an,Yo as ao,HA as ap,jA as aq,xv as ar,BA as as,NA as at,XA as au,VA as av,u0 as aw,nS as ax,V as b,nt as c,pt as d,Jv as e,Pi as f,k as g,Tt as h,pv as i,Cb as j,Vm as k,Uh as l,c0 as m,ls as n,N as o,gs as p,qm as q,$n as r,xi as s,vt as t,df as u,Bv as v,ht as w,jm as x,zA as y,it as z}; diff --git a/assets/index.95237da7.css b/assets/index.95237da7.css deleted file mode 100644 index 62b57cd..0000000 --- a/assets/index.95237da7.css +++ /dev/null @@ -1 +0,0 @@ -@keyframes fadeInUp{0%{transform:translate3d(0,10px,0)}to{transform:translateZ(0);opacity:1}}.animated{animation-duration:.7s;animation-fill-mode:both;-webkit-animation-duration:.7s;-webkit-animation-fill-mode:both}.animatedFadeInUp{opacity:0}.fadeInUp{opacity:0;animation-name:fadeInUp;-webkit-animation-name:fadeInUp}*,: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-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-2{margin-top:.5rem}.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-40{height:10rem}.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}.content-center{align-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}.scroll-smooth{scroll-behavior:smooth}.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-blue-700{--tw-border-opacity: 1;border-color:rgb(29 78 216 / 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-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-bl{background-image:linear-gradient(to bottom left,var(--tw-gradient-stops))}.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-green-300{--tw-gradient-from: #86efac var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(134 239 172 / 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-blue-500{--tw-gradient-via-position: ;--tw-gradient-to: rgb(59 130 246 / 0) var(--tw-gradient-to-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), #3b82f6 var(--tw-gradient-via-position), 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-purple-600{--tw-gradient-to: #9333ea 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: }.bg-clip-text{-webkit-background-clip:text;background-clip:text}.p-0{padding:0}.p-1{padding:.25rem}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-5{padding:1.25rem}.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}.pb-6{padding-bottom:1.5rem}.pl-10{padding-left:2.5rem}.pl-2{padding-left:.5rem}.pr-12{padding-right:3rem}.pt-14{padding-top:3.5rem}.pt-4{padding-top:1rem}.pt-6{padding-top:1.5rem}.text-left{text-align:left}.text-center{text-align:center}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.text-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-normal{font-weight:400}.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-amber-600{--tw-text-opacity: 1;color:rgb(217 119 6 / var(--tw-text-opacity))}.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-cyan-500{--tw-text-opacity: 1;color:rgb(6 182 212 / 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-green-500{--tw-text-opacity: 1;color:rgb(34 197 94 / var(--tw-text-opacity))}.text-lime-500{--tw-text-opacity: 1;color:rgb(132 204 22 / var(--tw-text-opacity))}.text-orange-500{--tw-text-opacity: 1;color:rgb(249 115 22 / var(--tw-text-opacity))}.text-orange-600{--tw-text-opacity: 1;color:rgb(234 88 12 / var(--tw-text-opacity))}.text-pink-300{--tw-text-opacity: 1;color:rgb(249 168 212 / var(--tw-text-opacity))}.text-purple-500{--tw-text-opacity: 1;color:rgb(168 85 247 / var(--tw-text-opacity))}.text-purple-600{--tw-text-opacity: 1;color:rgb(147 51 234 / 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-red-700{--tw-text-opacity: 1;color:rgb(185 28 28 / var(--tw-text-opacity))}.text-sky-500{--tw-text-opacity: 1;color:rgb(14 165 233 / var(--tw-text-opacity))}.text-stone-400{--tw-text-opacity: 1;color:rgb(168 162 158 / var(--tw-text-opacity))}.text-transparent{color:transparent}.text-violet-600{--tw-text-opacity: 1;color:rgb(124 58 237 / var(--tw-text-opacity))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.text-yellow-400{--tw-text-opacity: 1;color:rgb(250 204 21 / 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-blue-500\/50{outline-color:#3b82f680}.outline-gray-400{outline-color:#9ca3af}.outline-green-900\/50{outline-color:#14532d80}.outline-slate-800\/75{outline-color:#1e293bbf}.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)}.drop-shadow-md{--tw-drop-shadow: drop-shadow(0 4px 3px rgb(0 0 0 / .07)) drop-shadow(0 2px 2px rgb(0 0 0 / .06));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)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.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)}img{pointer-events:none}body{-webkit-user-select:none;-moz-user-select:none;user-select:none}.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-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-slate-900\/95){background-color:#0f172af2}: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-green-400){--tw-text-opacity: 1;color:rgb(74 222 128 / var(--tw-text-opacity))}:is(.dark .dark\:text-red-400){--tw-text-opacity: 1;color:rgb(248 113 113 / 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\/50){color:#ffffff80}:is(.dark .dark\:text-white\/75){color:#ffffffbf}:is(.dark .dark\:text-yellow-400){--tw-text-opacity: 1;color:rgb(250 204 21 / 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-slate-950):hover{--tw-bg-opacity: 1;background-color:rgb(2 6 23 / 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: 640px){.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\:text-lg{font-size:1.125rem;line-height:1.75rem}}@media (min-width: 768px){.md\:col-span-2{grid-column:span 2 / span 2}.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\:mt-0{margin-top:0}.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-1\/3{width:33.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\: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-3{grid-template-columns:repeat(3,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-end{justify-content:flex-end}.md\:justify-center{justify-content:center}.md\:justify-between{justify-content:space-between}.md\:gap-2{gap:.5rem}.md\:space-x-10>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(2.5rem * var(--tw-space-x-reverse));margin-left:calc(2.5rem * calc(1 - var(--tw-space-x-reverse)))}.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\:px-5{padding-left:1.25rem;padding-right:1.25rem}.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-2xl{font-size:1.5rem;line-height:2rem}.md\:text-3xl{font-size:1.875rem;line-height:2.25rem}.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-1\/3{width:33.333333%}.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-2{grid-template-columns:repeat(2,minmax(0,1fr))}.lg\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.lg\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.lg\:items-stretch{align-items:stretch}.lg\:justify-end{justify-content:flex-end}.lg\:justify-center{justify-content:center}.lg\:justify-between{justify-content:space-between}.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/index.b8f03a0d.js b/assets/index.b8f03a0d.js new file mode 100644 index 0000000..a76a8c6 --- /dev/null +++ b/assets/index.b8f03a0d.js @@ -0,0 +1,46 @@ +var zh=Object.defineProperty;var jh=(e,t,n)=>t in e?zh(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var x=(e,t,n)=>(jh(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 s of document.querySelectorAll('link[rel="modulepreload"]'))i(s);new MutationObserver(s=>{for(const r of s)if(r.type==="childList")for(const o of r.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&i(o)}).observe(document,{childList:!0,subtree:!0});function n(s){const r={};return s.integrity&&(r.integrity=s.integrity),s.referrerpolicy&&(r.referrerPolicy=s.referrerpolicy),s.crossorigin==="use-credentials"?r.credentials="include":s.crossorigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function i(s){if(s.ep)return;s.ep=!0;const r=n(s);fetch(s.href,r)}})();function aa(e,t){const n=Object.create(null),i=e.split(",");for(let s=0;s!!n[s.toLowerCase()]:s=>!!n[s]}function cs(e){if(nt(e)){const t={};for(let n=0;n{if(n){const i=n.split(Wh);i.length>1&&(t[i[0].trim()]=i[1].trim())}}),t}function lt(e){let t="";if(Ut(e))t=e;else if(nt(e))for(let n=0;nUn(n,t))}const yt=e=>Ut(e)?e:e==null?"":nt(e)||It(e)&&(e.toString===Gu||!ct(e.toString))?JSON.stringify(e,Xu,2):String(e),Xu=(e,t)=>t&&t.__v_isRef?Xu(e,t.value):ei(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[i,s])=>(n[`${i} =>`]=s,n),{})}:mi(t)?{[`Set(${t.size})`]:[...t.values()]}:It(t)&&!nt(t)&&!Ku(t)?String(t):t,Lt={},ti=[],Ie=()=>{},Jh=()=>!1,Qh=/^on[^a-z]/,gr=e=>Qh.test(e),ca=e=>e.startsWith("onUpdate:"),Gt=Object.assign,ua=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},t1=Object.prototype.hasOwnProperty,_t=(e,t)=>t1.call(e,t),nt=Array.isArray,ei=e=>us(e)==="[object Map]",mi=e=>us(e)==="[object Set]",cl=e=>us(e)==="[object Date]",ct=e=>typeof e=="function",Ut=e=>typeof e=="string",Zi=e=>typeof e=="symbol",It=e=>e!==null&&typeof e=="object",Wu=e=>It(e)&&ct(e.then)&&ct(e.catch),Gu=Object.prototype.toString,us=e=>Gu.call(e),e1=e=>us(e).slice(8,-1),Ku=e=>us(e)==="[object Object]",da=e=>Ut(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Hs=aa(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),mr=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},n1=/-(\w)/g,Fe=mr(e=>e.replace(n1,(t,n)=>n?n.toUpperCase():"")),i1=/\B([A-Z])/g,bi=mr(e=>e.replace(i1,"-$1").toLowerCase()),br=mr(e=>e.charAt(0).toUpperCase()+e.slice(1)),zr=mr(e=>e?`on${br(e)}`:""),Ji=(e,t)=>!Object.is(e,t),Ns=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},Xs=e=>{const t=parseFloat(e);return isNaN(t)?e:t},s1=e=>{const t=Ut(e)?Number(e):NaN;return isNaN(t)?e:t};let ul;const r1=()=>ul||(ul=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});let ce;class Yu{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=ce,!t&&ce&&(this.index=(ce.scopes||(ce.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=ce;try{return ce=this,t()}finally{ce=n}}}on(){ce=this}off(){ce=this.parent}stop(t){if(this._active){let n,i;for(n=0,i=this.effects.length;n{const t=new Set(e);return t.w=0,t.n=0,t},Ju=e=>(e.w&mn)>0,Qu=e=>(e.n&mn)>0,l1=({deps:e})=>{if(e.length)for(let t=0;t{const{deps:t}=e;if(t.length){let n=0;for(let i=0;i{(u==="length"||u>=l)&&a.push(c)})}else switch(n!==void 0&&a.push(o.get(n)),t){case"add":nt(e)?da(n)&&a.push(o.get("length")):(a.push(o.get(Nn)),ei(e)&&a.push(o.get(Do)));break;case"delete":nt(e)||(a.push(o.get(Nn)),ei(e)&&a.push(o.get(Do)));break;case"set":ei(e)&&a.push(o.get(Nn));break}if(a.length===1)a[0]&&ko(a[0]);else{const l=[];for(const c of a)c&&l.push(...c);ko(fa(l))}}function ko(e,t){const n=nt(e)?e:[...e];for(const i of n)i.computed&&fl(i);for(const i of n)i.computed||fl(i)}function fl(e,t){(e!==Me||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}function u1(e,t){var n;return(n=Ws.get(e))===null||n===void 0?void 0:n.get(t)}const d1=aa("__proto__,__v_isRef,__isVue"),nd=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Zi)),f1=pa(),h1=pa(!1,!0),p1=pa(!0),hl=g1();function g1(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const i=mt(this);for(let r=0,o=this.length;r{e[t]=function(...n){_i();const i=mt(this)[t].apply(this,n);return yi(),i}}),e}function m1(e){const t=mt(this);return re(t,"has",e),t.hasOwnProperty(e)}function pa(e=!1,t=!1){return function(i,s,r){if(s==="__v_isReactive")return!e;if(s==="__v_isReadonly")return e;if(s==="__v_isShallow")return t;if(s==="__v_raw"&&r===(e?t?D1:ad:t?od:rd).get(i))return i;const o=nt(i);if(!e){if(o&&_t(hl,s))return Reflect.get(hl,s,r);if(s==="hasOwnProperty")return m1}const a=Reflect.get(i,s,r);return(Zi(s)?nd.has(s):d1(s))||(e||re(i,"get",s),t)?a:Bt(a)?o&&da(s)?a:a.value:It(a)?e?ld(a):xi(a):a}}const b1=id(),_1=id(!0);function id(e=!1){return function(n,i,s,r){let o=n[i];if(ri(o)&&Bt(o)&&!Bt(s))return!1;if(!e&&(!Gs(s)&&!ri(s)&&(o=mt(o),s=mt(s)),!nt(n)&&Bt(o)&&!Bt(s)))return o.value=s,!0;const a=nt(n)&&da(i)?Number(i)e,_r=e=>Reflect.getPrototypeOf(e);function ms(e,t,n=!1,i=!1){e=e.__v_raw;const s=mt(e),r=mt(t);n||(t!==r&&re(s,"get",t),re(s,"get",r));const{has:o}=_r(s),a=i?ga:n?_a:Qi;if(o.call(s,t))return a(e.get(t));if(o.call(s,r))return a(e.get(r));e!==s&&e.get(t)}function bs(e,t=!1){const n=this.__v_raw,i=mt(n),s=mt(e);return t||(e!==s&&re(i,"has",e),re(i,"has",s)),e===s?n.has(e):n.has(e)||n.has(s)}function _s(e,t=!1){return e=e.__v_raw,!t&&re(mt(e),"iterate",Nn),Reflect.get(e,"size",e)}function pl(e){e=mt(e);const t=mt(this);return _r(t).has.call(t,e)||(t.add(e),Ke(t,"add",e,e)),this}function gl(e,t){t=mt(t);const n=mt(this),{has:i,get:s}=_r(n);let r=i.call(n,e);r||(e=mt(e),r=i.call(n,e));const o=s.call(n,e);return n.set(e,t),r?Ji(t,o)&&Ke(n,"set",e,t):Ke(n,"add",e,t),this}function ml(e){const t=mt(this),{has:n,get:i}=_r(t);let s=n.call(t,e);s||(e=mt(e),s=n.call(t,e)),i&&i.call(t,e);const r=t.delete(e);return s&&Ke(t,"delete",e,void 0),r}function bl(){const e=mt(this),t=e.size!==0,n=e.clear();return t&&Ke(e,"clear",void 0,void 0),n}function ys(e,t){return function(i,s){const r=this,o=r.__v_raw,a=mt(o),l=t?ga:e?_a:Qi;return!e&&re(a,"iterate",Nn),o.forEach((c,u)=>i.call(s,l(c),l(u),r))}}function xs(e,t,n){return function(...i){const s=this.__v_raw,r=mt(s),o=ei(r),a=e==="entries"||e===Symbol.iterator&&o,l=e==="keys"&&o,c=s[e](...i),u=n?ga:t?_a:Qi;return!t&&re(r,"iterate",l?Do:Nn),{next(){const{value:d,done:f}=c.next();return f?{value:d,done:f}:{value:a?[u(d[0]),u(d[1])]:u(d),done:f}},[Symbol.iterator](){return this}}}}function Qe(e){return function(...t){return e==="delete"?!1:this}}function M1(){const e={get(r){return ms(this,r)},get size(){return _s(this)},has:bs,add:pl,set:gl,delete:ml,clear:bl,forEach:ys(!1,!1)},t={get(r){return ms(this,r,!1,!0)},get size(){return _s(this)},has:bs,add:pl,set:gl,delete:ml,clear:bl,forEach:ys(!1,!0)},n={get(r){return ms(this,r,!0)},get size(){return _s(this,!0)},has(r){return bs.call(this,r,!0)},add:Qe("add"),set:Qe("set"),delete:Qe("delete"),clear:Qe("clear"),forEach:ys(!0,!1)},i={get(r){return ms(this,r,!0,!0)},get size(){return _s(this,!0)},has(r){return bs.call(this,r,!0)},add:Qe("add"),set:Qe("set"),delete:Qe("delete"),clear:Qe("clear"),forEach:ys(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(r=>{e[r]=xs(r,!1,!1),n[r]=xs(r,!0,!1),t[r]=xs(r,!1,!0),i[r]=xs(r,!0,!0)}),[e,n,t,i]}const[E1,R1,w1,I1]=M1();function ma(e,t){const n=t?e?I1:w1:e?R1:E1;return(i,s,r)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?i:Reflect.get(_t(n,s)&&s in i?n:i,s,r)}const C1={get:ma(!1,!1)},L1={get:ma(!1,!0)},T1={get:ma(!0,!1)},rd=new WeakMap,od=new WeakMap,ad=new WeakMap,D1=new WeakMap;function k1(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function O1(e){return e.__v_skip||!Object.isExtensible(e)?0:k1(e1(e))}function xi(e){return ri(e)?e:ba(e,!1,sd,C1,rd)}function P1(e){return ba(e,!1,S1,L1,od)}function ld(e){return ba(e,!0,A1,T1,ad)}function ba(e,t,n,i,s){if(!It(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const r=s.get(e);if(r)return r;const o=O1(e);if(o===0)return e;const a=new Proxy(e,o===2?i:n);return s.set(e,a),a}function hn(e){return ri(e)?hn(e.__v_raw):!!(e&&e.__v_isReactive)}function ri(e){return!!(e&&e.__v_isReadonly)}function Gs(e){return!!(e&&e.__v_isShallow)}function cd(e){return hn(e)||ri(e)}function mt(e){const t=e&&e.__v_raw;return t?mt(t):e}function oi(e){return js(e,"__v_skip",!0),e}const Qi=e=>It(e)?xi(e):e,_a=e=>It(e)?ld(e):e;function ud(e){fn&&Me&&(e=mt(e),ed(e.dep||(e.dep=fa())))}function dd(e,t){e=mt(e);const n=e.dep;n&&ko(n)}function Bt(e){return!!(e&&e.__v_isRef===!0)}function Kt(e){return fd(e,!1)}function H1(e){return fd(e,!0)}function fd(e,t){return Bt(e)?e:new N1(e,t)}class N1{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:mt(t),this._value=n?t:Qi(t)}get value(){return ud(this),this._value}set value(t){const n=this.__v_isShallow||Gs(t)||ri(t);t=n?t:mt(t),Ji(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:Qi(t),dd(this))}}function T(e){return Bt(e)?e.value:e}const F1={get:(e,t,n)=>T(Reflect.get(e,t,n)),set:(e,t,n,i)=>{const s=e[t];return Bt(s)&&!Bt(n)?(s.value=n,!0):Reflect.set(e,t,n,i)}};function hd(e){return hn(e)?e:new Proxy(e,F1)}function V1(e){const t=nt(e)?new Array(e.length):{};for(const n in e)t[n]=U1(e,n);return t}class B1{constructor(t,n,i){this._object=t,this._key=n,this._defaultValue=i,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 u1(mt(this._object),this._key)}}function U1(e,t,n){const i=e[t];return Bt(i)?i:new B1(e,t,n)}var pd;class $1{constructor(t,n,i,s){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this[pd]=!1,this._dirty=!0,this.effect=new ha(t,()=>{this._dirty||(this._dirty=!0,dd(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!s,this.__v_isReadonly=i}get value(){const t=mt(this);return ud(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}pd="__v_isReadonly";function z1(e,t,n=!1){let i,s;const r=ct(e);return r?(i=e,s=Ie):(i=e.get,s=e.set),new $1(i,s,r||!s,n)}function pn(e,t,n,i){let s;try{s=i?e(...i):e()}catch(r){yr(r,t,n)}return s}function me(e,t,n,i){if(ct(e)){const r=pn(e,t,n,i);return r&&Wu(r)&&r.catch(o=>{yr(o,t,n)}),r}const s=[];for(let r=0;r>>1;es(Zt[i])Pe&&Zt.splice(t,1)}function G1(e){nt(e)?ni.push(...e):(!ze||!ze.includes(e,e.allowRecurse?Dn+1:Dn))&&ni.push(e),md()}function _l(e,t=ts?Pe+1:0){for(;tes(n)-es(i)),Dn=0;Dne.id==null?1/0:e.id,K1=(e,t)=>{const n=es(e)-es(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function _d(e){Oo=!1,ts=!0,Zt.sort(K1);const t=Ie;try{for(Pe=0;PeUt(h)?h.trim():h)),d&&(s=n.map(Xs))}let a,l=i[a=zr(t)]||i[a=zr(Fe(t))];!l&&r&&(l=i[a=zr(bi(t))]),l&&me(l,e,6,s);const c=i[a+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,me(c,e,6,s)}}function yd(e,t,n=!1){const i=t.emitsCache,s=i.get(e);if(s!==void 0)return s;const r=e.emits;let o={},a=!1;if(!ct(e)){const l=c=>{const u=yd(c,t,!0);u&&(a=!0,Gt(o,u))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!r&&!a?(It(e)&&i.set(e,null),null):(nt(r)?r.forEach(l=>o[l]=null):Gt(o,r),It(e)&&i.set(e,o),o)}function xr(e,t){return!e||!gr(t)?!1:(t=t.slice(2).replace(/Once$/,""),_t(e,t[0].toLowerCase()+t.slice(1))||_t(e,bi(t))||_t(e,t))}let Xt=null,xd=null;function Ks(e){const t=Xt;return Xt=e,xd=e&&e.type.__scopeId||null,t}function dt(e,t=Xt,n){if(!t||e._n)return e;const i=(...s)=>{i._d&&Il(-1);const r=Ks(t);let o;try{o=e(...s)}finally{Ks(r),i._d&&Il(1)}return o};return i._n=!0,i._c=!0,i._d=!0,i}function jr(e){const{type:t,vnode:n,proxy:i,withProxy:s,props:r,propsOptions:[o],slots:a,attrs:l,emit:c,render:u,renderCache:d,data:f,setupState:h,ctx:g,inheritAttrs:m}=e;let _,y;const S=Ks(e);try{if(n.shapeFlag&4){const E=s||i;_=Oe(u.call(E,E,d,r,h,f,g)),y=l}else{const E=t;_=Oe(E.length>1?E(r,{attrs:l,slots:a,emit:c}):E(r,null)),y=t.props?l:q1(l)}}catch(E){$i.length=0,yr(E,e,1),_=U(_e)}let M=_;if(y&&m!==!1){const E=Object.keys(y),{shapeFlag:A}=M;E.length&&A&7&&(o&&E.some(ca)&&(y=Z1(y,o)),M=bn(M,y))}return n.dirs&&(M=bn(M),M.dirs=M.dirs?M.dirs.concat(n.dirs):n.dirs),n.transition&&(M.transition=n.transition),_=M,Ks(S),_}const q1=e=>{let t;for(const n in e)(n==="class"||n==="style"||gr(n))&&((t||(t={}))[n]=e[n]);return t},Z1=(e,t)=>{const n={};for(const i in e)(!ca(i)||!(i.slice(9)in t))&&(n[i]=e[i]);return n};function J1(e,t,n){const{props:i,children:s,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 i?yl(i,o,c):!!o;if(l&8){const u=t.dynamicProps;for(let d=0;de.__isSuspense;function ep(e,t){t&&t.pendingBranch?nt(e)?t.effects.push(...e):t.effects.push(e):G1(e)}function Fs(e,t){if(Vt){let n=Vt.provides;const i=Vt.parent&&Vt.parent.provides;i===n&&(n=Vt.provides=Object.create(i)),n[e]=t}}function be(e,t,n=!1){const i=Vt||Xt;if(i){const s=i.parent==null?i.vnode.appContext&&i.vnode.appContext.provides:i.parent.provides;if(s&&e in s)return s[e];if(arguments.length>1)return n&&ct(t)?t.call(i.proxy):t}}const vs={};function Fn(e,t,n){return vd(e,t,n)}function vd(e,t,{immediate:n,deep:i,flush:s,onTrack:r,onTrigger:o}=Lt){const a=Zu()===(Vt==null?void 0:Vt.scope)?Vt:null;let l,c=!1,u=!1;if(Bt(e)?(l=()=>e.value,c=Gs(e)):hn(e)?(l=()=>e,i=!0):nt(e)?(u=!0,c=e.some(M=>hn(M)||Gs(M)),l=()=>e.map(M=>{if(Bt(M))return M.value;if(hn(M))return Pn(M);if(ct(M))return pn(M,a,2)})):ct(e)?t?l=()=>pn(e,a,2):l=()=>{if(!(a&&a.isUnmounted))return d&&d(),me(e,a,3,[f])}:l=Ie,t&&i){const M=l;l=()=>Pn(M())}let d,f=M=>{d=y.onStop=()=>{pn(M,a,4)}},h;if(is)if(f=Ie,t?n&&me(t,a,3,[l(),u?[]:void 0,f]):l(),s==="sync"){const M=Kp();h=M.__watcherHandles||(M.__watcherHandles=[])}else return Ie;let g=u?new Array(e.length).fill(vs):vs;const m=()=>{if(!!y.active)if(t){const M=y.run();(i||c||(u?M.some((E,A)=>Ji(E,g[A])):Ji(M,g)))&&(d&&d(),me(t,a,3,[M,g===vs?void 0:u&&g[0]===vs?[]:g,f]),g=M)}else y.run()};m.allowRecurse=!!t;let _;s==="sync"?_=m:s==="post"?_=()=>ie(m,a&&a.suspense):(m.pre=!0,a&&(m.id=a.uid),_=()=>va(m));const y=new ha(l,_);t?n?m():g=y.run():s==="post"?ie(y.run.bind(y),a&&a.suspense):y.run();const S=()=>{y.stop(),a&&a.scope&&ua(a.scope.effects,y)};return h&&h.push(S),S}function np(e,t,n){const i=this.proxy,s=Ut(e)?e.includes(".")?Ad(i,e):()=>i[e]:e.bind(i,i);let r;ct(t)?r=t:(r=t.handler,n=t);const o=Vt;ai(this);const a=vd(s,r.bind(i),n);return o?ai(o):Vn(),a}function Ad(e,t){const n=t.split(".");return()=>{let i=e;for(let s=0;s{Pn(n,t)});else if(Ku(e))for(const n in e)Pn(e[n],t);return e}function ip(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return vi(()=>{e.isMounted=!0}),Aa(()=>{e.isUnmounting=!0}),e}const fe=[Function,Array],sp={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:fe,onEnter:fe,onAfterEnter:fe,onEnterCancelled:fe,onBeforeLeave:fe,onLeave:fe,onAfterLeave:fe,onLeaveCancelled:fe,onBeforeAppear:fe,onAppear:fe,onAfterAppear:fe,onAppearCancelled:fe},setup(e,{slots:t}){const n=Ra(),i=ip();let s;return()=>{const r=t.default&&Ed(t.default(),!0);if(!r||!r.length)return;let o=r[0];if(r.length>1){for(const m of r)if(m.type!==_e){o=m;break}}const a=mt(e),{mode:l}=a;if(i.isLeaving)return Xr(o);const c=xl(o);if(!c)return Xr(o);const u=Po(c,a,i,n);Ho(c,u);const d=n.subTree,f=d&&xl(d);let h=!1;const{getTransitionKey:g}=c.type;if(g){const m=g();s===void 0?s=m:m!==s&&(s=m,h=!0)}if(f&&f.type!==_e&&(!kn(c,f)||h)){const m=Po(f,a,i,n);if(Ho(f,m),l==="out-in")return i.isLeaving=!0,m.afterLeave=()=>{i.isLeaving=!1,n.update.active!==!1&&n.update()},Xr(o);l==="in-out"&&c.type!==_e&&(m.delayLeave=(_,y,S)=>{const M=Md(i,f);M[String(f.key)]=f,_._leaveCb=()=>{y(),_._leaveCb=void 0,delete u.delayedLeave},u.delayedLeave=S})}return o}}},Sd=sp;function Md(e,t){const{leavingVNodes:n}=e;let i=n.get(t.type);return i||(i=Object.create(null),n.set(t.type,i)),i}function Po(e,t,n,i){const{appear:s,mode:r,persisted:o=!1,onBeforeEnter:a,onEnter:l,onAfterEnter:c,onEnterCancelled:u,onBeforeLeave:d,onLeave:f,onAfterLeave:h,onLeaveCancelled:g,onBeforeAppear:m,onAppear:_,onAfterAppear:y,onAppearCancelled:S}=t,M=String(e.key),E=Md(n,e),A=(w,P)=>{w&&me(w,i,9,P)},O=(w,P)=>{const $=P[1];A(w,P),nt(w)?w.every(q=>q.length<=1)&&$():w.length<=1&&$()},C={mode:r,persisted:o,beforeEnter(w){let P=a;if(!n.isMounted)if(s)P=m||a;else return;w._leaveCb&&w._leaveCb(!0);const $=E[M];$&&kn(e,$)&&$.el._leaveCb&&$.el._leaveCb(),A(P,[w])},enter(w){let P=l,$=c,q=u;if(!n.isMounted)if(s)P=_||l,$=y||c,q=S||u;else return;let k=!1;const Z=w._enterCb=ot=>{k||(k=!0,ot?A(q,[w]):A($,[w]),C.delayedLeave&&C.delayedLeave(),w._enterCb=void 0)};P?O(P,[w,Z]):Z()},leave(w,P){const $=String(e.key);if(w._enterCb&&w._enterCb(!0),n.isUnmounting)return P();A(d,[w]);let q=!1;const k=w._leaveCb=Z=>{q||(q=!0,P(),Z?A(g,[w]):A(h,[w]),w._leaveCb=void 0,E[$]===e&&delete E[$])};E[$]=e,f?O(f,[w,k]):k()},clone(w){return Po(w,t,n,i)}};return C}function Xr(e){if(Ar(e))return e=bn(e),e.children=null,e}function xl(e){return Ar(e)?e.children?e.children[0]:void 0:e}function Ho(e,t){e.shapeFlag&6&&e.component?Ho(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 Ed(e,t=!1,n){let i=[],s=0;for(let r=0;r1)for(let r=0;r!!e.type.__asyncLoader,Ar=e=>e.type.__isKeepAlive;function rp(e,t){Rd(e,"a",t)}function op(e,t){Rd(e,"da",t)}function Rd(e,t,n=Vt){const i=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(Sr(t,i,n),n){let s=n.parent;for(;s&&s.parent;)Ar(s.parent.vnode)&&ap(i,t,n,s),s=s.parent}}function ap(e,t,n,i){const s=Sr(t,e,i,!0);wd(()=>{ua(i[t],s)},n)}function Sr(e,t,n=Vt,i=!1){if(n){const s=n[e]||(n[e]=[]),r=t.__weh||(t.__weh=(...o)=>{if(n.isUnmounted)return;_i(),ai(n);const a=me(t,n,e,o);return Vn(),yi(),a});return i?s.unshift(r):s.push(r),r}}const qe=e=>(t,n=Vt)=>(!is||e==="sp")&&Sr(e,(...i)=>t(...i),n),lp=qe("bm"),vi=qe("m"),cp=qe("bu"),up=qe("u"),Aa=qe("bum"),wd=qe("um"),dp=qe("sp"),fp=qe("rtg"),hp=qe("rtc");function pp(e,t=Vt){Sr("ec",e,t)}function gp(e,t){const n=Xt;if(n===null)return e;const i=wr(n)||n.proxy,s=e.dirs||(e.dirs=[]);for(let r=0;rt(o,a,void 0,r&&r[a]));else{const o=Object.keys(e);s=new Array(o.length);for(let a=0,l=o.length;aqs(t)?!(t.type===_e||t.type===Ot&&!Ld(t.children)):!0)?e:null}const No=e=>e?Ud(e)?wr(e)||e.proxy:No(e.parent):null,Ui=Gt(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=>No(e.parent),$root:e=>No(e.root),$emit:e=>e.emit,$options:e=>Sa(e),$forceUpdate:e=>e.f||(e.f=()=>va(e.update)),$nextTick:e=>e.n||(e.n=xa.bind(e.proxy)),$watch:e=>np.bind(e)}),Wr=(e,t)=>e!==Lt&&!e.__isScriptSetup&&_t(e,t),bp={get({_:e},t){const{ctx:n,setupState:i,data:s,props:r,accessCache:o,type:a,appContext:l}=e;let c;if(t[0]!=="$"){const h=o[t];if(h!==void 0)switch(h){case 1:return i[t];case 2:return s[t];case 4:return n[t];case 3:return r[t]}else{if(Wr(i,t))return o[t]=1,i[t];if(s!==Lt&&_t(s,t))return o[t]=2,s[t];if((c=e.propsOptions[0])&&_t(c,t))return o[t]=3,r[t];if(n!==Lt&&_t(n,t))return o[t]=4,n[t];Fo&&(o[t]=0)}}const u=Ui[t];let d,f;if(u)return t==="$attrs"&&re(e,"get",t),u(e);if((d=a.__cssModules)&&(d=d[t]))return d;if(n!==Lt&&_t(n,t))return o[t]=4,n[t];if(f=l.config.globalProperties,_t(f,t))return f[t]},set({_:e},t,n){const{data:i,setupState:s,ctx:r}=e;return Wr(s,t)?(s[t]=n,!0):i!==Lt&&_t(i,t)?(i[t]=n,!0):_t(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(r[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:i,appContext:s,propsOptions:r}},o){let a;return!!n[o]||e!==Lt&&_t(e,o)||Wr(t,o)||(a=r[0])&&_t(a,o)||_t(i,o)||_t(Ui,o)||_t(s.config.globalProperties,o)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:_t(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};let Fo=!0;function _p(e){const t=Sa(e),n=e.proxy,i=e.ctx;Fo=!1,t.beforeCreate&&Al(t.beforeCreate,e,"bc");const{data:s,computed:r,methods:o,watch:a,provide:l,inject:c,created:u,beforeMount:d,mounted:f,beforeUpdate:h,updated:g,activated:m,deactivated:_,beforeDestroy:y,beforeUnmount:S,destroyed:M,unmounted:E,render:A,renderTracked:O,renderTriggered:C,errorCaptured:w,serverPrefetch:P,expose:$,inheritAttrs:q,components:k,directives:Z,filters:ot}=t;if(c&&yp(c,i,null,e.appContext.config.unwrapInjectedRef),o)for(const rt in o){const ft=o[rt];ct(ft)&&(i[rt]=ft.bind(n))}if(s){const rt=s.call(n,n);It(rt)&&(e.data=xi(rt))}if(Fo=!0,r)for(const rt in r){const ft=r[rt],Qt=ct(ft)?ft.bind(n,n):ct(ft.get)?ft.get.bind(n,n):Ie,ne=!ct(ft)&&ct(ft.set)?ft.set.bind(n):Ie,qt=it({get:Qt,set:ne});Object.defineProperty(i,rt,{enumerable:!0,configurable:!0,get:()=>qt.value,set:Ft=>qt.value=Ft})}if(a)for(const rt in a)Td(a[rt],i,n,rt);if(l){const rt=ct(l)?l.call(n):l;Reflect.ownKeys(rt).forEach(ft=>{Fs(ft,rt[ft])})}u&&Al(u,e,"c");function st(rt,ft){nt(ft)?ft.forEach(Qt=>rt(Qt.bind(n))):ft&&rt(ft.bind(n))}if(st(lp,d),st(vi,f),st(cp,h),st(up,g),st(rp,m),st(op,_),st(pp,w),st(hp,O),st(fp,C),st(Aa,S),st(wd,E),st(dp,P),nt($))if($.length){const rt=e.exposed||(e.exposed={});$.forEach(ft=>{Object.defineProperty(rt,ft,{get:()=>n[ft],set:Qt=>n[ft]=Qt})})}else e.exposed||(e.exposed={});A&&e.render===Ie&&(e.render=A),q!=null&&(e.inheritAttrs=q),k&&(e.components=k),Z&&(e.directives=Z)}function yp(e,t,n=Ie,i=!1){nt(e)&&(e=Vo(e));for(const s in e){const r=e[s];let o;It(r)?"default"in r?o=be(r.from||s,r.default,!0):o=be(r.from||s):o=be(r),Bt(o)&&i?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>o.value,set:a=>o.value=a}):t[s]=o}}function Al(e,t,n){me(nt(e)?e.map(i=>i.bind(t.proxy)):e.bind(t.proxy),t,n)}function Td(e,t,n,i){const s=i.includes(".")?Ad(n,i):()=>n[i];if(Ut(e)){const r=t[e];ct(r)&&Fn(s,r)}else if(ct(e))Fn(s,e.bind(n));else if(It(e))if(nt(e))e.forEach(r=>Td(r,t,n,i));else{const r=ct(e.handler)?e.handler.bind(n):t[e.handler];ct(r)&&Fn(s,r,e)}}function Sa(e){const t=e.type,{mixins:n,extends:i}=t,{mixins:s,optionsCache:r,config:{optionMergeStrategies:o}}=e.appContext,a=r.get(t);let l;return a?l=a:!s.length&&!n&&!i?l=t:(l={},s.length&&s.forEach(c=>Ys(l,c,o,!0)),Ys(l,t,o)),It(t)&&r.set(t,l),l}function Ys(e,t,n,i=!1){const{mixins:s,extends:r}=t;r&&Ys(e,r,n,!0),s&&s.forEach(o=>Ys(e,o,n,!0));for(const o in t)if(!(i&&o==="expose")){const a=xp[o]||n&&n[o];e[o]=a?a(e[o],t[o]):t[o]}return e}const xp={data:Sl,props:Cn,emits:Cn,methods:Cn,computed:Cn,beforeCreate:te,created:te,beforeMount:te,mounted:te,beforeUpdate:te,updated:te,beforeDestroy:te,beforeUnmount:te,destroyed:te,unmounted:te,activated:te,deactivated:te,errorCaptured:te,serverPrefetch:te,components:Cn,directives:Cn,watch:Ap,provide:Sl,inject:vp};function Sl(e,t){return t?e?function(){return Gt(ct(e)?e.call(this,this):e,ct(t)?t.call(this,this):t)}:t:e}function vp(e,t){return Cn(Vo(e),Vo(t))}function Vo(e){if(nt(e)){const t={};for(let n=0;n0)&&!(o&16)){if(o&8){const u=e.vnode.dynamicProps;for(let d=0;d{l=!0;const[f,h]=kd(d,t,!0);Gt(o,f),h&&a.push(...h)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!r&&!l)return It(e)&&i.set(e,ti),ti;if(nt(r))for(let u=0;u-1,h[1]=m<0||g-1||_t(h,"default"))&&a.push(d)}}}const c=[o,a];return It(e)&&i.set(e,c),c}function Ml(e){return e[0]!=="$"}function El(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function Rl(e,t){return El(e)===El(t)}function wl(e,t){return nt(t)?t.findIndex(n=>Rl(n,e)):ct(t)&&Rl(t,e)?0:-1}const Od=e=>e[0]==="_"||e==="$stable",Ma=e=>nt(e)?e.map(Oe):[Oe(e)],Ep=(e,t,n)=>{if(t._n)return t;const i=dt((...s)=>Ma(t(...s)),n);return i._c=!1,i},Pd=(e,t,n)=>{const i=e._ctx;for(const s in e){if(Od(s))continue;const r=e[s];if(ct(r))t[s]=Ep(s,r,i);else if(r!=null){const o=Ma(r);t[s]=()=>o}}},Hd=(e,t)=>{const n=Ma(t);e.slots.default=()=>n},Rp=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=mt(t),js(t,"_",n)):Pd(t,e.slots={})}else e.slots={},t&&Hd(e,t);js(e.slots,Rr,1)},wp=(e,t,n)=>{const{vnode:i,slots:s}=e;let r=!0,o=Lt;if(i.shapeFlag&32){const a=t._;a?n&&a===1?r=!1:(Gt(s,t),!n&&a===1&&delete s._):(r=!t.$stable,Pd(t,s)),o=t}else t&&(Hd(e,t),o={default:1});if(r)for(const a in s)!Od(a)&&!(a in o)&&delete s[a]};function Nd(){return{app:null,config:{isNativeTag:Jh,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 Ip=0;function Cp(e,t){return function(i,s=null){ct(i)||(i=Object.assign({},i)),s!=null&&!It(s)&&(s=null);const r=Nd(),o=new Set;let a=!1;const l=r.app={_uid:Ip++,_component:i,_props:s,_container:null,_context:r,_instance:null,version:Yp,get config(){return r.config},set config(c){},use(c,...u){return o.has(c)||(c&&ct(c.install)?(o.add(c),c.install(l,...u)):ct(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,d){if(!a){const f=U(i,s);return f.appContext=r,u&&t?t(f,c):e(f,c,d),a=!0,l._container=c,c.__vue_app__=l,wr(f.component)||f.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 Uo(e,t,n,i,s=!1){if(nt(e)){e.forEach((f,h)=>Uo(f,t&&(nt(t)?t[h]:t),n,i,s));return}if(Bi(i)&&!s)return;const r=i.shapeFlag&4?wr(i.component)||i.component.proxy:i.el,o=s?null:r,{i:a,r:l}=e,c=t&&t.r,u=a.refs===Lt?a.refs={}:a.refs,d=a.setupState;if(c!=null&&c!==l&&(Ut(c)?(u[c]=null,_t(d,c)&&(d[c]=null)):Bt(c)&&(c.value=null)),ct(l))pn(l,a,12,[o,u]);else{const f=Ut(l),h=Bt(l);if(f||h){const g=()=>{if(e.f){const m=f?_t(d,l)?d[l]:u[l]:l.value;s?nt(m)&&ua(m,r):nt(m)?m.includes(r)||m.push(r):f?(u[l]=[r],_t(d,l)&&(d[l]=u[l])):(l.value=[r],e.k&&(u[e.k]=l.value))}else f?(u[l]=o,_t(d,l)&&(d[l]=o)):h&&(l.value=o,e.k&&(u[e.k]=o))};o?(g.id=-1,ie(g,n)):g()}}}const ie=ep;function Lp(e){return Tp(e)}function Tp(e,t){const n=r1();n.__VUE__=!0;const{insert:i,remove:s,patchProp:r,createElement:o,createText:a,createComment:l,setText:c,setElementText:u,parentNode:d,nextSibling:f,setScopeId:h=Ie,insertStaticContent:g}=e,m=(b,v,R,I=null,D=null,B=null,W=!1,V=null,z=!!v.dynamicChildren)=>{if(b===v)return;b&&!kn(b,v)&&(I=j(b),Ft(b,D,B,!0),b=null),v.patchFlag===-2&&(z=!1,v.dynamicChildren=null);const{type:N,ref:tt,shapeFlag:Y}=v;switch(N){case Er:_(b,v,R,I);break;case _e:y(b,v,R,I);break;case Gr:b==null&&S(v,R,I,W);break;case Ot:k(b,v,R,I,D,B,W,V,z);break;default:Y&1?A(b,v,R,I,D,B,W,V,z):Y&6?Z(b,v,R,I,D,B,W,V,z):(Y&64||Y&128)&&N.process(b,v,R,I,D,B,W,V,z,bt)}tt!=null&&D&&Uo(tt,b&&b.ref,B,v||b,!v)},_=(b,v,R,I)=>{if(b==null)i(v.el=a(v.children),R,I);else{const D=v.el=b.el;v.children!==b.children&&c(D,v.children)}},y=(b,v,R,I)=>{b==null?i(v.el=l(v.children||""),R,I):v.el=b.el},S=(b,v,R,I)=>{[b.el,b.anchor]=g(b.children,v,R,I,b.el,b.anchor)},M=({el:b,anchor:v},R,I)=>{let D;for(;b&&b!==v;)D=f(b),i(b,R,I),b=D;i(v,R,I)},E=({el:b,anchor:v})=>{let R;for(;b&&b!==v;)R=f(b),s(b),b=R;s(v)},A=(b,v,R,I,D,B,W,V,z)=>{W=W||v.type==="svg",b==null?O(v,R,I,D,B,W,V,z):P(b,v,D,B,W,V,z)},O=(b,v,R,I,D,B,W,V)=>{let z,N;const{type:tt,props:Y,shapeFlag:et,transition:at,dirs:ht}=b;if(z=b.el=o(b.type,B,Y&&Y.is,Y),et&8?u(z,b.children):et&16&&w(b.children,z,null,I,D,B&&tt!=="foreignObject",W,V),ht&&An(b,null,I,"created"),C(z,b,b.scopeId,W,I),Y){for(const Et in Y)Et!=="value"&&!Hs(Et)&&r(z,Et,null,Y[Et],B,b.children,I,D,X);"value"in Y&&r(z,"value",null,Y.value),(N=Y.onVnodeBeforeMount)&&De(N,I,b)}ht&&An(b,null,I,"beforeMount");const Ct=(!D||D&&!D.pendingBranch)&&at&&!at.persisted;Ct&&at.beforeEnter(z),i(z,v,R),((N=Y&&Y.onVnodeMounted)||Ct||ht)&&ie(()=>{N&&De(N,I,b),Ct&&at.enter(z),ht&&An(b,null,I,"mounted")},D)},C=(b,v,R,I,D)=>{if(R&&h(b,R),I)for(let B=0;B{for(let N=z;N{const V=v.el=b.el;let{patchFlag:z,dynamicChildren:N,dirs:tt}=v;z|=b.patchFlag&16;const Y=b.props||Lt,et=v.props||Lt;let at;R&&Sn(R,!1),(at=et.onVnodeBeforeUpdate)&&De(at,R,v,b),tt&&An(v,b,R,"beforeUpdate"),R&&Sn(R,!0);const ht=D&&v.type!=="foreignObject";if(N?$(b.dynamicChildren,N,V,R,I,ht,B):W||ft(b,v,V,null,R,I,ht,B,!1),z>0){if(z&16)q(V,v,Y,et,R,I,D);else if(z&2&&Y.class!==et.class&&r(V,"class",null,et.class,D),z&4&&r(V,"style",Y.style,et.style,D),z&8){const Ct=v.dynamicProps;for(let Et=0;Et{at&&De(at,R,v,b),tt&&An(v,b,R,"updated")},I)},$=(b,v,R,I,D,B,W)=>{for(let V=0;V{if(R!==I){if(R!==Lt)for(const V in R)!Hs(V)&&!(V in I)&&r(b,V,R[V],null,W,v.children,D,B,X);for(const V in I){if(Hs(V))continue;const z=I[V],N=R[V];z!==N&&V!=="value"&&r(b,V,N,z,W,v.children,D,B,X)}"value"in I&&r(b,"value",R.value,I.value)}},k=(b,v,R,I,D,B,W,V,z)=>{const N=v.el=b?b.el:a(""),tt=v.anchor=b?b.anchor:a("");let{patchFlag:Y,dynamicChildren:et,slotScopeIds:at}=v;at&&(V=V?V.concat(at):at),b==null?(i(N,R,I),i(tt,R,I),w(v.children,R,tt,D,B,W,V,z)):Y>0&&Y&64&&et&&b.dynamicChildren?($(b.dynamicChildren,et,R,D,B,W,V),(v.key!=null||D&&v===D.subTree)&&Fd(b,v,!0)):ft(b,v,R,tt,D,B,W,V,z)},Z=(b,v,R,I,D,B,W,V,z)=>{v.slotScopeIds=V,b==null?v.shapeFlag&512?D.ctx.activate(v,R,I,W,z):ot(v,R,I,D,B,W,z):G(b,v,z)},ot=(b,v,R,I,D,B,W)=>{const V=b.component=Bp(b,I,D);if(Ar(b)&&(V.ctx.renderer=bt),Up(V),V.asyncDep){if(D&&D.registerDep(V,st),!b.el){const z=V.subTree=U(_e);y(null,z,v,R)}return}st(V,b,v,R,D,B,W)},G=(b,v,R)=>{const I=v.component=b.component;if(J1(b,v,R))if(I.asyncDep&&!I.asyncResolved){rt(I,v,R);return}else I.next=v,W1(I.update),I.update();else v.el=b.el,I.vnode=v},st=(b,v,R,I,D,B,W)=>{const V=()=>{if(b.isMounted){let{next:tt,bu:Y,u:et,parent:at,vnode:ht}=b,Ct=tt,Et;Sn(b,!1),tt?(tt.el=ht.el,rt(b,tt,W)):tt=ht,Y&&Ns(Y),(Et=tt.props&&tt.props.onVnodeBeforeUpdate)&&De(Et,at,tt,ht),Sn(b,!0);const $t=jr(b),ve=b.subTree;b.subTree=$t,m(ve,$t,d(ve.el),j(ve),b,D,B),tt.el=$t.el,Ct===null&&Q1(b,$t.el),et&&ie(et,D),(Et=tt.props&&tt.props.onVnodeUpdated)&&ie(()=>De(Et,at,tt,ht),D)}else{let tt;const{el:Y,props:et}=v,{bm:at,m:ht,parent:Ct}=b,Et=Bi(v);if(Sn(b,!1),at&&Ns(at),!Et&&(tt=et&&et.onVnodeBeforeMount)&&De(tt,Ct,v),Sn(b,!0),Y&&ut){const $t=()=>{b.subTree=jr(b),ut(Y,b.subTree,b,D,null)};Et?v.type.__asyncLoader().then(()=>!b.isUnmounted&&$t()):$t()}else{const $t=b.subTree=jr(b);m(null,$t,R,I,b,D,B),v.el=$t.el}if(ht&&ie(ht,D),!Et&&(tt=et&&et.onVnodeMounted)){const $t=v;ie(()=>De(tt,Ct,$t),D)}(v.shapeFlag&256||Ct&&Bi(Ct.vnode)&&Ct.vnode.shapeFlag&256)&&b.a&&ie(b.a,D),b.isMounted=!0,v=R=I=null}},z=b.effect=new ha(V,()=>va(N),b.scope),N=b.update=()=>z.run();N.id=b.uid,Sn(b,!0),N()},rt=(b,v,R)=>{v.component=b;const I=b.vnode.props;b.vnode=v,b.next=null,Mp(b,v.props,I,R),wp(b,v.children,R),_i(),_l(),yi()},ft=(b,v,R,I,D,B,W,V,z=!1)=>{const N=b&&b.children,tt=b?b.shapeFlag:0,Y=v.children,{patchFlag:et,shapeFlag:at}=v;if(et>0){if(et&128){ne(N,Y,R,I,D,B,W,V,z);return}else if(et&256){Qt(N,Y,R,I,D,B,W,V,z);return}}at&8?(tt&16&&X(N,D,B),Y!==N&&u(R,Y)):tt&16?at&16?ne(N,Y,R,I,D,B,W,V,z):X(N,D,B,!0):(tt&8&&u(R,""),at&16&&w(Y,R,I,D,B,W,V,z))},Qt=(b,v,R,I,D,B,W,V,z)=>{b=b||ti,v=v||ti;const N=b.length,tt=v.length,Y=Math.min(N,tt);let et;for(et=0;ettt?X(b,D,B,!0,!1,Y):w(v,R,I,D,B,W,V,z,Y)},ne=(b,v,R,I,D,B,W,V,z)=>{let N=0;const tt=v.length;let Y=b.length-1,et=tt-1;for(;N<=Y&&N<=et;){const at=b[N],ht=v[N]=z?an(v[N]):Oe(v[N]);if(kn(at,ht))m(at,ht,R,null,D,B,W,V,z);else break;N++}for(;N<=Y&&N<=et;){const at=b[Y],ht=v[et]=z?an(v[et]):Oe(v[et]);if(kn(at,ht))m(at,ht,R,null,D,B,W,V,z);else break;Y--,et--}if(N>Y){if(N<=et){const at=et+1,ht=atet)for(;N<=Y;)Ft(b[N],D,B,!0),N++;else{const at=N,ht=N,Ct=new Map;for(N=ht;N<=et;N++){const ae=v[N]=z?an(v[N]):Oe(v[N]);ae.key!=null&&Ct.set(ae.key,N)}let Et,$t=0;const ve=et-ht+1;let Wn=!1,ol=0;const Ri=new Array(ve);for(N=0;N=ve){Ft(ae,D,B,!0);continue}let Te;if(ae.key!=null)Te=Ct.get(ae.key);else for(Et=ht;Et<=et;Et++)if(Ri[Et-ht]===0&&kn(ae,v[Et])){Te=Et;break}Te===void 0?Ft(ae,D,B,!0):(Ri[Te-ht]=N+1,Te>=ol?ol=Te:Wn=!0,m(ae,v[Te],R,null,D,B,W,V,z),$t++)}const al=Wn?Dp(Ri):ti;for(Et=al.length-1,N=ve-1;N>=0;N--){const ae=ht+N,Te=v[ae],ll=ae+1{const{el:B,type:W,transition:V,children:z,shapeFlag:N}=b;if(N&6){qt(b.component.subTree,v,R,I);return}if(N&128){b.suspense.move(v,R,I);return}if(N&64){W.move(b,v,R,bt);return}if(W===Ot){i(B,v,R);for(let Y=0;YV.enter(B),D);else{const{leave:Y,delayLeave:et,afterLeave:at}=V,ht=()=>i(B,v,R),Ct=()=>{Y(B,()=>{ht(),at&&at()})};et?et(B,ht,Ct):Ct()}else i(B,v,R)},Ft=(b,v,R,I=!1,D=!1)=>{const{type:B,props:W,ref:V,children:z,dynamicChildren:N,shapeFlag:tt,patchFlag:Y,dirs:et}=b;if(V!=null&&Uo(V,null,R,b,!0),tt&256){v.ctx.deactivate(b);return}const at=tt&1&&et,ht=!Bi(b);let Ct;if(ht&&(Ct=W&&W.onVnodeBeforeUnmount)&&De(Ct,v,b),tt&6)L(b.component,R,I);else{if(tt&128){b.suspense.unmount(R,I);return}at&&An(b,null,v,"beforeUnmount"),tt&64?b.type.remove(b,v,R,D,bt,I):N&&(B!==Ot||Y>0&&Y&64)?X(N,v,R,!1,!0):(B===Ot&&Y&384||!D&&tt&16)&&X(z,v,R),I&&de(b)}(ht&&(Ct=W&&W.onVnodeUnmounted)||at)&&ie(()=>{Ct&&De(Ct,v,b),at&&An(b,null,v,"unmounted")},R)},de=b=>{const{type:v,el:R,anchor:I,transition:D}=b;if(v===Ot){Je(R,I);return}if(v===Gr){E(b);return}const B=()=>{s(R),D&&!D.persisted&&D.afterLeave&&D.afterLeave()};if(b.shapeFlag&1&&D&&!D.persisted){const{leave:W,delayLeave:V}=D,z=()=>W(R,B);V?V(b.el,B,z):z()}else B()},Je=(b,v)=>{let R;for(;b!==v;)R=f(b),s(b),b=R;s(v)},L=(b,v,R)=>{const{bum:I,scope:D,update:B,subTree:W,um:V}=b;I&&Ns(I),D.stop(),B&&(B.active=!1,Ft(W,b,v,R)),V&&ie(V,v),ie(()=>{b.isUnmounted=!0},v),v&&v.pendingBranch&&!v.isUnmounted&&b.asyncDep&&!b.asyncResolved&&b.suspenseId===v.pendingId&&(v.deps--,v.deps===0&&v.resolve())},X=(b,v,R,I=!1,D=!1,B=0)=>{for(let W=B;Wb.shapeFlag&6?j(b.component.subTree):b.shapeFlag&128?b.suspense.next():f(b.anchor||b.el),J=(b,v,R)=>{b==null?v._vnode&&Ft(v._vnode,null,null,!0):m(v._vnode||null,b,v,null,null,null,R),_l(),bd(),v._vnode=b},bt={p:m,um:Ft,m:qt,r:de,mt:ot,mc:w,pc:ft,pbc:$,n:j,o:e};let Dt,ut;return t&&([Dt,ut]=t(bt)),{render:J,hydrate:Dt,createApp:Cp(J,Dt)}}function Sn({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Fd(e,t,n=!1){const i=e.children,s=t.children;if(nt(i)&&nt(s))for(let r=0;r>1,e[n[a]]0&&(t[i]=n[r-1]),n[r]=i)}}for(r=n.length,o=n[r-1];r-- >0;)n[r]=o,o=t[o];return n}const kp=e=>e.__isTeleport,Ot=Symbol(void 0),Er=Symbol(void 0),_e=Symbol(void 0),Gr=Symbol(void 0),$i=[];let Ee=null;function F(e=!1){$i.push(Ee=e?null:[])}function Op(){$i.pop(),Ee=$i[$i.length-1]||null}let ns=1;function Il(e){ns+=e}function Vd(e){return e.dynamicChildren=ns>0?Ee||ti:null,Op(),ns>0&&Ee&&Ee.push(e),e}function Q(e,t,n,i,s,r){return Vd(H(e,t,n,i,s,r,!0))}function pt(e,t,n,i,s){return Vd(U(e,t,n,i,s,!0))}function qs(e){return e?e.__v_isVNode===!0:!1}function kn(e,t){return e.type===t.type&&e.key===t.key}const Rr="__vInternal",Bd=({key:e})=>e!=null?e:null,Vs=({ref:e,ref_key:t,ref_for:n})=>e!=null?Ut(e)||Bt(e)||ct(e)?{i:Xt,r:e,k:t,f:!!n}:e:null;function H(e,t=null,n=null,i=0,s=null,r=e===Ot?0:1,o=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Bd(t),ref:t&&Vs(t),scopeId:xd,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:i,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:Xt};return a?(Ea(l,n),r&128&&e.normalize(l)):n&&(l.shapeFlag|=Ut(n)?8:16),ns>0&&!o&&Ee&&(l.patchFlag>0||r&6)&&l.patchFlag!==32&&Ee.push(l),l}const U=Pp;function Pp(e,t=null,n=null,i=0,s=null,r=!1){if((!e||e===Cd)&&(e=_e),qs(e)){const a=bn(e,t,!0);return n&&Ea(a,n),ns>0&&!r&&Ee&&(a.shapeFlag&6?Ee[Ee.indexOf(e)]=a:Ee.push(a)),a.patchFlag|=-2,a}if(Xp(e)&&(e=e.__vccOpts),t){t=Hp(t);let{class:a,style:l}=t;a&&!Ut(a)&&(t.class=lt(a)),It(l)&&(cd(l)&&!nt(l)&&(l=Gt({},l)),t.style=cs(l))}const o=Ut(e)?1:tp(e)?128:kp(e)?64:It(e)?4:ct(e)?2:0;return H(e,t,n,i,s,o,r,!0)}function Hp(e){return e?cd(e)||Rr in e?Gt({},e):e:null}function bn(e,t,n=!1){const{props:i,ref:s,patchFlag:r,children:o}=e,a=t?Np(i||{},t):i;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:a,key:a&&Bd(a),ref:t&&t.ref?n&&s?nt(s)?s.concat(Vs(t)):[s,Vs(t)]:Vs(t):s,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:o,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Ot?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&&bn(e.ssContent),ssFallback:e.ssFallback&&bn(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function Re(e=" ",t=0){return U(Er,null,e,t)}function Rt(e="",t=!1){return t?(F(),pt(_e,null,e)):U(_e,null,e)}function Oe(e){return e==null||typeof e=="boolean"?U(_e):nt(e)?U(Ot,null,e.slice()):typeof e=="object"?an(e):U(Er,null,String(e))}function an(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:bn(e)}function Ea(e,t){let n=0;const{shapeFlag:i}=e;if(t==null)t=null;else if(nt(t))n=16;else if(typeof t=="object")if(i&65){const s=t.default;s&&(s._c&&(s._d=!1),Ea(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!(Rr in t)?t._ctx=Xt:s===3&&Xt&&(Xt.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else ct(t)?(t={default:t,_ctx:Xt},n=32):(t=String(t),i&64?(n=16,t=[Re(t)]):n=8);e.children=t,e.shapeFlag|=n}function Np(...e){const t={};for(let n=0;nVt||Xt,ai=e=>{Vt=e,e.scope.on()},Vn=()=>{Vt&&Vt.scope.off(),Vt=null};function Ud(e){return e.vnode.shapeFlag&4}let is=!1;function Up(e,t=!1){is=t;const{props:n,children:i}=e.vnode,s=Ud(e);Sp(e,n,s,t),Rp(e,i);const r=s?$p(e,t):void 0;return is=!1,r}function $p(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=oi(new Proxy(e.ctx,bp));const{setup:i}=n;if(i){const s=e.setupContext=i.length>1?zd(e):null;ai(e),_i();const r=pn(i,e,0,[e.props,s]);if(yi(),Vn(),Wu(r)){if(r.then(Vn,Vn),t)return r.then(o=>{Cl(e,o,t)}).catch(o=>{yr(o,e,0)});e.asyncDep=r}else Cl(e,r,t)}else $d(e,t)}function Cl(e,t,n){ct(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:It(t)&&(e.setupState=hd(t)),$d(e,n)}let Ll;function $d(e,t,n){const i=e.type;if(!e.render){if(!t&&Ll&&!i.render){const s=i.template||Sa(e).template;if(s){const{isCustomElement:r,compilerOptions:o}=e.appContext.config,{delimiters:a,compilerOptions:l}=i,c=Gt(Gt({isCustomElement:r,delimiters:a},o),l);i.render=Ll(s,c)}}e.render=i.render||Ie}ai(e),_i(),_p(e),yi(),Vn()}function zp(e){return new Proxy(e.attrs,{get(t,n){return re(e,"get","$attrs"),t[n]}})}function zd(e){const t=i=>{e.exposed=i||{}};let n;return{get attrs(){return n||(n=zp(e))},slots:e.slots,emit:e.emit,expose:t}}function wr(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(hd(oi(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Ui)return Ui[n](e)},has(t,n){return n in t||n in Ui}}))}function jp(e,t=!0){return ct(e)?e.displayName||e.name:e.name||t&&e.__name}function Xp(e){return ct(e)&&"__vccOpts"in e}const it=(e,t)=>z1(e,t,is);function wa(){return Wp().slots}function Wp(){const e=Ra();return e.setupContext||(e.setupContext=zd(e))}function Ge(e,t,n){const i=arguments.length;return i===2?It(t)&&!nt(t)?qs(t)?U(e,null,[t]):U(e,t):U(e,null,t):(i>3?n=Array.prototype.slice.call(arguments,2):i===3&&qs(n)&&(n=[n]),U(e,t,n))}const Gp=Symbol(""),Kp=()=>be(Gp),Yp="3.2.47",qp="http://www.w3.org/2000/svg",On=typeof document<"u"?document:null,Tl=On&&On.createElement("template"),Zp={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,i)=>{const s=t?On.createElementNS(qp,e):On.createElement(e,n?{is:n}:void 0);return e==="select"&&i&&i.multiple!=null&&s.setAttribute("multiple",i.multiple),s},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,i,s,r){const o=n?n.previousSibling:t.lastChild;if(s&&(s===r||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),n),!(s===r||!(s=s.nextSibling)););else{Tl.innerHTML=i?`${e}`:e;const a=Tl.content;if(i){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 Jp(e,t,n){const i=e._vtc;i&&(t=(t?[t,...i]:[...i]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}function Qp(e,t,n){const i=e.style,s=Ut(n);if(n&&!s){if(t&&!Ut(t))for(const r in t)n[r]==null&&$o(i,r,"");for(const r in n)$o(i,r,n[r])}else{const r=i.display;s?t!==n&&(i.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(i.display=r)}}const Dl=/\s*!important$/;function $o(e,t,n){if(nt(n))n.forEach(i=>$o(e,t,i));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const i=tg(e,t);Dl.test(n)?e.setProperty(bi(i),n.replace(Dl,""),"important"):e[i]=n}}const kl=["Webkit","Moz","ms"],Kr={};function tg(e,t){const n=Kr[t];if(n)return n;let i=Fe(t);if(i!=="filter"&&i in e)return Kr[t]=i;i=br(i);for(let s=0;sYr||(og.then(()=>Yr=0),Yr=Date.now());function lg(e,t){const n=i=>{if(!i._vts)i._vts=Date.now();else if(i._vts<=n.attached)return;me(cg(i,n.value),t,5,[i])};return n.value=e,n.attached=ag(),n}function cg(e,t){if(nt(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(i=>s=>!s._stopped&&i&&i(s))}else return t}const Hl=/^on[a-z]/,ug=(e,t,n,i,s=!1,r,o,a,l)=>{t==="class"?Jp(e,i,s):t==="style"?Qp(e,n,i):gr(t)?ca(t)||sg(e,t,n,i,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):dg(e,t,i,s))?ng(e,t,i,r,o,a,l):(t==="true-value"?e._trueValue=i:t==="false-value"&&(e._falseValue=i),eg(e,t,i,s))};function dg(e,t,n,i){return i?!!(t==="innerHTML"||t==="textContent"||t in e&&Hl.test(t)&&ct(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||Hl.test(t)&&Ut(n)?!1:t in e}const tn="transition",wi="animation",Zs=(e,{slots:t})=>Ge(Sd,fg(e),t);Zs.displayName="Transition";const jd={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};Zs.props=Gt({},Sd.props,jd);const Mn=(e,t=[])=>{nt(e)?e.forEach(n=>n(...t)):e&&e(...t)},Nl=e=>e?nt(e)?e.some(t=>t.length>1):e.length>1:!1;function fg(e){const t={};for(const k in e)k in jd||(t[k]=e[k]);if(e.css===!1)return t;const{name:n="v",type:i,duration:s,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:d=`${n}-leave-from`,leaveActiveClass:f=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=e,g=hg(s),m=g&&g[0],_=g&&g[1],{onBeforeEnter:y,onEnter:S,onEnterCancelled:M,onLeave:E,onLeaveCancelled:A,onBeforeAppear:O=y,onAppear:C=S,onAppearCancelled:w=M}=t,P=(k,Z,ot)=>{En(k,Z?u:a),En(k,Z?c:o),ot&&ot()},$=(k,Z)=>{k._isLeaving=!1,En(k,d),En(k,h),En(k,f),Z&&Z()},q=k=>(Z,ot)=>{const G=k?C:S,st=()=>P(Z,k,ot);Mn(G,[Z,st]),Fl(()=>{En(Z,k?l:r),en(Z,k?u:a),Nl(G)||Vl(Z,i,m,st)})};return Gt(t,{onBeforeEnter(k){Mn(y,[k]),en(k,r),en(k,o)},onBeforeAppear(k){Mn(O,[k]),en(k,l),en(k,c)},onEnter:q(!1),onAppear:q(!0),onLeave(k,Z){k._isLeaving=!0;const ot=()=>$(k,Z);en(k,d),mg(),en(k,f),Fl(()=>{!k._isLeaving||(En(k,d),en(k,h),Nl(E)||Vl(k,i,_,ot))}),Mn(E,[k,ot])},onEnterCancelled(k){P(k,!1),Mn(M,[k])},onAppearCancelled(k){P(k,!0),Mn(w,[k])},onLeaveCancelled(k){$(k),Mn(A,[k])}})}function hg(e){if(e==null)return null;if(It(e))return[qr(e.enter),qr(e.leave)];{const t=qr(e);return[t,t]}}function qr(e){return s1(e)}function en(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e._vtc||(e._vtc=new Set)).add(t)}function En(e,t){t.split(/\s+/).forEach(i=>i&&e.classList.remove(i));const{_vtc:n}=e;n&&(n.delete(t),n.size||(e._vtc=void 0))}function Fl(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let pg=0;function Vl(e,t,n,i){const s=e._endId=++pg,r=()=>{s===e._endId&&i()};if(n)return setTimeout(r,n);const{type:o,timeout:a,propCount:l}=gg(e,t);if(!o)return i();const c=o+"end";let u=0;const d=()=>{e.removeEventListener(c,f),r()},f=h=>{h.target===e&&++u>=l&&d()};setTimeout(()=>{u(n[g]||"").split(", "),s=i(`${tn}Delay`),r=i(`${tn}Duration`),o=Bl(s,r),a=i(`${wi}Delay`),l=i(`${wi}Duration`),c=Bl(a,l);let u=null,d=0,f=0;t===tn?o>0&&(u=tn,d=o,f=r.length):t===wi?c>0&&(u=wi,d=c,f=l.length):(d=Math.max(o,c),u=d>0?o>c?tn:wi:null,f=u?u===tn?r.length:l.length:0);const h=u===tn&&/\b(transform|all)(,|$)/.test(i(`${tn}Property`).toString());return{type:u,timeout:d,propCount:f,hasTransform:h}}function Bl(e,t){for(;e.lengthUl(n)+Ul(e[i])))}function Ul(e){return Number(e.slice(0,-1).replace(",","."))*1e3}function mg(){return document.body.offsetHeight}const _n=e=>{const t=e.props["onUpdate:modelValue"]||!1;return nt(t)?n=>Ns(t,n):t};function bg(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:i}},s){e._assign=_n(s);const r=i||s.props&&s.props.type==="number";We(e,t?"change":"input",o=>{if(o.target.composing)return;let a=e.value;n&&(a=a.trim()),r&&(a=Xs(a)),e._assign(a)}),n&&We(e,"change",()=>{e.value=e.value.trim()}),t||(We(e,"compositionstart",bg),We(e,"compositionend",$l),We(e,"change",$l))},mounted(e,{value:t}){e.value=t==null?"":t},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:i,number:s}},r){if(e._assign=_n(r),e.composing||document.activeElement===e&&e.type!=="range"&&(n||i&&e.value.trim()===t||(s||e.type==="number")&&Xs(e.value)===t))return;const o=t==null?"":t;e.value!==o&&(e.value=o)}},_g={deep:!0,created(e,t,n){e._assign=_n(n),We(e,"change",()=>{const i=e._modelValue,s=li(e),r=e.checked,o=e._assign;if(nt(i)){const a=la(i,s),l=a!==-1;if(r&&!l)o(i.concat(s));else if(!r&&l){const c=[...i];c.splice(a,1),o(c)}}else if(mi(i)){const a=new Set(i);r?a.add(s):a.delete(s),o(a)}else o(Xd(e,r))})},mounted:jl,beforeUpdate(e,t,n){e._assign=_n(n),jl(e,t,n)}};function jl(e,{value:t,oldValue:n},i){e._modelValue=t,nt(t)?e.checked=la(t,i.props.value)>-1:mi(t)?e.checked=t.has(i.props.value):t!==n&&(e.checked=Un(t,Xd(e,!0)))}const yg={created(e,{value:t},n){e.checked=Un(t,n.props.value),e._assign=_n(n),We(e,"change",()=>{e._assign(li(e))})},beforeUpdate(e,{value:t,oldValue:n},i){e._assign=_n(i),t!==n&&(e.checked=Un(t,i.props.value))}},xg={deep:!0,created(e,{value:t,modifiers:{number:n}},i){const s=mi(t);We(e,"change",()=>{const r=Array.prototype.filter.call(e.options,o=>o.selected).map(o=>n?Xs(li(o)):li(o));e._assign(e.multiple?s?new Set(r):r:r[0])}),e._assign=_n(i)},mounted(e,{value:t}){Xl(e,t)},beforeUpdate(e,t,n){e._assign=_n(n)},updated(e,{value:t}){Xl(e,t)}};function Xl(e,t){const n=e.multiple;if(!(n&&!nt(t)&&!mi(t))){for(let i=0,s=e.options.length;i-1:r.selected=t.has(o);else if(Un(li(r),t)){e.selectedIndex!==i&&(e.selectedIndex=i);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function li(e){return"_value"in e?e._value:e.value}function Xd(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const YA={created(e,t,n){As(e,t,n,null,"created")},mounted(e,t,n){As(e,t,n,null,"mounted")},beforeUpdate(e,t,n,i){As(e,t,n,i,"beforeUpdate")},updated(e,t,n,i){As(e,t,n,i,"updated")}};function vg(e,t){switch(e){case"SELECT":return xg;case"TEXTAREA":return zl;default:switch(t){case"checkbox":return _g;case"radio":return yg;default:return zl}}}function As(e,t,n,i,s){const o=vg(e.tagName,n.props&&n.props.type)[s];o&&o(e,t,n,i)}const Ag=["ctrl","shift","alt","meta"],Sg={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)=>Ag.some(n=>e[`${n}Key`]&&!t.includes(n))},Js=(e,t)=>(n,...i)=>{for(let s=0;s{Ii(e,!1)}):Ii(e,t))},beforeUnmount(e,{value:t}){Ii(e,t)}};function Ii(e,t){e.style.display=t?e._vod:"none"}const Eg=Gt({patchProp:ug},Zp);let Wl;function Rg(){return Wl||(Wl=Lp(Eg))}const wg=(...e)=>{const t=Rg().createApp(...e),{mount:n}=t;return t.mount=i=>{const s=Ig(i);if(!s)return;const r=t._component;!ct(r)&&!r.render&&!r.template&&(r.template=s.innerHTML),s.innerHTML="";const o=n(s,!1,s instanceof SVGElement);return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),o},t};function Ig(e){return Ut(e)?document.querySelector(e):e}var Cg=!1;/*! + * pinia v2.0.33 + * (c) 2023 Eduardo San Martin Morote + * @license MIT + */let Wd;const Ir=e=>Wd=e,Gd=Symbol();function zo(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var zi;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(zi||(zi={}));function Lg(){const e=qu(!0),t=e.run(()=>Kt({}));let n=[],i=[];const s=oi({install(r){Ir(s),s._a=r,r.provide(Gd,s),r.config.globalProperties.$pinia=s,i.forEach(o=>n.push(o)),i=[]},use(r){return!this._a&&!Cg?i.push(r):n.push(r),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return s}const Kd=()=>{};function Gl(e,t,n,i=Kd){e.push(t);const s=()=>{const r=e.indexOf(t);r>-1&&(e.splice(r,1),i())};return!n&&Zu()&&a1(s),s}function Gn(e,...t){e.slice().forEach(n=>{n(...t)})}function jo(e,t){e instanceof Map&&t instanceof Map&&t.forEach((n,i)=>e.set(i,n)),e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const i=t[n],s=e[n];zo(s)&&zo(i)&&e.hasOwnProperty(n)&&!Bt(i)&&!hn(i)?e[n]=jo(s,i):e[n]=i}return e}const Tg=Symbol();function Dg(e){return!zo(e)||!e.hasOwnProperty(Tg)}const{assign:rn}=Object;function kg(e){return!!(Bt(e)&&e.effect)}function Og(e,t,n,i){const{state:s,actions:r,getters:o}=t,a=n.state.value[e];let l;function c(){a||(n.state.value[e]=s?s():{});const u=V1(n.state.value[e]);return rn(u,r,Object.keys(o||{}).reduce((d,f)=>(d[f]=oi(it(()=>{Ir(n);const h=n._s.get(e);return o[f].call(h,h)})),d),{}))}return l=Yd(e,c,t,n,i,!0),l}function Yd(e,t,n={},i,s,r){let o;const a=rn({actions:{}},n),l={deep:!0};let c,u,d=oi([]),f=oi([]),h;const g=i.state.value[e];!r&&!g&&(i.state.value[e]={}),Kt({});let m;function _(C){let w;c=u=!1,typeof C=="function"?(C(i.state.value[e]),w={type:zi.patchFunction,storeId:e,events:h}):(jo(i.state.value[e],C),w={type:zi.patchObject,payload:C,storeId:e,events:h});const P=m=Symbol();xa().then(()=>{m===P&&(c=!0)}),u=!0,Gn(d,w,i.state.value[e])}const y=r?function(){const{state:w}=n,P=w?w():{};this.$patch($=>{rn($,P)})}:Kd;function S(){o.stop(),d=[],f=[],i._s.delete(e)}function M(C,w){return function(){Ir(i);const P=Array.from(arguments),$=[],q=[];function k(G){$.push(G)}function Z(G){q.push(G)}Gn(f,{args:P,name:C,store:A,after:k,onError:Z});let ot;try{ot=w.apply(this&&this.$id===e?this:A,P)}catch(G){throw Gn(q,G),G}return ot instanceof Promise?ot.then(G=>(Gn($,G),G)).catch(G=>(Gn(q,G),Promise.reject(G))):(Gn($,ot),ot)}}const E={_p:i,$id:e,$onAction:Gl.bind(null,f),$patch:_,$reset:y,$subscribe(C,w={}){const P=Gl(d,C,w.detached,()=>$()),$=o.run(()=>Fn(()=>i.state.value[e],q=>{(w.flush==="sync"?u:c)&&C({storeId:e,type:zi.direct,events:h},q)},rn({},l,w)));return P},$dispose:S},A=xi(E);i._s.set(e,A);const O=i._e.run(()=>(o=qu(),o.run(()=>t())));for(const C in O){const w=O[C];if(Bt(w)&&!kg(w)||hn(w))r||(g&&Dg(w)&&(Bt(w)?w.value=g[C]:jo(w,g[C])),i.state.value[e][C]=w);else if(typeof w=="function"){const P=M(C,w);O[C]=P,a.actions[C]=w}}return rn(A,O),rn(mt(A),O),Object.defineProperty(A,"$state",{get:()=>i.state.value[e],set:C=>{_(w=>{rn(w,C)})}}),i._p.forEach(C=>{rn(A,o.run(()=>C({store:A,app:i._a,pinia:i,options:a})))}),g&&r&&n.hydrate&&n.hydrate(A.$state,g),c=!0,u=!0,A}function qd(e,t,n){let i,s;const r=typeof t=="function";typeof e=="string"?(i=e,s=r?n:t):(s=e,i=e.id);function o(a,l){const c=Ra();return a=a||c&&be(Gd,null),a&&Ir(a),a=Wd,a._s.has(i)||(r?Yd(i,t,s,a):Og(i,s,a)),a._s.get(i)}return o.$id=i,o}/*! + * vue-router v4.1.6 + * (c) 2022 Eduardo San Martin Morote + * @license MIT + */const Qn=typeof window<"u";function Pg(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const St=Object.assign;function Zr(e,t){const n={};for(const i in t){const s=t[i];n[i]=Ce(s)?s.map(e):e(s)}return n}const ji=()=>{},Ce=Array.isArray,Hg=/\/$/,Ng=e=>e.replace(Hg,"");function Jr(e,t,n="/"){let i,s={},r="",o="";const a=t.indexOf("#");let l=t.indexOf("?");return a=0&&(l=-1),l>-1&&(i=t.slice(0,l),r=t.slice(l+1,a>-1?a:t.length),s=e(r)),a>-1&&(i=i||t.slice(0,a),o=t.slice(a,t.length)),i=Ug(i!=null?i:t,n),{fullPath:i+(r&&"?")+r+o,path:i,query:s,hash:o}}function Fg(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 Vg(e,t,n){const i=t.matched.length-1,s=n.matched.length-1;return i>-1&&i===s&&ci(t.matched[i],n.matched[s])&&Zd(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function ci(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Zd(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Bg(e[n],t[n]))return!1;return!0}function Bg(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,i)=>n===t[i]):e.length===1&&e[0]===t}function Ug(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),i=e.split("/");let s=n.length-1,r,o;for(r=0;r1&&s--;else break;return n.slice(0,s).join("/")+"/"+i.slice(r-(r===i.length?1:0)).join("/")}var ss;(function(e){e.pop="pop",e.push="push"})(ss||(ss={}));var Xi;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Xi||(Xi={}));function $g(e){if(!e)if(Qn){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Ng(e)}const zg=/^[^#]+#/;function jg(e,t){return e.replace(zg,"#")+t}function Xg(e,t){const n=document.documentElement.getBoundingClientRect(),i=e.getBoundingClientRect();return{behavior:t.behavior,left:i.left-n.left-(t.left||0),top:i.top-n.top-(t.top||0)}}const Cr=()=>({left:window.pageXOffset,top:window.pageYOffset});function Wg(e){let t;if("el"in e){const n=e.el,i=typeof n=="string"&&n.startsWith("#"),s=typeof n=="string"?i?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!s)return;t=Xg(s,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 Xo=new Map;function Gg(e,t){Xo.set(e,t)}function Kg(e){const t=Xo.get(e);return Xo.delete(e),t}let Yg=()=>location.protocol+"//"+location.host;function Jd(e,t){const{pathname:n,search:i,hash:s}=t,r=e.indexOf("#");if(r>-1){let a=s.includes(e.slice(r))?e.slice(r).length:1,l=s.slice(a);return l[0]!=="/"&&(l="/"+l),Kl(l,"")}return Kl(n,e)+i+s}function qg(e,t,n,i){let s=[],r=[],o=null;const a=({state:f})=>{const h=Jd(e,location),g=n.value,m=t.value;let _=0;if(f){if(n.value=h,t.value=f,o&&o===g){o=null;return}_=m?f.position-m.position:0}else i(h);s.forEach(y=>{y(n.value,g,{delta:_,type:ss.pop,direction:_?_>0?Xi.forward:Xi.back:Xi.unknown})})};function l(){o=n.value}function c(f){s.push(f);const h=()=>{const g=s.indexOf(f);g>-1&&s.splice(g,1)};return r.push(h),h}function u(){const{history:f}=window;!f.state||f.replaceState(St({},f.state,{scroll:Cr()}),"")}function d(){for(const f of r)f();r=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",u),{pauseListeners:l,listen:c,destroy:d}}function Zl(e,t,n,i=!1,s=!1){return{back:e,current:t,forward:n,replaced:i,position:window.history.length,scroll:s?Cr():null}}function Zg(e){const{history:t,location:n}=window,i={value:Jd(e,n)},s={value:t.state};s.value||r(i.value,{back:null,current:i.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function r(l,c,u){const d=e.indexOf("#"),f=d>-1?(n.host&&document.querySelector("base")?e:e.slice(d))+l:Yg()+e+l;try{t[u?"replaceState":"pushState"](c,"",f),s.value=c}catch(h){console.error(h),n[u?"replace":"assign"](f)}}function o(l,c){const u=St({},t.state,Zl(s.value.back,l,s.value.forward,!0),c,{position:s.value.position});r(l,u,!0),i.value=l}function a(l,c){const u=St({},s.value,t.state,{forward:l,scroll:Cr()});r(u.current,u,!0);const d=St({},Zl(i.value,l,null),{position:u.position+1},c);r(l,d,!1),i.value=l}return{location:i,state:s,push:a,replace:o}}function Jg(e){e=$g(e);const t=Zg(e),n=qg(e,t.state,t.location,t.replace);function i(r,o=!0){o||n.pauseListeners(),history.go(r)}const s=St({location:"",base:e,go:i,createHref:jg.bind(null,e)},t,n);return Object.defineProperty(s,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(s,"state",{enumerable:!0,get:()=>t.state.value}),s}function Qg(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),Jg(e)}function tm(e){return typeof e=="string"||e&&typeof e=="object"}function Qd(e){return typeof e=="string"||typeof e=="symbol"}const nn={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},tf=Symbol("");var Jl;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Jl||(Jl={}));function ui(e,t){return St(new Error,{type:e,[tf]:!0},t)}function Ve(e,t){return e instanceof Error&&tf in e&&(t==null||!!(e.type&t))}const Ql="[^/]+?",em={sensitive:!1,strict:!1,start:!0,end:!0},nm=/[.+*?^${}()[\]/\\]/g;function im(e,t){const n=St({},em,t),i=[];let s=n.start?"^":"";const r=[];for(const c of e){const u=c.length?[]:[90];n.strict&&!c.length&&(s+="/");for(let d=0;dt.length?t.length===1&&t[0]===40+40?1:-1:0}function rm(e,t){let n=0;const i=e.score,s=t.score;for(;n0&&t[t.length-1]<0}const om={type:0,value:""},am=/[a-zA-Z0-9_]/;function lm(e){if(!e)return[[]];if(e==="/")return[[om]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(h){throw new Error(`ERR (${n})/"${c}": ${h}`)}let n=0,i=n;const s=[];let r;function o(){r&&s.push(r),r=[]}let a=0,l,c="",u="";function d(){!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 f(){c+=l}for(;a{o(S)}:ji}function o(u){if(Qd(u)){const d=i.get(u);d&&(i.delete(u),n.splice(n.indexOf(d),1),d.children.forEach(o),d.alias.forEach(o))}else{const d=n.indexOf(u);d>-1&&(n.splice(d,1),u.record.name&&i.delete(u.record.name),u.children.forEach(o),u.alias.forEach(o))}}function a(){return n}function l(u){let d=0;for(;d=0&&(u.record.path!==n[d].record.path||!ef(u,n[d]));)d++;n.splice(d,0,u),u.record.name&&!nc(u)&&i.set(u.record.name,u)}function c(u,d){let f,h={},g,m;if("name"in u&&u.name){if(f=i.get(u.name),!f)throw ui(1,{location:u});m=f.record.name,h=St(ec(d.params,f.keys.filter(S=>!S.optional).map(S=>S.name)),u.params&&ec(u.params,f.keys.map(S=>S.name))),g=f.stringify(h)}else if("path"in u)g=u.path,f=n.find(S=>S.re.test(g)),f&&(h=f.parse(g),m=f.record.name);else{if(f=d.name?i.get(d.name):n.find(S=>S.re.test(d.path)),!f)throw ui(1,{location:u,currentLocation:d});m=f.record.name,h=St({},d.params,u.params),g=f.stringify(h)}const _=[];let y=f;for(;y;)_.unshift(y.record),y=y.parent;return{name:m,path:g,params:h,matched:_,meta:hm(_)}}return e.forEach(u=>r(u)),{addRoute:r,resolve:c,removeRoute:o,getRoutes:a,getRecordMatcher:s}}function ec(e,t){const n={};for(const i of t)i in e&&(n[i]=e[i]);return n}function dm(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:fm(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 fm(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const i in e.components)t[i]=typeof n=="boolean"?n:n[i];return t}function nc(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function hm(e){return e.reduce((t,n)=>St(t,n.meta),{})}function ic(e,t){const n={};for(const i in e)n[i]=i in t?t[i]:e[i];return n}function ef(e,t){return t.children.some(n=>n===e||ef(e,n))}const nf=/#/g,pm=/&/g,gm=/\//g,mm=/=/g,bm=/\?/g,sf=/\+/g,_m=/%5B/g,ym=/%5D/g,rf=/%5E/g,xm=/%60/g,of=/%7B/g,vm=/%7C/g,af=/%7D/g,Am=/%20/g;function Ia(e){return encodeURI(""+e).replace(vm,"|").replace(_m,"[").replace(ym,"]")}function Sm(e){return Ia(e).replace(of,"{").replace(af,"}").replace(rf,"^")}function Wo(e){return Ia(e).replace(sf,"%2B").replace(Am,"+").replace(nf,"%23").replace(pm,"%26").replace(xm,"`").replace(of,"{").replace(af,"}").replace(rf,"^")}function Mm(e){return Wo(e).replace(mm,"%3D")}function Em(e){return Ia(e).replace(nf,"%23").replace(bm,"%3F")}function Rm(e){return e==null?"":Em(e).replace(gm,"%2F")}function Qs(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function wm(e){const t={};if(e===""||e==="?")return t;const i=(e[0]==="?"?e.slice(1):e).split("&");for(let s=0;sr&&Wo(r)):[i&&Wo(i)]).forEach(r=>{r!==void 0&&(t+=(t.length?"&":"")+n,r!=null&&(t+="="+r))})}return t}function Im(e){const t={};for(const n in e){const i=e[n];i!==void 0&&(t[n]=Ce(i)?i.map(s=>s==null?null:""+s):i==null?i:""+i)}return t}const Cm=Symbol(""),rc=Symbol(""),Lr=Symbol(""),Ca=Symbol(""),Go=Symbol("");function Ci(){let e=[];function t(i){return e.push(i),()=>{const s=e.indexOf(i);s>-1&&e.splice(s,1)}}function n(){e=[]}return{add:t,list:()=>e,reset:n}}function ln(e,t,n,i,s){const r=i&&(i.enterCallbacks[s]=i.enterCallbacks[s]||[]);return()=>new Promise((o,a)=>{const l=d=>{d===!1?a(ui(4,{from:n,to:t})):d instanceof Error?a(d):tm(d)?a(ui(2,{from:t,to:d})):(r&&i.enterCallbacks[s]===r&&typeof d=="function"&&r.push(d),o())},c=e.call(i&&i.instances[s],t,n,l);let u=Promise.resolve(c);e.length<3&&(u=u.then(l)),u.catch(d=>a(d))})}function Qr(e,t,n,i){const s=[];for(const r of e)for(const o in r.components){let a=r.components[o];if(!(t!=="beforeRouteEnter"&&!r.instances[o]))if(Lm(a)){const c=(a.__vccOpts||a)[t];c&&s.push(ln(c,n,i,r,o))}else{let l=a();s.push(()=>l.then(c=>{if(!c)return Promise.reject(new Error(`Couldn't resolve component "${o}" at "${r.path}"`));const u=Pg(c)?c.default:c;r.components[o]=u;const f=(u.__vccOpts||u)[t];return f&&ln(f,n,i,r,o)()}))}}return s}function Lm(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function oc(e){const t=be(Lr),n=be(Ca),i=it(()=>t.resolve(T(e.to))),s=it(()=>{const{matched:l}=i.value,{length:c}=l,u=l[c-1],d=n.matched;if(!u||!d.length)return-1;const f=d.findIndex(ci.bind(null,u));if(f>-1)return f;const h=ac(l[c-2]);return c>1&&ac(u)===h&&d[d.length-1].path!==h?d.findIndex(ci.bind(null,l[c-2])):f}),r=it(()=>s.value>-1&&km(n.params,i.value.params)),o=it(()=>s.value>-1&&s.value===n.matched.length-1&&Zd(n.params,i.value.params));function a(l={}){return Dm(l)?t[T(e.replace)?"replace":"push"](T(e.to)).catch(ji):Promise.resolve()}return{route:i,href:it(()=>i.value.href),isActive:r,isExactActive:o,navigate:a}}const Tm=vr({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:oc,setup(e,{slots:t}){const n=xi(oc(e)),{options:i}=be(Lr),s=it(()=>({[lc(e.activeClass,i.linkActiveClass,"router-link-active")]:n.isActive,[lc(e.exactActiveClass,i.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const r=t.default&&t.default(n);return e.custom?r:Ge("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:s.value},r)}}}),Tr=Tm;function Dm(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 km(e,t){for(const n in t){const i=t[n],s=e[n];if(typeof i=="string"){if(i!==s)return!1}else if(!Ce(s)||s.length!==i.length||i.some((r,o)=>r!==s[o]))return!1}return!0}function ac(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const lc=(e,t,n)=>e!=null?e:t!=null?t:n,Om=vr({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const i=be(Go),s=it(()=>e.route||i.value),r=be(rc,0),o=it(()=>{let c=T(r);const{matched:u}=s.value;let d;for(;(d=u[c])&&!d.components;)c++;return c}),a=it(()=>s.value.matched[o.value]);Fs(rc,it(()=>o.value+1)),Fs(Cm,a),Fs(Go,s);const l=Kt();return Fn(()=>[l.value,a.value,e.name],([c,u,d],[f,h,g])=>{u&&(u.instances[d]=c,h&&h!==u&&c&&c===f&&(u.leaveGuards.size||(u.leaveGuards=h.leaveGuards),u.updateGuards.size||(u.updateGuards=h.updateGuards))),c&&u&&(!h||!ci(u,h)||!f)&&(u.enterCallbacks[d]||[]).forEach(m=>m(c))},{flush:"post"}),()=>{const c=s.value,u=e.name,d=a.value,f=d&&d.components[u];if(!f)return cc(n.default,{Component:f,route:c});const h=d.props[u],g=h?h===!0?c.params:typeof h=="function"?h(c):h:null,_=Ge(f,St({},g,t,{onVnodeUnmounted:y=>{y.component.isUnmounted&&(d.instances[u]=null)},ref:l}));return cc(n.default,{Component:_,route:c})||_}}});function cc(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const lf=Om;function Pm(e){const t=um(e.routes,e),n=e.parseQuery||wm,i=e.stringifyQuery||sc,s=e.history,r=Ci(),o=Ci(),a=Ci(),l=H1(nn);let c=nn;Qn&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Zr.bind(null,L=>""+L),d=Zr.bind(null,Rm),f=Zr.bind(null,Qs);function h(L,X){let j,J;return Qd(L)?(j=t.getRecordMatcher(L),J=X):J=L,t.addRoute(J,j)}function g(L){const X=t.getRecordMatcher(L);X&&t.removeRoute(X)}function m(){return t.getRoutes().map(L=>L.record)}function _(L){return!!t.getRecordMatcher(L)}function y(L,X){if(X=St({},X||l.value),typeof L=="string"){const b=Jr(n,L,X.path),v=t.resolve({path:b.path},X),R=s.createHref(b.fullPath);return St(b,v,{params:f(v.params),hash:Qs(b.hash),redirectedFrom:void 0,href:R})}let j;if("path"in L)j=St({},L,{path:Jr(n,L.path,X.path).path});else{const b=St({},L.params);for(const v in b)b[v]==null&&delete b[v];j=St({},L,{params:d(L.params)}),X.params=d(X.params)}const J=t.resolve(j,X),bt=L.hash||"";J.params=u(f(J.params));const Dt=Fg(i,St({},L,{hash:Sm(bt),path:J.path})),ut=s.createHref(Dt);return St({fullPath:Dt,hash:bt,query:i===sc?Im(L.query):L.query||{}},J,{redirectedFrom:void 0,href:ut})}function S(L){return typeof L=="string"?Jr(n,L,l.value.path):St({},L)}function M(L,X){if(c!==L)return ui(8,{from:X,to:L})}function E(L){return C(L)}function A(L){return E(St(S(L),{replace:!0}))}function O(L){const X=L.matched[L.matched.length-1];if(X&&X.redirect){const{redirect:j}=X;let J=typeof j=="function"?j(L):j;return typeof J=="string"&&(J=J.includes("?")||J.includes("#")?J=S(J):{path:J},J.params={}),St({query:L.query,hash:L.hash,params:"path"in J?{}:L.params},J)}}function C(L,X){const j=c=y(L),J=l.value,bt=L.state,Dt=L.force,ut=L.replace===!0,b=O(j);if(b)return C(St(S(b),{state:typeof b=="object"?St({},bt,b.state):bt,force:Dt,replace:ut}),X||j);const v=j;v.redirectedFrom=X;let R;return!Dt&&Vg(i,J,j)&&(R=ui(16,{to:v,from:J}),ne(J,J,!0,!1)),(R?Promise.resolve(R):P(v,J)).catch(I=>Ve(I)?Ve(I,2)?I:Qt(I):rt(I,v,J)).then(I=>{if(I){if(Ve(I,2))return C(St({replace:ut},S(I.to),{state:typeof I.to=="object"?St({},bt,I.to.state):bt,force:Dt}),X||v)}else I=q(v,J,!0,ut,bt);return $(v,J,I),I})}function w(L,X){const j=M(L,X);return j?Promise.reject(j):Promise.resolve()}function P(L,X){let j;const[J,bt,Dt]=Hm(L,X);j=Qr(J.reverse(),"beforeRouteLeave",L,X);for(const b of J)b.leaveGuards.forEach(v=>{j.push(ln(v,L,X))});const ut=w.bind(null,L,X);return j.push(ut),Kn(j).then(()=>{j=[];for(const b of r.list())j.push(ln(b,L,X));return j.push(ut),Kn(j)}).then(()=>{j=Qr(bt,"beforeRouteUpdate",L,X);for(const b of bt)b.updateGuards.forEach(v=>{j.push(ln(v,L,X))});return j.push(ut),Kn(j)}).then(()=>{j=[];for(const b of L.matched)if(b.beforeEnter&&!X.matched.includes(b))if(Ce(b.beforeEnter))for(const v of b.beforeEnter)j.push(ln(v,L,X));else j.push(ln(b.beforeEnter,L,X));return j.push(ut),Kn(j)}).then(()=>(L.matched.forEach(b=>b.enterCallbacks={}),j=Qr(Dt,"beforeRouteEnter",L,X),j.push(ut),Kn(j))).then(()=>{j=[];for(const b of o.list())j.push(ln(b,L,X));return j.push(ut),Kn(j)}).catch(b=>Ve(b,8)?b:Promise.reject(b))}function $(L,X,j){for(const J of a.list())J(L,X,j)}function q(L,X,j,J,bt){const Dt=M(L,X);if(Dt)return Dt;const ut=X===nn,b=Qn?history.state:{};j&&(J||ut?s.replace(L.fullPath,St({scroll:ut&&b&&b.scroll},bt)):s.push(L.fullPath,bt)),l.value=L,ne(L,X,j,ut),Qt()}let k;function Z(){k||(k=s.listen((L,X,j)=>{if(!Je.listening)return;const J=y(L),bt=O(J);if(bt){C(St(bt,{replace:!0}),J).catch(ji);return}c=J;const Dt=l.value;Qn&&Gg(ql(Dt.fullPath,j.delta),Cr()),P(J,Dt).catch(ut=>Ve(ut,12)?ut:Ve(ut,2)?(C(ut.to,J).then(b=>{Ve(b,20)&&!j.delta&&j.type===ss.pop&&s.go(-1,!1)}).catch(ji),Promise.reject()):(j.delta&&s.go(-j.delta,!1),rt(ut,J,Dt))).then(ut=>{ut=ut||q(J,Dt,!1),ut&&(j.delta&&!Ve(ut,8)?s.go(-j.delta,!1):j.type===ss.pop&&Ve(ut,20)&&s.go(-1,!1)),$(J,Dt,ut)}).catch(ji)}))}let ot=Ci(),G=Ci(),st;function rt(L,X,j){Qt(L);const J=G.list();return J.length?J.forEach(bt=>bt(L,X,j)):console.error(L),Promise.reject(L)}function ft(){return st&&l.value!==nn?Promise.resolve():new Promise((L,X)=>{ot.add([L,X])})}function Qt(L){return st||(st=!L,Z(),ot.list().forEach(([X,j])=>L?j(L):X()),ot.reset()),L}function ne(L,X,j,J){const{scrollBehavior:bt}=e;if(!Qn||!bt)return Promise.resolve();const Dt=!j&&Kg(ql(L.fullPath,0))||(J||!j)&&history.state&&history.state.scroll||null;return xa().then(()=>bt(L,X,Dt)).then(ut=>ut&&Wg(ut)).catch(ut=>rt(ut,L,X))}const qt=L=>s.go(L);let Ft;const de=new Set,Je={currentRoute:l,listening:!0,addRoute:h,removeRoute:g,hasRoute:_,getRoutes:m,resolve:y,options:e,push:E,replace:A,go:qt,back:()=>qt(-1),forward:()=>qt(1),beforeEach:r.add,beforeResolve:o.add,afterEach:a.add,onError:G.add,isReady:ft,install(L){const X=this;L.component("RouterLink",Tr),L.component("RouterView",lf),L.config.globalProperties.$router=X,Object.defineProperty(L.config.globalProperties,"$route",{enumerable:!0,get:()=>T(l)}),Qn&&!Ft&&l.value===nn&&(Ft=!0,E(s.location).catch(bt=>{}));const j={};for(const bt in nn)j[bt]=it(()=>l.value[bt]);L.provide(Lr,X),L.provide(Ca,xi(j)),L.provide(Go,l);const J=L.unmount;de.add(L),L.unmount=function(){de.delete(L),de.size<1&&(c=nn,k&&k(),k=null,l.value=nn,Ft=!1,st=!1),J()}}};return Je}function Kn(e){return e.reduce((t,n)=>t.then(()=>n()),Promise.resolve())}function Hm(e,t){const n=[],i=[],s=[],r=Math.max(t.matched.length,e.matched.length);for(let o=0;oci(c,a))?i.push(a):n.push(a));const l=e.matched[o];l&&(t.matched.find(c=>ci(c,l))||s.push(l))}return[n,i,s]}function cf(){return be(Lr)}function Nm(){return be(Ca)}const Fm={__name:"App",setup(e){return(t,n)=>(F(),pt(T(lf),{key:t.$route.fullPath}))}},Vm="modulepreload",Bm=function(e){return"/"+e},uc={},kt=function(t,n,i){if(!n||n.length===0)return t();const s=document.getElementsByTagName("link");return Promise.all(n.map(r=>{if(r=Bm(r),r in uc)return;uc[r]=!0;const o=r.endsWith(".css"),a=o?'[rel="stylesheet"]':"";if(!!i)for(let u=s.length-1;u>=0;u--){const d=s[u];if(d.href===r&&(!o||d.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${r}"]${a}`))return;const c=document.createElement("link");if(c.rel=o?"stylesheet":Vm,o||(c.as="script",c.crossOrigin=""),c.href=r,document.head.appendChild(c),o)return new Promise((u,d)=>{c.addEventListener("load",u),c.addEventListener("error",()=>d(new Error(`Unable to preload CSS for ${r}`)))})})).then(()=>t())};var Um="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",qA="M11 8C11 10.21 9.21 12 7 12C4.79 12 3 10.21 3 8C3 5.79 4.79 4 7 4C9.21 4 11 5.79 11 8M11 14.72V20H0V18C0 15.79 3.13 14 7 14C8.5 14 9.87 14.27 11 14.72M24 20H13V3H24V20M16 11.5C16 10.12 17.12 9 18.5 9C19.88 9 21 10.12 21 11.5C21 12.88 19.88 14 18.5 14C17.12 14 16 12.88 16 11.5M22 7C20.9 7 20 6.11 20 5H17C17 6.11 16.11 7 15 7V16C16.11 16 17 16.9 17 18H20C20 16.9 20.9 16 22 16V7Z",$m="M21.1,12.5L22.5,13.91L15.97,20.5L12.5,17L13.9,15.59L15.97,17.67L21.1,12.5M10,17L13,20H3V18C3,15.79 6.58,14 11,14L12.89,14.11L10,17M11,4A4,4 0 0,1 15,8A4,4 0 0,1 11,12A4,4 0 0,1 7,8A4,4 0 0,1 11,4Z",ZA="M11 9C11 10.66 9.66 12 8 12C6.34 12 5 10.66 5 9C5 7.34 6.34 6 8 6C9.66 6 11 7.34 11 9M14 20H2V18C2 15.79 4.69 14 8 14C11.31 14 14 15.79 14 18M22 12V14H13V12M22 8V10H13V8M22 4V6H13V4Z",JA="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",QA="M16 17V19H2V17S2 13 9 13 16 17 16 17M12.5 7.5A3.5 3.5 0 1 0 9 11A3.5 3.5 0 0 0 12.5 7.5M15.94 13A5.32 5.32 0 0 1 18 17V19H22V17S22 13.37 15.94 13M15 4A3.39 3.39 0 0 0 13.07 4.59A5 5 0 0 1 13.07 10.41A3.39 3.39 0 0 0 15 11A3.5 3.5 0 0 0 15 4Z",zm="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",jm="M12,4A4,4 0 0,1 16,8C16,9.95 14.6,11.58 12.75,11.93L8.07,7.25C8.42,5.4 10.05,4 12,4M12.28,14L18.28,20L20,21.72L18.73,23L15.73,20H4V18C4,16.16 6.5,14.61 9.87,14.14L2.78,7.05L4.05,5.78L12.28,14M20,18V19.18L15.14,14.32C18,14.93 20,16.35 20,18Z",tS="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,6A2,2 0 0,0 10,8A2,2 0 0,0 12,10A2,2 0 0,0 14,8A2,2 0 0,0 12,6M12,13C14.67,13 20,14.33 20,17V20H4V17C4,14.33 9.33,13 12,13M12,14.9C9.03,14.9 5.9,16.36 5.9,17V18.1H18.1V17C18.1,16.36 14.97,14.9 12,14.9Z",eS="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",Xm="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",nS="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",Wm="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",iS="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",Gm="M5,13L9,17L7.6,18.42L1.18,12L7.6,5.58L9,7L5,11H21V13H5M21,6V8H11V6H21M21,16V18H11V16H21Z",Km="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",Ym="M22,3H2C0.91,3.04 0.04,3.91 0,5V19C0.04,20.09 0.91,20.96 2,21H22C23.09,20.96 23.96,20.09 24,19V5C23.96,3.91 23.09,3.04 22,3M22,19H2V5H22V19M14,17V15.75C14,14.09 10.66,13.25 9,13.25C7.34,13.25 4,14.09 4,15.75V17H14M9,7A2.5,2.5 0 0,0 6.5,9.5A2.5,2.5 0 0,0 9,12A2.5,2.5 0 0,0 11.5,9.5A2.5,2.5 0 0,0 9,7M14,7V8H20V7H14M14,9V10H20V9H14M14,11V12H18V11H14",qm="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",sS="M2,17H22V21H2V17M6.25,7H9V6H6V3H14V6H11V7H17.8C18.8,7 19.8,8 20,9L20.5,16H3.5L4.05,9C4.05,8 5.05,7 6.25,7M13,9V11H18V9H13M6,9V10H8V9H6M9,9V10H11V9H9M6,11V12H8V11H6M9,11V12H11V11H9M6,13V14H8V13H6M9,13V14H11V13H9M7,4V5H13V4H7Z",Zm="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",Jm="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",Qm="M19.78,2.2L24,6.42L8.44,22L0,13.55L4.22,9.33L8.44,13.55L19.78,2.2M19.78,5L8.44,16.36L4.22,12.19L2.81,13.55L8.44,19.17L21.19,6.42L19.78,5Z",uf="M7.41,8.58L12,13.17L16.59,8.58L18,10L12,16L6,10L7.41,8.58Z",df="M7.41,15.41L12,10.83L16.59,15.41L18,14L12,8L6,14L7.41,15.41Z",La="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",t0="M3,16.74L7.76,12L3,7.26L7.26,3L12,7.76L16.74,3L21,7.26L16.24,12L21,16.74L16.74,21L12,16.24L7.26,21L3,16.74M12,13.41L16.74,18.16L18.16,16.74L13.41,12L18.16,7.26L16.74,5.84L12,10.59L7.26,5.84L5.84,7.26L10.59,12L5.84,16.74L7.26,18.16L12,13.41Z",e0="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",rS="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",n0="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",oS="M4,4H20A2,2 0 0,1 22,6V18A2,2 0 0,1 20,20H4A2,2 0 0,1 2,18V6A2,2 0 0,1 4,4M4,6V18H11V6H4M20,18V6H18.76C19,6.54 18.95,7.07 18.95,7.13C18.88,7.8 18.41,8.5 18.24,8.75L15.91,11.3L19.23,11.28L19.24,12.5L14.04,12.47L14,11.47C14,11.47 17.05,8.24 17.2,7.95C17.34,7.67 17.91,6 16.5,6C15.27,6.05 15.41,7.3 15.41,7.3L13.87,7.31C13.87,7.31 13.88,6.65 14.25,6H13V18H15.58L15.57,17.14L16.54,17.13C16.54,17.13 17.45,16.97 17.46,16.08C17.5,15.08 16.65,15.08 16.5,15.08C16.37,15.08 15.43,15.13 15.43,15.95H13.91C13.91,15.95 13.95,13.89 16.5,13.89C19.1,13.89 18.96,15.91 18.96,15.91C18.96,15.91 19,17.16 17.85,17.63L18.37,18H20M8.92,16H7.42V10.2L5.62,10.76V9.53L8.76,8.41H8.92V16Z",i0="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",ff="M14.4,6H20V16H13L12.6,14H7V21H5V4H14L14.4,6M14,14H16V12H18V10H16V8H14V10L13,8V6H11V8H9V6H7V8H9V10H7V12H9V10H11V12H13V10L14,12V14M11,10V8H13V10H11M14,10H16V12H14V10Z",aS="M20.84 22.73L14.11 16H13L12.72 14.61L12.11 14H7V21H5V6.89L1.11 3L2.39 1.73L22.11 21.46L20.84 22.73M20 16V6H14.4L14 4H7.2L19.2 16H20",lS="M12.36,6L12.76,8H18V14H14.64L14.24,12H7V6H12.36M14,4H5V21H7V14H12.6L13,16H20V6H14.4",cS="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",uS="M2 14H8V20H2M16 8H10V10H16M2 10H8V4H2M10 4V6H22V4M10 20H16V18H10M10 16H22V14H10",s0="M19,13H3V11H19L15,7L16.4,5.6L22.8,12L16.4,18.4L15,17L19,13M3,6H13V8H3V6M13,16V18H3V16H13Z",hf="M16.5,9L13.5,12L16.5,15H22V9M9,16.5V22H15V16.5L12,13.5M7.5,9H2V15H7.5L10.5,12M15,7.5V2H9V7.5L12,10.5L15,7.5Z",dS="M12 5.69L17 10.19V18H15V12H9V18H7V10.19L12 5.69M12 3L2 12H5V20H11V14H13V20H19V12H22",pf="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",fS="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",r0="M3,6H21V8H3V6M3,11H21V13H3V11M3,16H21V18H3V16Z",hS="M20,2H4A2,2 0 0,0 2,4V22L6,18H20A2,2 0 0,0 22,16V4C22,2.89 21.1,2 20,2Z",o0="M19,13H5V11H19V13Z",a0="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",l0="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",pS="M4 7V19H19V21H4C2 21 2 19 2 19V7H4M21.3 3H7.7C6.76 3 6 3.7 6 4.55V15.45C6 16.31 6.76 17 7.7 17H21.3C22.24 17 23 16.31 23 15.45V4.55C23 3.7 22.24 3 21.3 3M8 5H13V11H8V5M21 15H8V13H21V15M21 11H15V9H21V11M21 7H15V5H21V7Z",gS="M15,6V8H3V6H15M15,10V12H3V10H15M3,16V14H11V16H3M17,6H22V8H19V17A3,3 0 0,1 16,20A3,3 0 0,1 13,17A3,3 0 0,1 16,14C16.35,14 16.69,14.07 17,14.18V6M16,16A1,1 0 0,0 15,17A1,1 0 0,0 16,18A1,1 0 0,0 17,17A1,1 0 0,0 16,16Z",c0="M19,13H13V19H11V13H5V11H11V5H13V11H19V13Z",u0="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",mS="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",d0="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",f0="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",bS="M12,18H6V14H12M21,14V12L20,7H4L3,12V14H4V20H14V14H18V20H20V14M20,4H4V6H20V4Z",h0="M20 6H4V4H20V6M19 12C17.09 12 15.37 12.76 14.11 14H14V14.11C12.76 15.37 12 17.09 12 19C12 19.34 12.03 19.67 12.08 20H4V14H3V12L4 7H20L21 12V12.3C20.37 12.11 19.7 12 19 12M12 14H6V18H12V14M23.8 20.4C23.9 20.4 23.9 20.5 23.8 20.6L22.8 22.3C22.7 22.4 22.6 22.4 22.5 22.4L21.3 22C21 22.2 20.8 22.3 20.5 22.5L20.3 23.8C20.3 23.9 20.2 24 20.1 24H18.1C18 24 17.9 23.9 17.8 23.8L17.6 22.5C17.3 22.4 17 22.2 16.8 22L15.6 22.5C15.5 22.5 15.4 22.5 15.3 22.4L14.3 20.7C14.2 20.6 14.3 20.5 14.4 20.4L15.5 19.6V18.6L14.4 17.8C14.3 17.7 14.3 17.6 14.3 17.5L15.3 15.8C15.4 15.7 15.5 15.7 15.6 15.7L16.8 16.2C17.1 16 17.3 15.9 17.6 15.7L17.8 14.4C17.8 14.3 17.9 14.2 18.1 14.2H20.1C20.2 14.2 20.3 14.3 20.3 14.4L20.5 15.7C20.8 15.8 21.1 16 21.4 16.2L22.6 15.7C22.7 15.7 22.9 15.7 22.9 15.8L23.9 17.5C24 17.6 23.9 17.7 23.8 17.8L22.7 18.6V19.6L23.8 20.4M20.5 19C20.5 18.2 19.8 17.5 19 17.5S17.5 18.2 17.5 19 18.2 20.5 19 20.5 20.5 19.8 20.5 19Z",_S="M18.36 9L18.96 12H5.04L5.64 9H18.36M20 4H4V6H20V4M20 7H4L3 12V14H4V20H14V14H18V20H20V14H21V12L20 7M6 18V14H12V18H6Z",p0="M5.06 3C4.63 3 4.22 3.14 3.84 3.42C3.46 3.7 3.24 4.06 3.14 4.5L2.11 8.91C1.86 10 2.06 10.92 2.69 11.73C2.81 11.85 2.93 11.97 3.04 12.07C3.63 12.64 4.28 13 5.22 13C6.16 13 6.91 12.59 7.47 12.05C8.1 12.67 8.86 13 9.8 13C10.64 13 11.44 12.63 12 12.07C12.68 12.7 13.45 13 14.3 13C15.17 13 15.91 12.67 16.54 12.05C17.11 12.62 17.86 13 18.81 13C19.76 13 20.43 12.65 21 12.06C21.09 11.97 21.18 11.87 21.28 11.77C21.94 10.95 22.14 10 21.89 8.91L20.86 4.5C20.73 4.06 20.5 3.7 20.13 3.42C19.77 3.14 19.38 3 18.94 3M18.89 4.97L19.97 9.38C20.06 9.81 19.97 10.2 19.69 10.55C19.44 10.86 19.13 11 18.75 11C18.44 11 18.17 10.9 17.95 10.66C17.73 10.43 17.61 10.16 17.58 9.84L16.97 5M5.06 5H7.03L6.42 9.84C6.3 10.63 5.91 11 5.25 11C4.84 11 4.53 10.86 4.31 10.55C4.03 10.2 3.94 9.81 4.03 9.38M9.05 5H11V9.7C11 10.05 10.89 10.35 10.64 10.62C10.39 10.88 10.08 11 9.7 11C9.36 11 9.07 10.88 8.84 10.59C8.61 10.3 8.5 10 8.5 9.66V9.5M13 5H14.95L15.5 9.5C15.58 9.92 15.5 10.27 15.21 10.57C14.95 10.87 14.61 11 14.2 11C13.89 11 13.61 10.88 13.36 10.62C13.11 10.35 13 10.05 13 9.7M3 14.03V19C3 20.11 3.89 21 5 21C9.67 21 14.33 21 19 21C20.1 21 21 20.11 21 19V14.05C20.45 14.63 19.75 14.96 19 15C18 15.03 17.25 14.74 16.54 14.05C15.94 14.65 15.14 15 14.3 15C13.4 15 12.6 14.64 12 14.07C11.43 14.64 10.65 15 9.78 15C8.87 15 8.07 14.65 7.47 14.05C6.89 14.64 6.1 15 5.23 15C4.33 15 3.66 14.65 3 14.03Z",yS="M6.2,2.44L18.1,14.34L20.22,12.22L21.63,13.63L19.16,16.1L22.34,19.28C22.73,19.67 22.73,20.3 22.34,20.69L21.63,21.4C21.24,21.79 20.61,21.79 20.22,21.4L17,18.23L14.56,20.7L13.15,19.29L15.27,17.17L3.37,5.27V2.44H6.2M15.89,10L20.63,5.26V2.44H17.8L13.06,7.18L15.89,10M10.94,15L8.11,12.13L5.9,14.34L3.78,12.22L2.37,13.63L4.84,16.1L1.66,19.29C1.27,19.68 1.27,20.31 1.66,20.7L2.37,21.41C2.76,21.8 3.39,21.8 3.78,21.41L7,18.23L9.44,20.7L10.85,19.29L8.73,17.17L10.94,15Z",gf="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",xS="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",vS="M9,16V10H5L12,3L19,10H15V16H9M5,20V18H19V20H5Z",g0=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function m0(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var mf={exports:{}},Ta={exports:{}},bf=function(t,n){return function(){for(var s=new Array(arguments.length),r=0;r"u"}function _0(e){return e!==null&&!tr(e)&&e.constructor!==null&&!tr(e.constructor)&&typeof e.constructor.isBuffer=="function"&&e.constructor.isBuffer(e)}var _f=jn("ArrayBuffer");function y0(e){var t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&_f(e.buffer),t}function x0(e){return typeof e=="string"}function v0(e){return typeof e=="number"}function yf(e){return e!==null&&typeof e=="object"}function Bs(e){if(ka(e)!=="object")return!1;var t=Object.getPrototypeOf(e);return t===null||t===Object.prototype}var A0=jn("Date"),S0=jn("File"),M0=jn("Blob"),E0=jn("FileList");function Pa(e){return Da.call(e)==="[object Function]"}function R0(e){return yf(e)&&Pa(e.pipe)}function w0(e){var t="[object FormData]";return e&&(typeof FormData=="function"&&e instanceof FormData||Da.call(e)===t||Pa(e.toString)&&e.toString()===t)}var I0=jn("URLSearchParams");function C0(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function L0(){return typeof navigator<"u"&&(navigator.product==="ReactNative"||navigator.product==="NativeScript"||navigator.product==="NS")?!1:typeof window<"u"&&typeof document<"u"}function Ha(e,t){if(!(e===null||typeof e>"u"))if(typeof e!="object"&&(e=[e]),Oa(e))for(var n=0,i=e.length;n0;)r=i[s],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 P0(e,t,n){e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;var i=e.indexOf(t,n);return i!==-1&&i===n}function H0(e){if(!e)return null;var t=e.length;if(tr(t))return null;for(var n=new Array(t);t-- >0;)n[t]=e[t];return n}var N0=function(e){return function(t){return e&&t instanceof e}}(typeof Uint8Array<"u"&&Object.getPrototypeOf(Uint8Array)),Yt={isArray:Oa,isArrayBuffer:_f,isBuffer:_0,isFormData:w0,isArrayBufferView:y0,isString:x0,isNumber:v0,isObject:yf,isPlainObject:Bs,isUndefined:tr,isDate:A0,isFile:S0,isBlob:M0,isFunction:Pa,isStream:R0,isURLSearchParams:I0,isStandardBrowserEnv:L0,forEach:Ha,merge:Ko,extend:T0,trim:C0,stripBOM:D0,inherits:k0,toFlatObject:O0,kindOf:ka,kindOfTest:jn,endsWith:P0,toArray:H0,isTypedArray:N0,isFileList:E0},Yn=Yt;function dc(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var xf=function(t,n,i){if(!n)return t;var s;if(i)s=i(n);else if(Yn.isURLSearchParams(n))s=n.toString();else{var r=[];Yn.forEach(n,function(l,c){l===null||typeof l>"u"||(Yn.isArray(l)?c=c+"[]":l=[l],Yn.forEach(l,function(d){Yn.isDate(d)?d=d.toISOString():Yn.isObject(d)&&(d=JSON.stringify(d)),r.push(dc(c)+"="+dc(d))}))}),s=r.join("&")}if(s){var o=t.indexOf("#");o!==-1&&(t=t.slice(0,o)),t+=(t.indexOf("?")===-1?"?":"&")+s}return t},F0=Yt;function Dr(){this.handlers=[]}Dr.prototype.use=function(t,n,i){return this.handlers.push({fulfilled:t,rejected:n,synchronous:i?i.synchronous:!1,runWhen:i?i.runWhen:null}),this.handlers.length-1};Dr.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)};Dr.prototype.forEach=function(t){F0.forEach(this.handlers,function(i){i!==null&&t(i)})};var V0=Dr,B0=Yt,U0=function(t,n){B0.forEach(t,function(s,r){r!==n&&r.toUpperCase()===n.toUpperCase()&&(t[n]=s,delete t[r])})},vf=Yt;function di(e,t,n,i,s){Error.call(this),this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),i&&(this.request=i),s&&(this.response=s)}vf.inherits(di,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 Af=di.prototype,Sf={};["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){Sf[e]={value:e}});Object.defineProperties(di,Sf);Object.defineProperty(Af,"isAxiosError",{value:!0});di.from=function(e,t,n,i,s,r){var o=Object.create(Af);return vf.toFlatObject(e,o,function(l){return l!==Error.prototype}),di.call(o,e.message,t,n,i,s),o.name=e.name,r&&Object.assign(o,r),o};var Ai=di,Mf={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Ae=Yt;function $0(e,t){t=t||new FormData;var n=[];function i(r){return r===null?"":Ae.isDate(r)?r.toISOString():Ae.isArrayBuffer(r)||Ae.isTypedArray(r)?typeof Blob=="function"?new Blob([r]):Buffer.from(r):r}function s(r,o){if(Ae.isPlainObject(r)||Ae.isArray(r)){if(n.indexOf(r)!==-1)throw Error("Circular reference detected in "+o);n.push(r),Ae.forEach(r,function(l,c){if(!Ae.isUndefined(l)){var u=o?o+"."+c:c,d;if(l&&!o&&typeof l=="object"){if(Ae.endsWith(c,"{}"))l=JSON.stringify(l);else if(Ae.endsWith(c,"[]")&&(d=Ae.toArray(l))){d.forEach(function(f){!Ae.isUndefined(f)&&t.append(u,i(f))});return}}s(l,u)}}),n.pop()}else t.append(o,i(r))}return s(e),t}var Ef=$0,to,fc;function z0(){if(fc)return to;fc=1;var e=Ai;return to=function(n,i,s){var r=s.config.validateStatus;!s.status||!r||r(s.status)?n(s):i(new e("Request failed with status code "+s.status,[e.ERR_BAD_REQUEST,e.ERR_BAD_RESPONSE][Math.floor(s.status/100)-4],s.config,s.request,s))},to}var eo,hc;function j0(){if(hc)return eo;hc=1;var e=Yt;return eo=e.isStandardBrowserEnv()?function(){return{write:function(i,s,r,o,a,l){var c=[];c.push(i+"="+encodeURIComponent(s)),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(i){var s=document.cookie.match(new RegExp("(^|;\\s*)("+i+")=([^;]*)"));return s?decodeURIComponent(s[3]):null},remove:function(i){this.write(i,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}(),eo}var X0=function(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)},W0=function(t,n){return n?t.replace(/\/+$/,"")+"/"+n.replace(/^\/+/,""):t},G0=X0,K0=W0,Rf=function(t,n){return t&&!G0(n)?K0(t,n):n},no,pc;function Y0(){if(pc)return no;pc=1;var e=Yt,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 no=function(i){var s={},r,o,a;return i&&e.forEach(i.split(` +`),function(c){if(a=c.indexOf(":"),r=e.trim(c.substr(0,a)).toLowerCase(),o=e.trim(c.substr(a+1)),r){if(s[r]&&t.indexOf(r)>=0)return;r==="set-cookie"?s[r]=(s[r]?s[r]:[]).concat([o]):s[r]=s[r]?s[r]+", "+o:o}}),s},no}var io,gc;function q0(){if(gc)return io;gc=1;var e=Yt;return io=e.isStandardBrowserEnv()?function(){var n=/(msie|trident)/i.test(navigator.userAgent),i=document.createElement("a"),s;function r(o){var a=o;return n&&(i.setAttribute("href",a),a=i.href),i.setAttribute("href",a),{href:i.href,protocol:i.protocol?i.protocol.replace(/:$/,""):"",host:i.host,search:i.search?i.search.replace(/^\?/,""):"",hash:i.hash?i.hash.replace(/^#/,""):"",hostname:i.hostname,port:i.port,pathname:i.pathname.charAt(0)==="/"?i.pathname:"/"+i.pathname}}return s=r(window.location.href),function(a){var l=e.isString(a)?r(a):a;return l.protocol===s.protocol&&l.host===s.host}}():function(){return function(){return!0}}(),io}var so,mc;function kr(){if(mc)return so;mc=1;var e=Ai,t=Yt;function n(i){e.call(this,i==null?"canceled":i,e.ERR_CANCELED),this.name="CanceledError"}return t.inherits(n,e,{__CANCEL__:!0}),so=n,so}var ro,bc;function Z0(){return bc||(bc=1,ro=function(t){var n=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return n&&n[1]||""}),ro}var oo,_c;function yc(){if(_c)return oo;_c=1;var e=Yt,t=z0(),n=j0(),i=xf,s=Rf,r=Y0(),o=q0(),a=Mf,l=Ai,c=kr(),u=Z0();return oo=function(f){return new Promise(function(g,m){var _=f.data,y=f.headers,S=f.responseType,M;function E(){f.cancelToken&&f.cancelToken.unsubscribe(M),f.signal&&f.signal.removeEventListener("abort",M)}e.isFormData(_)&&e.isStandardBrowserEnv()&&delete y["Content-Type"];var A=new XMLHttpRequest;if(f.auth){var O=f.auth.username||"",C=f.auth.password?unescape(encodeURIComponent(f.auth.password)):"";y.Authorization="Basic "+btoa(O+":"+C)}var w=s(f.baseURL,f.url);A.open(f.method.toUpperCase(),i(w,f.params,f.paramsSerializer),!0),A.timeout=f.timeout;function P(){if(!!A){var k="getAllResponseHeaders"in A?r(A.getAllResponseHeaders()):null,Z=!S||S==="text"||S==="json"?A.responseText:A.response,ot={data:Z,status:A.status,statusText:A.statusText,headers:k,config:f,request:A};t(function(st){g(st),E()},function(st){m(st),E()},ot),A=null}}if("onloadend"in A?A.onloadend=P:A.onreadystatechange=function(){!A||A.readyState!==4||A.status===0&&!(A.responseURL&&A.responseURL.indexOf("file:")===0)||setTimeout(P)},A.onabort=function(){!A||(m(new l("Request aborted",l.ECONNABORTED,f,A)),A=null)},A.onerror=function(){m(new l("Network Error",l.ERR_NETWORK,f,A,A)),A=null},A.ontimeout=function(){var Z=f.timeout?"timeout of "+f.timeout+"ms exceeded":"timeout exceeded",ot=f.transitional||a;f.timeoutErrorMessage&&(Z=f.timeoutErrorMessage),m(new l(Z,ot.clarifyTimeoutError?l.ETIMEDOUT:l.ECONNABORTED,f,A)),A=null},e.isStandardBrowserEnv()){var $=(f.withCredentials||o(w))&&f.xsrfCookieName?n.read(f.xsrfCookieName):void 0;$&&(y[f.xsrfHeaderName]=$)}"setRequestHeader"in A&&e.forEach(y,function(Z,ot){typeof _>"u"&&ot.toLowerCase()==="content-type"?delete y[ot]:A.setRequestHeader(ot,Z)}),e.isUndefined(f.withCredentials)||(A.withCredentials=!!f.withCredentials),S&&S!=="json"&&(A.responseType=f.responseType),typeof f.onDownloadProgress=="function"&&A.addEventListener("progress",f.onDownloadProgress),typeof f.onUploadProgress=="function"&&A.upload&&A.upload.addEventListener("progress",f.onUploadProgress),(f.cancelToken||f.signal)&&(M=function(k){!A||(m(!k||k&&k.type?new c:k),A.abort(),A=null)},f.cancelToken&&f.cancelToken.subscribe(M),f.signal&&(f.signal.aborted?M():f.signal.addEventListener("abort",M))),_||(_=null);var q=u(w);if(q&&["http","https","file"].indexOf(q)===-1){m(new l("Unsupported protocol "+q+":",l.ERR_BAD_REQUEST,f));return}A.send(_)})},oo}var ao,xc;function J0(){return xc||(xc=1,ao=null),ao}var zt=Yt,vc=U0,Ac=Ai,Q0=Mf,tb=Ef,eb={"Content-Type":"application/x-www-form-urlencoded"};function Sc(e,t){!zt.isUndefined(e)&&zt.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}function nb(){var e;return(typeof XMLHttpRequest<"u"||typeof process<"u"&&Object.prototype.toString.call(process)==="[object process]")&&(e=yc()),e}function ib(e,t,n){if(zt.isString(e))try{return(t||JSON.parse)(e),zt.trim(e)}catch(i){if(i.name!=="SyntaxError")throw i}return(n||JSON.stringify)(e)}var Or={transitional:Q0,adapter:nb(),transformRequest:[function(t,n){if(vc(n,"Accept"),vc(n,"Content-Type"),zt.isFormData(t)||zt.isArrayBuffer(t)||zt.isBuffer(t)||zt.isStream(t)||zt.isFile(t)||zt.isBlob(t))return t;if(zt.isArrayBufferView(t))return t.buffer;if(zt.isURLSearchParams(t))return Sc(n,"application/x-www-form-urlencoded;charset=utf-8"),t.toString();var i=zt.isObject(t),s=n&&n["Content-Type"],r;if((r=zt.isFileList(t))||i&&s==="multipart/form-data"){var o=this.env&&this.env.FormData;return tb(r?{"files[]":t}:t,o&&new o)}else if(i||s==="application/json")return Sc(n,"application/json"),ib(t);return t}],transformResponse:[function(t){var n=this.transitional||Or.transitional,i=n&&n.silentJSONParsing,s=n&&n.forcedJSONParsing,r=!i&&this.responseType==="json";if(r||s&&zt.isString(t)&&t.length)try{return JSON.parse(t)}catch(o){if(r)throw o.name==="SyntaxError"?Ac.from(o,Ac.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:J0()},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};zt.forEach(["delete","get","head"],function(t){Or.headers[t]={}});zt.forEach(["post","put","patch"],function(t){Or.headers[t]=zt.merge(eb)});var Na=Or,sb=Yt,rb=Na,ob=function(t,n,i){var s=this||rb;return sb.forEach(i,function(o){t=o.call(s,t,n)}),t},lo,Mc;function wf(){return Mc||(Mc=1,lo=function(t){return!!(t&&t.__CANCEL__)}),lo}var Ec=Yt,co=ob,ab=wf(),lb=Na,cb=kr();function uo(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new cb}var ub=function(t){uo(t),t.headers=t.headers||{},t.data=co.call(t,t.data,t.headers,t.transformRequest),t.headers=Ec.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),Ec.forEach(["delete","get","head","post","put","patch","common"],function(s){delete t.headers[s]});var n=t.adapter||lb.adapter;return n(t).then(function(s){return uo(t),s.data=co.call(t,s.data,s.headers,t.transformResponse),s},function(s){return ab(s)||(uo(t),s&&s.response&&(s.response.data=co.call(t,s.response.data,s.response.headers,t.transformResponse))),Promise.reject(s)})},le=Yt,If=function(t,n){n=n||{};var i={};function s(u,d){return le.isPlainObject(u)&&le.isPlainObject(d)?le.merge(u,d):le.isPlainObject(d)?le.merge({},d):le.isArray(d)?d.slice():d}function r(u){if(le.isUndefined(n[u])){if(!le.isUndefined(t[u]))return s(void 0,t[u])}else return s(t[u],n[u])}function o(u){if(!le.isUndefined(n[u]))return s(void 0,n[u])}function a(u){if(le.isUndefined(n[u])){if(!le.isUndefined(t[u]))return s(void 0,t[u])}else return s(void 0,n[u])}function l(u){if(u in n)return s(t[u],n[u]);if(u in t)return s(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 le.forEach(Object.keys(t).concat(Object.keys(n)),function(d){var f=c[d]||r,h=f(d);le.isUndefined(h)&&f!==l||(i[d]=h)}),i},fo,Rc;function Cf(){return Rc||(Rc=1,fo={version:"0.27.2"}),fo}var db=Cf().version,cn=Ai,Fa={};["object","boolean","number","function","string","symbol"].forEach(function(e,t){Fa[e]=function(i){return typeof i===e||"a"+(t<1?"n ":" ")+e}});var wc={};Fa.transitional=function(t,n,i){function s(r,o){return"[Axios v"+db+"] Transitional option '"+r+"'"+o+(i?". "+i:"")}return function(r,o,a){if(t===!1)throw new cn(s(o," has been removed"+(n?" in "+n:"")),cn.ERR_DEPRECATED);return n&&!wc[o]&&(wc[o]=!0,console.warn(s(o," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(r,o,a):!0}};function fb(e,t,n){if(typeof e!="object")throw new cn("options must be an object",cn.ERR_BAD_OPTION_VALUE);for(var i=Object.keys(e),s=i.length;s-- >0;){var r=i[s],o=t[r];if(o){var a=e[r],l=a===void 0||o(a,r,e);if(l!==!0)throw new cn("option "+r+" must be "+l,cn.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new cn("Unknown option "+r,cn.ERR_BAD_OPTION)}}var hb={assertOptions:fb,validators:Fa},Lf=Yt,pb=xf,Ic=V0,Cc=ub,Pr=If,gb=Rf,Tf=hb,qn=Tf.validators;function fi(e){this.defaults=e,this.interceptors={request:new Ic,response:new Ic}}fi.prototype.request=function(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Pr(this.defaults,n),n.method?n.method=n.method.toLowerCase():this.defaults.method?n.method=this.defaults.method.toLowerCase():n.method="get";var i=n.transitional;i!==void 0&&Tf.assertOptions(i,{silentJSONParsing:qn.transitional(qn.boolean),forcedJSONParsing:qn.transitional(qn.boolean),clarifyTimeoutError:qn.transitional(qn.boolean)},!1);var s=[],r=!0;this.interceptors.request.forEach(function(h){typeof h.runWhen=="function"&&h.runWhen(n)===!1||(r=r&&h.synchronous,s.unshift(h.fulfilled,h.rejected))});var o=[];this.interceptors.response.forEach(function(h){o.push(h.fulfilled,h.rejected)});var a;if(!r){var l=[Cc,void 0];for(Array.prototype.unshift.apply(l,s),l=l.concat(o),a=Promise.resolve(n);l.length;)a=a.then(l.shift(),l.shift());return a}for(var c=n;s.length;){var u=s.shift(),d=s.shift();try{c=u(c)}catch(f){d(f);break}}try{a=Cc(c)}catch(f){return Promise.reject(f)}for(;o.length;)a=a.then(o.shift(),o.shift());return a};fi.prototype.getUri=function(t){t=Pr(this.defaults,t);var n=gb(t.baseURL,t.url);return pb(n,t.params,t.paramsSerializer)};Lf.forEach(["delete","get","head","options"],function(t){fi.prototype[t]=function(n,i){return this.request(Pr(i||{},{method:t,url:n,data:(i||{}).data}))}});Lf.forEach(["post","put","patch"],function(t){function n(i){return function(r,o,a){return this.request(Pr(a||{},{method:t,headers:i?{"Content-Type":"multipart/form-data"}:{},url:r,data:o}))}}fi.prototype[t]=n(),fi.prototype[t+"Form"]=n(!0)});var mb=fi,ho,Lc;function bb(){if(Lc)return ho;Lc=1;var e=kr();function t(n){if(typeof n!="function")throw new TypeError("executor must be a function.");var i;this.promise=new Promise(function(o){i=o});var s=this;this.promise.then(function(r){if(!!s._listeners){var o,a=s._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){Sb.get(`data-sources/${e}.json`).then(t=>{t.data&&t.data.data&&(this[e]=t.data.data)}).catch(t=>{alert(t.message)})}}}),Ye=vr({name:"BaseLevel",props:{mobile:Boolean,type:{type:String,default:"justify-between"}},render(){const e=[this.type,"items-center"],t=["flex"],n=["block","md:flex"],i=["flex","items-center","justify-center"];return Ge("div",{class:e.concat(this.mobile?t:n)},this.$slots.default().map((s,r)=>{const o=!this.mobile&&this.$slots.default().length>r+1?i.concat(["mb-6","md:mb-0"]):i;return Ge("div",{class:o},[s])}))}}),Mb="/assets/border/trans.png",Eb={class:"relative inline-block"},Rb=["src","alt"],wb=H("img",{src:Mb,alt:"border",class:"absolute inset-0 w-full h-full overflow-hidden",style:{"object-fit":"fill",transform:"scale(1.02)"}},null,-1),kf={__name:"UserAvatar",props:{username:{type:String,required:!0},avatar:{type:String,default:null}},setup(e){const t=e,n=it(()=>{var s;return(s=t.avatar)!=null?s:"https://i.imgur.com/nkx5ufe.jpg"}),i=it(()=>t.username);return(s,r)=>(F(),Q("div",null,[H("div",Eb,[H("img",{src:T(n),alt:T(i),class:"w-full h-auto bg-gray-100 dark:bg-slate-800 rounded-full overflow-hidden"},null,8,Rb),wb]),jt(s.$slots,"default")]))}},Of={__name:"UserAvatarCurrentUser",setup(e){const t=Si();return(n,i)=>(F(),pt(kf,{username:T(t).userName,avatar:T(t).userAvatar},{default:dt(()=>[jt(n.$slots,"default")]),_:3},8,["username","avatar"]))}},Pf={__name:"CardBoxComponentBody",props:{noPadding:Boolean},setup(e){return(t,n)=>(F(),Q("div",{class:lt(["flex-1",{"p-6":!e.noPadding}])},[jt(t.$slots,"default")],2))}},Ib=(e,t)=>{const n=e.__vccOpts||e;for(const[i,s]of t)n[i]=s;return n},Cb={},Lb={class:"p-6"};function Tb(e,t){return F(),Q("footer",Lb,[jt(e.$slots,"default")])}const Db=Ib(Cb,[["render",Tb]]),ii={__name:"CardBox",props:{rounded:{type:String,default:"rounded-2xl"},flex:{type:String,default:"flex-col"},hasComponentLayout:Boolean,hasTable:Boolean,isForm:Boolean,isHoverable:Boolean,isAuth:{type:Boolean,default:!1}},emits:["submit"],setup(e,{emit:t}){const n=e,i=wa(),s=it(()=>i.footer&&!!i.footer());var r="bg-slate-900 dark:bg-slate-900";n.isAuth&&(r="bg-slate-800 md:bg-slate-900 dark:bg-slate-800 md:dark:bg-slate-900");const o=it(()=>{const l=[n.rounded,n.flex,r];return n.isHoverable&&l.push("hover:shadow-lg transition-shadow duration-500"),l}),a=l=>{t("submit",l)};return(l,c)=>(F(),pt(Mr(e.isForm?"form":"div"),{class:lt([T(o),"bg-white flex"]),onSubmit:a},{default:dt(()=>[e.hasComponentLayout?jt(l.$slots,"default",{key:0}):(F(),Q(Ot,{key:1},[U(Pf,{"no-padding":e.hasTable},{default:dt(()=>[jt(l.$slots,"default")]),_:3},8,["no-padding"]),T(s)?(F(),pt(Db,{key:0},{default:dt(()=>[jt(l.$slots,"footer")]),_:3})):Rt("",!0)],64))]),_:3},40,["class"]))}},Va={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"},on={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"},Hf={white:[on.white,"border-gray-100"],light:[on.light,"border-gray-100"],contrast:[on.contrast,"border-gray-900 dark:border-slate-100"],success:[on.success,"border-emerald-500"],danger:[on.danger,"border-red-500"],warning:[on.warning,"border-yellow-500"],info:[on.info,"border-blue-500"]},Nf=(e,t,n,i=!1)=>{const s={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(!s.bg[e])return e;const r=t&&["white","whiteDark","lightDark"].indexOf(e)<0,o=[s.borders[e],s.ring[e]];return i?o.push(s.active[e]):o.push(r?s.text[e]:s.bg[e]),n&&o.push(r?s.outlineHover[e]:s.bgHover[e]),o},kb=["width","height"],Ob=["d"],ee={__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}`),i=it(()=>{var s;return(s=t.size)!=null?s:16});return(s,r)=>(F(),Q("span",{class:lt(T(n))},[(F(),Q("svg",{viewBox:"0 0 24 24",width:T(i),height:T(i),class:"inline-block"},[H("path",{fill:"currentColor",d:e.path},null,8,Ob)],8,kb)),jt(s.$slots,"default")],2))}},Pb={__name:"PillTagPlain",props:{label:{type:String,required:!0},icon:{type:String,default:null},small:Boolean},setup(e){return(t,n)=>(F(),Q("div",{class:lt(["inline-flex items-center capitalize leading-none",[e.small?"text-xs":"text-sm"]])},[e.icon?(F(),pt(ee,{key:0,path:e.icon,h:"h-4",w:"w-4",class:lt(e.small?"mr-1":"mr-2"),size:e.small?14:null},null,8,["path","class","size"])):Rt("",!0),H("span",null,yt(e.label),1)],2))}},je={__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?Hf[t.color]:Va[t.color]]);return(i,s)=>(F(),pt(Pb,{class:lt(["border rounded-full",T(n)]),icon:e.icon,label:e.label,small:e.small},null,8,["class","icon","label","small"]))}},Hb=[{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}"},{author:"yaladre",header:"Ready to kick it up a notch, ?",comment:"Get pumped up!"},{author:"caldenza",header:"Alone in the night again, ?",comment:"Honestly, just go play Minecraft tbh"},{author:"caldenza",header:"Did you make sure to restart the Mango, ?",comment:"It's not the mango. It's always the mango. God damnit."},{author:"azui.573",header:"Welcome home, .",comment:"Ready to crush those rankings?"},{author:"azui.573",header:"Introducing... !",comment:"Live from the RESIDENT PARTY!"},{author:"Shilofax",header:"Make it make money, ",comment:"GOOOOOOOOOOOOOLD"},{author:"daydensteve",header:"Welcome, .",comment:"PhaseII, here for all your net needs!"},{author:"sierrathebluejay",header:"Welcome to the party, .",comment:"We've been waiting for you!"},{author:"sierrathebluejay",header:"Wild appeared!",comment:"They're super effective!"}];class K{}x(K,"BEATSTREAM","bst"),x(K,"BISHI_BASHI","bishi"),x(K,"BISHI_BASHI_NEW","newbishi"),x(K,"DANCE_EVOLUTION","danevo"),x(K,"DANCE_RUSH","dancerush"),x(K,"DDR","ddr"),x(K,"DDRCLASS","ddrclass"),x(K,"DDROMNI","ddromni"),x(K,"DRUMMANIA","dm"),x(K,"EEMALL","eemall"),x(K,"FUTURETOMTOM","ftt"),x(K,"GITADORA_DM","gitadora_dm"),x(K,"GITADORA_GF","gitadora_gf"),x(K,"GUITARFREAKS","gf"),x(K,"IIDX","iidx"),x(K,"IIDXCLASS","iidxclass"),x(K,"JUBEAT","jubeat"),x(K,"LOVEPLUS","loveplus"),x(K,"MGA","metalgear"),x(K,"MUSECA","museca"),x(K,"NOSTALGIA","nost"),x(K,"OTOMEDIUS","oto"),x(K,"OTOCA","otoca"),x(K,"POPN_HELLO","hpm"),x(K,"POPN_MUSIC","pnm"),x(K,"QMA","qma"),x(K,"REFLEC_BEAT","reflec"),x(K,"ROAD_FIGHTERS","roadfighters"),x(K,"SDVX","sdvx"),x(K,"SILENT_HILL","sha"),x(K,"SILENT_SCOPE","scope"),x(K,"TSUMTSUM","tsum"),x(K,"WINNING_ELEVEN","weac");class p{}x(p,"BEATSTREAM",1),x(p,"BEATSTREAM_2",2),x(p,"THE_STAR_BISHI_BASHI",1),x(p,"BISHI_BASHI_CHANNEL",1),x(p,"DANCE_EVOLUTION",1),x(p,"DANCE_RUSH_STARDOM",1),x(p,"DDR_CS_SOLO",200),x(p,"DDR_1ST_MIX",1),x(p,"DDR_2ND_MIX",2),x(p,"DDR_3RD_MIX",3),x(p,"DDR_4TH_MIX",4),x(p,"DDR_5TH_MIX",5),x(p,"DDR_MAX",6),x(p,"DDR_MAX2",7),x(p,"DDR_EXTREME",8),x(p,"DDR_SUPERNOVA",9),x(p,"DDR_SUPERNOVA_2",10),x(p,"DDR_X",11),x(p,"DDR_X2",12),x(p,"DDR_X3_VS_2ND_MIX",13),x(p,"DDR_2013",14),x(p,"DDR_2014",15),x(p,"DDR_ACE",16),x(p,"DDR_A20",17),x(p,"DDR_A20_PLUS",18),x(p,"DDR_A3",19),x(p,"DRUMMANIA_1ST",1),x(p,"DRUMMANIA_2ND",2),x(p,"DRUMMANIA_3RD",3),x(p,"DRUMMANIA_4TH",4),x(p,"DRUMMANIA_5TH",5),x(p,"DRUMMANIA_6TH",6),x(p,"DRUMMANIA_7TH",7),x(p,"DRUMMANIA_8TH",8),x(p,"DRUMMANIA_9TH",9),x(p,"DRUMMANIA_10TH",10),x(p,"DRUMMANIA_V",11),x(p,"DRUMMANIA_V2",12),x(p,"DRUMMANIA_V3",13),x(p,"DRUMMANIA_V4",14),x(p,"DRUMMANIA_V5",15),x(p,"DRUMMANIA_V6",16),x(p,"DRUMMANIA_V7",17),x(p,"DRUMMANIA_V8",18),x(p,"EEMALL",1),x(p,"EEMALL_2ND",2),x(p,"FUTURETOMTOM",1),x(p,"FUTURETOMTOM_VER2",2),x(p,"GITADORA",1),x(p,"GITADORA_OVERDRIVE",2),x(p,"GITADORA_TRIBOOST",3),x(p,"GITADORA_TRIBOOST_RE_EVOLVE",4),x(p,"GITADORA_MATIXX",5),x(p,"GITADORA_EXCHAIN",6),x(p,"GITADORA_NEXTAGE",7),x(p,"GITADORA_HIGH_VOLTAGE",8),x(p,"GITADORA_FUZZUP",9),x(p,"GUITARFREAKS_1ST",0),x(p,"GUITARFREAKS_2ND",1),x(p,"GUITARFREAKS_3RD",2),x(p,"GUITARFREAKS_4TH",3),x(p,"GUITARFREAKS_5TH",4),x(p,"GUITARFREAKS_6TH",5),x(p,"GUITARFREAKS_7TH",6),x(p,"GUITARFREAKS_8TH",7),x(p,"GUITARFREAKS_9TH",8),x(p,"GUITARFREAKS_10TH",9),x(p,"GUITARFREAKS_11TH",10),x(p,"GUITARFREAKS_V",11),x(p,"GUITARFREAKS_V2",12),x(p,"GUITARFREAKS_V3",13),x(p,"GUITARFREAKS_V4",14),x(p,"GUITARFREAKS_V5",15),x(p,"GUITARFREAKS_V6",16),x(p,"GUITARFREAKS_V7",17),x(p,"GUITARFREAKS_V8",18),x(p,"IIDX",1),x(p,"IIDX_2ND_STYLE",2),x(p,"IIDX_3RD_STYLE",3),x(p,"IIDX_4TH_STYLE",4),x(p,"IIDX_5TH_STYLE",5),x(p,"IIDX_6TH_STYLE",6),x(p,"IIDX_7TH_STYLE",7),x(p,"IIDX_8TH_STYLE",8),x(p,"IIDX_9TH_STYLE",9),x(p,"IIDX_10TH_STYLE",10),x(p,"IIDX_RED",11),x(p,"IIDX_HAPPY_SKY",12),x(p,"IIDX_DISTORTED",13),x(p,"IIDX_GOLD",14),x(p,"IIDX_DJ_TROOPERS",15),x(p,"IIDX_EMPRESS",16),x(p,"IIDX_SIRIUS",17),x(p,"IIDX_RESORT_ANTHEM",18),x(p,"IIDX_LINCLE",19),x(p,"IIDX_TRICORO",20),x(p,"IIDX_SPADA",21),x(p,"IIDX_PENDUAL",22),x(p,"IIDX_COPULA",23),x(p,"IIDX_SINOBUZ",24),x(p,"IIDX_CANNON_BALLERS",25),x(p,"IIDX_ROOTAGE",26),x(p,"IIDX_HEROIC_VERSE",27),x(p,"IIDX_BISTROVER",28),x(p,"IIDX_CASTHOUR",29),x(p,"IIDX_RESIDENT",30),x(p,"JUBEAT",1),x(p,"JUBEAT_RIPPLES",2),x(p,"JUBEAT_RIPPLES_APPEND",3),x(p,"JUBEAT_KNIT",4),x(p,"JUBEAT_KNIT_APPEND",5),x(p,"JUBEAT_COPIOUS",6),x(p,"JUBEAT_COPIOUS_APPEND",7),x(p,"JUBEAT_SAUCER",8),x(p,"JUBEAT_SAUCER_FULFILL",9),x(p,"JUBEAT_PROP",10),x(p,"JUBEAT_QUBELL",11),x(p,"JUBEAT_CLAN",12),x(p,"JUBEAT_FESTO",13),x(p,"JUBEAT_AVE",14),x(p,"LOVEPLUS_ARCADE",1),x(p,"LOVEPLUS_CC",2),x(p,"METALGEAR_ARCADE",1),x(p,"MUSECA",1),x(p,"MUSECA_1_PLUS",2),x(p,"NOSTALGIA",1),x(p,"NOSTALGIA_FORTE",2),x(p,"NOSTALGIA_OP_2",3),x(p,"NOSTALGIA_OP_3",4),x(p,"OTOMEDIUS",1),x(p,"OTOCA_DOLL",1),x(p,"HELLO_POPN_MUSIC",1),x(p,"POPN_MUSIC",1),x(p,"POPN_MUSIC_2",2),x(p,"POPN_MUSIC_3",3),x(p,"POPN_MUSIC_4",4),x(p,"POPN_MUSIC_5",5),x(p,"POPN_MUSIC_6",6),x(p,"POPN_MUSIC_7",7),x(p,"POPN_MUSIC_8",8),x(p,"POPN_MUSIC_9",9),x(p,"POPN_MUSIC_10",10),x(p,"POPN_MUSIC_11",11),x(p,"POPN_MUSIC_IROHA",12),x(p,"POPN_MUSIC_CARNIVAL",13),x(p,"POPN_MUSIC_FEVER",14),x(p,"POPN_MUSIC_ADVENTURE",15),x(p,"POPN_MUSIC_PARTY",16),x(p,"POPN_MUSIC_THE_MOVIE",17),x(p,"POPN_MUSIC_SENGOKU_RETSUDEN",18),x(p,"POPN_MUSIC_TUNE_STREET",19),x(p,"POPN_MUSIC_FANTASIA",20),x(p,"POPN_MUSIC_SUNNY_PARK",21),x(p,"POPN_MUSIC_LAPISTORIA",22),x(p,"POPN_MUSIC_ECLALE",23),x(p,"POPN_MUSIC_USANEKO",24),x(p,"POPN_MUSIC_PEACE",25),x(p,"POPN_MUSIC_KAIMEI_RIDDLES",26),x(p,"QMA",1),x(p,"QMA_II",2),x(p,"QMA_III",3),x(p,"QMA_IV",4),x(p,"QMA_V",5),x(p,"QMA_VI",6),x(p,"QMA_VII",7),x(p,"QMA_VIII",8),x(p,"QMA_GATE",9),x(p,"QMA_CAMPUS",10),x(p,"QMA_DAWN",11),x(p,"QMA_TOKYO",12),x(p,"QMA_EVOLVE",13),x(p,"QMA_MAXIVCORD",14),x(p,"QMA_XROSS_VOYAGE",15),x(p,"QMA_KIBOU",16),x(p,"QMA_MUGEN",17),x(p,"REFLEC_BEAT",1),x(p,"REFLEC_BEAT_LIMELIGHT",2),x(p,"REFLEC_BEAT_COLETTE",3),x(p,"REFLEC_BEAT_GROOVIN",4),x(p,"REFLEC_BEAT_VOLZZA",5),x(p,"REFLEC_BEAT_VOLZZA_2",6),x(p,"REFLEC_BEAT_REFLESIA",7),x(p,"ROAD_FIGHTERS",1),x(p,"SDVX_BOOTH",1),x(p,"SDVX_INFINITE_INFECTION",2),x(p,"SDVX_GRAVITY_WARS",3),x(p,"SDVX_HEAVENLY_HAVEN",4),x(p,"SDVX_VIVID_WAVE",5),x(p,"SDVX_EXCEED_GEAR",6),x(p,"SILENT_HILL_ARCADE",1),x(p,"SILENT_SCOPE_BONE_EATER",1),x(p,"DISNEY_TSUM_TSUM",1),x(p,"WINNING_ELEVEN_2008",1),x(p,"WINNING_ELEVEN_2010",2),x(p,"WINNING_ELEVEN_2012",3),x(p,"WINNING_ELEVEN_2014",4);function Nb(){const e=Hb,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 Oc=[{id:p.GITADORA,label:"Original"},{id:p.GITADORA_OVERDRIVE,label:"OverDrive"},{id:p.GITADORA_TRIBOOST,label:"Tri-Boost"},{id:p.GITADORA_TRIBOOST_RE_EVOLVE,label:"Tri-Boost RE:Evolve"},{id:p.GITADORA_MATIXX,label:"Matixx"},{id:p.GITADORA_EXCHAIN,label:"EXCHAIN"},{id:p.GITADORA_NEXTAGE,label:"Nex+Age"},{id:p.GITADORA_HIGH_VOLTAGE,label:"HIGH-VOLTAGE"},{id:p.GITADORA_FUZZUP,label:"FUZZUP"}],Yo=[{id:K.BEATSTREAM,name:"BeatStream",icon:null,cardBG:null,noRivals:!0,versions:[{id:p.BEATSTREAM,label:"Original"},{id:p.BEATSTREAM_2,label:"\u30A2\u30CB\u30E0\u30C8\u30E9\u30A4\u30F4"}]},{id:K.BISHI_BASHI,name:"The \u2B50 Bishi Bashi",icon:null,cardBG:null,noRivals:!0,noScores:!0,noRecords:!0},{id:K.BISHI_BASHI_NEW,name:"BishiBashi Channel",icon:null,cardBG:null,skip:!0,noRivals:!0,noScores:!0,noRecords:!0},{id:K.DANCE_EVOLUTION,name:"DanceEvolution",icon:null,cardBG:null,noRivals:!0,noScores:!0,noRecords:!0},{id:K.DANCE_RUSH,name:"DanceRush",icon:null,cardBG:null,noRivals:!0,versions:[{id:p.DANCE_RUSH_STARDOM,label:"STARDOM"}]},{id:K.DDR,name:"DanceDanceRevolution",shortName:"DDR",icon:null,cardBG:null,versions:[{id:p.DDR_1ST_MIX,label:"1ST MIX"},{id:p.DDR_2ND_MIX,label:"2ND MIX"},{id:p.DDR_3RD_MIX,label:"3RD MIX"},{id:p.DDR_4TH_MIX,label:"4TH MIX"},{id:p.DDR_5TH_MIX,label:"5TH MIX"},{id:p.DDR_MAX,label:"MAX"},{id:p.DDR_MAX2,label:"MAX 2"},{id:p.DDR_EXTREME,label:"EXTREME"},{id:p.DDR_SUPERNOVA,label:"SuperNOVA"},{id:p.DDR_SUPERNOVA_2,label:"SuperNOVA 2"},{id:p.DDR_X,label:"X"},{id:p.DDR_X2,label:"X2"},{id:p.DDR_X3_VS_2ND_MIX,label:"X3 vs. 2ND MIX"},{id:p.DDR_2013,label:"(2013)"},{id:p.DDR_2014,label:"(2014)"},{id:p.DDR_ACE,label:"Ace"},{id:p.DDR_A20,label:"A20"},{id:p.DDR_A20_PLUS,label:"A20 PLUS"},{id:p.DDR_A3,label:"A3"}]},{id:K.DDRCLASS,name:"Classic DDR",icon:"/assets/icon/ddr.png",cardBG:"/assets/card/ddr.png",noRivals:!0,noScores:!0,noRecords:!0,versions:[{id:p.DDR_1ST_MIX,label:"1ST MIX"},{id:p.DDR_2ND_MIX,label:"2ND MIX"},{id:p.DDR_3RD_MIX,label:"3RD MIX"},{id:p.DDR_4TH_MIX,label:"4TH MIX"},{id:p.DDR_5TH_MIX,label:"5TH MIX"},{id:p.DDR_MAX,label:"MAX"},{id:p.DDR_MAX2,label:"MAX 2"},{id:p.DDR_EXTREME,label:"EXTREME"},{id:p.DDR_SUPERNOVA,label:"SuperNOVA"},{id:p.DDR_SUPERNOVA_2,label:"SuperNOVA 2"}]},{id:K.DDROMNI,name:"DDR OmniMIX",icon:"/assets/icon/ddr.png",cardBG:"/assets/card/ddr.png",versions:[{id:p.DDR_1ST_MIX,label:"1ST MIX"},{id:p.DDR_2ND_MIX,label:"2ND MIX"},{id:p.DDR_3RD_MIX,label:"3RD MIX"},{id:p.DDR_4TH_MIX,label:"4TH MIX"},{id:p.DDR_5TH_MIX,label:"5TH MIX"},{id:p.DDR_MAX,label:"MAX"},{id:p.DDR_MAX2,label:"MAX 2"},{id:p.DDR_EXTREME,label:"EXTREME"},{id:p.DDR_SUPERNOVA,label:"SuperNOVA"},{id:p.DDR_SUPERNOVA_2,label:"SuperNOVA 2"},{id:p.DDR_X,label:"X"},{id:p.DDR_X2,label:"X2"},{id:p.DDR_X3_VS_2ND_MIX,label:"X3 vs. 2ND MIX"},{id:p.DDR_2013,label:"(2013)"},{id:p.DDR_2014,label:"(2014)"},{id:p.DDR_ACE,label:"A"},{id:p.DDR_A20,label:"A20"},{id:p.DDR_A20_PLUS,label:"OmniMIX (A20 PLUS)"}]},{id:K.DRUMMANIA,name:"DRUMMANIA",icon:null,cardBG:null,versions:[{id:p.DRUMMANIA_1ST,label:"1ST MIX"},{id:p.DRUMMANIA_2ND,label:"2ND MIX"},{id:p.DRUMMANIA_3RD,label:"3RD MIX"},{id:p.DRUMMANIA_4TH,label:"4TH MIX"},{id:p.DRUMMANIA_5TH,label:"5TH MIX"},{id:p.DRUMMANIA_6TH,label:"6TH MIX"},{id:p.DRUMMANIA_7TH,label:"7TH MIX"},{id:p.DRUMMANIA_8TH,label:"8TH MIX"},{id:p.DRUMMANIA_9TH,label:"9TH MIX"},{id:p.DRUMMANIA_10TH,label:"10TH MIX"},{id:p.DRUMMANIA_V,label:"V"},{id:p.DRUMMANIA_V2,label:"V2"},{id:p.DRUMMANIA_V3,label:"V3"},{id:p.DRUMMANIA_V4,label:"V4: ROCKxROCK"},{id:p.DRUMMANIA_V5,label:"V5: ROCK TO INFINITY!"},{id:p.DRUMMANIA_V6,label:"V6: BLAZING!!!!"},{id:p.DRUMMANIA_V7,label:"V7"},{id:p.DRUMMANIA_V8,label:"V8"}]},{id:K.EEMALL,name:"eeMall",icon:null,cardBG:null,skip:!0,noRivals:!0,noScores:!0,noRecords:!0,versions:[{id:p.EEMALL,label:"1st Avenue"},{id:p.EEMALL_2ND,label:"2nd Avenue"}]},{id:K.FUTURETOMTOM,name:"Future Tom Tom",icon:null,cardBG:null,noRivals:!0,noScores:!0,noRecords:!0,versions:[{id:p.FUTURETOMTOM,label:"Ver 1"},{id:p.FUTURETOMTOM_VER2,label:"Ver 2"}]},{id:K.GITADORA_DM,name:"GITADORA (Drums)",icon:null,cardBG:null,noRivals:!0,versions:Oc},{id:K.GITADORA_GF,name:"GITADORA (Guitar)",icon:null,cardBG:null,noRivals:!0,versions:Oc},{id:K.GUITARFREAKS,name:"GUITAR FREAKS",icon:null,cardBG:null,versions:[{id:p.GUITARFREAKS_1ST,label:"1ST MIX"},{id:p.GUITARFREAKS_2ND,label:"2ND MIX"},{id:p.GUITARFREAKS_3RD,label:"3RD MIX"},{id:p.GUITARFREAKS_4TH,label:"4TH MIX"},{id:p.GUITARFREAKS_5TH,label:"5TH MIX"},{id:p.GUITARFREAKS_6TH,label:"6TH MIX"},{id:p.GUITARFREAKS_7TH,label:"7TH MIX"},{id:p.GUITARFREAKS_8TH,label:"8TH MIX"},{id:p.GUITARFREAKS_9TH,label:"9TH MIX"},{id:p.GUITARFREAKS_10TH,label:"10TH MIX"},{id:p.GUITARFREAKS_11TH,label:"11TH MIX"},{id:p.GUITARFREAKS_V,label:"V"},{id:p.GUITARFREAKS_V2,label:"V2"},{id:p.GUITARFREAKS_V3,label:"V3"},{id:p.GUITARFREAKS_V4,label:"V4: ROCKxROCK"},{id:p.GUITARFREAKS_V5,label:"V5: ROCK TO INFINITY!"},{id:p.GUITARFREAKS_V6,label:"V6: BLAZING!!!!"},{id:p.GUITARFREAKS_V7,label:"V7"},{id:p.GUITARFREAKS_V8,label:"V8"}]},{id:K.IIDX,name:"beatmaniaIIDX",shortName:"IIDX",icon:"/assets/icon/iidx.png",cardBG:"/assets/card/iidx.png",versions:[{id:p.IIDX,label:"1st Style"},{id:p.IIDX_2ND_STYLE,label:"2nd Style"},{id:p.IIDX_3RD_STYLE,label:"3rd Style"},{id:p.IIDX_4TH_STYLE,label:"4th Style"},{id:p.IIDX_5TH_STYLE,label:"5th Style"},{id:p.IIDX_6TH_STYLE,label:"6th Style"},{id:p.IIDX_7TH_STYLE,label:"7th Style"},{id:p.IIDX_8TH_STYLE,label:"8th Style"},{id:p.IIDX_9TH_STYLE,label:"9th Style"},{id:p.IIDX_10TH_STYLE,label:"10th Style"},{id:p.IIDX_RED,label:"RED"},{id:p.IIDX_HAPPY_SKY,label:"HAPPY SKY"},{id:p.IIDX_DISTORTED,label:"DistorteD"},{id:p.IIDX_GOLD,label:"GOLD"},{id:p.IIDX_DJ_TROOPERS,label:"DJ TROOPERS"},{id:p.IIDX_EMPRESS,label:"EMPRESS"},{id:p.IIDX_SIRIUS,label:"SIRIUS"},{id:p.IIDX_RESORT_ANTHEM,label:"Resort Anthem"},{id:p.IIDX_LINCLE,label:"Lincle"},{id:p.IIDX_TRICORO,label:"tricoro"},{id:p.IIDX_SPADA,label:"SPADA"},{id:p.IIDX_PENDUAL,label:"PENDUAL"},{id:p.IIDX_COPULA,label:"COPULA"},{id:p.IIDX_SINOBUZ,label:"SINOBUZ"},{id:p.IIDX_CANNON_BALLERS,label:"CANNON BALLERS"},{id:p.IIDX_ROOTAGE,label:"ROOTAGE"},{id:p.IIDX_HEROIC_VERSE,label:"HEROIC VERSE"},{id:p.IIDX_BISTROVER,label:"BISTROVER"},{id:p.IIDX_CASTHOUR,label:"CastHour"},{id:p.IIDX_RESIDENT,label:"RESIDENT"}]},{id:K.IIDXCLASS,name:"Classic IIDX",icon:"/assets/icon/iidx.png",cardBG:"/assets/card/iidx.png",noRivals:!0,noScores:!0,noRecords:!0,versions:[{id:p.IIDX,label:"1st Style"},{id:p.IIDX_2ND_STYLE,label:"2nd Style"},{id:p.IIDX_3RD_STYLE,label:"3rd Style"},{id:p.IIDX_4TH_STYLE,label:"4th Style"},{id:p.IIDX_5TH_STYLE,label:"5th Style"},{id:p.IIDX_6TH_STYLE,label:"6th Style"},{id:p.IIDX_7TH_STYLE,label:"7th Style"},{id:p.IIDX_8TH_STYLE,label:"8th Style"},{id:p.IIDX_9TH_STYLE,label:"9th Style"},{id:p.IIDX_10TH_STYLE,label:"10th Style"},{id:p.IIDX_RED,label:"RED"},{id:p.IIDX_HAPPY_SKY,label:"HAPPY SKY"},{id:p.IIDX_DISTORTED,label:"DistorteD"},{id:p.IIDX_GOLD,label:"GOLD"},{id:p.IIDX_DJ_TROOPERS,label:"DJ TROOPERS"},{id:p.IIDX_EMPRESS,label:"EMPRESS"},{id:p.IIDX_SIRIUS,label:"SIRIUS"},{id:p.IIDX_RESORT_ANTHEM,label:"Resort Anthem"},{id:p.IIDX_LINCLE,label:"Lincle"}]},{id:K.JUBEAT,name:"jubeat",icon:null,cardBG:null,versions:[{id:p.JUBEAT,label:"Original"},{id:p.JUBEAT_RIPPLES,label:"Ripples"},{id:p.JUBEAT_RIPPLES_APPEND,label:"Ripples (Append)"},{id:p.JUBEAT_KNIT,label:"Knit"},{id:p.JUBEAT_KNIT_APPEND,label:"Knit (Append)"},{id:p.JUBEAT_COPIOUS,label:"Copious"},{id:p.JUBEAT_COPIOUS_APPEND,label:"Copious (Append)"},{id:p.JUBEAT_SAUCER,label:"Saucer"},{id:p.JUBEAT_SAUCER_FULFILL,label:"Saucer Fulfill"},{id:p.JUBEAT_PROP,label:"Prop"},{id:p.JUBEAT_QUBELL,label:"Qubell"},{id:p.JUBEAT_CLAN,label:"Clan"},{id:p.JUBEAT_FESTO,label:"Festo"},{id:p.JUBEAT_AVE,label:"Avenue"}]},{id:K.LOVEPLUS,name:"LovePlus",icon:null,cardBG:null,noRivals:!0,noScores:!0,noRecords:!0,versions:[{id:p.LOVEPLUS_ARCADE,label:"Medal"},{id:p.LOVEPLUS_CC,label:"Colorful Clip"}]},{id:K.MGA,name:"Metal Gear Arcade",icon:null,cardBG:null,skip:!0,noRivals:!0,noScores:!0,noRecords:!0},{id:K.MUSECA,name:"Museca",icon:null,cardBG:null,versions:[{id:p.MUSECA,label:"Original"},{id:p.MUSECA_1_PLUS,label:"1 + 1/2"}]},{id:K.NOSTALGIA,name:"Nostalgia",icon:null,cardBG:null,versions:[{id:p.NOSTALGIA,label:"Original"},{id:p.NOSTALGIA_FORTE,label:"Forte"},{id:p.NOSTALGIA_OP_2,label:"OP.2"},{id:p.NOSTALGIA_OP_3,label:"OP.3"}]},{id:K.OTOMEDIUS,name:"Otomedius",icon:null,cardBG:null,skip:!0,noRivals:!0,noScores:!0,noRecords:!0},{id:K.OTOCA,name:"Otoca d' Or",icon:null,cardBG:null,skip:!0,noRivals:!0,noScores:!0,noRecords:!0},{id:K.POPN_HELLO,name:"Hello! Pop'n Music",icon:"/assets/icon/popn.png",cardBG:"/assets/card/popn.png",skip:!0,noRivals:!0,noScores:!0,noRecords:!0},{id:K.POPN_MUSIC,name:"pop'n music",shortName:"pop'n",icon:"/assets/icon/popn.png",cardBG:"/assets/card/popn.png",versions:[{id:p.POPN_MUSIC,label:"Original"},{id:p.POPN_MUSIC_2,label:"2"},{id:p.POPN_MUSIC_3,label:"3"},{id:p.POPN_MUSIC_4,label:"4"},{id:p.POPN_MUSIC_5,label:"5"},{id:p.POPN_MUSIC_6,label:"6"},{id:p.POPN_MUSIC_7,label:"7"},{id:p.POPN_MUSIC_8,label:"8"},{id:p.POPN_MUSIC_9,label:"9"},{id:p.POPN_MUSIC_10,label:"10"},{id:p.POPN_MUSIC_11,label:"11"},{id:p.POPN_MUSIC_IROHA,label:"\u3044\u308D\u306F (Iroha)"},{id:p.POPN_MUSIC_CARNIVAL,label:"\u30AB\u30FC\u30CB\u30D0\u30EB (Carnival)"},{id:p.POPN_MUSIC_FEVER,label:"FEVER!"},{id:p.POPN_MUSIC_ADVENTURE,label:"ADVENTURE"},{id:p.POPN_MUSIC_PARTY,label:"PARTY\u266A"},{id:p.POPN_MUSIC_THE_MOVIE,label:"THE MOVIE"},{id:p.POPN_MUSIC_SENGOKU_RETSUDEN,label:"\u305B\u3093\u3054\u304F\u5217\u4F1D (Sengoku Retsuden)"},{id:p.POPN_MUSIC_TUNE_STREET,label:"TUNE STREET"},{id:p.POPN_MUSIC_FANTASIA,label:"fantasia"},{id:p.POPN_MUSIC_SUNNY_PARK,label:"Sunny Park"},{id:p.POPN_MUSIC_LAPISTORIA,label:"\u30E9\u30D4\u30B9\u30C8\u30EA\u30A2 (Lapistoria)"},{id:p.POPN_MUSIC_ECLALE,label:"\xE9clale"},{id:p.POPN_MUSIC_USANEKO,label:"\u3046\u3055\u304E\u3068\u732B\u3068\u5C11\u5E74\u306E\u5922 (Usaneko)"},{id:p.POPN_MUSIC_PEACE,label:"peace"},{id:p.POPN_MUSIC_KAIMEI_RIDDLES,label:"\u89E3\u660E\u30EA\u30C9\u30EB\u30BA (Kaimei riddles)"}]},{id:K.QMA,name:"Quiz Magic Academy",icon:null,cardBG:null,skip:!0,noRivals:!0,noScores:!0,noRecords:!0},{id:K.REFLEC_BEAT,name:"ReflecBeat",icon:null,cardBG:null,versions:[{id:p.REFLEC_BEAT,label:"Original"},{id:p.REFLEC_BEAT_LIMELIGHT,label:"Limelight"},{id:p.REFLEC_BEAT_COLETTE,label:"Colette"},{id:p.REFLEC_BEAT_GROOVIN,label:"groovin'!!"},{id:p.REFLEC_BEAT_VOLZZA,label:"VOLZZA"},{id:p.REFLEC_BEAT_VOLZZA_2,label:"VOLZZA 2"}]},{id:K.ROAD_FIGHTERS,name:"Road Fighters",icon:null,cardBG:null,skip:!0,noRivals:!0,noScores:!0,noRecords:!0},{id:K.SDVX,name:"SOUND VOLTEX",shortName:"SDVX",icon:null,cardBG:null,versions:[{id:p.SDVX_BOOTH,label:"BOOTH"},{id:p.SDVX_INFINITE_INFECTION,label:"-II- Infinite Infection"},{id:p.SDVX_GRAVITY_WARS,label:"GRAVITY WARS"},{id:p.SDVX_HEAVENLY_HAVEN,label:"HEAVENLY HAVEN"},{id:p.SDVX_VIVID_WAVE,label:"VIVID WAVE"},{id:p.SDVX_EXCEED_GEAR,label:"EXCEED GEAR"}]}],Fb=[{id:0,name:"Speakeasy Smashcade",area:"US-IL",image:"https://i.imgur.com/HApAZgW.gif",address:null,show_address:!1,public:!0,beta:!0,paseli:!0,infinite_paseli:!0,maintenance:!1,admins:["Trmazi","SpeakEZ","kohai"]},{id:1,name:"Boss Battle Games",area:"US-IN",image:"https://scontent-ord5-2.xx.fbcdn.net/v/t1.6435-9/118871039_2818450415068886_7737385160957713953_n.jpg?_nc_cat=102&ccb=1-7&_nc_sid=8bfeb9&_nc_ohc=W8tEpuL3C14AX8XL09Z&_nc_ht=scontent-ord5-2.xx&oh=00_AfAneLjV1pukiSgE7S0Q6e-g6VFYEHSyFVk-kQh5elofJw&oe=64B49BD7",address:"6020 E. 82nd St, Indianapolis, Indiana 46250",show_address:!0,public:!0,beta:!0,paseli:!0,infinite_paseli:!1,maintenance:!1,admins:["Trmazi","Pat","Jeff"]},{id:2,name:"BladeCN",area:"GB",image:"https://media.discordapp.net/attachments/717595745275871232/1119697819020824616/image.png",address:"6020 E. 82nd St",show_address:!1,public:!0,beta:!1,paseli:!0,infinite_paseli:!0,maintenance:!1,admins:["blade"]},{id:3,name:"GhettoCade",area:"US-IN",image:"https://ik.imagekit.io/suedbykonami/arcade/card/IMG_7096.jpg",show_address:!1,public:!0,beta:!0,paseli:!0,infinite_paseli:!0,maintenance:!1,admins:["Trmazi"]}];function Vb(e){var t=Yo.find(n=>n.id===e);return t||(t=Yo.find(n=>n.name===e)),t?(t.icon||(t.icon=`/assets/icon/${e}.png`),t.cardBG||(t.cardBG=`/assets/card/${e}.png`),t):null}const Bb={class:"space-y-3 text-center md:text-left lg:mx-12"},Ub={class:"space-y-2 md:space-y-0"},$b={key:0,class:"text-2xl md:text-xl lg:text-2xl"},zb={key:1,class:"text-3xl md:text-4xl"},jb={key:2,class:"text-md md:text-lg"},Xb={key:0,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"},Wb={key:0,class:"text-center md:text-right"},Gb={class:"text-xl md:text-lg lg:text-2lg"},Kb={class:"text-xs italic"},Yb={__name:"UserCard",props:{useSmall:{type:Boolean,required:!1,default:!1},evenSmaller:{type:Boolean,required:!1,default:!1}},setup(e){const t=Si(),n=Nb();var i={game:"beatmaniaIIDX",version:"22 PENDUAL",arcade:"Ho-House"};function s(r){if(r!==null)return` + background-image: url('/assets/card/${r}.png'); + background-size: cover; + background-repeat: no-repeat; + `}return(r,o)=>(F(),pt(ii,{style:cs(s("iidx"))},{default:dt(()=>[U(Ye,{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:dt(()=>[U(Of,{class:"w-28 md:w-32 lg:w-44 lg:mx-12"}),H("div",Bb,[H("div",Ub,[e.useSmall?Rt("",!0):(F(),Q("h1",$b,[Re(yt(T(n).header[0])+" ",1),H("b",null,yt(T(t).userName),1),Re(yt(T(n).header[1]),1)])),e.useSmall?(F(),Q("h1",zb,[H("b",null,yt(T(t).userName),1)])):Rt("",!0),e.useSmall&&!e.evenSmaller?(F(),Q("p",jb,[Re(" Last seen playing "),H("b",null,yt(T(i).game)+" "+yt(T(i).version),1),Re(" at "),H("b",null,yt(T(i).arcade),1)])):Rt("",!0)]),e.evenSmaller?Rt("",!0):(F(),Q("div",Xb,[U(je,{label:"System Admin",color:"danger",icon:T(d0)},null,8,["icon"]),U(je,{label:"Beta Tester",color:"warning",icon:T(gf)},null,8,["icon"]),U(je,{label:"Veteran",color:"success",icon:T(Xm)},null,8,["icon"]),U(je,{label:"Active Dev",color:"info",icon:T(e0)},null,8,["icon"]),U(je,{label:"Private Profile",color:"info",icon:T(jm)},null,8,["icon"]),U(je,{label:"Public Profile",color:"success",icon:T($m)},null,8,["icon"])]))]),e.useSmall?Rt("",!0):(F(),Q("div",Wb,[H("p",Gb,yt(T(n).comment),1),H("p",Kb,"Greeting by: "+yt(T(n).author),1)]))]),_:1})]),_:1},8,["style"]))}},mo={default:{primary:"#00D1B2",info:"#209CEE",danger:"#FF3860"}},qb=e=>{const t=[];for(let n=0;n({fill:!1,borderColor:mo.default[e],borderWidth:2,borderDash:[],borderDashOffset:0,pointBackgroundColor:mo.default[e],pointBorderColor:"rgba(255,255,255,0)",pointHoverBackgroundColor:mo.default[e],pointBorderWidth:20,pointHoverRadius:4,pointHoverBorderWidth:15,pointRadius:4,data:qb(t),tension:.5,cubicInterpolationMode:"default"}),Jb=(e=7)=>{const t=[];for(let n=1;n<=e;n++)t.push(`0${n}`);return{labels:t,datasets:[Zb("info",e)]}};/*! + * Chart.js v3.9.1 + * https://www.chartjs.org + * (c) 2022 Chart.js Contributors + * Released under the MIT License + */function Be(){}const Qb=function(){let e=0;return function(){return e++}}();function At(e){return e===null||typeof e>"u"}function Tt(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 vt(e){return e!==null&&Object.prototype.toString.call(e)==="[object Object]"}const Wt=e=>(typeof e=="number"||e instanceof Number)&&isFinite(+e);function pe(e,t){return Wt(e)?e:t}function xt(e,t){return typeof e>"u"?t:e}const t_=(e,t)=>typeof e=="string"&&e.endsWith("%")?parseFloat(e)/100:e/t,Ff=(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 Mt(e,t,n,i){let s,r,o;if(Tt(e))if(r=e.length,i)for(s=r-1;s>=0;s--)t.call(n,e[s],s);else for(s=0;se,x:e=>e.x,y:e=>e.y};function yn(e,t){return(Pc[t]||(Pc[t]=i_(t)))(e)}function i_(e){const t=s_(e);return n=>{for(const i of t){if(i==="")break;n=n&&n[i]}return n}}function s_(e){const t=e.split("."),n=[];let i="";for(const s of t)i+=s,i.endsWith("\\")?i=i.slice(0,-1)+".":(n.push(i),i="");return n}function Ba(e){return e.charAt(0).toUpperCase()+e.slice(1)}const ye=e=>typeof e<"u",xn=e=>typeof e=="function",Hc=(e,t)=>{if(e.size!==t.size)return!1;for(const n of e)if(!t.has(n))return!1;return!0};function r_(e){return e.type==="mouseup"||e.type==="click"||e.type==="contextmenu"}const Nt=Math.PI,wt=2*Nt,o_=wt+Nt,ir=Number.POSITIVE_INFINITY,a_=Nt/180,Ht=Nt/2,Li=Nt/4,Nc=Nt*2/3,ge=Math.log10,Ne=Math.sign;function Fc(e){const t=Math.round(e);e=Gi(e,t,e/1e3)?t:e;const n=Math.pow(10,Math.floor(ge(e))),i=e/n;return(i<=1?1:i<=2?2:i<=5?5:10)*n}function l_(e){const t=[],n=Math.sqrt(e);let i;for(i=1;is-r).pop(),t}function hi(e){return!isNaN(parseFloat(e))&&isFinite(e)}function Gi(e,t,n){return Math.abs(e-t)=e}function Bf(e,t,n){let i,s,r;for(i=0,s=e.length;il&&c=Math.min(t,n)-i&&e<=Math.max(t,n)+i}function $a(e,t,n){n=n||(o=>e[o]1;)r=s+i>>1,n(r)?s=r:i=r;return{lo:s,hi:i}}const Hn=(e,t,n,i)=>$a(e,n,i?s=>e[s][t]<=n:s=>e[s][t]$a(e,n,i=>e[i][t]>=n);function h_(e,t,n){let i=0,s=e.length;for(;ii&&e[s-1]>n;)s--;return i>0||s{const i="_onData"+Ba(n),s=e[n];Object.defineProperty(e,n,{configurable:!0,enumerable:!1,value(...r){const o=s.apply(this,r);return e._chartjs.listeners.forEach(a=>{typeof a[i]=="function"&&a[i](...r)}),o}})})}function Bc(e,t){const n=e._chartjs;if(!n)return;const i=n.listeners,s=i.indexOf(t);s!==-1&&i.splice(s,1),!(i.length>0)&&($f.forEach(r=>{delete e[r]}),delete e._chartjs)}function zf(e){const t=new Set;let n,i;for(n=0,i=e.length;n"u"?function(e){return e()}:window.requestAnimationFrame}();function Xf(e,t,n){const i=n||(o=>Array.prototype.slice.call(o));let s=!1,r=[];return function(...o){r=i(o),s||(s=!0,jf.call(window,()=>{s=!1,e.apply(t,r)}))}}function g_(e,t){let n;return function(...i){return t?(clearTimeout(n),n=setTimeout(e,t,i)):e.apply(this,i),t}}const m_=e=>e==="start"?"left":e==="end"?"right":"center",Uc=(e,t,n)=>e==="start"?t:e==="end"?n:(t+n)/2;function Wf(e,t,n){const i=t.length;let s=0,r=i;if(e._sorted){const{iScale:o,_parsed:a}=e,l=o.axis,{min:c,max:u,minDefined:d,maxDefined:f}=o.getUserBounds();d&&(s=Jt(Math.min(Hn(a,o.axis,c).lo,n?i:Hn(t,l,o.getPixelForValue(c)).lo),0,i-1)),f?r=Jt(Math.max(Hn(a,o.axis,u,!0).hi+1,n?0:Hn(t,l,o.getPixelForValue(u),!0).hi+1),s,i)-s:r=i-s}return{start:s,count:r}}function Gf(e){const{xScale:t,yScale:n,_scaleRanges:i}=e,s={xmin:t.min,xmax:t.max,ymin:n.min,ymax:n.max};if(!i)return e._scaleRanges=s,!0;const r=i.xmin!==t.min||i.xmax!==t.max||i.ymin!==n.min||i.ymax!==n.max;return Object.assign(i,s),r}const Ss=e=>e===0||e===1,$c=(e,t,n)=>-(Math.pow(2,10*(e-=1))*Math.sin((e-t)*wt/n)),zc=(e,t,n)=>Math.pow(2,-10*e)*Math.sin((e-t)*wt/n)+1,Ki={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*Ht)+1,easeOutSine:e=>Math.sin(e*Ht),easeInOutSine:e=>-.5*(Math.cos(Nt*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=>Ss(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=>Ss(e)?e:$c(e,.075,.3),easeOutElastic:e=>Ss(e)?e:zc(e,.075,.3),easeInOutElastic(e){return Ss(e)?e:e<.5?.5*$c(e*2,.1125,.45):.5+.5*zc(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-Ki.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?Ki.easeInBounce(e*2)*.5:Ki.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 ds(e){return e+.5|0}const un=(e,t,n)=>Math.max(Math.min(e,n),t);function Fi(e){return un(ds(e*2.55),0,255)}function gn(e){return un(ds(e*255),0,255)}function Xe(e){return un(ds(e/2.55)/100,0,1)}function jc(e){return un(ds(e*100),0,100)}const he={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},Zo=[..."0123456789ABCDEF"],b_=e=>Zo[e&15],__=e=>Zo[(e&240)>>4]+Zo[e&15],Ms=e=>(e&240)>>4===(e&15),y_=e=>Ms(e.r)&&Ms(e.g)&&Ms(e.b)&&Ms(e.a);function x_(e){var t=e.length,n;return e[0]==="#"&&(t===4||t===5?n={r:255&he[e[1]]*17,g:255&he[e[2]]*17,b:255&he[e[3]]*17,a:t===5?he[e[4]]*17:255}:(t===7||t===9)&&(n={r:he[e[1]]<<4|he[e[2]],g:he[e[3]]<<4|he[e[4]],b:he[e[5]]<<4|he[e[6]],a:t===9?he[e[7]]<<4|he[e[8]]:255})),n}const v_=(e,t)=>e<255?t(e):"";function A_(e){var t=y_(e)?b_:__;return e?"#"+t(e.r)+t(e.g)+t(e.b)+v_(e.a,t):void 0}const S_=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function Kf(e,t,n){const i=t*Math.min(n,1-n),s=(r,o=(r+e/30)%12)=>n-i*Math.max(Math.min(o-3,9-o,1),-1);return[s(0),s(8),s(4)]}function M_(e,t,n){const i=(s,r=(s+e/60)%6)=>n-n*t*Math.max(Math.min(r,4-r,1),0);return[i(5),i(3),i(1)]}function E_(e,t,n){const i=Kf(e,1,.5);let s;for(t+n>1&&(s=1/(t+n),t*=s,n*=s),s=0;s<3;s++)i[s]*=1-t-n,i[s]+=t;return i}function R_(e,t,n,i,s){return e===s?(t-n)/i+(t.5?u/(2-r-o):u/(r+o),l=R_(n,i,s,u,r),l=l*60+.5),[l|0,c||0,a]}function ja(e,t,n,i){return(Array.isArray(t)?e(t[0],t[1],t[2]):e(t,n,i)).map(gn)}function Xa(e,t,n){return ja(Kf,e,t,n)}function w_(e,t,n){return ja(E_,e,t,n)}function I_(e,t,n){return ja(M_,e,t,n)}function Yf(e){return(e%360+360)%360}function C_(e){const t=S_.exec(e);let n=255,i;if(!t)return;t[5]!==i&&(n=t[6]?Fi(+t[5]):gn(+t[5]));const s=Yf(+t[2]),r=+t[3]/100,o=+t[4]/100;return t[1]==="hwb"?i=w_(s,r,o):t[1]==="hsv"?i=I_(s,r,o):i=Xa(s,r,o),{r:i[0],g:i[1],b:i[2],a:n}}function L_(e,t){var n=za(e);n[0]=Yf(n[0]+t),n=Xa(n),e.r=n[0],e.g=n[1],e.b=n[2]}function T_(e){if(!e)return;const t=za(e),n=t[0],i=jc(t[1]),s=jc(t[2]);return e.a<255?`hsla(${n}, ${i}%, ${s}%, ${Xe(e.a)})`:`hsl(${n}, ${i}%, ${s}%)`}const Xc={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 D_(){const e={},t=Object.keys(Wc),n=Object.keys(Xc);let i,s,r,o,a;for(i=0;i>16&255,r>>8&255,r&255]}return e}let Es;function k_(e){Es||(Es=D_(),Es.transparent=[0,0,0,0]);const t=Es[e.toLowerCase()];return t&&{r:t[0],g:t[1],b:t[2],a:t.length===4?t[3]:255}}const O_=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;function P_(e){const t=O_.exec(e);let n=255,i,s,r;if(!!t){if(t[7]!==i){const o=+t[7];n=t[8]?Fi(o):un(o*255,0,255)}return i=+t[1],s=+t[3],r=+t[5],i=255&(t[2]?Fi(i):un(i,0,255)),s=255&(t[4]?Fi(s):un(s,0,255)),r=255&(t[6]?Fi(r):un(r,0,255)),{r:i,g:s,b:r,a:n}}}function H_(e){return e&&(e.a<255?`rgba(${e.r}, ${e.g}, ${e.b}, ${Xe(e.a)})`:`rgb(${e.r}, ${e.g}, ${e.b})`)}const bo=e=>e<=.0031308?e*12.92:Math.pow(e,1/2.4)*1.055-.055,Zn=e=>e<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4);function N_(e,t,n){const i=Zn(Xe(e.r)),s=Zn(Xe(e.g)),r=Zn(Xe(e.b));return{r:gn(bo(i+n*(Zn(Xe(t.r))-i))),g:gn(bo(s+n*(Zn(Xe(t.g))-s))),b:gn(bo(r+n*(Zn(Xe(t.b))-r))),a:e.a+n*(t.a-e.a)}}function Rs(e,t,n){if(e){let i=za(e);i[t]=Math.max(0,Math.min(i[t]+i[t]*n,t===0?360:1)),i=Xa(i),e.r=i[0],e.g=i[1],e.b=i[2]}}function qf(e,t){return e&&Object.assign(t||{},e)}function Gc(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=gn(e[3]))):(t=qf(e,{r:0,g:0,b:0,a:1}),t.a=gn(t.a)),t}function F_(e){return e.charAt(0)==="r"?P_(e):C_(e)}class rr{constructor(t){if(t instanceof rr)return t;const n=typeof t;let i;n==="object"?i=Gc(t):n==="string"&&(i=x_(t)||k_(t)||F_(t)),this._rgb=i,this._valid=!!i}get valid(){return this._valid}get rgb(){var t=qf(this._rgb);return t&&(t.a=Xe(t.a)),t}set rgb(t){this._rgb=Gc(t)}rgbString(){return this._valid?H_(this._rgb):void 0}hexString(){return this._valid?A_(this._rgb):void 0}hslString(){return this._valid?T_(this._rgb):void 0}mix(t,n){if(t){const i=this.rgb,s=t.rgb;let r;const o=n===r?.5:n,a=2*o-1,l=i.a-s.a,c=((a*l===-1?a:(a+l)/(1+a*l))+1)/2;r=1-c,i.r=255&c*i.r+r*s.r+.5,i.g=255&c*i.g+r*s.g+.5,i.b=255&c*i.b+r*s.b+.5,i.a=o*i.a+(1-o)*s.a,this.rgb=i}return this}interpolate(t,n){return t&&(this._rgb=N_(this._rgb,t._rgb,n)),this}clone(){return new rr(this.rgb)}alpha(t){return this._rgb.a=gn(t),this}clearer(t){const n=this._rgb;return n.a*=1-t,this}greyscale(){const t=this._rgb,n=ds(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 Rs(this._rgb,2,t),this}darken(t){return Rs(this._rgb,2,-t),this}saturate(t){return Rs(this._rgb,1,t),this}desaturate(t){return Rs(this._rgb,1,-t),this}rotate(t){return L_(this._rgb,t),this}}function Zf(e){return new rr(e)}function Jf(e){if(e&&typeof e=="object"){const t=e.toString();return t==="[object CanvasPattern]"||t==="[object CanvasGradient]"}return!1}function Kc(e){return Jf(e)?e:Zf(e)}function _o(e){return Jf(e)?e:Zf(e).saturate(.5).darken(.1).hexString()}const zn=Object.create(null),Jo=Object.create(null);function Yi(e,t){if(!t)return e;const n=t.split(".");for(let i=0,s=n.length;in.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,i)=>_o(i.backgroundColor),this.hoverBorderColor=(n,i)=>_o(i.borderColor),this.hoverColor=(n,i)=>_o(i.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 yo(this,t,n)}get(t){return Yi(this,t)}describe(t,n){return yo(Jo,t,n)}override(t,n){return yo(zn,t,n)}route(t,n,i,s){const r=Yi(this,t),o=Yi(this,i),a="_"+n;Object.defineProperties(r,{[a]:{value:r[n],writable:!0},[n]:{enumerable:!0,get(){const l=this[a],c=o[s];return vt(l)?Object.assign({},c,l):xt(l,c)},set(l){this[a]=l}}})}}var gt=new V_({_scriptable:e=>!e.startsWith("on"),_indexable:e=>e!=="events",hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}});function B_(e){return!e||At(e.size)||At(e.family)?null:(e.style?e.style+" ":"")+(e.weight?e.weight+" ":"")+e.size+"px "+e.family}function or(e,t,n,i,s){let r=t[s];return r||(r=t[s]=e.measureText(s).width,n.push(s)),r>i&&(i=r),i}function U_(e,t,n,i){i=i||{};let s=i.data=i.data||{},r=i.garbageCollect=i.garbageCollect||[];i.font!==t&&(s=i.data={},r=i.garbageCollect=[],i.font=t),e.save(),e.font=t;let o=0;const a=n.length;let l,c,u,d,f;for(l=0;ln.length){for(l=0;l0&&e.stroke()}}function as(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=s.string,X_(e,r),l=0;l+e||0;function Wa(e,t){const n={},i=vt(t),s=i?Object.keys(t):t,r=vt(e)?i?o=>xt(e[o],e[t[o]]):o=>e[o]:()=>e;for(const o of s)n[o]=q_(r(o));return n}function eh(e){return Wa(e,{top:"y",right:"x",bottom:"y",left:"x"})}function si(e){return Wa(e,["topLeft","topRight","bottomLeft","bottomRight"])}function xe(e){const t=eh(e);return t.width=t.left+t.right,t.height=t.top+t.bottom,t}function ue(e,t){e=e||{},t=t||gt.font;let n=xt(e.size,t.size);typeof n=="string"&&(n=parseInt(n,10));let i=xt(e.style,t.style);i&&!(""+i).match(K_)&&(console.warn('Invalid font style specified: "'+i+'"'),i="");const s={family:xt(e.family,t.family),lineHeight:Y_(xt(e.lineHeight,t.lineHeight),n),size:n,style:i,weight:xt(e.weight,t.weight),string:""};return s.string=B_(s),s}function ws(e,t,n,i){let s=!0,r,o,a;for(r=0,o=e.length;rn&&a===0?0:a+l;return{min:o(i,-Math.abs(r)),max:o(s,r)}}function vn(e,t){return Object.assign(Object.create(e),t)}function Ga(e,t=[""],n=e,i,s=()=>e[0]){ye(i)||(i=rh("_fallback",e));const r={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:e,_rootScopes:n,_fallback:i,_getTarget:s,override:o=>Ga([o,...e],t,n,i)};return new Proxy(r,{deleteProperty(o,a){return delete o[a],delete o._keys,delete e[0][a],!0},get(o,a){return ih(o,a,()=>ry(a,t,e,o))},getOwnPropertyDescriptor(o,a){return Reflect.getOwnPropertyDescriptor(o._scopes[0],a)},getPrototypeOf(){return Reflect.getPrototypeOf(e[0])},has(o,a){return Zc(o).includes(a)},ownKeys(o){return Zc(o)},set(o,a,l){const c=o._storage||(o._storage=s());return o[a]=c[a]=l,delete o._keys,!0}})}function pi(e,t,n,i){const s={_cacheable:!1,_proxy:e,_context:t,_subProxy:n,_stack:new Set,_descriptors:nh(e,i),setContext:r=>pi(e,r,n,i),override:r=>pi(e.override(r),t,n,i)};return new Proxy(s,{deleteProperty(r,o){return delete r[o],delete e[o],!0},get(r,o,a){return ih(r,o,()=>Q_(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 nh(e,t={scriptable:!0,indexable:!0}){const{_scriptable:n=t.scriptable,_indexable:i=t.indexable,_allKeys:s=t.allKeys}=e;return{allKeys:s,scriptable:n,indexable:i,isScriptable:xn(n)?n:()=>n,isIndexable:xn(i)?i:()=>i}}const J_=(e,t)=>e?e+Ba(t):t,Ka=(e,t)=>vt(t)&&e!=="adapters"&&(Object.getPrototypeOf(t)===null||t.constructor===Object);function ih(e,t,n){if(Object.prototype.hasOwnProperty.call(e,t))return e[t];const i=n();return e[t]=i,i}function Q_(e,t,n){const{_proxy:i,_context:s,_subProxy:r,_descriptors:o}=e;let a=i[t];return xn(a)&&o.isScriptable(t)&&(a=ty(t,a,e,n)),Tt(a)&&a.length&&(a=ey(t,a,e,o.isIndexable)),Ka(t,a)&&(a=pi(a,s,r&&r[t],o)),a}function ty(e,t,n,i){const{_proxy:s,_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||i),a.delete(e),Ka(e,t)&&(t=Ya(s._scopes,s,e,t)),t}function ey(e,t,n,i){const{_proxy:s,_context:r,_subProxy:o,_descriptors:a}=n;if(ye(r.index)&&i(e))t=t[r.index%t.length];else if(vt(t[0])){const l=t,c=s._scopes.filter(u=>u!==l);t=[];for(const u of l){const d=Ya(c,s,e,u);t.push(pi(d,r,o&&o[e],a))}}return t}function sh(e,t,n){return xn(e)?e(t,n):e}const ny=(e,t)=>e===!0?t:typeof e=="string"?yn(t,e):void 0;function iy(e,t,n,i,s){for(const r of t){const o=ny(n,r);if(o){e.add(o);const a=sh(o._fallback,n,s);if(ye(a)&&a!==n&&a!==i)return a}else if(o===!1&&ye(i)&&n!==i)return null}return!1}function Ya(e,t,n,i){const s=t._rootScopes,r=sh(t._fallback,n,i),o=[...e,...s],a=new Set;a.add(i);let l=qc(a,o,n,r||n,i);return l===null||ye(r)&&r!==n&&(l=qc(a,o,r,l,i),l===null)?!1:Ga(Array.from(a),[""],s,r,()=>sy(t,n,i))}function qc(e,t,n,i,s){for(;n;)n=iy(e,t,n,i,s);return n}function sy(e,t,n){const i=e._getTarget();t in i||(i[t]={});const s=i[t];return Tt(s)&&vt(n)?n:s}function ry(e,t,n,i){let s;for(const r of t)if(s=rh(J_(r,e),n),ye(s))return Ka(e,s)?Ya(n,i,e,s):s}function rh(e,t){for(const n of t){if(!n)continue;const i=n[e];if(ye(i))return i}}function Zc(e){let t=e._keys;return t||(t=e._keys=oy(e._scopes)),t}function oy(e){const t=new Set;for(const n of e)for(const i of Object.keys(n).filter(s=>!s.startsWith("_")))t.add(i);return Array.from(t)}function oh(e,t,n,i){const{iScale:s}=e,{key:r="r"}=this._parsing,o=new Array(i);let a,l,c,u;for(a=0,l=i;ate==="x"?"y":"x";function ly(e,t,n,i){const s=e.skip?t:e,r=t,o=n.skip?t:n,a=qo(r,s),l=qo(o,r);let c=a/(a+l),u=l/(a+l);c=isNaN(c)?0:c,u=isNaN(u)?0:u;const d=i*c,f=i*u;return{previous:{x:r.x-d*(o.x-s.x),y:r.y-d*(o.y-s.y)},next:{x:r.x+f*(o.x-s.x),y:r.y+f*(o.y-s.y)}}}function cy(e,t,n){const i=e.length;let s,r,o,a,l,c=gi(e,0);for(let u=0;u!c.skip)),t.cubicInterpolationMode==="monotone")dy(e,s);else{let c=i?e[e.length-1]:e[0];for(r=0,o=e.length;rwindow.getComputedStyle(e,null);function py(e,t){return Hr(e).getPropertyValue(t)}const gy=["top","right","bottom","left"];function Bn(e,t,n){const i={};n=n?"-"+n:"";for(let s=0;s<4;s++){const r=gy[s];i[r]=parseFloat(e[t+"-"+r+n])||0}return i.width=i.left+i.right,i.height=i.top+i.bottom,i}const my=(e,t,n)=>(e>0||t>0)&&(!n||!n.shadowRoot);function by(e,t){const n=e.touches,i=n&&n.length?n[0]:e,{offsetX:s,offsetY:r}=i;let o=!1,a,l;if(my(s,r,e.target))a=s,l=r;else{const c=t.getBoundingClientRect();a=i.clientX-c.left,l=i.clientY-c.top,o=!0}return{x:a,y:l,box:o}}function Ln(e,t){if("native"in e)return e;const{canvas:n,currentDevicePixelRatio:i}=t,s=Hr(n),r=s.boxSizing==="border-box",o=Bn(s,"padding"),a=Bn(s,"border","width"),{x:l,y:c,box:u}=by(e,n),d=o.left+(u&&a.left),f=o.top+(u&&a.top);let{width:h,height:g}=t;return r&&(h-=o.width+a.width,g-=o.height+a.height),{x:Math.round((l-d)/h*n.width/i),y:Math.round((c-f)/g*n.height/i)}}function _y(e,t,n){let i,s;if(t===void 0||n===void 0){const r=qa(e);if(!r)t=e.clientWidth,n=e.clientHeight;else{const o=r.getBoundingClientRect(),a=Hr(r),l=Bn(a,"border","width"),c=Bn(a,"padding");t=o.width-c.width-l.width,n=o.height-c.height-l.height,i=cr(a.maxWidth,r,"clientWidth"),s=cr(a.maxHeight,r,"clientHeight")}}return{width:t,height:n,maxWidth:i||ir,maxHeight:s||ir}}const xo=e=>Math.round(e*10)/10;function yy(e,t,n,i){const s=Hr(e),r=Bn(s,"margin"),o=cr(s.maxWidth,e,"clientWidth")||ir,a=cr(s.maxHeight,e,"clientHeight")||ir,l=_y(e,t,n);let{width:c,height:u}=l;if(s.boxSizing==="content-box"){const d=Bn(s,"border","width"),f=Bn(s,"padding");c-=f.width+d.width,u-=f.height+d.height}return c=Math.max(0,c-r.width),u=Math.max(0,i?Math.floor(c/i):u-r.height),c=xo(Math.min(c,o,l.maxWidth)),u=xo(Math.min(u,a,l.maxHeight)),c&&!u&&(u=xo(c/2)),{width:c,height:u}}function Jc(e,t,n){const i=t||1,s=Math.floor(e.height*i),r=Math.floor(e.width*i);e.height=s/i,e.width=r/i;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!==i||o.height!==s||o.width!==r?(e.currentDevicePixelRatio=i,o.height=s,o.width=r,e.ctx.setTransform(i,0,0,i,0,0),!0):!1}const xy=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 Qc(e,t){const n=py(e,t),i=n&&n.match(/^(\d+)(\.\d+)?px$/);return i?+i[1]:void 0}function Tn(e,t,n,i){return{x:e.x+n*(t.x-e.x),y:e.y+n*(t.y-e.y)}}function vy(e,t,n,i){return{x:e.x+n*(t.x-e.x),y:i==="middle"?n<.5?e.y:t.y:i==="after"?n<1?e.y:t.y:n>0?t.y:e.y}}function Ay(e,t,n,i){const s={x:e.cp2x,y:e.cp2y},r={x:t.cp1x,y:t.cp1y},o=Tn(e,s,n),a=Tn(s,r,n),l=Tn(r,t,n),c=Tn(o,a,n),u=Tn(a,l,n);return Tn(c,u,n)}const tu=new Map;function Sy(e,t){t=t||{};const n=e+JSON.stringify(t);let i=tu.get(n);return i||(i=new Intl.NumberFormat(e,t),tu.set(n,i)),i}function fs(e,t,n){return Sy(t,n).format(e)}const My=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,i){return n-i},leftForLtr(n,i){return n-i}}},Ey=function(){return{x(e){return e},setWidth(e){},textAlign(e){return e},xPlus(e,t){return e+t},leftForLtr(e,t){return e}}};function vo(e,t,n){return e?My(t,n):Ey()}function Ry(e,t){let n,i;(t==="ltr"||t==="rtl")&&(n=e.canvas.style,i=[n.getPropertyValue("direction"),n.getPropertyPriority("direction")],n.setProperty("direction",t,"important"),e.prevTextDirection=i)}function wy(e,t){t!==void 0&&(delete e.prevTextDirection,e.canvas.style.setProperty("direction",t[0],t[1]))}function ch(e){return e==="angle"?{between:os,compare:u_,normalize:Se}:{between:sr,compare:(t,n)=>t-n,normalize:t=>t}}function eu({start:e,end:t,count:n,loop:i,style:s}){return{start:e%n,end:t%n,loop:i&&(t-e+1)%n===0,style:s}}function Iy(e,t,n){const{property:i,start:s,end:r}=n,{between:o,normalize:a}=ch(i),l=t.length;let{start:c,end:u,loop:d}=e,f,h;if(d){for(c+=l,u+=l,f=0,h=l;fl(s,M,y)&&a(s,M)!==0,A=()=>a(r,y)===0||l(r,M,y),O=()=>m||E(),C=()=>!m||A();for(let w=u,P=u;w<=d;++w)S=t[w%o],!S.skip&&(y=c(S[i]),y!==M&&(m=l(y,s,r),_===null&&O()&&(_=a(y,s)===0?w:P),_!==null&&C()&&(g.push(eu({start:_,end:w,loop:f,count:o,style:h})),_=null),P=w,M=y));return _!==null&&g.push(eu({start:_,end:d,loop:f,count:o,style:h})),g}function Ly(e,t){const n=[],i=e.segments;for(let s=0;ss&&e[r%t].skip;)r--;return r%=t,{start:s,end:r}}function Dy(e,t,n,i){const s=e.length,r=[];let o=t,a=e[t],l;for(l=t+1;l<=n;++l){const c=e[l%s];c.skip||c.stop?a.skip||(i=!1,r.push({start:t%s,end:(l-1)%s,loop:i}),t=o=c.stop?l:null):(o=l,a.skip&&(t=l)),a=c}return o!==null&&r.push({start:t%s,end:o%s,loop:i}),r}function ky(e,t){const n=e.points,i=e.options.spanGaps,s=n.length;if(!s)return[];const r=!!e._loop,{start:o,end:a}=Ty(n,s,r,i);if(i===!0)return nu(e,[{start:o,end:a,loop:r}],n,t);const l=aa({chart:t,initial:n.initial,numSteps:o,currentStep:Math.min(i-n.start,o)}))}_refresh(){this._request||(this._running=!0,this._request=jf.call(window,()=>{this._update(),this._request=null,this._running&&this._refresh()}))}_update(t=Date.now()){let n=0;this._charts.forEach((i,s)=>{if(!i.running||!i.items.length)return;const r=i.items;let o=r.length-1,a=!1,l;for(;o>=0;--o)l=r[o],l._active?(l._total>i.duration&&(i.duration=l._total),l.tick(t),a=!0):(r[o]=r[r.length-1],r.pop());a&&(s.draw(),this._notify(s,i,t,"progress")),r.length||(i.running=!1,this._notify(s,i,t,"complete"),i.initial=!1),n+=r.length}),this._lastDate=t,n===0&&(this._running=!1)}_getAnims(t){const n=this._charts;let i=n.get(t);return i||(i={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},n.set(t,i)),i}listen(t,n,i){this._getAnims(t).listeners[n].push(i)}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((i,s)=>Math.max(i,s._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 i=n.items;let s=i.length-1;for(;s>=0;--s)i[s].cancel();n.items=[],this._notify(t,n,Date.now(),"complete")}remove(t){return this._charts.delete(t)}}var Ue=new Hy;const su="transparent",Ny={boolean(e,t,n){return n>.5?t:e},color(e,t,n){const i=Kc(e||su),s=i.valid&&Kc(t||su);return s&&s.valid?s.mix(i,n).hexString():t},number(e,t,n){return e+(t-e)*n}};class Fy{constructor(t,n,i,s){const r=n[i];s=ws([t.to,s,r,t.from]);const o=ws([t.from,r,s]);this._active=!0,this._fn=t.fn||Ny[t.type||typeof o],this._easing=Ki[t.easing]||Ki.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=i,this._from=o,this._to=s,this._promises=void 0}active(){return this._active}update(t,n,i){if(this._active){this._notify(!1);const s=this._target[this._prop],r=i-this._start,o=this._duration-r;this._start=i,this._duration=Math.floor(Math.max(o,t.duration)),this._total+=r,this._loop=!!t.loop,this._to=ws([t.to,n,s,t.from]),this._from=ws([t.from,s,n])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(t){const n=t-this._start,i=this._duration,s=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[s]=this._fn(r,a,l)}wait(){const t=this._promises||(this._promises=[]);return new Promise((n,i)=>{t.push({res:n,rej:i})})}_notify(t){const n=t?"res":"rej",i=this._promises||[];for(let s=0;se!=="onProgress"&&e!=="onComplete"&&e!=="fn"});gt.set("animations",{colors:{type:"color",properties:By},numbers:{type:"number",properties:Vy}});gt.describe("animations",{_fallback:"animation"});gt.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 uh{constructor(t,n){this._chart=t,this._properties=new Map,this.configure(n)}configure(t){if(!vt(t))return;const n=this._properties;Object.getOwnPropertyNames(t).forEach(i=>{const s=t[i];if(!vt(s))return;const r={};for(const o of Uy)r[o]=s[o];(Tt(s.properties)&&s.properties||[i]).forEach(o=>{(o===i||!n.has(o))&&n.set(o,r)})})}_animateOptions(t,n){const i=n.options,s=zy(t,i);if(!s)return[];const r=this._createAnimations(s,i);return i.$shared&&$y(t.options.$animations,i).then(()=>{t.options=i},()=>{}),r}_createAnimations(t,n){const i=this._properties,s=[],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"){s.push(...this._animateOptions(t,n));continue}const u=n[c];let d=r[c];const f=i.get(c);if(d)if(f&&d.active()){d.update(f,u,a);continue}else d.cancel();if(!f||!f.duration){t[c]=u;continue}r[c]=d=new Fy(f,t,c,u),s.push(d)}return s}update(t,n){if(this._properties.size===0){Object.assign(t,n);return}const i=this._createAnimations(t,n);if(i.length)return Ue.add(this._chart,i),!0}}function $y(e,t){const n=[],i=Object.keys(t);for(let s=0;s0||!n&&r<0)return s.index}return null}function cu(e,t){const{chart:n,_cachedMeta:i}=e,s=n._stacks||(n._stacks={}),{iScale:r,vScale:o,index:a}=i,l=r.axis,c=o.axis,u=Gy(r,o,i),d=t.length;let f;for(let h=0;hn[i].axis===t).shift()}function qy(e,t){return vn(e,{active:!1,dataset:void 0,datasetIndex:t,index:t,mode:"default",type:"dataset"})}function Zy(e,t,n){return vn(e,{active:!1,dataIndex:t,parsed:void 0,raw:void 0,element:n,index:t,mode:"default",type:"data"})}function Ti(e,t){const n=e.controller.index,i=e.vScale&&e.vScale.axis;if(!!i){t=t||e._parsed;for(const s of t){const r=s._stacks;if(!r||r[i]===void 0||r[i][n]===void 0)return;delete r[i][n]}}}const So=e=>e==="reset"||e==="none",uu=(e,t)=>t?e:Object.assign({},e),Jy=(e,t,n)=>e&&!t.hidden&&t._stacked&&{keys:dh(n,!0),values:null};class Le{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=au(t.vScale,t),this.addElements()}updateIndex(t){this.index!==t&&Ti(this._cachedMeta),this.index=t}linkScales(){const t=this.chart,n=this._cachedMeta,i=this.getDataset(),s=(d,f,h,g)=>d==="x"?f:d==="r"?g:h,r=n.xAxisID=xt(i.xAxisID,Ao(t,"x")),o=n.yAxisID=xt(i.yAxisID,Ao(t,"y")),a=n.rAxisID=xt(i.rAxisID,Ao(t,"r")),l=n.indexAxis,c=n.iAxisID=s(l,r,o,a),u=n.vAxisID=s(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&&Bc(this._data,this),t._stacked&&Ti(t)}_dataCheck(){const t=this.getDataset(),n=t.data||(t.data=[]),i=this._data;if(vt(n))this._data=Wy(n);else if(i!==n){if(i){Bc(i,this);const s=this._cachedMeta;Ti(s),s._parsed=[]}n&&Object.isExtensible(n)&&p_(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,i=this.getDataset();let s=!1;this._dataCheck();const r=n._stacked;n._stacked=au(n.vScale,n),n.stack!==i.stack&&(s=!0,Ti(n),n.stack=i.stack),this._resyncElements(t),(s||r!==n._stacked)&&cu(this,n._parsed)}configure(){const t=this.chart.config,n=t.datasetScopeKeys(this._type),i=t.getOptionScopes(this.getDataset(),n,!0);this.options=t.createResolver(i,this.getContext()),this._parsing=this.options.parsing,this._cachedDataOpts={}}parse(t,n){const{_cachedMeta:i,_data:s}=this,{iScale:r,_stacked:o}=i,a=r.axis;let l=t===0&&n===s.length?!0:i._sorted,c=t>0&&i._parsed[t-1],u,d,f;if(this._parsing===!1)i._parsed=s,i._sorted=!0,f=s;else{Tt(s[t])?f=this.parseArrayData(i,s,t,n):vt(s[t])?f=this.parseObjectData(i,s,t,n):f=this.parsePrimitiveData(i,s,t,n);const h=()=>d[a]===null||c&&d[a]m||d=0;--f)if(!g()){this.updateRangeFromParsed(c,t,h,l);break}}return c}getAllParsedValues(t){const n=this._cachedMeta._parsed,i=[];let s,r,o;for(s=0,r=n.length;s=0&&tthis.getContext(i,s),m=c.resolveNamedOptions(f,h,g,d);return m.$shared&&(m.$shared=l,r[o]=Object.freeze(uu(m,l))),m}_resolveAnimations(t,n,i){const s=this.chart,r=this._cachedDataOpts,o=`animation-${n}`,a=r[o];if(a)return a;let l;if(s.options.animation!==!1){const u=this.chart.config,d=u.datasetAnimationScopeKeys(this._type,n),f=u.getOptionScopes(this.getDataset(),d);l=u.createResolver(f,this.getContext(t,i,n))}const c=new uh(s,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||So(t)||this.chart._animationsDisabled}_getSharedOptions(t,n){const i=this.resolveDataElementOptions(t,n),s=this._sharedOptions,r=this.getSharedOptions(i),o=this.includeOptions(n,r)||r!==s;return this.updateSharedOptions(r,n,i),{sharedOptions:r,includeOptions:o}}updateElement(t,n,i,s){So(s)?Object.assign(t,i):this._resolveAnimations(n,s).update(t,i)}updateSharedOptions(t,n,i){t&&!So(n)&&this._resolveAnimations(void 0,n).update(t,i)}_setStyle(t,n,i,s){t.active=s;const r=this.getStyle(n,s);this._resolveAnimations(n,i,s).update(t,{options:!s&&this.getSharedOptions(r)||r})}removeHoverStyle(t,n,i){this._setStyle(t,i,"active",!1)}setHoverStyle(t,n,i){this._setStyle(t,i,"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,i=this._cachedMeta.data;for(const[a,l,c]of this._syncList)this[a](l,c);this._syncList=[];const s=i.length,r=n.length,o=Math.min(r,s);o&&this.parse(0,o),r>s?this._insertElements(s,r-s,t):r{for(c.length+=n,a=c.length-1;a>=o;a--)c[a]=c[a-n]};for(l(r),a=t;as-r))}return e._cache.$bar}function t2(e){const t=e.iScale,n=Qy(t,e.type);let i=t._length,s,r,o,a;const l=()=>{o===32767||o===-32768||(ye(a)&&(i=Math.min(i,Math.abs(o-a)||i)),a=o)};for(s=0,r=n.length;s0?s[e-1]:null,a=eMath.abs(a)&&(l=a,c=o),t[n.axis]=c,t._custom={barStart:l,barEnd:c,start:s,end:r,min:o,max:a}}function fh(e,t,n,i){return Tt(e)?i2(e,t,n,i):t[n.axis]=n.parse(e,i),t}function du(e,t,n,i){const s=e.iScale,r=e.vScale,o=s.getLabels(),a=s===r,l=[];let c,u,d,f;for(c=n,u=n+i;c=n?1:-1)}function r2(e){let t,n,i,s,r;return e.horizontal?(t=e.base>e.x,n="left",i="right"):(t=e.basel.controller.options.grouped),r=i.options.stacked,o=[],a=l=>{const c=l.controller.getParsed(n),u=c&&c[l.vScale.axis];if(At(u)||isNaN(u))return!0};for(const l of s)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,i){const s=this._getStacks(t,i),r=n!==void 0?s.indexOf(n):-1;return r===-1?s.length-1:r}_getRuler(){const t=this.options,n=this._cachedMeta,i=n.iScale,s=[];let r,o;for(r=0,o=n.data.length;r=0;--i)n=Math.max(n,t[i].size(this.resolveDataElementOptions(i))/2);return n>0&&n}getLabelAndValue(t){const n=this._cachedMeta,{xScale:i,yScale:s}=n,r=this.getParsed(t),o=i.getLabelForValue(r.x),a=s.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,i,s){const r=s==="reset",{iScale:o,vScale:a}=this._cachedMeta,{sharedOptions:l,includeOptions:c}=this._getSharedOptions(n,s),u=o.axis,d=a.axis;for(let f=n;fos(M,a,l,!0)?1:Math.max(E,E*n,A,A*n),g=(M,E,A)=>os(M,a,l,!0)?-1:Math.min(E,E*n,A,A*n),m=h(0,c,d),_=h(Ht,u,f),y=g(Nt,c,d),S=g(Nt+Ht,u,f);i=(m-y)/2,s=(_-S)/2,r=-(m+y)/2,o=-(_+S)/2}return{ratioX:i,ratioY:s,offsetX:r,offsetY:o}}class hs extends Le{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 i=this.getDataset().data,s=this._cachedMeta;if(this._parsing===!1)s._parsed=i;else{let r=l=>+i[l];if(vt(i[t])){const{key:l="value"}=this._parsing;r=c=>+yn(i[c],l)}let o,a;for(o=t,a=t+n;o0&&!isNaN(t)?wt*(Math.abs(t)/n):0}getLabelAndValue(t){const n=this._cachedMeta,i=this.chart,s=i.data.labels||[],r=fs(n._parsed[t],i.options.locale);return{label:s[t]||"",value:r}}getMaxBorderWidth(t){let n=0;const i=this.chart;let s,r,o,a,l;if(!t){for(s=0,r=i.data.datasets.length;se!=="spacing",_indexable:e=>e!=="spacing"};hs.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((i,s)=>{const o=e.getDatasetMeta(0).controller.getStyle(s);return{text:i,fillStyle:o.backgroundColor,strokeStyle:o.borderColor,lineWidth:o.borderWidth,pointStyle:n,hidden:!e.getDataVisibility(s),index:s}})}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 Tt(t)?(t=t.slice(),t[0]+=n):t+=n,t}}}}};class Nr extends Le{initialize(){this.enableOptionSharing=!0,this.supportsDecimation=!0,super.initialize()}update(t){const n=this._cachedMeta,{dataset:i,data:s=[],_dataset:r}=n,o=this.chart._animationsDisabled;let{start:a,count:l}=Wf(n,s,o);this._drawStart=a,this._drawCount=l,Gf(n)&&(a=0,l=s.length),i._chart=this.chart,i._datasetIndex=this.index,i._decimated=!!r._decimated,i.points=s;const c=this.resolveDatasetElementOptions(t);this.options.showLine||(c.borderWidth=0),c.segment=this.options.segment,this.updateElement(i,void 0,{animated:!o,options:c},t),this.updateElements(s,a,l,t)}updateElements(t,n,i,s){const r=s==="reset",{iScale:o,vScale:a,_stacked:l,_dataset:c}=this._cachedMeta,{sharedOptions:u,includeOptions:d}=this._getSharedOptions(n,s),f=o.axis,h=a.axis,{spanGaps:g,segment:m}=this.options,_=hi(g)?g:Number.POSITIVE_INFINITY,y=this.chart._animationsDisabled||r||s==="none";let S=n>0&&this.getParsed(n-1);for(let M=n;M0&&Math.abs(A[f]-S[f])>_,m&&(O.parsed=A,O.raw=c.data[M]),d&&(O.options=u||this.resolveDataElementOptions(M,E.active?"active":s)),y||this.updateElement(E,M,O,s),S=A}}getMaxOverflow(){const t=this._cachedMeta,n=t.dataset,i=n.options&&n.options.borderWidth||0,s=t.data||[];if(!s.length)return i;const r=s[0].size(this.resolveDataElementOptions(0)),o=s[s.length-1].size(this.resolveDataElementOptions(s.length-1));return Math.max(i,r,o)/2}draw(){const t=this._cachedMeta;t.dataset.updateControlPoints(this.chart.chartArea,t.iScale.axis),super.draw()}}Nr.id="line";Nr.defaults={datasetElementType:"line",dataElementType:"point",showLine:!0,spanGaps:!1};Nr.overrides={scales:{_index_:{type:"category"},_value_:{type:"linear"}}};class Qa extends Le{constructor(t,n){super(t,n),this.innerRadius=void 0,this.outerRadius=void 0}getLabelAndValue(t){const n=this._cachedMeta,i=this.chart,s=i.data.labels||[],r=fs(n._parsed[t].r,i.options.locale);return{label:s[t]||"",value:r}}parseObjectData(t,n,i,s){return oh.bind(this)(t,n,i,s)}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((i,s)=>{const r=this.getParsed(s).r;!isNaN(r)&&this.chart.getDataVisibility(s)&&(rn.max&&(n.max=r))}),n}_updateRadius(){const t=this.chart,n=t.chartArea,i=t.options,s=Math.min(n.right-n.left,n.bottom-n.top),r=Math.max(s/2,0),o=Math.max(i.cutoutPercentage?r/100*i.cutoutPercentage:1,0),a=(r-o)/t.getVisibleDatasetCount();this.outerRadius=r-a*this.index,this.innerRadius=this.outerRadius-a}updateElements(t,n,i,s){const r=s==="reset",o=this.chart,l=o.options.animation,c=this._cachedMeta.rScale,u=c.xCenter,d=c.yCenter,f=c.getIndexAngle(0)-.5*Nt;let h=f,g;const m=360/this.countVisibleElements();for(g=0;g{!isNaN(this.getParsed(s).r)&&this.chart.getDataVisibility(s)&&n++}),n}_computeAngle(t,n,i){return this.chart.getDataVisibility(t)?we(this.resolveDataElementOptions(t,n).angle||i):0}}Qa.id="polarArea";Qa.defaults={dataElementType:"arc",animation:{animateRotate:!0,animateScale:!0},animations:{numbers:{type:"number",properties:["x","y","startAngle","endAngle","innerRadius","outerRadius"]}},indexAxis:"r",startAngle:0};Qa.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((i,s)=>{const o=e.getDatasetMeta(0).controller.getStyle(s);return{text:i,fillStyle:o.backgroundColor,strokeStyle:o.borderColor,lineWidth:o.borderWidth,pointStyle:n,hidden:!e.getDataVisibility(s),index:s}})}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 hh extends hs{}hh.id="pie";hh.defaults={cutout:0,rotation:0,circumference:360,radius:"100%"};class tl extends Le{getLabelAndValue(t){const n=this._cachedMeta.vScale,i=this.getParsed(t);return{label:n.getLabels()[t],value:""+n.getLabelForValue(i[n.axis])}}parseObjectData(t,n,i,s){return oh.bind(this)(t,n,i,s)}update(t){const n=this._cachedMeta,i=n.dataset,s=n.data||[],r=n.iScale.getLabels();if(i.points=s,t!=="resize"){const o=this.resolveDatasetElementOptions(t);this.options.showLine||(o.borderWidth=0);const a={_loop:!0,_fullLoop:r.length===s.length,options:o};this.updateElement(i,void 0,a,t)}this.updateElements(s,0,s.length,t)}updateElements(t,n,i,s){const r=this._cachedMeta.rScale,o=s==="reset";for(let a=n;a{s[r]=i[r]&&i[r].active()?i[r]._to:this[r]}),s}}Ze.defaults={};Ze.defaultRoutes=void 0;const ph={values(e){return Tt(e)?e:""+e},numeric(e,t,n){if(e===0)return"0";const i=this.chart.options.locale;let s,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)&&(s="scientific"),r=u2(e,n)}const o=ge(Math.abs(r)),a=Math.max(Math.min(-1*Math.floor(o),20),0),l={notation:s,minimumFractionDigits:a,maximumFractionDigits:a};return Object.assign(l,this.options.ticks.format),fs(e,i,l)},logarithmic(e,t,n){if(e===0)return"0";const i=e/Math.pow(10,Math.floor(ge(e)));return i===1||i===2||i===5?ph.numeric.call(this,e,t,n):""}};function u2(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 Fr={formatters:ph};gt.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:Fr.formatters.values,minor:{},major:{},align:"center",crossAlign:"near",showLabelBackdrop:!1,backdropColor:"rgba(255, 255, 255, 0.75)",backdropPadding:2}});gt.route("scale.ticks","color","","color");gt.route("scale.grid","color","","borderColor");gt.route("scale.grid","borderColor","","borderColor");gt.route("scale.title","color","","color");gt.describe("scale",{_fallback:!1,_scriptable:e=>!e.startsWith("before")&&!e.startsWith("after")&&e!=="callback"&&e!=="parser",_indexable:e=>e!=="borderDash"&&e!=="tickBorderDash"});gt.describe("scales",{_fallback:"scale"});gt.describe("scale.ticks",{_scriptable:e=>e!=="backdropPadding"&&e!=="callback",_indexable:e=>e!=="backdropPadding"});function d2(e,t){const n=e.options.ticks,i=n.maxTicksLimit||f2(e),s=n.major.enabled?p2(t):[],r=s.length,o=s[0],a=s[r-1],l=[];if(r>i)return g2(t,l,s,r/i),l;const c=h2(s,t,i);if(r>0){let u,d;const f=r>1?Math.round((a-o)/(r-1)):null;for(Cs(t,l,c,At(f)?0:o-f,o),u=0,d=r-1;us)return l}return Math.max(s,1)}function p2(e){const t=[];let n,i;for(n=0,i=e.length;ne==="left"?"right":e==="right"?"left":e,pu=(e,t,n)=>t==="top"||t==="left"?e[t]+n:e[t]-n;function gu(e,t){const n=[],i=e.length/t,s=e.length;let r=0;for(;ro+a)))return l}function y2(e,t){Mt(e,n=>{const i=n.gc,s=i.length/2;let r;if(s>t){for(r=0;ri?i:n,i=s&&n>i?n:i,{min:pe(n,pe(i,n)),max:pe(i,pe(n,i))}}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,i){const{beginAtZero:s,grace:r,ticks:o}=this.options,a=o.sampleSize;this.beforeUpdate(),this.maxWidth=t,this.maxHeight=n,this._margins=i=Object.assign({left:0,right:0,top:0,bottom:0},i),this.ticks=null,this._labelSizes=null,this._gridLineItems=null,this._labelItems=null,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this._maxLength=this.isHorizontal()?this.width+i.left+i.right:this.height+i.top+i.bottom,this._dataLimitsCached||(this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this._range=Z_(this,r,s),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();const l=a=r||i<=1||!this.isHorizontal()){this.labelRotation=s;return}const u=this._getLabelSizes(),d=u.widest.width,f=u.highest.height,h=Jt(this.chart.width-d,0,this.maxWidth);a=t.offset?this.maxWidth/i:h/(i-1),d+6>a&&(a=h/(i-(t.offset?.5:1)),l=this.maxHeight-Di(t.grid)-n.padding-mu(t.title,this.chart.options.font),c=Math.sqrt(d*d+f*f),o=Ua(Math.min(Math.asin(Jt((u.highest.height+6)/a,-1,1)),Math.asin(Jt(l/c,-1,1))-Math.asin(Jt(f/c,-1,1)))),o=Math.max(s,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:i,title:s,grid:r}}=this,o=this._isVisible(),a=this.isHorizontal();if(o){const l=mu(s,n.options.font);if(a?(t.width=this.maxWidth,t.height=Di(r)+l):(t.height=this.maxHeight,t.width=Di(r)+l),i.display&&this.ticks.length){const{first:c,last:u,widest:d,highest:f}=this._getLabelSizes(),h=i.padding*2,g=we(this.labelRotation),m=Math.cos(g),_=Math.sin(g);if(a){const y=i.mirror?0:_*d.width+m*f.height;t.height=Math.min(this.maxHeight,t.height+y+h)}else{const y=i.mirror?0:m*d.width+_*f.height;t.width=Math.min(this.maxWidth,t.width+y+h)}this._calculatePadding(c,u,_,m)}}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,i,s){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,d=this.right-this.getPixelForTick(this.ticks.length-1);let f=0,h=0;l?c?(f=s*t.width,h=i*n.height):(f=i*t.height,h=s*n.width):r==="start"?h=n.width:r==="end"?f=t.width:r!=="inner"&&(f=t.width/2,h=n.width/2),this.paddingLeft=Math.max((f-u+o)*this.width/(this.width-u),0),this.paddingRight=Math.max((h-d+o)*this.width/(this.width-d),0)}else{let u=n.height/2,d=t.height/2;r==="start"?(u=0,d=t.height):r==="end"&&(u=n.height,d=0),this.paddingTop=u+o,this.paddingBottom=d+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,i;for(n=0,i=t.length;n({width:r[C]||0,height:o[C]||0});return{first:O(0),last:O(n-1),widest:O(E),highest:O(A),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 d_(this._alignToPixels?Rn(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*s?a/i:l/s:l*s0}_computeGridLineItems(t){const n=this.axis,i=this.chart,s=this.options,{grid:r,position:o}=s,a=r.offset,l=this.isHorizontal(),u=this.ticks.length+(a?1:0),d=Di(r),f=[],h=r.setContext(this.getContext()),g=h.drawBorder?h.borderWidth:0,m=g/2,_=function(G){return Rn(i,G,g)};let y,S,M,E,A,O,C,w,P,$,q,k;if(o==="top")y=_(this.bottom),O=this.bottom-d,w=y-m,$=_(t.top)+m,k=t.bottom;else if(o==="bottom")y=_(this.top),$=t.top,k=_(t.bottom)-m,O=y+m,w=this.top+d;else if(o==="left")y=_(this.right),A=this.right-d,C=y-m,P=_(t.left)+m,q=t.right;else if(o==="right")y=_(this.left),P=t.left,q=_(t.right)-m,A=y+m,C=this.left+d;else if(n==="x"){if(o==="center")y=_((t.top+t.bottom)/2+.5);else if(vt(o)){const G=Object.keys(o)[0],st=o[G];y=_(this.chart.scales[G].getPixelForValue(st))}$=t.top,k=t.bottom,O=y+m,w=O+d}else if(n==="y"){if(o==="center")y=_((t.left+t.right)/2);else if(vt(o)){const G=Object.keys(o)[0],st=o[G];y=_(this.chart.scales[G].getPixelForValue(st))}A=y-m,C=A-d,P=t.left,q=t.right}const Z=xt(s.ticks.maxTicksLimit,u),ot=Math.max(1,Math.ceil(u/Z));for(S=0;Sr.value===t);return s>=0?n.setContext(this.getContext(s)).lineWidth:0}drawGrid(t){const n=this.options.grid,i=this.ctx,s=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(t));let r,o;const a=(l,c,u)=>{!u.width||!u.color||(i.save(),i.lineWidth=u.width,i.strokeStyle=u.color,i.setLineDash(u.borderDash||[]),i.lineDashOffset=u.borderDashOffset,i.beginPath(),i.moveTo(l.x,l.y),i.lineTo(c.x,c.y),i.stroke(),i.restore())};if(n.display)for(r=0,o=s.length;r{this.draw(s)}}]:[{z:i,draw:s=>{this.drawBackground(),this.drawGrid(s),this.drawTitle()}},{z:i+1,draw:()=>{this.drawBorder()}},{z:n,draw:s=>{this.drawLabels(s)}}]}getMatchingVisibleMetas(t){const n=this.chart.getSortedVisibleDatasetMetas(),i=this.axis+"AxisID",s=[];let r,o;for(r=0,o=n.length;r{const i=n.split("."),s=i.pop(),r=[e].concat(i).join("."),o=t[n].split("."),a=o.pop(),l=o.join(".");gt.route(r,s,l,a)})}function R2(e){return"id"in e&&"defaults"in e}class w2{constructor(){this.controllers=new Ls(Le,"datasets",!0),this.elements=new Ls(Ze,"elements"),this.plugins=new Ls(Object,"plugins"),this.scales=new Ls(Xn,"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,i){[...n].forEach(s=>{const r=i||this._getRegistryForType(s);i||r.isForType(s)||r===this.plugins&&s.id?this._exec(t,r,s):Mt(s,o=>{const a=i||this._getRegistryForType(o);this._exec(t,a,o)})})}_exec(t,n,i){const s=Ba(t);Pt(i["before"+s],[],i),n[t](i),Pt(i["after"+s],[],i)}_getRegistryForType(t){for(let n=0;n0&&this.getParsed(n-1);for(let E=n;E0&&Math.abs(O[h]-M[h])>y,_&&(C.parsed=O,C.raw=c.data[E]),f&&(C.options=d||this.resolveDataElementOptions(E,A.active?"active":s)),S||this.updateElement(A,E,C,s),M=O}this.updateSharedOptions(d,s,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 i=t.dataset,s=i.options&&i.options.borderWidth||0;if(!n.length)return s;const r=n[0].size(this.resolveDataElementOptions(0)),o=n[n.length-1].size(this.resolveDataElementOptions(n.length-1));return Math.max(s,r,o)/2}}el.id="scatter";el.defaults={datasetElementType:!1,dataElementType:"point",showLine:!1,fill:!1};el.overrides={interaction:{mode:"point"},plugins:{tooltip:{callbacks:{title(){return""},label(e){return"("+e.label+", "+e.formattedValue+")"}}}},scales:{x:{type:"linear"},y:{type:"linear"}}};function wn(){throw new Error("This method is not implemented: Check that a complete date adapter is provided.")}class ta{constructor(t){this.options=t||{}}init(t){}formats(){return wn()}parse(t,n){return wn()}format(t,n){return wn()}add(t,n,i){return wn()}diff(t,n,i){return wn()}startOf(t,n,i){return wn()}endOf(t,n){return wn()}}ta.override=function(e){Object.assign(ta.prototype,e)};var I2={_date:ta};function C2(e,t,n,i){const{controller:s,data:r,_sorted:o}=e,a=s._cachedMeta.iScale;if(a&&t===a.axis&&t!=="r"&&o&&r.length){const l=a._reversePixels?f_:Hn;if(i){if(s._sharedOptions){const c=r[0],u=typeof c.getRange=="function"&&c.getRange(t);if(u){const d=l(r,t,n-u),f=l(r,t,n+u);return{lo:d.lo,hi:f.hi}}}}else return l(r,t,n)}return{lo:0,hi:r.length-1}}function ps(e,t,n,i,s){const r=e.getSortedVisibleDatasetMetas(),o=n[t];for(let a=0,l=r.length;a{l[o](t[n],s)&&(r.push({element:l,datasetIndex:c,index:u}),a=a||l.inRange(t.x,t.y,s))}),i&&!a?[]:r}var k2={evaluateInteractionItems:ps,modes:{index(e,t,n,i){const s=Ln(t,e),r=n.axis||"x",o=n.includeInvisible||!1,a=n.intersect?Eo(e,s,r,i,o):Ro(e,s,r,!1,i,o),l=[];return a.length?(e.getSortedVisibleDatasetMetas().forEach(c=>{const u=a[0].index,d=c.data[u];d&&!d.skip&&l.push({element:d,datasetIndex:c.index,index:u})}),l):[]},dataset(e,t,n,i){const s=Ln(t,e),r=n.axis||"xy",o=n.includeInvisible||!1;let a=n.intersect?Eo(e,s,r,i,o):Ro(e,s,r,!1,i,o);if(a.length>0){const l=a[0].datasetIndex,c=e.getDatasetMeta(l).data;a=[];for(let u=0;un.pos===t)}function _u(e,t){return e.filter(n=>gh.indexOf(n.pos)===-1&&n.box.axis===t)}function Oi(e,t){return e.sort((n,i)=>{const s=t?i:n,r=t?n:i;return s.weight===r.weight?s.index-r.index:s.weight-r.weight})}function O2(e){const t=[];let n,i,s,r,o,a;for(n=0,i=(e||[]).length;nc.box.fullSize),!0),i=Oi(ki(t,"left"),!0),s=Oi(ki(t,"right")),r=Oi(ki(t,"top"),!0),o=Oi(ki(t,"bottom")),a=_u(t,"x"),l=_u(t,"y");return{fullSize:n,leftAndTop:i.concat(r),rightAndBottom:s.concat(l).concat(o).concat(a),chartArea:ki(t,"chartArea"),vertical:i.concat(s).concat(l),horizontal:r.concat(o).concat(a)}}function yu(e,t,n,i){return Math.max(e[n],t[n])+Math.max(e[i],t[i])}function mh(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 F2(e,t,n,i){const{pos:s,box:r}=n,o=e.maxPadding;if(!vt(s)){n.size&&(e[s]-=n.size);const d=i[n.stack]||{size:0,count:1};d.size=Math.max(d.size,n.horizontal?r.height:r.width),n.size=d.size/d.count,e[s]+=n.size}r.getPadding&&mh(o,r.getPadding());const a=Math.max(0,t.outerWidth-yu(o,e,"left","right")),l=Math.max(0,t.outerHeight-yu(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 V2(e){const t=e.maxPadding;function n(i){const s=Math.max(t[i]-e[i],0);return e[i]+=s,s}e.y+=n("top"),e.x+=n("left"),n("right"),n("bottom")}function B2(e,t){const n=t.maxPadding;function i(s){const r={left:0,top:0,right:0,bottom:0};return s.forEach(o=>{r[o]=Math.max(t[o],n[o])}),r}return i(e?["left","right"]:["top","bottom"])}function Vi(e,t,n,i){const s=[];let r,o,a,l,c,u;for(r=0,o=e.length,c=0;r{typeof m.beforeLayout=="function"&&m.beforeLayout()});const u=l.reduce((m,_)=>_.box.options&&_.box.options.display===!1?m:m+1,0)||1,d=Object.freeze({outerWidth:t,outerHeight:n,padding:s,availableWidth:r,availableHeight:o,vBoxMaxWidth:r/2/u,hBoxMaxHeight:o/2}),f=Object.assign({},s);mh(f,xe(i));const h=Object.assign({maxPadding:f,w:r,h:o,x:s.left,y:s.top},s),g=H2(l.concat(c),d);Vi(a.fullSize,h,d,g),Vi(l,h,d,g),Vi(c,h,d,g)&&Vi(l,h,d,g),V2(h),xu(a.leftAndTop,h,d,g),h.x+=h.w,h.y+=h.h,xu(a.rightAndBottom,h,d,g),e.chartArea={left:h.left,top:h.top,right:h.left+h.w,bottom:h.top+h.h,height:h.h,width:h.w},Mt(a.chartArea,m=>{const _=m.box;Object.assign(_,e.chartArea),_.update(h.w,h.h,{left:0,top:0,right:0,bottom:0})})}};class bh{acquireContext(t,n){}releaseContext(t){return!1}addEventListener(t,n,i){}removeEventListener(t,n,i){}getDevicePixelRatio(){return 1}getMaximumSize(t,n,i,s){return n=Math.max(0,n||t.width),i=i||t.height,{width:n,height:Math.max(0,s?Math.floor(n/s):i)}}isAttached(t){return!0}updateConfig(t){}}class U2 extends bh{acquireContext(t){return t&&t.getContext&&t.getContext("2d")||null}updateConfig(t){t.options.animation=!1}}const $s="$chartjs",$2={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},vu=e=>e===null||e==="";function z2(e,t){const n=e.style,i=e.getAttribute("height"),s=e.getAttribute("width");if(e[$s]={initial:{height:i,width:s,style:{display:n.display,height:n.height,width:n.width}}},n.display=n.display||"block",n.boxSizing=n.boxSizing||"border-box",vu(s)){const r=Qc(e,"width");r!==void 0&&(e.width=r)}if(vu(i))if(e.style.height==="")e.height=e.width/(t||2);else{const r=Qc(e,"height");r!==void 0&&(e.height=r)}return e}const _h=xy?{passive:!0}:!1;function j2(e,t,n){e.addEventListener(t,n,_h)}function X2(e,t,n){e.canvas.removeEventListener(t,n,_h)}function W2(e,t){const n=$2[e.type]||e.type,{x:i,y:s}=Ln(e,t);return{type:n,chart:t,native:e,x:i!==void 0?i:null,y:s!==void 0?s:null}}function ur(e,t){for(const n of e)if(n===t||n.contains(t))return!0}function G2(e,t,n){const i=e.canvas,s=new MutationObserver(r=>{let o=!1;for(const a of r)o=o||ur(a.addedNodes,i),o=o&&!ur(a.removedNodes,i);o&&n()});return s.observe(document,{childList:!0,subtree:!0}),s}function K2(e,t,n){const i=e.canvas,s=new MutationObserver(r=>{let o=!1;for(const a of r)o=o||ur(a.removedNodes,i),o=o&&!ur(a.addedNodes,i);o&&n()});return s.observe(document,{childList:!0,subtree:!0}),s}const ls=new Map;let Au=0;function yh(){const e=window.devicePixelRatio;e!==Au&&(Au=e,ls.forEach((t,n)=>{n.currentDevicePixelRatio!==e&&t()}))}function Y2(e,t){ls.size||window.addEventListener("resize",yh),ls.set(e,t)}function q2(e){ls.delete(e),ls.size||window.removeEventListener("resize",yh)}function Z2(e,t,n){const i=e.canvas,s=i&&qa(i);if(!s)return;const r=Xf((a,l)=>{const c=s.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(s),Y2(e,r),o}function wo(e,t,n){n&&n.disconnect(),t==="resize"&&q2(e)}function J2(e,t,n){const i=e.canvas,s=Xf(r=>{e.ctx!==null&&n(W2(r,e))},e,r=>{const o=r[0];return[o,o.offsetX,o.offsetY]});return j2(i,t,s),s}class Q2 extends bh{acquireContext(t,n){const i=t&&t.getContext&&t.getContext("2d");return i&&i.canvas===t?(z2(t,n),i):null}releaseContext(t){const n=t.canvas;if(!n[$s])return!1;const i=n[$s].initial;["height","width"].forEach(r=>{const o=i[r];At(o)?n.removeAttribute(r):n.setAttribute(r,o)});const s=i.style||{};return Object.keys(s).forEach(r=>{n.style[r]=s[r]}),n.width=n.width,delete n[$s],!0}addEventListener(t,n,i){this.removeEventListener(t,n);const s=t.$proxies||(t.$proxies={}),o={attach:G2,detach:K2,resize:Z2}[n]||J2;s[n]=o(t,n,i)}removeEventListener(t,n){const i=t.$proxies||(t.$proxies={}),s=i[n];if(!s)return;({attach:wo,detach:wo,resize:wo}[n]||X2)(t,n,s),i[n]=void 0}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(t,n,i,s){return yy(t,n,i,s)}isAttached(t){const n=qa(t);return!!(n&&n.isConnected)}}function tx(e){return!lh()||typeof OffscreenCanvas<"u"&&e instanceof OffscreenCanvas?U2:Q2}class ex{constructor(){this._init=[]}notify(t,n,i,s){n==="beforeInit"&&(this._init=this._createDescriptors(t,!0),this._notify(this._init,t,"install"));const r=s?this._descriptors(t).filter(s):this._descriptors(t),o=this._notify(r,t,n,i);return n==="afterDestroy"&&(this._notify(r,t,"stop"),this._notify(this._init,t,"uninstall")),o}_notify(t,n,i,s){s=s||{};for(const r of t){const o=r.plugin,a=o[i],l=[n,s,r.options];if(Pt(a,l,o)===!1&&s.cancelable)return!1}return!0}invalidate(){At(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 i=t&&t.config,s=xt(i.options&&i.options.plugins,{}),r=nx(i);return s===!1&&!n?[]:sx(t,r,s,n)}_notifyStateChanges(t){const n=this._oldCache||[],i=this._cache,s=(r,o)=>r.filter(a=>!o.some(l=>a.plugin.id===l.plugin.id));this._notify(s(n,i),t,"stop"),this._notify(s(i,n),t,"start")}}function nx(e){const t={},n=[],i=Object.keys(He.plugins.items);for(let r=0;r{const l=i[a];if(!vt(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=na(a,l),u=ax(c,s),d=n.scales||{};r[c]=r[c]||a,o[a]=Wi(Object.create(null),[{axis:c},l,d[c],d[u]])}),e.data.datasets.forEach(a=>{const l=a.type||e.type,c=a.indexAxis||ea(l,t),d=(zn[l]||{}).scales||{};Object.keys(d).forEach(f=>{const h=ox(f,c),g=a[h+"AxisID"]||r[h]||h;o[g]=o[g]||Object.create(null),Wi(o[g],[{axis:h},i[g],d[f]])})}),Object.keys(o).forEach(a=>{const l=o[a];Wi(l,[gt.scales[l.type],gt.scale])}),o}function xh(e){const t=e.options||(e.options={});t.plugins=xt(t.plugins,{}),t.scales=cx(e,t)}function vh(e){return e=e||{},e.datasets=e.datasets||[],e.labels=e.labels||[],e}function ux(e){return e=e||{},e.data=vh(e.data),xh(e),e}const Su=new Map,Ah=new Set;function ks(e,t){let n=Su.get(e);return n||(n=t(),Su.set(e,n),Ah.add(n)),n}const Pi=(e,t,n)=>{const i=yn(t,n);i!==void 0&&e.add(i)};class dx{constructor(t){this._config=ux(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=vh(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(),xh(t)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(t){return ks(t,()=>[[`datasets.${t}`,""]])}datasetAnimationScopeKeys(t,n){return ks(`${t}.transition.${n}`,()=>[[`datasets.${t}.transitions.${n}`,`transitions.${n}`],[`datasets.${t}`,""]])}datasetElementScopeKeys(t,n){return ks(`${t}-${n}`,()=>[[`datasets.${t}.elements.${n}`,`datasets.${t}`,`elements.${n}`,""]])}pluginScopeKeys(t){const n=t.id,i=this.type;return ks(`${i}-plugin-${n}`,()=>[[`plugins.${n}`,...t.additionalOptionScopes||[]]])}_cachedScopes(t,n){const i=this._scopeCache;let s=i.get(t);return(!s||n)&&(s=new Map,i.set(t,s)),s}getOptionScopes(t,n,i){const{options:s,type:r}=this,o=this._cachedScopes(t,i),a=o.get(n);if(a)return a;const l=new Set;n.forEach(u=>{t&&(l.add(t),u.forEach(d=>Pi(l,t,d))),u.forEach(d=>Pi(l,s,d)),u.forEach(d=>Pi(l,zn[r]||{},d)),u.forEach(d=>Pi(l,gt,d)),u.forEach(d=>Pi(l,Jo,d))});const c=Array.from(l);return c.length===0&&c.push(Object.create(null)),Ah.has(n)&&o.set(n,c),c}chartOptionScopes(){const{options:t,type:n}=this;return[t,zn[n]||{},gt.datasets[n]||{},{type:n},gt,Jo]}resolveNamedOptions(t,n,i,s=[""]){const r={$shared:!0},{resolver:o,subPrefixes:a}=Mu(this._resolverCache,t,s);let l=o;if(hx(o,n)){r.$shared=!1,i=xn(i)?i():i;const c=this.createResolver(t,i,a);l=pi(o,i,c)}for(const c of n)r[c]=l[c];return r}createResolver(t,n,i=[""],s){const{resolver:r}=Mu(this._resolverCache,t,i);return vt(n)?pi(r,n,void 0,s):r}}function Mu(e,t,n){let i=e.get(t);i||(i=new Map,e.set(t,i));const s=n.join();let r=i.get(s);return r||(r={resolver:Ga(t,n),subPrefixes:n.filter(a=>!a.toLowerCase().includes("hover"))},i.set(s,r)),r}const fx=e=>vt(e)&&Object.getOwnPropertyNames(e).reduce((t,n)=>t||xn(e[n]),!1);function hx(e,t){const{isScriptable:n,isIndexable:i}=nh(e);for(const s of t){const r=n(s),o=i(s),a=(o||r)&&e[s];if(r&&(xn(a)||fx(a))||o&&Tt(a))return!0}return!1}var px="3.9.1";const gx=["top","bottom","left","right","chartArea"];function Eu(e,t){return e==="top"||e==="bottom"||gx.indexOf(e)===-1&&t==="x"}function Ru(e,t){return function(n,i){return n[e]===i[e]?n[t]-i[t]:n[e]-i[e]}}function wu(e){const t=e.chart,n=t.options.animation;t.notifyPlugins("afterRender"),Pt(n&&n.onComplete,[e],t)}function mx(e){const t=e.chart,n=t.options.animation;Pt(n&&n.onProgress,[e],t)}function Sh(e){return lh()&&typeof e=="string"?e=document.getElementById(e):e&&e.length&&(e=e[0]),e&&e.canvas&&(e=e.canvas),e}const dr={},Mh=e=>{const t=Sh(e);return Object.values(dr).filter(n=>n.canvas===t).pop()};function bx(e,t,n){const i=Object.keys(e);for(const s of i){const r=+s;if(r>=t){const o=e[s];delete e[s],(n>0||r>t)&&(e[r+n]=o)}}}function _x(e,t,n,i){return!n||e.type==="mouseout"?null:i?t:e}class fr{constructor(t,n){const i=this.config=new dx(n),s=Sh(t),r=Mh(s);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=i.createResolver(i.chartOptionScopes(),this.getContext());this.platform=new(i.platform||tx(s)),this.platform.updateConfig(i);const a=this.platform.acquireContext(s,o.aspectRatio),l=a&&a.canvas,c=l&&l.height,u=l&&l.width;if(this.id=Qb(),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 ex,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=g_(d=>this.update(d),o.resizeDelay||0),this._dataChanges=[],dr[this.id]=this,!a||!l){console.error("Failed to create chart: can't acquire context from the given item");return}Ue.listen(this,"complete",wu),Ue.listen(this,"progress",mx),this._initialize(),this.attached&&this.update()}get aspectRatio(){const{options:{aspectRatio:t,maintainAspectRatio:n},width:i,height:s,_aspectRatio:r}=this;return At(t)?n&&r?r:s?i/s: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():Jc(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return Yc(this.canvas,this.ctx),this}stop(){return Ue.stop(this),this}resize(t,n){Ue.running(this)?this._resizeBeforeDraw={width:t,height:n}:this._resize(t,n)}_resize(t,n){const i=this.options,s=this.canvas,r=i.maintainAspectRatio&&this.aspectRatio,o=this.platform.getMaximumSize(s,t,n,r),a=i.devicePixelRatio||this.platform.getDevicePixelRatio(),l=this.width?"resize":"attach";this.width=o.width,this.height=o.height,this._aspectRatio=this.aspectRatio,Jc(this,a,!0)&&(this.notifyPlugins("resize",{size:o}),Pt(i.onResize,[this,o],this),this.attached&&this._doResize(l)&&this.render())}ensureScalesHaveIDs(){const n=this.options.scales||{};Mt(n,(i,s)=>{i.id=s})}buildOrUpdateScales(){const t=this.options,n=t.scales,i=this.scales,s=Object.keys(i).reduce((o,a)=>(o[a]=!1,o),{});let r=[];n&&(r=r.concat(Object.keys(n).map(o=>{const a=n[o],l=na(o,a),c=l==="r",u=l==="x";return{options:a,dposition:c?"chartArea":u?"bottom":"left",dtype:c?"radialLinear":u?"category":"linear"}}))),Mt(r,o=>{const a=o.options,l=a.id,c=na(l,a),u=xt(a.type,o.dtype);(a.position===void 0||Eu(a.position,c)!==Eu(o.dposition))&&(a.position=o.dposition),s[l]=!0;let d=null;if(l in i&&i[l].type===u)d=i[l];else{const f=He.getScale(u);d=new f({id:l,type:u,ctx:this.ctx,chart:this}),i[d.id]=d}d.init(a,t)}),Mt(s,(o,a)=>{o||delete i[a]}),Mt(i,o=>{Ds.configure(this,o,o.options),Ds.addBox(this,o)})}_updateMetasets(){const t=this._metasets,n=this.data.datasets.length,i=t.length;if(t.sort((s,r)=>s.index-r.index),i>n){for(let s=n;sn.length&&delete this._stacks,t.forEach((i,s)=>{n.filter(r=>r===i._dataset).length===0&&this._destroyDatasetMeta(s)})}buildOrUpdateControllers(){const t=[],n=this.data.datasets;let i,s;for(this._removeUnreferencedMetasets(),i=0,s=n.length;i{this.getDatasetMeta(n).controller.reset()},this)}reset(){this._resetElements(),this.notifyPlugins("reset")}update(t){const n=this.config;n.update();const i=this._options=n.createResolver(n.chartOptionScopes(),this.getContext()),s=this._animationsDisabled=!i.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(Ru("z","_idx"));const{_active:a,_lastEvent:l}=this;l?this._eventHandler(l,!0):a.length&&this._updateHoverStyles(a,a,!0),this.render()}_updateScales(){Mt(this.scales,t=>{Ds.removeBox(this,t)}),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){const t=this.options,n=new Set(Object.keys(this._listeners)),i=new Set(t.events);(!Hc(n,i)||!!this._responsiveListeners!==t.responsive)&&(this.unbindEvents(),this.bindEvents())}_updateHiddenIndices(){const{_hiddenIndices:t}=this,n=this._getUniformDataChanges()||[];for(const{method:i,start:s,count:r}of n){const o=i==="_removeElements"?-r:r;bx(t,s,o)}}_getUniformDataChanges(){const t=this._dataChanges;if(!t||!t.length)return;this._dataChanges=[];const n=this.data.datasets.length,i=r=>new Set(t.filter(o=>o[0]===r).map((o,a)=>a+","+o.splice(1).join(","))),s=i(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;Ds.update(this,this.width,this.height,t);const n=this.chartArea,i=n.width<=0||n.height<=0;this._layers=[],Mt(this.boxes,s=>{i&&s.position==="chartArea"||(s.configure&&s.configure(),this._layers.push(...s._layers()))},this),this._layers.forEach((s,r)=>{s._idx=r}),this.notifyPlugins("afterLayout")}_updateDatasets(t){if(this.notifyPlugins("beforeDatasetsUpdate",{mode:t,cancelable:!0})!==!1){for(let n=0,i=this.data.datasets.length;n=0;--n)this._drawDataset(t[n]);this.notifyPlugins("afterDatasetsDraw")}_drawDataset(t){const n=this.ctx,i=t._clip,s=!i.disabled,r=this.chartArea,o={meta:t,index:t.index,cancelable:!0};this.notifyPlugins("beforeDatasetDraw",o)!==!1&&(s&&Qf(n,{left:i.left===!1?0:r.left-i.left,right:i.right===!1?this.width:r.right+i.right,top:i.top===!1?0:r.top-i.top,bottom:i.bottom===!1?this.height:r.bottom+i.bottom}),t.controller.draw(),s&&th(n),o.cancelable=!1,this.notifyPlugins("afterDatasetDraw",o))}isPointInArea(t){return as(t,this.chartArea,this._minPadding)}getElementsAtEventForMode(t,n,i,s){const r=k2.modes[n];return typeof r=="function"?r(this,t,i,s):[]}getDatasetMeta(t){const n=this.data.datasets[t],i=this._metasets;let s=i.filter(r=>r&&r._dataset===n).pop();return s||(s={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},i.push(s)),s}getContext(){return this.$context||(this.$context=vn(null,{chart:this,type:"chart"}))}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(t){const n=this.data.datasets[t];if(!n)return!1;const i=this.getDatasetMeta(t);return typeof i.hidden=="boolean"?!i.hidden:!n.hidden}setDatasetVisibility(t,n){const i=this.getDatasetMeta(t);i.hidden=!n}toggleDataVisibility(t){this._hiddenIndices[t]=!this._hiddenIndices[t]}getDataVisibility(t){return!this._hiddenIndices[t]}_updateVisibility(t,n,i){const s=i?"show":"hide",r=this.getDatasetMeta(t),o=r.controller._resolveAnimations(void 0,s);ye(n)?(r.data[n].hidden=!i,this.update()):(this.setDatasetVisibility(t,i),o.update(r,{visible:i}),this.update(a=>a.datasetIndex===t?s: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(),Ue.remove(this),t=0,n=this.data.datasets.length;t{n.addEventListener(this,r,o),t[r]=o},s=(r,o,a)=>{r.offsetX=o,r.offsetY=a,this._eventHandler(r)};Mt(this.options.events,r=>i(r,s))}bindResponsiveEvents(){this._responsiveListeners||(this._responsiveListeners={});const t=this._responsiveListeners,n=this.platform,i=(l,c)=>{n.addEventListener(this,l,c),t[l]=c},s=(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=()=>{s("attach",a),this.attached=!0,this.resize(),i("resize",r),i("detach",o)};o=()=>{this.attached=!1,s("resize",r),this._stop(),this._resize(0,0),i("attach",a)},n.isAttached(this.canvas)?a():o()}unbindEvents(){Mt(this._listeners,(t,n)=>{this.platform.removeEventListener(this,n,t)}),this._listeners={},Mt(this._responsiveListeners,(t,n)=>{this.platform.removeEventListener(this,n,t)}),this._responsiveListeners=void 0}updateHoverStyle(t,n,i){const s=i?"set":"remove";let r,o,a,l;for(n==="dataset"&&(r=this.getDatasetMeta(t[0].datasetIndex),r.controller["_"+s+"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}});!er(i,n)&&(this._active=i,this._lastEvent=null,this._updateHoverStyles(i,n))}notifyPlugins(t,n,i){return this._plugins.notify(this,t,n,i)}_updateHoverStyles(t,n,i){const s=this.options.hover,r=(l,c)=>l.filter(u=>!c.some(d=>u.datasetIndex===d.datasetIndex&&u.index===d.index)),o=r(n,t),a=i?t:r(t,n);o.length&&this.updateHoverStyle(o,s.mode,!1),a.length&&s.mode&&this.updateHoverStyle(a,s.mode,!0)}_eventHandler(t,n){const i={event:t,replay:n,cancelable:!0,inChartArea:this.isPointInArea(t)},s=o=>(o.options.events||this.options.events).includes(t.native.type);if(this.notifyPlugins("beforeEvent",i,s)===!1)return;const r=this._handleEvent(t,n,i.inChartArea);return i.cancelable=!1,this.notifyPlugins("afterEvent",i,s),(r||i.changed)&&this.render(),this}_handleEvent(t,n,i){const{_active:s=[],options:r}=this,o=n,a=this._getActiveElements(t,s,i,o),l=r_(t),c=_x(t,this._lastEvent,i,l);i&&(this._lastEvent=null,Pt(r.onHover,[t,a,this],this),l&&Pt(r.onClick,[t,a,this],this));const u=!er(a,s);return(u||n)&&(this._active=a,this._updateHoverStyles(a,s,n)),this._lastEvent=c,u}_getActiveElements(t,n,i,s){if(t.type==="mouseout")return[];if(!i)return n;const r=this.options.hover;return this.getElementsAtEventForMode(t,r.mode,r,s)}}const Iu=()=>Mt(fr.instances,e=>e._plugins.invalidate()),sn=!0;Object.defineProperties(fr,{defaults:{enumerable:sn,value:gt},instances:{enumerable:sn,value:dr},overrides:{enumerable:sn,value:zn},registry:{enumerable:sn,value:He},version:{enumerable:sn,value:px},getChart:{enumerable:sn,value:Mh},register:{enumerable:sn,value:(...e)=>{He.add(...e),Iu()}},unregister:{enumerable:sn,value:(...e)=>{He.remove(...e),Iu()}}});function Eh(e,t,n){const{startAngle:i,pixelMargin:s,x:r,y:o,outerRadius:a,innerRadius:l}=t;let c=s/a;e.beginPath(),e.arc(r,o,a,i-c,n+c),l>s?(c=s/l,e.arc(r,o,l,n+c,i-c,!0)):e.arc(r,o,s,n+Ht,i-Ht),e.closePath(),e.clip()}function yx(e){return Wa(e,["outerStart","outerEnd","innerStart","innerEnd"])}function xx(e,t,n,i){const s=yx(e.options.borderRadius),r=(n-t)/2,o=Math.min(r,i*t/2),a=l=>{const c=(n-Math.min(r,l))*i/2;return Jt(l,0,Math.min(r,c))};return{outerStart:a(s.outerStart),outerEnd:a(s.outerEnd),innerStart:Jt(s.innerStart,0,o),innerEnd:Jt(s.innerEnd,0,o)}}function Jn(e,t,n,i){return{x:n+e*Math.cos(t),y:i+e*Math.sin(t)}}function ia(e,t,n,i,s,r){const{x:o,y:a,startAngle:l,pixelMargin:c,innerRadius:u}=t,d=Math.max(t.outerRadius+i+n-c,0),f=u>0?u+i+n+c:0;let h=0;const g=s-l;if(i){const G=u>0?u-i:0,st=d>0?d-i:0,rt=(G+st)/2,ft=rt!==0?g*rt/(rt+i):g;h=(g-ft)/2}const m=Math.max(.001,g*d-n/Nt)/d,_=(g-m)/2,y=l+_+h,S=s-_-h,{outerStart:M,outerEnd:E,innerStart:A,innerEnd:O}=xx(t,f,d,S-y),C=d-M,w=d-E,P=y+M/C,$=S-E/w,q=f+A,k=f+O,Z=y+A/q,ot=S-O/k;if(e.beginPath(),r){if(e.arc(o,a,d,P,$),E>0){const rt=Jn(w,$,o,a);e.arc(rt.x,rt.y,E,$,S+Ht)}const G=Jn(k,S,o,a);if(e.lineTo(G.x,G.y),O>0){const rt=Jn(k,ot,o,a);e.arc(rt.x,rt.y,O,S+Ht,ot+Math.PI)}if(e.arc(o,a,f,S-O/f,y+A/f,!0),A>0){const rt=Jn(q,Z,o,a);e.arc(rt.x,rt.y,A,Z+Math.PI,y-Ht)}const st=Jn(C,y,o,a);if(e.lineTo(st.x,st.y),M>0){const rt=Jn(C,P,o,a);e.arc(rt.x,rt.y,M,y-Ht,P)}}else{e.moveTo(o,a);const G=Math.cos(P)*d+o,st=Math.sin(P)*d+a;e.lineTo(G,st);const rt=Math.cos($)*d+o,ft=Math.sin($)*d+a;e.lineTo(rt,ft)}e.closePath()}function vx(e,t,n,i,s){const{fullCircles:r,startAngle:o,circumference:a}=t;let l=t.endAngle;if(r){ia(e,t,n,i,o+wt,s);for(let c=0;c=wt||os(r,a,l),m=sr(o,c+f,u+f);return g&&m}getCenterPoint(t){const{x:n,y:i,startAngle:s,endAngle:r,innerRadius:o,outerRadius:a}=this.getProps(["x","y","startAngle","endAngle","innerRadius","outerRadius","circumference"],t),{offset:l,spacing:c}=this.options,u=(s+r)/2,d=(o+a+c+l)/2;return{x:n+Math.cos(u)*d,y:i+Math.sin(u)*d}}tooltipPosition(t){return this.getCenterPoint(t)}draw(t){const{options:n,circumference:i}=this,s=(n.offset||0)/2,r=(n.spacing||0)/2,o=n.circular;if(this.pixelMargin=n.borderAlign==="inner"?.33:0,this.fullCircles=i>wt?Math.floor(i/wt):0,i===0||this.innerRadius<0||this.outerRadius<0)return;t.save();let a=0;if(s){a=s/2;const c=(this.startAngle+this.endAngle)/2;t.translate(Math.cos(c)*a,Math.sin(c)*a),this.circumference>=Nt&&(a=s)}t.fillStyle=n.backgroundColor,t.strokeStyle=n.borderColor;const l=vx(t,this,a,r,o);Sx(t,this,a,r,l,o),t.restore()}}nl.id="arc";nl.defaults={borderAlign:"center",borderColor:"#fff",borderJoinStyle:void 0,borderRadius:0,borderWidth:2,offset:0,spacing:0,angle:void 0,circular:!0};nl.defaultRoutes={backgroundColor:"backgroundColor"};function Rh(e,t,n=t){e.lineCap=xt(n.borderCapStyle,t.borderCapStyle),e.setLineDash(xt(n.borderDash,t.borderDash)),e.lineDashOffset=xt(n.borderDashOffset,t.borderDashOffset),e.lineJoin=xt(n.borderJoinStyle,t.borderJoinStyle),e.lineWidth=xt(n.borderWidth,t.borderWidth),e.strokeStyle=xt(n.borderColor,t.borderColor)}function Mx(e,t,n){e.lineTo(n.x,n.y)}function Ex(e){return e.stepped?z_:e.tension||e.cubicInterpolationMode==="monotone"?j_:Mx}function wh(e,t,n={}){const i=e.length,{start:s=0,end:r=i-1}=n,{start:o,end:a}=t,l=Math.max(s,o),c=Math.min(r,a),u=sa&&r>a;return{count:i,start:l,loop:t.loop,ilen:c(o+(c?a-E:E))%r,M=()=>{m!==_&&(e.lineTo(u,_),e.lineTo(u,m),e.lineTo(u,y))};for(l&&(h=s[S(0)],e.moveTo(h.x,h.y)),f=0;f<=a;++f){if(h=s[S(f)],h.skip)continue;const E=h.x,A=h.y,O=E|0;O===g?(A_&&(_=A),u=(d*u+E)/++d):(M(),e.lineTo(E,A),g=O,d=0,m=_=A),y=A}M()}function sa(e){const t=e.options,n=t.borderDash&&t.borderDash.length;return!e._decimated&&!e._loop&&!t.tension&&t.cubicInterpolationMode!=="monotone"&&!t.stepped&&!n?wx:Rx}function Ix(e){return e.stepped?vy:e.tension||e.cubicInterpolationMode==="monotone"?Ay:Tn}function Cx(e,t,n,i){let s=t._path;s||(s=t._path=new Path2D,t.path(s,n,i)&&s.closePath()),Rh(e,t.options),e.stroke(s)}function Lx(e,t,n,i){const{segments:s,options:r}=t,o=sa(t);for(const a of s)Rh(e,r,a.style),e.beginPath(),o(e,t,a,{start:n,end:n+i-1})&&e.closePath(),e.stroke()}const Tx=typeof Path2D=="function";function Dx(e,t,n,i){Tx&&!t.options.segment?Cx(e,t,n,i):Lx(e,t,n,i)}class gs extends Ze{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 i=this.options;if((i.tension||i.cubicInterpolationMode==="monotone")&&!i.stepped&&!this._pointsUpdated){const s=i.spanGaps?this._loop:this._fullLoop;hy(this._points,i,t,s,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=ky(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,i=t.length;return i&&n[t[i-1].end]}interpolate(t,n){const i=this.options,s=t[n],r=this.points,o=Ly(this,{property:n,start:s,end:s});if(!o.length)return;const a=[],l=Ix(i);let c,u;for(c=0,u=o.length;ce!=="borderDash"&&e!=="fill"};function Cu(e,t,n,i){const s=e.options,{[n]:r}=e.getProps([n],i);return Math.abs(t-r)-1?e.split(` +`):e}function Fx(e,t){const{element:n,datasetIndex:i,index:s}=t,r=e.getDatasetMeta(i).controller,{label:o,value:a}=r.getLabelAndValue(s);return{chart:e,label:o,parsed:r.getParsed(s),raw:e.data.datasets[i].data[s],formattedValue:a,dataset:r.getDataset(),dataIndex:s,datasetIndex:i,element:n}}function Lu(e,t){const n=e.chart.ctx,{body:i,footer:s,title:r}=e,{boxWidth:o,boxHeight:a}=t,l=ue(t.bodyFont),c=ue(t.titleFont),u=ue(t.footerFont),d=r.length,f=s.length,h=i.length,g=xe(t.padding);let m=g.height,_=0,y=i.reduce((E,A)=>E+A.before.length+A.lines.length+A.after.length,0);if(y+=e.beforeBody.length+e.afterBody.length,d&&(m+=d*c.lineHeight+(d-1)*t.titleSpacing+t.titleMarginBottom),y){const E=t.displayColors?Math.max(a,l.lineHeight):l.lineHeight;m+=h*E+(y-h)*l.lineHeight+(y-1)*t.bodySpacing}f&&(m+=t.footerMarginTop+f*u.lineHeight+(f-1)*t.footerSpacing);let S=0;const M=function(E){_=Math.max(_,n.measureText(E).width+S)};return n.save(),n.font=c.string,Mt(e.title,M),n.font=l.string,Mt(e.beforeBody.concat(e.afterBody),M),S=t.displayColors?o+2+t.boxPadding:0,Mt(i,E=>{Mt(E.before,M),Mt(E.lines,M),Mt(E.after,M)}),S=0,n.font=u.string,Mt(e.footer,M),n.restore(),_+=g.width,{width:_,height:m}}function Vx(e,t){const{y:n,height:i}=t;return ne.height-i/2?"bottom":"center"}function Bx(e,t,n,i){const{x:s,width:r}=i,o=n.caretSize+n.caretPadding;if(e==="left"&&s+r+o>t.width||e==="right"&&s-r-o<0)return!0}function Ux(e,t,n,i){const{x:s,width:r}=n,{width:o,chartArea:{left:a,right:l}}=e;let c="center";return i==="center"?c=s<=(a+l)/2?"left":"right":s<=r/2?c="left":s>=o-r/2&&(c="right"),Bx(c,e,t,n)&&(c="center"),c}function Tu(e,t,n){const i=n.yAlign||t.yAlign||Vx(e,n);return{xAlign:n.xAlign||t.xAlign||Ux(e,t,n,i),yAlign:i}}function $x(e,t){let{x:n,width:i}=e;return t==="right"?n-=i:t==="center"&&(n-=i/2),n}function zx(e,t,n){let{y:i,height:s}=e;return t==="top"?i+=n:t==="bottom"?i-=s+n:i-=s/2,i}function Du(e,t,n,i){const{caretSize:s,caretPadding:r,cornerRadius:o}=e,{xAlign:a,yAlign:l}=n,c=s+r,{topLeft:u,topRight:d,bottomLeft:f,bottomRight:h}=si(o);let g=$x(t,a);const m=zx(t,l,c);return l==="center"?a==="left"?g+=c:a==="right"&&(g-=c):a==="left"?g-=Math.max(u,f)+s:a==="right"&&(g+=Math.max(d,h)+s),{x:Jt(g,0,i.width-t.width),y:Jt(m,0,i.height-t.height)}}function Os(e,t,n){const i=xe(n.padding);return t==="center"?e.x+e.width/2:t==="right"?e.x+e.width-i.right:e.x+i.left}function ku(e){return ke([],$e(e))}function jx(e,t,n){return vn(e,{tooltip:t,tooltipItems:n,type:"tooltip"})}function Ou(e,t){const n=t&&t.dataset&&t.dataset.tooltip&&t.dataset.tooltip.callbacks;return n?e.override(n):e}class ra extends Ze{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,i=this.options.setContext(this.getContext()),s=i.enabled&&n.options.animation&&i.animations,r=new uh(this.chart,s);return s._cacheable&&(this._cachedAnimations=Object.freeze(r)),r}getContext(){return this.$context||(this.$context=jx(this.chart.getContext(),this,this._tooltipItems))}getTitle(t,n){const{callbacks:i}=n,s=i.beforeTitle.apply(this,[t]),r=i.title.apply(this,[t]),o=i.afterTitle.apply(this,[t]);let a=[];return a=ke(a,$e(s)),a=ke(a,$e(r)),a=ke(a,$e(o)),a}getBeforeBody(t,n){return ku(n.callbacks.beforeBody.apply(this,[t]))}getBody(t,n){const{callbacks:i}=n,s=[];return Mt(t,r=>{const o={before:[],lines:[],after:[]},a=Ou(i,r);ke(o.before,$e(a.beforeLabel.call(this,r))),ke(o.lines,a.label.call(this,r)),ke(o.after,$e(a.afterLabel.call(this,r))),s.push(o)}),s}getAfterBody(t,n){return ku(n.callbacks.afterBody.apply(this,[t]))}getFooter(t,n){const{callbacks:i}=n,s=i.beforeFooter.apply(this,[t]),r=i.footer.apply(this,[t]),o=i.afterFooter.apply(this,[t]);let a=[];return a=ke(a,$e(s)),a=ke(a,$e(r)),a=ke(a,$e(o)),a}_createItems(t){const n=this._active,i=this.chart.data,s=[],r=[],o=[];let a=[],l,c;for(l=0,c=n.length;lt.filter(u,d,f,i))),t.itemSort&&(a=a.sort((u,d)=>t.itemSort(u,d,i))),Mt(a,u=>{const d=Ou(t.callbacks,u);s.push(d.labelColor.call(this,u)),r.push(d.labelPointStyle.call(this,u)),o.push(d.labelTextColor.call(this,u))}),this.labelColors=s,this.labelPointStyles=r,this.labelTextColors=o,this.dataPoints=a,a}update(t,n){const i=this.options.setContext(this.getContext()),s=this._active;let r,o=[];if(!s.length)this.opacity!==0&&(r={opacity:0});else{const a=qi[i.position].call(this,s,this._eventPosition);o=this._createItems(i),this.title=this.getTitle(o,i),this.beforeBody=this.getBeforeBody(o,i),this.body=this.getBody(o,i),this.afterBody=this.getAfterBody(o,i),this.footer=this.getFooter(o,i);const l=this._size=Lu(this,i),c=Object.assign({},a,l),u=Tu(this.chart,i,c),d=Du(i,c,u,this.chart);this.xAlign=u.xAlign,this.yAlign=u.yAlign,r={opacity:1,x:d.x,y:d.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&&i.external&&i.external.call(this,{chart:this.chart,tooltip:this,replay:n})}drawCaret(t,n,i,s){const r=this.getCaretPosition(t,i,s);n.lineTo(r.x1,r.y1),n.lineTo(r.x2,r.y2),n.lineTo(r.x3,r.y3)}getCaretPosition(t,n,i){const{xAlign:s,yAlign:r}=this,{caretSize:o,cornerRadius:a}=i,{topLeft:l,topRight:c,bottomLeft:u,bottomRight:d}=si(a),{x:f,y:h}=t,{width:g,height:m}=n;let _,y,S,M,E,A;return r==="center"?(E=h+m/2,s==="left"?(_=f,y=_-o,M=E+o,A=E-o):(_=f+g,y=_+o,M=E-o,A=E+o),S=_):(s==="left"?y=f+Math.max(l,u)+o:s==="right"?y=f+g-Math.max(c,d)-o:y=this.caretX,r==="top"?(M=h,E=M-o,_=y-o,S=y+o):(M=h+m,E=M+o,_=y+o,S=y-o),A=M),{x1:_,x2:y,x3:S,y1:M,y2:E,y3:A}}drawTitle(t,n,i){const s=this.title,r=s.length;let o,a,l;if(r){const c=vo(i.rtl,this.x,this.width);for(t.x=Os(this,i.titleAlign,i),n.textAlign=c.textAlign(i.titleAlign),n.textBaseline="middle",o=ue(i.titleFont),a=i.titleSpacing,n.fillStyle=i.titleColor,n.font=o.string,l=0;lM!==0)?(t.beginPath(),t.fillStyle=r.multiKeyBackground,lr(t,{x:_,y:m,w:c,h:l,radius:S}),t.fill(),t.stroke(),t.fillStyle=o.backgroundColor,t.beginPath(),lr(t,{x:y,y:m+1,w:c-2,h:l-2,radius:S}),t.fill()):(t.fillStyle=r.multiKeyBackground,t.fillRect(_,m,c,l),t.strokeRect(_,m,c,l),t.fillStyle=o.backgroundColor,t.fillRect(y,m+1,c-2,l-2))}t.fillStyle=this.labelTextColors[i]}drawBody(t,n,i){const{body:s}=this,{bodySpacing:r,bodyAlign:o,displayColors:a,boxHeight:l,boxWidth:c,boxPadding:u}=i,d=ue(i.bodyFont);let f=d.lineHeight,h=0;const g=vo(i.rtl,this.x,this.width),m=function(w){n.fillText(w,g.x(t.x+h),t.y+f/2),t.y+=f+r},_=g.textAlign(o);let y,S,M,E,A,O,C;for(n.textAlign=o,n.textBaseline="middle",n.font=d.string,t.x=Os(this,_,i),n.fillStyle=i.bodyColor,Mt(this.beforeBody,m),h=a&&_!=="right"?o==="center"?c/2+u:c+2+u:0,E=0,O=s.length;E0&&n.stroke()}_updateAnimationTarget(t){const n=this.chart,i=this.$animations,s=i&&i.x,r=i&&i.y;if(s||r){const o=qi[t.position].call(this,this._active,this._eventPosition);if(!o)return;const a=this._size=Lu(this,t),l=Object.assign({},o,this._size),c=Tu(n,t,l),u=Du(t,l,c,n);(s._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 i=this.opacity;if(!i)return;this._updateAnimationTarget(n);const s={width:this.width,height:this.height},r={x:this.x,y:this.y};i=Math.abs(i)<.001?0:i;const o=xe(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=i,this.drawBackground(r,t,s,n),Ry(t,n.textDirection),r.y+=o.top,this.drawTitle(r,t,n),this.drawBody(r,t,n),this.drawFooter(r,t,n),wy(t,n.textDirection),t.restore())}getActiveElements(){return this._active||[]}setActiveElements(t,n){const i=this._active,s=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=!er(i,s),o=this._positionChanged(s,n);(r||o)&&(this._active=s,this._eventPosition=n,this._ignoreReplayEvents=!0,this.update(!0))}handleEvent(t,n,i=!0){if(n&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;const s=this.options,r=this._active||[],o=this._getActiveElements(t,r,n,i),a=this._positionChanged(o,t),l=n||!er(o,r)||a;return l&&(this._active=o,(s.enabled||s.external)&&(this._eventPosition={x:t.x,y:t.y},this.update(!0,n))),l}_getActiveElements(t,n,i,s){const r=this.options;if(t.type==="mouseout")return[];if(!s)return n;const o=this.chart.getElementsAtEventForMode(t,r.mode,r,i);return r.reverse&&o.reverse(),o}_positionChanged(t,n){const{caretX:i,caretY:s,options:r}=this,o=qi[r.position].call(this,t,n);return o!==!1&&(i!==o.x||s!==o.y)}}ra.positioners=qi;var Xx={id:"tooltip",_element:ra,positioners:qi,afterInit(e,t,n){n&&(e.tooltip=new ra({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:Be,title(e){if(e.length>0){const t=e[0],n=t.chart.data.labels,i=n?n.length:0;if(this&&this.options&&this.options.mode==="dataset")return t.dataset.label||"";if(t.label)return t.label;if(i>0&&t.dataIndexe!=="filter"&&e!=="itemSort"&&e!=="external",_indexable:!1,callbacks:{_scriptable:!1,_indexable:!1},animation:{_fallback:!1},animations:{_fallback:"animation"}},additionalOptionScopes:["interaction"]};const Wx=(e,t,n,i)=>(typeof t=="string"?(n=e.push(t)-1,i.unshift({index:n,label:t})):isNaN(t)&&(n=null),n);function Gx(e,t,n,i){const s=e.indexOf(t);if(s===-1)return Wx(e,t,n,i);const r=e.lastIndexOf(t);return s!==r?n:s}const Kx=(e,t)=>e===null?null:Jt(Math.round(e),0,t);class hr extends Xn{constructor(t){super(t),this._startValue=void 0,this._valueRange=0,this._addedLabels=[]}init(t){const n=this._addedLabels;if(n.length){const i=this.getLabels();for(const{index:s,label:r}of n)i[s]===r&&i.splice(s,1);this._addedLabels=[]}super.init(t)}parse(t,n){if(At(t))return null;const i=this.getLabels();return n=isFinite(n)&&i[n]===t?n:Gx(i,t,xt(n,t),this._addedLabels),Kx(n,i.length-1)}determineDataLimits(){const{minDefined:t,maxDefined:n}=this.getUserBounds();let{min:i,max:s}=this.getMinMax(!0);this.options.bounds==="ticks"&&(t||(i=0),n||(s=this.getLabels().length-1)),this.min=i,this.max=s}buildTicks(){const t=this.min,n=this.max,i=this.options.offset,s=[];let r=this.getLabels();r=t===0&&n===r.length-1?r:r.slice(t,n+1),this._valueRange=Math.max(r.length-(i?0:1),1),this._startValue=this.min-(i?.5:0);for(let o=t;o<=n;o++)s.push({value:o});return s}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 Yx(e,t){const n=[],{bounds:s,step:r,min:o,max:a,precision:l,count:c,maxTicks:u,maxDigits:d,includeBounds:f}=e,h=r||1,g=u-1,{min:m,max:_}=t,y=!At(o),S=!At(a),M=!At(c),E=(_-m)/(d+1);let A=Fc((_-m)/g/h)*h,O,C,w,P;if(A<1e-14&&!y&&!S)return[{value:m},{value:_}];P=Math.ceil(_/A)-Math.floor(m/A),P>g&&(A=Fc(P*A/g/h)*h),At(l)||(O=Math.pow(10,l),A=Math.ceil(A*O)/O),s==="ticks"?(C=Math.floor(m/A)*A,w=Math.ceil(_/A)*A):(C=m,w=_),y&&S&&r&&c_((a-o)/r,A/1e3)?(P=Math.round(Math.min((a-o)/A,u)),A=(a-o)/P,C=o,w=a):M?(C=y?o:C,w=S?a:w,P=c-1,A=(w-C)/P):(P=(w-C)/A,Gi(P,Math.round(P),A/1e3)?P=Math.round(P):P=Math.ceil(P));const $=Math.max(Vc(A),Vc(C));O=Math.pow(10,At(l)?$:l),C=Math.round(C*O)/O,w=Math.round(w*O)/O;let q=0;for(y&&(f&&C!==o?(n.push({value:o}),Cs=n?s:l,a=l=>r=i?r:l;if(t){const l=Ne(s),c=Ne(r);l<0&&c<0?a(0):l>0&&c>0&&o(0)}if(s===r){let l=1;(r>=Number.MAX_SAFE_INTEGER||s<=Number.MIN_SAFE_INTEGER)&&(l=Math.abs(r*.05)),a(r+l),t||o(s-l)}this.min=s,this.max=r}getTickLimit(){const t=this.options.ticks;let{maxTicksLimit:n,stepSize:i}=t,s;return i?(s=Math.ceil(this.max/i)-Math.floor(this.min/i)+1,s>1e3&&(console.warn(`scales.${this.id}.ticks.stepSize: ${i} would result generating up to ${s} ticks. Limiting to 1000.`),s=1e3)):(s=this.computeTickLimit(),n=n||11),n&&(s=Math.min(n,s)),s}computeTickLimit(){return Number.POSITIVE_INFINITY}buildTicks(){const t=this.options,n=t.ticks;let i=this.getTickLimit();i=Math.max(2,i);const s={maxTicks:i,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=Yx(s,r);return t.bounds==="ticks"&&Bf(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,i=this.max;if(super.configure(),this.options.offset&&t.length){const s=(i-n)/Math.max(t.length-1,1)/2;n-=s,i+=s}this._startValue=n,this._endValue=i,this._valueRange=i-n}getLabelForValue(t){return fs(t,this.chart.options.locale,this.options.ticks.format)}}class sl extends pr{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,i=we(this.options.ticks.minRotation),s=(t?Math.sin(i):Math.cos(i))||.001,r=this._resolveTickFontOptions(0);return Math.ceil(n/Math.min(40,r.lineHeight/s))}getPixelForValue(t){return t===null?NaN:this.getPixelForDecimal((t-this._startValue)/this._valueRange)}getValueForPixel(t){return this._startValue+this.getDecimalForPixel(t)*this._valueRange}}sl.id="linear";sl.defaults={ticks:{callback:Fr.formatters.numeric}};function Hu(e){return e/Math.pow(10,Math.floor(ge(e)))===1}function qx(e,t){const n=Math.floor(ge(t.max)),i=Math.ceil(t.max/Math.pow(10,n)),s=[];let r=pe(e.min,Math.pow(10,Math.floor(ge(t.min)))),o=Math.floor(ge(r)),a=Math.floor(r/Math.pow(10,o)),l=o<0?Math.pow(10,Math.abs(o)):1;do s.push({value:r,major:Hu(r)}),++a,a===10&&(a=1,++o,l=o>=0?1:l),r=Math.round(a*Math.pow(10,o)*l)/l;while(o0?i: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 i=this.min,s=this.max;const r=l=>i=t?i:l,o=l=>s=n?s:l,a=(l,c)=>Math.pow(10,Math.floor(ge(l))+c);i===s&&(i<=0?(r(1),o(10)):(r(a(i,-1)),o(a(s,1)))),i<=0&&r(a(s,-1)),s<=0&&o(a(i,1)),this._zero&&this.min!==this._suggestedMin&&i===a(this.min,0)&&r(a(i,-1)),this.min=i,this.max=s}buildTicks(){const t=this.options,n={min:this._userMin,max:this._userMax},i=qx(n,this);return t.bounds==="ticks"&&Bf(i,this,"value"),t.reverse?(i.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),i}getLabelForValue(t){return t===void 0?"0":fs(t,this.chart.options.locale,this.options.ticks.format)}configure(){const t=this.min;super.configure(),this._startValue=ge(t),this._valueRange=ge(this.max)-ge(t)}getPixelForValue(t){return(t===void 0||t===0)&&(t=this.min),t===null||isNaN(t)?NaN:this.getPixelForDecimal(t===this.min?0:(ge(t)-this._startValue)/this._valueRange)}getValueForPixel(t){const n=this.getDecimalForPixel(t);return Math.pow(10,this._startValue+n*this._valueRange)}}Ch.id="logarithmic";Ch.defaults={ticks:{callback:Fr.formatters.logarithmic,major:{enabled:!0}}};function oa(e){const t=e.ticks;if(t.display&&e.display){const n=xe(t.backdropPadding);return xt(t.font&&t.font.size,gt.font.size)+n.height}return 0}function Zx(e,t,n){return n=Tt(n)?n:[n],{w:U_(e,t.string,n),h:n.length*t.lineHeight}}function Nu(e,t,n,i,s){return e===i||e===s?{start:t-n/2,end:t+n/2}:es?{start:t-n,end:t}:{start:t,end:t+n}}function Jx(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),i=[],s=[],r=e._pointLabels.length,o=e.options.pointLabels,a=o.centerPointLabels?Nt/r:0;for(let l=0;lt.r&&(a=(i.end-t.r)/r,e.r=Math.max(e.r,t.r+a)),s.startt.b&&(l=(s.end-t.b)/o,e.b=Math.max(e.b,t.b+l))}function tv(e,t,n){const i=[],s=e._pointLabels.length,r=e.options,o=oa(r)/2,a=e.drawingArea,l=r.pointLabels.centerPointLabels?Nt/s:0;for(let c=0;c270||n<90)&&(e-=t),e}function sv(e,t){const{ctx:n,options:{pointLabels:i}}=e;for(let s=t-1;s>=0;s--){const r=i.setContext(e.getPointLabelContext(s)),o=ue(r.font),{x:a,y:l,textAlign:c,left:u,top:d,right:f,bottom:h}=e._pointLabelItems[s],{backdropColor:g}=r;if(!At(g)){const m=si(r.borderRadius),_=xe(r.backdropPadding);n.fillStyle=g;const y=u-_.left,S=d-_.top,M=f-u+_.width,E=h-d+_.height;Object.values(m).some(A=>A!==0)?(n.beginPath(),lr(n,{x:y,y:S,w:M,h:E,radius:m}),n.fill()):n.fillRect(y,S,M,E)}ar(n,e._pointLabels[s],a,l+o.lineHeight/2,o,{color:r.color,textAlign:c,textBaseline:"middle"})}}function Lh(e,t,n,i){const{ctx:s}=e;if(n)s.arc(e.xCenter,e.yCenter,t,0,wt);else{let r=e.getPointPosition(0,t);s.moveTo(r.x,r.y);for(let o=1;o{const s=Pt(this.options.pointLabels.callback,[n,i],this);return s||s===0?s:""}).filter((n,i)=>this.chart.getDataVisibility(i))}fit(){const t=this.options;t.display&&t.pointLabels.display?Jx(this):this.setCenterPoint(0,0,0,0)}setCenterPoint(t,n,i,s){this.xCenter+=Math.floor((t-n)/2),this.yCenter+=Math.floor((i-s)/2),this.drawingArea-=Math.min(this.drawingArea/2,Math.max(t,n,i,s))}getIndexAngle(t){const n=wt/(this._pointLabels.length||1),i=this.options.startAngle||0;return Se(t*n+we(i))}getDistanceFromCenterForValue(t){if(At(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(At(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 d=s.setContext(this.getContext(u-1));rv(this,d,a,r)}}),i.display){for(t.save(),o=r-1;o>=0;o--){const c=i.setContext(this.getPointLabelContext(o)),{color:u,lineWidth:d}=c;!d||!u||(t.lineWidth=d,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,i=n.ticks;if(!i.display)return;const s=this.getIndexAngle(0);let r,o;t.save(),t.translate(this.xCenter,this.yCenter),t.rotate(s),t.textAlign="center",t.textBaseline="middle",this.ticks.forEach((a,l)=>{if(l===0&&!n.reverse)return;const c=i.setContext(this.getContext(l)),u=ue(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 d=xe(c.backdropPadding);t.fillRect(-o/2-d.left,-r-u.size/2-d.top,o+d.width,u.size+d.height)}ar(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:Fr.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 Ur={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}},se=Object.keys(Ur);function av(e,t){return e-t}function Fu(e,t){if(At(t))return null;const n=e._adapter,{parser:i,round:s,isoWeekday:r}=e._parseOpts;let o=t;return typeof i=="function"&&(o=i(o)),Wt(o)||(o=typeof i=="string"?n.parse(o,i):n.parse(o)),o===null?null:(s&&(o=s==="week"&&(hi(r)||r===!0)?n.startOf(o,"isoWeek",r):n.startOf(o,s)),+o)}function Vu(e,t,n,i){const s=se.length;for(let r=se.indexOf(e);r=se.indexOf(n);r--){const o=se[r];if(Ur[o].common&&e._adapter.diff(s,i,o)>=t-1)return o}return se[n?se.indexOf(n):0]}function cv(e){for(let t=se.indexOf(e)+1,n=se.length;t=t?n[i]:n[s];e[r]=!0}}function uv(e,t,n,i){const s=e._adapter,r=+s.startOf(t[0].value,i),o=t[t.length-1].value;let a,l;for(a=r;a<=o;a=+s.add(a,1,i))l=n[a],l>=0&&(t[l].major=!0);return t}function Uu(e,t,n){const i=[],s={},r=t.length;let o,a;for(o=0;o+t.value))}initOffsets(t){let n=0,i=0,s,r;this.options.offset&&t.length&&(s=this.getDecimalForValue(t[0]),t.length===1?n=1-s:n=(this.getDecimalForValue(t[1])-s)/2,r=this.getDecimalForValue(t[t.length-1]),t.length===1?i=r:i=(r-this.getDecimalForValue(t[t.length-2]))/2);const o=t.length<3?.5:.25;n=Jt(n,0,o),i=Jt(i,0,o),this._offsets={start:n,end:i,factor:1/(n+1+i)}}_generate(){const t=this._adapter,n=this.min,i=this.max,s=this.options,r=s.time,o=r.unit||Vu(r.minUnit,n,i,this._getLabelCapacity(n)),a=xt(r.stepSize,1),l=o==="week"?r.isoWeekday:!1,c=hi(l)||l===!0,u={};let d=n,f,h;if(c&&(d=+t.startOf(d,"isoWeek",l)),d=+t.startOf(d,c?"day":o),t.diff(i,n,o)>1e5*a)throw new Error(n+" and "+i+" are too far apart with stepSize of "+a+" "+o);const g=s.ticks.source==="data"&&this.getDataTimestamps();for(f=d,h=0;fm-_).map(m=>+m)}getLabelForValue(t){const n=this._adapter,i=this.options.time;return i.tooltipFormat?n.format(t,i.tooltipFormat):n.format(t,i.displayFormats.datetime)}_tickFormatFunction(t,n,i,s){const r=this.options,o=r.time.displayFormats,a=this._unit,l=this._majorUnit,c=a&&o[a],u=l&&o[l],d=i[n],f=l&&u&&d&&d.major,h=this._adapter.format(t,s||(f?u:c)),g=r.ticks.callback;return g?Pt(g,[h,n,i],this):h}generateTickLabels(t){let n,i,s;for(n=0,i=t.length;n0?a:1}getDataTimestamps(){let t=this._cache.data||[],n,i;if(t.length)return t;const s=this.getMatchingVisibleMetas();if(this._normalized&&s.length)return this._cache.data=s[0].controller.getAllParsedValues(this);for(n=0,i=s.length;n=e[i].pos&&t<=e[s].pos&&({lo:i,hi:s}=Hn(e,"pos",t)),{pos:r,time:a}=e[i],{pos:o,time:l}=e[s]):(t>=e[i].time&&t<=e[s].time&&({lo:i,hi:s}=Hn(e,"time",t)),{time:r,pos:a}=e[i],{time:o,pos:l}=e[s]);const c=o-r;return c?a+(l-a)*(t-r)/c:a}class Th 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=Ps(n,this.min),this._tableRange=Ps(n,this.max)-this._minPos,super.initOffsets(t)}buildLookupTable(t){const{min:n,max:i}=this,s=[],r=[];let o,a,l,c,u;for(o=0,a=t.length;o=n&&c<=i&&s.push(c);if(s.length<2)return[{time:n,pos:0},{time:i,pos:1}];for(o=0,a=s.length;o{i=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 s=it(()=>t.data);return Fn(s,r=>{i&&(i.data=r,i.update())}),(r,o)=>(F(),Q("canvas",{ref_key:"root",ref:n},null,512))}},fv="darkMode",hv="style",rl="xl:max-w-7xl xl:mx-auto",pv={__name:"SectionMain",setup(e){return(t,n)=>(F(),Q("section",{class:lt(["p-6",T(rl)])},[jt(t.$slots,"default")],2))}};var Dh={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()})(g0,function(){var t,n,i="2.0.6",s={},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,d,f,h;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(d in s)if(h=typeof s[d].regexps.unformat=="function"?s[d].regexps.unformat():s[d].regexps.unformat,h&&c.match(h)){f=s[d].unformat;break}f=f||t._.stringToNumber,u=f(c)}else u=Number(c)||null;return new l(c,u)},t.version=i,t.isNumeral=function(c){return c instanceof l},t._=n={numberToFormat:function(c,u,d){var f=r[t.options.currentLocale],h=!1,g=!1,m=0,_="",y=1e12,S=1e9,M=1e6,E=1e3,A="",O=!1,C,w,P,$,q,k,Z;if(c=c||0,w=Math.abs(c),t._.includes(u,"(")?(h=!0,u=u.replace(/[\(|\)]/g,"")):(t._.includes(u,"+")||t._.includes(u,"-"))&&(q=t._.includes(u,"+")?u.indexOf("+"):c<0?u.indexOf("-"):-1,u=u.replace(/[\+|\-]/g,"")),t._.includes(u,"a")&&(C=u.match(/a(k|m|b|t)?/),C=C?C[1]:!1,t._.includes(u," a")&&(_=" "),u=u.replace(new RegExp(_+"a[kmbt]?"),""),w>=y&&!C||C==="t"?(_+=f.abbreviations.trillion,c=c/y):w=S&&!C||C==="b"?(_+=f.abbreviations.billion,c=c/S):w=M&&!C||C==="m"?(_+=f.abbreviations.million,c=c/M):(w=E&&!C||C==="k")&&(_+=f.abbreviations.thousand,c=c/E)),t._.includes(u,"[.]")&&(g=!0,u=u.replace("[.]",".")),P=c.toString().split(".")[0],$=u.split(".")[1],k=u.indexOf(","),m=(u.split(".")[0].split(",")[0].match(/0/g)||[]).length,$?(t._.includes($,"[")?($=$.replace("]",""),$=$.split("["),A=t._.toFixed(c,$[0].length+$[1].length,d,$[1].length)):A=t._.toFixed(c,$.length,d),P=A.split(".")[0],t._.includes(A,".")?A=f.delimiters.decimal+A.split(".")[1]:A="",g&&Number(A.slice(1))===0&&(A="")):P=t._.toFixed(c,0,d),_&&!C&&Number(P)>=1e3&&_!==f.abbreviations.trillion)switch(P=String(Number(P)/1e3),_){case f.abbreviations.thousand:_=f.abbreviations.million;break;case f.abbreviations.million:_=f.abbreviations.billion;break;case f.abbreviations.billion:_=f.abbreviations.trillion;break}if(t._.includes(P,"-")&&(P=P.slice(1),O=!0),P.length0;ot--)P="0"+P;return k>-1&&(P=P.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1"+f.delimiters.thousands)),u.indexOf(".")===0&&(P=""),Z=P+A+(_||""),h?Z=(h&&O?"(":"")+Z+(h&&O?")":""):q>=0?Z=q===0?(O?"-":"+")+Z:Z+(O?"-":"+"):O&&(Z="-"+Z),Z},stringToNumber:function(c){var u=r[a.currentLocale],d=c,f={thousand:3,million:6,billion:9,trillion:12},h,g,m;if(a.zeroFormat&&c===a.zeroFormat)g=0;else if(a.nullFormat&&c===a.nullFormat||!c.replace(/[^0-9]+/g,"").length)g=null;else{g=1,u.delimiters.decimal!=="."&&(c=c.replace(/\./g,"").replace(u.delimiters.decimal,"."));for(h in f)if(m=new RegExp("[^a-zA-Z]"+u.abbreviations[h]+"(?:\\)|(\\"+u.currency.symbol+")?(?:\\))?)?$"),d.match(m)){g*=Math.pow(10,f[h]);break}g*=(c.split("-").length+Math.min(c.split("(").length-1,c.split(")").length-1))%2?1:-1,c=c.replace(/[^0-9\.]+/g,""),g*=Number(c)}return g},isNaN:function(c){return typeof c=="number"&&isNaN(c)},includes:function(c,u){return c.indexOf(u)!==-1},insert:function(c,u,d){return c.slice(0,d)+u+c.slice(d)},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 d=Object(c),f=d.length>>>0,h=0,g;if(arguments.length===3)g=arguments[2];else{for(;h=f)throw new TypeError("Reduce of empty array with no initial value");g=d[h++]}for(;hf?u:f},1)},toFixed:function(c,u,d,f){var h=c.toString().split("."),g=u-(f||0),m,_,y,S;return h.length===2?m=Math.min(Math.max(h[1].length,g),u):m=g,y=Math.pow(10,m),S=(d(c+"e+"+m)/y).toFixed(m),f>u-m&&(_=new RegExp("\\.?0{1,"+(f-(u-m))+"}$"),S=S.replace(_,"")),S}},t.options=a,t.formats=s,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,d){if(u=u.toLowerCase(),this[c+"s"][u])throw new TypeError(u+" "+c+" already registered.");return this[c+"s"][u]=d,d},t.validate=function(c,u){var d,f,h,g,m,_,y,S;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{y=t.localeData(u)}catch{y=t.localeData(t.locale())}return h=y.currency.symbol,m=y.abbreviations,d=y.delimiters.decimal,y.delimiters.thousands==="."?f="\\.":f=y.delimiters.thousands,S=c.match(/^[^\d]+/),S!==null&&(c=c.substr(1),S[0]!==h)||(S=c.match(/[^\d]+$/),S!==null&&(c=c.slice(0,-1),S[0]!==m.thousand&&S[0]!==m.million&&S[0]!==m.billion&&S[0]!==m.trillion))?!1:(_=new RegExp(f+"{2}"),c.match(/[^\d.,]/g)?!1:(g=c.split(d),g.length>2?!1:g.length<2?!!g[0].match(/^\d+.*\d$/)&&!g[0].match(_):g[0].length===1?!!g[0].match(/^\d+$/)&&!g[0].match(_)&&!!g[1].match(/^\d+$/):!!g[0].match(/^\d+.*\d$/)&&!g[0].match(_)&&!!g[1].match(/^\d+$/)))},t.fn=l.prototype={clone:function(){return t(this)},format:function(c,u){var d=this._value,f=c||a.defaultFormat,h,g,m;if(u=u||Math.round,d===0&&a.zeroFormat!==null)g=a.zeroFormat;else if(d===null&&a.nullFormat!==null)g=a.nullFormat;else{for(h in s)if(f.match(s[h].regexps.format)){m=s[h].format;break}m=m||t._.numberToFormat,g=m(d,f,u)}return g},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 d(f,h,g,m){return f+Math.round(u*h)}return this._value=n.reduce([this._value,c],d,0)/u,this},subtract:function(c){var u=n.correctionFactor.call(null,this._value,c);function d(f,h,g,m){return f-Math.round(u*h)}return this._value=n.reduce([c],d,Math.round(this._value*u))/u,this},multiply:function(c){function u(d,f,h,g){var m=n.correctionFactor(d,f);return Math.round(d*m)*Math.round(f*m)/Math.round(m*m)}return this._value=n.reduce([this._value,c],u,1),this},divide:function(c){function u(d,f,h,g){var m=n.correctionFactor(d,f);return Math.round(d*m)/Math.round(f*m)}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,d){var f=t._.includes(u," BPS")?" ":"",h;return c=c*1e4,u=u.replace(/\s?BPS/,""),h=t._.numberToFormat(c,u,d),t._.includes(h,")")?(h=h.split(""),h.splice(-1,0,f+"BPS"),h=h.join("")):h=h+f+"BPS",h},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"]},d=c.suffixes.concat(u.suffixes.filter(function(h){return c.suffixes.indexOf(h)<0})),f=d.join("|");f="("+f.replace("B","B(?!PS)")+")",t.register("format","bytes",{regexps:{format:/([0\s]i?b)/,unformat:new RegExp(f)},format:function(h,g,m){var _,y=t._.includes(g,"ib")?u:c,S=t._.includes(g," b")||t._.includes(g," ib")?" ":"",M,E,A;for(g=g.replace(/\s?i?b/,""),M=0;M<=y.suffixes.length;M++)if(E=Math.pow(y.base,M),A=Math.pow(y.base,M+1),h===null||h===0||h>=E&&h0&&(h=h/E);break}return _=t._.numberToFormat(h,g,m),_+S},unformat:function(h){var g=t._.stringToNumber(h),m,_;if(g){for(m=c.suffixes.length-1;m>=0;m--){if(t._.includes(h,c.suffixes[m])){_=Math.pow(c.base,m);break}if(t._.includes(h,u.suffixes[m])){_=Math.pow(u.base,m);break}}g*=_||1}return g}})}(),function(){t.register("format","currency",{regexps:{format:/(\$)/},format:function(c,u,d){var f=t.locales[t.options.currentLocale],h={before:u.match(/^([\+|\-|\(|\s|\$]*)/)[0],after:u.match(/([\+|\-|\)|\s|\$]*)$/)[0]},g,m,_;for(u=u.replace(/\s?\$\s?/,""),g=t._.numberToFormat(c,u,d),c>=0?(h.before=h.before.replace(/[\-\(]/,""),h.after=h.after.replace(/[\-\)]/,"")):c<0&&!t._.includes(h.before,"-")&&!t._.includes(h.before,"(")&&(h.before="-"+h.before),_=0;_=0;_--)switch(m=h.after[_],m){case"$":g=_===h.after.length-1?g+f.currency.symbol:t._.insert(g,f.currency.symbol,-(h.after.length-(1+_)));break;case" ":g=_===h.after.length-1?g+" ":t._.insert(g," ",-(h.after.length-(1+_)+f.currency.symbol.length-1));break}return g}})}(),function(){t.register("format","exponential",{regexps:{format:/(e\+|e-)/,unformat:/(e\+|e-)/},format:function(c,u,d){var f,h=typeof c=="number"&&!t._.isNaN(c)?c.toExponential():"0e+0",g=h.split("e");return u=u.replace(/e[\+|\-]{1}0/,""),f=t._.numberToFormat(Number(g[0]),u,d),f+"e"+g[1]},unformat:function(c){var u=t._.includes(c,"e+")?c.split("e+"):c.split("e-"),d=Number(u[0]),f=Number(u[1]);f=t._.includes(c,"e-")?f*=-1:f;function h(g,m,_,y){var S=t._.correctionFactor(g,m),M=g*S*(m*S)/(S*S);return M}return t._.reduce([d,Math.pow(10,f)],h,1)}})}(),function(){t.register("format","ordinal",{regexps:{format:/(o)/},format:function(c,u,d){var f=t.locales[t.options.currentLocale],h,g=t._.includes(u," o")?" ":"";return u=u.replace(/\s?o/,""),g+=f.ordinal(c),h=t._.numberToFormat(c,u,d),h+g}})}(),function(){t.register("format","percentage",{regexps:{format:/(%)/,unformat:/(%)/},format:function(c,u,d){var f=t._.includes(u," %")?" ":"",h;return t.options.scalePercentBy100&&(c=c*100),u=u.replace(/\s?\%/,""),h=t._.numberToFormat(c,u,d),t._.includes(h,")")?(h=h.split(""),h.splice(-1,0,f+"%"),h=h.join("")):h=h+f+"%",h},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,d){var f=Math.floor(c/60/60),h=Math.floor((c-f*60*60)/60),g=Math.round(c-f*60*60-h*60);return f+":"+(h<10?"0"+h:h)+":"+(g<10?"0"+g:g)},unformat:function(c){var u=c.split(":"),d=0;return u.length===3?(d=d+Number(u[0])*60*60,d=d+Number(u[1])*60,d=d+Number(u[2])):u.length===2&&(d=d+Number(u[0])*60,d=d+Number(u[1])),Number(d)}})}(),t})})(Dh);const gv=Dh.exports,mv={__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=Kt(0),i=it(()=>n.value<1e3?n.value:gv(n.value).format("0,0")),s=it(()=>t.value),r=a=>{const l=Math.ceil(n.value+a);if(l>s.value)return n.value=s.value,!1;n.value=l,setTimeout(()=>{r(a)},25)},o=()=>{n.value=0,r(t.value/(t.duration/25))};return Fn(s,()=>{o()}),vi(()=>{o()}),(a,l)=>(F(),Q("div",null,yt(e.prefix)+yt(T(i))+yt(e.suffix),1))}},bv={__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:df,style:"success"}:t.trendType==="down"?{icon:uf,style:"danger"}:t.trendType==="alert"?{icon:Wm,style:"warning"}:{style:"info"});return(i,s)=>(F(),pt(je,{label:e.trend,color:T(n).style,icon:T(n).icon,small:e.small},null,8,["label","color","icon","small"]))}},_v={class:"text-3xl leading-tight font-semibold"},Lo={__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:"text-gray-500 dark:text-slate-400"},numColor:{type:String,default:""},trend:{type:String,default:null},trendType:{type:String,default:null}},setup(e){return(t,n)=>(F(),pt(ii,null,{default:dt(()=>[e.trend?(F(),pt(Ye,{key:0,class:"mb-3",mobile:""},{default:dt(()=>[U(bv,{trend:e.trend,"trend-type":e.trendType,small:""},null,8,["trend","trend-type"])]),_:1})):Rt("",!0),U(Ye,{mobile:""},{default:dt(()=>[H("div",null,[H("h3",{class:lt([e.color,"text-lg leading-tight"])},yt(e.label),3),H("h1",_v,[e.number?(F(),pt(mv,{key:0,class:lt(e.numColor),value:e.number,prefix:e.prefix,suffix:e.suffix},null,8,["class","value","prefix","suffix"])):Rt("",!0),jt(t.$slots,"default")])]),e.icon?(F(),pt(ee,{key:0,path:e.icon,size:"48",w:"",h:"h-16",class:lt(e.color)},null,8,["path","class"])):Rt("",!0)]),_:3})]),_:3}))}},Mi={__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=it(()=>t.as?t.as:t.to?Tr:t.href?"a":"button"),i=it(()=>{var o;return n.value==="button"?(o=t.type)!=null?o:"button":null}),s=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",Nf(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)=>(F(),pt(Mr(T(n)),{class:lt(T(r)),href:e.href,type:T(i),to:e.to,target:e.target,disabled:e.disabled},{default:dt(()=>[e.icon?(F(),pt(ee,{key:0,path:e.icon,size:e.iconSize},null,8,["path","size"])):Rt("",!0),e.label?(F(),Q("span",{key:1,class:lt(T(s))},yt(e.label),3)):Rt("",!0)]),_:1},8,["class","href","type","to","target","disabled"]))}},yv=["src"],xv={__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(i,s)=>(F(),Q("span",{class:lt(T(n))},[H("img",{src:e.path,class:lt(["rounded-full",`${e.w}`])},null,10,yv),jt(i.$slots,"default")],2))}},vv={class:"relative w-full h-full bg-white dark:bg-slate-900/70 rounded-2xl"},Av={class:"text-center space-y-1 md:text-left md:mr-6"},Sv={class:"md:flex md:items-center mb-4 md:mb-0 md:space-x-2"},Mv={class:"text-xl"},Ev={class:"text-lg"},Rv={class:"text-center md:text-right"},wv={class:"text-sm text-gray-400"},Iv={__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=cf(),i=it(()=>t.type==="plays"?{type:"success"}:t.type==="scores"?{type:"danger"}:t.type==="ranking"?{type:"warning"}:{type:"info"});function s(){n.push(`/games/${t.game}`)}const r=Vb(t.game),o=` + background-image: linear-gradient(to left, transparent, rgba(0, 0, 0, 1)), + url('${r.cardBG}'); + background-size: cover; + background-repeat: no-repeat; +`;return(a,l)=>(F(),Q("button",{class:"flex rounded-2xl hover:outline outline-blue-500/50 hover:bg-slate-500 hover:dark:bg-slate-950 transition-all duration-50",style:o,onClick:l[0]||(l[0]=c=>s())},[H("div",vv,[U(Pf,null,{default:dt(()=>[U(Ye,null,{default:dt(()=>[U(Ye,{type:"justify-start"},{default:dt(()=>[U(xv,{class:"md:mr-6",path:T(r).icon},null,8,["path"]),H("div",Av,[H("div",Sv,[H("h2",Mv,yt(T(r).name),1),U(je,{color:T(i).type,label:e.type,small:""},null,8,["color","label"])]),H("h4",Ev,yt(e.value),1)])]),_:1}),H("div",Rv,[H("p",wv,yt(e.profileName),1)])]),_:1})]),_:1})])]))}};var kh=[];for(const e of Yo)if(!e.skip){const t=["overview","rivals","net_records","net_scores","my_records","my_scores"];var In=[];for(const n of t)n==="overview"?In.push({label:"Overview",to:`/games/${e.id}`}):n=="rivals"&&!e.noRivals?In.push({label:"Rivals",to:`/games/${e.id}/rivals`}):n=="net_records"&&!e.noRecords?In.push({label:"Network Records",to:`/games/${e.id}/records`}):n=="net_scores"&&!e.noScores?In.push({label:"Network Scores",to:`/games/${e.id}/scores`}):n=="my_records"&&!e.noRecords?In.push({label:"Personal Records",to:`/games/${e.id}/records/1`}):n=="my_scores"&&!e.noScores&&In.push({label:"Personal Scores",to:`/games/${e.id}/scores/1`});kh.push({label:e.shortName?e.shortName:e.name,menu:In})}var Oh=[];for(const e of Fb)e.skip||Oh.push({label:e.name,menu:[{label:"Overview",to:`/arcade/${e.id}`},{label:"Event Settings",to:`/arcade/${e.id}/events`},{label:"Machine List",to:`/arcade/${e.id}/machines`},{label:"PASELI",to:`/arcade/${e.id}/paseli`}]});const Cv=[{to:"/",icon:a0,label:"Dashboard"},{to:"/news",icon:l0,label:"News"},{to:"/arcades",icon:p0,label:"Public Arcades"},{label:"My Arcades",icon:h0,menu:Oh},{label:"Games",icon:hf,menu:kh}],Lv=[{isCurrentUser:!0,menu:[{icon:Um,label:"Settings",to:"/profile"},{icon:Km,label:"Customizations",to:"/profile/customize"},{icon:f0,label:"Integrations",to:"/profile/integrate"},{icon:Ym,label:"Login Cards",to:"/profile/cards"}]},{to:"/goals",icon:ff,label:"Goals"},{icon:n0,label:"Edit Dashboard"},{icon:pf,label:"Log out",isLogout:!0}],Tv={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"},Dv={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"},$u=Object.freeze(Object.defineProperty({__proto__:null,basic:Tv,white:Dv},Symbol.toStringTag,{value:"Module"})),Ei=qd("style",{state:()=>({asideStyle:"bg-gray-800",asideScrollbarsStyle:"aside-scrollbars-gray",asideBrandStyle:"bg-gray-900 text-white",asideMenuItemStyle:"text-gray-300 hover:text-white",asideMenuItemActiveStyle:"font-bold text-white",asideMenuDropdownStyle:"bg-gray-700/50",navBarItemLabelStyle:"text-black",navBarItemLabelHoverStyle:"hover:text-blue-500",navBarItemLabelActiveColorStyle:"text-blue-600",overlayStyle:"from-gray-700 via-gray-900 to-gray-700",darkMode:!0}),actions:{setStyle(e){if(!$u[e])return;typeof localStorage<"u"&&localStorage.setItem(hv,e);const t=$u[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(fv,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"))}}}),kv="/icon.gif",Ph={__name:"OverlayLayer",props:{zIndex:{type:String,default:"z-50"},type:{type:String,default:"flex"},transparent:{type:Boolean,default:!1}},emits:["overlay-click"],setup(e,{emit:t}){const n=s=>{t("overlay-click",s)},i=Ei();return(s,r)=>(F(),Q("div",{class:lt([[e.type,e.zIndex],"items-center flex-col justify-center overflow-hidden fixed inset-0"])},[U(Zs,{"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:dt(()=>[H("div",{class:lt(["absolute inset-0 bg-gradient-to-tr dark:from-gray-700 dark:via-gray-900 dark:to-gray-700",`${T(i).overlayStyle} ${e.transparent?"opacity-90":"opacity-100"}`]),onClick:n},null,2)]),_:1}),U(Zs,{"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:dt(()=>[jt(s.$slots,"default")]),_:3})],2))}},Ov={key:0,class:"grid text-center justify-center grid-cols-1 gap-3"},Pv=H("img",{class:"rounded-full place-self-center",src:kv,width:"70"},null,-1),Hv={class:"text-xl md:text-2xl"},Nv=H("p",{class:"text-lg md:text-xl"},"Please wait",-1),Fv={key:1,class:"grid text-center justify-center grid-cols-1 gap-3"},Vv={class:"place-self-center"},Bv=H("h1",{class:"text-xl md:text-2xl"},"Saved!",-1),Uv={key:2,class:"grid text-center justify-center grid-cols-1 gap-3"},$v={class:"place-self-center"},zv=H("h1",{class:"text-xl md:text-2xl"},"Fuck.",-1),jv=H("h1",{class:"text-lg md:text-xl"}," The server had some trouble processing your request at this time. ",-1),Xv={class:"text-lg md:text-xl"},Wv={class:"text-red-500"},Gv={__name:"LoadingModal",props:{active:{type:Boolean,default:!1},isSave:{type:Boolean,default:!1},isFinished:{type:Boolean,default:!1},errorCode:{type:String,default:null}},setup(e){return(t,n)=>e.active?(F(),pt(Ph,{key:0,transparent:e.isSave},{default:dt(()=>[U(ii,{class:"shadow-lg max-h-modal w-11/12 md:w-3/5 lg:w-2/5 xl:w-4/12 z-50 text-white/90"},{default:dt(()=>[!e.isFinished&&!e.errorCode?(F(),Q("div",Ov,[Pv,H("h1",Hv,yt(e.isSave?"Saving...":"Loading..."),1),Nv])):Rt("",!0),e.isSave&&e.isFinished&&!e.errorCode?(F(),Q("div",Fv,[H("div",Vv,[U(ee,{path:T(Qm),class:"text-green-700",w:"w-20",size:45},null,8,["path"])]),Bv])):Rt("",!0),e.errorCode?(F(),Q("div",Uv,[H("div",$v,[U(ee,{path:T(t0),class:"text-red-500",w:"w-20",size:45},null,8,["path"])]),zv,jv,H("h1",Xv,[Re(" Error: "),H("span",Wv,yt(e.errorCode),1)])])):Rt("",!0)]),_:1})]),_:1},8,["transparent"])):Rt("",!0)}},Kv={__name:"BaseDivider",props:{navBar:Boolean},setup(e){const t=e;return(n,i)=>(F(),Q("hr",{class:lt([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))}},Yv={__name:"NavBarItem",props:{item:{type:Object,required:!0}},emits:["menu-click"],setup(e,{emit:t}){const n=e,i=it(()=>n.item.href?"a":n.item.to?Tr:"div"),s=Ei(),r=it(()=>{const f=[a.value?`${s.navBarItemLabelActiveColorStyle} dark:text-slate-400`:`${s.navBarItemLabelStyle} dark:text-white dark:hover:text-slate-400 ${s.navBarItemLabelHoverStyle}`,n.item.menu?"lg:py-2 lg:px-3":"py-2 px-3"];return n.item.isDesktopNoLabel&&f.push("lg:w-16","lg:justify-center"),f}),o=it(()=>n.item.isCurrentUser?Si().userName:n.item.label),a=Kt(!1),l=f=>{t("menu-click",f,n.item),n.item.menu&&(a.value=!a.value)},c=(f,h)=>{t("menu-click",f,h)},u=Kt(null),d=f=>{u.value&&!u.value.contains(f.target)&&(a.value=!1)};return vi(()=>{n.item.menu&&window.addEventListener("click",d)}),Aa(()=>{n.item.menu&&window.removeEventListener("click",d)}),(f,h)=>{var g,m,_;return e.item.isDivider?(F(),pt(Kv,{key:0,"nav-bar":""})):(F(),pt(Mr(T(i)),{key:1,ref_key:"root",ref:u,class:lt(["block lg:flex items-center relative cursor-pointer",T(r)]),to:(g=e.item.to)!=null?g:null,href:(m=e.item.href)!=null?m:null,target:(_=e.item.target)!=null?_:null,onClick:l},{default:dt(()=>[H("div",{class:lt(["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?(F(),pt(Of,{key:0,class:"w-6 h-6 mr-3 inline-flex"})):Rt("",!0),e.item.icon?(F(),pt(ee,{key:1,path:e.item.icon,class:"transition-colors"},null,8,["path"])):Rt("",!0),H("span",{class:lt(["px-2 transition-colors",{"lg:hidden":e.item.isDesktopNoLabel&&e.item.icon}])},yt(T(o)),3),e.item.menu?(F(),pt(ee,{key:2,path:a.value?T(df):T(uf),class:"hidden lg:inline-flex transition-colors"},null,8,["path"])):Rt("",!0)],2),e.item.menu?(F(),Q("div",{key:0,class:lt(["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}])},[U(Hh,{menu:e.item.menu,onMenuClick:c},null,8,["menu"])],2)):Rt("",!0)]),_:1},8,["class","to","href","target"]))}}},Hh={__name:"NavBarMenuList",props:{menu:{type:Array,default:()=>[]}},emits:["menu-click"],setup(e,{emit:t}){const n=(i,s)=>{t("menu-click",i,s)};return(i,s)=>(F(!0),Q(Ot,null,$n(e.menu,(r,o)=>(F(),pt(Yv,{key:o,item:r,onMenuClick:n},null,8,["item"]))),128))}},zs={__name:"NavBarItemPlain",props:{display:{type:String,default:"flex"},useMargin:Boolean},setup(e){const t=Ei();return(n,i)=>(F(),Q("div",{class:lt([[e.display,T(t).navBarItemLabelStyle,T(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))}},qv={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"},Zv={class:"flex flex-1 items-stretch h-14"},Jv={class:"flex-none items-stretch flex h-14 lg:hidden"},Qv={__name:"NavBar",props:{menu:{type:Array,required:!0}},emits:["menu-click"],setup(e,{emit:t}){const n=(s,r)=>{t("menu-click",s,r)},i=Kt(!1);return(s,r)=>(F(),Q("nav",qv,[H("div",{class:lt(["flex lg:items-stretch",T(rl)])},[H("div",Zv,[jt(s.$slots,"default")]),H("div",Jv,[U(zs,{onClick:r[0]||(r[0]=Js(o=>i.value=!i.value,["prevent"]))},{default:dt(()=>[U(ee,{path:i.value?T(La):T(i0),size:"24"},null,8,["path"])]),_:1})]),H("div",{class:lt(["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",[i.value?"block":"hidden"]])},[U(Hh,{menu:e.menu,onMenuClick:n},null,8,["menu"])],2)],2)]))}},tA="/favicon.png",Nh={__name:"AsideMenuItem",props:{item:{type:Object,required:!0},isDropdownList:Boolean},emits:["menu-click"],setup(e,{emit:t}){const n=e,i=Ei(),s=it(()=>n.item&&n.item.color),r=it(()=>s.value?"":i.asideMenuItemActiveStyle),o=Kt(!1),a=it(()=>[n.isDropdownList?"py-3 px-6 text-sm":"py-3",s.value?Nf(n.item.color,!1,!0):`${i.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,d)=>{var f,h,g;return F(),Q("li",null,[(F(),pt(Mr(e.item.to?T(Tr):"a"),{to:(f=e.item.to)!=null?f:null,href:(h=e.item.href)!=null?h:null,target:(g=e.item.target)!=null?g:null,class:lt(["flex cursor-pointer",T(a)]),onClick:c},{default:dt(m=>[e.item.icon?(F(),pt(ee,{key:0,path:e.item.icon,class:lt(["flex-none",[m&&m.isExactActive?T(r):""]]),w:"w-16",size:18},null,8,["path","class"])):Rt("",!0),H("span",{class:lt(["grow text-ellipsis line-clamp-1",[{"pr-12":!T(l)},m&&m.isExactActive?T(r):""]])},yt(e.item.label),3),T(l)?(F(),pt(ee,{key:1,path:o.value?T(o0):T(c0),class:lt(["flex-none",[m&&m.isExactActive?T(r):""]]),w:"w-12"},null,8,["path","class"])):Rt("",!0)]),_:1},8,["to","href","target","class"])),T(l)?(F(),pt(Fh,{key:0,menu:e.item.menu,class:lt([T(i).asideMenuDropdownStyle,o.value?"block dark:bg-slate-800/50":"hidden"]),"is-dropdown-list":""},null,8,["menu","class"])):Rt("",!0)])}}},Fh={__name:"AsideMenuList",props:{isDropdownList:Boolean,menu:{type:Array,required:!0}},emits:["menu-click"],setup(e,{emit:t}){const n=(i,s)=>{t("menu-click",i,s)};return(i,s)=>(F(),Q("ul",null,[(F(!0),Q(Ot,null,$n(e.menu,(r,o)=>(F(),pt(Nh,{key:o,item:r,"is-dropdown-list":e.isDropdownList,onMenuClick:n},null,8,["item","is-dropdown-list"]))),128))]))}},eA={id:"aside",class:"w-60 xl:w-62 fixed flex z-40 top-0 h-screen transition-position shadow-xl shadow-gray-900"},nA={class:"dark:bg-slate-900 space-y-4 my-2 pb-4 border-b-2"},iA=H("div",{class:"flex items-center space-x-3 mx-2"},[H("img",{class:"rounded-full shadow-xl",src:tA}),H("h2",{class:"text-md"},[H("samp",{class:"tracking-tighter"},"PhaseII"),Re(" eAmusement Network ")])],-1),sA={class:"hidden lg:block xl:hidden w-full"},rA={class:"invisible lg:visible"},oA={__name:"AsideMenuLayer",props:{menu:{type:Array,required:!0}},emits:["menu-click","aside-lg-close-click"],setup(e,{emit:t}){const n=Ei(),i=it(()=>({label:"Log out",icon:pf,color:"info",isLogout:!0})),s=(o,a)=>{t("menu-click",o,a)},r=o=>{t("aside-lg-close-click",o)};return(o,a)=>(F(),Q("aside",eA,[H("div",{class:lt([T(n).asideStyle,"rounded-r-2xl md:rounded-none flex-1 flex flex-col pt-2 overflow-hidden dark:bg-slate-900"])},[H("div",nA,[iA,H("div",sA,[U(Mi,{icon:T(La),label:"Close",color:"danger",class:"w-full mx-2",onClick:Js(r,["prevent"])},null,8,["icon","onClick"])])]),H("div",{class:lt([T(n).darkMode?"aside-scrollbars-[slate]":T(n).asideScrollbarsStyle,"flex-1 overflow-y-auto overflow-x-hidden"])},[U(Fh,{menu:e.menu,onMenuClick:s},null,8,["menu"])],2),H("ul",rA,[U(Nh,{item:T(i),onMenuClick:s},null,8,["item"])])],2)]))}},aA={__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=(s,r)=>{t("menu-click",s,r)},i=s=>{t("aside-lg-close-click",s)};return(s,r)=>(F(),Q(Ot,null,[U(oA,{menu:e.menu,class:lt([e.isAsideMobileExpanded?"left-0":"-left-60 lg:left-0",{"lg:hidden xl:flex":!e.isAsideLgActive}]),onMenuClick:n,onAsideLgCloseClick:i},null,8,["menu","class"]),gp(U(Ph,{"z-index":"z-30",onOverlayClick:i},null,512),[[Mg,e.isAsideLgActive]])],64))}},lA=H("div",{class:"text-center md:text-left"},[H("p",null,[Re(" Made with \u2764\uFE0F by the PhaseII Team. Based on JustBoil's "),H("a",{class:"text-blue-400 hover:text-blue-600",href:"https://github.com/justboil/admin-one-vue-tailwind"},"Admin One"),Re(". ")])],-1),cA={class:"md:py-2"},uA={__name:"FooterBar",setup(e){return(t,n)=>(F(),Q("footer",{class:lt(["py-2 px-6",T(rl)])},[U(Ye,null,{default:dt(()=>[lA,H("div",cA,[U(Mi,{color:"info",href:"https://paypal.me/trmazi",label:"Donate",icon:T(qm),"icon-size":"24"},null,8,["icon"])])]),_:1})],2))}};const dA={class:"animated animatedFadeInUp fadeInUp"},fA={__name:"LayoutAuthenticated",setup(e){Si().setUser({name:"Trmazi",email:"sex@sex.com",avatar:"https://cdn.discordapp.com/avatars/372530806628941824/a2d1b66d0e2100a571305b8281c26f8b"});const t="xl:pl-60",n=Ei(),i=cf(),s=Nm(),r=Kt(!1),o=Kt(!1);i.beforeEach(()=>{r.value=!1,o.value=!1});const a=(l,c)=>{c.isLogout};return(l,c)=>(F(),Q("div",{key:T(s).fullPath,class:lt({dark:T(n).darkMode,"overflow-hidden lg:overflow-visible":r.value})},[U(Gv,{active:!1,"is-save":""}),H("div",{class:lt([[t,{"ml-60 lg:ml-0":r.value}],"pt-14 min-h-screen w-screen lg:w-auto bg-gray-50 dark:bg-slate-800 dark:text-slate-100"])},[U(Qv,{menu:T(Lv),class:lt([t,{"ml-60 lg:ml-0":r.value},"opacity-95"]),onMenuClick:a},{default:dt(()=>[U(zs,{display:"flex lg:hidden",onClick:c[0]||(c[0]=Js(u=>r.value=!r.value,["prevent"]))},{default:dt(()=>[U(ee,{path:r.value?T(Gm):T(s0),size:"24"},null,8,["path"])]),_:1}),U(zs,{display:"hidden lg:flex xl:hidden",onClick:c[1]||(c[1]=Js(u=>o.value=!0,["prevent"]))},{default:dt(()=>[U(ee,{path:T(r0),size:"24"},null,8,["path"])]),_:1}),U(zs,{"use-margin":""})]),_:1},8,["menu","class"]),U(aA,{"is-aside-mobile-expanded":r.value,"is-aside-lg-active":o.value,menu:T(Cv),onMenuClick:a,onAsideLgCloseClick:c[2]||(c[2]=u=>o.value=!1)},null,8,["is-aside-mobile-expanded","is-aside-lg-active","menu"]),H("div",dA,[jt(l.$slots,"default"),U(uA)])],2)],2))}},hA={__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)=>(F(),pt(ee,{path:e.icon,w:e.w,h:e.h,size:"24",class:lt(["rounded-full",e.bg?T(Va)[e.color]:[T(on)[e.color],"bg-gray-50 dark:bg-slate-800"]])},null,8,["path","w","h","class"]))}},pA={class:"flex items-center justify-start"},Hi={__name:"SectionTitleLine",props:{icon:{type:String,default:null},title:{type:String,required:!0},main:Boolean},setup(e){const t=it(()=>wa().default);return(n,i)=>(F(),Q("section",{class:lt([{"pt-6":!e.main},"mb-6 flex items-center justify-between"])},[H("div",pA,[e.icon&&e.main?(F(),pt(hA,{key:0,icon:e.icon,color:"light",class:"mr-3",bg:""},null,8,["icon"])):e.icon?(F(),pt(ee,{key:1,path:e.icon,class:"mr-2",size:"20"},null,8,["path"])):Rt("",!0),H("h1",{class:lt([e.main?"text-3xl":"text-2xl","leading-tight"])},yt(e.title),3)]),T(t)?jt(n.$slots,"default",{key:0}):Rt("",!0)],2))}},Vh=vr({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),Ge("div",{class:t},e?this.$slots.default().map(n=>n&&n.children&&typeof n.children=="object"?Ge(n,{},n.children.map(i=>Ge(i,{class:[this.classAddon]}))):Ge(n,{class:[this.classAddon]})):null)}}),gA=H("thead",null,[H("tr",null,[H("th"),H("th",null,"User"),H("th",null,"Profile"),H("th",null,"Game"),H("th",null,"Type")])],-1),mA=H("td",{"data-label":"User"},"Trmazi",-1),bA=H("td",{"data-label":"Profile"},"TRMAZI",-1),_A=H("td",{"data-label":"Game"},"SOUND VOLTEX",-1),yA=H("td",{"data-label":"Type",class:"lg:w-32"},"You Rival",-1),xA={class:"p-3 lg:px-6 border-t border-gray-100 dark:border-slate-800"},vA={__name:"TableRivalsFull",setup(e){const t=Si(),n=it(()=>t.clients),i=Kt(5),s=Kt(0),r=it(()=>n.value.slice(i.value*s.value,i.value*(s.value+1))),o=it(()=>Math.ceil(n.value.length/i.value)),a=it(()=>s.value+1),l=it(()=>{const u=[];for(let d=0;d(F(),Q(Ot,null,[H("table",null,[gA,H("tbody",null,[(F(!0),Q(Ot,null,$n(T(r),f=>(F(),Q("tr",{key:f.id,class:"border-b-[12px] lg:border-b-0"},[H("td",{class:"border-b-0 lg:w-6 before:hidden",style:cs(c("pride"))},[U(kf,{username:"",class:"w-24 h-24 mx-auto lg:w-6 lg:h-6"})],4),mA,bA,_A,yA]))),128))])]),H("div",xA,[U(Ye,null,{default:dt(()=>[U(Vh,null,{default:dt(()=>[(F(!0),Q(Ot,null,$n(T(l),f=>(F(),pt(Mi,{key:f,active:f===s.value,label:f+1,color:f===s.value?"lightDark":"whiteDark",small:"",onClick:h=>s.value=f},null,8,["active","label","color","onClick"]))),128))]),_:1}),H("small",null,"Page "+yt(T(a))+" of "+yt(T(o)),1)]),_:1})])],64))}},AA=H("th",null,"Game",-1),SA=H("th",null,"Goal",-1),MA={key:0},EA={key:1},RA={key:2},wA={key:3},IA={"data-label":"Game"},CA={"data-label":"Goal"},LA={key:0,"data-label":"Status"},TA={key:1,"data-label":"Result"},DA={key:2,"data-label":"Time Remaining"},kA={key:3,"data-label":"Deadline"},OA={class:"p-3 lg:px-6 border-t border-gray-100 dark:border-slate-800"},PA={__name:"TableGoals",props:{goals:{type:Object,required:!0},isPast:{type:Boolean,default:!1}},setup(e){const t=e,n=Kt(5),i=Kt(0),s=it(()=>t.goals.slice(n.value*i.value,n.value*(i.value+1))),r=it(()=>Math.ceil(t.goals.length/n.value)),o=it(()=>i.value+1),a=it(()=>{const l=[];for(let c=0;c(F(),Q(Ot,null,[H("table",null,[H("thead",null,[H("tr",null,[AA,SA,e.isPast?(F(),Q("th",EA,"Result")):(F(),Q("th",MA,"Status")),e.isPast?(F(),Q("th",wA,"Deadline")):(F(),Q("th",RA,"Time Remaining"))])]),H("tbody",null,[(F(!0),Q(Ot,null,$n(T(s),u=>(F(),Q("tr",{key:u.id,class:"border-b-[12px] lg:border-b-0"},[H("td",IA,yt(u.game),1),H("td",CA,yt(u.goal.replace("# of",u.value)),1),e.isPast?(F(),Q("td",TA,yt(u.status),1)):(F(),Q("td",LA,yt(u.status),1)),e.isPast?(F(),Q("td",kA,yt(u.deadline),1)):(F(),Q("td",DA,yt(u.deadline),1))]))),128))])]),H("div",OA,[U(Ye,null,{default:dt(()=>[U(Vh,null,{default:dt(()=>[(F(!0),Q(Ot,null,$n(T(a),u=>(F(),pt(Mi,{key:u,active:u===i.value,label:u+1,color:u===i.value?"lightDark":"whiteDark",small:"",onClick:d=>i.value=u},null,8,["active","label","color","onClick"]))),128))]),_:1}),H("small",null,"Page "+yt(T(o))+" of "+yt(T(r)),1)]),_:1})])],64))}},HA={class:"flex flex-col md:flex-row items-center"},NA={class:"text-center md:text-left md:py-2"},FA={__name:"NotificationBar",props:{icon:{type:String,default:null},outline:{type:Boolean,default:!0},color:{type:String,required:!0}},setup(e){const t=e,n=it(()=>t.outline?Hf[t.color]:Va[t.color]),i=Kt(!1),s=()=>{i.value=!0},r=wa(),o=it(()=>r.right);return(a,l)=>i.value?Rt("",!0):(F(),Q("div",{key:0,class:lt([T(n),"px-3 py-3 md:py-3 last:mb-0 border rounded-lg transition-colors duration-150"])},[U(Ye,null,{default:dt(()=>[H("div",HA,[e.icon?(F(),pt(ee,{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"])):Rt("",!0),H("span",NA,[jt(a.$slots,"default")])]),T(o)?jt(a.$slots,"right",{key:0}):(F(),pt(Mi,{key:1,icon:T(La),small:"","rounded-full":"",color:"white",onClick:s},null,8,["icon"]))]),_:3})],2))}},VA=H("h2",{class:"pb-4 text-4xl lg:text-5xl"},[Re("Welcome to "),H("samp",null,"PhaseII")],-1),BA={class:"my-6"},UA=H("a",{href:"#/news",class:"text-blue-300 hover:underline"},"View now",-1),$A={class:"grid grid-cols-1 gap-6 lg:grid-cols-3 mb-6"},zA={class:"grid grid-flow-row auto-rows-auto grid-cols-1 md:grid-cols-2 gap-5 mb-5"},jA={class:"mb-6"},XA={key:0},WA={__name:"HomeView",setup(e){const t=Kt(null),n=()=>{t.value=Jb()};vi(()=>{n()});const i=[{game:"DanceDance Revolution",type:"Rank",goal:"Top 10 Ranking",status:"#10 of 132",deadline:"3 Weeks"},{game:"pop'n music",type:"Plays",goal:"100 Plays",status:"2 Plays Since Creation",deadline:"1 Week"}],s=[{id:K.IIDX,username:"DJ. TRMAZI",type:"ranking",value:"#22 of 330"},{id:K.DDR,username:"TRMAZI",type:"scores",value:233},{id:K.POPN_MUSIC,username:"TRMAZI",type:"plays",value:69},{id:K.SDVX,username:"TRMAZI",type:"scores",value:420}];return(r,o)=>(F(),pt(fA,null,{default:dt(()=>[U(pv,null,{default:dt(()=>[VA,U(Yb,{class:"mb-6"}),H("div",BA,[U(FA,{color:"info"},{right:dt(()=>[UA]),default:dt(()=>[Re(" You have unread news! ")]),_:1})]),U(Hi,{icon:T(Jm),title:"Quick Stats",main:""},null,8,["icon"]),H("div",$A,[U(Lo,{trend:"12% (from last week)","trend-type":"up",number:37,label:"Scores (This week)"}),U(Lo,{trend:"12%","trend-type":"down",number:770,prefix:"\xA2",label:"PhaseCoin"}),U(Lo,{trend:"None Completed","trend-type":"alert",number:2,label:"Active Goals"})]),U(Hi,{icon:T(hf),title:"Game Stats",main:""},null,8,["icon"]),H("div",zA,[(F(),Q(Ot,null,$n(s,a=>U(Iv,{key:a.id,game:a.id,value:a.value,"profile-name":a.username,type:a.type},null,8,["game","value","profile-name","type"])),64))]),U(Hi,{icon:T(ff),title:"Active Goals",main:""},null,8,["icon"]),H("div",jA,[U(ii,{"has-table":""},{default:dt(()=>[U(PA,{goals:i})]),_:1})]),U(Hi,{icon:T(Zm),title:"Play Trends",main:""},{default:dt(()=>[U(Mi,{icon:T(u0),color:"whiteDark",onClick:n},null,8,["icon"])]),_:1},8,["icon"]),U(ii,{class:"mb-6"},{default:dt(()=>[U(je,{label:"Scores (7-Day Period)",color:"info",icon:T(gf)},null,8,["icon"]),t.value?(F(),Q("div",XA,[U(dv,{data:t.value,class:"h-96"},null,8,["data"])])):Rt("",!0)]),_:1}),U(Hi,{icon:T(zm),title:"Rivals",main:""},null,8,["icon"]),U(ii,{"has-table":""},{default:dt(()=>[U(vA)]),_:1})]),_:1})]),_:1}))}},GA=[{meta:{title:"Dashboard"},path:"/",name:"dashboard",component:WA},{meta:{title:"News"},path:"/news",name:"news",component:()=>kt(()=>import("./NewsView.5a505bb6.js"),["assets/NewsView.5a505bb6.js","assets/CardBoxComponentEmpty.79c377cf.js","assets/news.b9c16f1f.js"])},{meta:{title:"News Post"},path:"/news/:id",name:"news_post",component:()=>kt(()=>import("./PostView.08f86467.js"),["assets/PostView.08f86467.js","assets/news.b9c16f1f.js"])},{meta:{title:"Login"},path:"/auth/login",name:"login",component:()=>kt(()=>import("./LoginView.01ce0e9a.js"),["assets/LoginView.01ce0e9a.js","assets/FormCheckRadio.9c468987.js","assets/FormField.2697e642.js","assets/FormControl.6e614227.js","assets/LayoutGuest.3199b088.js","assets/LayoutGuest.6e2f6d80.css"])},{meta:{title:"Register"},path:"/auth/register",name:"register",component:()=>kt(()=>import("./RegisterView.f702ef47.js"),["assets/RegisterView.f702ef47.js","assets/FormCheckRadio.9c468987.js","assets/FormField.2697e642.js","assets/FormControl.6e614227.js","assets/LayoutGuest.3199b088.js","assets/LayoutGuest.6e2f6d80.css"])},{meta:{title:"Reset Password"},path:"/auth/reset",name:"reset_pass",component:()=>kt(()=>import("./ResetView.60bb4b8e.js"),["assets/ResetView.60bb4b8e.js","assets/FormField.2697e642.js","assets/FormControl.6e614227.js","assets/LayoutGuest.3199b088.js","assets/LayoutGuest.6e2f6d80.css"])},{meta:{title:"Profile"},path:"/profile",name:"profile",component:()=>kt(()=>import("./ProfileView.4ee36b0c.js"),["assets/ProfileView.4ee36b0c.js","assets/FormField.2697e642.js","assets/FormCheckRadio.9c468987.js","assets/FormControl.6e614227.js"])},{meta:{title:"Customizations"},path:"/profile/customize",name:"profile_customizations",component:()=>kt(()=>import("./CustomizeView.13ae1a7b.js"),["assets/CustomizeView.13ae1a7b.js","assets/FormControl.6e614227.js"])},{meta:{title:"Integrations"},path:"/profile/integrate",name:"profile_integrations",component:()=>kt(()=>import("./IntegrationView.68acc8af.js"),[])},{meta:{title:"Login Cards"},path:"/profile/cards",name:"profile_cards",component:()=>kt(()=>import("./CardsView.0f5779c4.js"),["assets/CardsView.0f5779c4.js","assets/userData.bcc92478.js"])},{meta:{title:"Goals"},path:"/goals",name:"profile_goals",component:()=>kt(()=>import("./GoalsView.2869a88b.js"),["assets/GoalsView.2869a88b.js","assets/FormControl.6e614227.js"])},{meta:{title:"View Profile"},path:"/profiles/:id",name:"profile_viewer",component:()=>kt(()=>import("./PublicView.fbb2b9a1.js"),[]),options:{hotReload:!0}},{meta:{title:"Public Arcades"},path:"/arcades",name:"arcade_list",component:()=>kt(()=>import("./ArcadesView.6d02468a.js"),["assets/ArcadesView.6d02468a.js","assets/CardBoxComponentEmpty.79c377cf.js","assets/area.7873ab93.js","assets/FormField.2697e642.js","assets/FormControl.6e614227.js"])},{meta:{title:"Arcade Overview"},path:"/arcade/:id",name:"arcade",component:()=>kt(()=>import("./ArcadeView.7f681125.js"),["assets/ArcadeView.7f681125.js","assets/ArcadeCard.68c754be.js","assets/area.7873ab93.js","assets/FormField.2697e642.js","assets/FormCheckRadio.9c468987.js","assets/FormControl.6e614227.js"])},{meta:{title:"Event Settings"},path:"/arcade/:id/events",name:"arcade_events",component:()=>kt(()=>import("./EventView.721c6f15.js"),["assets/EventView.721c6f15.js","assets/ArcadeCard.68c754be.js","assets/area.7873ab93.js","assets/FormField.2697e642.js","assets/FormControl.6e614227.js","assets/FormCheckRadio.9c468987.js"]),options:{hotReload:!0}},{meta:{title:"Machine List"},path:"/arcade/:id/machines",name:"arcade_machines",component:()=>kt(()=>import("./MachinesView.427410be.js"),["assets/MachinesView.427410be.js","assets/ArcadeCard.68c754be.js","assets/area.7873ab93.js","assets/CardBoxComponentEmpty.79c377cf.js"]),options:{hotReload:!0}},{meta:{title:"PASELI Transactions"},path:"/arcade/:id/paseli",name:"arcade_paseli",component:()=>kt(()=>import("./PaseliView.19135830.js"),["assets/PaseliView.19135830.js","assets/ArcadeCard.68c754be.js","assets/area.7873ab93.js","assets/CardBoxComponentEmpty.79c377cf.js"]),options:{hotReload:!0}},{meta:{title:"Game Overview"},path:"/games/:id/",name:"game_page",component:()=>kt(()=>import("./GameView.2b2917ce.js"),["assets/GameView.2b2917ce.js","assets/FormControl.6e614227.js","assets/ProfileCard.0f5ca27a.js","assets/userData.bcc92478.js"]),options:{hotReload:!0}},{meta:{title:"View Profile"},path:"/games/:game/profiles/:userID/",name:"game_profile",component:()=>kt(()=>import("./PlayerView.caafddab.js"),["assets/PlayerView.caafddab.js","assets/ProfileCard.0f5ca27a.js","assets/userData.bcc92478.js","assets/FormControl.6e614227.js"]),options:{hotReload:!0}},{meta:{title:"Edit Profile"},path:"/games/:game/profiles/:userID/edit",name:"edit_profile",component:()=>kt(()=>import("./EditView.96e34608.js"),["assets/EditView.96e34608.js","assets/ProfileCard.0f5ca27a.js","assets/userData.bcc92478.js","assets/FormField.2697e642.js","assets/FormCheckRadio.9c468987.js","assets/FormControl.6e614227.js"]),options:{hotReload:!0}},{meta:{title:"Rivals"},path:"/games/:game/rivals",name:"game_rivals",component:()=>kt(()=>import("./RivalsView.e55fd6d2.js"),["assets/RivalsView.e55fd6d2.js","assets/ProfileCard.0f5ca27a.js","assets/userData.bcc92478.js","assets/FormField.2697e642.js","assets/FormControl.6e614227.js"]),options:{hotReload:!0}},{meta:{title:"View Scores"},path:"/games/:game/scores/:userID",name:"personal_scores",component:()=>kt(()=>import("./PersonalScores.a81aa53f.js"),["assets/PersonalScores.a81aa53f.js","assets/TableScores.8dd72a70.js","assets/CardBoxComponentEmpty.79c377cf.js"]),options:{hotReload:!0}},{meta:{title:"Network Scores"},path:"/games/:game/scores",name:"all_scores",component:()=>kt(()=>import("./NetworkScores.7a411f8d.js"),["assets/NetworkScores.7a411f8d.js","assets/TableScores.8dd72a70.js","assets/CardBoxComponentEmpty.79c377cf.js"]),options:{hotReload:!0}},{meta:{title:"Error"},path:"/:catchAll(.*)",name:"ErrorPage",component:()=>kt(()=>import("./ErrorView.eb84ee8f.js"),["assets/ErrorView.eb84ee8f.js","assets/LayoutGuest.3199b088.js","assets/LayoutGuest.6e2f6d80.css"])}],Bh=Pm({history:Qg(),routes:GA,scrollBehavior(e,t,n){return n||{top:0}}});const Uh=Lg();wg(Fm).use(Bh).use(Uh).mount("#app");const $h=Si(Uh);$h.fetch("clients");$h.fetch("history");const zu="PhaseII eAmusement Network";Bh.afterEach(e=>{var t;document.title=(t=e.meta)!=null&&t.title?`${e.meta.title} \u2014 ${zu}`:zu});export{mS as $,gp as A,YA as B,Bt as C,lt as D,wa as E,Ot as F,jt as G,ee as H,Si as I,Kt as J,vi as K,Aa as L,xg as M,zl as N,Ei as O,Yb as P,Js as Q,je as R,Kv as S,Zs as T,fS as U,cS as V,nS as W,Re as X,f0 as Y,hS as Z,ii as _,U as a,xS as a0,Ym as a1,Lo as a2,PA as a3,lS as a4,ff as a5,aS as a6,Iv as a7,eS as a8,JA as a9,oS as aA,hf as aa,K as ab,Fb as ac,p0 as ad,vS as ae,Fn as af,bS as ag,Jm as ah,Ye as ai,gf as aj,_S as ak,dS as al,Vb as am,pS as an,Yo as ao,qA as ap,sS as aq,xv as ar,QA as as,ZA as at,rS as au,gS as av,uS as aw,tS as ax,c0 as ay,yS as az,H as b,Q as c,pt as d,fA as e,Hi as f,T as g,Rt as h,pv as i,Ib as j,Nm as k,Vh as l,l0 as m,cs as n,F as o,Mi as p,Gm as q,$n as r,xi as s,yt as t,cf as u,tA as v,dt as w,Um as x,iS as y,it as z}; diff --git a/assets/index.fbf905c7.css b/assets/index.fbf905c7.css new file mode 100644 index 0000000..f667f8d --- /dev/null +++ b/assets/index.fbf905c7.css @@ -0,0 +1 @@ +@keyframes fadeInUp{0%{transform:translate3d(0,10px,0)}to{transform:translateZ(0);opacity:1}}.animated{animation-duration:.7s;animation-fill-mode:both;-webkit-animation-duration:.7s;-webkit-animation-fill-mode:both}.animatedFadeInUp{opacity:0}.fadeInUp{opacity:0;animation-name:fadeInUp;-webkit-animation-name:fadeInUp}*,: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-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-2{margin-top:.5rem}.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-40{height:10rem}.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-20{width:5rem}.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}.content-center{align-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))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.place-self-center{place-self:center}.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}.scroll-smooth{scroll-behavior:smooth}.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-2xl{border-top-right-radius:1rem;border-bottom-right-radius:1rem}.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-b-2{border-bottom-width:2px}.border-b-\[12px\]{border-bottom-width:12px}.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-blue-700{--tw-border-opacity: 1;border-color:rgb(29 78 216 / 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-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-slate-900{--tw-bg-opacity: 1;background-color:rgb(15 23 42 / 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-bl{background-image:linear-gradient(to bottom left,var(--tw-gradient-stops))}.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-green-300{--tw-gradient-from: #86efac var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(134 239 172 / 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-blue-500{--tw-gradient-via-position: ;--tw-gradient-to: rgb(59 130 246 / 0) var(--tw-gradient-to-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), #3b82f6 var(--tw-gradient-via-position), 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-purple-600{--tw-gradient-to: #9333ea 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: }.bg-clip-text{-webkit-background-clip:text;background-clip:text}.p-0{padding:0}.p-1{padding:.25rem}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-5{padding:1.25rem}.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}.pb-6{padding-bottom:1.5rem}.pl-10{padding-left:2.5rem}.pl-2{padding-left:.5rem}.pr-12{padding-right:3rem}.pt-14{padding-top:3.5rem}.pt-2{padding-top:.5rem}.pt-4{padding-top:1rem}.pt-6{padding-top:1.5rem}.text-left{text-align:left}.text-center{text-align:center}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.text-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-normal{font-weight:400}.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-amber-600{--tw-text-opacity: 1;color:rgb(217 119 6 / var(--tw-text-opacity))}.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-cyan-500{--tw-text-opacity: 1;color:rgb(6 182 212 / 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-green-500{--tw-text-opacity: 1;color:rgb(34 197 94 / var(--tw-text-opacity))}.text-green-700{--tw-text-opacity: 1;color:rgb(21 128 61 / var(--tw-text-opacity))}.text-lime-500{--tw-text-opacity: 1;color:rgb(132 204 22 / var(--tw-text-opacity))}.text-orange-500{--tw-text-opacity: 1;color:rgb(249 115 22 / var(--tw-text-opacity))}.text-orange-600{--tw-text-opacity: 1;color:rgb(234 88 12 / var(--tw-text-opacity))}.text-pink-300{--tw-text-opacity: 1;color:rgb(249 168 212 / var(--tw-text-opacity))}.text-purple-500{--tw-text-opacity: 1;color:rgb(168 85 247 / var(--tw-text-opacity))}.text-purple-600{--tw-text-opacity: 1;color:rgb(147 51 234 / 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-red-700{--tw-text-opacity: 1;color:rgb(185 28 28 / var(--tw-text-opacity))}.text-sky-500{--tw-text-opacity: 1;color:rgb(14 165 233 / var(--tw-text-opacity))}.text-stone-400{--tw-text-opacity: 1;color:rgb(168 162 158 / var(--tw-text-opacity))}.text-transparent{color:transparent}.text-violet-600{--tw-text-opacity: 1;color:rgb(124 58 237 / var(--tw-text-opacity))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.text-white\/90{color:#ffffffe6}.text-yellow-400{--tw-text-opacity: 1;color:rgb(250 204 21 / 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))}.decoration-blue-700{text-decoration-color:#1d4ed8}.opacity-0{opacity:0}.opacity-100{opacity:1}.opacity-50{opacity:.5}.opacity-70{opacity:.7}.opacity-90{opacity:.9}.opacity-95{opacity:.95}.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)}.shadow-gray-900{--tw-shadow-color: #111827;--tw-shadow: var(--tw-shadow-colored)}.outline-none{outline:2px solid transparent;outline-offset:2px}.outline{outline-style:solid}.outline-1{outline-width:1px}.outline-blue-500\/50{outline-color:#3b82f680}.outline-gray-400{outline-color:#9ca3af}.outline-green-900\/50{outline-color:#14532d80}.outline-slate-800\/75{outline-color:#1e293bbf}.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)}.drop-shadow-md{--tw-drop-shadow: drop-shadow(0 4px 3px rgb(0 0 0 / .07)) drop-shadow(0 2px 2px rgb(0 0 0 / .06));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)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.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)}img{pointer-events:none}body{-webkit-user-select:none;-moz-user-select:none;user-select:none}.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-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-slate-900\/95){background-color:#0f172af2}: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-green-400){--tw-text-opacity: 1;color:rgb(74 222 128 / var(--tw-text-opacity))}:is(.dark .dark\:text-red-400){--tw-text-opacity: 1;color:rgb(248 113 113 / 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\/50){color:#ffffff80}:is(.dark .dark\:text-white\/75){color:#ffffffbf}:is(.dark .dark\:text-yellow-400){--tw-text-opacity: 1;color:rgb(250 204 21 / 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-slate-950):hover{--tw-bg-opacity: 1;background-color:rgb(2 6 23 / 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: 640px){.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\:text-lg{font-size:1.125rem;line-height:1.75rem}}@media (min-width: 768px){.md\:col-span-2{grid-column:span 2 / span 2}.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\:mt-0{margin-top:0}.md\:mt-5{margin-top:1.25rem}.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-1\/3{width:33.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\: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-3{grid-template-columns:repeat(3,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-end{justify-content:flex-end}.md\:justify-center{justify-content:center}.md\:justify-between{justify-content:space-between}.md\:gap-2{gap:.5rem}.md\:space-x-10>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(2.5rem * var(--tw-space-x-reverse));margin-left:calc(2.5rem * calc(1 - var(--tw-space-x-reverse)))}.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-none{border-radius:0}.md\:rounded-xl{border-radius:.75rem}.md\:border-r{border-right-width:1px}.md\:bg-slate-900{--tw-bg-opacity: 1;background-color:rgb(15 23 42 / var(--tw-bg-opacity))}.md\:px-5{padding-left:1.25rem;padding-right:1.25rem}.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-2xl{font-size:1.5rem;line-height:2rem}.md\:text-3xl{font-size:1.875rem;line-height:2.25rem}.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}.md\:drop-shadow-xl{--tw-drop-shadow: drop-shadow(0 20px 13px rgb(0 0 0 / .03)) drop-shadow(0 8px 5px rgb(0 0 0 / .08));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)}: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\: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-1\/3{width:33.333333%}.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-2{grid-template-columns:repeat(2,minmax(0,1fr))}.lg\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.lg\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.lg\:items-stretch{align-items:stretch}.lg\:justify-end{justify-content:flex-end}.lg\:justify-center{justify-content:center}.lg\:justify-between{justify-content:space-between}.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-lg{border-radius:.5rem}.lg\:border{border-width:1px}.lg\:border-b-0{border-bottom-width:0px}.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\: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-7xl{max-width:80rem}.xl\:pl-60{padding-left:15rem}} diff --git a/icon.gif b/icon.gif new file mode 100644 index 0000000..d6aedbf Binary files /dev/null and b/icon.gif differ diff --git a/index.html b/index.html index 1d171b0..bb735b6 100644 --- a/index.html +++ b/index.html @@ -7,8 +7,8 @@ PhaseWeb 3 - - + +