From 27f66117963a70b5156bb2696f3d6ef397e55207 Mon Sep 17 00:00:00 2001 From: Saleh Mir Date: Thu, 1 Aug 2024 15:57:26 +0330 Subject: [PATCH] fix --- jesse/__init__.py | 1 + jesse/controllers/__init__.py | 1 + jesse/static/200.html | 10 ++-- jesse/static/404.html | 10 ++-- .../static/_nuxt/{BL36lQOA.js => 1sxhQl7t.js} | 2 +- .../static/_nuxt/{BI9C6zDQ.js => 6GW7wvnw.js} | 2 +- .../static/_nuxt/{DLO8YH1b.js => BFK5Gmgx.js} | 2 +- .../static/_nuxt/{2PNEnup9.js => BLm-LuZL.js} | 52 +++++++++---------- .../static/_nuxt/{JlSuSJ_i.js => BYD3ggkR.js} | 2 +- .../static/_nuxt/{LsbTgTqC.js => BwlpUYSK.js} | 2 +- .../static/_nuxt/{DDYcsia7.js => BxzcziYC.js} | 2 +- .../static/_nuxt/{DxJpZQ0-.js => C8PppCWi.js} | 2 +- .../static/_nuxt/{LiW6fgIR.js => C9Hyr1fD.js} | 2 +- .../static/_nuxt/{DxOVKAr4.js => CJ4140l3.js} | 2 +- .../static/_nuxt/{CJSiWN06.js => CepOyCjx.js} | 2 +- .../static/_nuxt/{DRc3OcXn.js => CfpCwG3b.js} | 2 +- .../static/_nuxt/{CgqQK9ZY.js => CofKTKQw.js} | 2 +- .../static/_nuxt/{BQBo1FpP.js => Cri_WUA5.js} | 2 +- .../static/_nuxt/{TOGgOelM.js => Cuvv8N1X.js} | 2 +- .../static/_nuxt/{B4yYB889.js => D-JvFtWi.js} | 2 +- .../static/_nuxt/{D5Doxjjb.js => D7sWBv9M.js} | 2 +- .../static/_nuxt/{D_1umqD3.js => DChWJ3W5.js} | 2 +- .../static/_nuxt/{DvrbiQag.js => DdRxl-OG.js} | 2 +- .../static/_nuxt/{BZrOC2Bd.js => DmKvV_zz.js} | 2 +- .../static/_nuxt/{BtFtrakF.js => FAD0u1sW.js} | 2 +- jesse/static/_nuxt/builds/latest.json | 1 - .../0adfb589-7e83-4659-bd8b-14b5c610e508.json | 1 - jesse/static/_nuxt/builds/meta/dev.json | 1 - .../static/_nuxt/{DHQ7PzCl.js => fSx662--.js} | 2 +- .../static/_nuxt/{BYBZIia9.js => tugWi8BA.js} | 2 +- jesse/static/_payload.json | 2 +- jesse/static/index.html | 14 ++--- jesse/version.py | 2 +- setup.py | 2 +- 34 files changed, 70 insertions(+), 71 deletions(-) create mode 100644 jesse/controllers/__init__.py rename jesse/static/_nuxt/{BL36lQOA.js => 1sxhQl7t.js} (99%) rename jesse/static/_nuxt/{BI9C6zDQ.js => 6GW7wvnw.js} (96%) rename jesse/static/_nuxt/{DLO8YH1b.js => BFK5Gmgx.js} (82%) rename jesse/static/_nuxt/{2PNEnup9.js => BLm-LuZL.js} (52%) rename jesse/static/_nuxt/{JlSuSJ_i.js => BYD3ggkR.js} (77%) rename jesse/static/_nuxt/{LsbTgTqC.js => BwlpUYSK.js} (98%) rename jesse/static/_nuxt/{DDYcsia7.js => BxzcziYC.js} (80%) rename jesse/static/_nuxt/{DxJpZQ0-.js => C8PppCWi.js} (99%) rename jesse/static/_nuxt/{LiW6fgIR.js => C9Hyr1fD.js} (77%) rename jesse/static/_nuxt/{DxOVKAr4.js => CJ4140l3.js} (73%) rename jesse/static/_nuxt/{CJSiWN06.js => CepOyCjx.js} (97%) rename jesse/static/_nuxt/{DRc3OcXn.js => CfpCwG3b.js} (93%) rename jesse/static/_nuxt/{CgqQK9ZY.js => CofKTKQw.js} (97%) rename jesse/static/_nuxt/{BQBo1FpP.js => Cri_WUA5.js} (81%) rename jesse/static/_nuxt/{TOGgOelM.js => Cuvv8N1X.js} (77%) rename jesse/static/_nuxt/{B4yYB889.js => D-JvFtWi.js} (98%) rename jesse/static/_nuxt/{D5Doxjjb.js => D7sWBv9M.js} (97%) rename jesse/static/_nuxt/{D_1umqD3.js => DChWJ3W5.js} (56%) rename jesse/static/_nuxt/{DvrbiQag.js => DdRxl-OG.js} (96%) rename jesse/static/_nuxt/{BZrOC2Bd.js => DmKvV_zz.js} (97%) rename jesse/static/_nuxt/{BtFtrakF.js => FAD0u1sW.js} (98%) delete mode 100644 jesse/static/_nuxt/builds/latest.json delete mode 100644 jesse/static/_nuxt/builds/meta/0adfb589-7e83-4659-bd8b-14b5c610e508.json delete mode 100644 jesse/static/_nuxt/builds/meta/dev.json rename jesse/static/_nuxt/{DHQ7PzCl.js => fSx662--.js} (99%) rename jesse/static/_nuxt/{BYBZIia9.js => tugWi8BA.js} (98%) diff --git a/jesse/__init__.py b/jesse/__init__.py index beef795eb..8f6ad1d6b 100644 --- a/jesse/__init__.py +++ b/jesse/__init__.py @@ -48,6 +48,7 @@ def validate_cwd() -> None: JESSE_DIR = pkg_resources.resource_filename(__name__, '') +print('JESSE_DIR:', JESSE_DIR) # load homepage diff --git a/jesse/controllers/__init__.py b/jesse/controllers/__init__.py new file mode 100644 index 000000000..eeb63f017 --- /dev/null +++ b/jesse/controllers/__init__.py @@ -0,0 +1 @@ +from .exchange_info import get_exchange_supported_symbols diff --git a/jesse/static/200.html b/jesse/static/200.html index 6c2017d95..f91a0c59f 100644 --- a/jesse/static/200.html +++ b/jesse/static/200.html @@ -7,12 +7,12 @@ - + - - - -
\ No newline at end of file diff --git a/jesse/static/404.html b/jesse/static/404.html index 6c2017d95..f91a0c59f 100644 --- a/jesse/static/404.html +++ b/jesse/static/404.html @@ -7,12 +7,12 @@ - + - - - -
\ No newline at end of file diff --git a/jesse/static/_nuxt/BL36lQOA.js b/jesse/static/_nuxt/1sxhQl7t.js similarity index 99% rename from jesse/static/_nuxt/BL36lQOA.js rename to jesse/static/_nuxt/1sxhQl7t.js index ed258c3f3..94c433be3 100644 --- a/jesse/static/_nuxt/BL36lQOA.js +++ b/jesse/static/_nuxt/1sxhQl7t.js @@ -1 +1 @@ -import{o as s,c as l,a as t,g as U,x as w,t as $,n as v,k as a,p as ee,f as te,_ as T,C as oe,D as I,E as z,G as J,X as D,H as se,I as ae,J as N,K as ne,L as y,M as f,O as i,N as B,d as P,F as L,i as R,j,an as re,ao as le,a3 as ie,P as de,a9 as ce,r as A,b as c,w as M,S as ue,l as pe,v as ge,a5 as me,V as S,ai as fe,ab as he,Z as be,$ as ve,ac as ye,W as ke}from"./2PNEnup9.js";function _e(e,o){return s(),l("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[t("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M15.666 3.888A2.25 2.25 0 0 0 13.5 2.25h-3c-1.03 0-1.9.693-2.166 1.638m7.332 0c.055.194.084.4.084.612v0a.75.75 0 0 1-.75.75H9a.75.75 0 0 1-.75-.75v0c0-.212.03-.418.084-.612m7.332 0c.646.049 1.288.11 1.927.184 1.1.128 1.907 1.077 1.907 2.185V19.5a2.25 2.25 0 0 1-2.25 2.25H6.75A2.25 2.25 0 0 1 4.5 19.5V6.257c0-1.108.806-2.057 1.907-2.185a48.208 48.208 0 0 1 1.927-.184"})])}function we(e,o){return s(),l("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[t("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M3 3v1.5M3 21v-6m0 0 2.77-.693a9 9 0 0 1 6.208.682l.108.054a9 9 0 0 0 6.086.71l3.114-.732a48.524 48.524 0 0 1-.005-10.499l-3.11.732a9 9 0 0 1-6.085-.711l-.108-.054a9 9 0 0 0-6.208-.682L3 4.5M3 15V4.5"})])}function $e(e,o){return s(),l("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[t("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m9.75 9.75 4.5 4.5m0-4.5-4.5 4.5M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"})])}const xe={wrapper:"w-full relative overflow-hidden",inner:"w-0 flex-1",title:"text-sm font-medium",description:"mt-1 text-sm leading-4 opacity-90",actions:"flex items-center gap-2 mt-3 flex-shrink-0",shadow:"",rounded:"rounded-lg",padding:"p-4",gap:"gap-3",icon:{base:"flex-shrink-0 w-5 h-5"},avatar:{base:"flex-shrink-0 self-center",size:"md"},color:{white:{solid:"text-gray-900 dark:text-white bg-white dark:bg-gray-900 ring-1 ring-gray-200 dark:ring-gray-800"}},variant:{solid:"bg-{color}-500 dark:bg-{color}-400 text-white dark:text-gray-900",outline:"text-{color}-500 dark:text-{color}-400 ring-1 ring-inset ring-{color}-500 dark:ring-{color}-400",soft:"bg-{color}-50 dark:bg-{color}-400 dark:bg-opacity-10 text-{color}-500 dark:text-{color}-400",subtle:"bg-{color}-50 dark:bg-{color}-400 dark:bg-opacity-10 text-{color}-500 dark:text-{color}-400 ring-1 ring-inset ring-{color}-500 dark:ring-{color}-400 ring-opacity-25 dark:ring-opacity-25"},default:{color:"white",variant:"solid",icon:null,closeButton:null,actionButton:{size:"xs",color:"primary",variant:"link"}}},Ce=e=>(ee("data-v-88f4951a"),e=e(),te(),e),Be=Ce(()=>t("div",{class:"left-half-clipper"},[t("div",{class:"first50-bar"}),t("div",{class:"value-bar"})],-1)),Me=U({__name:"CircleProgressbar",props:{progress:{}},setup(e){const o=e,d=w(()=>{let u="progress-circle";return o.progress>50&&(u+=" over50"),u+=` p${Math.round(o.progress)}`,u});return(u,x)=>(s(),l("div",{class:v(a(d))},[t("span",null,$(u.progress)+"%",1),Be],2))}}),nt=T(Me,[["__scopeId","data-v-88f4951a"]]),h=oe(I.ui.strategy,I.ui.alert,xe),Ve=U({components:{UIcon:z,UAvatar:J,UButton:D},inheritAttrs:!1,props:{title:{type:String,default:null},description:{type:String,default:null},icon:{type:String,default:()=>h.default.icon},avatar:{type:Object,default:null},closeButton:{type:Object,default:()=>h.default.closeButton},actions:{type:Array,default:()=>[]},color:{type:String,default:()=>h.default.color,validator(e){return[...I.ui.colors,...Object.keys(h.color)].includes(e)}},variant:{type:String,default:()=>h.default.variant,validator(e){return[...Object.keys(h.variant),...Object.values(h.color).flatMap(o=>Object.keys(o))].includes(e)}},class:{type:[String,Object,Array],default:()=>""},ui:{type:Object,default:()=>({})}},emits:["close"],setup(e){const{ui:o,attrs:d}=se("alert",ae(e,"ui"),h),u=w(()=>{var k,g;const n=((g=(k=o.value.color)==null?void 0:k[e.color])==null?void 0:g[e.variant])||o.value.variant[e.variant];return N(ne(o.value.wrapper,o.value.rounded,o.value.shadow,o.value.padding,n==null?void 0:n.replaceAll("{color}",e.color)),e.class)});function x(n){n.click&&n.click()}return{ui:o,attrs:d,alertClass:u,onAction:x,twMerge:N}}});function Se(e,o,d,u,x,n){const k=z,g=J,b=D;return s(),l("div",B({class:e.alertClass},e.attrs),[t("div",{class:v(["flex",[e.ui.gap,{"items-start":e.description||e.$slots.description,"items-center":!e.description&&!e.$slots.description}]])},[y(e.$slots,"icon",{icon:e.icon},()=>[e.icon?(s(),f(k,{key:0,name:e.icon,ui:e.ui.icon.base},null,8,["name","ui"])):i("",!0)]),y(e.$slots,"avatar",{avatar:e.avatar},()=>[e.avatar?(s(),f(g,B({key:0},{size:e.ui.avatar.size,...e.avatar},{class:e.ui.avatar.base}),null,16,["class"])):i("",!0)]),t("div",{class:v(e.ui.inner)},[e.title||e.$slots.title?(s(),l("p",{key:0,class:v(e.ui.title)},[y(e.$slots,"title",{title:e.title},()=>[P($(e.title),1)])],2)):i("",!0),e.description||e.$slots.description?(s(),l("p",{key:1,class:v(e.twMerge(e.ui.description,!(e.title&&e.$slots.title)&&"mt-0 leading-5"))},[y(e.$slots,"description",{description:e.description},()=>[P($(e.description),1)])],2)):i("",!0),(e.description||e.$slots.description)&&e.actions.length?(s(),l("div",{key:2,class:v(e.ui.actions)},[(s(!0),l(L,null,R(e.actions,(p,C)=>(s(),f(b,B({key:C},{...e.ui.default.actionButton||{},...p},{onClick:j(V=>e.onAction(p),["stop"])}),null,16,["onClick"]))),128))],2)):i("",!0)],2),e.closeButton||!e.description&&!e.$slots.description&&e.actions.length?(s(),l("div",{key:0,class:v(e.twMerge(e.ui.actions,"mt-0"))},[!e.description&&!e.$slots.description&&e.actions.length?(s(!0),l(L,{key:0},R(e.actions,(p,C)=>(s(),f(b,B({key:C},{...e.ui.default.actionButton||{},...p},{onClick:j(V=>e.onAction(p),["stop"])}),null,16,["onClick"]))),128)):i("",!0),e.closeButton?(s(),f(b,B({key:1,"aria-label":"Close"},{...e.ui.default.closeButton||{},...e.closeButton},{onClick:o[0]||(o[0]=j(p=>e.$emit("close"),["stop"]))}),null,16)):i("",!0)],2)):i("",!0)],2)],16)}const Ue=T(Ve,[["render",Se]]),je={class:"w-full flex justify-between items-center"},Ae=["textContent"],Ie=t("div",{class:"w-full flex items-center","aria-hidden":"true"},[t("div",{class:"w-full border-t-2 border-dashed border-gray-300 dark:border-gray-600"})],-1),Le={class:"whitespace-nowrap ml-2"},Te=U({__name:"DividerWithButtons",props:{title:{}},setup(e){return(o,d)=>(s(),l("div",je,[t("span",{class:"pr-3 bg-gray-50 dark:bg-backdrop-dark text-lg font-semibold text-gray-900 dark:text-gray-200",textContent:$(o.title)},null,8,Ae),Ie,t("span",Le,[y(o.$slots,"default")])]))}}),De={key:0,class:"mb-4"},Oe=t("p",null," If the exception you're seeing is not clear and you think it might be a bug, please send us a report to help us debugging and fixing it in a future release. ",-1),Ee=t("br",null,null,-1),He=t("label",{class:"font-semibold"},"Exception:",-1),Ne=["innerHTML"],Pe={class:"flex justify-end"},Re=t("span",null,"Report",-1),ze={class:"rounded-md bg-red-50 p-4 my-4 select-text"},Je={class:"flex"},Fe={class:"flex-shrink-0"},We={class:"ml-3 overflow-hidden w-full"},Ge=["textContent"],Ze=["innerHTML"],qe=["value"],rt=U({__name:"Exception",props:re({title:String,content:{type:String,default:""},mode:String,debugMode:{type:Boolean,default:!1}},{modelValue:{type:Boolean,default:!1},modelModifiers:{}}),emits:["update:modelValue"],setup(e){const o=e,d=le(e,"modelValue"),u=w(()=>ie().params.id),x=de(),n=ce({description:"",attachLogs:!0,email:""}),k=A(!1),g=A(!1),b=A(!1),p=w(()=>o.mode==="backtest"&&!o.debugMode?{message:'It is highly recommended to attach log files with reports. To do that, press cancel, enable "Debug Mode", and run again. ',type:"warning"}:{message:"",type:""}),C=w(()=>o.mode==="backtest"&&o.debugMode||o.mode==="live"),V=w(()=>x.hasLivePluginInstalled),F=async()=>{b.value=!0;const{data:O,error:r}=await me("/report-exception",{description:n.description,email:n.email,traceback:o.content,mode:o.mode,attach_logs:n.attachLogs,session_id:u},!0);if(b.value=!1,r.value&&r.value.statusCode!==200){S("error",`[${r.value.statusCode}]: ${r.value.message}`);return}const _=O.value;_.data.status==="success"?(n.description="",n.email="",S("success",_.data.message),d.value=!1):_.data.status==="error"&&S("error",_.data.message)},W=()=>{navigator.clipboard.writeText(o.content),S("success","Copied successfully"),g.value=!0,setTimeout(()=>{g.value=!1},2e3)},G=()=>{d.value=!0};return(O,r)=>{const _=Ue,Z=fe,E=he,q=be,K=ve,H=D,X=ye,Q=ke,Y=Te;return s(),l(L,null,[c(Q,{modelValue:d.value,"onUpdate:modelValue":r[5]||(r[5]=m=>d.value=m),title:"Report"},{default:M(()=>[a(p).message?(s(),l("div",De,[c(_,{color:"teal",icon:"i-heroicons-check-circle",title:a(p).message,"close-button":{icon:"i-heroicons-x-mark-20-solid",color:"white",variant:"link"},onClose:r[0]||(r[0]=m=>a(p).message="")},null,8,["title"])])):i("",!0),Oe,Ee,He,t("pre",{class:"break-all lg:break-normal mt-2 text-sm whitespace-pre-line px-6 py-6 rounded-md bg-gray-50 dark:bg-gray-700 text-gray-700 dark:text-gray-300 dark:border-gray-800 border border-gray-200",innerHTML:e.content},null,8,Ne),c(X,{state:a(n),class:"space-y-4 mt-4",onSubmit:F},{default:M(()=>[c(E,{label:"Description (optional):",name:"Description (optional):"},{default:M(()=>[c(Z,{modelValue:a(n).description,"onUpdate:modelValue":r[1]||(r[1]=m=>a(n).description=m),rows:10,placeholder:"Describe how the exception occurred..."},null,8,["modelValue"])]),_:1}),a(V)?i("",!0):(s(),f(E,{key:0,label:"Email (must be registered with on Jesse.Trade)",help:"Enter your email address for us to know who sent the feedback and possibly reply back to you. It must be the email address of your account on Jesse.Trade",required:""},{default:M(()=>[c(q,{modelValue:a(n).email,"onUpdate:modelValue":r[2]||(r[2]=m=>a(n).email=m),placeholder:"Email address...",type:"email"},null,8,["modelValue"])]),_:1})),a(C)?(s(),f(K,{key:1,modelValue:a(n).attachLogs,"onUpdate:modelValue":r[3]||(r[3]=m=>a(n).attachLogs=m),title:"Attach Debugging Logs",help:"Attach the log file of this session along with this report which helps Jesse's team"},null,8,["modelValue"])):i("",!0),t("div",Pe,[c(H,{id:"feedback-cancel-button",color:"gray",variant:"link",class:"mr-8",label:"Cancel",onClick:r[4]||(r[4]=m=>d.value=!1)}),c(H,{id:"feedback-submit-button",type:"submit",class:"w-48 flex justify-center",label:"Submit",loading:a(b),disabled:!a(n).description.length||!a(n).email.length&&!a(V)},null,8,["loading","disabled"])])]),_:1},8,["state"])]),_:1},8,["modelValue"]),c(Y,{title:"Exception"},{default:M(()=>[t("button",{type:"button",class:"inline-flex items-center shadow-sm px-4 py-1.5 border border-gray-300 dark:border-gray-600 text-sm leading-5 font-medium rounded-l-full text-gray-700 dark:text-gray-100 bg-white dark:bg-backdrop-dark hover:bg-gray-50 dark:hover:bg-gray-800 focus:outline-none",onClick:G},[c(a(we),{class:"-ml-1.5 mr-1 h-5 w-5 text-gray-400","aria-hidden":"true"}),Re]),t("button",{type:"button",class:"inline-flex items-center shadow-sm px-4 py-1.5 border border-gray-300 dark:border-gray-600 text-sm leading-5 font-medium rounded-r-full text-gray-700 dark:text-gray-100 bg-white dark:bg-backdrop-dark hover:bg-gray-50 dark:hover:bg-gray-800 focus:outline-none",onClick:W},[a(g)?(s(),f(a(ue),{key:0,class:"-ml-1.5 mr-1 h-5 w-5 text-gray-400","aria-hidden":"true"})):(s(),f(a(_e),{key:1,class:"-ml-1.5 mr-1 h-5 w-5 text-gray-400","aria-hidden":"true"})),t("span",null,$(a(g)?"Copied":"Copy"),1)])]),_:1}),t("div",ze,[t("div",Je,[t("div",Fe,[c(a($e),{class:"h-5 w-5 text-red-400","aria-hidden":"true"})]),t("div",We,[t("h3",{class:"text-base font-medium text-red-800 mb-6",textContent:$(e.title)},null,8,Ge),e.content?(s(),l("pre",{key:0,class:"mt-2 text-sm text-red-700 whitespace-pre-line px-6 py-6 rounded-md border-2 border-dashed border-red-200",innerHTML:e.content},null,8,Ze)):i("",!0)])]),pe(t("textarea",{id:"exception-info",value:e.content,class:"fixed left-0 bottom-0 opacity-0"},null,8,qe),[[ge,a(k)]])])],64)}}}),Ke={},Xe={class:"grid grid-cols-1 gap-4 items-start lg:grid-cols-3 p-6"},Qe={class:"grid grid-cols-1 gap-4 lg:col-span-2 px-1"},Ye={"aria-labelledby":"section-1-title"},et={class:"rounded-lg"},tt={class:"grid grid-cols-1 gap-4"},ot={"aria-labelledby":"section-2-title"};function st(e,o){return s(),l("div",Xe,[t("div",Qe,[t("section",Ye,[t("div",et,[y(e.$slots,"left")])])]),t("div",tt,[t("section",ot,[y(e.$slots,"right")])])])}const lt=T(Ke,[["render",st]]);export{nt as _,rt as a,lt as b,Ue as c,Te as d,_e as r}; +import{o as s,c as l,a as t,g as U,x as w,t as $,n as v,k as a,p as ee,f as te,_ as T,C as oe,D as I,E as z,G as J,X as D,H as se,I as ae,J as N,K as ne,L as y,M as f,O as i,N as B,d as P,F as L,i as R,j,an as re,ao as le,a3 as ie,P as de,a9 as ce,r as A,b as c,w as M,S as ue,l as pe,v as ge,a5 as me,V as S,ai as fe,ab as he,Z as be,$ as ve,ac as ye,W as ke}from"./BLm-LuZL.js";function _e(e,o){return s(),l("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[t("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M15.666 3.888A2.25 2.25 0 0 0 13.5 2.25h-3c-1.03 0-1.9.693-2.166 1.638m7.332 0c.055.194.084.4.084.612v0a.75.75 0 0 1-.75.75H9a.75.75 0 0 1-.75-.75v0c0-.212.03-.418.084-.612m7.332 0c.646.049 1.288.11 1.927.184 1.1.128 1.907 1.077 1.907 2.185V19.5a2.25 2.25 0 0 1-2.25 2.25H6.75A2.25 2.25 0 0 1 4.5 19.5V6.257c0-1.108.806-2.057 1.907-2.185a48.208 48.208 0 0 1 1.927-.184"})])}function we(e,o){return s(),l("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[t("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M3 3v1.5M3 21v-6m0 0 2.77-.693a9 9 0 0 1 6.208.682l.108.054a9 9 0 0 0 6.086.71l3.114-.732a48.524 48.524 0 0 1-.005-10.499l-3.11.732a9 9 0 0 1-6.085-.711l-.108-.054a9 9 0 0 0-6.208-.682L3 4.5M3 15V4.5"})])}function $e(e,o){return s(),l("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[t("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m9.75 9.75 4.5 4.5m0-4.5-4.5 4.5M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"})])}const xe={wrapper:"w-full relative overflow-hidden",inner:"w-0 flex-1",title:"text-sm font-medium",description:"mt-1 text-sm leading-4 opacity-90",actions:"flex items-center gap-2 mt-3 flex-shrink-0",shadow:"",rounded:"rounded-lg",padding:"p-4",gap:"gap-3",icon:{base:"flex-shrink-0 w-5 h-5"},avatar:{base:"flex-shrink-0 self-center",size:"md"},color:{white:{solid:"text-gray-900 dark:text-white bg-white dark:bg-gray-900 ring-1 ring-gray-200 dark:ring-gray-800"}},variant:{solid:"bg-{color}-500 dark:bg-{color}-400 text-white dark:text-gray-900",outline:"text-{color}-500 dark:text-{color}-400 ring-1 ring-inset ring-{color}-500 dark:ring-{color}-400",soft:"bg-{color}-50 dark:bg-{color}-400 dark:bg-opacity-10 text-{color}-500 dark:text-{color}-400",subtle:"bg-{color}-50 dark:bg-{color}-400 dark:bg-opacity-10 text-{color}-500 dark:text-{color}-400 ring-1 ring-inset ring-{color}-500 dark:ring-{color}-400 ring-opacity-25 dark:ring-opacity-25"},default:{color:"white",variant:"solid",icon:null,closeButton:null,actionButton:{size:"xs",color:"primary",variant:"link"}}},Ce=e=>(ee("data-v-88f4951a"),e=e(),te(),e),Be=Ce(()=>t("div",{class:"left-half-clipper"},[t("div",{class:"first50-bar"}),t("div",{class:"value-bar"})],-1)),Me=U({__name:"CircleProgressbar",props:{progress:{}},setup(e){const o=e,d=w(()=>{let u="progress-circle";return o.progress>50&&(u+=" over50"),u+=` p${Math.round(o.progress)}`,u});return(u,x)=>(s(),l("div",{class:v(a(d))},[t("span",null,$(u.progress)+"%",1),Be],2))}}),nt=T(Me,[["__scopeId","data-v-88f4951a"]]),h=oe(I.ui.strategy,I.ui.alert,xe),Ve=U({components:{UIcon:z,UAvatar:J,UButton:D},inheritAttrs:!1,props:{title:{type:String,default:null},description:{type:String,default:null},icon:{type:String,default:()=>h.default.icon},avatar:{type:Object,default:null},closeButton:{type:Object,default:()=>h.default.closeButton},actions:{type:Array,default:()=>[]},color:{type:String,default:()=>h.default.color,validator(e){return[...I.ui.colors,...Object.keys(h.color)].includes(e)}},variant:{type:String,default:()=>h.default.variant,validator(e){return[...Object.keys(h.variant),...Object.values(h.color).flatMap(o=>Object.keys(o))].includes(e)}},class:{type:[String,Object,Array],default:()=>""},ui:{type:Object,default:()=>({})}},emits:["close"],setup(e){const{ui:o,attrs:d}=se("alert",ae(e,"ui"),h),u=w(()=>{var k,g;const n=((g=(k=o.value.color)==null?void 0:k[e.color])==null?void 0:g[e.variant])||o.value.variant[e.variant];return N(ne(o.value.wrapper,o.value.rounded,o.value.shadow,o.value.padding,n==null?void 0:n.replaceAll("{color}",e.color)),e.class)});function x(n){n.click&&n.click()}return{ui:o,attrs:d,alertClass:u,onAction:x,twMerge:N}}});function Se(e,o,d,u,x,n){const k=z,g=J,b=D;return s(),l("div",B({class:e.alertClass},e.attrs),[t("div",{class:v(["flex",[e.ui.gap,{"items-start":e.description||e.$slots.description,"items-center":!e.description&&!e.$slots.description}]])},[y(e.$slots,"icon",{icon:e.icon},()=>[e.icon?(s(),f(k,{key:0,name:e.icon,ui:e.ui.icon.base},null,8,["name","ui"])):i("",!0)]),y(e.$slots,"avatar",{avatar:e.avatar},()=>[e.avatar?(s(),f(g,B({key:0},{size:e.ui.avatar.size,...e.avatar},{class:e.ui.avatar.base}),null,16,["class"])):i("",!0)]),t("div",{class:v(e.ui.inner)},[e.title||e.$slots.title?(s(),l("p",{key:0,class:v(e.ui.title)},[y(e.$slots,"title",{title:e.title},()=>[P($(e.title),1)])],2)):i("",!0),e.description||e.$slots.description?(s(),l("p",{key:1,class:v(e.twMerge(e.ui.description,!(e.title&&e.$slots.title)&&"mt-0 leading-5"))},[y(e.$slots,"description",{description:e.description},()=>[P($(e.description),1)])],2)):i("",!0),(e.description||e.$slots.description)&&e.actions.length?(s(),l("div",{key:2,class:v(e.ui.actions)},[(s(!0),l(L,null,R(e.actions,(p,C)=>(s(),f(b,B({key:C},{...e.ui.default.actionButton||{},...p},{onClick:j(V=>e.onAction(p),["stop"])}),null,16,["onClick"]))),128))],2)):i("",!0)],2),e.closeButton||!e.description&&!e.$slots.description&&e.actions.length?(s(),l("div",{key:0,class:v(e.twMerge(e.ui.actions,"mt-0"))},[!e.description&&!e.$slots.description&&e.actions.length?(s(!0),l(L,{key:0},R(e.actions,(p,C)=>(s(),f(b,B({key:C},{...e.ui.default.actionButton||{},...p},{onClick:j(V=>e.onAction(p),["stop"])}),null,16,["onClick"]))),128)):i("",!0),e.closeButton?(s(),f(b,B({key:1,"aria-label":"Close"},{...e.ui.default.closeButton||{},...e.closeButton},{onClick:o[0]||(o[0]=j(p=>e.$emit("close"),["stop"]))}),null,16)):i("",!0)],2)):i("",!0)],2)],16)}const Ue=T(Ve,[["render",Se]]),je={class:"w-full flex justify-between items-center"},Ae=["textContent"],Ie=t("div",{class:"w-full flex items-center","aria-hidden":"true"},[t("div",{class:"w-full border-t-2 border-dashed border-gray-300 dark:border-gray-600"})],-1),Le={class:"whitespace-nowrap ml-2"},Te=U({__name:"DividerWithButtons",props:{title:{}},setup(e){return(o,d)=>(s(),l("div",je,[t("span",{class:"pr-3 bg-gray-50 dark:bg-backdrop-dark text-lg font-semibold text-gray-900 dark:text-gray-200",textContent:$(o.title)},null,8,Ae),Ie,t("span",Le,[y(o.$slots,"default")])]))}}),De={key:0,class:"mb-4"},Oe=t("p",null," If the exception you're seeing is not clear and you think it might be a bug, please send us a report to help us debugging and fixing it in a future release. ",-1),Ee=t("br",null,null,-1),He=t("label",{class:"font-semibold"},"Exception:",-1),Ne=["innerHTML"],Pe={class:"flex justify-end"},Re=t("span",null,"Report",-1),ze={class:"rounded-md bg-red-50 p-4 my-4 select-text"},Je={class:"flex"},Fe={class:"flex-shrink-0"},We={class:"ml-3 overflow-hidden w-full"},Ge=["textContent"],Ze=["innerHTML"],qe=["value"],rt=U({__name:"Exception",props:re({title:String,content:{type:String,default:""},mode:String,debugMode:{type:Boolean,default:!1}},{modelValue:{type:Boolean,default:!1},modelModifiers:{}}),emits:["update:modelValue"],setup(e){const o=e,d=le(e,"modelValue"),u=w(()=>ie().params.id),x=de(),n=ce({description:"",attachLogs:!0,email:""}),k=A(!1),g=A(!1),b=A(!1),p=w(()=>o.mode==="backtest"&&!o.debugMode?{message:'It is highly recommended to attach log files with reports. To do that, press cancel, enable "Debug Mode", and run again. ',type:"warning"}:{message:"",type:""}),C=w(()=>o.mode==="backtest"&&o.debugMode||o.mode==="live"),V=w(()=>x.hasLivePluginInstalled),F=async()=>{b.value=!0;const{data:O,error:r}=await me("/report-exception",{description:n.description,email:n.email,traceback:o.content,mode:o.mode,attach_logs:n.attachLogs,session_id:u},!0);if(b.value=!1,r.value&&r.value.statusCode!==200){S("error",`[${r.value.statusCode}]: ${r.value.message}`);return}const _=O.value;_.data.status==="success"?(n.description="",n.email="",S("success",_.data.message),d.value=!1):_.data.status==="error"&&S("error",_.data.message)},W=()=>{navigator.clipboard.writeText(o.content),S("success","Copied successfully"),g.value=!0,setTimeout(()=>{g.value=!1},2e3)},G=()=>{d.value=!0};return(O,r)=>{const _=Ue,Z=fe,E=he,q=be,K=ve,H=D,X=ye,Q=ke,Y=Te;return s(),l(L,null,[c(Q,{modelValue:d.value,"onUpdate:modelValue":r[5]||(r[5]=m=>d.value=m),title:"Report"},{default:M(()=>[a(p).message?(s(),l("div",De,[c(_,{color:"teal",icon:"i-heroicons-check-circle",title:a(p).message,"close-button":{icon:"i-heroicons-x-mark-20-solid",color:"white",variant:"link"},onClose:r[0]||(r[0]=m=>a(p).message="")},null,8,["title"])])):i("",!0),Oe,Ee,He,t("pre",{class:"break-all lg:break-normal mt-2 text-sm whitespace-pre-line px-6 py-6 rounded-md bg-gray-50 dark:bg-gray-700 text-gray-700 dark:text-gray-300 dark:border-gray-800 border border-gray-200",innerHTML:e.content},null,8,Ne),c(X,{state:a(n),class:"space-y-4 mt-4",onSubmit:F},{default:M(()=>[c(E,{label:"Description (optional):",name:"Description (optional):"},{default:M(()=>[c(Z,{modelValue:a(n).description,"onUpdate:modelValue":r[1]||(r[1]=m=>a(n).description=m),rows:10,placeholder:"Describe how the exception occurred..."},null,8,["modelValue"])]),_:1}),a(V)?i("",!0):(s(),f(E,{key:0,label:"Email (must be registered with on Jesse.Trade)",help:"Enter your email address for us to know who sent the feedback and possibly reply back to you. It must be the email address of your account on Jesse.Trade",required:""},{default:M(()=>[c(q,{modelValue:a(n).email,"onUpdate:modelValue":r[2]||(r[2]=m=>a(n).email=m),placeholder:"Email address...",type:"email"},null,8,["modelValue"])]),_:1})),a(C)?(s(),f(K,{key:1,modelValue:a(n).attachLogs,"onUpdate:modelValue":r[3]||(r[3]=m=>a(n).attachLogs=m),title:"Attach Debugging Logs",help:"Attach the log file of this session along with this report which helps Jesse's team"},null,8,["modelValue"])):i("",!0),t("div",Pe,[c(H,{id:"feedback-cancel-button",color:"gray",variant:"link",class:"mr-8",label:"Cancel",onClick:r[4]||(r[4]=m=>d.value=!1)}),c(H,{id:"feedback-submit-button",type:"submit",class:"w-48 flex justify-center",label:"Submit",loading:a(b),disabled:!a(n).description.length||!a(n).email.length&&!a(V)},null,8,["loading","disabled"])])]),_:1},8,["state"])]),_:1},8,["modelValue"]),c(Y,{title:"Exception"},{default:M(()=>[t("button",{type:"button",class:"inline-flex items-center shadow-sm px-4 py-1.5 border border-gray-300 dark:border-gray-600 text-sm leading-5 font-medium rounded-l-full text-gray-700 dark:text-gray-100 bg-white dark:bg-backdrop-dark hover:bg-gray-50 dark:hover:bg-gray-800 focus:outline-none",onClick:G},[c(a(we),{class:"-ml-1.5 mr-1 h-5 w-5 text-gray-400","aria-hidden":"true"}),Re]),t("button",{type:"button",class:"inline-flex items-center shadow-sm px-4 py-1.5 border border-gray-300 dark:border-gray-600 text-sm leading-5 font-medium rounded-r-full text-gray-700 dark:text-gray-100 bg-white dark:bg-backdrop-dark hover:bg-gray-50 dark:hover:bg-gray-800 focus:outline-none",onClick:W},[a(g)?(s(),f(a(ue),{key:0,class:"-ml-1.5 mr-1 h-5 w-5 text-gray-400","aria-hidden":"true"})):(s(),f(a(_e),{key:1,class:"-ml-1.5 mr-1 h-5 w-5 text-gray-400","aria-hidden":"true"})),t("span",null,$(a(g)?"Copied":"Copy"),1)])]),_:1}),t("div",ze,[t("div",Je,[t("div",Fe,[c(a($e),{class:"h-5 w-5 text-red-400","aria-hidden":"true"})]),t("div",We,[t("h3",{class:"text-base font-medium text-red-800 mb-6",textContent:$(e.title)},null,8,Ge),e.content?(s(),l("pre",{key:0,class:"mt-2 text-sm text-red-700 whitespace-pre-line px-6 py-6 rounded-md border-2 border-dashed border-red-200",innerHTML:e.content},null,8,Ze)):i("",!0)])]),pe(t("textarea",{id:"exception-info",value:e.content,class:"fixed left-0 bottom-0 opacity-0"},null,8,qe),[[ge,a(k)]])])],64)}}}),Ke={},Xe={class:"grid grid-cols-1 gap-4 items-start lg:grid-cols-3 p-6"},Qe={class:"grid grid-cols-1 gap-4 lg:col-span-2 px-1"},Ye={"aria-labelledby":"section-1-title"},et={class:"rounded-lg"},tt={class:"grid grid-cols-1 gap-4"},ot={"aria-labelledby":"section-2-title"};function st(e,o){return s(),l("div",Xe,[t("div",Qe,[t("section",Ye,[t("div",et,[y(e.$slots,"left")])])]),t("div",tt,[t("section",ot,[y(e.$slots,"right")])])])}const lt=T(Ke,[["render",st]]);export{nt as _,rt as a,lt as b,Ue as c,Te as d,_e as r}; diff --git a/jesse/static/_nuxt/BI9C6zDQ.js b/jesse/static/_nuxt/6GW7wvnw.js similarity index 96% rename from jesse/static/_nuxt/BI9C6zDQ.js rename to jesse/static/_nuxt/6GW7wvnw.js index 66f7b1380..aa19f45a5 100644 --- a/jesse/static/_nuxt/BI9C6zDQ.js +++ b/jesse/static/_nuxt/6GW7wvnw.js @@ -1 +1 @@ -import{g as M,h as W,r as _,o as i,c as d,a as u,F as D,i as A,j as J,b as a,w as S,t as I,n as z,k as o,l as X,v as Y,m as Z,a2 as C,e as G,P as H,q as K,x as k,R as Q,y as ee,z as te,O as v,T as h,U as B,M as L,d as se,V as $,X as oe,Y as re,Z as ne,a3 as ae,a1 as le}from"./2PNEnup9.js";import{r as ie}from"./BQBo1FpP.js";import{_ as ue,a as de,c as ce,b as me}from"./BL36lQOA.js";import{_ as pe}from"./DHQ7PzCl.js";import{u as ge}from"./DxOVKAr4.js";const fe={class:"mb-4"},be={class:"hidden sm:block"},ye={class:"relative rounded-lg shadow flex divide-x divide-gray-200 dark:divide-gray-700","aria-label":"props.Tabs"},ve=["onMouseup"],he=["data-cy","onClick"],_e={class:"absolute right-[1em] focus:outline-none"},ke=u("span",{"aria-hidden":"true",class:"absolute inset-x-0 bottom-0 h-0.5 bg-transparent dark:bg-gray-600"},null,-1),xe=M({__name:"CandleTabs",props:{tabs:{}},emits:["close"],setup(x,{emit:l}){const c=W(),p=_(c.params.id),g=l,f=x;function b(s){if(s.results.exception.error&&s.results.executing)return"Error";let r="";return s.form.exchange&&(r+=`${s.form.exchange} • `),s.form.symbol&&(r+=`${s.form.symbol.toUpperCase()} • `),s.form.start_date&&(r+=`${s.form.start_date}`),r=r.endsWith(" • ")?r.slice(0,-3):r,s.results.executing?`${r} | ${s.results.progressbar.current}%`:r}return(s,r)=>{const y=G;return i(),d("div",fe,[u("div",be,[u("nav",ye,[(i(!0),d(D,null,A(f.tabs,(m,N,T)=>(i(),d("div",{key:m.id,class:"relative group min-w-0 flex-1 overflow-hidden text-center flex items-center",onMouseup:J(V=>g("close",m.id),["middle"])},[a(y,{to:`/candles/${m.id}`,class:z([m.id===o(p)?"text-gray-900 dark:text-gray-100 font-bold ":"text-gray-500 dark:text-gray-300 hover:text-gray-700 font-medium ","py-3 px-4 inline-block select-none cursor-pointer focus:outline-none w-full text-xs bg-gray-50 dark:bg-backdrop-dark"])},{default:S(()=>[u("span",null,I(b(m)),1),u("span",{"aria-hidden":"true",class:z([m.id===o(p)&&Object.keys(f.tabs).length>1?"bg-indigo-400":"bg-transparent dark:bg-gray-600","absolute inset-x-0 bottom-0 h-0.5"])},null,2)]),_:2},1032,["to","class"]),X(u("button",{"data-cy":"tab-close-button"+T,class:"absolute right-[1em] focus:outline-none",onClick:V=>g("close",m.id)},[a(o(Z),{class:"h-5 w-5 text-gray-400 hover:text-gray-600 dark:hover:text-gray-200 hover:bg-gray-200 bg-gray-100 dark:bg-gray-700 rounded-full","aria-hidden":"true"})],8,he),[[Y,Object.keys(f.tabs).length>1]])],40,ve))),128)),u("div",{class:"select-none cursor-pointer text-gray-400 dark:text-gray-100 hover:text-gray-600 focus:outline-none group relative w-14 overflow-hidden bg-gray-50 dark:bg-backdrop-dark py-3 px-4 font-medium hover:bg-gray-50 dark:hover:bg-gray-800 flex items-center justify-center",onClick:r[0]||(r[0]=m=>o(C)().addTab())},[u("button",_e,[a(o(ie),{class:"h-6 w-6 rounded-full","aria-hidden":"true"})]),ke])])])])}}}),we={key:0,class:"flex flex-col items-center justify-center select-none mt-[10%]"},$e=["textContent"],Se={class:"mt-8"},Ce={key:1,class:"mx-auto container mt-8"},Te={key:0,class:"mb-8"},Ve={key:1,class:"pb-4"},Re={key:0},Ee={key:0},Me={key:1},Ne=M({__name:"CandlesTab",props:{form:{},results:{}},setup(x){const l=x,c=_([]),p=_(""),g=C(),f=H(),b=K(),s=_([]);async function r(){s.value=await f.getExchangeSupportedSymbols(l.form.exchange),s.value.includes(l.form.symbol)||(l.form.symbol=s.value[0])}const y=_(!1),m=k(()=>f.backtestingExchangeNames);l.form.exchange=l.form.exchange||m.value[0];const N=k(()=>Q.remainingTimeText(l.results.progressbar.estimated_remaining_seconds)),T=e=>{U()&&g.start(e)},V=e=>{U()&&g.startInNewTab(e)};function U(){const e={mustContainDashErrorMessage:'Symbol parameter must contain "-" character!',emptySymbolErrorMessage:"Symbol parameter cannot be empty"};return l.form.exchange?l.form.symbol?l.form.symbol.includes("-")?l.form.start_date?!0:($("error","Start date parameter cannot be empty"),!1):($("error",e.mustContainDashErrorMessage),!1):($("error",e.emptySymbolErrorMessage),!1):($("error","Exchange parameter cannot be empty"),!1)}return ee(()=>p.value,e=>{if(e.length==0){c.value=[];return}const t=[];for(const w of s.value){if(t.length>50)break;w.toLowerCase().startsWith(e.toLowerCase())&&t.push(w)}c.value=t}),te(()=>{setTimeout(()=>{r()},100)}),(e,t)=>{const w=ue,R=oe,O=de,q=ce,E=re,j=pe,P=ne,F=me;return!e.form.debug_mode&&e.results.executing&&!e.results.showResults?(i(),d("div",we,[u("div",null,[a(w,{progress:e.results.progressbar.current},null,8,["progress"])]),e.results.exception.error?v("",!0):(i(),d("h3",{key:0,class:"mt-8 animate-pulse",textContent:I(o(N))},null,8,$e)),u("div",Se,[a(R,{color:"gray",ui:{color:{gray:{solid:"text-rose-500 dark:text-rose-400"}}},class:"w-64 flex justify-center",icon:"i-heroicons-no-symbol",size:"xl",variant:"solid",label:"Cancel",trailing:!1,onClick:t[0]||(t[0]=n=>o(g).cancel((e._.provides[h]||e.$route).params.id))})]),e.results.exception.error&&e.results.executing?(i(),d("div",Ce,[a(O,{modelValue:o(y),"onUpdate:modelValue":t[1]||(t[1]=n=>B(y)?y.value=n:null),title:e.results.exception.error,content:e.results.exception.traceback,mode:"candles"},null,8,["modelValue","title","content"])])):v("",!0)])):(i(),L(F,{key:1},{left:S(()=>[e.results.alert.message?(i(),d("div",Te,[a(q,{color:"teal",icon:"i-heroicons-check-circle",variant:"soft",title:e.results.alert.message,"close-button":{icon:"i-heroicons-x-mark-20-solid",color:"white",variant:"link"},onClose:t[2]||(t[2]=n=>e.results.alert.message="")},null,8,["title"])])):v("",!0),!e.results.executing&&!e.results.showResults?(i(),d("div",Ve,[a(E,{title:"Exchange"}),a(j,{modelValue:e.form.exchange,"onUpdate:modelValue":t[3]||(t[3]=n=>e.form.exchange=n),searchable:"",placeholder:"Select an exchange...",options:o(m),size:"lg",class:"mt-2",onChange:r},null,8,["modelValue","options"]),a(E,{title:"Symbol",class:"mt-16"}),a(j,{modelValue:e.form.symbol,"onUpdate:modelValue":t[4]||(t[4]=n=>e.form.symbol=n),query:o(p),"onUpdate:query":t[5]||(t[5]=n=>B(p)?p.value=n:null),"clear-search-on-close":"",class:"mt-2",searchable:"",size:"lg",options:o(c),placeholder:"Select a symbol...",onChange:t[6]||(t[6]=n=>p.value="")},{empty:S(()=>[se("Start typing...")]),_:1},8,["modelValue","query","options"]),a(E,{title:"Start Date",class:"mt-16"}),a(P,{modelValue:e.form.start_date,"onUpdate:modelValue":t[7]||(t[7]=n=>e.form.start_date=n),type:"date",size:"lg",class:"mt-2"},null,8,["modelValue"])])):v("",!0)]),right:S(()=>[e.results.executing?v("",!0):(i(),d("div",Re,[e.results.showResults?(i(),d("div",Ee,[u("button",{class:"font-medium select-none items-center px-2.5 py-1.5 border border-transparent rounded shadow-sm text-white bg-indigo-600 dark:bg-indigo-400 hover:bg-indigo-700 dark:hover:bg-indigo-300 focus:outline-none dark:text-black text-base tracking-wide text-center block w-full mb-4",onClick:t[8]||(t[8]=n=>o(b).rerun((e._.provides[h]||e.$route).params.id))}," Rerun "),u("button",{class:"btn-secondary text-center block w-full mb-4",onClick:t[9]||(t[9]=n=>o(b).newBacktest((e._.provides[h]||e.$route).params.id))}," New backtest ")])):(i(),d("div",Me,[a(R,{class:"w-full flex justify-center",icon:"i-heroicons-bolt",size:"xl",variant:"solid",label:"Start",trailing:!1,onClick:t[10]||(t[10]=n=>T((e._.provides[h]||e.$route).params.id))}),a(R,{class:"w-full flex justify-center mt-4",color:"gray",icon:"i-heroicons-plus",size:"xl",variant:"solid",label:"Start in a new tab",trailing:!1,onClick:t[11]||(t[11]=n=>V((e._.provides[h]||e.$route).params.id))})]))]))]),_:1}))}}}),Ue={class:"w-full"},Le=M({__name:"[id]",setup(x){ge({title:"Candles - Jesse"});const l=C(),c=k(()=>l.tabs),p=ae(),g=k(()=>p.params.id),f=k(()=>{if(!c.value[g.value]){const b=Object.keys(c.value);if(b.length>0){const s=c.value[b[0]];return le().push(`/candles/${s.id}`),s}else C().addTab()}return c.value[g.value]});return(b,s)=>{const r=xe,y=Ne;return i(),d(D,null,[u("div",Ue,[a(r,{"page-id":o(g),tabs:o(c),onClose:o(l).closeTab},null,8,["page-id","tabs","onClose"])]),o(f)?(i(),L(y,{key:0,form:o(f).form,results:o(f).results},null,8,["form","results"])):v("",!0)],64)}}});export{Le as default}; +import{g as M,h as W,r as _,o as i,c as d,a as u,F as D,i as A,j as J,b as a,w as S,t as I,n as z,k as o,l as X,v as Y,m as Z,a2 as C,e as G,P as H,q as K,x as k,R as Q,y as ee,z as te,O as v,T as h,U as B,M as L,d as se,V as $,X as oe,Y as re,Z as ne,a3 as ae,a1 as le}from"./BLm-LuZL.js";import{r as ie}from"./Cri_WUA5.js";import{_ as ue,a as de,c as ce,b as me}from"./1sxhQl7t.js";import{_ as pe}from"./fSx662--.js";import{u as ge}from"./CJ4140l3.js";const fe={class:"mb-4"},be={class:"hidden sm:block"},ye={class:"relative rounded-lg shadow flex divide-x divide-gray-200 dark:divide-gray-700","aria-label":"props.Tabs"},ve=["onMouseup"],he=["data-cy","onClick"],_e={class:"absolute right-[1em] focus:outline-none"},ke=u("span",{"aria-hidden":"true",class:"absolute inset-x-0 bottom-0 h-0.5 bg-transparent dark:bg-gray-600"},null,-1),xe=M({__name:"CandleTabs",props:{tabs:{}},emits:["close"],setup(x,{emit:l}){const c=W(),p=_(c.params.id),g=l,f=x;function b(s){if(s.results.exception.error&&s.results.executing)return"Error";let r="";return s.form.exchange&&(r+=`${s.form.exchange} • `),s.form.symbol&&(r+=`${s.form.symbol.toUpperCase()} • `),s.form.start_date&&(r+=`${s.form.start_date}`),r=r.endsWith(" • ")?r.slice(0,-3):r,s.results.executing?`${r} | ${s.results.progressbar.current}%`:r}return(s,r)=>{const y=G;return i(),d("div",fe,[u("div",be,[u("nav",ye,[(i(!0),d(D,null,A(f.tabs,(m,N,T)=>(i(),d("div",{key:m.id,class:"relative group min-w-0 flex-1 overflow-hidden text-center flex items-center",onMouseup:J(V=>g("close",m.id),["middle"])},[a(y,{to:`/candles/${m.id}`,class:z([m.id===o(p)?"text-gray-900 dark:text-gray-100 font-bold ":"text-gray-500 dark:text-gray-300 hover:text-gray-700 font-medium ","py-3 px-4 inline-block select-none cursor-pointer focus:outline-none w-full text-xs bg-gray-50 dark:bg-backdrop-dark"])},{default:S(()=>[u("span",null,I(b(m)),1),u("span",{"aria-hidden":"true",class:z([m.id===o(p)&&Object.keys(f.tabs).length>1?"bg-indigo-400":"bg-transparent dark:bg-gray-600","absolute inset-x-0 bottom-0 h-0.5"])},null,2)]),_:2},1032,["to","class"]),X(u("button",{"data-cy":"tab-close-button"+T,class:"absolute right-[1em] focus:outline-none",onClick:V=>g("close",m.id)},[a(o(Z),{class:"h-5 w-5 text-gray-400 hover:text-gray-600 dark:hover:text-gray-200 hover:bg-gray-200 bg-gray-100 dark:bg-gray-700 rounded-full","aria-hidden":"true"})],8,he),[[Y,Object.keys(f.tabs).length>1]])],40,ve))),128)),u("div",{class:"select-none cursor-pointer text-gray-400 dark:text-gray-100 hover:text-gray-600 focus:outline-none group relative w-14 overflow-hidden bg-gray-50 dark:bg-backdrop-dark py-3 px-4 font-medium hover:bg-gray-50 dark:hover:bg-gray-800 flex items-center justify-center",onClick:r[0]||(r[0]=m=>o(C)().addTab())},[u("button",_e,[a(o(ie),{class:"h-6 w-6 rounded-full","aria-hidden":"true"})]),ke])])])])}}}),we={key:0,class:"flex flex-col items-center justify-center select-none mt-[10%]"},$e=["textContent"],Se={class:"mt-8"},Ce={key:1,class:"mx-auto container mt-8"},Te={key:0,class:"mb-8"},Ve={key:1,class:"pb-4"},Re={key:0},Ee={key:0},Me={key:1},Ne=M({__name:"CandlesTab",props:{form:{},results:{}},setup(x){const l=x,c=_([]),p=_(""),g=C(),f=H(),b=K(),s=_([]);async function r(){s.value=await f.getExchangeSupportedSymbols(l.form.exchange),s.value.includes(l.form.symbol)||(l.form.symbol=s.value[0])}const y=_(!1),m=k(()=>f.backtestingExchangeNames);l.form.exchange=l.form.exchange||m.value[0];const N=k(()=>Q.remainingTimeText(l.results.progressbar.estimated_remaining_seconds)),T=e=>{U()&&g.start(e)},V=e=>{U()&&g.startInNewTab(e)};function U(){const e={mustContainDashErrorMessage:'Symbol parameter must contain "-" character!',emptySymbolErrorMessage:"Symbol parameter cannot be empty"};return l.form.exchange?l.form.symbol?l.form.symbol.includes("-")?l.form.start_date?!0:($("error","Start date parameter cannot be empty"),!1):($("error",e.mustContainDashErrorMessage),!1):($("error",e.emptySymbolErrorMessage),!1):($("error","Exchange parameter cannot be empty"),!1)}return ee(()=>p.value,e=>{if(e.length==0){c.value=[];return}const t=[];for(const w of s.value){if(t.length>50)break;w.toLowerCase().startsWith(e.toLowerCase())&&t.push(w)}c.value=t}),te(()=>{setTimeout(()=>{r()},100)}),(e,t)=>{const w=ue,R=oe,O=de,q=ce,E=re,j=pe,P=ne,F=me;return!e.form.debug_mode&&e.results.executing&&!e.results.showResults?(i(),d("div",we,[u("div",null,[a(w,{progress:e.results.progressbar.current},null,8,["progress"])]),e.results.exception.error?v("",!0):(i(),d("h3",{key:0,class:"mt-8 animate-pulse",textContent:I(o(N))},null,8,$e)),u("div",Se,[a(R,{color:"gray",ui:{color:{gray:{solid:"text-rose-500 dark:text-rose-400"}}},class:"w-64 flex justify-center",icon:"i-heroicons-no-symbol",size:"xl",variant:"solid",label:"Cancel",trailing:!1,onClick:t[0]||(t[0]=n=>o(g).cancel((e._.provides[h]||e.$route).params.id))})]),e.results.exception.error&&e.results.executing?(i(),d("div",Ce,[a(O,{modelValue:o(y),"onUpdate:modelValue":t[1]||(t[1]=n=>B(y)?y.value=n:null),title:e.results.exception.error,content:e.results.exception.traceback,mode:"candles"},null,8,["modelValue","title","content"])])):v("",!0)])):(i(),L(F,{key:1},{left:S(()=>[e.results.alert.message?(i(),d("div",Te,[a(q,{color:"teal",icon:"i-heroicons-check-circle",variant:"soft",title:e.results.alert.message,"close-button":{icon:"i-heroicons-x-mark-20-solid",color:"white",variant:"link"},onClose:t[2]||(t[2]=n=>e.results.alert.message="")},null,8,["title"])])):v("",!0),!e.results.executing&&!e.results.showResults?(i(),d("div",Ve,[a(E,{title:"Exchange"}),a(j,{modelValue:e.form.exchange,"onUpdate:modelValue":t[3]||(t[3]=n=>e.form.exchange=n),searchable:"",placeholder:"Select an exchange...",options:o(m),size:"lg",class:"mt-2",onChange:r},null,8,["modelValue","options"]),a(E,{title:"Symbol",class:"mt-16"}),a(j,{modelValue:e.form.symbol,"onUpdate:modelValue":t[4]||(t[4]=n=>e.form.symbol=n),query:o(p),"onUpdate:query":t[5]||(t[5]=n=>B(p)?p.value=n:null),"clear-search-on-close":"",class:"mt-2",searchable:"",size:"lg",options:o(c),placeholder:"Select a symbol...",onChange:t[6]||(t[6]=n=>p.value="")},{empty:S(()=>[se("Start typing...")]),_:1},8,["modelValue","query","options"]),a(E,{title:"Start Date",class:"mt-16"}),a(P,{modelValue:e.form.start_date,"onUpdate:modelValue":t[7]||(t[7]=n=>e.form.start_date=n),type:"date",size:"lg",class:"mt-2"},null,8,["modelValue"])])):v("",!0)]),right:S(()=>[e.results.executing?v("",!0):(i(),d("div",Re,[e.results.showResults?(i(),d("div",Ee,[u("button",{class:"font-medium select-none items-center px-2.5 py-1.5 border border-transparent rounded shadow-sm text-white bg-indigo-600 dark:bg-indigo-400 hover:bg-indigo-700 dark:hover:bg-indigo-300 focus:outline-none dark:text-black text-base tracking-wide text-center block w-full mb-4",onClick:t[8]||(t[8]=n=>o(b).rerun((e._.provides[h]||e.$route).params.id))}," Rerun "),u("button",{class:"btn-secondary text-center block w-full mb-4",onClick:t[9]||(t[9]=n=>o(b).newBacktest((e._.provides[h]||e.$route).params.id))}," New backtest ")])):(i(),d("div",Me,[a(R,{class:"w-full flex justify-center",icon:"i-heroicons-bolt",size:"xl",variant:"solid",label:"Start",trailing:!1,onClick:t[10]||(t[10]=n=>T((e._.provides[h]||e.$route).params.id))}),a(R,{class:"w-full flex justify-center mt-4",color:"gray",icon:"i-heroicons-plus",size:"xl",variant:"solid",label:"Start in a new tab",trailing:!1,onClick:t[11]||(t[11]=n=>V((e._.provides[h]||e.$route).params.id))})]))]))]),_:1}))}}}),Ue={class:"w-full"},Le=M({__name:"[id]",setup(x){ge({title:"Candles - Jesse"});const l=C(),c=k(()=>l.tabs),p=ae(),g=k(()=>p.params.id),f=k(()=>{if(!c.value[g.value]){const b=Object.keys(c.value);if(b.length>0){const s=c.value[b[0]];return le().push(`/candles/${s.id}`),s}else C().addTab()}return c.value[g.value]});return(b,s)=>{const r=xe,y=Ne;return i(),d(D,null,[u("div",Ue,[a(r,{"page-id":o(g),tabs:o(c),onClose:o(l).closeTab},null,8,["page-id","tabs","onClose"])]),o(f)?(i(),L(y,{key:0,form:o(f).form,results:o(f).results},null,8,["form","results"])):v("",!0)],64)}}});export{Le as default}; diff --git a/jesse/static/_nuxt/DLO8YH1b.js b/jesse/static/_nuxt/BFK5Gmgx.js similarity index 82% rename from jesse/static/_nuxt/DLO8YH1b.js rename to jesse/static/_nuxt/BFK5Gmgx.js index c0a05c0a9..8781fa440 100644 --- a/jesse/static/_nuxt/DLO8YH1b.js +++ b/jesse/static/_nuxt/BFK5Gmgx.js @@ -1 +1 @@ -import{_ as r,o as t,c as o,L as s,a}from"./2PNEnup9.js";const c={},n={class:"text-center rounded border-2 border-dashed border-gray-300 dark:border-gray-700 bg-gray-50 dark:bg-gray-800 py-4 text-sm"},d=a("span",{class:"text-gray-400"}," Empty ",-1);function _(e,l){return t(),o("div",n,[s(e.$slots,"default",{},()=>[d])])}const g=r(c,[["render",_]]);export{g as _}; +import{_ as r,o as t,c as o,L as s,a}from"./BLm-LuZL.js";const c={},n={class:"text-center rounded border-2 border-dashed border-gray-300 dark:border-gray-700 bg-gray-50 dark:bg-gray-800 py-4 text-sm"},d=a("span",{class:"text-gray-400"}," Empty ",-1);function _(e,l){return t(),o("div",n,[s(e.$slots,"default",{},()=>[d])])}const g=r(c,[["render",_]]);export{g as _}; diff --git a/jesse/static/_nuxt/2PNEnup9.js b/jesse/static/_nuxt/BLm-LuZL.js similarity index 52% rename from jesse/static/_nuxt/2PNEnup9.js rename to jesse/static/_nuxt/BLm-LuZL.js index 9888aa937..e9bb69e84 100644 --- a/jesse/static/_nuxt/2PNEnup9.js +++ b/jesse/static/_nuxt/BLm-LuZL.js @@ -1,79 +1,79 @@ -const __vite__fileDeps=["./BYBZIia9.js","./BQBo1FpP.js","./LsbTgTqC.js","./DLO8YH1b.js","./BL36lQOA.js","./Sidebar.CrjfLt5S.css","./DHQ7PzCl.js","./DxJpZQ0-.js","./DxOVKAr4.js","./BI9C6zDQ.js","./CJSiWN06.js","./DDYcsia7.js","./B4yYB889.js","./BtFtrakF.js","./DvrbiQag.js","./BZrOC2Bd.js","./DRc3OcXn.js","./IconCSS.Z2BAHt_z.css","./CgqQK9ZY.js","./error-404.JekaaCis.css","./D5Doxjjb.js","./error-500.CNP9nqm1.css"],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]); +const __vite__fileDeps=["./tugWi8BA.js","./Cri_WUA5.js","./BwlpUYSK.js","./BFK5Gmgx.js","./1sxhQl7t.js","./Sidebar.CrjfLt5S.css","./fSx662--.js","./C8PppCWi.js","./CJ4140l3.js","./6GW7wvnw.js","./CepOyCjx.js","./BxzcziYC.js","./D-JvFtWi.js","./FAD0u1sW.js","./DdRxl-OG.js","./DmKvV_zz.js","./CfpCwG3b.js","./IconCSS.Z2BAHt_z.css","./CofKTKQw.js","./error-404.JekaaCis.css","./D7sWBv9M.js","./error-500.CNP9nqm1.css"],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]); /** * @vue/shared v3.4.23 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**//*! #__NO_SIDE_EFFECTS__ */function Md(e,t){const n=new Set(e.split(","));return t?r=>n.has(r.toLowerCase()):r=>n.has(r)}const Et={},Ds=[],nr=()=>{},SE=()=>!1,ua=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Bd=e=>e.startsWith("onUpdate:"),qt=Object.assign,Fd=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},CE=Object.prototype.hasOwnProperty,ut=(e,t)=>CE.call(e,t),$e=Array.isArray,Vs=e=>ni(e)==="[object Map]",du=e=>ni(e)==="[object Set]",km=e=>ni(e)==="[object Date]",EE=e=>ni(e)==="[object RegExp]",Fe=e=>typeof e=="function",Rt=e=>typeof e=="string",Jr=e=>typeof e=="symbol",xt=e=>e!==null&&typeof e=="object",Dd=e=>(xt(e)||Fe(e))&&Fe(e.then)&&Fe(e.catch),Qv=Object.prototype.toString,ni=e=>Qv.call(e),TE=e=>ni(e).slice(8,-1),Xv=e=>ni(e)==="[object Object]",Vd=e=>Rt(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Ns=Md(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),pu=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},$E=/-(\w)/g,mr=pu(e=>e.replace($E,(t,n)=>n?n.toUpperCase():"")),AE=/\B([A-Z])/g,ys=pu(e=>e.replace(AE,"-$1").toLowerCase()),hu=pu(e=>e.charAt(0).toUpperCase()+e.slice(1)),Kc=pu(e=>e?`on${hu(e)}`:""),Ar=(e,t)=>!Object.is(e,t),js=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},If=e=>{const t=parseFloat(e);return isNaN(t)?e:t},ty=e=>{const t=Rt(e)?Number(e):NaN;return isNaN(t)?e:t};let Sm;const ny=()=>Sm||(Sm=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function ds(e){if($e(e)){const t={};for(let n=0;n{if(n){const r=n.split(RE);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function ae(e){let t="";if(Rt(e))t=e;else if($e(e))for(let n=0;ngu(n,t))}const et=e=>Rt(e)?e:e==null?"":$e(e)||xt(e)&&(e.toString===Qv||!Fe(e.toString))?JSON.stringify(e,sy,2):String(e),sy=(e,t)=>t&&t.__v_isRef?sy(e,t.value):Vs(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,s],i)=>(n[Gc(r,i)+" =>"]=s,n),{})}:du(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Gc(n))}:Jr(t)?Gc(t):xt(t)&&!$e(t)&&!Xv(t)?String(t):t,Gc=(e,t="")=>{var n;return Jr(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/** +**//*! #__NO_SIDE_EFFECTS__ */function Od(e,t){const n=new Set(e.split(","));return t?r=>n.has(r.toLowerCase()):r=>n.has(r)}const Et={},Ds=[],nr=()=>{},mE=()=>!1,aa=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Pd=e=>e.startsWith("onUpdate:"),qt=Object.assign,Ld=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},vE=Object.prototype.hasOwnProperty,ut=(e,t)=>vE.call(e,t),$e=Array.isArray,Vs=e=>ni(e)==="[object Map]",cu=e=>ni(e)==="[object Set]",ym=e=>ni(e)==="[object Date]",yE=e=>ni(e)==="[object RegExp]",Fe=e=>typeof e=="function",Rt=e=>typeof e=="string",Jr=e=>typeof e=="symbol",xt=e=>e!==null&&typeof e=="object",Md=e=>(xt(e)||Fe(e))&&Fe(e.then)&&Fe(e.catch),qv=Object.prototype.toString,ni=e=>qv.call(e),bE=e=>ni(e).slice(8,-1),Kv=e=>ni(e)==="[object Object]",Bd=e=>Rt(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Ns=Od(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),fu=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},_E=/-(\w)/g,mr=fu(e=>e.replace(_E,(t,n)=>n?n.toUpperCase():"")),wE=/\B([A-Z])/g,ys=fu(e=>e.replace(wE,"-$1").toLowerCase()),du=fu(e=>e.charAt(0).toUpperCase()+e.slice(1)),zc=fu(e=>e?`on${du(e)}`:""),Ar=(e,t)=>!Object.is(e,t),js=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},Tf=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Jv=e=>{const t=Rt(e)?Number(e):NaN;return isNaN(t)?e:t};let bm;const Zv=()=>bm||(bm=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function ds(e){if($e(e)){const t={};for(let n=0;n{if(n){const r=n.split(kE);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function ae(e){let t="";if(Rt(e))t=e;else if($e(e))for(let n=0;npu(n,t))}const et=e=>Rt(e)?e:e==null?"":$e(e)||xt(e)&&(e.toString===qv||!Fe(e.toString))?JSON.stringify(e,Xv,2):String(e),Xv=(e,t)=>t&&t.__v_isRef?Xv(e,t.value):Vs(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,s],i)=>(n[Wc(r,i)+" =>"]=s,n),{})}:cu(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Wc(n))}:Jr(t)?Wc(t):xt(t)&&!$e(t)&&!Kv(t)?String(t):t,Wc=(e,t="")=>{var n;return Jr(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/** * @vue/reactivity v3.4.23 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/let jn;class iy{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=jn,!t&&jn&&(this.index=(jn.scopes||(jn.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=jn;try{return jn=this,t()}finally{jn=n}}}on(){jn=this}off(){jn=this.parent}stop(t){if(this._active){let n,r;for(n=0,r=this.effects.length;n=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),Mo()}return this._dirtyLevel>=4}set dirty(t){this._dirtyLevel=t?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=To,n=as;try{return To=!0,as=this,this._runnings++,Cm(this),this.fn()}finally{Em(this),this._runnings--,as=n,To=t}}stop(){var t;this.active&&(Cm(this),Em(this),(t=this.onStop)==null||t.call(this),this.active=!1)}}function DE(e){return e.value}function Cm(e){e._trackId++,e._depsLength=0}function Em(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t{const n=new Map;return n.cleanup=e,n.computed=t,n},zl=new WeakMap,ls=Symbol(""),Pf=Symbol("");function In(e,t,n){if(To&&as){let r=zl.get(e);r||zl.set(e,r=new Map);let s=r.get(n);s||r.set(n,s=fy(()=>r.delete(n))),uy(as,s)}}function Gr(e,t,n,r,s,i){const l=zl.get(e);if(!l)return;let u=[];if(t==="clear")u=[...l.values()];else if(n==="length"&&$e(e)){const c=Number(r);l.forEach((p,d)=>{(d==="length"||!Jr(d)&&d>=c)&&u.push(p)})}else switch(n!==void 0&&u.push(l.get(n)),t){case"add":$e(e)?Vd(n)&&u.push(l.get("length")):(u.push(l.get(ls)),Vs(e)&&u.push(l.get(Pf)));break;case"delete":$e(e)||(u.push(l.get(ls)),Vs(e)&&u.push(l.get(Pf)));break;case"set":Vs(e)&&u.push(l.get(ls));break}Ud();for(const c of u)c&&cy(c,4);Hd()}function VE(e,t){var n;return(n=zl.get(e))==null?void 0:n.get(t)}const NE=Md("__proto__,__v_isRef,__isVue"),dy=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Jr)),Tm=jE();function jE(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=ze(this);for(let i=0,l=this.length;i{e[t]=function(...n){Lo(),Ud();const r=ze(this)[t].apply(this,n);return Hd(),Mo(),r}}),e}function UE(e){Jr(e)||(e=String(e));const t=ze(this);return In(t,"has",e),t.hasOwnProperty(e)}class py{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){const s=this._isReadonly,i=this._isShallow;if(n==="__v_isReactive")return!s;if(n==="__v_isReadonly")return s;if(n==="__v_isShallow")return i;if(n==="__v_raw")return r===(s?i?tT:vy:i?my:gy).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const l=$e(t);if(!s){if(l&&ut(Tm,n))return Reflect.get(Tm,n,r);if(n==="hasOwnProperty")return UE}const u=Reflect.get(t,n,r);return(Jr(n)?dy.has(n):NE(n))||(s||In(t,"get",n),i)?u:at(u)?l&&Vd(n)?u:u.value:xt(u)?s?qd(u):_n(u):u}}class hy extends py{constructor(t=!1){super(!1,t)}set(t,n,r,s){let i=t[n];if(!this._isShallow){const c=Gs(i);if(!Wl(r)&&!Gs(r)&&(i=ze(i),r=ze(r)),!$e(t)&&at(i)&&!at(r))return c?!1:(i.value=r,!0)}const l=$e(t)&&Vd(n)?Number(n)e,mu=e=>Reflect.getPrototypeOf(e);function hl(e,t,n=!1,r=!1){e=e.__v_raw;const s=ze(e),i=ze(t);n||(Ar(t,i)&&In(s,"get",t),In(s,"get",i));const{has:l}=mu(s),u=r?zd:n?Jd:Zi;if(l.call(s,t))return u(e.get(t));if(l.call(s,i))return u(e.get(i));e!==s&&e.get(t)}function gl(e,t=!1){const n=this.__v_raw,r=ze(n),s=ze(e);return t||(Ar(e,s)&&In(r,"has",e),In(r,"has",s)),e===s?n.has(e):n.has(e)||n.has(s)}function ml(e,t=!1){return e=e.__v_raw,!t&&In(ze(e),"iterate",ls),Reflect.get(e,"size",e)}function $m(e){e=ze(e);const t=ze(this);return mu(t).has.call(t,e)||(t.add(e),Gr(t,"add",e,e)),this}function Am(e,t){t=ze(t);const n=ze(this),{has:r,get:s}=mu(n);let i=r.call(n,e);i||(e=ze(e),i=r.call(n,e));const l=s.call(n,e);return n.set(e,t),i?Ar(t,l)&&Gr(n,"set",e,t):Gr(n,"add",e,t),this}function Im(e){const t=ze(this),{has:n,get:r}=mu(t);let s=n.call(t,e);s||(e=ze(e),s=n.call(t,e)),r&&r.call(t,e);const i=t.delete(e);return s&&Gr(t,"delete",e,void 0),i}function Rm(){const e=ze(this),t=e.size!==0,n=e.clear();return t&&Gr(e,"clear",void 0,void 0),n}function vl(e,t){return function(r,s){const i=this,l=i.__v_raw,u=ze(l),c=t?zd:e?Jd:Zi;return!e&&In(u,"iterate",ls),l.forEach((p,d)=>r.call(s,c(p),c(d),i))}}function yl(e,t,n){return function(...r){const s=this.__v_raw,i=ze(s),l=Vs(i),u=e==="entries"||e===Symbol.iterator&&l,c=e==="keys"&&l,p=s[e](...r),d=n?zd:t?Jd:Zi;return!t&&In(i,"iterate",c?Pf:ls),{next(){const{value:g,done:h}=p.next();return h?{value:g,done:h}:{value:u?[d(g[0]),d(g[1])]:d(g),done:h}},[Symbol.iterator](){return this}}}}function co(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function KE(){const e={get(i){return hl(this,i)},get size(){return ml(this)},has:gl,add:$m,set:Am,delete:Im,clear:Rm,forEach:vl(!1,!1)},t={get(i){return hl(this,i,!1,!0)},get size(){return ml(this)},has:gl,add:$m,set:Am,delete:Im,clear:Rm,forEach:vl(!1,!0)},n={get(i){return hl(this,i,!0)},get size(){return ml(this,!0)},has(i){return gl.call(this,i,!0)},add:co("add"),set:co("set"),delete:co("delete"),clear:co("clear"),forEach:vl(!0,!1)},r={get(i){return hl(this,i,!0,!0)},get size(){return ml(this,!0)},has(i){return gl.call(this,i,!0)},add:co("add"),set:co("set"),delete:co("delete"),clear:co("clear"),forEach:vl(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{e[i]=yl(i,!1,!1),n[i]=yl(i,!0,!1),t[i]=yl(i,!1,!0),r[i]=yl(i,!0,!0)}),[e,n,t,r]}const[GE,JE,ZE,YE]=KE();function Wd(e,t){const n=t?e?YE:ZE:e?JE:GE;return(r,s,i)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?r:Reflect.get(ut(n,s)&&s in r?n:r,s,i)}const QE={get:Wd(!1,!1)},XE={get:Wd(!1,!0)},eT={get:Wd(!0,!1)},gy=new WeakMap,my=new WeakMap,vy=new WeakMap,tT=new WeakMap;function nT(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function rT(e){return e.__v_skip||!Object.isExtensible(e)?0:nT(TE(e))}function _n(e){return Gs(e)?e:Kd(e,!1,zE,QE,gy)}function ca(e){return Kd(e,!1,qE,XE,my)}function qd(e){return Kd(e,!0,WE,eT,vy)}function Kd(e,t,n,r,s){if(!xt(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=s.get(e);if(i)return i;const l=rT(e);if(l===0)return e;const u=new Proxy(e,l===2?r:n);return s.set(e,u),u}function us(e){return Gs(e)?us(e.__v_raw):!!(e&&e.__v_isReactive)}function Gs(e){return!!(e&&e.__v_isReadonly)}function Wl(e){return!!(e&&e.__v_isShallow)}function yy(e){return e?!!e.__v_raw:!1}function ze(e){const t=e&&e.__v_raw;return t?ze(t):e}function Gd(e){return Object.isExtensible(e)&&ey(e,"__v_skip",!0),e}const Zi=e=>xt(e)?_n(e):e,Jd=e=>xt(e)?qd(e):e;class by{constructor(t,n,r,s){this.getter=t,this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new jd(()=>t(this._value),()=>Us(this,this.effect._dirtyLevel===2?2:3)),this.effect.computed=this,this.effect.active=this._cacheable=!s,this.__v_isReadonly=r}get value(){const t=ze(this);return(!t._cacheable||t.effect.dirty)&&Ar(t._value,t._value=t.effect.run())&&Us(t,4),Zd(t),t.effect._dirtyLevel>=2&&Us(t,2),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function oT(e,t,n=!1){let r,s;const i=Fe(e);return i?(r=e,s=nr):(r=e.get,s=e.set),new by(r,s,i||!s,n)}function Zd(e){var t;To&&as&&(e=ze(e),uy(as,(t=e.dep)!=null?t:e.dep=fy(()=>e.dep=void 0,e instanceof by?e:void 0)))}function Us(e,t=4,n){e=ze(e);const r=e.dep;r&&cy(r,t)}function at(e){return!!(e&&e.__v_isRef===!0)}function te(e){return _y(e,!1)}function Ir(e){return _y(e,!0)}function _y(e,t){return at(e)?e:new sT(e,t)}class sT{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:ze(t),this._value=n?t:Zi(t)}get value(){return Zd(this),this._value}set value(t){const n=this.__v_isShallow||Wl(t)||Gs(t);t=n?t:ze(t),Ar(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:Zi(t),Us(this,4))}}function VF(e){Us(e,4)}function R(e){return at(e)?e.value:e}function Tr(e){return Fe(e)?e():R(e)}const iT={get:(e,t,n)=>R(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const s=e[t];return at(s)&&!at(n)?(s.value=n,!0):Reflect.set(e,t,n,r)}};function wy(e){return us(e)?e:new Proxy(e,iT)}class aT{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:r}=t(()=>Zd(this),()=>Us(this));this._get=n,this._set=r}get value(){return this._get()}set value(t){this._set(t)}}function xy(e){return new aT(e)}function lT(e){const t=$e(e)?new Array(e.length):{};for(const n in e)t[n]=ky(e,n);return t}class uT{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,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 VE(ze(this._object),this._key)}}class cT{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function Ot(e,t,n){return at(e)?e:Fe(e)?new cT(e):xt(e)&&arguments.length>1?ky(e,t,n):te(e)}function ky(e,t,n){const r=e[t];return at(r)?r:new uT(e,t,n)}/** +**/let Nn;class ey{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Nn,!t&&Nn&&(this.index=(Nn.scopes||(Nn.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=Nn;try{return Nn=this,t()}finally{Nn=n}}}on(){Nn=this}off(){Nn=this.parent}stop(t){if(this._active){let n,r;for(n=0,r=this.effects.length;n=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),Lo()}return this._dirtyLevel>=4}set dirty(t){this._dirtyLevel=t?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=Eo,n=as;try{return Eo=!0,as=this,this._runnings++,_m(this),this.fn()}finally{wm(this),this._runnings--,as=n,Eo=t}}stop(){var t;this.active&&(_m(this),wm(this),(t=this.onStop)==null||t.call(this),this.active=!1)}}function IE(e){return e.value}function _m(e){e._trackId++,e._depsLength=0}function wm(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t{const n=new Map;return n.cleanup=e,n.computed=t,n},jl=new WeakMap,ls=Symbol(""),If=Symbol("");function In(e,t,n){if(Eo&&as){let r=jl.get(e);r||jl.set(e,r=new Map);let s=r.get(n);s||r.set(n,s=sy(()=>r.delete(n))),ry(as,s)}}function Gr(e,t,n,r,s,i){const l=jl.get(e);if(!l)return;let u=[];if(t==="clear")u=[...l.values()];else if(n==="length"&&$e(e)){const c=Number(r);l.forEach((p,d)=>{(d==="length"||!Jr(d)&&d>=c)&&u.push(p)})}else switch(n!==void 0&&u.push(l.get(n)),t){case"add":$e(e)?Bd(n)&&u.push(l.get("length")):(u.push(l.get(ls)),Vs(e)&&u.push(l.get(If)));break;case"delete":$e(e)||(u.push(l.get(ls)),Vs(e)&&u.push(l.get(If)));break;case"set":Vs(e)&&u.push(l.get(ls));break}Vd();for(const c of u)c&&oy(c,4);Nd()}function RE(e,t){var n;return(n=jl.get(e))==null?void 0:n.get(t)}const OE=Od("__proto__,__v_isRef,__isVue"),iy=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Jr)),xm=PE();function PE(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=ze(this);for(let i=0,l=this.length;i{e[t]=function(...n){Po(),Vd();const r=ze(this)[t].apply(this,n);return Nd(),Lo(),r}}),e}function LE(e){Jr(e)||(e=String(e));const t=ze(this);return In(t,"has",e),t.hasOwnProperty(e)}class ay{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){const s=this._isReadonly,i=this._isShallow;if(n==="__v_isReactive")return!s;if(n==="__v_isReadonly")return s;if(n==="__v_isShallow")return i;if(n==="__v_raw")return r===(s?i?KE:fy:i?cy:uy).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const l=$e(t);if(!s){if(l&&ut(xm,n))return Reflect.get(xm,n,r);if(n==="hasOwnProperty")return LE}const u=Reflect.get(t,n,r);return(Jr(n)?iy.has(n):OE(n))||(s||In(t,"get",n),i)?u:at(u)?l&&Bd(n)?u:u.value:xt(u)?s?Hd(u):_n(u):u}}class ly extends ay{constructor(t=!1){super(!1,t)}set(t,n,r,s){let i=t[n];if(!this._isShallow){const c=Gs(i);if(!Ul(r)&&!Gs(r)&&(i=ze(i),r=ze(r)),!$e(t)&&at(i)&&!at(r))return c?!1:(i.value=r,!0)}const l=$e(t)&&Bd(n)?Number(n)e,hu=e=>Reflect.getPrototypeOf(e);function dl(e,t,n=!1,r=!1){e=e.__v_raw;const s=ze(e),i=ze(t);n||(Ar(t,i)&&In(s,"get",t),In(s,"get",i));const{has:l}=hu(s),u=r?jd:n?qd:Ji;if(l.call(s,t))return u(e.get(t));if(l.call(s,i))return u(e.get(i));e!==s&&e.get(t)}function pl(e,t=!1){const n=this.__v_raw,r=ze(n),s=ze(e);return t||(Ar(e,s)&&In(r,"has",e),In(r,"has",s)),e===s?n.has(e):n.has(e)||n.has(s)}function hl(e,t=!1){return e=e.__v_raw,!t&&In(ze(e),"iterate",ls),Reflect.get(e,"size",e)}function km(e){e=ze(e);const t=ze(this);return hu(t).has.call(t,e)||(t.add(e),Gr(t,"add",e,e)),this}function Sm(e,t){t=ze(t);const n=ze(this),{has:r,get:s}=hu(n);let i=r.call(n,e);i||(e=ze(e),i=r.call(n,e));const l=s.call(n,e);return n.set(e,t),i?Ar(t,l)&&Gr(n,"set",e,t):Gr(n,"add",e,t),this}function Cm(e){const t=ze(this),{has:n,get:r}=hu(t);let s=n.call(t,e);s||(e=ze(e),s=n.call(t,e)),r&&r.call(t,e);const i=t.delete(e);return s&&Gr(t,"delete",e,void 0),i}function Em(){const e=ze(this),t=e.size!==0,n=e.clear();return t&&Gr(e,"clear",void 0,void 0),n}function gl(e,t){return function(r,s){const i=this,l=i.__v_raw,u=ze(l),c=t?jd:e?qd:Ji;return!e&&In(u,"iterate",ls),l.forEach((p,d)=>r.call(s,c(p),c(d),i))}}function ml(e,t,n){return function(...r){const s=this.__v_raw,i=ze(s),l=Vs(i),u=e==="entries"||e===Symbol.iterator&&l,c=e==="keys"&&l,p=s[e](...r),d=n?jd:t?qd:Ji;return!t&&In(i,"iterate",c?If:ls),{next(){const{value:g,done:h}=p.next();return h?{value:g,done:h}:{value:u?[d(g[0]),d(g[1])]:d(g),done:h}},[Symbol.iterator](){return this}}}}function uo(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function VE(){const e={get(i){return dl(this,i)},get size(){return hl(this)},has:pl,add:km,set:Sm,delete:Cm,clear:Em,forEach:gl(!1,!1)},t={get(i){return dl(this,i,!1,!0)},get size(){return hl(this)},has:pl,add:km,set:Sm,delete:Cm,clear:Em,forEach:gl(!1,!0)},n={get(i){return dl(this,i,!0)},get size(){return hl(this,!0)},has(i){return pl.call(this,i,!0)},add:uo("add"),set:uo("set"),delete:uo("delete"),clear:uo("clear"),forEach:gl(!0,!1)},r={get(i){return dl(this,i,!0,!0)},get size(){return hl(this,!0)},has(i){return pl.call(this,i,!0)},add:uo("add"),set:uo("set"),delete:uo("delete"),clear:uo("clear"),forEach:gl(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{e[i]=ml(i,!1,!1),n[i]=ml(i,!0,!1),t[i]=ml(i,!1,!0),r[i]=ml(i,!0,!0)}),[e,n,t,r]}const[NE,jE,UE,HE]=VE();function Ud(e,t){const n=t?e?HE:UE:e?jE:NE;return(r,s,i)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?r:Reflect.get(ut(n,s)&&s in r?n:r,s,i)}const zE={get:Ud(!1,!1)},WE={get:Ud(!1,!0)},qE={get:Ud(!0,!1)},uy=new WeakMap,cy=new WeakMap,fy=new WeakMap,KE=new WeakMap;function GE(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function JE(e){return e.__v_skip||!Object.isExtensible(e)?0:GE(bE(e))}function _n(e){return Gs(e)?e:zd(e,!1,BE,zE,uy)}function la(e){return zd(e,!1,DE,WE,cy)}function Hd(e){return zd(e,!0,FE,qE,fy)}function zd(e,t,n,r,s){if(!xt(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=s.get(e);if(i)return i;const l=JE(e);if(l===0)return e;const u=new Proxy(e,l===2?r:n);return s.set(e,u),u}function us(e){return Gs(e)?us(e.__v_raw):!!(e&&e.__v_isReactive)}function Gs(e){return!!(e&&e.__v_isReadonly)}function Ul(e){return!!(e&&e.__v_isShallow)}function dy(e){return e?!!e.__v_raw:!1}function ze(e){const t=e&&e.__v_raw;return t?ze(t):e}function Wd(e){return Object.isExtensible(e)&&Gv(e,"__v_skip",!0),e}const Ji=e=>xt(e)?_n(e):e,qd=e=>xt(e)?Hd(e):e;class py{constructor(t,n,r,s){this.getter=t,this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new Dd(()=>t(this._value),()=>Us(this,this.effect._dirtyLevel===2?2:3)),this.effect.computed=this,this.effect.active=this._cacheable=!s,this.__v_isReadonly=r}get value(){const t=ze(this);return(!t._cacheable||t.effect.dirty)&&Ar(t._value,t._value=t.effect.run())&&Us(t,4),Kd(t),t.effect._dirtyLevel>=2&&Us(t,2),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function ZE(e,t,n=!1){let r,s;const i=Fe(e);return i?(r=e,s=nr):(r=e.get,s=e.set),new py(r,s,i||!s,n)}function Kd(e){var t;Eo&&as&&(e=ze(e),ry(as,(t=e.dep)!=null?t:e.dep=sy(()=>e.dep=void 0,e instanceof py?e:void 0)))}function Us(e,t=4,n){e=ze(e);const r=e.dep;r&&oy(r,t)}function at(e){return!!(e&&e.__v_isRef===!0)}function te(e){return hy(e,!1)}function Ir(e){return hy(e,!0)}function hy(e,t){return at(e)?e:new YE(e,t)}class YE{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:ze(t),this._value=n?t:Ji(t)}get value(){return Kd(this),this._value}set value(t){const n=this.__v_isShallow||Ul(t)||Gs(t);t=n?t:ze(t),Ar(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:Ji(t),Us(this,4))}}function TF(e){Us(e,4)}function R(e){return at(e)?e.value:e}function Tr(e){return Fe(e)?e():R(e)}const QE={get:(e,t,n)=>R(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const s=e[t];return at(s)&&!at(n)?(s.value=n,!0):Reflect.set(e,t,n,r)}};function gy(e){return us(e)?e:new Proxy(e,QE)}class XE{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:r}=t(()=>Kd(this),()=>Us(this));this._get=n,this._set=r}get value(){return this._get()}set value(t){this._set(t)}}function my(e){return new XE(e)}function eT(e){const t=$e(e)?new Array(e.length):{};for(const n in e)t[n]=vy(e,n);return t}class tT{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,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 RE(ze(this._object),this._key)}}class nT{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function Ot(e,t,n){return at(e)?e:Fe(e)?new nT(e):xt(e)&&arguments.length>1?vy(e,t,n):te(e)}function vy(e,t,n){const r=e[t];return at(r)?r:new tT(e,t,n)}/** * @vue/runtime-core v3.4.23 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/function $o(e,t,n,r){try{return r?e(...r):e()}catch(s){ri(s,t,n)}}function or(e,t,n,r){if(Fe(e)){const s=$o(e,t,n,r);return s&&Dd(s)&&s.catch(i=>{ri(i,t,n)}),s}if($e(e)){const s=[];for(let i=0;i>>1,s=cn[r],i=Qi(s);i$r&&cn.splice(t,1)}function Mf(e){$e(e)?Hs.push(...e):(!_o||!_o.includes(e,e.allowRecurse?ts+1:ts))&&Hs.push(e),Cy()}function Om(e,t,n=Yi?$r+1:0){for(;nQi(n)-Qi(r));if(Hs.length=0,_o){_o.push(...t);return}for(_o=t,ts=0;ts<_o.length;ts++)_o[ts]();_o=null,ts=0}}const Qi=e=>e.id==null?1/0:e.id,hT=(e,t)=>{const n=Qi(e)-Qi(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Ey(e){Lf=!1,Yi=!0,cn.sort(hT);try{for($r=0;$rRt(v)?v.trim():v)),g&&(s=n.map(If))}let u,c=r[u=Kc(t)]||r[u=Kc(mr(t))];!c&&i&&(c=r[u=Kc(ys(t))]),c&&or(c,e,6,s);const p=r[u+"Once"];if(p){if(!e.emitted)e.emitted={};else if(e.emitted[u])return;e.emitted[u]=!0,or(p,e,6,s)}}function Ty(e,t,n=!1){const r=t.emitsCache,s=r.get(e);if(s!==void 0)return s;const i=e.emits;let l={},u=!1;if(!Fe(e)){const c=p=>{const d=Ty(p,t,!0);d&&(u=!0,qt(l,d))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!i&&!u?(xt(e)&&r.set(e,null),null):($e(i)?i.forEach(c=>l[c]=null):qt(l,i),xt(e)&&r.set(e,l),l)}function yu(e,t){return!e||!ua(t)?!1:(t=t.slice(2).replace(/Once$/,""),ut(e,t[0].toLowerCase()+t.slice(1))||ut(e,ys(t))||ut(e,t))}let Wt=null,bu=null;function Kl(e){const t=Wt;return Wt=e,bu=e&&e.type.__scopeId||null,t}function mT(e){bu=e}function vT(){bu=null}function ne(e,t=Wt,n){if(!t||e._n)return e;const r=(...s)=>{r._d&&qm(-1);const i=Kl(t);let l;try{l=e(...s)}finally{Kl(i),r._d&&qm(1)}return l};return r._n=!0,r._c=!0,r._d=!0,r}function Jc(e){const{type:t,vnode:n,proxy:r,withProxy:s,props:i,propsOptions:[l],slots:u,attrs:c,emit:p,render:d,renderCache:g,data:h,setupState:v,ctx:_,inheritAttrs:x}=e;let b,E;const C=Kl(e);try{if(n.shapeFlag&4){const A=s||r,B=A;b=tr(d.call(B,A,g,i,v,h,_)),E=c}else{const A=t;b=tr(A.length>1?A(i,{attrs:c,slots:u,emit:p}):A(i,null)),E=t.props?c:bT(c)}}catch(A){Hi.length=0,ri(A,e,1),b=P(bn)}let S=b;if(E&&x!==!1){const A=Object.keys(E),{shapeFlag:B}=S;A.length&&B&7&&(l&&A.some(Bd)&&(E=_T(E,l)),S=Rr(S,E))}return n.dirs&&(S=Rr(S),S.dirs=S.dirs?S.dirs.concat(n.dirs):n.dirs),n.transition&&(S.transition=n.transition),b=S,Kl(C),b}function yT(e,t=!0){let n;for(let r=0;r{let t;for(const n in e)(n==="class"||n==="style"||ua(n))&&((t||(t={}))[n]=e[n]);return t},_T=(e,t)=>{const n={};for(const r in e)(!Bd(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function wT(e,t,n){const{props:r,children:s,component:i}=e,{props:l,children:u,patchFlag:c}=t,p=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return r?Pm(r,l,p):!!l;if(c&8){const d=t.dynamicProps;for(let g=0;ge.__isSuspense;let Bf=0;const xT={name:"Suspense",__isSuspense:!0,process(e,t,n,r,s,i,l,u,c,p){if(e==null)kT(t,n,r,s,i,l,u,c,p);else{if(i&&i.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}ST(e,t,n,r,s,l,u,c,p)}},hydrate:CT,create:tp,normalize:ET},ep=xT;function Xi(e,t){const n=e.props&&e.props[t];Fe(n)&&n()}function kT(e,t,n,r,s,i,l,u,c){const{p,o:{createElement:d}}=c,g=d("div"),h=e.suspense=tp(e,s,r,t,g,n,i,l,u,c);p(null,h.pendingBranch=e.ssContent,g,null,r,h,i,l),h.deps>0?(Xi(e,"onPending"),Xi(e,"onFallback"),p(null,e.ssFallback,t,n,r,null,i,l),zs(h,e.ssFallback)):h.resolve(!1,!0)}function ST(e,t,n,r,s,i,l,u,{p:c,um:p,o:{createElement:d}}){const g=t.suspense=e.suspense;g.vnode=t,t.el=e.el;const h=t.ssContent,v=t.ssFallback,{activeBranch:_,pendingBranch:x,isInFallback:b,isHydrating:E}=g;if(x)g.pendingBranch=h,pr(h,x)?(c(x,h,g.hiddenContainer,null,s,g,i,l,u),g.deps<=0?g.resolve():b&&(E||(c(_,v,n,r,s,null,i,l,u),zs(g,v)))):(g.pendingId=Bf++,E?(g.isHydrating=!1,g.activeBranch=x):p(x,s,g),g.deps=0,g.effects.length=0,g.hiddenContainer=d("div"),b?(c(null,h,g.hiddenContainer,null,s,g,i,l,u),g.deps<=0?g.resolve():(c(_,v,n,r,s,null,i,l,u),zs(g,v))):_&&pr(h,_)?(c(_,h,n,r,s,g,i,l,u),g.resolve(!0)):(c(null,h,g.hiddenContainer,null,s,g,i,l,u),g.deps<=0&&g.resolve()));else if(_&&pr(h,_))c(_,h,n,r,s,g,i,l,u),zs(g,h);else if(Xi(t,"onPending"),g.pendingBranch=h,h.shapeFlag&512?g.pendingId=h.component.suspenseId:g.pendingId=Bf++,c(null,h,g.hiddenContainer,null,s,g,i,l,u),g.deps<=0)g.resolve();else{const{timeout:C,pendingId:S}=g;C>0?setTimeout(()=>{g.pendingId===S&&g.fallback(v)},C):C===0&&g.fallback(v)}}function tp(e,t,n,r,s,i,l,u,c,p,d=!1){const{p:g,m:h,um:v,n:_,o:{parentNode:x,remove:b}}=p;let E;const C=TT(e);C&&t!=null&&t.pendingBranch&&(E=t.pendingId,t.deps++);const S=e.props?ty(e.props.timeout):void 0,A=i,B={vnode:e,parent:t,parentComponent:n,namespace:l,container:r,hiddenContainer:s,deps:0,pendingId:Bf++,timeout:typeof S=="number"?S:-1,activeBranch:null,pendingBranch:null,isInFallback:!d,isHydrating:d,isUnmounted:!1,effects:[],resolve(L=!1,U=!1){const{vnode:j,activeBranch:q,pendingBranch:K,pendingId:Y,effects:z,parentComponent:be,container:ce}=B;let ke=!1;B.isHydrating?B.isHydrating=!1:L||(ke=q&&K.transition&&K.transition.mode==="out-in",ke&&(q.transition.afterLeave=()=>{Y===B.pendingId&&(h(K,ce,i===A?_(q):i,0),Mf(z))}),q&&(x(q.el)!==B.hiddenContainer&&(i=_(q)),v(q,be,B,!0)),ke||h(K,ce,i,0)),zs(B,K),B.pendingBranch=null,B.isInFallback=!1;let ie=B.parent,Se=!1;for(;ie;){if(ie.pendingBranch){ie.effects.push(...z),Se=!0;break}ie=ie.parent}!Se&&!ke&&Mf(z),B.effects=[],C&&t&&t.pendingBranch&&E===t.pendingId&&(t.deps--,t.deps===0&&!U&&t.resolve()),Xi(j,"onResolve")},fallback(L){if(!B.pendingBranch)return;const{vnode:U,activeBranch:j,parentComponent:q,container:K,namespace:Y}=B;Xi(U,"onFallback");const z=_(j),be=()=>{B.isInFallback&&(g(null,L,K,z,q,null,Y,u,c),zs(B,L))},ce=L.transition&&L.transition.mode==="out-in";ce&&(j.transition.afterLeave=be),B.isInFallback=!0,v(j,q,null,!0),ce||be()},move(L,U,j){B.activeBranch&&h(B.activeBranch,L,U,j),B.container=L},next(){return B.activeBranch&&_(B.activeBranch)},registerDep(L,U){const j=!!B.pendingBranch;j&&B.deps++;const q=L.vnode.el;L.asyncDep.catch(K=>{ri(K,L,0)}).then(K=>{if(L.isUnmounted||B.isUnmounted||B.pendingId!==L.suspenseId)return;L.asyncResolved=!0;const{vnode:Y}=L;qf(L,K,!1),q&&(Y.el=q);const z=!q&&L.subTree.el;U(L,Y,x(q||L.subTree.el),q?null:_(L.subTree),B,l,c),z&&b(z),Qd(L,Y.el),j&&--B.deps===0&&B.resolve()})},unmount(L,U){B.isUnmounted=!0,B.activeBranch&&v(B.activeBranch,n,L,U),B.pendingBranch&&v(B.pendingBranch,n,L,U)}};return B}function CT(e,t,n,r,s,i,l,u,c){const p=t.suspense=tp(t,r,n,e.parentNode,document.createElement("div"),null,s,i,l,u,!0),d=c(e,p.pendingBranch=t.ssContent,n,p,i,l);return p.deps===0&&p.resolve(!1,!0),d}function ET(e){const{shapeFlag:t,children:n}=e,r=t&32;e.ssContent=Mm(r?n.default:n),e.ssFallback=r?Mm(n.fallback):P(bn)}function Mm(e){let t;if(Fe(e)){const n=Zs&&e._c;n&&(e._d=!1,V()),e=e(),n&&(e._d=!0,t=rr,ob())}return $e(e)&&(e=yT(e)),e=tr(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function Ry(e,t){t&&t.pendingBranch?$e(e)?t.effects.push(...e):t.effects.push(e):Mf(e)}function zs(e,t){e.activeBranch=t;const{vnode:n,parentComponent:r}=e;let s=t.el;for(;!s&&t.component;)t=t.component.subTree,s=t.el;n.el=s,r&&r.subTree===n&&(r.vnode.el=s,Qd(r,s))}function TT(e){var t;return((t=e.props)==null?void 0:t.suspensible)!=null&&e.props.suspensible!==!1}const $T=Symbol.for("v-scx"),AT=()=>Ke($T);function Xt(e,t){return fa(e,null,t)}function IT(e,t){return fa(e,null,{flush:"post"})}function RT(e,t){return fa(e,null,{flush:"sync"})}const bl={};function gt(e,t,n){return fa(e,t,n)}function fa(e,t,{immediate:n,deep:r,flush:s,once:i,onTrack:l,onTrigger:u}=Et){if(t&&i){const L=t;t=(...U)=>{L(...U),B()}}const c=Yt,p=L=>r===!0?L:os(L,r===!1?1:void 0);let d,g=!1,h=!1;if(at(e)?(d=()=>e.value,g=Wl(e)):us(e)?(d=()=>p(e),g=!0):$e(e)?(h=!0,g=e.some(L=>us(L)||Wl(L)),d=()=>e.map(L=>{if(at(L))return L.value;if(us(L))return p(L);if(Fe(L))return $o(L,c,2)})):Fe(e)?t?d=()=>$o(e,c,2):d=()=>(v&&v(),or(e,c,3,[_])):d=nr,t&&r){const L=d;d=()=>os(L())}let v,_=L=>{v=S.onStop=()=>{$o(L,c,4),v=S.onStop=void 0}},x;if(ga)if(_=nr,t?n&&or(t,c,3,[d(),h?[]:void 0,_]):d(),s==="sync"){const L=AT();x=L.__watcherHandles||(L.__watcherHandles=[])}else return nr;let b=h?new Array(e.length).fill(bl):bl;const E=()=>{if(!(!S.active||!S.dirty))if(t){const L=S.run();(r||g||(h?L.some((U,j)=>Ar(U,b[j])):Ar(L,b)))&&(v&&v(),or(t,c,3,[L,b===bl?void 0:h&&b[0]===bl?[]:b,_]),b=L)}else S.run()};E.allowRecurse=!!t;let C;s==="sync"?C=E:s==="post"?C=()=>sn(E,c&&c.suspense):(E.pre=!0,c&&(E.id=c.uid),C=()=>vu(E));const S=new jd(d,nr,C),A=Po(),B=()=>{S.stop(),A&&Fd(A.effects,S)};return t?n?E():b=S.run():s==="post"?sn(S.run.bind(S),c&&c.suspense):S.run(),x&&x.push(B),B}function OT(e,t,n){const r=this.proxy,s=Rt(e)?e.includes(".")?Oy(r,e):()=>r[e]:e.bind(r,r);let i;Fe(t)?i=t:(i=t.handler,n=t);const l=hs(this),u=fa(s,i.bind(r),n);return l(),u}function Oy(e,t){const n=t.split(".");return()=>{let r=e;for(let s=0;s0){if(n>=t)return e;n++}if(r=r||new Set,r.has(e))return e;if(r.add(e),at(e))os(e.value,t,n,r);else if($e(e))for(let s=0;s{os(s,t,n,r)});else if(Xv(e))for(const s in e)os(e[s],t,n,r);return e}function Py(e,t){if(Wt===null)return e;const n=wu(Wt)||Wt.proxy,r=e.dirs||(e.dirs=[]);for(let s=0;s{e.isMounted=!0}),pa(()=>{e.isUnmounting=!0}),e}const er=[Function,Array],Ly={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:er,onEnter:er,onAfterEnter:er,onEnterCancelled:er,onBeforeLeave:er,onLeave:er,onAfterLeave:er,onLeaveCancelled:er,onBeforeAppear:er,onAppear:er,onAfterAppear:er,onAppearCancelled:er},LT={name:"BaseTransition",props:Ly,setup(e,{slots:t}){const n=ir(),r=PT();return()=>{const s=t.default&&By(t.default(),!0);if(!s||!s.length)return;let i=s[0];if(s.length>1){for(const h of s)if(h.type!==bn){i=h;break}}const l=ze(e),{mode:u}=l;if(r.isLeaving)return Zc(i);const c=Bm(i);if(!c)return Zc(i);const p=Ff(c,l,r,n);Gl(c,p);const d=n.subTree,g=d&&Bm(d);if(g&&g.type!==bn&&!pr(c,g)){const h=Ff(g,l,r,n);if(Gl(g,h),u==="out-in")return r.isLeaving=!0,h.afterLeave=()=>{r.isLeaving=!1,n.update.active!==!1&&(n.effect.dirty=!0,n.update())},Zc(i);u==="in-out"&&c.type!==bn&&(h.delayLeave=(v,_,x)=>{const b=My(r,g);b[String(g.key)]=g,v[wo]=()=>{_(),v[wo]=void 0,delete p.delayedLeave},p.delayedLeave=x})}return i}}},MT=LT;function My(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function Ff(e,t,n,r){const{appear:s,mode:i,persisted:l=!1,onBeforeEnter:u,onEnter:c,onAfterEnter:p,onEnterCancelled:d,onBeforeLeave:g,onLeave:h,onAfterLeave:v,onLeaveCancelled:_,onBeforeAppear:x,onAppear:b,onAfterAppear:E,onAppearCancelled:C}=t,S=String(e.key),A=My(n,e),B=(j,q)=>{j&&or(j,r,9,q)},L=(j,q)=>{const K=q[1];B(j,q),$e(j)?j.every(Y=>Y.length<=1)&&K():j.length<=1&&K()},U={mode:i,persisted:l,beforeEnter(j){let q=u;if(!n.isMounted)if(s)q=x||u;else return;j[wo]&&j[wo](!0);const K=A[S];K&&pr(e,K)&&K.el[wo]&&K.el[wo](),B(q,[j])},enter(j){let q=c,K=p,Y=d;if(!n.isMounted)if(s)q=b||c,K=E||p,Y=C||d;else return;let z=!1;const be=j[_l]=ce=>{z||(z=!0,ce?B(Y,[j]):B(K,[j]),U.delayedLeave&&U.delayedLeave(),j[_l]=void 0)};q?L(q,[j,be]):be()},leave(j,q){const K=String(e.key);if(j[_l]&&j[_l](!0),n.isUnmounting)return q();B(g,[j]);let Y=!1;const z=j[wo]=be=>{Y||(Y=!0,q(),be?B(_,[j]):B(v,[j]),j[wo]=void 0,A[K]===e&&delete A[K])};A[K]=e,h?L(h,[j,z]):z()},clone(j){return Ff(j,t,n,r)}};return U}function Zc(e){if(da(e))return e=Rr(e),e.children=null,e}function Bm(e){return da(e)?e.children?e.children[0]:void 0:e}function Gl(e,t){e.shapeFlag&6&&e.component?Gl(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 By(e,t=!1,n){let r=[],s=0;for(let i=0;i1)for(let i=0;i!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function Jl(e){Fe(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:s=200,timeout:i,suspensible:l=!0,onError:u}=e;let c=null,p,d=0;const g=()=>(d++,c=null,h()),h=()=>{let v;return c||(v=c=t().catch(_=>{if(_=_ instanceof Error?_:new Error(String(_)),u)return new Promise((x,b)=>{u(_,()=>x(g()),()=>b(_),d+1)});throw _}).then(_=>v!==c&&c?c:(_&&(_.__esModule||_[Symbol.toStringTag]==="Module")&&(_=_.default),p=_,_)))};return we({name:"AsyncComponentWrapper",__asyncLoader:h,get __asyncResolved(){return p},setup(){const v=Yt;if(p)return()=>Yc(p,v);const _=C=>{c=null,ri(C,v,13,!r)};if(l&&v.suspense||ga)return h().then(C=>()=>Yc(C,v)).catch(C=>(_(C),()=>r?P(r,{error:C}):null));const x=te(!1),b=te(),E=te(!!s);return s&&setTimeout(()=>{E.value=!1},s),i!=null&&setTimeout(()=>{if(!x.value&&!b.value){const C=new Error(`Async component timed out after ${i}ms.`);_(C),b.value=C}},i),h().then(()=>{x.value=!0,v.parent&&da(v.parent.vnode)&&(v.parent.effect.dirty=!0,vu(v.parent.update))}).catch(C=>{_(C),b.value=C}),()=>{if(x.value&&p)return Yc(p,v);if(b.value&&r)return P(r,{error:b.value});if(n&&!E.value)return P(n)}}})}function Yc(e,t){const{ref:n,props:r,children:s,ce:i}=t.vnode,l=P(e,r,s);return l.ref=n,l.ce=i,delete t.vnode.ce,l}const da=e=>e.type.__isKeepAlive,BT={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=ir(),r=n.ctx;if(!r.renderer)return()=>{const C=t.default&&t.default();return C&&C.length===1?C[0]:C};const s=new Map,i=new Set;let l=null;const u=n.suspense,{renderer:{p:c,m:p,um:d,o:{createElement:g}}}=r,h=g("div");r.activate=(C,S,A,B,L)=>{const U=C.component;p(C,S,A,0,u),c(U.vnode,C,S,A,U,u,B,C.slotScopeIds,L),sn(()=>{U.isDeactivated=!1,U.a&&js(U.a);const j=C.props&&C.props.onVnodeMounted;j&&Tn(j,U.parent,C)},u)},r.deactivate=C=>{const S=C.component;p(C,h,null,1,u),sn(()=>{S.da&&js(S.da);const A=C.props&&C.props.onVnodeUnmounted;A&&Tn(A,S.parent,C),S.isDeactivated=!0},u)};function v(C){Qc(C),d(C,n,u,!0)}function _(C){s.forEach((S,A)=>{const B=Kf(S.type);B&&(!C||!C(B))&&x(A)})}function x(C){const S=s.get(C);!l||!pr(S,l)?v(S):l&&Qc(l),s.delete(C),i.delete(C)}gt(()=>[e.include,e.exclude],([C,S])=>{C&&_(A=>Fi(C,A)),S&&_(A=>!Fi(S,A))},{flush:"post",deep:!0});let b=null;const E=()=>{b!=null&&s.set(b,Xc(n.subTree))};return ct(E),jy(E),pa(()=>{s.forEach(C=>{const{subTree:S,suspense:A}=n,B=Xc(S);if(C.type===B.type&&C.key===B.key){Qc(B);const L=B.component.da;L&&sn(L,A);return}v(C)})}),()=>{if(b=null,!t.default)return l=null;const C=t.default(),S=C[0];if(C.length>1)return l=null,C;if(!Ys(S)||!(S.shapeFlag&4)&&!(S.shapeFlag&128))return l=null,S;let A=Xc(S);const B=A.type,L=Kf(cs(A)?A.type.__asyncResolved||{}:B),{include:U,exclude:j,max:q}=e;if(U&&(!L||!Fi(U,L))||j&&L&&Fi(j,L))return l=A,S;const K=A.key==null?B:A.key,Y=s.get(K);return A.el&&(A=Rr(A),S.shapeFlag&128&&(S.ssContent=A)),b=K,Y?(A.el=Y.el,A.component=Y.component,A.transition&&Gl(A,A.transition),A.shapeFlag|=512,i.delete(K),i.add(K)):(i.add(K),q&&i.size>parseInt(q,10)&&x(i.values().next().value)),A.shapeFlag|=256,l=A,Iy(S.type)?S:A}}},FT=BT;function Fi(e,t){return $e(e)?e.some(n=>Fi(n,t)):Rt(e)?e.split(",").includes(t):EE(e)?e.test(t):!1}function Fy(e,t){Vy(e,"a",t)}function Dy(e,t){Vy(e,"da",t)}function Vy(e,t,n=Yt){const r=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(_u(t,r,n),n){let s=n.parent;for(;s&&s.parent;)da(s.parent.vnode)&&DT(r,t,n,s),s=s.parent}}function DT(e,t,n,r){const s=_u(t,e,r,!0);Ht(()=>{Fd(r[t],s)},n)}function Qc(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function Xc(e){return e.shapeFlag&128?e.ssContent:e}function _u(e,t,n=Yt,r=!1){if(n){const s=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...l)=>{if(n.isUnmounted)return;Lo();const u=hs(n),c=or(t,n,e,l);return u(),Mo(),c});return r?s.unshift(i):s.push(i),i}}const Qr=e=>(t,n=Yt)=>(!ga||e==="sp")&&_u(e,(...r)=>t(...r),n),Ny=Qr("bm"),ct=Qr("m"),VT=Qr("bu"),jy=Qr("u"),pa=Qr("bum"),Ht=Qr("um"),NT=Qr("sp"),jT=Qr("rtg"),UT=Qr("rtc");function Uy(e,t=Yt){_u("ec",e,t)}function Rn(e,t,n,r){let s;const i=n&&n[r];if($e(e)||Rt(e)){s=new Array(e.length);for(let l=0,u=e.length;lt(l,u,void 0,i&&i[u]));else{const l=Object.keys(e);s=new Array(l.length);for(let u=0,c=l.length;u{const i=r.fn(...s);return i&&(i.key=r.key),i}:r.fn)}return e}function st(e,t,n={},r,s){if(Wt.isCE||Wt.parent&&cs(Wt.parent)&&Wt.parent.isCE)return t!=="default"&&(n.name=t),P("slot",n,r&&r());let i=e[t];i&&i._c&&(i._d=!1),V();const l=i&&Hy(i(n)),u=Ae(Ye,{key:n.key||l&&l.key||`_${t}`},l||(r?r():[]),l&&e._===1?64:-2);return!s&&u.scopeId&&(u.slotScopeIds=[u.scopeId+"-s"]),i&&i._c&&(i._d=!0),u}function Hy(e){return e.some(t=>Ys(t)?!(t.type===bn||t.type===Ye&&!Hy(t.children)):!0)?e:null}const Df=e=>e?ab(e)?wu(e)||e.proxy:Df(e.parent):null,ji=qt(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=>Df(e.parent),$root:e=>Df(e.root),$emit:e=>e.emit,$options:e=>np(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,vu(e.update)}),$nextTick:e=>e.n||(e.n=an.bind(e.proxy)),$watch:e=>OT.bind(e)}),ef=(e,t)=>e!==Et&&!e.__isScriptSetup&&ut(e,t),zT={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:s,props:i,accessCache:l,type:u,appContext:c}=e;let p;if(t[0]!=="$"){const v=l[t];if(v!==void 0)switch(v){case 1:return r[t];case 2:return s[t];case 4:return n[t];case 3:return i[t]}else{if(ef(r,t))return l[t]=1,r[t];if(s!==Et&&ut(s,t))return l[t]=2,s[t];if((p=e.propsOptions[0])&&ut(p,t))return l[t]=3,i[t];if(n!==Et&&ut(n,t))return l[t]=4,n[t];Vf&&(l[t]=0)}}const d=ji[t];let g,h;if(d)return t==="$attrs"&&In(e.attrs,"get",""),d(e);if((g=u.__cssModules)&&(g=g[t]))return g;if(n!==Et&&ut(n,t))return l[t]=4,n[t];if(h=c.config.globalProperties,ut(h,t))return h[t]},set({_:e},t,n){const{data:r,setupState:s,ctx:i}=e;return ef(s,t)?(s[t]=n,!0):r!==Et&&ut(r,t)?(r[t]=n,!0):ut(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:s,propsOptions:i}},l){let u;return!!n[l]||e!==Et&&ut(e,l)||ef(t,l)||(u=i[0])&&ut(u,l)||ut(r,l)||ut(ji,l)||ut(s.config.globalProperties,l)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:ut(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function WT(){return qT().attrs}function qT(){const e=ir();return e.setupContext||(e.setupContext=ub(e))}function Zl(e){return $e(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function ha(e,t){return!e||!t?e||t:$e(e)&&$e(t)?e.concat(t):qt({},Zl(e),Zl(t))}function KT(e){const t=ir();let n=e();return Wf(),Dd(n)&&(n=n.catch(r=>{throw hs(t),r})),[n,()=>hs(t)]}let Vf=!0;function GT(e){const t=np(e),n=e.proxy,r=e.ctx;Vf=!1,t.beforeCreate&&Fm(t.beforeCreate,e,"bc");const{data:s,computed:i,methods:l,watch:u,provide:c,inject:p,created:d,beforeMount:g,mounted:h,beforeUpdate:v,updated:_,activated:x,deactivated:b,beforeDestroy:E,beforeUnmount:C,destroyed:S,unmounted:A,render:B,renderTracked:L,renderTriggered:U,errorCaptured:j,serverPrefetch:q,expose:K,inheritAttrs:Y,components:z,directives:be,filters:ce}=t;if(p&&JT(p,r,null),l)for(const Se in l){const ve=l[Se];Fe(ve)&&(r[Se]=ve.bind(n))}if(s){const Se=s.call(n,n);xt(Se)&&(e.data=_n(Se))}if(Vf=!0,i)for(const Se in i){const ve=i[Se],Lt=Fe(ve)?ve.bind(n,n):Fe(ve.get)?ve.get.bind(n,n):nr,Gt=!Fe(ve)&&Fe(ve.set)?ve.set.bind(n):nr,Re=F({get:Lt,set:Gt});Object.defineProperty(r,Se,{enumerable:!0,configurable:!0,get:()=>Re.value,set:je=>Re.value=je})}if(u)for(const Se in u)zy(u[Se],r,n,Se);if(c){const Se=Fe(c)?c.call(n):c;Reflect.ownKeys(Se).forEach(ve=>{bt(ve,Se[ve])})}d&&Fm(d,e,"c");function ie(Se,ve){$e(ve)?ve.forEach(Lt=>Se(Lt.bind(n))):ve&&Se(ve.bind(n))}if(ie(Ny,g),ie(ct,h),ie(VT,v),ie(jy,_),ie(Fy,x),ie(Dy,b),ie(Uy,j),ie(UT,L),ie(jT,U),ie(pa,C),ie(Ht,A),ie(NT,q),$e(K))if(K.length){const Se=e.exposed||(e.exposed={});K.forEach(ve=>{Object.defineProperty(Se,ve,{get:()=>n[ve],set:Lt=>n[ve]=Lt})})}else e.exposed||(e.exposed={});B&&e.render===nr&&(e.render=B),Y!=null&&(e.inheritAttrs=Y),z&&(e.components=z),be&&(e.directives=be)}function JT(e,t,n=nr){$e(e)&&(e=Nf(e));for(const r in e){const s=e[r];let i;xt(s)?"default"in s?i=Ke(s.from||r,s.default,!0):i=Ke(s.from||r):i=Ke(s),at(i)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>i.value,set:l=>i.value=l}):t[r]=i}}function Fm(e,t,n){or($e(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function zy(e,t,n,r){const s=r.includes(".")?Oy(n,r):()=>n[r];if(Rt(e)){const i=t[e];Fe(i)&>(s,i)}else if(Fe(e))gt(s,e.bind(n));else if(xt(e))if($e(e))e.forEach(i=>zy(i,t,n,r));else{const i=Fe(e.handler)?e.handler.bind(n):t[e.handler];Fe(i)&>(s,i,e)}}function np(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:s,optionsCache:i,config:{optionMergeStrategies:l}}=e.appContext,u=i.get(t);let c;return u?c=u:!s.length&&!n&&!r?c=t:(c={},s.length&&s.forEach(p=>Yl(c,p,l,!0)),Yl(c,t,l)),xt(t)&&i.set(t,c),c}function Yl(e,t,n,r=!1){const{mixins:s,extends:i}=t;i&&Yl(e,i,n,!0),s&&s.forEach(l=>Yl(e,l,n,!0));for(const l in t)if(!(r&&l==="expose")){const u=ZT[l]||n&&n[l];e[l]=u?u(e[l],t[l]):t[l]}return e}const ZT={data:Dm,props:Vm,emits:Vm,methods:Di,computed:Di,beforeCreate:vn,created:vn,beforeMount:vn,mounted:vn,beforeUpdate:vn,updated:vn,beforeDestroy:vn,beforeUnmount:vn,destroyed:vn,unmounted:vn,activated:vn,deactivated:vn,errorCaptured:vn,serverPrefetch:vn,components:Di,directives:Di,watch:QT,provide:Dm,inject:YT};function Dm(e,t){return t?e?function(){return qt(Fe(e)?e.call(this,this):e,Fe(t)?t.call(this,this):t)}:t:e}function YT(e,t){return Di(Nf(e),Nf(t))}function Nf(e){if($e(e)){const t={};for(let n=0;n1)return n&&Fe(t)?t.call(r&&r.proxy):t}}function rp(){return!!(Yt||Wt||Ws)}const qy=Object.create(null),jf=()=>Object.create(qy),Ky=e=>Object.getPrototypeOf(e)===qy;function t$(e,t,n,r=!1){const s={},i=jf();e.propsDefaults=Object.create(null),Gy(e,t,s,i);for(const l in e.propsOptions[0])l in s||(s[l]=void 0);n?e.props=r?s:ca(s):e.type.props?e.props=s:e.props=i,e.attrs=i}function n$(e,t,n,r){const{props:s,attrs:i,vnode:{patchFlag:l}}=e,u=ze(s),[c]=e.propsOptions;let p=!1;if((r||l>0)&&!(l&16)){if(l&8){const d=e.vnode.dynamicProps;for(let g=0;g{c=!0;const[h,v]=Jy(g,t,!0);qt(l,h),v&&u.push(...v)};!n&&t.mixins.length&&t.mixins.forEach(d),e.extends&&d(e.extends),e.mixins&&e.mixins.forEach(d)}if(!i&&!c)return xt(e)&&r.set(e,Ds),Ds;if($e(i))for(let d=0;d-1,v[1]=x<0||_-1||ut(v,"default"))&&u.push(g)}}}const p=[l,u];return xt(e)&&r.set(e,p),p}function Nm(e){return e[0]!=="$"&&!Ns(e)}function jm(e){return e===null?"null":typeof e=="function"?e.name||"":typeof e=="object"&&e.constructor&&e.constructor.name||""}function Um(e,t){return jm(e)===jm(t)}function Hm(e,t){return $e(t)?t.findIndex(n=>Um(n,e)):Fe(t)&&Um(t,e)?0:-1}const Zy=e=>e[0]==="_"||e==="$stable",op=e=>$e(e)?e.map(tr):[tr(e)],r$=(e,t,n)=>{if(t._n)return t;const r=ne((...s)=>op(t(...s)),n);return r._c=!1,r},Yy=(e,t,n)=>{const r=e._ctx;for(const s in e){if(Zy(s))continue;const i=e[s];if(Fe(i))t[s]=r$(s,i,r);else if(i!=null){const l=op(i);t[s]=()=>l}}},Qy=(e,t)=>{const n=op(t);e.slots.default=()=>n},o$=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=ze(t),ey(e.slots,"_",n)):Yy(t,e.slots=jf())}else e.slots=jf(),t&&Qy(e,t)},s$=(e,t,n)=>{const{vnode:r,slots:s}=e;let i=!0,l=Et;if(r.shapeFlag&32){const u=t._;u?n&&u===1?i=!1:(qt(s,t),!n&&u===1&&delete s._):(i=!t.$stable,Yy(t,s)),l=t}else t&&(Qy(e,t),l={default:1});if(i)for(const u in s)!Zy(u)&&l[u]==null&&delete s[u]};function Ql(e,t,n,r,s=!1){if($e(e)){e.forEach((h,v)=>Ql(h,t&&($e(t)?t[v]:t),n,r,s));return}if(cs(r)&&!s)return;const i=r.shapeFlag&4?wu(r.component)||r.component.proxy:r.el,l=s?null:i,{i:u,r:c}=e,p=t&&t.r,d=u.refs===Et?u.refs={}:u.refs,g=u.setupState;if(p!=null&&p!==c&&(Rt(p)?(d[p]=null,ut(g,p)&&(g[p]=null)):at(p)&&(p.value=null)),Fe(c))$o(c,u,12,[l,d]);else{const h=Rt(c),v=at(c);if(h||v){const _=()=>{if(e.f){const x=h?ut(g,c)?g[c]:d[c]:c.value;s?$e(x)&&Fd(x,i):$e(x)?x.includes(i)||x.push(i):h?(d[c]=[i],ut(g,c)&&(g[c]=d[c])):(c.value=[i],e.k&&(d[e.k]=c.value))}else h?(d[c]=l,ut(g,c)&&(g[c]=l)):v&&(c.value=l,e.k&&(d[e.k]=l))};l?(_.id=-1,sn(_,n)):_()}}}let fo=!1;const i$=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",a$=e=>e.namespaceURI.includes("MathML"),wl=e=>{if(i$(e))return"svg";if(a$(e))return"mathml"},xl=e=>e.nodeType===8;function l$(e){const{mt:t,p:n,o:{patchProp:r,createText:s,nextSibling:i,parentNode:l,remove:u,insert:c,createComment:p}}=e,d=(S,A)=>{if(!A.hasChildNodes()){n(null,S,A),ql(),A._vnode=S;return}fo=!1,g(A.firstChild,S,null,null,null),ql(),A._vnode=S,fo&&console.error("Hydration completed but contains mismatches.")},g=(S,A,B,L,U,j=!1)=>{j=j||!!A.dynamicChildren;const q=xl(S)&&S.data==="[",K=()=>x(S,A,B,L,U,q),{type:Y,ref:z,shapeFlag:be,patchFlag:ce}=A;let ke=S.nodeType;A.el=S,ce===-2&&(j=!1,A.dynamicChildren=null);let ie=null;switch(Y){case Js:ke!==3?A.children===""?(c(A.el=s(""),l(S),S),ie=S):ie=K():(S.data!==A.children&&(fo=!0,S.data=A.children),ie=i(S));break;case bn:C(S)?(ie=i(S),E(A.el=S.content.firstChild,S,B)):ke!==8||q?ie=K():ie=i(S);break;case qs:if(q&&(S=i(S),ke=S.nodeType),ke===1||ke===3){ie=S;const Se=!A.children.length;for(let ve=0;ve{j=j||!!A.dynamicChildren;const{type:q,props:K,patchFlag:Y,shapeFlag:z,dirs:be,transition:ce}=A,ke=q==="input"||q==="option";if(ke||Y!==-1){be&&Cr(A,null,B,"created");let ie=!1;if(C(S)){ie=eb(L,ce)&&B&&B.vnode.props&&B.vnode.props.appear;const ve=S.content.firstChild;ie&&ce.beforeEnter(ve),E(ve,S,B),A.el=S=ve}if(z&16&&!(K&&(K.innerHTML||K.textContent))){let ve=v(S.firstChild,A,S,B,L,U,j);for(;ve;){fo=!0;const Lt=ve;ve=ve.nextSibling,u(Lt)}}else z&8&&S.textContent!==A.children&&(fo=!0,S.textContent=A.children);if(K)if(ke||!j||Y&48)for(const ve in K)(ke&&(ve.endsWith("value")||ve==="indeterminate")||ua(ve)&&!Ns(ve)||ve[0]===".")&&r(S,ve,null,K[ve],void 0,void 0,B);else K.onClick&&r(S,"onClick",null,K.onClick,void 0,void 0,B);let Se;(Se=K&&K.onVnodeBeforeMount)&&Tn(Se,B,A),be&&Cr(A,null,B,"beforeMount"),((Se=K&&K.onVnodeMounted)||be||ie)&&Ry(()=>{Se&&Tn(Se,B,A),ie&&ce.enter(S),be&&Cr(A,null,B,"mounted")},L)}return S.nextSibling},v=(S,A,B,L,U,j,q)=>{q=q||!!A.dynamicChildren;const K=A.children,Y=K.length;for(let z=0;z{const{slotScopeIds:q}=A;q&&(U=U?U.concat(q):q);const K=l(S),Y=v(i(S),A,K,B,L,U,j);return Y&&xl(Y)&&Y.data==="]"?i(A.anchor=Y):(fo=!0,c(A.anchor=p("]"),K,Y),Y)},x=(S,A,B,L,U,j)=>{if(fo=!0,A.el=null,j){const Y=b(S);for(;;){const z=i(S);if(z&&z!==Y)u(z);else break}}const q=i(S),K=l(S);return u(S),n(null,A,K,q,B,L,wl(K),U),q},b=(S,A="[",B="]")=>{let L=0;for(;S;)if(S=i(S),S&&xl(S)&&(S.data===A&&L++,S.data===B)){if(L===0)return i(S);L--}return S},E=(S,A,B)=>{const L=A.parentNode;L&&L.replaceChild(S,A);let U=B;for(;U;)U.vnode.el===A&&(U.vnode.el=U.subTree.el=S),U=U.parent},C=S=>S.nodeType===1&&S.tagName.toLowerCase()==="template";return[d,g]}const sn=Ry;function u$(e){return Xy(e)}function c$(e){return Xy(e,l$)}function Xy(e,t){const n=ny();n.__VUE__=!0;const{insert:r,remove:s,patchProp:i,createElement:l,createText:u,createComment:c,setText:p,setElementText:d,parentNode:g,nextSibling:h,setScopeId:v=nr,insertStaticContent:_}=e,x=(T,O,H,re=null,G=null,fe=null,me=void 0,le=null,ue=!!O.dynamicChildren)=>{if(T===O)return;T&&!pr(T,O)&&(re=ee(T),je(T,G,fe,!0),T=null),O.patchFlag===-2&&(ue=!1,O.dynamicChildren=null);const{type:se,ref:_e,shapeFlag:Oe}=O;switch(se){case Js:b(T,O,H,re);break;case bn:E(T,O,H,re);break;case qs:T==null&&C(O,H,re,me);break;case Ye:z(T,O,H,re,G,fe,me,le,ue);break;default:Oe&1?B(T,O,H,re,G,fe,me,le,ue):Oe&6?be(T,O,H,re,G,fe,me,le,ue):(Oe&64||Oe&128)&&se.process(T,O,H,re,G,fe,me,le,ue,Ce)}_e!=null&&G&&Ql(_e,T&&T.ref,fe,O||T,!O)},b=(T,O,H,re)=>{if(T==null)r(O.el=u(O.children),H,re);else{const G=O.el=T.el;O.children!==T.children&&p(G,O.children)}},E=(T,O,H,re)=>{T==null?r(O.el=c(O.children||""),H,re):O.el=T.el},C=(T,O,H,re)=>{[T.el,T.anchor]=_(T.children,O,H,re,T.el,T.anchor)},S=({el:T,anchor:O},H,re)=>{let G;for(;T&&T!==O;)G=h(T),r(T,H,re),T=G;r(O,H,re)},A=({el:T,anchor:O})=>{let H;for(;T&&T!==O;)H=h(T),s(T),T=H;s(O)},B=(T,O,H,re,G,fe,me,le,ue)=>{O.type==="svg"?me="svg":O.type==="math"&&(me="mathml"),T==null?L(O,H,re,G,fe,me,le,ue):q(T,O,G,fe,me,le,ue)},L=(T,O,H,re,G,fe,me,le)=>{let ue,se;const{props:_e,shapeFlag:Oe,transition:Ee,dirs:De}=T;if(ue=T.el=l(T.type,fe,_e&&_e.is,_e),Oe&8?d(ue,T.children):Oe&16&&j(T.children,ue,null,re,G,tf(T,fe),me,le),De&&Cr(T,null,re,"created"),U(ue,T,T.scopeId,me,re),_e){for(const rt in _e)rt!=="value"&&!Ns(rt)&&i(ue,rt,null,_e[rt],fe,T.children,re,G,St);"value"in _e&&i(ue,"value",null,_e.value,fe),(se=_e.onVnodeBeforeMount)&&Tn(se,re,T)}De&&Cr(T,null,re,"beforeMount");const He=eb(G,Ee);He&&Ee.beforeEnter(ue),r(ue,O,H),((se=_e&&_e.onVnodeMounted)||He||De)&&sn(()=>{se&&Tn(se,re,T),He&&Ee.enter(ue),De&&Cr(T,null,re,"mounted")},G)},U=(T,O,H,re,G)=>{if(H&&v(T,H),re)for(let fe=0;fe{for(let se=ue;se{const le=O.el=T.el;let{patchFlag:ue,dynamicChildren:se,dirs:_e}=O;ue|=T.patchFlag&16;const Oe=T.props||Et,Ee=O.props||Et;let De;if(H&&qo(H,!1),(De=Ee.onVnodeBeforeUpdate)&&Tn(De,H,O,T),_e&&Cr(O,T,H,"beforeUpdate"),H&&qo(H,!0),se?K(T.dynamicChildren,se,le,H,re,tf(O,G),fe):me||ve(T,O,le,null,H,re,tf(O,G),fe,!1),ue>0){if(ue&16)Y(le,O,Oe,Ee,H,re,G);else if(ue&2&&Oe.class!==Ee.class&&i(le,"class",null,Ee.class,G),ue&4&&i(le,"style",Oe.style,Ee.style,G),ue&8){const He=O.dynamicProps;for(let rt=0;rt{De&&Tn(De,H,O,T),_e&&Cr(O,T,H,"updated")},re)},K=(T,O,H,re,G,fe,me)=>{for(let le=0;le{if(H!==re){if(H!==Et)for(const le in H)!Ns(le)&&!(le in re)&&i(T,le,H[le],null,me,O.children,G,fe,St);for(const le in re){if(Ns(le))continue;const ue=re[le],se=H[le];ue!==se&&le!=="value"&&i(T,le,se,ue,me,O.children,G,fe,St)}"value"in re&&i(T,"value",H.value,re.value,me)}},z=(T,O,H,re,G,fe,me,le,ue)=>{const se=O.el=T?T.el:u(""),_e=O.anchor=T?T.anchor:u("");let{patchFlag:Oe,dynamicChildren:Ee,slotScopeIds:De}=O;De&&(le=le?le.concat(De):De),T==null?(r(se,H,re),r(_e,H,re),j(O.children||[],H,_e,G,fe,me,le,ue)):Oe>0&&Oe&64&&Ee&&T.dynamicChildren?(K(T.dynamicChildren,Ee,H,G,fe,me,le),(O.key!=null||G&&O===G.subTree)&&sp(T,O,!0)):ve(T,O,H,_e,G,fe,me,le,ue)},be=(T,O,H,re,G,fe,me,le,ue)=>{O.slotScopeIds=le,T==null?O.shapeFlag&512?G.ctx.activate(O,H,re,me,ue):ce(O,H,re,G,fe,me,ue):ke(T,O,ue)},ce=(T,O,H,re,G,fe,me)=>{const le=T.component=b$(T,re,G);if(da(T)&&(le.ctx.renderer=Ce),_$(le),le.asyncDep){if(G&&G.registerDep(le,ie),!T.el){const ue=le.subTree=P(bn);E(null,ue,O,H)}}else ie(le,T,O,H,G,fe,me)},ke=(T,O,H)=>{const re=O.component=T.component;if(wT(T,O,H))if(re.asyncDep&&!re.asyncResolved){Se(re,O,H);return}else re.next=O,pT(re.update),re.effect.dirty=!0,re.update();else O.el=T.el,re.vnode=O},ie=(T,O,H,re,G,fe,me)=>{const le=()=>{if(T.isMounted){let{next:_e,bu:Oe,u:Ee,parent:De,vnode:He}=T;{const yr=tb(T);if(yr){_e&&(_e.el=He.el,Se(T,_e,me)),yr.asyncDep.then(()=>{T.isUnmounted||le()});return}}let rt=_e,_t;qo(T,!1),_e?(_e.el=He.el,Se(T,_e,me)):_e=He,Oe&&js(Oe),(_t=_e.props&&_e.props.onVnodeBeforeUpdate)&&Tn(_t,De,_e,He),qo(T,!0);const Mt=Jc(T),dn=T.subTree;T.subTree=Mt,x(dn,Mt,g(dn.el),ee(dn),T,G,fe),_e.el=Mt.el,rt===null&&Qd(T,Mt.el),Ee&&sn(Ee,G),(_t=_e.props&&_e.props.onVnodeUpdated)&&sn(()=>Tn(_t,De,_e,He),G)}else{let _e;const{el:Oe,props:Ee}=O,{bm:De,m:He,parent:rt}=T,_t=cs(O);if(qo(T,!1),De&&js(De),!_t&&(_e=Ee&&Ee.onVnodeBeforeMount)&&Tn(_e,rt,O),qo(T,!0),Oe&&mt){const Mt=()=>{T.subTree=Jc(T),mt(Oe,T.subTree,T,G,null)};_t?O.type.__asyncLoader().then(()=>!T.isUnmounted&&Mt()):Mt()}else{const Mt=T.subTree=Jc(T);x(null,Mt,H,re,T,G,fe),O.el=Mt.el}if(He&&sn(He,G),!_t&&(_e=Ee&&Ee.onVnodeMounted)){const Mt=O;sn(()=>Tn(_e,rt,Mt),G)}(O.shapeFlag&256||rt&&cs(rt.vnode)&&rt.vnode.shapeFlag&256)&&T.a&&sn(T.a,G),T.isMounted=!0,O=H=re=null}},ue=T.effect=new jd(le,nr,()=>vu(se),T.scope),se=T.update=()=>{ue.dirty&&ue.run()};se.id=T.uid,qo(T,!0),se()},Se=(T,O,H)=>{O.component=T;const re=T.vnode.props;T.vnode=O,T.next=null,n$(T,O.props,re,H),s$(T,O.children,H),Lo(),Om(T),Mo()},ve=(T,O,H,re,G,fe,me,le,ue=!1)=>{const se=T&&T.children,_e=T?T.shapeFlag:0,Oe=O.children,{patchFlag:Ee,shapeFlag:De}=O;if(Ee>0){if(Ee&128){Gt(se,Oe,H,re,G,fe,me,le,ue);return}else if(Ee&256){Lt(se,Oe,H,re,G,fe,me,le,ue);return}}De&8?(_e&16&&St(se,G,fe),Oe!==se&&d(H,Oe)):_e&16?De&16?Gt(se,Oe,H,re,G,fe,me,le,ue):St(se,G,fe,!0):(_e&8&&d(H,""),De&16&&j(Oe,H,re,G,fe,me,le,ue))},Lt=(T,O,H,re,G,fe,me,le,ue)=>{T=T||Ds,O=O||Ds;const se=T.length,_e=O.length,Oe=Math.min(se,_e);let Ee;for(Ee=0;Ee_e?St(T,G,fe,!0,!1,Oe):j(O,H,re,G,fe,me,le,ue,Oe)},Gt=(T,O,H,re,G,fe,me,le,ue)=>{let se=0;const _e=O.length;let Oe=T.length-1,Ee=_e-1;for(;se<=Oe&&se<=Ee;){const De=T[se],He=O[se]=ue?xo(O[se]):tr(O[se]);if(pr(De,He))x(De,He,H,null,G,fe,me,le,ue);else break;se++}for(;se<=Oe&&se<=Ee;){const De=T[Oe],He=O[Ee]=ue?xo(O[Ee]):tr(O[Ee]);if(pr(De,He))x(De,He,H,null,G,fe,me,le,ue);else break;Oe--,Ee--}if(se>Oe){if(se<=Ee){const De=Ee+1,He=De<_e?O[De].el:re;for(;se<=Ee;)x(null,O[se]=ue?xo(O[se]):tr(O[se]),H,He,G,fe,me,le,ue),se++}}else if(se>Ee)for(;se<=Oe;)je(T[se],G,fe,!0),se++;else{const De=se,He=se,rt=new Map;for(se=He;se<=Ee;se++){const en=O[se]=ue?xo(O[se]):tr(O[se]);en.key!=null&&rt.set(en.key,se)}let _t,Mt=0;const dn=Ee-He+1;let yr=!1,bs=0;const Or=new Array(dn);for(se=0;se=dn){je(en,G,fe,!0);continue}let xn;if(en.key!=null)xn=rt.get(en.key);else for(_t=He;_t<=Ee;_t++)if(Or[_t-He]===0&&pr(en,O[_t])){xn=_t;break}xn===void 0?je(en,G,fe,!0):(Or[xn-He]=se+1,xn>=bs?bs=xn:yr=!0,x(en,O[xn],H,null,G,fe,me,le,ue),Mt++)}const _s=yr?f$(Or):Ds;for(_t=_s.length-1,se=dn-1;se>=0;se--){const en=He+se,xn=O[en],Ca=en+1<_e?O[en+1].el:re;Or[se]===0?x(null,xn,H,Ca,G,fe,me,le,ue):yr&&(_t<0||se!==_s[_t]?Re(xn,H,Ca,2):_t--)}}},Re=(T,O,H,re,G=null)=>{const{el:fe,type:me,transition:le,children:ue,shapeFlag:se}=T;if(se&6){Re(T.component.subTree,O,H,re);return}if(se&128){T.suspense.move(O,H,re);return}if(se&64){me.move(T,O,H,Ce);return}if(me===Ye){r(fe,O,H);for(let Oe=0;Oele.enter(fe),G);else{const{leave:Oe,delayLeave:Ee,afterLeave:De}=le,He=()=>r(fe,O,H),rt=()=>{Oe(fe,()=>{He(),De&&De()})};Ee?Ee(fe,He,rt):rt()}else r(fe,O,H)},je=(T,O,H,re=!1,G=!1)=>{const{type:fe,props:me,ref:le,children:ue,dynamicChildren:se,shapeFlag:_e,patchFlag:Oe,dirs:Ee}=T;if(le!=null&&Ql(le,null,H,T,!0),_e&256){O.ctx.deactivate(T);return}const De=_e&1&&Ee,He=!cs(T);let rt;if(He&&(rt=me&&me.onVnodeBeforeUnmount)&&Tn(rt,O,T),_e&6)fn(T.component,H,re);else{if(_e&128){T.suspense.unmount(H,re);return}De&&Cr(T,null,O,"beforeUnmount"),_e&64?T.type.remove(T,O,H,G,Ce,re):se&&(fe!==Ye||Oe>0&&Oe&64)?St(se,O,H,!1,!0):(fe===Ye&&Oe&384||!G&&_e&16)&&St(ue,O,H),re&&Ft(T)}(He&&(rt=me&&me.onVnodeUnmounted)||De)&&sn(()=>{rt&&Tn(rt,O,T),De&&Cr(T,null,O,"unmounted")},H)},Ft=T=>{const{type:O,el:H,anchor:re,transition:G}=T;if(O===Ye){Dt(H,re);return}if(O===qs){A(T);return}const fe=()=>{s(H),G&&!G.persisted&&G.afterLeave&&G.afterLeave()};if(T.shapeFlag&1&&G&&!G.persisted){const{leave:me,delayLeave:le}=G,ue=()=>me(H,fe);le?le(T.el,fe,ue):ue()}else fe()},Dt=(T,O)=>{let H;for(;T!==O;)H=h(T),s(T),T=H;s(O)},fn=(T,O,H)=>{const{bum:re,scope:G,update:fe,subTree:me,um:le}=T;re&&js(re),G.stop(),fe&&(fe.active=!1,je(me,T,O,H)),le&&sn(le,O),sn(()=>{T.isUnmounted=!0},O),O&&O.pendingBranch&&!O.isUnmounted&&T.asyncDep&&!T.asyncResolved&&T.suspenseId===O.pendingId&&(O.deps--,O.deps===0&&O.resolve())},St=(T,O,H,re=!1,G=!1,fe=0)=>{for(let me=fe;meT.shapeFlag&6?ee(T.component.subTree):T.shapeFlag&128?T.suspense.next():h(T.anchor||T.el);let ye=!1;const pe=(T,O,H)=>{T==null?O._vnode&&je(O._vnode,null,null,!0):x(O._vnode||null,T,O,null,null,null,H),ye||(ye=!0,Om(),ql(),ye=!1),O._vnode=T},Ce={p:x,um:je,m:Re,r:Ft,mt:ce,mc:j,pc:ve,pbc:K,n:ee,o:e};let nt,mt;return t&&([nt,mt]=t(Ce)),{render:pe,hydrate:nt,createApp:e$(pe,nt)}}function tf({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function qo({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function eb(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function sp(e,t,n=!1){const r=e.children,s=t.children;if($e(r)&&$e(s))for(let i=0;i>1,e[n[u]]0&&(t[r]=n[i-1]),n[i]=r)}}for(i=n.length,l=n[i-1];i-- >0;)n[i]=l,l=t[l];return n}function tb(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:tb(t)}const d$=e=>e.__isTeleport,Ui=e=>e&&(e.disabled||e.disabled===""),zm=e=>typeof SVGElement<"u"&&e instanceof SVGElement,Wm=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,Hf=(e,t)=>{const n=e&&e.to;return Rt(n)?t?t(n):null:n},p$={name:"Teleport",__isTeleport:!0,process(e,t,n,r,s,i,l,u,c,p){const{mc:d,pc:g,pbc:h,o:{insert:v,querySelector:_,createText:x,createComment:b}}=p,E=Ui(t.props);let{shapeFlag:C,children:S,dynamicChildren:A}=t;if(e==null){const B=t.el=x(""),L=t.anchor=x("");v(B,n,r),v(L,n,r);const U=t.target=Hf(t.props,_),j=t.targetAnchor=x("");U&&(v(j,U),l==="svg"||zm(U)?l="svg":(l==="mathml"||Wm(U))&&(l="mathml"));const q=(K,Y)=>{C&16&&d(S,K,Y,s,i,l,u,c)};E?q(n,L):U&&q(U,j)}else{t.el=e.el;const B=t.anchor=e.anchor,L=t.target=e.target,U=t.targetAnchor=e.targetAnchor,j=Ui(e.props),q=j?n:L,K=j?B:U;if(l==="svg"||zm(L)?l="svg":(l==="mathml"||Wm(L))&&(l="mathml"),A?(h(e.dynamicChildren,A,q,s,i,l,u),sp(e,t,!0)):c||g(e,t,q,K,s,i,l,u,!1),E)j?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):kl(t,n,B,p,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const Y=t.target=Hf(t.props,_);Y&&kl(t,Y,null,p,0)}else j&&kl(t,L,U,p,1)}rb(t)},remove(e,t,n,r,{um:s,o:{remove:i}},l){const{shapeFlag:u,children:c,anchor:p,targetAnchor:d,target:g,props:h}=e;if(g&&i(d),l&&i(p),u&16){const v=l||!Ui(h);for(let _=0;_0?rr||Ds:null,ob(),Zs>0&&rr&&rr.push(e),e}function Z(e,t,n,r,s,i){return sb(I(e,t,n,r,s,i,!0))}function Ae(e,t,n,r,s){return sb(P(e,t,n,r,s,!0))}function Ys(e){return e?e.__v_isVNode===!0:!1}function pr(e,t){return e.type===t.type&&e.key===t.key}const ib=({key:e})=>e??null,Ll=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Rt(e)||at(e)||Fe(e)?{i:Wt,r:e,k:t,f:!!n}:e:null);function I(e,t=null,n=null,r=0,s=null,i=e===Ye?0:1,l=!1,u=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&ib(t),ref:t&&Ll(t),scopeId:bu,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:i,patchFlag:r,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:Wt};return u?(ip(c,n),i&128&&e.normalize(c)):n&&(c.shapeFlag|=Rt(n)?8:16),Zs>0&&!l&&rr&&(c.patchFlag>0||i&6)&&c.patchFlag!==32&&rr.push(c),c}const P=g$;function g$(e,t=null,n=null,r=0,s=null,i=!1){if((!e||e===$y)&&(e=bn),Ys(e)){const u=Rr(e,t,!0);return n&&ip(u,n),Zs>0&&!i&&rr&&(u.shapeFlag&6?rr[rr.indexOf(e)]=u:rr.push(u)),u.patchFlag|=-2,u}if(k$(e)&&(e=e.__vccOpts),t){t=Qs(t);let{class:u,style:c}=t;u&&!Rt(u)&&(t.class=ae(u)),xt(c)&&(yy(c)&&!$e(c)&&(c=qt({},c)),t.style=ds(c))}const l=Rt(e)?1:Iy(e)?128:d$(e)?64:xt(e)?4:Fe(e)?2:0;return I(e,t,n,r,s,l,i,!0)}function Qs(e){return e?yy(e)||Ky(e)?qt({},e):e:null}function Rr(e,t,n=!1){const{props:r,ref:s,patchFlag:i,children:l}=e,u=t?lt(r||{},t):r;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&ib(u),ref:t&&t.ref?n&&s?$e(s)?s.concat(Ll(t)):[s,Ll(t)]:Ll(t):s,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Ye?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Rr(e.ssContent),ssFallback:e.ssFallback&&Rr(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function de(e=" ",t=0){return P(Js,null,e,t)}function m$(e,t){const n=P(qs,null,e);return n.staticCount=t,n}function Ie(e="",t=!1){return t?(V(),Ae(bn,null,e)):P(bn,null,e)}function tr(e){return e==null||typeof e=="boolean"?P(bn):$e(e)?P(Ye,null,e.slice()):typeof e=="object"?xo(e):P(Js,null,String(e))}function xo(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Rr(e)}function ip(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if($e(t))n=16;else if(typeof t=="object")if(r&65){const s=t.default;s&&(s._c&&(s._d=!1),ip(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!Ky(t)?t._ctx=Wt:s===3&&Wt&&(Wt.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else Fe(t)?(t={default:t,_ctx:Wt},n=32):(t=String(t),r&64?(n=16,t=[de(t)]):n=8);e.children=t,e.shapeFlag|=n}function lt(...e){const t={};for(let n=0;nYt||Wt;let Xl,zf;{const e=ny(),t=(n,r)=>{let s;return(s=e[n])||(s=e[n]=[]),s.push(r),i=>{s.length>1?s.forEach(l=>l(i)):s[0](i)}};Xl=t("__VUE_INSTANCE_SETTERS__",n=>Yt=n),zf=t("__VUE_SSR_SETTERS__",n=>ga=n)}const hs=e=>{const t=Yt;return Xl(e),e.scope.on(),()=>{e.scope.off(),Xl(t)}},Wf=()=>{Yt&&Yt.scope.off(),Xl(null)};function ab(e){return e.vnode.shapeFlag&4}let ga=!1;function _$(e,t=!1){t&&zf(t);const{props:n,children:r}=e.vnode,s=ab(e);t$(e,n,s,t),o$(e,r);const i=s?w$(e,t):void 0;return t&&zf(!1),i}function w$(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,zT);const{setup:r}=n;if(r){const s=e.setupContext=r.length>1?ub(e):null,i=hs(e);Lo();const l=$o(r,e,0,[e.props,s]);if(Mo(),i(),Dd(l)){if(l.then(Wf,Wf),t)return l.then(u=>{qf(e,u,t)}).catch(u=>{ri(u,e,0)});e.asyncDep=l}else qf(e,l,t)}else lb(e,t)}function qf(e,t,n){Fe(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:xt(t)&&(e.setupState=wy(t)),lb(e,n)}let Km;function lb(e,t,n){const r=e.type;if(!e.render){if(!t&&Km&&!r.render){const s=r.template||np(e).template;if(s){const{isCustomElement:i,compilerOptions:l}=e.appContext.config,{delimiters:u,compilerOptions:c}=r,p=qt(qt({isCustomElement:i,delimiters:u},l),c);r.render=Km(s,p)}}e.render=r.render||nr}{const s=hs(e);Lo();try{GT(e)}finally{Mo(),s()}}}const x$={get(e,t){return In(e,"get",""),e[t]}};function ub(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,x$),slots:e.slots,emit:e.emit,expose:t}}function wu(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(wy(Gd(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in ji)return ji[n](e)},has(t,n){return n in t||n in ji}}))}function Kf(e,t=!0){return Fe(e)?e.displayName||e.name:e.name||t&&e.__name}function k$(e){return Fe(e)&&"__vccOpts"in e}const F=(e,t)=>oT(e,t,ga);function Bo(e,t,n=Et){const r=ir(),s=mr(t),i=ys(t),l=xy((c,p)=>{let d;return RT(()=>{const g=e[t];Ar(d,g)&&(d=g,p())}),{get(){return c(),n.get?n.get(d):d},set(g){const h=r.vnode.props;!(h&&(t in h||s in h||i in h)&&(`onUpdate:${t}`in h||`onUpdate:${s}`in h||`onUpdate:${i}`in h))&&Ar(g,d)&&(d=g,p()),r.emit(`update:${t}`,n.set?n.set(g):g)}}}),u=t==="modelValue"?"modelModifiers":`${t}Modifiers`;return l[Symbol.iterator]=()=>{let c=0;return{next(){return c<2?{value:c++?e[u]||{}:l,done:!1}:{done:!0}}}},l}function Xe(e,t,n){const r=arguments.length;return r===2?xt(t)&&!$e(t)?Ys(t)?P(e,null,[t]):P(e,t):P(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Ys(n)&&(n=[n]),P(e,t,n))}const cb="3.4.23";/** +**/function To(e,t,n,r){try{return r?e(...r):e()}catch(s){ri(s,t,n)}}function or(e,t,n,r){if(Fe(e)){const s=To(e,t,n,r);return s&&Md(s)&&s.catch(i=>{ri(i,t,n)}),s}if($e(e)){const s=[];for(let i=0;i>>1,s=cn[r],i=Yi(s);i$r&&cn.splice(t,1)}function Of(e){$e(e)?Hs.push(...e):(!bo||!bo.includes(e,e.allowRecurse?ts+1:ts))&&Hs.push(e),by()}function Tm(e,t,n=Zi?$r+1:0){for(;nYi(n)-Yi(r));if(Hs.length=0,bo){bo.push(...t);return}for(bo=t,ts=0;tse.id==null?1/0:e.id,iT=(e,t)=>{const n=Yi(e)-Yi(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function _y(e){Rf=!1,Zi=!0,cn.sort(iT);try{for($r=0;$rRt(v)?v.trim():v)),g&&(s=n.map(Tf))}let u,c=r[u=zc(t)]||r[u=zc(mr(t))];!c&&i&&(c=r[u=zc(ys(t))]),c&&or(c,e,6,s);const p=r[u+"Once"];if(p){if(!e.emitted)e.emitted={};else if(e.emitted[u])return;e.emitted[u]=!0,or(p,e,6,s)}}function wy(e,t,n=!1){const r=t.emitsCache,s=r.get(e);if(s!==void 0)return s;const i=e.emits;let l={},u=!1;if(!Fe(e)){const c=p=>{const d=wy(p,t,!0);d&&(u=!0,qt(l,d))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!i&&!u?(xt(e)&&r.set(e,null),null):($e(i)?i.forEach(c=>l[c]=null):qt(l,i),xt(e)&&r.set(e,l),l)}function mu(e,t){return!e||!aa(t)?!1:(t=t.slice(2).replace(/Once$/,""),ut(e,t[0].toLowerCase()+t.slice(1))||ut(e,ys(t))||ut(e,t))}let Wt=null,vu=null;function zl(e){const t=Wt;return Wt=e,vu=e&&e.type.__scopeId||null,t}function lT(e){vu=e}function uT(){vu=null}function ne(e,t=Wt,n){if(!t||e._n)return e;const r=(...s)=>{r._d&&jm(-1);const i=zl(t);let l;try{l=e(...s)}finally{zl(i),r._d&&jm(1)}return l};return r._n=!0,r._c=!0,r._d=!0,r}function qc(e){const{type:t,vnode:n,proxy:r,withProxy:s,props:i,propsOptions:[l],slots:u,attrs:c,emit:p,render:d,renderCache:g,data:h,setupState:v,ctx:_,inheritAttrs:x}=e;let b,E;const C=zl(e);try{if(n.shapeFlag&4){const A=s||r,B=A;b=tr(d.call(B,A,g,i,v,h,_)),E=c}else{const A=t;b=tr(A.length>1?A(i,{attrs:c,slots:u,emit:p}):A(i,null)),E=t.props?c:fT(c)}}catch(A){Ui.length=0,ri(A,e,1),b=P(bn)}let S=b;if(E&&x!==!1){const A=Object.keys(E),{shapeFlag:B}=S;A.length&&B&7&&(l&&A.some(Pd)&&(E=dT(E,l)),S=Rr(S,E))}return n.dirs&&(S=Rr(S),S.dirs=S.dirs?S.dirs.concat(n.dirs):n.dirs),n.transition&&(S.transition=n.transition),b=S,zl(C),b}function cT(e,t=!0){let n;for(let r=0;r{let t;for(const n in e)(n==="class"||n==="style"||aa(n))&&((t||(t={}))[n]=e[n]);return t},dT=(e,t)=>{const n={};for(const r in e)(!Pd(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function pT(e,t,n){const{props:r,children:s,component:i}=e,{props:l,children:u,patchFlag:c}=t,p=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return r?$m(r,l,p):!!l;if(c&8){const d=t.dynamicProps;for(let g=0;ge.__isSuspense;let Pf=0;const hT={name:"Suspense",__isSuspense:!0,process(e,t,n,r,s,i,l,u,c,p){if(e==null)gT(t,n,r,s,i,l,u,c,p);else{if(i&&i.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}mT(e,t,n,r,s,l,u,c,p)}},hydrate:vT,create:Qd,normalize:yT},Yd=hT;function Qi(e,t){const n=e.props&&e.props[t];Fe(n)&&n()}function gT(e,t,n,r,s,i,l,u,c){const{p,o:{createElement:d}}=c,g=d("div"),h=e.suspense=Qd(e,s,r,t,g,n,i,l,u,c);p(null,h.pendingBranch=e.ssContent,g,null,r,h,i,l),h.deps>0?(Qi(e,"onPending"),Qi(e,"onFallback"),p(null,e.ssFallback,t,n,r,null,i,l),zs(h,e.ssFallback)):h.resolve(!1,!0)}function mT(e,t,n,r,s,i,l,u,{p:c,um:p,o:{createElement:d}}){const g=t.suspense=e.suspense;g.vnode=t,t.el=e.el;const h=t.ssContent,v=t.ssFallback,{activeBranch:_,pendingBranch:x,isInFallback:b,isHydrating:E}=g;if(x)g.pendingBranch=h,pr(h,x)?(c(x,h,g.hiddenContainer,null,s,g,i,l,u),g.deps<=0?g.resolve():b&&(E||(c(_,v,n,r,s,null,i,l,u),zs(g,v)))):(g.pendingId=Pf++,E?(g.isHydrating=!1,g.activeBranch=x):p(x,s,g),g.deps=0,g.effects.length=0,g.hiddenContainer=d("div"),b?(c(null,h,g.hiddenContainer,null,s,g,i,l,u),g.deps<=0?g.resolve():(c(_,v,n,r,s,null,i,l,u),zs(g,v))):_&&pr(h,_)?(c(_,h,n,r,s,g,i,l,u),g.resolve(!0)):(c(null,h,g.hiddenContainer,null,s,g,i,l,u),g.deps<=0&&g.resolve()));else if(_&&pr(h,_))c(_,h,n,r,s,g,i,l,u),zs(g,h);else if(Qi(t,"onPending"),g.pendingBranch=h,h.shapeFlag&512?g.pendingId=h.component.suspenseId:g.pendingId=Pf++,c(null,h,g.hiddenContainer,null,s,g,i,l,u),g.deps<=0)g.resolve();else{const{timeout:C,pendingId:S}=g;C>0?setTimeout(()=>{g.pendingId===S&&g.fallback(v)},C):C===0&&g.fallback(v)}}function Qd(e,t,n,r,s,i,l,u,c,p,d=!1){const{p:g,m:h,um:v,n:_,o:{parentNode:x,remove:b}}=p;let E;const C=bT(e);C&&t!=null&&t.pendingBranch&&(E=t.pendingId,t.deps++);const S=e.props?Jv(e.props.timeout):void 0,A=i,B={vnode:e,parent:t,parentComponent:n,namespace:l,container:r,hiddenContainer:s,deps:0,pendingId:Pf++,timeout:typeof S=="number"?S:-1,activeBranch:null,pendingBranch:null,isInFallback:!d,isHydrating:d,isUnmounted:!1,effects:[],resolve(L=!1,H=!1){const{vnode:j,activeBranch:q,pendingBranch:K,pendingId:Y,effects:z,parentComponent:be,container:ce}=B;let ke=!1;B.isHydrating?B.isHydrating=!1:L||(ke=q&&K.transition&&K.transition.mode==="out-in",ke&&(q.transition.afterLeave=()=>{Y===B.pendingId&&(h(K,ce,i===A?_(q):i,0),Of(z))}),q&&(x(q.el)!==B.hiddenContainer&&(i=_(q)),v(q,be,B,!0)),ke||h(K,ce,i,0)),zs(B,K),B.pendingBranch=null,B.isInFallback=!1;let ie=B.parent,Se=!1;for(;ie;){if(ie.pendingBranch){ie.effects.push(...z),Se=!0;break}ie=ie.parent}!Se&&!ke&&Of(z),B.effects=[],C&&t&&t.pendingBranch&&E===t.pendingId&&(t.deps--,t.deps===0&&!H&&t.resolve()),Qi(j,"onResolve")},fallback(L){if(!B.pendingBranch)return;const{vnode:H,activeBranch:j,parentComponent:q,container:K,namespace:Y}=B;Qi(H,"onFallback");const z=_(j),be=()=>{B.isInFallback&&(g(null,L,K,z,q,null,Y,u,c),zs(B,L))},ce=L.transition&&L.transition.mode==="out-in";ce&&(j.transition.afterLeave=be),B.isInFallback=!0,v(j,q,null,!0),ce||be()},move(L,H,j){B.activeBranch&&h(B.activeBranch,L,H,j),B.container=L},next(){return B.activeBranch&&_(B.activeBranch)},registerDep(L,H){const j=!!B.pendingBranch;j&&B.deps++;const q=L.vnode.el;L.asyncDep.catch(K=>{ri(K,L,0)}).then(K=>{if(L.isUnmounted||B.isUnmounted||B.pendingId!==L.suspenseId)return;L.asyncResolved=!0;const{vnode:Y}=L;Hf(L,K,!1),q&&(Y.el=q);const z=!q&&L.subTree.el;H(L,Y,x(q||L.subTree.el),q?null:_(L.subTree),B,l,c),z&&b(z),Jd(L,Y.el),j&&--B.deps===0&&B.resolve()})},unmount(L,H){B.isUnmounted=!0,B.activeBranch&&v(B.activeBranch,n,L,H),B.pendingBranch&&v(B.pendingBranch,n,L,H)}};return B}function vT(e,t,n,r,s,i,l,u,c){const p=t.suspense=Qd(t,r,n,e.parentNode,document.createElement("div"),null,s,i,l,u,!0),d=c(e,p.pendingBranch=t.ssContent,n,p,i,l);return p.deps===0&&p.resolve(!1,!0),d}function yT(e){const{shapeFlag:t,children:n}=e,r=t&32;e.ssContent=Im(r?n.default:n),e.ssFallback=r?Im(n.fallback):P(bn)}function Im(e){let t;if(Fe(e)){const n=Zs&&e._c;n&&(e._d=!1,V()),e=e(),n&&(e._d=!0,t=rr,Qy())}return $e(e)&&(e=cT(e)),e=tr(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function Cy(e,t){t&&t.pendingBranch?$e(e)?t.effects.push(...e):t.effects.push(e):Of(e)}function zs(e,t){e.activeBranch=t;const{vnode:n,parentComponent:r}=e;let s=t.el;for(;!s&&t.component;)t=t.component.subTree,s=t.el;n.el=s,r&&r.subTree===n&&(r.vnode.el=s,Jd(r,s))}function bT(e){var t;return((t=e.props)==null?void 0:t.suspensible)!=null&&e.props.suspensible!==!1}const _T=Symbol.for("v-scx"),wT=()=>Ke(_T);function Xt(e,t){return ua(e,null,t)}function xT(e,t){return ua(e,null,{flush:"post"})}function kT(e,t){return ua(e,null,{flush:"sync"})}const vl={};function gt(e,t,n){return ua(e,t,n)}function ua(e,t,{immediate:n,deep:r,flush:s,once:i,onTrack:l,onTrigger:u}=Et){if(t&&i){const L=t;t=(...H)=>{L(...H),B()}}const c=Yt,p=L=>r===!0?L:os(L,r===!1?1:void 0);let d,g=!1,h=!1;if(at(e)?(d=()=>e.value,g=Ul(e)):us(e)?(d=()=>p(e),g=!0):$e(e)?(h=!0,g=e.some(L=>us(L)||Ul(L)),d=()=>e.map(L=>{if(at(L))return L.value;if(us(L))return p(L);if(Fe(L))return To(L,c,2)})):Fe(e)?t?d=()=>To(e,c,2):d=()=>(v&&v(),or(e,c,3,[_])):d=nr,t&&r){const L=d;d=()=>os(L())}let v,_=L=>{v=S.onStop=()=>{To(L,c,4),v=S.onStop=void 0}},x;if(pa)if(_=nr,t?n&&or(t,c,3,[d(),h?[]:void 0,_]):d(),s==="sync"){const L=wT();x=L.__watcherHandles||(L.__watcherHandles=[])}else return nr;let b=h?new Array(e.length).fill(vl):vl;const E=()=>{if(!(!S.active||!S.dirty))if(t){const L=S.run();(r||g||(h?L.some((H,j)=>Ar(H,b[j])):Ar(L,b)))&&(v&&v(),or(t,c,3,[L,b===vl?void 0:h&&b[0]===vl?[]:b,_]),b=L)}else S.run()};E.allowRecurse=!!t;let C;s==="sync"?C=E:s==="post"?C=()=>sn(E,c&&c.suspense):(E.pre=!0,c&&(E.id=c.uid),C=()=>gu(E));const S=new Dd(d,nr,C),A=Oo(),B=()=>{S.stop(),A&&Ld(A.effects,S)};return t?n?E():b=S.run():s==="post"?sn(S.run.bind(S),c&&c.suspense):S.run(),x&&x.push(B),B}function ST(e,t,n){const r=this.proxy,s=Rt(e)?e.includes(".")?Ey(r,e):()=>r[e]:e.bind(r,r);let i;Fe(t)?i=t:(i=t.handler,n=t);const l=hs(this),u=ua(s,i.bind(r),n);return l(),u}function Ey(e,t){const n=t.split(".");return()=>{let r=e;for(let s=0;s0){if(n>=t)return e;n++}if(r=r||new Set,r.has(e))return e;if(r.add(e),at(e))os(e.value,t,n,r);else if($e(e))for(let s=0;s{os(s,t,n,r)});else if(Kv(e))for(const s in e)os(e[s],t,n,r);return e}function Ty(e,t){if(Wt===null)return e;const n=bu(Wt)||Wt.proxy,r=e.dirs||(e.dirs=[]);for(let s=0;s{e.isMounted=!0}),fa(()=>{e.isUnmounting=!0}),e}const er=[Function,Array],$y={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:er,onEnter:er,onAfterEnter:er,onEnterCancelled:er,onBeforeLeave:er,onLeave:er,onAfterLeave:er,onLeaveCancelled:er,onBeforeAppear:er,onAppear:er,onAfterAppear:er,onAppearCancelled:er},ET={name:"BaseTransition",props:$y,setup(e,{slots:t}){const n=ir(),r=CT();return()=>{const s=t.default&&Iy(t.default(),!0);if(!s||!s.length)return;let i=s[0];if(s.length>1){for(const h of s)if(h.type!==bn){i=h;break}}const l=ze(e),{mode:u}=l;if(r.isLeaving)return Kc(i);const c=Rm(i);if(!c)return Kc(i);const p=Lf(c,l,r,n);Wl(c,p);const d=n.subTree,g=d&&Rm(d);if(g&&g.type!==bn&&!pr(c,g)){const h=Lf(g,l,r,n);if(Wl(g,h),u==="out-in")return r.isLeaving=!0,h.afterLeave=()=>{r.isLeaving=!1,n.update.active!==!1&&(n.effect.dirty=!0,n.update())},Kc(i);u==="in-out"&&c.type!==bn&&(h.delayLeave=(v,_,x)=>{const b=Ay(r,g);b[String(g.key)]=g,v[_o]=()=>{_(),v[_o]=void 0,delete p.delayedLeave},p.delayedLeave=x})}return i}}},TT=ET;function Ay(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function Lf(e,t,n,r){const{appear:s,mode:i,persisted:l=!1,onBeforeEnter:u,onEnter:c,onAfterEnter:p,onEnterCancelled:d,onBeforeLeave:g,onLeave:h,onAfterLeave:v,onLeaveCancelled:_,onBeforeAppear:x,onAppear:b,onAfterAppear:E,onAppearCancelled:C}=t,S=String(e.key),A=Ay(n,e),B=(j,q)=>{j&&or(j,r,9,q)},L=(j,q)=>{const K=q[1];B(j,q),$e(j)?j.every(Y=>Y.length<=1)&&K():j.length<=1&&K()},H={mode:i,persisted:l,beforeEnter(j){let q=u;if(!n.isMounted)if(s)q=x||u;else return;j[_o]&&j[_o](!0);const K=A[S];K&&pr(e,K)&&K.el[_o]&&K.el[_o](),B(q,[j])},enter(j){let q=c,K=p,Y=d;if(!n.isMounted)if(s)q=b||c,K=E||p,Y=C||d;else return;let z=!1;const be=j[yl]=ce=>{z||(z=!0,ce?B(Y,[j]):B(K,[j]),H.delayedLeave&&H.delayedLeave(),j[yl]=void 0)};q?L(q,[j,be]):be()},leave(j,q){const K=String(e.key);if(j[yl]&&j[yl](!0),n.isUnmounting)return q();B(g,[j]);let Y=!1;const z=j[_o]=be=>{Y||(Y=!0,q(),be?B(_,[j]):B(v,[j]),j[_o]=void 0,A[K]===e&&delete A[K])};A[K]=e,h?L(h,[j,z]):z()},clone(j){return Lf(j,t,n,r)}};return H}function Kc(e){if(ca(e))return e=Rr(e),e.children=null,e}function Rm(e){return ca(e)?e.children?e.children[0]:void 0:e}function Wl(e,t){e.shapeFlag&6&&e.component?Wl(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 Iy(e,t=!1,n){let r=[],s=0;for(let i=0;i1)for(let i=0;i!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function ql(e){Fe(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:s=200,timeout:i,suspensible:l=!0,onError:u}=e;let c=null,p,d=0;const g=()=>(d++,c=null,h()),h=()=>{let v;return c||(v=c=t().catch(_=>{if(_=_ instanceof Error?_:new Error(String(_)),u)return new Promise((x,b)=>{u(_,()=>x(g()),()=>b(_),d+1)});throw _}).then(_=>v!==c&&c?c:(_&&(_.__esModule||_[Symbol.toStringTag]==="Module")&&(_=_.default),p=_,_)))};return we({name:"AsyncComponentWrapper",__asyncLoader:h,get __asyncResolved(){return p},setup(){const v=Yt;if(p)return()=>Gc(p,v);const _=C=>{c=null,ri(C,v,13,!r)};if(l&&v.suspense||pa)return h().then(C=>()=>Gc(C,v)).catch(C=>(_(C),()=>r?P(r,{error:C}):null));const x=te(!1),b=te(),E=te(!!s);return s&&setTimeout(()=>{E.value=!1},s),i!=null&&setTimeout(()=>{if(!x.value&&!b.value){const C=new Error(`Async component timed out after ${i}ms.`);_(C),b.value=C}},i),h().then(()=>{x.value=!0,v.parent&&ca(v.parent.vnode)&&(v.parent.effect.dirty=!0,gu(v.parent.update))}).catch(C=>{_(C),b.value=C}),()=>{if(x.value&&p)return Gc(p,v);if(b.value&&r)return P(r,{error:b.value});if(n&&!E.value)return P(n)}}})}function Gc(e,t){const{ref:n,props:r,children:s,ce:i}=t.vnode,l=P(e,r,s);return l.ref=n,l.ce=i,delete t.vnode.ce,l}const ca=e=>e.type.__isKeepAlive,$T={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=ir(),r=n.ctx;if(!r.renderer)return()=>{const C=t.default&&t.default();return C&&C.length===1?C[0]:C};const s=new Map,i=new Set;let l=null;const u=n.suspense,{renderer:{p:c,m:p,um:d,o:{createElement:g}}}=r,h=g("div");r.activate=(C,S,A,B,L)=>{const H=C.component;p(C,S,A,0,u),c(H.vnode,C,S,A,H,u,B,C.slotScopeIds,L),sn(()=>{H.isDeactivated=!1,H.a&&js(H.a);const j=C.props&&C.props.onVnodeMounted;j&&Tn(j,H.parent,C)},u)},r.deactivate=C=>{const S=C.component;p(C,h,null,1,u),sn(()=>{S.da&&js(S.da);const A=C.props&&C.props.onVnodeUnmounted;A&&Tn(A,S.parent,C),S.isDeactivated=!0},u)};function v(C){Jc(C),d(C,n,u,!0)}function _(C){s.forEach((S,A)=>{const B=zf(S.type);B&&(!C||!C(B))&&x(A)})}function x(C){const S=s.get(C);!l||!pr(S,l)?v(S):l&&Jc(l),s.delete(C),i.delete(C)}gt(()=>[e.include,e.exclude],([C,S])=>{C&&_(A=>Bi(C,A)),S&&_(A=>!Bi(S,A))},{flush:"post",deep:!0});let b=null;const E=()=>{b!=null&&s.set(b,Zc(n.subTree))};return ct(E),My(E),fa(()=>{s.forEach(C=>{const{subTree:S,suspense:A}=n,B=Zc(S);if(C.type===B.type&&C.key===B.key){Jc(B);const L=B.component.da;L&&sn(L,A);return}v(C)})}),()=>{if(b=null,!t.default)return l=null;const C=t.default(),S=C[0];if(C.length>1)return l=null,C;if(!Ys(S)||!(S.shapeFlag&4)&&!(S.shapeFlag&128))return l=null,S;let A=Zc(S);const B=A.type,L=zf(cs(A)?A.type.__asyncResolved||{}:B),{include:H,exclude:j,max:q}=e;if(H&&(!L||!Bi(H,L))||j&&L&&Bi(j,L))return l=A,S;const K=A.key==null?B:A.key,Y=s.get(K);return A.el&&(A=Rr(A),S.shapeFlag&128&&(S.ssContent=A)),b=K,Y?(A.el=Y.el,A.component=Y.component,A.transition&&Wl(A,A.transition),A.shapeFlag|=512,i.delete(K),i.add(K)):(i.add(K),q&&i.size>parseInt(q,10)&&x(i.values().next().value)),A.shapeFlag|=256,l=A,Sy(S.type)?S:A}}},AT=$T;function Bi(e,t){return $e(e)?e.some(n=>Bi(n,t)):Rt(e)?e.split(",").includes(t):yE(e)?e.test(t):!1}function Ry(e,t){Py(e,"a",t)}function Oy(e,t){Py(e,"da",t)}function Py(e,t,n=Yt){const r=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(yu(t,r,n),n){let s=n.parent;for(;s&&s.parent;)ca(s.parent.vnode)&&IT(r,t,n,s),s=s.parent}}function IT(e,t,n,r){const s=yu(t,e,r,!0);Ht(()=>{Ld(r[t],s)},n)}function Jc(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function Zc(e){return e.shapeFlag&128?e.ssContent:e}function yu(e,t,n=Yt,r=!1){if(n){const s=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...l)=>{if(n.isUnmounted)return;Po();const u=hs(n),c=or(t,n,e,l);return u(),Lo(),c});return r?s.unshift(i):s.push(i),i}}const Qr=e=>(t,n=Yt)=>(!pa||e==="sp")&&yu(e,(...r)=>t(...r),n),Ly=Qr("bm"),ct=Qr("m"),RT=Qr("bu"),My=Qr("u"),fa=Qr("bum"),Ht=Qr("um"),OT=Qr("sp"),PT=Qr("rtg"),LT=Qr("rtc");function By(e,t=Yt){yu("ec",e,t)}function Rn(e,t,n,r){let s;const i=n&&n[r];if($e(e)||Rt(e)){s=new Array(e.length);for(let l=0,u=e.length;lt(l,u,void 0,i&&i[u]));else{const l=Object.keys(e);s=new Array(l.length);for(let u=0,c=l.length;u{const i=r.fn(...s);return i&&(i.key=r.key),i}:r.fn)}return e}function it(e,t,n={},r,s){if(Wt.isCE||Wt.parent&&cs(Wt.parent)&&Wt.parent.isCE)return t!=="default"&&(n.name=t),P("slot",n,r&&r());let i=e[t];i&&i._c&&(i._d=!1),V();const l=i&&Fy(i(n)),u=Ae(Ye,{key:n.key||l&&l.key||`_${t}`},l||(r?r():[]),l&&e._===1?64:-2);return!s&&u.scopeId&&(u.slotScopeIds=[u.scopeId+"-s"]),i&&i._c&&(i._d=!0),u}function Fy(e){return e.some(t=>Ys(t)?!(t.type===bn||t.type===Ye&&!Fy(t.children)):!0)?e:null}const Mf=e=>e?tb(e)?bu(e)||e.proxy:Mf(e.parent):null,Ni=qt(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=>Mf(e.parent),$root:e=>Mf(e.root),$emit:e=>e.emit,$options:e=>Xd(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,gu(e.update)}),$nextTick:e=>e.n||(e.n=an.bind(e.proxy)),$watch:e=>ST.bind(e)}),Yc=(e,t)=>e!==Et&&!e.__isScriptSetup&&ut(e,t),BT={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:s,props:i,accessCache:l,type:u,appContext:c}=e;let p;if(t[0]!=="$"){const v=l[t];if(v!==void 0)switch(v){case 1:return r[t];case 2:return s[t];case 4:return n[t];case 3:return i[t]}else{if(Yc(r,t))return l[t]=1,r[t];if(s!==Et&&ut(s,t))return l[t]=2,s[t];if((p=e.propsOptions[0])&&ut(p,t))return l[t]=3,i[t];if(n!==Et&&ut(n,t))return l[t]=4,n[t];Bf&&(l[t]=0)}}const d=Ni[t];let g,h;if(d)return t==="$attrs"&&In(e.attrs,"get",""),d(e);if((g=u.__cssModules)&&(g=g[t]))return g;if(n!==Et&&ut(n,t))return l[t]=4,n[t];if(h=c.config.globalProperties,ut(h,t))return h[t]},set({_:e},t,n){const{data:r,setupState:s,ctx:i}=e;return Yc(s,t)?(s[t]=n,!0):r!==Et&&ut(r,t)?(r[t]=n,!0):ut(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:s,propsOptions:i}},l){let u;return!!n[l]||e!==Et&&ut(e,l)||Yc(t,l)||(u=i[0])&&ut(u,l)||ut(r,l)||ut(Ni,l)||ut(s.config.globalProperties,l)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:ut(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function FT(){return DT().attrs}function DT(){const e=ir();return e.setupContext||(e.setupContext=rb(e))}function Kl(e){return $e(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function da(e,t){return!e||!t?e||t:$e(e)&&$e(t)?e.concat(t):qt({},Kl(e),Kl(t))}function VT(e){const t=ir();let n=e();return Uf(),Md(n)&&(n=n.catch(r=>{throw hs(t),r})),[n,()=>hs(t)]}let Bf=!0;function NT(e){const t=Xd(e),n=e.proxy,r=e.ctx;Bf=!1,t.beforeCreate&&Om(t.beforeCreate,e,"bc");const{data:s,computed:i,methods:l,watch:u,provide:c,inject:p,created:d,beforeMount:g,mounted:h,beforeUpdate:v,updated:_,activated:x,deactivated:b,beforeDestroy:E,beforeUnmount:C,destroyed:S,unmounted:A,render:B,renderTracked:L,renderTriggered:H,errorCaptured:j,serverPrefetch:q,expose:K,inheritAttrs:Y,components:z,directives:be,filters:ce}=t;if(p&&jT(p,r,null),l)for(const Se in l){const ve=l[Se];Fe(ve)&&(r[Se]=ve.bind(n))}if(s){const Se=s.call(n,n);xt(Se)&&(e.data=_n(Se))}if(Bf=!0,i)for(const Se in i){const ve=i[Se],Lt=Fe(ve)?ve.bind(n,n):Fe(ve.get)?ve.get.bind(n,n):nr,Gt=!Fe(ve)&&Fe(ve.set)?ve.set.bind(n):nr,Re=F({get:Lt,set:Gt});Object.defineProperty(r,Se,{enumerable:!0,configurable:!0,get:()=>Re.value,set:je=>Re.value=je})}if(u)for(const Se in u)Dy(u[Se],r,n,Se);if(c){const Se=Fe(c)?c.call(n):c;Reflect.ownKeys(Se).forEach(ve=>{bt(ve,Se[ve])})}d&&Om(d,e,"c");function ie(Se,ve){$e(ve)?ve.forEach(Lt=>Se(Lt.bind(n))):ve&&Se(ve.bind(n))}if(ie(Ly,g),ie(ct,h),ie(RT,v),ie(My,_),ie(Ry,x),ie(Oy,b),ie(By,j),ie(LT,L),ie(PT,H),ie(fa,C),ie(Ht,A),ie(OT,q),$e(K))if(K.length){const Se=e.exposed||(e.exposed={});K.forEach(ve=>{Object.defineProperty(Se,ve,{get:()=>n[ve],set:Lt=>n[ve]=Lt})})}else e.exposed||(e.exposed={});B&&e.render===nr&&(e.render=B),Y!=null&&(e.inheritAttrs=Y),z&&(e.components=z),be&&(e.directives=be)}function jT(e,t,n=nr){$e(e)&&(e=Ff(e));for(const r in e){const s=e[r];let i;xt(s)?"default"in s?i=Ke(s.from||r,s.default,!0):i=Ke(s.from||r):i=Ke(s),at(i)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>i.value,set:l=>i.value=l}):t[r]=i}}function Om(e,t,n){or($e(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function Dy(e,t,n,r){const s=r.includes(".")?Ey(n,r):()=>n[r];if(Rt(e)){const i=t[e];Fe(i)&>(s,i)}else if(Fe(e))gt(s,e.bind(n));else if(xt(e))if($e(e))e.forEach(i=>Dy(i,t,n,r));else{const i=Fe(e.handler)?e.handler.bind(n):t[e.handler];Fe(i)&>(s,i,e)}}function Xd(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:s,optionsCache:i,config:{optionMergeStrategies:l}}=e.appContext,u=i.get(t);let c;return u?c=u:!s.length&&!n&&!r?c=t:(c={},s.length&&s.forEach(p=>Gl(c,p,l,!0)),Gl(c,t,l)),xt(t)&&i.set(t,c),c}function Gl(e,t,n,r=!1){const{mixins:s,extends:i}=t;i&&Gl(e,i,n,!0),s&&s.forEach(l=>Gl(e,l,n,!0));for(const l in t)if(!(r&&l==="expose")){const u=UT[l]||n&&n[l];e[l]=u?u(e[l],t[l]):t[l]}return e}const UT={data:Pm,props:Lm,emits:Lm,methods:Fi,computed:Fi,beforeCreate:vn,created:vn,beforeMount:vn,mounted:vn,beforeUpdate:vn,updated:vn,beforeDestroy:vn,beforeUnmount:vn,destroyed:vn,unmounted:vn,activated:vn,deactivated:vn,errorCaptured:vn,serverPrefetch:vn,components:Fi,directives:Fi,watch:zT,provide:Pm,inject:HT};function Pm(e,t){return t?e?function(){return qt(Fe(e)?e.call(this,this):e,Fe(t)?t.call(this,this):t)}:t:e}function HT(e,t){return Fi(Ff(e),Ff(t))}function Ff(e){if($e(e)){const t={};for(let n=0;n1)return n&&Fe(t)?t.call(r&&r.proxy):t}}function ep(){return!!(Yt||Wt||Ws)}const Ny=Object.create(null),Df=()=>Object.create(Ny),jy=e=>Object.getPrototypeOf(e)===Ny;function KT(e,t,n,r=!1){const s={},i=Df();e.propsDefaults=Object.create(null),Uy(e,t,s,i);for(const l in e.propsOptions[0])l in s||(s[l]=void 0);n?e.props=r?s:la(s):e.type.props?e.props=s:e.props=i,e.attrs=i}function GT(e,t,n,r){const{props:s,attrs:i,vnode:{patchFlag:l}}=e,u=ze(s),[c]=e.propsOptions;let p=!1;if((r||l>0)&&!(l&16)){if(l&8){const d=e.vnode.dynamicProps;for(let g=0;g{c=!0;const[h,v]=Hy(g,t,!0);qt(l,h),v&&u.push(...v)};!n&&t.mixins.length&&t.mixins.forEach(d),e.extends&&d(e.extends),e.mixins&&e.mixins.forEach(d)}if(!i&&!c)return xt(e)&&r.set(e,Ds),Ds;if($e(i))for(let d=0;d-1,v[1]=x<0||_-1||ut(v,"default"))&&u.push(g)}}}const p=[l,u];return xt(e)&&r.set(e,p),p}function Mm(e){return e[0]!=="$"&&!Ns(e)}function Bm(e){return e===null?"null":typeof e=="function"?e.name||"":typeof e=="object"&&e.constructor&&e.constructor.name||""}function Fm(e,t){return Bm(e)===Bm(t)}function Dm(e,t){return $e(t)?t.findIndex(n=>Fm(n,e)):Fe(t)&&Fm(t,e)?0:-1}const zy=e=>e[0]==="_"||e==="$stable",tp=e=>$e(e)?e.map(tr):[tr(e)],JT=(e,t,n)=>{if(t._n)return t;const r=ne((...s)=>tp(t(...s)),n);return r._c=!1,r},Wy=(e,t,n)=>{const r=e._ctx;for(const s in e){if(zy(s))continue;const i=e[s];if(Fe(i))t[s]=JT(s,i,r);else if(i!=null){const l=tp(i);t[s]=()=>l}}},qy=(e,t)=>{const n=tp(t);e.slots.default=()=>n},ZT=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=ze(t),Gv(e.slots,"_",n)):Wy(t,e.slots=Df())}else e.slots=Df(),t&&qy(e,t)},YT=(e,t,n)=>{const{vnode:r,slots:s}=e;let i=!0,l=Et;if(r.shapeFlag&32){const u=t._;u?n&&u===1?i=!1:(qt(s,t),!n&&u===1&&delete s._):(i=!t.$stable,Wy(t,s)),l=t}else t&&(qy(e,t),l={default:1});if(i)for(const u in s)!zy(u)&&l[u]==null&&delete s[u]};function Jl(e,t,n,r,s=!1){if($e(e)){e.forEach((h,v)=>Jl(h,t&&($e(t)?t[v]:t),n,r,s));return}if(cs(r)&&!s)return;const i=r.shapeFlag&4?bu(r.component)||r.component.proxy:r.el,l=s?null:i,{i:u,r:c}=e,p=t&&t.r,d=u.refs===Et?u.refs={}:u.refs,g=u.setupState;if(p!=null&&p!==c&&(Rt(p)?(d[p]=null,ut(g,p)&&(g[p]=null)):at(p)&&(p.value=null)),Fe(c))To(c,u,12,[l,d]);else{const h=Rt(c),v=at(c);if(h||v){const _=()=>{if(e.f){const x=h?ut(g,c)?g[c]:d[c]:c.value;s?$e(x)&&Ld(x,i):$e(x)?x.includes(i)||x.push(i):h?(d[c]=[i],ut(g,c)&&(g[c]=d[c])):(c.value=[i],e.k&&(d[e.k]=c.value))}else h?(d[c]=l,ut(g,c)&&(g[c]=l)):v&&(c.value=l,e.k&&(d[e.k]=l))};l?(_.id=-1,sn(_,n)):_()}}}let co=!1;const QT=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",XT=e=>e.namespaceURI.includes("MathML"),bl=e=>{if(QT(e))return"svg";if(XT(e))return"mathml"},_l=e=>e.nodeType===8;function e$(e){const{mt:t,p:n,o:{patchProp:r,createText:s,nextSibling:i,parentNode:l,remove:u,insert:c,createComment:p}}=e,d=(S,A)=>{if(!A.hasChildNodes()){n(null,S,A),Hl(),A._vnode=S;return}co=!1,g(A.firstChild,S,null,null,null),Hl(),A._vnode=S,co&&console.error("Hydration completed but contains mismatches.")},g=(S,A,B,L,H,j=!1)=>{j=j||!!A.dynamicChildren;const q=_l(S)&&S.data==="[",K=()=>x(S,A,B,L,H,q),{type:Y,ref:z,shapeFlag:be,patchFlag:ce}=A;let ke=S.nodeType;A.el=S,ce===-2&&(j=!1,A.dynamicChildren=null);let ie=null;switch(Y){case Js:ke!==3?A.children===""?(c(A.el=s(""),l(S),S),ie=S):ie=K():(S.data!==A.children&&(co=!0,S.data=A.children),ie=i(S));break;case bn:C(S)?(ie=i(S),E(A.el=S.content.firstChild,S,B)):ke!==8||q?ie=K():ie=i(S);break;case qs:if(q&&(S=i(S),ke=S.nodeType),ke===1||ke===3){ie=S;const Se=!A.children.length;for(let ve=0;ve{j=j||!!A.dynamicChildren;const{type:q,props:K,patchFlag:Y,shapeFlag:z,dirs:be,transition:ce}=A,ke=q==="input"||q==="option";if(ke||Y!==-1){be&&Cr(A,null,B,"created");let ie=!1;if(C(S)){ie=Gy(L,ce)&&B&&B.vnode.props&&B.vnode.props.appear;const ve=S.content.firstChild;ie&&ce.beforeEnter(ve),E(ve,S,B),A.el=S=ve}if(z&16&&!(K&&(K.innerHTML||K.textContent))){let ve=v(S.firstChild,A,S,B,L,H,j);for(;ve;){co=!0;const Lt=ve;ve=ve.nextSibling,u(Lt)}}else z&8&&S.textContent!==A.children&&(co=!0,S.textContent=A.children);if(K)if(ke||!j||Y&48)for(const ve in K)(ke&&(ve.endsWith("value")||ve==="indeterminate")||aa(ve)&&!Ns(ve)||ve[0]===".")&&r(S,ve,null,K[ve],void 0,void 0,B);else K.onClick&&r(S,"onClick",null,K.onClick,void 0,void 0,B);let Se;(Se=K&&K.onVnodeBeforeMount)&&Tn(Se,B,A),be&&Cr(A,null,B,"beforeMount"),((Se=K&&K.onVnodeMounted)||be||ie)&&Cy(()=>{Se&&Tn(Se,B,A),ie&&ce.enter(S),be&&Cr(A,null,B,"mounted")},L)}return S.nextSibling},v=(S,A,B,L,H,j,q)=>{q=q||!!A.dynamicChildren;const K=A.children,Y=K.length;for(let z=0;z{const{slotScopeIds:q}=A;q&&(H=H?H.concat(q):q);const K=l(S),Y=v(i(S),A,K,B,L,H,j);return Y&&_l(Y)&&Y.data==="]"?i(A.anchor=Y):(co=!0,c(A.anchor=p("]"),K,Y),Y)},x=(S,A,B,L,H,j)=>{if(co=!0,A.el=null,j){const Y=b(S);for(;;){const z=i(S);if(z&&z!==Y)u(z);else break}}const q=i(S),K=l(S);return u(S),n(null,A,K,q,B,L,bl(K),H),q},b=(S,A="[",B="]")=>{let L=0;for(;S;)if(S=i(S),S&&_l(S)&&(S.data===A&&L++,S.data===B)){if(L===0)return i(S);L--}return S},E=(S,A,B)=>{const L=A.parentNode;L&&L.replaceChild(S,A);let H=B;for(;H;)H.vnode.el===A&&(H.vnode.el=H.subTree.el=S),H=H.parent},C=S=>S.nodeType===1&&S.tagName.toLowerCase()==="template";return[d,g]}const sn=Cy;function t$(e){return Ky(e)}function n$(e){return Ky(e,e$)}function Ky(e,t){const n=Zv();n.__VUE__=!0;const{insert:r,remove:s,patchProp:i,createElement:l,createText:u,createComment:c,setText:p,setElementText:d,parentNode:g,nextSibling:h,setScopeId:v=nr,insertStaticContent:_}=e,x=(T,O,U,re=null,G=null,fe=null,me=void 0,le=null,ue=!!O.dynamicChildren)=>{if(T===O)return;T&&!pr(T,O)&&(re=ee(T),je(T,G,fe,!0),T=null),O.patchFlag===-2&&(ue=!1,O.dynamicChildren=null);const{type:se,ref:_e,shapeFlag:Oe}=O;switch(se){case Js:b(T,O,U,re);break;case bn:E(T,O,U,re);break;case qs:T==null&&C(O,U,re,me);break;case Ye:z(T,O,U,re,G,fe,me,le,ue);break;default:Oe&1?B(T,O,U,re,G,fe,me,le,ue):Oe&6?be(T,O,U,re,G,fe,me,le,ue):(Oe&64||Oe&128)&&se.process(T,O,U,re,G,fe,me,le,ue,Ce)}_e!=null&&G&&Jl(_e,T&&T.ref,fe,O||T,!O)},b=(T,O,U,re)=>{if(T==null)r(O.el=u(O.children),U,re);else{const G=O.el=T.el;O.children!==T.children&&p(G,O.children)}},E=(T,O,U,re)=>{T==null?r(O.el=c(O.children||""),U,re):O.el=T.el},C=(T,O,U,re)=>{[T.el,T.anchor]=_(T.children,O,U,re,T.el,T.anchor)},S=({el:T,anchor:O},U,re)=>{let G;for(;T&&T!==O;)G=h(T),r(T,U,re),T=G;r(O,U,re)},A=({el:T,anchor:O})=>{let U;for(;T&&T!==O;)U=h(T),s(T),T=U;s(O)},B=(T,O,U,re,G,fe,me,le,ue)=>{O.type==="svg"?me="svg":O.type==="math"&&(me="mathml"),T==null?L(O,U,re,G,fe,me,le,ue):q(T,O,G,fe,me,le,ue)},L=(T,O,U,re,G,fe,me,le)=>{let ue,se;const{props:_e,shapeFlag:Oe,transition:Ee,dirs:De}=T;if(ue=T.el=l(T.type,fe,_e&&_e.is,_e),Oe&8?d(ue,T.children):Oe&16&&j(T.children,ue,null,re,G,Qc(T,fe),me,le),De&&Cr(T,null,re,"created"),H(ue,T,T.scopeId,me,re),_e){for(const ot in _e)ot!=="value"&&!Ns(ot)&&i(ue,ot,null,_e[ot],fe,T.children,re,G,St);"value"in _e&&i(ue,"value",null,_e.value,fe),(se=_e.onVnodeBeforeMount)&&Tn(se,re,T)}De&&Cr(T,null,re,"beforeMount");const He=Gy(G,Ee);He&&Ee.beforeEnter(ue),r(ue,O,U),((se=_e&&_e.onVnodeMounted)||He||De)&&sn(()=>{se&&Tn(se,re,T),He&&Ee.enter(ue),De&&Cr(T,null,re,"mounted")},G)},H=(T,O,U,re,G)=>{if(U&&v(T,U),re)for(let fe=0;fe{for(let se=ue;se{const le=O.el=T.el;let{patchFlag:ue,dynamicChildren:se,dirs:_e}=O;ue|=T.patchFlag&16;const Oe=T.props||Et,Ee=O.props||Et;let De;if(U&&qo(U,!1),(De=Ee.onVnodeBeforeUpdate)&&Tn(De,U,O,T),_e&&Cr(O,T,U,"beforeUpdate"),U&&qo(U,!0),se?K(T.dynamicChildren,se,le,U,re,Qc(O,G),fe):me||ve(T,O,le,null,U,re,Qc(O,G),fe,!1),ue>0){if(ue&16)Y(le,O,Oe,Ee,U,re,G);else if(ue&2&&Oe.class!==Ee.class&&i(le,"class",null,Ee.class,G),ue&4&&i(le,"style",Oe.style,Ee.style,G),ue&8){const He=O.dynamicProps;for(let ot=0;ot{De&&Tn(De,U,O,T),_e&&Cr(O,T,U,"updated")},re)},K=(T,O,U,re,G,fe,me)=>{for(let le=0;le{if(U!==re){if(U!==Et)for(const le in U)!Ns(le)&&!(le in re)&&i(T,le,U[le],null,me,O.children,G,fe,St);for(const le in re){if(Ns(le))continue;const ue=re[le],se=U[le];ue!==se&&le!=="value"&&i(T,le,se,ue,me,O.children,G,fe,St)}"value"in re&&i(T,"value",U.value,re.value,me)}},z=(T,O,U,re,G,fe,me,le,ue)=>{const se=O.el=T?T.el:u(""),_e=O.anchor=T?T.anchor:u("");let{patchFlag:Oe,dynamicChildren:Ee,slotScopeIds:De}=O;De&&(le=le?le.concat(De):De),T==null?(r(se,U,re),r(_e,U,re),j(O.children||[],U,_e,G,fe,me,le,ue)):Oe>0&&Oe&64&&Ee&&T.dynamicChildren?(K(T.dynamicChildren,Ee,U,G,fe,me,le),(O.key!=null||G&&O===G.subTree)&&np(T,O,!0)):ve(T,O,U,_e,G,fe,me,le,ue)},be=(T,O,U,re,G,fe,me,le,ue)=>{O.slotScopeIds=le,T==null?O.shapeFlag&512?G.ctx.activate(O,U,re,me,ue):ce(O,U,re,G,fe,me,ue):ke(T,O,ue)},ce=(T,O,U,re,G,fe,me)=>{const le=T.component=f$(T,re,G);if(ca(T)&&(le.ctx.renderer=Ce),d$(le),le.asyncDep){if(G&&G.registerDep(le,ie),!T.el){const ue=le.subTree=P(bn);E(null,ue,O,U)}}else ie(le,T,O,U,G,fe,me)},ke=(T,O,U)=>{const re=O.component=T.component;if(pT(T,O,U))if(re.asyncDep&&!re.asyncResolved){Se(re,O,U);return}else re.next=O,sT(re.update),re.effect.dirty=!0,re.update();else O.el=T.el,re.vnode=O},ie=(T,O,U,re,G,fe,me)=>{const le=()=>{if(T.isMounted){let{next:_e,bu:Oe,u:Ee,parent:De,vnode:He}=T;{const yr=Jy(T);if(yr){_e&&(_e.el=He.el,Se(T,_e,me)),yr.asyncDep.then(()=>{T.isUnmounted||le()});return}}let ot=_e,_t;qo(T,!1),_e?(_e.el=He.el,Se(T,_e,me)):_e=He,Oe&&js(Oe),(_t=_e.props&&_e.props.onVnodeBeforeUpdate)&&Tn(_t,De,_e,He),qo(T,!0);const Mt=qc(T),dn=T.subTree;T.subTree=Mt,x(dn,Mt,g(dn.el),ee(dn),T,G,fe),_e.el=Mt.el,ot===null&&Jd(T,Mt.el),Ee&&sn(Ee,G),(_t=_e.props&&_e.props.onVnodeUpdated)&&sn(()=>Tn(_t,De,_e,He),G)}else{let _e;const{el:Oe,props:Ee}=O,{bm:De,m:He,parent:ot}=T,_t=cs(O);if(qo(T,!1),De&&js(De),!_t&&(_e=Ee&&Ee.onVnodeBeforeMount)&&Tn(_e,ot,O),qo(T,!0),Oe&&mt){const Mt=()=>{T.subTree=qc(T),mt(Oe,T.subTree,T,G,null)};_t?O.type.__asyncLoader().then(()=>!T.isUnmounted&&Mt()):Mt()}else{const Mt=T.subTree=qc(T);x(null,Mt,U,re,T,G,fe),O.el=Mt.el}if(He&&sn(He,G),!_t&&(_e=Ee&&Ee.onVnodeMounted)){const Mt=O;sn(()=>Tn(_e,ot,Mt),G)}(O.shapeFlag&256||ot&&cs(ot.vnode)&&ot.vnode.shapeFlag&256)&&T.a&&sn(T.a,G),T.isMounted=!0,O=U=re=null}},ue=T.effect=new Dd(le,nr,()=>gu(se),T.scope),se=T.update=()=>{ue.dirty&&ue.run()};se.id=T.uid,qo(T,!0),se()},Se=(T,O,U)=>{O.component=T;const re=T.vnode.props;T.vnode=O,T.next=null,GT(T,O.props,re,U),YT(T,O.children,U),Po(),Tm(T),Lo()},ve=(T,O,U,re,G,fe,me,le,ue=!1)=>{const se=T&&T.children,_e=T?T.shapeFlag:0,Oe=O.children,{patchFlag:Ee,shapeFlag:De}=O;if(Ee>0){if(Ee&128){Gt(se,Oe,U,re,G,fe,me,le,ue);return}else if(Ee&256){Lt(se,Oe,U,re,G,fe,me,le,ue);return}}De&8?(_e&16&&St(se,G,fe),Oe!==se&&d(U,Oe)):_e&16?De&16?Gt(se,Oe,U,re,G,fe,me,le,ue):St(se,G,fe,!0):(_e&8&&d(U,""),De&16&&j(Oe,U,re,G,fe,me,le,ue))},Lt=(T,O,U,re,G,fe,me,le,ue)=>{T=T||Ds,O=O||Ds;const se=T.length,_e=O.length,Oe=Math.min(se,_e);let Ee;for(Ee=0;Ee_e?St(T,G,fe,!0,!1,Oe):j(O,U,re,G,fe,me,le,ue,Oe)},Gt=(T,O,U,re,G,fe,me,le,ue)=>{let se=0;const _e=O.length;let Oe=T.length-1,Ee=_e-1;for(;se<=Oe&&se<=Ee;){const De=T[se],He=O[se]=ue?wo(O[se]):tr(O[se]);if(pr(De,He))x(De,He,U,null,G,fe,me,le,ue);else break;se++}for(;se<=Oe&&se<=Ee;){const De=T[Oe],He=O[Ee]=ue?wo(O[Ee]):tr(O[Ee]);if(pr(De,He))x(De,He,U,null,G,fe,me,le,ue);else break;Oe--,Ee--}if(se>Oe){if(se<=Ee){const De=Ee+1,He=De<_e?O[De].el:re;for(;se<=Ee;)x(null,O[se]=ue?wo(O[se]):tr(O[se]),U,He,G,fe,me,le,ue),se++}}else if(se>Ee)for(;se<=Oe;)je(T[se],G,fe,!0),se++;else{const De=se,He=se,ot=new Map;for(se=He;se<=Ee;se++){const en=O[se]=ue?wo(O[se]):tr(O[se]);en.key!=null&&ot.set(en.key,se)}let _t,Mt=0;const dn=Ee-He+1;let yr=!1,bs=0;const Or=new Array(dn);for(se=0;se=dn){je(en,G,fe,!0);continue}let xn;if(en.key!=null)xn=ot.get(en.key);else for(_t=He;_t<=Ee;_t++)if(Or[_t-He]===0&&pr(en,O[_t])){xn=_t;break}xn===void 0?je(en,G,fe,!0):(Or[xn-He]=se+1,xn>=bs?bs=xn:yr=!0,x(en,O[xn],U,null,G,fe,me,le,ue),Mt++)}const _s=yr?r$(Or):Ds;for(_t=_s.length-1,se=dn-1;se>=0;se--){const en=He+se,xn=O[en],ka=en+1<_e?O[en+1].el:re;Or[se]===0?x(null,xn,U,ka,G,fe,me,le,ue):yr&&(_t<0||se!==_s[_t]?Re(xn,U,ka,2):_t--)}}},Re=(T,O,U,re,G=null)=>{const{el:fe,type:me,transition:le,children:ue,shapeFlag:se}=T;if(se&6){Re(T.component.subTree,O,U,re);return}if(se&128){T.suspense.move(O,U,re);return}if(se&64){me.move(T,O,U,Ce);return}if(me===Ye){r(fe,O,U);for(let Oe=0;Oele.enter(fe),G);else{const{leave:Oe,delayLeave:Ee,afterLeave:De}=le,He=()=>r(fe,O,U),ot=()=>{Oe(fe,()=>{He(),De&&De()})};Ee?Ee(fe,He,ot):ot()}else r(fe,O,U)},je=(T,O,U,re=!1,G=!1)=>{const{type:fe,props:me,ref:le,children:ue,dynamicChildren:se,shapeFlag:_e,patchFlag:Oe,dirs:Ee}=T;if(le!=null&&Jl(le,null,U,T,!0),_e&256){O.ctx.deactivate(T);return}const De=_e&1&&Ee,He=!cs(T);let ot;if(He&&(ot=me&&me.onVnodeBeforeUnmount)&&Tn(ot,O,T),_e&6)fn(T.component,U,re);else{if(_e&128){T.suspense.unmount(U,re);return}De&&Cr(T,null,O,"beforeUnmount"),_e&64?T.type.remove(T,O,U,G,Ce,re):se&&(fe!==Ye||Oe>0&&Oe&64)?St(se,O,U,!1,!0):(fe===Ye&&Oe&384||!G&&_e&16)&&St(ue,O,U),re&&Ft(T)}(He&&(ot=me&&me.onVnodeUnmounted)||De)&&sn(()=>{ot&&Tn(ot,O,T),De&&Cr(T,null,O,"unmounted")},U)},Ft=T=>{const{type:O,el:U,anchor:re,transition:G}=T;if(O===Ye){Dt(U,re);return}if(O===qs){A(T);return}const fe=()=>{s(U),G&&!G.persisted&&G.afterLeave&&G.afterLeave()};if(T.shapeFlag&1&&G&&!G.persisted){const{leave:me,delayLeave:le}=G,ue=()=>me(U,fe);le?le(T.el,fe,ue):ue()}else fe()},Dt=(T,O)=>{let U;for(;T!==O;)U=h(T),s(T),T=U;s(O)},fn=(T,O,U)=>{const{bum:re,scope:G,update:fe,subTree:me,um:le}=T;re&&js(re),G.stop(),fe&&(fe.active=!1,je(me,T,O,U)),le&&sn(le,O),sn(()=>{T.isUnmounted=!0},O),O&&O.pendingBranch&&!O.isUnmounted&&T.asyncDep&&!T.asyncResolved&&T.suspenseId===O.pendingId&&(O.deps--,O.deps===0&&O.resolve())},St=(T,O,U,re=!1,G=!1,fe=0)=>{for(let me=fe;meT.shapeFlag&6?ee(T.component.subTree):T.shapeFlag&128?T.suspense.next():h(T.anchor||T.el);let ye=!1;const pe=(T,O,U)=>{T==null?O._vnode&&je(O._vnode,null,null,!0):x(O._vnode||null,T,O,null,null,null,U),ye||(ye=!0,Tm(),Hl(),ye=!1),O._vnode=T},Ce={p:x,um:je,m:Re,r:Ft,mt:ce,mc:j,pc:ve,pbc:K,n:ee,o:e};let rt,mt;return t&&([rt,mt]=t(Ce)),{render:pe,hydrate:rt,createApp:qT(pe,rt)}}function Qc({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function qo({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Gy(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function np(e,t,n=!1){const r=e.children,s=t.children;if($e(r)&&$e(s))for(let i=0;i>1,e[n[u]]0&&(t[r]=n[i-1]),n[i]=r)}}for(i=n.length,l=n[i-1];i-- >0;)n[i]=l,l=t[l];return n}function Jy(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Jy(t)}const o$=e=>e.__isTeleport,ji=e=>e&&(e.disabled||e.disabled===""),Vm=e=>typeof SVGElement<"u"&&e instanceof SVGElement,Nm=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,Nf=(e,t)=>{const n=e&&e.to;return Rt(n)?t?t(n):null:n},s$={name:"Teleport",__isTeleport:!0,process(e,t,n,r,s,i,l,u,c,p){const{mc:d,pc:g,pbc:h,o:{insert:v,querySelector:_,createText:x,createComment:b}}=p,E=ji(t.props);let{shapeFlag:C,children:S,dynamicChildren:A}=t;if(e==null){const B=t.el=x(""),L=t.anchor=x("");v(B,n,r),v(L,n,r);const H=t.target=Nf(t.props,_),j=t.targetAnchor=x("");H&&(v(j,H),l==="svg"||Vm(H)?l="svg":(l==="mathml"||Nm(H))&&(l="mathml"));const q=(K,Y)=>{C&16&&d(S,K,Y,s,i,l,u,c)};E?q(n,L):H&&q(H,j)}else{t.el=e.el;const B=t.anchor=e.anchor,L=t.target=e.target,H=t.targetAnchor=e.targetAnchor,j=ji(e.props),q=j?n:L,K=j?B:H;if(l==="svg"||Vm(L)?l="svg":(l==="mathml"||Nm(L))&&(l="mathml"),A?(h(e.dynamicChildren,A,q,s,i,l,u),np(e,t,!0)):c||g(e,t,q,K,s,i,l,u,!1),E)j?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):wl(t,n,B,p,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const Y=t.target=Nf(t.props,_);Y&&wl(t,Y,null,p,0)}else j&&wl(t,L,H,p,1)}Yy(t)},remove(e,t,n,r,{um:s,o:{remove:i}},l){const{shapeFlag:u,children:c,anchor:p,targetAnchor:d,target:g,props:h}=e;if(g&&i(d),l&&i(p),u&16){const v=l||!ji(h);for(let _=0;_0?rr||Ds:null,Qy(),Zs>0&&rr&&rr.push(e),e}function Z(e,t,n,r,s,i){return Xy(I(e,t,n,r,s,i,!0))}function Ae(e,t,n,r,s){return Xy(P(e,t,n,r,s,!0))}function Ys(e){return e?e.__v_isVNode===!0:!1}function pr(e,t){return e.type===t.type&&e.key===t.key}const eb=({key:e})=>e??null,Ol=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Rt(e)||at(e)||Fe(e)?{i:Wt,r:e,k:t,f:!!n}:e:null);function I(e,t=null,n=null,r=0,s=null,i=e===Ye?0:1,l=!1,u=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&eb(t),ref:t&&Ol(t),scopeId:vu,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:i,patchFlag:r,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:Wt};return u?(rp(c,n),i&128&&e.normalize(c)):n&&(c.shapeFlag|=Rt(n)?8:16),Zs>0&&!l&&rr&&(c.patchFlag>0||i&6)&&c.patchFlag!==32&&rr.push(c),c}const P=a$;function a$(e,t=null,n=null,r=0,s=null,i=!1){if((!e||e===xy)&&(e=bn),Ys(e)){const u=Rr(e,t,!0);return n&&rp(u,n),Zs>0&&!i&&rr&&(u.shapeFlag&6?rr[rr.indexOf(e)]=u:rr.push(u)),u.patchFlag|=-2,u}if(g$(e)&&(e=e.__vccOpts),t){t=Qs(t);let{class:u,style:c}=t;u&&!Rt(u)&&(t.class=ae(u)),xt(c)&&(dy(c)&&!$e(c)&&(c=qt({},c)),t.style=ds(c))}const l=Rt(e)?1:Sy(e)?128:o$(e)?64:xt(e)?4:Fe(e)?2:0;return I(e,t,n,r,s,l,i,!0)}function Qs(e){return e?dy(e)||jy(e)?qt({},e):e:null}function Rr(e,t,n=!1){const{props:r,ref:s,patchFlag:i,children:l}=e,u=t?lt(r||{},t):r;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&eb(u),ref:t&&t.ref?n&&s?$e(s)?s.concat(Ol(t)):[s,Ol(t)]:Ol(t):s,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Ye?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Rr(e.ssContent),ssFallback:e.ssFallback&&Rr(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function de(e=" ",t=0){return P(Js,null,e,t)}function l$(e,t){const n=P(qs,null,e);return n.staticCount=t,n}function Ie(e="",t=!1){return t?(V(),Ae(bn,null,e)):P(bn,null,e)}function tr(e){return e==null||typeof e=="boolean"?P(bn):$e(e)?P(Ye,null,e.slice()):typeof e=="object"?wo(e):P(Js,null,String(e))}function wo(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Rr(e)}function rp(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if($e(t))n=16;else if(typeof t=="object")if(r&65){const s=t.default;s&&(s._c&&(s._d=!1),rp(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!jy(t)?t._ctx=Wt:s===3&&Wt&&(Wt.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else Fe(t)?(t={default:t,_ctx:Wt},n=32):(t=String(t),r&64?(n=16,t=[de(t)]):n=8);e.children=t,e.shapeFlag|=n}function lt(...e){const t={};for(let n=0;nYt||Wt;let Zl,jf;{const e=Zv(),t=(n,r)=>{let s;return(s=e[n])||(s=e[n]=[]),s.push(r),i=>{s.length>1?s.forEach(l=>l(i)):s[0](i)}};Zl=t("__VUE_INSTANCE_SETTERS__",n=>Yt=n),jf=t("__VUE_SSR_SETTERS__",n=>pa=n)}const hs=e=>{const t=Yt;return Zl(e),e.scope.on(),()=>{e.scope.off(),Zl(t)}},Uf=()=>{Yt&&Yt.scope.off(),Zl(null)};function tb(e){return e.vnode.shapeFlag&4}let pa=!1;function d$(e,t=!1){t&&jf(t);const{props:n,children:r}=e.vnode,s=tb(e);KT(e,n,s,t),ZT(e,r);const i=s?p$(e,t):void 0;return t&&jf(!1),i}function p$(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,BT);const{setup:r}=n;if(r){const s=e.setupContext=r.length>1?rb(e):null,i=hs(e);Po();const l=To(r,e,0,[e.props,s]);if(Lo(),i(),Md(l)){if(l.then(Uf,Uf),t)return l.then(u=>{Hf(e,u,t)}).catch(u=>{ri(u,e,0)});e.asyncDep=l}else Hf(e,l,t)}else nb(e,t)}function Hf(e,t,n){Fe(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:xt(t)&&(e.setupState=gy(t)),nb(e,n)}let Um;function nb(e,t,n){const r=e.type;if(!e.render){if(!t&&Um&&!r.render){const s=r.template||Xd(e).template;if(s){const{isCustomElement:i,compilerOptions:l}=e.appContext.config,{delimiters:u,compilerOptions:c}=r,p=qt(qt({isCustomElement:i,delimiters:u},l),c);r.render=Um(s,p)}}e.render=r.render||nr}{const s=hs(e);Po();try{NT(e)}finally{Lo(),s()}}}const h$={get(e,t){return In(e,"get",""),e[t]}};function rb(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,h$),slots:e.slots,emit:e.emit,expose:t}}function bu(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(gy(Wd(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Ni)return Ni[n](e)},has(t,n){return n in t||n in Ni}}))}function zf(e,t=!0){return Fe(e)?e.displayName||e.name:e.name||t&&e.__name}function g$(e){return Fe(e)&&"__vccOpts"in e}const F=(e,t)=>ZE(e,t,pa);function Mo(e,t,n=Et){const r=ir(),s=mr(t),i=ys(t),l=my((c,p)=>{let d;return kT(()=>{const g=e[t];Ar(d,g)&&(d=g,p())}),{get(){return c(),n.get?n.get(d):d},set(g){const h=r.vnode.props;!(h&&(t in h||s in h||i in h)&&(`onUpdate:${t}`in h||`onUpdate:${s}`in h||`onUpdate:${i}`in h))&&Ar(g,d)&&(d=g,p()),r.emit(`update:${t}`,n.set?n.set(g):g)}}}),u=t==="modelValue"?"modelModifiers":`${t}Modifiers`;return l[Symbol.iterator]=()=>{let c=0;return{next(){return c<2?{value:c++?e[u]||{}:l,done:!1}:{done:!0}}}},l}function Xe(e,t,n){const r=arguments.length;return r===2?xt(t)&&!$e(t)?Ys(t)?P(e,null,[t]):P(e,t):P(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Ys(n)&&(n=[n]),P(e,t,n))}const ob="3.4.23";/** * @vue/runtime-dom v3.4.23 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/const S$="http://www.w3.org/2000/svg",C$="http://www.w3.org/1998/Math/MathML",ko=typeof document<"u"?document:null,Gm=ko&&ko.createElement("template"),E$={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const s=t==="svg"?ko.createElementNS(S$,e):t==="mathml"?ko.createElementNS(C$,e):ko.createElement(e,n?{is:n}:void 0);return e==="select"&&r&&r.multiple!=null&&s.setAttribute("multiple",r.multiple),s},createText:e=>ko.createTextNode(e),createComment:e=>ko.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>ko.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,s,i){const l=n?n.previousSibling:t.lastChild;if(s&&(s===i||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),n),!(s===i||!(s=s.nextSibling)););else{Gm.innerHTML=r==="svg"?`${e}`:r==="mathml"?`${e}`:e;const u=Gm.content;if(r==="svg"||r==="mathml"){const c=u.firstChild;for(;c.firstChild;)u.appendChild(c.firstChild);u.removeChild(c)}t.insertBefore(u,n)}return[l?l.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},po="transition",Ei="animation",ea=Symbol("_vtc"),oi=(e,{slots:t})=>Xe(MT,T$(e),t);oi.displayName="Transition";const fb={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};oi.props=qt({},Ly,fb);const Ko=(e,t=[])=>{$e(e)?e.forEach(n=>n(...t)):e&&e(...t)},Jm=e=>e?$e(e)?e.some(t=>t.length>1):e.length>1:!1;function T$(e){const t={};for(const z in e)z in fb||(t[z]=e[z]);if(e.css===!1)return t;const{name:n="v",type:r,duration:s,enterFromClass:i=`${n}-enter-from`,enterActiveClass:l=`${n}-enter-active`,enterToClass:u=`${n}-enter-to`,appearFromClass:c=i,appearActiveClass:p=l,appearToClass:d=u,leaveFromClass:g=`${n}-leave-from`,leaveActiveClass:h=`${n}-leave-active`,leaveToClass:v=`${n}-leave-to`}=e,_=$$(s),x=_&&_[0],b=_&&_[1],{onBeforeEnter:E,onEnter:C,onEnterCancelled:S,onLeave:A,onLeaveCancelled:B,onBeforeAppear:L=E,onAppear:U=C,onAppearCancelled:j=S}=t,q=(z,be,ce)=>{Go(z,be?d:u),Go(z,be?p:l),ce&&ce()},K=(z,be)=>{z._isLeaving=!1,Go(z,g),Go(z,v),Go(z,h),be&&be()},Y=z=>(be,ce)=>{const ke=z?U:C,ie=()=>q(be,z,ce);Ko(ke,[be,ie]),Zm(()=>{Go(be,z?c:i),ho(be,z?d:u),Jm(ke)||Ym(be,r,x,ie)})};return qt(t,{onBeforeEnter(z){Ko(E,[z]),ho(z,i),ho(z,l)},onBeforeAppear(z){Ko(L,[z]),ho(z,c),ho(z,p)},onEnter:Y(!1),onAppear:Y(!0),onLeave(z,be){z._isLeaving=!0;const ce=()=>K(z,be);ho(z,g),R$(),ho(z,h),Zm(()=>{z._isLeaving&&(Go(z,g),ho(z,v),Jm(A)||Ym(z,r,b,ce))}),Ko(A,[z,ce])},onEnterCancelled(z){q(z,!1),Ko(S,[z])},onAppearCancelled(z){q(z,!0),Ko(j,[z])},onLeaveCancelled(z){K(z),Ko(B,[z])}})}function $$(e){if(e==null)return null;if(xt(e))return[nf(e.enter),nf(e.leave)];{const t=nf(e);return[t,t]}}function nf(e){return ty(e)}function ho(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[ea]||(e[ea]=new Set)).add(t)}function Go(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[ea];n&&(n.delete(t),n.size||(e[ea]=void 0))}function Zm(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let A$=0;function Ym(e,t,n,r){const s=e._endId=++A$,i=()=>{s===e._endId&&r()};if(n)return setTimeout(i,n);const{type:l,timeout:u,propCount:c}=I$(e,t);if(!l)return r();const p=l+"end";let d=0;const g=()=>{e.removeEventListener(p,h),i()},h=v=>{v.target===e&&++d>=c&&g()};setTimeout(()=>{d(n[_]||"").split(", "),s=r(`${po}Delay`),i=r(`${po}Duration`),l=Qm(s,i),u=r(`${Ei}Delay`),c=r(`${Ei}Duration`),p=Qm(u,c);let d=null,g=0,h=0;t===po?l>0&&(d=po,g=l,h=i.length):t===Ei?p>0&&(d=Ei,g=p,h=c.length):(g=Math.max(l,p),d=g>0?l>p?po:Ei:null,h=d?d===po?i.length:c.length:0);const v=d===po&&/\b(transform|all)(,|$)/.test(r(`${po}Property`).toString());return{type:d,timeout:g,propCount:h,hasTransform:v}}function Qm(e,t){for(;e.lengthXm(n)+Xm(e[r])))}function Xm(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function R$(){return document.body.offsetHeight}function O$(e,t,n){const r=e[ea];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const eu=Symbol("_vod"),db=Symbol("_vsh"),NF={beforeMount(e,{value:t},{transition:n}){e[eu]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):Ti(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),Ti(e,!0),r.enter(e)):r.leave(e,()=>{Ti(e,!1)}):Ti(e,t))},beforeUnmount(e,{value:t}){Ti(e,t)}};function Ti(e,t){e.style.display=t?e[eu]:"none",e[db]=!t}const pb=Symbol("");function jF(e){const t=ir();if(!t)return;const n=t.ut=(s=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(i=>Jf(i,s))},r=()=>{const s=e(t.proxy);Gf(t.subTree,s),n(s)};ct(()=>{IT(r);const s=new MutationObserver(r);s.observe(t.subTree.el.parentNode,{childList:!0}),Ht(()=>s.disconnect())})}function Gf(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{Gf(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)Jf(e.el,t);else if(e.type===Ye)e.children.forEach(n=>Gf(n,t));else if(e.type===qs){let{el:n,anchor:r}=e;for(;n&&(Jf(n,t),n!==r);)n=n.nextSibling}}function Jf(e,t){if(e.nodeType===1){const n=e.style;let r="";for(const s in t)n.setProperty(`--${s}`,t[s]),r+=`--${s}: ${t[s]};`;n[pb]=r}}const P$=/(^|;)\s*display\s*:/;function L$(e,t,n){const r=e.style,s=Rt(n);let i=!1;if(n&&!s){if(t)if(Rt(t))for(const l of t.split(";")){const u=l.slice(0,l.indexOf(":")).trim();n[u]==null&&Ml(r,u,"")}else for(const l in t)n[l]==null&&Ml(r,l,"");for(const l in n)l==="display"&&(i=!0),Ml(r,l,n[l])}else if(s){if(t!==n){const l=r[pb];l&&(n+=";"+l),r.cssText=n,i=P$.test(n)}}else t&&e.removeAttribute("style");eu in e&&(e[eu]=i?r.display:"",e[db]&&(r.display="none"))}const e0=/\s*!important$/;function Ml(e,t,n){if($e(n))n.forEach(r=>Ml(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=M$(e,t);e0.test(n)?e.setProperty(ys(r),n.replace(e0,""),"important"):e[r]=n}}const t0=["Webkit","Moz","ms"],rf={};function M$(e,t){const n=rf[t];if(n)return n;let r=mr(t);if(r!=="filter"&&r in e)return rf[t]=r;r=hu(r);for(let s=0;sof||(j$.then(()=>of=0),of=Date.now());function H$(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;or(z$(r,n.value),t,5,[r])};return n.value=e,n.attached=U$(),n}function z$(e,t){if($e(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>s=>!s._stopped&&r&&r(s))}else return t}const s0=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,W$=(e,t,n,r,s,i,l,u,c)=>{const p=s==="svg";t==="class"?O$(e,r,p):t==="style"?L$(e,n,r):ua(t)?Bd(t)||V$(e,t,n,r,l):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):q$(e,t,r,p))?F$(e,t,r,i,l,u,c):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),B$(e,t,r,p))};function q$(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&s0(t)&&Fe(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const s=e.tagName;if(s==="IMG"||s==="VIDEO"||s==="CANVAS"||s==="SOURCE")return!1}return s0(t)&&Rt(n)?!1:t in e}const tu=e=>{const t=e.props["onUpdate:modelValue"]||!1;return $e(t)?n=>js(t,n):t};function K$(e){e.target.composing=!0}function i0(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Ks=Symbol("_assign"),G$={created(e,{modifiers:{lazy:t,trim:n,number:r}},s){e[Ks]=tu(s);const i=r||s.props&&s.props.type==="number";ns(e,t?"change":"input",l=>{if(l.target.composing)return;let u=e.value;n&&(u=u.trim()),i&&(u=If(u)),e[Ks](u)}),n&&ns(e,"change",()=>{e.value=e.value.trim()}),t||(ns(e,"compositionstart",K$),ns(e,"compositionend",i0),ns(e,"change",i0))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:r,number:s}},i){if(e[Ks]=tu(i),e.composing)return;const l=(s||e.type==="number")&&!/^0\d/.test(e.value)?If(e.value):e.value,u=t??"";l!==u&&(document.activeElement===e&&e.type!=="range"&&(n||r&&e.value.trim()===u)||(e.value=u))}},J$={deep:!0,created(e,t,n){e[Ks]=tu(n),ns(e,"change",()=>{const r=e._modelValue,s=Z$(e),i=e.checked,l=e[Ks];if($e(r)){const u=oy(r,s),c=u!==-1;if(i&&!c)l(r.concat(s));else if(!i&&c){const p=[...r];p.splice(u,1),l(p)}}else if(du(r)){const u=new Set(r);i?u.add(s):u.delete(s),l(u)}else l(hb(e,i))})},mounted:a0,beforeUpdate(e,t,n){e[Ks]=tu(n),a0(e,t,n)}};function a0(e,{value:t,oldValue:n},r){e._modelValue=t,$e(t)?e.checked=oy(t,r.props.value)>-1:du(t)?e.checked=t.has(r.props.value):t!==n&&(e.checked=gu(t,hb(e,!0)))}function Z$(e){return"_value"in e?e._value:e.value}function hb(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const Y$=["ctrl","shift","alt","meta"],Q$={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)=>Y$.some(n=>e[`${n}Key`]&&!t.includes(n))},Bl=(e,t)=>{const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=(s,...i)=>{for(let l=0;l{const t=X$().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=vb(r);if(!s)return;const i=t._component;!Fe(i)&&!i.render&&!i.template&&(i.template=s.innerHTML),s.innerHTML="";const l=n(s,!1,mb(s));return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),l},t},nA=(...e)=>{const t=eA().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=vb(r);if(s)return n(s,!0,mb(s))},t};function mb(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function vb(e){return Rt(e)?document.querySelector(e):e}const rA=/"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,oA=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,sA=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function iA(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){aA(e);return}return t}function aA(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function ta(e,t={}){if(typeof e!="string")return e;const n=e.trim();if(e[0]==='"'&&e.endsWith('"')&&!e.includes("\\"))return n.slice(1,-1);if(n.length<=9){const r=n.toLowerCase();if(r==="true")return!0;if(r==="false")return!1;if(r==="undefined")return;if(r==="null")return null;if(r==="nan")return Number.NaN;if(r==="infinity")return Number.POSITIVE_INFINITY;if(r==="-infinity")return Number.NEGATIVE_INFINITY}if(!sA.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(rA.test(e)||oA.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,iA)}return JSON.parse(e)}catch(r){if(t.strict)throw r;return e}}const lA=/#/g,uA=/&/g,cA=/\//g,fA=/=/g,ap=/\+/g,dA=/%5e/gi,pA=/%60/gi,hA=/%7c/gi,gA=/%20/gi;function mA(e){return encodeURI(""+e).replace(hA,"|")}function Zf(e){return mA(typeof e=="string"?e:JSON.stringify(e)).replace(ap,"%2B").replace(gA,"+").replace(lA,"%23").replace(uA,"%26").replace(pA,"`").replace(dA,"^").replace(cA,"%2F")}function sf(e){return Zf(e).replace(fA,"%3D")}function nu(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function vA(e){return nu(e.replace(ap," "))}function yA(e){return nu(e.replace(ap," "))}function yb(e=""){const t={};e[0]==="?"&&(e=e.slice(1));for(const n of e.split("&")){const r=n.match(/([^=]+)=?(.*)/)||[];if(r.length<2)continue;const s=vA(r[1]);if(s==="__proto__"||s==="constructor")continue;const i=yA(r[2]||"");t[s]===void 0?t[s]=i:Array.isArray(t[s])?t[s].push(i):t[s]=[t[s],i]}return t}function bA(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(n=>`${sf(e)}=${Zf(n)}`).join("&"):`${sf(e)}=${Zf(t)}`:sf(e)}function _A(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>bA(t,e[t])).filter(Boolean).join("&")}const wA=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,xA=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,kA=/^([/\\]\s*){2,}[^/\\]/,SA=/^[\s\0]*(blob|data|javascript|vbscript):$/i,CA=/\/$|\/\?|\/#/,EA=/^\.?\//;function Xr(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?wA.test(e):xA.test(e)||(t.acceptRelative?kA.test(e):!1)}function TA(e){return!!e&&SA.test(e)}function Yf(e="",t){return t?CA.test(e):e.endsWith("/")}function xu(e="",t){if(!t)return(Yf(e)?e.slice(0,-1):e)||"/";if(!Yf(e,!0))return e||"/";let n=e,r="";const s=e.indexOf("#");s>=0&&(n=e.slice(0,s),r=e.slice(s));const[i,...l]=n.split("?");return((i.endsWith("/")?i.slice(0,-1):i)||"/")+(l.length>0?`?${l.join("?")}`:"")+r}function ru(e="",t){if(!t)return e.endsWith("/")?e:e+"/";if(Yf(e,!0))return e||"/";let n=e,r="";const s=e.indexOf("#");if(s>=0&&(n=e.slice(0,s),r=e.slice(s),!n))return r;const[i,...l]=n.split("?");return i+"/"+(l.length>0?`?${l.join("?")}`:"")+r}function $A(e=""){return e.startsWith("/")}function u0(e=""){return $A(e)?e:"/"+e}function AA(e,t){if(_b(t)||Xr(e))return e;const n=xu(t);return e.startsWith(n)?e:ku(n,e)}function c0(e,t){if(_b(t))return e;const n=xu(t);if(!e.startsWith(n))return e;const r=e.slice(n.length);return r[0]==="/"?r:"/"+r}function bb(e,t){const n=ma(e),r={...yb(n.search),...t};return n.search=_A(r),OA(n)}function _b(e){return!e||e==="/"}function IA(e){return e&&e!=="/"}function ku(e,...t){let n=e||"";for(const r of t.filter(s=>IA(s)))if(n){const s=r.replace(EA,"");n=ru(n)+s}else n=r;return n}function wb(...e){var l,u,c,p;const t=/\/(?!\/)/,n=e.filter(Boolean),r=[];let s=0;for(const d of n)if(!(!d||d==="/")){for(const[g,h]of d.split(t).entries())if(!(!h||h===".")){if(h===".."){if(r.length===1&&Xr(r[0]))continue;r.pop(),s--;continue}if(g===1&&((l=r[r.length-1])!=null&&l.endsWith(":/"))){r[r.length-1]+="/"+h;continue}r.push(h),s++}}let i=r.join("/");return s>=0?(u=n[0])!=null&&u.startsWith("/")&&!i.startsWith("/")?i="/"+i:(c=n[0])!=null&&c.startsWith("./")&&!i.startsWith("./")&&(i="./"+i):i="../".repeat(-1*s)+i,(p=n[n.length-1])!=null&&p.endsWith("/")&&!i.endsWith("/")&&(i+="/"),i}function RA(e,t,n={}){return n.trailingSlash||(e=ru(e),t=ru(t)),n.leadingSlash||(e=u0(e),t=u0(t)),n.encoding||(e=nu(e),t=nu(t)),e===t}const xb=Symbol.for("ufo:protocolRelative");function ma(e="",t){const n=e.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(n){const[,g,h=""]=n;return{protocol:g.toLowerCase(),pathname:h,href:g+h,auth:"",host:"",search:"",hash:""}}if(!Xr(e,{acceptRelative:!0}))return t?ma(t+e):f0(e);const[,r="",s,i=""]=e.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[],[,l="",u=""]=i.match(/([^#/?]*)(.*)?/)||[],{pathname:c,search:p,hash:d}=f0(u.replace(/\/(?=[A-Za-z]:)/,""));return{protocol:r.toLowerCase(),auth:s?s.slice(0,Math.max(0,s.length-1)):"",host:l,pathname:c,search:p,hash:d,[xb]:!r}}function f0(e=""){const[t="",n="",r=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:r}}function OA(e){const t=e.pathname||"",n=e.search?(e.search.startsWith("?")?"":"?")+e.search:"",r=e.hash||"",s=e.auth?e.auth+"@":"",i=e.host||"";return(e.protocol||e[xb]?(e.protocol||"")+"//":"")+s+i+t+n+r}class PA extends Error{constructor(t,n){super(t,n),this.name="FetchError",n!=null&&n.cause&&!this.cause&&(this.cause=n.cause)}}function LA(e){var c,p,d,g,h;const t=((c=e.error)==null?void 0:c.message)||((p=e.error)==null?void 0:p.toString())||"",n=((d=e.request)==null?void 0:d.method)||((g=e.options)==null?void 0:g.method)||"GET",r=((h=e.request)==null?void 0:h.url)||String(e.request)||"/",s=`[${n}] ${JSON.stringify(r)}`,i=e.response?`${e.response.status} ${e.response.statusText}`:"",l=`${s}: ${i}${t?` ${t}`:""}`,u=new PA(l,e.error?{cause:e.error}:void 0);for(const v of["request","options","response"])Object.defineProperty(u,v,{get(){return e[v]}});for(const[v,_]of[["data","_data"],["status","status"],["statusCode","status"],["statusText","statusText"],["statusMessage","statusText"]])Object.defineProperty(u,v,{get(){return e.response&&e.response[_]}});return u}const MA=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function d0(e="GET"){return MA.has(e.toUpperCase())}function BA(e){if(e===void 0)return!1;const t=typeof e;return t==="string"||t==="number"||t==="boolean"||t===null?!0:t!=="object"?!1:Array.isArray(e)?!0:e.buffer?!1:e.constructor&&e.constructor.name==="Object"||typeof e.toJSON=="function"}const FA=new Set(["image/svg","application/xml","application/xhtml","application/html"]),DA=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function VA(e=""){if(!e)return"json";const t=e.split(";").shift()||"";return DA.test(t)?"json":FA.has(t)||t.startsWith("text/")?"text":"blob"}function NA(e,t,n=globalThis.Headers){const r={...t,...e};if(t!=null&&t.params&&(e!=null&&e.params)&&(r.params={...t==null?void 0:t.params,...e==null?void 0:e.params}),t!=null&&t.query&&(e!=null&&e.query)&&(r.query={...t==null?void 0:t.query,...e==null?void 0:e.query}),t!=null&&t.headers&&(e!=null&&e.headers)){r.headers=new n((t==null?void 0:t.headers)||{});for(const[s,i]of new n((e==null?void 0:e.headers)||{}))r.headers.set(s,i)}return r}const jA=new Set([408,409,425,429,500,502,503,504]),UA=new Set([101,204,205,304]);function kb(e={}){const{fetch:t=globalThis.fetch,Headers:n=globalThis.Headers,AbortController:r=globalThis.AbortController}=e;async function s(u){const c=u.error&&u.error.name==="AbortError"&&!u.options.timeout||!1;if(u.options.retry!==!1&&!c){let d;typeof u.options.retry=="number"?d=u.options.retry:d=d0(u.options.method)?0:1;const g=u.response&&u.response.status||500;if(d>0&&(Array.isArray(u.options.retryStatusCodes)?u.options.retryStatusCodes.includes(g):jA.has(g))){const h=u.options.retryDelay||0;return h>0&&await new Promise(v=>setTimeout(v,h)),i(u.request,{...u.options,retry:d-1})}}const p=LA(u);throw Error.captureStackTrace&&Error.captureStackTrace(p,i),p}const i=async function(c,p={}){var v;const d={request:c,options:NA(p,e.defaults,n),response:void 0,error:void 0};d.options.method=(v=d.options.method)==null?void 0:v.toUpperCase(),d.options.onRequest&&await d.options.onRequest(d),typeof d.request=="string"&&(d.options.baseURL&&(d.request=AA(d.request,d.options.baseURL)),(d.options.query||d.options.params)&&(d.request=bb(d.request,{...d.options.params,...d.options.query}))),d.options.body&&d0(d.options.method)&&(BA(d.options.body)?(d.options.body=typeof d.options.body=="string"?d.options.body:JSON.stringify(d.options.body),d.options.headers=new n(d.options.headers||{}),d.options.headers.has("content-type")||d.options.headers.set("content-type","application/json"),d.options.headers.has("accept")||d.options.headers.set("accept","application/json")):("pipeTo"in d.options.body&&typeof d.options.body.pipeTo=="function"||typeof d.options.body.pipe=="function")&&("duplex"in d.options||(d.options.duplex="half")));let g;if(!d.options.signal&&d.options.timeout){const _=new r;g=setTimeout(()=>_.abort(),d.options.timeout),d.options.signal=_.signal}try{d.response=await t(d.request,d.options)}catch(_){return d.error=_,d.options.onRequestError&&await d.options.onRequestError(d),await s(d)}finally{g&&clearTimeout(g)}if(d.response.body&&!UA.has(d.response.status)&&d.options.method!=="HEAD"){const _=(d.options.parseResponse?"json":d.options.responseType)||VA(d.response.headers.get("content-type")||"");switch(_){case"json":{const x=await d.response.text(),b=d.options.parseResponse||ta;d.response._data=b(x);break}case"stream":{d.response._data=d.response.body;break}default:d.response._data=await d.response[_]()}}return d.options.onResponse&&await d.options.onResponse(d),!d.options.ignoreResponseError&&d.response.status>=400&&d.response.status<600?(d.options.onResponseError&&await d.options.onResponseError(d),await s(d)):d.response},l=async function(c,p){return(await i(c,p))._data};return l.raw=i,l.native=(...u)=>t(...u),l.create=(u={})=>kb({...e,defaults:{...e.defaults,...u}}),l}const lp=function(){if(typeof globalThis<"u")return globalThis;if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;throw new Error("unable to locate global object")}(),HA=lp.fetch||(()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!"))),zA=lp.Headers,WA=lp.AbortController,qA=kb({fetch:HA,Headers:zA,AbortController:WA}),KA=qA,GA=()=>{var e;return((e=window==null?void 0:window.__NUXT__)==null?void 0:e.config)||{}},ou=GA().app,JA=()=>ou.baseURL,ZA=()=>ou.buildAssetsDir,up=(...e)=>wb(Sb(),ZA(),...e),Sb=(...e)=>{const t=ou.cdnURL||ou.baseURL;return e.length?wb(t,...e):t};globalThis.__buildAssetsURL=up,globalThis.__publicAssetsURL=Sb;globalThis.$fetch||(globalThis.$fetch=KA.create({baseURL:JA()}));function Qf(e,t={},n){for(const r in e){const s=e[r],i=n?`${n}:${r}`:r;typeof s=="object"&&s!==null?Qf(s,t,i):typeof s=="function"&&(t[i]=s)}return t}const YA={run:e=>e()},QA=()=>YA,Cb=typeof console.createTask<"u"?console.createTask:QA;function XA(e,t){const n=t.shift(),r=Cb(n);return e.reduce((s,i)=>s.then(()=>r.run(()=>i(...t))),Promise.resolve())}function eI(e,t){const n=t.shift(),r=Cb(n);return Promise.all(e.map(s=>r.run(()=>s(...t))))}function af(e,t){for(const n of[...e])n(t)}class tI{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(t,n,r={}){if(!t||typeof n!="function")return()=>{};const s=t;let i;for(;this._deprecatedHooks[t];)i=this._deprecatedHooks[t],t=i.to;if(i&&!r.allowDeprecated){let l=i.message;l||(l=`${s} hook has been deprecated`+(i.to?`, please use ${i.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(l)||(console.warn(l),this._deprecatedMessages.add(l))}if(!n.name)try{Object.defineProperty(n,"name",{get:()=>"_"+t.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[t]=this._hooks[t]||[],this._hooks[t].push(n),()=>{n&&(this.removeHook(t,n),n=void 0)}}hookOnce(t,n){let r,s=(...i)=>(typeof r=="function"&&r(),r=void 0,s=void 0,n(...i));return r=this.hook(t,s),r}removeHook(t,n){if(this._hooks[t]){const r=this._hooks[t].indexOf(n);r!==-1&&this._hooks[t].splice(r,1),this._hooks[t].length===0&&delete this._hooks[t]}}deprecateHook(t,n){this._deprecatedHooks[t]=typeof n=="string"?{to:n}:n;const r=this._hooks[t]||[];delete this._hooks[t];for(const s of r)this.hook(t,s)}deprecateHooks(t){Object.assign(this._deprecatedHooks,t);for(const n in t)this.deprecateHook(n,t[n])}addHooks(t){const n=Qf(t),r=Object.keys(n).map(s=>this.hook(s,n[s]));return()=>{for(const s of r.splice(0,r.length))s()}}removeHooks(t){const n=Qf(t);for(const r in n)this.removeHook(r,n[r])}removeAllHooks(){for(const t in this._hooks)delete this._hooks[t]}callHook(t,...n){return n.unshift(t),this.callHookWith(XA,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(eI,t,...n)}callHookWith(t,n,...r){const s=this._before||this._after?{name:n,args:r,context:{}}:void 0;this._before&&af(this._before,s);const i=t(n in this._hooks?[...this._hooks[n]]:[],r);return i instanceof Promise?i.finally(()=>{this._after&&s&&af(this._after,s)}):(this._after&&s&&af(this._after,s),i)}beforeEach(t){return this._before=this._before||[],this._before.push(t),()=>{if(this._before!==void 0){const n=this._before.indexOf(t);n!==-1&&this._before.splice(n,1)}}}afterEach(t){return this._after=this._after||[],this._after.push(t),()=>{if(this._after!==void 0){const n=this._after.indexOf(t);n!==-1&&this._after.splice(n,1)}}}}function Eb(){return new tI}function nI(e={}){let t,n=!1;const r=l=>{if(t&&t!==l)throw new Error("Context conflict")};let s;if(e.asyncContext){const l=e.AsyncLocalStorage||globalThis.AsyncLocalStorage;l?s=new l:console.warn("[unctx] `AsyncLocalStorage` is not provided.")}const i=()=>{if(s&&t===void 0){const l=s.getStore();if(l!==void 0)return l}return t};return{use:()=>{const l=i();if(l===void 0)throw new Error("Context is not available");return l},tryUse:()=>i(),set:(l,u)=>{u||r(l),t=l,n=!0},unset:()=>{t=void 0,n=!1},call:(l,u)=>{r(l),t=l;try{return s?s.run(l,u):u()}finally{n||(t=void 0)}},async callAsync(l,u){t=l;const c=()=>{t=l},p=()=>t===l?c:void 0;Xf.add(p);try{const d=s?s.run(l,u):u();return n||(t=void 0),await d}finally{Xf.delete(p)}}}}function rI(e={}){const t={};return{get(n,r={}){return t[n]||(t[n]=nI({...e,...r})),t[n],t[n]}}}const su=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof global<"u"?global:typeof window<"u"?window:{},p0="__unctx__",oI=su[p0]||(su[p0]=rI()),sI=(e,t={})=>oI.get(e,t),h0="__unctx_async_handlers__",Xf=su[h0]||(su[h0]=new Set);function na(e){const t=[];for(const s of Xf){const i=s();i&&t.push(i)}const n=()=>{for(const s of t)s()};let r=e();return r&&typeof r=="object"&&"catch"in r&&(r=r.catch(s=>{throw n(),s})),[r,n]}const Tb=sI("nuxt-app",{asyncContext:!1}),iI="__nuxt_plugin";function aI(e){let t=0;const n={_scope:Nd(),provide:void 0,globalName:"nuxt",versions:{get nuxt(){return"3.11.2"},get vue(){return n.vueApp.version}},payload:_n({data:{},state:{},once:new Set,_errors:{},...window.__NUXT__??{}}),static:{data:{}},runWithContext:s=>n._scope.run(()=>cI(n,s)),isHydrating:!0,deferHydration(){if(!n.isHydrating)return()=>{};t++;let s=!1;return()=>{if(!s&&(s=!0,t--,t===0))return n.isHydrating=!1,n.callHook("app:suspense:resolve")}},_asyncDataPromises:{},_asyncData:{},_payloadRevivers:{},...e};n.hooks=Eb(),n.hook=n.hooks.hook,n.callHook=n.hooks.callHook,n.provide=(s,i)=>{const l="$"+s;Sl(n,l,i),Sl(n.vueApp.config.globalProperties,l,i)},Sl(n.vueApp,"$nuxt",n),Sl(n.vueApp.config.globalProperties,"$nuxt",n);{window.addEventListener("nuxt.preloadError",i=>{n.callHook("app:chunkError",{error:i.payload})}),window.useNuxtApp=window.useNuxtApp||it;const s=n.hook("app:error",(...i)=>{console.error("[nuxt] error caught during app initialization",...i)});n.hook("app:mounted",s)}const r=n.payload.config;return n.provide("config",r),n}async function lI(e,t){if(t.hooks&&e.hooks.addHooks(t.hooks),typeof t=="function"){const{provide:n}=await e.runWithContext(()=>t(e))||{};if(n&&typeof n=="object")for(const r in n)e.provide(r,n[r])}}async function uI(e,t){const n=[],r=[],s=[],i=[];let l=0;async function u(c){var d;const p=((d=c.dependsOn)==null?void 0:d.filter(g=>t.some(h=>h._name===g)&&!n.includes(g)))??[];if(p.length>0)r.push([new Set(p),c]);else{const g=lI(e,c).then(async()=>{c._name&&(n.push(c._name),await Promise.all(r.map(async([h,v])=>{h.has(c._name)&&(h.delete(c._name),h.size===0&&(l++,await u(v)))})))});c.parallel?s.push(g.catch(h=>i.push(h))):await g}}for(const c of t)await u(c);if(await Promise.all(s),l)for(let c=0;c{}),e,{[iI]:!0,_name:t})}function cI(e,t,n){const r=()=>n?t(...n):t();return Tb.set(e),e.vueApp.runWithContext(r)}function fI(){var t;let e;return rp()&&(e=(t=ir())==null?void 0:t.appContext.app.$nuxt),e=e||Tb.tryUse(),e||null}function it(){const e=fI();if(!e)throw new Error("[nuxt] instance unavailable");return e}function Yr(e){return it().$config}function Sl(e,t,n){Object.defineProperty(e,t,{get:()=>n})}const Cl=/^[\u0009\u0020-\u007E\u0080-\u00FF]+$/;function dI(e,t){if(typeof e!="string")throw new TypeError("argument str must be a string");const n={},s=(t||{}).decode||gI;let i=0;for(;i{t+=s};return{toString(){return t},getContext(){return n},dispatch(s){return e.replacer&&(s=e.replacer(s)),this[s===null?"null":typeof s](s)},object(s){if(s&&typeof s.toJSON=="function")return this.object(s.toJSON());const i=Object.prototype.toString.call(s);let l="";const u=i.length;u<10?l="unknown:["+i+"]":l=i.slice(8,u-1),l=l.toLowerCase();let c=null;if((c=n.get(s))===void 0)n.set(s,n.size);else return this.dispatch("[CIRCULAR:"+c+"]");if(typeof Buffer<"u"&&Buffer.isBuffer&&Buffer.isBuffer(s))return r("buffer:"),r(s.toString("utf8"));if(l!=="object"&&l!=="function"&&l!=="asyncfunction")this[l]?this[l](s):e.ignoreUnknown||this.unkown(s,l);else{let p=Object.keys(s);e.unorderedObjects&&(p=p.sort());let d=[];e.respectType!==!1&&!v0(s)&&(d=vI),e.excludeKeys&&(p=p.filter(h=>!e.excludeKeys(h)),d=d.filter(h=>!e.excludeKeys(h))),r("object:"+(p.length+d.length)+":");const g=h=>{this.dispatch(h),r(":"),e.excludeValues||this.dispatch(s[h]),r(",")};for(const h of p)g(h);for(const h of d)g(h)}},array(s,i){if(i=i===void 0?e.unorderedArrays!==!1:i,r("array:"+s.length+":"),!i||s.length<=1){for(const c of s)this.dispatch(c);return}const l=new Map,u=s.map(c=>{const p=$b(e);p.dispatch(c);for(const[d,g]of p.getContext())l.set(d,g);return p.toString()});return n=l,u.sort(),this.array(u,!1)},date(s){return r("date:"+s.toJSON())},symbol(s){return r("symbol:"+s.toString())},unkown(s,i){if(r(i),!!s&&(r(":"),s&&typeof s.entries=="function"))return this.array(Array.from(s.entries()),!0)},error(s){return r("error:"+s.toString())},boolean(s){return r("bool:"+s)},string(s){r("string:"+s.length+":"),r(s)},function(s){r("fn:"),v0(s)?this.dispatch("[native]"):this.dispatch(s.toString()),e.respectFunctionNames!==!1&&this.dispatch("function-name:"+String(s.name)),e.respectFunctionProperties&&this.object(s)},number(s){return r("number:"+s)},xml(s){return r("xml:"+s.toString())},null(){return r("Null")},undefined(){return r("Undefined")},regexp(s){return r("regex:"+s.toString())},uint8array(s){return r("uint8array:"),this.dispatch(Array.prototype.slice.call(s))},uint8clampedarray(s){return r("uint8clampedarray:"),this.dispatch(Array.prototype.slice.call(s))},int8array(s){return r("int8array:"),this.dispatch(Array.prototype.slice.call(s))},uint16array(s){return r("uint16array:"),this.dispatch(Array.prototype.slice.call(s))},int16array(s){return r("int16array:"),this.dispatch(Array.prototype.slice.call(s))},uint32array(s){return r("uint32array:"),this.dispatch(Array.prototype.slice.call(s))},int32array(s){return r("int32array:"),this.dispatch(Array.prototype.slice.call(s))},float32array(s){return r("float32array:"),this.dispatch(Array.prototype.slice.call(s))},float64array(s){return r("float64array:"),this.dispatch(Array.prototype.slice.call(s))},arraybuffer(s){return r("arraybuffer:"),this.dispatch(new Uint8Array(s))},url(s){return r("url:"+s.toString())},map(s){r("map:");const i=[...s];return this.array(i,e.unorderedSets!==!1)},set(s){r("set:");const i=[...s];return this.array(i,e.unorderedSets!==!1)},file(s){return r("file:"),this.dispatch([s.name,s.size,s.type,s.lastModfied])},blob(){if(e.ignoreUnknown)return r("[blob]");throw new Error(`Hashing Blob objects is currently not supported +**/const m$="http://www.w3.org/2000/svg",v$="http://www.w3.org/1998/Math/MathML",xo=typeof document<"u"?document:null,Hm=xo&&xo.createElement("template"),y$={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const s=t==="svg"?xo.createElementNS(m$,e):t==="mathml"?xo.createElementNS(v$,e):xo.createElement(e,n?{is:n}:void 0);return e==="select"&&r&&r.multiple!=null&&s.setAttribute("multiple",r.multiple),s},createText:e=>xo.createTextNode(e),createComment:e=>xo.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>xo.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,s,i){const l=n?n.previousSibling:t.lastChild;if(s&&(s===i||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),n),!(s===i||!(s=s.nextSibling)););else{Hm.innerHTML=r==="svg"?`${e}`:r==="mathml"?`${e}`:e;const u=Hm.content;if(r==="svg"||r==="mathml"){const c=u.firstChild;for(;c.firstChild;)u.appendChild(c.firstChild);u.removeChild(c)}t.insertBefore(u,n)}return[l?l.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},fo="transition",Ci="animation",Xi=Symbol("_vtc"),oi=(e,{slots:t})=>Xe(TT,b$(e),t);oi.displayName="Transition";const sb={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};oi.props=qt({},$y,sb);const Ko=(e,t=[])=>{$e(e)?e.forEach(n=>n(...t)):e&&e(...t)},zm=e=>e?$e(e)?e.some(t=>t.length>1):e.length>1:!1;function b$(e){const t={};for(const z in e)z in sb||(t[z]=e[z]);if(e.css===!1)return t;const{name:n="v",type:r,duration:s,enterFromClass:i=`${n}-enter-from`,enterActiveClass:l=`${n}-enter-active`,enterToClass:u=`${n}-enter-to`,appearFromClass:c=i,appearActiveClass:p=l,appearToClass:d=u,leaveFromClass:g=`${n}-leave-from`,leaveActiveClass:h=`${n}-leave-active`,leaveToClass:v=`${n}-leave-to`}=e,_=_$(s),x=_&&_[0],b=_&&_[1],{onBeforeEnter:E,onEnter:C,onEnterCancelled:S,onLeave:A,onLeaveCancelled:B,onBeforeAppear:L=E,onAppear:H=C,onAppearCancelled:j=S}=t,q=(z,be,ce)=>{Go(z,be?d:u),Go(z,be?p:l),ce&&ce()},K=(z,be)=>{z._isLeaving=!1,Go(z,g),Go(z,v),Go(z,h),be&&be()},Y=z=>(be,ce)=>{const ke=z?H:C,ie=()=>q(be,z,ce);Ko(ke,[be,ie]),Wm(()=>{Go(be,z?c:i),po(be,z?d:u),zm(ke)||qm(be,r,x,ie)})};return qt(t,{onBeforeEnter(z){Ko(E,[z]),po(z,i),po(z,l)},onBeforeAppear(z){Ko(L,[z]),po(z,c),po(z,p)},onEnter:Y(!1),onAppear:Y(!0),onLeave(z,be){z._isLeaving=!0;const ce=()=>K(z,be);po(z,g),k$(),po(z,h),Wm(()=>{z._isLeaving&&(Go(z,g),po(z,v),zm(A)||qm(z,r,b,ce))}),Ko(A,[z,ce])},onEnterCancelled(z){q(z,!1),Ko(S,[z])},onAppearCancelled(z){q(z,!0),Ko(j,[z])},onLeaveCancelled(z){K(z),Ko(B,[z])}})}function _$(e){if(e==null)return null;if(xt(e))return[Xc(e.enter),Xc(e.leave)];{const t=Xc(e);return[t,t]}}function Xc(e){return Jv(e)}function po(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Xi]||(e[Xi]=new Set)).add(t)}function Go(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[Xi];n&&(n.delete(t),n.size||(e[Xi]=void 0))}function Wm(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let w$=0;function qm(e,t,n,r){const s=e._endId=++w$,i=()=>{s===e._endId&&r()};if(n)return setTimeout(i,n);const{type:l,timeout:u,propCount:c}=x$(e,t);if(!l)return r();const p=l+"end";let d=0;const g=()=>{e.removeEventListener(p,h),i()},h=v=>{v.target===e&&++d>=c&&g()};setTimeout(()=>{d(n[_]||"").split(", "),s=r(`${fo}Delay`),i=r(`${fo}Duration`),l=Km(s,i),u=r(`${Ci}Delay`),c=r(`${Ci}Duration`),p=Km(u,c);let d=null,g=0,h=0;t===fo?l>0&&(d=fo,g=l,h=i.length):t===Ci?p>0&&(d=Ci,g=p,h=c.length):(g=Math.max(l,p),d=g>0?l>p?fo:Ci:null,h=d?d===fo?i.length:c.length:0);const v=d===fo&&/\b(transform|all)(,|$)/.test(r(`${fo}Property`).toString());return{type:d,timeout:g,propCount:h,hasTransform:v}}function Km(e,t){for(;e.lengthGm(n)+Gm(e[r])))}function Gm(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function k$(){return document.body.offsetHeight}function S$(e,t,n){const r=e[Xi];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Yl=Symbol("_vod"),ib=Symbol("_vsh"),$F={beforeMount(e,{value:t},{transition:n}){e[Yl]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):Ei(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),Ei(e,!0),r.enter(e)):r.leave(e,()=>{Ei(e,!1)}):Ei(e,t))},beforeUnmount(e,{value:t}){Ei(e,t)}};function Ei(e,t){e.style.display=t?e[Yl]:"none",e[ib]=!t}const ab=Symbol("");function AF(e){const t=ir();if(!t)return;const n=t.ut=(s=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(i=>qf(i,s))},r=()=>{const s=e(t.proxy);Wf(t.subTree,s),n(s)};ct(()=>{xT(r);const s=new MutationObserver(r);s.observe(t.subTree.el.parentNode,{childList:!0}),Ht(()=>s.disconnect())})}function Wf(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{Wf(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)qf(e.el,t);else if(e.type===Ye)e.children.forEach(n=>Wf(n,t));else if(e.type===qs){let{el:n,anchor:r}=e;for(;n&&(qf(n,t),n!==r);)n=n.nextSibling}}function qf(e,t){if(e.nodeType===1){const n=e.style;let r="";for(const s in t)n.setProperty(`--${s}`,t[s]),r+=`--${s}: ${t[s]};`;n[ab]=r}}const C$=/(^|;)\s*display\s*:/;function E$(e,t,n){const r=e.style,s=Rt(n);let i=!1;if(n&&!s){if(t)if(Rt(t))for(const l of t.split(";")){const u=l.slice(0,l.indexOf(":")).trim();n[u]==null&&Pl(r,u,"")}else for(const l in t)n[l]==null&&Pl(r,l,"");for(const l in n)l==="display"&&(i=!0),Pl(r,l,n[l])}else if(s){if(t!==n){const l=r[ab];l&&(n+=";"+l),r.cssText=n,i=C$.test(n)}}else t&&e.removeAttribute("style");Yl in e&&(e[Yl]=i?r.display:"",e[ib]&&(r.display="none"))}const Jm=/\s*!important$/;function Pl(e,t,n){if($e(n))n.forEach(r=>Pl(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=T$(e,t);Jm.test(n)?e.setProperty(ys(r),n.replace(Jm,""),"important"):e[r]=n}}const Zm=["Webkit","Moz","ms"],ef={};function T$(e,t){const n=ef[t];if(n)return n;let r=mr(t);if(r!=="filter"&&r in e)return ef[t]=r;r=du(r);for(let s=0;stf||(P$.then(()=>tf=0),tf=Date.now());function M$(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;or(B$(r,n.value),t,5,[r])};return n.value=e,n.attached=L$(),n}function B$(e,t){if($e(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>s=>!s._stopped&&r&&r(s))}else return t}const e0=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,F$=(e,t,n,r,s,i,l,u,c)=>{const p=s==="svg";t==="class"?S$(e,r,p):t==="style"?E$(e,n,r):aa(t)?Pd(t)||R$(e,t,n,r,l):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):D$(e,t,r,p))?A$(e,t,r,i,l,u,c):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),$$(e,t,r,p))};function D$(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&e0(t)&&Fe(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const s=e.tagName;if(s==="IMG"||s==="VIDEO"||s==="CANVAS"||s==="SOURCE")return!1}return e0(t)&&Rt(n)?!1:t in e}const Ql=e=>{const t=e.props["onUpdate:modelValue"]||!1;return $e(t)?n=>js(t,n):t};function V$(e){e.target.composing=!0}function t0(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Ks=Symbol("_assign"),N$={created(e,{modifiers:{lazy:t,trim:n,number:r}},s){e[Ks]=Ql(s);const i=r||s.props&&s.props.type==="number";ns(e,t?"change":"input",l=>{if(l.target.composing)return;let u=e.value;n&&(u=u.trim()),i&&(u=Tf(u)),e[Ks](u)}),n&&ns(e,"change",()=>{e.value=e.value.trim()}),t||(ns(e,"compositionstart",V$),ns(e,"compositionend",t0),ns(e,"change",t0))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:r,number:s}},i){if(e[Ks]=Ql(i),e.composing)return;const l=(s||e.type==="number")&&!/^0\d/.test(e.value)?Tf(e.value):e.value,u=t??"";l!==u&&(document.activeElement===e&&e.type!=="range"&&(n||r&&e.value.trim()===u)||(e.value=u))}},j$={deep:!0,created(e,t,n){e[Ks]=Ql(n),ns(e,"change",()=>{const r=e._modelValue,s=U$(e),i=e.checked,l=e[Ks];if($e(r)){const u=Qv(r,s),c=u!==-1;if(i&&!c)l(r.concat(s));else if(!i&&c){const p=[...r];p.splice(u,1),l(p)}}else if(cu(r)){const u=new Set(r);i?u.add(s):u.delete(s),l(u)}else l(lb(e,i))})},mounted:n0,beforeUpdate(e,t,n){e[Ks]=Ql(n),n0(e,t,n)}};function n0(e,{value:t,oldValue:n},r){e._modelValue=t,$e(t)?e.checked=Qv(t,r.props.value)>-1:cu(t)?e.checked=t.has(r.props.value):t!==n&&(e.checked=pu(t,lb(e,!0)))}function U$(e){return"_value"in e?e._value:e.value}function lb(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const H$=["ctrl","shift","alt","meta"],z$={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)=>H$.some(n=>e[`${n}Key`]&&!t.includes(n))},Ll=(e,t)=>{const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=(s,...i)=>{for(let l=0;l{const t=W$().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=fb(r);if(!s)return;const i=t._component;!Fe(i)&&!i.render&&!i.template&&(i.template=s.innerHTML),s.innerHTML="";const l=n(s,!1,cb(s));return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),l},t},G$=(...e)=>{const t=q$().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=fb(r);if(s)return n(s,!0,cb(s))},t};function cb(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function fb(e){return Rt(e)?document.querySelector(e):e}const J$=/"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,Z$=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,Y$=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function Q$(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){X$(e);return}return t}function X$(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function ea(e,t={}){if(typeof e!="string")return e;const n=e.trim();if(e[0]==='"'&&e.endsWith('"')&&!e.includes("\\"))return n.slice(1,-1);if(n.length<=9){const r=n.toLowerCase();if(r==="true")return!0;if(r==="false")return!1;if(r==="undefined")return;if(r==="null")return null;if(r==="nan")return Number.NaN;if(r==="infinity")return Number.POSITIVE_INFINITY;if(r==="-infinity")return Number.NEGATIVE_INFINITY}if(!Y$.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(J$.test(e)||Z$.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,Q$)}return JSON.parse(e)}catch(r){if(t.strict)throw r;return e}}const eA=/#/g,tA=/&/g,nA=/\//g,rA=/=/g,op=/\+/g,oA=/%5e/gi,sA=/%60/gi,iA=/%7c/gi,aA=/%20/gi;function lA(e){return encodeURI(""+e).replace(iA,"|")}function Kf(e){return lA(typeof e=="string"?e:JSON.stringify(e)).replace(op,"%2B").replace(aA,"+").replace(eA,"%23").replace(tA,"%26").replace(sA,"`").replace(oA,"^").replace(nA,"%2F")}function nf(e){return Kf(e).replace(rA,"%3D")}function Xl(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function uA(e){return Xl(e.replace(op," "))}function cA(e){return Xl(e.replace(op," "))}function db(e=""){const t={};e[0]==="?"&&(e=e.slice(1));for(const n of e.split("&")){const r=n.match(/([^=]+)=?(.*)/)||[];if(r.length<2)continue;const s=uA(r[1]);if(s==="__proto__"||s==="constructor")continue;const i=cA(r[2]||"");t[s]===void 0?t[s]=i:Array.isArray(t[s])?t[s].push(i):t[s]=[t[s],i]}return t}function fA(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(n=>`${nf(e)}=${Kf(n)}`).join("&"):`${nf(e)}=${Kf(t)}`:nf(e)}function dA(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>fA(t,e[t])).filter(Boolean).join("&")}const pA=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,hA=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,gA=/^([/\\]\s*){2,}[^/\\]/,mA=/^[\s\0]*(blob|data|javascript|vbscript):$/i,vA=/\/$|\/\?|\/#/,yA=/^\.?\//;function Bo(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?pA.test(e):hA.test(e)||(t.acceptRelative?gA.test(e):!1)}function bA(e){return!!e&&mA.test(e)}function Gf(e="",t){return t?vA.test(e):e.endsWith("/")}function sp(e="",t){if(!t)return(Gf(e)?e.slice(0,-1):e)||"/";if(!Gf(e,!0))return e||"/";let n=e,r="";const s=e.indexOf("#");s>=0&&(n=e.slice(0,s),r=e.slice(s));const[i,...l]=n.split("?");return((i.endsWith("/")?i.slice(0,-1):i)||"/")+(l.length>0?`?${l.join("?")}`:"")+r}function eu(e="",t){if(!t)return e.endsWith("/")?e:e+"/";if(Gf(e,!0))return e||"/";let n=e,r="";const s=e.indexOf("#");if(s>=0&&(n=e.slice(0,s),r=e.slice(s),!n))return r;const[i,...l]=n.split("?");return i+"/"+(l.length>0?`?${l.join("?")}`:"")+r}function _A(e=""){return e.startsWith("/")}function o0(e=""){return _A(e)?e:"/"+e}function wA(e,t){if(hb(t)||Bo(e))return e;const n=sp(t);return e.startsWith(n)?e:_u(n,e)}function s0(e,t){if(hb(t))return e;const n=sp(t);if(!e.startsWith(n))return e;const r=e.slice(n.length);return r[0]==="/"?r:"/"+r}function pb(e,t){const n=ha(e),r={...db(n.search),...t};return n.search=dA(r),SA(n)}function hb(e){return!e||e==="/"}function xA(e){return e&&e!=="/"}function _u(e,...t){let n=e||"";for(const r of t.filter(s=>xA(s)))if(n){const s=r.replace(yA,"");n=eu(n)+s}else n=r;return n}function gb(...e){var l,u,c,p;const t=/\/(?!\/)/,n=e.filter(Boolean),r=[];let s=0;for(const d of n)if(!(!d||d==="/")){for(const[g,h]of d.split(t).entries())if(!(!h||h===".")){if(h===".."){if(r.length===1&&Bo(r[0]))continue;r.pop(),s--;continue}if(g===1&&((l=r[r.length-1])!=null&&l.endsWith(":/"))){r[r.length-1]+="/"+h;continue}r.push(h),s++}}let i=r.join("/");return s>=0?(u=n[0])!=null&&u.startsWith("/")&&!i.startsWith("/")?i="/"+i:(c=n[0])!=null&&c.startsWith("./")&&!i.startsWith("./")&&(i="./"+i):i="../".repeat(-1*s)+i,(p=n[n.length-1])!=null&&p.endsWith("/")&&!i.endsWith("/")&&(i+="/"),i}function kA(e,t,n={}){return n.trailingSlash||(e=eu(e),t=eu(t)),n.leadingSlash||(e=o0(e),t=o0(t)),n.encoding||(e=Xl(e),t=Xl(t)),e===t}const mb=Symbol.for("ufo:protocolRelative");function ha(e="",t){const n=e.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(n){const[,g,h=""]=n;return{protocol:g.toLowerCase(),pathname:h,href:g+h,auth:"",host:"",search:"",hash:""}}if(!Bo(e,{acceptRelative:!0}))return t?ha(t+e):i0(e);const[,r="",s,i=""]=e.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[],[,l="",u=""]=i.match(/([^#/?]*)(.*)?/)||[],{pathname:c,search:p,hash:d}=i0(u.replace(/\/(?=[A-Za-z]:)/,""));return{protocol:r.toLowerCase(),auth:s?s.slice(0,Math.max(0,s.length-1)):"",host:l,pathname:c,search:p,hash:d,[mb]:!r}}function i0(e=""){const[t="",n="",r=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:r}}function SA(e){const t=e.pathname||"",n=e.search?(e.search.startsWith("?")?"":"?")+e.search:"",r=e.hash||"",s=e.auth?e.auth+"@":"",i=e.host||"";return(e.protocol||e[mb]?(e.protocol||"")+"//":"")+s+i+t+n+r}class CA extends Error{constructor(t,n){super(t,n),this.name="FetchError",n!=null&&n.cause&&!this.cause&&(this.cause=n.cause)}}function EA(e){var c,p,d,g,h;const t=((c=e.error)==null?void 0:c.message)||((p=e.error)==null?void 0:p.toString())||"",n=((d=e.request)==null?void 0:d.method)||((g=e.options)==null?void 0:g.method)||"GET",r=((h=e.request)==null?void 0:h.url)||String(e.request)||"/",s=`[${n}] ${JSON.stringify(r)}`,i=e.response?`${e.response.status} ${e.response.statusText}`:"",l=`${s}: ${i}${t?` ${t}`:""}`,u=new CA(l,e.error?{cause:e.error}:void 0);for(const v of["request","options","response"])Object.defineProperty(u,v,{get(){return e[v]}});for(const[v,_]of[["data","_data"],["status","status"],["statusCode","status"],["statusText","statusText"],["statusMessage","statusText"]])Object.defineProperty(u,v,{get(){return e.response&&e.response[_]}});return u}const TA=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function a0(e="GET"){return TA.has(e.toUpperCase())}function $A(e){if(e===void 0)return!1;const t=typeof e;return t==="string"||t==="number"||t==="boolean"||t===null?!0:t!=="object"?!1:Array.isArray(e)?!0:e.buffer?!1:e.constructor&&e.constructor.name==="Object"||typeof e.toJSON=="function"}const AA=new Set(["image/svg","application/xml","application/xhtml","application/html"]),IA=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function RA(e=""){if(!e)return"json";const t=e.split(";").shift()||"";return IA.test(t)?"json":AA.has(t)||t.startsWith("text/")?"text":"blob"}function OA(e,t,n=globalThis.Headers){const r={...t,...e};if(t!=null&&t.params&&(e!=null&&e.params)&&(r.params={...t==null?void 0:t.params,...e==null?void 0:e.params}),t!=null&&t.query&&(e!=null&&e.query)&&(r.query={...t==null?void 0:t.query,...e==null?void 0:e.query}),t!=null&&t.headers&&(e!=null&&e.headers)){r.headers=new n((t==null?void 0:t.headers)||{});for(const[s,i]of new n((e==null?void 0:e.headers)||{}))r.headers.set(s,i)}return r}const PA=new Set([408,409,425,429,500,502,503,504]),LA=new Set([101,204,205,304]);function vb(e={}){const{fetch:t=globalThis.fetch,Headers:n=globalThis.Headers,AbortController:r=globalThis.AbortController}=e;async function s(u){const c=u.error&&u.error.name==="AbortError"&&!u.options.timeout||!1;if(u.options.retry!==!1&&!c){let d;typeof u.options.retry=="number"?d=u.options.retry:d=a0(u.options.method)?0:1;const g=u.response&&u.response.status||500;if(d>0&&(Array.isArray(u.options.retryStatusCodes)?u.options.retryStatusCodes.includes(g):PA.has(g))){const h=u.options.retryDelay||0;return h>0&&await new Promise(v=>setTimeout(v,h)),i(u.request,{...u.options,retry:d-1})}}const p=EA(u);throw Error.captureStackTrace&&Error.captureStackTrace(p,i),p}const i=async function(c,p={}){var v;const d={request:c,options:OA(p,e.defaults,n),response:void 0,error:void 0};d.options.method=(v=d.options.method)==null?void 0:v.toUpperCase(),d.options.onRequest&&await d.options.onRequest(d),typeof d.request=="string"&&(d.options.baseURL&&(d.request=wA(d.request,d.options.baseURL)),(d.options.query||d.options.params)&&(d.request=pb(d.request,{...d.options.params,...d.options.query}))),d.options.body&&a0(d.options.method)&&($A(d.options.body)?(d.options.body=typeof d.options.body=="string"?d.options.body:JSON.stringify(d.options.body),d.options.headers=new n(d.options.headers||{}),d.options.headers.has("content-type")||d.options.headers.set("content-type","application/json"),d.options.headers.has("accept")||d.options.headers.set("accept","application/json")):("pipeTo"in d.options.body&&typeof d.options.body.pipeTo=="function"||typeof d.options.body.pipe=="function")&&("duplex"in d.options||(d.options.duplex="half")));let g;if(!d.options.signal&&d.options.timeout){const _=new r;g=setTimeout(()=>_.abort(),d.options.timeout),d.options.signal=_.signal}try{d.response=await t(d.request,d.options)}catch(_){return d.error=_,d.options.onRequestError&&await d.options.onRequestError(d),await s(d)}finally{g&&clearTimeout(g)}if(d.response.body&&!LA.has(d.response.status)&&d.options.method!=="HEAD"){const _=(d.options.parseResponse?"json":d.options.responseType)||RA(d.response.headers.get("content-type")||"");switch(_){case"json":{const x=await d.response.text(),b=d.options.parseResponse||ea;d.response._data=b(x);break}case"stream":{d.response._data=d.response.body;break}default:d.response._data=await d.response[_]()}}return d.options.onResponse&&await d.options.onResponse(d),!d.options.ignoreResponseError&&d.response.status>=400&&d.response.status<600?(d.options.onResponseError&&await d.options.onResponseError(d),await s(d)):d.response},l=async function(c,p){return(await i(c,p))._data};return l.raw=i,l.native=(...u)=>t(...u),l.create=(u={})=>vb({...e,defaults:{...e.defaults,...u}}),l}const ip=function(){if(typeof globalThis<"u")return globalThis;if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;throw new Error("unable to locate global object")}(),MA=ip.fetch||(()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!"))),BA=ip.Headers,FA=ip.AbortController,DA=vb({fetch:MA,Headers:BA,AbortController:FA}),VA=DA,NA=()=>{var e;return((e=window==null?void 0:window.__NUXT__)==null?void 0:e.config)||{}},tu=NA().app,jA=()=>tu.baseURL,UA=()=>tu.buildAssetsDir,HA=(...e)=>gb(yb(),UA(),...e),yb=(...e)=>{const t=tu.cdnURL||tu.baseURL;return e.length?gb(t,...e):t};globalThis.__buildAssetsURL=HA,globalThis.__publicAssetsURL=yb;globalThis.$fetch||(globalThis.$fetch=VA.create({baseURL:jA()}));function Jf(e,t={},n){for(const r in e){const s=e[r],i=n?`${n}:${r}`:r;typeof s=="object"&&s!==null?Jf(s,t,i):typeof s=="function"&&(t[i]=s)}return t}const zA={run:e=>e()},WA=()=>zA,bb=typeof console.createTask<"u"?console.createTask:WA;function qA(e,t){const n=t.shift(),r=bb(n);return e.reduce((s,i)=>s.then(()=>r.run(()=>i(...t))),Promise.resolve())}function KA(e,t){const n=t.shift(),r=bb(n);return Promise.all(e.map(s=>r.run(()=>s(...t))))}function rf(e,t){for(const n of[...e])n(t)}class GA{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(t,n,r={}){if(!t||typeof n!="function")return()=>{};const s=t;let i;for(;this._deprecatedHooks[t];)i=this._deprecatedHooks[t],t=i.to;if(i&&!r.allowDeprecated){let l=i.message;l||(l=`${s} hook has been deprecated`+(i.to?`, please use ${i.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(l)||(console.warn(l),this._deprecatedMessages.add(l))}if(!n.name)try{Object.defineProperty(n,"name",{get:()=>"_"+t.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[t]=this._hooks[t]||[],this._hooks[t].push(n),()=>{n&&(this.removeHook(t,n),n=void 0)}}hookOnce(t,n){let r,s=(...i)=>(typeof r=="function"&&r(),r=void 0,s=void 0,n(...i));return r=this.hook(t,s),r}removeHook(t,n){if(this._hooks[t]){const r=this._hooks[t].indexOf(n);r!==-1&&this._hooks[t].splice(r,1),this._hooks[t].length===0&&delete this._hooks[t]}}deprecateHook(t,n){this._deprecatedHooks[t]=typeof n=="string"?{to:n}:n;const r=this._hooks[t]||[];delete this._hooks[t];for(const s of r)this.hook(t,s)}deprecateHooks(t){Object.assign(this._deprecatedHooks,t);for(const n in t)this.deprecateHook(n,t[n])}addHooks(t){const n=Jf(t),r=Object.keys(n).map(s=>this.hook(s,n[s]));return()=>{for(const s of r.splice(0,r.length))s()}}removeHooks(t){const n=Jf(t);for(const r in n)this.removeHook(r,n[r])}removeAllHooks(){for(const t in this._hooks)delete this._hooks[t]}callHook(t,...n){return n.unshift(t),this.callHookWith(qA,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(KA,t,...n)}callHookWith(t,n,...r){const s=this._before||this._after?{name:n,args:r,context:{}}:void 0;this._before&&rf(this._before,s);const i=t(n in this._hooks?[...this._hooks[n]]:[],r);return i instanceof Promise?i.finally(()=>{this._after&&s&&rf(this._after,s)}):(this._after&&s&&rf(this._after,s),i)}beforeEach(t){return this._before=this._before||[],this._before.push(t),()=>{if(this._before!==void 0){const n=this._before.indexOf(t);n!==-1&&this._before.splice(n,1)}}}afterEach(t){return this._after=this._after||[],this._after.push(t),()=>{if(this._after!==void 0){const n=this._after.indexOf(t);n!==-1&&this._after.splice(n,1)}}}}function _b(){return new GA}function JA(e={}){let t,n=!1;const r=l=>{if(t&&t!==l)throw new Error("Context conflict")};let s;if(e.asyncContext){const l=e.AsyncLocalStorage||globalThis.AsyncLocalStorage;l?s=new l:console.warn("[unctx] `AsyncLocalStorage` is not provided.")}const i=()=>{if(s&&t===void 0){const l=s.getStore();if(l!==void 0)return l}return t};return{use:()=>{const l=i();if(l===void 0)throw new Error("Context is not available");return l},tryUse:()=>i(),set:(l,u)=>{u||r(l),t=l,n=!0},unset:()=>{t=void 0,n=!1},call:(l,u)=>{r(l),t=l;try{return s?s.run(l,u):u()}finally{n||(t=void 0)}},async callAsync(l,u){t=l;const c=()=>{t=l},p=()=>t===l?c:void 0;Zf.add(p);try{const d=s?s.run(l,u):u();return n||(t=void 0),await d}finally{Zf.delete(p)}}}}function ZA(e={}){const t={};return{get(n,r={}){return t[n]||(t[n]=JA({...e,...r})),t[n],t[n]}}}const nu=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof global<"u"?global:typeof window<"u"?window:{},l0="__unctx__",YA=nu[l0]||(nu[l0]=ZA()),QA=(e,t={})=>YA.get(e,t),u0="__unctx_async_handlers__",Zf=nu[u0]||(nu[u0]=new Set);function ru(e){const t=[];for(const s of Zf){const i=s();i&&t.push(i)}const n=()=>{for(const s of t)s()};let r=e();return r&&typeof r=="object"&&"catch"in r&&(r=r.catch(s=>{throw n(),s})),[r,n]}const wb=QA("nuxt-app",{asyncContext:!1}),XA="__nuxt_plugin";function eI(e){let t=0;const n={_scope:Fd(),provide:void 0,globalName:"nuxt",versions:{get nuxt(){return"3.11.2"},get vue(){return n.vueApp.version}},payload:_n({data:{},state:{},once:new Set,_errors:{},...window.__NUXT__??{}}),static:{data:{}},runWithContext:s=>n._scope.run(()=>rI(n,s)),isHydrating:!0,deferHydration(){if(!n.isHydrating)return()=>{};t++;let s=!1;return()=>{if(!s&&(s=!0,t--,t===0))return n.isHydrating=!1,n.callHook("app:suspense:resolve")}},_asyncDataPromises:{},_asyncData:{},_payloadRevivers:{},...e};n.hooks=_b(),n.hook=n.hooks.hook,n.callHook=n.hooks.callHook,n.provide=(s,i)=>{const l="$"+s;xl(n,l,i),xl(n.vueApp.config.globalProperties,l,i)},xl(n.vueApp,"$nuxt",n),xl(n.vueApp.config.globalProperties,"$nuxt",n);{window.addEventListener("nuxt.preloadError",i=>{n.callHook("app:chunkError",{error:i.payload})}),window.useNuxtApp=window.useNuxtApp||nt;const s=n.hook("app:error",(...i)=>{console.error("[nuxt] error caught during app initialization",...i)});n.hook("app:mounted",s)}const r=n.payload.config;return n.provide("config",r),n}async function tI(e,t){if(t.hooks&&e.hooks.addHooks(t.hooks),typeof t=="function"){const{provide:n}=await e.runWithContext(()=>t(e))||{};if(n&&typeof n=="object")for(const r in n)e.provide(r,n[r])}}async function nI(e,t){const n=[],r=[],s=[],i=[];let l=0;async function u(c){var d;const p=((d=c.dependsOn)==null?void 0:d.filter(g=>t.some(h=>h._name===g)&&!n.includes(g)))??[];if(p.length>0)r.push([new Set(p),c]);else{const g=tI(e,c).then(async()=>{c._name&&(n.push(c._name),await Promise.all(r.map(async([h,v])=>{h.has(c._name)&&(h.delete(c._name),h.size===0&&(l++,await u(v)))})))});c.parallel?s.push(g.catch(h=>i.push(h))):await g}}for(const c of t)await u(c);if(await Promise.all(s),l)for(let c=0;c{}),e,{[XA]:!0,_name:t})}function rI(e,t,n){const r=()=>n?t(...n):t();return wb.set(e),e.vueApp.runWithContext(r)}function oI(){var t;let e;return ep()&&(e=(t=ir())==null?void 0:t.appContext.app.$nuxt),e=e||wb.tryUse(),e||null}function nt(){const e=oI();if(!e)throw new Error("[nuxt] instance unavailable");return e}function Yr(e){return nt().$config}function xl(e,t,n){Object.defineProperty(e,t,{get:()=>n})}const kl=/^[\u0009\u0020-\u007E\u0080-\u00FF]+$/;function sI(e,t){if(typeof e!="string")throw new TypeError("argument str must be a string");const n={},s=(t||{}).decode||lI;let i=0;for(;i{t+=s};return{toString(){return t},getContext(){return n},dispatch(s){return e.replacer&&(s=e.replacer(s)),this[s===null?"null":typeof s](s)},object(s){if(s&&typeof s.toJSON=="function")return this.object(s.toJSON());const i=Object.prototype.toString.call(s);let l="";const u=i.length;u<10?l="unknown:["+i+"]":l=i.slice(8,u-1),l=l.toLowerCase();let c=null;if((c=n.get(s))===void 0)n.set(s,n.size);else return this.dispatch("[CIRCULAR:"+c+"]");if(typeof Buffer<"u"&&Buffer.isBuffer&&Buffer.isBuffer(s))return r("buffer:"),r(s.toString("utf8"));if(l!=="object"&&l!=="function"&&l!=="asyncfunction")this[l]?this[l](s):e.ignoreUnknown||this.unkown(s,l);else{let p=Object.keys(s);e.unorderedObjects&&(p=p.sort());let d=[];e.respectType!==!1&&!d0(s)&&(d=cI),e.excludeKeys&&(p=p.filter(h=>!e.excludeKeys(h)),d=d.filter(h=>!e.excludeKeys(h))),r("object:"+(p.length+d.length)+":");const g=h=>{this.dispatch(h),r(":"),e.excludeValues||this.dispatch(s[h]),r(",")};for(const h of p)g(h);for(const h of d)g(h)}},array(s,i){if(i=i===void 0?e.unorderedArrays!==!1:i,r("array:"+s.length+":"),!i||s.length<=1){for(const c of s)this.dispatch(c);return}const l=new Map,u=s.map(c=>{const p=xb(e);p.dispatch(c);for(const[d,g]of p.getContext())l.set(d,g);return p.toString()});return n=l,u.sort(),this.array(u,!1)},date(s){return r("date:"+s.toJSON())},symbol(s){return r("symbol:"+s.toString())},unkown(s,i){if(r(i),!!s&&(r(":"),s&&typeof s.entries=="function"))return this.array(Array.from(s.entries()),!0)},error(s){return r("error:"+s.toString())},boolean(s){return r("bool:"+s)},string(s){r("string:"+s.length+":"),r(s)},function(s){r("fn:"),d0(s)?this.dispatch("[native]"):this.dispatch(s.toString()),e.respectFunctionNames!==!1&&this.dispatch("function-name:"+String(s.name)),e.respectFunctionProperties&&this.object(s)},number(s){return r("number:"+s)},xml(s){return r("xml:"+s.toString())},null(){return r("Null")},undefined(){return r("Undefined")},regexp(s){return r("regex:"+s.toString())},uint8array(s){return r("uint8array:"),this.dispatch(Array.prototype.slice.call(s))},uint8clampedarray(s){return r("uint8clampedarray:"),this.dispatch(Array.prototype.slice.call(s))},int8array(s){return r("int8array:"),this.dispatch(Array.prototype.slice.call(s))},uint16array(s){return r("uint16array:"),this.dispatch(Array.prototype.slice.call(s))},int16array(s){return r("int16array:"),this.dispatch(Array.prototype.slice.call(s))},uint32array(s){return r("uint32array:"),this.dispatch(Array.prototype.slice.call(s))},int32array(s){return r("int32array:"),this.dispatch(Array.prototype.slice.call(s))},float32array(s){return r("float32array:"),this.dispatch(Array.prototype.slice.call(s))},float64array(s){return r("float64array:"),this.dispatch(Array.prototype.slice.call(s))},arraybuffer(s){return r("arraybuffer:"),this.dispatch(new Uint8Array(s))},url(s){return r("url:"+s.toString())},map(s){r("map:");const i=[...s];return this.array(i,e.unorderedSets!==!1)},set(s){r("set:");const i=[...s];return this.array(i,e.unorderedSets!==!1)},file(s){return r("file:"),this.dispatch([s.name,s.size,s.type,s.lastModfied])},blob(){if(e.ignoreUnknown)return r("[blob]");throw new Error(`Hashing Blob objects is currently not supported Use "options.replacer" or "options.ignoreUnknown" -`)},domwindow(){return r("domwindow")},bigint(s){return r("bigint:"+s.toString())},process(){return r("process")},timer(){return r("timer")},pipe(){return r("pipe")},tcp(){return r("tcp")},udp(){return r("udp")},tty(){return r("tty")},statwatcher(){return r("statwatcher")},securecontext(){return r("securecontext")},connection(){return r("connection")},zlib(){return r("zlib")},context(){return r("context")},nodescript(){return r("nodescript")},httpparser(){return r("httpparser")},dataview(){return r("dataview")},signal(){return r("signal")},fsevent(){return r("fsevent")},tlswrap(){return r("tlswrap")}}}const Ab="[native code] }",yI=Ab.length;function v0(e){return typeof e!="function"?!1:Function.prototype.toString.call(e).slice(-yI)===Ab}class Ao{constructor(t,n){t=this.words=t||[],this.sigBytes=n===void 0?t.length*4:n}toString(t){return(t||bI).stringify(this)}concat(t){if(this.clamp(),this.sigBytes%4)for(let n=0;n>>2]>>>24-n%4*8&255;this.words[this.sigBytes+n>>>2]|=r<<24-(this.sigBytes+n)%4*8}else for(let n=0;n>>2]=t.words[n>>>2];return this.sigBytes+=t.sigBytes,this}clamp(){this.words[this.sigBytes>>>2]&=4294967295<<32-this.sigBytes%4*8,this.words.length=Math.ceil(this.sigBytes/4)}clone(){return new Ao([...this.words])}}const bI={stringify(e){const t=[];for(let n=0;n>>2]>>>24-n%4*8&255;t.push((r>>>4).toString(16),(r&15).toString(16))}return t.join("")}},_I={stringify(e){const t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",n=[];for(let r=0;r>>2]>>>24-r%4*8&255,i=e.words[r+1>>>2]>>>24-(r+1)%4*8&255,l=e.words[r+2>>>2]>>>24-(r+2)%4*8&255,u=s<<16|i<<8|l;for(let c=0;c<4&&r*8+c*6>>6*(3-c)&63))}return n.join("")}},wI={parse(e){const t=e.length,n=[];for(let r=0;r>>2]|=(e.charCodeAt(r)&255)<<24-r%4*8;return new Ao(n,t)}},xI={parse(e){return wI.parse(unescape(encodeURIComponent(e)))}};class kI{constructor(){this._data=new Ao,this._nDataBytes=0,this._minBufferSize=0,this.blockSize=512/32}reset(){this._data=new Ao,this._nDataBytes=0}_append(t){typeof t=="string"&&(t=xI.parse(t)),this._data.concat(t),this._nDataBytes+=t.sigBytes}_doProcessBlock(t,n){}_process(t){let n,r=this._data.sigBytes/(this.blockSize*4);t?r=Math.ceil(r):r=Math.max((r|0)-this._minBufferSize,0);const s=r*this.blockSize,i=Math.min(s*4,this._data.sigBytes);if(s){for(let l=0;l>>7)^(S<<14|S>>>18)^S>>>3,B=Jo[h-2],L=(B<<15|B>>>17)^(B<<13|B>>>19)^B>>>10;Jo[h]=A+Jo[h-7]+L+Jo[h-16]}const v=c&p^~c&d,_=s&i^s&l^i&l,x=(s<<30|s>>>2)^(s<<19|s>>>13)^(s<<10|s>>>22),b=(c<<26|c>>>6)^(c<<21|c>>>11)^(c<<7|c>>>25),E=g+b+v+CI[h]+Jo[h],C=x+_;g=d,d=p,p=c,c=u+E|0,u=l,l=i,i=s,s=E+C|0}r[0]=r[0]+s|0,r[1]=r[1]+i|0,r[2]=r[2]+l|0,r[3]=r[3]+u|0,r[4]=r[4]+c|0,r[5]=r[5]+p|0,r[6]=r[6]+d|0,r[7]=r[7]+g|0}finalize(t){super.finalize(t);const n=this._nDataBytes*8,r=this._data.sigBytes*8;return this._data.words[r>>>5]|=128<<24-r%32,this._data.words[(r+64>>>9<<4)+14]=Math.floor(n/4294967296),this._data.words[(r+64>>>9<<4)+15]=n,this._data.sigBytes=this._data.words.length*4,this._process(),this._hash}}function TI(e){return new EI().finalize(e).toString(_I)}function $I(e,t={}){const n=typeof e=="string"?e:ed(e,t);return TI(n).slice(0,10)}function Ib(e,t,n={}){return e===t||ed(e,n)===ed(t,n)}function AI(e,t){return{ctx:{table:e},matchAll:n=>Ob(n,e,t)}}function Rb(e){const t={};for(const n in e)t[n]=n==="dynamic"?new Map(Object.entries(e[n]).map(([r,s])=>[r,Rb(s)])):new Map(Object.entries(e[n]));return t}function II(e){return AI(Rb(e))}function Ob(e,t,n){n!==!0&&e.endsWith("/")&&(e=e.slice(0,-1)||"/");const r=[];for(const[i,l]of b0(t.wildcard))(e===i||e.startsWith(i+"/"))&&r.push(l);for(const[i,l]of b0(t.dynamic))if(e.startsWith(i+"/")){const u="/"+e.slice(i.length).split("/").splice(2).join("/");r.push(...Ob(u,l))}const s=t.static.get(e);return s&&r.push(s),r.filter(Boolean)}function b0(e){return[...e.entries()].sort((t,n)=>t[0].length-n[0].length)}function lf(e){if(e===null||typeof e!="object")return!1;const t=Object.getPrototypeOf(e);return t!==null&&t!==Object.prototype&&Object.getPrototypeOf(t)!==null||Symbol.iterator in e?!1:Symbol.toStringTag in e?Object.prototype.toString.call(e)==="[object Module]":!0}function td(e,t,n=".",r){if(!lf(t))return td(e,{},n,r);const s=Object.assign({},t);for(const i in e){if(i==="__proto__"||i==="constructor")continue;const l=e[i];l!=null&&(r&&r(s,i,l,n)||(Array.isArray(l)&&Array.isArray(s[i])?s[i]=[...l,...s[i]]:lf(l)&&lf(s[i])?s[i]=td(l,s[i],(n?`${n}.`:"")+i.toString(),r):s[i]=l))}return s}function cp(e){return(...t)=>t.reduce((n,r)=>td(n,r,"",e),{})}const va=cp(),RI=cp((e,t,n)=>{if(e[t]!==void 0&&typeof n=="function")return e[t]=n(e[t]),!0});function OI(e,t){try{return t in e}catch{return!1}}var PI=Object.defineProperty,LI=(e,t,n)=>t in e?PI(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Xo=(e,t,n)=>(LI(e,typeof t!="symbol"?t+"":t,n),n);class nd extends Error{constructor(t,n={}){super(t,n),Xo(this,"statusCode",500),Xo(this,"fatal",!1),Xo(this,"unhandled",!1),Xo(this,"statusMessage"),Xo(this,"data"),Xo(this,"cause"),n.cause&&!this.cause&&(this.cause=n.cause)}toJSON(){const t={message:this.message,statusCode:od(this.statusCode,500)};return this.statusMessage&&(t.statusMessage=Pb(this.statusMessage)),this.data!==void 0&&(t.data=this.data),t}}Xo(nd,"__h3_error__",!0);function rd(e){if(typeof e=="string")return new nd(e);if(MI(e))return e;const t=new nd(e.message??e.statusMessage??"",{cause:e.cause||e});if(OI(e,"stack"))try{Object.defineProperty(t,"stack",{get(){return e.stack}})}catch{try{t.stack=e.stack}catch{}}if(e.data&&(t.data=e.data),e.statusCode?t.statusCode=od(e.statusCode,t.statusCode):e.status&&(t.statusCode=od(e.status,t.statusCode)),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),t.statusMessage){const n=t.statusMessage;Pb(t.statusMessage)!==n&&console.warn("[h3] Please prefer using `message` for longer error messages instead of `statusMessage`. In the future, `statusMessage` will be sanitized by default.")}return e.fatal!==void 0&&(t.fatal=e.fatal),e.unhandled!==void 0&&(t.unhandled=e.unhandled),t}function MI(e){var t;return((t=e==null?void 0:e.constructor)==null?void 0:t.__h3_error__)===!0}const BI=/[^\u0009\u0020-\u007E]/g;function Pb(e=""){return e.replace(BI,"")}function od(e,t=200){return!e||(typeof e=="string"&&(e=Number.parseInt(e,10)),e<100||e>999)?t:e}const Lb=Symbol("layout-meta"),$n=Symbol("route"),Wn=()=>{var e;return(e=it())==null?void 0:e.$router},Su=()=>rp()?Ke($n,it()._route):it()._route;const FI=()=>{try{if(it()._processingMiddleware)return!0}catch{return!1}return!1},Io=(e,t)=>{e||(e="/");const n=typeof e=="string"?e:bb(e.path||"/",e.query||{})+(e.hash||"");if(t!=null&&t.open){const{target:u="_blank",windowFeatures:c={}}=t.open,p=Object.entries(c).filter(([d,g])=>g!==void 0).map(([d,g])=>`${d.toLowerCase()}=${g}`).join(", ");return open(n,u,p),Promise.resolve()}const r=(t==null?void 0:t.external)||Xr(n,{acceptRelative:!0});if(r){if(!(t!=null&&t.external))throw new Error("Navigating to an external URL is not allowed by default. Use `navigateTo(url, { external: true })`.");const u=ma(n).protocol;if(u&&TA(u))throw new Error(`Cannot navigate to a URL with '${u}' protocol.`)}const s=FI();if(!r&&s)return e;const i=Wn(),l=it();return r?(l._scope.stop(),t!=null&&t.replace?location.replace(n):location.href=n,s?l.isHydrating?new Promise(()=>{}):!1:Promise.resolve()):t!=null&&t.replace?i.replace(e):i.push(e)},Mb="__nuxt_error",Cu=()=>Ot(it().payload,"error"),Fs=e=>{const t=ya(e);try{const n=it(),r=Cu();n.hooks.callHook("app:error",t),r.value=r.value||t}catch{throw t}return t},DI=async(e={})=>{const t=it(),n=Cu();t.callHook("app:error:cleared",e),e.redirect&&await Wn().replace(e.redirect),n.value=null},VI=e=>!!e&&typeof e=="object"&&Mb in e,ya=e=>{const t=rd(e);return Object.defineProperty(t,Mb,{value:!0,configurable:!1,writable:!1}),t},NI="modulepreload",jI=function(e,t){return e[0]==="."?new URL(e,t).href:e},_0={},UI=function(t,n,r){let s=Promise.resolve();if(n&&n.length>0){const i=document.getElementsByTagName("link"),l=document.querySelector("meta[property=csp-nonce]"),u=(l==null?void 0:l.nonce)||(l==null?void 0:l.getAttribute("nonce"));s=Promise.all(n.map(c=>{if(c=jI(c,r),c in _0)return;_0[c]=!0;const p=c.endsWith(".css"),d=p?'[rel="stylesheet"]':"";if(!!r)for(let v=i.length-1;v>=0;v--){const _=i[v];if(_.href===c&&(!p||_.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${c}"]${d}`))return;const h=document.createElement("link");if(h.rel=p?"stylesheet":NI,p||(h.as="script",h.crossOrigin=""),h.href=c,u&&h.setAttribute("nonce",u),document.head.appendChild(h),p)return new Promise((v,_)=>{h.addEventListener("load",v),h.addEventListener("error",()=>_(new Error(`Unable to preload CSS for ${c}`)))})}))}return s.then(()=>t()).catch(i=>{const l=new Event("vite:preloadError",{cancelable:!0});if(l.payload=i,window.dispatchEvent(l),!l.defaultPrevented)throw i})},yn=(...e)=>UI(...e).catch(t=>{const n=new Event("nuxt.preloadError");throw n.payload=t,window.dispatchEvent(n),t}),HI=-1,zI=-2,WI=-3,qI=-4,KI=-5,GI=-6;function JI(e,t){return ZI(JSON.parse(e),t)}function ZI(e,t){if(typeof e=="number")return s(e,!0);if(!Array.isArray(e)||e.length===0)throw new Error("Invalid input");const n=e,r=Array(n.length);function s(i,l=!1){if(i===HI)return;if(i===WI)return NaN;if(i===qI)return 1/0;if(i===KI)return-1/0;if(i===GI)return-0;if(l)throw new Error("Invalid input");if(i in r)return r[i];const u=n[i];if(!u||typeof u!="object")r[i]=u;else if(Array.isArray(u))if(typeof u[0]=="string"){const c=u[0],p=t==null?void 0:t[c];if(p)return r[i]=p(s(u[1]));switch(c){case"Date":r[i]=new Date(u[1]);break;case"Set":const d=new Set;r[i]=d;for(let v=1;v>>9)+65536).toString(16).substring(1,8).toLowerCase()}function w0(e){return e._h||fp(e._d?e._d:`${e.tag}:${e.textContent||e.innerHTML||""}:${Object.entries(e.props).map(([t,n])=>`${t}:${String(n)}`).join(",")}`)}function Fb(e,t){const{props:n,tag:r}=e;if(e3.includes(r))return r;if(r==="link"&&n.rel==="canonical")return"canonical";if(n.charset)return"charset";const s=["id"];r==="meta"&&s.push("name","property","http-equiv");for(const i of s)if(typeof n[i]<"u"){const l=String(n[i]);return t&&!t(l)?!1:`${r}:${i}:${l}`}return!1}function x0(e,t){return e==null?t||null:typeof e=="function"?e(t):e}function Db(e,t){const n=[],r=t.resolveKeyData||(i=>i.key),s=t.resolveValueData||(i=>i.value);for(const[i,l]of Object.entries(e))n.push(...(Array.isArray(l)?l:[l]).map(u=>{const c={key:i,value:u},p=s(c);return typeof p=="object"?Db(p,t):Array.isArray(p)?p:{[typeof t.key=="function"?t.key(c):t.key]:r(c),[typeof t.value=="function"?t.value(c):t.value]:p}}).flat());return n}function Vb(e,t){return Object.entries(e).map(([n,r])=>{if(typeof r=="object"&&(r=Vb(r,t)),t.resolve){const s=t.resolve({key:n,value:r});if(typeof s<"u")return s}return typeof r=="number"&&(r=r.toString()),typeof r=="string"&&t.wrapValue&&(r=r.replace(new RegExp(t.wrapValue,"g"),`\\${t.wrapValue}`),r=`${t.wrapValue}${r}${t.wrapValue}`),`${n}${t.keyValueSeparator||""}${r}`}).join(t.entrySeparator||"")}const mn=e=>({keyValue:e,metaKey:"property"}),uf=e=>({keyValue:e}),dp={appleItunesApp:{unpack:{entrySeparator:", ",resolve({key:e,value:t}){return`${Kr(e)}=${t}`}}},articleExpirationTime:mn("article:expiration_time"),articleModifiedTime:mn("article:modified_time"),articlePublishedTime:mn("article:published_time"),bookReleaseDate:mn("book:release_date"),charset:{metaKey:"charset"},contentSecurityPolicy:{unpack:{entrySeparator:"; ",resolve({key:e,value:t}){return`${Kr(e)} ${t}`}},metaKey:"http-equiv"},contentType:{metaKey:"http-equiv"},defaultStyle:{metaKey:"http-equiv"},fbAppId:mn("fb:app_id"),msapplicationConfig:uf("msapplication-Config"),msapplicationTileColor:uf("msapplication-TileColor"),msapplicationTileImage:uf("msapplication-TileImage"),ogAudioSecureUrl:mn("og:audio:secure_url"),ogAudioUrl:mn("og:audio"),ogImageSecureUrl:mn("og:image:secure_url"),ogImageUrl:mn("og:image"),ogSiteName:mn("og:site_name"),ogVideoSecureUrl:mn("og:video:secure_url"),ogVideoUrl:mn("og:video"),profileFirstName:mn("profile:first_name"),profileLastName:mn("profile:last_name"),profileUsername:mn("profile:username"),refresh:{metaKey:"http-equiv",unpack:{entrySeparator:";",resolve({key:e,value:t}){if(e==="seconds")return`${t}`}}},robots:{unpack:{entrySeparator:", ",resolve({key:e,value:t}){return typeof t=="boolean"?`${Kr(e)}`:`${Kr(e)}:${t}`}}},xUaCompatible:{metaKey:"http-equiv"}},Nb=["og","book","article","profile"];function jb(e){var n;const t=Kr(e).split(":")[0];return Nb.includes(t)?"property":((n=dp[e])==null?void 0:n.metaKey)||"name"}function n3(e){var t;return((t=dp[e])==null?void 0:t.keyValue)||Kr(e)}function Kr(e){const t=e.replace(/([A-Z])/g,"-$1").toLowerCase(),n=t.split("-")[0];return Nb.includes(n)||n==="twitter"?e.replace(/([A-Z])/g,":$1").toLowerCase():t}function sd(e){if(Array.isArray(e))return e.map(n=>sd(n));if(typeof e!="object"||Array.isArray(e))return e;const t={};for(const[n,r]of Object.entries(e))t[Kr(n)]=sd(r);return t}function r3(e,t){const n=dp[t];return t==="refresh"?`${e.seconds};url=${e.url}`:Vb(sd(e),{keyValueSeparator:"=",entrySeparator:", ",resolve({value:r,key:s}){if(r===null)return"";if(typeof r=="boolean")return`${s}`},...n==null?void 0:n.unpack})}const Ub=["og:image","og:video","og:audio","twitter:image"];function Hb(e){const t={};return Object.entries(e).forEach(([n,r])=>{String(r)!=="false"&&n&&(t[n]=r)}),t}function k0(e,t){const n=Hb(t),r=Kr(e),s=jb(r);if(Ub.includes(r)){const i={};return Object.entries(n).forEach(([l,u])=>{i[`${e}${l==="url"?"":`${l.charAt(0).toUpperCase()}${l.slice(1)}`}`]=u}),zb(i).sort((l,u)=>{var c,p;return(((c=l[s])==null?void 0:c.length)||0)-(((p=u[s])==null?void 0:p.length)||0)})}return[{[s]:r,...n}]}function zb(e){const t=[],n={};Object.entries(e).forEach(([s,i])=>{if(!Array.isArray(i)){if(typeof i=="object"&&i){if(Ub.includes(Kr(s))){t.push(...k0(s,i));return}n[s]=Hb(i)}else n[s]=i;return}i.forEach(l=>{t.push(...typeof l=="string"?zb({[s]:l}):k0(s,l))})});const r=Db(n,{key({key:s}){return jb(s)},value({key:s}){return s==="charset"?"charset":"content"},resolveKeyData({key:s}){return n3(s)},resolveValueData({value:s,key:i}){return s===null?"_null":typeof s=="object"?r3(s,i):typeof s=="number"?s.toString():s}});return[...t,...r].map(s=>(s.content==="_null"&&(s.content=null),s))}async function o3(e,t,n){const r={tag:e,props:await Wb(typeof t=="object"&&typeof t!="function"&&!(t instanceof Promise)?{...t}:{[["script","noscript","style"].includes(e)?"innerHTML":"textContent"]:t},["templateParams","titleTemplate"].includes(e))};return Bb.forEach(s=>{const i=typeof r.props[s]<"u"?r.props[s]:n[s];typeof i<"u"&&((!["innerHTML","textContent","children"].includes(s)||QI.includes(r.tag))&&(r[s==="children"?"innerHTML":s]=i),delete r.props[s])}),r.props.body&&(r.tagPosition="bodyClose",delete r.props.body),r.tag==="script"&&typeof r.innerHTML=="object"&&(r.innerHTML=JSON.stringify(r.innerHTML),r.props.type=r.props.type||"application/json"),Array.isArray(r.props.content)?r.props.content.map(s=>({...r,props:{...r.props,content:s}})):r}function s3(e,t){var r;const n=e==="class"?" ":";";return typeof t=="object"&&!Array.isArray(t)&&(t=Object.entries(t).filter(([,s])=>s).map(([s,i])=>e==="style"?`${s}:${i}`:s)),(r=Array.isArray(t)?t.join(n):t)==null?void 0:r.split(n).filter(s=>s.trim()).filter(Boolean).join(n)}async function Wb(e,t){for(const n of Object.keys(e)){if(["class","style"].includes(n)){e[n]=s3(n,e[n]);continue}if(e[n]instanceof Promise&&(e[n]=await e[n]),!t&&!Bb.includes(n)){const r=String(e[n]),s=n.startsWith("data-");r==="true"||r===""?e[n]=s?"true":!0:e[n]||(s&&r==="false"?e[n]="false":delete e[n])}}return e}const i3=10;async function a3(e){const t=[];return Object.entries(e.resolvedInput).filter(([n,r])=>typeof r<"u"&&XI.includes(n)).forEach(([n,r])=>{const s=YI(r);t.push(...s.map(i=>o3(n,i,e)).flat())}),(await Promise.all(t)).flat().filter(Boolean).map((n,r)=>(n._e=e._i,e.mode&&(n._m=e.mode),n._p=(e._i<c&&c[p]||void 0,t):u=t[l],typeof u<"u"?(u||"").replace(/"/g,'\\"'):!1}let s=e;try{s=decodeURI(e)}catch{}return(s.match(/%(\w+\.+\w+)|%(\w+)/g)||[]).sort().reverse().forEach(l=>{const u=r(l.slice(1));typeof u=="string"&&(e=e.replace(new RegExp(`\\${l}(\\W|$)`,"g"),(c,p)=>`${u}${p}`).trim())}),e.includes(go)&&(e.endsWith(go)&&(e=e.slice(0,-go.length).trim()),e.startsWith(go)&&(e=e.slice(go.length).trim()),e=e.replace(new RegExp(`\\${go}\\s*\\${go}`,"g"),go),e=Dl(e,{separator:n},n)),e}async function qb(e,t={}){var d;const n=t.document||e.resolvedOptions.document;if(!n||!e.dirty)return;const r={shouldRender:!0,tags:[]};if(await e.hooks.callHook("dom:beforeRender",r),!r.shouldRender)return;const s=(await e.resolveTags()).map(g=>({tag:g,id:Fl.includes(g.tag)?w0(g):g.tag,shouldRender:!0}));let i=e._dom;if(!i){i={elMap:{htmlAttrs:n.documentElement,bodyAttrs:n.body}};for(const g of["body","head"]){const h=(d=n[g])==null?void 0:d.children,v=[];for(const _ of[...h].filter(x=>Fl.includes(x.tagName.toLowerCase()))){const x={tag:_.tagName.toLowerCase(),props:await Wb(_.getAttributeNames().reduce((C,S)=>({...C,[S]:_.getAttribute(S)}),{})),innerHTML:_.innerHTML};let b=1,E=Fb(x);for(;E&&v.find(C=>C._d===E);)E=`${E}:${b++}`;x._d=E||void 0,v.push(x),i.elMap[_.getAttribute("data-hid")||w0(x)]=_}}}i.pendingSideEffects={...i.sideEffects||{}},i.sideEffects={};function l(g,h,v){const _=`${g}:${h}`;i.sideEffects[_]=v,delete i.pendingSideEffects[_]}function u({id:g,$el:h,tag:v}){const _=v.tag.endsWith("Attrs");i.elMap[g]=h,_||(["textContent","innerHTML"].forEach(x=>{v[x]&&v[x]!==h[x]&&(h[x]=v[x])}),l(g,"el",()=>{var x;(x=i.elMap[g])==null||x.remove(),delete i.elMap[g]}));for(const[x,b]of Object.entries(v._eventHandlers||{}))h.getAttribute(`data-${x}`)!==""&&((v.tag==="bodyAttrs"?n.defaultView:h).addEventListener(x.replace("on",""),b.bind(h)),h.setAttribute(`data-${x}`,""));Object.entries(v.props).forEach(([x,b])=>{const E=`attr:${x}`;if(x==="class")for(const C of(b||"").split(" ").filter(Boolean))_&&l(g,`${E}:${C}`,()=>h.classList.remove(C)),!h.classList.contains(C)&&h.classList.add(C);else if(x==="style")for(const C of(b||"").split(";").filter(Boolean)){const[S,...A]=C.split(":").map(B=>B.trim());l(g,`${E}:${C}:${S}`,()=>{h.style.removeProperty(S)}),h.style.setProperty(S,A.join(":"))}else h.getAttribute(x)!==b&&h.setAttribute(x,b===!0?"":String(b)),_&&l(g,E,()=>h.removeAttribute(x))})}const c=[],p={bodyClose:void 0,bodyOpen:void 0,head:void 0};for(const g of s){const{tag:h,shouldRender:v,id:_}=g;if(v){if(h.tag==="title"){n.title=h.textContent;continue}g.$el=g.$el||i.elMap[_],g.$el?u(g):Fl.includes(h.tag)&&c.push(g)}}for(const g of c){const h=g.tag.tagPosition||"head";g.$el=n.createElement(g.tag.tag),u(g),p[h]=p[h]||n.createDocumentFragment(),p[h].appendChild(g.$el)}for(const g of s)await e.hooks.callHook("dom:renderTag",g,n,l);p.head&&n.head.appendChild(p.head),p.bodyOpen&&n.body.insertBefore(p.bodyOpen,n.body.firstChild),p.bodyClose&&n.body.appendChild(p.bodyClose),Object.values(i.pendingSideEffects).forEach(g=>g()),e._dom=i,e.dirty=!1,await e.hooks.callHook("dom:rendered",{renders:s})}async function u3(e,t={}){const n=t.delayFn||(r=>setTimeout(r,10));return e._domUpdatePromise=e._domUpdatePromise||new Promise(r=>n(async()=>{await qb(e,t),delete e._domUpdatePromise,r()}))}function c3(e){return t=>{var r,s;const n=((s=(r=t.resolvedOptions.document)==null?void 0:r.head.querySelector('script[id="unhead:payload"]'))==null?void 0:s.innerHTML)||!1;return n&&t.push(JSON.parse(n)),{mode:"client",hooks:{"entries:updated":function(i){u3(i,e)}}}}}const f3=["templateParams","htmlAttrs","bodyAttrs"],d3={hooks:{"tag:normalise":function({tag:e}){["hid","vmid","key"].forEach(r=>{e.props[r]&&(e.key=e.props[r],delete e.props[r])});const n=Fb(e)||(e.key?`${e.tag}:${e.key}`:!1);n&&(e._d=n)},"tags:resolve":function(e){const t={};e.tags.forEach(r=>{const s=(r.key?`${r.tag}:${r.key}`:r._d)||r._p,i=t[s];if(i){let u=r==null?void 0:r.tagDuplicateStrategy;if(!u&&f3.includes(r.tag)&&(u="merge"),u==="merge"){const c=i.props;["class","style"].forEach(p=>{c[p]&&(r.props[p]?(p==="style"&&!c[p].endsWith(";")&&(c[p]+=";"),r.props[p]=`${c[p]} ${r.props[p]}`):r.props[p]=c[p])}),t[s].props={...c,...r.props};return}else if(r._e===i._e){i._duped=i._duped||[],r._d=`${i._d}:${i._duped.length+1}`,i._duped.push(r);return}else if(iu(r)>iu(i))return}const l=Object.keys(r.props).length+(r.innerHTML?1:0)+(r.textContent?1:0);if(Fl.includes(r.tag)&&l===0){delete t[s];return}t[s]=r});const n=[];Object.values(t).forEach(r=>{const s=r._duped;delete r._duped,n.push(r),s&&n.push(...s)}),e.tags=n,e.tags=e.tags.filter(r=>!(r.tag==="meta"&&(r.props.name||r.props.property)&&!r.props.content))}}},p3={mode:"server",hooks:{"tags:resolve":function(e){const t={};e.tags.filter(n=>["titleTemplate","templateParams","title"].includes(n.tag)&&n._m==="server").forEach(n=>{t[n.tag]=n.tag.startsWith("title")?n.textContent:n.props}),Object.keys(t).length&&e.tags.push({tag:"script",innerHTML:JSON.stringify(t),props:{id:"unhead:payload",type:"application/json"}})}}},h3=["script","link","bodyAttrs"],g3=e=>({hooks:{"tags:resolve":function(t){for(const n of t.tags.filter(r=>h3.includes(r.tag)))Object.entries(n.props).forEach(([r,s])=>{r.startsWith("on")&&typeof s=="function"&&(e.ssr&&E0.includes(r)?n.props[r]=`this.dataset.${r}fired = true`:delete n.props[r],n._eventHandlers=n._eventHandlers||{},n._eventHandlers[r]=s)}),e.ssr&&n._eventHandlers&&(n.props.src||n.props.href)&&(n.key=n.key||fp(n.props.src||n.props.href))},"dom:renderTag":function({$el:t,tag:n}){var r,s;for(const i of Object.keys((t==null?void 0:t.dataset)||{}).filter(l=>E0.some(u=>`${u}fired`===l))){const l=i.replace("fired","");(s=(r=n._eventHandlers)==null?void 0:r[l])==null||s.call(t,new Event(l.replace("on","")))}}}}),m3=["link","style","script","noscript"],v3={hooks:{"tag:normalise":({tag:e})=>{e.key&&m3.includes(e.tag)&&(e.props["data-hid"]=e._h=fp(e.key))}}},y3={hooks:{"tags:resolve":e=>{const t=n=>{var r;return(r=e.tags.find(s=>s._d===n))==null?void 0:r._p};for(const{prefix:n,offset:r}of l3)for(const s of e.tags.filter(i=>typeof i.tagPriority=="string"&&i.tagPriority.startsWith(n))){const i=t(s.tagPriority.replace(n,""));typeof i<"u"&&(s._p=i+r)}e.tags.sort((n,r)=>n._p-r._p).sort((n,r)=>iu(n)-iu(r))}}},b3={meta:"content",link:"href",htmlAttrs:"lang"},_3=e=>({hooks:{"tags:resolve":t=>{var u;const{tags:n}=t,r=(u=n.find(c=>c.tag==="title"))==null?void 0:u.textContent,s=n.findIndex(c=>c.tag==="templateParams"),i=s!==-1?n[s].props:{},l=i.separator||"|";delete i.separator,i.pageTitle=Dl(i.pageTitle||r||"",i,l);for(const c of n.filter(p=>p.processTemplateParams!==!1)){const p=b3[c.tag];p&&typeof c.props[p]=="string"?c.props[p]=Dl(c.props[p],i,l):(c.processTemplateParams===!0||["titleTemplate","title"].includes(c.tag))&&["innerHTML","textContent"].forEach(d=>{typeof c[d]=="string"&&(c[d]=Dl(c[d],i,l))})}e._templateParams=i,e._separator=l,t.tags=n.filter(c=>c.tag!=="templateParams")}}}),w3={hooks:{"tags:resolve":e=>{const{tags:t}=e;let n=t.findIndex(s=>s.tag==="titleTemplate");const r=t.findIndex(s=>s.tag==="title");if(r!==-1&&n!==-1){const s=x0(t[n].textContent,t[r].textContent);s!==null?t[r].textContent=s||t[r].textContent:delete t[r]}else if(n!==-1){const s=x0(t[n].textContent);s!==null&&(t[n].textContent=s,t[n].tag="title",n=-1)}n!==-1&&delete t[n],e.tags=t.filter(Boolean)}}},x3={hooks:{"tags:afterResolve":function(e){for(const t of e.tags)typeof t.innerHTML=="string"&&(t.innerHTML&&["application/ld+json","application/json"].includes(t.props.type)?t.innerHTML=t.innerHTML.replace(/{u.dirty=!0,t.callHook("entries:updated",u)};let s=0,i=[];const l=[],u={plugins:l,dirty:!1,resolvedOptions:e,hooks:t,headEntries(){return i},use(c){const p=typeof c=="function"?c(u):c;(!p.key||!l.some(d=>d.key===p.key))&&(l.push(p),T0(p.mode,n)&&t.addHooks(p.hooks||{}))},push(c,p){p==null||delete p.head;const d={_i:s++,input:c,...p};return T0(d.mode,n)&&(i.push(d),r()),{dispose(){i=i.filter(g=>g._i!==d._i),t.callHook("entries:updated",u),r()},patch(g){i=i.map(h=>(h._i===d._i&&(h.input=d.input=g),h)),r()}}},async resolveTags(){const c={tags:[],entries:[...i]};await t.callHook("entries:resolve",c);for(const p of c.entries){const d=p.resolvedInput||p.input;if(p.resolvedInput=await(p.transform?p.transform(d):d),p.resolvedInput)for(const g of await a3(p)){const h={tag:g,entry:p,resolvedOptions:u.resolvedOptions};await t.callHook("tag:normalise",h),c.tags.push(h.tag)}}return await t.callHook("tags:beforeResolve",c),await t.callHook("tags:resolve",c),await t.callHook("tags:afterResolve",c),c.tags},ssr:n};return[d3,p3,g3,v3,y3,_3,w3,x3,...(e==null?void 0:e.plugins)||[]].forEach(c=>u.use(c)),u.hooks.callHook("init",u),u}function C3(){return Kb}const E3=cb.startsWith("3");function T3(e){return typeof e=="function"?e():R(e)}function au(e,t=""){if(e instanceof Promise)return e;const n=T3(e);return!e||!n?n:Array.isArray(n)?n.map(r=>au(r,t)):typeof n=="object"?Object.fromEntries(Object.entries(n).map(([r,s])=>r==="titleTemplate"||r.startsWith("on")?[r,R(s)]:[r,au(s,r)])):n}const $3={hooks:{"entries:resolve":function(e){for(const t of e.entries)t.resolvedInput=au(t.input)}}},Gb="usehead";function A3(e){return{install(n){E3&&(n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(Gb,e))}}.install}function I3(e={}){e.domDelayFn=e.domDelayFn||(n=>an(()=>setTimeout(()=>n(),0)));const t=k3(e);return t.use($3),t.install=A3(t),t}const id=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},ad="__unhead_injection_handler__";function R3(e){id[ad]=e}function O3(){if(ad in id)return id[ad]();const e=Ke(Gb);return e||C3()}function P3(e,t={}){const n=t.head||O3();if(n)return n.ssr?n.push(e,t):L3(n,e,t)}function L3(e,t,n={}){const r=te(!1),s=te({});Xt(()=>{s.value=r.value?{}:au(t)});const i=e.push(s.value,n);return gt(s,u=>{i.patch(u)}),ir()&&(pa(()=>{i.dispose()}),Dy(()=>{r.value=!0}),Fy(()=>{r.value=!1})),i}function Sr(e){if(typeof e!="object")return e;var t,n,r=Object.prototype.toString.call(e);if(r==="[object Object]"){if(e.constructor!==Object&&typeof e.constructor=="function"){n=new e.constructor;for(t in e)e.hasOwnProperty(t)&&n[t]!==e[t]&&(n[t]=Sr(e[t]))}else{n={};for(t in e)t==="__proto__"?Object.defineProperty(n,t,{value:Sr(e[t]),configurable:!0,enumerable:!0,writable:!0}):n[t]=Sr(e[t])}return n}if(r==="[object Array]"){for(t=e.length,n=Array(t);t--;)n[t]=Sr(e[t]);return n}return r==="[object Set]"?(n=new Set,e.forEach(function(s){n.add(Sr(s))}),n):r==="[object Map]"?(n=new Map,e.forEach(function(s,i){n.set(Sr(i),Sr(s))}),n):r==="[object Date]"?new Date(+e):r==="[object RegExp]"?(n=new RegExp(e.source,e.flags),n.lastIndex=e.lastIndex,n):r==="[object DataView]"?new e.constructor(Sr(e.buffer)):r==="[object ArrayBuffer]"?e.slice(0):r.slice(-6)==="Array]"?new e.constructor(e):e}const M3={ui:{primary:"indigo",gray:"stone"}},B3={nuxt:{buildId:"0adfb589-7e83-4659-bd8b-14b5c610e508"},ui:{primary:"green",gray:"cool",colors:["red","orange","amber","yellow","lime","green","emerald","teal","cyan","sky","blue","indigo","violet","purple","fuchsia","pink","rose","primary","backdrop","body"],strategy:"merge"}},Ge=RI(M3,B3);function si(){const e=it();return e._appConfig||(e._appConfig=_n(Ge)),e._appConfig}const F3=!1,ld=!1,D3=!1,V3={componentName:"NuxtLink"},N3={deep:!0},j3={},U3="#__nuxt";let Vl,Jb;function H3(){var t;const e=(t=si().nuxt)==null?void 0:t.buildId;return Vl=$fetch(up(`builds/meta/${e}.json`)),Vl.then(n=>{Jb=II(n.matcher)}),Vl}function Eu(){return Vl||H3()}async function pp(e){return await Eu(),va({},...Jb.matchAll(e).reverse())}function $0(e,t={}){const n=W3(e,t),r=it(),s=r._payloadCache=r._payloadCache||{};return n in s||(s[n]=q3(e).then(i=>i?Zb(n).then(l=>l||(delete s[n],null)):(s[n]=null,null))),s[n]}const z3="_payload.json";function W3(e,t={}){var s;const n=new URL(e,"http://localhost");if(n.host!=="localhost"||Xr(n.pathname,{acceptRelative:!0}))throw new Error("Payload URL must not include hostname: "+e);const r=t.hash||(t.fresh?Date.now():(s=si().nuxt)==null?void 0:s.buildId);return ku(Yr().app.baseURL,n.pathname,z3+(r?`?${r}`:""))}async function Zb(e){const t=fetch(e).then(n=>n.text().then(Yb));try{return await t}catch(n){console.warn("[nuxt] Cannot load payload ",e,n)}return null}async function q3(e=Su().path){if(e=xu(e),(await Eu()).prerendered.includes(e))return!0;const n=await pp(e);return!!n.prerender&&!n.redirect}let El=null;async function K3(){if(El)return El;const e=document.getElementById("__NUXT_DATA__");if(!e)return{};const t=await Yb(e.textContent||""),n=e.dataset.src?await Zb(e.dataset.src):void 0;return El={...t,...n,...window.__NUXT__},El}async function Yb(e){return await JI(e,it()._payloadRevivers)}function G3(e,t){it()._payloadRevivers[e]=t}const A0={NuxtError:e=>ya(e),EmptyShallowRef:e=>Ir(e==="_"?void 0:e==="0n"?BigInt(0):ta(e)),EmptyRef:e=>te(e==="_"?void 0:e==="0n"?BigInt(0):ta(e)),ShallowRef:e=>Ir(e),ShallowReactive:e=>ca(e),Ref:e=>te(e),Reactive:e=>_n(e)},J3=On({name:"nuxt:revive-payload:client",order:-30,async setup(e){let t,n;for(const r in A0)G3(r,A0[r]);Object.assign(e.payload,([t,n]=na(()=>e.runWithContext(K3)),t=await t,n(),t)),window.__NUXT__=e.payload}}),Z3=[],Y3=On({name:"nuxt:head",enforce:"pre",setup(e){const t=I3({plugins:Z3});R3(()=>it().vueApp._context.provides.usehead),e.vueApp.use(t);{let n=!0;const r=async()=>{n=!1,await qb(t)};t.hooks.hook("dom:beforeRender",s=>{s.shouldRender=!n}),e.hooks.hook("page:start",()=>{n=!0}),e.hooks.hook("page:finish",()=>{e.isHydrating||r()}),e.hooks.hook("app:error",r),e.hooks.hook("app:suspense:resolve",r)}}});/*! +`)},domwindow(){return r("domwindow")},bigint(s){return r("bigint:"+s.toString())},process(){return r("process")},timer(){return r("timer")},pipe(){return r("pipe")},tcp(){return r("tcp")},udp(){return r("udp")},tty(){return r("tty")},statwatcher(){return r("statwatcher")},securecontext(){return r("securecontext")},connection(){return r("connection")},zlib(){return r("zlib")},context(){return r("context")},nodescript(){return r("nodescript")},httpparser(){return r("httpparser")},dataview(){return r("dataview")},signal(){return r("signal")},fsevent(){return r("fsevent")},tlswrap(){return r("tlswrap")}}}const kb="[native code] }",fI=kb.length;function d0(e){return typeof e!="function"?!1:Function.prototype.toString.call(e).slice(-fI)===kb}class $o{constructor(t,n){t=this.words=t||[],this.sigBytes=n===void 0?t.length*4:n}toString(t){return(t||dI).stringify(this)}concat(t){if(this.clamp(),this.sigBytes%4)for(let n=0;n>>2]>>>24-n%4*8&255;this.words[this.sigBytes+n>>>2]|=r<<24-(this.sigBytes+n)%4*8}else for(let n=0;n>>2]=t.words[n>>>2];return this.sigBytes+=t.sigBytes,this}clamp(){this.words[this.sigBytes>>>2]&=4294967295<<32-this.sigBytes%4*8,this.words.length=Math.ceil(this.sigBytes/4)}clone(){return new $o([...this.words])}}const dI={stringify(e){const t=[];for(let n=0;n>>2]>>>24-n%4*8&255;t.push((r>>>4).toString(16),(r&15).toString(16))}return t.join("")}},pI={stringify(e){const t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",n=[];for(let r=0;r>>2]>>>24-r%4*8&255,i=e.words[r+1>>>2]>>>24-(r+1)%4*8&255,l=e.words[r+2>>>2]>>>24-(r+2)%4*8&255,u=s<<16|i<<8|l;for(let c=0;c<4&&r*8+c*6>>6*(3-c)&63))}return n.join("")}},hI={parse(e){const t=e.length,n=[];for(let r=0;r>>2]|=(e.charCodeAt(r)&255)<<24-r%4*8;return new $o(n,t)}},gI={parse(e){return hI.parse(unescape(encodeURIComponent(e)))}};class mI{constructor(){this._data=new $o,this._nDataBytes=0,this._minBufferSize=0,this.blockSize=512/32}reset(){this._data=new $o,this._nDataBytes=0}_append(t){typeof t=="string"&&(t=gI.parse(t)),this._data.concat(t),this._nDataBytes+=t.sigBytes}_doProcessBlock(t,n){}_process(t){let n,r=this._data.sigBytes/(this.blockSize*4);t?r=Math.ceil(r):r=Math.max((r|0)-this._minBufferSize,0);const s=r*this.blockSize,i=Math.min(s*4,this._data.sigBytes);if(s){for(let l=0;l>>7)^(S<<14|S>>>18)^S>>>3,B=Jo[h-2],L=(B<<15|B>>>17)^(B<<13|B>>>19)^B>>>10;Jo[h]=A+Jo[h-7]+L+Jo[h-16]}const v=c&p^~c&d,_=s&i^s&l^i&l,x=(s<<30|s>>>2)^(s<<19|s>>>13)^(s<<10|s>>>22),b=(c<<26|c>>>6)^(c<<21|c>>>11)^(c<<7|c>>>25),E=g+b+v+yI[h]+Jo[h],C=x+_;g=d,d=p,p=c,c=u+E|0,u=l,l=i,i=s,s=E+C|0}r[0]=r[0]+s|0,r[1]=r[1]+i|0,r[2]=r[2]+l|0,r[3]=r[3]+u|0,r[4]=r[4]+c|0,r[5]=r[5]+p|0,r[6]=r[6]+d|0,r[7]=r[7]+g|0}finalize(t){super.finalize(t);const n=this._nDataBytes*8,r=this._data.sigBytes*8;return this._data.words[r>>>5]|=128<<24-r%32,this._data.words[(r+64>>>9<<4)+14]=Math.floor(n/4294967296),this._data.words[(r+64>>>9<<4)+15]=n,this._data.sigBytes=this._data.words.length*4,this._process(),this._hash}}function _I(e){return new bI().finalize(e).toString(pI)}function wI(e,t={}){const n=typeof e=="string"?e:Yf(e,t);return _I(n).slice(0,10)}function Sb(e,t,n={}){return e===t||Yf(e,n)===Yf(t,n)}function of(e){if(e===null||typeof e!="object")return!1;const t=Object.getPrototypeOf(e);return t!==null&&t!==Object.prototype&&Object.getPrototypeOf(t)!==null||Symbol.iterator in e?!1:Symbol.toStringTag in e?Object.prototype.toString.call(e)==="[object Module]":!0}function Qf(e,t,n=".",r){if(!of(t))return Qf(e,{},n,r);const s=Object.assign({},t);for(const i in e){if(i==="__proto__"||i==="constructor")continue;const l=e[i];l!=null&&(r&&r(s,i,l,n)||(Array.isArray(l)&&Array.isArray(s[i])?s[i]=[...l,...s[i]]:of(l)&&of(s[i])?s[i]=Qf(l,s[i],(n?`${n}.`:"")+i.toString(),r):s[i]=l))}return s}function ap(e){return(...t)=>t.reduce((n,r)=>Qf(n,r,"",e),{})}const wu=ap(),xI=ap((e,t,n)=>{if(e[t]!==void 0&&typeof n=="function")return e[t]=n(e[t]),!0});function kI(e,t){try{return t in e}catch{return!1}}var SI=Object.defineProperty,CI=(e,t,n)=>t in e?SI(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Xo=(e,t,n)=>(CI(e,typeof t!="symbol"?t+"":t,n),n);class Xf extends Error{constructor(t,n={}){super(t,n),Xo(this,"statusCode",500),Xo(this,"fatal",!1),Xo(this,"unhandled",!1),Xo(this,"statusMessage"),Xo(this,"data"),Xo(this,"cause"),n.cause&&!this.cause&&(this.cause=n.cause)}toJSON(){const t={message:this.message,statusCode:td(this.statusCode,500)};return this.statusMessage&&(t.statusMessage=Cb(this.statusMessage)),this.data!==void 0&&(t.data=this.data),t}}Xo(Xf,"__h3_error__",!0);function ed(e){if(typeof e=="string")return new Xf(e);if(EI(e))return e;const t=new Xf(e.message??e.statusMessage??"",{cause:e.cause||e});if(kI(e,"stack"))try{Object.defineProperty(t,"stack",{get(){return e.stack}})}catch{try{t.stack=e.stack}catch{}}if(e.data&&(t.data=e.data),e.statusCode?t.statusCode=td(e.statusCode,t.statusCode):e.status&&(t.statusCode=td(e.status,t.statusCode)),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),t.statusMessage){const n=t.statusMessage;Cb(t.statusMessage)!==n&&console.warn("[h3] Please prefer using `message` for longer error messages instead of `statusMessage`. In the future, `statusMessage` will be sanitized by default.")}return e.fatal!==void 0&&(t.fatal=e.fatal),e.unhandled!==void 0&&(t.unhandled=e.unhandled),t}function EI(e){var t;return((t=e==null?void 0:e.constructor)==null?void 0:t.__h3_error__)===!0}const TI=/[^\u0009\u0020-\u007E]/g;function Cb(e=""){return e.replace(TI,"")}function td(e,t=200){return!e||(typeof e=="string"&&(e=Number.parseInt(e,10)),e<100||e>999)?t:e}const Eb=Symbol("layout-meta"),$n=Symbol("route"),Wn=()=>{var e;return(e=nt())==null?void 0:e.$router},xu=()=>ep()?Ke($n,nt()._route):nt()._route;const $I=()=>{try{if(nt()._processingMiddleware)return!0}catch{return!1}return!1},Ao=(e,t)=>{e||(e="/");const n=typeof e=="string"?e:pb(e.path||"/",e.query||{})+(e.hash||"");if(t!=null&&t.open){const{target:u="_blank",windowFeatures:c={}}=t.open,p=Object.entries(c).filter(([d,g])=>g!==void 0).map(([d,g])=>`${d.toLowerCase()}=${g}`).join(", ");return open(n,u,p),Promise.resolve()}const r=(t==null?void 0:t.external)||Bo(n,{acceptRelative:!0});if(r){if(!(t!=null&&t.external))throw new Error("Navigating to an external URL is not allowed by default. Use `navigateTo(url, { external: true })`.");const u=ha(n).protocol;if(u&&bA(u))throw new Error(`Cannot navigate to a URL with '${u}' protocol.`)}const s=$I();if(!r&&s)return e;const i=Wn(),l=nt();return r?(l._scope.stop(),t!=null&&t.replace?location.replace(n):location.href=n,s?l.isHydrating?new Promise(()=>{}):!1:Promise.resolve()):t!=null&&t.replace?i.replace(e):i.push(e)},Tb="__nuxt_error",ku=()=>Ot(nt().payload,"error"),Fs=e=>{const t=ga(e);try{const n=nt(),r=ku();n.hooks.callHook("app:error",t),r.value=r.value||t}catch{throw t}return t},AI=async(e={})=>{const t=nt(),n=ku();t.callHook("app:error:cleared",e),e.redirect&&await Wn().replace(e.redirect),n.value=null},II=e=>!!e&&typeof e=="object"&&Tb in e,ga=e=>{const t=ed(e);return Object.defineProperty(t,Tb,{value:!0,configurable:!1,writable:!1}),t},RI="modulepreload",OI=function(e,t){return e[0]==="."?new URL(e,t).href:e},h0={},PI=function(t,n,r){let s=Promise.resolve();if(n&&n.length>0){const i=document.getElementsByTagName("link"),l=document.querySelector("meta[property=csp-nonce]"),u=(l==null?void 0:l.nonce)||(l==null?void 0:l.getAttribute("nonce"));s=Promise.all(n.map(c=>{if(c=OI(c,r),c in h0)return;h0[c]=!0;const p=c.endsWith(".css"),d=p?'[rel="stylesheet"]':"";if(!!r)for(let v=i.length-1;v>=0;v--){const _=i[v];if(_.href===c&&(!p||_.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${c}"]${d}`))return;const h=document.createElement("link");if(h.rel=p?"stylesheet":RI,p||(h.as="script",h.crossOrigin=""),h.href=c,u&&h.setAttribute("nonce",u),document.head.appendChild(h),p)return new Promise((v,_)=>{h.addEventListener("load",v),h.addEventListener("error",()=>_(new Error(`Unable to preload CSS for ${c}`)))})}))}return s.then(()=>t()).catch(i=>{const l=new Event("vite:preloadError",{cancelable:!0});if(l.payload=i,window.dispatchEvent(l),!l.defaultPrevented)throw i})},yn=(...e)=>PI(...e).catch(t=>{const n=new Event("nuxt.preloadError");throw n.payload=t,window.dispatchEvent(n),t}),LI=-1,MI=-2,BI=-3,FI=-4,DI=-5,VI=-6;function NI(e,t){return jI(JSON.parse(e),t)}function jI(e,t){if(typeof e=="number")return s(e,!0);if(!Array.isArray(e)||e.length===0)throw new Error("Invalid input");const n=e,r=Array(n.length);function s(i,l=!1){if(i===LI)return;if(i===BI)return NaN;if(i===FI)return 1/0;if(i===DI)return-1/0;if(i===VI)return-0;if(l)throw new Error("Invalid input");if(i in r)return r[i];const u=n[i];if(!u||typeof u!="object")r[i]=u;else if(Array.isArray(u))if(typeof u[0]=="string"){const c=u[0],p=t==null?void 0:t[c];if(p)return r[i]=p(s(u[1]));switch(c){case"Date":r[i]=new Date(u[1]);break;case"Set":const d=new Set;r[i]=d;for(let v=1;v>>9)+65536).toString(16).substring(1,8).toLowerCase()}function g0(e){return e._h||lp(e._d?e._d:`${e.tag}:${e.textContent||e.innerHTML||""}:${Object.entries(e.props).map(([t,n])=>`${t}:${String(n)}`).join(",")}`)}function Ab(e,t){const{props:n,tag:r}=e;if(WI.includes(r))return r;if(r==="link"&&n.rel==="canonical")return"canonical";if(n.charset)return"charset";const s=["id"];r==="meta"&&s.push("name","property","http-equiv");for(const i of s)if(typeof n[i]<"u"){const l=String(n[i]);return t&&!t(l)?!1:`${r}:${i}:${l}`}return!1}function m0(e,t){return e==null?t||null:typeof e=="function"?e(t):e}function Ib(e,t){const n=[],r=t.resolveKeyData||(i=>i.key),s=t.resolveValueData||(i=>i.value);for(const[i,l]of Object.entries(e))n.push(...(Array.isArray(l)?l:[l]).map(u=>{const c={key:i,value:u},p=s(c);return typeof p=="object"?Ib(p,t):Array.isArray(p)?p:{[typeof t.key=="function"?t.key(c):t.key]:r(c),[typeof t.value=="function"?t.value(c):t.value]:p}}).flat());return n}function Rb(e,t){return Object.entries(e).map(([n,r])=>{if(typeof r=="object"&&(r=Rb(r,t)),t.resolve){const s=t.resolve({key:n,value:r});if(typeof s<"u")return s}return typeof r=="number"&&(r=r.toString()),typeof r=="string"&&t.wrapValue&&(r=r.replace(new RegExp(t.wrapValue,"g"),`\\${t.wrapValue}`),r=`${t.wrapValue}${r}${t.wrapValue}`),`${n}${t.keyValueSeparator||""}${r}`}).join(t.entrySeparator||"")}const mn=e=>({keyValue:e,metaKey:"property"}),sf=e=>({keyValue:e}),up={appleItunesApp:{unpack:{entrySeparator:", ",resolve({key:e,value:t}){return`${Kr(e)}=${t}`}}},articleExpirationTime:mn("article:expiration_time"),articleModifiedTime:mn("article:modified_time"),articlePublishedTime:mn("article:published_time"),bookReleaseDate:mn("book:release_date"),charset:{metaKey:"charset"},contentSecurityPolicy:{unpack:{entrySeparator:"; ",resolve({key:e,value:t}){return`${Kr(e)} ${t}`}},metaKey:"http-equiv"},contentType:{metaKey:"http-equiv"},defaultStyle:{metaKey:"http-equiv"},fbAppId:mn("fb:app_id"),msapplicationConfig:sf("msapplication-Config"),msapplicationTileColor:sf("msapplication-TileColor"),msapplicationTileImage:sf("msapplication-TileImage"),ogAudioSecureUrl:mn("og:audio:secure_url"),ogAudioUrl:mn("og:audio"),ogImageSecureUrl:mn("og:image:secure_url"),ogImageUrl:mn("og:image"),ogSiteName:mn("og:site_name"),ogVideoSecureUrl:mn("og:video:secure_url"),ogVideoUrl:mn("og:video"),profileFirstName:mn("profile:first_name"),profileLastName:mn("profile:last_name"),profileUsername:mn("profile:username"),refresh:{metaKey:"http-equiv",unpack:{entrySeparator:";",resolve({key:e,value:t}){if(e==="seconds")return`${t}`}}},robots:{unpack:{entrySeparator:", ",resolve({key:e,value:t}){return typeof t=="boolean"?`${Kr(e)}`:`${Kr(e)}:${t}`}}},xUaCompatible:{metaKey:"http-equiv"}},Ob=["og","book","article","profile"];function Pb(e){var n;const t=Kr(e).split(":")[0];return Ob.includes(t)?"property":((n=up[e])==null?void 0:n.metaKey)||"name"}function KI(e){var t;return((t=up[e])==null?void 0:t.keyValue)||Kr(e)}function Kr(e){const t=e.replace(/([A-Z])/g,"-$1").toLowerCase(),n=t.split("-")[0];return Ob.includes(n)||n==="twitter"?e.replace(/([A-Z])/g,":$1").toLowerCase():t}function nd(e){if(Array.isArray(e))return e.map(n=>nd(n));if(typeof e!="object"||Array.isArray(e))return e;const t={};for(const[n,r]of Object.entries(e))t[Kr(n)]=nd(r);return t}function GI(e,t){const n=up[t];return t==="refresh"?`${e.seconds};url=${e.url}`:Rb(nd(e),{keyValueSeparator:"=",entrySeparator:", ",resolve({value:r,key:s}){if(r===null)return"";if(typeof r=="boolean")return`${s}`},...n==null?void 0:n.unpack})}const Lb=["og:image","og:video","og:audio","twitter:image"];function Mb(e){const t={};return Object.entries(e).forEach(([n,r])=>{String(r)!=="false"&&n&&(t[n]=r)}),t}function v0(e,t){const n=Mb(t),r=Kr(e),s=Pb(r);if(Lb.includes(r)){const i={};return Object.entries(n).forEach(([l,u])=>{i[`${e}${l==="url"?"":`${l.charAt(0).toUpperCase()}${l.slice(1)}`}`]=u}),Bb(i).sort((l,u)=>{var c,p;return(((c=l[s])==null?void 0:c.length)||0)-(((p=u[s])==null?void 0:p.length)||0)})}return[{[s]:r,...n}]}function Bb(e){const t=[],n={};Object.entries(e).forEach(([s,i])=>{if(!Array.isArray(i)){if(typeof i=="object"&&i){if(Lb.includes(Kr(s))){t.push(...v0(s,i));return}n[s]=Mb(i)}else n[s]=i;return}i.forEach(l=>{t.push(...typeof l=="string"?Bb({[s]:l}):v0(s,l))})});const r=Ib(n,{key({key:s}){return Pb(s)},value({key:s}){return s==="charset"?"charset":"content"},resolveKeyData({key:s}){return KI(s)},resolveValueData({value:s,key:i}){return s===null?"_null":typeof s=="object"?GI(s,i):typeof s=="number"?s.toString():s}});return[...t,...r].map(s=>(s.content==="_null"&&(s.content=null),s))}async function JI(e,t,n){const r={tag:e,props:await Fb(typeof t=="object"&&typeof t!="function"&&!(t instanceof Promise)?{...t}:{[["script","noscript","style"].includes(e)?"innerHTML":"textContent"]:t},["templateParams","titleTemplate"].includes(e))};return $b.forEach(s=>{const i=typeof r.props[s]<"u"?r.props[s]:n[s];typeof i<"u"&&((!["innerHTML","textContent","children"].includes(s)||HI.includes(r.tag))&&(r[s==="children"?"innerHTML":s]=i),delete r.props[s])}),r.props.body&&(r.tagPosition="bodyClose",delete r.props.body),r.tag==="script"&&typeof r.innerHTML=="object"&&(r.innerHTML=JSON.stringify(r.innerHTML),r.props.type=r.props.type||"application/json"),Array.isArray(r.props.content)?r.props.content.map(s=>({...r,props:{...r.props,content:s}})):r}function ZI(e,t){var r;const n=e==="class"?" ":";";return typeof t=="object"&&!Array.isArray(t)&&(t=Object.entries(t).filter(([,s])=>s).map(([s,i])=>e==="style"?`${s}:${i}`:s)),(r=Array.isArray(t)?t.join(n):t)==null?void 0:r.split(n).filter(s=>s.trim()).filter(Boolean).join(n)}async function Fb(e,t){for(const n of Object.keys(e)){if(["class","style"].includes(n)){e[n]=ZI(n,e[n]);continue}if(e[n]instanceof Promise&&(e[n]=await e[n]),!t&&!$b.includes(n)){const r=String(e[n]),s=n.startsWith("data-");r==="true"||r===""?e[n]=s?"true":!0:e[n]||(s&&r==="false"?e[n]="false":delete e[n])}}return e}const YI=10;async function QI(e){const t=[];return Object.entries(e.resolvedInput).filter(([n,r])=>typeof r<"u"&&zI.includes(n)).forEach(([n,r])=>{const s=UI(r);t.push(...s.map(i=>JI(n,i,e)).flat())}),(await Promise.all(t)).flat().filter(Boolean).map((n,r)=>(n._e=e._i,e.mode&&(n._m=e.mode),n._p=(e._i<c&&c[p]||void 0,t):u=t[l],typeof u<"u"?(u||"").replace(/"/g,'\\"'):!1}let s=e;try{s=decodeURI(e)}catch{}return(s.match(/%(\w+\.+\w+)|%(\w+)/g)||[]).sort().reverse().forEach(l=>{const u=r(l.slice(1));typeof u=="string"&&(e=e.replace(new RegExp(`\\${l}(\\W|$)`,"g"),(c,p)=>`${u}${p}`).trim())}),e.includes(ho)&&(e.endsWith(ho)&&(e=e.slice(0,-ho.length).trim()),e.startsWith(ho)&&(e=e.slice(ho.length).trim()),e=e.replace(new RegExp(`\\${ho}\\s*\\${ho}`,"g"),ho),e=Bl(e,{separator:n},n)),e}async function Db(e,t={}){var d;const n=t.document||e.resolvedOptions.document;if(!n||!e.dirty)return;const r={shouldRender:!0,tags:[]};if(await e.hooks.callHook("dom:beforeRender",r),!r.shouldRender)return;const s=(await e.resolveTags()).map(g=>({tag:g,id:Ml.includes(g.tag)?g0(g):g.tag,shouldRender:!0}));let i=e._dom;if(!i){i={elMap:{htmlAttrs:n.documentElement,bodyAttrs:n.body}};for(const g of["body","head"]){const h=(d=n[g])==null?void 0:d.children,v=[];for(const _ of[...h].filter(x=>Ml.includes(x.tagName.toLowerCase()))){const x={tag:_.tagName.toLowerCase(),props:await Fb(_.getAttributeNames().reduce((C,S)=>({...C,[S]:_.getAttribute(S)}),{})),innerHTML:_.innerHTML};let b=1,E=Ab(x);for(;E&&v.find(C=>C._d===E);)E=`${E}:${b++}`;x._d=E||void 0,v.push(x),i.elMap[_.getAttribute("data-hid")||g0(x)]=_}}}i.pendingSideEffects={...i.sideEffects||{}},i.sideEffects={};function l(g,h,v){const _=`${g}:${h}`;i.sideEffects[_]=v,delete i.pendingSideEffects[_]}function u({id:g,$el:h,tag:v}){const _=v.tag.endsWith("Attrs");i.elMap[g]=h,_||(["textContent","innerHTML"].forEach(x=>{v[x]&&v[x]!==h[x]&&(h[x]=v[x])}),l(g,"el",()=>{var x;(x=i.elMap[g])==null||x.remove(),delete i.elMap[g]}));for(const[x,b]of Object.entries(v._eventHandlers||{}))h.getAttribute(`data-${x}`)!==""&&((v.tag==="bodyAttrs"?n.defaultView:h).addEventListener(x.replace("on",""),b.bind(h)),h.setAttribute(`data-${x}`,""));Object.entries(v.props).forEach(([x,b])=>{const E=`attr:${x}`;if(x==="class")for(const C of(b||"").split(" ").filter(Boolean))_&&l(g,`${E}:${C}`,()=>h.classList.remove(C)),!h.classList.contains(C)&&h.classList.add(C);else if(x==="style")for(const C of(b||"").split(";").filter(Boolean)){const[S,...A]=C.split(":").map(B=>B.trim());l(g,`${E}:${C}:${S}`,()=>{h.style.removeProperty(S)}),h.style.setProperty(S,A.join(":"))}else h.getAttribute(x)!==b&&h.setAttribute(x,b===!0?"":String(b)),_&&l(g,E,()=>h.removeAttribute(x))})}const c=[],p={bodyClose:void 0,bodyOpen:void 0,head:void 0};for(const g of s){const{tag:h,shouldRender:v,id:_}=g;if(v){if(h.tag==="title"){n.title=h.textContent;continue}g.$el=g.$el||i.elMap[_],g.$el?u(g):Ml.includes(h.tag)&&c.push(g)}}for(const g of c){const h=g.tag.tagPosition||"head";g.$el=n.createElement(g.tag.tag),u(g),p[h]=p[h]||n.createDocumentFragment(),p[h].appendChild(g.$el)}for(const g of s)await e.hooks.callHook("dom:renderTag",g,n,l);p.head&&n.head.appendChild(p.head),p.bodyOpen&&n.body.insertBefore(p.bodyOpen,n.body.firstChild),p.bodyClose&&n.body.appendChild(p.bodyClose),Object.values(i.pendingSideEffects).forEach(g=>g()),e._dom=i,e.dirty=!1,await e.hooks.callHook("dom:rendered",{renders:s})}async function e3(e,t={}){const n=t.delayFn||(r=>setTimeout(r,10));return e._domUpdatePromise=e._domUpdatePromise||new Promise(r=>n(async()=>{await Db(e,t),delete e._domUpdatePromise,r()}))}function t3(e){return t=>{var r,s;const n=((s=(r=t.resolvedOptions.document)==null?void 0:r.head.querySelector('script[id="unhead:payload"]'))==null?void 0:s.innerHTML)||!1;return n&&t.push(JSON.parse(n)),{mode:"client",hooks:{"entries:updated":function(i){e3(i,e)}}}}}const n3=["templateParams","htmlAttrs","bodyAttrs"],r3={hooks:{"tag:normalise":function({tag:e}){["hid","vmid","key"].forEach(r=>{e.props[r]&&(e.key=e.props[r],delete e.props[r])});const n=Ab(e)||(e.key?`${e.tag}:${e.key}`:!1);n&&(e._d=n)},"tags:resolve":function(e){const t={};e.tags.forEach(r=>{const s=(r.key?`${r.tag}:${r.key}`:r._d)||r._p,i=t[s];if(i){let u=r==null?void 0:r.tagDuplicateStrategy;if(!u&&n3.includes(r.tag)&&(u="merge"),u==="merge"){const c=i.props;["class","style"].forEach(p=>{c[p]&&(r.props[p]?(p==="style"&&!c[p].endsWith(";")&&(c[p]+=";"),r.props[p]=`${c[p]} ${r.props[p]}`):r.props[p]=c[p])}),t[s].props={...c,...r.props};return}else if(r._e===i._e){i._duped=i._duped||[],r._d=`${i._d}:${i._duped.length+1}`,i._duped.push(r);return}else if(ou(r)>ou(i))return}const l=Object.keys(r.props).length+(r.innerHTML?1:0)+(r.textContent?1:0);if(Ml.includes(r.tag)&&l===0){delete t[s];return}t[s]=r});const n=[];Object.values(t).forEach(r=>{const s=r._duped;delete r._duped,n.push(r),s&&n.push(...s)}),e.tags=n,e.tags=e.tags.filter(r=>!(r.tag==="meta"&&(r.props.name||r.props.property)&&!r.props.content))}}},o3={mode:"server",hooks:{"tags:resolve":function(e){const t={};e.tags.filter(n=>["titleTemplate","templateParams","title"].includes(n.tag)&&n._m==="server").forEach(n=>{t[n.tag]=n.tag.startsWith("title")?n.textContent:n.props}),Object.keys(t).length&&e.tags.push({tag:"script",innerHTML:JSON.stringify(t),props:{id:"unhead:payload",type:"application/json"}})}}},s3=["script","link","bodyAttrs"],i3=e=>({hooks:{"tags:resolve":function(t){for(const n of t.tags.filter(r=>s3.includes(r.tag)))Object.entries(n.props).forEach(([r,s])=>{r.startsWith("on")&&typeof s=="function"&&(e.ssr&&_0.includes(r)?n.props[r]=`this.dataset.${r}fired = true`:delete n.props[r],n._eventHandlers=n._eventHandlers||{},n._eventHandlers[r]=s)}),e.ssr&&n._eventHandlers&&(n.props.src||n.props.href)&&(n.key=n.key||lp(n.props.src||n.props.href))},"dom:renderTag":function({$el:t,tag:n}){var r,s;for(const i of Object.keys((t==null?void 0:t.dataset)||{}).filter(l=>_0.some(u=>`${u}fired`===l))){const l=i.replace("fired","");(s=(r=n._eventHandlers)==null?void 0:r[l])==null||s.call(t,new Event(l.replace("on","")))}}}}),a3=["link","style","script","noscript"],l3={hooks:{"tag:normalise":({tag:e})=>{e.key&&a3.includes(e.tag)&&(e.props["data-hid"]=e._h=lp(e.key))}}},u3={hooks:{"tags:resolve":e=>{const t=n=>{var r;return(r=e.tags.find(s=>s._d===n))==null?void 0:r._p};for(const{prefix:n,offset:r}of XI)for(const s of e.tags.filter(i=>typeof i.tagPriority=="string"&&i.tagPriority.startsWith(n))){const i=t(s.tagPriority.replace(n,""));typeof i<"u"&&(s._p=i+r)}e.tags.sort((n,r)=>n._p-r._p).sort((n,r)=>ou(n)-ou(r))}}},c3={meta:"content",link:"href",htmlAttrs:"lang"},f3=e=>({hooks:{"tags:resolve":t=>{var u;const{tags:n}=t,r=(u=n.find(c=>c.tag==="title"))==null?void 0:u.textContent,s=n.findIndex(c=>c.tag==="templateParams"),i=s!==-1?n[s].props:{},l=i.separator||"|";delete i.separator,i.pageTitle=Bl(i.pageTitle||r||"",i,l);for(const c of n.filter(p=>p.processTemplateParams!==!1)){const p=c3[c.tag];p&&typeof c.props[p]=="string"?c.props[p]=Bl(c.props[p],i,l):(c.processTemplateParams===!0||["titleTemplate","title"].includes(c.tag))&&["innerHTML","textContent"].forEach(d=>{typeof c[d]=="string"&&(c[d]=Bl(c[d],i,l))})}e._templateParams=i,e._separator=l,t.tags=n.filter(c=>c.tag!=="templateParams")}}}),d3={hooks:{"tags:resolve":e=>{const{tags:t}=e;let n=t.findIndex(s=>s.tag==="titleTemplate");const r=t.findIndex(s=>s.tag==="title");if(r!==-1&&n!==-1){const s=m0(t[n].textContent,t[r].textContent);s!==null?t[r].textContent=s||t[r].textContent:delete t[r]}else if(n!==-1){const s=m0(t[n].textContent);s!==null&&(t[n].textContent=s,t[n].tag="title",n=-1)}n!==-1&&delete t[n],e.tags=t.filter(Boolean)}}},p3={hooks:{"tags:afterResolve":function(e){for(const t of e.tags)typeof t.innerHTML=="string"&&(t.innerHTML&&["application/ld+json","application/json"].includes(t.props.type)?t.innerHTML=t.innerHTML.replace(/{u.dirty=!0,t.callHook("entries:updated",u)};let s=0,i=[];const l=[],u={plugins:l,dirty:!1,resolvedOptions:e,hooks:t,headEntries(){return i},use(c){const p=typeof c=="function"?c(u):c;(!p.key||!l.some(d=>d.key===p.key))&&(l.push(p),w0(p.mode,n)&&t.addHooks(p.hooks||{}))},push(c,p){p==null||delete p.head;const d={_i:s++,input:c,...p};return w0(d.mode,n)&&(i.push(d),r()),{dispose(){i=i.filter(g=>g._i!==d._i),t.callHook("entries:updated",u),r()},patch(g){i=i.map(h=>(h._i===d._i&&(h.input=d.input=g),h)),r()}}},async resolveTags(){const c={tags:[],entries:[...i]};await t.callHook("entries:resolve",c);for(const p of c.entries){const d=p.resolvedInput||p.input;if(p.resolvedInput=await(p.transform?p.transform(d):d),p.resolvedInput)for(const g of await QI(p)){const h={tag:g,entry:p,resolvedOptions:u.resolvedOptions};await t.callHook("tag:normalise",h),c.tags.push(h.tag)}}return await t.callHook("tags:beforeResolve",c),await t.callHook("tags:resolve",c),await t.callHook("tags:afterResolve",c),c.tags},ssr:n};return[r3,o3,i3,l3,u3,f3,d3,p3,...(e==null?void 0:e.plugins)||[]].forEach(c=>u.use(c)),u.hooks.callHook("init",u),u}function m3(){return Vb}const v3=ob.startsWith("3");function y3(e){return typeof e=="function"?e():R(e)}function su(e,t=""){if(e instanceof Promise)return e;const n=y3(e);return!e||!n?n:Array.isArray(n)?n.map(r=>su(r,t)):typeof n=="object"?Object.fromEntries(Object.entries(n).map(([r,s])=>r==="titleTemplate"||r.startsWith("on")?[r,R(s)]:[r,su(s,r)])):n}const b3={hooks:{"entries:resolve":function(e){for(const t of e.entries)t.resolvedInput=su(t.input)}}},Nb="usehead";function _3(e){return{install(n){v3&&(n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(Nb,e))}}.install}function w3(e={}){e.domDelayFn=e.domDelayFn||(n=>an(()=>setTimeout(()=>n(),0)));const t=h3(e);return t.use(b3),t.install=_3(t),t}const rd=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},od="__unhead_injection_handler__";function x3(e){rd[od]=e}function k3(){if(od in rd)return rd[od]();const e=Ke(Nb);return e||m3()}function S3(e,t={}){const n=t.head||k3();if(n)return n.ssr?n.push(e,t):C3(n,e,t)}function C3(e,t,n={}){const r=te(!1),s=te({});Xt(()=>{s.value=r.value?{}:su(t)});const i=e.push(s.value,n);return gt(s,u=>{i.patch(u)}),ir()&&(fa(()=>{i.dispose()}),Oy(()=>{r.value=!0}),Ry(()=>{r.value=!1})),i}function Sr(e){if(typeof e!="object")return e;var t,n,r=Object.prototype.toString.call(e);if(r==="[object Object]"){if(e.constructor!==Object&&typeof e.constructor=="function"){n=new e.constructor;for(t in e)e.hasOwnProperty(t)&&n[t]!==e[t]&&(n[t]=Sr(e[t]))}else{n={};for(t in e)t==="__proto__"?Object.defineProperty(n,t,{value:Sr(e[t]),configurable:!0,enumerable:!0,writable:!0}):n[t]=Sr(e[t])}return n}if(r==="[object Array]"){for(t=e.length,n=Array(t);t--;)n[t]=Sr(e[t]);return n}return r==="[object Set]"?(n=new Set,e.forEach(function(s){n.add(Sr(s))}),n):r==="[object Map]"?(n=new Map,e.forEach(function(s,i){n.set(Sr(i),Sr(s))}),n):r==="[object Date]"?new Date(+e):r==="[object RegExp]"?(n=new RegExp(e.source,e.flags),n.lastIndex=e.lastIndex,n):r==="[object DataView]"?new e.constructor(Sr(e.buffer)):r==="[object ArrayBuffer]"?e.slice(0):r.slice(-6)==="Array]"?new e.constructor(e):e}const E3={ui:{primary:"indigo",gray:"stone"}},T3={nuxt:{},ui:{primary:"green",gray:"cool",colors:["red","orange","amber","yellow","lime","green","emerald","teal","cyan","sky","blue","indigo","violet","purple","fuchsia","pink","rose","primary","backdrop","body"],strategy:"merge"}},Ge=xI(E3,T3);function ma(){const e=nt();return e._appConfig||(e._appConfig=_n(Ge)),e._appConfig}const $3=!1,sd=!1,A3=!1,I3={componentName:"NuxtLink"},R3={deep:!0},O3={},P3="#__nuxt";function x0(e,t={}){const n=M3(e,t),r=nt(),s=r._payloadCache=r._payloadCache||{};return n in s||(s[n]=B3(e).then(i=>i?jb(n).then(l=>l||(delete s[n],null)):(s[n]=null,null))),s[n]}const L3="_payload.json";function M3(e,t={}){var s;const n=new URL(e,"http://localhost");if(n.host!=="localhost"||Bo(n.pathname,{acceptRelative:!0}))throw new Error("Payload URL must not include hostname: "+e);const r=t.hash||(t.fresh?Date.now():(s=ma().nuxt)==null?void 0:s.buildId);return _u(Yr().app.baseURL,n.pathname,L3+(r?`?${r}`:""))}async function jb(e){const t=fetch(e).then(n=>n.text().then(Ub));try{return await t}catch(n){console.warn("[nuxt] Cannot load payload ",e,n)}return null}async function B3(e=xu().path){return!!nt().payload.prerenderedAt}let Sl=null;async function F3(){if(Sl)return Sl;const e=document.getElementById("__NUXT_DATA__");if(!e)return{};const t=await Ub(e.textContent||""),n=e.dataset.src?await jb(e.dataset.src):void 0;return Sl={...t,...n,...window.__NUXT__},Sl}async function Ub(e){return await NI(e,nt()._payloadRevivers)}function D3(e,t){nt()._payloadRevivers[e]=t}const k0={NuxtError:e=>ga(e),EmptyShallowRef:e=>Ir(e==="_"?void 0:e==="0n"?BigInt(0):ea(e)),EmptyRef:e=>te(e==="_"?void 0:e==="0n"?BigInt(0):ea(e)),ShallowRef:e=>Ir(e),ShallowReactive:e=>la(e),Ref:e=>te(e),Reactive:e=>_n(e)},V3=zn({name:"nuxt:revive-payload:client",order:-30,async setup(e){let t,n;for(const r in k0)D3(r,k0[r]);Object.assign(e.payload,([t,n]=ru(()=>e.runWithContext(F3)),t=await t,n(),t)),window.__NUXT__=e.payload}}),N3=[],j3=zn({name:"nuxt:head",enforce:"pre",setup(e){const t=w3({plugins:N3});x3(()=>nt().vueApp._context.provides.usehead),e.vueApp.use(t);{let n=!0;const r=async()=>{n=!1,await Db(t)};t.hooks.hook("dom:beforeRender",s=>{s.shouldRender=!n}),e.hooks.hook("page:start",()=>{n=!0}),e.hooks.hook("page:finish",()=>{e.isHydrating||r()}),e.hooks.hook("app:error",r),e.hooks.hook("app:suspense:resolve",r)}}});/*! * vue-router v4.3.2 * (c) 2024 Eduardo San Martin Morote * @license MIT - */const Bs=typeof document<"u";function Q3(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const yt=Object.assign;function cf(e,t){const n={};for(const r in t){const s=t[r];n[r]=vr(s)?s.map(e):e(s)}return n}const Wi=()=>{},vr=Array.isArray,Qb=/#/g,X3=/&/g,e4=/\//g,t4=/=/g,n4=/\?/g,Xb=/\+/g,r4=/%5B/g,o4=/%5D/g,e1=/%5E/g,s4=/%60/g,t1=/%7B/g,i4=/%7C/g,n1=/%7D/g,a4=/%20/g;function hp(e){return encodeURI(""+e).replace(i4,"|").replace(r4,"[").replace(o4,"]")}function l4(e){return hp(e).replace(t1,"{").replace(n1,"}").replace(e1,"^")}function ud(e){return hp(e).replace(Xb,"%2B").replace(a4,"+").replace(Qb,"%23").replace(X3,"%26").replace(s4,"`").replace(t1,"{").replace(n1,"}").replace(e1,"^")}function u4(e){return ud(e).replace(t4,"%3D")}function c4(e){return hp(e).replace(Qb,"%23").replace(n4,"%3F")}function f4(e){return e==null?"":c4(e).replace(e4,"%2F")}function ra(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const d4=/\/$/,p4=e=>e.replace(d4,"");function ff(e,t,n="/"){let r,s={},i="",l="";const u=t.indexOf("#");let c=t.indexOf("?");return u=0&&(c=-1),c>-1&&(r=t.slice(0,c),i=t.slice(c+1,u>-1?u:t.length),s=e(i)),u>-1&&(r=r||t.slice(0,u),l=t.slice(u,t.length)),r=v4(r??t,n),{fullPath:r+(i&&"?")+i+l,path:r,query:s,hash:ra(l)}}function h4(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function I0(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function g4(e,t,n){const r=t.matched.length-1,s=n.matched.length-1;return r>-1&&r===s&&Xs(t.matched[r],n.matched[s])&&r1(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Xs(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function r1(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!m4(e[n],t[n]))return!1;return!0}function m4(e,t){return vr(e)?R0(e,t):vr(t)?R0(t,e):e===t}function R0(e,t){return vr(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function v4(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),s=r[r.length-1];(s===".."||s===".")&&r.push("");let i=n.length-1,l,u;for(l=0;l1&&i--;else break;return n.slice(0,i).join("/")+"/"+r.slice(l).join("/")}var oa;(function(e){e.pop="pop",e.push="push"})(oa||(oa={}));var qi;(function(e){e.back="back",e.forward="forward",e.unknown=""})(qi||(qi={}));function y4(e){if(!e)if(Bs){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),p4(e)}const b4=/^[^#]+#/;function _4(e,t){return e.replace(b4,"#")+t}function w4(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const Tu=()=>({left:window.scrollX,top:window.scrollY});function x4(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),s=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!s)return;t=w4(s,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function O0(e,t){return(history.state?history.state.position-t:-1)+e}const cd=new Map;function k4(e,t){cd.set(e,t)}function S4(e){const t=cd.get(e);return cd.delete(e),t}let C4=()=>location.protocol+"//"+location.host;function o1(e,t){const{pathname:n,search:r,hash:s}=t,i=e.indexOf("#");if(i>-1){let u=s.includes(e.slice(i))?e.slice(i).length:1,c=s.slice(u);return c[0]!=="/"&&(c="/"+c),I0(c,"")}return I0(n,e)+r+s}function E4(e,t,n,r){let s=[],i=[],l=null;const u=({state:h})=>{const v=o1(e,location),_=n.value,x=t.value;let b=0;if(h){if(n.value=v,t.value=h,l&&l===_){l=null;return}b=x?h.position-x.position:0}else r(v);s.forEach(E=>{E(n.value,_,{delta:b,type:oa.pop,direction:b?b>0?qi.forward:qi.back:qi.unknown})})};function c(){l=n.value}function p(h){s.push(h);const v=()=>{const _=s.indexOf(h);_>-1&&s.splice(_,1)};return i.push(v),v}function d(){const{history:h}=window;h.state&&h.replaceState(yt({},h.state,{scroll:Tu()}),"")}function g(){for(const h of i)h();i=[],window.removeEventListener("popstate",u),window.removeEventListener("beforeunload",d)}return window.addEventListener("popstate",u),window.addEventListener("beforeunload",d,{passive:!0}),{pauseListeners:c,listen:p,destroy:g}}function P0(e,t,n,r=!1,s=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:s?Tu():null}}function T4(e){const{history:t,location:n}=window,r={value:o1(e,n)},s={value:t.state};s.value||i(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function i(c,p,d){const g=e.indexOf("#"),h=g>-1?(n.host&&document.querySelector("base")?e:e.slice(g))+c:C4()+e+c;try{t[d?"replaceState":"pushState"](p,"",h),s.value=p}catch(v){console.error(v),n[d?"replace":"assign"](h)}}function l(c,p){const d=yt({},t.state,P0(s.value.back,c,s.value.forward,!0),p,{position:s.value.position});i(c,d,!0),r.value=c}function u(c,p){const d=yt({},s.value,t.state,{forward:c,scroll:Tu()});i(d.current,d,!0);const g=yt({},P0(r.value,c,null),{position:d.position+1},p);i(c,g,!1),r.value=c}return{location:r,state:s,push:u,replace:l}}function s1(e){e=y4(e);const t=T4(e),n=E4(e,t.state,t.location,t.replace);function r(i,l=!0){l||n.pauseListeners(),history.go(i)}const s=yt({location:"",base:e,go:r,createHref:_4.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 $4(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),s1(e)}function A4(e){return typeof e=="string"||e&&typeof e=="object"}function i1(e){return typeof e=="string"||typeof e=="symbol"}const dr={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},a1=Symbol("");var L0;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(L0||(L0={}));function ei(e,t){return yt(new Error,{type:e,[a1]:!0},t)}function Ur(e,t){return e instanceof Error&&a1 in e&&(t==null||!!(e.type&t))}const M0="[^/]+?",I4={sensitive:!1,strict:!1,start:!0,end:!0},R4=/[.+*?^${}()[\]/\\]/g;function O4(e,t){const n=yt({},I4,t),r=[];let s=n.start?"^":"";const i=[];for(const p of e){const d=p.length?[]:[90];n.strict&&!p.length&&(s+="/");for(let g=0;gt.length?t.length===1&&t[0]===80?1:-1:0}function L4(e,t){let n=0;const r=e.score,s=t.score;for(;n0&&t[t.length-1]<0}const M4={type:0,value:""},B4=/[a-zA-Z0-9_]/;function F4(e){if(!e)return[[]];if(e==="/")return[[M4]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(v){throw new Error(`ERR (${n})/"${p}": ${v}`)}let n=0,r=n;const s=[];let i;function l(){i&&s.push(i),i=[]}let u=0,c,p="",d="";function g(){p&&(n===0?i.push({type:0,value:p}):n===1||n===2||n===3?(i.length>1&&(c==="*"||c==="+")&&t(`A repeatable param (${p}) must be alone in its segment. eg: '/:ids+.`),i.push({type:1,value:p,regexp:d,repeatable:c==="*"||c==="+",optional:c==="*"||c==="?"})):t("Invalid state to consume buffer"),p="")}function h(){p+=c}for(;u{l(C)}:Wi}function l(d){if(i1(d)){const g=r.get(d);g&&(r.delete(d),n.splice(n.indexOf(g),1),g.children.forEach(l),g.alias.forEach(l))}else{const g=n.indexOf(d);g>-1&&(n.splice(g,1),d.record.name&&r.delete(d.record.name),d.children.forEach(l),d.alias.forEach(l))}}function u(){return n}function c(d){let g=0;for(;g=0&&(d.record.path!==n[g].record.path||!l1(d,n[g]));)g++;n.splice(g,0,d),d.record.name&&!D0(d)&&r.set(d.record.name,d)}function p(d,g){let h,v={},_,x;if("name"in d&&d.name){if(h=r.get(d.name),!h)throw ei(1,{location:d});x=h.record.name,v=yt(F0(g.params,h.keys.filter(C=>!C.optional).concat(h.parent?h.parent.keys.filter(C=>C.optional):[]).map(C=>C.name)),d.params&&F0(d.params,h.keys.map(C=>C.name))),_=h.stringify(v)}else if(d.path!=null)_=d.path,h=n.find(C=>C.re.test(_)),h&&(v=h.parse(_),x=h.record.name);else{if(h=g.name?r.get(g.name):n.find(C=>C.re.test(g.path)),!h)throw ei(1,{location:d,currentLocation:g});x=h.record.name,v=yt({},g.params,d.params),_=h.stringify(v)}const b=[];let E=h;for(;E;)b.unshift(E.record),E=E.parent;return{name:x,path:_,params:v,matched:b,meta:U4(b)}}return e.forEach(d=>i(d)),{addRoute:i,resolve:p,removeRoute:l,getRoutes:u,getRecordMatcher:s}}function F0(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function N4(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:j4(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 j4(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="object"?n[r]:n;return t}function D0(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function U4(e){return e.reduce((t,n)=>yt(t,n.meta),{})}function V0(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function l1(e,t){return t.children.some(n=>n===e||l1(e,n))}function H4(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let s=0;si&&ud(i)):[r&&ud(r)]).forEach(i=>{i!==void 0&&(t+=(t.length?"&":"")+n,i!=null&&(t+="="+i))})}return t}function z4(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=vr(r)?r.map(s=>s==null?null:""+s):r==null?r:""+r)}return t}const W4=Symbol(""),j0=Symbol(""),gp=Symbol(""),mp=Symbol(""),fd=Symbol("");function $i(){let e=[];function t(r){return e.push(r),()=>{const s=e.indexOf(r);s>-1&&e.splice(s,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function So(e,t,n,r,s,i=l=>l()){const l=r&&(r.enterCallbacks[s]=r.enterCallbacks[s]||[]);return()=>new Promise((u,c)=>{const p=h=>{h===!1?c(ei(4,{from:n,to:t})):h instanceof Error?c(h):A4(h)?c(ei(2,{from:t,to:h})):(l&&r.enterCallbacks[s]===l&&typeof h=="function"&&l.push(h),u())},d=i(()=>e.call(r&&r.instances[s],t,n,p));let g=Promise.resolve(d);e.length<3&&(g=g.then(p)),g.catch(h=>c(h))})}function df(e,t,n,r,s=i=>i()){const i=[];for(const l of e)for(const u in l.components){let c=l.components[u];if(!(t!=="beforeRouteEnter"&&!l.instances[u]))if(q4(c)){const d=(c.__vccOpts||c)[t];d&&i.push(So(d,n,r,l,u,s))}else{let p=c();i.push(()=>p.then(d=>{if(!d)return Promise.reject(new Error(`Couldn't resolve component "${u}" at "${l.path}"`));const g=Q3(d)?d.default:d;l.components[u]=g;const v=(g.__vccOpts||g)[t];return v&&So(v,n,r,l,u,s)()}))}}return i}function q4(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function U0(e){const t=Ke(gp),n=Ke(mp),r=F(()=>{const c=R(e.to);return t.resolve(c)}),s=F(()=>{const{matched:c}=r.value,{length:p}=c,d=c[p-1],g=n.matched;if(!d||!g.length)return-1;const h=g.findIndex(Xs.bind(null,d));if(h>-1)return h;const v=H0(c[p-2]);return p>1&&H0(d)===v&&g[g.length-1].path!==v?g.findIndex(Xs.bind(null,c[p-2])):h}),i=F(()=>s.value>-1&&Z4(n.params,r.value.params)),l=F(()=>s.value>-1&&s.value===n.matched.length-1&&r1(n.params,r.value.params));function u(c={}){return J4(c)?t[R(e.replace)?"replace":"push"](R(e.to)).catch(Wi):Promise.resolve()}return{route:r,href:F(()=>r.value.href),isActive:i,isExactActive:l,navigate:u}}const K4=we({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:U0,setup(e,{slots:t}){const n=_n(U0(e)),{options:r}=Ke(gp),s=F(()=>({[z0(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[z0(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const i=t.default&&t.default(n);return e.custom?i:Xe("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:s.value},i)}}}),G4=K4;function J4(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 Z4(e,t){for(const n in t){const r=t[n],s=e[n];if(typeof r=="string"){if(r!==s)return!1}else if(!vr(s)||s.length!==r.length||r.some((i,l)=>i!==s[l]))return!1}return!0}function H0(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const z0=(e,t,n)=>e??t??n,Y4=we({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=Ke(fd),s=F(()=>e.route||r.value),i=Ke(j0,0),l=F(()=>{let p=R(i);const{matched:d}=s.value;let g;for(;(g=d[p])&&!g.components;)p++;return p}),u=F(()=>s.value.matched[l.value]);bt(j0,F(()=>l.value+1)),bt(W4,u),bt(fd,s);const c=te();return gt(()=>[c.value,u.value,e.name],([p,d,g],[h,v,_])=>{d&&(d.instances[g]=p,v&&v!==d&&p&&p===h&&(d.leaveGuards.size||(d.leaveGuards=v.leaveGuards),d.updateGuards.size||(d.updateGuards=v.updateGuards))),p&&d&&(!v||!Xs(d,v)||!h)&&(d.enterCallbacks[g]||[]).forEach(x=>x(p))},{flush:"post"}),()=>{const p=s.value,d=e.name,g=u.value,h=g&&g.components[d];if(!h)return W0(n.default,{Component:h,route:p});const v=g.props[d],_=v?v===!0?p.params:typeof v=="function"?v(p):v:null,b=Xe(h,yt({},_,t,{onVnodeUnmounted:E=>{E.component.isUnmounted&&(g.instances[d]=null)},ref:c}));return W0(n.default,{Component:b,route:p})||b}}});function W0(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const u1=Y4;function Q4(e){const t=V4(e.routes,e),n=e.parseQuery||H4,r=e.stringifyQuery||N0,s=e.history,i=$i(),l=$i(),u=$i(),c=Ir(dr);let p=dr;Bs&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const d=cf.bind(null,ee=>""+ee),g=cf.bind(null,f4),h=cf.bind(null,ra);function v(ee,ye){let pe,Ce;return i1(ee)?(pe=t.getRecordMatcher(ee),Ce=ye):Ce=ee,t.addRoute(Ce,pe)}function _(ee){const ye=t.getRecordMatcher(ee);ye&&t.removeRoute(ye)}function x(){return t.getRoutes().map(ee=>ee.record)}function b(ee){return!!t.getRecordMatcher(ee)}function E(ee,ye){if(ye=yt({},ye||c.value),typeof ee=="string"){const O=ff(n,ee,ye.path),H=t.resolve({path:O.path},ye),re=s.createHref(O.fullPath);return yt(O,H,{params:h(H.params),hash:ra(O.hash),redirectedFrom:void 0,href:re})}let pe;if(ee.path!=null)pe=yt({},ee,{path:ff(n,ee.path,ye.path).path});else{const O=yt({},ee.params);for(const H in O)O[H]==null&&delete O[H];pe=yt({},ee,{params:g(O)}),ye.params=g(ye.params)}const Ce=t.resolve(pe,ye),nt=ee.hash||"";Ce.params=d(h(Ce.params));const mt=h4(r,yt({},ee,{hash:l4(nt),path:Ce.path})),T=s.createHref(mt);return yt({fullPath:mt,hash:nt,query:r===N0?z4(ee.query):ee.query||{}},Ce,{redirectedFrom:void 0,href:T})}function C(ee){return typeof ee=="string"?ff(n,ee,c.value.path):yt({},ee)}function S(ee,ye){if(p!==ee)return ei(8,{from:ye,to:ee})}function A(ee){return U(ee)}function B(ee){return A(yt(C(ee),{replace:!0}))}function L(ee){const ye=ee.matched[ee.matched.length-1];if(ye&&ye.redirect){const{redirect:pe}=ye;let Ce=typeof pe=="function"?pe(ee):pe;return typeof Ce=="string"&&(Ce=Ce.includes("?")||Ce.includes("#")?Ce=C(Ce):{path:Ce},Ce.params={}),yt({query:ee.query,hash:ee.hash,params:Ce.path!=null?{}:ee.params},Ce)}}function U(ee,ye){const pe=p=E(ee),Ce=c.value,nt=ee.state,mt=ee.force,T=ee.replace===!0,O=L(pe);if(O)return U(yt(C(O),{state:typeof O=="object"?yt({},nt,O.state):nt,force:mt,replace:T}),ye||pe);const H=pe;H.redirectedFrom=ye;let re;return!mt&&g4(r,Ce,pe)&&(re=ei(16,{to:H,from:Ce}),Re(Ce,Ce,!0,!1)),(re?Promise.resolve(re):K(H,Ce)).catch(G=>Ur(G)?Ur(G,2)?G:Gt(G):ve(G,H,Ce)).then(G=>{if(G){if(Ur(G,2))return U(yt({replace:T},C(G.to),{state:typeof G.to=="object"?yt({},nt,G.to.state):nt,force:mt}),ye||H)}else G=z(H,Ce,!0,T,nt);return Y(H,Ce,G),G})}function j(ee,ye){const pe=S(ee,ye);return pe?Promise.reject(pe):Promise.resolve()}function q(ee){const ye=Dt.values().next().value;return ye&&typeof ye.runWithContext=="function"?ye.runWithContext(ee):ee()}function K(ee,ye){let pe;const[Ce,nt,mt]=X4(ee,ye);pe=df(Ce.reverse(),"beforeRouteLeave",ee,ye);for(const O of Ce)O.leaveGuards.forEach(H=>{pe.push(So(H,ee,ye))});const T=j.bind(null,ee,ye);return pe.push(T),St(pe).then(()=>{pe=[];for(const O of i.list())pe.push(So(O,ee,ye));return pe.push(T),St(pe)}).then(()=>{pe=df(nt,"beforeRouteUpdate",ee,ye);for(const O of nt)O.updateGuards.forEach(H=>{pe.push(So(H,ee,ye))});return pe.push(T),St(pe)}).then(()=>{pe=[];for(const O of mt)if(O.beforeEnter)if(vr(O.beforeEnter))for(const H of O.beforeEnter)pe.push(So(H,ee,ye));else pe.push(So(O.beforeEnter,ee,ye));return pe.push(T),St(pe)}).then(()=>(ee.matched.forEach(O=>O.enterCallbacks={}),pe=df(mt,"beforeRouteEnter",ee,ye,q),pe.push(T),St(pe))).then(()=>{pe=[];for(const O of l.list())pe.push(So(O,ee,ye));return pe.push(T),St(pe)}).catch(O=>Ur(O,8)?O:Promise.reject(O))}function Y(ee,ye,pe){u.list().forEach(Ce=>q(()=>Ce(ee,ye,pe)))}function z(ee,ye,pe,Ce,nt){const mt=S(ee,ye);if(mt)return mt;const T=ye===dr,O=Bs?history.state:{};pe&&(Ce||T?s.replace(ee.fullPath,yt({scroll:T&&O&&O.scroll},nt)):s.push(ee.fullPath,nt)),c.value=ee,Re(ee,ye,pe,T),Gt()}let be;function ce(){be||(be=s.listen((ee,ye,pe)=>{if(!fn.listening)return;const Ce=E(ee),nt=L(Ce);if(nt){U(yt(nt,{replace:!0}),Ce).catch(Wi);return}p=Ce;const mt=c.value;Bs&&k4(O0(mt.fullPath,pe.delta),Tu()),K(Ce,mt).catch(T=>Ur(T,12)?T:Ur(T,2)?(U(T.to,Ce).then(O=>{Ur(O,20)&&!pe.delta&&pe.type===oa.pop&&s.go(-1,!1)}).catch(Wi),Promise.reject()):(pe.delta&&s.go(-pe.delta,!1),ve(T,Ce,mt))).then(T=>{T=T||z(Ce,mt,!1),T&&(pe.delta&&!Ur(T,8)?s.go(-pe.delta,!1):pe.type===oa.pop&&Ur(T,20)&&s.go(-1,!1)),Y(Ce,mt,T)}).catch(Wi)}))}let ke=$i(),ie=$i(),Se;function ve(ee,ye,pe){Gt(ee);const Ce=ie.list();return Ce.length?Ce.forEach(nt=>nt(ee,ye,pe)):console.error(ee),Promise.reject(ee)}function Lt(){return Se&&c.value!==dr?Promise.resolve():new Promise((ee,ye)=>{ke.add([ee,ye])})}function Gt(ee){return Se||(Se=!ee,ce(),ke.list().forEach(([ye,pe])=>ee?pe(ee):ye()),ke.reset()),ee}function Re(ee,ye,pe,Ce){const{scrollBehavior:nt}=e;if(!Bs||!nt)return Promise.resolve();const mt=!pe&&S4(O0(ee.fullPath,0))||(Ce||!pe)&&history.state&&history.state.scroll||null;return an().then(()=>nt(ee,ye,mt)).then(T=>T&&x4(T)).catch(T=>ve(T,ee,ye))}const je=ee=>s.go(ee);let Ft;const Dt=new Set,fn={currentRoute:c,listening:!0,addRoute:v,removeRoute:_,hasRoute:b,getRoutes:x,resolve:E,options:e,push:A,replace:B,go:je,back:()=>je(-1),forward:()=>je(1),beforeEach:i.add,beforeResolve:l.add,afterEach:u.add,onError:ie.add,isReady:Lt,install(ee){const ye=this;ee.component("RouterLink",G4),ee.component("RouterView",u1),ee.config.globalProperties.$router=ye,Object.defineProperty(ee.config.globalProperties,"$route",{enumerable:!0,get:()=>R(c)}),Bs&&!Ft&&c.value===dr&&(Ft=!0,A(s.location).catch(nt=>{}));const pe={};for(const nt in dr)Object.defineProperty(pe,nt,{get:()=>c.value[nt],enumerable:!0});ee.provide(gp,ye),ee.provide(mp,ca(pe)),ee.provide(fd,c);const Ce=ee.unmount;Dt.add(ee),ee.unmount=function(){Dt.delete(ee),Dt.size<1&&(p=dr,be&&be(),be=null,c.value=dr,Ft=!1,Se=!1),Ce()}}};function St(ee){return ee.reduce((ye,pe)=>ye.then(()=>q(pe)),Promise.resolve())}return fn}function X4(e,t){const n=[],r=[],s=[],i=Math.max(t.matched.length,e.matched.length);for(let l=0;lXs(p,u))?r.push(u):n.push(u));const c=e.matched[l];c&&(t.matched.find(p=>Xs(p,c))||s.push(c))}return[n,r,s]}function eR(){return Ke(mp)}const tR=(e,t)=>t.path.replace(/(:\w+)\([^)]+\)/g,"$1").replace(/(:\w+)[?+*]/g,"$1").replace(/:\w+/g,n=>{var r;return((r=e.params[n.slice(1)])==null?void 0:r.toString())||""}),dd=(e,t)=>{const n=e.route.matched.find(s=>{var i;return((i=s.components)==null?void 0:i.default)===e.Component.type}),r=t??(n==null?void 0:n.meta.key)??(n&&tR(e.route,n));return typeof r=="function"?r(e.route):r},nR=(e,t)=>({default:()=>e?Xe(FT,e===!0?{}:e,t):t});function vp(e){return Array.isArray(e)?e:[e]}const pf=null,hf=null,gf=null,mf=null,vf=null,yf=null,bf=null,_f=null,wf=null,xf=null,q0=[{name:"backtest-id",path:"/backtest/:id()",meta:{},alias:[],redirect:pf==null?void 0:pf.redirect,component:()=>yn(()=>import("./BYBZIia9.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8]),import.meta.url).then(e=>e.default||e)},{name:"backtest",path:"/backtest",meta:{},alias:[],redirect:hf==null?void 0:hf.redirect,component:()=>yn(()=>import("./JlSuSJ_i.js"),[],import.meta.url).then(e=>e.default||e)},{name:"candles-id",path:"/candles/:id()",meta:{},alias:[],redirect:gf==null?void 0:gf.redirect,component:()=>yn(()=>import("./BI9C6zDQ.js"),__vite__mapDeps([9,1,4,5,6,8]),import.meta.url).then(e=>e.default||e)},{name:"candles",path:"/candles",meta:{},alias:[],redirect:mf==null?void 0:mf.redirect,component:()=>yn(()=>import("./LiW6fgIR.js"),[],import.meta.url).then(e=>e.default||e)},{name:"exchange-api-keys",path:"/exchange-api-keys",meta:{},alias:[],redirect:vf==null?void 0:vf.redirect,component:()=>yn(()=>import("./CJSiWN06.js"),__vite__mapDeps([10,6,3,8,11]),import.meta.url).then(e=>e.default||e)},{name:"index",path:"/",meta:{},alias:[],redirect:yf==null?void 0:yf.redirect,component:()=>yn(()=>import("./B4yYB889.js"),__vite__mapDeps([12,8]),import.meta.url).then(e=>e.default||e)},{name:"live-id",path:"/live/:id()",meta:{},alias:[],redirect:bf==null?void 0:bf.redirect,component:()=>yn(()=>import("./BtFtrakF.js"),__vite__mapDeps([13,1,2,3,4,5,6,7,8]),import.meta.url).then(e=>e.default||e)},{name:"live",path:"/live",meta:{},alias:[],redirect:_f==null?void 0:_f.redirect,component:()=>yn(()=>import("./TOGgOelM.js"),[],import.meta.url).then(e=>e.default||e)},{name:"notification-api-keys",path:"/notification-api-keys",meta:{},alias:[],redirect:wf==null?void 0:wf.redirect,component:()=>yn(()=>import("./DvrbiQag.js"),__vite__mapDeps([14,6,3,8,11]),import.meta.url).then(e=>e.default||e)},{name:"optimization",path:"/optimization",meta:{},alias:[],redirect:xf==null?void 0:xf.redirect,component:()=>yn(()=>import("./BZrOC2Bd.js"),__vite__mapDeps([15,2,3,4,5,6,8]),import.meta.url).then(e=>e.default||e)}],c1=(e,t,n)=>(t=t===!0?{}:t,{default:()=>{var r;return t?Xe(e,t,n):(r=n.default)==null?void 0:r.call(n)}});function K0(e){const t=(e==null?void 0:e.meta.key)??e.path.replace(/(:\w+)\([^)]+\)/g,"$1").replace(/(:\w+)[?+*]/g,"$1").replace(/:\w+/g,n=>{var r;return((r=e.params[n.slice(1)])==null?void 0:r.toString())||""});return typeof t=="function"?t(e):t}function rR(e,t){return e===t||t===dr?!1:K0(e)!==K0(t)?!0:!e.matched.every((r,s)=>{var i,l;return r.components&&r.components.default===((l=(i=t.matched[s])==null?void 0:i.components)==null?void 0:l.default)})}const oR={scrollBehavior(e,t,n){var p;const r=it(),s=((p=Wn().options)==null?void 0:p.scrollBehaviorType)??"auto";let i=n||void 0;const l=typeof e.meta.scrollToTop=="function"?e.meta.scrollToTop(e,t):e.meta.scrollToTop;if(!i&&t&&e&&l!==!1&&rR(e,t)&&(i={left:0,top:0}),e.path===t.path)return t.hash&&!e.hash?{left:0,top:0}:e.hash?{el:e.hash,top:G0(e.hash),behavior:s}:!1;const u=d=>!!(d.meta.pageTransition??ld),c=u(t)&&u(e)?"page:transition:finish":"page:finish";return new Promise(d=>{r.hooks.hookOnce(c,async()=>{await new Promise(g=>setTimeout(g,0)),e.hash&&(i={el:e.hash,top:G0(e.hash),behavior:s}),d(i)})})}};function G0(e){try{const t=document.querySelector(e);if(t)return parseFloat(getComputedStyle(t).scrollMarginTop)}catch{}return 0}const sR={hashMode:!0,scrollBehaviorType:"auto"},Nn={...sR,...oR},iR=async e=>{var c;let t,n;if(!((c=e.meta)!=null&&c.validate))return;const r=it(),s=Wn();if(([t,n]=na(()=>Promise.resolve(e.meta.validate(e))),t=await t,n(),t)===!0)return;const l=ya({statusCode:404,statusMessage:`Page Not Found: ${e.fullPath}`,data:{path:e.fullPath}}),u=s.beforeResolve(p=>{if(u(),p===e){const d=s.afterEach(async()=>{d(),await r.runWithContext(()=>Fs(l)),window.history.pushState({},"",e.fullPath)});return!1}})},aR=async e=>{let t,n;const r=([t,n]=na(()=>pp(e.path)),t=await t,n(),t);if(r.redirect)return Xr(r.redirect,{acceptRelative:!0})?(window.location.href=r.redirect,!1):r.redirect},lR=[iR,aR],Ki={};function uR(e,t,n){const{pathname:r,search:s,hash:i}=t,l=e.indexOf("#");if(l>-1){const p=i.includes(e.slice(l))?e.slice(l).length:1;let d=i.slice(p);return d[0]!=="/"&&(d="/"+d),c0(d,"")}const u=c0(r,e),c=!n||RA(u,n,{trailingSlash:!0})?u:n;return c+(c.includes("?")?"":s)+i}const cR=On({name:"nuxt:router",enforce:"pre",async setup(e){var b,E;let t,n,r=Yr().app.baseURL;Nn.hashMode&&!r.includes("#")&&(r+="#");const s=((b=Nn.history)==null?void 0:b.call(Nn,r))??(Nn.hashMode?$4(r):s1(r)),i=((E=Nn.routes)==null?void 0:E.call(Nn,q0))??q0;let l;const u=Q4({...Nn,scrollBehavior:(C,S,A)=>{if(S===dr){l=A;return}if(Nn.scrollBehavior){if(u.options.scrollBehavior=Nn.scrollBehavior,"scrollRestoration"in window.history){const B=u.beforeEach(()=>{B(),window.history.scrollRestoration="manual"})}return Nn.scrollBehavior(C,dr,l||A)}},history:s,routes:i});"scrollRestoration"in window.history&&(window.history.scrollRestoration="auto"),e.vueApp.use(u);const c=Ir(u.currentRoute.value);u.afterEach((C,S)=>{c.value=S}),Object.defineProperty(e.vueApp.config.globalProperties,"previousRoute",{get:()=>c.value});const p=uR(r,window.location,e.payload.path),d=Ir(u.currentRoute.value),g=()=>{d.value=u.currentRoute.value};e.hook("page:finish",g),u.afterEach((C,S)=>{var A,B,L,U;((B=(A=C.matched[0])==null?void 0:A.components)==null?void 0:B.default)===((U=(L=S.matched[0])==null?void 0:L.components)==null?void 0:U.default)&&g()});const h={};for(const C in d.value)Object.defineProperty(h,C,{get:()=>d.value[C]});e._route=ca(h),e._middleware=e._middleware||{global:[],named:{}};try{[t,n]=na(()=>u.isReady()),await t,n()}catch(C){[t,n]=na(()=>e.runWithContext(()=>Fs(C))),await t,n()}const v=p!==u.currentRoute.value.fullPath?u.resolve(p):u.currentRoute.value;g();const _=e.payload.state._layout;u.beforeEach(async(C,S)=>{var A;await e.callHook("page:loading:start"),C.meta=_n(C.meta),e.isHydrating&&_&&!Gs(C.meta.layout)&&(C.meta.layout=_),e._processingMiddleware=!0;{const B=new Set([...lR,...e._middleware.global]);for(const L of C.matched){const U=L.meta.middleware;if(U)for(const j of vp(U))B.add(j)}{const L=await e.runWithContext(()=>pp(C.path));if(L.appMiddleware)for(const U in L.appMiddleware)L.appMiddleware[U]?B.add(U):B.delete(U)}for(const L of B){const U=typeof L=="string"?e._middleware.named[L]||await((A=Ki[L])==null?void 0:A.call(Ki).then(q=>q.default||q)):L;if(!U)throw new Error(`Unknown route middleware: '${L}'.`);const j=await e.runWithContext(()=>U(C,S));if(!e.payload.serverRendered&&e.isHydrating&&(j===!1||j instanceof Error)){const q=j||rd({statusCode:404,statusMessage:`Page Not Found: ${p}`});return await e.runWithContext(()=>Fs(q)),!1}if(j!==!0&&(j||j===!1))return j}}}),u.onError(async()=>{delete e._processingMiddleware,await e.callHook("page:loading:end")});const x=Cu();return u.afterEach(async(C,S,A)=>{delete e._processingMiddleware,!e.isHydrating&&x.value&&await e.runWithContext(DI),A&&await e.callHook("page:loading:end"),C.matched.length===0&&await e.runWithContext(()=>Fs(rd({statusCode:404,fatal:!1,statusMessage:`Page not found: ${C.fullPath}`,data:{path:C.fullPath}})))}),e.hooks.hookOnce("app:created",async()=>{try{"name"in v&&(v.name=void 0),await u.replace({...v,force:!0}),u.options.scrollBehavior=Nn.scrollBehavior}catch(C){await e.runWithContext(()=>Fs(C))}}),{provide:{router:u}}}}),pd=globalThis.requestIdleCallback||(e=>{const t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),fR=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),yp=e=>{const t=it();t.isHydrating?t.hooks.hookOnce("app:suspense:resolve",()=>{pd(e)}):pd(e)},dR=On({name:"nuxt:payload",setup(e){Wn().beforeResolve(async(t,n)=>{if(t.path===n.path)return;const r=await $0(t.path);r&&Object.assign(e.static.data,r.data)}),yp(()=>{var t;e.hooks.hook("link:prefetch",async n=>{ma(n).protocol||await $0(n)}),((t=navigator.connection)==null?void 0:t.effectiveType)!=="slow-2g"&&setTimeout(Eu,1e3)})}}),pR=On(e=>{let t;async function n(){const r=await Eu();t&&clearTimeout(t),t=setTimeout(n,1e3*60*60);try{const s=await $fetch(up("builds/latest.json")+`?${Date.now()}`);s.id!==r.id&&e.hooks.callHook("app:manifest:update",s)}catch{}}yp(()=>{t=setTimeout(n,1e3*60*60)})}),hR=!1;/*! + */const Bs=typeof document<"u";function U3(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const yt=Object.assign;function af(e,t){const n={};for(const r in t){const s=t[r];n[r]=vr(s)?s.map(e):e(s)}return n}const zi=()=>{},vr=Array.isArray,Hb=/#/g,H3=/&/g,z3=/\//g,W3=/=/g,q3=/\?/g,zb=/\+/g,K3=/%5B/g,G3=/%5D/g,Wb=/%5E/g,J3=/%60/g,qb=/%7B/g,Z3=/%7C/g,Kb=/%7D/g,Y3=/%20/g;function cp(e){return encodeURI(""+e).replace(Z3,"|").replace(K3,"[").replace(G3,"]")}function Q3(e){return cp(e).replace(qb,"{").replace(Kb,"}").replace(Wb,"^")}function id(e){return cp(e).replace(zb,"%2B").replace(Y3,"+").replace(Hb,"%23").replace(H3,"%26").replace(J3,"`").replace(qb,"{").replace(Kb,"}").replace(Wb,"^")}function X3(e){return id(e).replace(W3,"%3D")}function e4(e){return cp(e).replace(Hb,"%23").replace(q3,"%3F")}function t4(e){return e==null?"":e4(e).replace(z3,"%2F")}function ta(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const n4=/\/$/,r4=e=>e.replace(n4,"");function lf(e,t,n="/"){let r,s={},i="",l="";const u=t.indexOf("#");let c=t.indexOf("?");return u=0&&(c=-1),c>-1&&(r=t.slice(0,c),i=t.slice(c+1,u>-1?u:t.length),s=e(i)),u>-1&&(r=r||t.slice(0,u),l=t.slice(u,t.length)),r=a4(r??t,n),{fullPath:r+(i&&"?")+i+l,path:r,query:s,hash:ta(l)}}function o4(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function S0(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function s4(e,t,n){const r=t.matched.length-1,s=n.matched.length-1;return r>-1&&r===s&&Xs(t.matched[r],n.matched[s])&&Gb(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Xs(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Gb(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!i4(e[n],t[n]))return!1;return!0}function i4(e,t){return vr(e)?C0(e,t):vr(t)?C0(t,e):e===t}function C0(e,t){return vr(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function a4(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),s=r[r.length-1];(s===".."||s===".")&&r.push("");let i=n.length-1,l,u;for(l=0;l1&&i--;else break;return n.slice(0,i).join("/")+"/"+r.slice(l).join("/")}var na;(function(e){e.pop="pop",e.push="push"})(na||(na={}));var Wi;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Wi||(Wi={}));function l4(e){if(!e)if(Bs){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),r4(e)}const u4=/^[^#]+#/;function c4(e,t){return e.replace(u4,"#")+t}function f4(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const Su=()=>({left:window.scrollX,top:window.scrollY});function d4(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),s=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!s)return;t=f4(s,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function E0(e,t){return(history.state?history.state.position-t:-1)+e}const ad=new Map;function p4(e,t){ad.set(e,t)}function h4(e){const t=ad.get(e);return ad.delete(e),t}let g4=()=>location.protocol+"//"+location.host;function Jb(e,t){const{pathname:n,search:r,hash:s}=t,i=e.indexOf("#");if(i>-1){let u=s.includes(e.slice(i))?e.slice(i).length:1,c=s.slice(u);return c[0]!=="/"&&(c="/"+c),S0(c,"")}return S0(n,e)+r+s}function m4(e,t,n,r){let s=[],i=[],l=null;const u=({state:h})=>{const v=Jb(e,location),_=n.value,x=t.value;let b=0;if(h){if(n.value=v,t.value=h,l&&l===_){l=null;return}b=x?h.position-x.position:0}else r(v);s.forEach(E=>{E(n.value,_,{delta:b,type:na.pop,direction:b?b>0?Wi.forward:Wi.back:Wi.unknown})})};function c(){l=n.value}function p(h){s.push(h);const v=()=>{const _=s.indexOf(h);_>-1&&s.splice(_,1)};return i.push(v),v}function d(){const{history:h}=window;h.state&&h.replaceState(yt({},h.state,{scroll:Su()}),"")}function g(){for(const h of i)h();i=[],window.removeEventListener("popstate",u),window.removeEventListener("beforeunload",d)}return window.addEventListener("popstate",u),window.addEventListener("beforeunload",d,{passive:!0}),{pauseListeners:c,listen:p,destroy:g}}function T0(e,t,n,r=!1,s=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:s?Su():null}}function v4(e){const{history:t,location:n}=window,r={value:Jb(e,n)},s={value:t.state};s.value||i(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function i(c,p,d){const g=e.indexOf("#"),h=g>-1?(n.host&&document.querySelector("base")?e:e.slice(g))+c:g4()+e+c;try{t[d?"replaceState":"pushState"](p,"",h),s.value=p}catch(v){console.error(v),n[d?"replace":"assign"](h)}}function l(c,p){const d=yt({},t.state,T0(s.value.back,c,s.value.forward,!0),p,{position:s.value.position});i(c,d,!0),r.value=c}function u(c,p){const d=yt({},s.value,t.state,{forward:c,scroll:Su()});i(d.current,d,!0);const g=yt({},T0(r.value,c,null),{position:d.position+1},p);i(c,g,!1),r.value=c}return{location:r,state:s,push:u,replace:l}}function Zb(e){e=l4(e);const t=v4(e),n=m4(e,t.state,t.location,t.replace);function r(i,l=!0){l||n.pauseListeners(),history.go(i)}const s=yt({location:"",base:e,go:r,createHref:c4.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 y4(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),Zb(e)}function b4(e){return typeof e=="string"||e&&typeof e=="object"}function Yb(e){return typeof e=="string"||typeof e=="symbol"}const dr={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},Qb=Symbol("");var $0;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})($0||($0={}));function ei(e,t){return yt(new Error,{type:e,[Qb]:!0},t)}function Ur(e,t){return e instanceof Error&&Qb in e&&(t==null||!!(e.type&t))}const A0="[^/]+?",_4={sensitive:!1,strict:!1,start:!0,end:!0},w4=/[.+*?^${}()[\]/\\]/g;function x4(e,t){const n=yt({},_4,t),r=[];let s=n.start?"^":"";const i=[];for(const p of e){const d=p.length?[]:[90];n.strict&&!p.length&&(s+="/");for(let g=0;gt.length?t.length===1&&t[0]===80?1:-1:0}function S4(e,t){let n=0;const r=e.score,s=t.score;for(;n0&&t[t.length-1]<0}const C4={type:0,value:""},E4=/[a-zA-Z0-9_]/;function T4(e){if(!e)return[[]];if(e==="/")return[[C4]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(v){throw new Error(`ERR (${n})/"${p}": ${v}`)}let n=0,r=n;const s=[];let i;function l(){i&&s.push(i),i=[]}let u=0,c,p="",d="";function g(){p&&(n===0?i.push({type:0,value:p}):n===1||n===2||n===3?(i.length>1&&(c==="*"||c==="+")&&t(`A repeatable param (${p}) must be alone in its segment. eg: '/:ids+.`),i.push({type:1,value:p,regexp:d,repeatable:c==="*"||c==="+",optional:c==="*"||c==="?"})):t("Invalid state to consume buffer"),p="")}function h(){p+=c}for(;u{l(C)}:zi}function l(d){if(Yb(d)){const g=r.get(d);g&&(r.delete(d),n.splice(n.indexOf(g),1),g.children.forEach(l),g.alias.forEach(l))}else{const g=n.indexOf(d);g>-1&&(n.splice(g,1),d.record.name&&r.delete(d.record.name),d.children.forEach(l),d.alias.forEach(l))}}function u(){return n}function c(d){let g=0;for(;g=0&&(d.record.path!==n[g].record.path||!Xb(d,n[g]));)g++;n.splice(g,0,d),d.record.name&&!O0(d)&&r.set(d.record.name,d)}function p(d,g){let h,v={},_,x;if("name"in d&&d.name){if(h=r.get(d.name),!h)throw ei(1,{location:d});x=h.record.name,v=yt(R0(g.params,h.keys.filter(C=>!C.optional).concat(h.parent?h.parent.keys.filter(C=>C.optional):[]).map(C=>C.name)),d.params&&R0(d.params,h.keys.map(C=>C.name))),_=h.stringify(v)}else if(d.path!=null)_=d.path,h=n.find(C=>C.re.test(_)),h&&(v=h.parse(_),x=h.record.name);else{if(h=g.name?r.get(g.name):n.find(C=>C.re.test(g.path)),!h)throw ei(1,{location:d,currentLocation:g});x=h.record.name,v=yt({},g.params,d.params),_=h.stringify(v)}const b=[];let E=h;for(;E;)b.unshift(E.record),E=E.parent;return{name:x,path:_,params:v,matched:b,meta:O4(b)}}return e.forEach(d=>i(d)),{addRoute:i,resolve:p,removeRoute:l,getRoutes:u,getRecordMatcher:s}}function R0(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function I4(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:R4(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 R4(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="object"?n[r]:n;return t}function O0(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function O4(e){return e.reduce((t,n)=>yt(t,n.meta),{})}function P0(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function Xb(e,t){return t.children.some(n=>n===e||Xb(e,n))}function P4(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let s=0;si&&id(i)):[r&&id(r)]).forEach(i=>{i!==void 0&&(t+=(t.length?"&":"")+n,i!=null&&(t+="="+i))})}return t}function L4(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=vr(r)?r.map(s=>s==null?null:""+s):r==null?r:""+r)}return t}const M4=Symbol(""),M0=Symbol(""),fp=Symbol(""),dp=Symbol(""),ld=Symbol("");function Ti(){let e=[];function t(r){return e.push(r),()=>{const s=e.indexOf(r);s>-1&&e.splice(s,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function ko(e,t,n,r,s,i=l=>l()){const l=r&&(r.enterCallbacks[s]=r.enterCallbacks[s]||[]);return()=>new Promise((u,c)=>{const p=h=>{h===!1?c(ei(4,{from:n,to:t})):h instanceof Error?c(h):b4(h)?c(ei(2,{from:t,to:h})):(l&&r.enterCallbacks[s]===l&&typeof h=="function"&&l.push(h),u())},d=i(()=>e.call(r&&r.instances[s],t,n,p));let g=Promise.resolve(d);e.length<3&&(g=g.then(p)),g.catch(h=>c(h))})}function uf(e,t,n,r,s=i=>i()){const i=[];for(const l of e)for(const u in l.components){let c=l.components[u];if(!(t!=="beforeRouteEnter"&&!l.instances[u]))if(B4(c)){const d=(c.__vccOpts||c)[t];d&&i.push(ko(d,n,r,l,u,s))}else{let p=c();i.push(()=>p.then(d=>{if(!d)return Promise.reject(new Error(`Couldn't resolve component "${u}" at "${l.path}"`));const g=U3(d)?d.default:d;l.components[u]=g;const v=(g.__vccOpts||g)[t];return v&&ko(v,n,r,l,u,s)()}))}}return i}function B4(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function B0(e){const t=Ke(fp),n=Ke(dp),r=F(()=>{const c=R(e.to);return t.resolve(c)}),s=F(()=>{const{matched:c}=r.value,{length:p}=c,d=c[p-1],g=n.matched;if(!d||!g.length)return-1;const h=g.findIndex(Xs.bind(null,d));if(h>-1)return h;const v=F0(c[p-2]);return p>1&&F0(d)===v&&g[g.length-1].path!==v?g.findIndex(Xs.bind(null,c[p-2])):h}),i=F(()=>s.value>-1&&N4(n.params,r.value.params)),l=F(()=>s.value>-1&&s.value===n.matched.length-1&&Gb(n.params,r.value.params));function u(c={}){return V4(c)?t[R(e.replace)?"replace":"push"](R(e.to)).catch(zi):Promise.resolve()}return{route:r,href:F(()=>r.value.href),isActive:i,isExactActive:l,navigate:u}}const F4=we({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:B0,setup(e,{slots:t}){const n=_n(B0(e)),{options:r}=Ke(fp),s=F(()=>({[D0(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[D0(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const i=t.default&&t.default(n);return e.custom?i:Xe("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:s.value},i)}}}),D4=F4;function V4(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 N4(e,t){for(const n in t){const r=t[n],s=e[n];if(typeof r=="string"){if(r!==s)return!1}else if(!vr(s)||s.length!==r.length||r.some((i,l)=>i!==s[l]))return!1}return!0}function F0(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const D0=(e,t,n)=>e??t??n,j4=we({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=Ke(ld),s=F(()=>e.route||r.value),i=Ke(M0,0),l=F(()=>{let p=R(i);const{matched:d}=s.value;let g;for(;(g=d[p])&&!g.components;)p++;return p}),u=F(()=>s.value.matched[l.value]);bt(M0,F(()=>l.value+1)),bt(M4,u),bt(ld,s);const c=te();return gt(()=>[c.value,u.value,e.name],([p,d,g],[h,v,_])=>{d&&(d.instances[g]=p,v&&v!==d&&p&&p===h&&(d.leaveGuards.size||(d.leaveGuards=v.leaveGuards),d.updateGuards.size||(d.updateGuards=v.updateGuards))),p&&d&&(!v||!Xs(d,v)||!h)&&(d.enterCallbacks[g]||[]).forEach(x=>x(p))},{flush:"post"}),()=>{const p=s.value,d=e.name,g=u.value,h=g&&g.components[d];if(!h)return V0(n.default,{Component:h,route:p});const v=g.props[d],_=v?v===!0?p.params:typeof v=="function"?v(p):v:null,b=Xe(h,yt({},_,t,{onVnodeUnmounted:E=>{E.component.isUnmounted&&(g.instances[d]=null)},ref:c}));return V0(n.default,{Component:b,route:p})||b}}});function V0(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const e1=j4;function U4(e){const t=A4(e.routes,e),n=e.parseQuery||P4,r=e.stringifyQuery||L0,s=e.history,i=Ti(),l=Ti(),u=Ti(),c=Ir(dr);let p=dr;Bs&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const d=af.bind(null,ee=>""+ee),g=af.bind(null,t4),h=af.bind(null,ta);function v(ee,ye){let pe,Ce;return Yb(ee)?(pe=t.getRecordMatcher(ee),Ce=ye):Ce=ee,t.addRoute(Ce,pe)}function _(ee){const ye=t.getRecordMatcher(ee);ye&&t.removeRoute(ye)}function x(){return t.getRoutes().map(ee=>ee.record)}function b(ee){return!!t.getRecordMatcher(ee)}function E(ee,ye){if(ye=yt({},ye||c.value),typeof ee=="string"){const O=lf(n,ee,ye.path),U=t.resolve({path:O.path},ye),re=s.createHref(O.fullPath);return yt(O,U,{params:h(U.params),hash:ta(O.hash),redirectedFrom:void 0,href:re})}let pe;if(ee.path!=null)pe=yt({},ee,{path:lf(n,ee.path,ye.path).path});else{const O=yt({},ee.params);for(const U in O)O[U]==null&&delete O[U];pe=yt({},ee,{params:g(O)}),ye.params=g(ye.params)}const Ce=t.resolve(pe,ye),rt=ee.hash||"";Ce.params=d(h(Ce.params));const mt=o4(r,yt({},ee,{hash:Q3(rt),path:Ce.path})),T=s.createHref(mt);return yt({fullPath:mt,hash:rt,query:r===L0?L4(ee.query):ee.query||{}},Ce,{redirectedFrom:void 0,href:T})}function C(ee){return typeof ee=="string"?lf(n,ee,c.value.path):yt({},ee)}function S(ee,ye){if(p!==ee)return ei(8,{from:ye,to:ee})}function A(ee){return H(ee)}function B(ee){return A(yt(C(ee),{replace:!0}))}function L(ee){const ye=ee.matched[ee.matched.length-1];if(ye&&ye.redirect){const{redirect:pe}=ye;let Ce=typeof pe=="function"?pe(ee):pe;return typeof Ce=="string"&&(Ce=Ce.includes("?")||Ce.includes("#")?Ce=C(Ce):{path:Ce},Ce.params={}),yt({query:ee.query,hash:ee.hash,params:Ce.path!=null?{}:ee.params},Ce)}}function H(ee,ye){const pe=p=E(ee),Ce=c.value,rt=ee.state,mt=ee.force,T=ee.replace===!0,O=L(pe);if(O)return H(yt(C(O),{state:typeof O=="object"?yt({},rt,O.state):rt,force:mt,replace:T}),ye||pe);const U=pe;U.redirectedFrom=ye;let re;return!mt&&s4(r,Ce,pe)&&(re=ei(16,{to:U,from:Ce}),Re(Ce,Ce,!0,!1)),(re?Promise.resolve(re):K(U,Ce)).catch(G=>Ur(G)?Ur(G,2)?G:Gt(G):ve(G,U,Ce)).then(G=>{if(G){if(Ur(G,2))return H(yt({replace:T},C(G.to),{state:typeof G.to=="object"?yt({},rt,G.to.state):rt,force:mt}),ye||U)}else G=z(U,Ce,!0,T,rt);return Y(U,Ce,G),G})}function j(ee,ye){const pe=S(ee,ye);return pe?Promise.reject(pe):Promise.resolve()}function q(ee){const ye=Dt.values().next().value;return ye&&typeof ye.runWithContext=="function"?ye.runWithContext(ee):ee()}function K(ee,ye){let pe;const[Ce,rt,mt]=H4(ee,ye);pe=uf(Ce.reverse(),"beforeRouteLeave",ee,ye);for(const O of Ce)O.leaveGuards.forEach(U=>{pe.push(ko(U,ee,ye))});const T=j.bind(null,ee,ye);return pe.push(T),St(pe).then(()=>{pe=[];for(const O of i.list())pe.push(ko(O,ee,ye));return pe.push(T),St(pe)}).then(()=>{pe=uf(rt,"beforeRouteUpdate",ee,ye);for(const O of rt)O.updateGuards.forEach(U=>{pe.push(ko(U,ee,ye))});return pe.push(T),St(pe)}).then(()=>{pe=[];for(const O of mt)if(O.beforeEnter)if(vr(O.beforeEnter))for(const U of O.beforeEnter)pe.push(ko(U,ee,ye));else pe.push(ko(O.beforeEnter,ee,ye));return pe.push(T),St(pe)}).then(()=>(ee.matched.forEach(O=>O.enterCallbacks={}),pe=uf(mt,"beforeRouteEnter",ee,ye,q),pe.push(T),St(pe))).then(()=>{pe=[];for(const O of l.list())pe.push(ko(O,ee,ye));return pe.push(T),St(pe)}).catch(O=>Ur(O,8)?O:Promise.reject(O))}function Y(ee,ye,pe){u.list().forEach(Ce=>q(()=>Ce(ee,ye,pe)))}function z(ee,ye,pe,Ce,rt){const mt=S(ee,ye);if(mt)return mt;const T=ye===dr,O=Bs?history.state:{};pe&&(Ce||T?s.replace(ee.fullPath,yt({scroll:T&&O&&O.scroll},rt)):s.push(ee.fullPath,rt)),c.value=ee,Re(ee,ye,pe,T),Gt()}let be;function ce(){be||(be=s.listen((ee,ye,pe)=>{if(!fn.listening)return;const Ce=E(ee),rt=L(Ce);if(rt){H(yt(rt,{replace:!0}),Ce).catch(zi);return}p=Ce;const mt=c.value;Bs&&p4(E0(mt.fullPath,pe.delta),Su()),K(Ce,mt).catch(T=>Ur(T,12)?T:Ur(T,2)?(H(T.to,Ce).then(O=>{Ur(O,20)&&!pe.delta&&pe.type===na.pop&&s.go(-1,!1)}).catch(zi),Promise.reject()):(pe.delta&&s.go(-pe.delta,!1),ve(T,Ce,mt))).then(T=>{T=T||z(Ce,mt,!1),T&&(pe.delta&&!Ur(T,8)?s.go(-pe.delta,!1):pe.type===na.pop&&Ur(T,20)&&s.go(-1,!1)),Y(Ce,mt,T)}).catch(zi)}))}let ke=Ti(),ie=Ti(),Se;function ve(ee,ye,pe){Gt(ee);const Ce=ie.list();return Ce.length?Ce.forEach(rt=>rt(ee,ye,pe)):console.error(ee),Promise.reject(ee)}function Lt(){return Se&&c.value!==dr?Promise.resolve():new Promise((ee,ye)=>{ke.add([ee,ye])})}function Gt(ee){return Se||(Se=!ee,ce(),ke.list().forEach(([ye,pe])=>ee?pe(ee):ye()),ke.reset()),ee}function Re(ee,ye,pe,Ce){const{scrollBehavior:rt}=e;if(!Bs||!rt)return Promise.resolve();const mt=!pe&&h4(E0(ee.fullPath,0))||(Ce||!pe)&&history.state&&history.state.scroll||null;return an().then(()=>rt(ee,ye,mt)).then(T=>T&&d4(T)).catch(T=>ve(T,ee,ye))}const je=ee=>s.go(ee);let Ft;const Dt=new Set,fn={currentRoute:c,listening:!0,addRoute:v,removeRoute:_,hasRoute:b,getRoutes:x,resolve:E,options:e,push:A,replace:B,go:je,back:()=>je(-1),forward:()=>je(1),beforeEach:i.add,beforeResolve:l.add,afterEach:u.add,onError:ie.add,isReady:Lt,install(ee){const ye=this;ee.component("RouterLink",D4),ee.component("RouterView",e1),ee.config.globalProperties.$router=ye,Object.defineProperty(ee.config.globalProperties,"$route",{enumerable:!0,get:()=>R(c)}),Bs&&!Ft&&c.value===dr&&(Ft=!0,A(s.location).catch(rt=>{}));const pe={};for(const rt in dr)Object.defineProperty(pe,rt,{get:()=>c.value[rt],enumerable:!0});ee.provide(fp,ye),ee.provide(dp,la(pe)),ee.provide(ld,c);const Ce=ee.unmount;Dt.add(ee),ee.unmount=function(){Dt.delete(ee),Dt.size<1&&(p=dr,be&&be(),be=null,c.value=dr,Ft=!1,Se=!1),Ce()}}};function St(ee){return ee.reduce((ye,pe)=>ye.then(()=>q(pe)),Promise.resolve())}return fn}function H4(e,t){const n=[],r=[],s=[],i=Math.max(t.matched.length,e.matched.length);for(let l=0;lXs(p,u))?r.push(u):n.push(u));const c=e.matched[l];c&&(t.matched.find(p=>Xs(p,c))||s.push(c))}return[n,r,s]}function z4(){return Ke(dp)}const W4=(e,t)=>t.path.replace(/(:\w+)\([^)]+\)/g,"$1").replace(/(:\w+)[?+*]/g,"$1").replace(/:\w+/g,n=>{var r;return((r=e.params[n.slice(1)])==null?void 0:r.toString())||""}),ud=(e,t)=>{const n=e.route.matched.find(s=>{var i;return((i=s.components)==null?void 0:i.default)===e.Component.type}),r=t??(n==null?void 0:n.meta.key)??(n&&W4(e.route,n));return typeof r=="function"?r(e.route):r},q4=(e,t)=>({default:()=>e?Xe(AT,e===!0?{}:e,t):t});function pp(e){return Array.isArray(e)?e:[e]}const cf=null,ff=null,df=null,pf=null,hf=null,gf=null,mf=null,vf=null,yf=null,bf=null,N0=[{name:"backtest-id",path:"/backtest/:id()",meta:{},alias:[],redirect:cf==null?void 0:cf.redirect,component:()=>yn(()=>import("./tugWi8BA.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8]),import.meta.url).then(e=>e.default||e)},{name:"backtest",path:"/backtest",meta:{},alias:[],redirect:ff==null?void 0:ff.redirect,component:()=>yn(()=>import("./BYD3ggkR.js"),[],import.meta.url).then(e=>e.default||e)},{name:"candles-id",path:"/candles/:id()",meta:{},alias:[],redirect:df==null?void 0:df.redirect,component:()=>yn(()=>import("./6GW7wvnw.js"),__vite__mapDeps([9,1,4,5,6,8]),import.meta.url).then(e=>e.default||e)},{name:"candles",path:"/candles",meta:{},alias:[],redirect:pf==null?void 0:pf.redirect,component:()=>yn(()=>import("./C9Hyr1fD.js"),[],import.meta.url).then(e=>e.default||e)},{name:"exchange-api-keys",path:"/exchange-api-keys",meta:{},alias:[],redirect:hf==null?void 0:hf.redirect,component:()=>yn(()=>import("./CepOyCjx.js"),__vite__mapDeps([10,6,3,8,11]),import.meta.url).then(e=>e.default||e)},{name:"index",path:"/",meta:{},alias:[],redirect:gf==null?void 0:gf.redirect,component:()=>yn(()=>import("./D-JvFtWi.js"),__vite__mapDeps([12,8]),import.meta.url).then(e=>e.default||e)},{name:"live-id",path:"/live/:id()",meta:{},alias:[],redirect:mf==null?void 0:mf.redirect,component:()=>yn(()=>import("./FAD0u1sW.js"),__vite__mapDeps([13,1,2,3,4,5,6,7,8]),import.meta.url).then(e=>e.default||e)},{name:"live",path:"/live",meta:{},alias:[],redirect:vf==null?void 0:vf.redirect,component:()=>yn(()=>import("./Cuvv8N1X.js"),[],import.meta.url).then(e=>e.default||e)},{name:"notification-api-keys",path:"/notification-api-keys",meta:{},alias:[],redirect:yf==null?void 0:yf.redirect,component:()=>yn(()=>import("./DdRxl-OG.js"),__vite__mapDeps([14,6,3,8,11]),import.meta.url).then(e=>e.default||e)},{name:"optimization",path:"/optimization",meta:{},alias:[],redirect:bf==null?void 0:bf.redirect,component:()=>yn(()=>import("./DmKvV_zz.js"),__vite__mapDeps([15,2,3,4,5,6,8]),import.meta.url).then(e=>e.default||e)}],t1=(e,t,n)=>(t=t===!0?{}:t,{default:()=>{var r;return t?Xe(e,t,n):(r=n.default)==null?void 0:r.call(n)}});function j0(e){const t=(e==null?void 0:e.meta.key)??e.path.replace(/(:\w+)\([^)]+\)/g,"$1").replace(/(:\w+)[?+*]/g,"$1").replace(/:\w+/g,n=>{var r;return((r=e.params[n.slice(1)])==null?void 0:r.toString())||""});return typeof t=="function"?t(e):t}function K4(e,t){return e===t||t===dr?!1:j0(e)!==j0(t)?!0:!e.matched.every((r,s)=>{var i,l;return r.components&&r.components.default===((l=(i=t.matched[s])==null?void 0:i.components)==null?void 0:l.default)})}const G4={scrollBehavior(e,t,n){var p;const r=nt(),s=((p=Wn().options)==null?void 0:p.scrollBehaviorType)??"auto";let i=n||void 0;const l=typeof e.meta.scrollToTop=="function"?e.meta.scrollToTop(e,t):e.meta.scrollToTop;if(!i&&t&&e&&l!==!1&&K4(e,t)&&(i={left:0,top:0}),e.path===t.path)return t.hash&&!e.hash?{left:0,top:0}:e.hash?{el:e.hash,top:U0(e.hash),behavior:s}:!1;const u=d=>!!(d.meta.pageTransition??sd),c=u(t)&&u(e)?"page:transition:finish":"page:finish";return new Promise(d=>{r.hooks.hookOnce(c,async()=>{await new Promise(g=>setTimeout(g,0)),e.hash&&(i={el:e.hash,top:U0(e.hash),behavior:s}),d(i)})})}};function U0(e){try{const t=document.querySelector(e);if(t)return parseFloat(getComputedStyle(t).scrollMarginTop)}catch{}return 0}const J4={hashMode:!0,scrollBehaviorType:"auto"},Vn={...J4,...G4},Z4=async e=>{var c;let t,n;if(!((c=e.meta)!=null&&c.validate))return;const r=nt(),s=Wn();if(([t,n]=ru(()=>Promise.resolve(e.meta.validate(e))),t=await t,n(),t)===!0)return;const l=ga({statusCode:404,statusMessage:`Page Not Found: ${e.fullPath}`,data:{path:e.fullPath}}),u=s.beforeResolve(p=>{if(u(),p===e){const d=s.afterEach(async()=>{d(),await r.runWithContext(()=>Fs(l)),window.history.pushState({},"",e.fullPath)});return!1}})},Y4=[Z4],qi={};function Q4(e,t,n){const{pathname:r,search:s,hash:i}=t,l=e.indexOf("#");if(l>-1){const p=i.includes(e.slice(l))?e.slice(l).length:1;let d=i.slice(p);return d[0]!=="/"&&(d="/"+d),s0(d,"")}const u=s0(r,e),c=!n||kA(u,n,{trailingSlash:!0})?u:n;return c+(c.includes("?")?"":s)+i}const X4=zn({name:"nuxt:router",enforce:"pre",async setup(e){var b,E;let t,n,r=Yr().app.baseURL;Vn.hashMode&&!r.includes("#")&&(r+="#");const s=((b=Vn.history)==null?void 0:b.call(Vn,r))??(Vn.hashMode?y4(r):Zb(r)),i=((E=Vn.routes)==null?void 0:E.call(Vn,N0))??N0;let l;const u=U4({...Vn,scrollBehavior:(C,S,A)=>{if(S===dr){l=A;return}if(Vn.scrollBehavior){if(u.options.scrollBehavior=Vn.scrollBehavior,"scrollRestoration"in window.history){const B=u.beforeEach(()=>{B(),window.history.scrollRestoration="manual"})}return Vn.scrollBehavior(C,dr,l||A)}},history:s,routes:i});"scrollRestoration"in window.history&&(window.history.scrollRestoration="auto"),e.vueApp.use(u);const c=Ir(u.currentRoute.value);u.afterEach((C,S)=>{c.value=S}),Object.defineProperty(e.vueApp.config.globalProperties,"previousRoute",{get:()=>c.value});const p=Q4(r,window.location,e.payload.path),d=Ir(u.currentRoute.value),g=()=>{d.value=u.currentRoute.value};e.hook("page:finish",g),u.afterEach((C,S)=>{var A,B,L,H;((B=(A=C.matched[0])==null?void 0:A.components)==null?void 0:B.default)===((H=(L=S.matched[0])==null?void 0:L.components)==null?void 0:H.default)&&g()});const h={};for(const C in d.value)Object.defineProperty(h,C,{get:()=>d.value[C]});e._route=la(h),e._middleware=e._middleware||{global:[],named:{}};try{[t,n]=ru(()=>u.isReady()),await t,n()}catch(C){[t,n]=ru(()=>e.runWithContext(()=>Fs(C))),await t,n()}const v=p!==u.currentRoute.value.fullPath?u.resolve(p):u.currentRoute.value;g();const _=e.payload.state._layout;u.beforeEach(async(C,S)=>{var A;await e.callHook("page:loading:start"),C.meta=_n(C.meta),e.isHydrating&&_&&!Gs(C.meta.layout)&&(C.meta.layout=_),e._processingMiddleware=!0;{const B=new Set([...Y4,...e._middleware.global]);for(const L of C.matched){const H=L.meta.middleware;if(H)for(const j of pp(H))B.add(j)}for(const L of B){const H=typeof L=="string"?e._middleware.named[L]||await((A=qi[L])==null?void 0:A.call(qi).then(q=>q.default||q)):L;if(!H)throw new Error(`Unknown route middleware: '${L}'.`);const j=await e.runWithContext(()=>H(C,S));if(!e.payload.serverRendered&&e.isHydrating&&(j===!1||j instanceof Error)){const q=j||ed({statusCode:404,statusMessage:`Page Not Found: ${p}`});return await e.runWithContext(()=>Fs(q)),!1}if(j!==!0&&(j||j===!1))return j}}}),u.onError(async()=>{delete e._processingMiddleware,await e.callHook("page:loading:end")});const x=ku();return u.afterEach(async(C,S,A)=>{delete e._processingMiddleware,!e.isHydrating&&x.value&&await e.runWithContext(AI),A&&await e.callHook("page:loading:end"),C.matched.length===0&&await e.runWithContext(()=>Fs(ed({statusCode:404,fatal:!1,statusMessage:`Page not found: ${C.fullPath}`,data:{path:C.fullPath}})))}),e.hooks.hookOnce("app:created",async()=>{try{"name"in v&&(v.name=void 0),await u.replace({...v,force:!0}),u.options.scrollBehavior=Vn.scrollBehavior}catch(C){await e.runWithContext(()=>Fs(C))}}),{provide:{router:u}}}}),cd=globalThis.requestIdleCallback||(e=>{const t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),eR=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),n1=e=>{const t=nt();t.isHydrating?t.hooks.hookOnce("app:suspense:resolve",()=>{cd(e)}):cd(e)},tR=zn({name:"nuxt:payload",setup(e){Wn().beforeResolve(async(t,n)=>{if(t.path===n.path)return;const r=await x0(t.path);r&&Object.assign(e.static.data,r.data)}),n1(()=>{e.hooks.hook("link:prefetch",async t=>{ha(t).protocol||await x0(t)})})}}),nR=!1;/*! * pinia v2.1.7 * (c) 2023 Eduardo San Martin Morote * @license MIT - */let f1;const ba=e=>f1=e,d1=Symbol();function hd(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var Gi;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(Gi||(Gi={}));function gR(){const e=Nd(!0),t=e.run(()=>te({}));let n=[],r=[];const s=Gd({install(i){ba(s),s._a=i,i.provide(d1,s),i.config.globalProperties.$pinia=s,r.forEach(l=>n.push(l)),r=[]},use(i){return!this._a&&!hR?r.push(i):n.push(i),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return s}const p1=()=>{};function J0(e,t,n,r=p1){e.push(t);const s=()=>{const i=e.indexOf(t);i>-1&&(e.splice(i,1),r())};return!n&&Po()&&ps(s),s}function Ms(e,...t){e.slice().forEach(n=>{n(...t)})}const mR=e=>e();function gd(e,t){e instanceof Map&&t instanceof Map&&t.forEach((n,r)=>e.set(r,n)),e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const r=t[n],s=e[n];hd(s)&&hd(r)&&e.hasOwnProperty(n)&&!at(r)&&!us(r)?e[n]=gd(s,r):e[n]=r}return e}const vR=Symbol();function yR(e){return!hd(e)||!e.hasOwnProperty(vR)}const{assign:bo}=Object;function bR(e){return!!(at(e)&&e.effect)}function _R(e,t,n,r){const{state:s,actions:i,getters:l}=t,u=n.state.value[e];let c;function p(){u||(n.state.value[e]=s?s():{});const d=lT(n.state.value[e]);return bo(d,i,Object.keys(l||{}).reduce((g,h)=>(g[h]=Gd(F(()=>{ba(n);const v=n._s.get(e);return l[h].call(v,v)})),g),{}))}return c=h1(e,p,t,n,r,!0),c}function h1(e,t,n={},r,s,i){let l;const u=bo({actions:{}},n),c={deep:!0};let p,d,g=[],h=[],v;const _=r.state.value[e];!i&&!_&&(r.state.value[e]={}),te({});let x;function b(j){let q;p=d=!1,typeof j=="function"?(j(r.state.value[e]),q={type:Gi.patchFunction,storeId:e,events:v}):(gd(r.state.value[e],j),q={type:Gi.patchObject,payload:j,storeId:e,events:v});const K=x=Symbol();an().then(()=>{x===K&&(p=!0)}),d=!0,Ms(g,q,r.state.value[e])}const E=i?function(){const{state:q}=n,K=q?q():{};this.$patch(Y=>{bo(Y,K)})}:p1;function C(){l.stop(),g=[],h=[],r._s.delete(e)}function S(j,q){return function(){ba(r);const K=Array.from(arguments),Y=[],z=[];function be(ie){Y.push(ie)}function ce(ie){z.push(ie)}Ms(h,{args:K,name:j,store:B,after:be,onError:ce});let ke;try{ke=q.apply(this&&this.$id===e?this:B,K)}catch(ie){throw Ms(z,ie),ie}return ke instanceof Promise?ke.then(ie=>(Ms(Y,ie),ie)).catch(ie=>(Ms(z,ie),Promise.reject(ie))):(Ms(Y,ke),ke)}}const A={_p:r,$id:e,$onAction:J0.bind(null,h),$patch:b,$reset:E,$subscribe(j,q={}){const K=J0(g,j,q.detached,()=>Y()),Y=l.run(()=>gt(()=>r.state.value[e],z=>{(q.flush==="sync"?d:p)&&j({storeId:e,type:Gi.direct,events:v},z)},bo({},c,q)));return K},$dispose:C},B=_n(A);r._s.set(e,B);const U=(r._a&&r._a.runWithContext||mR)(()=>r._e.run(()=>(l=Nd()).run(t)));for(const j in U){const q=U[j];if(at(q)&&!bR(q)||us(q))i||(_&&yR(q)&&(at(q)?q.value=_[j]:gd(q,_[j])),r.state.value[e][j]=q);else if(typeof q=="function"){const K=S(j,q);U[j]=K,u.actions[j]=q}}return bo(B,U),bo(ze(B),U),Object.defineProperty(B,"$state",{get:()=>r.state.value[e],set:j=>{b(q=>{bo(q,j)})}}),r._p.forEach(j=>{bo(B,l.run(()=>j({store:B,app:r._a,pinia:r,options:u})))}),_&&i&&n.hydrate&&n.hydrate(B.$state,_),p=!0,d=!0,B}function ii(e,t,n){let r,s;const i=typeof t=="function";typeof e=="string"?(r=e,s=i?n:t):(s=e,r=e.id);function l(u,c){const p=rp();return u=u||(p?Ke(d1,null):null),u&&ba(u),u=f1,u._s.has(r)||(i?h1(r,t,s,u):_R(r,s,u)),u._s.get(r)}return l.$id=r,l}const wR=e=>e==="defer"||e===!1;function xR(...e){var _;const t=typeof e[e.length-1]=="string"?e.pop():void 0;typeof e[0]!="string"&&e.unshift(t);let[n,r,s={}]=e;if(typeof n!="string")throw new TypeError("[nuxt] [asyncData] key must be a string.");if(typeof r!="function")throw new TypeError("[nuxt] [asyncData] handler must be a function.");const i=it(),l=r,u=()=>null,c=()=>i.isHydrating?i.payload.data[n]:i.static.data[n];s.server=s.server??!0,s.default=s.default??u,s.getCachedData=s.getCachedData??c,s.lazy=s.lazy??!1,s.immediate=s.immediate??!0,s.deep=s.deep??N3.deep,s.dedupe=s.dedupe??"cancel";const p=()=>s.getCachedData(n,i)!=null;if(!i._asyncData[n]||!s.immediate){(_=i.payload._errors)[n]??(_[n]=null);const x=s.deep?te:Ir;i._asyncData[n]={data:x(s.getCachedData(n,i)??s.default()),pending:te(!p()),error:Ot(i.payload._errors,n),status:te("idle")}}const d={...i._asyncData[n]};d.refresh=d.execute=(x={})=>{if(i._asyncDataPromises[n]){if(wR(x.dedupe??s.dedupe))return i._asyncDataPromises[n];i._asyncDataPromises[n].cancelled=!0}if((x._initial||i.isHydrating&&x._initial!==!1)&&p())return Promise.resolve(s.getCachedData(n,i));d.pending.value=!0,d.status.value="pending";const b=new Promise((E,C)=>{try{E(l(i))}catch(S){C(S)}}).then(async E=>{if(b.cancelled)return i._asyncDataPromises[n];let C=E;s.transform&&(C=await s.transform(E)),s.pick&&(C=SR(C,s.pick)),i.payload.data[n]=C,d.data.value=C,d.error.value=null,d.status.value="success"}).catch(E=>{if(b.cancelled)return i._asyncDataPromises[n];d.error.value=ya(E),d.data.value=R(s.default()),d.status.value="error"}).finally(()=>{b.cancelled||(d.pending.value=!1,delete i._asyncDataPromises[n])});return i._asyncDataPromises[n]=b,i._asyncDataPromises[n]},d.clear=()=>kR(i,n);const g=()=>d.refresh({_initial:!0}),h=s.server!==!1&&i.payload.serverRendered;{const x=ir();if(x&&!x._nuxtOnBeforeMountCbs){x._nuxtOnBeforeMountCbs=[];const C=x._nuxtOnBeforeMountCbs;Ny(()=>{C.forEach(S=>{S()}),C.splice(0,C.length)}),Ht(()=>C.splice(0,C.length))}h&&i.isHydrating&&(d.error.value||p())?(d.pending.value=!1,d.status.value=d.error.value?"error":"success"):x&&(i.payload.serverRendered&&i.isHydrating||s.lazy)&&s.immediate?x._nuxtOnBeforeMountCbs.push(g):s.immediate&&g();const b=Po();if(s.watch){const C=gt(s.watch,()=>d.refresh());b&&ps(C)}const E=i.hook("app:data:refresh",async C=>{(!C||C.includes(n))&&await d.refresh()});b&&ps(E)}const v=Promise.resolve(i._asyncDataPromises[n]).then(()=>d);return Object.assign(v,d),v}function kR(e,t){t in e.payload.data&&(e.payload.data[t]=void 0),t in e.payload._errors&&(e.payload._errors[t]=null),e._asyncData[t]&&(e._asyncData[t].data.value=void 0,e._asyncData[t].error.value=null,e._asyncData[t].pending.value=!1,e._asyncData[t].status.value="idle"),t in e._asyncDataPromises&&(e._asyncDataPromises[t].cancelled=!0,e._asyncDataPromises[t]=void 0)}function SR(e,t){const n={};for(const r of t)n[r]=e[r];return n}const CR="$s";function _a(...e){const t=typeof e[e.length-1]=="string"?e.pop():void 0;typeof e[0]!="string"&&e.unshift(t);const[n,r]=e;if(!n||typeof n!="string")throw new TypeError("[nuxt] [useState] key must be a string: "+n);if(r!==void 0&&typeof r!="function")throw new Error("[nuxt] [useState] init must be a function: "+r);const s=CR+n,i=it(),l=Ot(i.payload.state,s);if(l.value===void 0&&r){const u=r();if(at(u))return i.payload.state[s]=u,u;l.value=u}return l}function g1(e,t,n){const[r={},s]=typeof t=="string"?[{},t]:[t,n],i=F(()=>Tr(e)),l=r.key||$I([s,typeof i.value=="string"?i.value:"",...ER(r)]);if(!l||typeof l!="string")throw new TypeError("[nuxt] [useFetch] key must be a string: "+l);if(!e)throw new Error("[nuxt] [useFetch] request is missing.");const u=l===s?"$f"+l:l;if(!r.baseURL&&typeof i.value=="string"&&i.value[0]==="/"&&i.value[1]==="/")throw new Error('[nuxt] [useFetch] the request URL must not start with "//".');const{server:c,lazy:p,default:d,transform:g,pick:h,watch:v,immediate:_,getCachedData:x,deep:b,dedupe:E,...C}=r,S=_n({...j3,...C,cache:typeof r.cache=="boolean"?void 0:r.cache}),A={server:c,lazy:p,default:d,transform:g,pick:h,immediate:_,getCachedData:x,deep:b,dedupe:E,watch:v===!1?[]:[S,i,...v||[]]};let B;return xR(u,()=>{var q;(q=B==null?void 0:B.abort)==null||q.call(B),B=typeof AbortController<"u"?new AbortController:{};const U=Tr(r.timeout);return U&&setTimeout(()=>B.abort(),U),(r.$fetch||globalThis.$fetch)(i.value,{signal:B.signal,...S})},A)}function ER(e){var n;const t=[((n=Tr(e.method))==null?void 0:n.toUpperCase())||"GET",Tr(e.baseURL)];for(const r of[e.params||e.query]){const s=Tr(r);if(!s)continue;const i={};for(const[l,u]of Object.entries(s))i[Tr(l)]=Tr(u);t.push(i)}return t}const TR={path:"/",watch:!0,decode:e=>ta(decodeURIComponent(e)),encode:e=>encodeURIComponent(typeof e=="string"?e:JSON.stringify(e))},$R=void 0;function Z0(e,t){var c;const n={...TR,...t},r=Y0(n)||{};let s;n.maxAge!==void 0?s=n.maxAge*1e3:n.expires&&(s=n.expires.getTime()-Date.now());const i=s!==void 0&&s<=0,l=Sr(i?void 0:r[e]??((c=n.default)==null?void 0:c.call(n))),u=s&&!i?RR(l,s,n.watch&&n.watch!=="shallow"):te(l);{let p=null;try{!$R&&typeof BroadcastChannel<"u"&&(p=new BroadcastChannel(`nuxt:cookies:${e}`))}catch{}const d=()=>{n.readonly||Ib(u.value,r[e])||(IR(e,u.value,n),r[e]=Sr(u.value),p==null||p.postMessage({value:n.encode(u.value)}))},g=v=>{var x;const _=v.refresh?(x=Y0(n))==null?void 0:x[e]:n.decode(v.value);h=!0,r[e]=u.value=_,an(()=>{h=!1})};let h=!1;Po()&&ps(()=>{h=!0,d(),p==null||p.close()}),p&&(p.onmessage=({data:v})=>g(v)),n.watch?gt(u,()=>{h||d()},{deep:n.watch!=="shallow"}):d()}return u}function Y0(e={}){return dI(document.cookie,e)}function AR(e,t,n={}){return t==null?g0(e,t,{...n,maxAge:-1}):g0(e,t,n)}function IR(e,t,n={}){document.cookie=AR(e,t,n)}const Q0=2147483647;function RR(e,t,n){let r,s,i=0;const l=n?te(e):{value:e};return Po()&&ps(()=>{s==null||s(),clearTimeout(r)}),xy((u,c)=>{n&&(s=gt(l,c));function p(){clearTimeout(r);const d=t-i,g=d{if(i+=g,i4)return Promise.all(s).then(()=>m1(e,t));t._routePreloaded.add(n);const i=r.map(l=>{var u;return(u=l.components)==null?void 0:u.default}).filter(l=>typeof l=="function");for(const l of i){const u=Promise.resolve(l()).catch(()=>{}).finally(()=>s.splice(s.indexOf(u)));s.push(u)}await Promise.all(s)}function OR(e={}){const t=e.path||window.location.pathname;let n={};try{n=ta(sessionStorage.getItem("nuxt:reload")||"{}")}catch{}if(e.force||(n==null?void 0:n.path)!==t||(n==null?void 0:n.expires){r.value=!0}),bt(v1,!0),s=>{var c;if(r.value)return(c=t.default)==null?void 0:c.call(t);const i=t.fallback||t.placeholder;if(i)return i();const l=s.fallback||s.placeholder||"",u=s.fallbackTag||s.placeholderTag||"span";return Z(u,n,l)}}}),LR="data-n-ids",MR="-";function ai(e){var s,i,l,u,c,p;if(typeof e!="string")throw new TypeError("[nuxt] [useId] key must be a string.");e=`n${e.slice(1)}`;const t=it(),n=ir();if(!n)throw new TypeError("[nuxt] `useId` must be called within a component setup function.");t._id||(t._id=0),n._nuxtIdIndex||(n._nuxtIdIndex={}),(s=n._nuxtIdIndex)[e]||(s[e]=0);const r=e+MR+n._nuxtIdIndex[e]++;if(t.payload.serverRendered&&t.isHydrating&&!Ke(v1,!1)){const d=((i=n.vnode.el)==null?void 0:i.nodeType)===8&&((u=(l=n.vnode.el)==null?void 0:l.nextElementSibling)!=null&&u.getAttribute)?(c=n.vnode.el)==null?void 0:c.nextElementSibling:n.vnode.el,g=JSON.parse(((p=d==null?void 0:d.getAttribute)==null?void 0:p.call(d,LR))||"{}");if(g[r])return g[r]}return e+"_"+t._id++}const BR=(...e)=>e.find(t=>t!==void 0);function FR(e){const t=e.componentName||"NuxtLink";function n(r,s){if(!r||e.trailingSlash!=="append"&&e.trailingSlash!=="remove")return r;if(typeof r=="string")return X0(r,e.trailingSlash);const i="path"in r&&r.path!==void 0?r.path:s(r).path;return{...r,name:void 0,path:X0(i,e.trailingSlash)}}return we({name:t,props:{to:{type:[String,Object],default:void 0,required:!1},href:{type:[String,Object],default:void 0,required:!1},target:{type:String,default:void 0,required:!1},rel:{type:String,default:void 0,required:!1},noRel:{type:Boolean,default:void 0,required:!1},prefetch:{type:Boolean,default:void 0,required:!1},noPrefetch:{type:Boolean,default:void 0,required:!1},activeClass:{type:String,default:void 0,required:!1},exactActiveClass:{type:String,default:void 0,required:!1},prefetchedClass:{type:String,default:void 0,required:!1},replace:{type:Boolean,default:void 0,required:!1},ariaCurrentValue:{type:String,default:void 0,required:!1},external:{type:Boolean,default:void 0,required:!1},custom:{type:Boolean,default:void 0,required:!1}},setup(r,{slots:s}){const i=Wn(),l=Yr(),u=F(()=>{const _=r.to||r.href||"";return n(_,i.resolve)}),c=F(()=>typeof u.value=="string"&&Xr(u.value,{acceptRelative:!0})),p=F(()=>r.target&&r.target!=="_self"),d=F(()=>r.external||p.value?!0:typeof u.value=="object"?!1:u.value===""||c.value),g=te(!1),h=te(null),v=_=>{var x;h.value=r.custom?(x=_==null?void 0:_.$el)==null?void 0:x.nextElementSibling:_==null?void 0:_.$el};if(r.prefetch!==!1&&r.noPrefetch!==!0&&r.target!=="_blank"&&!VR()){const x=it();let b,E=null;ct(()=>{const C=DR();yp(()=>{b=pd(()=>{var S;(S=h==null?void 0:h.value)!=null&&S.tagName&&(E=C.observe(h.value,async()=>{E==null||E(),E=null;const A=typeof u.value=="string"?u.value:i.resolve(u.value).fullPath;await Promise.all([x.hooks.callHook("link:prefetch",A).catch(()=>{}),!d.value&&m1(u.value,i).catch(()=>{})]),g.value=!0}))})})}),pa(()=>{b&&fR(b),E==null||E(),E=null})}return()=>{var E,C;if(!d.value){const S={ref:v,to:u.value,activeClass:r.activeClass||e.activeClass,exactActiveClass:r.exactActiveClass||e.exactActiveClass,replace:r.replace,ariaCurrentValue:r.ariaCurrentValue,custom:r.custom};return r.custom||(g.value&&(S.class=r.prefetchedClass||e.prefetchedClass),S.rel=r.rel||void 0),Xe(hr("RouterLink"),S,s.default)}const _=typeof u.value=="object"?((E=i.resolve(u.value))==null?void 0:E.href)??null:u.value&&!r.external&&!c.value?n(ku(l.app.baseURL,u.value),i.resolve):u.value||null,x=r.target||null,b=BR(r.noRel?"":r.rel,e.externalRelAttribute,c.value||p.value?"noopener noreferrer":"")||null;if(r.custom){if(!s.default)return null;const S=()=>Io(_,{replace:r.replace,external:r.external});return s.default({href:_,navigate:S,get route(){if(!_)return;const A=ma(_);return{path:A.pathname,fullPath:A.pathname,get query(){return yb(A.search)},hash:A.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:_}},rel:b,target:x,isExternal:d.value,isActive:!1,isExactActive:!1})}return Xe("a",{ref:h,href:_,rel:b,target:x},(C=s.default)==null?void 0:C.call(s))}}})}const md=FR(V3);function X0(e,t){const n=t==="append"?ru:xu;return Xr(e)&&!e.startsWith("http")?e:n(e,!0)}function DR(){const e=it();if(e._observer)return e._observer;let t=null;const n=new Map,r=(i,l)=>(t||(t=new IntersectionObserver(u=>{for(const c of u){const p=n.get(c.target);(c.isIntersecting||c.intersectionRatio>0)&&p&&p()}})),n.set(i,l),t.observe(i),()=>{n.delete(i),t.unobserve(i),n.size===0&&(t.disconnect(),t=null)});return e._observer={observe:r}}function VR(){const e=navigator.connection;return!!(e&&(e.saveData||/2g/.test(e.effectiveType)))}const NR=On(e=>{const t=gR();return e.vueApp.use(t),ba(t),e.payload&&e.payload.pinia&&(t.state.value=e.payload.pinia),{provide:{pinia:t}}}),jR=Jl(()=>yn(()=>Promise.resolve().then(()=>W6),void 0,import.meta.url).then(e=>e.default||e.default||e)),UR=Jl(()=>yn(()=>import("./DRc3OcXn.js"),__vite__mapDeps([16,17]),import.meta.url).then(e=>e.default||e.default||e)),HR=[["Icon",jR],["IconCSS",UR]],zR=On({name:"nuxt:global-components",setup(e){for(const[t,n]of HR)e.vueApp.component(t,n),e.vueApp.component("Lazy"+t,n)}}),Co={default:()=>yn(()=>import("./D_1umqD3.js"),[],import.meta.url).then(e=>e.default||e)},WR=On({name:"nuxt:prefetch",setup(e){const t=Wn();e.hooks.hook("app:mounted",()=>{t.beforeEach(async n=>{var s;const r=(s=n==null?void 0:n.meta)==null?void 0:s.layout;r&&typeof Co[r]=="function"&&await Co[r]()})}),e.hooks.hook("link:prefetch",n=>{if(Xr(n))return;const r=t.resolve(n);if(!r)return;const s=r.meta.layout;let i=vp(r.meta.middleware);i=i.filter(l=>typeof l=="string");for(const l of i)typeof Ki[l]=="function"&&Ki[l]();s&&typeof Co[s]=="function"&&Co[s]()})}});function vd(e){return Po()?(ps(e),!0):!1}function gs(e){return typeof e=="function"?e():R(e)}const yd=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const ev=()=>+Date.now(),sa=()=>{};function y1(e,t){function n(...r){return new Promise((s,i)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(s).catch(i)})}return n}function qR(e,t={}){let n,r,s=sa;const i=u=>{clearTimeout(u),s(),s=sa};return u=>{const c=gs(e),p=gs(t.maxWait);return n&&i(n),c<=0||p!==void 0&&p<=0?(r&&(i(r),r=null),Promise.resolve(u())):new Promise((d,g)=>{s=t.rejectOnCancel?g:d,p&&!r&&(r=setTimeout(()=>{n&&i(n),r=null,d(u())},p)),n=setTimeout(()=>{r&&i(r),r=null,d(u())},c)})}}function KR(...e){let t=0,n,r=!0,s=sa,i,l,u,c,p;!at(e[0])&&typeof e[0]=="object"?{delay:l,trailing:u=!0,leading:c=!0,rejectOnCancel:p=!1}=e[0]:[l,u=!0,c=!0,p=!1]=e;const d=()=>{n&&(clearTimeout(n),n=void 0,s(),s=sa)};return h=>{const v=gs(l),_=Date.now()-t,x=()=>i=h();return d(),v<=0?(t=Date.now(),x()):(_>v&&(c||!r)?(t=Date.now(),x()):u&&(i=new Promise((b,E)=>{s=p?E:b,n=setTimeout(()=>{t=Date.now(),r=!0,b(x()),d()},Math.max(0,v-_))})),!c&&!n&&(n=setTimeout(()=>r=!0,v)),r=!1,i)}}function GR(e,t=200,n={}){return y1(qR(t,n),e)}function JR(e,t=200,n=!1,r=!0,s=!1){return y1(KR(t,n,r,s),e)}function b1(e,t=1e3,n={}){const{immediate:r=!0,immediateCallback:s=!1}=n;let i=null;const l=te(!1);function u(){i&&(clearInterval(i),i=null)}function c(){l.value=!1,u()}function p(){const d=gs(t);d<=0||(l.value=!0,s&&e(),u(),i=setInterval(e,d))}if(r&&yd&&p(),at(t)||typeof t=="function"){const d=gt(t,()=>{l.value&&yd&&p()});vd(d)}return vd(c),{isActive:l,pause:c,resume:p}}function UF(e,t,n){let r;at(n)?r={evaluating:n}:r=n||{};const{lazy:s=!1,evaluating:i=void 0,shallow:l=!0,onError:u=sa}=r,c=te(!s),p=l?Ir(t):te(t);let d=0;return Xt(async g=>{if(!c.value)return;d++;const h=d;let v=!1;i&&Promise.resolve().then(()=>{i.value=!0});try{const _=await e(x=>{g(()=>{i&&(i.value=!1),v||x()})});h===d&&(p.value=_)}catch(_){u(_)}finally{i&&h===d&&(i.value=!1),v=!0}}),s?F(()=>(c.value=!0,p.value)):p}function HF(e){var t;const n=gs(e);return(t=n==null?void 0:n.$el)!=null?t:n}const ZR=yd?window:void 0;function _1(e,t={}){const{immediate:n=!0,fpsLimit:r=void 0,window:s=ZR}=t,i=te(!1),l=r?1e3/r:null;let u=0,c=null;function p(h){if(!i.value||!s)return;u||(u=h);const v=h-u;if(l&&vs(u);return(c=t==null?void 0:t.cleanups)==null||c.push(d),d}function r(u){function c(...p){s(c),u(...p)}return n(c)}function s(u){const c=Ai.get(e);c&&(c.delete(u),c.size||i())}function i(){Ai.delete(e)}function l(u,c){var p;(p=Ai.get(e))==null||p.forEach(d=>d(u,c))}return{on:n,once:r,off:s,emit:l,reset:i}}function QR(e={}){const{controls:t=!1,interval:n="requestAnimationFrame"}=e,r=te(new Date),s=()=>r.value=new Date,i=n==="requestAnimationFrame"?_1(s,{immediate:!0}):b1(s,n,{immediate:!0});return t?{now:r,...i}:r}const XR=[{max:6e4,value:1e3,name:"second"},{max:276e4,value:6e4,name:"minute"},{max:72e6,value:36e5,name:"hour"},{max:5184e5,value:864e5,name:"day"},{max:24192e5,value:6048e5,name:"week"},{max:28512e6,value:2592e6,name:"month"},{max:Number.POSITIVE_INFINITY,value:31536e6,name:"year"}],eO={justNow:"just now",past:e=>e.match(/\d/)?`${e} ago`:e,future:e=>e.match(/\d/)?`in ${e}`:e,month:(e,t)=>e===1?t?"last month":"next month":`${e} month${e>1?"s":""}`,year:(e,t)=>e===1?t?"last year":"next year":`${e} year${e>1?"s":""}`,day:(e,t)=>e===1?t?"yesterday":"tomorrow":`${e} day${e>1?"s":""}`,week:(e,t)=>e===1?t?"last week":"next week":`${e} week${e>1?"s":""}`,hour:e=>`${e} hour${e>1?"s":""}`,minute:e=>`${e} minute${e>1?"s":""}`,second:e=>`${e} second${e>1?"s":""}`,invalid:""};function tO(e){return e.toISOString().slice(0,10)}function zF(e,t={}){const{controls:n=!1,updateInterval:r=3e4}=t,{now:s,...i}=QR({interval:r,controls:!0}),l=F(()=>nO(new Date(gs(e)),t,gs(s)));return n?{timeAgo:l,...i}:l}function nO(e,t={},n=Date.now()){var r;const{max:s,messages:i=eO,fullDateFormatter:l=tO,units:u=XR,showSecond:c=!1,rounding:p="round"}=t,d=typeof p=="number"?b=>+b.toFixed(p):Math[p],g=+n-+e,h=Math.abs(g);function v(b,E){return d(Math.abs(b)/E.value)}function _(b,E){const C=v(b,E),S=b>0,A=x(E.name,C,S);return x(S?"past":"future",A,S)}function x(b,E,C){const S=i[b];return typeof S=="function"?S(E,C):S.replace("{0}",E.toString())}if(h<6e4&&!c)return i.justNow;if(typeof s=="number"&&h>s)return l(new Date(e));if(typeof s=="string"){const b=(r=u.find(E=>E.name===s))==null?void 0:r.max;if(b&&h>b)return l(new Date(e))}for(const[b,E]of u.entries()){if(v(g,E)<=0&&u[b-1])return _(g,u[b-1]);if(hl.value=ev()+n,c=i?()=>{u(),i(l.value)}:u,p=s==="requestAnimationFrame"?_1(c,{immediate:r}):b1(c,s,{immediate:r});return t?{timestamp:l,...p}:l}const oO=Symbol("nuxt-ui.slideover"),sO=On(e=>{const t=Ir({component:"div",props:{}});e.vueApp.provide(oO,t)}),iO=Symbol("nuxt-ui.modal"),aO=On(e=>{const t=Ir({component:"div",props:{}});e.vueApp.provide(iO,t)}),bp="-";function lO(e){const t=cO(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;function s(l){const u=l.split(bp);return u[0]===""&&u.length!==1&&u.shift(),w1(u,t)||uO(l)}function i(l,u){const c=n[l]||[];return u&&r[l]?[...c,...r[l]]:c}return{getClassGroupId:s,getConflictingClassGroupIds:i}}function w1(e,t){var l;if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),s=r?w1(e.slice(1),r):void 0;if(s)return s;if(t.validators.length===0)return;const i=e.join(bp);return(l=t.validators.find(({validator:u})=>u(i)))==null?void 0:l.classGroupId}const tv=/^\[(.+)\]$/;function uO(e){if(tv.test(e)){const t=tv.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}}function cO(e){const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return dO(Object.entries(e.classGroups),n).forEach(([i,l])=>{bd(l,r,i,t)}),r}function bd(e,t,n,r){e.forEach(s=>{if(typeof s=="string"){const i=s===""?t:nv(t,s);i.classGroupId=n;return}if(typeof s=="function"){if(fO(s)){bd(s(r),t,n,r);return}t.validators.push({validator:s,classGroupId:n});return}Object.entries(s).forEach(([i,l])=>{bd(l,nv(t,i),n,r)})})}function nv(e,t){let n=e;return t.split(bp).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n}function fO(e){return e.isThemeGetter}function dO(e,t){return t?e.map(([n,r])=>{const s=r.map(i=>typeof i=="string"?t+i:typeof i=="object"?Object.fromEntries(Object.entries(i).map(([l,u])=>[t+l,u])):i);return[n,s]}):e}function pO(e){if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;function s(i,l){n.set(i,l),t++,t>e&&(t=0,r=n,n=new Map)}return{get(i){let l=n.get(i);if(l!==void 0)return l;if((l=r.get(i))!==void 0)return s(i,l),l},set(i,l){n.has(i)?n.set(i,l):s(i,l)}}}const x1="!";function hO(e){const t=e.separator,n=t.length===1,r=t[0],s=t.length;return function(l){const u=[];let c=0,p=0,d;for(let x=0;xp?d-p:void 0;return{modifiers:u,hasImportantModifier:h,baseClassName:v,maybePostfixModifierPosition:_}}}function gO(e){if(e.length<=1)return e;const t=[];let n=[];return e.forEach(r=>{r[0]==="["?(t.push(...n.sort(),r),n=[]):n.push(r)}),t.push(...n.sort()),t}function mO(e){return{cache:pO(e.cacheSize),splitModifiers:hO(e),...lO(e)}}const vO=/\s+/;function yO(e,t){const{splitModifiers:n,getClassGroupId:r,getConflictingClassGroupIds:s}=t,i=new Set;return e.trim().split(vO).map(l=>{const{modifiers:u,hasImportantModifier:c,baseClassName:p,maybePostfixModifierPosition:d}=n(l);let g=r(d?p.substring(0,d):p),h=!!d;if(!g){if(!d)return{isTailwindClass:!1,originalClassName:l};if(g=r(p),!g)return{isTailwindClass:!1,originalClassName:l};h=!1}const v=gO(u).join(":");return{isTailwindClass:!0,modifierId:c?v+x1:v,classGroupId:g,originalClassName:l,hasPostfixModifier:h}}).reverse().filter(l=>{if(!l.isTailwindClass)return!0;const{modifierId:u,classGroupId:c,hasPostfixModifier:p}=l,d=u+c;return i.has(d)?!1:(i.add(d),s(c,p).forEach(g=>i.add(u+g)),!0)}).reverse().map(l=>l.originalClassName).join(" ")}function pt(){let e=0,t,n,r="";for(;eg(d),e());return n=mO(p),r=n.cache.get,s=n.cache.set,i=u,u(c)}function u(c){const p=r(c);if(p)return p;const d=yO(c,n);return s(c,d),d}return function(){return i(pt.apply(null,arguments))}}function $t(e){const t=n=>n[e]||[];return t.isThemeGetter=!0,t}const S1=/^\[(?:([a-z-]+):)?(.+)\]$/i,bO=/^\d+\/\d+$/,_O=new Set(["px","full","screen"]),wO=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,xO=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,kO=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,SO=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,CO=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;function Hr(e){return ss(e)||_O.has(e)||bO.test(e)}function mo(e){return li(e,"length",PO)}function ss(e){return!!e&&!Number.isNaN(Number(e))}function Tl(e){return li(e,"number",ss)}function Ii(e){return!!e&&Number.isInteger(Number(e))}function EO(e){return e.endsWith("%")&&ss(e.slice(0,-1))}function qe(e){return S1.test(e)}function vo(e){return wO.test(e)}const TO=new Set(["length","size","percentage"]);function $O(e){return li(e,TO,C1)}function AO(e){return li(e,"position",C1)}const IO=new Set(["image","url"]);function RO(e){return li(e,IO,MO)}function OO(e){return li(e,"",LO)}function Ri(){return!0}function li(e,t,n){const r=S1.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):n(r[2]):!1}function PO(e){return xO.test(e)&&!kO.test(e)}function C1(){return!1}function LO(e){return SO.test(e)}function MO(e){return CO.test(e)}function wd(){const e=$t("colors"),t=$t("spacing"),n=$t("blur"),r=$t("brightness"),s=$t("borderColor"),i=$t("borderRadius"),l=$t("borderSpacing"),u=$t("borderWidth"),c=$t("contrast"),p=$t("grayscale"),d=$t("hueRotate"),g=$t("invert"),h=$t("gap"),v=$t("gradientColorStops"),_=$t("gradientColorStopPositions"),x=$t("inset"),b=$t("margin"),E=$t("opacity"),C=$t("padding"),S=$t("saturate"),A=$t("scale"),B=$t("sepia"),L=$t("skew"),U=$t("space"),j=$t("translate"),q=()=>["auto","contain","none"],K=()=>["auto","hidden","clip","visible","scroll"],Y=()=>["auto",qe,t],z=()=>[qe,t],be=()=>["",Hr,mo],ce=()=>["auto",ss,qe],ke=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],ie=()=>["solid","dashed","dotted","double","none"],Se=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ve=()=>["start","end","center","between","around","evenly","stretch"],Lt=()=>["","0",qe],Gt=()=>["auto","avoid","all","avoid-page","page","left","right","column"],Re=()=>[ss,Tl],je=()=>[ss,qe];return{cacheSize:500,separator:":",theme:{colors:[Ri],spacing:[Hr,mo],blur:["none","",vo,qe],brightness:Re(),borderColor:[e],borderRadius:["none","","full",vo,qe],borderSpacing:z(),borderWidth:be(),contrast:Re(),grayscale:Lt(),hueRotate:je(),invert:Lt(),gap:z(),gradientColorStops:[e],gradientColorStopPositions:[EO,mo],inset:Y(),margin:Y(),opacity:Re(),padding:z(),saturate:Re(),scale:Re(),sepia:Lt(),skew:je(),space:z(),translate:z()},classGroups:{aspect:[{aspect:["auto","square","video",qe]}],container:["container"],columns:[{columns:[vo]}],"break-after":[{"break-after":Gt()}],"break-before":[{"break-before":Gt()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...ke(),qe]}],overflow:[{overflow:K()}],"overflow-x":[{"overflow-x":K()}],"overflow-y":[{"overflow-y":K()}],overscroll:[{overscroll:q()}],"overscroll-x":[{"overscroll-x":q()}],"overscroll-y":[{"overscroll-y":q()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[x]}],"inset-x":[{"inset-x":[x]}],"inset-y":[{"inset-y":[x]}],start:[{start:[x]}],end:[{end:[x]}],top:[{top:[x]}],right:[{right:[x]}],bottom:[{bottom:[x]}],left:[{left:[x]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Ii,qe]}],basis:[{basis:Y()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",qe]}],grow:[{grow:Lt()}],shrink:[{shrink:Lt()}],order:[{order:["first","last","none",Ii,qe]}],"grid-cols":[{"grid-cols":[Ri]}],"col-start-end":[{col:["auto",{span:["full",Ii,qe]},qe]}],"col-start":[{"col-start":ce()}],"col-end":[{"col-end":ce()}],"grid-rows":[{"grid-rows":[Ri]}],"row-start-end":[{row:["auto",{span:[Ii,qe]},qe]}],"row-start":[{"row-start":ce()}],"row-end":[{"row-end":ce()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",qe]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",qe]}],gap:[{gap:[h]}],"gap-x":[{"gap-x":[h]}],"gap-y":[{"gap-y":[h]}],"justify-content":[{justify:["normal",...ve()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...ve(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...ve(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[C]}],px:[{px:[C]}],py:[{py:[C]}],ps:[{ps:[C]}],pe:[{pe:[C]}],pt:[{pt:[C]}],pr:[{pr:[C]}],pb:[{pb:[C]}],pl:[{pl:[C]}],m:[{m:[b]}],mx:[{mx:[b]}],my:[{my:[b]}],ms:[{ms:[b]}],me:[{me:[b]}],mt:[{mt:[b]}],mr:[{mr:[b]}],mb:[{mb:[b]}],ml:[{ml:[b]}],"space-x":[{"space-x":[U]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[U]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",qe,t]}],"min-w":[{"min-w":[qe,t,"min","max","fit"]}],"max-w":[{"max-w":[qe,t,"none","full","min","max","fit","prose",{screen:[vo]},vo]}],h:[{h:[qe,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[qe,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[qe,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[qe,t,"auto","min","max","fit"]}],"font-size":[{text:["base",vo,mo]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Tl]}],"font-family":[{font:[Ri]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",qe]}],"line-clamp":[{"line-clamp":["none",ss,Tl]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Hr,qe]}],"list-image":[{"list-image":["none",qe]}],"list-style-type":[{list:["none","disc","decimal",qe]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[E]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[E]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...ie(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",Hr,mo]}],"underline-offset":[{"underline-offset":["auto",Hr,qe]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:z()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",qe]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",qe]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[E]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...ke(),AO]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",$O]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},RO]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[_]}],"gradient-via-pos":[{via:[_]}],"gradient-to-pos":[{to:[_]}],"gradient-from":[{from:[v]}],"gradient-via":[{via:[v]}],"gradient-to":[{to:[v]}],rounded:[{rounded:[i]}],"rounded-s":[{"rounded-s":[i]}],"rounded-e":[{"rounded-e":[i]}],"rounded-t":[{"rounded-t":[i]}],"rounded-r":[{"rounded-r":[i]}],"rounded-b":[{"rounded-b":[i]}],"rounded-l":[{"rounded-l":[i]}],"rounded-ss":[{"rounded-ss":[i]}],"rounded-se":[{"rounded-se":[i]}],"rounded-ee":[{"rounded-ee":[i]}],"rounded-es":[{"rounded-es":[i]}],"rounded-tl":[{"rounded-tl":[i]}],"rounded-tr":[{"rounded-tr":[i]}],"rounded-br":[{"rounded-br":[i]}],"rounded-bl":[{"rounded-bl":[i]}],"border-w":[{border:[u]}],"border-w-x":[{"border-x":[u]}],"border-w-y":[{"border-y":[u]}],"border-w-s":[{"border-s":[u]}],"border-w-e":[{"border-e":[u]}],"border-w-t":[{"border-t":[u]}],"border-w-r":[{"border-r":[u]}],"border-w-b":[{"border-b":[u]}],"border-w-l":[{"border-l":[u]}],"border-opacity":[{"border-opacity":[E]}],"border-style":[{border:[...ie(),"hidden"]}],"divide-x":[{"divide-x":[u]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[u]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[E]}],"divide-style":[{divide:ie()}],"border-color":[{border:[s]}],"border-color-x":[{"border-x":[s]}],"border-color-y":[{"border-y":[s]}],"border-color-t":[{"border-t":[s]}],"border-color-r":[{"border-r":[s]}],"border-color-b":[{"border-b":[s]}],"border-color-l":[{"border-l":[s]}],"divide-color":[{divide:[s]}],"outline-style":[{outline:["",...ie()]}],"outline-offset":[{"outline-offset":[Hr,qe]}],"outline-w":[{outline:[Hr,mo]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:be()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[E]}],"ring-offset-w":[{"ring-offset":[Hr,mo]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",vo,OO]}],"shadow-color":[{shadow:[Ri]}],opacity:[{opacity:[E]}],"mix-blend":[{"mix-blend":[...Se(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Se()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",vo,qe]}],grayscale:[{grayscale:[p]}],"hue-rotate":[{"hue-rotate":[d]}],invert:[{invert:[g]}],saturate:[{saturate:[S]}],sepia:[{sepia:[B]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[p]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[d]}],"backdrop-invert":[{"backdrop-invert":[g]}],"backdrop-opacity":[{"backdrop-opacity":[E]}],"backdrop-saturate":[{"backdrop-saturate":[S]}],"backdrop-sepia":[{"backdrop-sepia":[B]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[l]}],"border-spacing-x":[{"border-spacing-x":[l]}],"border-spacing-y":[{"border-spacing-y":[l]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",qe]}],duration:[{duration:je()}],ease:[{ease:["linear","in","out","in-out",qe]}],delay:[{delay:je()}],animate:[{animate:["none","spin","ping","pulse","bounce",qe]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[A]}],"scale-x":[{"scale-x":[A]}],"scale-y":[{"scale-y":[A]}],rotate:[{rotate:[Ii,qe]}],"translate-x":[{"translate-x":[j]}],"translate-y":[{"translate-y":[j]}],"skew-x":[{"skew-x":[L]}],"skew-y":[{"skew-y":[L]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",qe]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",qe]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":z()}],"scroll-mx":[{"scroll-mx":z()}],"scroll-my":[{"scroll-my":z()}],"scroll-ms":[{"scroll-ms":z()}],"scroll-me":[{"scroll-me":z()}],"scroll-mt":[{"scroll-mt":z()}],"scroll-mr":[{"scroll-mr":z()}],"scroll-mb":[{"scroll-mb":z()}],"scroll-ml":[{"scroll-ml":z()}],"scroll-p":[{"scroll-p":z()}],"scroll-px":[{"scroll-px":z()}],"scroll-py":[{"scroll-py":z()}],"scroll-ps":[{"scroll-ps":z()}],"scroll-pe":[{"scroll-pe":z()}],"scroll-pt":[{"scroll-pt":z()}],"scroll-pr":[{"scroll-pr":z()}],"scroll-pb":[{"scroll-pb":z()}],"scroll-pl":[{"scroll-pl":z()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",qe]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[Hr,mo,Tl]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}}function BO(e,{cacheSize:t,prefix:n,separator:r,extend:s={},override:i={}}){Nl(e,"cacheSize",t),Nl(e,"prefix",n),Nl(e,"separator",r);for(const l in i)FO(e[l],i[l]);for(const l in s)DO(e[l],s[l]);return e}function Nl(e,t,n){n!==void 0&&(e[t]=n)}function FO(e,t){if(t)for(const n in t)Nl(e,n,t[n])}function DO(e,t){if(t)for(const n in t){const r=t[n];r!==void 0&&(e[n]=(e[n]||[]).concat(r))}}function VO(e,...t){return typeof e=="function"?_d(wd,e,...t):_d(()=>BO(wd(),e),...t)}const Hn=_d(wd);function NO(e,t){const n={...e};for(const r of t)delete n[r];return n}function Vi(e,t,n){typeof t=="string"&&(t=t.split(".").map(s=>{const i=Number(s);return isNaN(i)?s:i}));let r=e;for(const s of t){if(r==null)return n;r=r[s]}return r!==void 0?r:n}const _p={to:{type:[String,Object],default:void 0,required:!1},href:{type:[String,Object],default:void 0,required:!1},target:{type:String,default:void 0,required:!1},rel:{type:String,default:void 0,required:!1},noRel:{type:Boolean,default:void 0,required:!1},prefetch:{type:Boolean,default:void 0,required:!1},noPrefetch:{type:Boolean,default:void 0,required:!1},activeClass:{type:String,default:void 0,required:!1},exactActiveClass:{type:String,default:void 0,required:!1},prefetchedClass:{type:String,default:void 0,required:!1},replace:{type:Boolean,default:void 0,required:!1},ariaCurrentValue:{type:String,default:void 0,required:!1},external:{type:Boolean,default:void 0,required:!1}},jO=e=>Object.keys(_p).reduce((n,r)=>(e[r]!==void 0&&(n[r]=e[r]),n),{}),UO=VO({extend:{classGroups:{icons:[e=>/^i-/.test(e)]}}}),HO=cp((e,t,n,r)=>{if(r==="default"||r.startsWith("default.")||r==="popper"||r.startsWith("popper.")||r.endsWith("avatar")&&t==="size"||r.endsWith("chip")&&t==="size"||r.endsWith("badge")&&t==="size"||t==="color"||t==="variant")return!1;if(typeof e[t]=="string"&&typeof n=="string"&&e[t]&&n)return e[t]=UO(e[t],n),!0});function wn(e,...t){return e==="override"?va({},...t):HO({},...t)}function rv(e){const t=/^#?([a-f\d])([a-f\d])([a-f\d])$/i;e=e.replace(t,function(r,s,i,l){return s+s+i+i+l+l});const n=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);return n?`${parseInt(n[1],16)} ${parseInt(n[2],16)} ${parseInt(n[3],16)}`:null}function E1(e){const t=parseFloat(e);return isNaN(t)?e:t}const zO="inherit",WO="currentColor",qO="transparent",KO="#000",GO="#fff",JO={50:"#f8fafc",100:"#f1f5f9",200:"#e2e8f0",300:"#cbd5e1",400:"#94a3b8",500:"#64748b",600:"#475569",700:"#334155",800:"#1e293b",900:"#0f172a",950:"#020617"},ZO={50:"rgb(var(--color-gray-50) / )",100:"rgb(var(--color-gray-100) / )",200:"rgb(var(--color-gray-200) / )",300:"rgb(var(--color-gray-300) / )",400:"rgb(var(--color-gray-400) / )",500:"rgb(var(--color-gray-500) / )",600:"rgb(var(--color-gray-600) / )",700:"rgb(var(--color-gray-700) / )",800:"rgb(var(--color-gray-800) / )",900:"rgb(var(--color-gray-900) / )",950:"rgb(var(--color-gray-950) / )"},YO={50:"#fafafa",100:"#f4f4f5",200:"#e4e4e7",300:"#d4d4d8",400:"#a1a1aa",500:"#71717a",600:"#52525b",700:"#3f3f46",800:"#27272a",900:"#18181b",950:"#09090b"},QO={50:"#fafafa",100:"#f5f5f5",200:"#e5e5e5",300:"#d4d4d4",400:"#a3a3a3",500:"#737373",600:"#525252",700:"#404040",800:"#262626",900:"#171717",950:"#0a0a0a"},XO={50:"#fafaf9",100:"#f5f5f4",200:"#e7e5e4",300:"#d6d3d1",400:"#a8a29e",500:"#78716c",600:"#57534e",700:"#44403c",800:"#292524",900:"#1c1917",950:"#0c0a09"},eP={50:"#fef2f2",100:"#fee2e2",200:"#fecaca",300:"#fca5a5",400:"#f87171",500:"#ef4444",600:"#dc2626",700:"#b91c1c",800:"#991b1b",900:"#7f1d1d",950:"#450a0a"},tP={50:"#fff7ed",100:"#ffedd5",200:"#fed7aa",300:"#fdba74",400:"#fb923c",500:"#f97316",600:"#ea580c",700:"#c2410c",800:"#9a3412",900:"#7c2d12",950:"#431407"},nP={50:"#fffbeb",100:"#fef3c7",200:"#fde68a",300:"#fcd34d",400:"#fbbf24",500:"#f59e0b",600:"#d97706",700:"#b45309",800:"#92400e",900:"#78350f",950:"#451a03"},rP={50:"#fffbeb",100:"#fef3c7",200:"#fde68a",300:"#fcd34d",400:"#fbbf24",500:"#f59e0b",600:"#d97706",700:"#b45309",800:"#92400e",900:"#78350f",950:"#451a03"},oP={50:"#f7fee7",100:"#ecfccb",200:"#d9f99d",300:"#bef264",400:"#a3e635",500:"#84cc16",600:"#65a30d",700:"#4d7c0f",800:"#3f6212",900:"#365314",950:"#1a2e05"},sP={50:"#f0fdfa",100:"#ccfbf1",200:"#99f6e4",300:"#5eead4",400:"#2dd4bf",500:"#14b8a6",600:"#0d9488",700:"#0f766e",800:"#115e59",900:"#134e4a",950:"#042f2e"},iP={50:"#ecfdf5",100:"#d1fae5",200:"#a7f3d0",300:"#6ee7b7",400:"#34d399",500:"#10b981",600:"#059669",700:"#047857",800:"#065f46",900:"#064e3b",950:"#022c22"},aP={50:"#f0fdfa",100:"#ccfbf1",200:"#99f6e4",300:"#5eead4",400:"#2dd4bf",500:"#14b8a6",600:"#0d9488",700:"#0f766e",800:"#115e59",900:"#134e4a",950:"#042f2e"},lP={50:"#ecfeff",100:"#cffafe",200:"#a5f3fc",300:"#67e8f9",400:"#22d3ee",500:"#06b6d4",600:"#0891b2",700:"#0e7490",800:"#155e75",900:"#164e63",950:"#083344"},uP={50:"#f0f9ff",100:"#e0f2fe",200:"#bae6fd",300:"#7dd3fc",400:"#38bdf8",500:"#0ea5e9",600:"#0284c7",700:"#0369a1",800:"#075985",900:"#0c4a6e",950:"#082f49"},cP={50:"#eff6ff",100:"#dbeafe",200:"#bfdbfe",300:"#93c5fd",400:"#60a5fa",500:"#3b82f6",600:"#2563eb",700:"#1d4ed8",800:"#1e40af",900:"#1e3a8a",950:"#172554"},fP={50:"#eef2ff",100:"#e0e7ff",200:"#c7d2fe",300:"#a5b4fc",400:"#818cf8",500:"#6366f1",600:"#4f46e5",700:"#4338ca",800:"#3730a3",900:"#312e81",950:"#1e1b4b"},dP={50:"#f5f3ff",100:"#ede9fe",200:"#ddd6fe",300:"#c4b5fd",400:"#a78bfa",500:"#8b5cf6",600:"#7c3aed",700:"#6d28d9",800:"#5b21b6",900:"#4c1d95",950:"#2e1065"},pP={50:"#faf5ff",100:"#f3e8ff",200:"#e9d5ff",300:"#d8b4fe",400:"#c084fc",500:"#a855f7",600:"#9333ea",700:"#7e22ce",800:"#6b21a8",900:"#581c87",950:"#3b0764"},hP={50:"#fdf4ff",100:"#fae8ff",200:"#f5d0fe",300:"#f0abfc",400:"#e879f9",500:"#d946ef",600:"#c026d3",700:"#a21caf",800:"#86198f",900:"#701a75",950:"#4a044e"},gP={50:"#fdf2f8",100:"#fce7f3",200:"#fbcfe8",300:"#f9a8d4",400:"#f472b6",500:"#ec4899",600:"#db2777",700:"#be185d",800:"#9d174d",900:"#831843",950:"#500724"},mP={50:"#fff1f2",100:"#ffe4e6",200:"#fecdd3",300:"#fda4af",400:"#fb7185",500:"#f43f5e",600:"#e11d48",700:"#be123c",800:"#9f1239",900:"#881337",950:"#4c0519"},vP={50:"rgb(var(--color-primary-50) / )",100:"rgb(var(--color-primary-100) / )",200:"rgb(var(--color-primary-200) / )",300:"rgb(var(--color-primary-300) / )",400:"rgb(var(--color-primary-400) / )",500:"rgb(var(--color-primary-500) / )",600:"rgb(var(--color-primary-600) / )",700:"rgb(var(--color-primary-700) / )",800:"rgb(var(--color-primary-800) / )",900:"rgb(var(--color-primary-900) / )",950:"rgb(var(--color-primary-950) / )",DEFAULT:"rgb(var(--color-primary-DEFAULT) / )"},yP={DEFAULT:"#ffffff",dark:"#333333"},bP={DEFAULT:"#333333",dark:"#f6f7ee"},$l={inherit:zO,current:WO,transparent:qO,black:KO,white:GO,slate:JO,gray:ZO,zinc:YO,neutral:QO,stone:XO,red:eP,orange:tP,amber:nP,yellow:rP,lime:oP,green:sP,emerald:iP,teal:aP,cyan:lP,sky:uP,blue:cP,indigo:fP,violet:dP,purple:pP,fuchsia:hP,pink:gP,rose:mP,primary:vP,backdrop:yP,body:bP,"cool-gray":void 0},_P=On(()=>{const e=si(),t=it(),n=F(()=>{const s=$l[e.ui.primary],i=$l[e.ui.gray];return s||console.warn(`[@nuxt/ui] Primary color '${e.ui.primary}' not found in Tailwind config`),i||console.warn(`[@nuxt/ui] Gray color '${e.ui.gray}' not found in Tailwind config`),`:root { -${Object.entries(s||$l.green).map(([l,u])=>`--color-primary-${l}: ${rv(u)};`).join(` + */let r1;const va=e=>r1=e,o1=Symbol();function fd(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var Ki;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(Ki||(Ki={}));function rR(){const e=Fd(!0),t=e.run(()=>te({}));let n=[],r=[];const s=Wd({install(i){va(s),s._a=i,i.provide(o1,s),i.config.globalProperties.$pinia=s,r.forEach(l=>n.push(l)),r=[]},use(i){return!this._a&&!nR?r.push(i):n.push(i),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return s}const s1=()=>{};function H0(e,t,n,r=s1){e.push(t);const s=()=>{const i=e.indexOf(t);i>-1&&(e.splice(i,1),r())};return!n&&Oo()&&ps(s),s}function Ms(e,...t){e.slice().forEach(n=>{n(...t)})}const oR=e=>e();function dd(e,t){e instanceof Map&&t instanceof Map&&t.forEach((n,r)=>e.set(r,n)),e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const r=t[n],s=e[n];fd(s)&&fd(r)&&e.hasOwnProperty(n)&&!at(r)&&!us(r)?e[n]=dd(s,r):e[n]=r}return e}const sR=Symbol();function iR(e){return!fd(e)||!e.hasOwnProperty(sR)}const{assign:yo}=Object;function aR(e){return!!(at(e)&&e.effect)}function lR(e,t,n,r){const{state:s,actions:i,getters:l}=t,u=n.state.value[e];let c;function p(){u||(n.state.value[e]=s?s():{});const d=eT(n.state.value[e]);return yo(d,i,Object.keys(l||{}).reduce((g,h)=>(g[h]=Wd(F(()=>{va(n);const v=n._s.get(e);return l[h].call(v,v)})),g),{}))}return c=i1(e,p,t,n,r,!0),c}function i1(e,t,n={},r,s,i){let l;const u=yo({actions:{}},n),c={deep:!0};let p,d,g=[],h=[],v;const _=r.state.value[e];!i&&!_&&(r.state.value[e]={}),te({});let x;function b(j){let q;p=d=!1,typeof j=="function"?(j(r.state.value[e]),q={type:Ki.patchFunction,storeId:e,events:v}):(dd(r.state.value[e],j),q={type:Ki.patchObject,payload:j,storeId:e,events:v});const K=x=Symbol();an().then(()=>{x===K&&(p=!0)}),d=!0,Ms(g,q,r.state.value[e])}const E=i?function(){const{state:q}=n,K=q?q():{};this.$patch(Y=>{yo(Y,K)})}:s1;function C(){l.stop(),g=[],h=[],r._s.delete(e)}function S(j,q){return function(){va(r);const K=Array.from(arguments),Y=[],z=[];function be(ie){Y.push(ie)}function ce(ie){z.push(ie)}Ms(h,{args:K,name:j,store:B,after:be,onError:ce});let ke;try{ke=q.apply(this&&this.$id===e?this:B,K)}catch(ie){throw Ms(z,ie),ie}return ke instanceof Promise?ke.then(ie=>(Ms(Y,ie),ie)).catch(ie=>(Ms(z,ie),Promise.reject(ie))):(Ms(Y,ke),ke)}}const A={_p:r,$id:e,$onAction:H0.bind(null,h),$patch:b,$reset:E,$subscribe(j,q={}){const K=H0(g,j,q.detached,()=>Y()),Y=l.run(()=>gt(()=>r.state.value[e],z=>{(q.flush==="sync"?d:p)&&j({storeId:e,type:Ki.direct,events:v},z)},yo({},c,q)));return K},$dispose:C},B=_n(A);r._s.set(e,B);const H=(r._a&&r._a.runWithContext||oR)(()=>r._e.run(()=>(l=Fd()).run(t)));for(const j in H){const q=H[j];if(at(q)&&!aR(q)||us(q))i||(_&&iR(q)&&(at(q)?q.value=_[j]:dd(q,_[j])),r.state.value[e][j]=q);else if(typeof q=="function"){const K=S(j,q);H[j]=K,u.actions[j]=q}}return yo(B,H),yo(ze(B),H),Object.defineProperty(B,"$state",{get:()=>r.state.value[e],set:j=>{b(q=>{yo(q,j)})}}),r._p.forEach(j=>{yo(B,l.run(()=>j({store:B,app:r._a,pinia:r,options:u})))}),_&&i&&n.hydrate&&n.hydrate(B.$state,_),p=!0,d=!0,B}function si(e,t,n){let r,s;const i=typeof t=="function";typeof e=="string"?(r=e,s=i?n:t):(s=e,r=e.id);function l(u,c){const p=ep();return u=u||(p?Ke(o1,null):null),u&&va(u),u=r1,u._s.has(r)||(i?i1(r,t,s,u):lR(r,s,u)),u._s.get(r)}return l.$id=r,l}const uR=e=>e==="defer"||e===!1;function cR(...e){var _;const t=typeof e[e.length-1]=="string"?e.pop():void 0;typeof e[0]!="string"&&e.unshift(t);let[n,r,s={}]=e;if(typeof n!="string")throw new TypeError("[nuxt] [asyncData] key must be a string.");if(typeof r!="function")throw new TypeError("[nuxt] [asyncData] handler must be a function.");const i=nt(),l=r,u=()=>null,c=()=>i.isHydrating?i.payload.data[n]:i.static.data[n];s.server=s.server??!0,s.default=s.default??u,s.getCachedData=s.getCachedData??c,s.lazy=s.lazy??!1,s.immediate=s.immediate??!0,s.deep=s.deep??R3.deep,s.dedupe=s.dedupe??"cancel";const p=()=>s.getCachedData(n,i)!=null;if(!i._asyncData[n]||!s.immediate){(_=i.payload._errors)[n]??(_[n]=null);const x=s.deep?te:Ir;i._asyncData[n]={data:x(s.getCachedData(n,i)??s.default()),pending:te(!p()),error:Ot(i.payload._errors,n),status:te("idle")}}const d={...i._asyncData[n]};d.refresh=d.execute=(x={})=>{if(i._asyncDataPromises[n]){if(uR(x.dedupe??s.dedupe))return i._asyncDataPromises[n];i._asyncDataPromises[n].cancelled=!0}if((x._initial||i.isHydrating&&x._initial!==!1)&&p())return Promise.resolve(s.getCachedData(n,i));d.pending.value=!0,d.status.value="pending";const b=new Promise((E,C)=>{try{E(l(i))}catch(S){C(S)}}).then(async E=>{if(b.cancelled)return i._asyncDataPromises[n];let C=E;s.transform&&(C=await s.transform(E)),s.pick&&(C=dR(C,s.pick)),i.payload.data[n]=C,d.data.value=C,d.error.value=null,d.status.value="success"}).catch(E=>{if(b.cancelled)return i._asyncDataPromises[n];d.error.value=ga(E),d.data.value=R(s.default()),d.status.value="error"}).finally(()=>{b.cancelled||(d.pending.value=!1,delete i._asyncDataPromises[n])});return i._asyncDataPromises[n]=b,i._asyncDataPromises[n]},d.clear=()=>fR(i,n);const g=()=>d.refresh({_initial:!0}),h=s.server!==!1&&i.payload.serverRendered;{const x=ir();if(x&&!x._nuxtOnBeforeMountCbs){x._nuxtOnBeforeMountCbs=[];const C=x._nuxtOnBeforeMountCbs;Ly(()=>{C.forEach(S=>{S()}),C.splice(0,C.length)}),Ht(()=>C.splice(0,C.length))}h&&i.isHydrating&&(d.error.value||p())?(d.pending.value=!1,d.status.value=d.error.value?"error":"success"):x&&(i.payload.serverRendered&&i.isHydrating||s.lazy)&&s.immediate?x._nuxtOnBeforeMountCbs.push(g):s.immediate&&g();const b=Oo();if(s.watch){const C=gt(s.watch,()=>d.refresh());b&&ps(C)}const E=i.hook("app:data:refresh",async C=>{(!C||C.includes(n))&&await d.refresh()});b&&ps(E)}const v=Promise.resolve(i._asyncDataPromises[n]).then(()=>d);return Object.assign(v,d),v}function fR(e,t){t in e.payload.data&&(e.payload.data[t]=void 0),t in e.payload._errors&&(e.payload._errors[t]=null),e._asyncData[t]&&(e._asyncData[t].data.value=void 0,e._asyncData[t].error.value=null,e._asyncData[t].pending.value=!1,e._asyncData[t].status.value="idle"),t in e._asyncDataPromises&&(e._asyncDataPromises[t].cancelled=!0,e._asyncDataPromises[t]=void 0)}function dR(e,t){const n={};for(const r of t)n[r]=e[r];return n}const pR="$s";function ya(...e){const t=typeof e[e.length-1]=="string"?e.pop():void 0;typeof e[0]!="string"&&e.unshift(t);const[n,r]=e;if(!n||typeof n!="string")throw new TypeError("[nuxt] [useState] key must be a string: "+n);if(r!==void 0&&typeof r!="function")throw new Error("[nuxt] [useState] init must be a function: "+r);const s=pR+n,i=nt(),l=Ot(i.payload.state,s);if(l.value===void 0&&r){const u=r();if(at(u))return i.payload.state[s]=u,u;l.value=u}return l}function a1(e,t,n){const[r={},s]=typeof t=="string"?[{},t]:[t,n],i=F(()=>Tr(e)),l=r.key||wI([s,typeof i.value=="string"?i.value:"",...hR(r)]);if(!l||typeof l!="string")throw new TypeError("[nuxt] [useFetch] key must be a string: "+l);if(!e)throw new Error("[nuxt] [useFetch] request is missing.");const u=l===s?"$f"+l:l;if(!r.baseURL&&typeof i.value=="string"&&i.value[0]==="/"&&i.value[1]==="/")throw new Error('[nuxt] [useFetch] the request URL must not start with "//".');const{server:c,lazy:p,default:d,transform:g,pick:h,watch:v,immediate:_,getCachedData:x,deep:b,dedupe:E,...C}=r,S=_n({...O3,...C,cache:typeof r.cache=="boolean"?void 0:r.cache}),A={server:c,lazy:p,default:d,transform:g,pick:h,immediate:_,getCachedData:x,deep:b,dedupe:E,watch:v===!1?[]:[S,i,...v||[]]};let B;return cR(u,()=>{var q;(q=B==null?void 0:B.abort)==null||q.call(B),B=typeof AbortController<"u"?new AbortController:{};const H=Tr(r.timeout);return H&&setTimeout(()=>B.abort(),H),(r.$fetch||globalThis.$fetch)(i.value,{signal:B.signal,...S})},A)}function hR(e){var n;const t=[((n=Tr(e.method))==null?void 0:n.toUpperCase())||"GET",Tr(e.baseURL)];for(const r of[e.params||e.query]){const s=Tr(r);if(!s)continue;const i={};for(const[l,u]of Object.entries(s))i[Tr(l)]=Tr(u);t.push(i)}return t}const gR={path:"/",watch:!0,decode:e=>ea(decodeURIComponent(e)),encode:e=>encodeURIComponent(typeof e=="string"?e:JSON.stringify(e))},mR=void 0;function z0(e,t){var c;const n={...gR,...t},r=W0(n)||{};let s;n.maxAge!==void 0?s=n.maxAge*1e3:n.expires&&(s=n.expires.getTime()-Date.now());const i=s!==void 0&&s<=0,l=Sr(i?void 0:r[e]??((c=n.default)==null?void 0:c.call(n))),u=s&&!i?bR(l,s,n.watch&&n.watch!=="shallow"):te(l);{let p=null;try{!mR&&typeof BroadcastChannel<"u"&&(p=new BroadcastChannel(`nuxt:cookies:${e}`))}catch{}const d=()=>{n.readonly||Sb(u.value,r[e])||(yR(e,u.value,n),r[e]=Sr(u.value),p==null||p.postMessage({value:n.encode(u.value)}))},g=v=>{var x;const _=v.refresh?(x=W0(n))==null?void 0:x[e]:n.decode(v.value);h=!0,r[e]=u.value=_,an(()=>{h=!1})};let h=!1;Oo()&&ps(()=>{h=!0,d(),p==null||p.close()}),p&&(p.onmessage=({data:v})=>g(v)),n.watch?gt(u,()=>{h||d()},{deep:n.watch!=="shallow"}):d()}return u}function W0(e={}){return sI(document.cookie,e)}function vR(e,t,n={}){return t==null?c0(e,t,{...n,maxAge:-1}):c0(e,t,n)}function yR(e,t,n={}){document.cookie=vR(e,t,n)}const q0=2147483647;function bR(e,t,n){let r,s,i=0;const l=n?te(e):{value:e};return Oo()&&ps(()=>{s==null||s(),clearTimeout(r)}),my((u,c)=>{n&&(s=gt(l,c));function p(){clearTimeout(r);const d=t-i,g=d{if(i+=g,i4)return Promise.all(s).then(()=>l1(e,t));t._routePreloaded.add(n);const i=r.map(l=>{var u;return(u=l.components)==null?void 0:u.default}).filter(l=>typeof l=="function");for(const l of i){const u=Promise.resolve(l()).catch(()=>{}).finally(()=>s.splice(s.indexOf(u)));s.push(u)}await Promise.all(s)}function _R(e={}){const t=e.path||window.location.pathname;let n={};try{n=ea(sessionStorage.getItem("nuxt:reload")||"{}")}catch{}if(e.force||(n==null?void 0:n.path)!==t||(n==null?void 0:n.expires){r.value=!0}),bt(u1,!0),s=>{var c;if(r.value)return(c=t.default)==null?void 0:c.call(t);const i=t.fallback||t.placeholder;if(i)return i();const l=s.fallback||s.placeholder||"",u=s.fallbackTag||s.placeholderTag||"span";return Z(u,n,l)}}}),xR="data-n-ids",kR="-";function ii(e){var s,i,l,u,c,p;if(typeof e!="string")throw new TypeError("[nuxt] [useId] key must be a string.");e=`n${e.slice(1)}`;const t=nt(),n=ir();if(!n)throw new TypeError("[nuxt] `useId` must be called within a component setup function.");t._id||(t._id=0),n._nuxtIdIndex||(n._nuxtIdIndex={}),(s=n._nuxtIdIndex)[e]||(s[e]=0);const r=e+kR+n._nuxtIdIndex[e]++;if(t.payload.serverRendered&&t.isHydrating&&!Ke(u1,!1)){const d=((i=n.vnode.el)==null?void 0:i.nodeType)===8&&((u=(l=n.vnode.el)==null?void 0:l.nextElementSibling)!=null&&u.getAttribute)?(c=n.vnode.el)==null?void 0:c.nextElementSibling:n.vnode.el,g=JSON.parse(((p=d==null?void 0:d.getAttribute)==null?void 0:p.call(d,xR))||"{}");if(g[r])return g[r]}return e+"_"+t._id++}const SR=(...e)=>e.find(t=>t!==void 0);function CR(e){const t=e.componentName||"NuxtLink";function n(r,s){if(!r||e.trailingSlash!=="append"&&e.trailingSlash!=="remove")return r;if(typeof r=="string")return K0(r,e.trailingSlash);const i="path"in r&&r.path!==void 0?r.path:s(r).path;return{...r,name:void 0,path:K0(i,e.trailingSlash)}}return we({name:t,props:{to:{type:[String,Object],default:void 0,required:!1},href:{type:[String,Object],default:void 0,required:!1},target:{type:String,default:void 0,required:!1},rel:{type:String,default:void 0,required:!1},noRel:{type:Boolean,default:void 0,required:!1},prefetch:{type:Boolean,default:void 0,required:!1},noPrefetch:{type:Boolean,default:void 0,required:!1},activeClass:{type:String,default:void 0,required:!1},exactActiveClass:{type:String,default:void 0,required:!1},prefetchedClass:{type:String,default:void 0,required:!1},replace:{type:Boolean,default:void 0,required:!1},ariaCurrentValue:{type:String,default:void 0,required:!1},external:{type:Boolean,default:void 0,required:!1},custom:{type:Boolean,default:void 0,required:!1}},setup(r,{slots:s}){const i=Wn(),l=Yr(),u=F(()=>{const _=r.to||r.href||"";return n(_,i.resolve)}),c=F(()=>typeof u.value=="string"&&Bo(u.value,{acceptRelative:!0})),p=F(()=>r.target&&r.target!=="_self"),d=F(()=>r.external||p.value?!0:typeof u.value=="object"?!1:u.value===""||c.value),g=te(!1),h=te(null),v=_=>{var x;h.value=r.custom?(x=_==null?void 0:_.$el)==null?void 0:x.nextElementSibling:_==null?void 0:_.$el};if(r.prefetch!==!1&&r.noPrefetch!==!0&&r.target!=="_blank"&&!TR()){const x=nt();let b,E=null;ct(()=>{const C=ER();n1(()=>{b=cd(()=>{var S;(S=h==null?void 0:h.value)!=null&&S.tagName&&(E=C.observe(h.value,async()=>{E==null||E(),E=null;const A=typeof u.value=="string"?u.value:i.resolve(u.value).fullPath;await Promise.all([x.hooks.callHook("link:prefetch",A).catch(()=>{}),!d.value&&l1(u.value,i).catch(()=>{})]),g.value=!0}))})})}),fa(()=>{b&&eR(b),E==null||E(),E=null})}return()=>{var E,C;if(!d.value){const S={ref:v,to:u.value,activeClass:r.activeClass||e.activeClass,exactActiveClass:r.exactActiveClass||e.exactActiveClass,replace:r.replace,ariaCurrentValue:r.ariaCurrentValue,custom:r.custom};return r.custom||(g.value&&(S.class=r.prefetchedClass||e.prefetchedClass),S.rel=r.rel||void 0),Xe(hr("RouterLink"),S,s.default)}const _=typeof u.value=="object"?((E=i.resolve(u.value))==null?void 0:E.href)??null:u.value&&!r.external&&!c.value?n(_u(l.app.baseURL,u.value),i.resolve):u.value||null,x=r.target||null,b=SR(r.noRel?"":r.rel,e.externalRelAttribute,c.value||p.value?"noopener noreferrer":"")||null;if(r.custom){if(!s.default)return null;const S=()=>Ao(_,{replace:r.replace,external:r.external});return s.default({href:_,navigate:S,get route(){if(!_)return;const A=ha(_);return{path:A.pathname,fullPath:A.pathname,get query(){return db(A.search)},hash:A.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:_}},rel:b,target:x,isExternal:d.value,isActive:!1,isExactActive:!1})}return Xe("a",{ref:h,href:_,rel:b,target:x},(C=s.default)==null?void 0:C.call(s))}}})}const pd=CR(I3);function K0(e,t){const n=t==="append"?eu:sp;return Bo(e)&&!e.startsWith("http")?e:n(e,!0)}function ER(){const e=nt();if(e._observer)return e._observer;let t=null;const n=new Map,r=(i,l)=>(t||(t=new IntersectionObserver(u=>{for(const c of u){const p=n.get(c.target);(c.isIntersecting||c.intersectionRatio>0)&&p&&p()}})),n.set(i,l),t.observe(i),()=>{n.delete(i),t.unobserve(i),n.size===0&&(t.disconnect(),t=null)});return e._observer={observe:r}}function TR(){const e=navigator.connection;return!!(e&&(e.saveData||/2g/.test(e.effectiveType)))}const $R=zn(e=>{const t=rR();return e.vueApp.use(t),va(t),e.payload&&e.payload.pinia&&(t.state.value=e.payload.pinia),{provide:{pinia:t}}}),AR=ql(()=>yn(()=>Promise.resolve().then(()=>P6),void 0,import.meta.url).then(e=>e.default||e.default||e)),IR=ql(()=>yn(()=>import("./CfpCwG3b.js"),__vite__mapDeps([16,17]),import.meta.url).then(e=>e.default||e.default||e)),RR=[["Icon",AR],["IconCSS",IR]],OR=zn({name:"nuxt:global-components",setup(e){for(const[t,n]of RR)e.vueApp.component(t,n),e.vueApp.component("Lazy"+t,n)}}),So={default:()=>yn(()=>import("./DChWJ3W5.js"),[],import.meta.url).then(e=>e.default||e)},PR=zn({name:"nuxt:prefetch",setup(e){const t=Wn();e.hooks.hook("app:mounted",()=>{t.beforeEach(async n=>{var s;const r=(s=n==null?void 0:n.meta)==null?void 0:s.layout;r&&typeof So[r]=="function"&&await So[r]()})}),e.hooks.hook("link:prefetch",n=>{if(Bo(n))return;const r=t.resolve(n);if(!r)return;const s=r.meta.layout;let i=pp(r.meta.middleware);i=i.filter(l=>typeof l=="string");for(const l of i)typeof qi[l]=="function"&&qi[l]();s&&typeof So[s]=="function"&&So[s]()})}});function hd(e){return Oo()?(ps(e),!0):!1}function gs(e){return typeof e=="function"?e():R(e)}const gd=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const G0=()=>+Date.now(),ra=()=>{};function c1(e,t){function n(...r){return new Promise((s,i)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(s).catch(i)})}return n}function LR(e,t={}){let n,r,s=ra;const i=u=>{clearTimeout(u),s(),s=ra};return u=>{const c=gs(e),p=gs(t.maxWait);return n&&i(n),c<=0||p!==void 0&&p<=0?(r&&(i(r),r=null),Promise.resolve(u())):new Promise((d,g)=>{s=t.rejectOnCancel?g:d,p&&!r&&(r=setTimeout(()=>{n&&i(n),r=null,d(u())},p)),n=setTimeout(()=>{r&&i(r),r=null,d(u())},c)})}}function MR(...e){let t=0,n,r=!0,s=ra,i,l,u,c,p;!at(e[0])&&typeof e[0]=="object"?{delay:l,trailing:u=!0,leading:c=!0,rejectOnCancel:p=!1}=e[0]:[l,u=!0,c=!0,p=!1]=e;const d=()=>{n&&(clearTimeout(n),n=void 0,s(),s=ra)};return h=>{const v=gs(l),_=Date.now()-t,x=()=>i=h();return d(),v<=0?(t=Date.now(),x()):(_>v&&(c||!r)?(t=Date.now(),x()):u&&(i=new Promise((b,E)=>{s=p?E:b,n=setTimeout(()=>{t=Date.now(),r=!0,b(x()),d()},Math.max(0,v-_))})),!c&&!n&&(n=setTimeout(()=>r=!0,v)),r=!1,i)}}function BR(e,t=200,n={}){return c1(LR(t,n),e)}function FR(e,t=200,n=!1,r=!0,s=!1){return c1(MR(t,n,r,s),e)}function f1(e,t=1e3,n={}){const{immediate:r=!0,immediateCallback:s=!1}=n;let i=null;const l=te(!1);function u(){i&&(clearInterval(i),i=null)}function c(){l.value=!1,u()}function p(){const d=gs(t);d<=0||(l.value=!0,s&&e(),u(),i=setInterval(e,d))}if(r&&gd&&p(),at(t)||typeof t=="function"){const d=gt(t,()=>{l.value&&gd&&p()});hd(d)}return hd(c),{isActive:l,pause:c,resume:p}}function IF(e,t,n){let r;at(n)?r={evaluating:n}:r=n||{};const{lazy:s=!1,evaluating:i=void 0,shallow:l=!0,onError:u=ra}=r,c=te(!s),p=l?Ir(t):te(t);let d=0;return Xt(async g=>{if(!c.value)return;d++;const h=d;let v=!1;i&&Promise.resolve().then(()=>{i.value=!0});try{const _=await e(x=>{g(()=>{i&&(i.value=!1),v||x()})});h===d&&(p.value=_)}catch(_){u(_)}finally{i&&h===d&&(i.value=!1),v=!0}}),s?F(()=>(c.value=!0,p.value)):p}function RF(e){var t;const n=gs(e);return(t=n==null?void 0:n.$el)!=null?t:n}const DR=gd?window:void 0;function d1(e,t={}){const{immediate:n=!0,fpsLimit:r=void 0,window:s=DR}=t,i=te(!1),l=r?1e3/r:null;let u=0,c=null;function p(h){if(!i.value||!s)return;u||(u=h);const v=h-u;if(l&&vs(u);return(c=t==null?void 0:t.cleanups)==null||c.push(d),d}function r(u){function c(...p){s(c),u(...p)}return n(c)}function s(u){const c=$i.get(e);c&&(c.delete(u),c.size||i())}function i(){$i.delete(e)}function l(u,c){var p;(p=$i.get(e))==null||p.forEach(d=>d(u,c))}return{on:n,once:r,off:s,emit:l,reset:i}}function NR(e={}){const{controls:t=!1,interval:n="requestAnimationFrame"}=e,r=te(new Date),s=()=>r.value=new Date,i=n==="requestAnimationFrame"?d1(s,{immediate:!0}):f1(s,n,{immediate:!0});return t?{now:r,...i}:r}const jR=[{max:6e4,value:1e3,name:"second"},{max:276e4,value:6e4,name:"minute"},{max:72e6,value:36e5,name:"hour"},{max:5184e5,value:864e5,name:"day"},{max:24192e5,value:6048e5,name:"week"},{max:28512e6,value:2592e6,name:"month"},{max:Number.POSITIVE_INFINITY,value:31536e6,name:"year"}],UR={justNow:"just now",past:e=>e.match(/\d/)?`${e} ago`:e,future:e=>e.match(/\d/)?`in ${e}`:e,month:(e,t)=>e===1?t?"last month":"next month":`${e} month${e>1?"s":""}`,year:(e,t)=>e===1?t?"last year":"next year":`${e} year${e>1?"s":""}`,day:(e,t)=>e===1?t?"yesterday":"tomorrow":`${e} day${e>1?"s":""}`,week:(e,t)=>e===1?t?"last week":"next week":`${e} week${e>1?"s":""}`,hour:e=>`${e} hour${e>1?"s":""}`,minute:e=>`${e} minute${e>1?"s":""}`,second:e=>`${e} second${e>1?"s":""}`,invalid:""};function HR(e){return e.toISOString().slice(0,10)}function OF(e,t={}){const{controls:n=!1,updateInterval:r=3e4}=t,{now:s,...i}=NR({interval:r,controls:!0}),l=F(()=>zR(new Date(gs(e)),t,gs(s)));return n?{timeAgo:l,...i}:l}function zR(e,t={},n=Date.now()){var r;const{max:s,messages:i=UR,fullDateFormatter:l=HR,units:u=jR,showSecond:c=!1,rounding:p="round"}=t,d=typeof p=="number"?b=>+b.toFixed(p):Math[p],g=+n-+e,h=Math.abs(g);function v(b,E){return d(Math.abs(b)/E.value)}function _(b,E){const C=v(b,E),S=b>0,A=x(E.name,C,S);return x(S?"past":"future",A,S)}function x(b,E,C){const S=i[b];return typeof S=="function"?S(E,C):S.replace("{0}",E.toString())}if(h<6e4&&!c)return i.justNow;if(typeof s=="number"&&h>s)return l(new Date(e));if(typeof s=="string"){const b=(r=u.find(E=>E.name===s))==null?void 0:r.max;if(b&&h>b)return l(new Date(e))}for(const[b,E]of u.entries()){if(v(g,E)<=0&&u[b-1])return _(g,u[b-1]);if(hl.value=G0()+n,c=i?()=>{u(),i(l.value)}:u,p=s==="requestAnimationFrame"?d1(c,{immediate:r}):f1(c,s,{immediate:r});return t?{timestamp:l,...p}:l}const qR=Symbol("nuxt-ui.slideover"),KR=zn(e=>{const t=Ir({component:"div",props:{}});e.vueApp.provide(qR,t)}),GR=Symbol("nuxt-ui.modal"),JR=zn(e=>{const t=Ir({component:"div",props:{}});e.vueApp.provide(GR,t)}),hp="-";function ZR(e){const t=QR(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;function s(l){const u=l.split(hp);return u[0]===""&&u.length!==1&&u.shift(),p1(u,t)||YR(l)}function i(l,u){const c=n[l]||[];return u&&r[l]?[...c,...r[l]]:c}return{getClassGroupId:s,getConflictingClassGroupIds:i}}function p1(e,t){var l;if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),s=r?p1(e.slice(1),r):void 0;if(s)return s;if(t.validators.length===0)return;const i=e.join(hp);return(l=t.validators.find(({validator:u})=>u(i)))==null?void 0:l.classGroupId}const J0=/^\[(.+)\]$/;function YR(e){if(J0.test(e)){const t=J0.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}}function QR(e){const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return eO(Object.entries(e.classGroups),n).forEach(([i,l])=>{md(l,r,i,t)}),r}function md(e,t,n,r){e.forEach(s=>{if(typeof s=="string"){const i=s===""?t:Z0(t,s);i.classGroupId=n;return}if(typeof s=="function"){if(XR(s)){md(s(r),t,n,r);return}t.validators.push({validator:s,classGroupId:n});return}Object.entries(s).forEach(([i,l])=>{md(l,Z0(t,i),n,r)})})}function Z0(e,t){let n=e;return t.split(hp).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n}function XR(e){return e.isThemeGetter}function eO(e,t){return t?e.map(([n,r])=>{const s=r.map(i=>typeof i=="string"?t+i:typeof i=="object"?Object.fromEntries(Object.entries(i).map(([l,u])=>[t+l,u])):i);return[n,s]}):e}function tO(e){if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;function s(i,l){n.set(i,l),t++,t>e&&(t=0,r=n,n=new Map)}return{get(i){let l=n.get(i);if(l!==void 0)return l;if((l=r.get(i))!==void 0)return s(i,l),l},set(i,l){n.has(i)?n.set(i,l):s(i,l)}}}const h1="!";function nO(e){const t=e.separator,n=t.length===1,r=t[0],s=t.length;return function(l){const u=[];let c=0,p=0,d;for(let x=0;xp?d-p:void 0;return{modifiers:u,hasImportantModifier:h,baseClassName:v,maybePostfixModifierPosition:_}}}function rO(e){if(e.length<=1)return e;const t=[];let n=[];return e.forEach(r=>{r[0]==="["?(t.push(...n.sort(),r),n=[]):n.push(r)}),t.push(...n.sort()),t}function oO(e){return{cache:tO(e.cacheSize),splitModifiers:nO(e),...ZR(e)}}const sO=/\s+/;function iO(e,t){const{splitModifiers:n,getClassGroupId:r,getConflictingClassGroupIds:s}=t,i=new Set;return e.trim().split(sO).map(l=>{const{modifiers:u,hasImportantModifier:c,baseClassName:p,maybePostfixModifierPosition:d}=n(l);let g=r(d?p.substring(0,d):p),h=!!d;if(!g){if(!d)return{isTailwindClass:!1,originalClassName:l};if(g=r(p),!g)return{isTailwindClass:!1,originalClassName:l};h=!1}const v=rO(u).join(":");return{isTailwindClass:!0,modifierId:c?v+h1:v,classGroupId:g,originalClassName:l,hasPostfixModifier:h}}).reverse().filter(l=>{if(!l.isTailwindClass)return!0;const{modifierId:u,classGroupId:c,hasPostfixModifier:p}=l,d=u+c;return i.has(d)?!1:(i.add(d),s(c,p).forEach(g=>i.add(u+g)),!0)}).reverse().map(l=>l.originalClassName).join(" ")}function pt(){let e=0,t,n,r="";for(;eg(d),e());return n=oO(p),r=n.cache.get,s=n.cache.set,i=u,u(c)}function u(c){const p=r(c);if(p)return p;const d=iO(c,n);return s(c,d),d}return function(){return i(pt.apply(null,arguments))}}function $t(e){const t=n=>n[e]||[];return t.isThemeGetter=!0,t}const m1=/^\[(?:([a-z-]+):)?(.+)\]$/i,aO=/^\d+\/\d+$/,lO=new Set(["px","full","screen"]),uO=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,cO=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,fO=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,dO=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,pO=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;function Hr(e){return ss(e)||lO.has(e)||aO.test(e)}function go(e){return ai(e,"length",wO)}function ss(e){return!!e&&!Number.isNaN(Number(e))}function Cl(e){return ai(e,"number",ss)}function Ai(e){return!!e&&Number.isInteger(Number(e))}function hO(e){return e.endsWith("%")&&ss(e.slice(0,-1))}function qe(e){return m1.test(e)}function mo(e){return uO.test(e)}const gO=new Set(["length","size","percentage"]);function mO(e){return ai(e,gO,v1)}function vO(e){return ai(e,"position",v1)}const yO=new Set(["image","url"]);function bO(e){return ai(e,yO,kO)}function _O(e){return ai(e,"",xO)}function Ii(){return!0}function ai(e,t,n){const r=m1.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):n(r[2]):!1}function wO(e){return cO.test(e)&&!fO.test(e)}function v1(){return!1}function xO(e){return dO.test(e)}function kO(e){return pO.test(e)}function yd(){const e=$t("colors"),t=$t("spacing"),n=$t("blur"),r=$t("brightness"),s=$t("borderColor"),i=$t("borderRadius"),l=$t("borderSpacing"),u=$t("borderWidth"),c=$t("contrast"),p=$t("grayscale"),d=$t("hueRotate"),g=$t("invert"),h=$t("gap"),v=$t("gradientColorStops"),_=$t("gradientColorStopPositions"),x=$t("inset"),b=$t("margin"),E=$t("opacity"),C=$t("padding"),S=$t("saturate"),A=$t("scale"),B=$t("sepia"),L=$t("skew"),H=$t("space"),j=$t("translate"),q=()=>["auto","contain","none"],K=()=>["auto","hidden","clip","visible","scroll"],Y=()=>["auto",qe,t],z=()=>[qe,t],be=()=>["",Hr,go],ce=()=>["auto",ss,qe],ke=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],ie=()=>["solid","dashed","dotted","double","none"],Se=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ve=()=>["start","end","center","between","around","evenly","stretch"],Lt=()=>["","0",qe],Gt=()=>["auto","avoid","all","avoid-page","page","left","right","column"],Re=()=>[ss,Cl],je=()=>[ss,qe];return{cacheSize:500,separator:":",theme:{colors:[Ii],spacing:[Hr,go],blur:["none","",mo,qe],brightness:Re(),borderColor:[e],borderRadius:["none","","full",mo,qe],borderSpacing:z(),borderWidth:be(),contrast:Re(),grayscale:Lt(),hueRotate:je(),invert:Lt(),gap:z(),gradientColorStops:[e],gradientColorStopPositions:[hO,go],inset:Y(),margin:Y(),opacity:Re(),padding:z(),saturate:Re(),scale:Re(),sepia:Lt(),skew:je(),space:z(),translate:z()},classGroups:{aspect:[{aspect:["auto","square","video",qe]}],container:["container"],columns:[{columns:[mo]}],"break-after":[{"break-after":Gt()}],"break-before":[{"break-before":Gt()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...ke(),qe]}],overflow:[{overflow:K()}],"overflow-x":[{"overflow-x":K()}],"overflow-y":[{"overflow-y":K()}],overscroll:[{overscroll:q()}],"overscroll-x":[{"overscroll-x":q()}],"overscroll-y":[{"overscroll-y":q()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[x]}],"inset-x":[{"inset-x":[x]}],"inset-y":[{"inset-y":[x]}],start:[{start:[x]}],end:[{end:[x]}],top:[{top:[x]}],right:[{right:[x]}],bottom:[{bottom:[x]}],left:[{left:[x]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Ai,qe]}],basis:[{basis:Y()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",qe]}],grow:[{grow:Lt()}],shrink:[{shrink:Lt()}],order:[{order:["first","last","none",Ai,qe]}],"grid-cols":[{"grid-cols":[Ii]}],"col-start-end":[{col:["auto",{span:["full",Ai,qe]},qe]}],"col-start":[{"col-start":ce()}],"col-end":[{"col-end":ce()}],"grid-rows":[{"grid-rows":[Ii]}],"row-start-end":[{row:["auto",{span:[Ai,qe]},qe]}],"row-start":[{"row-start":ce()}],"row-end":[{"row-end":ce()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",qe]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",qe]}],gap:[{gap:[h]}],"gap-x":[{"gap-x":[h]}],"gap-y":[{"gap-y":[h]}],"justify-content":[{justify:["normal",...ve()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...ve(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...ve(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[C]}],px:[{px:[C]}],py:[{py:[C]}],ps:[{ps:[C]}],pe:[{pe:[C]}],pt:[{pt:[C]}],pr:[{pr:[C]}],pb:[{pb:[C]}],pl:[{pl:[C]}],m:[{m:[b]}],mx:[{mx:[b]}],my:[{my:[b]}],ms:[{ms:[b]}],me:[{me:[b]}],mt:[{mt:[b]}],mr:[{mr:[b]}],mb:[{mb:[b]}],ml:[{ml:[b]}],"space-x":[{"space-x":[H]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[H]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",qe,t]}],"min-w":[{"min-w":[qe,t,"min","max","fit"]}],"max-w":[{"max-w":[qe,t,"none","full","min","max","fit","prose",{screen:[mo]},mo]}],h:[{h:[qe,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[qe,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[qe,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[qe,t,"auto","min","max","fit"]}],"font-size":[{text:["base",mo,go]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Cl]}],"font-family":[{font:[Ii]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",qe]}],"line-clamp":[{"line-clamp":["none",ss,Cl]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Hr,qe]}],"list-image":[{"list-image":["none",qe]}],"list-style-type":[{list:["none","disc","decimal",qe]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[E]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[E]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...ie(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",Hr,go]}],"underline-offset":[{"underline-offset":["auto",Hr,qe]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:z()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",qe]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",qe]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[E]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...ke(),vO]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",mO]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},bO]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[_]}],"gradient-via-pos":[{via:[_]}],"gradient-to-pos":[{to:[_]}],"gradient-from":[{from:[v]}],"gradient-via":[{via:[v]}],"gradient-to":[{to:[v]}],rounded:[{rounded:[i]}],"rounded-s":[{"rounded-s":[i]}],"rounded-e":[{"rounded-e":[i]}],"rounded-t":[{"rounded-t":[i]}],"rounded-r":[{"rounded-r":[i]}],"rounded-b":[{"rounded-b":[i]}],"rounded-l":[{"rounded-l":[i]}],"rounded-ss":[{"rounded-ss":[i]}],"rounded-se":[{"rounded-se":[i]}],"rounded-ee":[{"rounded-ee":[i]}],"rounded-es":[{"rounded-es":[i]}],"rounded-tl":[{"rounded-tl":[i]}],"rounded-tr":[{"rounded-tr":[i]}],"rounded-br":[{"rounded-br":[i]}],"rounded-bl":[{"rounded-bl":[i]}],"border-w":[{border:[u]}],"border-w-x":[{"border-x":[u]}],"border-w-y":[{"border-y":[u]}],"border-w-s":[{"border-s":[u]}],"border-w-e":[{"border-e":[u]}],"border-w-t":[{"border-t":[u]}],"border-w-r":[{"border-r":[u]}],"border-w-b":[{"border-b":[u]}],"border-w-l":[{"border-l":[u]}],"border-opacity":[{"border-opacity":[E]}],"border-style":[{border:[...ie(),"hidden"]}],"divide-x":[{"divide-x":[u]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[u]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[E]}],"divide-style":[{divide:ie()}],"border-color":[{border:[s]}],"border-color-x":[{"border-x":[s]}],"border-color-y":[{"border-y":[s]}],"border-color-t":[{"border-t":[s]}],"border-color-r":[{"border-r":[s]}],"border-color-b":[{"border-b":[s]}],"border-color-l":[{"border-l":[s]}],"divide-color":[{divide:[s]}],"outline-style":[{outline:["",...ie()]}],"outline-offset":[{"outline-offset":[Hr,qe]}],"outline-w":[{outline:[Hr,go]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:be()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[E]}],"ring-offset-w":[{"ring-offset":[Hr,go]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",mo,_O]}],"shadow-color":[{shadow:[Ii]}],opacity:[{opacity:[E]}],"mix-blend":[{"mix-blend":[...Se(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Se()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",mo,qe]}],grayscale:[{grayscale:[p]}],"hue-rotate":[{"hue-rotate":[d]}],invert:[{invert:[g]}],saturate:[{saturate:[S]}],sepia:[{sepia:[B]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[p]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[d]}],"backdrop-invert":[{"backdrop-invert":[g]}],"backdrop-opacity":[{"backdrop-opacity":[E]}],"backdrop-saturate":[{"backdrop-saturate":[S]}],"backdrop-sepia":[{"backdrop-sepia":[B]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[l]}],"border-spacing-x":[{"border-spacing-x":[l]}],"border-spacing-y":[{"border-spacing-y":[l]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",qe]}],duration:[{duration:je()}],ease:[{ease:["linear","in","out","in-out",qe]}],delay:[{delay:je()}],animate:[{animate:["none","spin","ping","pulse","bounce",qe]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[A]}],"scale-x":[{"scale-x":[A]}],"scale-y":[{"scale-y":[A]}],rotate:[{rotate:[Ai,qe]}],"translate-x":[{"translate-x":[j]}],"translate-y":[{"translate-y":[j]}],"skew-x":[{"skew-x":[L]}],"skew-y":[{"skew-y":[L]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",qe]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",qe]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":z()}],"scroll-mx":[{"scroll-mx":z()}],"scroll-my":[{"scroll-my":z()}],"scroll-ms":[{"scroll-ms":z()}],"scroll-me":[{"scroll-me":z()}],"scroll-mt":[{"scroll-mt":z()}],"scroll-mr":[{"scroll-mr":z()}],"scroll-mb":[{"scroll-mb":z()}],"scroll-ml":[{"scroll-ml":z()}],"scroll-p":[{"scroll-p":z()}],"scroll-px":[{"scroll-px":z()}],"scroll-py":[{"scroll-py":z()}],"scroll-ps":[{"scroll-ps":z()}],"scroll-pe":[{"scroll-pe":z()}],"scroll-pt":[{"scroll-pt":z()}],"scroll-pr":[{"scroll-pr":z()}],"scroll-pb":[{"scroll-pb":z()}],"scroll-pl":[{"scroll-pl":z()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",qe]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[Hr,go,Cl]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}}function SO(e,{cacheSize:t,prefix:n,separator:r,extend:s={},override:i={}}){Fl(e,"cacheSize",t),Fl(e,"prefix",n),Fl(e,"separator",r);for(const l in i)CO(e[l],i[l]);for(const l in s)EO(e[l],s[l]);return e}function Fl(e,t,n){n!==void 0&&(e[t]=n)}function CO(e,t){if(t)for(const n in t)Fl(e,n,t[n])}function EO(e,t){if(t)for(const n in t){const r=t[n];r!==void 0&&(e[n]=(e[n]||[]).concat(r))}}function TO(e,...t){return typeof e=="function"?vd(yd,e,...t):vd(()=>SO(yd(),e),...t)}const Un=vd(yd);function $O(e,t){const n={...e};for(const r of t)delete n[r];return n}function Di(e,t,n){typeof t=="string"&&(t=t.split(".").map(s=>{const i=Number(s);return isNaN(i)?s:i}));let r=e;for(const s of t){if(r==null)return n;r=r[s]}return r!==void 0?r:n}const gp={to:{type:[String,Object],default:void 0,required:!1},href:{type:[String,Object],default:void 0,required:!1},target:{type:String,default:void 0,required:!1},rel:{type:String,default:void 0,required:!1},noRel:{type:Boolean,default:void 0,required:!1},prefetch:{type:Boolean,default:void 0,required:!1},noPrefetch:{type:Boolean,default:void 0,required:!1},activeClass:{type:String,default:void 0,required:!1},exactActiveClass:{type:String,default:void 0,required:!1},prefetchedClass:{type:String,default:void 0,required:!1},replace:{type:Boolean,default:void 0,required:!1},ariaCurrentValue:{type:String,default:void 0,required:!1},external:{type:Boolean,default:void 0,required:!1}},AO=e=>Object.keys(gp).reduce((n,r)=>(e[r]!==void 0&&(n[r]=e[r]),n),{}),IO=TO({extend:{classGroups:{icons:[e=>/^i-/.test(e)]}}}),RO=ap((e,t,n,r)=>{if(r==="default"||r.startsWith("default.")||r==="popper"||r.startsWith("popper.")||r.endsWith("avatar")&&t==="size"||r.endsWith("chip")&&t==="size"||r.endsWith("badge")&&t==="size"||t==="color"||t==="variant")return!1;if(typeof e[t]=="string"&&typeof n=="string"&&e[t]&&n)return e[t]=IO(e[t],n),!0});function wn(e,...t){return e==="override"?wu({},...t):RO({},...t)}function Y0(e){const t=/^#?([a-f\d])([a-f\d])([a-f\d])$/i;e=e.replace(t,function(r,s,i,l){return s+s+i+i+l+l});const n=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);return n?`${parseInt(n[1],16)} ${parseInt(n[2],16)} ${parseInt(n[3],16)}`:null}function y1(e){const t=parseFloat(e);return isNaN(t)?e:t}const OO="inherit",PO="currentColor",LO="transparent",MO="#000",BO="#fff",FO={50:"#f8fafc",100:"#f1f5f9",200:"#e2e8f0",300:"#cbd5e1",400:"#94a3b8",500:"#64748b",600:"#475569",700:"#334155",800:"#1e293b",900:"#0f172a",950:"#020617"},DO={50:"rgb(var(--color-gray-50) / )",100:"rgb(var(--color-gray-100) / )",200:"rgb(var(--color-gray-200) / )",300:"rgb(var(--color-gray-300) / )",400:"rgb(var(--color-gray-400) / )",500:"rgb(var(--color-gray-500) / )",600:"rgb(var(--color-gray-600) / )",700:"rgb(var(--color-gray-700) / )",800:"rgb(var(--color-gray-800) / )",900:"rgb(var(--color-gray-900) / )",950:"rgb(var(--color-gray-950) / )"},VO={50:"#fafafa",100:"#f4f4f5",200:"#e4e4e7",300:"#d4d4d8",400:"#a1a1aa",500:"#71717a",600:"#52525b",700:"#3f3f46",800:"#27272a",900:"#18181b",950:"#09090b"},NO={50:"#fafafa",100:"#f5f5f5",200:"#e5e5e5",300:"#d4d4d4",400:"#a3a3a3",500:"#737373",600:"#525252",700:"#404040",800:"#262626",900:"#171717",950:"#0a0a0a"},jO={50:"#fafaf9",100:"#f5f5f4",200:"#e7e5e4",300:"#d6d3d1",400:"#a8a29e",500:"#78716c",600:"#57534e",700:"#44403c",800:"#292524",900:"#1c1917",950:"#0c0a09"},UO={50:"#fef2f2",100:"#fee2e2",200:"#fecaca",300:"#fca5a5",400:"#f87171",500:"#ef4444",600:"#dc2626",700:"#b91c1c",800:"#991b1b",900:"#7f1d1d",950:"#450a0a"},HO={50:"#fff7ed",100:"#ffedd5",200:"#fed7aa",300:"#fdba74",400:"#fb923c",500:"#f97316",600:"#ea580c",700:"#c2410c",800:"#9a3412",900:"#7c2d12",950:"#431407"},zO={50:"#fffbeb",100:"#fef3c7",200:"#fde68a",300:"#fcd34d",400:"#fbbf24",500:"#f59e0b",600:"#d97706",700:"#b45309",800:"#92400e",900:"#78350f",950:"#451a03"},WO={50:"#fffbeb",100:"#fef3c7",200:"#fde68a",300:"#fcd34d",400:"#fbbf24",500:"#f59e0b",600:"#d97706",700:"#b45309",800:"#92400e",900:"#78350f",950:"#451a03"},qO={50:"#f7fee7",100:"#ecfccb",200:"#d9f99d",300:"#bef264",400:"#a3e635",500:"#84cc16",600:"#65a30d",700:"#4d7c0f",800:"#3f6212",900:"#365314",950:"#1a2e05"},KO={50:"#f0fdfa",100:"#ccfbf1",200:"#99f6e4",300:"#5eead4",400:"#2dd4bf",500:"#14b8a6",600:"#0d9488",700:"#0f766e",800:"#115e59",900:"#134e4a",950:"#042f2e"},GO={50:"#ecfdf5",100:"#d1fae5",200:"#a7f3d0",300:"#6ee7b7",400:"#34d399",500:"#10b981",600:"#059669",700:"#047857",800:"#065f46",900:"#064e3b",950:"#022c22"},JO={50:"#f0fdfa",100:"#ccfbf1",200:"#99f6e4",300:"#5eead4",400:"#2dd4bf",500:"#14b8a6",600:"#0d9488",700:"#0f766e",800:"#115e59",900:"#134e4a",950:"#042f2e"},ZO={50:"#ecfeff",100:"#cffafe",200:"#a5f3fc",300:"#67e8f9",400:"#22d3ee",500:"#06b6d4",600:"#0891b2",700:"#0e7490",800:"#155e75",900:"#164e63",950:"#083344"},YO={50:"#f0f9ff",100:"#e0f2fe",200:"#bae6fd",300:"#7dd3fc",400:"#38bdf8",500:"#0ea5e9",600:"#0284c7",700:"#0369a1",800:"#075985",900:"#0c4a6e",950:"#082f49"},QO={50:"#eff6ff",100:"#dbeafe",200:"#bfdbfe",300:"#93c5fd",400:"#60a5fa",500:"#3b82f6",600:"#2563eb",700:"#1d4ed8",800:"#1e40af",900:"#1e3a8a",950:"#172554"},XO={50:"#eef2ff",100:"#e0e7ff",200:"#c7d2fe",300:"#a5b4fc",400:"#818cf8",500:"#6366f1",600:"#4f46e5",700:"#4338ca",800:"#3730a3",900:"#312e81",950:"#1e1b4b"},eP={50:"#f5f3ff",100:"#ede9fe",200:"#ddd6fe",300:"#c4b5fd",400:"#a78bfa",500:"#8b5cf6",600:"#7c3aed",700:"#6d28d9",800:"#5b21b6",900:"#4c1d95",950:"#2e1065"},tP={50:"#faf5ff",100:"#f3e8ff",200:"#e9d5ff",300:"#d8b4fe",400:"#c084fc",500:"#a855f7",600:"#9333ea",700:"#7e22ce",800:"#6b21a8",900:"#581c87",950:"#3b0764"},nP={50:"#fdf4ff",100:"#fae8ff",200:"#f5d0fe",300:"#f0abfc",400:"#e879f9",500:"#d946ef",600:"#c026d3",700:"#a21caf",800:"#86198f",900:"#701a75",950:"#4a044e"},rP={50:"#fdf2f8",100:"#fce7f3",200:"#fbcfe8",300:"#f9a8d4",400:"#f472b6",500:"#ec4899",600:"#db2777",700:"#be185d",800:"#9d174d",900:"#831843",950:"#500724"},oP={50:"#fff1f2",100:"#ffe4e6",200:"#fecdd3",300:"#fda4af",400:"#fb7185",500:"#f43f5e",600:"#e11d48",700:"#be123c",800:"#9f1239",900:"#881337",950:"#4c0519"},sP={50:"rgb(var(--color-primary-50) / )",100:"rgb(var(--color-primary-100) / )",200:"rgb(var(--color-primary-200) / )",300:"rgb(var(--color-primary-300) / )",400:"rgb(var(--color-primary-400) / )",500:"rgb(var(--color-primary-500) / )",600:"rgb(var(--color-primary-600) / )",700:"rgb(var(--color-primary-700) / )",800:"rgb(var(--color-primary-800) / )",900:"rgb(var(--color-primary-900) / )",950:"rgb(var(--color-primary-950) / )",DEFAULT:"rgb(var(--color-primary-DEFAULT) / )"},iP={DEFAULT:"#ffffff",dark:"#333333"},aP={DEFAULT:"#333333",dark:"#f6f7ee"},El={inherit:OO,current:PO,transparent:LO,black:MO,white:BO,slate:FO,gray:DO,zinc:VO,neutral:NO,stone:jO,red:UO,orange:HO,amber:zO,yellow:WO,lime:qO,green:KO,emerald:GO,teal:JO,cyan:ZO,sky:YO,blue:QO,indigo:XO,violet:eP,purple:tP,fuchsia:nP,pink:rP,rose:oP,primary:sP,backdrop:iP,body:aP,"cool-gray":void 0},lP=zn(()=>{const e=ma(),t=nt(),n=F(()=>{const s=El[e.ui.primary],i=El[e.ui.gray];return s||console.warn(`[@nuxt/ui] Primary color '${e.ui.primary}' not found in Tailwind config`),i||console.warn(`[@nuxt/ui] Gray color '${e.ui.gray}' not found in Tailwind config`),`:root { +${Object.entries(s||El.green).map(([l,u])=>`--color-primary-${l}: ${Y0(u)};`).join(` `)} --color-primary-DEFAULT: var(--color-primary-500); -${Object.entries(i||$l.cool).map(([l,u])=>`--color-gray-${l}: ${rv(u)};`).join(` +${Object.entries(i||El.cool).map(([l,u])=>`--color-gray-${l}: ${Y0(u)};`).join(` `)} } .dark { --color-primary-DEFAULT: var(--color-primary-400); } -`}),r={style:[{innerHTML:()=>n.value,tagPriority:-2,id:"nuxt-ui-colors"}]};if(t.isHydrating&&!t.payload.serverRendered){const s=document.createElement("style");s.innerHTML=n.value,s.setAttribute("data-nuxt-ui-colors",""),document.head.appendChild(s),r.script=[{innerHTML:"document.head.removeChild(document.querySelector('[data-nuxt-ui-colors]'))"}]}P3(r)}),wP="__NUXT_COLOR_MODE__",xP="nuxt-color-mode",zr=window[wP]||{},kP=On(e=>{const t=_a("color-mode",()=>_n({preference:zr.preference,value:zr.value,unknown:!1,forced:!1})).value;Wn().afterEach(s=>{const i=s.meta.colorMode;i&&i!=="system"?(t.value=i,t.forced=!0):(i==="system"&&console.warn("You cannot force the colorMode to system at the page level."),t.forced=!1,t.value=t.preference==="system"?zr.getColorScheme():t.preference)});let n;function r(){n||!window.matchMedia||(n=window.matchMedia("(prefers-color-scheme: dark)"),n.addEventListener("change",()=>{!t.forced&&t.preference==="system"&&(t.value=zr.getColorScheme())}))}gt(()=>t.preference,s=>{var i;t.forced||(s==="system"?(t.value=zr.getColorScheme(),r()):t.value=s,(i=window.localStorage)==null||i.setItem(xP,s))},{immediate:!0}),gt(()=>t.value,(s,i)=>{zr.removeColorScheme(i),zr.addColorScheme(s)}),t.preference==="system"&&r(),e.hook("app:mounted",()=>{t.unknown&&(t.preference=zr.preference,t.value=zr.value,t.unknown=!1)}),e.provide("colorMode",t)}),SP=On({name:"nuxt:chunk-reload",setup(e){const t=Wn(),n=Yr(),r=new Set;t.beforeEach(()=>{r.clear()}),e.hook("app:chunkError",({error:i})=>{r.add(i)});function s(i){const u="href"in i&&i.href[0]==="#"?n.app.baseURL+i.href:ku(n.app.baseURL,i.fullPath);OR({path:u,persistState:!0})}e.hook("app:manifest:update",()=>{t.beforeResolve(s)}),t.onError((i,l)=>{r.has(i)&&s(l)})}});function ov(e){return{getItem:t=>Z0(t,{...e,encode:encodeURIComponent,decode:decodeURIComponent}).value,setItem:(t,n)=>{Z0(t,{...e,encode:encodeURIComponent,decode:decodeURIComponent}).value=n}}}function CP(){return{getItem:e=>it().ssrContext?null:localStorage.getItem(e),setItem:(e,t)=>{it().ssrContext||localStorage.setItem(e,t)}}}function EP(){return{getItem:e=>it().ssrContext?null:sessionStorage.getItem(e),setItem:(e,t)=>{it().ssrContext||sessionStorage.setItem(e,t)}}}const ms={localStorage:CP(),sessionStorage:EP(),cookies:ov(),cookiesWithOptions:ov};function TP(e){return typeof e=="object"&&e!==null}function sv(e,t){return e=TP(e)?e:Object.create(null),new Proxy(e,{get(n,r,s){return r==="key"?Reflect.get(n,r,s):Reflect.get(n,r,s)||Reflect.get(t,r,s)}})}function $P(e,t){return t.reduce((n,r)=>n==null?void 0:n[r],e)}function AP(e,t,n){return t.slice(0,-1).reduce((r,s)=>/^(__proto__)$/.test(s)?{}:r[s]=r[s]||{},e)[t[t.length-1]]=n,e}function IP(e,t){return t.reduce((n,r)=>{const s=r.split(".");return AP(n,s,$P(e,s))},{})}function RP(e,t){return n=>{var r;try{const{storage:s=localStorage,beforeRestore:i=void 0,afterRestore:l=void 0,serializer:u={serialize:JSON.stringify,deserialize:JSON.parse},key:c=t.$id,paths:p=null,debug:d=!1}=n;return{storage:s,beforeRestore:i,afterRestore:l,serializer:u,key:((r=e.key)!=null?r:g=>g)(typeof c=="string"?c:c(t.$id)),paths:p,debug:d}}catch(s){return n.debug&&console.error("[pinia-plugin-persistedstate]",s),null}}}function iv(e,{storage:t,serializer:n,key:r,debug:s}){try{const i=t==null?void 0:t.getItem(r);i&&e.$patch(n==null?void 0:n.deserialize(i))}catch(i){s&&console.error("[pinia-plugin-persistedstate]",i)}}function av(e,{storage:t,serializer:n,key:r,paths:s,debug:i}){try{const l=Array.isArray(s)?IP(e,s):e;t.setItem(r,n.serialize(l))}catch(l){i&&console.error("[pinia-plugin-persistedstate]",l)}}function OP(e={}){return t=>{const{auto:n=!1}=e,{options:{persist:r=n},store:s,pinia:i}=t;if(!r)return;if(!(s.$id in i.state.value)){const u=i._s.get(s.$id.replace("__hot:",""));u&&Promise.resolve().then(()=>u.$persist());return}const l=(Array.isArray(r)?r.map(u=>sv(u,e)):[sv(r,e)]).map(RP(e,s)).filter(Boolean);s.$persist=()=>{l.forEach(u=>{av(s.$state,u)})},s.$hydrate=({runHooks:u=!0}={})=>{l.forEach(c=>{const{beforeRestore:p,afterRestore:d}=c;u&&(p==null||p(t)),iv(s,c),u&&(d==null||d(t))})},l.forEach(u=>{const{beforeRestore:c,afterRestore:p}=u;c==null||c(t),iv(s,u),p==null||p(t),s.$subscribe((d,g)=>{av(g,u)},{detached:!0})})}}const PP=On(e=>{const{cookieOptions:t,debug:n,storage:r}=Yr().public.persistedState;e.$pinia.use(OP({storage:r==="cookies"?ms.cookiesWithOptions(t):ms[r],debug:n}))}),LP=[J3,Y3,cR,dR,pR,NR,zR,WR,sO,aO,_P,kP,SP,PP];function MP(e,t){const n=t/e*100;return 2/Math.PI*100*Math.atan(n/50)}function BP(e={}){const{duration:t=2e3,throttle:n=200,hideDelay:r=500,resetDelay:s=400}=e,i=e.estimatedProgress||MP,l=it(),u=te(0),c=te(!1);let p=!1,d,g,h,v;const _=()=>x(0);function x(L=0){if(!l.isHydrating){if(L>=100)return E();S(),u.value=L<0?0:L,n?g=setTimeout(()=>{c.value=!0,A()},n):(c.value=!0,A())}}function b(){h=setTimeout(()=>{c.value=!1,v=setTimeout(()=>{u.value=0},s)},r)}function E(L={}){u.value=100,p=!0,S(),C(),L.force?(u.value=0,c.value=!1):b()}function C(){clearTimeout(h),clearTimeout(v)}function S(){clearTimeout(g),cancelAnimationFrame(d)}function A(){p=!1;let L;function U(j){if(p)return;L??(L=j);const q=j-L;u.value=Math.max(0,Math.min(100,i(t,q))),d=requestAnimationFrame(U)}d=requestAnimationFrame(U)}let B=()=>{};{const L=l.hook("page:loading:start",()=>{_()}),U=l.hook("page:loading:end",()=>{E()}),j=l.hook("vue:error",()=>E());B=()=>{j(),L(),U(),S()}}return{_cleanup:B,progress:F(()=>u.value),isLoading:F(()=>c.value),start:_,set:x,finish:E,clear:S}}function FP(e={}){const t=it(),n=t._loadingIndicator=t._loadingIndicator||BP(e);return Po()&&(t._loadingIndicatorDeps=t._loadingIndicatorDeps||0,t._loadingIndicatorDeps++,ps(()=>{t._loadingIndicatorDeps--,t._loadingIndicatorDeps===0&&(n._cleanup(),delete t._loadingIndicator)})),n}const DP=we({name:"NuxtLoadingIndicator",props:{throttle:{type:Number,default:200},duration:{type:Number,default:2e3},height:{type:Number,default:3},color:{type:[String,Boolean],default:"repeating-linear-gradient(to right,#00dc82 0%,#34cdfe 50%,#0047e1 100%)"},estimatedProgress:{type:Function,required:!1}},setup(e,{slots:t,expose:n}){const{progress:r,isLoading:s,start:i,finish:l,clear:u}=FP({duration:e.duration,throttle:e.throttle,estimatedProgress:e.estimatedProgress});return n({progress:r,isLoading:s,start:i,finish:l,clear:u}),()=>Xe("div",{class:"nuxt-loading-indicator",style:{position:"fixed",top:0,right:0,left:0,pointerEvents:"none",width:"auto",height:`${e.height}px`,opacity:s.value?1:0,background:e.color||void 0,backgroundSize:`${100/r.value*100}% auto`,transform:`scaleX(${r.value}%)`,transformOrigin:"left",transition:"transform 0.1s, height 0.4s, opacity 0.4s",zIndex:999999}},t)}});function VP(e,t){return V(),Z("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[I("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M3 16.5v2.25A2.25 2.25 0 0 0 5.25 21h13.5A2.25 2.25 0 0 0 21 18.75V16.5M16.5 12 12 16.5m0 0L7.5 12m4.5 4.5V3"})])}function lv(e,t){return V(),Z("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[I("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M15.75 9V5.25A2.25 2.25 0 0 0 13.5 3h-6a2.25 2.25 0 0 0-2.25 2.25v13.5A2.25 2.25 0 0 0 7.5 21h6a2.25 2.25 0 0 0 2.25-2.25V15M12 9l-3 3m0 0 3 3m-3-3h12.75"})])}function NP(e,t){return V(),Z("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[I("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M3.75 6.75h16.5M3.75 12h16.5m-16.5 5.25h16.5"})])}function uv(e,t){return V(),Z("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[I("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M14.857 17.082a23.848 23.848 0 0 0 5.454-1.31A8.967 8.967 0 0 1 18 9.75V9A6 6 0 0 0 6 9v.75a8.967 8.967 0 0 1-2.312 6.022c1.733.64 3.56 1.085 5.455 1.31m5.714 0a24.255 24.255 0 0 1-5.714 0m5.714 0a3 3 0 1 1-5.714 0M3.124 7.5A8.969 8.969 0 0 1 5.292 3m13.416 0a8.969 8.969 0 0 1 2.168 4.5"})])}function T1(e,t){return V(),Z("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[I("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M15.75 15.75V18m-7.5-6.75h.008v.008H8.25v-.008Zm0 2.25h.008v.008H8.25V13.5Zm0 2.25h.008v.008H8.25v-.008Zm0 2.25h.008v.008H8.25V18Zm2.498-6.75h.007v.008h-.007v-.008Zm0 2.25h.007v.008h-.007V13.5Zm0 2.25h.007v.008h-.007v-.008Zm0 2.25h.007v.008h-.007V18Zm2.504-6.75h.008v.008h-.008v-.008Zm0 2.25h.008v.008h-.008V13.5Zm0 2.25h.008v.008h-.008v-.008Zm0 2.25h.008v.008h-.008V18Zm2.498-6.75h.008v.008h-.008v-.008Zm0 2.25h.008v.008h-.008V13.5ZM8.25 6h7.5v2.25h-7.5V6ZM12 2.25c-1.892 0-3.758.11-5.593.322C5.307 2.7 4.5 3.65 4.5 4.757V19.5a2.25 2.25 0 0 0 2.25 2.25h10.5a2.25 2.25 0 0 0 2.25-2.25V4.757c0-1.108-.806-2.057-1.907-2.185A48.507 48.507 0 0 0 12 2.25Z"})])}function cv(e,t){return V(),Z("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[I("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M2.25 12.76c0 1.6 1.123 2.994 2.707 3.227 1.087.16 2.185.283 3.293.369V21l4.076-4.076a1.526 1.526 0 0 1 1.037-.443 48.282 48.282 0 0 0 5.68-.494c1.584-.233 2.707-1.626 2.707-3.228V6.741c0-1.602-1.123-2.995-2.707-3.228A48.394 48.394 0 0 0 12 3c-2.392 0-4.744.175-7.043.513C3.373 3.746 2.25 5.14 2.25 6.741v6.018Z"})])}function jP(e,t){return V(),Z("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[I("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m4.5 12.75 6 6 9-13.5"})])}function fv(e,t){return V(),Z("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[I("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M20.25 6.375c0 2.278-3.694 4.125-8.25 4.125S3.75 8.653 3.75 6.375m16.5 0c0-2.278-3.694-4.125-8.25-4.125S3.75 4.097 3.75 6.375m16.5 0v11.25c0 2.278-3.694 4.125-8.25 4.125s-8.25-1.847-8.25-4.125V6.375m16.5 0v3.75m-16.5-3.75v3.75m16.5 0v3.75C20.25 16.153 16.556 18 12 18s-8.25-1.847-8.25-4.125v-3.75m16.5 0c0 2.278-3.694 4.125-8.25 4.125s-8.25-1.847-8.25-4.125"})])}function dv(e,t){return V(),Z("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[I("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M4.5 12a7.5 7.5 0 0 0 15 0m-15 0a7.5 7.5 0 1 1 15 0m-15 0H3m16.5 0H21m-1.5 0H12m-8.457 3.077 1.41-.513m14.095-5.13 1.41-.513M5.106 17.785l1.15-.964m11.49-9.642 1.149-.964M7.501 19.795l.75-1.3m7.5-12.99.75-1.3m-6.063 16.658.26-1.477m2.605-14.772.26-1.477m0 17.726-.26-1.477M10.698 4.614l-.26-1.477M16.5 19.794l-.75-1.299M7.5 4.205 12 12m6.894 5.785-1.149-.964M6.256 7.178l-1.15-.964m15.352 8.864-1.41-.513M4.954 9.435l-1.41-.514M12.002 12l-3.75 6.495"})])}function $1(e,t){return V(),Z("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[I("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M8.25 3v1.5M4.5 8.25H3m18 0h-1.5M4.5 12H3m18 0h-1.5m-15 3.75H3m18 0h-1.5M8.25 19.5V21M12 3v1.5m0 15V21m3.75-18v1.5m0 15V21m-9-1.5h10.5a2.25 2.25 0 0 0 2.25-2.25V6.75a2.25 2.25 0 0 0-2.25-2.25H6.75A2.25 2.25 0 0 0 4.5 6.75v10.5a2.25 2.25 0 0 0 2.25 2.25Zm.75-12h9v9h-9v-9Z"})])}function A1(e,t){return V(),Z("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[I("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M12 6v12m-3-2.818.879.659c1.171.879 3.07.879 4.242 0 1.172-.879 1.172-2.303 0-3.182C13.536 12.219 12.768 12 12 12c-.725 0-1.45-.22-2.003-.659-1.106-.879-1.106-2.303 0-3.182s2.9-.879 4.006 0l.415.33M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"})])}function pv(e,t){return V(),Z("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[I("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M19.5 14.25v-2.625a3.375 3.375 0 0 0-3.375-3.375h-1.5A1.125 1.125 0 0 1 13.5 7.125v-1.5a3.375 3.375 0 0 0-3.375-3.375H8.25m3.75 9v6m3-3H9m1.5-12H5.625c-.621 0-1.125.504-1.125 1.125v17.25c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125V11.25a9 9 0 0 0-9-9Z"})])}function hv(e,t){return V(),Z("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[I("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M19.5 14.25v-2.625a3.375 3.375 0 0 0-3.375-3.375h-1.5A1.125 1.125 0 0 1 13.5 7.125v-1.5a3.375 3.375 0 0 0-3.375-3.375H8.25m0 12.75h7.5m-7.5 3H12M10.5 2.25H5.625c-.621 0-1.125.504-1.125 1.125v17.25c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125V11.25a9 9 0 0 0-9-9Z"})])}function UP(e,t){return V(),Z("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[I("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M12 6.75a.75.75 0 1 1 0-1.5.75.75 0 0 1 0 1.5ZM12 12.75a.75.75 0 1 1 0-1.5.75.75 0 0 1 0 1.5ZM12 18.75a.75.75 0 1 1 0-1.5.75.75 0 0 1 0 1.5Z"})])}function HP(e,t){return V(),Z("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[I("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M12 9v3.75m-9.303 3.376c-.866 1.5.217 3.374 1.948 3.374h14.71c1.73 0 2.813-1.874 1.948-3.374L13.949 3.378c-.866-1.5-3.032-1.5-3.898 0L2.697 16.126ZM12 15.75h.007v.008H12v-.008Z"})])}function zP(e,t){return V(),Z("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[I("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m2.25 12 8.954-8.955c.44-.439 1.152-.439 1.591 0L21.75 12M4.5 9.75v10.125c0 .621.504 1.125 1.125 1.125H9.75v-4.875c0-.621.504-1.125 1.125-1.125h2.25c.621 0 1.125.504 1.125 1.125V21h4.125c.621 0 1.125-.504 1.125-1.125V9.75M8.25 21h8.25"})])}function gv(e,t){return V(),Z("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[I("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M15 9h3.75M15 12h3.75M15 15h3.75M4.5 19.5h15a2.25 2.25 0 0 0 2.25-2.25V6.75A2.25 2.25 0 0 0 19.5 4.5h-15a2.25 2.25 0 0 0-2.25 2.25v10.5A2.25 2.25 0 0 0 4.5 19.5Zm6-10.125a1.875 1.875 0 1 1-3.75 0 1.875 1.875 0 0 1 3.75 0Zm1.294 6.336a6.721 6.721 0 0 1-3.17.789 6.721 6.721 0 0 1-3.168-.789 3.376 3.376 0 0 1 6.338 0Z"})])}function I1(e,t){return V(),Z("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[I("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m11.25 11.25.041-.02a.75.75 0 0 1 1.063.852l-.708 2.836a.75.75 0 0 0 1.063.853l.041-.021M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Zm-9-3.75h.008v.008H12V8.25Z"})])}function mv(e,t){return V(),Z("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[I("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M15.75 5.25a3 3 0 0 1 3 3m3 0a6 6 0 0 1-7.029 5.912c-.563-.097-1.159.026-1.563.43L10.5 17.25H8.25v2.25H6v2.25H2.25v-2.818c0-.597.237-1.17.659-1.591l6.499-6.499c.404-.404.527-1 .43-1.563A6 6 0 1 1 21.75 8.25Z"})])}function WP(e,t){return V(),Z("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[I("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M21.752 15.002A9.72 9.72 0 0 1 18 15.75c-5.385 0-9.75-4.365-9.75-9.75 0-1.33.266-2.597.748-3.752A9.753 9.753 0 0 0 3 11.25C3 16.635 7.365 21 12.75 21a9.753 9.753 0 0 0 9.002-5.998Z"})])}function qP(e,t){return V(),Z("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[I("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M18.364 18.364A9 9 0 0 0 5.636 5.636m12.728 12.728A9 9 0 0 1 5.636 5.636m12.728 12.728L5.636 5.636"})])}function vv(e,t){return V(),Z("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[I("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M9.879 7.519c1.171-1.025 3.071-1.025 4.242 0 1.172 1.025 1.172 2.687 0 3.712-.203.179-.43.326-.67.442-.745.361-1.45.999-1.45 1.827v.75M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Zm-9 5.25h.008v.008H12v-.008Z"})])}function KP(e,t){return V(),Z("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[I("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M12 3v2.25m6.364.386-1.591 1.591M21 12h-2.25m-.386 6.364-1.591-1.591M12 18.75V21m-4.773-4.227-1.591 1.591M5.25 12H3m4.227-4.773L5.636 5.636M15.75 12a3.75 3.75 0 1 1-7.5 0 3.75 3.75 0 0 1 7.5 0Z"})])}function yv(e,t){return V(),Z("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[I("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M15.75 6a3.75 3.75 0 1 1-7.5 0 3.75 3.75 0 0 1 7.5 0ZM4.501 20.118a7.5 7.5 0 0 1 14.998 0A17.933 17.933 0 0 1 12 21.75c-2.676 0-5.216-.584-7.499-1.632Z"})])}function wp(e,t){return V(),Z("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[I("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M6 18 18 6M6 6l12 12"})])}async function bv(e,t=!1){let n=Yr().public.apiBaseUrl;if(!n)throw new Error("apiBaseUrl is not defined");n==="/"&&(n="");let r=n+e;e.startsWith("https://")&&(r=e);const s=t?{Authorization:`${wt().authToken}`}:void 0,{data:i,error:l}=await g1(`${r}`,{headers:s,server:!1,lazy:!0},"$UqgiltlUfE");return{data:i,error:l}}async function jt(e,t,n=!1){let r=Yr().public.apiBaseUrl;if(!r)throw new Error("apiBaseUrl is not defined");r==="/"&&(r="");let s=r+e;e.startsWith("https://")&&(s=e);const i=n?{Authorization:`${wt().authToken}`,"Content-Type":"application/json"}:{"Content-Type":"application/json"},{data:l,error:u}=await g1(`${s}`,{method:"POST",body:JSON.stringify(t),headers:i,server:!1,lazy:!0},"$HgqqyPIEgZ");return{data:l,error:u}}function R1(){const e=_a("notifications",()=>[]);function t(r){const s={id:new Date().getTime().toString(),...r};return e.value.findIndex(l=>l.id===s.id)===-1&&e.value.push(s),s}function n(r){e.value=e.value.filter(s=>s.id!==r)}return{add:t,remove:n}}function Ve(e,t){if(typeof window>"u")return;const n=R1(),r=e.charAt(0).toUpperCase()+e.slice(1),s=e==="error"?"red":"green",i=e==="error"?"i-heroicons i-heroicons-x-circle":"i-heroicons i-heroicons-check-circle";n.add({title:r,description:t,color:s,icon:i})}function es(e){e.response?e.response.data&&e.response.data.message&&Ve("error",e.response.data.message):e.value?e.value.data&&e.value.data.message?Ve("error",e.value.data.message):e.value.data&&e.value.data.error&&Ve("error",e.value.data.error):e.message?Ve("error",e.message):Ve("error","An error occurred")}var Oi=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function GP(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var lu={exports:{}};/** +`}),r={style:[{innerHTML:()=>n.value,tagPriority:-2,id:"nuxt-ui-colors"}]};if(t.isHydrating&&!t.payload.serverRendered){const s=document.createElement("style");s.innerHTML=n.value,s.setAttribute("data-nuxt-ui-colors",""),document.head.appendChild(s),r.script=[{innerHTML:"document.head.removeChild(document.querySelector('[data-nuxt-ui-colors]'))"}]}S3(r)}),uP="__NUXT_COLOR_MODE__",cP="nuxt-color-mode",zr=window[uP]||{},fP=zn(e=>{const t=ya("color-mode",()=>_n({preference:zr.preference,value:zr.value,unknown:!1,forced:!1})).value;Wn().afterEach(s=>{const i=s.meta.colorMode;i&&i!=="system"?(t.value=i,t.forced=!0):(i==="system"&&console.warn("You cannot force the colorMode to system at the page level."),t.forced=!1,t.value=t.preference==="system"?zr.getColorScheme():t.preference)});let n;function r(){n||!window.matchMedia||(n=window.matchMedia("(prefers-color-scheme: dark)"),n.addEventListener("change",()=>{!t.forced&&t.preference==="system"&&(t.value=zr.getColorScheme())}))}gt(()=>t.preference,s=>{var i;t.forced||(s==="system"?(t.value=zr.getColorScheme(),r()):t.value=s,(i=window.localStorage)==null||i.setItem(cP,s))},{immediate:!0}),gt(()=>t.value,(s,i)=>{zr.removeColorScheme(i),zr.addColorScheme(s)}),t.preference==="system"&&r(),e.hook("app:mounted",()=>{t.unknown&&(t.preference=zr.preference,t.value=zr.value,t.unknown=!1)}),e.provide("colorMode",t)}),dP=zn({name:"nuxt:chunk-reload",setup(e){const t=Wn(),n=Yr(),r=new Set;t.beforeEach(()=>{r.clear()}),e.hook("app:chunkError",({error:i})=>{r.add(i)});function s(i){const u="href"in i&&i.href[0]==="#"?n.app.baseURL+i.href:_u(n.app.baseURL,i.fullPath);_R({path:u,persistState:!0})}e.hook("app:manifest:update",()=>{t.beforeResolve(s)}),t.onError((i,l)=>{r.has(i)&&s(l)})}});function Q0(e){return{getItem:t=>z0(t,{...e,encode:encodeURIComponent,decode:decodeURIComponent}).value,setItem:(t,n)=>{z0(t,{...e,encode:encodeURIComponent,decode:decodeURIComponent}).value=n}}}function pP(){return{getItem:e=>nt().ssrContext?null:localStorage.getItem(e),setItem:(e,t)=>{nt().ssrContext||localStorage.setItem(e,t)}}}function hP(){return{getItem:e=>nt().ssrContext?null:sessionStorage.getItem(e),setItem:(e,t)=>{nt().ssrContext||sessionStorage.setItem(e,t)}}}const ms={localStorage:pP(),sessionStorage:hP(),cookies:Q0(),cookiesWithOptions:Q0};function gP(e){return typeof e=="object"&&e!==null}function X0(e,t){return e=gP(e)?e:Object.create(null),new Proxy(e,{get(n,r,s){return r==="key"?Reflect.get(n,r,s):Reflect.get(n,r,s)||Reflect.get(t,r,s)}})}function mP(e,t){return t.reduce((n,r)=>n==null?void 0:n[r],e)}function vP(e,t,n){return t.slice(0,-1).reduce((r,s)=>/^(__proto__)$/.test(s)?{}:r[s]=r[s]||{},e)[t[t.length-1]]=n,e}function yP(e,t){return t.reduce((n,r)=>{const s=r.split(".");return vP(n,s,mP(e,s))},{})}function bP(e,t){return n=>{var r;try{const{storage:s=localStorage,beforeRestore:i=void 0,afterRestore:l=void 0,serializer:u={serialize:JSON.stringify,deserialize:JSON.parse},key:c=t.$id,paths:p=null,debug:d=!1}=n;return{storage:s,beforeRestore:i,afterRestore:l,serializer:u,key:((r=e.key)!=null?r:g=>g)(typeof c=="string"?c:c(t.$id)),paths:p,debug:d}}catch(s){return n.debug&&console.error("[pinia-plugin-persistedstate]",s),null}}}function ev(e,{storage:t,serializer:n,key:r,debug:s}){try{const i=t==null?void 0:t.getItem(r);i&&e.$patch(n==null?void 0:n.deserialize(i))}catch(i){s&&console.error("[pinia-plugin-persistedstate]",i)}}function tv(e,{storage:t,serializer:n,key:r,paths:s,debug:i}){try{const l=Array.isArray(s)?yP(e,s):e;t.setItem(r,n.serialize(l))}catch(l){i&&console.error("[pinia-plugin-persistedstate]",l)}}function _P(e={}){return t=>{const{auto:n=!1}=e,{options:{persist:r=n},store:s,pinia:i}=t;if(!r)return;if(!(s.$id in i.state.value)){const u=i._s.get(s.$id.replace("__hot:",""));u&&Promise.resolve().then(()=>u.$persist());return}const l=(Array.isArray(r)?r.map(u=>X0(u,e)):[X0(r,e)]).map(bP(e,s)).filter(Boolean);s.$persist=()=>{l.forEach(u=>{tv(s.$state,u)})},s.$hydrate=({runHooks:u=!0}={})=>{l.forEach(c=>{const{beforeRestore:p,afterRestore:d}=c;u&&(p==null||p(t)),ev(s,c),u&&(d==null||d(t))})},l.forEach(u=>{const{beforeRestore:c,afterRestore:p}=u;c==null||c(t),ev(s,u),p==null||p(t),s.$subscribe((d,g)=>{tv(g,u)},{detached:!0})})}}const wP=zn(e=>{const{cookieOptions:t,debug:n,storage:r}=Yr().public.persistedState;e.$pinia.use(_P({storage:r==="cookies"?ms.cookiesWithOptions(t):ms[r],debug:n}))}),xP=[V3,j3,X4,tR,$R,OR,PR,KR,JR,lP,fP,dP,wP];function kP(e,t){const n=t/e*100;return 2/Math.PI*100*Math.atan(n/50)}function SP(e={}){const{duration:t=2e3,throttle:n=200,hideDelay:r=500,resetDelay:s=400}=e,i=e.estimatedProgress||kP,l=nt(),u=te(0),c=te(!1);let p=!1,d,g,h,v;const _=()=>x(0);function x(L=0){if(!l.isHydrating){if(L>=100)return E();S(),u.value=L<0?0:L,n?g=setTimeout(()=>{c.value=!0,A()},n):(c.value=!0,A())}}function b(){h=setTimeout(()=>{c.value=!1,v=setTimeout(()=>{u.value=0},s)},r)}function E(L={}){u.value=100,p=!0,S(),C(),L.force?(u.value=0,c.value=!1):b()}function C(){clearTimeout(h),clearTimeout(v)}function S(){clearTimeout(g),cancelAnimationFrame(d)}function A(){p=!1;let L;function H(j){if(p)return;L??(L=j);const q=j-L;u.value=Math.max(0,Math.min(100,i(t,q))),d=requestAnimationFrame(H)}d=requestAnimationFrame(H)}let B=()=>{};{const L=l.hook("page:loading:start",()=>{_()}),H=l.hook("page:loading:end",()=>{E()}),j=l.hook("vue:error",()=>E());B=()=>{j(),L(),H(),S()}}return{_cleanup:B,progress:F(()=>u.value),isLoading:F(()=>c.value),start:_,set:x,finish:E,clear:S}}function CP(e={}){const t=nt(),n=t._loadingIndicator=t._loadingIndicator||SP(e);return Oo()&&(t._loadingIndicatorDeps=t._loadingIndicatorDeps||0,t._loadingIndicatorDeps++,ps(()=>{t._loadingIndicatorDeps--,t._loadingIndicatorDeps===0&&(n._cleanup(),delete t._loadingIndicator)})),n}const EP=we({name:"NuxtLoadingIndicator",props:{throttle:{type:Number,default:200},duration:{type:Number,default:2e3},height:{type:Number,default:3},color:{type:[String,Boolean],default:"repeating-linear-gradient(to right,#00dc82 0%,#34cdfe 50%,#0047e1 100%)"},estimatedProgress:{type:Function,required:!1}},setup(e,{slots:t,expose:n}){const{progress:r,isLoading:s,start:i,finish:l,clear:u}=CP({duration:e.duration,throttle:e.throttle,estimatedProgress:e.estimatedProgress});return n({progress:r,isLoading:s,start:i,finish:l,clear:u}),()=>Xe("div",{class:"nuxt-loading-indicator",style:{position:"fixed",top:0,right:0,left:0,pointerEvents:"none",width:"auto",height:`${e.height}px`,opacity:s.value?1:0,background:e.color||void 0,backgroundSize:`${100/r.value*100}% auto`,transform:`scaleX(${r.value}%)`,transformOrigin:"left",transition:"transform 0.1s, height 0.4s, opacity 0.4s",zIndex:999999}},t)}});function TP(e,t){return V(),Z("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[I("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M3 16.5v2.25A2.25 2.25 0 0 0 5.25 21h13.5A2.25 2.25 0 0 0 21 18.75V16.5M16.5 12 12 16.5m0 0L7.5 12m4.5 4.5V3"})])}function nv(e,t){return V(),Z("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[I("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M15.75 9V5.25A2.25 2.25 0 0 0 13.5 3h-6a2.25 2.25 0 0 0-2.25 2.25v13.5A2.25 2.25 0 0 0 7.5 21h6a2.25 2.25 0 0 0 2.25-2.25V15M12 9l-3 3m0 0 3 3m-3-3h12.75"})])}function $P(e,t){return V(),Z("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[I("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M3.75 6.75h16.5M3.75 12h16.5m-16.5 5.25h16.5"})])}function rv(e,t){return V(),Z("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[I("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M14.857 17.082a23.848 23.848 0 0 0 5.454-1.31A8.967 8.967 0 0 1 18 9.75V9A6 6 0 0 0 6 9v.75a8.967 8.967 0 0 1-2.312 6.022c1.733.64 3.56 1.085 5.455 1.31m5.714 0a24.255 24.255 0 0 1-5.714 0m5.714 0a3 3 0 1 1-5.714 0M3.124 7.5A8.969 8.969 0 0 1 5.292 3m13.416 0a8.969 8.969 0 0 1 2.168 4.5"})])}function b1(e,t){return V(),Z("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[I("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M15.75 15.75V18m-7.5-6.75h.008v.008H8.25v-.008Zm0 2.25h.008v.008H8.25V13.5Zm0 2.25h.008v.008H8.25v-.008Zm0 2.25h.008v.008H8.25V18Zm2.498-6.75h.007v.008h-.007v-.008Zm0 2.25h.007v.008h-.007V13.5Zm0 2.25h.007v.008h-.007v-.008Zm0 2.25h.007v.008h-.007V18Zm2.504-6.75h.008v.008h-.008v-.008Zm0 2.25h.008v.008h-.008V13.5Zm0 2.25h.008v.008h-.008v-.008Zm0 2.25h.008v.008h-.008V18Zm2.498-6.75h.008v.008h-.008v-.008Zm0 2.25h.008v.008h-.008V13.5ZM8.25 6h7.5v2.25h-7.5V6ZM12 2.25c-1.892 0-3.758.11-5.593.322C5.307 2.7 4.5 3.65 4.5 4.757V19.5a2.25 2.25 0 0 0 2.25 2.25h10.5a2.25 2.25 0 0 0 2.25-2.25V4.757c0-1.108-.806-2.057-1.907-2.185A48.507 48.507 0 0 0 12 2.25Z"})])}function ov(e,t){return V(),Z("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[I("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M2.25 12.76c0 1.6 1.123 2.994 2.707 3.227 1.087.16 2.185.283 3.293.369V21l4.076-4.076a1.526 1.526 0 0 1 1.037-.443 48.282 48.282 0 0 0 5.68-.494c1.584-.233 2.707-1.626 2.707-3.228V6.741c0-1.602-1.123-2.995-2.707-3.228A48.394 48.394 0 0 0 12 3c-2.392 0-4.744.175-7.043.513C3.373 3.746 2.25 5.14 2.25 6.741v6.018Z"})])}function AP(e,t){return V(),Z("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[I("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m4.5 12.75 6 6 9-13.5"})])}function sv(e,t){return V(),Z("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[I("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M20.25 6.375c0 2.278-3.694 4.125-8.25 4.125S3.75 8.653 3.75 6.375m16.5 0c0-2.278-3.694-4.125-8.25-4.125S3.75 4.097 3.75 6.375m16.5 0v11.25c0 2.278-3.694 4.125-8.25 4.125s-8.25-1.847-8.25-4.125V6.375m16.5 0v3.75m-16.5-3.75v3.75m16.5 0v3.75C20.25 16.153 16.556 18 12 18s-8.25-1.847-8.25-4.125v-3.75m16.5 0c0 2.278-3.694 4.125-8.25 4.125s-8.25-1.847-8.25-4.125"})])}function iv(e,t){return V(),Z("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[I("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M4.5 12a7.5 7.5 0 0 0 15 0m-15 0a7.5 7.5 0 1 1 15 0m-15 0H3m16.5 0H21m-1.5 0H12m-8.457 3.077 1.41-.513m14.095-5.13 1.41-.513M5.106 17.785l1.15-.964m11.49-9.642 1.149-.964M7.501 19.795l.75-1.3m7.5-12.99.75-1.3m-6.063 16.658.26-1.477m2.605-14.772.26-1.477m0 17.726-.26-1.477M10.698 4.614l-.26-1.477M16.5 19.794l-.75-1.299M7.5 4.205 12 12m6.894 5.785-1.149-.964M6.256 7.178l-1.15-.964m15.352 8.864-1.41-.513M4.954 9.435l-1.41-.514M12.002 12l-3.75 6.495"})])}function _1(e,t){return V(),Z("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[I("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M8.25 3v1.5M4.5 8.25H3m18 0h-1.5M4.5 12H3m18 0h-1.5m-15 3.75H3m18 0h-1.5M8.25 19.5V21M12 3v1.5m0 15V21m3.75-18v1.5m0 15V21m-9-1.5h10.5a2.25 2.25 0 0 0 2.25-2.25V6.75a2.25 2.25 0 0 0-2.25-2.25H6.75A2.25 2.25 0 0 0 4.5 6.75v10.5a2.25 2.25 0 0 0 2.25 2.25Zm.75-12h9v9h-9v-9Z"})])}function w1(e,t){return V(),Z("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[I("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M12 6v12m-3-2.818.879.659c1.171.879 3.07.879 4.242 0 1.172-.879 1.172-2.303 0-3.182C13.536 12.219 12.768 12 12 12c-.725 0-1.45-.22-2.003-.659-1.106-.879-1.106-2.303 0-3.182s2.9-.879 4.006 0l.415.33M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"})])}function av(e,t){return V(),Z("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[I("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M19.5 14.25v-2.625a3.375 3.375 0 0 0-3.375-3.375h-1.5A1.125 1.125 0 0 1 13.5 7.125v-1.5a3.375 3.375 0 0 0-3.375-3.375H8.25m3.75 9v6m3-3H9m1.5-12H5.625c-.621 0-1.125.504-1.125 1.125v17.25c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125V11.25a9 9 0 0 0-9-9Z"})])}function lv(e,t){return V(),Z("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[I("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M19.5 14.25v-2.625a3.375 3.375 0 0 0-3.375-3.375h-1.5A1.125 1.125 0 0 1 13.5 7.125v-1.5a3.375 3.375 0 0 0-3.375-3.375H8.25m0 12.75h7.5m-7.5 3H12M10.5 2.25H5.625c-.621 0-1.125.504-1.125 1.125v17.25c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125V11.25a9 9 0 0 0-9-9Z"})])}function IP(e,t){return V(),Z("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[I("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M12 6.75a.75.75 0 1 1 0-1.5.75.75 0 0 1 0 1.5ZM12 12.75a.75.75 0 1 1 0-1.5.75.75 0 0 1 0 1.5ZM12 18.75a.75.75 0 1 1 0-1.5.75.75 0 0 1 0 1.5Z"})])}function RP(e,t){return V(),Z("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[I("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M12 9v3.75m-9.303 3.376c-.866 1.5.217 3.374 1.948 3.374h14.71c1.73 0 2.813-1.874 1.948-3.374L13.949 3.378c-.866-1.5-3.032-1.5-3.898 0L2.697 16.126ZM12 15.75h.007v.008H12v-.008Z"})])}function OP(e,t){return V(),Z("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[I("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m2.25 12 8.954-8.955c.44-.439 1.152-.439 1.591 0L21.75 12M4.5 9.75v10.125c0 .621.504 1.125 1.125 1.125H9.75v-4.875c0-.621.504-1.125 1.125-1.125h2.25c.621 0 1.125.504 1.125 1.125V21h4.125c.621 0 1.125-.504 1.125-1.125V9.75M8.25 21h8.25"})])}function uv(e,t){return V(),Z("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[I("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M15 9h3.75M15 12h3.75M15 15h3.75M4.5 19.5h15a2.25 2.25 0 0 0 2.25-2.25V6.75A2.25 2.25 0 0 0 19.5 4.5h-15a2.25 2.25 0 0 0-2.25 2.25v10.5A2.25 2.25 0 0 0 4.5 19.5Zm6-10.125a1.875 1.875 0 1 1-3.75 0 1.875 1.875 0 0 1 3.75 0Zm1.294 6.336a6.721 6.721 0 0 1-3.17.789 6.721 6.721 0 0 1-3.168-.789 3.376 3.376 0 0 1 6.338 0Z"})])}function x1(e,t){return V(),Z("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[I("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m11.25 11.25.041-.02a.75.75 0 0 1 1.063.852l-.708 2.836a.75.75 0 0 0 1.063.853l.041-.021M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Zm-9-3.75h.008v.008H12V8.25Z"})])}function cv(e,t){return V(),Z("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[I("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M15.75 5.25a3 3 0 0 1 3 3m3 0a6 6 0 0 1-7.029 5.912c-.563-.097-1.159.026-1.563.43L10.5 17.25H8.25v2.25H6v2.25H2.25v-2.818c0-.597.237-1.17.659-1.591l6.499-6.499c.404-.404.527-1 .43-1.563A6 6 0 1 1 21.75 8.25Z"})])}function PP(e,t){return V(),Z("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[I("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M21.752 15.002A9.72 9.72 0 0 1 18 15.75c-5.385 0-9.75-4.365-9.75-9.75 0-1.33.266-2.597.748-3.752A9.753 9.753 0 0 0 3 11.25C3 16.635 7.365 21 12.75 21a9.753 9.753 0 0 0 9.002-5.998Z"})])}function LP(e,t){return V(),Z("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[I("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M18.364 18.364A9 9 0 0 0 5.636 5.636m12.728 12.728A9 9 0 0 1 5.636 5.636m12.728 12.728L5.636 5.636"})])}function fv(e,t){return V(),Z("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[I("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M9.879 7.519c1.171-1.025 3.071-1.025 4.242 0 1.172 1.025 1.172 2.687 0 3.712-.203.179-.43.326-.67.442-.745.361-1.45.999-1.45 1.827v.75M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Zm-9 5.25h.008v.008H12v-.008Z"})])}function MP(e,t){return V(),Z("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[I("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M12 3v2.25m6.364.386-1.591 1.591M21 12h-2.25m-.386 6.364-1.591-1.591M12 18.75V21m-4.773-4.227-1.591 1.591M5.25 12H3m4.227-4.773L5.636 5.636M15.75 12a3.75 3.75 0 1 1-7.5 0 3.75 3.75 0 0 1 7.5 0Z"})])}function dv(e,t){return V(),Z("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[I("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M15.75 6a3.75 3.75 0 1 1-7.5 0 3.75 3.75 0 0 1 7.5 0ZM4.501 20.118a7.5 7.5 0 0 1 14.998 0A17.933 17.933 0 0 1 12 21.75c-2.676 0-5.216-.584-7.499-1.632Z"})])}function mp(e,t){return V(),Z("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[I("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M6 18 18 6M6 6l12 12"})])}async function pv(e,t=!1){let n=Yr().public.apiBaseUrl;if(!n)throw new Error("apiBaseUrl is not defined");n==="/"&&(n="");let r=n+e;e.startsWith("https://")&&(r=e);const s=t?{Authorization:`${wt().authToken}`}:void 0,{data:i,error:l}=await a1(`${r}`,{headers:s,server:!1,lazy:!0},"$UqgiltlUfE");return{data:i,error:l}}async function jt(e,t,n=!1){let r=Yr().public.apiBaseUrl;if(!r)throw new Error("apiBaseUrl is not defined");r==="/"&&(r="");let s=r+e;e.startsWith("https://")&&(s=e);const i=n?{Authorization:`${wt().authToken}`,"Content-Type":"application/json"}:{"Content-Type":"application/json"},{data:l,error:u}=await a1(`${s}`,{method:"POST",body:JSON.stringify(t),headers:i,server:!1,lazy:!0},"$HgqqyPIEgZ");return{data:l,error:u}}function k1(){const e=ya("notifications",()=>[]);function t(r){const s={id:new Date().getTime().toString(),...r};return e.value.findIndex(l=>l.id===s.id)===-1&&e.value.push(s),s}function n(r){e.value=e.value.filter(s=>s.id!==r)}return{add:t,remove:n}}function Ve(e,t){if(typeof window>"u")return;const n=k1(),r=e.charAt(0).toUpperCase()+e.slice(1),s=e==="error"?"red":"green",i=e==="error"?"i-heroicons i-heroicons-x-circle":"i-heroicons i-heroicons-check-circle";n.add({title:r,description:t,color:s,icon:i})}function es(e){e.response?e.response.data&&e.response.data.message&&Ve("error",e.response.data.message):e.value?e.value.data&&e.value.data.message?Ve("error",e.value.data.message):e.value.data&&e.value.data.error&&Ve("error",e.value.data.error):e.message?Ve("error",e.message):Ve("error","An error occurred")}var Ri=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function BP(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var iu={exports:{}};/** * @license * Lodash * Copyright OpenJS Foundation and other contributors * Released under MIT license * Based on Underscore.js 1.8.3 * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors - */lu.exports;(function(e,t){(function(){var n,r="4.17.21",s=200,i="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",l="Expected a function",u="Invalid `variable` option passed into `_.template`",c="__lodash_hash_undefined__",p=500,d="__lodash_placeholder__",g=1,h=2,v=4,_=1,x=2,b=1,E=2,C=4,S=8,A=16,B=32,L=64,U=128,j=256,q=512,K=30,Y="...",z=800,be=16,ce=1,ke=2,ie=3,Se=1/0,ve=9007199254740991,Lt=17976931348623157e292,Gt=NaN,Re=4294967295,je=Re-1,Ft=Re>>>1,Dt=[["ary",U],["bind",b],["bindKey",E],["curry",S],["curryRight",A],["flip",q],["partial",B],["partialRight",L],["rearg",j]],fn="[object Arguments]",St="[object Array]",ee="[object AsyncFunction]",ye="[object Boolean]",pe="[object Date]",Ce="[object DOMException]",nt="[object Error]",mt="[object Function]",T="[object GeneratorFunction]",O="[object Map]",H="[object Number]",re="[object Null]",G="[object Object]",fe="[object Promise]",me="[object Proxy]",le="[object RegExp]",ue="[object Set]",se="[object String]",_e="[object Symbol]",Oe="[object Undefined]",Ee="[object WeakMap]",De="[object WeakSet]",He="[object ArrayBuffer]",rt="[object DataView]",_t="[object Float32Array]",Mt="[object Float64Array]",dn="[object Int8Array]",yr="[object Int16Array]",bs="[object Int32Array]",Or="[object Uint8Array]",_s="[object Uint8ClampedArray]",en="[object Uint16Array]",xn="[object Uint32Array]",Ca=/\b__p \+= '';/g,q_=/\b(__p \+=) '' \+/g,K_=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Gp=/&(?:amp|lt|gt|quot|#39);/g,Jp=/[&<>"']/g,G_=RegExp(Gp.source),J_=RegExp(Jp.source),Z_=/<%-([\s\S]+?)%>/g,Y_=/<%([\s\S]+?)%>/g,Zp=/<%=([\s\S]+?)%>/g,Q_=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,X_=/^\w*$/,ew=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Mu=/[\\^$.*+?()[\]{}|]/g,tw=RegExp(Mu.source),Bu=/^\s+/,nw=/\s/,rw=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,ow=/\{\n\/\* \[wrapped with (.+)\] \*/,sw=/,? & /,iw=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,aw=/[()=,{}\[\]\/\s]/,lw=/\\(\\)?/g,uw=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Yp=/\w*$/,cw=/^[-+]0x[0-9a-f]+$/i,fw=/^0b[01]+$/i,dw=/^\[object .+?Constructor\]$/,pw=/^0o[0-7]+$/i,hw=/^(?:0|[1-9]\d*)$/,gw=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Ea=/($^)/,mw=/['\n\r\u2028\u2029\\]/g,Ta="\\ud800-\\udfff",vw="\\u0300-\\u036f",yw="\\ufe20-\\ufe2f",bw="\\u20d0-\\u20ff",Qp=vw+yw+bw,Xp="\\u2700-\\u27bf",eh="a-z\\xdf-\\xf6\\xf8-\\xff",_w="\\xac\\xb1\\xd7\\xf7",ww="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",xw="\\u2000-\\u206f",kw=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",th="A-Z\\xc0-\\xd6\\xd8-\\xde",nh="\\ufe0e\\ufe0f",rh=_w+ww+xw+kw,Fu="['’]",Sw="["+Ta+"]",oh="["+rh+"]",$a="["+Qp+"]",sh="\\d+",Cw="["+Xp+"]",ih="["+eh+"]",ah="[^"+Ta+rh+sh+Xp+eh+th+"]",Du="\\ud83c[\\udffb-\\udfff]",Ew="(?:"+$a+"|"+Du+")",lh="[^"+Ta+"]",Vu="(?:\\ud83c[\\udde6-\\uddff]){2}",Nu="[\\ud800-\\udbff][\\udc00-\\udfff]",ws="["+th+"]",uh="\\u200d",ch="(?:"+ih+"|"+ah+")",Tw="(?:"+ws+"|"+ah+")",fh="(?:"+Fu+"(?:d|ll|m|re|s|t|ve))?",dh="(?:"+Fu+"(?:D|LL|M|RE|S|T|VE))?",ph=Ew+"?",hh="["+nh+"]?",$w="(?:"+uh+"(?:"+[lh,Vu,Nu].join("|")+")"+hh+ph+")*",Aw="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Iw="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",gh=hh+ph+$w,Rw="(?:"+[Cw,Vu,Nu].join("|")+")"+gh,Ow="(?:"+[lh+$a+"?",$a,Vu,Nu,Sw].join("|")+")",Pw=RegExp(Fu,"g"),Lw=RegExp($a,"g"),ju=RegExp(Du+"(?="+Du+")|"+Ow+gh,"g"),Mw=RegExp([ws+"?"+ih+"+"+fh+"(?="+[oh,ws,"$"].join("|")+")",Tw+"+"+dh+"(?="+[oh,ws+ch,"$"].join("|")+")",ws+"?"+ch+"+"+fh,ws+"+"+dh,Iw,Aw,sh,Rw].join("|"),"g"),Bw=RegExp("["+uh+Ta+Qp+nh+"]"),Fw=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Dw=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Vw=-1,Tt={};Tt[_t]=Tt[Mt]=Tt[dn]=Tt[yr]=Tt[bs]=Tt[Or]=Tt[_s]=Tt[en]=Tt[xn]=!0,Tt[fn]=Tt[St]=Tt[He]=Tt[ye]=Tt[rt]=Tt[pe]=Tt[nt]=Tt[mt]=Tt[O]=Tt[H]=Tt[G]=Tt[le]=Tt[ue]=Tt[se]=Tt[Ee]=!1;var Ct={};Ct[fn]=Ct[St]=Ct[He]=Ct[rt]=Ct[ye]=Ct[pe]=Ct[_t]=Ct[Mt]=Ct[dn]=Ct[yr]=Ct[bs]=Ct[O]=Ct[H]=Ct[G]=Ct[le]=Ct[ue]=Ct[se]=Ct[_e]=Ct[Or]=Ct[_s]=Ct[en]=Ct[xn]=!0,Ct[nt]=Ct[mt]=Ct[Ee]=!1;var Nw={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},jw={"&":"&","<":"<",">":">",'"':""","'":"'"},Uw={"&":"&","<":"<",">":">",""":'"',"'":"'"},Hw={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},zw=parseFloat,Ww=parseInt,mh=typeof Oi=="object"&&Oi&&Oi.Object===Object&&Oi,qw=typeof self=="object"&&self&&self.Object===Object&&self,tn=mh||qw||Function("return this")(),Uu=t&&!t.nodeType&&t,Fo=Uu&&!0&&e&&!e.nodeType&&e,vh=Fo&&Fo.exports===Uu,Hu=vh&&mh.process,qn=function(){try{var D=Fo&&Fo.require&&Fo.require("util").types;return D||Hu&&Hu.binding&&Hu.binding("util")}catch{}}(),yh=qn&&qn.isArrayBuffer,bh=qn&&qn.isDate,_h=qn&&qn.isMap,wh=qn&&qn.isRegExp,xh=qn&&qn.isSet,kh=qn&&qn.isTypedArray;function Ln(D,J,W){switch(W.length){case 0:return D.call(J);case 1:return D.call(J,W[0]);case 2:return D.call(J,W[0],W[1]);case 3:return D.call(J,W[0],W[1],W[2])}return D.apply(J,W)}function Kw(D,J,W,xe){for(var Ne=-1,ft=D==null?0:D.length;++Ne-1}function zu(D,J,W){for(var xe=-1,Ne=D==null?0:D.length;++xe-1;);return W}function Rh(D,J){for(var W=D.length;W--&&xs(J,D[W],0)>-1;);return W}function nx(D,J){for(var W=D.length,xe=0;W--;)D[W]===J&&++xe;return xe}var rx=Gu(Nw),ox=Gu(jw);function sx(D){return"\\"+Hw[D]}function ix(D,J){return D==null?n:D[J]}function ks(D){return Bw.test(D)}function ax(D){return Fw.test(D)}function lx(D){for(var J,W=[];!(J=D.next()).done;)W.push(J.value);return W}function Qu(D){var J=-1,W=Array(D.size);return D.forEach(function(xe,Ne){W[++J]=[Ne,xe]}),W}function Oh(D,J){return function(W){return D(J(W))}}function ro(D,J){for(var W=-1,xe=D.length,Ne=0,ft=[];++W-1}function Jx(o,a){var f=this.__data__,m=qa(f,o);return m<0?(++this.size,f.push([o,a])):f[m][1]=a,this}Pr.prototype.clear=Wx,Pr.prototype.delete=qx,Pr.prototype.get=Kx,Pr.prototype.has=Gx,Pr.prototype.set=Jx;function Lr(o){var a=-1,f=o==null?0:o.length;for(this.clear();++a=a?o:a)),o}function Zn(o,a,f,m,y,k){var $,M=a&g,N=a&h,Q=a&v;if(f&&($=y?f(o,m,y,k):f(o)),$!==n)return $;if(!Pt(o))return o;var X=Ue(o);if(X){if($=X2(o),!M)return kn(o,$)}else{var oe=un(o),ge=oe==mt||oe==T;if(uo(o))return hg(o,M);if(oe==G||oe==fn||ge&&!y){if($=N||ge?{}:Pg(o),!M)return N?U2(o,f2($,o)):j2(o,zh($,o))}else{if(!Ct[oe])return y?o:{};$=ek(o,oe,M)}}k||(k=new ur);var Te=k.get(o);if(Te)return Te;k.set(o,$),lm(o)?o.forEach(function(Me){$.add(Zn(Me,a,f,Me,o,k))}):im(o)&&o.forEach(function(Me,Qe){$.set(Qe,Zn(Me,a,f,Qe,o,k))});var Le=Q?N?Sc:kc:N?Cn:Qt,Je=X?n:Le(o);return Kn(Je||o,function(Me,Qe){Je&&(Qe=Me,Me=o[Qe]),vi($,Qe,Zn(Me,a,f,Qe,o,k))}),$}function d2(o){var a=Qt(o);return function(f){return Wh(f,o,a)}}function Wh(o,a,f){var m=f.length;if(o==null)return!m;for(o=kt(o);m--;){var y=f[m],k=a[y],$=o[y];if($===n&&!(y in o)||!k($))return!1}return!0}function qh(o,a,f){if(typeof o!="function")throw new Gn(l);return Si(function(){o.apply(n,f)},a)}function yi(o,a,f,m){var y=-1,k=Aa,$=!0,M=o.length,N=[],Q=a.length;if(!M)return N;f&&(a=At(a,Mn(f))),m?(k=zu,$=!1):a.length>=s&&(k=fi,$=!1,a=new No(a));e:for(;++yy?0:y+f),m=m===n||m>y?y:We(m),m<0&&(m+=y),m=f>m?0:cm(m);f0&&f(M)?a>1?nn(M,a-1,f,m,y):no(y,M):m||(y[y.length]=M)}return y}var sc=_g(),Jh=_g(!0);function br(o,a){return o&&sc(o,a,Qt)}function ic(o,a){return o&&Jh(o,a,Qt)}function Ga(o,a){return to(a,function(f){return Vr(o[f])})}function Uo(o,a){a=ao(a,o);for(var f=0,m=a.length;o!=null&&fa}function g2(o,a){return o!=null&&vt.call(o,a)}function m2(o,a){return o!=null&&a in kt(o)}function v2(o,a,f){return o>=ln(a,f)&&o=120&&X.length>=120)?new No($&&X):n}X=o[0];var oe=-1,ge=M[0];e:for(;++oe-1;)M!==o&&Va.call(M,N,1),Va.call(o,N,1);return o}function ig(o,a){for(var f=o?a.length:0,m=f-1;f--;){var y=a[f];if(f==m||y!==k){var k=y;Dr(y)?Va.call(o,y,1):mc(o,y)}}return o}function pc(o,a){return o+Ua(Nh()*(a-o+1))}function I2(o,a,f,m){for(var y=-1,k=Zt(ja((a-o)/(f||1)),0),$=W(k);k--;)$[m?k:++y]=o,o+=f;return $}function hc(o,a){var f="";if(!o||a<1||a>ve)return f;do a%2&&(f+=o),a=Ua(a/2),a&&(o+=o);while(a);return f}function Ze(o,a){return Rc(Bg(o,a,En),o+"")}function R2(o){return Hh(Ls(o))}function O2(o,a){var f=Ls(o);return sl(f,jo(a,0,f.length))}function wi(o,a,f,m){if(!Pt(o))return o;a=ao(a,o);for(var y=-1,k=a.length,$=k-1,M=o;M!=null&&++yy?0:y+a),f=f>y?y:f,f<0&&(f+=y),y=a>f?0:f-a>>>0,a>>>=0;for(var k=W(y);++m>>1,$=o[k];$!==null&&!Fn($)&&(f?$<=a:$=s){var Q=a?null:q2(o);if(Q)return Ra(Q);$=!1,y=fi,N=new No}else N=a?[]:M;e:for(;++m=m?o:Yn(o,a,f)}var pg=kx||function(o){return tn.clearTimeout(o)};function hg(o,a){if(a)return o.slice();var f=o.length,m=Mh?Mh(f):new o.constructor(f);return o.copy(m),m}function _c(o){var a=new o.constructor(o.byteLength);return new Fa(a).set(new Fa(o)),a}function F2(o,a){var f=a?_c(o.buffer):o.buffer;return new o.constructor(f,o.byteOffset,o.byteLength)}function D2(o){var a=new o.constructor(o.source,Yp.exec(o));return a.lastIndex=o.lastIndex,a}function V2(o){return mi?kt(mi.call(o)):{}}function gg(o,a){var f=a?_c(o.buffer):o.buffer;return new o.constructor(f,o.byteOffset,o.length)}function mg(o,a){if(o!==a){var f=o!==n,m=o===null,y=o===o,k=Fn(o),$=a!==n,M=a===null,N=a===a,Q=Fn(a);if(!M&&!Q&&!k&&o>a||k&&$&&N&&!M&&!Q||m&&$&&N||!f&&N||!y)return 1;if(!m&&!k&&!Q&&o=M)return N;var Q=f[m];return N*(Q=="desc"?-1:1)}}return o.index-a.index}function vg(o,a,f,m){for(var y=-1,k=o.length,$=f.length,M=-1,N=a.length,Q=Zt(k-$,0),X=W(N+Q),oe=!m;++M1?f[y-1]:n,$=y>2?f[2]:n;for(k=o.length>3&&typeof k=="function"?(y--,k):n,$&&hn(f[0],f[1],$)&&(k=y<3?n:k,y=1),a=kt(a);++m-1?y[k?a[$]:$]:n}}function kg(o){return Fr(function(a){var f=a.length,m=f,y=Jn.prototype.thru;for(o&&a.reverse();m--;){var k=a[m];if(typeof k!="function")throw new Gn(l);if(y&&!$&&rl(k)=="wrapper")var $=new Jn([],!0)}for(m=$?m:f;++m1&&ot.reverse(),X&&NM))return!1;var Q=k.get(o),X=k.get(a);if(Q&&X)return Q==a&&X==o;var oe=-1,ge=!0,Te=f&x?new No:n;for(k.set(o,a),k.set(a,o);++oe1?"& ":"")+a[m],a=a.join(f>2?", ":" "),o.replace(rw,`{ + */iu.exports;(function(e,t){(function(){var n,r="4.17.21",s=200,i="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",l="Expected a function",u="Invalid `variable` option passed into `_.template`",c="__lodash_hash_undefined__",p=500,d="__lodash_placeholder__",g=1,h=2,v=4,_=1,x=2,b=1,E=2,C=4,S=8,A=16,B=32,L=64,H=128,j=256,q=512,K=30,Y="...",z=800,be=16,ce=1,ke=2,ie=3,Se=1/0,ve=9007199254740991,Lt=17976931348623157e292,Gt=NaN,Re=4294967295,je=Re-1,Ft=Re>>>1,Dt=[["ary",H],["bind",b],["bindKey",E],["curry",S],["curryRight",A],["flip",q],["partial",B],["partialRight",L],["rearg",j]],fn="[object Arguments]",St="[object Array]",ee="[object AsyncFunction]",ye="[object Boolean]",pe="[object Date]",Ce="[object DOMException]",rt="[object Error]",mt="[object Function]",T="[object GeneratorFunction]",O="[object Map]",U="[object Number]",re="[object Null]",G="[object Object]",fe="[object Promise]",me="[object Proxy]",le="[object RegExp]",ue="[object Set]",se="[object String]",_e="[object Symbol]",Oe="[object Undefined]",Ee="[object WeakMap]",De="[object WeakSet]",He="[object ArrayBuffer]",ot="[object DataView]",_t="[object Float32Array]",Mt="[object Float64Array]",dn="[object Int8Array]",yr="[object Int16Array]",bs="[object Int32Array]",Or="[object Uint8Array]",_s="[object Uint8ClampedArray]",en="[object Uint16Array]",xn="[object Uint32Array]",ka=/\b__p \+= '';/g,D_=/\b(__p \+=) '' \+/g,V_=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Hp=/&(?:amp|lt|gt|quot|#39);/g,zp=/[&<>"']/g,N_=RegExp(Hp.source),j_=RegExp(zp.source),U_=/<%-([\s\S]+?)%>/g,H_=/<%([\s\S]+?)%>/g,Wp=/<%=([\s\S]+?)%>/g,z_=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,W_=/^\w*$/,q_=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Ou=/[\\^$.*+?()[\]{}|]/g,K_=RegExp(Ou.source),Pu=/^\s+/,G_=/\s/,J_=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Z_=/\{\n\/\* \[wrapped with (.+)\] \*/,Y_=/,? & /,Q_=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,X_=/[()=,{}\[\]\/\s]/,ew=/\\(\\)?/g,tw=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,qp=/\w*$/,nw=/^[-+]0x[0-9a-f]+$/i,rw=/^0b[01]+$/i,ow=/^\[object .+?Constructor\]$/,sw=/^0o[0-7]+$/i,iw=/^(?:0|[1-9]\d*)$/,aw=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Sa=/($^)/,lw=/['\n\r\u2028\u2029\\]/g,Ca="\\ud800-\\udfff",uw="\\u0300-\\u036f",cw="\\ufe20-\\ufe2f",fw="\\u20d0-\\u20ff",Kp=uw+cw+fw,Gp="\\u2700-\\u27bf",Jp="a-z\\xdf-\\xf6\\xf8-\\xff",dw="\\xac\\xb1\\xd7\\xf7",pw="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",hw="\\u2000-\\u206f",gw=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Zp="A-Z\\xc0-\\xd6\\xd8-\\xde",Yp="\\ufe0e\\ufe0f",Qp=dw+pw+hw+gw,Lu="['’]",mw="["+Ca+"]",Xp="["+Qp+"]",Ea="["+Kp+"]",eh="\\d+",vw="["+Gp+"]",th="["+Jp+"]",nh="[^"+Ca+Qp+eh+Gp+Jp+Zp+"]",Mu="\\ud83c[\\udffb-\\udfff]",yw="(?:"+Ea+"|"+Mu+")",rh="[^"+Ca+"]",Bu="(?:\\ud83c[\\udde6-\\uddff]){2}",Fu="[\\ud800-\\udbff][\\udc00-\\udfff]",ws="["+Zp+"]",oh="\\u200d",sh="(?:"+th+"|"+nh+")",bw="(?:"+ws+"|"+nh+")",ih="(?:"+Lu+"(?:d|ll|m|re|s|t|ve))?",ah="(?:"+Lu+"(?:D|LL|M|RE|S|T|VE))?",lh=yw+"?",uh="["+Yp+"]?",_w="(?:"+oh+"(?:"+[rh,Bu,Fu].join("|")+")"+uh+lh+")*",ww="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",xw="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",ch=uh+lh+_w,kw="(?:"+[vw,Bu,Fu].join("|")+")"+ch,Sw="(?:"+[rh+Ea+"?",Ea,Bu,Fu,mw].join("|")+")",Cw=RegExp(Lu,"g"),Ew=RegExp(Ea,"g"),Du=RegExp(Mu+"(?="+Mu+")|"+Sw+ch,"g"),Tw=RegExp([ws+"?"+th+"+"+ih+"(?="+[Xp,ws,"$"].join("|")+")",bw+"+"+ah+"(?="+[Xp,ws+sh,"$"].join("|")+")",ws+"?"+sh+"+"+ih,ws+"+"+ah,xw,ww,eh,kw].join("|"),"g"),$w=RegExp("["+oh+Ca+Kp+Yp+"]"),Aw=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Iw=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Rw=-1,Tt={};Tt[_t]=Tt[Mt]=Tt[dn]=Tt[yr]=Tt[bs]=Tt[Or]=Tt[_s]=Tt[en]=Tt[xn]=!0,Tt[fn]=Tt[St]=Tt[He]=Tt[ye]=Tt[ot]=Tt[pe]=Tt[rt]=Tt[mt]=Tt[O]=Tt[U]=Tt[G]=Tt[le]=Tt[ue]=Tt[se]=Tt[Ee]=!1;var Ct={};Ct[fn]=Ct[St]=Ct[He]=Ct[ot]=Ct[ye]=Ct[pe]=Ct[_t]=Ct[Mt]=Ct[dn]=Ct[yr]=Ct[bs]=Ct[O]=Ct[U]=Ct[G]=Ct[le]=Ct[ue]=Ct[se]=Ct[_e]=Ct[Or]=Ct[_s]=Ct[en]=Ct[xn]=!0,Ct[rt]=Ct[mt]=Ct[Ee]=!1;var Ow={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},Pw={"&":"&","<":"<",">":">",'"':""","'":"'"},Lw={"&":"&","<":"<",">":">",""":'"',"'":"'"},Mw={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Bw=parseFloat,Fw=parseInt,fh=typeof Ri=="object"&&Ri&&Ri.Object===Object&&Ri,Dw=typeof self=="object"&&self&&self.Object===Object&&self,tn=fh||Dw||Function("return this")(),Vu=t&&!t.nodeType&&t,Fo=Vu&&!0&&e&&!e.nodeType&&e,dh=Fo&&Fo.exports===Vu,Nu=dh&&fh.process,qn=function(){try{var D=Fo&&Fo.require&&Fo.require("util").types;return D||Nu&&Nu.binding&&Nu.binding("util")}catch{}}(),ph=qn&&qn.isArrayBuffer,hh=qn&&qn.isDate,gh=qn&&qn.isMap,mh=qn&&qn.isRegExp,vh=qn&&qn.isSet,yh=qn&&qn.isTypedArray;function Pn(D,J,W){switch(W.length){case 0:return D.call(J);case 1:return D.call(J,W[0]);case 2:return D.call(J,W[0],W[1]);case 3:return D.call(J,W[0],W[1],W[2])}return D.apply(J,W)}function Vw(D,J,W,xe){for(var Ne=-1,ft=D==null?0:D.length;++Ne-1}function ju(D,J,W){for(var xe=-1,Ne=D==null?0:D.length;++xe-1;);return W}function Eh(D,J){for(var W=D.length;W--&&xs(J,D[W],0)>-1;);return W}function Gw(D,J){for(var W=D.length,xe=0;W--;)D[W]===J&&++xe;return xe}var Jw=Wu(Ow),Zw=Wu(Pw);function Yw(D){return"\\"+Mw[D]}function Qw(D,J){return D==null?n:D[J]}function ks(D){return $w.test(D)}function Xw(D){return Aw.test(D)}function ex(D){for(var J,W=[];!(J=D.next()).done;)W.push(J.value);return W}function Ju(D){var J=-1,W=Array(D.size);return D.forEach(function(xe,Ne){W[++J]=[Ne,xe]}),W}function Th(D,J){return function(W){return D(J(W))}}function no(D,J){for(var W=-1,xe=D.length,Ne=0,ft=[];++W-1}function jx(o,a){var f=this.__data__,m=za(f,o);return m<0?(++this.size,f.push([o,a])):f[m][1]=a,this}Pr.prototype.clear=Fx,Pr.prototype.delete=Dx,Pr.prototype.get=Vx,Pr.prototype.has=Nx,Pr.prototype.set=jx;function Lr(o){var a=-1,f=o==null?0:o.length;for(this.clear();++a=a?o:a)),o}function Zn(o,a,f,m,y,k){var $,M=a&g,N=a&h,Q=a&v;if(f&&($=y?f(o,m,y,k):f(o)),$!==n)return $;if(!Pt(o))return o;var X=Ue(o);if(X){if($=W2(o),!M)return kn(o,$)}else{var oe=un(o),ge=oe==mt||oe==T;if(lo(o))return ug(o,M);if(oe==G||oe==fn||ge&&!y){if($=N||ge?{}:$g(o),!M)return N?L2(o,r2($,o)):P2(o,Vh($,o))}else{if(!Ct[oe])return y?o:{};$=q2(o,oe,M)}}k||(k=new ur);var Te=k.get(o);if(Te)return Te;k.set(o,$),rm(o)?o.forEach(function(Me){$.add(Zn(Me,a,f,Me,o,k))}):tm(o)&&o.forEach(function(Me,Qe){$.set(Qe,Zn(Me,a,f,Qe,o,k))});var Le=Q?N?wc:_c:N?Cn:Qt,Je=X?n:Le(o);return Kn(Je||o,function(Me,Qe){Je&&(Qe=Me,Me=o[Qe]),mi($,Qe,Zn(Me,a,f,Qe,o,k))}),$}function o2(o){var a=Qt(o);return function(f){return Nh(f,o,a)}}function Nh(o,a,f){var m=f.length;if(o==null)return!m;for(o=kt(o);m--;){var y=f[m],k=a[y],$=o[y];if($===n&&!(y in o)||!k($))return!1}return!0}function jh(o,a,f){if(typeof o!="function")throw new Gn(l);return ki(function(){o.apply(n,f)},a)}function vi(o,a,f,m){var y=-1,k=Ta,$=!0,M=o.length,N=[],Q=a.length;if(!M)return N;f&&(a=At(a,Ln(f))),m?(k=ju,$=!1):a.length>=s&&(k=ci,$=!1,a=new No(a));e:for(;++yy?0:y+f),m=m===n||m>y?y:We(m),m<0&&(m+=y),m=f>m?0:sm(m);f0&&f(M)?a>1?nn(M,a-1,f,m,y):to(y,M):m||(y[y.length]=M)}return y}var nc=gg(),zh=gg(!0);function br(o,a){return o&&nc(o,a,Qt)}function rc(o,a){return o&&zh(o,a,Qt)}function qa(o,a){return eo(a,function(f){return Vr(o[f])})}function Uo(o,a){a=io(a,o);for(var f=0,m=a.length;o!=null&&fa}function a2(o,a){return o!=null&&vt.call(o,a)}function l2(o,a){return o!=null&&a in kt(o)}function u2(o,a,f){return o>=ln(a,f)&&o=120&&X.length>=120)?new No($&&X):n}X=o[0];var oe=-1,ge=M[0];e:for(;++oe-1;)M!==o&&Fa.call(M,N,1),Fa.call(o,N,1);return o}function tg(o,a){for(var f=o?a.length:0,m=f-1;f--;){var y=a[f];if(f==m||y!==k){var k=y;Dr(y)?Fa.call(o,y,1):pc(o,y)}}return o}function cc(o,a){return o+Na(Mh()*(a-o+1))}function x2(o,a,f,m){for(var y=-1,k=Zt(Va((a-o)/(f||1)),0),$=W(k);k--;)$[m?k:++y]=o,o+=f;return $}function fc(o,a){var f="";if(!o||a<1||a>ve)return f;do a%2&&(f+=o),a=Na(a/2),a&&(o+=o);while(a);return f}function Ze(o,a){return $c(Rg(o,a,En),o+"")}function k2(o){return Dh(Ls(o))}function S2(o,a){var f=Ls(o);return rl(f,jo(a,0,f.length))}function _i(o,a,f,m){if(!Pt(o))return o;a=io(a,o);for(var y=-1,k=a.length,$=k-1,M=o;M!=null&&++yy?0:y+a),f=f>y?y:f,f<0&&(f+=y),y=a>f?0:f-a>>>0,a>>>=0;for(var k=W(y);++m>>1,$=o[k];$!==null&&!Bn($)&&(f?$<=a:$=s){var Q=a?null:D2(o);if(Q)return Aa(Q);$=!1,y=ci,N=new No}else N=a?[]:M;e:for(;++m=m?o:Yn(o,a,f)}var lg=gx||function(o){return tn.clearTimeout(o)};function ug(o,a){if(a)return o.slice();var f=o.length,m=Ih?Ih(f):new o.constructor(f);return o.copy(m),m}function vc(o){var a=new o.constructor(o.byteLength);return new Ma(a).set(new Ma(o)),a}function A2(o,a){var f=a?vc(o.buffer):o.buffer;return new o.constructor(f,o.byteOffset,o.byteLength)}function I2(o){var a=new o.constructor(o.source,qp.exec(o));return a.lastIndex=o.lastIndex,a}function R2(o){return gi?kt(gi.call(o)):{}}function cg(o,a){var f=a?vc(o.buffer):o.buffer;return new o.constructor(f,o.byteOffset,o.length)}function fg(o,a){if(o!==a){var f=o!==n,m=o===null,y=o===o,k=Bn(o),$=a!==n,M=a===null,N=a===a,Q=Bn(a);if(!M&&!Q&&!k&&o>a||k&&$&&N&&!M&&!Q||m&&$&&N||!f&&N||!y)return 1;if(!m&&!k&&!Q&&o=M)return N;var Q=f[m];return N*(Q=="desc"?-1:1)}}return o.index-a.index}function dg(o,a,f,m){for(var y=-1,k=o.length,$=f.length,M=-1,N=a.length,Q=Zt(k-$,0),X=W(N+Q),oe=!m;++M1?f[y-1]:n,$=y>2?f[2]:n;for(k=o.length>3&&typeof k=="function"?(y--,k):n,$&&hn(f[0],f[1],$)&&(k=y<3?n:k,y=1),a=kt(a);++m-1?y[k?a[$]:$]:n}}function yg(o){return Fr(function(a){var f=a.length,m=f,y=Jn.prototype.thru;for(o&&a.reverse();m--;){var k=a[m];if(typeof k!="function")throw new Gn(l);if(y&&!$&&tl(k)=="wrapper")var $=new Jn([],!0)}for(m=$?m:f;++m1&&st.reverse(),X&&NM))return!1;var Q=k.get(o),X=k.get(a);if(Q&&X)return Q==a&&X==o;var oe=-1,ge=!0,Te=f&x?new No:n;for(k.set(o,a),k.set(a,o);++oe1?"& ":"")+a[m],a=a.join(f>2?", ":" "),o.replace(J_,`{ /* [wrapped with `+a+`] */ -`)}function nk(o){return Ue(o)||Wo(o)||!!(Dh&&o&&o[Dh])}function Dr(o,a){var f=typeof o;return a=a??ve,!!a&&(f=="number"||f!="symbol"&&hw.test(o))&&o>-1&&o%1==0&&o0){if(++a>=z)return arguments[0]}else a=0;return o.apply(n,arguments)}}function sl(o,a){var f=-1,m=o.length,y=m-1;for(a=a===n?m:a;++f1?o[a-1]:n;return f=typeof f=="function"?(o.pop(),f):n,Gg(o,f)});function Jg(o){var a=w(o);return a.__chain__=!0,a}function pS(o,a){return a(o),o}function il(o,a){return a(o)}var hS=Fr(function(o){var a=o.length,f=a?o[0]:0,m=this.__wrapped__,y=function(k){return oc(k,o)};return a>1||this.__actions__.length||!(m instanceof tt)||!Dr(f)?this.thru(y):(m=m.slice(f,+f+(a?1:0)),m.__actions__.push({func:il,args:[y],thisArg:n}),new Jn(m,this.__chain__).thru(function(k){return a&&!k.length&&k.push(n),k}))});function gS(){return Jg(this)}function mS(){return new Jn(this.value(),this.__chain__)}function vS(){this.__values__===n&&(this.__values__=um(this.value()));var o=this.__index__>=this.__values__.length,a=o?n:this.__values__[this.__index__++];return{done:o,value:a}}function yS(){return this}function bS(o){for(var a,f=this;f instanceof Wa;){var m=Ug(f);m.__index__=0,m.__values__=n,a?y.__wrapped__=m:a=m;var y=m;f=f.__wrapped__}return y.__wrapped__=o,a}function _S(){var o=this.__wrapped__;if(o instanceof tt){var a=o;return this.__actions__.length&&(a=new tt(this)),a=a.reverse(),a.__actions__.push({func:il,args:[Oc],thisArg:n}),new Jn(a,this.__chain__)}return this.thru(Oc)}function wS(){return fg(this.__wrapped__,this.__actions__)}var xS=Qa(function(o,a,f){vt.call(o,f)?++o[f]:Mr(o,f,1)});function kS(o,a,f){var m=Ue(o)?Sh:p2;return f&&hn(o,a,f)&&(a=n),m(o,Pe(a,3))}function SS(o,a){var f=Ue(o)?to:Gh;return f(o,Pe(a,3))}var CS=xg(Hg),ES=xg(zg);function TS(o,a){return nn(al(o,a),1)}function $S(o,a){return nn(al(o,a),Se)}function AS(o,a,f){return f=f===n?1:We(f),nn(al(o,a),f)}function Zg(o,a){var f=Ue(o)?Kn:so;return f(o,Pe(a,3))}function Yg(o,a){var f=Ue(o)?Gw:Kh;return f(o,Pe(a,3))}var IS=Qa(function(o,a,f){vt.call(o,f)?o[f].push(a):Mr(o,f,[a])});function RS(o,a,f,m){o=Sn(o)?o:Ls(o),f=f&&!m?We(f):0;var y=o.length;return f<0&&(f=Zt(y+f,0)),dl(o)?f<=y&&o.indexOf(a,f)>-1:!!y&&xs(o,a,f)>-1}var OS=Ze(function(o,a,f){var m=-1,y=typeof a=="function",k=Sn(o)?W(o.length):[];return so(o,function($){k[++m]=y?Ln(a,$,f):bi($,a,f)}),k}),PS=Qa(function(o,a,f){Mr(o,f,a)});function al(o,a){var f=Ue(o)?At:eg;return f(o,Pe(a,3))}function LS(o,a,f,m){return o==null?[]:(Ue(a)||(a=a==null?[]:[a]),f=m?n:f,Ue(f)||(f=f==null?[]:[f]),og(o,a,f))}var MS=Qa(function(o,a,f){o[f?0:1].push(a)},function(){return[[],[]]});function BS(o,a,f){var m=Ue(o)?Wu:$h,y=arguments.length<3;return m(o,Pe(a,4),f,y,so)}function FS(o,a,f){var m=Ue(o)?Jw:$h,y=arguments.length<3;return m(o,Pe(a,4),f,y,Kh)}function DS(o,a){var f=Ue(o)?to:Gh;return f(o,cl(Pe(a,3)))}function VS(o){var a=Ue(o)?Hh:R2;return a(o)}function NS(o,a,f){(f?hn(o,a,f):a===n)?a=1:a=We(a);var m=Ue(o)?l2:O2;return m(o,a)}function jS(o){var a=Ue(o)?u2:L2;return a(o)}function US(o){if(o==null)return 0;if(Sn(o))return dl(o)?Ss(o):o.length;var a=un(o);return a==O||a==ue?o.size:cc(o).length}function HS(o,a,f){var m=Ue(o)?qu:M2;return f&&hn(o,a,f)&&(a=n),m(o,Pe(a,3))}var zS=Ze(function(o,a){if(o==null)return[];var f=a.length;return f>1&&hn(o,a[0],a[1])?a=[]:f>2&&hn(a[0],a[1],a[2])&&(a=[a[0]]),og(o,nn(a,1),[])}),ll=Sx||function(){return tn.Date.now()};function WS(o,a){if(typeof a!="function")throw new Gn(l);return o=We(o),function(){if(--o<1)return a.apply(this,arguments)}}function Qg(o,a,f){return a=f?n:a,a=o&&a==null?o.length:a,Br(o,U,n,n,n,n,a)}function Xg(o,a){var f;if(typeof a!="function")throw new Gn(l);return o=We(o),function(){return--o>0&&(f=a.apply(this,arguments)),o<=1&&(a=n),f}}var Lc=Ze(function(o,a,f){var m=b;if(f.length){var y=ro(f,Os(Lc));m|=B}return Br(o,m,a,f,y)}),em=Ze(function(o,a,f){var m=b|E;if(f.length){var y=ro(f,Os(em));m|=B}return Br(a,m,o,f,y)});function tm(o,a,f){a=f?n:a;var m=Br(o,S,n,n,n,n,n,a);return m.placeholder=tm.placeholder,m}function nm(o,a,f){a=f?n:a;var m=Br(o,A,n,n,n,n,n,a);return m.placeholder=nm.placeholder,m}function rm(o,a,f){var m,y,k,$,M,N,Q=0,X=!1,oe=!1,ge=!0;if(typeof o!="function")throw new Gn(l);a=Xn(a)||0,Pt(f)&&(X=!!f.leading,oe="maxWait"in f,k=oe?Zt(Xn(f.maxWait)||0,a):k,ge="trailing"in f?!!f.trailing:ge);function Te(Nt){var fr=m,jr=y;return m=y=n,Q=Nt,$=o.apply(jr,fr),$}function Le(Nt){return Q=Nt,M=Si(Qe,a),X?Te(Nt):$}function Je(Nt){var fr=Nt-N,jr=Nt-Q,xm=a-fr;return oe?ln(xm,k-jr):xm}function Me(Nt){var fr=Nt-N,jr=Nt-Q;return N===n||fr>=a||fr<0||oe&&jr>=k}function Qe(){var Nt=ll();if(Me(Nt))return ot(Nt);M=Si(Qe,Je(Nt))}function ot(Nt){return M=n,ge&&m?Te(Nt):(m=y=n,$)}function Dn(){M!==n&&pg(M),Q=0,m=N=y=M=n}function gn(){return M===n?$:ot(ll())}function Vn(){var Nt=ll(),fr=Me(Nt);if(m=arguments,y=this,N=Nt,fr){if(M===n)return Le(N);if(oe)return pg(M),M=Si(Qe,a),Te(N)}return M===n&&(M=Si(Qe,a)),$}return Vn.cancel=Dn,Vn.flush=gn,Vn}var qS=Ze(function(o,a){return qh(o,1,a)}),KS=Ze(function(o,a,f){return qh(o,Xn(a)||0,f)});function GS(o){return Br(o,q)}function ul(o,a){if(typeof o!="function"||a!=null&&typeof a!="function")throw new Gn(l);var f=function(){var m=arguments,y=a?a.apply(this,m):m[0],k=f.cache;if(k.has(y))return k.get(y);var $=o.apply(this,m);return f.cache=k.set(y,$)||k,$};return f.cache=new(ul.Cache||Lr),f}ul.Cache=Lr;function cl(o){if(typeof o!="function")throw new Gn(l);return function(){var a=arguments;switch(a.length){case 0:return!o.call(this);case 1:return!o.call(this,a[0]);case 2:return!o.call(this,a[0],a[1]);case 3:return!o.call(this,a[0],a[1],a[2])}return!o.apply(this,a)}}function JS(o){return Xg(2,o)}var ZS=B2(function(o,a){a=a.length==1&&Ue(a[0])?At(a[0],Mn(Pe())):At(nn(a,1),Mn(Pe()));var f=a.length;return Ze(function(m){for(var y=-1,k=ln(m.length,f);++y=a}),Wo=Yh(function(){return arguments}())?Yh:function(o){return Bt(o)&&vt.call(o,"callee")&&!Fh.call(o,"callee")},Ue=W.isArray,f5=yh?Mn(yh):b2;function Sn(o){return o!=null&&fl(o.length)&&!Vr(o)}function Vt(o){return Bt(o)&&Sn(o)}function d5(o){return o===!0||o===!1||Bt(o)&&pn(o)==ye}var uo=Ex||qc,p5=bh?Mn(bh):_2;function h5(o){return Bt(o)&&o.nodeType===1&&!Ci(o)}function g5(o){if(o==null)return!0;if(Sn(o)&&(Ue(o)||typeof o=="string"||typeof o.splice=="function"||uo(o)||Ps(o)||Wo(o)))return!o.length;var a=un(o);if(a==O||a==ue)return!o.size;if(ki(o))return!cc(o).length;for(var f in o)if(vt.call(o,f))return!1;return!0}function m5(o,a){return _i(o,a)}function v5(o,a,f){f=typeof f=="function"?f:n;var m=f?f(o,a):n;return m===n?_i(o,a,n,f):!!m}function Bc(o){if(!Bt(o))return!1;var a=pn(o);return a==nt||a==Ce||typeof o.message=="string"&&typeof o.name=="string"&&!Ci(o)}function y5(o){return typeof o=="number"&&Vh(o)}function Vr(o){if(!Pt(o))return!1;var a=pn(o);return a==mt||a==T||a==ee||a==me}function sm(o){return typeof o=="number"&&o==We(o)}function fl(o){return typeof o=="number"&&o>-1&&o%1==0&&o<=ve}function Pt(o){var a=typeof o;return o!=null&&(a=="object"||a=="function")}function Bt(o){return o!=null&&typeof o=="object"}var im=_h?Mn(_h):x2;function b5(o,a){return o===a||uc(o,a,Ec(a))}function _5(o,a,f){return f=typeof f=="function"?f:n,uc(o,a,Ec(a),f)}function w5(o){return am(o)&&o!=+o}function x5(o){if(sk(o))throw new Ne(i);return Qh(o)}function k5(o){return o===null}function S5(o){return o==null}function am(o){return typeof o=="number"||Bt(o)&&pn(o)==H}function Ci(o){if(!Bt(o)||pn(o)!=G)return!1;var a=Da(o);if(a===null)return!0;var f=vt.call(a,"constructor")&&a.constructor;return typeof f=="function"&&f instanceof f&&La.call(f)==_x}var Fc=wh?Mn(wh):k2;function C5(o){return sm(o)&&o>=-ve&&o<=ve}var lm=xh?Mn(xh):S2;function dl(o){return typeof o=="string"||!Ue(o)&&Bt(o)&&pn(o)==se}function Fn(o){return typeof o=="symbol"||Bt(o)&&pn(o)==_e}var Ps=kh?Mn(kh):C2;function E5(o){return o===n}function T5(o){return Bt(o)&&un(o)==Ee}function $5(o){return Bt(o)&&pn(o)==De}var A5=nl(fc),I5=nl(function(o,a){return o<=a});function um(o){if(!o)return[];if(Sn(o))return dl(o)?lr(o):kn(o);if(di&&o[di])return lx(o[di]());var a=un(o),f=a==O?Qu:a==ue?Ra:Ls;return f(o)}function Nr(o){if(!o)return o===0?o:0;if(o=Xn(o),o===Se||o===-Se){var a=o<0?-1:1;return a*Lt}return o===o?o:0}function We(o){var a=Nr(o),f=a%1;return a===a?f?a-f:a:0}function cm(o){return o?jo(We(o),0,Re):0}function Xn(o){if(typeof o=="number")return o;if(Fn(o))return Gt;if(Pt(o)){var a=typeof o.valueOf=="function"?o.valueOf():o;o=Pt(a)?a+"":a}if(typeof o!="string")return o===0?o:+o;o=Ah(o);var f=fw.test(o);return f||pw.test(o)?Ww(o.slice(2),f?2:8):cw.test(o)?Gt:+o}function fm(o){return _r(o,Cn(o))}function R5(o){return o?jo(We(o),-ve,ve):o===0?o:0}function ht(o){return o==null?"":Bn(o)}var O5=Is(function(o,a){if(ki(a)||Sn(a)){_r(a,Qt(a),o);return}for(var f in a)vt.call(a,f)&&vi(o,f,a[f])}),dm=Is(function(o,a){_r(a,Cn(a),o)}),pl=Is(function(o,a,f,m){_r(a,Cn(a),o,m)}),P5=Is(function(o,a,f,m){_r(a,Qt(a),o,m)}),L5=Fr(oc);function M5(o,a){var f=As(o);return a==null?f:zh(f,a)}var B5=Ze(function(o,a){o=kt(o);var f=-1,m=a.length,y=m>2?a[2]:n;for(y&&hn(a[0],a[1],y)&&(m=1);++f1),k}),_r(o,Sc(o),f),m&&(f=Zn(f,g|h|v,K2));for(var y=a.length;y--;)mc(f,a[y]);return f});function eC(o,a){return hm(o,cl(Pe(a)))}var tC=Fr(function(o,a){return o==null?{}:$2(o,a)});function hm(o,a){if(o==null)return{};var f=At(Sc(o),function(m){return[m]});return a=Pe(a),sg(o,f,function(m,y){return a(m,y[0])})}function nC(o,a,f){a=ao(a,o);var m=-1,y=a.length;for(y||(y=1,o=n);++ma){var m=o;o=a,a=m}if(f||o%1||a%1){var y=Nh();return ln(o+y*(a-o+zw("1e-"+((y+"").length-1))),a)}return pc(o,a)}var pC=Rs(function(o,a,f){return a=a.toLowerCase(),o+(f?vm(a):a)});function vm(o){return Nc(ht(o).toLowerCase())}function ym(o){return o=ht(o),o&&o.replace(gw,rx).replace(Lw,"")}function hC(o,a,f){o=ht(o),a=Bn(a);var m=o.length;f=f===n?m:jo(We(f),0,m);var y=f;return f-=a.length,f>=0&&o.slice(f,y)==a}function gC(o){return o=ht(o),o&&J_.test(o)?o.replace(Jp,ox):o}function mC(o){return o=ht(o),o&&tw.test(o)?o.replace(Mu,"\\$&"):o}var vC=Rs(function(o,a,f){return o+(f?"-":"")+a.toLowerCase()}),yC=Rs(function(o,a,f){return o+(f?" ":"")+a.toLowerCase()}),bC=wg("toLowerCase");function _C(o,a,f){o=ht(o),a=We(a);var m=a?Ss(o):0;if(!a||m>=a)return o;var y=(a-m)/2;return tl(Ua(y),f)+o+tl(ja(y),f)}function wC(o,a,f){o=ht(o),a=We(a);var m=a?Ss(o):0;return a&&m>>0,f?(o=ht(o),o&&(typeof a=="string"||a!=null&&!Fc(a))&&(a=Bn(a),!a&&ks(o))?lo(lr(o),0,f):o.split(a,f)):[]}var $C=Rs(function(o,a,f){return o+(f?" ":"")+Nc(a)});function AC(o,a,f){return o=ht(o),f=f==null?0:jo(We(f),0,o.length),a=Bn(a),o.slice(f,f+a.length)==a}function IC(o,a,f){var m=w.templateSettings;f&&hn(o,a,f)&&(a=n),o=ht(o),a=pl({},a,m,$g);var y=pl({},a.imports,m.imports,$g),k=Qt(y),$=Yu(y,k),M,N,Q=0,X=a.interpolate||Ea,oe="__p += '",ge=Xu((a.escape||Ea).source+"|"+X.source+"|"+(X===Zp?uw:Ea).source+"|"+(a.evaluate||Ea).source+"|$","g"),Te="//# sourceURL="+(vt.call(a,"sourceURL")?(a.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Vw+"]")+` -`;o.replace(ge,function(Me,Qe,ot,Dn,gn,Vn){return ot||(ot=Dn),oe+=o.slice(Q,Vn).replace(mw,sx),Qe&&(M=!0,oe+=`' + +`)}function G2(o){return Ue(o)||Wo(o)||!!(Ph&&o&&o[Ph])}function Dr(o,a){var f=typeof o;return a=a??ve,!!a&&(f=="number"||f!="symbol"&&iw.test(o))&&o>-1&&o%1==0&&o0){if(++a>=z)return arguments[0]}else a=0;return o.apply(n,arguments)}}function rl(o,a){var f=-1,m=o.length,y=m-1;for(a=a===n?m:a;++f1?o[a-1]:n;return f=typeof f=="function"?(o.pop(),f):n,Hg(o,f)});function zg(o){var a=w(o);return a.__chain__=!0,a}function sS(o,a){return a(o),o}function ol(o,a){return a(o)}var iS=Fr(function(o){var a=o.length,f=a?o[0]:0,m=this.__wrapped__,y=function(k){return tc(k,o)};return a>1||this.__actions__.length||!(m instanceof tt)||!Dr(f)?this.thru(y):(m=m.slice(f,+f+(a?1:0)),m.__actions__.push({func:ol,args:[y],thisArg:n}),new Jn(m,this.__chain__).thru(function(k){return a&&!k.length&&k.push(n),k}))});function aS(){return zg(this)}function lS(){return new Jn(this.value(),this.__chain__)}function uS(){this.__values__===n&&(this.__values__=om(this.value()));var o=this.__index__>=this.__values__.length,a=o?n:this.__values__[this.__index__++];return{done:o,value:a}}function cS(){return this}function fS(o){for(var a,f=this;f instanceof Ha;){var m=Fg(f);m.__index__=0,m.__values__=n,a?y.__wrapped__=m:a=m;var y=m;f=f.__wrapped__}return y.__wrapped__=o,a}function dS(){var o=this.__wrapped__;if(o instanceof tt){var a=o;return this.__actions__.length&&(a=new tt(this)),a=a.reverse(),a.__actions__.push({func:ol,args:[Ac],thisArg:n}),new Jn(a,this.__chain__)}return this.thru(Ac)}function pS(){return ig(this.__wrapped__,this.__actions__)}var hS=Za(function(o,a,f){vt.call(o,f)?++o[f]:Mr(o,f,1)});function gS(o,a,f){var m=Ue(o)?bh:s2;return f&&hn(o,a,f)&&(a=n),m(o,Pe(a,3))}function mS(o,a){var f=Ue(o)?eo:Hh;return f(o,Pe(a,3))}var vS=vg(Dg),yS=vg(Vg);function bS(o,a){return nn(sl(o,a),1)}function _S(o,a){return nn(sl(o,a),Se)}function wS(o,a,f){return f=f===n?1:We(f),nn(sl(o,a),f)}function Wg(o,a){var f=Ue(o)?Kn:oo;return f(o,Pe(a,3))}function qg(o,a){var f=Ue(o)?Nw:Uh;return f(o,Pe(a,3))}var xS=Za(function(o,a,f){vt.call(o,f)?o[f].push(a):Mr(o,f,[a])});function kS(o,a,f,m){o=Sn(o)?o:Ls(o),f=f&&!m?We(f):0;var y=o.length;return f<0&&(f=Zt(y+f,0)),cl(o)?f<=y&&o.indexOf(a,f)>-1:!!y&&xs(o,a,f)>-1}var SS=Ze(function(o,a,f){var m=-1,y=typeof a=="function",k=Sn(o)?W(o.length):[];return oo(o,function($){k[++m]=y?Pn(a,$,f):yi($,a,f)}),k}),CS=Za(function(o,a,f){Mr(o,f,a)});function sl(o,a){var f=Ue(o)?At:Jh;return f(o,Pe(a,3))}function ES(o,a,f,m){return o==null?[]:(Ue(a)||(a=a==null?[]:[a]),f=m?n:f,Ue(f)||(f=f==null?[]:[f]),Xh(o,a,f))}var TS=Za(function(o,a,f){o[f?0:1].push(a)},function(){return[[],[]]});function $S(o,a,f){var m=Ue(o)?Uu:kh,y=arguments.length<3;return m(o,Pe(a,4),f,y,oo)}function AS(o,a,f){var m=Ue(o)?jw:kh,y=arguments.length<3;return m(o,Pe(a,4),f,y,Uh)}function IS(o,a){var f=Ue(o)?eo:Hh;return f(o,ll(Pe(a,3)))}function RS(o){var a=Ue(o)?Dh:k2;return a(o)}function OS(o,a,f){(f?hn(o,a,f):a===n)?a=1:a=We(a);var m=Ue(o)?e2:S2;return m(o,a)}function PS(o){var a=Ue(o)?t2:E2;return a(o)}function LS(o){if(o==null)return 0;if(Sn(o))return cl(o)?Ss(o):o.length;var a=un(o);return a==O||a==ue?o.size:ac(o).length}function MS(o,a,f){var m=Ue(o)?Hu:T2;return f&&hn(o,a,f)&&(a=n),m(o,Pe(a,3))}var BS=Ze(function(o,a){if(o==null)return[];var f=a.length;return f>1&&hn(o,a[0],a[1])?a=[]:f>2&&hn(a[0],a[1],a[2])&&(a=[a[0]]),Xh(o,nn(a,1),[])}),il=mx||function(){return tn.Date.now()};function FS(o,a){if(typeof a!="function")throw new Gn(l);return o=We(o),function(){if(--o<1)return a.apply(this,arguments)}}function Kg(o,a,f){return a=f?n:a,a=o&&a==null?o.length:a,Br(o,H,n,n,n,n,a)}function Gg(o,a){var f;if(typeof a!="function")throw new Gn(l);return o=We(o),function(){return--o>0&&(f=a.apply(this,arguments)),o<=1&&(a=n),f}}var Rc=Ze(function(o,a,f){var m=b;if(f.length){var y=no(f,Os(Rc));m|=B}return Br(o,m,a,f,y)}),Jg=Ze(function(o,a,f){var m=b|E;if(f.length){var y=no(f,Os(Jg));m|=B}return Br(a,m,o,f,y)});function Zg(o,a,f){a=f?n:a;var m=Br(o,S,n,n,n,n,n,a);return m.placeholder=Zg.placeholder,m}function Yg(o,a,f){a=f?n:a;var m=Br(o,A,n,n,n,n,n,a);return m.placeholder=Yg.placeholder,m}function Qg(o,a,f){var m,y,k,$,M,N,Q=0,X=!1,oe=!1,ge=!0;if(typeof o!="function")throw new Gn(l);a=Xn(a)||0,Pt(f)&&(X=!!f.leading,oe="maxWait"in f,k=oe?Zt(Xn(f.maxWait)||0,a):k,ge="trailing"in f?!!f.trailing:ge);function Te(Nt){var fr=m,jr=y;return m=y=n,Q=Nt,$=o.apply(jr,fr),$}function Le(Nt){return Q=Nt,M=ki(Qe,a),X?Te(Nt):$}function Je(Nt){var fr=Nt-N,jr=Nt-Q,vm=a-fr;return oe?ln(vm,k-jr):vm}function Me(Nt){var fr=Nt-N,jr=Nt-Q;return N===n||fr>=a||fr<0||oe&&jr>=k}function Qe(){var Nt=il();if(Me(Nt))return st(Nt);M=ki(Qe,Je(Nt))}function st(Nt){return M=n,ge&&m?Te(Nt):(m=y=n,$)}function Fn(){M!==n&&lg(M),Q=0,m=N=y=M=n}function gn(){return M===n?$:st(il())}function Dn(){var Nt=il(),fr=Me(Nt);if(m=arguments,y=this,N=Nt,fr){if(M===n)return Le(N);if(oe)return lg(M),M=ki(Qe,a),Te(N)}return M===n&&(M=ki(Qe,a)),$}return Dn.cancel=Fn,Dn.flush=gn,Dn}var DS=Ze(function(o,a){return jh(o,1,a)}),VS=Ze(function(o,a,f){return jh(o,Xn(a)||0,f)});function NS(o){return Br(o,q)}function al(o,a){if(typeof o!="function"||a!=null&&typeof a!="function")throw new Gn(l);var f=function(){var m=arguments,y=a?a.apply(this,m):m[0],k=f.cache;if(k.has(y))return k.get(y);var $=o.apply(this,m);return f.cache=k.set(y,$)||k,$};return f.cache=new(al.Cache||Lr),f}al.Cache=Lr;function ll(o){if(typeof o!="function")throw new Gn(l);return function(){var a=arguments;switch(a.length){case 0:return!o.call(this);case 1:return!o.call(this,a[0]);case 2:return!o.call(this,a[0],a[1]);case 3:return!o.call(this,a[0],a[1],a[2])}return!o.apply(this,a)}}function jS(o){return Gg(2,o)}var US=$2(function(o,a){a=a.length==1&&Ue(a[0])?At(a[0],Ln(Pe())):At(nn(a,1),Ln(Pe()));var f=a.length;return Ze(function(m){for(var y=-1,k=ln(m.length,f);++y=a}),Wo=qh(function(){return arguments}())?qh:function(o){return Bt(o)&&vt.call(o,"callee")&&!Oh.call(o,"callee")},Ue=W.isArray,r5=ph?Ln(ph):f2;function Sn(o){return o!=null&&ul(o.length)&&!Vr(o)}function Vt(o){return Bt(o)&&Sn(o)}function o5(o){return o===!0||o===!1||Bt(o)&&pn(o)==ye}var lo=yx||Hc,s5=hh?Ln(hh):d2;function i5(o){return Bt(o)&&o.nodeType===1&&!Si(o)}function a5(o){if(o==null)return!0;if(Sn(o)&&(Ue(o)||typeof o=="string"||typeof o.splice=="function"||lo(o)||Ps(o)||Wo(o)))return!o.length;var a=un(o);if(a==O||a==ue)return!o.size;if(xi(o))return!ac(o).length;for(var f in o)if(vt.call(o,f))return!1;return!0}function l5(o,a){return bi(o,a)}function u5(o,a,f){f=typeof f=="function"?f:n;var m=f?f(o,a):n;return m===n?bi(o,a,n,f):!!m}function Pc(o){if(!Bt(o))return!1;var a=pn(o);return a==rt||a==Ce||typeof o.message=="string"&&typeof o.name=="string"&&!Si(o)}function c5(o){return typeof o=="number"&&Lh(o)}function Vr(o){if(!Pt(o))return!1;var a=pn(o);return a==mt||a==T||a==ee||a==me}function em(o){return typeof o=="number"&&o==We(o)}function ul(o){return typeof o=="number"&&o>-1&&o%1==0&&o<=ve}function Pt(o){var a=typeof o;return o!=null&&(a=="object"||a=="function")}function Bt(o){return o!=null&&typeof o=="object"}var tm=gh?Ln(gh):h2;function f5(o,a){return o===a||ic(o,a,kc(a))}function d5(o,a,f){return f=typeof f=="function"?f:n,ic(o,a,kc(a),f)}function p5(o){return nm(o)&&o!=+o}function h5(o){if(Y2(o))throw new Ne(i);return Kh(o)}function g5(o){return o===null}function m5(o){return o==null}function nm(o){return typeof o=="number"||Bt(o)&&pn(o)==U}function Si(o){if(!Bt(o)||pn(o)!=G)return!1;var a=Ba(o);if(a===null)return!0;var f=vt.call(a,"constructor")&&a.constructor;return typeof f=="function"&&f instanceof f&&Oa.call(f)==dx}var Lc=mh?Ln(mh):g2;function v5(o){return em(o)&&o>=-ve&&o<=ve}var rm=vh?Ln(vh):m2;function cl(o){return typeof o=="string"||!Ue(o)&&Bt(o)&&pn(o)==se}function Bn(o){return typeof o=="symbol"||Bt(o)&&pn(o)==_e}var Ps=yh?Ln(yh):v2;function y5(o){return o===n}function b5(o){return Bt(o)&&un(o)==Ee}function _5(o){return Bt(o)&&pn(o)==De}var w5=el(lc),x5=el(function(o,a){return o<=a});function om(o){if(!o)return[];if(Sn(o))return cl(o)?lr(o):kn(o);if(fi&&o[fi])return ex(o[fi]());var a=un(o),f=a==O?Ju:a==ue?Aa:Ls;return f(o)}function Nr(o){if(!o)return o===0?o:0;if(o=Xn(o),o===Se||o===-Se){var a=o<0?-1:1;return a*Lt}return o===o?o:0}function We(o){var a=Nr(o),f=a%1;return a===a?f?a-f:a:0}function sm(o){return o?jo(We(o),0,Re):0}function Xn(o){if(typeof o=="number")return o;if(Bn(o))return Gt;if(Pt(o)){var a=typeof o.valueOf=="function"?o.valueOf():o;o=Pt(a)?a+"":a}if(typeof o!="string")return o===0?o:+o;o=Sh(o);var f=rw.test(o);return f||sw.test(o)?Fw(o.slice(2),f?2:8):nw.test(o)?Gt:+o}function im(o){return _r(o,Cn(o))}function k5(o){return o?jo(We(o),-ve,ve):o===0?o:0}function ht(o){return o==null?"":Mn(o)}var S5=Is(function(o,a){if(xi(a)||Sn(a)){_r(a,Qt(a),o);return}for(var f in a)vt.call(a,f)&&mi(o,f,a[f])}),am=Is(function(o,a){_r(a,Cn(a),o)}),fl=Is(function(o,a,f,m){_r(a,Cn(a),o,m)}),C5=Is(function(o,a,f,m){_r(a,Qt(a),o,m)}),E5=Fr(tc);function T5(o,a){var f=As(o);return a==null?f:Vh(f,a)}var $5=Ze(function(o,a){o=kt(o);var f=-1,m=a.length,y=m>2?a[2]:n;for(y&&hn(a[0],a[1],y)&&(m=1);++f1),k}),_r(o,wc(o),f),m&&(f=Zn(f,g|h|v,V2));for(var y=a.length;y--;)pc(f,a[y]);return f});function q5(o,a){return um(o,ll(Pe(a)))}var K5=Fr(function(o,a){return o==null?{}:_2(o,a)});function um(o,a){if(o==null)return{};var f=At(wc(o),function(m){return[m]});return a=Pe(a),eg(o,f,function(m,y){return a(m,y[0])})}function G5(o,a,f){a=io(a,o);var m=-1,y=a.length;for(y||(y=1,o=n);++ma){var m=o;o=a,a=m}if(f||o%1||a%1){var y=Mh();return ln(o+y*(a-o+Bw("1e-"+((y+"").length-1))),a)}return cc(o,a)}var sC=Rs(function(o,a,f){return a=a.toLowerCase(),o+(f?dm(a):a)});function dm(o){return Fc(ht(o).toLowerCase())}function pm(o){return o=ht(o),o&&o.replace(aw,Jw).replace(Ew,"")}function iC(o,a,f){o=ht(o),a=Mn(a);var m=o.length;f=f===n?m:jo(We(f),0,m);var y=f;return f-=a.length,f>=0&&o.slice(f,y)==a}function aC(o){return o=ht(o),o&&j_.test(o)?o.replace(zp,Zw):o}function lC(o){return o=ht(o),o&&K_.test(o)?o.replace(Ou,"\\$&"):o}var uC=Rs(function(o,a,f){return o+(f?"-":"")+a.toLowerCase()}),cC=Rs(function(o,a,f){return o+(f?" ":"")+a.toLowerCase()}),fC=mg("toLowerCase");function dC(o,a,f){o=ht(o),a=We(a);var m=a?Ss(o):0;if(!a||m>=a)return o;var y=(a-m)/2;return Xa(Na(y),f)+o+Xa(Va(y),f)}function pC(o,a,f){o=ht(o),a=We(a);var m=a?Ss(o):0;return a&&m>>0,f?(o=ht(o),o&&(typeof a=="string"||a!=null&&!Lc(a))&&(a=Mn(a),!a&&ks(o))?ao(lr(o),0,f):o.split(a,f)):[]}var _C=Rs(function(o,a,f){return o+(f?" ":"")+Fc(a)});function wC(o,a,f){return o=ht(o),f=f==null?0:jo(We(f),0,o.length),a=Mn(a),o.slice(f,f+a.length)==a}function xC(o,a,f){var m=w.templateSettings;f&&hn(o,a,f)&&(a=n),o=ht(o),a=fl({},a,m,kg);var y=fl({},a.imports,m.imports,kg),k=Qt(y),$=Gu(y,k),M,N,Q=0,X=a.interpolate||Sa,oe="__p += '",ge=Zu((a.escape||Sa).source+"|"+X.source+"|"+(X===Wp?tw:Sa).source+"|"+(a.evaluate||Sa).source+"|$","g"),Te="//# sourceURL="+(vt.call(a,"sourceURL")?(a.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Rw+"]")+` +`;o.replace(ge,function(Me,Qe,st,Fn,gn,Dn){return st||(st=Fn),oe+=o.slice(Q,Dn).replace(lw,Yw),Qe&&(M=!0,oe+=`' + __e(`+Qe+`) + '`),gn&&(N=!0,oe+=`'; `+gn+`; -__p += '`),ot&&(oe+=`' + -((__t = (`+ot+`)) == null ? '' : __t) + -'`),Q=Vn+Me.length,Me}),oe+=`'; +__p += '`),st&&(oe+=`' + +((__t = (`+st+`)) == null ? '' : __t) + +'`),Q=Dn+Me.length,Me}),oe+=`'; `;var Le=vt.call(a,"variable")&&a.variable;if(!Le)oe=`with (obj) { `+oe+` } -`;else if(aw.test(Le))throw new Ne(u);oe=(N?oe.replace(Ca,""):oe).replace(q_,"$1").replace(K_,"$1;"),oe="function("+(Le||"obj")+`) { +`;else if(X_.test(Le))throw new Ne(u);oe=(N?oe.replace(ka,""):oe).replace(D_,"$1").replace(V_,"$1;"),oe="function("+(Le||"obj")+`) { `+(Le?"":`obj || (obj = {}); `)+"var __t, __p = ''"+(M?", __e = _.escape":"")+(N?`, __j = Array.prototype.join; function print() { __p += __j.call(arguments, '') } `:`; `)+oe+`return __p -}`;var Je=_m(function(){return ft(k,Te+"return "+oe).apply(n,$)});if(Je.source=oe,Bc(Je))throw Je;return Je}function RC(o){return ht(o).toLowerCase()}function OC(o){return ht(o).toUpperCase()}function PC(o,a,f){if(o=ht(o),o&&(f||a===n))return Ah(o);if(!o||!(a=Bn(a)))return o;var m=lr(o),y=lr(a),k=Ih(m,y),$=Rh(m,y)+1;return lo(m,k,$).join("")}function LC(o,a,f){if(o=ht(o),o&&(f||a===n))return o.slice(0,Ph(o)+1);if(!o||!(a=Bn(a)))return o;var m=lr(o),y=Rh(m,lr(a))+1;return lo(m,0,y).join("")}function MC(o,a,f){if(o=ht(o),o&&(f||a===n))return o.replace(Bu,"");if(!o||!(a=Bn(a)))return o;var m=lr(o),y=Ih(m,lr(a));return lo(m,y).join("")}function BC(o,a){var f=K,m=Y;if(Pt(a)){var y="separator"in a?a.separator:y;f="length"in a?We(a.length):f,m="omission"in a?Bn(a.omission):m}o=ht(o);var k=o.length;if(ks(o)){var $=lr(o);k=$.length}if(f>=k)return o;var M=f-Ss(m);if(M<1)return m;var N=$?lo($,0,M).join(""):o.slice(0,M);if(y===n)return N+m;if($&&(M+=N.length-M),Fc(y)){if(o.slice(M).search(y)){var Q,X=N;for(y.global||(y=Xu(y.source,ht(Yp.exec(y))+"g")),y.lastIndex=0;Q=y.exec(X);)var oe=Q.index;N=N.slice(0,oe===n?M:oe)}}else if(o.indexOf(Bn(y),M)!=M){var ge=N.lastIndexOf(y);ge>-1&&(N=N.slice(0,ge))}return N+m}function FC(o){return o=ht(o),o&&G_.test(o)?o.replace(Gp,dx):o}var DC=Rs(function(o,a,f){return o+(f?" ":"")+a.toUpperCase()}),Nc=wg("toUpperCase");function bm(o,a,f){return o=ht(o),a=f?n:a,a===n?ax(o)?gx(o):Qw(o):o.match(a)||[]}var _m=Ze(function(o,a){try{return Ln(o,n,a)}catch(f){return Bc(f)?f:new Ne(f)}}),VC=Fr(function(o,a){return Kn(a,function(f){f=wr(f),Mr(o,f,Lc(o[f],o))}),o});function NC(o){var a=o==null?0:o.length,f=Pe();return o=a?At(o,function(m){if(typeof m[1]!="function")throw new Gn(l);return[f(m[0]),m[1]]}):[],Ze(function(m){for(var y=-1;++yve)return[];var f=Re,m=ln(o,Re);a=Pe(a),o-=Re;for(var y=Zu(m,a);++f0||a<0)?new tt(f):(o<0?f=f.takeRight(-o):o&&(f=f.drop(o)),a!==n&&(a=We(a),f=a<0?f.dropRight(-a):f.take(a-o)),f)},tt.prototype.takeRightWhile=function(o){return this.reverse().takeWhile(o).reverse()},tt.prototype.toArray=function(){return this.take(Re)},br(tt.prototype,function(o,a){var f=/^(?:filter|find|map|reject)|While$/.test(a),m=/^(?:head|last)$/.test(a),y=w[m?"take"+(a=="last"?"Right":""):a],k=m||/^find/.test(a);y&&(w.prototype[a]=function(){var $=this.__wrapped__,M=m?[1]:arguments,N=$ instanceof tt,Q=M[0],X=N||Ue($),oe=function(Qe){var ot=y.apply(w,no([Qe],M));return m&&ge?ot[0]:ot};X&&f&&typeof Q=="function"&&Q.length!=1&&(N=X=!1);var ge=this.__chain__,Te=!!this.__actions__.length,Le=k&&!ge,Je=N&&!Te;if(!k&&X){$=Je?$:new tt(this);var Me=o.apply($,M);return Me.__actions__.push({func:il,args:[oe],thisArg:n}),new Jn(Me,ge)}return Le&&Je?o.apply(this,M):(Me=this.thru(oe),Le?m?Me.value()[0]:Me.value():Me)})}),Kn(["pop","push","shift","sort","splice","unshift"],function(o){var a=Oa[o],f=/^(?:push|sort|unshift)$/.test(o)?"tap":"thru",m=/^(?:pop|shift)$/.test(o);w.prototype[o]=function(){var y=arguments;if(m&&!this.__chain__){var k=this.value();return a.apply(Ue(k)?k:[],y)}return this[f](function($){return a.apply(Ue($)?$:[],y)})}}),br(tt.prototype,function(o,a){var f=w[a];if(f){var m=f.name+"";vt.call($s,m)||($s[m]=[]),$s[m].push({name:a,func:f})}}),$s[Xa(n,E).name]=[{name:"wrapper",func:n}],tt.prototype.clone=Fx,tt.prototype.reverse=Dx,tt.prototype.value=Vx,w.prototype.at=hS,w.prototype.chain=gS,w.prototype.commit=mS,w.prototype.next=vS,w.prototype.plant=bS,w.prototype.reverse=_S,w.prototype.toJSON=w.prototype.valueOf=w.prototype.value=wS,w.prototype.first=w.prototype.head,di&&(w.prototype[di]=yS),w},Cs=mx();Fo?((Fo.exports=Cs)._=Cs,Uu._=Cs):tn._=Cs}).call(Oi)})(lu,lu.exports);var JP=lu.exports;const he=GP(JP);let Al;const ZP=new Uint8Array(16);function YP(){if(!Al&&(Al=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!Al))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return Al(ZP)}const on=[];for(let e=0;e<256;++e)on.push((e+256).toString(16).slice(1));function QP(e,t=0){return on[e[t+0]]+on[e[t+1]]+on[e[t+2]]+on[e[t+3]]+"-"+on[e[t+4]]+on[e[t+5]]+"-"+on[e[t+6]]+on[e[t+7]]+"-"+on[e[t+8]]+on[e[t+9]]+"-"+on[e[t+10]]+on[e[t+11]]+on[e[t+12]]+on[e[t+13]]+on[e[t+14]]+on[e[t+15]]}const XP=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),_v={randomUUID:XP};function eL(e,t,n){if(_v.randomUUID&&!t&&!e)return _v.randomUUID();e=e||{};const r=e.random||(e.rng||YP)();if(r[6]=r[6]&15|64,r[8]=r[8]&63|128,t){n=n||0;for(let s=0;s<16;++s)t[n+s]=r[s];return t}return QP(r)}const It={timestampToTime(e){const t=new Date(Number(e)),n=t.getUTCFullYear(),r=String(t.getUTCMonth()+1).padStart(2,"0"),s=String(t.getUTCDate()).padStart(2,"0");return`${n}-${r}-${s} ${t.toUTCString().slice(17,25)}`},timestampToTimeOnly(e){return`${new Date(Number(e)).toUTCString().slice(17,25)}`},timestampToDate(e){const t=new Date(Number(e)),n=t.getUTCFullYear(),r=String(t.getUTCMonth()+1).padStart(2,"0"),s=String(t.getUTCDate()).padStart(2,"0");return`${n}-${r}-${s}`},currentTime(){return new Date().toISOString().slice(11,19)},secondsToHumanReadable(e){const t=Math.floor(e/3600),n=Math.floor((e-t*3600)/60),r=he.round(e-t*3600-n*60,2);return`${t}h ${n}m ${r}s`},remainingTimeText(e){return Math.round(e)===0?"Please wait...":e>60?`${this.secondsToHumanReadable(e)} remaining...`:`${Math.round(e)} seconds remaining...`},roundPrice(e){return e>1?he.round(e,2):e},colorBasedOnSide(e){return e==="buy"?"text-green-600 dark:text-green-400":e==="sell"?"text-red-500 dark:text-red-400":"text-gray-900 dark:text-gray-200"},colorBasedOnType(e){return e==="long"?"text-green-600 dark:text-green-400":e==="short"?"text-red-500 dark:text-red-400":"text-gray-900 dark:text-gray-200"},colorBasedOnNumber(e){return e>0?"text-green-600 dark:text-green-400":e<0?"text-red-500 dark:text-red-400":"text-gray-900 dark:text-gray-200"},uuid(){return eL()}};function wv(){return he.cloneDeep({id:It.uuid(),form:{start_date:"2021-01-01",exchange:"",symbol:""},results:{showResults:!1,executing:!1,progressbar:{current:0,estimated_remaining_seconds:0},metrics:[],infoLogs:"",exception:{error:"",traceback:""},alert:{message:"",type:""}}})}const O1=ii("candles",{state:()=>({tabs:{}}),persist:{storage:ms.localStorage},actions:{async init(e){for(const t in this.tabs){const n=this.tabs[t];n.results.executing&&!n.results.exception.error&&(e.has(n.id)||await this.cancel(n.id))}},async addTab(){const e=wv();this.tabs[e.id]=e,await Io(`/candles/${e.id}`)},closeTab(e){delete this.tabs[e],Io("/candles")},startInNewTab(e){const t=wv();t.form=he.cloneDeep(this.tabs[e].form),this.tabs[t.id]=t,this.start(t.id)},async start(e){this.tabs[e].results.progressbar.current=0,this.tabs[e].results.executing=!0,this.tabs[e].results.infoLogs="",this.tabs[e].results.exception.traceback="",this.tabs[e].results.exception.error="",this.tabs[e].results.alert.message="";const{data:t,error:n}=await jt("/import-candles",{id:e,exchange:this.tabs[e].form.exchange,symbol:this.tabs[e].form.symbol,start_date:this.tabs[e].form.start_date},!0);if(n.value&&n.value.statusCode!==200){Ve("error",n.value.message);return}},async cancel(e){if(this.tabs[e].results.exception.error){this.tabs[e].results.executing=!1;return}const{data:t,error:n}=await jt("/cancel-import-candles",{id:e},!0);if(n.value&&n.value.statusCode!==200){Ve("error",n.value.message);return}this.tabs[e].results.executing=!1},progressbarEvent(e,t){this.tabs[e].results.progressbar=t,this.tabs[e].results.progressbar.current<100&&this.tabs[e].results.executing===!1&&(this.tabs[e].results.executing=!0)},alertEvent(e,t){this.tabs[e].results.alert=t,this.tabs[e].results.progressbar.current=100,this.tabs[e].results.executing=!1,this.tabs[e].results.exception.traceback="",this.tabs[e].results.exception.error=""},infoLogEvent(e,t){this.tabs[e].results.infoLogs+=`[${It.timestampToTime(t.timestamp)}] ${t.message} -`},exceptionEvent(e,t){this.tabs[e].results.exception.error=t.error,this.tabs[e].results.exception.traceback=t.traceback},terminationEvent(e){this.tabs[e].results.executing&&(this.tabs[e].results.executing=!1,Ve("success","Session terminated successfully"))}}});function xv(){return he.cloneDeep({id:It.uuid(),form:{start_date:"2024-01-01",finish_date:"2024-03-01",debug_mode:!1,export_chart:!1,export_tradingview:!1,export_full_reports:!1,export_csv:!1,export_json:!1,fast_mode:!1,benchmark:!0,exchange:"",routes:[],data_routes:[]},results:{showResults:!1,executing:!1,logsModal:!1,progressbar:{current:0,estimated_remaining_seconds:0},routes_info:[],metrics:[],hyperparameters:[],generalInfo:{},infoLogs:"",exception:{error:"",traceback:""},charts:{equity_curve:[]},info:[]}})}const P1=ii("backtest",{state:()=>({tabs:{}}),persist:{storage:ms.localStorage},actions:{async init(e){for(const t in this.tabs){const n=this.tabs[t];n.results.executing&&!n.results.exception.error&&(e.has(n.id)||await this.cancel(n.id))}},async addTab(e){const t=xv();if(this.tabs[t.id]=t,e){const n=this.tabs[e];t.form=JSON.parse(JSON.stringify(n.form))}await Io(`/backtest/${t.id}`)},closeTab(e){delete this.tabs[e],Io("/backtest")},async startInNewTab(e){const t=xv();t.form=he.cloneDeep(this.tabs[e].form),this.tabs[t.id]=t,this.start(t.id),await Io(`/backtest/${t.id}`)},async start(e){if(this.tabs[e].results.progressbar.current=0,this.tabs[e].results.executing=!0,this.tabs[e].results.infoLogs="",this.tabs[e].results.exception.traceback="",this.tabs[e].results.exception.error="",this.tabs[e].form.fast_mode&&this.tabs[e].form.routes.length>1){Ve("error","For the moment, the fast mode can only be used with one trading route"),this.tabs[e].results.executing=!1;return}const{data:t,error:n}=await jt("/backtest",{id:e,exchange:this.tabs[e].form.exchange,routes:this.tabs[e].form.routes,data_routes:this.tabs[e].form.data_routes,config:wt().settings.backtest,start_date:this.tabs[e].form.start_date,finish_date:this.tabs[e].form.finish_date,debug_mode:this.tabs[e].form.debug_mode,export_csv:this.tabs[e].form.export_csv,export_chart:this.tabs[e].form.export_chart,export_tradingview:this.tabs[e].form.export_tradingview,export_full_reports:this.tabs[e].form.export_full_reports,export_json:this.tabs[e].form.export_json,fast_mode:this.tabs[e].form.fast_mode,benchmark:this.tabs[e].form.benchmark},!0);if(n.value&&n.value.statusCode!==200){Ve("error",n.value.data.message),this.tabs[e].results.executing=!1;return}},async cancel(e){if(this.tabs[e].results.exception.error){this.tabs[e].results.executing=!1;return}const{data:t,error:n}=await jt("/cancel-backtest",{id:e},!0);n.value&&n.value.statusCode!==200&&Ve("error",n.value.data.message),this.tabs[e].results.executing=!1},rerun(e){this.tabs[e].results.showResults=!1,this.start(e)},newBacktest(e){this.tabs[e].results.showResults=!1},candlesInfoEvent(e,t){const n=[["Period",t.duration],["Starting Date",It.timestampToDate(t.starting_time)],["Ending Date",It.timestampToDate(t.finishing_time)],["Exchange",t.exchange],["Exchange Type",t.exchange_type]];t.exchange_type==="futures"&&(n.push(["Leverage",t.leverage]),n.push(["Leverage Mode",t.leverage_mode])),this.tabs[e].results.info=n},routesInfoEvent(e,t){const n=[];t.forEach(r=>{n.push([{value:r.symbol,style:""},{value:r.timeframe,style:""},{value:r.strategy_name,style:""}])}),this.tabs[e].results.routes_info=n},progressbarEvent(e,t){this.tabs[e].results.progressbar=t},infoLogEvent(e,t){this.tabs[e].results.infoLogs+=`[${It.timestampToTime(t.timestamp)}] ${t.message} -`},exceptionEvent(e,t){this.tabs[e].results.exception.error=t.error,this.tabs[e].results.exception.traceback=t.traceback},generalInfoEvent(e,t){this.tabs[e].results.generalInfo=t},hyperparametersEvent(e,t){this.tabs[e].results.hyperparameters=t},metricsEvent(e,t){if(t===null){this.tabs[e].results.metrics=[];return}this.tabs[e].results.metrics=[["Total Closed Trades",t.total],["Total Net Profit",`${he.round(t.net_profit,2)} (${he.round(t.net_profit_percentage,2)}%)`],["Starting => Finishing Balance",`${he.round(t.starting_balance,2)} => ${he.round(t.finishing_balance,2)}`],["Open Trades",t.total_open_trades],["Total Paid Fees",he.round(t.fee,2)],["Max Drawdown",`${he.round(t.max_drawdown,2)}%`],["Annual Return",`${he.round(t.annual_return,2)}%`],["Expectancy",`${he.round(t.expectancy,2)} (${he.round(t.expectancy_percentage,2)}%)`],["Avg Win | Avg Loss",`${he.round(t.average_win,2)} | ${he.round(t.average_loss,2)}`],["Ratio Avg Win / Avg Loss",he.round(t.ratio_avg_win_loss,2)],["Win-rate",`${he.round(t.win_rate*100,2)}%`],["Longs | Shorts",`${he.round(t.longs_percentage,2)}% | ${he.round(t.shorts_percentage,2)}%`],["Avg Holding Time",It.secondsToHumanReadable(t.average_holding_period)],["Winning Trades Avg Holding Time",It.secondsToHumanReadable(t.average_winning_holding_period)],["Losing Trades Avg Holding Time",It.secondsToHumanReadable(t.average_losing_holding_period)],["Sharpe Ratio",he.round(t.sharpe_ratio,2)],["Calmar Ratio",he.round(t.calmar_ratio,2)],["Sortino Ratio",he.round(t.sortino_ratio,2)],["Omega Ratio",he.round(t.omega_ratio,2)],["Winning Streak",t.winning_streak],["Losing Streak",t.losing_streak],["Largest Winning Trade",he.round(t.largest_winning_trade,2)],["Largest Losing Trade",he.round(t.largest_losing_trade,2)],["Total Winning Trades",t.total_winning_trades],["Total Losing Trades",t.total_losing_trades]]},equityCurveEvent(e,t){this.tabs[e].results.charts.equity_curve=t,this.tabs[e].results.executing=!1,this.tabs[e].results.showResults=!0},terminationEvent(e,t){this.tabs[e].results.executing&&(this.tabs[e].results.executing=!1,Ve("success","Session terminated successfully"))},alertEvent(e,t){Ve(t.type,t.message)},notificationEvent(e,t){Ve(t.type,t.message)}}}),L1=ii("optimization",{state:()=>({form:{start_date:"2024-01-01",finish_date:"2024-03-01",debug_mode:!1,export_csv:!1,export_json:!1,exchange:"",routes:[],data_routes:[],optimal_total:50,fast_mode:!1},results:{showResults:!1,executing:!1,logsModal:!1,progressbar:{current:0,estimated_remaining_seconds:0},routes_info:[],best_candidates:[],metrics:[],generalInfo:[],infoLogs:"",info:[],exception:{error:"",traceback:""},alert:{message:"",type:""}}}),persist:{storage:ms.localStorage},actions:{async init(e){this.results.executing&&!this.results.exception.error&&(e.has("optimization")||await this.cancel())},async start(){this.results.progressbar.current=0,this.results.executing=!0,this.results.infoLogs="",this.results.exception.traceback="",this.results.exception.error="",this.results.alert.message="",this.results.alert.type="",this.results.metrics=[],this.results.generalInfo=[],this.results.best_candidates=[],this.results.routes_info=[],this.results.showResults=!1;const e=wt(),t={id:"optimization",exchange:this.form.exchange,routes:this.form.routes,data_routes:this.form.data_routes,config:e.settings.optimization,start_date:this.form.start_date,finish_date:this.form.finish_date,optimal_total:this.form.optimal_total,debug_mode:this.form.debug_mode,export_csv:this.form.export_csv,export_json:this.form.export_json,fast_mode:this.form.fast_mode},{data:n,error:r}=await jt("/optimization",t,!0);if(r.value&&r.value.statusCode!==200){Ve("error",r.value.data.message);return}},async cancel(){if(this.results.exception.error){this.results.executing=!1;return}this.results.executing=!1;const{data:e,error:t}=await jt("/cancel-optimization",{id:"optimization"},!0);if(t.value&&t.value.statusCode!==200){Ve("error",t.value.data.message);return}},rerun(){this.results.showResults=!1,this.start()},candlesInfoEvent(e,t){this.results.info=[["Period",t.duration],["Starting-Ending Date",`${It.timestampToDate(t.starting_time)} => ${It.timestampToDate(t.finishing_time)}`]]},routesInfoEvent(e,t){const n=[];t.forEach(r=>{n.push([{value:r.symbol,style:""},{value:r.timeframe,style:""},{value:r.strategy_name,style:""}])}),this.results.routes_info=n},progressbarEvent(e,t){this.results.progressbar=t},infoLogEvent(e,t){this.results.infoLogs+=`[${It.timestampToTime(t.timestamp)}] ${t.message} -`},exceptionEvent(e,t){this.results.exception.error=t.error,this.results.exception.traceback=t.traceback},generalInfoEvent(e,t){this.results.executing||(this.results.executing=!0),this.results.generalInfo=[["Started at",t.started_at],["Index",t.index],["Average strategy execution time",`${he.round(t.average_execution_seconds,2)} seconds`],["Trading route",t.trading_route]],"population_size"in t&&this.results.generalInfo.push(["Population size",t.population_size?t.population_size:""]),"iterations"in t&&this.results.generalInfo.push(["Iterations",t.iterations?t.iterations:""]),"solution_length"in t&&this.results.generalInfo.push(["Solution length",t.solution_length?t.solution_length:""])},metricsEvent(e,t){if(t===null){this.results.metrics=[];return}this.results.metrics=[["Total Closed Trades",t.total],["Total Net Profit",`${he.round(t.net_profit,2)} (${he.round(t.net_profit_percentage,2)}%)`],["Starting => Finishing Balance",`${he.round(t.starting_balance,2)} => ${he.round(t.finishing_balance,2)}`],["Open Trades",t.total_open_trades],["Total Paid Fees",he.round(t.fee,2)],["Max Drawdown",he.round(t.max_drawdown,2)],["Annual Return",`${he.round(t.annual_return,2)}%`],["Expectancy",`${he.round(t.expectancy,2)} (${he.round(t.expectancy_percentage,2)}%)`],["Avg Win | Avg Loss",`${he.round(t.average_win,2)} | ${he.round(t.average_loss,2)}`],["Ratio Avg Win / Avg Loss",he.round(t.ratio_avg_win_loss,2)],["Win-rate",`${he.round(t.win_rate*100,2)}%`],["Longs | Shorts",`${he.round(t.longs_percentage,2)}% | ${he.round(t.shorts_percentage,2)}%`],["Avg Holding Time",t.average_holding_period],["Winning Trades Avg Holding Time",t.average_winning_holding_period],["Losing Trades Avg Holding Time",t.average_losing_holding_period],["Sharpe Ratio",he.round(t.sharpe_ratio,2)],["Calmar Ratio",he.round(t.calmar_ratio,2)],["Sortino Ratio",he.round(t.sortino_ratio,2)],["Omega Ratio",he.round(t.omega_ratio,2)],["Winning Streak",t.winning_streak],["Losing Streak",t.losing_streak],["Largest Winning Trade",he.round(t.largest_winning_trade,2)],["Largest Losing Trade",he.round(t.largest_losing_trade,2)],["Total Winning Trades",t.total_winning_trades],["Total Losing Trades",t.total_losing_trades]]},terminationEvent(e){this.results.executing&&(this.results.executing=!1,Ve("success","Session terminated successfully"))},bestCandidatesEvent(e,t){const n=[];t.forEach(r=>{n.push([{value:`#${r.rank}`,style:""},{value:r.dna,style:"",tag:"code"},{value:r.fitness,style:""},{value:`${r.training_win_rate}% | ${r.testing_win_rate}%`,style:""},{value:`${r.training_total_trades} | ${r.testing_total_trades}`,style:""},{value:`${r.training_pnl}% | ${r.testing_pnl}%`,style:""}])}),this.results.best_candidates=n},alertEvent(e,t){this.results.alert=t,this.results.executing=!1,this.results.showResults=!0}}});function rn(e=""){return he.cloneDeep({id:e||It.uuid(),form:{debug_mode:!0,paper_mode:!0,exchange_api_key_id:"",notification_api_key_id:"",exchange:"",routes:[],data_routes:[]},results:{showResults:!1,booting:!1,monitoring:!1,finished:!1,terminating:!1,progressbar:{current:0,estimated_remaining_seconds:0},routes_info:[],routes:[],metrics:[],generalInfo:{},positions:[],orders:[],watchlist:[],candles:[],currentCandles:{},infoLogs:"",errorLogs:"",exception:{error:"",traceback:""},charts:{equity_curve:[]},selectedRoute:{},info:[]}})}const M1=ii("Live",{state:()=>({tabs:{}}),persist:{storage:ms.localStorage},actions:{async init(e){for(const t in this.tabs){const n=this.tabs[t];n.results.monitoring&&!n.results.exception.error&&(e.has(n.id)?this.fetchLogs(n.id):this.forceClose(n.id))}},async addTab(){const e=rn();this.tabs[e.id]=e,await Io(`/live/${e.id}`)},closeTab(e){const t=this.tabs[e];if(t.results.monitoring&&!t.results.exception.error&&!t.results.finished){Ve("error","Cannot close a live session tab that is currently running");return}delete this.tabs[e],Io("/live")},reset(e){this.tabs[e].results.progressbar.current=0,this.tabs[e].results.booting=!0,this.tabs[e].results.finished=!1,this.tabs[e].results.infoLogs="",this.tabs[e].results.errorLogs="",this.tabs[e].results.exception.traceback="",this.tabs[e].results.exception.error="",this.tabs[e].results.routes_info=[],this.tabs[e].results.metrics=[],this.tabs[e].results.generalInfo={},this.tabs[e].results.positions=[],this.tabs[e].results.orders=[],this.tabs[e].results.candles=[],this.tabs[e].results.currentCandles={},this.tabs[e].results.watchlist=[]},async start(e){this.reset(e);const t=wt(),n=this.tabs[e].form.paper_mode?"":this.tabs[e].form.exchange_api_key_id,r=this.tabs[e].form.exchange,s=this.tabs[e].form.notification_api_key_id?this.tabs[e].form.notification_api_key_id:"";this.tabs[e].results.selectedRoute=this.tabs[e].form.routes[0];const{data:i,error:l}=await jt("/live",{id:e,exchange:r,exchange_api_key_id:n,notification_api_key_id:s,routes:this.tabs[e].form.routes,data_routes:this.tabs[e].form.data_routes,config:t.settings.live,debug_mode:this.tabs[e].form.debug_mode,paper_mode:this.tabs[e].form.paper_mode},!0);if(l.value&&l.value.statusCode!==200){Ve("error",l.value.data.message);return}},async cancel(e){const{data:t,error:n}=await jt("/cancel-live",{id:e,paper_mode:this.tabs[e].form.paper_mode},!0);if(n.value&&n.value.statusCode!==200){Ve("error",n.value.data.message);return}this.tabs[e].results.booting=!1},async stop(e){const{data:t,error:n}=await jt("/cancel-live",{id:e,paper_mode:this.tabs[e].form.paper_mode},!0);if(n.value&&n.value.statusCode!==200){Ve("error",n.value.data.message);return}this.tabs[e].results.terminating=!0},newLive(e){this.tabs[e].results.monitoring=!1,this.tabs[e].results.finished=!1},candlesInfoEvent(e,t){this.tabs[e]===void 0&&(this.tabs[e]=rn(e)),this.tabs[e].results.info=[["Period",t.duration],["Starting-Ending Date",`${It.timestampToDate(t.starting_time)} => ${It.timestampToDate(t.finishing_time)}`]]},routesInfoEvent(e,t){this.tabs[e]===void 0&&(this.tabs[e]=rn(e));const n=[];t.forEach(r=>{n.push([{value:r.symbol,style:""},{value:r.timeframe,style:""},{value:r.strategy_name,style:""}])}),this.tabs[e].results.routes_info=n},progressbarEvent(e,t){this.tabs[e]===void 0&&(this.tabs[e]=rn(e)),this.tabs[e].results.progressbar=t},infoLogEvent(e,t){this.tabs[e]===void 0&&(this.tabs[e]=rn(e)),this.tabs[e].results.infoLogs+=`[${It.timestampToTime(t.timestamp)}] ${t.message} +}`;var Je=gm(function(){return ft(k,Te+"return "+oe).apply(n,$)});if(Je.source=oe,Pc(Je))throw Je;return Je}function kC(o){return ht(o).toLowerCase()}function SC(o){return ht(o).toUpperCase()}function CC(o,a,f){if(o=ht(o),o&&(f||a===n))return Sh(o);if(!o||!(a=Mn(a)))return o;var m=lr(o),y=lr(a),k=Ch(m,y),$=Eh(m,y)+1;return ao(m,k,$).join("")}function EC(o,a,f){if(o=ht(o),o&&(f||a===n))return o.slice(0,$h(o)+1);if(!o||!(a=Mn(a)))return o;var m=lr(o),y=Eh(m,lr(a))+1;return ao(m,0,y).join("")}function TC(o,a,f){if(o=ht(o),o&&(f||a===n))return o.replace(Pu,"");if(!o||!(a=Mn(a)))return o;var m=lr(o),y=Ch(m,lr(a));return ao(m,y).join("")}function $C(o,a){var f=K,m=Y;if(Pt(a)){var y="separator"in a?a.separator:y;f="length"in a?We(a.length):f,m="omission"in a?Mn(a.omission):m}o=ht(o);var k=o.length;if(ks(o)){var $=lr(o);k=$.length}if(f>=k)return o;var M=f-Ss(m);if(M<1)return m;var N=$?ao($,0,M).join(""):o.slice(0,M);if(y===n)return N+m;if($&&(M+=N.length-M),Lc(y)){if(o.slice(M).search(y)){var Q,X=N;for(y.global||(y=Zu(y.source,ht(qp.exec(y))+"g")),y.lastIndex=0;Q=y.exec(X);)var oe=Q.index;N=N.slice(0,oe===n?M:oe)}}else if(o.indexOf(Mn(y),M)!=M){var ge=N.lastIndexOf(y);ge>-1&&(N=N.slice(0,ge))}return N+m}function AC(o){return o=ht(o),o&&N_.test(o)?o.replace(Hp,ox):o}var IC=Rs(function(o,a,f){return o+(f?" ":"")+a.toUpperCase()}),Fc=mg("toUpperCase");function hm(o,a,f){return o=ht(o),a=f?n:a,a===n?Xw(o)?ax(o):zw(o):o.match(a)||[]}var gm=Ze(function(o,a){try{return Pn(o,n,a)}catch(f){return Pc(f)?f:new Ne(f)}}),RC=Fr(function(o,a){return Kn(a,function(f){f=wr(f),Mr(o,f,Rc(o[f],o))}),o});function OC(o){var a=o==null?0:o.length,f=Pe();return o=a?At(o,function(m){if(typeof m[1]!="function")throw new Gn(l);return[f(m[0]),m[1]]}):[],Ze(function(m){for(var y=-1;++yve)return[];var f=Re,m=ln(o,Re);a=Pe(a),o-=Re;for(var y=Ku(m,a);++f0||a<0)?new tt(f):(o<0?f=f.takeRight(-o):o&&(f=f.drop(o)),a!==n&&(a=We(a),f=a<0?f.dropRight(-a):f.take(a-o)),f)},tt.prototype.takeRightWhile=function(o){return this.reverse().takeWhile(o).reverse()},tt.prototype.toArray=function(){return this.take(Re)},br(tt.prototype,function(o,a){var f=/^(?:filter|find|map|reject)|While$/.test(a),m=/^(?:head|last)$/.test(a),y=w[m?"take"+(a=="last"?"Right":""):a],k=m||/^find/.test(a);y&&(w.prototype[a]=function(){var $=this.__wrapped__,M=m?[1]:arguments,N=$ instanceof tt,Q=M[0],X=N||Ue($),oe=function(Qe){var st=y.apply(w,to([Qe],M));return m&&ge?st[0]:st};X&&f&&typeof Q=="function"&&Q.length!=1&&(N=X=!1);var ge=this.__chain__,Te=!!this.__actions__.length,Le=k&&!ge,Je=N&&!Te;if(!k&&X){$=Je?$:new tt(this);var Me=o.apply($,M);return Me.__actions__.push({func:ol,args:[oe],thisArg:n}),new Jn(Me,ge)}return Le&&Je?o.apply(this,M):(Me=this.thru(oe),Le?m?Me.value()[0]:Me.value():Me)})}),Kn(["pop","push","shift","sort","splice","unshift"],function(o){var a=Ia[o],f=/^(?:push|sort|unshift)$/.test(o)?"tap":"thru",m=/^(?:pop|shift)$/.test(o);w.prototype[o]=function(){var y=arguments;if(m&&!this.__chain__){var k=this.value();return a.apply(Ue(k)?k:[],y)}return this[f](function($){return a.apply(Ue($)?$:[],y)})}}),br(tt.prototype,function(o,a){var f=w[a];if(f){var m=f.name+"";vt.call($s,m)||($s[m]=[]),$s[m].push({name:a,func:f})}}),$s[Ya(n,E).name]=[{name:"wrapper",func:n}],tt.prototype.clone=Ax,tt.prototype.reverse=Ix,tt.prototype.value=Rx,w.prototype.at=iS,w.prototype.chain=aS,w.prototype.commit=lS,w.prototype.next=uS,w.prototype.plant=fS,w.prototype.reverse=dS,w.prototype.toJSON=w.prototype.valueOf=w.prototype.value=pS,w.prototype.first=w.prototype.head,fi&&(w.prototype[fi]=cS),w},Cs=lx();Fo?((Fo.exports=Cs)._=Cs,Vu._=Cs):tn._=Cs}).call(Ri)})(iu,iu.exports);var FP=iu.exports;const he=BP(FP);let Tl;const DP=new Uint8Array(16);function VP(){if(!Tl&&(Tl=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!Tl))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return Tl(DP)}const on=[];for(let e=0;e<256;++e)on.push((e+256).toString(16).slice(1));function NP(e,t=0){return on[e[t+0]]+on[e[t+1]]+on[e[t+2]]+on[e[t+3]]+"-"+on[e[t+4]]+on[e[t+5]]+"-"+on[e[t+6]]+on[e[t+7]]+"-"+on[e[t+8]]+on[e[t+9]]+"-"+on[e[t+10]]+on[e[t+11]]+on[e[t+12]]+on[e[t+13]]+on[e[t+14]]+on[e[t+15]]}const jP=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),hv={randomUUID:jP};function UP(e,t,n){if(hv.randomUUID&&!t&&!e)return hv.randomUUID();e=e||{};const r=e.random||(e.rng||VP)();if(r[6]=r[6]&15|64,r[8]=r[8]&63|128,t){n=n||0;for(let s=0;s<16;++s)t[n+s]=r[s];return t}return NP(r)}const It={timestampToTime(e){const t=new Date(Number(e)),n=t.getUTCFullYear(),r=String(t.getUTCMonth()+1).padStart(2,"0"),s=String(t.getUTCDate()).padStart(2,"0");return`${n}-${r}-${s} ${t.toUTCString().slice(17,25)}`},timestampToTimeOnly(e){return`${new Date(Number(e)).toUTCString().slice(17,25)}`},timestampToDate(e){const t=new Date(Number(e)),n=t.getUTCFullYear(),r=String(t.getUTCMonth()+1).padStart(2,"0"),s=String(t.getUTCDate()).padStart(2,"0");return`${n}-${r}-${s}`},currentTime(){return new Date().toISOString().slice(11,19)},secondsToHumanReadable(e){const t=Math.floor(e/3600),n=Math.floor((e-t*3600)/60),r=he.round(e-t*3600-n*60,2);return`${t}h ${n}m ${r}s`},remainingTimeText(e){return Math.round(e)===0?"Please wait...":e>60?`${this.secondsToHumanReadable(e)} remaining...`:`${Math.round(e)} seconds remaining...`},roundPrice(e){return e>1?he.round(e,2):e},colorBasedOnSide(e){return e==="buy"?"text-green-600 dark:text-green-400":e==="sell"?"text-red-500 dark:text-red-400":"text-gray-900 dark:text-gray-200"},colorBasedOnType(e){return e==="long"?"text-green-600 dark:text-green-400":e==="short"?"text-red-500 dark:text-red-400":"text-gray-900 dark:text-gray-200"},colorBasedOnNumber(e){return e>0?"text-green-600 dark:text-green-400":e<0?"text-red-500 dark:text-red-400":"text-gray-900 dark:text-gray-200"},uuid(){return UP()}};function gv(){return he.cloneDeep({id:It.uuid(),form:{start_date:"2021-01-01",exchange:"",symbol:""},results:{showResults:!1,executing:!1,progressbar:{current:0,estimated_remaining_seconds:0},metrics:[],infoLogs:"",exception:{error:"",traceback:""},alert:{message:"",type:""}}})}const S1=si("candles",{state:()=>({tabs:{}}),persist:{storage:ms.localStorage},actions:{async init(e){for(const t in this.tabs){const n=this.tabs[t];n.results.executing&&!n.results.exception.error&&(e.has(n.id)||await this.cancel(n.id))}},async addTab(){const e=gv();this.tabs[e.id]=e,await Ao(`/candles/${e.id}`)},closeTab(e){delete this.tabs[e],Ao("/candles")},startInNewTab(e){const t=gv();t.form=he.cloneDeep(this.tabs[e].form),this.tabs[t.id]=t,this.start(t.id)},async start(e){this.tabs[e].results.progressbar.current=0,this.tabs[e].results.executing=!0,this.tabs[e].results.infoLogs="",this.tabs[e].results.exception.traceback="",this.tabs[e].results.exception.error="",this.tabs[e].results.alert.message="";const{data:t,error:n}=await jt("/import-candles",{id:e,exchange:this.tabs[e].form.exchange,symbol:this.tabs[e].form.symbol,start_date:this.tabs[e].form.start_date},!0);if(n.value&&n.value.statusCode!==200){Ve("error",n.value.message);return}},async cancel(e){if(this.tabs[e].results.exception.error){this.tabs[e].results.executing=!1;return}const{data:t,error:n}=await jt("/cancel-import-candles",{id:e},!0);if(n.value&&n.value.statusCode!==200){Ve("error",n.value.message);return}this.tabs[e].results.executing=!1},progressbarEvent(e,t){this.tabs[e].results.progressbar=t,this.tabs[e].results.progressbar.current<100&&this.tabs[e].results.executing===!1&&(this.tabs[e].results.executing=!0)},alertEvent(e,t){this.tabs[e].results.alert=t,this.tabs[e].results.progressbar.current=100,this.tabs[e].results.executing=!1,this.tabs[e].results.exception.traceback="",this.tabs[e].results.exception.error=""},infoLogEvent(e,t){this.tabs[e].results.infoLogs+=`[${It.timestampToTime(t.timestamp)}] ${t.message} +`},exceptionEvent(e,t){this.tabs[e].results.exception.error=t.error,this.tabs[e].results.exception.traceback=t.traceback},terminationEvent(e){this.tabs[e].results.executing&&(this.tabs[e].results.executing=!1,Ve("success","Session terminated successfully"))}}});function mv(){return he.cloneDeep({id:It.uuid(),form:{start_date:"2024-01-01",finish_date:"2024-03-01",debug_mode:!1,export_chart:!1,export_tradingview:!1,export_full_reports:!1,export_csv:!1,export_json:!1,fast_mode:!1,benchmark:!0,exchange:"",routes:[],data_routes:[]},results:{showResults:!1,executing:!1,logsModal:!1,progressbar:{current:0,estimated_remaining_seconds:0},routes_info:[],metrics:[],hyperparameters:[],generalInfo:{},infoLogs:"",exception:{error:"",traceback:""},charts:{equity_curve:[]},info:[]}})}const C1=si("backtest",{state:()=>({tabs:{}}),persist:{storage:ms.localStorage},actions:{async init(e){for(const t in this.tabs){const n=this.tabs[t];n.results.executing&&!n.results.exception.error&&(e.has(n.id)||await this.cancel(n.id))}},async addTab(e){const t=mv();if(this.tabs[t.id]=t,e){const n=this.tabs[e];t.form=JSON.parse(JSON.stringify(n.form))}await Ao(`/backtest/${t.id}`)},closeTab(e){delete this.tabs[e],Ao("/backtest")},async startInNewTab(e){const t=mv();t.form=he.cloneDeep(this.tabs[e].form),this.tabs[t.id]=t,this.start(t.id),await Ao(`/backtest/${t.id}`)},async start(e){if(this.tabs[e].results.progressbar.current=0,this.tabs[e].results.executing=!0,this.tabs[e].results.infoLogs="",this.tabs[e].results.exception.traceback="",this.tabs[e].results.exception.error="",this.tabs[e].form.fast_mode&&this.tabs[e].form.routes.length>1){Ve("error","For the moment, the fast mode can only be used with one trading route"),this.tabs[e].results.executing=!1;return}const{data:t,error:n}=await jt("/backtest",{id:e,exchange:this.tabs[e].form.exchange,routes:this.tabs[e].form.routes,data_routes:this.tabs[e].form.data_routes,config:wt().settings.backtest,start_date:this.tabs[e].form.start_date,finish_date:this.tabs[e].form.finish_date,debug_mode:this.tabs[e].form.debug_mode,export_csv:this.tabs[e].form.export_csv,export_chart:this.tabs[e].form.export_chart,export_tradingview:this.tabs[e].form.export_tradingview,export_full_reports:this.tabs[e].form.export_full_reports,export_json:this.tabs[e].form.export_json,fast_mode:this.tabs[e].form.fast_mode,benchmark:this.tabs[e].form.benchmark},!0);if(n.value&&n.value.statusCode!==200){Ve("error",n.value.data.message),this.tabs[e].results.executing=!1;return}},async cancel(e){if(this.tabs[e].results.exception.error){this.tabs[e].results.executing=!1;return}const{data:t,error:n}=await jt("/cancel-backtest",{id:e},!0);n.value&&n.value.statusCode!==200&&Ve("error",n.value.data.message),this.tabs[e].results.executing=!1},rerun(e){this.tabs[e].results.showResults=!1,this.start(e)},newBacktest(e){this.tabs[e].results.showResults=!1},candlesInfoEvent(e,t){const n=[["Period",t.duration],["Starting Date",It.timestampToDate(t.starting_time)],["Ending Date",It.timestampToDate(t.finishing_time)],["Exchange",t.exchange],["Exchange Type",t.exchange_type]];t.exchange_type==="futures"&&(n.push(["Leverage",t.leverage]),n.push(["Leverage Mode",t.leverage_mode])),this.tabs[e].results.info=n},routesInfoEvent(e,t){const n=[];t.forEach(r=>{n.push([{value:r.symbol,style:""},{value:r.timeframe,style:""},{value:r.strategy_name,style:""}])}),this.tabs[e].results.routes_info=n},progressbarEvent(e,t){this.tabs[e].results.progressbar=t},infoLogEvent(e,t){this.tabs[e].results.infoLogs+=`[${It.timestampToTime(t.timestamp)}] ${t.message} +`},exceptionEvent(e,t){this.tabs[e].results.exception.error=t.error,this.tabs[e].results.exception.traceback=t.traceback},generalInfoEvent(e,t){this.tabs[e].results.generalInfo=t},hyperparametersEvent(e,t){this.tabs[e].results.hyperparameters=t},metricsEvent(e,t){if(t===null){this.tabs[e].results.metrics=[];return}this.tabs[e].results.metrics=[["Total Closed Trades",t.total],["Total Net Profit",`${he.round(t.net_profit,2)} (${he.round(t.net_profit_percentage,2)}%)`],["Starting => Finishing Balance",`${he.round(t.starting_balance,2)} => ${he.round(t.finishing_balance,2)}`],["Open Trades",t.total_open_trades],["Total Paid Fees",he.round(t.fee,2)],["Max Drawdown",`${he.round(t.max_drawdown,2)}%`],["Annual Return",`${he.round(t.annual_return,2)}%`],["Expectancy",`${he.round(t.expectancy,2)} (${he.round(t.expectancy_percentage,2)}%)`],["Avg Win | Avg Loss",`${he.round(t.average_win,2)} | ${he.round(t.average_loss,2)}`],["Ratio Avg Win / Avg Loss",he.round(t.ratio_avg_win_loss,2)],["Win-rate",`${he.round(t.win_rate*100,2)}%`],["Longs | Shorts",`${he.round(t.longs_percentage,2)}% | ${he.round(t.shorts_percentage,2)}%`],["Avg Holding Time",It.secondsToHumanReadable(t.average_holding_period)],["Winning Trades Avg Holding Time",It.secondsToHumanReadable(t.average_winning_holding_period)],["Losing Trades Avg Holding Time",It.secondsToHumanReadable(t.average_losing_holding_period)],["Sharpe Ratio",he.round(t.sharpe_ratio,2)],["Calmar Ratio",he.round(t.calmar_ratio,2)],["Sortino Ratio",he.round(t.sortino_ratio,2)],["Omega Ratio",he.round(t.omega_ratio,2)],["Winning Streak",t.winning_streak],["Losing Streak",t.losing_streak],["Largest Winning Trade",he.round(t.largest_winning_trade,2)],["Largest Losing Trade",he.round(t.largest_losing_trade,2)],["Total Winning Trades",t.total_winning_trades],["Total Losing Trades",t.total_losing_trades]]},equityCurveEvent(e,t){this.tabs[e].results.charts.equity_curve=t,this.tabs[e].results.executing=!1,this.tabs[e].results.showResults=!0},terminationEvent(e,t){this.tabs[e].results.executing&&(this.tabs[e].results.executing=!1,Ve("success","Session terminated successfully"))},alertEvent(e,t){Ve(t.type,t.message)},notificationEvent(e,t){Ve(t.type,t.message)}}}),E1=si("optimization",{state:()=>({form:{start_date:"2024-01-01",finish_date:"2024-03-01",debug_mode:!1,export_csv:!1,export_json:!1,exchange:"",routes:[],data_routes:[],optimal_total:50,fast_mode:!1},results:{showResults:!1,executing:!1,logsModal:!1,progressbar:{current:0,estimated_remaining_seconds:0},routes_info:[],best_candidates:[],metrics:[],generalInfo:[],infoLogs:"",info:[],exception:{error:"",traceback:""},alert:{message:"",type:""}}}),persist:{storage:ms.localStorage},actions:{async init(e){this.results.executing&&!this.results.exception.error&&(e.has("optimization")||await this.cancel())},async start(){this.results.progressbar.current=0,this.results.executing=!0,this.results.infoLogs="",this.results.exception.traceback="",this.results.exception.error="",this.results.alert.message="",this.results.alert.type="",this.results.metrics=[],this.results.generalInfo=[],this.results.best_candidates=[],this.results.routes_info=[],this.results.showResults=!1;const e=wt(),t={id:"optimization",exchange:this.form.exchange,routes:this.form.routes,data_routes:this.form.data_routes,config:e.settings.optimization,start_date:this.form.start_date,finish_date:this.form.finish_date,optimal_total:this.form.optimal_total,debug_mode:this.form.debug_mode,export_csv:this.form.export_csv,export_json:this.form.export_json,fast_mode:this.form.fast_mode},{data:n,error:r}=await jt("/optimization",t,!0);if(r.value&&r.value.statusCode!==200){Ve("error",r.value.data.message);return}},async cancel(){if(this.results.exception.error){this.results.executing=!1;return}this.results.executing=!1;const{data:e,error:t}=await jt("/cancel-optimization",{id:"optimization"},!0);if(t.value&&t.value.statusCode!==200){Ve("error",t.value.data.message);return}},rerun(){this.results.showResults=!1,this.start()},candlesInfoEvent(e,t){this.results.info=[["Period",t.duration],["Starting-Ending Date",`${It.timestampToDate(t.starting_time)} => ${It.timestampToDate(t.finishing_time)}`]]},routesInfoEvent(e,t){const n=[];t.forEach(r=>{n.push([{value:r.symbol,style:""},{value:r.timeframe,style:""},{value:r.strategy_name,style:""}])}),this.results.routes_info=n},progressbarEvent(e,t){this.results.progressbar=t},infoLogEvent(e,t){this.results.infoLogs+=`[${It.timestampToTime(t.timestamp)}] ${t.message} +`},exceptionEvent(e,t){this.results.exception.error=t.error,this.results.exception.traceback=t.traceback},generalInfoEvent(e,t){this.results.executing||(this.results.executing=!0),this.results.generalInfo=[["Started at",t.started_at],["Index",t.index],["Average strategy execution time",`${he.round(t.average_execution_seconds,2)} seconds`],["Trading route",t.trading_route]],"population_size"in t&&this.results.generalInfo.push(["Population size",t.population_size?t.population_size:""]),"iterations"in t&&this.results.generalInfo.push(["Iterations",t.iterations?t.iterations:""]),"solution_length"in t&&this.results.generalInfo.push(["Solution length",t.solution_length?t.solution_length:""])},metricsEvent(e,t){if(t===null){this.results.metrics=[];return}this.results.metrics=[["Total Closed Trades",t.total],["Total Net Profit",`${he.round(t.net_profit,2)} (${he.round(t.net_profit_percentage,2)}%)`],["Starting => Finishing Balance",`${he.round(t.starting_balance,2)} => ${he.round(t.finishing_balance,2)}`],["Open Trades",t.total_open_trades],["Total Paid Fees",he.round(t.fee,2)],["Max Drawdown",he.round(t.max_drawdown,2)],["Annual Return",`${he.round(t.annual_return,2)}%`],["Expectancy",`${he.round(t.expectancy,2)} (${he.round(t.expectancy_percentage,2)}%)`],["Avg Win | Avg Loss",`${he.round(t.average_win,2)} | ${he.round(t.average_loss,2)}`],["Ratio Avg Win / Avg Loss",he.round(t.ratio_avg_win_loss,2)],["Win-rate",`${he.round(t.win_rate*100,2)}%`],["Longs | Shorts",`${he.round(t.longs_percentage,2)}% | ${he.round(t.shorts_percentage,2)}%`],["Avg Holding Time",t.average_holding_period],["Winning Trades Avg Holding Time",t.average_winning_holding_period],["Losing Trades Avg Holding Time",t.average_losing_holding_period],["Sharpe Ratio",he.round(t.sharpe_ratio,2)],["Calmar Ratio",he.round(t.calmar_ratio,2)],["Sortino Ratio",he.round(t.sortino_ratio,2)],["Omega Ratio",he.round(t.omega_ratio,2)],["Winning Streak",t.winning_streak],["Losing Streak",t.losing_streak],["Largest Winning Trade",he.round(t.largest_winning_trade,2)],["Largest Losing Trade",he.round(t.largest_losing_trade,2)],["Total Winning Trades",t.total_winning_trades],["Total Losing Trades",t.total_losing_trades]]},terminationEvent(e){this.results.executing&&(this.results.executing=!1,Ve("success","Session terminated successfully"))},bestCandidatesEvent(e,t){const n=[];t.forEach(r=>{n.push([{value:`#${r.rank}`,style:""},{value:r.dna,style:"",tag:"code"},{value:r.fitness,style:""},{value:`${r.training_win_rate}% | ${r.testing_win_rate}%`,style:""},{value:`${r.training_total_trades} | ${r.testing_total_trades}`,style:""},{value:`${r.training_pnl}% | ${r.testing_pnl}%`,style:""}])}),this.results.best_candidates=n},alertEvent(e,t){this.results.alert=t,this.results.executing=!1,this.results.showResults=!0}}});function rn(e=""){return he.cloneDeep({id:e||It.uuid(),form:{debug_mode:!0,paper_mode:!0,exchange_api_key_id:"",notification_api_key_id:"",exchange:"",routes:[],data_routes:[]},results:{showResults:!1,booting:!1,monitoring:!1,finished:!1,terminating:!1,progressbar:{current:0,estimated_remaining_seconds:0},routes_info:[],routes:[],metrics:[],generalInfo:{},positions:[],orders:[],watchlist:[],candles:[],currentCandles:{},infoLogs:"",errorLogs:"",exception:{error:"",traceback:""},charts:{equity_curve:[]},selectedRoute:{},info:[]}})}const T1=si("Live",{state:()=>({tabs:{}}),persist:{storage:ms.localStorage},actions:{async init(e){for(const t in this.tabs){const n=this.tabs[t];n.results.monitoring&&!n.results.exception.error&&(e.has(n.id)?this.fetchLogs(n.id):this.forceClose(n.id))}},async addTab(){const e=rn();this.tabs[e.id]=e,await Ao(`/live/${e.id}`)},closeTab(e){const t=this.tabs[e];if(t.results.monitoring&&!t.results.exception.error&&!t.results.finished){Ve("error","Cannot close a live session tab that is currently running");return}delete this.tabs[e],Ao("/live")},reset(e){this.tabs[e].results.progressbar.current=0,this.tabs[e].results.booting=!0,this.tabs[e].results.finished=!1,this.tabs[e].results.infoLogs="",this.tabs[e].results.errorLogs="",this.tabs[e].results.exception.traceback="",this.tabs[e].results.exception.error="",this.tabs[e].results.routes_info=[],this.tabs[e].results.metrics=[],this.tabs[e].results.generalInfo={},this.tabs[e].results.positions=[],this.tabs[e].results.orders=[],this.tabs[e].results.candles=[],this.tabs[e].results.currentCandles={},this.tabs[e].results.watchlist=[]},async start(e){this.reset(e);const t=wt(),n=this.tabs[e].form.paper_mode?"":this.tabs[e].form.exchange_api_key_id,r=this.tabs[e].form.exchange,s=this.tabs[e].form.notification_api_key_id?this.tabs[e].form.notification_api_key_id:"";this.tabs[e].results.selectedRoute=this.tabs[e].form.routes[0];const{data:i,error:l}=await jt("/live",{id:e,exchange:r,exchange_api_key_id:n,notification_api_key_id:s,routes:this.tabs[e].form.routes,data_routes:this.tabs[e].form.data_routes,config:t.settings.live,debug_mode:this.tabs[e].form.debug_mode,paper_mode:this.tabs[e].form.paper_mode},!0);if(l.value&&l.value.statusCode!==200){Ve("error",l.value.data.message);return}},async cancel(e){const{data:t,error:n}=await jt("/cancel-live",{id:e,paper_mode:this.tabs[e].form.paper_mode},!0);if(n.value&&n.value.statusCode!==200){Ve("error",n.value.data.message);return}this.tabs[e].results.booting=!1},async stop(e){const{data:t,error:n}=await jt("/cancel-live",{id:e,paper_mode:this.tabs[e].form.paper_mode},!0);if(n.value&&n.value.statusCode!==200){Ve("error",n.value.data.message);return}this.tabs[e].results.terminating=!0},newLive(e){this.tabs[e].results.monitoring=!1,this.tabs[e].results.finished=!1},candlesInfoEvent(e,t){this.tabs[e]===void 0&&(this.tabs[e]=rn(e)),this.tabs[e].results.info=[["Period",t.duration],["Starting-Ending Date",`${It.timestampToDate(t.starting_time)} => ${It.timestampToDate(t.finishing_time)}`]]},routesInfoEvent(e,t){this.tabs[e]===void 0&&(this.tabs[e]=rn(e));const n=[];t.forEach(r=>{n.push([{value:r.symbol,style:""},{value:r.timeframe,style:""},{value:r.strategy_name,style:""}])}),this.tabs[e].results.routes_info=n},progressbarEvent(e,t){this.tabs[e]===void 0&&(this.tabs[e]=rn(e)),this.tabs[e].results.progressbar=t},infoLogEvent(e,t){this.tabs[e]===void 0&&(this.tabs[e]=rn(e)),this.tabs[e].results.infoLogs+=`[${It.timestampToTime(t.timestamp)}] ${t.message} `},errorLogEvent(e,t){this.tabs[e]===void 0&&(this.tabs[e]=rn(e)),Ve("error",t.message),this.tabs[e].results.errorLogs+=`[${It.timestampToTime(t.timestamp)}] ${t.message} `},exceptionEvent(e,t){this.tabs[e]===void 0&&(this.tabs[e]=rn(e)),this.tabs[e].results.exception.error=t.error,this.tabs[e].results.exception.traceback=t.traceback},generalInfoEvent(e,t){this.tabs[e]===void 0&&(this.tabs[e]=rn(e)),this.tabs[e].results.generalInfo=t,this.tabs[e].form.routes=this.tabs[e].results.generalInfo.routes,this.tabs[e].results.routes=[];for(const n of this.tabs[e].form.routes)this.tabs[e].results.routes.push([{value:n.symbol,style:""},{value:n.timeframe,style:""},{value:n.strategy,style:""}]);this.tabs[e].results.monitoring||(this.tabs[e].results.booting=!1,this.tabs[e].results.monitoring=!0,this.fetchLogs(e))},async fetchCandles(e){const{data:t,error:n}=await jt("/get-candles",{id:e,exchange:this.tabs[e].form.exchange,symbol:this.tabs[e].results.selectedRoute.symbol,timeframe:this.tabs[e].results.selectedRoute.timeframe},!0);if(n.value&&n.value.statusCode!==200){Ve("error",n.value.data.message);return}const r=t.value;this.tabs[e].results.candles=r.data},async fetchLogs(e){this.tabs[e]===void 0&&(this.tabs[e]=rn(e)),this.tabs[e].results.infoLogs="",this.tabs[e].results.errorLogs="";const{data:t,error:n}=await jt("/get-logs",{id:e,type:"info",start_time:this.tabs[e].results.generalInfo.started_at},!0);if(n.value&&n.value.statusCode!==200){Ve("error",n.value.data.message);return}const s=t.value.data;this.tabs[e].results.infoLogs="",s.forEach(p=>{this.tabs[e].results.infoLogs+=`[${It.timestampToTime(p.timestamp)}] ${p.message} `});const{data:i,error:l}=await jt("/get-logs",{id:e,type:"error",start_time:this.tabs[e].results.generalInfo.started_at},!0);if(l.value&&l.value.statusCode!==200){Ve("error",l.value.data.message);return}const c=i.value.data;this.tabs[e].results.errorLogs="",c.forEach(p=>{this.tabs[e].results.errorLogs+=`[${It.timestampToTime(p.timestamp)}] ${p.message} -`})},currentCandlesEvent(e,t){this.tabs[e]===void 0&&(this.tabs[e]=rn(e)),this.tabs[e].results.currentCandles=t},watchlistEvent(e,t){this.tabs[e]===void 0&&(this.tabs[e]=rn(e)),this.tabs[e].results.watchlist=t},positionsEvent(e,t){this.tabs[e]===void 0&&(this.tabs[e]=rn(e)),this.tabs[e].results.positions=[];for(const n of t){const r=n.type==="close"?"":n.qty;this.tabs[e].results.positions.push([{value:n.symbol,style:""},{value:r,style:It.colorBasedOnType(n.type),tooltip:`${n.value} ${n.currency}`},{value:It.roundPrice(n.entry),style:""},{value:It.roundPrice(n.current_price),style:""},{value:n.liquidation_price?It.roundPrice(n.liquidation_price):"",style:""},{value:`${he.round(n.pnl,2)} (${he.round(n.pnl_perc,2)}%)`,style:It.colorBasedOnNumber(n.pnl)}])}},ordersEvent(e,t){this.tabs[e]===void 0&&(this.tabs[e]=rn(e)),this.tabs[e].results.orders=t},metricsEvent(e,t){this.tabs[e]===void 0&&(this.tabs[e]=rn(e)),this.tabs[e].results.metrics=[["Total Closed Trades",t.total],["Total Net Profit",`${he.round(t.net_profit,2)} (${he.round(t.net_profit_percentage,2)}%)`],["Starting => Finishing Balance",`${he.round(t.starting_balance,2)} => ${he.round(t.finishing_balance,2)}`],["Open Trades",t.total_open_trades],["Total Paid Fees",he.round(t.fee,2)],["Max Drawdown",he.round(t.max_drawdown,2)],["Annual Return",`${he.round(t.annual_return,2)}%`],["Expectancy",`${he.round(t.expectancy,2)} (${he.round(t.expectancy_percentage,2)}%)`],["Avg Win | Avg Loss",`${he.round(t.average_win,2)} | ${he.round(t.average_loss,2)}`],["Ratio Avg Win / Avg Loss",he.round(t.ratio_avg_win_loss,2)],["Win-rate",`${he.round(t.win_rate*100,2)}%`],["Longs | Shorts",`${he.round(t.longs_percentage,2)}% | ${he.round(t.shorts_percentage,2)}%`],["Avg Holding Time",t.average_holding_period],["Winning Trades Avg Holding Time",t.average_winning_holding_period],["Losing Trades Avg Holding Time",t.average_losing_holding_period],["Sharpe Ratio",he.round(t.sharpe_ratio,2)],["Calmar Ratio",he.round(t.calmar_ratio,2)],["Sortino Ratio",he.round(t.sortino_ratio,2)],["Omega Ratio",he.round(t.omega_ratio,2)],["Winning Streak",t.winning_streak],["Losing Streak",t.losing_streak],["Largest Winning Trade",he.round(t.largest_winning_trade,2)],["Largest Losing Trade",he.round(t.largest_losing_trade,2)],["Total Winning Trades",t.total_winning_trades],["Total Losing Trades",t.total_losing_trades]]},equityCurveEvent(e,t){this.tabs[e].results.charts.equity_curve=t,this.tabs[e].results.showResults=!0},unexpectedTerminationEvent(e){this.tabs[e]===void 0&&(this.tabs[e]=rn(e)),this.tabs[e].results.finished=!0},terminationEvent(e){this.tabs[e]===void 0&&(this.tabs[e]=rn(e)),this.tabs[e].results.finished||(this.tabs[e].results.finished=!0,this.tabs[e].results.terminating=!1,Ve("success","Session terminated successfully"))},forceClose(e){this.tabs[e]===void 0&&(this.tabs[e]=rn(e)),this.tabs[e].results.finished=!0,this.tabs[e].results.terminating=!1}}}),wt=ii("main",{state:()=>({initiated:!1,loadingVar:!1,authToken:"",hasLivePluginInstalled:!1,systemInfo:{},updateInfo:{},plan:"",planLimits:{},settings:{backtest:{logging:{order_submission:!0,order_cancellation:!0,order_execution:!0,position_opened:!0,position_increased:!0,position_reduced:!0,position_closed:!0,shorter_period_candles:!1,trading_candles:!0,balance_update:!0},warm_up_candles:210,exchanges:{}},live:{persistency:!0,generate_candles_from_1m:!1,logging:{order_submission:!0,order_cancellation:!0,order_execution:!0,position_opened:!0,position_increased:!0,position_reduced:!0,position_closed:!0,shorter_period_candles:!1,trading_candles:!0,balance_update:!0},warm_up_candles:210,exchanges:{},notifications:{enabled:!0,position_report_timeframe:"1h",events:{errors:!0,started_session:!0,terminated_session:!0,submitted_orders:!0,cancelled_orders:!0,executed_orders:!0,opened_position:!0,updated_position:!0}}},optimization:{cpu_cores:2,ratio:"sharpe",warm_up_candles:210,exchange:{balance:1e4,fee:.001,type:"futures",futures_leverage:3,futures_leverage_mode:"cross"}}},strategies:[],exchangeInfo:{},jesseSupportedTimeframes:[],exchangeSupportedSymbols:{},skippedJesseVersions:[],skippedLivePluginVersions:[],activeWorkers:new Set,exchangeApiKeys:[],notificationApiKeys:[]}),persist:{storage:ms.localStorage},getters:{backtestingExchangeNames(){const e=[];for(const t in this.exchangeInfo)this.exchangeInfo[t].modes.backtesting&&e.push(t);return e.sort()},liveTradingExchangeNames(){const e=[];for(const t in this.exchangeInfo)this.exchangeInfo[t].modes.live_trading&&e.push(t);return e.sort()},isAuthenticated(){return this.authToken!==""}},actions:{async initiate(){const{data:e,error:t}=await jt("/general-info",{},!0);if(t&&t.value&&t.value.statusCode!==200){es(t);return}const n=e.value;this.systemInfo=n.system_info,this.updateInfo=n.update_info,this.strategies=n.strategies,this.exchangeInfo=n.exchanges,this.jesseSupportedTimeframes=n.jesse_supported_timeframes,this.hasLivePluginInstalled=n.has_live_plugin_installed,this.plan=n.plan,this.planLimits=n.limits;for(const p in this.exchangeInfo){const d=this.exchangeInfo[p];d.modes.backtesting&&(this.settings.backtest.exchanges[p]={name:p,fee:d.fee,balance:1e4,type:d.type},d.type==="futures"&&(this.settings.backtest.exchanges[p].futures_leverage_mode="cross",this.settings.backtest.exchanges[p].futures_leverage=2)),d.modes.live_trading&&(this.settings.live.exchanges[d.name]={name:p,fee:d.fee,futures_leverage_mode:"cross",futures_leverage:2,balance:1e4})}const{data:r,error:s}=await jt("/get-config",{current_config:this.settings},!0);if(s.value&&s.value.statusCode!==200){es(s);return}const i=r.value;this.settings=i.data.data;const{data:l,error:u}=await jt("/active-workers",{},!0);if(u.value&&u.value.statusCode!==200){es(u);return}const c=l.value;this.activeWorkers=new Set(c.data),await this.syncOpenTabs(),await this.fetchExchangeApiKeys(),await this.fetchNotificationApiKeys(),this.initiated=!0},async syncOpenTabs(){O1().init(this.activeWorkers),P1().init(this.activeWorkers),L1().init(this.activeWorkers),M1().init(this.activeWorkers)},updateConfig:JR(async()=>{if(!wt().settings)return;const{data:e,error:t}=await jt("/update-config",{current_config:wt().settings},!0);t.value&&t.value.statusCode!==200&&es(t)},1e3,!0,!0),async fetchExchangeApiKeys(){const{data:e,error:t}=await bv("/exchange-api-keys",!0);if(t.value&&t.value.statusCode!==200){es(t);return}const n=e.value;this.exchangeApiKeys=n.data},async fetchNotificationApiKeys(){const{data:e,error:t}=await bv("/notification-api-keys",!0);if(t.value&&t.value.statusCode!==200){es(t);return}const n=e.value;this.notificationApiKeys=n.data},setAuthToken(e){this.authToken=e},async updateSupportedSymbols(e){const{data:t,error:n}=await jt("/exchange-supported-symbols",{exchange:e},!0);if(n.value&&n.value.statusCode!==200){Ve("error",`[${n.value.statusCode}]: ${n.value.message}`);return}const r=t.value;this.exchangeSupportedSymbols[e]={data:r.data,updated_at:new Date}},async getExchangeSupportedSymbols(e){if(!this.exchangeSupportedSymbols[e])return await this.updateSupportedSymbols(e),this.exchangeSupportedSymbols[e].data;const t=new Date(this.exchangeSupportedSymbols[e].updated_at),r=new Date().getTime()-t.getTime();return Math.ceil(r/(1e3*3600*24))>1&&await this.updateSupportedSymbols(e),this.exchangeSupportedSymbols[e].data}}}),tL={key:0,class:"relative bg-indigo-600 dark:bg-indigo-400 select-none text-white dark:text-black"},nL={class:"max-w-7xl mx-auto py-3 px-3 sm:px-6 lg:px-8"},rL={class:"pr-16 sm:text-center sm:px-16"},oL={class:"font-medium"},sL={class:"md:inline"},iL=I("span",{class:"block sm:ml-2 sm:inline-block"},[I("a",{href:"https://docs.jesse.trade/docs/getting-started/update.html",target:"_blank",class:"font-bold underline"},[de(" Update Guide "),I("span",{"aria-hidden":"true"},"→")])],-1),aL={class:"absolute inset-y-0 right-0 pt-1 pr-1 flex items-start sm:pt-1 sm:pr-2 sm:items-start"},lL=we({__name:"UpdateBanner",setup(e){const t=te(!1),n=wt(),r=F(()=>n.updateInfo),s=F(()=>n.systemInfo),i=F(()=>{if(t.value||!r.value||!r.value.is_update_info_available)return{flag:!1,message:"",type:"",version:""};const u=n.skippedJesseVersions,c=n.skippedLivePluginVersions;return r.value.jesse_latest_version>s.value.jesse_version&&!u.includes(r.value.jesse_latest_version)?{flag:!0,message:`Version "${r.value.jesse_latest_version}" of Jesse is available. You are currently running version "${s.value.jesse_version}".`,type:"jesse",version:r.value.jesse_latest_version}:s.value.live_plugin_version&&r.value.jesse_live_latest_version>s.value.live_plugin_version&&!c.includes(r.value.jesse_live_latest_version)?{flag:!0,message:`Version "${r.value.jesse_live_latest_version}" of the live plugin is available. You are running "${s.value.live_plugin_version}".`,type:"live",version:r.value.jesse_live_latest_version}:{flag:!1,message:"",type:"",version:""}}),l=(u,c)=>{if(u==="jesse"){const p=n.skippedJesseVersions||[];p.push(c),n.skippedJesseVersions=p,t.value=!0}if(u==="live"){const p=n.skippedLivePluginVersions||[];p.push(c),n.skippedLivePluginVersions=p,t.value=!0}};return(u,c)=>R(i).flag?(V(),Z("div",tL,[I("div",nL,[I("div",rL,[I("p",oL,[I("span",sL,et(R(i).message),1),iL])]),I("div",aL,[I("button",{type:"button",class:"flex p-2 rounded-md hover:bg-indigo-500 focus:outline-none focus:ring-0",onClick:c[0]||(c[0]=p=>l(R(i).type,R(i).version))},[P(R(wp),{class:"h-6 w-6","aria-hidden":"true"})])])])])):Ie("",!0)}}),zt=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n},uL={},cL={class:"text-2xl mb-4"};function fL(e,t){return V(),Z("h3",cL,[st(e.$slots,"default")])}const $u=zt(uL,[["render",fL]]),Pn=(e,t,n,r,s=!1)=>{const i=WT(),l=si(),u=F(()=>{var h;const p=Tr(t),d=Tr(n),g=Tr(r);return wn((p==null?void 0:p.strategy)||((h=l.ui)==null?void 0:h.strategy),g?{wrapper:g}:{},p||{},s?Vi(l.ui,e,{}):{},d||{})}),c=F(()=>NO(i,["class"]));return{ui:u,attrs:c}},wa=(e,t)=>{const n=Ke("form-events",void 0),r=Ke("form-group",void 0),s=Ke("form-inputs",void 0);r&&(e!=null&&e.id&&(r.inputId.value=e==null?void 0:e.id),s&&(s.value[r.name.value]=r.inputId.value));const i=te(!1);function l(d,g){n&&n.emit({type:d,path:g})}function u(){l("blur",r==null?void 0:r.name.value),i.value=!0}function c(){l("change",r==null?void 0:r.name.value)}const p=GR(()=>{(i.value||r!=null&&r.eagerValidation.value)&&l("input",r==null?void 0:r.name.value)},300);return{inputId:F(()=>(e==null?void 0:e.id)??(r==null?void 0:r.inputId.value)),name:F(()=>(e==null?void 0:e.name)??(r==null?void 0:r.name.value)),size:F(()=>{var g;const d=t.size[r==null?void 0:r.size.value]?r==null?void 0:r.size.value:null;return(e==null?void 0:e.size)??d??((g=t==null?void 0:t.default)==null?void 0:g.size)}),color:F(()=>{var d;return(d=r==null?void 0:r.error)!=null&&d.value?"red":e==null?void 0:e.color}),emitFormBlur:u,emitFormInput:p,emitFormChange:c}},dL={wrapper:"relative inline-flex items-center justify-center flex-shrink-0",background:"bg-gray-100 dark:bg-gray-800",rounded:"rounded-full",text:"font-medium leading-none text-gray-900 dark:text-white truncate",placeholder:"font-medium leading-none text-gray-500 dark:text-gray-400 truncate",size:{"3xs":"h-4 w-4 text-[8px]","2xs":"h-5 w-5 text-[10px]",xs:"h-6 w-6 text-xs",sm:"h-8 w-8 text-sm",md:"h-10 w-10 text-base",lg:"h-12 w-12 text-lg",xl:"h-14 w-14 text-xl","2xl":"h-16 w-16 text-2xl","3xl":"h-20 w-20 text-3xl"},chip:{base:"absolute rounded-full ring-1 ring-white dark:ring-gray-900 flex items-center justify-center text-white dark:text-gray-900 font-medium",background:"bg-{color}-500 dark:bg-{color}-400",position:{"top-right":"top-0 right-0","bottom-right":"bottom-0 right-0","top-left":"top-0 left-0","bottom-left":"bottom-0 left-0"},size:{"3xs":"h-[4px] min-w-[4px] text-[4px] p-px","2xs":"h-[5px] min-w-[5px] text-[5px] p-px",xs:"h-1.5 min-w-[0.375rem] text-[6px] p-px",sm:"h-2 min-w-[0.5rem] text-[7px] p-0.5",md:"h-2.5 min-w-[0.625rem] text-[8px] p-0.5",lg:"h-3 min-w-[0.75rem] text-[10px] p-0.5",xl:"h-3.5 min-w-[0.875rem] text-[11px] p-1","2xl":"h-4 min-w-[1rem] text-[12px] p-1","3xl":"h-5 min-w-[1.25rem] text-[14px] p-1"}},icon:{base:"text-gray-500 dark:text-gray-400 flex-shrink-0",size:{"3xs":"h-2 w-2","2xs":"h-2.5 w-2.5",xs:"h-3 w-3",sm:"h-4 w-4",md:"h-5 w-5",lg:"h-6 w-6",xl:"h-7 w-7","2xl":"h-8 w-8","3xl":"h-10 w-10"}},default:{size:"sm",icon:null,chipColor:null,chipPosition:"top-right"}},pL={base:"focus:outline-none focus-visible:outline-0 disabled:cursor-not-allowed disabled:opacity-75 flex-shrink-0",font:"font-medium",rounded:"rounded-md",truncate:"text-left break-all line-clamp-1",block:"w-full flex justify-center items-center",inline:"inline-flex items-center",size:{"2xs":"text-xs",xs:"text-xs",sm:"text-sm",md:"text-sm",lg:"text-sm",xl:"text-base"},gap:{"2xs":"gap-x-1",xs:"gap-x-1.5",sm:"gap-x-1.5",md:"gap-x-2",lg:"gap-x-2.5",xl:"gap-x-2.5"},padding:{"2xs":"px-2 py-1",xs:"px-2.5 py-1.5",sm:"px-2.5 py-1.5",md:"px-3 py-2",lg:"px-3.5 py-2.5",xl:"px-3.5 py-2.5"},square:{"2xs":"p-1",xs:"p-1.5",sm:"p-1.5",md:"p-2",lg:"p-2.5",xl:"p-2.5"},color:{white:{solid:"shadow-sm ring-1 ring-inset ring-gray-300 dark:ring-gray-700 text-gray-900 dark:text-white bg-white hover:bg-gray-50 disabled:bg-white dark:bg-gray-900 dark:hover:bg-gray-800/50 dark:disabled:bg-gray-900 focus-visible:ring-2 focus-visible:ring-primary-500 dark:focus-visible:ring-primary-400",ghost:"text-gray-900 dark:text-white hover:bg-white dark:hover:bg-gray-900 focus-visible:ring-inset focus-visible:ring-2 focus-visible:ring-primary-500 dark:focus-visible:ring-primary-400"},gray:{solid:"shadow-sm ring-1 ring-inset ring-gray-300 dark:ring-gray-700 text-gray-700 dark:text-gray-200 bg-gray-50 hover:bg-gray-100 disabled:bg-gray-50 dark:bg-gray-800 dark:hover:bg-gray-700/50 dark:disabled:bg-gray-800 focus-visible:ring-2 focus-visible:ring-primary-500 dark:focus-visible:ring-primary-400",ghost:"text-gray-700 dark:text-gray-200 hover:text-gray-900 dark:hover:text-white hover:bg-gray-50 dark:hover:bg-gray-800 focus-visible:ring-inset focus-visible:ring-2 focus-visible:ring-primary-500 dark:focus-visible:ring-primary-400",link:"text-gray-500 dark:text-gray-400 hover:text-gray-700 dark:hover:text-gray-200 underline-offset-4 hover:underline focus-visible:ring-inset focus-visible:ring-2 focus-visible:ring-primary-500 dark:focus-visible:ring-primary-400"},black:{solid:"shadow-sm text-white dark:text-gray-900 bg-gray-900 hover:bg-gray-800 disabled:bg-gray-900 dark:bg-white dark:hover:bg-gray-100 dark:disabled:bg-white focus-visible:ring-inset focus-visible:ring-2 focus-visible:ring-primary-500 dark:focus-visible:ring-primary-400",link:"text-gray-900 dark:text-white underline-offset-4 hover:underline focus-visible:ring-inset focus-visible:ring-2 focus-visible:ring-primary-500 dark:focus-visible:ring-primary-400"}},variant:{solid:"shadow-sm text-white dark:text-gray-900 bg-{color}-500 hover:bg-{color}-600 disabled:bg-{color}-500 dark:bg-{color}-400 dark:hover:bg-{color}-500 dark:disabled:bg-{color}-400 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-{color}-500 dark:focus-visible:outline-{color}-400",outline:"ring-1 ring-inset ring-current text-{color}-500 dark:text-{color}-400 hover:bg-{color}-50 disabled:bg-transparent dark:hover:bg-{color}-950 dark:disabled:bg-transparent focus-visible:ring-2 focus-visible:ring-{color}-500 dark:focus-visible:ring-{color}-400",soft:"text-{color}-500 dark:text-{color}-400 bg-{color}-50 hover:bg-{color}-100 disabled:bg-{color}-50 dark:bg-{color}-950 dark:hover:bg-{color}-900 dark:disabled:bg-{color}-950 focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-{color}-500 dark:focus-visible:ring-{color}-400",ghost:"text-{color}-500 dark:text-{color}-400 hover:bg-{color}-50 disabled:bg-transparent dark:hover:bg-{color}-950 dark:disabled:bg-transparent focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-{color}-500 dark:focus-visible:ring-{color}-400",link:"text-{color}-500 hover:text-{color}-600 disabled:text-{color}-500 dark:text-{color}-400 dark:hover:text-{color}-500 dark:disabled:text-{color}-400 underline-offset-4 hover:underline focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-{color}-500 dark:focus-visible:ring-{color}-400"},icon:{base:"flex-shrink-0",loading:"animate-spin",size:{"2xs":"h-4 w-4",xs:"h-4 w-4",sm:"h-5 w-5",md:"h-5 w-5",lg:"h-5 w-5",xl:"h-6 w-6"}},default:{size:"sm",variant:"solid",color:"primary",loadingIcon:"i-heroicons-arrow-path-20-solid"}},B1={base:"invisible before:visible before:block before:rotate-45 before:z-[-1] before:w-2 before:h-2",ring:"before:ring-1 before:ring-gray-200 dark:before:ring-gray-800",rounded:"before:rounded-sm",background:"before:bg-gray-200 dark:before:bg-gray-800",shadow:"before:shadow",placement:"group-data-[popper-placement*='right']:-left-1 group-data-[popper-placement*='left']:-right-1 group-data-[popper-placement*='top']:-bottom-1 group-data-[popper-placement*='bottom']:-top-1"},xp={wrapper:"relative",base:"relative block w-full disabled:cursor-not-allowed disabled:opacity-75 focus:outline-none border-0",form:"form-input",rounded:"rounded-md",placeholder:"placeholder-gray-400 dark:placeholder-gray-500",file:{base:"file:cursor-pointer file:rounded-l-md file:absolute file:left-0 file:inset-y-0 file:font-medium file:m-0 file:border-0 file:ring-1 file:ring-gray-300 dark:file:ring-gray-700 file:text-gray-900 dark:file:text-white file:bg-gray-50 hover:file:bg-gray-100 dark:file:bg-gray-800 dark:hover:file:bg-gray-700/50",padding:{"2xs":"ps-[85px]",xs:"ps-[87px]",sm:"ps-[96px]",md:"ps-[98px]",lg:"ps-[100px]",xl:"ps-[109px]"}},size:{"2xs":"text-xs",xs:"text-xs",sm:"text-sm",md:"text-sm",lg:"text-sm",xl:"text-base"},gap:{"2xs":"gap-x-1",xs:"gap-x-1.5",sm:"gap-x-1.5",md:"gap-x-2",lg:"gap-x-2.5",xl:"gap-x-2.5"},padding:{"2xs":"px-2 py-1",xs:"px-2.5 py-1.5",sm:"px-2.5 py-1.5",md:"px-3 py-2",lg:"px-3.5 py-2.5",xl:"px-3.5 py-2.5"},leading:{padding:{"2xs":"ps-7",xs:"ps-8",sm:"ps-9",md:"ps-10",lg:"ps-11",xl:"ps-12"}},trailing:{padding:{"2xs":"pe-7",xs:"pe-8",sm:"pe-9",md:"pe-10",lg:"pe-11",xl:"pe-12"}},color:{white:{outline:"shadow-sm bg-white dark:bg-gray-900 text-gray-900 dark:text-white ring-1 ring-inset ring-gray-300 dark:ring-gray-700 focus:ring-2 focus:ring-primary-500 dark:focus:ring-primary-400"},gray:{outline:"shadow-sm bg-gray-50 dark:bg-gray-800 text-gray-900 dark:text-white ring-1 ring-inset ring-gray-300 dark:ring-gray-700 focus:ring-2 focus:ring-primary-500 dark:focus:ring-primary-400"}},variant:{outline:"shadow-sm bg-transparent text-gray-900 dark:text-white ring-1 ring-inset ring-{color}-500 dark:ring-{color}-400 focus:ring-2 focus:ring-{color}-500 dark:focus:ring-{color}-400",none:"bg-transparent focus:ring-0 focus:shadow-none"},icon:{base:"flex-shrink-0 text-gray-400 dark:text-gray-500",color:"text-{color}-500 dark:text-{color}-400",loading:"animate-spin",size:{"2xs":"h-4 w-4",xs:"h-4 w-4",sm:"h-5 w-5",md:"h-5 w-5",lg:"h-5 w-5",xl:"h-6 w-6"},leading:{wrapper:"absolute inset-y-0 start-0 flex items-center",pointer:"pointer-events-none",padding:{"2xs":"px-2",xs:"px-2.5",sm:"px-2.5",md:"px-3",lg:"px-3.5",xl:"px-3.5"}},trailing:{wrapper:"absolute inset-y-0 end-0 flex items-center",pointer:"pointer-events-none",padding:{"2xs":"px-2",xs:"px-2.5",sm:"px-2.5",md:"px-3",lg:"px-3.5",xl:"px-3.5"}}},default:{size:"sm",color:"white",variant:"outline",loadingIcon:"i-heroicons-arrow-path-20-solid"}},kv={container:"z-20 group",trigger:"flex items-center w-full",width:"w-full",height:"max-h-60",base:"relative focus:outline-none overflow-y-auto scroll-py-1",background:"bg-white dark:bg-gray-800",shadow:"shadow-lg",rounded:"rounded-md",padding:"p-1",ring:"ring-1 ring-gray-200 dark:ring-gray-700",empty:"text-sm text-gray-400 dark:text-gray-500 px-2 py-1.5",option:{base:"cursor-default select-none relative flex items-center justify-between gap-1",rounded:"rounded-md",padding:"px-1.5 py-1.5",size:"text-sm",color:"text-gray-900 dark:text-white",container:"flex items-center gap-1.5 min-w-0",active:"bg-gray-100 dark:bg-gray-900",inactive:"",selected:"pe-7",disabled:"cursor-not-allowed opacity-50",empty:"text-sm text-gray-400 dark:text-gray-500 px-2 py-1.5",icon:{base:"flex-shrink-0 h-5 w-5",active:"text-gray-900 dark:text-white",inactive:"text-gray-400 dark:text-gray-500"},selectedIcon:{wrapper:"absolute inset-y-0 end-0 flex items-center",padding:"pe-2",base:"h-5 w-5 text-gray-900 dark:text-white flex-shrink-0"},avatar:{base:"flex-shrink-0",size:"2xs"},chip:{base:"flex-shrink-0 w-2 h-2 mx-1 rounded-full"}},transition:{leaveActiveClass:"transition ease-in duration-100",leaveFromClass:"opacity-100",leaveToClass:"opacity-0"},popper:{placement:"bottom-end"},default:{selectedIcon:"i-heroicons-check-20-solid",trailingIcon:"i-heroicons-chevron-down-20-solid"},arrow:{...B1,ring:"before:ring-1 before:ring-gray-200 dark:before:ring-gray-700",background:"before:bg-white dark:before:bg-gray-700"}},hL={wrapper:"",inner:"",label:{wrapper:"flex content-center items-center justify-between",base:"block font-medium text-gray-700 dark:text-gray-200",required:"after:content-['*'] after:ms-0.5 after:text-red-500 dark:after:text-red-400"},size:{"2xs":"text-xs",xs:"text-xs",sm:"text-sm",md:"text-sm",lg:"text-sm",xl:"text-base"},container:"mt-1 relative",description:"text-gray-500 dark:text-gray-400",hint:"text-gray-500 dark:text-gray-400",help:"mt-2 text-gray-500 dark:text-gray-400",error:"mt-2 text-red-500 dark:text-red-400",default:{size:"sm"}},gL={...xp,form:"form-textarea",default:{size:"sm",color:"white",variant:"outline"}},mL={...xp,form:"form-select",placeholder:"text-gray-400 dark:text-gray-500",default:{size:"sm",color:"white",variant:"outline",loadingIcon:"i-heroicons-arrow-path-20-solid",trailingIcon:"i-heroicons-chevron-down-20-solid"}},WF={...kv,select:"inline-flex items-center text-left cursor-default",input:"block w-[calc(100%+0.5rem)] focus:ring-transparent text-sm px-3 py-1.5 text-gray-700 dark:text-gray-200 bg-white dark:bg-gray-800 border-0 border-b border-gray-200 dark:border-gray-700 sticky -top-1 -mt-1 mb-1 -mx-1 z-10 placeholder-gray-400 dark:placeholder-gray-500 focus:outline-none",required:"absolute inset-0 w-px opacity-0 cursor-default",label:"block truncate",option:{...kv.option,create:"block truncate"},transition:{leaveActiveClass:"transition ease-in duration-100",leaveFromClass:"opacity-100",leaveToClass:"opacity-0"},popper:{placement:"bottom-end"},default:{selectedIcon:"i-heroicons-check-20-solid",clearSearchOnClose:!1,showCreateOptionWhen:"empty"},arrow:{...B1,ring:"before:ring-1 before:ring-gray-200 dark:before:ring-gray-700",background:"before:bg-white dark:before:bg-gray-700"}},vL={wrapper:"relative flex items-start",container:"flex items-center h-5",base:"h-4 w-4 dark:checked:bg-current dark:checked:border-transparent dark:indeterminate:bg-current dark:indeterminate:border-transparent disabled:opacity-50 disabled:cursor-not-allowed focus:ring-0 focus:ring-transparent focus:ring-offset-transparent",form:"form-checkbox",rounded:"rounded",color:"text-{color}-500 dark:text-{color}-400",background:"bg-white dark:bg-gray-900",border:"border border-gray-300 dark:border-gray-700",ring:"focus-visible:ring-2 focus-visible:ring-{color}-500 dark:focus-visible:ring-{color}-400 focus-visible:ring-offset-2 focus-visible:ring-offset-white dark:focus-visible:ring-offset-gray-900",inner:"ms-3 flex flex-col",label:"text-sm font-medium text-gray-700 dark:text-gray-200",required:"text-sm text-red-500 dark:text-red-400",help:"text-sm text-gray-500 dark:text-gray-400",default:{color:"primary"}},yL={base:"relative inline-flex flex-shrink-0 border-2 border-transparent disabled:cursor-not-allowed disabled:opacity-50 focus:outline-none",rounded:"rounded-full",ring:"focus-visible:ring-2 focus-visible:ring-{color}-500 dark:focus-visible:ring-{color}-400 focus-visible:ring-offset-2 focus-visible:ring-offset-white dark:focus-visible:ring-offset-gray-900",active:"bg-{color}-500 dark:bg-{color}-400",inactive:"bg-gray-200 dark:bg-gray-700",size:{"2xs":"h-3 w-5",xs:"h-3.5 w-6",sm:"h-4 w-7",md:"h-5 w-9",lg:"h-6 w-11",xl:"h-7 w-[3.25rem]","2xl":"h-8 w-[3.75rem]"},container:{base:"pointer-events-none relative inline-block rounded-full bg-white dark:bg-gray-900 shadow transform ring-0 transition ease-in-out duration-200",active:{"2xs":"translate-x-2 rtl:-translate-x-2",xs:"translate-x-2.5 rtl:-translate-x-2.5",sm:"translate-x-3 rtl:-translate-x-3",md:"translate-x-4 rtl:-translate-x-4",lg:"translate-x-5 rtl:-translate-x-5",xl:"translate-x-6 rtl:-translate-x-6","2xl":"translate-x-7 rtl:-translate-x-7"},inactive:"translate-x-0 rtl:-translate-x-0",size:{"2xs":"h-2 w-2",xs:"h-2.5 w-2.5",sm:"h-3 w-3",md:"h-4 w-4",lg:"h-5 w-5",xl:"h-6 w-6","2xl":"h-7 w-7"}},icon:{base:"absolute inset-0 h-full w-full flex items-center justify-center transition-opacity",active:"opacity-100 ease-in duration-200",inactive:"opacity-0 ease-out duration-100",size:{"2xs":"h-2 w-2",xs:"h-2 w-2",sm:"h-2 w-2",md:"h-3 w-3",lg:"h-4 w-4",xl:"h-5 w-5","2xl":"h-6 w-6"},on:"text-{color}-500 dark:text-{color}-400",off:"text-gray-400 dark:text-gray-500",loading:"animate-spin text-{color}-500 dark:text-{color}-400"},default:{onIcon:null,offIcon:null,loadingIcon:"i-heroicons-arrow-path-20-solid",color:"primary",size:"md"}},bL={base:"",background:"bg-white dark:bg-gray-900",divide:"divide-y divide-gray-200 dark:divide-gray-800",ring:"ring-1 ring-gray-200 dark:ring-gray-800",rounded:"rounded-lg",shadow:"shadow",body:{base:"",background:"",padding:"px-4 py-5 sm:p-6"},header:{base:"",background:"",padding:"px-4 py-5 sm:px-6"},footer:{base:"",background:"",padding:"px-4 py-4 sm:px-6"}},_L={base:"mx-auto",padding:"px-4 sm:px-6 lg:px-8",constrained:"max-w-7xl"},wL={wrapper:"relative z-50",inner:"fixed inset-0 overflow-y-auto",container:"flex min-h-full items-end sm:items-center justify-center text-center",padding:"p-4 sm:p-0",margin:"sm:my-8",base:"relative text-left rtl:text-right flex flex-col",overlay:{base:"fixed inset-0 transition-opacity",background:"bg-gray-200/75 dark:bg-gray-800/75",transition:{enter:"ease-out duration-300",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-200",leaveFrom:"opacity-100",leaveTo:"opacity-0"}},background:"bg-white dark:bg-gray-900",ring:"",rounded:"rounded-lg",shadow:"shadow-xl",width:"w-full sm:max-w-lg",height:"",fullscreen:"w-screen h-screen",transition:{enter:"ease-out duration-300",enterFrom:"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95",enterTo:"opacity-100 translate-y-0 sm:scale-100",leave:"ease-in duration-200",leaveFrom:"opacity-100 translate-y-0 sm:scale-100",leaveTo:"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95"}},xL={wrapper:"fixed inset-0 flex z-50",overlay:{base:"fixed inset-0 transition-opacity",background:"bg-gray-200/75 dark:bg-gray-800/75",transition:{enter:"ease-in-out duration-500",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in-out duration-500",leaveFrom:"opacity-100",leaveTo:"opacity-0"}},base:"relative flex-1 flex flex-col w-full focus:outline-none",background:"bg-white dark:bg-gray-900",ring:"",rounded:"",padding:"",shadow:"shadow-xl",width:"w-screen max-w-md",translate:{base:"translate-x-0",left:"-translate-x-full rtl:translate-x-full",right:"translate-x-full rtl:-translate-x-full"},transition:{enter:"transform transition ease-in-out duration-300",leave:"transform transition ease-in-out duration-200"}},kL={wrapper:"w-full pointer-events-auto",container:"relative overflow-hidden",inner:"w-0 flex-1",title:"text-sm font-medium text-gray-900 dark:text-white",description:"mt-1 text-sm leading-4 text-gray-500 dark:text-gray-400",actions:"flex items-center gap-2 mt-3 flex-shrink-0",background:"bg-white dark:bg-gray-900",shadow:"shadow-lg",rounded:"rounded-lg",padding:"p-4",gap:"gap-3",ring:"ring-1 ring-gray-200 dark:ring-gray-800",icon:{base:"flex-shrink-0 w-5 h-5",color:"text-{color}-500 dark:text-{color}-400"},avatar:{base:"flex-shrink-0 self-center",size:"md"},progress:{base:"absolute bottom-0 end-0 start-0 h-1",background:"bg-{color}-500 dark:bg-{color}-400"},transition:{enterActiveClass:"transform ease-out duration-300 transition",enterFromClass:"translate-y-2 opacity-0 sm:translate-y-0 sm:translate-x-2",enterToClass:"translate-y-0 opacity-100 sm:translate-x-0",leaveActiveClass:"transition ease-in duration-100",leaveFromClass:"opacity-100",leaveToClass:"opacity-0"},default:{color:"primary",icon:null,timeout:5e3,closeButton:{icon:"i-heroicons-x-mark-20-solid",color:"gray",variant:"link",padded:!1},actionButton:{size:"xs",color:"white"}}},SL={wrapper:"fixed flex flex-col justify-end z-[55]",position:"bottom-0 end-0",width:"w-full sm:w-96",container:"px-4 sm:px-6 py-6 space-y-3 overflow-y-auto"},Sv=wn(Ge.ui.strategy,Ge.ui.checkbox,vL),CL=we({inheritAttrs:!1,props:{id:{type:String,default:()=>null},value:{type:[String,Number,Boolean,Object],default:null},modelValue:{type:[Boolean,Array],default:null},name:{type:String,default:null},disabled:{type:Boolean,default:!1},indeterminate:{type:Boolean,default:void 0},help:{type:String,default:null},label:{type:String,default:null},required:{type:Boolean,default:!1},color:{type:String,default:()=>Sv.default.color,validator(e){return Ge.ui.colors.includes(e)}},inputClass:{type:String,default:""},class:{type:[String,Object,Array],default:()=>""},ui:{type:Object,default:()=>({})}},emits:["update:modelValue","change"],setup(e,{emit:t}){const{ui:n,attrs:r}=Pn("checkbox",Ot(e,"ui"),Sv,Ot(e,"class")),{emitFormChange:s,color:i,name:l,inputId:u}=wa(e),c=u.value??ai("$YWrWuPJ69t"),p=F({get(){return e.modelValue},set(h){t("update:modelValue",h)}}),d=h=>{t("change",h.target.checked),s()},g=F(()=>Hn(pt(n.value.base,n.value.form,n.value.rounded,n.value.background,n.value.border,i.value&&n.value.ring.replaceAll("{color}",i.value),i.value&&n.value.color.replaceAll("{color}",i.value)),e.inputClass));return{ui:n,attrs:r,toggle:p,inputId:c,name:l,inputClass:g,onChange:d}}}),EL=["data-n-ids"],TL=["id","name","required","value","disabled","indeterminate"],$L=["for"];function AL(e,t,n,r,s,i){return V(),Z("div",{class:ae(e.ui.wrapper),"data-n-ids":e.attrs["data-n-ids"]},[I("div",{class:ae(e.ui.container)},[Py(I("input",lt({id:e.inputId,"onUpdate:modelValue":t[0]||(t[0]=l=>e.toggle=l),name:e.name,required:e.required,value:e.value,disabled:e.disabled,indeterminate:e.indeterminate,type:"checkbox",class:e.inputClass},e.attrs,{onChange:t[1]||(t[1]=(...l)=>e.onChange&&e.onChange(...l))}),null,16,TL),[[J$,e.toggle]])],2),e.label||e.$slots.label?(V(),Z("div",{key:0,class:ae(e.ui.inner)},[I("label",{for:e.inputId,class:ae(e.ui.label)},[st(e.$slots,"label",{},()=>[de(et(e.label),1)]),e.required?(V(),Z("span",{key:0,class:ae(e.ui.required)},"*",2)):Ie("",!0)],10,$L),e.help?(V(),Z("p",{key:0,class:ae(e.ui.help)},et(e.help),3)):Ie("",!0)],2)):Ie("",!0)],10,EL)}const F1=zt(CL,[["render",AL]]),IL={},RL={class:"bg-gray-50 dark:bg-gray-700 dark:border-gray-800 overflow-hidden border sm:rounded-lg"},OL={class:"px-4 py-5 sm:p-6"};function PL(e,t){return V(),Z("div",RL,[I("div",OL,[st(e.$slots,"default")])])}const Au=zt(IL,[["render",PL]]),D1=Object.freeze({left:0,top:0,width:16,height:16}),V1=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),kp=Object.freeze({...D1,...V1});Object.freeze({...kp,body:"",hidden:!1});({...D1});const N1=Object.freeze({width:null,height:null}),j1=Object.freeze({...N1,...V1});function LL(e,t){const n={...e};for(const r in t){const s=t[r],i=typeof s;r in N1?(s===null||s&&(i==="string"||i==="number"))&&(n[r]=s):i===typeof n[r]&&(n[r]=r==="rotate"?s%4:s)}return n}const ML=/[\s,]+/;function BL(e,t){t.split(ML).forEach(n=>{switch(n.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function FL(e,t=0){const n=e.replace(/^-?[0-9.]*/,"");function r(s){for(;s<0;)s+=4;return s%4}if(n===""){const s=parseInt(e);return isNaN(s)?0:r(s)}else if(n!==e){let s=0;switch(n){case"%":s=25;break;case"deg":s=90}if(s){let i=parseFloat(e.slice(0,e.length-n.length));return isNaN(i)?0:(i=i/s,i%1===0?r(i):0)}}return t}const DL=/(-?[0-9.]*[0-9]+[0-9.]*)/g,VL=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function Cv(e,t,n){if(t===1)return e;if(n=n||100,typeof e=="number")return Math.ceil(e*t*n)/n;if(typeof e!="string")return e;const r=e.split(DL);if(r===null||!r.length)return e;const s=[];let i=r.shift(),l=VL.test(i);for(;;){if(l){const u=parseFloat(i);isNaN(u)?s.push(i):s.push(Math.ceil(u*t*n)/n)}else s.push(i);if(i=r.shift(),i===void 0)return s.join("");l=!l}}function NL(e,t="defs"){let n="";const r=e.indexOf("<"+t);for(;r>=0;){const s=e.indexOf(">",r),i=e.indexOf("",i);if(l===-1)break;n+=e.slice(s+1,i).trim(),e=e.slice(0,r).trim()+e.slice(l+1)}return{defs:n,content:e}}function jL(e,t){return e?""+e+""+t:t}function UL(e,t,n){const r=NL(e);return jL(r.defs,t+r.content+n)}const HL=e=>e==="unset"||e==="undefined"||e==="none";function zL(e,t){const n={...kp,...e},r={...j1,...t},s={left:n.left,top:n.top,width:n.width,height:n.height};let i=n.body;[n,r].forEach(x=>{const b=[],E=x.hFlip,C=x.vFlip;let S=x.rotate;E?C?S+=2:(b.push("translate("+(s.width+s.left).toString()+" "+(0-s.top).toString()+")"),b.push("scale(-1 1)"),s.top=s.left=0):C&&(b.push("translate("+(0-s.left).toString()+" "+(s.height+s.top).toString()+")"),b.push("scale(1 -1)"),s.top=s.left=0);let A;switch(S<0&&(S-=Math.floor(S/4)*4),S=S%4,S){case 1:A=s.height/2+s.top,b.unshift("rotate(90 "+A.toString()+" "+A.toString()+")");break;case 2:b.unshift("rotate(180 "+(s.width/2+s.left).toString()+" "+(s.height/2+s.top).toString()+")");break;case 3:A=s.width/2+s.left,b.unshift("rotate(-90 "+A.toString()+" "+A.toString()+")");break}S%2===1&&(s.left!==s.top&&(A=s.left,s.left=s.top,s.top=A),s.width!==s.height&&(A=s.width,s.width=s.height,s.height=A)),b.length&&(i=UL(i,'',""))});const l=r.width,u=r.height,c=s.width,p=s.height;let d,g;l===null?(g=u===null?"1em":u==="auto"?p:u,d=Cv(g,c/p)):(d=l==="auto"?c:l,g=u===null?Cv(d,p/c):u==="auto"?p:u);const h={},v=(x,b)=>{HL(b)||(h[x]=b.toString())};v("width",d),v("height",g);const _=[s.left,s.top,c,p];return h.viewBox=_.join(" "),{attributes:h,viewBox:_,body:i}}const WL=/\sid="(\S+)"/g,qL="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let KL=0;function GL(e,t=qL){const n=[];let r;for(;r=WL.exec(e);)n.push(r[1]);if(!n.length)return e;const s="suffix"+(Math.random()*16777216|Date.now()).toString(16);return n.forEach(i=>{const l=typeof t=="function"?t(i):t+(KL++).toString(),u=i.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+u+')([")]|\\.[a-z])',"g"),"$1"+l+s+"$3")}),e=e.replace(new RegExp(s,"g"),""),e}function JL(e,t){let n=e.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const r in t)n+=" "+r+'="'+t[r]+'"';return'"+e+""}function ZL(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(//g,"%3E").replace(/\s+/g," ")}function YL(e){return"data:image/svg+xml,"+ZL(e)}function QL(e){return'url("'+YL(e)+'")'}const Ev={...j1,inline:!1},XL={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},e6={display:"inline-block"},xd={backgroundColor:"currentColor"},U1={backgroundColor:"transparent"},Tv={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},$v={webkitMask:xd,mask:xd,background:U1};for(const e in $v){const t=$v[e];for(const n in Tv)t[e+n]=Tv[n]}const jl={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";jl[e+"-flip"]=t,jl[e.slice(0,1)+"-flip"]=t,jl[e+"Flip"]=t});function Av(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const t6=(e,t)=>{const n=LL(Ev,t),r={...XL},s=t.mode||"svg",i={},l=t.style,u=typeof l=="object"&&!(l instanceof Array)?l:{};for(let x in t){const b=t[x];if(b!==void 0)switch(x){case"icon":case"style":case"onLoad":case"mode":break;case"inline":case"hFlip":case"vFlip":n[x]=b===!0||b==="true"||b===1;break;case"flip":typeof b=="string"&&BL(n,b);break;case"color":i.color=b;break;case"rotate":typeof b=="string"?n[x]=FL(b):typeof b=="number"&&(n[x]=b);break;case"ariaHidden":case"aria-hidden":b!==!0&&b!=="true"&&delete r["aria-hidden"];break;default:{const E=jl[x];E?(b===!0||b==="true"||b===1)&&(n[E]=!0):Ev[x]===void 0&&(r[x]=b)}}}const c=zL(e,n),p=c.attributes;if(n.inline&&(i.verticalAlign="-0.125em"),s==="svg"){r.style={...i,...u},Object.assign(r,p);let x=0,b=t.id;return typeof b=="string"&&(b=b.replace(/-/g,"_")),r.innerHTML=GL(c.body,b?()=>b+"ID"+x++:"iconifyVue"),Xe("svg",r)}const{body:d,width:g,height:h}=e,v=s==="mask"||(s==="bg"?!1:d.indexOf("currentColor")!==-1),_=JL(d,{...p,width:g+"",height:h+""});return r.style={...i,"--svg":QL(_),width:Av(p.width),height:Av(p.height),...e6,...v?xd:U1,...u},Xe("span",r)},n6=Object.create(null),r6=we({inheritAttrs:!1,render(){const e=this.$attrs,t=e.icon,n=typeof t=="string"?n6[t]:typeof t=="object"?t:null;return n===null||typeof n!="object"||typeof n.body!="string"?this.$slots.default?this.$slots.default():null:t6({...kp,...n},e)}}),Ji=/^[a-z0-9]+(-[a-z0-9]+)*$/,Iu=(e,t,n,r="")=>{const s=e.split(":");if(e.slice(0,1)==="@"){if(s.length<2||s.length>3)return null;r=s.shift().slice(1)}if(s.length>3||!s.length)return null;if(s.length>1){const u=s.pop(),c=s.pop(),p={provider:s.length>0?s[0]:r,prefix:c,name:u};return t&&!Ul(p)?null:p}const i=s[0],l=i.split("-");if(l.length>1){const u={provider:r,prefix:l.shift(),name:l.join("-")};return t&&!Ul(u)?null:u}if(n&&r===""){const u={provider:r,prefix:"",name:i};return t&&!Ul(u,n)?null:u}return null},Ul=(e,t)=>e?!!((e.provider===""||e.provider.match(Ji))&&(t&&e.prefix===""||e.prefix.match(Ji))&&e.name.match(Ji)):!1,H1=Object.freeze({left:0,top:0,width:16,height:16}),uu=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),Sp=Object.freeze({...H1,...uu}),kd=Object.freeze({...Sp,body:"",hidden:!1});function o6(e,t){const n={};!e.hFlip!=!t.hFlip&&(n.hFlip=!0),!e.vFlip!=!t.vFlip&&(n.vFlip=!0);const r=((e.rotate||0)+(t.rotate||0))%4;return r&&(n.rotate=r),n}function Iv(e,t){const n=o6(e,t);for(const r in kd)r in uu?r in e&&!(r in n)&&(n[r]=uu[r]):r in t?n[r]=t[r]:r in e&&(n[r]=e[r]);return n}function s6(e,t){const n=e.icons,r=e.aliases||Object.create(null),s=Object.create(null);function i(l){if(n[l])return s[l]=[];if(!(l in s)){s[l]=null;const u=r[l]&&r[l].parent,c=u&&i(u);c&&(s[l]=[u].concat(c))}return s[l]}return(t||Object.keys(n).concat(Object.keys(r))).forEach(i),s}function i6(e,t,n){const r=e.icons,s=e.aliases||Object.create(null);let i={};function l(u){i=Iv(r[u]||s[u],i)}return l(t),n.forEach(l),Iv(e,i)}function z1(e,t){const n=[];if(typeof e!="object"||typeof e.icons!="object")return n;e.not_found instanceof Array&&e.not_found.forEach(s=>{t(s,null),n.push(s)});const r=s6(e);for(const s in r){const i=r[s];i&&(t(s,i6(e,s,i)),n.push(s))}return n}const a6={provider:"",aliases:{},not_found:{},...H1};function kf(e,t){for(const n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function W1(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!kf(e,a6))return null;const n=t.icons;for(const s in n){const i=n[s];if(!s.match(Ji)||typeof i.body!="string"||!kf(i,kd))return null}const r=t.aliases||Object.create(null);for(const s in r){const i=r[s],l=i.parent;if(!s.match(Ji)||typeof l!="string"||!n[l]&&!r[l]||!kf(i,kd))return null}return t}const Rv=Object.create(null);function l6(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function vs(e,t){const n=Rv[e]||(Rv[e]=Object.create(null));return n[t]||(n[t]=l6(e,t))}function Cp(e,t){return W1(t)?z1(t,(n,r)=>{r?e.icons[n]=r:e.missing.add(n)}):[]}function u6(e,t,n){try{if(typeof n.body=="string")return e.icons[t]={...n},!0}catch{}return!1}let ia=!1;function q1(e){return typeof e=="boolean"&&(ia=e),ia}function c6(e){const t=typeof e=="string"?Iu(e,!0,ia):e;if(t){const n=vs(t.provider,t.prefix),r=t.name;return n.icons[r]||(n.missing.has(r)?null:void 0)}}function f6(e,t){const n=Iu(e,!0,ia);if(!n)return!1;const r=vs(n.provider,n.prefix);return u6(r,n.name,t)}function d6(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),ia&&!t&&!e.prefix){let s=!1;return W1(e)&&(e.prefix="",z1(e,(i,l)=>{l&&f6(i,l)&&(s=!0)})),s}const n=e.prefix;if(!Ul({provider:t,prefix:n,name:"a"}))return!1;const r=vs(t,n);return!!Cp(r,e)}const p6=Object.freeze({width:null,height:null}),h6=Object.freeze({...p6,...uu});""+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);const Sd=Object.create(null);function g6(e,t){Sd[e]=t}function Cd(e){return Sd[e]||Sd[""]}function Ep(e){let t;if(typeof e.resources=="string")t=[e.resources];else if(t=e.resources,!(t instanceof Array)||!t.length)return null;return{resources:t,path:e.path||"/",maxURL:e.maxURL||500,rotate:e.rotate||750,timeout:e.timeout||5e3,random:e.random===!0,index:e.index||0,dataAfterTimeout:e.dataAfterTimeout!==!1}}const Tp=Object.create(null),Pi=["https://api.simplesvg.com","https://api.unisvg.com"],Hl=[];for(;Pi.length>0;)Pi.length===1||Math.random()>.5?Hl.push(Pi.shift()):Hl.push(Pi.pop());Tp[""]=Ep({resources:["https://api.iconify.design"].concat(Hl)});function Ed(e,t){const n=Ep(t);return n===null?!1:(Tp[e]=n,!0)}function $p(e){return Tp[e]}const m6=()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}};let Ov=m6();function v6(e,t){const n=$p(e);if(!n)return 0;let r;if(!n.maxURL)r=0;else{let s=0;n.resources.forEach(l=>{s=Math.max(s,l.length)});const i=t+".json?icons=";r=n.maxURL-s-n.path.length-i.length}return r}function y6(e){return e===404}const b6=(e,t,n)=>{const r=[],s=v6(e,t),i="icons";let l={type:i,provider:e,prefix:t,icons:[]},u=0;return n.forEach((c,p)=>{u+=c.length+1,u>=s&&p>0&&(r.push(l),l={type:i,provider:e,prefix:t,icons:[]},u=c.length),l.icons.push(c)}),r.push(l),r};function _6(e){if(typeof e=="string"){const t=$p(e);if(t)return t.path}return"/"}const w6=(e,t,n)=>{if(!Ov){n("abort",424);return}let r=_6(t.provider);switch(t.type){case"icons":{const i=t.prefix,u=t.icons.join(","),c=new URLSearchParams({icons:u});r+=i+".json?"+c.toString();break}case"custom":{const i=t.uri;r+=i.slice(0,1)==="/"?i.slice(1):i;break}default:n("abort",400);return}let s=503;Ov(e+r).then(i=>{const l=i.status;if(l!==200){setTimeout(()=>{n(y6(l)?"abort":"next",l)});return}return s=501,i.json()}).then(i=>{if(typeof i!="object"||i===null){setTimeout(()=>{i===404?n("abort",i):n("next",s)});return}setTimeout(()=>{n("success",i)})}).catch(()=>{n("next",s)})},x6={prepare:b6,send:w6};function k6(e){const t={loaded:[],missing:[],pending:[]},n=Object.create(null);e.sort((s,i)=>s.provider!==i.provider?s.provider.localeCompare(i.provider):s.prefix!==i.prefix?s.prefix.localeCompare(i.prefix):s.name.localeCompare(i.name));let r={provider:"",prefix:"",name:""};return e.forEach(s=>{if(r.name===s.name&&r.prefix===s.prefix&&r.provider===s.provider)return;r=s;const i=s.provider,l=s.prefix,u=s.name,c=n[i]||(n[i]=Object.create(null)),p=c[l]||(c[l]=vs(i,l));let d;u in p.icons?d=t.loaded:l===""||p.missing.has(u)?d=t.missing:d=t.pending;const g={provider:i,prefix:l,name:u};d.push(g)}),t}function K1(e,t){e.forEach(n=>{const r=n.loaderCallbacks;r&&(n.loaderCallbacks=r.filter(s=>s.id!==t))})}function S6(e){e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout(()=>{e.pendingCallbacksFlag=!1;const t=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!t.length)return;let n=!1;const r=e.provider,s=e.prefix;t.forEach(i=>{const l=i.icons,u=l.pending.length;l.pending=l.pending.filter(c=>{if(c.prefix!==s)return!0;const p=c.name;if(e.icons[p])l.loaded.push({provider:r,prefix:s,name:p});else if(e.missing.has(p))l.missing.push({provider:r,prefix:s,name:p});else return n=!0,!0;return!1}),l.pending.length!==u&&(n||K1([e],i.id),i.callback(l.loaded.slice(0),l.missing.slice(0),l.pending.slice(0),i.abort))})}))}let C6=0;function E6(e,t,n){const r=C6++,s=K1.bind(null,n,r);if(!t.pending.length)return s;const i={id:r,icons:t,callback:e,abort:s};return n.forEach(l=>{(l.loaderCallbacks||(l.loaderCallbacks=[])).push(i)}),s}function T6(e,t=!0,n=!1){const r=[];return e.forEach(s=>{const i=typeof s=="string"?Iu(s,t,n):s;i&&r.push(i)}),r}var $6={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function A6(e,t,n,r){const s=e.resources.length,i=e.random?Math.floor(Math.random()*s):e.index;let l;if(e.random){let L=e.resources.slice(0);for(l=[];L.length>1;){const U=Math.floor(Math.random()*L.length);l.push(L[U]),L=L.slice(0,U).concat(L.slice(U+1))}l=l.concat(L)}else l=e.resources.slice(i).concat(e.resources.slice(0,i));const u=Date.now();let c="pending",p=0,d,g=null,h=[],v=[];typeof r=="function"&&v.push(r);function _(){g&&(clearTimeout(g),g=null)}function x(){c==="pending"&&(c="aborted"),_(),h.forEach(L=>{L.status==="pending"&&(L.status="aborted")}),h=[]}function b(L,U){U&&(v=[]),typeof L=="function"&&v.push(L)}function E(){return{startTime:u,payload:t,status:c,queriesSent:p,queriesPending:h.length,subscribe:b,abort:x}}function C(){c="failed",v.forEach(L=>{L(void 0,d)})}function S(){h.forEach(L=>{L.status==="pending"&&(L.status="aborted")}),h=[]}function A(L,U,j){const q=U!=="success";switch(h=h.filter(K=>K!==L),c){case"pending":break;case"failed":if(q||!e.dataAfterTimeout)return;break;default:return}if(U==="abort"){d=j,C();return}if(q){d=j,h.length||(l.length?B():C());return}if(_(),S(),!e.random){const K=e.resources.indexOf(L.resource);K!==-1&&K!==e.index&&(e.index=K)}c="completed",v.forEach(K=>{K(j)})}function B(){if(c!=="pending")return;_();const L=l.shift();if(L===void 0){if(h.length){g=setTimeout(()=>{_(),c==="pending"&&(S(),C())},e.timeout);return}C();return}const U={status:"pending",resource:L,callback:(j,q)=>{A(U,j,q)}};h.push(U),p++,g=setTimeout(B,e.rotate),n(L,t,U.callback)}return setTimeout(B),E}function G1(e){const t={...$6,...e};let n=[];function r(){n=n.filter(u=>u().status==="pending")}function s(u,c,p){const d=A6(t,u,c,(g,h)=>{r(),p&&p(g,h)});return n.push(d),d}function i(u){return n.find(c=>u(c))||null}return{query:s,find:i,setIndex:u=>{t.index=u},getIndex:()=>t.index,cleanup:r}}function Pv(){}const Sf=Object.create(null);function I6(e){if(!Sf[e]){const t=$p(e);if(!t)return;const n=G1(t),r={config:t,redundancy:n};Sf[e]=r}return Sf[e]}function R6(e,t,n){let r,s;if(typeof e=="string"){const i=Cd(e);if(!i)return n(void 0,424),Pv;s=i.send;const l=I6(e);l&&(r=l.redundancy)}else{const i=Ep(e);if(i){r=G1(i);const l=e.resources?e.resources[0]:"",u=Cd(l);u&&(s=u.send)}}return!r||!s?(n(void 0,424),Pv):r.query(t,s,n)().abort}const Lv="iconify2",aa="iconify",J1=aa+"-count",Mv=aa+"-version",Z1=36e5,O6=168,P6=50;function Td(e,t){try{return e.getItem(t)}catch{}}function Ap(e,t,n){try{return e.setItem(t,n),!0}catch{}}function Bv(e,t){try{e.removeItem(t)}catch{}}function $d(e,t){return Ap(e,J1,t.toString())}function Ad(e){return parseInt(Td(e,J1))||0}const Ru={local:!0,session:!0},Y1={local:new Set,session:new Set};let Ip=!1;function L6(e){Ip=e}let Il=typeof window>"u"?{}:window;function Q1(e){const t=e+"Storage";try{if(Il&&Il[t]&&typeof Il[t].length=="number")return Il[t]}catch{}Ru[e]=!1}function X1(e,t){const n=Q1(e);if(!n)return;const r=Td(n,Mv);if(r!==Lv){if(r){const u=Ad(n);for(let c=0;c{const c=aa+u.toString(),p=Td(n,c);if(typeof p=="string"){try{const d=JSON.parse(p);if(typeof d=="object"&&typeof d.cached=="number"&&d.cached>s&&typeof d.provider=="string"&&typeof d.data=="object"&&typeof d.data.prefix=="string"&&t(d,u))return!0}catch{}Bv(n,c)}};let l=Ad(n);for(let u=l-1;u>=0;u--)i(u)||(u===l-1?(l--,$d(n,l)):Y1[e].add(u))}function e_(){if(!Ip){L6(!0);for(const e in Ru)X1(e,t=>{const n=t.data,r=t.provider,s=n.prefix,i=vs(r,s);if(!Cp(i,n).length)return!1;const l=n.lastModified||-1;return i.lastModifiedCached=i.lastModifiedCached?Math.min(i.lastModifiedCached,l):l,!0})}}function M6(e,t){const n=e.lastModifiedCached;if(n&&n>=t)return n===t;if(e.lastModifiedCached=t,n)for(const r in Ru)X1(r,s=>{const i=s.data;return s.provider!==e.provider||i.prefix!==e.prefix||i.lastModified===t});return!0}function B6(e,t){Ip||e_();function n(r){let s;if(!Ru[r]||!(s=Q1(r)))return;const i=Y1[r];let l;if(i.size)i.delete(l=Array.from(i).shift());else if(l=Ad(s),l>=P6||!$d(s,l+1))return;const u={cached:Math.floor(Date.now()/Z1),provider:e.provider,data:t};return Ap(s,aa+l.toString(),JSON.stringify(u))}t.lastModified&&!M6(e,t.lastModified)||Object.keys(t.icons).length&&(t.not_found&&(t=Object.assign({},t),delete t.not_found),n("local")||n("session"))}function Fv(){}function F6(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,S6(e)}))}function D6(e,t){e.iconsToLoad?e.iconsToLoad=e.iconsToLoad.concat(t).sort():e.iconsToLoad=t,e.iconsQueueFlag||(e.iconsQueueFlag=!0,setTimeout(()=>{e.iconsQueueFlag=!1;const{provider:n,prefix:r}=e,s=e.iconsToLoad;delete e.iconsToLoad;let i;if(!s||!(i=Cd(n)))return;i.prepare(n,r,s).forEach(u=>{R6(n,u,c=>{if(typeof c!="object")u.icons.forEach(p=>{e.missing.add(p)});else try{const p=Cp(e,c);if(!p.length)return;const d=e.pendingIcons;d&&p.forEach(g=>{d.delete(g)}),B6(e,c)}catch(p){console.error(p)}F6(e)})})}))}const V6=(e,t)=>{const n=T6(e,!0,q1()),r=k6(n);if(!r.pending.length){let c=!0;return t&&setTimeout(()=>{c&&t(r.loaded,r.missing,r.pending,Fv)}),()=>{c=!1}}const s=Object.create(null),i=[];let l,u;return r.pending.forEach(c=>{const{provider:p,prefix:d}=c;if(d===u&&p===l)return;l=p,u=d,i.push(vs(p,d));const g=s[p]||(s[p]=Object.create(null));g[d]||(g[d]=[])}),r.pending.forEach(c=>{const{provider:p,prefix:d,name:g}=c,h=vs(p,d),v=h.pendingIcons||(h.pendingIcons=new Set);v.has(g)||(v.add(g),s[p][d].push(g))}),i.forEach(c=>{const{provider:p,prefix:d}=c;s[p][d].length&&D6(c,s[p][d])}),t?E6(t,r,i):Fv},N6=e=>new Promise((t,n)=>{const r=typeof e=="string"?Iu(e,!0):e;if(!r){n(e);return}V6([r||e],s=>{if(s.length&&r){const i=c6(r);if(i){t({...Sp,...i});return}}n(e)})});({...h6});const Dv={backgroundColor:"currentColor"},j6={backgroundColor:"transparent"},Vv={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},Nv={webkitMask:Dv,mask:Dv,background:j6};for(const e in Nv){const t=Nv[e];for(const n in Vv)t[e+n]=Vv[n]}const Cf={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";Cf[e+"-flip"]=t,Cf[e.slice(0,1)+"-flip"]=t,Cf[e+"Flip"]=t});q1(!0);g6("",x6);if(typeof document<"u"&&typeof window<"u"){e_();const e=window;if(e.IconifyPreload!==void 0){const t=e.IconifyPreload,n="Invalid IconifyPreload syntax.";typeof t=="object"&&t!==null&&(t instanceof Array?t:[t]).forEach(r=>{try{(typeof r!="object"||r===null||r instanceof Array||typeof r.icons!="object"||typeof r.prefix!="string"||!d6(r))&&console.error(n)}catch{console.error(n)}})}if(e.IconifyProviders!==void 0){const t=e.IconifyProviders;if(typeof t=="object"&&t!==null)for(let n in t){const r="IconifyProviders["+n+"] is invalid.";try{const s=t[n];if(typeof s!="object"||!s||s.resources===void 0)continue;Ed(n,s)||console.error(r)}catch{console.error(r)}}}}({...Sp});const U6=["fluent-emoji-high-contrast","material-symbols-light","cryptocurrency-color","icon-park-outline","icon-park-twotone","fluent-emoji-flat","emojione-monotone","streamline-emojis","heroicons-outline","simple-line-icons","material-symbols","flat-color-icons","icon-park-solid","pepicons-pencil","heroicons-solid","pepicons-print","cryptocurrency","pixelarticons","system-uicons","bitcoin-icons","devicon-plain","entypo-social","token-branded","grommet-icons","vscode-icons","pepicons-pop","svg-spinners","fluent-emoji","simple-icons","circle-flags","medical-icon","icomoon-free","majesticons","radix-icons","humbleicons","fa6-regular","emojione-v1","skill-icons","academicons","healthicons","fluent-mdl2","teenyicons","ant-design","gravity-ui","akar-icons","lets-icons","streamline","fa6-brands","file-icons","game-icons","foundation","fa-regular","mono-icons","iconamoon","zondicons","mdi-light","eos-icons","gridicons","icon-park","heroicons","fa6-solid","meteocons","arcticons","dashicons","fa-brands","websymbol","fontelico","mingcute","flowbite","marketeq","bytesize","guidance","openmoji","emojione","nonicons","brandico","flagpack","fa-solid","fontisto","si-glyph","pepicons","iconoir","tdesign","clarity","octicon","codicon","pajamas","formkit","line-md","twemoji","noto-v1","fxemoji","devicon","raphael","flat-ui","topcoat","feather","tabler","carbon","lucide","memory","mynaui","circum","fluent","nimbus","entypo","icons8","subway","vaadin","solar","basil","typcn","charm","prime","quill","logos","token","covid","maki","gala","mage","ooui","noto","unjs","flag","iwwa","zmdi","bpmn","mdi","ion","uil","bxs","cil","uiw","uim","uit","uis","jam","oui","bxl","cib","cbi","cif","gis","map","geo","fad","eva","wpf","whh","ic","ph","ri","bi","bx","gg","ci","ep","fe","mi","f7","ei","wi","la","fa","oi","et","el","ls","vs","il","ps"];function H6(e=""){let t,n="";if(e[0]==="@"&&e.includes(":")&&(n=e.split(":")[0].slice(1),e=e.split(":").slice(1).join(":")),e.startsWith("i-")){e=e.replace(/^i-/,"");for(const r of U6)if(e.startsWith(r)){t=r,e=e.slice(r.length+1);break}}else if(e.includes(":")){const[r,s]=e.split(":");t=r,e=s}return{provider:n,prefix:t||"",name:e||""}}const z6=we({__name:"Icon",props:{name:{type:String,required:!0},size:{type:String,default:""}},async setup(e){let t,n;const r=it(),s=si(),i=e;gt(()=>{var b;return(b=s.nuxtIcon)==null?void 0:b.iconifyApiOptions},()=>{var b,E,C,S,A,B;if((E=(b=s.nuxtIcon)==null?void 0:b.iconifyApiOptions)!=null&&E.url){try{new URL(s.nuxtIcon.iconifyApiOptions.url)}catch{console.warn("Nuxt Icon: Invalid custom Iconify API URL");return}if((S=(C=s.nuxtIcon)==null?void 0:C.iconifyApiOptions)!=null&&S.publicApiFallback){Ed("custom",{resources:[(A=s.nuxtIcon)==null?void 0:A.iconifyApiOptions.url],index:0});return}Ed("",{resources:[(B=s.nuxtIcon)==null?void 0:B.iconifyApiOptions.url]})}},{immediate:!0});const l=_a("icons",()=>({})),u=te(!1),c=F(()=>{var b,E;return(E=(b=s.nuxtIcon)==null?void 0:b.aliases)!=null&&E[i.name]?s.nuxtIcon.aliases[i.name]:i.name}),p=F(()=>H6(c.value)),d=F(()=>[p.value.provider,p.value.prefix,p.value.name].filter(Boolean).join(":")),g=F(()=>{var b;return(b=l.value)==null?void 0:b[d.value]}),h=F(()=>{var b;return(b=r.vueApp)==null?void 0:b.component(c.value)}),v=F(()=>{var E,C,S;if(!i.size&&typeof((E=s.nuxtIcon)==null?void 0:E.size)=="boolean"&&!((C=s.nuxtIcon)!=null&&C.size))return;const b=i.size||((S=s.nuxtIcon)==null?void 0:S.size)||"1em";return String(Number(b))===b?`${b}px`:b}),_=F(()=>{var b;return((b=s==null?void 0:s.nuxtIcon)==null?void 0:b.class)??"icon"});async function x(){var b;h.value||(b=l.value)!=null&&b[d.value]||(u.value=!0,l.value[d.value]=await N6(p.value).catch(()=>{}),u.value=!1)}return gt(c,x),!h.value&&([t,n]=KT(()=>x()),t=await t,n()),(b,E)=>u.value?(V(),Z("span",{key:0,class:ae(_.value),style:ds({width:v.value,height:v.value})},null,6)):g.value?(V(),Ae(R(r6),{key:1,icon:g.value,class:ae(_.value),width:v.value,height:v.value},null,8,["icon","class","width","height"])):h.value?(V(),Ae(Zr(h.value),{key:2,class:ae(_.value),width:v.value,height:v.value},null,8,["class","width","height"])):(V(),Z("span",{key:3,class:ae(_.value),style:ds({fontSize:v.value,lineHeight:v.value,width:v.value,height:v.value})},[st(b.$slots,"default",{},()=>[de(et(e.name),1)],!0)],6))}}),t_=zt(z6,[["__scopeId","data-v-e8d572f6"]]),W6=Object.freeze(Object.defineProperty({__proto__:null,default:t_},Symbol.toStringTag,{value:"Module"})),q6=we({props:{name:{type:String,required:!0},dynamic:{type:Boolean,default:!1}},setup(e){const t=si();return{dynamic:F(()=>{var r,s;return e.dynamic||((s=(r=t.ui)==null?void 0:r.icons)==null?void 0:s.dynamic)})}}});function K6(e,t,n,r,s,i){const l=t_;return e.dynamic?(V(),Ae(l,{key:0,name:e.name},null,8,["name"])):(V(),Z("span",{key:1,class:ae(e.name)},null,2))}const ar=zt(q6,[["render",K6]]);function Rp({ui:e,props:t}){const n=ir();if(bt("ButtonGroupContextConsumer",!0),Ke("ButtonGroupContextConsumer",!1))return{size:F(()=>t.size),rounded:F(()=>e.value.rounded)};let s=n.parent,i;for(;s&&!i;){if(s.type.name==="ButtonGroup"){i=Ke(`group-${s.uid}`);break}s=s.parent}const l=F(()=>i==null?void 0:i.value.children.indexOf(n));return ct(()=>{i==null||i.value.register(n)}),Ht(()=>{i==null||i.value.unregister(n)}),{size:F(()=>(i==null?void 0:i.value.size)||t.size),rounded:F(()=>!i||l.value===-1?e.value.rounded:i.value.children.length===1?i.value.ui.rounded:l.value===0?i.value.rounded.start:l.value===i.value.children.length-1?i.value.rounded.end:"rounded-none")}}const Wr=wn(Ge.ui.strategy,Ge.ui.input,xp),G6=we({components:{UIcon:ar},inheritAttrs:!1,props:{modelValue:{type:[String,Number],default:""},type:{type:String,default:"text"},id:{type:String,default:null},name:{type:String,default:null},placeholder:{type:String,default:null},required:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},autofocus:{type:Boolean,default:!1},autofocusDelay:{type:Number,default:100},icon:{type:String,default:null},loadingIcon:{type:String,default:()=>Wr.default.loadingIcon},leadingIcon:{type:String,default:null},trailingIcon:{type:String,default:null},trailing:{type:Boolean,default:!1},leading:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},padded:{type:Boolean,default:!0},size:{type:String,default:null,validator(e){return Object.keys(Wr.size).includes(e)}},color:{type:String,default:()=>Wr.default.color,validator(e){return[...Ge.ui.colors,...Object.keys(Wr.color)].includes(e)}},variant:{type:String,default:()=>Wr.default.variant,validator(e){return[...Object.keys(Wr.variant),...Object.values(Wr.color).flatMap(t=>Object.keys(t))].includes(e)}},inputClass:{type:String,default:null},class:{type:[String,Object,Array],default:()=>""},ui:{type:Object,default:()=>({})},modelModifiers:{type:Object,default:()=>({})}},emits:["update:modelValue","blur","change"],setup(e,{emit:t,slots:n}){const{ui:r,attrs:s}=Pn("input",Ot(e,"ui"),Wr,Ot(e,"class")),{size:i,rounded:l}=Rp({ui:r,props:e}),{emitFormBlur:u,emitFormInput:c,size:p,color:d,inputId:g,name:h}=wa(e,Wr),v=F(()=>i.value||p.value),_=te(va({},e.modelModifiers,{trim:!1,lazy:!1,number:!1})),x=te(null),b=()=>{var ce;e.autofocus&&((ce=x.value)==null||ce.focus())},E=ce=>{_.value.trim&&(ce=ce.trim()),(_.value.number||e.type==="number")&&(ce=E1(ce)),t("update:modelValue",ce),c()},C=ce=>{_.value.lazy||E(ce.target.value)},S=ce=>{if(e.type==="file"){const ke=ce.target.files;t("change",ke)}else{const ke=ce.target.value;t("change",ke),_.value.lazy&&E(ke),_.value.trim&&(ce.target.value=ke.trim())}},A=ce=>{u(),t("blur",ce)};ct(()=>{setTimeout(()=>{b()},e.autofocusDelay)});const B=F(()=>{var ke,ie;const ce=((ie=(ke=r.value.color)==null?void 0:ke[d.value])==null?void 0:ie[e.variant])||r.value.variant[e.variant];return Hn(pt(r.value.base,r.value.form,l.value,r.value.placeholder,e.type==="file"&&[r.value.file.base,r.value.file.padding[v.value]],r.value.size[v.value],e.padded?r.value.padding[v.value]:"p-0",ce==null?void 0:ce.replaceAll("{color}",d.value),(L.value||n.leading)&&r.value.leading.padding[v.value],(U.value||n.trailing)&&r.value.trailing.padding[v.value]),e.inputClass)}),L=F(()=>e.icon&&e.leading||e.icon&&!e.trailing||e.loading&&!e.trailing||e.leadingIcon),U=F(()=>e.icon&&e.trailing||e.loading&&e.trailing||e.trailingIcon),j=F(()=>e.loading?e.loadingIcon:e.leadingIcon||e.icon),q=F(()=>e.loading&&!L.value?e.loadingIcon:e.trailingIcon||e.icon),K=F(()=>pt(r.value.icon.leading.wrapper,r.value.icon.leading.pointer,r.value.icon.leading.padding[v.value])),Y=F(()=>pt(r.value.icon.base,d.value&&Ge.ui.colors.includes(d.value)&&r.value.icon.color.replaceAll("{color}",d.value),r.value.icon.size[v.value],e.loading&&r.value.icon.loading)),z=F(()=>pt(r.value.icon.trailing.wrapper,r.value.icon.trailing.pointer,r.value.icon.trailing.padding[v.value])),be=F(()=>pt(r.value.icon.base,d.value&&Ge.ui.colors.includes(d.value)&&r.value.icon.color.replaceAll("{color}",d.value),r.value.icon.size[v.value],e.loading&&!L.value&&r.value.icon.loading));return{ui:r,attrs:s,name:h,inputId:g,input:x,isLeading:L,isTrailing:U,inputClass:B,leadingIconName:j,leadingIconClass:Y,leadingWrapperIconClass:K,trailingIconName:q,trailingIconClass:be,trailingWrapperIconClass:z,onInput:C,onChange:S,onBlur:A}}}),J6=["id","name","value","type","required","placeholder","disabled"];function Z6(e,t,n,r,s,i){const l=ar;return V(),Z("div",{class:ae(e.ui.wrapper)},[I("input",lt({id:e.inputId,ref:"input",name:e.name,value:e.modelValue,type:e.type,required:e.required,placeholder:e.placeholder,disabled:e.disabled,class:e.inputClass},e.attrs,{onInput:t[0]||(t[0]=(...u)=>e.onInput&&e.onInput(...u)),onBlur:t[1]||(t[1]=(...u)=>e.onBlur&&e.onBlur(...u)),onChange:t[2]||(t[2]=(...u)=>e.onChange&&e.onChange(...u))}),null,16,J6),st(e.$slots,"default"),e.isLeading&&e.leadingIconName||e.$slots.leading?(V(),Z("span",{key:0,class:ae(e.leadingWrapperIconClass)},[st(e.$slots,"leading",{disabled:e.disabled,loading:e.loading},()=>[P(l,{name:e.leadingIconName,class:ae(e.leadingIconClass)},null,8,["name","class"])])],2)):Ie("",!0),e.isTrailing&&e.trailingIconName||e.$slots.trailing?(V(),Z("span",{key:1,class:ae(e.trailingWrapperIconClass)},[st(e.$slots,"trailing",{disabled:e.disabled,loading:e.loading},()=>[P(l,{name:e.trailingIconName,class:ae(e.trailingIconClass)},null,8,["name","class"])])],2)):Ie("",!0)],2)}const ui=zt(G6,[["render",Z6]]),Ef=wn(Ge.ui.strategy,Ge.ui.formGroup,hL),Y6=we({inheritAttrs:!1,props:{name:{type:String,default:null},size:{type:String,default:null,validator(e){return Object.keys(Ef.size).includes(e)}},label:{type:String,default:null},description:{type:String,default:null},required:{type:Boolean,default:!1},help:{type:String,default:null},error:{type:[String,Boolean],default:null},hint:{type:String,default:null},class:{type:[String,Object,Array],default:()=>""},ui:{type:Object,default:()=>({})},eagerValidation:{type:Boolean,default:!1}},setup(e){const{ui:t,attrs:n}=Pn("formGroup",Ot(e,"ui"),Ef,Ot(e,"class")),r=Ke("form-errors",null),s=F(()=>{var u,c;return e.error&&typeof e.error=="string"||typeof e.error=="boolean"?e.error:(c=(u=r==null?void 0:r.value)==null?void 0:u.find(p=>p.path===e.name))==null?void 0:c.message}),i=F(()=>t.value.size[e.size??Ef.default.size]),l=te(ai("$K7dDJpdOWE"));return bt("form-group",{error:s,inputId:l,name:F(()=>e.name),size:F(()=>e.size),eagerValidation:F(()=>e.eagerValidation)}),{ui:t,attrs:n,inputId:l,size:i,error:s}}}),Q6=["for"];function X6(e,t,n,r,s,i){return V(),Z("div",lt({class:e.ui.wrapper},e.attrs),[I("div",{class:ae(e.ui.inner)},[e.label||e.$slots.label?(V(),Z("div",{key:0,class:ae([e.ui.label.wrapper,e.size])},[I("label",{for:e.inputId,class:ae([e.ui.label.base,e.required?e.ui.label.required:""])},[e.$slots.label?st(e.$slots,"label",Er(lt({key:0},{error:e.error,label:e.label,name:e.name,hint:e.hint,description:e.description,help:e.help}))):(V(),Z(Ye,{key:1},[de(et(e.label),1)],64))],10,Q6),e.hint||e.$slots.hint?(V(),Z("span",{key:0,class:ae([e.ui.hint])},[e.$slots.hint?st(e.$slots,"hint",Er(lt({key:0},{error:e.error,label:e.label,name:e.name,hint:e.hint,description:e.description,help:e.help}))):(V(),Z(Ye,{key:1},[de(et(e.hint),1)],64))],2)):Ie("",!0)],2)):Ie("",!0),e.description||e.$slots.description?(V(),Z("p",{key:1,class:ae([e.ui.description,e.size])},[e.$slots.description?st(e.$slots,"description",Er(lt({key:0},{error:e.error,label:e.label,name:e.name,hint:e.hint,description:e.description,help:e.help}))):(V(),Z(Ye,{key:1},[de(et(e.description),1)],64))],2)):Ie("",!0)],2),I("div",{class:ae([e.label?e.ui.container:""])},[st(e.$slots,"default",Er(Qs({error:e.error}))),typeof e.error=="string"&&e.error||e.$slots.error?(V(),Z("p",{key:0,class:ae([e.ui.error,e.size])},[e.$slots.error?st(e.$slots,"error",Er(lt({key:0},{error:e.error,label:e.label,name:e.name,hint:e.hint,description:e.description,help:e.help}))):(V(),Z(Ye,{key:1},[de(et(e.error),1)],64))],2)):e.help||e.$slots.help?(V(),Z("p",{key:1,class:ae([e.ui.help,e.size])},[e.$slots.help?st(e.$slots,"help",Er(lt({key:0},{error:e.error,label:e.label,name:e.name,hint:e.hint,description:e.description,help:e.help}))):(V(),Z(Ye,{key:1},[de(et(e.help),1)],64))],2)):Ie("",!0)],2)],16)}const ci=zt(Y6,[["render",X6]]),e8={class:"w-full flex justify-between items-center"},t8={class:"relative flex justify-start bg-inherit z-10"},n8=["textContent"],r8=I("div",{class:"w-full border-t-2 border-dashed border-gray-300 dark:border-gray-600"},null,-1),n_=we({__name:"Divider",props:{title:{type:String,required:!0}},setup(e){return(t,n)=>(V(),Z("div",e8,[I("div",t8,[I("span",{class:"pr-3 text-lg font-bold text-gray-900 dark:text-gray-100 whitespace-nowrap",textContent:et(e.title)},null,8,n8)]),r8]))}});function r_(e,t,n){let r=te(n==null?void 0:n.value),s=F(()=>e.value!==void 0);return[F(()=>s.value?e.value:r.value),function(i){return s.value||(r.value=i),t==null?void 0:t(i)}]}let o_=Symbol("headlessui.useid"),o8=0;function sr(){return Ke(o_,()=>`${++o8}`)()}function Op(e){bt(o_,e)}function Be(e){var t;if(e==null||e.value==null)return null;let n=(t=e.value.$el)!=null?t:e.value;return n instanceof Node?n:null}function zn(e,t,...n){if(e in t){let s=t[e];return typeof s=="function"?s(...n):s}let r=new Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map(s=>`"${s}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(r,zn),r}var s8=Object.defineProperty,i8=(e,t,n)=>t in e?s8(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,jv=(e,t,n)=>(i8(e,typeof t!="symbol"?t+"":t,n),n);let a8=class{constructor(){jv(this,"current",this.detect()),jv(this,"currentId",0)}set(t){this.current!==t&&(this.currentId=0,this.current=t)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return this.current==="server"}get isClient(){return this.current==="client"}detect(){return typeof window>"u"||typeof document>"u"?"server":"client"}},xa=new a8;function gr(e){if(xa.isServer)return null;if(e instanceof Node)return e.ownerDocument;if(e!=null&&e.hasOwnProperty("value")){let t=Be(e);if(t)return t.ownerDocument}return document}let Id=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map(e=>`${e}:not([tabindex='-1'])`).join(",");var An=(e=>(e[e.First=1]="First",e[e.Previous=2]="Previous",e[e.Next=4]="Next",e[e.Last=8]="Last",e[e.WrapAround=16]="WrapAround",e[e.NoScroll=32]="NoScroll",e))(An||{}),cu=(e=>(e[e.Error=0]="Error",e[e.Overflow=1]="Overflow",e[e.Success=2]="Success",e[e.Underflow=3]="Underflow",e))(cu||{}),l8=(e=>(e[e.Previous=-1]="Previous",e[e.Next=1]="Next",e))(l8||{});function s_(e=document.body){return e==null?[]:Array.from(e.querySelectorAll(Id)).sort((t,n)=>Math.sign((t.tabIndex||Number.MAX_SAFE_INTEGER)-(n.tabIndex||Number.MAX_SAFE_INTEGER)))}var Pp=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(Pp||{});function Lp(e,t=0){var n;return e===((n=gr(e))==null?void 0:n.body)?!1:zn(t,{0(){return e.matches(Id)},1(){let r=e;for(;r!==null;){if(r.matches(Id))return!0;r=r.parentElement}return!1}})}function i_(e){let t=gr(e);an(()=>{t&&!Lp(t.activeElement,0)&&Ro(e)})}var u8=(e=>(e[e.Keyboard=0]="Keyboard",e[e.Mouse=1]="Mouse",e))(u8||{});typeof window<"u"&&typeof document<"u"&&(document.addEventListener("keydown",e=>{e.metaKey||e.altKey||e.ctrlKey||(document.documentElement.dataset.headlessuiFocusVisible="")},!0),document.addEventListener("click",e=>{e.detail===1?delete document.documentElement.dataset.headlessuiFocusVisible:e.detail===0&&(document.documentElement.dataset.headlessuiFocusVisible="")},!0));function Ro(e){e==null||e.focus({preventScroll:!0})}let c8=["textarea","input"].join(",");function f8(e){var t,n;return(n=(t=e==null?void 0:e.matches)==null?void 0:t.call(e,c8))!=null?n:!1}function Mp(e,t=n=>n){return e.slice().sort((n,r)=>{let s=t(n),i=t(r);if(s===null||i===null)return 0;let l=s.compareDocumentPosition(i);return l&Node.DOCUMENT_POSITION_FOLLOWING?-1:l&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function d8(e,t){return fs(s_(),t,{relativeTo:e})}function fs(e,t,{sorted:n=!0,relativeTo:r=null,skipElements:s=[]}={}){var i;let l=(i=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e==null?void 0:e.ownerDocument)!=null?i:document,u=Array.isArray(e)?n?Mp(e):e:s_(e);s.length>0&&u.length>1&&(u=u.filter(_=>!s.includes(_))),r=r??l.activeElement;let c=(()=>{if(t&5)return 1;if(t&10)return-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),p=(()=>{if(t&1)return 0;if(t&2)return Math.max(0,u.indexOf(r))-1;if(t&4)return Math.max(0,u.indexOf(r))+1;if(t&8)return u.length-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),d=t&32?{preventScroll:!0}:{},g=0,h=u.length,v;do{if(g>=h||g+h<=0)return 0;let _=p+g;if(t&16)_=(_+h)%h;else{if(_<0)return 3;if(_>=h)return 1}v=u[_],v==null||v.focus(d),g+=c}while(v!==l.activeElement);return t&6&&f8(v)&&v.select(),2}function a_(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function p8(){return/Android/gi.test(window.navigator.userAgent)}function h8(){return a_()||p8()}function Rl(e,t,n){xa.isServer||Xt(r=>{document.addEventListener(e,t,n),r(()=>document.removeEventListener(e,t,n))})}function l_(e,t,n){xa.isServer||Xt(r=>{window.addEventListener(e,t,n),r(()=>window.removeEventListener(e,t,n))})}function u_(e,t,n=F(()=>!0)){function r(i,l){if(!n.value||i.defaultPrevented)return;let u=l(i);if(u===null||!u.getRootNode().contains(u))return;let c=function p(d){return typeof d=="function"?p(d()):Array.isArray(d)||d instanceof Set?d:[d]}(e);for(let p of c){if(p===null)continue;let d=p instanceof HTMLElement?p:Be(p);if(d!=null&&d.contains(u)||i.composed&&i.composedPath().includes(d))return}return!Lp(u,Pp.Loose)&&u.tabIndex!==-1&&i.preventDefault(),t(i,u)}let s=te(null);Rl("pointerdown",i=>{var l,u;n.value&&(s.value=((u=(l=i.composedPath)==null?void 0:l.call(i))==null?void 0:u[0])||i.target)},!0),Rl("mousedown",i=>{var l,u;n.value&&(s.value=((u=(l=i.composedPath)==null?void 0:l.call(i))==null?void 0:u[0])||i.target)},!0),Rl("click",i=>{h8()||s.value&&(r(i,()=>s.value),s.value=null)},!0),Rl("touchend",i=>r(i,()=>i.target instanceof HTMLElement?i.target:null),!0),l_("blur",i=>r(i,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null),!0)}function Uv(e,t){if(e)return e;let n=t??"button";if(typeof n=="string"&&n.toLowerCase()==="button")return"button"}function Bp(e,t){let n=te(Uv(e.value.type,e.value.as));return ct(()=>{n.value=Uv(e.value.type,e.value.as)}),Xt(()=>{var r;n.value||Be(t)&&Be(t)instanceof HTMLButtonElement&&!((r=Be(t))!=null&&r.hasAttribute("type"))&&(n.value="button")}),n}function Hv(e){return[e.screenX,e.screenY]}function g8(){let e=te([-1,-1]);return{wasMoved(t){let n=Hv(t);return e.value[0]===n[0]&&e.value[1]===n[1]?!1:(e.value=n,!0)},update(t){e.value=Hv(t)}}}function c_({container:e,accept:t,walk:n,enabled:r}){Xt(()=>{let s=e.value;if(!s||r!==void 0&&!r.value)return;let i=gr(e);if(!i)return;let l=Object.assign(c=>t(c),{acceptNode:t}),u=i.createTreeWalker(s,NodeFilter.SHOW_ELEMENT,l,!1);for(;u.nextNode();)n(u.currentNode)})}var Oo=(e=>(e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",e[e.Static=2]="Static",e))(Oo||{}),Eo=(e=>(e[e.Unmount=0]="Unmount",e[e.Hidden=1]="Hidden",e))(Eo||{});function Kt({visible:e=!0,features:t=0,ourProps:n,theirProps:r,...s}){var i;let l=d_(r,n),u=Object.assign(s,{props:l});if(e||t&2&&l.static)return Tf(u);if(t&1){let c=(i=l.unmount)==null||i?0:1;return zn(c,{0(){return null},1(){return Tf({...s,props:{...l,hidden:!0,style:{display:"none"}}})}})}return Tf(u)}function Tf({props:e,attrs:t,slots:n,slot:r,name:s}){var i,l;let{as:u,...c}=Ou(e,["unmount","static"]),p=(i=n.default)==null?void 0:i.call(n,r),d={};if(r){let g=!1,h=[];for(let[v,_]of Object.entries(r))typeof _=="boolean"&&(g=!0),_===!0&&h.push(v);g&&(d["data-headlessui-state"]=h.join(" "))}if(u==="template"){if(p=f_(p??[]),Object.keys(c).length>0||Object.keys(t).length>0){let[g,...h]=p??[];if(!m8(g)||h.length>0)throw new Error(['Passing props on "template"!',"",`The current component <${s} /> is rendering a "template".`,"However we need to passthrough the following props:",Object.keys(c).concat(Object.keys(t)).map(x=>x.trim()).filter((x,b,E)=>E.indexOf(x)===b).sort((x,b)=>x.localeCompare(b)).map(x=>` - ${x}`).join(` +`})},currentCandlesEvent(e,t){this.tabs[e]===void 0&&(this.tabs[e]=rn(e)),this.tabs[e].results.currentCandles=t},watchlistEvent(e,t){this.tabs[e]===void 0&&(this.tabs[e]=rn(e)),this.tabs[e].results.watchlist=t},positionsEvent(e,t){this.tabs[e]===void 0&&(this.tabs[e]=rn(e)),this.tabs[e].results.positions=[];for(const n of t){const r=n.type==="close"?"":n.qty;this.tabs[e].results.positions.push([{value:n.symbol,style:""},{value:r,style:It.colorBasedOnType(n.type),tooltip:`${n.value} ${n.currency}`},{value:It.roundPrice(n.entry),style:""},{value:It.roundPrice(n.current_price),style:""},{value:n.liquidation_price?It.roundPrice(n.liquidation_price):"",style:""},{value:`${he.round(n.pnl,2)} (${he.round(n.pnl_perc,2)}%)`,style:It.colorBasedOnNumber(n.pnl)}])}},ordersEvent(e,t){this.tabs[e]===void 0&&(this.tabs[e]=rn(e)),this.tabs[e].results.orders=t},metricsEvent(e,t){this.tabs[e]===void 0&&(this.tabs[e]=rn(e)),this.tabs[e].results.metrics=[["Total Closed Trades",t.total],["Total Net Profit",`${he.round(t.net_profit,2)} (${he.round(t.net_profit_percentage,2)}%)`],["Starting => Finishing Balance",`${he.round(t.starting_balance,2)} => ${he.round(t.finishing_balance,2)}`],["Open Trades",t.total_open_trades],["Total Paid Fees",he.round(t.fee,2)],["Max Drawdown",he.round(t.max_drawdown,2)],["Annual Return",`${he.round(t.annual_return,2)}%`],["Expectancy",`${he.round(t.expectancy,2)} (${he.round(t.expectancy_percentage,2)}%)`],["Avg Win | Avg Loss",`${he.round(t.average_win,2)} | ${he.round(t.average_loss,2)}`],["Ratio Avg Win / Avg Loss",he.round(t.ratio_avg_win_loss,2)],["Win-rate",`${he.round(t.win_rate*100,2)}%`],["Longs | Shorts",`${he.round(t.longs_percentage,2)}% | ${he.round(t.shorts_percentage,2)}%`],["Avg Holding Time",t.average_holding_period],["Winning Trades Avg Holding Time",t.average_winning_holding_period],["Losing Trades Avg Holding Time",t.average_losing_holding_period],["Sharpe Ratio",he.round(t.sharpe_ratio,2)],["Calmar Ratio",he.round(t.calmar_ratio,2)],["Sortino Ratio",he.round(t.sortino_ratio,2)],["Omega Ratio",he.round(t.omega_ratio,2)],["Winning Streak",t.winning_streak],["Losing Streak",t.losing_streak],["Largest Winning Trade",he.round(t.largest_winning_trade,2)],["Largest Losing Trade",he.round(t.largest_losing_trade,2)],["Total Winning Trades",t.total_winning_trades],["Total Losing Trades",t.total_losing_trades]]},equityCurveEvent(e,t){this.tabs[e].results.charts.equity_curve=t,this.tabs[e].results.showResults=!0},unexpectedTerminationEvent(e){this.tabs[e]===void 0&&(this.tabs[e]=rn(e)),this.tabs[e].results.finished=!0},terminationEvent(e){this.tabs[e]===void 0&&(this.tabs[e]=rn(e)),this.tabs[e].results.finished||(this.tabs[e].results.finished=!0,this.tabs[e].results.terminating=!1,Ve("success","Session terminated successfully"))},forceClose(e){this.tabs[e]===void 0&&(this.tabs[e]=rn(e)),this.tabs[e].results.finished=!0,this.tabs[e].results.terminating=!1}}}),wt=si("main",{state:()=>({initiated:!1,loadingVar:!1,authToken:"",hasLivePluginInstalled:!1,systemInfo:{},updateInfo:{},plan:"",planLimits:{},settings:{backtest:{logging:{order_submission:!0,order_cancellation:!0,order_execution:!0,position_opened:!0,position_increased:!0,position_reduced:!0,position_closed:!0,shorter_period_candles:!1,trading_candles:!0,balance_update:!0},warm_up_candles:210,exchanges:{}},live:{persistency:!0,generate_candles_from_1m:!1,logging:{order_submission:!0,order_cancellation:!0,order_execution:!0,position_opened:!0,position_increased:!0,position_reduced:!0,position_closed:!0,shorter_period_candles:!1,trading_candles:!0,balance_update:!0},warm_up_candles:210,exchanges:{},notifications:{enabled:!0,position_report_timeframe:"1h",events:{errors:!0,started_session:!0,terminated_session:!0,submitted_orders:!0,cancelled_orders:!0,executed_orders:!0,opened_position:!0,updated_position:!0}}},optimization:{cpu_cores:2,ratio:"sharpe",warm_up_candles:210,exchange:{balance:1e4,fee:.001,type:"futures",futures_leverage:3,futures_leverage_mode:"cross"}}},strategies:[],exchangeInfo:{},jesseSupportedTimeframes:[],exchangeSupportedSymbols:{},skippedJesseVersions:[],skippedLivePluginVersions:[],activeWorkers:new Set,exchangeApiKeys:[],notificationApiKeys:[]}),persist:{storage:ms.localStorage},getters:{backtestingExchangeNames(){const e=[];for(const t in this.exchangeInfo)this.exchangeInfo[t].modes.backtesting&&e.push(t);return e.sort()},liveTradingExchangeNames(){const e=[];for(const t in this.exchangeInfo)this.exchangeInfo[t].modes.live_trading&&e.push(t);return e.sort()},isAuthenticated(){return this.authToken!==""}},actions:{async initiate(){const{data:e,error:t}=await jt("/general-info",{},!0);if(t&&t.value&&t.value.statusCode!==200){es(t);return}const n=e.value;this.systemInfo=n.system_info,this.updateInfo=n.update_info,this.strategies=n.strategies,this.exchangeInfo=n.exchanges,this.jesseSupportedTimeframes=n.jesse_supported_timeframes,this.hasLivePluginInstalled=n.has_live_plugin_installed,this.plan=n.plan,this.planLimits=n.limits;for(const p in this.exchangeInfo){const d=this.exchangeInfo[p];d.modes.backtesting&&(this.settings.backtest.exchanges[p]={name:p,fee:d.fee,balance:1e4,type:d.type},d.type==="futures"&&(this.settings.backtest.exchanges[p].futures_leverage_mode="cross",this.settings.backtest.exchanges[p].futures_leverage=2)),d.modes.live_trading&&(this.settings.live.exchanges[d.name]={name:p,fee:d.fee,futures_leverage_mode:"cross",futures_leverage:2,balance:1e4})}const{data:r,error:s}=await jt("/get-config",{current_config:this.settings},!0);if(s.value&&s.value.statusCode!==200){es(s);return}const i=r.value;this.settings=i.data.data;const{data:l,error:u}=await jt("/active-workers",{},!0);if(u.value&&u.value.statusCode!==200){es(u);return}const c=l.value;this.activeWorkers=new Set(c.data),await this.syncOpenTabs(),await this.fetchExchangeApiKeys(),await this.fetchNotificationApiKeys(),this.initiated=!0},async syncOpenTabs(){S1().init(this.activeWorkers),C1().init(this.activeWorkers),E1().init(this.activeWorkers),T1().init(this.activeWorkers)},updateConfig:FR(async()=>{if(!wt().settings)return;const{data:e,error:t}=await jt("/update-config",{current_config:wt().settings},!0);t.value&&t.value.statusCode!==200&&es(t)},1e3,!0,!0),async fetchExchangeApiKeys(){const{data:e,error:t}=await pv("/exchange-api-keys",!0);if(t.value&&t.value.statusCode!==200){es(t);return}const n=e.value;this.exchangeApiKeys=n.data},async fetchNotificationApiKeys(){const{data:e,error:t}=await pv("/notification-api-keys",!0);if(t.value&&t.value.statusCode!==200){es(t);return}const n=e.value;this.notificationApiKeys=n.data},setAuthToken(e){this.authToken=e},async updateSupportedSymbols(e){const{data:t,error:n}=await jt("/exchange-supported-symbols",{exchange:e},!0);if(n.value&&n.value.statusCode!==200){Ve("error",`[${n.value.statusCode}]: ${n.value.message}`);return}const r=t.value;this.exchangeSupportedSymbols[e]={data:r.data,updated_at:new Date}},async getExchangeSupportedSymbols(e){if(!this.exchangeSupportedSymbols[e])return await this.updateSupportedSymbols(e),this.exchangeSupportedSymbols[e].data;const t=new Date(this.exchangeSupportedSymbols[e].updated_at),r=new Date().getTime()-t.getTime();return Math.ceil(r/(1e3*3600*24))>1&&await this.updateSupportedSymbols(e),this.exchangeSupportedSymbols[e].data}}}),HP={key:0,class:"relative bg-indigo-600 dark:bg-indigo-400 select-none text-white dark:text-black"},zP={class:"max-w-7xl mx-auto py-3 px-3 sm:px-6 lg:px-8"},WP={class:"pr-16 sm:text-center sm:px-16"},qP={class:"font-medium"},KP={class:"md:inline"},GP=I("span",{class:"block sm:ml-2 sm:inline-block"},[I("a",{href:"https://docs.jesse.trade/docs/getting-started/update.html",target:"_blank",class:"font-bold underline"},[de(" Update Guide "),I("span",{"aria-hidden":"true"},"→")])],-1),JP={class:"absolute inset-y-0 right-0 pt-1 pr-1 flex items-start sm:pt-1 sm:pr-2 sm:items-start"},ZP=we({__name:"UpdateBanner",setup(e){const t=te(!1),n=wt(),r=F(()=>n.updateInfo),s=F(()=>n.systemInfo),i=F(()=>{if(t.value||!r.value||!r.value.is_update_info_available)return{flag:!1,message:"",type:"",version:""};const u=n.skippedJesseVersions,c=n.skippedLivePluginVersions;return r.value.jesse_latest_version>s.value.jesse_version&&!u.includes(r.value.jesse_latest_version)?{flag:!0,message:`Version "${r.value.jesse_latest_version}" of Jesse is available. You are currently running version "${s.value.jesse_version}".`,type:"jesse",version:r.value.jesse_latest_version}:s.value.live_plugin_version&&r.value.jesse_live_latest_version>s.value.live_plugin_version&&!c.includes(r.value.jesse_live_latest_version)?{flag:!0,message:`Version "${r.value.jesse_live_latest_version}" of the live plugin is available. You are running "${s.value.live_plugin_version}".`,type:"live",version:r.value.jesse_live_latest_version}:{flag:!1,message:"",type:"",version:""}}),l=(u,c)=>{if(u==="jesse"){const p=n.skippedJesseVersions||[];p.push(c),n.skippedJesseVersions=p,t.value=!0}if(u==="live"){const p=n.skippedLivePluginVersions||[];p.push(c),n.skippedLivePluginVersions=p,t.value=!0}};return(u,c)=>R(i).flag?(V(),Z("div",HP,[I("div",zP,[I("div",WP,[I("p",qP,[I("span",KP,et(R(i).message),1),GP])]),I("div",JP,[I("button",{type:"button",class:"flex p-2 rounded-md hover:bg-indigo-500 focus:outline-none focus:ring-0",onClick:c[0]||(c[0]=p=>l(R(i).type,R(i).version))},[P(R(mp),{class:"h-6 w-6","aria-hidden":"true"})])])])])):Ie("",!0)}}),zt=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n},YP={},QP={class:"text-2xl mb-4"};function XP(e,t){return V(),Z("h3",QP,[it(e.$slots,"default")])}const Cu=zt(YP,[["render",XP]]),On=(e,t,n,r,s=!1)=>{const i=FT(),l=ma(),u=F(()=>{var h;const p=Tr(t),d=Tr(n),g=Tr(r);return wn((p==null?void 0:p.strategy)||((h=l.ui)==null?void 0:h.strategy),g?{wrapper:g}:{},p||{},s?Di(l.ui,e,{}):{},d||{})}),c=F(()=>$O(i,["class"]));return{ui:u,attrs:c}},ba=(e,t)=>{const n=Ke("form-events",void 0),r=Ke("form-group",void 0),s=Ke("form-inputs",void 0);r&&(e!=null&&e.id&&(r.inputId.value=e==null?void 0:e.id),s&&(s.value[r.name.value]=r.inputId.value));const i=te(!1);function l(d,g){n&&n.emit({type:d,path:g})}function u(){l("blur",r==null?void 0:r.name.value),i.value=!0}function c(){l("change",r==null?void 0:r.name.value)}const p=BR(()=>{(i.value||r!=null&&r.eagerValidation.value)&&l("input",r==null?void 0:r.name.value)},300);return{inputId:F(()=>(e==null?void 0:e.id)??(r==null?void 0:r.inputId.value)),name:F(()=>(e==null?void 0:e.name)??(r==null?void 0:r.name.value)),size:F(()=>{var g;const d=t.size[r==null?void 0:r.size.value]?r==null?void 0:r.size.value:null;return(e==null?void 0:e.size)??d??((g=t==null?void 0:t.default)==null?void 0:g.size)}),color:F(()=>{var d;return(d=r==null?void 0:r.error)!=null&&d.value?"red":e==null?void 0:e.color}),emitFormBlur:u,emitFormInput:p,emitFormChange:c}},eL={wrapper:"relative inline-flex items-center justify-center flex-shrink-0",background:"bg-gray-100 dark:bg-gray-800",rounded:"rounded-full",text:"font-medium leading-none text-gray-900 dark:text-white truncate",placeholder:"font-medium leading-none text-gray-500 dark:text-gray-400 truncate",size:{"3xs":"h-4 w-4 text-[8px]","2xs":"h-5 w-5 text-[10px]",xs:"h-6 w-6 text-xs",sm:"h-8 w-8 text-sm",md:"h-10 w-10 text-base",lg:"h-12 w-12 text-lg",xl:"h-14 w-14 text-xl","2xl":"h-16 w-16 text-2xl","3xl":"h-20 w-20 text-3xl"},chip:{base:"absolute rounded-full ring-1 ring-white dark:ring-gray-900 flex items-center justify-center text-white dark:text-gray-900 font-medium",background:"bg-{color}-500 dark:bg-{color}-400",position:{"top-right":"top-0 right-0","bottom-right":"bottom-0 right-0","top-left":"top-0 left-0","bottom-left":"bottom-0 left-0"},size:{"3xs":"h-[4px] min-w-[4px] text-[4px] p-px","2xs":"h-[5px] min-w-[5px] text-[5px] p-px",xs:"h-1.5 min-w-[0.375rem] text-[6px] p-px",sm:"h-2 min-w-[0.5rem] text-[7px] p-0.5",md:"h-2.5 min-w-[0.625rem] text-[8px] p-0.5",lg:"h-3 min-w-[0.75rem] text-[10px] p-0.5",xl:"h-3.5 min-w-[0.875rem] text-[11px] p-1","2xl":"h-4 min-w-[1rem] text-[12px] p-1","3xl":"h-5 min-w-[1.25rem] text-[14px] p-1"}},icon:{base:"text-gray-500 dark:text-gray-400 flex-shrink-0",size:{"3xs":"h-2 w-2","2xs":"h-2.5 w-2.5",xs:"h-3 w-3",sm:"h-4 w-4",md:"h-5 w-5",lg:"h-6 w-6",xl:"h-7 w-7","2xl":"h-8 w-8","3xl":"h-10 w-10"}},default:{size:"sm",icon:null,chipColor:null,chipPosition:"top-right"}},tL={base:"focus:outline-none focus-visible:outline-0 disabled:cursor-not-allowed disabled:opacity-75 flex-shrink-0",font:"font-medium",rounded:"rounded-md",truncate:"text-left break-all line-clamp-1",block:"w-full flex justify-center items-center",inline:"inline-flex items-center",size:{"2xs":"text-xs",xs:"text-xs",sm:"text-sm",md:"text-sm",lg:"text-sm",xl:"text-base"},gap:{"2xs":"gap-x-1",xs:"gap-x-1.5",sm:"gap-x-1.5",md:"gap-x-2",lg:"gap-x-2.5",xl:"gap-x-2.5"},padding:{"2xs":"px-2 py-1",xs:"px-2.5 py-1.5",sm:"px-2.5 py-1.5",md:"px-3 py-2",lg:"px-3.5 py-2.5",xl:"px-3.5 py-2.5"},square:{"2xs":"p-1",xs:"p-1.5",sm:"p-1.5",md:"p-2",lg:"p-2.5",xl:"p-2.5"},color:{white:{solid:"shadow-sm ring-1 ring-inset ring-gray-300 dark:ring-gray-700 text-gray-900 dark:text-white bg-white hover:bg-gray-50 disabled:bg-white dark:bg-gray-900 dark:hover:bg-gray-800/50 dark:disabled:bg-gray-900 focus-visible:ring-2 focus-visible:ring-primary-500 dark:focus-visible:ring-primary-400",ghost:"text-gray-900 dark:text-white hover:bg-white dark:hover:bg-gray-900 focus-visible:ring-inset focus-visible:ring-2 focus-visible:ring-primary-500 dark:focus-visible:ring-primary-400"},gray:{solid:"shadow-sm ring-1 ring-inset ring-gray-300 dark:ring-gray-700 text-gray-700 dark:text-gray-200 bg-gray-50 hover:bg-gray-100 disabled:bg-gray-50 dark:bg-gray-800 dark:hover:bg-gray-700/50 dark:disabled:bg-gray-800 focus-visible:ring-2 focus-visible:ring-primary-500 dark:focus-visible:ring-primary-400",ghost:"text-gray-700 dark:text-gray-200 hover:text-gray-900 dark:hover:text-white hover:bg-gray-50 dark:hover:bg-gray-800 focus-visible:ring-inset focus-visible:ring-2 focus-visible:ring-primary-500 dark:focus-visible:ring-primary-400",link:"text-gray-500 dark:text-gray-400 hover:text-gray-700 dark:hover:text-gray-200 underline-offset-4 hover:underline focus-visible:ring-inset focus-visible:ring-2 focus-visible:ring-primary-500 dark:focus-visible:ring-primary-400"},black:{solid:"shadow-sm text-white dark:text-gray-900 bg-gray-900 hover:bg-gray-800 disabled:bg-gray-900 dark:bg-white dark:hover:bg-gray-100 dark:disabled:bg-white focus-visible:ring-inset focus-visible:ring-2 focus-visible:ring-primary-500 dark:focus-visible:ring-primary-400",link:"text-gray-900 dark:text-white underline-offset-4 hover:underline focus-visible:ring-inset focus-visible:ring-2 focus-visible:ring-primary-500 dark:focus-visible:ring-primary-400"}},variant:{solid:"shadow-sm text-white dark:text-gray-900 bg-{color}-500 hover:bg-{color}-600 disabled:bg-{color}-500 dark:bg-{color}-400 dark:hover:bg-{color}-500 dark:disabled:bg-{color}-400 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-{color}-500 dark:focus-visible:outline-{color}-400",outline:"ring-1 ring-inset ring-current text-{color}-500 dark:text-{color}-400 hover:bg-{color}-50 disabled:bg-transparent dark:hover:bg-{color}-950 dark:disabled:bg-transparent focus-visible:ring-2 focus-visible:ring-{color}-500 dark:focus-visible:ring-{color}-400",soft:"text-{color}-500 dark:text-{color}-400 bg-{color}-50 hover:bg-{color}-100 disabled:bg-{color}-50 dark:bg-{color}-950 dark:hover:bg-{color}-900 dark:disabled:bg-{color}-950 focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-{color}-500 dark:focus-visible:ring-{color}-400",ghost:"text-{color}-500 dark:text-{color}-400 hover:bg-{color}-50 disabled:bg-transparent dark:hover:bg-{color}-950 dark:disabled:bg-transparent focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-{color}-500 dark:focus-visible:ring-{color}-400",link:"text-{color}-500 hover:text-{color}-600 disabled:text-{color}-500 dark:text-{color}-400 dark:hover:text-{color}-500 dark:disabled:text-{color}-400 underline-offset-4 hover:underline focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-{color}-500 dark:focus-visible:ring-{color}-400"},icon:{base:"flex-shrink-0",loading:"animate-spin",size:{"2xs":"h-4 w-4",xs:"h-4 w-4",sm:"h-5 w-5",md:"h-5 w-5",lg:"h-5 w-5",xl:"h-6 w-6"}},default:{size:"sm",variant:"solid",color:"primary",loadingIcon:"i-heroicons-arrow-path-20-solid"}},$1={base:"invisible before:visible before:block before:rotate-45 before:z-[-1] before:w-2 before:h-2",ring:"before:ring-1 before:ring-gray-200 dark:before:ring-gray-800",rounded:"before:rounded-sm",background:"before:bg-gray-200 dark:before:bg-gray-800",shadow:"before:shadow",placement:"group-data-[popper-placement*='right']:-left-1 group-data-[popper-placement*='left']:-right-1 group-data-[popper-placement*='top']:-bottom-1 group-data-[popper-placement*='bottom']:-top-1"},vp={wrapper:"relative",base:"relative block w-full disabled:cursor-not-allowed disabled:opacity-75 focus:outline-none border-0",form:"form-input",rounded:"rounded-md",placeholder:"placeholder-gray-400 dark:placeholder-gray-500",file:{base:"file:cursor-pointer file:rounded-l-md file:absolute file:left-0 file:inset-y-0 file:font-medium file:m-0 file:border-0 file:ring-1 file:ring-gray-300 dark:file:ring-gray-700 file:text-gray-900 dark:file:text-white file:bg-gray-50 hover:file:bg-gray-100 dark:file:bg-gray-800 dark:hover:file:bg-gray-700/50",padding:{"2xs":"ps-[85px]",xs:"ps-[87px]",sm:"ps-[96px]",md:"ps-[98px]",lg:"ps-[100px]",xl:"ps-[109px]"}},size:{"2xs":"text-xs",xs:"text-xs",sm:"text-sm",md:"text-sm",lg:"text-sm",xl:"text-base"},gap:{"2xs":"gap-x-1",xs:"gap-x-1.5",sm:"gap-x-1.5",md:"gap-x-2",lg:"gap-x-2.5",xl:"gap-x-2.5"},padding:{"2xs":"px-2 py-1",xs:"px-2.5 py-1.5",sm:"px-2.5 py-1.5",md:"px-3 py-2",lg:"px-3.5 py-2.5",xl:"px-3.5 py-2.5"},leading:{padding:{"2xs":"ps-7",xs:"ps-8",sm:"ps-9",md:"ps-10",lg:"ps-11",xl:"ps-12"}},trailing:{padding:{"2xs":"pe-7",xs:"pe-8",sm:"pe-9",md:"pe-10",lg:"pe-11",xl:"pe-12"}},color:{white:{outline:"shadow-sm bg-white dark:bg-gray-900 text-gray-900 dark:text-white ring-1 ring-inset ring-gray-300 dark:ring-gray-700 focus:ring-2 focus:ring-primary-500 dark:focus:ring-primary-400"},gray:{outline:"shadow-sm bg-gray-50 dark:bg-gray-800 text-gray-900 dark:text-white ring-1 ring-inset ring-gray-300 dark:ring-gray-700 focus:ring-2 focus:ring-primary-500 dark:focus:ring-primary-400"}},variant:{outline:"shadow-sm bg-transparent text-gray-900 dark:text-white ring-1 ring-inset ring-{color}-500 dark:ring-{color}-400 focus:ring-2 focus:ring-{color}-500 dark:focus:ring-{color}-400",none:"bg-transparent focus:ring-0 focus:shadow-none"},icon:{base:"flex-shrink-0 text-gray-400 dark:text-gray-500",color:"text-{color}-500 dark:text-{color}-400",loading:"animate-spin",size:{"2xs":"h-4 w-4",xs:"h-4 w-4",sm:"h-5 w-5",md:"h-5 w-5",lg:"h-5 w-5",xl:"h-6 w-6"},leading:{wrapper:"absolute inset-y-0 start-0 flex items-center",pointer:"pointer-events-none",padding:{"2xs":"px-2",xs:"px-2.5",sm:"px-2.5",md:"px-3",lg:"px-3.5",xl:"px-3.5"}},trailing:{wrapper:"absolute inset-y-0 end-0 flex items-center",pointer:"pointer-events-none",padding:{"2xs":"px-2",xs:"px-2.5",sm:"px-2.5",md:"px-3",lg:"px-3.5",xl:"px-3.5"}}},default:{size:"sm",color:"white",variant:"outline",loadingIcon:"i-heroicons-arrow-path-20-solid"}},vv={container:"z-20 group",trigger:"flex items-center w-full",width:"w-full",height:"max-h-60",base:"relative focus:outline-none overflow-y-auto scroll-py-1",background:"bg-white dark:bg-gray-800",shadow:"shadow-lg",rounded:"rounded-md",padding:"p-1",ring:"ring-1 ring-gray-200 dark:ring-gray-700",empty:"text-sm text-gray-400 dark:text-gray-500 px-2 py-1.5",option:{base:"cursor-default select-none relative flex items-center justify-between gap-1",rounded:"rounded-md",padding:"px-1.5 py-1.5",size:"text-sm",color:"text-gray-900 dark:text-white",container:"flex items-center gap-1.5 min-w-0",active:"bg-gray-100 dark:bg-gray-900",inactive:"",selected:"pe-7",disabled:"cursor-not-allowed opacity-50",empty:"text-sm text-gray-400 dark:text-gray-500 px-2 py-1.5",icon:{base:"flex-shrink-0 h-5 w-5",active:"text-gray-900 dark:text-white",inactive:"text-gray-400 dark:text-gray-500"},selectedIcon:{wrapper:"absolute inset-y-0 end-0 flex items-center",padding:"pe-2",base:"h-5 w-5 text-gray-900 dark:text-white flex-shrink-0"},avatar:{base:"flex-shrink-0",size:"2xs"},chip:{base:"flex-shrink-0 w-2 h-2 mx-1 rounded-full"}},transition:{leaveActiveClass:"transition ease-in duration-100",leaveFromClass:"opacity-100",leaveToClass:"opacity-0"},popper:{placement:"bottom-end"},default:{selectedIcon:"i-heroicons-check-20-solid",trailingIcon:"i-heroicons-chevron-down-20-solid"},arrow:{...$1,ring:"before:ring-1 before:ring-gray-200 dark:before:ring-gray-700",background:"before:bg-white dark:before:bg-gray-700"}},nL={wrapper:"",inner:"",label:{wrapper:"flex content-center items-center justify-between",base:"block font-medium text-gray-700 dark:text-gray-200",required:"after:content-['*'] after:ms-0.5 after:text-red-500 dark:after:text-red-400"},size:{"2xs":"text-xs",xs:"text-xs",sm:"text-sm",md:"text-sm",lg:"text-sm",xl:"text-base"},container:"mt-1 relative",description:"text-gray-500 dark:text-gray-400",hint:"text-gray-500 dark:text-gray-400",help:"mt-2 text-gray-500 dark:text-gray-400",error:"mt-2 text-red-500 dark:text-red-400",default:{size:"sm"}},rL={...vp,form:"form-textarea",default:{size:"sm",color:"white",variant:"outline"}},oL={...vp,form:"form-select",placeholder:"text-gray-400 dark:text-gray-500",default:{size:"sm",color:"white",variant:"outline",loadingIcon:"i-heroicons-arrow-path-20-solid",trailingIcon:"i-heroicons-chevron-down-20-solid"}},PF={...vv,select:"inline-flex items-center text-left cursor-default",input:"block w-[calc(100%+0.5rem)] focus:ring-transparent text-sm px-3 py-1.5 text-gray-700 dark:text-gray-200 bg-white dark:bg-gray-800 border-0 border-b border-gray-200 dark:border-gray-700 sticky -top-1 -mt-1 mb-1 -mx-1 z-10 placeholder-gray-400 dark:placeholder-gray-500 focus:outline-none",required:"absolute inset-0 w-px opacity-0 cursor-default",label:"block truncate",option:{...vv.option,create:"block truncate"},transition:{leaveActiveClass:"transition ease-in duration-100",leaveFromClass:"opacity-100",leaveToClass:"opacity-0"},popper:{placement:"bottom-end"},default:{selectedIcon:"i-heroicons-check-20-solid",clearSearchOnClose:!1,showCreateOptionWhen:"empty"},arrow:{...$1,ring:"before:ring-1 before:ring-gray-200 dark:before:ring-gray-700",background:"before:bg-white dark:before:bg-gray-700"}},sL={wrapper:"relative flex items-start",container:"flex items-center h-5",base:"h-4 w-4 dark:checked:bg-current dark:checked:border-transparent dark:indeterminate:bg-current dark:indeterminate:border-transparent disabled:opacity-50 disabled:cursor-not-allowed focus:ring-0 focus:ring-transparent focus:ring-offset-transparent",form:"form-checkbox",rounded:"rounded",color:"text-{color}-500 dark:text-{color}-400",background:"bg-white dark:bg-gray-900",border:"border border-gray-300 dark:border-gray-700",ring:"focus-visible:ring-2 focus-visible:ring-{color}-500 dark:focus-visible:ring-{color}-400 focus-visible:ring-offset-2 focus-visible:ring-offset-white dark:focus-visible:ring-offset-gray-900",inner:"ms-3 flex flex-col",label:"text-sm font-medium text-gray-700 dark:text-gray-200",required:"text-sm text-red-500 dark:text-red-400",help:"text-sm text-gray-500 dark:text-gray-400",default:{color:"primary"}},iL={base:"relative inline-flex flex-shrink-0 border-2 border-transparent disabled:cursor-not-allowed disabled:opacity-50 focus:outline-none",rounded:"rounded-full",ring:"focus-visible:ring-2 focus-visible:ring-{color}-500 dark:focus-visible:ring-{color}-400 focus-visible:ring-offset-2 focus-visible:ring-offset-white dark:focus-visible:ring-offset-gray-900",active:"bg-{color}-500 dark:bg-{color}-400",inactive:"bg-gray-200 dark:bg-gray-700",size:{"2xs":"h-3 w-5",xs:"h-3.5 w-6",sm:"h-4 w-7",md:"h-5 w-9",lg:"h-6 w-11",xl:"h-7 w-[3.25rem]","2xl":"h-8 w-[3.75rem]"},container:{base:"pointer-events-none relative inline-block rounded-full bg-white dark:bg-gray-900 shadow transform ring-0 transition ease-in-out duration-200",active:{"2xs":"translate-x-2 rtl:-translate-x-2",xs:"translate-x-2.5 rtl:-translate-x-2.5",sm:"translate-x-3 rtl:-translate-x-3",md:"translate-x-4 rtl:-translate-x-4",lg:"translate-x-5 rtl:-translate-x-5",xl:"translate-x-6 rtl:-translate-x-6","2xl":"translate-x-7 rtl:-translate-x-7"},inactive:"translate-x-0 rtl:-translate-x-0",size:{"2xs":"h-2 w-2",xs:"h-2.5 w-2.5",sm:"h-3 w-3",md:"h-4 w-4",lg:"h-5 w-5",xl:"h-6 w-6","2xl":"h-7 w-7"}},icon:{base:"absolute inset-0 h-full w-full flex items-center justify-center transition-opacity",active:"opacity-100 ease-in duration-200",inactive:"opacity-0 ease-out duration-100",size:{"2xs":"h-2 w-2",xs:"h-2 w-2",sm:"h-2 w-2",md:"h-3 w-3",lg:"h-4 w-4",xl:"h-5 w-5","2xl":"h-6 w-6"},on:"text-{color}-500 dark:text-{color}-400",off:"text-gray-400 dark:text-gray-500",loading:"animate-spin text-{color}-500 dark:text-{color}-400"},default:{onIcon:null,offIcon:null,loadingIcon:"i-heroicons-arrow-path-20-solid",color:"primary",size:"md"}},aL={base:"",background:"bg-white dark:bg-gray-900",divide:"divide-y divide-gray-200 dark:divide-gray-800",ring:"ring-1 ring-gray-200 dark:ring-gray-800",rounded:"rounded-lg",shadow:"shadow",body:{base:"",background:"",padding:"px-4 py-5 sm:p-6"},header:{base:"",background:"",padding:"px-4 py-5 sm:px-6"},footer:{base:"",background:"",padding:"px-4 py-4 sm:px-6"}},lL={base:"mx-auto",padding:"px-4 sm:px-6 lg:px-8",constrained:"max-w-7xl"},uL={wrapper:"relative z-50",inner:"fixed inset-0 overflow-y-auto",container:"flex min-h-full items-end sm:items-center justify-center text-center",padding:"p-4 sm:p-0",margin:"sm:my-8",base:"relative text-left rtl:text-right flex flex-col",overlay:{base:"fixed inset-0 transition-opacity",background:"bg-gray-200/75 dark:bg-gray-800/75",transition:{enter:"ease-out duration-300",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-200",leaveFrom:"opacity-100",leaveTo:"opacity-0"}},background:"bg-white dark:bg-gray-900",ring:"",rounded:"rounded-lg",shadow:"shadow-xl",width:"w-full sm:max-w-lg",height:"",fullscreen:"w-screen h-screen",transition:{enter:"ease-out duration-300",enterFrom:"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95",enterTo:"opacity-100 translate-y-0 sm:scale-100",leave:"ease-in duration-200",leaveFrom:"opacity-100 translate-y-0 sm:scale-100",leaveTo:"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95"}},cL={wrapper:"fixed inset-0 flex z-50",overlay:{base:"fixed inset-0 transition-opacity",background:"bg-gray-200/75 dark:bg-gray-800/75",transition:{enter:"ease-in-out duration-500",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in-out duration-500",leaveFrom:"opacity-100",leaveTo:"opacity-0"}},base:"relative flex-1 flex flex-col w-full focus:outline-none",background:"bg-white dark:bg-gray-900",ring:"",rounded:"",padding:"",shadow:"shadow-xl",width:"w-screen max-w-md",translate:{base:"translate-x-0",left:"-translate-x-full rtl:translate-x-full",right:"translate-x-full rtl:-translate-x-full"},transition:{enter:"transform transition ease-in-out duration-300",leave:"transform transition ease-in-out duration-200"}},fL={wrapper:"w-full pointer-events-auto",container:"relative overflow-hidden",inner:"w-0 flex-1",title:"text-sm font-medium text-gray-900 dark:text-white",description:"mt-1 text-sm leading-4 text-gray-500 dark:text-gray-400",actions:"flex items-center gap-2 mt-3 flex-shrink-0",background:"bg-white dark:bg-gray-900",shadow:"shadow-lg",rounded:"rounded-lg",padding:"p-4",gap:"gap-3",ring:"ring-1 ring-gray-200 dark:ring-gray-800",icon:{base:"flex-shrink-0 w-5 h-5",color:"text-{color}-500 dark:text-{color}-400"},avatar:{base:"flex-shrink-0 self-center",size:"md"},progress:{base:"absolute bottom-0 end-0 start-0 h-1",background:"bg-{color}-500 dark:bg-{color}-400"},transition:{enterActiveClass:"transform ease-out duration-300 transition",enterFromClass:"translate-y-2 opacity-0 sm:translate-y-0 sm:translate-x-2",enterToClass:"translate-y-0 opacity-100 sm:translate-x-0",leaveActiveClass:"transition ease-in duration-100",leaveFromClass:"opacity-100",leaveToClass:"opacity-0"},default:{color:"primary",icon:null,timeout:5e3,closeButton:{icon:"i-heroicons-x-mark-20-solid",color:"gray",variant:"link",padded:!1},actionButton:{size:"xs",color:"white"}}},dL={wrapper:"fixed flex flex-col justify-end z-[55]",position:"bottom-0 end-0",width:"w-full sm:w-96",container:"px-4 sm:px-6 py-6 space-y-3 overflow-y-auto"},yv=wn(Ge.ui.strategy,Ge.ui.checkbox,sL),pL=we({inheritAttrs:!1,props:{id:{type:String,default:()=>null},value:{type:[String,Number,Boolean,Object],default:null},modelValue:{type:[Boolean,Array],default:null},name:{type:String,default:null},disabled:{type:Boolean,default:!1},indeterminate:{type:Boolean,default:void 0},help:{type:String,default:null},label:{type:String,default:null},required:{type:Boolean,default:!1},color:{type:String,default:()=>yv.default.color,validator(e){return Ge.ui.colors.includes(e)}},inputClass:{type:String,default:""},class:{type:[String,Object,Array],default:()=>""},ui:{type:Object,default:()=>({})}},emits:["update:modelValue","change"],setup(e,{emit:t}){const{ui:n,attrs:r}=On("checkbox",Ot(e,"ui"),yv,Ot(e,"class")),{emitFormChange:s,color:i,name:l,inputId:u}=ba(e),c=u.value??ii("$YWrWuPJ69t"),p=F({get(){return e.modelValue},set(h){t("update:modelValue",h)}}),d=h=>{t("change",h.target.checked),s()},g=F(()=>Un(pt(n.value.base,n.value.form,n.value.rounded,n.value.background,n.value.border,i.value&&n.value.ring.replaceAll("{color}",i.value),i.value&&n.value.color.replaceAll("{color}",i.value)),e.inputClass));return{ui:n,attrs:r,toggle:p,inputId:c,name:l,inputClass:g,onChange:d}}}),hL=["data-n-ids"],gL=["id","name","required","value","disabled","indeterminate"],mL=["for"];function vL(e,t,n,r,s,i){return V(),Z("div",{class:ae(e.ui.wrapper),"data-n-ids":e.attrs["data-n-ids"]},[I("div",{class:ae(e.ui.container)},[Ty(I("input",lt({id:e.inputId,"onUpdate:modelValue":t[0]||(t[0]=l=>e.toggle=l),name:e.name,required:e.required,value:e.value,disabled:e.disabled,indeterminate:e.indeterminate,type:"checkbox",class:e.inputClass},e.attrs,{onChange:t[1]||(t[1]=(...l)=>e.onChange&&e.onChange(...l))}),null,16,gL),[[j$,e.toggle]])],2),e.label||e.$slots.label?(V(),Z("div",{key:0,class:ae(e.ui.inner)},[I("label",{for:e.inputId,class:ae(e.ui.label)},[it(e.$slots,"label",{},()=>[de(et(e.label),1)]),e.required?(V(),Z("span",{key:0,class:ae(e.ui.required)},"*",2)):Ie("",!0)],10,mL),e.help?(V(),Z("p",{key:0,class:ae(e.ui.help)},et(e.help),3)):Ie("",!0)],2)):Ie("",!0)],10,hL)}const A1=zt(pL,[["render",vL]]),yL={},bL={class:"bg-gray-50 dark:bg-gray-700 dark:border-gray-800 overflow-hidden border sm:rounded-lg"},_L={class:"px-4 py-5 sm:p-6"};function wL(e,t){return V(),Z("div",bL,[I("div",_L,[it(e.$slots,"default")])])}const Eu=zt(yL,[["render",wL]]),I1=Object.freeze({left:0,top:0,width:16,height:16}),R1=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),yp=Object.freeze({...I1,...R1});Object.freeze({...yp,body:"",hidden:!1});({...I1});const O1=Object.freeze({width:null,height:null}),P1=Object.freeze({...O1,...R1});function xL(e,t){const n={...e};for(const r in t){const s=t[r],i=typeof s;r in O1?(s===null||s&&(i==="string"||i==="number"))&&(n[r]=s):i===typeof n[r]&&(n[r]=r==="rotate"?s%4:s)}return n}const kL=/[\s,]+/;function SL(e,t){t.split(kL).forEach(n=>{switch(n.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function CL(e,t=0){const n=e.replace(/^-?[0-9.]*/,"");function r(s){for(;s<0;)s+=4;return s%4}if(n===""){const s=parseInt(e);return isNaN(s)?0:r(s)}else if(n!==e){let s=0;switch(n){case"%":s=25;break;case"deg":s=90}if(s){let i=parseFloat(e.slice(0,e.length-n.length));return isNaN(i)?0:(i=i/s,i%1===0?r(i):0)}}return t}const EL=/(-?[0-9.]*[0-9]+[0-9.]*)/g,TL=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function bv(e,t,n){if(t===1)return e;if(n=n||100,typeof e=="number")return Math.ceil(e*t*n)/n;if(typeof e!="string")return e;const r=e.split(EL);if(r===null||!r.length)return e;const s=[];let i=r.shift(),l=TL.test(i);for(;;){if(l){const u=parseFloat(i);isNaN(u)?s.push(i):s.push(Math.ceil(u*t*n)/n)}else s.push(i);if(i=r.shift(),i===void 0)return s.join("");l=!l}}function $L(e,t="defs"){let n="";const r=e.indexOf("<"+t);for(;r>=0;){const s=e.indexOf(">",r),i=e.indexOf("",i);if(l===-1)break;n+=e.slice(s+1,i).trim(),e=e.slice(0,r).trim()+e.slice(l+1)}return{defs:n,content:e}}function AL(e,t){return e?""+e+""+t:t}function IL(e,t,n){const r=$L(e);return AL(r.defs,t+r.content+n)}const RL=e=>e==="unset"||e==="undefined"||e==="none";function OL(e,t){const n={...yp,...e},r={...P1,...t},s={left:n.left,top:n.top,width:n.width,height:n.height};let i=n.body;[n,r].forEach(x=>{const b=[],E=x.hFlip,C=x.vFlip;let S=x.rotate;E?C?S+=2:(b.push("translate("+(s.width+s.left).toString()+" "+(0-s.top).toString()+")"),b.push("scale(-1 1)"),s.top=s.left=0):C&&(b.push("translate("+(0-s.left).toString()+" "+(s.height+s.top).toString()+")"),b.push("scale(1 -1)"),s.top=s.left=0);let A;switch(S<0&&(S-=Math.floor(S/4)*4),S=S%4,S){case 1:A=s.height/2+s.top,b.unshift("rotate(90 "+A.toString()+" "+A.toString()+")");break;case 2:b.unshift("rotate(180 "+(s.width/2+s.left).toString()+" "+(s.height/2+s.top).toString()+")");break;case 3:A=s.width/2+s.left,b.unshift("rotate(-90 "+A.toString()+" "+A.toString()+")");break}S%2===1&&(s.left!==s.top&&(A=s.left,s.left=s.top,s.top=A),s.width!==s.height&&(A=s.width,s.width=s.height,s.height=A)),b.length&&(i=IL(i,'',""))});const l=r.width,u=r.height,c=s.width,p=s.height;let d,g;l===null?(g=u===null?"1em":u==="auto"?p:u,d=bv(g,c/p)):(d=l==="auto"?c:l,g=u===null?bv(d,p/c):u==="auto"?p:u);const h={},v=(x,b)=>{RL(b)||(h[x]=b.toString())};v("width",d),v("height",g);const _=[s.left,s.top,c,p];return h.viewBox=_.join(" "),{attributes:h,viewBox:_,body:i}}const PL=/\sid="(\S+)"/g,LL="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let ML=0;function BL(e,t=LL){const n=[];let r;for(;r=PL.exec(e);)n.push(r[1]);if(!n.length)return e;const s="suffix"+(Math.random()*16777216|Date.now()).toString(16);return n.forEach(i=>{const l=typeof t=="function"?t(i):t+(ML++).toString(),u=i.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+u+')([")]|\\.[a-z])',"g"),"$1"+l+s+"$3")}),e=e.replace(new RegExp(s,"g"),""),e}function FL(e,t){let n=e.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const r in t)n+=" "+r+'="'+t[r]+'"';return'"+e+""}function DL(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(//g,"%3E").replace(/\s+/g," ")}function VL(e){return"data:image/svg+xml,"+DL(e)}function NL(e){return'url("'+VL(e)+'")'}const _v={...P1,inline:!1},jL={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},UL={display:"inline-block"},bd={backgroundColor:"currentColor"},L1={backgroundColor:"transparent"},wv={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},xv={webkitMask:bd,mask:bd,background:L1};for(const e in xv){const t=xv[e];for(const n in wv)t[e+n]=wv[n]}const Dl={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";Dl[e+"-flip"]=t,Dl[e.slice(0,1)+"-flip"]=t,Dl[e+"Flip"]=t});function kv(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const HL=(e,t)=>{const n=xL(_v,t),r={...jL},s=t.mode||"svg",i={},l=t.style,u=typeof l=="object"&&!(l instanceof Array)?l:{};for(let x in t){const b=t[x];if(b!==void 0)switch(x){case"icon":case"style":case"onLoad":case"mode":break;case"inline":case"hFlip":case"vFlip":n[x]=b===!0||b==="true"||b===1;break;case"flip":typeof b=="string"&&SL(n,b);break;case"color":i.color=b;break;case"rotate":typeof b=="string"?n[x]=CL(b):typeof b=="number"&&(n[x]=b);break;case"ariaHidden":case"aria-hidden":b!==!0&&b!=="true"&&delete r["aria-hidden"];break;default:{const E=Dl[x];E?(b===!0||b==="true"||b===1)&&(n[E]=!0):_v[x]===void 0&&(r[x]=b)}}}const c=OL(e,n),p=c.attributes;if(n.inline&&(i.verticalAlign="-0.125em"),s==="svg"){r.style={...i,...u},Object.assign(r,p);let x=0,b=t.id;return typeof b=="string"&&(b=b.replace(/-/g,"_")),r.innerHTML=BL(c.body,b?()=>b+"ID"+x++:"iconifyVue"),Xe("svg",r)}const{body:d,width:g,height:h}=e,v=s==="mask"||(s==="bg"?!1:d.indexOf("currentColor")!==-1),_=FL(d,{...p,width:g+"",height:h+""});return r.style={...i,"--svg":NL(_),width:kv(p.width),height:kv(p.height),...UL,...v?bd:L1,...u},Xe("span",r)},zL=Object.create(null),WL=we({inheritAttrs:!1,render(){const e=this.$attrs,t=e.icon,n=typeof t=="string"?zL[t]:typeof t=="object"?t:null;return n===null||typeof n!="object"||typeof n.body!="string"?this.$slots.default?this.$slots.default():null:HL({...yp,...n},e)}}),Gi=/^[a-z0-9]+(-[a-z0-9]+)*$/,Tu=(e,t,n,r="")=>{const s=e.split(":");if(e.slice(0,1)==="@"){if(s.length<2||s.length>3)return null;r=s.shift().slice(1)}if(s.length>3||!s.length)return null;if(s.length>1){const u=s.pop(),c=s.pop(),p={provider:s.length>0?s[0]:r,prefix:c,name:u};return t&&!Vl(p)?null:p}const i=s[0],l=i.split("-");if(l.length>1){const u={provider:r,prefix:l.shift(),name:l.join("-")};return t&&!Vl(u)?null:u}if(n&&r===""){const u={provider:r,prefix:"",name:i};return t&&!Vl(u,n)?null:u}return null},Vl=(e,t)=>e?!!((e.provider===""||e.provider.match(Gi))&&(t&&e.prefix===""||e.prefix.match(Gi))&&e.name.match(Gi)):!1,M1=Object.freeze({left:0,top:0,width:16,height:16}),au=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),bp=Object.freeze({...M1,...au}),_d=Object.freeze({...bp,body:"",hidden:!1});function qL(e,t){const n={};!e.hFlip!=!t.hFlip&&(n.hFlip=!0),!e.vFlip!=!t.vFlip&&(n.vFlip=!0);const r=((e.rotate||0)+(t.rotate||0))%4;return r&&(n.rotate=r),n}function Sv(e,t){const n=qL(e,t);for(const r in _d)r in au?r in e&&!(r in n)&&(n[r]=au[r]):r in t?n[r]=t[r]:r in e&&(n[r]=e[r]);return n}function KL(e,t){const n=e.icons,r=e.aliases||Object.create(null),s=Object.create(null);function i(l){if(n[l])return s[l]=[];if(!(l in s)){s[l]=null;const u=r[l]&&r[l].parent,c=u&&i(u);c&&(s[l]=[u].concat(c))}return s[l]}return(t||Object.keys(n).concat(Object.keys(r))).forEach(i),s}function GL(e,t,n){const r=e.icons,s=e.aliases||Object.create(null);let i={};function l(u){i=Sv(r[u]||s[u],i)}return l(t),n.forEach(l),Sv(e,i)}function B1(e,t){const n=[];if(typeof e!="object"||typeof e.icons!="object")return n;e.not_found instanceof Array&&e.not_found.forEach(s=>{t(s,null),n.push(s)});const r=KL(e);for(const s in r){const i=r[s];i&&(t(s,GL(e,s,i)),n.push(s))}return n}const JL={provider:"",aliases:{},not_found:{},...M1};function _f(e,t){for(const n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function F1(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!_f(e,JL))return null;const n=t.icons;for(const s in n){const i=n[s];if(!s.match(Gi)||typeof i.body!="string"||!_f(i,_d))return null}const r=t.aliases||Object.create(null);for(const s in r){const i=r[s],l=i.parent;if(!s.match(Gi)||typeof l!="string"||!n[l]&&!r[l]||!_f(i,_d))return null}return t}const Cv=Object.create(null);function ZL(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function vs(e,t){const n=Cv[e]||(Cv[e]=Object.create(null));return n[t]||(n[t]=ZL(e,t))}function _p(e,t){return F1(t)?B1(t,(n,r)=>{r?e.icons[n]=r:e.missing.add(n)}):[]}function YL(e,t,n){try{if(typeof n.body=="string")return e.icons[t]={...n},!0}catch{}return!1}let oa=!1;function D1(e){return typeof e=="boolean"&&(oa=e),oa}function QL(e){const t=typeof e=="string"?Tu(e,!0,oa):e;if(t){const n=vs(t.provider,t.prefix),r=t.name;return n.icons[r]||(n.missing.has(r)?null:void 0)}}function XL(e,t){const n=Tu(e,!0,oa);if(!n)return!1;const r=vs(n.provider,n.prefix);return YL(r,n.name,t)}function e6(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),oa&&!t&&!e.prefix){let s=!1;return F1(e)&&(e.prefix="",B1(e,(i,l)=>{l&&XL(i,l)&&(s=!0)})),s}const n=e.prefix;if(!Vl({provider:t,prefix:n,name:"a"}))return!1;const r=vs(t,n);return!!_p(r,e)}const t6=Object.freeze({width:null,height:null}),n6=Object.freeze({...t6,...au});""+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);const wd=Object.create(null);function r6(e,t){wd[e]=t}function xd(e){return wd[e]||wd[""]}function wp(e){let t;if(typeof e.resources=="string")t=[e.resources];else if(t=e.resources,!(t instanceof Array)||!t.length)return null;return{resources:t,path:e.path||"/",maxURL:e.maxURL||500,rotate:e.rotate||750,timeout:e.timeout||5e3,random:e.random===!0,index:e.index||0,dataAfterTimeout:e.dataAfterTimeout!==!1}}const xp=Object.create(null),Oi=["https://api.simplesvg.com","https://api.unisvg.com"],Nl=[];for(;Oi.length>0;)Oi.length===1||Math.random()>.5?Nl.push(Oi.shift()):Nl.push(Oi.pop());xp[""]=wp({resources:["https://api.iconify.design"].concat(Nl)});function kd(e,t){const n=wp(t);return n===null?!1:(xp[e]=n,!0)}function kp(e){return xp[e]}const o6=()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}};let Ev=o6();function s6(e,t){const n=kp(e);if(!n)return 0;let r;if(!n.maxURL)r=0;else{let s=0;n.resources.forEach(l=>{s=Math.max(s,l.length)});const i=t+".json?icons=";r=n.maxURL-s-n.path.length-i.length}return r}function i6(e){return e===404}const a6=(e,t,n)=>{const r=[],s=s6(e,t),i="icons";let l={type:i,provider:e,prefix:t,icons:[]},u=0;return n.forEach((c,p)=>{u+=c.length+1,u>=s&&p>0&&(r.push(l),l={type:i,provider:e,prefix:t,icons:[]},u=c.length),l.icons.push(c)}),r.push(l),r};function l6(e){if(typeof e=="string"){const t=kp(e);if(t)return t.path}return"/"}const u6=(e,t,n)=>{if(!Ev){n("abort",424);return}let r=l6(t.provider);switch(t.type){case"icons":{const i=t.prefix,u=t.icons.join(","),c=new URLSearchParams({icons:u});r+=i+".json?"+c.toString();break}case"custom":{const i=t.uri;r+=i.slice(0,1)==="/"?i.slice(1):i;break}default:n("abort",400);return}let s=503;Ev(e+r).then(i=>{const l=i.status;if(l!==200){setTimeout(()=>{n(i6(l)?"abort":"next",l)});return}return s=501,i.json()}).then(i=>{if(typeof i!="object"||i===null){setTimeout(()=>{i===404?n("abort",i):n("next",s)});return}setTimeout(()=>{n("success",i)})}).catch(()=>{n("next",s)})},c6={prepare:a6,send:u6};function f6(e){const t={loaded:[],missing:[],pending:[]},n=Object.create(null);e.sort((s,i)=>s.provider!==i.provider?s.provider.localeCompare(i.provider):s.prefix!==i.prefix?s.prefix.localeCompare(i.prefix):s.name.localeCompare(i.name));let r={provider:"",prefix:"",name:""};return e.forEach(s=>{if(r.name===s.name&&r.prefix===s.prefix&&r.provider===s.provider)return;r=s;const i=s.provider,l=s.prefix,u=s.name,c=n[i]||(n[i]=Object.create(null)),p=c[l]||(c[l]=vs(i,l));let d;u in p.icons?d=t.loaded:l===""||p.missing.has(u)?d=t.missing:d=t.pending;const g={provider:i,prefix:l,name:u};d.push(g)}),t}function V1(e,t){e.forEach(n=>{const r=n.loaderCallbacks;r&&(n.loaderCallbacks=r.filter(s=>s.id!==t))})}function d6(e){e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout(()=>{e.pendingCallbacksFlag=!1;const t=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!t.length)return;let n=!1;const r=e.provider,s=e.prefix;t.forEach(i=>{const l=i.icons,u=l.pending.length;l.pending=l.pending.filter(c=>{if(c.prefix!==s)return!0;const p=c.name;if(e.icons[p])l.loaded.push({provider:r,prefix:s,name:p});else if(e.missing.has(p))l.missing.push({provider:r,prefix:s,name:p});else return n=!0,!0;return!1}),l.pending.length!==u&&(n||V1([e],i.id),i.callback(l.loaded.slice(0),l.missing.slice(0),l.pending.slice(0),i.abort))})}))}let p6=0;function h6(e,t,n){const r=p6++,s=V1.bind(null,n,r);if(!t.pending.length)return s;const i={id:r,icons:t,callback:e,abort:s};return n.forEach(l=>{(l.loaderCallbacks||(l.loaderCallbacks=[])).push(i)}),s}function g6(e,t=!0,n=!1){const r=[];return e.forEach(s=>{const i=typeof s=="string"?Tu(s,t,n):s;i&&r.push(i)}),r}var m6={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function v6(e,t,n,r){const s=e.resources.length,i=e.random?Math.floor(Math.random()*s):e.index;let l;if(e.random){let L=e.resources.slice(0);for(l=[];L.length>1;){const H=Math.floor(Math.random()*L.length);l.push(L[H]),L=L.slice(0,H).concat(L.slice(H+1))}l=l.concat(L)}else l=e.resources.slice(i).concat(e.resources.slice(0,i));const u=Date.now();let c="pending",p=0,d,g=null,h=[],v=[];typeof r=="function"&&v.push(r);function _(){g&&(clearTimeout(g),g=null)}function x(){c==="pending"&&(c="aborted"),_(),h.forEach(L=>{L.status==="pending"&&(L.status="aborted")}),h=[]}function b(L,H){H&&(v=[]),typeof L=="function"&&v.push(L)}function E(){return{startTime:u,payload:t,status:c,queriesSent:p,queriesPending:h.length,subscribe:b,abort:x}}function C(){c="failed",v.forEach(L=>{L(void 0,d)})}function S(){h.forEach(L=>{L.status==="pending"&&(L.status="aborted")}),h=[]}function A(L,H,j){const q=H!=="success";switch(h=h.filter(K=>K!==L),c){case"pending":break;case"failed":if(q||!e.dataAfterTimeout)return;break;default:return}if(H==="abort"){d=j,C();return}if(q){d=j,h.length||(l.length?B():C());return}if(_(),S(),!e.random){const K=e.resources.indexOf(L.resource);K!==-1&&K!==e.index&&(e.index=K)}c="completed",v.forEach(K=>{K(j)})}function B(){if(c!=="pending")return;_();const L=l.shift();if(L===void 0){if(h.length){g=setTimeout(()=>{_(),c==="pending"&&(S(),C())},e.timeout);return}C();return}const H={status:"pending",resource:L,callback:(j,q)=>{A(H,j,q)}};h.push(H),p++,g=setTimeout(B,e.rotate),n(L,t,H.callback)}return setTimeout(B),E}function N1(e){const t={...m6,...e};let n=[];function r(){n=n.filter(u=>u().status==="pending")}function s(u,c,p){const d=v6(t,u,c,(g,h)=>{r(),p&&p(g,h)});return n.push(d),d}function i(u){return n.find(c=>u(c))||null}return{query:s,find:i,setIndex:u=>{t.index=u},getIndex:()=>t.index,cleanup:r}}function Tv(){}const wf=Object.create(null);function y6(e){if(!wf[e]){const t=kp(e);if(!t)return;const n=N1(t),r={config:t,redundancy:n};wf[e]=r}return wf[e]}function b6(e,t,n){let r,s;if(typeof e=="string"){const i=xd(e);if(!i)return n(void 0,424),Tv;s=i.send;const l=y6(e);l&&(r=l.redundancy)}else{const i=wp(e);if(i){r=N1(i);const l=e.resources?e.resources[0]:"",u=xd(l);u&&(s=u.send)}}return!r||!s?(n(void 0,424),Tv):r.query(t,s,n)().abort}const $v="iconify2",sa="iconify",j1=sa+"-count",Av=sa+"-version",U1=36e5,_6=168,w6=50;function Sd(e,t){try{return e.getItem(t)}catch{}}function Sp(e,t,n){try{return e.setItem(t,n),!0}catch{}}function Iv(e,t){try{e.removeItem(t)}catch{}}function Cd(e,t){return Sp(e,j1,t.toString())}function Ed(e){return parseInt(Sd(e,j1))||0}const $u={local:!0,session:!0},H1={local:new Set,session:new Set};let Cp=!1;function x6(e){Cp=e}let $l=typeof window>"u"?{}:window;function z1(e){const t=e+"Storage";try{if($l&&$l[t]&&typeof $l[t].length=="number")return $l[t]}catch{}$u[e]=!1}function W1(e,t){const n=z1(e);if(!n)return;const r=Sd(n,Av);if(r!==$v){if(r){const u=Ed(n);for(let c=0;c{const c=sa+u.toString(),p=Sd(n,c);if(typeof p=="string"){try{const d=JSON.parse(p);if(typeof d=="object"&&typeof d.cached=="number"&&d.cached>s&&typeof d.provider=="string"&&typeof d.data=="object"&&typeof d.data.prefix=="string"&&t(d,u))return!0}catch{}Iv(n,c)}};let l=Ed(n);for(let u=l-1;u>=0;u--)i(u)||(u===l-1?(l--,Cd(n,l)):H1[e].add(u))}function q1(){if(!Cp){x6(!0);for(const e in $u)W1(e,t=>{const n=t.data,r=t.provider,s=n.prefix,i=vs(r,s);if(!_p(i,n).length)return!1;const l=n.lastModified||-1;return i.lastModifiedCached=i.lastModifiedCached?Math.min(i.lastModifiedCached,l):l,!0})}}function k6(e,t){const n=e.lastModifiedCached;if(n&&n>=t)return n===t;if(e.lastModifiedCached=t,n)for(const r in $u)W1(r,s=>{const i=s.data;return s.provider!==e.provider||i.prefix!==e.prefix||i.lastModified===t});return!0}function S6(e,t){Cp||q1();function n(r){let s;if(!$u[r]||!(s=z1(r)))return;const i=H1[r];let l;if(i.size)i.delete(l=Array.from(i).shift());else if(l=Ed(s),l>=w6||!Cd(s,l+1))return;const u={cached:Math.floor(Date.now()/U1),provider:e.provider,data:t};return Sp(s,sa+l.toString(),JSON.stringify(u))}t.lastModified&&!k6(e,t.lastModified)||Object.keys(t.icons).length&&(t.not_found&&(t=Object.assign({},t),delete t.not_found),n("local")||n("session"))}function Rv(){}function C6(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,d6(e)}))}function E6(e,t){e.iconsToLoad?e.iconsToLoad=e.iconsToLoad.concat(t).sort():e.iconsToLoad=t,e.iconsQueueFlag||(e.iconsQueueFlag=!0,setTimeout(()=>{e.iconsQueueFlag=!1;const{provider:n,prefix:r}=e,s=e.iconsToLoad;delete e.iconsToLoad;let i;if(!s||!(i=xd(n)))return;i.prepare(n,r,s).forEach(u=>{b6(n,u,c=>{if(typeof c!="object")u.icons.forEach(p=>{e.missing.add(p)});else try{const p=_p(e,c);if(!p.length)return;const d=e.pendingIcons;d&&p.forEach(g=>{d.delete(g)}),S6(e,c)}catch(p){console.error(p)}C6(e)})})}))}const T6=(e,t)=>{const n=g6(e,!0,D1()),r=f6(n);if(!r.pending.length){let c=!0;return t&&setTimeout(()=>{c&&t(r.loaded,r.missing,r.pending,Rv)}),()=>{c=!1}}const s=Object.create(null),i=[];let l,u;return r.pending.forEach(c=>{const{provider:p,prefix:d}=c;if(d===u&&p===l)return;l=p,u=d,i.push(vs(p,d));const g=s[p]||(s[p]=Object.create(null));g[d]||(g[d]=[])}),r.pending.forEach(c=>{const{provider:p,prefix:d,name:g}=c,h=vs(p,d),v=h.pendingIcons||(h.pendingIcons=new Set);v.has(g)||(v.add(g),s[p][d].push(g))}),i.forEach(c=>{const{provider:p,prefix:d}=c;s[p][d].length&&E6(c,s[p][d])}),t?h6(t,r,i):Rv},$6=e=>new Promise((t,n)=>{const r=typeof e=="string"?Tu(e,!0):e;if(!r){n(e);return}T6([r||e],s=>{if(s.length&&r){const i=QL(r);if(i){t({...bp,...i});return}}n(e)})});({...n6});const Ov={backgroundColor:"currentColor"},A6={backgroundColor:"transparent"},Pv={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},Lv={webkitMask:Ov,mask:Ov,background:A6};for(const e in Lv){const t=Lv[e];for(const n in Pv)t[e+n]=Pv[n]}const xf={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";xf[e+"-flip"]=t,xf[e.slice(0,1)+"-flip"]=t,xf[e+"Flip"]=t});D1(!0);r6("",c6);if(typeof document<"u"&&typeof window<"u"){q1();const e=window;if(e.IconifyPreload!==void 0){const t=e.IconifyPreload,n="Invalid IconifyPreload syntax.";typeof t=="object"&&t!==null&&(t instanceof Array?t:[t]).forEach(r=>{try{(typeof r!="object"||r===null||r instanceof Array||typeof r.icons!="object"||typeof r.prefix!="string"||!e6(r))&&console.error(n)}catch{console.error(n)}})}if(e.IconifyProviders!==void 0){const t=e.IconifyProviders;if(typeof t=="object"&&t!==null)for(let n in t){const r="IconifyProviders["+n+"] is invalid.";try{const s=t[n];if(typeof s!="object"||!s||s.resources===void 0)continue;kd(n,s)||console.error(r)}catch{console.error(r)}}}}({...bp});const I6=["fluent-emoji-high-contrast","material-symbols-light","cryptocurrency-color","icon-park-outline","icon-park-twotone","fluent-emoji-flat","emojione-monotone","streamline-emojis","heroicons-outline","simple-line-icons","material-symbols","flat-color-icons","icon-park-solid","pepicons-pencil","heroicons-solid","pepicons-print","cryptocurrency","pixelarticons","system-uicons","bitcoin-icons","devicon-plain","entypo-social","token-branded","grommet-icons","vscode-icons","pepicons-pop","svg-spinners","fluent-emoji","simple-icons","circle-flags","medical-icon","icomoon-free","majesticons","radix-icons","humbleicons","fa6-regular","emojione-v1","skill-icons","academicons","healthicons","fluent-mdl2","teenyicons","ant-design","gravity-ui","akar-icons","lets-icons","streamline","fa6-brands","file-icons","game-icons","foundation","fa-regular","mono-icons","iconamoon","zondicons","mdi-light","eos-icons","gridicons","icon-park","heroicons","fa6-solid","meteocons","arcticons","dashicons","fa-brands","websymbol","fontelico","mingcute","flowbite","marketeq","bytesize","guidance","openmoji","emojione","nonicons","brandico","flagpack","fa-solid","fontisto","si-glyph","pepicons","iconoir","tdesign","clarity","octicon","codicon","pajamas","formkit","line-md","twemoji","noto-v1","fxemoji","devicon","raphael","flat-ui","topcoat","feather","tabler","carbon","lucide","memory","mynaui","circum","fluent","nimbus","entypo","icons8","subway","vaadin","solar","basil","typcn","charm","prime","quill","logos","token","covid","maki","gala","mage","ooui","noto","unjs","flag","iwwa","zmdi","bpmn","mdi","ion","uil","bxs","cil","uiw","uim","uit","uis","jam","oui","bxl","cib","cbi","cif","gis","map","geo","fad","eva","wpf","whh","ic","ph","ri","bi","bx","gg","ci","ep","fe","mi","f7","ei","wi","la","fa","oi","et","el","ls","vs","il","ps"];function R6(e=""){let t,n="";if(e[0]==="@"&&e.includes(":")&&(n=e.split(":")[0].slice(1),e=e.split(":").slice(1).join(":")),e.startsWith("i-")){e=e.replace(/^i-/,"");for(const r of I6)if(e.startsWith(r)){t=r,e=e.slice(r.length+1);break}}else if(e.includes(":")){const[r,s]=e.split(":");t=r,e=s}return{provider:n,prefix:t||"",name:e||""}}const O6=we({__name:"Icon",props:{name:{type:String,required:!0},size:{type:String,default:""}},async setup(e){let t,n;const r=nt(),s=ma(),i=e;gt(()=>{var b;return(b=s.nuxtIcon)==null?void 0:b.iconifyApiOptions},()=>{var b,E,C,S,A,B;if((E=(b=s.nuxtIcon)==null?void 0:b.iconifyApiOptions)!=null&&E.url){try{new URL(s.nuxtIcon.iconifyApiOptions.url)}catch{console.warn("Nuxt Icon: Invalid custom Iconify API URL");return}if((S=(C=s.nuxtIcon)==null?void 0:C.iconifyApiOptions)!=null&&S.publicApiFallback){kd("custom",{resources:[(A=s.nuxtIcon)==null?void 0:A.iconifyApiOptions.url],index:0});return}kd("",{resources:[(B=s.nuxtIcon)==null?void 0:B.iconifyApiOptions.url]})}},{immediate:!0});const l=ya("icons",()=>({})),u=te(!1),c=F(()=>{var b,E;return(E=(b=s.nuxtIcon)==null?void 0:b.aliases)!=null&&E[i.name]?s.nuxtIcon.aliases[i.name]:i.name}),p=F(()=>R6(c.value)),d=F(()=>[p.value.provider,p.value.prefix,p.value.name].filter(Boolean).join(":")),g=F(()=>{var b;return(b=l.value)==null?void 0:b[d.value]}),h=F(()=>{var b;return(b=r.vueApp)==null?void 0:b.component(c.value)}),v=F(()=>{var E,C,S;if(!i.size&&typeof((E=s.nuxtIcon)==null?void 0:E.size)=="boolean"&&!((C=s.nuxtIcon)!=null&&C.size))return;const b=i.size||((S=s.nuxtIcon)==null?void 0:S.size)||"1em";return String(Number(b))===b?`${b}px`:b}),_=F(()=>{var b;return((b=s==null?void 0:s.nuxtIcon)==null?void 0:b.class)??"icon"});async function x(){var b;h.value||(b=l.value)!=null&&b[d.value]||(u.value=!0,l.value[d.value]=await $6(p.value).catch(()=>{}),u.value=!1)}return gt(c,x),!h.value&&([t,n]=VT(()=>x()),t=await t,n()),(b,E)=>u.value?(V(),Z("span",{key:0,class:ae(_.value),style:ds({width:v.value,height:v.value})},null,6)):g.value?(V(),Ae(R(WL),{key:1,icon:g.value,class:ae(_.value),width:v.value,height:v.value},null,8,["icon","class","width","height"])):h.value?(V(),Ae(Zr(h.value),{key:2,class:ae(_.value),width:v.value,height:v.value},null,8,["class","width","height"])):(V(),Z("span",{key:3,class:ae(_.value),style:ds({fontSize:v.value,lineHeight:v.value,width:v.value,height:v.value})},[it(b.$slots,"default",{},()=>[de(et(e.name),1)],!0)],6))}}),K1=zt(O6,[["__scopeId","data-v-e8d572f6"]]),P6=Object.freeze(Object.defineProperty({__proto__:null,default:K1},Symbol.toStringTag,{value:"Module"})),L6=we({props:{name:{type:String,required:!0},dynamic:{type:Boolean,default:!1}},setup(e){const t=ma();return{dynamic:F(()=>{var r,s;return e.dynamic||((s=(r=t.ui)==null?void 0:r.icons)==null?void 0:s.dynamic)})}}});function M6(e,t,n,r,s,i){const l=K1;return e.dynamic?(V(),Ae(l,{key:0,name:e.name},null,8,["name"])):(V(),Z("span",{key:1,class:ae(e.name)},null,2))}const ar=zt(L6,[["render",M6]]);function Ep({ui:e,props:t}){const n=ir();if(bt("ButtonGroupContextConsumer",!0),Ke("ButtonGroupContextConsumer",!1))return{size:F(()=>t.size),rounded:F(()=>e.value.rounded)};let s=n.parent,i;for(;s&&!i;){if(s.type.name==="ButtonGroup"){i=Ke(`group-${s.uid}`);break}s=s.parent}const l=F(()=>i==null?void 0:i.value.children.indexOf(n));return ct(()=>{i==null||i.value.register(n)}),Ht(()=>{i==null||i.value.unregister(n)}),{size:F(()=>(i==null?void 0:i.value.size)||t.size),rounded:F(()=>!i||l.value===-1?e.value.rounded:i.value.children.length===1?i.value.ui.rounded:l.value===0?i.value.rounded.start:l.value===i.value.children.length-1?i.value.rounded.end:"rounded-none")}}const Wr=wn(Ge.ui.strategy,Ge.ui.input,vp),B6=we({components:{UIcon:ar},inheritAttrs:!1,props:{modelValue:{type:[String,Number],default:""},type:{type:String,default:"text"},id:{type:String,default:null},name:{type:String,default:null},placeholder:{type:String,default:null},required:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},autofocus:{type:Boolean,default:!1},autofocusDelay:{type:Number,default:100},icon:{type:String,default:null},loadingIcon:{type:String,default:()=>Wr.default.loadingIcon},leadingIcon:{type:String,default:null},trailingIcon:{type:String,default:null},trailing:{type:Boolean,default:!1},leading:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},padded:{type:Boolean,default:!0},size:{type:String,default:null,validator(e){return Object.keys(Wr.size).includes(e)}},color:{type:String,default:()=>Wr.default.color,validator(e){return[...Ge.ui.colors,...Object.keys(Wr.color)].includes(e)}},variant:{type:String,default:()=>Wr.default.variant,validator(e){return[...Object.keys(Wr.variant),...Object.values(Wr.color).flatMap(t=>Object.keys(t))].includes(e)}},inputClass:{type:String,default:null},class:{type:[String,Object,Array],default:()=>""},ui:{type:Object,default:()=>({})},modelModifiers:{type:Object,default:()=>({})}},emits:["update:modelValue","blur","change"],setup(e,{emit:t,slots:n}){const{ui:r,attrs:s}=On("input",Ot(e,"ui"),Wr,Ot(e,"class")),{size:i,rounded:l}=Ep({ui:r,props:e}),{emitFormBlur:u,emitFormInput:c,size:p,color:d,inputId:g,name:h}=ba(e,Wr),v=F(()=>i.value||p.value),_=te(wu({},e.modelModifiers,{trim:!1,lazy:!1,number:!1})),x=te(null),b=()=>{var ce;e.autofocus&&((ce=x.value)==null||ce.focus())},E=ce=>{_.value.trim&&(ce=ce.trim()),(_.value.number||e.type==="number")&&(ce=y1(ce)),t("update:modelValue",ce),c()},C=ce=>{_.value.lazy||E(ce.target.value)},S=ce=>{if(e.type==="file"){const ke=ce.target.files;t("change",ke)}else{const ke=ce.target.value;t("change",ke),_.value.lazy&&E(ke),_.value.trim&&(ce.target.value=ke.trim())}},A=ce=>{u(),t("blur",ce)};ct(()=>{setTimeout(()=>{b()},e.autofocusDelay)});const B=F(()=>{var ke,ie;const ce=((ie=(ke=r.value.color)==null?void 0:ke[d.value])==null?void 0:ie[e.variant])||r.value.variant[e.variant];return Un(pt(r.value.base,r.value.form,l.value,r.value.placeholder,e.type==="file"&&[r.value.file.base,r.value.file.padding[v.value]],r.value.size[v.value],e.padded?r.value.padding[v.value]:"p-0",ce==null?void 0:ce.replaceAll("{color}",d.value),(L.value||n.leading)&&r.value.leading.padding[v.value],(H.value||n.trailing)&&r.value.trailing.padding[v.value]),e.inputClass)}),L=F(()=>e.icon&&e.leading||e.icon&&!e.trailing||e.loading&&!e.trailing||e.leadingIcon),H=F(()=>e.icon&&e.trailing||e.loading&&e.trailing||e.trailingIcon),j=F(()=>e.loading?e.loadingIcon:e.leadingIcon||e.icon),q=F(()=>e.loading&&!L.value?e.loadingIcon:e.trailingIcon||e.icon),K=F(()=>pt(r.value.icon.leading.wrapper,r.value.icon.leading.pointer,r.value.icon.leading.padding[v.value])),Y=F(()=>pt(r.value.icon.base,d.value&&Ge.ui.colors.includes(d.value)&&r.value.icon.color.replaceAll("{color}",d.value),r.value.icon.size[v.value],e.loading&&r.value.icon.loading)),z=F(()=>pt(r.value.icon.trailing.wrapper,r.value.icon.trailing.pointer,r.value.icon.trailing.padding[v.value])),be=F(()=>pt(r.value.icon.base,d.value&&Ge.ui.colors.includes(d.value)&&r.value.icon.color.replaceAll("{color}",d.value),r.value.icon.size[v.value],e.loading&&!L.value&&r.value.icon.loading));return{ui:r,attrs:s,name:h,inputId:g,input:x,isLeading:L,isTrailing:H,inputClass:B,leadingIconName:j,leadingIconClass:Y,leadingWrapperIconClass:K,trailingIconName:q,trailingIconClass:be,trailingWrapperIconClass:z,onInput:C,onChange:S,onBlur:A}}}),F6=["id","name","value","type","required","placeholder","disabled"];function D6(e,t,n,r,s,i){const l=ar;return V(),Z("div",{class:ae(e.ui.wrapper)},[I("input",lt({id:e.inputId,ref:"input",name:e.name,value:e.modelValue,type:e.type,required:e.required,placeholder:e.placeholder,disabled:e.disabled,class:e.inputClass},e.attrs,{onInput:t[0]||(t[0]=(...u)=>e.onInput&&e.onInput(...u)),onBlur:t[1]||(t[1]=(...u)=>e.onBlur&&e.onBlur(...u)),onChange:t[2]||(t[2]=(...u)=>e.onChange&&e.onChange(...u))}),null,16,F6),it(e.$slots,"default"),e.isLeading&&e.leadingIconName||e.$slots.leading?(V(),Z("span",{key:0,class:ae(e.leadingWrapperIconClass)},[it(e.$slots,"leading",{disabled:e.disabled,loading:e.loading},()=>[P(l,{name:e.leadingIconName,class:ae(e.leadingIconClass)},null,8,["name","class"])])],2)):Ie("",!0),e.isTrailing&&e.trailingIconName||e.$slots.trailing?(V(),Z("span",{key:1,class:ae(e.trailingWrapperIconClass)},[it(e.$slots,"trailing",{disabled:e.disabled,loading:e.loading},()=>[P(l,{name:e.trailingIconName,class:ae(e.trailingIconClass)},null,8,["name","class"])])],2)):Ie("",!0)],2)}const li=zt(B6,[["render",D6]]),kf=wn(Ge.ui.strategy,Ge.ui.formGroup,nL),V6=we({inheritAttrs:!1,props:{name:{type:String,default:null},size:{type:String,default:null,validator(e){return Object.keys(kf.size).includes(e)}},label:{type:String,default:null},description:{type:String,default:null},required:{type:Boolean,default:!1},help:{type:String,default:null},error:{type:[String,Boolean],default:null},hint:{type:String,default:null},class:{type:[String,Object,Array],default:()=>""},ui:{type:Object,default:()=>({})},eagerValidation:{type:Boolean,default:!1}},setup(e){const{ui:t,attrs:n}=On("formGroup",Ot(e,"ui"),kf,Ot(e,"class")),r=Ke("form-errors",null),s=F(()=>{var u,c;return e.error&&typeof e.error=="string"||typeof e.error=="boolean"?e.error:(c=(u=r==null?void 0:r.value)==null?void 0:u.find(p=>p.path===e.name))==null?void 0:c.message}),i=F(()=>t.value.size[e.size??kf.default.size]),l=te(ii("$K7dDJpdOWE"));return bt("form-group",{error:s,inputId:l,name:F(()=>e.name),size:F(()=>e.size),eagerValidation:F(()=>e.eagerValidation)}),{ui:t,attrs:n,inputId:l,size:i,error:s}}}),N6=["for"];function j6(e,t,n,r,s,i){return V(),Z("div",lt({class:e.ui.wrapper},e.attrs),[I("div",{class:ae(e.ui.inner)},[e.label||e.$slots.label?(V(),Z("div",{key:0,class:ae([e.ui.label.wrapper,e.size])},[I("label",{for:e.inputId,class:ae([e.ui.label.base,e.required?e.ui.label.required:""])},[e.$slots.label?it(e.$slots,"label",Er(lt({key:0},{error:e.error,label:e.label,name:e.name,hint:e.hint,description:e.description,help:e.help}))):(V(),Z(Ye,{key:1},[de(et(e.label),1)],64))],10,N6),e.hint||e.$slots.hint?(V(),Z("span",{key:0,class:ae([e.ui.hint])},[e.$slots.hint?it(e.$slots,"hint",Er(lt({key:0},{error:e.error,label:e.label,name:e.name,hint:e.hint,description:e.description,help:e.help}))):(V(),Z(Ye,{key:1},[de(et(e.hint),1)],64))],2)):Ie("",!0)],2)):Ie("",!0),e.description||e.$slots.description?(V(),Z("p",{key:1,class:ae([e.ui.description,e.size])},[e.$slots.description?it(e.$slots,"description",Er(lt({key:0},{error:e.error,label:e.label,name:e.name,hint:e.hint,description:e.description,help:e.help}))):(V(),Z(Ye,{key:1},[de(et(e.description),1)],64))],2)):Ie("",!0)],2),I("div",{class:ae([e.label?e.ui.container:""])},[it(e.$slots,"default",Er(Qs({error:e.error}))),typeof e.error=="string"&&e.error||e.$slots.error?(V(),Z("p",{key:0,class:ae([e.ui.error,e.size])},[e.$slots.error?it(e.$slots,"error",Er(lt({key:0},{error:e.error,label:e.label,name:e.name,hint:e.hint,description:e.description,help:e.help}))):(V(),Z(Ye,{key:1},[de(et(e.error),1)],64))],2)):e.help||e.$slots.help?(V(),Z("p",{key:1,class:ae([e.ui.help,e.size])},[e.$slots.help?it(e.$slots,"help",Er(lt({key:0},{error:e.error,label:e.label,name:e.name,hint:e.hint,description:e.description,help:e.help}))):(V(),Z(Ye,{key:1},[de(et(e.help),1)],64))],2)):Ie("",!0)],2)],16)}const ui=zt(V6,[["render",j6]]),U6={class:"w-full flex justify-between items-center"},H6={class:"relative flex justify-start bg-inherit z-10"},z6=["textContent"],W6=I("div",{class:"w-full border-t-2 border-dashed border-gray-300 dark:border-gray-600"},null,-1),G1=we({__name:"Divider",props:{title:{type:String,required:!0}},setup(e){return(t,n)=>(V(),Z("div",U6,[I("div",H6,[I("span",{class:"pr-3 text-lg font-bold text-gray-900 dark:text-gray-100 whitespace-nowrap",textContent:et(e.title)},null,8,z6)]),W6]))}});function J1(e,t,n){let r=te(n==null?void 0:n.value),s=F(()=>e.value!==void 0);return[F(()=>s.value?e.value:r.value),function(i){return s.value||(r.value=i),t==null?void 0:t(i)}]}let Z1=Symbol("headlessui.useid"),q6=0;function sr(){return Ke(Z1,()=>`${++q6}`)()}function Tp(e){bt(Z1,e)}function Be(e){var t;if(e==null||e.value==null)return null;let n=(t=e.value.$el)!=null?t:e.value;return n instanceof Node?n:null}function Hn(e,t,...n){if(e in t){let s=t[e];return typeof s=="function"?s(...n):s}let r=new Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map(s=>`"${s}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(r,Hn),r}var K6=Object.defineProperty,G6=(e,t,n)=>t in e?K6(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Mv=(e,t,n)=>(G6(e,typeof t!="symbol"?t+"":t,n),n);let J6=class{constructor(){Mv(this,"current",this.detect()),Mv(this,"currentId",0)}set(t){this.current!==t&&(this.currentId=0,this.current=t)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return this.current==="server"}get isClient(){return this.current==="client"}detect(){return typeof window>"u"||typeof document>"u"?"server":"client"}},_a=new J6;function gr(e){if(_a.isServer)return null;if(e instanceof Node)return e.ownerDocument;if(e!=null&&e.hasOwnProperty("value")){let t=Be(e);if(t)return t.ownerDocument}return document}let Td=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map(e=>`${e}:not([tabindex='-1'])`).join(",");var An=(e=>(e[e.First=1]="First",e[e.Previous=2]="Previous",e[e.Next=4]="Next",e[e.Last=8]="Last",e[e.WrapAround=16]="WrapAround",e[e.NoScroll=32]="NoScroll",e))(An||{}),lu=(e=>(e[e.Error=0]="Error",e[e.Overflow=1]="Overflow",e[e.Success=2]="Success",e[e.Underflow=3]="Underflow",e))(lu||{}),Z6=(e=>(e[e.Previous=-1]="Previous",e[e.Next=1]="Next",e))(Z6||{});function Y1(e=document.body){return e==null?[]:Array.from(e.querySelectorAll(Td)).sort((t,n)=>Math.sign((t.tabIndex||Number.MAX_SAFE_INTEGER)-(n.tabIndex||Number.MAX_SAFE_INTEGER)))}var $p=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))($p||{});function Ap(e,t=0){var n;return e===((n=gr(e))==null?void 0:n.body)?!1:Hn(t,{0(){return e.matches(Td)},1(){let r=e;for(;r!==null;){if(r.matches(Td))return!0;r=r.parentElement}return!1}})}function Q1(e){let t=gr(e);an(()=>{t&&!Ap(t.activeElement,0)&&Io(e)})}var Y6=(e=>(e[e.Keyboard=0]="Keyboard",e[e.Mouse=1]="Mouse",e))(Y6||{});typeof window<"u"&&typeof document<"u"&&(document.addEventListener("keydown",e=>{e.metaKey||e.altKey||e.ctrlKey||(document.documentElement.dataset.headlessuiFocusVisible="")},!0),document.addEventListener("click",e=>{e.detail===1?delete document.documentElement.dataset.headlessuiFocusVisible:e.detail===0&&(document.documentElement.dataset.headlessuiFocusVisible="")},!0));function Io(e){e==null||e.focus({preventScroll:!0})}let Q6=["textarea","input"].join(",");function X6(e){var t,n;return(n=(t=e==null?void 0:e.matches)==null?void 0:t.call(e,Q6))!=null?n:!1}function Ip(e,t=n=>n){return e.slice().sort((n,r)=>{let s=t(n),i=t(r);if(s===null||i===null)return 0;let l=s.compareDocumentPosition(i);return l&Node.DOCUMENT_POSITION_FOLLOWING?-1:l&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function e8(e,t){return fs(Y1(),t,{relativeTo:e})}function fs(e,t,{sorted:n=!0,relativeTo:r=null,skipElements:s=[]}={}){var i;let l=(i=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e==null?void 0:e.ownerDocument)!=null?i:document,u=Array.isArray(e)?n?Ip(e):e:Y1(e);s.length>0&&u.length>1&&(u=u.filter(_=>!s.includes(_))),r=r??l.activeElement;let c=(()=>{if(t&5)return 1;if(t&10)return-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),p=(()=>{if(t&1)return 0;if(t&2)return Math.max(0,u.indexOf(r))-1;if(t&4)return Math.max(0,u.indexOf(r))+1;if(t&8)return u.length-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),d=t&32?{preventScroll:!0}:{},g=0,h=u.length,v;do{if(g>=h||g+h<=0)return 0;let _=p+g;if(t&16)_=(_+h)%h;else{if(_<0)return 3;if(_>=h)return 1}v=u[_],v==null||v.focus(d),g+=c}while(v!==l.activeElement);return t&6&&X6(v)&&v.select(),2}function X1(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function t8(){return/Android/gi.test(window.navigator.userAgent)}function n8(){return X1()||t8()}function Al(e,t,n){_a.isServer||Xt(r=>{document.addEventListener(e,t,n),r(()=>document.removeEventListener(e,t,n))})}function e_(e,t,n){_a.isServer||Xt(r=>{window.addEventListener(e,t,n),r(()=>window.removeEventListener(e,t,n))})}function t_(e,t,n=F(()=>!0)){function r(i,l){if(!n.value||i.defaultPrevented)return;let u=l(i);if(u===null||!u.getRootNode().contains(u))return;let c=function p(d){return typeof d=="function"?p(d()):Array.isArray(d)||d instanceof Set?d:[d]}(e);for(let p of c){if(p===null)continue;let d=p instanceof HTMLElement?p:Be(p);if(d!=null&&d.contains(u)||i.composed&&i.composedPath().includes(d))return}return!Ap(u,$p.Loose)&&u.tabIndex!==-1&&i.preventDefault(),t(i,u)}let s=te(null);Al("pointerdown",i=>{var l,u;n.value&&(s.value=((u=(l=i.composedPath)==null?void 0:l.call(i))==null?void 0:u[0])||i.target)},!0),Al("mousedown",i=>{var l,u;n.value&&(s.value=((u=(l=i.composedPath)==null?void 0:l.call(i))==null?void 0:u[0])||i.target)},!0),Al("click",i=>{n8()||s.value&&(r(i,()=>s.value),s.value=null)},!0),Al("touchend",i=>r(i,()=>i.target instanceof HTMLElement?i.target:null),!0),e_("blur",i=>r(i,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null),!0)}function Bv(e,t){if(e)return e;let n=t??"button";if(typeof n=="string"&&n.toLowerCase()==="button")return"button"}function Rp(e,t){let n=te(Bv(e.value.type,e.value.as));return ct(()=>{n.value=Bv(e.value.type,e.value.as)}),Xt(()=>{var r;n.value||Be(t)&&Be(t)instanceof HTMLButtonElement&&!((r=Be(t))!=null&&r.hasAttribute("type"))&&(n.value="button")}),n}function Fv(e){return[e.screenX,e.screenY]}function r8(){let e=te([-1,-1]);return{wasMoved(t){let n=Fv(t);return e.value[0]===n[0]&&e.value[1]===n[1]?!1:(e.value=n,!0)},update(t){e.value=Fv(t)}}}function n_({container:e,accept:t,walk:n,enabled:r}){Xt(()=>{let s=e.value;if(!s||r!==void 0&&!r.value)return;let i=gr(e);if(!i)return;let l=Object.assign(c=>t(c),{acceptNode:t}),u=i.createTreeWalker(s,NodeFilter.SHOW_ELEMENT,l,!1);for(;u.nextNode();)n(u.currentNode)})}var Ro=(e=>(e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",e[e.Static=2]="Static",e))(Ro||{}),Co=(e=>(e[e.Unmount=0]="Unmount",e[e.Hidden=1]="Hidden",e))(Co||{});function Kt({visible:e=!0,features:t=0,ourProps:n,theirProps:r,...s}){var i;let l=o_(r,n),u=Object.assign(s,{props:l});if(e||t&2&&l.static)return Sf(u);if(t&1){let c=(i=l.unmount)==null||i?0:1;return Hn(c,{0(){return null},1(){return Sf({...s,props:{...l,hidden:!0,style:{display:"none"}}})}})}return Sf(u)}function Sf({props:e,attrs:t,slots:n,slot:r,name:s}){var i,l;let{as:u,...c}=Au(e,["unmount","static"]),p=(i=n.default)==null?void 0:i.call(n,r),d={};if(r){let g=!1,h=[];for(let[v,_]of Object.entries(r))typeof _=="boolean"&&(g=!0),_===!0&&h.push(v);g&&(d["data-headlessui-state"]=h.join(" "))}if(u==="template"){if(p=r_(p??[]),Object.keys(c).length>0||Object.keys(t).length>0){let[g,...h]=p??[];if(!o8(g)||h.length>0)throw new Error(['Passing props on "template"!',"",`The current component <${s} /> is rendering a "template".`,"However we need to passthrough the following props:",Object.keys(c).concat(Object.keys(t)).map(x=>x.trim()).filter((x,b,E)=>E.indexOf(x)===b).sort((x,b)=>x.localeCompare(b)).map(x=>` - ${x}`).join(` `),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "template".',"Render a single element as the child so that we can forward the props onto that element."].map(x=>` - ${x}`).join(` `)].join(` -`));let v=d_((l=g.props)!=null?l:{},c,d),_=Rr(g,v,!0);for(let x in v)x.startsWith("on")&&(_.props||(_.props={}),_.props[x]=v[x]);return _}return Array.isArray(p)&&p.length===1?p[0]:p}return Xe(u,Object.assign({},c,d),{default:()=>p})}function f_(e){return e.flatMap(t=>t.type===Ye?f_(t.children):[t])}function d_(...e){if(e.length===0)return{};if(e.length===1)return e[0];let t={},n={};for(let r of e)for(let s in r)s.startsWith("on")&&typeof r[s]=="function"?(n[s]!=null||(n[s]=[]),n[s].push(r[s])):t[s]=r[s];if(t.disabled||t["aria-disabled"])return Object.assign(t,Object.fromEntries(Object.keys(n).map(r=>[r,void 0])));for(let r in n)Object.assign(t,{[r](s,...i){let l=n[r];for(let u of l){if(s instanceof Event&&s.defaultPrevented)return;u(s,...i)}}});return t}function p_(e){let t=Object.assign({},e);for(let n in t)t[n]===void 0&&delete t[n];return t}function Ou(e,t=[]){let n=Object.assign({},e);for(let r of t)r in n&&delete n[r];return n}function m8(e){return e==null?!1:typeof e.type=="string"||typeof e.type=="object"||typeof e.type=="function"}var ti=(e=>(e[e.None=1]="None",e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",e))(ti||{});let la=we({name:"Hidden",props:{as:{type:[Object,String],default:"div"},features:{type:Number,default:1}},setup(e,{slots:t,attrs:n}){return()=>{var r;let{features:s,...i}=e,l={"aria-hidden":(s&2)===2?!0:(r=i["aria-hidden"])!=null?r:void 0,hidden:(s&4)===4?!0:void 0,style:{position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...(s&4)===4&&(s&2)!==2&&{display:"none"}}};return Kt({ourProps:l,theirProps:i,slot:{},attrs:n,slots:t,name:"Hidden"})}}}),h_=Symbol("Context");var Ut=(e=>(e[e.Open=1]="Open",e[e.Closed=2]="Closed",e[e.Closing=4]="Closing",e[e.Opening=8]="Opening",e))(Ut||{});function v8(){return ka()!==null}function ka(){return Ke(h_,null)}function Fp(e){bt(h_,e)}var dt=(e=>(e.Space=" ",e.Enter="Enter",e.Escape="Escape",e.Backspace="Backspace",e.Delete="Delete",e.ArrowLeft="ArrowLeft",e.ArrowUp="ArrowUp",e.ArrowRight="ArrowRight",e.ArrowDown="ArrowDown",e.Home="Home",e.End="End",e.PageUp="PageUp",e.PageDown="PageDown",e.Tab="Tab",e))(dt||{});function y8(e){function t(){document.readyState!=="loading"&&(e(),document.removeEventListener("DOMContentLoaded",t))}typeof window<"u"&&typeof document<"u"&&(document.addEventListener("DOMContentLoaded",t),t())}let rs=[];y8(()=>{function e(t){t.target instanceof HTMLElement&&t.target!==document.body&&rs[0]!==t.target&&(rs.unshift(t.target),rs=rs.filter(n=>n!=null&&n.isConnected),rs.splice(10))}window.addEventListener("click",e,{capture:!0}),window.addEventListener("mousedown",e,{capture:!0}),window.addEventListener("focus",e,{capture:!0}),document.body.addEventListener("click",e,{capture:!0}),document.body.addEventListener("mousedown",e,{capture:!0}),document.body.addEventListener("focus",e,{capture:!0})});function b8(e){throw new Error("Unexpected object: "+e)}var Un=(e=>(e[e.First=0]="First",e[e.Previous=1]="Previous",e[e.Next=2]="Next",e[e.Last=3]="Last",e[e.Specific=4]="Specific",e[e.Nothing=5]="Nothing",e))(Un||{});function _8(e,t){let n=t.resolveItems();if(n.length<=0)return null;let r=t.resolveActiveIndex(),s=r??-1;switch(e.focus){case 0:{for(let i=0;i=0;--i)if(!t.resolveDisabled(n[i],i,n))return i;return r}case 2:{for(let i=s+1;i=0;--i)if(!t.resolveDisabled(n[i],i,n))return i;return r}case 4:{for(let i=0;isetTimeout(()=>{throw t}))}function Sa(){let e=[],t={addEventListener(n,r,s,i){return n.addEventListener(r,s,i),t.add(()=>n.removeEventListener(r,s,i))},requestAnimationFrame(...n){let r=requestAnimationFrame(...n);t.add(()=>cancelAnimationFrame(r))},nextFrame(...n){t.requestAnimationFrame(()=>{t.requestAnimationFrame(...n)})},setTimeout(...n){let r=setTimeout(...n);t.add(()=>clearTimeout(r))},microTask(...n){let r={current:!0};return Dp(()=>{r.current&&n[0]()}),t.add(()=>{r.current=!1})},style(n,r,s){let i=n.style.getPropertyValue(r);return Object.assign(n.style,{[r]:s}),this.add(()=>{Object.assign(n.style,{[r]:i})})},group(n){let r=Sa();return n(r),this.add(()=>r.dispose())},add(n){return e.push(n),()=>{let r=e.indexOf(n);if(r>=0)for(let s of e.splice(r,1))s()}},dispose(){for(let n of e.splice(0))n()}};return t}function g_(e={},t=null,n=[]){for(let[r,s]of Object.entries(e))v_(n,m_(t,r),s);return n}function m_(e,t){return e?e+"["+t+"]":t}function v_(e,t,n){if(Array.isArray(n))for(let[r,s]of n.entries())v_(e,m_(t,r.toString()),s);else n instanceof Date?e.push([t,n.toISOString()]):typeof n=="boolean"?e.push([t,n?"1":"0"]):typeof n=="string"?e.push([t,n]):typeof n=="number"?e.push([t,`${n}`]):n==null?e.push([t,""]):g_(n,t,e)}function y_(e){var t,n;let r=(t=e==null?void 0:e.form)!=null?t:e.closest("form");if(r){for(let s of r.elements)if(s!==e&&(s.tagName==="INPUT"&&s.type==="submit"||s.tagName==="BUTTON"&&s.type==="submit"||s.nodeName==="INPUT"&&s.type==="image")){s.click();return}(n=r.requestSubmit)==null||n.call(r)}}function b_(e,t,n,r){xa.isServer||Xt(s=>{e=e??window,e.addEventListener(t,n,r),s(()=>e.removeEventListener(t,n,r))})}var Ni=(e=>(e[e.Forwards=0]="Forwards",e[e.Backwards=1]="Backwards",e))(Ni||{});function w8(){let e=te(0);return l_("keydown",t=>{t.key==="Tab"&&(e.value=t.shiftKey?1:0)}),e}function __(e){if(!e)return new Set;if(typeof e=="function")return new Set(e());let t=new Set;for(let n of e.value){let r=Be(n);r instanceof HTMLElement&&t.add(r)}return t}var w_=(e=>(e[e.None=1]="None",e[e.InitialFocus=2]="InitialFocus",e[e.TabLock=4]="TabLock",e[e.FocusLock=8]="FocusLock",e[e.RestoreFocus=16]="RestoreFocus",e[e.All=30]="All",e))(w_||{});let Li=Object.assign(we({name:"FocusTrap",props:{as:{type:[Object,String],default:"div"},initialFocus:{type:Object,default:null},features:{type:Number,default:30},containers:{type:[Object,Function],default:te(new Set)}},inheritAttrs:!1,setup(e,{attrs:t,slots:n,expose:r}){let s=te(null);r({el:s,$el:s});let i=F(()=>gr(s)),l=te(!1);ct(()=>l.value=!0),Ht(()=>l.value=!1),k8({ownerDocument:i},F(()=>l.value&&!!(e.features&16)));let u=S8({ownerDocument:i,container:s,initialFocus:F(()=>e.initialFocus)},F(()=>l.value&&!!(e.features&2)));C8({ownerDocument:i,container:s,containers:e.containers,previousActiveElement:u},F(()=>l.value&&!!(e.features&8)));let c=w8();function p(v){let _=Be(s);_&&(x=>x())(()=>{zn(c.value,{[Ni.Forwards]:()=>{fs(_,An.First,{skipElements:[v.relatedTarget]})},[Ni.Backwards]:()=>{fs(_,An.Last,{skipElements:[v.relatedTarget]})}})})}let d=te(!1);function g(v){v.key==="Tab"&&(d.value=!0,requestAnimationFrame(()=>{d.value=!1}))}function h(v){if(!l.value)return;let _=__(e.containers);Be(s)instanceof HTMLElement&&_.add(Be(s));let x=v.relatedTarget;x instanceof HTMLElement&&x.dataset.headlessuiFocusGuard!=="true"&&(x_(_,x)||(d.value?fs(Be(s),zn(c.value,{[Ni.Forwards]:()=>An.Next,[Ni.Backwards]:()=>An.Previous})|An.WrapAround,{relativeTo:v.target}):v.target instanceof HTMLElement&&Ro(v.target)))}return()=>{let v={},_={ref:s,onKeydown:g,onFocusout:h},{features:x,initialFocus:b,containers:E,...C}=e;return Xe(Ye,[!!(x&4)&&Xe(la,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:p,features:ti.Focusable}),Kt({ourProps:_,theirProps:{...t,...C},slot:v,attrs:t,slots:n,name:"FocusTrap"}),!!(x&4)&&Xe(la,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:p,features:ti.Focusable})])}}}),{features:w_});function x8(e){let t=te(rs.slice());return gt([e],([n],[r])=>{r===!0&&n===!1?Dp(()=>{t.value.splice(0)}):r===!1&&n===!0&&(t.value=rs.slice())},{flush:"post"}),()=>{var n;return(n=t.value.find(r=>r!=null&&r.isConnected))!=null?n:null}}function k8({ownerDocument:e},t){let n=x8(t);ct(()=>{Xt(()=>{var r,s;t.value||((r=e.value)==null?void 0:r.activeElement)===((s=e.value)==null?void 0:s.body)&&Ro(n())},{flush:"post"})}),Ht(()=>{t.value&&Ro(n())})}function S8({ownerDocument:e,container:t,initialFocus:n},r){let s=te(null),i=te(!1);return ct(()=>i.value=!0),Ht(()=>i.value=!1),ct(()=>{gt([t,n,r],(l,u)=>{if(l.every((p,d)=>(u==null?void 0:u[d])===p)||!r.value)return;let c=Be(t);c&&Dp(()=>{var p,d;if(!i.value)return;let g=Be(n),h=(p=e.value)==null?void 0:p.activeElement;if(g){if(g===h){s.value=h;return}}else if(c.contains(h)){s.value=h;return}g?Ro(g):fs(c,An.First|An.NoScroll)===cu.Error&&console.warn("There are no focusable elements inside the "),s.value=(d=e.value)==null?void 0:d.activeElement})},{immediate:!0,flush:"post"})}),s}function C8({ownerDocument:e,container:t,containers:n,previousActiveElement:r},s){var i;b_((i=e.value)==null?void 0:i.defaultView,"focus",l=>{if(!s.value)return;let u=__(n);Be(t)instanceof HTMLElement&&u.add(Be(t));let c=r.value;if(!c)return;let p=l.target;p&&p instanceof HTMLElement?x_(u,p)?(r.value=p,Ro(p)):(l.preventDefault(),l.stopPropagation(),Ro(c)):Ro(r.value)},!0)}function x_(e,t){for(let n of e)if(n.contains(t))return!0;return!1}function E8(e){let t=Ir(e.getSnapshot());return Ht(e.subscribe(()=>{t.value=e.getSnapshot()})),t}function T8(e,t){let n=e(),r=new Set;return{getSnapshot(){return n},subscribe(s){return r.add(s),()=>r.delete(s)},dispatch(s,...i){let l=t[s].call(n,...i);l&&(n=l,r.forEach(u=>u()))}}}function $8(){let e;return{before({doc:t}){var n;let r=t.documentElement;e=((n=t.defaultView)!=null?n:window).innerWidth-r.clientWidth},after({doc:t,d:n}){let r=t.documentElement,s=r.clientWidth-r.offsetWidth,i=e-s;n.style(r,"paddingRight",`${i}px`)}}}function A8(){return a_()?{before({doc:e,d:t,meta:n}){function r(s){return n.containers.flatMap(i=>i()).some(i=>i.contains(s))}t.microTask(()=>{var s;if(window.getComputedStyle(e.documentElement).scrollBehavior!=="auto"){let u=Sa();u.style(e.documentElement,"scrollBehavior","auto"),t.add(()=>t.microTask(()=>u.dispose()))}let i=(s=window.scrollY)!=null?s:window.pageYOffset,l=null;t.addEventListener(e,"click",u=>{if(u.target instanceof HTMLElement)try{let c=u.target.closest("a");if(!c)return;let{hash:p}=new URL(c.href),d=e.querySelector(p);d&&!r(d)&&(l=d)}catch{}},!0),t.addEventListener(e,"touchstart",u=>{if(u.target instanceof HTMLElement)if(r(u.target)){let c=u.target;for(;c.parentElement&&r(c.parentElement);)c=c.parentElement;t.style(c,"overscrollBehavior","contain")}else t.style(u.target,"touchAction","none")}),t.addEventListener(e,"touchmove",u=>{if(u.target instanceof HTMLElement)if(r(u.target)){let c=u.target;for(;c.parentElement&&c.dataset.headlessuiPortal!==""&&!(c.scrollHeight>c.clientHeight||c.scrollWidth>c.clientWidth);)c=c.parentElement;c.dataset.headlessuiPortal===""&&u.preventDefault()}else u.preventDefault()},{passive:!1}),t.add(()=>{var u;let c=(u=window.scrollY)!=null?u:window.pageYOffset;i!==c&&window.scrollTo(0,i),l&&l.isConnected&&(l.scrollIntoView({block:"nearest"}),l=null)})})}}:{}}function I8(){return{before({doc:e,d:t}){t.style(e.documentElement,"overflow","hidden")}}}function R8(e){let t={};for(let n of e)Object.assign(t,n(t));return t}let is=T8(()=>new Map,{PUSH(e,t){var n;let r=(n=this.get(e))!=null?n:{doc:e,count:0,d:Sa(),meta:new Set};return r.count++,r.meta.add(t),this.set(e,r),this},POP(e,t){let n=this.get(e);return n&&(n.count--,n.meta.delete(t)),this},SCROLL_PREVENT({doc:e,d:t,meta:n}){let r={doc:e,d:t,meta:R8(n)},s=[A8(),$8(),I8()];s.forEach(({before:i})=>i==null?void 0:i(r)),s.forEach(({after:i})=>i==null?void 0:i(r))},SCROLL_ALLOW({d:e}){e.dispose()},TEARDOWN({doc:e}){this.delete(e)}});is.subscribe(()=>{let e=is.getSnapshot(),t=new Map;for(let[n]of e)t.set(n,n.documentElement.style.overflow);for(let n of e.values()){let r=t.get(n.doc)==="hidden",s=n.count!==0;(s&&!r||!s&&r)&&is.dispatch(n.count>0?"SCROLL_PREVENT":"SCROLL_ALLOW",n),n.count===0&&is.dispatch("TEARDOWN",n)}});function O8(e,t,n){let r=E8(is),s=F(()=>{let i=e.value?r.value.get(e.value):void 0;return i?i.count>0:!1});return gt([e,t],([i,l],[u],c)=>{if(!i||!l)return;is.dispatch("PUSH",i,n);let p=!1;c(()=>{p||(is.dispatch("POP",u??i,n),p=!0)})},{immediate:!0}),s}let $f=new Map,Mi=new Map;function zv(e,t=te(!0)){Xt(n=>{var r;if(!t.value)return;let s=Be(e);if(!s)return;n(function(){var l;if(!s)return;let u=(l=Mi.get(s))!=null?l:1;if(u===1?Mi.delete(s):Mi.set(s,u-1),u!==1)return;let c=$f.get(s);c&&(c["aria-hidden"]===null?s.removeAttribute("aria-hidden"):s.setAttribute("aria-hidden",c["aria-hidden"]),s.inert=c.inert,$f.delete(s))});let i=(r=Mi.get(s))!=null?r:0;Mi.set(s,i+1),i===0&&($f.set(s,{"aria-hidden":s.getAttribute("aria-hidden"),inert:s.inert}),s.setAttribute("aria-hidden","true"),s.inert=!0)})}function P8({defaultContainers:e=[],portals:t,mainTreeNodeRef:n}={}){let r=te(null),s=gr(r);function i(){var l,u,c;let p=[];for(let d of e)d!==null&&(d instanceof HTMLElement?p.push(d):"value"in d&&d.value instanceof HTMLElement&&p.push(d.value));if(t!=null&&t.value)for(let d of t.value)p.push(d);for(let d of(l=s==null?void 0:s.querySelectorAll("html > *, body > *"))!=null?l:[])d!==document.body&&d!==document.head&&d instanceof HTMLElement&&d.id!=="headlessui-portal-root"&&(d.contains(Be(r))||d.contains((c=(u=Be(r))==null?void 0:u.getRootNode())==null?void 0:c.host)||p.some(g=>d.contains(g))||p.push(d));return p}return{resolveContainers:i,contains(l){return i().some(u=>u.contains(l))},mainTreeNodeRef:r,MainTreeNode(){return n!=null?null:Xe(la,{features:ti.Hidden,ref:r})}}}let k_=Symbol("ForcePortalRootContext");function L8(){return Ke(k_,!1)}let Wv=we({name:"ForcePortalRoot",props:{as:{type:[Object,String],default:"template"},force:{type:Boolean,default:!1}},setup(e,{slots:t,attrs:n}){return bt(k_,e.force),()=>{let{force:r,...s}=e;return Kt({theirProps:s,ourProps:{},slot:{},slots:t,attrs:n,name:"ForcePortalRoot"})}}}),S_=Symbol("StackContext");var Rd=(e=>(e[e.Add=0]="Add",e[e.Remove=1]="Remove",e))(Rd||{});function M8(){return Ke(S_,()=>{})}function B8({type:e,enabled:t,element:n,onUpdate:r}){let s=M8();function i(...l){r==null||r(...l),s(...l)}ct(()=>{gt(t,(l,u)=>{l?i(0,e,n):u===!0&&i(1,e,n)},{immediate:!0,flush:"sync"})}),Ht(()=>{t.value&&i(1,e,n)}),bt(S_,i)}let F8=Symbol("DescriptionContext");function Vp({slot:e=te({}),name:t="Description",props:n={}}={}){let r=te([]);function s(i){return r.value.push(i),()=>{let l=r.value.indexOf(i);l!==-1&&r.value.splice(l,1)}}return bt(F8,{register:s,slot:e,name:t,props:n}),F(()=>r.value.length>0?r.value.join(" "):void 0)}function D8(e){let t=gr(e);if(!t){if(e===null)return null;throw new Error(`[Headless UI]: Cannot find ownerDocument for contextElement: ${e}`)}let n=t.getElementById("headlessui-portal-root");if(n)return n;let r=t.createElement("div");return r.setAttribute("id","headlessui-portal-root"),t.body.appendChild(r)}let V8=we({name:"Portal",props:{as:{type:[Object,String],default:"div"}},setup(e,{slots:t,attrs:n}){let r=te(null),s=F(()=>gr(r)),i=L8(),l=Ke(C_,null),u=te(i===!0||l==null?D8(r.value):l.resolveTarget()),c=te(!1);ct(()=>{c.value=!0}),Xt(()=>{i||l!=null&&(u.value=l.resolveTarget())});let p=Ke(Od,null),d=!1,g=ir();return gt(r,()=>{if(d||!p)return;let h=Be(r);h&&(Ht(p.register(h),g),d=!0)}),Ht(()=>{var h,v;let _=(h=s.value)==null?void 0:h.getElementById("headlessui-portal-root");_&&u.value===_&&u.value.children.length<=0&&((v=u.value.parentElement)==null||v.removeChild(u.value))}),()=>{if(!c.value||u.value===null)return null;let h={ref:r,"data-headlessui-portal":""};return Xe(nb,{to:u.value},Kt({ourProps:h,theirProps:e,slot:{},attrs:n,slots:t,name:"Portal"}))}}}),Od=Symbol("PortalParentContext");function N8(){let e=Ke(Od,null),t=te([]);function n(i){return t.value.push(i),e&&e.register(i),()=>r(i)}function r(i){let l=t.value.indexOf(i);l!==-1&&t.value.splice(l,1),e&&e.unregister(i)}let s={register:n,unregister:r,portals:t};return[t,we({name:"PortalWrapper",setup(i,{slots:l}){return bt(Od,s),()=>{var u;return(u=l.default)==null?void 0:u.call(l)}}})]}let C_=Symbol("PortalGroupContext"),j8=we({name:"PortalGroup",props:{as:{type:[Object,String],default:"template"},target:{type:Object,default:null}},setup(e,{attrs:t,slots:n}){let r=_n({resolveTarget(){return e.target}});return bt(C_,r),()=>{let{target:s,...i}=e;return Kt({theirProps:i,ourProps:{},slot:{},attrs:t,slots:n,name:"PortalGroup"})}}});var U8=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(U8||{});let Pd=Symbol("DialogContext");function E_(e){let t=Ke(Pd,null);if(t===null){let n=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,E_),n}return t}let Ol="DC8F892D-2EBD-447C-A4C8-A03058436FF4",T_=we({name:"Dialog",inheritAttrs:!1,props:{as:{type:[Object,String],default:"div"},static:{type:Boolean,default:!1},unmount:{type:Boolean,default:!0},open:{type:[Boolean,String],default:Ol},initialFocus:{type:Object,default:null},id:{type:String,default:null},role:{type:String,default:"dialog"}},emits:{close:e=>!0},setup(e,{emit:t,attrs:n,slots:r,expose:s}){var i,l;let u=(i=e.id)!=null?i:`headlessui-dialog-${sr()}`,c=te(!1);ct(()=>{c.value=!0});let p=!1,d=F(()=>e.role==="dialog"||e.role==="alertdialog"?e.role:(p||(p=!0,console.warn(`Invalid role [${d}] passed to . Only \`dialog\` and and \`alertdialog\` are supported. Using \`dialog\` instead.`)),"dialog")),g=te(0),h=ka(),v=F(()=>e.open===Ol&&h!==null?(h.value&Ut.Open)===Ut.Open:e.open),_=te(null),x=F(()=>gr(_));if(s({el:_,$el:_}),!(e.open!==Ol||h!==null))throw new Error("You forgot to provide an `open` prop to the `Dialog`.");if(typeof v.value!="boolean")throw new Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${v.value===Ol?void 0:e.open}`);let b=F(()=>c.value&&v.value?0:1),E=F(()=>b.value===0),C=F(()=>g.value>1),S=Ke(Pd,null)!==null,[A,B]=N8(),{resolveContainers:L,mainTreeNodeRef:U,MainTreeNode:j}=P8({portals:A,defaultContainers:[F(()=>{var Re;return(Re=Se.panelRef.value)!=null?Re:_.value})]}),q=F(()=>C.value?"parent":"leaf"),K=F(()=>h!==null?(h.value&Ut.Closing)===Ut.Closing:!1),Y=F(()=>S||K.value?!1:E.value),z=F(()=>{var Re,je,Ft;return(Ft=Array.from((je=(Re=x.value)==null?void 0:Re.querySelectorAll("body > *"))!=null?je:[]).find(Dt=>Dt.id==="headlessui-portal-root"?!1:Dt.contains(Be(U))&&Dt instanceof HTMLElement))!=null?Ft:null});zv(z,Y);let be=F(()=>C.value?!0:E.value),ce=F(()=>{var Re,je,Ft;return(Ft=Array.from((je=(Re=x.value)==null?void 0:Re.querySelectorAll("[data-headlessui-portal]"))!=null?je:[]).find(Dt=>Dt.contains(Be(U))&&Dt instanceof HTMLElement))!=null?Ft:null});zv(ce,be),B8({type:"Dialog",enabled:F(()=>b.value===0),element:_,onUpdate:(Re,je)=>{if(je==="Dialog")return zn(Re,{[Rd.Add]:()=>g.value+=1,[Rd.Remove]:()=>g.value-=1})}});let ke=Vp({name:"DialogDescription",slot:F(()=>({open:v.value}))}),ie=te(null),Se={titleId:ie,panelRef:te(null),dialogState:b,setTitleId(Re){ie.value!==Re&&(ie.value=Re)},close(){t("close",!1)}};bt(Pd,Se);let ve=F(()=>!(!E.value||C.value));u_(L,(Re,je)=>{Re.preventDefault(),Se.close(),an(()=>je==null?void 0:je.focus())},ve);let Lt=F(()=>!(C.value||b.value!==0));b_((l=x.value)==null?void 0:l.defaultView,"keydown",Re=>{Lt.value&&(Re.defaultPrevented||Re.key===dt.Escape&&(Re.preventDefault(),Re.stopPropagation(),Se.close()))});let Gt=F(()=>!(K.value||b.value!==0||S));return O8(x,Gt,Re=>{var je;return{containers:[...(je=Re.containers)!=null?je:[],L]}}),Xt(Re=>{if(b.value!==0)return;let je=Be(_);if(!je)return;let Ft=new ResizeObserver(Dt=>{for(let fn of Dt){let St=fn.target.getBoundingClientRect();St.x===0&&St.y===0&&St.width===0&&St.height===0&&Se.close()}});Ft.observe(je),Re(()=>Ft.disconnect())}),()=>{let{open:Re,initialFocus:je,...Ft}=e,Dt={...n,ref:_,id:u,role:d.value,"aria-modal":b.value===0?!0:void 0,"aria-labelledby":ie.value,"aria-describedby":ke.value},fn={open:b.value===0};return Xe(Wv,{force:!0},()=>[Xe(V8,()=>Xe(j8,{target:_.value},()=>Xe(Wv,{force:!1},()=>Xe(Li,{initialFocus:je,containers:L,features:E.value?zn(q.value,{parent:Li.features.RestoreFocus,leaf:Li.features.All&~Li.features.FocusLock}):Li.features.None},()=>Xe(B,{},()=>Kt({ourProps:Dt,theirProps:{...Ft,...n},slot:fn,attrs:n,slots:r,visible:b.value===0,features:Oo.RenderStrategy|Oo.Static,name:"Dialog"})))))),Xe(j)])}}}),$_=we({name:"DialogPanel",props:{as:{type:[Object,String],default:"div"},id:{type:String,default:null}},setup(e,{attrs:t,slots:n,expose:r}){var s;let i=(s=e.id)!=null?s:`headlessui-dialog-panel-${sr()}`,l=E_("DialogPanel");r({el:l.panelRef,$el:l.panelRef});function u(c){c.stopPropagation()}return()=>{let{...c}=e,p={id:i,ref:l.panelRef,onClick:u};return Kt({ourProps:p,theirProps:c,slot:{open:l.dialogState.value===0},attrs:t,slots:n,name:"DialogPanel"})}}});var H8=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(H8||{});let A_=Symbol("DisclosureContext");function Np(e){let t=Ke(A_,null);if(t===null){let n=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,Np),n}return t}let I_=Symbol("DisclosurePanelContext");function z8(){return Ke(I_,null)}let W8=we({name:"Disclosure",props:{as:{type:[Object,String],default:"template"},defaultOpen:{type:[Boolean],default:!1}},setup(e,{slots:t,attrs:n}){let r=te(e.defaultOpen?0:1),s=te(null),i=te(null),l={buttonId:te(`headlessui-disclosure-button-${sr()}`),panelId:te(`headlessui-disclosure-panel-${sr()}`),disclosureState:r,panel:s,button:i,toggleDisclosure(){r.value=zn(r.value,{0:1,1:0})},closeDisclosure(){r.value!==1&&(r.value=1)},close(u){l.closeDisclosure();let c=u?u instanceof HTMLElement?u:u.value instanceof HTMLElement?Be(u):Be(l.button):Be(l.button);c==null||c.focus()}};return bt(A_,l),Fp(F(()=>zn(r.value,{0:Ut.Open,1:Ut.Closed}))),()=>{let{defaultOpen:u,...c}=e,p={open:r.value===0,close:l.close};return Kt({theirProps:c,ourProps:{},slot:p,slots:t,attrs:n,name:"Disclosure"})}}}),q8=we({name:"DisclosureButton",props:{as:{type:[Object,String],default:"button"},disabled:{type:[Boolean],default:!1},id:{type:String,default:null}},setup(e,{attrs:t,slots:n,expose:r}){let s=Np("DisclosureButton"),i=z8(),l=F(()=>i===null?!1:i.value===s.panelId.value);ct(()=>{l.value||e.id!==null&&(s.buttonId.value=e.id)}),Ht(()=>{l.value||(s.buttonId.value=null)});let u=te(null);r({el:u,$el:u}),l.value||Xt(()=>{s.button.value=u.value});let c=Bp(F(()=>({as:e.as,type:t.type})),u);function p(){var h;e.disabled||(l.value?(s.toggleDisclosure(),(h=Be(s.button))==null||h.focus()):s.toggleDisclosure())}function d(h){var v;if(!e.disabled)if(l.value)switch(h.key){case dt.Space:case dt.Enter:h.preventDefault(),h.stopPropagation(),s.toggleDisclosure(),(v=Be(s.button))==null||v.focus();break}else switch(h.key){case dt.Space:case dt.Enter:h.preventDefault(),h.stopPropagation(),s.toggleDisclosure();break}}function g(h){switch(h.key){case dt.Space:h.preventDefault();break}}return()=>{var h;let v={open:s.disclosureState.value===0},{id:_,...x}=e,b=l.value?{ref:u,type:c.value,onClick:p,onKeydown:d}:{id:(h=s.buttonId.value)!=null?h:_,ref:u,type:c.value,"aria-expanded":s.disclosureState.value===0,"aria-controls":s.disclosureState.value===0||Be(s.panel)?s.panelId.value:void 0,disabled:e.disabled?!0:void 0,onClick:p,onKeydown:d,onKeyup:g};return Kt({ourProps:b,theirProps:x,slot:v,attrs:t,slots:n,name:"DisclosureButton"})}}}),K8=we({name:"DisclosurePanel",props:{as:{type:[Object,String],default:"div"},static:{type:Boolean,default:!1},unmount:{type:Boolean,default:!0},id:{type:String,default:null}},setup(e,{attrs:t,slots:n,expose:r}){let s=Np("DisclosurePanel");ct(()=>{e.id!==null&&(s.panelId.value=e.id)}),Ht(()=>{s.panelId.value=null}),r({el:s.panel,$el:s.panel}),bt(I_,s.panelId);let i=ka(),l=F(()=>i!==null?(i.value&Ut.Open)===Ut.Open:s.disclosureState.value===0);return()=>{var u;let c={open:s.disclosureState.value===0,close:s.close},{id:p,...d}=e,g={id:(u=s.panelId.value)!=null?u:p,ref:s.panel};return Kt({ourProps:g,theirProps:d,slot:c,attrs:t,slots:n,features:Oo.RenderStrategy|Oo.Static,visible:l.value,name:"DisclosurePanel"})}}}),qv=/([\u2700-\u27BF]|[\uE000-\uF8FF]|\uD83C[\uDC00-\uDFFF]|\uD83D[\uDC00-\uDFFF]|[\u2011-\u26FF]|\uD83E[\uDD10-\uDDFF])/g;function Kv(e){var t,n;let r=(t=e.innerText)!=null?t:"",s=e.cloneNode(!0);if(!(s instanceof HTMLElement))return r;let i=!1;for(let u of s.querySelectorAll('[hidden],[aria-hidden],[role="img"]'))u.remove(),i=!0;let l=i?(n=s.innerText)!=null?n:"":r;return qv.test(l)&&(l=l.replace(qv,"")),l}function G8(e){let t=e.getAttribute("aria-label");if(typeof t=="string")return t.trim();let n=e.getAttribute("aria-labelledby");if(n){let r=n.split(" ").map(s=>{let i=document.getElementById(s);if(i){let l=i.getAttribute("aria-label");return typeof l=="string"?l.trim():Kv(i).trim()}return null}).filter(Boolean);if(r.length>0)return r.join(", ")}return Kv(e).trim()}function J8(e){let t=te(""),n=te("");return()=>{let r=Be(e);if(!r)return"";let s=r.innerText;if(t.value===s)return n.value;let i=G8(r).trim().toLowerCase();return t.value=s,n.value=i,i}}var Z8=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(Z8||{}),Y8=(e=>(e[e.Pointer=0]="Pointer",e[e.Other=1]="Other",e))(Y8||{});function Q8(e){requestAnimationFrame(()=>requestAnimationFrame(e))}let R_=Symbol("MenuContext");function Pu(e){let t=Ke(R_,null);if(t===null){let n=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,Pu),n}return t}let X8=we({name:"Menu",props:{as:{type:[Object,String],default:"template"}},setup(e,{slots:t,attrs:n}){let r=te(1),s=te(null),i=te(null),l=te([]),u=te(""),c=te(null),p=te(1);function d(h=v=>v){let v=c.value!==null?l.value[c.value]:null,_=Mp(h(l.value.slice()),b=>Be(b.dataRef.domRef)),x=v?_.indexOf(v):null;return x===-1&&(x=null),{items:_,activeItemIndex:x}}let g={menuState:r,buttonRef:s,itemsRef:i,items:l,searchQuery:u,activeItemIndex:c,activationTrigger:p,closeMenu:()=>{r.value=1,c.value=null},openMenu:()=>r.value=0,goToItem(h,v,_){let x=d(),b=_8(h===Un.Specific?{focus:Un.Specific,id:v}:{focus:h},{resolveItems:()=>x.items,resolveActiveIndex:()=>x.activeItemIndex,resolveId:E=>E.id,resolveDisabled:E=>E.dataRef.disabled});u.value="",c.value=b,p.value=_??1,l.value=x.items},search(h){let v=u.value!==""?0:1;u.value+=h.toLowerCase();let _=(c.value!==null?l.value.slice(c.value+v).concat(l.value.slice(0,c.value+v)):l.value).find(b=>b.dataRef.textValue.startsWith(u.value)&&!b.dataRef.disabled),x=_?l.value.indexOf(_):-1;x===-1||x===c.value||(c.value=x,p.value=1)},clearSearch(){u.value=""},registerItem(h,v){let _=d(x=>[...x,{id:h,dataRef:v}]);l.value=_.items,c.value=_.activeItemIndex,p.value=1},unregisterItem(h){let v=d(_=>{let x=_.findIndex(b=>b.id===h);return x!==-1&&_.splice(x,1),_});l.value=v.items,c.value=v.activeItemIndex,p.value=1}};return u_([s,i],(h,v)=>{var _;g.closeMenu(),Lp(v,Pp.Loose)||(h.preventDefault(),(_=Be(s))==null||_.focus())},F(()=>r.value===0)),bt(R_,g),Fp(F(()=>zn(r.value,{0:Ut.Open,1:Ut.Closed}))),()=>{let h={open:r.value===0,close:g.closeMenu};return Kt({ourProps:{},theirProps:e,slot:h,slots:t,attrs:n,name:"Menu"})}}}),e7=we({name:"MenuButton",props:{disabled:{type:Boolean,default:!1},as:{type:[Object,String],default:"button"},id:{type:String,default:null}},setup(e,{attrs:t,slots:n,expose:r}){var s;let i=(s=e.id)!=null?s:`headlessui-menu-button-${sr()}`,l=Pu("MenuButton");r({el:l.buttonRef,$el:l.buttonRef});function u(g){switch(g.key){case dt.Space:case dt.Enter:case dt.ArrowDown:g.preventDefault(),g.stopPropagation(),l.openMenu(),an(()=>{var h;(h=Be(l.itemsRef))==null||h.focus({preventScroll:!0}),l.goToItem(Un.First)});break;case dt.ArrowUp:g.preventDefault(),g.stopPropagation(),l.openMenu(),an(()=>{var h;(h=Be(l.itemsRef))==null||h.focus({preventScroll:!0}),l.goToItem(Un.Last)});break}}function c(g){switch(g.key){case dt.Space:g.preventDefault();break}}function p(g){e.disabled||(l.menuState.value===0?(l.closeMenu(),an(()=>{var h;return(h=Be(l.buttonRef))==null?void 0:h.focus({preventScroll:!0})})):(g.preventDefault(),l.openMenu(),Q8(()=>{var h;return(h=Be(l.itemsRef))==null?void 0:h.focus({preventScroll:!0})})))}let d=Bp(F(()=>({as:e.as,type:t.type})),l.buttonRef);return()=>{var g;let h={open:l.menuState.value===0},{...v}=e,_={ref:l.buttonRef,id:i,type:d.value,"aria-haspopup":"menu","aria-controls":(g=Be(l.itemsRef))==null?void 0:g.id,"aria-expanded":l.menuState.value===0,onKeydown:u,onKeyup:c,onClick:p};return Kt({ourProps:_,theirProps:v,slot:h,attrs:t,slots:n,name:"MenuButton"})}}}),t7=we({name:"MenuItems",props:{as:{type:[Object,String],default:"div"},static:{type:Boolean,default:!1},unmount:{type:Boolean,default:!0},id:{type:String,default:null}},setup(e,{attrs:t,slots:n,expose:r}){var s;let i=(s=e.id)!=null?s:`headlessui-menu-items-${sr()}`,l=Pu("MenuItems"),u=te(null);r({el:l.itemsRef,$el:l.itemsRef}),c_({container:F(()=>Be(l.itemsRef)),enabled:F(()=>l.menuState.value===0),accept(h){return h.getAttribute("role")==="menuitem"?NodeFilter.FILTER_REJECT:h.hasAttribute("role")?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT},walk(h){h.setAttribute("role","none")}});function c(h){var v;switch(u.value&&clearTimeout(u.value),h.key){case dt.Space:if(l.searchQuery.value!=="")return h.preventDefault(),h.stopPropagation(),l.search(h.key);case dt.Enter:if(h.preventDefault(),h.stopPropagation(),l.activeItemIndex.value!==null){let _=l.items.value[l.activeItemIndex.value];(v=Be(_.dataRef.domRef))==null||v.click()}l.closeMenu(),i_(Be(l.buttonRef));break;case dt.ArrowDown:return h.preventDefault(),h.stopPropagation(),l.goToItem(Un.Next);case dt.ArrowUp:return h.preventDefault(),h.stopPropagation(),l.goToItem(Un.Previous);case dt.Home:case dt.PageUp:return h.preventDefault(),h.stopPropagation(),l.goToItem(Un.First);case dt.End:case dt.PageDown:return h.preventDefault(),h.stopPropagation(),l.goToItem(Un.Last);case dt.Escape:h.preventDefault(),h.stopPropagation(),l.closeMenu(),an(()=>{var _;return(_=Be(l.buttonRef))==null?void 0:_.focus({preventScroll:!0})});break;case dt.Tab:h.preventDefault(),h.stopPropagation(),l.closeMenu(),an(()=>d8(Be(l.buttonRef),h.shiftKey?An.Previous:An.Next));break;default:h.key.length===1&&(l.search(h.key),u.value=setTimeout(()=>l.clearSearch(),350));break}}function p(h){switch(h.key){case dt.Space:h.preventDefault();break}}let d=ka(),g=F(()=>d!==null?(d.value&Ut.Open)===Ut.Open:l.menuState.value===0);return()=>{var h,v;let _={open:l.menuState.value===0},{...x}=e,b={"aria-activedescendant":l.activeItemIndex.value===null||(h=l.items.value[l.activeItemIndex.value])==null?void 0:h.id,"aria-labelledby":(v=Be(l.buttonRef))==null?void 0:v.id,id:i,onKeydown:c,onKeyup:p,role:"menu",tabIndex:0,ref:l.itemsRef};return Kt({ourProps:b,theirProps:x,slot:_,attrs:t,slots:n,features:Oo.RenderStrategy|Oo.Static,visible:g.value,name:"MenuItems"})}}}),xr=we({name:"MenuItem",inheritAttrs:!1,props:{as:{type:[Object,String],default:"template"},disabled:{type:Boolean,default:!1},id:{type:String,default:null}},setup(e,{slots:t,attrs:n,expose:r}){var s;let i=(s=e.id)!=null?s:`headlessui-menu-item-${sr()}`,l=Pu("MenuItem"),u=te(null);r({el:u,$el:u});let c=F(()=>l.activeItemIndex.value!==null?l.items.value[l.activeItemIndex.value].id===i:!1),p=J8(u),d=F(()=>({disabled:e.disabled,get textValue(){return p()},domRef:u}));ct(()=>l.registerItem(i,d)),Ht(()=>l.unregisterItem(i)),Xt(()=>{l.menuState.value===0&&c.value&&l.activationTrigger.value!==0&&an(()=>{var E,C;return(C=(E=Be(u))==null?void 0:E.scrollIntoView)==null?void 0:C.call(E,{block:"nearest"})})});function g(E){if(e.disabled)return E.preventDefault();l.closeMenu(),i_(Be(l.buttonRef))}function h(){if(e.disabled)return l.goToItem(Un.Nothing);l.goToItem(Un.Specific,i)}let v=g8();function _(E){v.update(E)}function x(E){v.wasMoved(E)&&(e.disabled||c.value||l.goToItem(Un.Specific,i,0))}function b(E){v.wasMoved(E)&&(e.disabled||c.value&&l.goToItem(Un.Nothing))}return()=>{let{disabled:E,...C}=e,S={active:c.value,disabled:E,close:l.closeMenu};return Kt({ourProps:{id:i,ref:u,role:"menuitem",tabIndex:E===!0?void 0:-1,"aria-disabled":E===!0?!0:void 0,onClick:g,onFocus:h,onPointerenter:_,onMouseenter:_,onPointermove:x,onMousemove:x,onPointerleave:b,onMouseleave:b},theirProps:{...n,...C},slot:S,attrs:n,slots:t,name:"MenuItem"})}}}),O_=Symbol("LabelContext");function P_(){let e=Ke(O_,null);if(e===null){let t=new Error("You used a